2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for Xenomai 2.5.94.
5 # Report bugs to <xenomai-help@gna.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: xenomai-help@gna.org about your system, including any
235 $0: error possibly output before this message. Then install
236 $0: a modern shell, or manually run the script under such a
237 $0: shell if you do have one."
243 SHELL
=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE
= GREP_OPTIONS
=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir
=.
/$as_dir;;
288 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs
="'$as_qdir' $as_dirs"
296 as_dir
=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
322 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
357 as_val
=`expr "$@" || test $? -eq 1`
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
369 as_status
=$1; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit
$as_status
378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
385 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
397 as_me
=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits
='0123456789'
421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
424 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
425 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x
"$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C
= ECHO_N
= ECHO_T
=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
468 rm -f conf$$ conf$$.exe conf$$.
file
469 if test -d conf$$.dir
; then
470 rm -f conf$$.dir
/conf$$.
file
473 mkdir conf$$.dir
2>/dev
/null
475 if (echo >conf$$.
file) 2>/dev
/null
; then
476 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
492 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
493 rmdir conf$$.dir
2>/dev
/null
495 if mkdir
-p .
2>/dev
/null
; then
496 as_mkdir_p
='mkdir -p "$as_dir"'
498 test -d .
/-p && rmdir .
/-p
502 if test -x / >/dev
/null
2>&1; then
505 if ls -dL / >/dev
/null
2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p
=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 # Check that we are running under the correct shell.
534 SHELL
=${CONFIG_SHELL-/bin/sh}
538 # Remove one level of quotation (which was required for Make).
539 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544 if test "X$1" = X--no-reexec
; then
545 # Discard the --no-reexec flag, and continue.
547 elif test "X$1" = X--fallback-echo
; then
548 # Avoid inline document here, it may be left over
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
558 if test "X$1" = X--fallback-echo
; then
559 # used as fallback echo
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
569 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
571 if test -z "$lt_ECHO"; then
572 if test "X${echo_test_string+set}" != Xset
; then
573 # find a string as large as possible, as long as the shell can cope with it
574 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
577 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
584 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586 test "X$echo_testing_string" = "X$echo_test_string"; then
589 # The Solaris, AIX, and Digital Unix default echo programs unquote
590 # backslashes. This makes it impossible to quote backslashes using
591 # echo "$something" | sed 's/\\/\\\\/g'
593 # So, first we look for a working echo in the user's PATH.
595 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
596 for dir
in $PATH /usr
/ucb
; do
598 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
599 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601 test "X$echo_testing_string" = "X$echo_test_string"; then
608 if test "X$ECHO" = Xecho
; then
609 # We didn't find a better echo, so look for alternatives.
610 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612 test "X$echo_testing_string" = "X$echo_test_string"; then
613 # This shell has a builtin print -r that does the trick.
615 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
616 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
617 # If we have ksh, try running configure again with it.
618 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
619 export ORIGINAL_CONFIG_SHELL
620 CONFIG_SHELL
=/bin
/ksh
622 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628 test "X$echo_testing_string" = "X$echo_test_string"; then
631 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632 test "X$echo_testing_string" = 'X\t' &&
633 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634 test "X$echo_testing_string" = "X$echo_test_string"; then
635 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
637 SHELL
="$CONFIG_SHELL"
639 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
640 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641 test "X$echo_testing_string" = 'X\t' &&
642 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643 test "X$echo_testing_string" = "X$echo_test_string"; then
644 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
646 # maybe with a smaller string...
649 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
657 if test "$prev" != 'sed 50q "$0"'; then
658 echo_test_string
=`eval $prev`
659 export echo_test_string
660 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662 # Oops. We lost completely, so just stick with echo.
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
685 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
692 ac_default_prefix
=/usr
/local
694 ac_config_libobj_dir
=.
701 # Identity of this package.
702 PACKAGE_NAME
='Xenomai'
703 PACKAGE_TARNAME
='xenomai'
704 PACKAGE_VERSION
='2.5.94'
705 PACKAGE_STRING
='Xenomai 2.5.94'
706 PACKAGE_BUGREPORT
='xenomai-help@gna.org'
709 ac_unique_file
="src/skins/native/task.c"
710 ac_default_prefix
=/usr
/xenomai
711 # Factoring default headers for most tests.
712 ac_includes_default
="\
714 #ifdef HAVE_SYS_TYPES_H
715 # include <sys/types.h>
717 #ifdef HAVE_SYS_STAT_H
718 # include <sys/stat.h>
724 # ifdef HAVE_STDLIB_H
729 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
734 #ifdef HAVE_STRINGS_H
735 # include <strings.h>
737 #ifdef HAVE_INTTYPES_H
738 # include <inttypes.h>
747 ac_subst_vars
='am__EXEEXT_FALSE
752 CONFIG_STATUS_DEPENDENCIES
754 XENO_DLOPEN_CONSTRAINT
755 XENO_USER_APP_LDFLAGS
764 DOXYGEN_SHOW_INCLUDE_FILES
765 CONFIG_XENO_FAST_WRAP_FALSE
766 CONFIG_XENO_FAST_WRAP_TRUE
768 CONFIG_XENO_DOC_DOX_FALSE
769 CONFIG_XENO_DOC_DOX_TRUE
770 CONFIG_XENO_SHARED_FALSE
771 CONFIG_XENO_SHARED_TRUE
772 CONFIG_XENO_FASTSYNCH_FALSE
773 CONFIG_XENO_FASTSYNCH_TRUE
807 XENO_TARGET_ARCH_X86_FALSE
808 XENO_TARGET_ARCH_X86_TRUE
812 am__fastdepCCAS_FALSE
818 MAINTAINER_MODE_FALSE
837 INSTALL_STRIP_PROGRAM
906 program_transform_name
919 enable_option_checking
921 enable_dependency_tracking
922 enable_maintainer_mode
940 with_docbook_xsl_root
942 enable_posix_auto_mlockall
943 enable_psos_auto_mlockall
944 enable_uitron_auto_mlockall
949 ac_precious_vars
='build_alias
962 # Initialize some variables set by options.
964 ac_init_version
=false
965 ac_unrecognized_opts
=
967 # The variables have the same names as the options, with
968 # dashes changed to underlines.
976 program_transform_name
=s
,x
,x
,
984 # Installation directory options.
985 # These are left unexpanded so users can "make install exec_prefix=/foo"
986 # and all the variables that are supposed to be based on exec_prefix
987 # by default will actually change.
988 # Use braces instead of parens because sh, perl, etc. also accept them.
989 # (The list follows the same order as the GNU Coding Standards.)
990 bindir
='${exec_prefix}/bin'
991 sbindir
='${exec_prefix}/sbin'
992 libexecdir
='${exec_prefix}/libexec'
993 datarootdir
='${prefix}/share'
994 datadir
='${datarootdir}'
995 sysconfdir
='${prefix}/etc'
996 sharedstatedir
='${prefix}/com'
997 localstatedir
='${prefix}/var'
998 includedir
='${prefix}/include'
999 oldincludedir
='/usr/include'
1000 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1001 infodir
='${datarootdir}/info'
1006 libdir
='${exec_prefix}/lib'
1007 localedir
='${datarootdir}/locale'
1008 mandir
='${datarootdir}/man'
1014 # If the previous option needs an argument, assign it.
1015 if test -n "$ac_prev"; then
1016 eval $ac_prev=\
$ac_option
1022 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1027 # Accept the important Cygnus configure options, so we can diagnose typos.
1029 case $ac_dashdash$ac_option in
1033 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1035 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1036 bindir
=$ac_optarg ;;
1038 -build |
--build |
--buil |
--bui |
--bu)
1039 ac_prev
=build_alias
;;
1040 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1041 build_alias
=$ac_optarg ;;
1043 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1044 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1045 ac_prev
=cache_file
;;
1046 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1047 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1048 cache_file
=$ac_optarg ;;
1050 --config-cache |
-C)
1051 cache_file
=config.cache
;;
1053 -datadir |
--datadir |
--datadi |
--datad)
1055 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1056 datadir
=$ac_optarg ;;
1058 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1059 |
--dataroo |
--dataro |
--datar)
1060 ac_prev
=datarootdir
;;
1061 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1062 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1063 datarootdir
=$ac_optarg ;;
1065 -disable-* |
--disable-*)
1066 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1069 as_fn_error $?
"invalid feature name: $ac_useropt"
1070 ac_useropt_orig
=$ac_useropt
1071 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1072 case $ac_user_opts in
1074 "enable_
$ac_useropt"
1076 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1077 ac_unrecognized_sep
=', ';;
1079 eval enable_
$ac_useropt=no
;;
1081 -docdir |
--docdir |
--docdi |
--doc |
--do)
1083 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1084 docdir
=$ac_optarg ;;
1086 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1088 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1089 dvidir
=$ac_optarg ;;
1091 -enable-* |
--enable-*)
1092 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1093 # Reject names that are not valid shell variable names.
1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1095 as_fn_error $?
"invalid feature name: $ac_useropt"
1096 ac_useropt_orig
=$ac_useropt
1097 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1098 case $ac_user_opts in
1100 "enable_
$ac_useropt"
1102 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1103 ac_unrecognized_sep
=', ';;
1105 eval enable_
$ac_useropt=\
$ac_optarg ;;
1107 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1108 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1109 |
--exec |
--exe |
--ex)
1110 ac_prev
=exec_prefix
;;
1111 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1112 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1113 |
--exec=* |
--exe=* |
--ex=*)
1114 exec_prefix
=$ac_optarg ;;
1116 -gas |
--gas |
--ga |
--g)
1117 # Obsolete; use --with-gas.
1120 -help |
--help |
--hel |
--he |
-h)
1121 ac_init_help
=long
;;
1122 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1123 ac_init_help
=recursive
;;
1124 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1125 ac_init_help
=short
;;
1127 -host |
--host |
--hos |
--ho)
1128 ac_prev
=host_alias
;;
1129 -host=* |
--host=* |
--hos=* |
--ho=*)
1130 host_alias
=$ac_optarg ;;
1132 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1134 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1136 htmldir
=$ac_optarg ;;
1138 -includedir |
--includedir |
--includedi |
--included |
--include \
1139 |
--includ |
--inclu |
--incl |
--inc)
1140 ac_prev
=includedir
;;
1141 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1142 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1143 includedir
=$ac_optarg ;;
1145 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1147 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1148 infodir
=$ac_optarg ;;
1150 -libdir |
--libdir |
--libdi |
--libd)
1152 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1153 libdir
=$ac_optarg ;;
1155 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1156 |
--libexe |
--libex |
--libe)
1157 ac_prev
=libexecdir
;;
1158 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1159 |
--libexe=* |
--libex=* |
--libe=*)
1160 libexecdir
=$ac_optarg ;;
1162 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1163 ac_prev
=localedir
;;
1164 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1165 localedir
=$ac_optarg ;;
1167 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1168 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1169 ac_prev
=localstatedir
;;
1170 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1171 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1172 localstatedir
=$ac_optarg ;;
1174 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1176 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1177 mandir
=$ac_optarg ;;
1179 -nfp |
--nfp |
--nf)
1180 # Obsolete; use --without-fp.
1183 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1184 |
--no-cr |
--no-c |
-n)
1187 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1188 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1191 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1192 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1193 |
--oldin |
--oldi |
--old |
--ol |
--o)
1194 ac_prev
=oldincludedir
;;
1195 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1196 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1197 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1198 oldincludedir
=$ac_optarg ;;
1200 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1202 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1203 prefix
=$ac_optarg ;;
1205 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1206 |
--program-pre |
--program-pr |
--program-p)
1207 ac_prev
=program_prefix
;;
1208 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1209 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1210 program_prefix
=$ac_optarg ;;
1212 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1213 |
--program-suf |
--program-su |
--program-s)
1214 ac_prev
=program_suffix
;;
1215 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1216 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1217 program_suffix
=$ac_optarg ;;
1219 -program-transform-name |
--program-transform-name \
1220 |
--program-transform-nam |
--program-transform-na \
1221 |
--program-transform-n |
--program-transform- \
1222 |
--program-transform |
--program-transfor \
1223 |
--program-transfo |
--program-transf \
1224 |
--program-trans |
--program-tran \
1225 |
--progr-tra |
--program-tr |
--program-t)
1226 ac_prev
=program_transform_name
;;
1227 -program-transform-name=* |
--program-transform-name=* \
1228 |
--program-transform-nam=* |
--program-transform-na=* \
1229 |
--program-transform-n=* |
--program-transform-=* \
1230 |
--program-transform=* |
--program-transfor=* \
1231 |
--program-transfo=* |
--program-transf=* \
1232 |
--program-trans=* |
--program-tran=* \
1233 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1234 program_transform_name
=$ac_optarg ;;
1236 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1238 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1239 pdfdir
=$ac_optarg ;;
1241 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1243 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1246 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1247 |
-silent |
--silent |
--silen |
--sile |
--sil)
1250 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1252 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1254 sbindir
=$ac_optarg ;;
1256 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1257 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1258 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1260 ac_prev
=sharedstatedir
;;
1261 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1262 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1263 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1265 sharedstatedir
=$ac_optarg ;;
1267 -site |
--site |
--sit)
1269 -site=* |
--site=* |
--sit=*)
1272 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1274 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1275 srcdir
=$ac_optarg ;;
1277 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1278 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1279 ac_prev
=sysconfdir
;;
1280 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1281 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1282 sysconfdir
=$ac_optarg ;;
1284 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1285 ac_prev
=target_alias
;;
1286 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1287 target_alias
=$ac_optarg ;;
1289 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1292 -version |
--version |
--versio |
--versi |
--vers |
-V)
1293 ac_init_version
=: ;;
1296 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1297 # Reject names that are not valid shell variable names.
1298 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1299 as_fn_error $?
"invalid package name: $ac_useropt"
1300 ac_useropt_orig
=$ac_useropt
1301 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1302 case $ac_user_opts in
1306 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1307 ac_unrecognized_sep
=', ';;
1309 eval with_
$ac_useropt=\
$ac_optarg ;;
1311 -without-* |
--without-*)
1312 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1313 # Reject names that are not valid shell variable names.
1314 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1315 as_fn_error $?
"invalid package name: $ac_useropt"
1316 ac_useropt_orig
=$ac_useropt
1317 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1318 case $ac_user_opts in
1322 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1323 ac_unrecognized_sep
=', ';;
1325 eval with_
$ac_useropt=no
;;
1328 # Obsolete; use --with-x.
1331 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1332 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1333 ac_prev
=x_includes
;;
1334 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1335 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1336 x_includes
=$ac_optarg ;;
1338 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1339 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1340 ac_prev
=x_libraries
;;
1341 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1342 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1343 x_libraries
=$ac_optarg ;;
1345 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1346 Try \`$0 --help' for more information"
1350 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1351 # Reject names that are not valid shell variable names.
1352 case $ac_envvar in #(
1353 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1354 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1356 eval $ac_envvar=\
$ac_optarg
1357 export $ac_envvar ;;
1360 # FIXME: should be removed in autoconf 3.0.
1361 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1362 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1363 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1364 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1370 if test -n "$ac_prev"; then
1371 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1372 as_fn_error $?
"missing argument to $ac_option"
1375 if test -n "$ac_unrecognized_opts"; then
1376 case $enable_option_checking in
1378 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1379 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1383 # Check all directory arguments for consistency.
1384 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1385 datadir sysconfdir sharedstatedir localstatedir includedir \
1386 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1387 libdir localedir mandir
1389 eval ac_val
=\$
$ac_var
1390 # Remove trailing slashes.
1393 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1394 eval $ac_var=\
$ac_val;;
1396 # Be sure to have absolute directory names.
1398 [\\/$
]* | ?
:[\\/]* ) continue;;
1399 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1401 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1404 # There might be people who depend on the old broken behavior: `$host'
1405 # used to hold the argument of --host etc.
1406 # FIXME: To remove some day.
1409 target
=$target_alias
1411 # FIXME: To remove some day.
1412 if test "x$host_alias" != x
; then
1413 if test "x$build_alias" = x
; then
1414 cross_compiling
=maybe
1415 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1416 If a cross compiler is detected then cross compile mode will be used" >&2
1417 elif test "x$build_alias" != "x$host_alias"; then
1423 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1425 test "$silent" = yes && exec 6>/dev
/null
1428 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1429 ac_ls_di
=`ls -di .` &&
1430 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1431 as_fn_error $?
"working directory cannot be determined"
1432 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1433 as_fn_error $?
"pwd does not report name of working directory"
1436 # Find the source files, if location was not specified.
1437 if test -z "$srcdir"; then
1438 ac_srcdir_defaulted
=yes
1439 # Try the directory containing this script, then the parent directory.
1440 ac_confdir
=`$as_dirname -- "$as_myself" ||
1441 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1442 X"$as_myself" : 'X\(//\)[^/]' \| \
1443 X"$as_myself" : 'X\(//\)$' \| \
1444 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1445 $as_echo X"$as_myself" |
1446 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1464 if test ! -r "$srcdir/$ac_unique_file"; then
1468 ac_srcdir_defaulted
=no
1470 if test ! -r "$srcdir/$ac_unique_file"; then
1471 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1472 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1474 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1476 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1478 # When building in place, set srcdir=.
1479 if test "$ac_abs_confdir" = "$ac_pwd"; then
1482 # Remove unnecessary trailing slashes from srcdir.
1483 # Double slashes in file names in object file debugging info
1484 # mess up M-x gdb in Emacs.
1486 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1488 for ac_var
in $ac_precious_vars; do
1489 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1490 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1491 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1492 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1496 # Report the --help message.
1498 if test "$ac_init_help" = "long"; then
1499 # Omit some internal or obsolete options to make the list less imposing.
1500 # This message is too long to be a string in the A/UX 3.1 sh.
1502 \`configure' configures Xenomai 2.5.94 to adapt to many kinds of systems.
1504 Usage: $0 [OPTION]... [VAR=VALUE]...
1506 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1507 VAR=VALUE. See below for descriptions of some of the useful variables.
1509 Defaults for the options are specified in brackets.
1512 -h, --help display this help and exit
1513 --help=short display options specific to this package
1514 --help=recursive display the short help of all the included packages
1515 -V, --version display version information and exit
1516 -q, --quiet, --silent do not print \`checking ...' messages
1517 --cache-file=FILE cache test results in FILE [disabled]
1518 -C, --config-cache alias for \`--cache-file=config.cache'
1519 -n, --no-create do not create output files
1520 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1522 Installation directories:
1523 --prefix=PREFIX install architecture-independent files in PREFIX
1524 [$ac_default_prefix]
1525 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1528 By default, \`make install' will install all the files in
1529 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1530 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1531 for instance \`--prefix=\$HOME'.
1533 For better control, use the options below.
1535 Fine tuning of the installation directories:
1536 --bindir=DIR user executables [EPREFIX/bin]
1537 --sbindir=DIR system admin executables [EPREFIX/sbin]
1538 --libexecdir=DIR program executables [EPREFIX/libexec]
1539 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1540 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1541 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1542 --libdir=DIR object code libraries [EPREFIX/lib]
1543 --includedir=DIR C header files [PREFIX/include]
1544 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1545 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1546 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1547 --infodir=DIR info documentation [DATAROOTDIR/info]
1548 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1549 --mandir=DIR man documentation [DATAROOTDIR/man]
1550 --docdir=DIR documentation root [DATAROOTDIR/doc/xenomai]
1551 --htmldir=DIR html documentation [DOCDIR]
1552 --dvidir=DIR dvi documentation [DOCDIR]
1553 --pdfdir=DIR pdf documentation [DOCDIR]
1554 --psdir=DIR ps documentation [DOCDIR]
1560 --program-prefix=PREFIX prepend PREFIX to installed program names
1561 --program-suffix=SUFFIX append SUFFIX to installed program names
1562 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1565 --build=BUILD configure
for building on BUILD
[guessed
]
1566 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1567 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1571 if test -n "$ac_init_help"; then
1572 case $ac_init_help in
1573 short | recursive
) echo "Configuration of Xenomai 2.5.94:";;
1578 --disable-option-checking ignore unrecognized
--enable/--with options
1579 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1580 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1581 --disable-dependency-tracking speeds up one-time build
1582 --enable-dependency-tracking do not reject slow dependency extractors
1583 --enable-maintainer-mode enable make rules and dependencies not useful
1584 (and sometimes confusing
) to the casual installer
1585 --enable-shared[=PKGS
] build shared libraries
[default
=no
]
1586 --enable-static[=PKGS
] build static libraries
[default
=yes]
1587 --enable-fast-install[=PKGS
]
1588 optimize
for fast installation
[default
=yes]
1589 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1590 --enable-debug Enable debug symbols
in programs
1591 --enable-smp Enable SMP support
1592 --enable-x86-sep Enable x86 SEP instructions
for issuing syscalls
1593 --enable-x86-tsc Enable x86 TSC
for timings
1594 --enable-arm-tsc You only need this option
if you get the following
1595 message when starting an application
: Xenomai
:
1596 incompatible feature
set (userland requires
1597 "kuser_tsc ...", kernel provides
"...",
1598 missing
="kuser_tsc"). In that
case, this option
1599 allows to
select the machine
for which a user-space
1600 tsc emulation should be generated. Valid machines
1601 are at91
, kuser
, imx
, ixp4xx
, omap
, orion
, pxa
,
1603 --enable-arm-quirks Enable quirks
for specific systems. Currently
1604 supported quirks are
for sa1100 and xscale3.
1605 --disable-doc-install Do not
install documentation
1606 --enable-dox-doc Build Doxygen documentation
1607 --enable-dbx Build Docbook XML documentation.
1608 --enable-dbx-network Try to access Docbook DTD and XSL stylesheets
1609 through network
(default is to die
if local
1610 installation can not be found by configure
).
1611 --enable-verbose-latex Uses LaTeX non-stop mode
1612 --enable-posix-auto-mlockall
1613 Enable Xenomai POSIX skin library to automatically
1614 call mlockall
at startup. This option is mainly
1615 useful
for running third-parties programs such as
1616 the Open Posix Testsuite unmodified with Xenomai
1618 --enable-psos-auto-mlockall
1619 Enable the Xenomai pSOS skin library to
1620 automatically call mlockall
at process startup.
1621 Unless this option is switched on
, the application
1622 will have to lock its memory explicitly
while
1624 --enable-uitron-auto-mlockall
1625 Enable the Xenomai uITRON skin library to
1626 automatically call mlockall
at process startup.
1627 Unless this option is switched on
, the application
1628 will have to lock its memory explicitly
while
1630 --enable-dlopen-skins Disable TLS features and automatic main thread
1631 mapping by the POSIX skin to allows dlopen
'ing
1635 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1636 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1637 --with-cc=compiler use specific C compiler
1638 --with-pic try to use only PIC/non-PIC objects [default=use
1640 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1641 --with-dbx-root specify the Docbook XML root (that is, the directory
1642 where docbookx.dtd should be found). Default is to
1643 use well-known locations (or network if
1644 --enable-dbx-network was passed).
1645 --with-dbx-xsl-root specify the Docbook XML XSL stylesheet root. Default
1646 is to use well-known locations (or network if
1647 --enable-dbx-network was passed)
1648 --without-__thread do not use TLS features
1649 --with-testdir=<test-binaries-dir>
1650 location for test binaries (defaults to $bindir)
1652 Some influential environment variables:
1653 CC C compiler command
1654 CFLAGS C compiler flags
1655 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1656 nonstandard directory <lib dir>
1657 LIBS libraries to pass to the linker, e.g. -l<library>
1658 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1659 you have headers in a nonstandard directory <include dir>
1661 CCAS assembler compiler command (defaults to CC)
1662 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1664 Use these variables to override the choices made by `configure' or to
help
1665 it to
find libraries and programs with nonstandard names
/locations.
1667 Report bugs to
<xenomai-help@gna.org
>.
1672 if test "$ac_init_help" = "recursive"; then
1673 # If there are subdirs, report their specific --help.
1674 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1675 test -d "$ac_dir" ||
1676 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1681 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1683 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1684 # A ".." for each directory in $ac_dir_suffix.
1685 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1686 case $ac_top_builddir_sub in
1687 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1688 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1691 ac_abs_top_builddir
=$ac_pwd
1692 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1693 # for backward compatibility:
1694 ac_top_builddir
=$ac_top_build_prefix
1697 .
) # We are building in place.
1699 ac_top_srcdir
=$ac_top_builddir_sub
1700 ac_abs_top_srcdir
=$ac_pwd ;;
1701 [\\/]* | ?
:[\\/]* ) # Absolute name.
1702 ac_srcdir
=$srcdir$ac_dir_suffix;
1703 ac_top_srcdir
=$srcdir
1704 ac_abs_top_srcdir
=$srcdir ;;
1706 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1707 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1708 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1710 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1712 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1713 # Check for guested configure.
1714 if test -f "$ac_srcdir/configure.gnu"; then
1716 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1717 elif test -f "$ac_srcdir/configure"; then
1719 $SHELL "$ac_srcdir/configure" --help=recursive
1721 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1723 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1727 test -n "$ac_init_help" && exit $ac_status
1728 if $ac_init_version; then
1730 Xenomai configure
2.5.94
1731 generated by GNU Autoconf
2.67
1733 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1734 This configure
script is free software
; the Free Software Foundation
1735 gives unlimited permission to copy
, distribute and modify it.
1740 ## ------------------------ ##
1741 ## Autoconf initialization. ##
1742 ## ------------------------ ##
1744 # ac_fn_c_try_compile LINENO
1745 # --------------------------
1746 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1747 ac_fn_c_try_compile
()
1749 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1750 rm -f conftest.
$ac_objext
1751 if { { ac_try
="$ac_compile"
1753 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1754 *) ac_try_echo=$ac_try;;
1756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1757 $as_echo "$ac_try_echo"; } >&5
1758 (eval "$ac_compile") 2>conftest.err
1760 if test -s conftest.err; then
1761 grep -v '^ *+' conftest.err >conftest.er1
1762 cat conftest.er1 >&5
1763 mv -f conftest.er1 conftest.err
1765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766 test $ac_status = 0; } && {
1767 test -z "$ac_c_werror_flag" ||
1768 test ! -s conftest.err
1769 } && test -s conftest.$ac_objext; then :
1772 $as_echo "$as_me: failed program was:" >&5
1773 sed 's/^/| /' conftest.$ac_ext >&5
1777 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1778 as_fn_set_status $ac_retval
1780 } # ac_fn_c_try_compile
1782 # ac_fn_c_try_cpp LINENO
1783 # ----------------------
1784 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788 if { { ac_try="$ac_cpp conftest.$ac_ext"
1790 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1791 *) ac_try_echo
=$ac_try;;
1793 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794 $as_echo "$ac_try_echo"; } >&5
1795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1797 if test -s conftest.err
; then
1798 grep -v '^ *+' conftest.err
>conftest.er1
1799 cat conftest.er1
>&5
1800 mv -f conftest.er1 conftest.err
1802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1803 test $ac_status = 0; } > conftest.i
&& {
1804 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1805 test ! -s conftest.err
1809 $as_echo "$as_me: failed program was:" >&5
1810 sed 's/^/| /' conftest.
$ac_ext >&5
1814 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1815 as_fn_set_status
$ac_retval
1819 # ac_fn_c_try_link LINENO
1820 # -----------------------
1821 # Try to link conftest.$ac_ext, and return whether this succeeded.
1824 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1825 rm -f conftest.
$ac_objext conftest
$ac_exeext
1826 if { { ac_try
="$ac_link"
1828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1829 *) ac_try_echo=$ac_try;;
1831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833 (eval "$ac_link") 2>conftest.err
1835 if test -s conftest.err; then
1836 grep -v '^ *+' conftest.err >conftest.er1
1837 cat conftest.er1 >&5
1838 mv -f conftest.er1 conftest.err
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; } && {
1842 test -z "$ac_c_werror_flag" ||
1843 test ! -s conftest.err
1844 } && test -s conftest$ac_exeext && {
1845 test "$cross_compiling" = yes ||
1846 $as_test_x conftest$ac_exeext
1850 $as_echo "$as_me: failed program was:" >&5
1851 sed 's/^/| /' conftest.$ac_ext >&5
1855 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1856 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1857 # interfere with the next link command; also delete a directory that is
1858 # left behind by Apple's compiler. We do this before executing the actions.
1859 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1860 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1861 as_fn_set_status $ac_retval
1863 } # ac_fn_c_try_link
1865 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1866 # -------------------------------------------------------
1867 # Tests whether HEADER exists and can be compiled using the include files in
1868 # INCLUDES, setting the cache variable VAR accordingly.
1869 ac_fn_c_check_header_compile ()
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1873 $as_echo_n "checking for $2... " >&6; }
1874 if eval "test \"\${$3+set}\"" = set; then :
1875 $as_echo_n "(cached) " >&6
1877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1878 /* end confdefs.h. */
1882 if ac_fn_c_try_compile "$LINENO"; then :
1887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1892 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1894 } # ac_fn_c_check_header_compile
1896 # ac_fn_c_try_run LINENO
1897 # ----------------------
1898 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1899 # that executables *can* be run.
1902 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1903 if { { ac_try="$ac_link"
1905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1906 *) ac_try_echo
=$ac_try;;
1908 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1909 $as_echo "$ac_try_echo"; } >&5
1910 (eval "$ac_link") 2>&5
1912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1913 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1914 { { case "(($ac_try" in
1915 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1916 *) ac_try_echo=$ac_try;;
1918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1919 $as_echo "$ac_try_echo"; } >&5
1920 (eval "$ac_try") 2>&5
1922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1923 test $ac_status = 0; }; }; then :
1926 $as_echo "$as_me: program exited with status $ac_status" >&5
1927 $as_echo "$as_me: failed program was:" >&5
1928 sed 's/^/| /' conftest.$ac_ext >&5
1930 ac_retval=$ac_status
1932 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1933 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1934 as_fn_set_status $ac_retval
1938 # ac_fn_c_check_func LINENO FUNC VAR
1939 # ----------------------------------
1940 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1941 ac_fn_c_check_func ()
1943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1945 $as_echo_n "checking for $2... " >&6; }
1946 if eval "test \"\${$3+set}\"" = set; then :
1947 $as_echo_n "(cached) " >&6
1949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1950 /* end confdefs.h. */
1951 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1953 #define $2 innocuous_$2
1955 /* System header to define __stub macros and hopefully few prototypes,
1956 which can conflict with char $2 (); below.
1957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1958 <limits.h> exists even on freestanding compilers. */
1961 # include <limits.h>
1963 # include <assert.h>
1968 /* Override any GCC internal prototype to avoid an error.
1969 Use char because int might match the return type of a GCC
1970 builtin and then its argument prototype would still apply. */
1975 /* The GNU C library defines this for functions which it implements
1976 to always fail with ENOSYS. Some functions are actually named
1977 something starting with __ and the normal name is an alias. */
1978 #if defined __stub_$2 || defined __stub___$2
1990 if ac_fn_c_try_link "$LINENO"; then :
1995 rm -f core conftest.err conftest.$ac_objext \
1996 conftest$ac_exeext conftest.$ac_ext
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2000 $as_echo "$ac_res" >&6; }
2001 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2003 } # ac_fn_c_check_func
2005 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2006 # -------------------------------------------------------
2007 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2008 # the include files in INCLUDES and setting the cache variable VAR
2010 ac_fn_c_check_header_mongrel ()
2012 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2013 if eval "test \"\${$3+set}\"" = set; then :
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2015 $as_echo_n "checking for $2... " >&6; }
2016 if eval "test \"\${$3+set}\"" = set; then :
2017 $as_echo_n "(cached) " >&6
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2021 $as_echo "$ac_res" >&6; }
2023 # Is the header compilable?
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2025 $as_echo_n "checking $2 usability... " >&6; }
2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2031 if ac_fn_c_try_compile "$LINENO"; then :
2032 ac_header_compiler=yes
2034 ac_header_compiler=no
2036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2038 $as_echo "$ac_header_compiler" >&6; }
2040 # Is the header present?
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2042 $as_echo_n "checking $2 presence... " >&6; }
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2047 if ac_fn_c_try_cpp "$LINENO"; then :
2048 ac_header_preproc=yes
2050 ac_header_preproc=no
2052 rm -f conftest.err conftest.i conftest.$ac_ext
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2054 $as_echo "$ac_header_preproc" >&6; }
2056 # So? What about this header?
2057 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2060 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2062 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2066 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2068 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2070 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2072 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2074 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2075 ( $as_echo "## ----------------------------------- ##
2076 ## Report this to xenomai-help@gna.org ##
2077 ## ----------------------------------- ##"
2078 ) | sed "s/^/$as_me: WARNING: /" >&2
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2082 $as_echo_n "checking for $2... " >&6; }
2083 if eval "test \"\${$3+set}\"" = set; then :
2084 $as_echo_n "(cached) " >&6
2086 eval "$3=\$ac_header_compiler"
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2090 $as_echo "$ac_res" >&6; }
2092 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2094 } # ac_fn_c_check_header_mongrel
2095 cat >config.log <<_ACEOF
2096 This file contains any messages produced by compilers while
2097 running configure, to aid debugging if configure makes a mistake.
2099 It was created by Xenomai $as_me 2.5.94, which was
2100 generated by GNU Autoconf 2.67. Invocation command line was
2112 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2113 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2114 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2115 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2116 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2118 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2119 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2121 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2122 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2123 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2124 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2125 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2126 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2127 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2135 test -z "$as_dir" && as_dir=.
2136 $as_echo "PATH: $as_dir"
2152 # Keep a trace of the command line.
2153 # Strip out --no-create and --no-recursion so they do not pile up.
2154 # Strip out --silent because we don't want to record it for future runs.
2155 # Also quote any args containing shell meta-characters.
2156 # Make two passes to allow for proper duplicate-argument suppression.
2160 ac_must_keep_next=false
2166 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2167 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2168 | -silent | --silent | --silen | --sile | --sil)
2171 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2174 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2176 as_fn_append ac_configure_args1 " '$ac_arg'"
2177 if test $ac_must_keep_next = true; then
2178 ac_must_keep_next=false # Got value, back to normal.
2181 *=* | --config-cache | -C | -disable-* | --disable-* \
2182 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2183 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2184 | -with-* | --with-* | -without-* | --without-* | --x)
2185 case "$ac_configure_args0 " in
2186 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2189 -* ) ac_must_keep_next=true ;;
2192 as_fn_append ac_configure_args " '$ac_arg'"
2197 { ac_configure_args0=; unset ac_configure_args0;}
2198 { ac_configure_args1=; unset ac_configure_args1;}
2200 # When interrupted or exit'd, cleanup temporary files, and complete
2201 # config.log. We remove comments because anyway the quotes in there
2202 # would cause problems or look ugly.
2203 # WARNING: Use '\'' to represent an apostrophe within the trap.
2204 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2205 trap 'exit_status=$?
2206 # Save into config.log some information that might help in debugging.
2210 $as_echo "## ---------------- ##
2211 ## Cache variables. ##
2212 ## ---------------- ##"
2214 # The following way of writing the cache mishandles newlines in values,
2216 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2217 eval ac_val=\$$ac_var
2221 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2222 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2225 _ | IFS | as_nl) ;; #(
2226 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2227 *) { eval $ac_var=; unset $ac_var;} ;;
2232 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2233 *${as_nl}ac_space=\ *)
2235 "s/'\''/'\''\\\\'\'''\''/g;
2236 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2239 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2246 $as_echo "## ----------------- ##
2247 ## Output variables. ##
2248 ## ----------------- ##"
2250 for ac_var in $ac_subst_vars
2252 eval ac_val=\$$ac_var
2254 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2256 $as_echo "$ac_var='\''$ac_val'\''"
2260 if test -n "$ac_subst_files"; then
2261 $as_echo "## ------------------- ##
2262 ## File substitutions. ##
2263 ## ------------------- ##"
2265 for ac_var in $ac_subst_files
2267 eval ac_val=\$$ac_var
2269 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2271 $as_echo "$ac_var='\''$ac_val'\''"
2276 if test -s confdefs.h; then
2277 $as_echo "## ----------- ##
2284 test "$ac_signal" != 0 &&
2285 $as_echo "$as_me: caught signal $ac_signal"
2286 $as_echo "$as_me: exit $exit_status"
2288 rm -f core *.core core.conftest.* &&
2289 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2292 for ac_signal in 1 2 13 15; do
2293 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2297 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2298 rm -f -r conftest* confdefs.h
2300 $as_echo "/* confdefs.h */" > confdefs.h
2302 # Predefined preprocessor variables.
2304 cat >>confdefs.h <<_ACEOF
2305 #define PACKAGE_NAME "$PACKAGE_NAME"
2308 cat >>confdefs.h <<_ACEOF
2309 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2312 cat >>confdefs.h <<_ACEOF
2313 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2316 cat >>confdefs.h <<_ACEOF
2317 #define PACKAGE_STRING "$PACKAGE_STRING"
2320 cat >>confdefs.h <<_ACEOF
2321 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2324 cat >>confdefs.h <<_ACEOF
2325 #define PACKAGE_URL "$PACKAGE_URL"
2329 # Let the site file select an alternate cache file if it wants to.
2330 # Prefer an explicitly selected file to automatically selected ones.
2333 if test -n "$CONFIG_SITE"; then
2334 # We do not want a PATH search for config.site.
2335 case $CONFIG_SITE in #((
2336 -*) ac_site_file1=./$CONFIG_SITE;;
2337 */*) ac_site_file1=$CONFIG_SITE;;
2338 *) ac_site_file1=./$CONFIG_SITE;;
2340 elif test "x$prefix" != xNONE; then
2341 ac_site_file1=$prefix/share/config.site
2342 ac_site_file2=$prefix/etc/config.site
2344 ac_site_file1=$ac_default_prefix/share/config.site
2345 ac_site_file2=$ac_default_prefix/etc/config.site
2347 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2349 test "x$ac_site_file" = xNONE && continue
2350 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2352 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2353 sed 's/^/| /' "$ac_site_file" >&5
2355 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2356 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2357 as_fn_error $? "failed to load site
script $ac_site_file
2358 See \
`config.log' for more details" "$LINENO" 5 ; }
2362 if test -r "$cache_file"; then
2363 # Some versions of bash will fail to source /dev/null (special files
2364 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2365 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2367 $as_echo "$as_me: loading cache $cache_file" >&6;}
2369 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2370 *) . "./$cache_file";;
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2375 $as_echo "$as_me: creating cache $cache_file" >&6;}
2379 # Check that the precious variables saved in the cache have kept the same
2381 ac_cache_corrupted=false
2382 for ac_var in $ac_precious_vars; do
2383 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2384 eval ac_new_set=\$ac_env_${ac_var}_set
2385 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2386 eval ac_new_val=\$ac_env_${ac_var}_value
2387 case $ac_old_set,$ac_new_set in
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2390 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2391 ac_cache_corrupted=: ;;
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2394 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2395 ac_cache_corrupted=: ;;
2398 if test "x$ac_old_val" != "x$ac_new_val"; then
2399 # differences in whitespace do not lead to failure.
2400 ac_old_val_w=`echo x
$ac_old_val`
2401 ac_new_val_w=`echo x
$ac_new_val`
2402 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2404 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2405 ac_cache_corrupted=:
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2408 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2409 eval $ac_var=\$ac_old_val
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2412 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2414 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2417 # Pass precious variables to config.status.
2418 if test "$ac_new_set" = set; then
2420 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2421 *) ac_arg=$ac_var=$ac_new_val ;;
2423 case " $ac_configure_args " in
2424 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2425 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2429 if $ac_cache_corrupted; then
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2433 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2434 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2436 ## -------------------- ##
2437 ## Main body of script. ##
2438 ## -------------------- ##
2441 ac_cpp='$CPP $CPPFLAGS'
2442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2448 CONFIG_XENO_VERSION_MAJOR=`expr $PACKAGE_VERSION : '\([0-9]*\)'`
2449 CONFIG_XENO_VERSION_MINOR=`expr $PACKAGE_VERSION : '[0-9]*\.\([0-9]*\)'`
2450 CONFIG_XENO_REVISION_LEVEL=`expr $PACKAGE_VERSION : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
2451 test "x$CONFIG_XENO_REVISION_LEVEL" = "x" && CONFIG_XENO_REVISION_LEVEL=0
2453 if test "x$CFLAGS" = "x"; then
2454 XENO_EMPTY_CFLAGS=true
2456 XENO_EMPTY_CFLAGS=false
2459 if eval test $includedir = /usr/include; then
2460 as_fn_error $? "Using /usr/include as includedir is not supported. Please change your --prefix or specify another --includedir" "$LINENO" 5
2463 ac_config_headers="$ac_config_headers src/include/xeno_config.h"
2466 for ac_dir in config "$srcdir"/config; do
2467 if test -f "$ac_dir/install-sh"; then
2469 ac_install_sh="$ac_aux_dir/install-sh -c"
2471 elif test -f "$ac_dir/install.sh"; then
2473 ac_install_sh="$ac_aux_dir/install.sh -c"
2475 elif test -f "$ac_dir/shtool"; then
2477 ac_install_sh="$ac_aux_dir/shtool install -c"
2481 if test -z "$ac_aux_dir"; then
2482 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2485 # These three variables are undocumented and unsupported,
2486 # and are intended to be withdrawn in a future Autoconf release.
2487 # They can cause serious problems if a builder's source tree is in a directory
2488 # whose full name contains unusual characters.
2489 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2490 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2491 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2496 # Make sure we can run config.sub.
2497 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2498 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2501 $as_echo_n "checking build system type... " >&6; }
2502 if test "${ac_cv_build+set}" = set; then :
2503 $as_echo_n "(cached) " >&6
2505 ac_build_alias=$build_alias
2506 test "x$ac_build_alias" = x &&
2507 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2508 test "x$ac_build_alias" = x &&
2509 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2510 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2511 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2515 $as_echo "$ac_cv_build" >&6; }
2516 case $ac_cv_build in
2518 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2521 ac_save_IFS=$IFS; IFS='-'
2527 # Remember, the first character of IFS is used to create $*,
2528 # except with old shells:
2531 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2535 $as_echo_n "checking host system type... " >&6; }
2536 if test "${ac_cv_host+set}" = set; then :
2537 $as_echo_n "(cached) " >&6
2539 if test "x$host_alias" = x; then
2540 ac_cv_host=$ac_cv_build
2542 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2543 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2548 $as_echo "$ac_cv_host" >&6; }
2551 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2554 ac_save_IFS=$IFS; IFS='-'
2560 # Remember, the first character of IFS is used to create $*,
2561 # except with old shells:
2564 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2567 # Find a good install program. We prefer a C program (faster),
2568 # so one script is as good as another. But avoid the broken or
2569 # incompatible versions:
2570 # SysV /etc/install, /usr/sbin/install
2571 # SunOS /usr/etc/install
2572 # IRIX /sbin/install
2574 # AmigaOS /C/install, which installs bootblocks on floppy discs
2575 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2576 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2577 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2578 # OS/2's system install, which has a completely different semantic
2579 # ./install, which can be erroneously created by make from ./install.sh.
2580 # Reject install programs that cannot install multiple files.
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2582 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2583 if test -z "$INSTALL"; then
2584 if test "${ac_cv_path_install+set}" = set; then :
2585 $as_echo_n "(cached) " >&6
2587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2591 test -z "$as_dir" && as_dir=.
2592 # Account for people who put trailing slashes in PATH elements.
2593 case $as_dir/ in #((
2594 ./ | .// | /[cC]/* | \
2595 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2596 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2599 # OSF1 and SCO ODT 3.0 have their own names for install.
2600 # Don't use installbsd from OSF since it installs stuff as root
2602 for ac_prog in ginstall scoinst install; do
2603 for ac_exec_ext in '' $ac_executable_extensions; do
2604 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2605 if test $ac_prog = install &&
2606 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2607 # AIX install. It has an incompatible calling convention.
2609 elif test $ac_prog = install &&
2610 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2611 # program-specific install script used by HP pwplus--don't use.
2614 rm -rf conftest.one conftest.two conftest.dir
2615 echo one > conftest.one
2616 echo two > conftest.two
2618 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2619 test -s conftest.one && test -s conftest.two &&
2620 test -s conftest.dir/conftest.one &&
2621 test -s conftest.dir/conftest.two
2623 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2636 rm -rf conftest.one conftest.two conftest.dir
2639 if test "${ac_cv_path_install+set}" = set; then
2640 INSTALL=$ac_cv_path_install
2642 # As a last resort, use the slow shell script. Don't cache a
2643 # value for INSTALL within a source directory, because that will
2644 # break other packages using the cache if that directory is
2645 # removed, or if the value is a relative name.
2646 INSTALL=$ac_install_sh
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2650 $as_echo "$INSTALL" >&6; }
2652 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2653 # It thinks the first close brace ends the variable substitution.
2654 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2656 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2658 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2662 # Check whether --with-cc was given.
2663 if test "${with_cc+set}" = set; then :
2666 "" | y | ye | yes | n | no)
2667 as_fn_error $? "You must supply an argument to --with-cc." "$LINENO" 5
2675 ac_cpp='$CPP $CPPFLAGS'
2676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2679 if test -n "$ac_tool_prefix"; then
2680 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2681 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2683 $as_echo_n "checking for $ac_word... " >&6; }
2684 if test "${ac_cv_prog_CC+set}" = set; then :
2685 $as_echo_n "(cached) " >&6
2687 if test -n "$CC"; then
2688 ac_cv_prog_CC="$CC" # Let the user override the test.
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 test -z "$as_dir" && as_dir=.
2695 for ac_exec_ext in '' $ac_executable_extensions; do
2696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2697 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2708 if test -n "$CC"; then
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2710 $as_echo "$CC" >&6; }
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2713 $as_echo "no" >&6; }
2718 if test -z "$ac_cv_prog_CC"; then
2720 # Extract the first word of "gcc", so it can be a program name with args.
2721 set dummy gcc; ac_word=$2
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2723 $as_echo_n "checking for $ac_word... " >&6; }
2724 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2725 $as_echo_n "(cached) " >&6
2727 if test -n "$ac_ct_CC"; then
2728 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2734 test -z "$as_dir" && as_dir=.
2735 for ac_exec_ext in '' $ac_executable_extensions; do
2736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2737 ac_cv_prog_ac_ct_CC="gcc"
2738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2748 if test -n "$ac_ct_CC"; then
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2750 $as_echo "$ac_ct_CC" >&6; }
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2753 $as_echo "no" >&6; }
2756 if test "x$ac_ct_CC" = x; then
2759 case $cross_compiling:$ac_tool_warned in
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2763 ac_tool_warned=yes ;;
2771 if test -z "$CC"; then
2772 if test -n "$ac_tool_prefix"; then
2773 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2774 set dummy ${ac_tool_prefix}cc; ac_word=$2
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2776 $as_echo_n "checking for $ac_word... " >&6; }
2777 if test "${ac_cv_prog_CC+set}" = set; then :
2778 $as_echo_n "(cached) " >&6
2780 if test -n "$CC"; then
2781 ac_cv_prog_CC="$CC" # Let the user override the test.
2783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787 test -z "$as_dir" && as_dir=.
2788 for ac_exec_ext in '' $ac_executable_extensions; do
2789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2790 ac_cv_prog_CC="${ac_tool_prefix}cc"
2791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 if test -n "$CC"; then
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2803 $as_echo "$CC" >&6; }
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2806 $as_echo "no" >&6; }
2812 if test -z "$CC"; then
2813 # Extract the first word of "cc", so it can be a program name with args.
2814 set dummy cc; ac_word=$2
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2816 $as_echo_n "checking for $ac_word... " >&6; }
2817 if test "${ac_cv_prog_CC+set}" = set; then :
2818 $as_echo_n "(cached) " >&6
2820 if test -n "$CC"; then
2821 ac_cv_prog_CC="$CC" # Let the user override the test.
2824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir=.
2829 for ac_exec_ext in '' $ac_executable_extensions; do
2830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2831 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2832 ac_prog_rejected=yes
2836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2843 if test $ac_prog_rejected = yes; then
2844 # We found a bogon in the path, so make sure we never use it.
2845 set dummy $ac_cv_prog_CC
2847 if test $# != 0; then
2848 # We chose a different compiler from the bogus one.
2849 # However, it has the same basename, so the bogon will be chosen
2850 # first if we set CC to just the basename; use the full file name.
2852 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2858 if test -n "$CC"; then
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2860 $as_echo "$CC" >&6; }
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2863 $as_echo "no" >&6; }
2868 if test -z "$CC"; then
2869 if test -n "$ac_tool_prefix"; then
2870 for ac_prog in cl.exe
2872 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2873 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2875 $as_echo_n "checking for $ac_word... " >&6; }
2876 if test "${ac_cv_prog_CC+set}" = set; then :
2877 $as_echo_n "(cached) " >&6
2879 if test -n "$CC"; then
2880 ac_cv_prog_CC="$CC" # Let the user override the test.
2882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2886 test -z "$as_dir" && as_dir=.
2887 for ac_exec_ext in '' $ac_executable_extensions; do
2888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2889 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2900 if test -n "$CC"; then
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2902 $as_echo "$CC" >&6; }
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2905 $as_echo "no" >&6; }
2909 test -n "$CC" && break
2912 if test -z "$CC"; then
2914 for ac_prog in cl.exe
2916 # Extract the first word of "$ac_prog", so it can be a program name with args.
2917 set dummy $ac_prog; ac_word=$2
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2919 $as_echo_n "checking for $ac_word... " >&6; }
2920 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2921 $as_echo_n "(cached) " >&6
2923 if test -n "$ac_ct_CC"; then
2924 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2930 test -z "$as_dir" && as_dir=.
2931 for ac_exec_ext in '' $ac_executable_extensions; do
2932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2933 ac_cv_prog_ac_ct_CC="$ac_prog"
2934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2943 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2944 if test -n "$ac_ct_CC"; then
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2946 $as_echo "$ac_ct_CC" >&6; }
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2949 $as_echo "no" >&6; }
2953 test -n "$ac_ct_CC" && break
2956 if test "x$ac_ct_CC" = x; then
2959 case $cross_compiling:$ac_tool_warned in
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2963 ac_tool_warned=yes ;;
2972 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2974 as_fn_error $? "no acceptable C compiler found
in \
$PATH
2975 See \
`config.log' for more details" "$LINENO" 5 ; }
2977 # Provide some information about the compiler.
2978 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2981 for ac_option in --version -v -V -qversion; do
2982 { { ac_try="$ac_compiler $ac_option >&5"
2984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2985 *) ac_try_echo
=$ac_try;;
2987 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2988 $as_echo "$ac_try_echo"; } >&5
2989 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2991 if test -s conftest.err
; then
2993 ... rest of stderr output deleted ...
2994 10q' conftest.err
>conftest.er1
2995 cat conftest.er1
>&5
2997 rm -f conftest.er1 conftest.err
2998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2999 test $ac_status = 0; }
3002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3003 /* end confdefs.h. */
3013 ac_clean_files_save
=$ac_clean_files
3014 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3015 # Try to create an executable without -o first, disregard a.out.
3016 # It will help us diagnose broken compilers, and finding out an intuition
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3019 $as_echo_n "checking whether the C compiler works... " >&6; }
3020 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3022 # The possible output files:
3023 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3026 for ac_file
in $ac_files
3029 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3030 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
3035 if { { ac_try
="$ac_link_default"
3037 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3038 *) ac_try_echo=$ac_try;;
3040 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3041 $as_echo "$ac_try_echo"; } >&5
3042 (eval "$ac_link_default") 2>&5
3044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3045 test $ac_status = 0; }; then :
3046 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
3047 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
3048 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3049 # so that the user can short-circuit this test for compilers unknown to
3051 for ac_file in $ac_files ''
3053 test -f "$ac_file" || continue
3055 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3058 # We found the default executable, but exeext='' is most
3062 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3064 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3066 # We set ac_cv_exeext here because the later test for it is not
3067 # safe: cross compilers may not add the suffix if given an `-o'
3068 # argument, so we may need to know it at that point already.
3069 # Even if this section looks crufty: it has the advantage of
3076 test "$ac_cv_exeext" = no && ac_cv_exeext=
3081 if test -z "$ac_file"; then :
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3083 $as_echo "no" >&6; }
3084 $as_echo "$as_me: failed program was:" >&5
3085 sed 's
/^
/|
/' conftest.$ac_ext >&5
3087 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3088 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
3089 as_fn_error 77 "C compiler cannot create executables
3090 See \`config.log
' for more details" "$LINENO" 5 ; }
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3093 $as_echo "yes" >&6; }
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3096 $as_echo_n "checking for C compiler default output file name... " >&6; }
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3098 $as_echo "$ac_file" >&6; }
3099 ac_exeext=$ac_cv_exeext
3101 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3102 ac_clean_files=$ac_clean_files_save
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3104 $as_echo_n "checking for suffix of executables... " >&6; }
3105 if { { ac_try="$ac_link"
3107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3108 *) ac_try_echo=$ac_try;;
3110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3111 $as_echo "$ac_try_echo"; } >&5
3112 (eval "$ac_link") 2>&5
3114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3115 test $ac_status = 0; }; then :
3116 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3117 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3118 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3120 for ac_file
in conftest.exe conftest conftest.
*; do
3121 test -f "$ac_file" ||
continue
3123 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3124 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3132 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3133 See \`config.log' for more details" "$LINENO" 5 ; }
3135 rm -f conftest conftest
$ac_cv_exeext
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3137 $as_echo "$ac_cv_exeext" >&6; }
3139 rm -f conftest.
$ac_ext
3140 EXEEXT
=$ac_cv_exeext
3142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h. */
3148 FILE *f = fopen ("conftest.out", "w");
3149 return ferror (f) || fclose (f) != 0;
3155 ac_clean_files
="$ac_clean_files conftest.out"
3156 # Check that the compiler produces executables we can run. If not, either
3157 # the compiler is broken, or we cross compile.
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3159 $as_echo_n "checking whether we are cross compiling... " >&6; }
3160 if test "$cross_compiling" != yes; then
3161 { { ac_try
="$ac_link"
3163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3164 *) ac_try_echo=$ac_try;;
3166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3167 $as_echo "$ac_try_echo"; } >&5
3168 (eval "$ac_link") 2>&5
3170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3171 test $ac_status = 0; }
3172 if { ac_try='./conftest$ac_cv_exeext'
3173 { { case "(($ac_try" in
3174 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3175 *) ac_try_echo
=$ac_try;;
3177 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3178 $as_echo "$ac_try_echo"; } >&5
3179 (eval "$ac_try") 2>&5
3181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3182 test $ac_status = 0; }; }; then
3185 if test "$cross_compiling" = maybe
; then
3188 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3190 as_fn_error $?
"cannot run C compiled programs.
3191 If you meant to cross compile, use \`--host'.
3192 See \`config.log' for more details" "$LINENO" 5 ; }
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3197 $as_echo "$cross_compiling" >&6; }
3199 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3200 ac_clean_files
=$ac_clean_files_save
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3202 $as_echo_n "checking for suffix of object files... " >&6; }
3203 if test "${ac_cv_objext+set}" = set; then :
3204 $as_echo_n "(cached) " >&6
3206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h. */
3217 rm -f conftest.o conftest.obj
3218 if { { ac_try
="$ac_compile"
3220 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3221 *) ac_try_echo=$ac_try;;
3223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3224 $as_echo "$ac_try_echo"; } >&5
3225 (eval "$ac_compile") 2>&5
3227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3228 test $ac_status = 0; }; then :
3229 for ac_file in conftest.o conftest.obj conftest.*; do
3230 test -f "$ac_file" || continue;
3232 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3233 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3238 $as_echo "$as_me: failed program was:" >&5
3239 sed 's/^/| /' conftest.$ac_ext >&5
3241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3243 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3244 See \
`config.log' for more details" "$LINENO" 5 ; }
3246 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3249 $as_echo "$ac_cv_objext" >&6; }
3250 OBJEXT=$ac_cv_objext
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3253 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3254 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3255 $as_echo_n "(cached) " >&6
3257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3258 /* end confdefs.h. */
3271 if ac_fn_c_try_compile "$LINENO"; then :
3276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3277 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3281 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3282 if test $ac_compiler_gnu = yes; then
3287 ac_test_CFLAGS=${CFLAGS+set}
3288 ac_save_CFLAGS=$CFLAGS
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3290 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3291 if test "${ac_cv_prog_cc_g+set}" = set; then :
3292 $as_echo_n "(cached) " >&6
3294 ac_save_c_werror_flag=$ac_c_werror_flag
3295 ac_c_werror_flag=yes
3298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3299 /* end confdefs.h. */
3309 if ac_fn_c_try_compile "$LINENO"; then :
3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3324 if ac_fn_c_try_compile "$LINENO"; then :
3327 ac_c_werror_flag=$ac_save_c_werror_flag
3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h. */
3340 if ac_fn_c_try_compile "$LINENO"; then :
3343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3348 ac_c_werror_flag=$ac_save_c_werror_flag
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3351 $as_echo "$ac_cv_prog_cc_g" >&6; }
3352 if test "$ac_test_CFLAGS" = set; then
3353 CFLAGS=$ac_save_CFLAGS
3354 elif test $ac_cv_prog_cc_g = yes; then
3355 if test "$GCC" = yes; then
3361 if test "$GCC" = yes; then
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3368 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3369 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3370 $as_echo_n "(cached) " >&6
3372 ac_cv_prog_cc_c89=no
3374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375 /* end confdefs.h. */
3378 #include <sys/types.h>
3379 #include <sys/stat.h>
3380 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3381 struct buf { int x; };
3382 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3383 static char *e (p, i)
3389 static char *f (char * (*g) (char **, int), char **p, ...)
3394 s = g (p, va_arg (v,int));
3399 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3400 function prototypes and stuff, but not '\xHH' hex character constants.
3401 These don't provoke an error unfortunately, instead are silently treated
3402 as 'x'. The following induces an error, until -std is added to get
3403 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3404 array size at least. It's necessary to write '\x00'==0 to get something
3405 that's true only with -std. */
3406 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3408 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3409 inside strings and character constants. */
3411 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3413 int test (int i, double x);
3414 struct s1 {int (*f) (int a);};
3415 struct s2 {int (*f) (double a);};
3416 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3422 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3427 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3428 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3430 CC="$ac_save_CC $ac_arg"
3431 if ac_fn_c_try_compile "$LINENO"; then :
3432 ac_cv_prog_cc_c89=$ac_arg
3434 rm -f core conftest.err conftest.$ac_objext
3435 test "x$ac_cv_prog_cc_c89" != "xno" && break
3437 rm -f conftest.$ac_ext
3442 case "x$ac_cv_prog_cc_c89" in
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3445 $as_echo "none needed" >&6; } ;;
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3448 $as_echo "unsupported" >&6; } ;;
3450 CC="$CC $ac_cv_prog_cc_c89"
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3452 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3454 if test "x$ac_cv_prog_cc_c89" != xno; then :
3459 ac_cpp='$CPP $CPPFLAGS'
3460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3465 # Do not let autoconf set the default value of CFLAGS
3466 if $XENO_EMPTY_CFLAGS; then
3471 ac_cpp='$CPP $CPPFLAGS'
3472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3476 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3477 # On Suns, sometimes $CPP names a directory.
3478 if test -n "$CPP" && test -d "$CPP"; then
3481 if test -z "$CPP"; then
3482 if test "${ac_cv_prog_CPP+set}" = set; then :
3483 $as_echo_n "(cached) " >&6
3485 # Double quotes because CPP needs to be expanded
3486 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3489 for ac_c_preproc_warn_flag in '' yes
3491 # Use a header file that comes with gcc, so configuring glibc
3492 # with a fresh cross-compiler works.
3493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3494 # <limits.h> exists even on freestanding compilers.
3495 # On the NeXT, cc -E runs the code through the compiler's parser,
3496 # not just through cpp. "Syntax error" is here to catch this case.
3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h. */
3500 # include <limits.h>
3502 # include <assert.h>
3506 if ac_fn_c_try_cpp "$LINENO"; then :
3509 # Broken: fails on valid input.
3512 rm -f conftest.err conftest.i conftest.$ac_ext
3514 # OK, works on sane cases. Now check whether nonexistent headers
3515 # can be detected and how.
3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3517 /* end confdefs.h. */
3518 #include <ac_nonexistent.h>
3520 if ac_fn_c_try_cpp "$LINENO"; then :
3521 # Broken: success on invalid input.
3524 # Passes both tests.
3528 rm -f conftest.err conftest.i conftest.$ac_ext
3531 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3532 rm -f conftest.i conftest.err conftest.
$ac_ext
3533 if $ac_preproc_ok; then :
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3546 $as_echo "$CPP" >&6; }
3548 for ac_c_preproc_warn_flag
in '' yes
3550 # Use a header file that comes with gcc, so configuring glibc
3551 # with a fresh cross-compiler works.
3552 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3553 # <limits.h> exists even on freestanding compilers.
3554 # On the NeXT, cc -E runs the code through the compiler's parser,
3555 # not just through cpp. "Syntax error" is here to catch this case.
3556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3557 /* end confdefs.h. */
3559 # include <limits.h>
3561 # include <assert.h>
3565 if ac_fn_c_try_cpp
"$LINENO"; then :
3568 # Broken: fails on valid input.
3571 rm -f conftest.err conftest.i conftest.
$ac_ext
3573 # OK, works on sane cases. Now check whether nonexistent headers
3574 # can be detected and how.
3575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3576 /* end confdefs.h. */
3577 #include <ac_nonexistent.h>
3579 if ac_fn_c_try_cpp
"$LINENO"; then :
3580 # Broken: success on invalid input.
3583 # Passes both tests.
3587 rm -f conftest.err conftest.i conftest.
$ac_ext
3590 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3591 rm -f conftest.i conftest.err conftest.
$ac_ext
3592 if $ac_preproc_ok; then :
3595 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3597 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3598 See \`config.log' for more details" "$LINENO" 5 ; }
3602 ac_cpp
='$CPP $CPPFLAGS'
3603 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3604 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3605 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3609 $as_echo_n "checking target system type... " >&6; }
3610 if test "${ac_cv_target+set}" = set; then :
3611 $as_echo_n "(cached) " >&6
3613 if test "x$target_alias" = x
; then
3614 ac_cv_target
=$ac_cv_host
3616 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3617 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3622 $as_echo "$ac_cv_target" >&6; }
3623 case $ac_cv_target in
3625 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5 ;;
3627 target
=$ac_cv_target
3628 ac_save_IFS
=$IFS; IFS
='-'
3634 # Remember, the first character of IFS is used to create $*,
3635 # except with old shells:
3638 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3641 # The aliases save the names the user supplied, while $host etc.
3642 # will get canonicalized.
3643 test -n "$target_alias" &&
3644 test "$program_prefix$program_suffix$program_transform_name" = \
3646 program_prefix
=${target_alias}-
3652 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
3653 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
3654 ac_build_link
='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
3655 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3656 if test -n "$ac_tool_prefix"; then
3657 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3658 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then :
3662 $as_echo_n "(cached) " >&6
3664 if test -n "$CC_FOR_BUILD"; then
3665 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
3667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3671 test -z "$as_dir" && as_dir
=.
3672 for ac_exec_ext
in '' $ac_executable_extensions; do
3673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3674 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}gcc"
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3684 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
3685 if test -n "$CC_FOR_BUILD"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
3687 $as_echo "$CC_FOR_BUILD" >&6; }
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3695 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
3696 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
3697 # Extract the first word of "gcc", so it can be a program name with args.
3698 set dummy gcc
; ac_word
=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then :
3702 $as_echo_n "(cached) " >&6
3704 if test -n "$ac_ct_CC_FOR_BUILD"; then
3705 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
3707 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3711 test -z "$as_dir" && as_dir
=.
3712 for ac_exec_ext
in '' $ac_executable_extensions; do
3713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3714 ac_cv_prog_ac_ct_CC_FOR_BUILD
="gcc"
3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3724 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
3725 if test -n "$ac_ct_CC_FOR_BUILD"; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
3727 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730 $as_echo "no" >&6; }
3733 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
3736 case $#:$ac_tool_warned in
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
3739 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
3740 ac_tool_warned
=yes ;;
3742 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
3745 CC_FOR_BUILD
="$ac_cv_prog_CC_FOR_BUILD"
3748 if test -z "$CC_FOR_BUILD"; then
3749 if test -n "$ac_tool_prefix"; then
3750 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3751 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3753 $as_echo_n "checking for $ac_word... " >&6; }
3754 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then :
3755 $as_echo_n "(cached) " >&6
3757 if test -n "$CC_FOR_BUILD"; then
3758 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
3760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3764 test -z "$as_dir" && as_dir
=.
3765 for ac_exec_ext
in '' $ac_executable_extensions; do
3766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3767 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}cc"
3768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3777 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
3778 if test -n "$CC_FOR_BUILD"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
3780 $as_echo "$CC_FOR_BUILD" >&6; }
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3789 if test -z "$CC_FOR_BUILD"; then
3790 # Extract the first word of "cc", so it can be a program name with args.
3791 set dummy cc
; ac_word
=$2
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3793 $as_echo_n "checking for $ac_word... " >&6; }
3794 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then :
3795 $as_echo_n "(cached) " >&6
3797 if test -n "$CC_FOR_BUILD"; then
3798 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
3801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3805 test -z "$as_dir" && as_dir
=.
3806 for ac_exec_ext
in '' $ac_executable_extensions; do
3807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3808 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3809 ac_prog_rejected
=yes
3812 ac_cv_prog_CC_FOR_BUILD
="cc"
3813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3820 if test $ac_prog_rejected = yes; then
3821 # We found a bogon in the path, so make sure we never use it.
3822 set dummy
$ac_cv_prog_CC_FOR_BUILD
3824 if test $# != 0; then
3825 # We chose a different compiler from the bogus one.
3826 # However, it has the same basename, so the bogon will be chosen
3827 # first if we set CC_FOR_BUILD to just the basename; use the full file name.
3829 ac_cv_prog_CC_FOR_BUILD
="$as_dir/$ac_word${1+' '}$@"
3834 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
3835 if test -n "$CC_FOR_BUILD"; then
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
3837 $as_echo "$CC_FOR_BUILD" >&6; }
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3840 $as_echo "no" >&6; }
3845 if test -z "$CC_FOR_BUILD"; then
3846 if test -n "$ac_tool_prefix"; then
3847 for ac_prog
in cl.exe
3849 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3850 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3852 $as_echo_n "checking for $ac_word... " >&6; }
3853 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then :
3854 $as_echo_n "(cached) " >&6
3856 if test -n "$CC_FOR_BUILD"; then
3857 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
3859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3863 test -z "$as_dir" && as_dir
=.
3864 for ac_exec_ext
in '' $ac_executable_extensions; do
3865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3866 ac_cv_prog_CC_FOR_BUILD
="$ac_tool_prefix$ac_prog"
3867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3876 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
3877 if test -n "$CC_FOR_BUILD"; then
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
3879 $as_echo "$CC_FOR_BUILD" >&6; }
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3882 $as_echo "no" >&6; }
3886 test -n "$CC_FOR_BUILD" && break
3889 if test -z "$CC_FOR_BUILD"; then
3890 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
3891 for ac_prog
in cl.exe
3893 # Extract the first word of "$ac_prog", so it can be a program name with args.
3894 set dummy
$ac_prog; ac_word
=$2
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3896 $as_echo_n "checking for $ac_word... " >&6; }
3897 if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then :
3898 $as_echo_n "(cached) " >&6
3900 if test -n "$ac_ct_CC_FOR_BUILD"; then
3901 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
3903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3907 test -z "$as_dir" && as_dir
=.
3908 for ac_exec_ext
in '' $ac_executable_extensions; do
3909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3910 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_prog"
3911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3920 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
3921 if test -n "$ac_ct_CC_FOR_BUILD"; then
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
3923 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3926 $as_echo "no" >&6; }
3930 test -n "$ac_ct_CC_FOR_BUILD" && break
3933 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
3936 case $#:$ac_tool_warned in
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
3939 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
3940 ac_tool_warned
=yes ;;
3942 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
3949 test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3951 as_fn_error $?
"no acceptable C compiler found in \$PATH
3952 See \`config.log' for more details" "$LINENO" 5 ; }
3954 # Provide some information about the compiler.
3955 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3956 set X
$ac_build_compile
3958 for ac_option
in --version -v -V -qversion; do
3959 { { ac_try
="$ac_compiler $ac_option >&5"
3961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3962 *) ac_try_echo=$ac_try;;
3964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3965 $as_echo "$ac_try_echo"; } >&5
3966 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3968 if test -s conftest.err; then
3970 ... rest of stderr output deleted ...
3971 10q' conftest.err >conftest.er1
3972 cat conftest.er1 >&5
3974 rm -f conftest.er1 conftest.err
3975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3976 test $ac_status = 0; }
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3980 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3981 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3982 $as_echo_n "(cached) " >&6
3984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985 /* end confdefs.h. */
3998 if ac_fn_c_try_compile "$LINENO"; then :
4003 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
4004 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4008 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4009 if test $ac_compiler_gnu = yes; then
4014 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
4015 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
4017 $as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
4018 if test "${ac_cv_build_prog_cc_g+set}" = set; then :
4019 $as_echo_n "(cached) " >&6
4021 ac_save_c_werror_flag=$ac_c_werror_flag
4022 ac_c_werror_flag=yes
4023 ac_cv_build_prog_cc_g=no
4024 CFLAGS_FOR_BUILD="-g"
4025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4026 /* end confdefs.h. */
4036 if ac_fn_c_try_compile "$LINENO"; then :
4037 ac_cv_build_prog_cc_g=yes
4040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4041 /* end confdefs.h. */
4051 if ac_fn_c_try_compile "$LINENO"; then :
4054 ac_c_werror_flag=$ac_save_c_werror_flag
4055 CFLAGS_FOR_BUILD="-g"
4056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4057 /* end confdefs.h. */
4067 if ac_fn_c_try_compile "$LINENO"; then :
4068 ac_cv_build_prog_cc_g=yes
4070 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
4072 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
4074 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
4075 ac_c_werror_flag=$ac_save_c_werror_flag
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
4078 $as_echo "$ac_cv_build_prog_cc_g" >&6; }
4079 if test "$ac_test_CFLAGS" = set; then
4080 CFLAGS_FOR_BUILD=$ac_save_CFLAGS
4081 elif test $ac_cv_build_prog_cc_g = yes; then
4082 if test "$GCC" = yes; then
4083 CFLAGS_FOR_BUILD="-g -O2"
4085 CFLAGS_FOR_BUILD="-g"
4088 if test "$GCC" = yes; then
4089 CFLAGS_FOR_BUILD="-O2"
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
4095 $as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; }
4096 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4097 $as_echo_n "(cached) " >&6
4099 ac_cv_prog_cc_c89=no
4100 ac_save_CC=$CC_FOR_BUILD
4101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4102 /* end confdefs.h. */
4105 #include <sys/types.h>
4106 #include <sys/stat.h>
4107 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4108 struct buf { int x; };
4109 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4110 static char *e (p, i)
4116 static char *f (char * (*g) (char **, int), char **p, ...)
4121 s = g (p, va_arg (v,int));
4126 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4127 function prototypes and stuff, but not '\xHH' hex character constants.
4128 These don't provoke an error unfortunately, instead are silently treated
4129 as 'x'. The following induces an error, until -std is added to get
4130 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4131 array size at least. It's necessary to write '\x00'==0 to get something
4132 that's true only with -std. */
4133 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4135 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4136 inside strings and character constants. */
4138 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4140 int test (int i, double x);
4141 struct s1 {int (*f) (int a);};
4142 struct s2 {int (*f) (double a);};
4143 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4149 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4154 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4155 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4157 CC_FOR_BUILD="$ac_save_CC $ac_arg"
4158 if ac_fn_c_try_compile "$LINENO"; then :
4159 ac_cv_prog_cc_c89=$ac_arg
4161 rm -f core conftest.err conftest.$ac_build_objext
4162 test "x$ac_cv_prog_cc_c89" != "xno" && break
4164 rm -f conftest.$ac_ext
4165 CC_FOR_BUILD=$ac_save_CC
4169 case "x$ac_cv_prog_cc_c89" in
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4172 $as_echo "none needed" >&6; } ;;
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4175 $as_echo "unsupported" >&6; } ;;
4177 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_prog_cc_c89"
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4179 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4181 if test "x$ac_cv_prog_cc_c89" != xno; then :
4186 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
4187 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
4188 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
4189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4192 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
4193 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
4194 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
4195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4197 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4198 # On Suns, sometimes $CPP names a directory.
4199 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
4202 if test -z "$CPP_FOR_BUILD"; then
4203 if test "${ac_cv_build_prog_CPP+set}" = set; then :
4204 $as_echo_n "(cached) " >&6
4206 # Double quotes because CPP needs to be expanded
4207 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
4210 for ac_c_preproc_warn_flag in '' yes
4212 # Use a header file that comes with gcc, so configuring glibc
4213 # with a fresh cross-compiler works.
4214 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4215 # <limits.h> exists even on freestanding compilers.
4216 # On the NeXT, cc -E runs the code through the compiler's parser,
4217 # not just through cpp. "Syntax error" is here to catch this case.
4218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4221 # include <limits.h>
4223 # include <assert.h>
4227 if ac_fn_c_try_cpp "$LINENO"; then :
4230 # Broken: fails on valid input.
4233 rm -f conftest.err conftest.i conftest.$ac_ext
4235 # OK, works on sane cases. Now check whether nonexistent headers
4236 # can be detected and how.
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4239 #include <ac_nonexistent.h>
4241 if ac_fn_c_try_cpp "$LINENO"; then :
4242 # Broken: success on invalid input.
4245 # Passes both tests.
4249 rm -f conftest.err conftest.i conftest.$ac_ext
4252 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4253 rm -f conftest.i conftest.err conftest.
$ac_ext
4254 if $ac_preproc_ok; then :
4259 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
4262 CPP_FOR_BUILD
=$ac_cv_build_prog_CPP
4264 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
4267 $as_echo "$CPP_FOR_BUILD" >&6; }
4269 for ac_c_preproc_warn_flag
in '' yes
4271 # Use a header file that comes with gcc, so configuring glibc
4272 # with a fresh cross-compiler works.
4273 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4274 # <limits.h> exists even on freestanding compilers.
4275 # On the NeXT, cc -E runs the code through the compiler's parser,
4276 # not just through cpp. "Syntax error" is here to catch this case.
4277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4278 /* end confdefs.h. */
4280 # include <limits.h>
4282 # include <assert.h>
4286 if ac_fn_c_try_cpp
"$LINENO"; then :
4289 # Broken: fails on valid input.
4292 rm -f conftest.err conftest.i conftest.
$ac_ext
4294 # OK, works on sane cases. Now check whether nonexistent headers
4295 # can be detected and how.
4296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4297 /* end confdefs.h. */
4298 #include <ac_nonexistent.h>
4300 if ac_fn_c_try_cpp
"$LINENO"; then :
4301 # Broken: success on invalid input.
4304 # Passes both tests.
4308 rm -f conftest.err conftest.i conftest.
$ac_ext
4311 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4312 rm -f conftest.i conftest.err conftest.
$ac_ext
4313 if $ac_preproc_ok; then :
4316 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4318 as_fn_error $?
"C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
4319 See \`config.log' for more details" "$LINENO" 5 ; }
4323 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
4324 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
4325 ac_build_link
='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
4326 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4331 BUILD_EXEEXT
=$ac_build_exeext
4332 BUILD_OBJEXT
=$ac_build_objext
4336 cat >>confdefs.h
<<_ACEOF
4337 #define CONFIG_XENO_BUILD_STRING "$build"
4340 XENO_BUILD_STRING
="$build"
4342 cat >>confdefs.h
<<_ACEOF
4343 #define CONFIG_XENO_HOST_STRING "$host"
4346 XENO_HOST_STRING
="$host"
4348 cat >>confdefs.h
<<_ACEOF
4349 #define CONFIG_XENO_COMPILER "`$CC -v 2>&1 | tail -n 1`"
4353 am__api_version
='1.11'
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4356 $as_echo_n "checking whether build environment is sane... " >&6; }
4359 echo timestamp
> conftest.
file
4360 # Reject unsafe characters in $srcdir or the absolute working directory
4361 # name. Accept space and tab only in the latter.
4365 *[\\\"\
#\$\&\'\`$am_lf]*)
4366 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5 ;;
4369 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
4370 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
4373 # Do `set' in a subshell so we don't clobber the current shell's
4374 # arguments. Must try -L first in case configure is actually a
4375 # symlink; some systems play weird games with the mod time of symlinks
4376 # (eg FreeBSD returns the mod time of the symlink's containing
4379 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4380 if test "$*" = "X"; then
4382 set X
`ls -t "$srcdir/configure" conftest.file`
4385 if test "$*" != "X $srcdir/configure conftest.file" \
4386 && test "$*" != "X conftest.file $srcdir/configure"; then
4388 # If neither matched, then we have a broken ls. This can happen
4389 # if, for instance, CONFIG_SHELL is bash and it inherits a
4390 # broken ls alias from the environment. This has actually
4391 # happened. Such a system could not be considered "sane".
4392 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
4393 alias in your environment" "$LINENO" 5
4396 test "$2" = conftest.
file
4402 as_fn_error $?
"newly created file is older than distributed files!
4403 Check your system clock" "$LINENO" 5
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4406 $as_echo "yes" >&6; }
4407 test "$program_prefix" != NONE
&&
4408 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
4409 # Use a double $ so make ignores it.
4410 test "$program_suffix" != NONE
&&
4411 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
4412 # Double any \ or $.
4413 # By default was `s,x,x', remove it if useless.
4414 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
4415 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
4417 # expand $ac_aux_dir to an absolute path
4418 am_aux_dir
=`cd $ac_aux_dir && pwd`
4420 if test x
"${MISSING+set}" != xset
; then
4423 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
4425 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
4428 # Use eval to expand $SHELL
4429 if eval "$MISSING --run true"; then
4430 am_missing_run
="$MISSING --run "
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4434 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4437 if test x
"${install_sh}" != xset
; then
4440 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
4442 install_sh
="\${SHELL} $am_aux_dir/install-sh"
4446 # Installed binaries are usually stripped using `strip' when the user
4447 # run `make install-strip'. However `strip' might not be the right
4448 # tool to use in cross-compilation environments, therefore Automake
4449 # will honor the `STRIP' environment variable to overrule this program.
4450 if test "$cross_compiling" != no
; then
4451 if test -n "$ac_tool_prefix"; then
4452 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4453 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4455 $as_echo_n "checking for $ac_word... " >&6; }
4456 if test "${ac_cv_prog_STRIP+set}" = set; then :
4457 $as_echo_n "(cached) " >&6
4459 if test -n "$STRIP"; then
4460 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4466 test -z "$as_dir" && as_dir
=.
4467 for ac_exec_ext
in '' $ac_executable_extensions; do
4468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4469 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4479 STRIP
=$ac_cv_prog_STRIP
4480 if test -n "$STRIP"; then
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4482 $as_echo "$STRIP" >&6; }
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4485 $as_echo "no" >&6; }
4490 if test -z "$ac_cv_prog_STRIP"; then
4492 # Extract the first word of "strip", so it can be a program name with args.
4493 set dummy strip
; ac_word
=$2
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4495 $as_echo_n "checking for $ac_word... " >&6; }
4496 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4497 $as_echo_n "(cached) " >&6
4499 if test -n "$ac_ct_STRIP"; then
4500 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4506 test -z "$as_dir" && as_dir
=.
4507 for ac_exec_ext
in '' $ac_executable_extensions; do
4508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4509 ac_cv_prog_ac_ct_STRIP
="strip"
4510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4519 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4520 if test -n "$ac_ct_STRIP"; then
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4522 $as_echo "$ac_ct_STRIP" >&6; }
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4525 $as_echo "no" >&6; }
4528 if test "x$ac_ct_STRIP" = x
; then
4531 case $cross_compiling:$ac_tool_warned in
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4535 ac_tool_warned
=yes ;;
4540 STRIP
="$ac_cv_prog_STRIP"
4544 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4547 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4548 if test -z "$MKDIR_P"; then
4549 if test "${ac_cv_path_mkdir+set}" = set; then :
4550 $as_echo_n "(cached) " >&6
4552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4553 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
4556 test -z "$as_dir" && as_dir
=.
4557 for ac_prog
in mkdir gmkdir
; do
4558 for ac_exec_ext
in '' $ac_executable_extensions; do
4559 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
4560 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4561 'mkdir (GNU coreutils) '* | \
4562 'mkdir (coreutils) '* | \
4563 'mkdir (fileutils) '4.1*)
4564 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
4574 test -d .
/--version && rmdir .
/--version
4575 if test "${ac_cv_path_mkdir+set}" = set; then
4576 MKDIR_P
="$ac_cv_path_mkdir -p"
4578 # As a last resort, use the slow shell script. Don't cache a
4579 # value for MKDIR_P within a source directory, because that will
4580 # break other packages using the cache if that directory is
4581 # removed, or if the value is a relative name.
4582 MKDIR_P
="$ac_install_sh -d"
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4586 $as_echo "$MKDIR_P" >&6; }
4590 [\\/$
]* | ?
:[\\/]*) ;;
4591 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
4594 for ac_prog
in gawk mawk nawk
awk
4596 # Extract the first word of "$ac_prog", so it can be a program name with args.
4597 set dummy
$ac_prog; ac_word
=$2
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4599 $as_echo_n "checking for $ac_word... " >&6; }
4600 if test "${ac_cv_prog_AWK+set}" = set; then :
4601 $as_echo_n "(cached) " >&6
4603 if test -n "$AWK"; then
4604 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4610 test -z "$as_dir" && as_dir
=.
4611 for ac_exec_ext
in '' $ac_executable_extensions; do
4612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4613 ac_cv_prog_AWK
="$ac_prog"
4614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 if test -n "$AWK"; then
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4626 $as_echo "$AWK" >&6; }
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4629 $as_echo "no" >&6; }
4633 test -n "$AWK" && break
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4637 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4639 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4640 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
4641 $as_echo_n "(cached) " >&6
4643 cat >conftest.
make <<\_ACEOF
4646 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4648 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4649 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4651 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4653 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4657 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4659 $as_echo "yes" >&6; }
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4663 $as_echo "no" >&6; }
4664 SET_MAKE
="MAKE=${MAKE-make}"
4667 rm -rf .tst
2>/dev
/null
4668 mkdir .tst
2>/dev
/null
4669 if test -d .tst
; then
4674 rmdir .tst
2>/dev
/null
4676 DEPDIR
="${am__leading_dot}deps"
4678 ac_config_commands
="$ac_config_commands depfiles"
4681 am_make
=${MAKE-make}
4682 cat > confinc
<< 'END'
4684 @
echo this is the am__doit target
4687 # If we don't find an include directive, just comment out the code.
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4689 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4693 # First try GNU make style include.
4694 echo "include confinc" > confmf
4695 # Ignore all kinds of additional output from `make'.
4696 case `$am_make -s -f confmf 2> /dev/null` in #(
4697 *the\ am__doit\ target
*)
4703 # Now try BSD make style include.
4704 if test "$am__include" = "#"; then
4705 echo '.include "confinc"' > confmf
4706 case `$am_make -s -f confmf 2> /dev/null` in #(
4707 *the\ am__doit\ target
*)
4708 am__include
=.include
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4717 $as_echo "$_am_result" >&6; }
4718 rm -f confinc confmf
4720 # Check whether --enable-dependency-tracking was given.
4721 if test "${enable_dependency_tracking+set}" = set; then :
4722 enableval
=$enable_dependency_tracking;
4725 if test "x$enable_dependency_tracking" != xno
; then
4726 am_depcomp
="$ac_aux_dir/depcomp"
4729 if test "x$enable_dependency_tracking" != xno; then
4738 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4739 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4740 # is not polluted with repeated "-I."
4741 am__isrc
=' -I$(srcdir)'
4742 # test to see if srcdir already configured
4743 if test -f $srcdir/config.status
; then
4744 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4748 # test whether we have cygpath
4749 if test -z "$CYGPATH_W"; then
4750 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
4751 CYGPATH_W
='cygpath -w'
4758 # Define the identity of the package.
4763 cat >>confdefs.h
<<_ACEOF
4764 #define PACKAGE "$PACKAGE"
4768 cat >>confdefs.h
<<_ACEOF
4769 #define VERSION "$VERSION"
4772 # Some tools Automake needs.
4774 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4777 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
4780 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4783 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
4786 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
4788 # We need awk for the "check" target. The system "awk" is bad on
4790 # Always define AMTAR for backward compatibility.
4792 AMTAR
=${AMTAR-"${am_missing_run}tar"}
4794 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
4799 depcc
="$CC" am_compiler_list
=
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4802 $as_echo_n "checking dependency style of $depcc... " >&6; }
4803 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4804 $as_echo_n "(cached) " >&6
4806 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4807 # We make a subdir and do the tests there. Otherwise we can end up
4808 # making bogus files that we don't know about and never remove. For
4809 # instance it was reported that on HP-UX the gcc test will end up
4810 # making a dummy file named `D' -- because `-MD' means `put the output
4813 # Copy depcomp to subdir because otherwise we won't find it if we're
4814 # using a relative directory.
4815 cp "$am_depcomp" conftest.dir
4817 # We will build objects and dependencies in a subdirectory because
4818 # it helps to detect inapplicable dependency modes. For instance
4819 # both Tru64's cc and ICC support -MD to output dependencies as a
4820 # side effect of compilation, but ICC will put the dependencies in
4821 # the current directory while Tru64 will put them in the object
4825 am_cv_CC_dependencies_compiler_type
=none
4826 if test "$am_compiler_list" = ""; then
4827 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4830 case " $depcc " in #(
4831 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4834 for depmode
in $am_compiler_list; do
4835 # Setup a source with many dependencies, because some compilers
4836 # like to wrap large dependency lists on column 80 (with \), and
4837 # we should not choose a depcomp mode which is confused by this.
4839 # We need to recreate these files for each test, as the compiler may
4840 # overwrite some of them when testing with obscure command lines.
4841 # This happens at least with the AIX C compiler.
4843 for i
in 1 2 3 4 5 6; do
4844 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4845 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4846 # Solaris 8's {/usr,}/bin/sh.
4847 touch sub
/conftst
$i.h
4849 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4851 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4852 # mode. It turns out that the SunPro C++ compiler does not properly
4853 # handle `-M -o', and we need to detect this. Also, some Intel
4854 # versions had trouble with output in subdirs
4855 am__obj
=sub
/conftest.
${OBJEXT-o}
4856 am__minus_obj
="-o $am__obj"
4859 # This depmode causes a compiler race in universal mode.
4860 test "$am__universal" = false ||
continue
4863 # after this tag, mechanisms are not by side-effect, so they'll
4864 # only be used when explicitly requested
4865 if test "x$enable_dependency_tracking" = xyes
; then
4871 msvisualcpp | msvcmsys
)
4872 # This compiler won't grok `-c -o', but also, the minuso test has
4873 # not run yet. These depmodes are late enough in the game, and
4874 # so weak that their functioning should not be impacted.
4875 am__obj
=conftest.
${OBJEXT-o}
4880 if depmode
=$depmode \
4881 source=sub
/conftest.c object
=$am__obj \
4882 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4883 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4884 >/dev
/null
2>conftest.err
&&
4885 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4886 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4887 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4888 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4889 # icc doesn't choke on unknown options, it will just issue warnings
4890 # or remarks (even with -Werror). So we grep stderr for any message
4891 # that says an option was ignored or not supported.
4892 # When given -MP, icc 7.0 and 7.1 complain thusly:
4893 # icc: Command line warning: ignoring option '-M'; no argument required
4894 # The diagnosis changed in icc 8.0:
4895 # icc: Command line remark: option '-MP' not supported
4896 if (grep 'ignoring option' conftest.err ||
4897 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4898 am_cv_CC_dependencies_compiler_type
=$depmode
4907 am_cv_CC_dependencies_compiler_type
=none
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4912 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4913 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4916 test "x$enable_dependency_tracking" != xno \
4917 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4919 am__fastdepCC_FALSE
='#'
4921 am__fastdepCC_TRUE
='#'
4922 am__fastdepCC_FALSE
=
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4929 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4930 # Check whether --enable-maintainer-mode was given.
4931 if test "${enable_maintainer_mode+set}" = set; then :
4932 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
4934 USE_MAINTAINER_MODE
=no
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4938 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4939 if test $USE_MAINTAINER_MODE = yes; then
4940 MAINTAINER_MODE_TRUE
=
4941 MAINTAINER_MODE_FALSE
='#'
4943 MAINTAINER_MODE_TRUE
='#'
4944 MAINTAINER_MODE_FALSE
=
4947 MAINT
=$MAINTAINER_MODE_TRUE
4950 # By default we simply use the C compiler to build assembly code.
4952 test "${CCAS+set}" = set || CCAS
=$CC
4953 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4957 depcc
="$CCAS" am_compiler_list
=
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4960 $as_echo_n "checking dependency style of $depcc... " >&6; }
4961 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
4962 $as_echo_n "(cached) " >&6
4964 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4965 # We make a subdir and do the tests there. Otherwise we can end up
4966 # making bogus files that we don't know about and never remove. For
4967 # instance it was reported that on HP-UX the gcc test will end up
4968 # making a dummy file named `D' -- because `-MD' means `put the output
4971 # Copy depcomp to subdir because otherwise we won't find it if we're
4972 # using a relative directory.
4973 cp "$am_depcomp" conftest.dir
4975 # We will build objects and dependencies in a subdirectory because
4976 # it helps to detect inapplicable dependency modes. For instance
4977 # both Tru64's cc and ICC support -MD to output dependencies as a
4978 # side effect of compilation, but ICC will put the dependencies in
4979 # the current directory while Tru64 will put them in the object
4983 am_cv_CCAS_dependencies_compiler_type
=none
4984 if test "$am_compiler_list" = ""; then
4985 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4990 for depmode
in $am_compiler_list; do
4991 # Setup a source with many dependencies, because some compilers
4992 # like to wrap large dependency lists on column 80 (with \), and
4993 # we should not choose a depcomp mode which is confused by this.
4995 # We need to recreate these files for each test, as the compiler may
4996 # overwrite some of them when testing with obscure command lines.
4997 # This happens at least with the AIX C compiler.
4999 for i
in 1 2 3 4 5 6; do
5000 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5001 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5002 # Solaris 8's {/usr,}/bin/sh.
5003 touch sub
/conftst
$i.h
5005 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5007 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5008 # mode. It turns out that the SunPro C++ compiler does not properly
5009 # handle `-M -o', and we need to detect this. Also, some Intel
5010 # versions had trouble with output in subdirs
5011 am__obj
=sub
/conftest.
${OBJEXT-o}
5012 am__minus_obj
="-o $am__obj"
5015 # This depmode causes a compiler race in universal mode.
5016 test "$am__universal" = false ||
continue
5019 # after this tag, mechanisms are not by side-effect, so they'll
5020 # only be used when explicitly requested
5021 if test "x$enable_dependency_tracking" = xyes
; then
5027 msvisualcpp | msvcmsys
)
5028 # This compiler won't grok `-c -o', but also, the minuso test has
5029 # not run yet. These depmodes are late enough in the game, and
5030 # so weak that their functioning should not be impacted.
5031 am__obj
=conftest.
${OBJEXT-o}
5036 if depmode
=$depmode \
5037 source=sub
/conftest.c object
=$am__obj \
5038 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5039 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
5040 >/dev
/null
2>conftest.err
&&
5041 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5042 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5043 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
5044 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5045 # icc doesn't choke on unknown options, it will just issue warnings
5046 # or remarks (even with -Werror). So we grep stderr for any message
5047 # that says an option was ignored or not supported.
5048 # When given -MP, icc 7.0 and 7.1 complain thusly:
5049 # icc: Command line warning: ignoring option '-M'; no argument required
5050 # The diagnosis changed in icc 8.0:
5051 # icc: Command line remark: option '-MP' not supported
5052 if (grep 'ignoring option' conftest.err ||
5053 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5054 am_cv_CCAS_dependencies_compiler_type
=$depmode
5063 am_cv_CCAS_dependencies_compiler_type
=none
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
5068 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
5069 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
5072 test "x$enable_dependency_tracking" != xno \
5073 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
5074 am__fastdepCCAS_TRUE
=
5075 am__fastdepCCAS_FALSE
='#'
5077 am__fastdepCCAS_TRUE
='#'
5078 am__fastdepCCAS_FALSE
=
5083 for ac_prog
in flex
lex
5085 # Extract the first word of "$ac_prog", so it can be a program name with args.
5086 set dummy
$ac_prog; ac_word
=$2
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5088 $as_echo_n "checking for $ac_word... " >&6; }
5089 if test "${ac_cv_prog_LEX+set}" = set; then :
5090 $as_echo_n "(cached) " >&6
5092 if test -n "$LEX"; then
5093 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5099 test -z "$as_dir" && as_dir
=.
5100 for ac_exec_ext
in '' $ac_executable_extensions; do
5101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5102 ac_cv_prog_LEX
="$ac_prog"
5103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5113 if test -n "$LEX"; then
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
5115 $as_echo "$LEX" >&6; }
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5118 $as_echo "no" >&6; }
5122 test -n "$LEX" && break
5124 test -n "$LEX" || LEX
=":"
5126 if test "x$LEX" != "x:"; then
5127 cat >conftest.l
<<_ACEOF
5133 e { yyless (input () != 0); }
5134 f { unput (yytext[0]); }
5135 . { BEGIN INITIAL; }
5137 #ifdef YYTEXT_POINTER
5138 extern char *yytext;
5143 return ! yylex () + ! yywrap ();
5146 { { ac_try
="$LEX conftest.l"
5148 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5149 *) ac_try_echo=$ac_try;;
5151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5152 $as_echo "$ac_try_echo"; } >&5
5153 (eval "$LEX conftest.l") 2>&5
5155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5156 test $ac_status = 0; }
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
5158 $as_echo_n "checking lex output file root... " >&6; }
5159 if test "${ac_cv_prog_lex_root+set}" = set; then :
5160 $as_echo_n "(cached) " >&6
5163 if test -f lex.yy.c; then
5164 ac_cv_prog_lex_root=lex.yy
5165 elif test -f lexyy.c; then
5166 ac_cv_prog_lex_root=lexyy
5168 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
5172 $as_echo "$ac_cv_prog_lex_root" >&6; }
5173 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5175 if test -z "${LEXLIB+set}"; then
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
5177 $as_echo_n "checking lex library... " >&6; }
5178 if test "${ac_cv_lib_lex+set}" = set; then :
5179 $as_echo_n "(cached) " >&6
5183 ac_cv_lib_lex='none needed'
5184 for ac_lib in '' -lfl -ll; do
5185 LIBS="$ac_lib $ac_save_LIBS"
5186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5187 /* end confdefs.h. */
5188 `cat $LEX_OUTPUT_ROOT.c
`
5190 if ac_fn_c_try_link "$LINENO"; then :
5191 ac_cv_lib_lex=$ac_lib
5193 rm -f core conftest.err conftest.$ac_objext \
5194 conftest$ac_exeext conftest.$ac_ext
5195 test "$ac_cv_lib_lex" != 'none needed' && break
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
5201 $as_echo "$ac_cv_lib_lex" >&6; }
5202 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
5207 $as_echo_n "checking whether yytext is a pointer... " >&6; }
5208 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
5209 $as_echo_n "(cached) " >&6
5211 # POSIX says lex can declare yytext either as a pointer or an array; the
5212 # default is implementation-dependent. Figure out which it is, since
5213 # not all implementations provide the %pointer and %array declarations.
5214 ac_cv_prog_lex_yytext_pointer=no
5216 LIBS="$LEXLIB $ac_save_LIBS"
5217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5218 /* end confdefs.h. */
5219 #define YYTEXT_POINTER 1
5220 `cat $LEX_OUTPUT_ROOT.c
`
5222 if ac_fn_c_try_link "$LINENO"; then :
5223 ac_cv_prog_lex_yytext_pointer=yes
5225 rm -f core conftest.err conftest.$ac_objext \
5226 conftest$ac_exeext conftest.$ac_ext
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
5231 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
5232 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5234 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
5237 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5240 if test "$LEX" = :; then
5241 LEX=${am_missing_run}flex
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for target architecture" >&5
5245 $as_echo_n "checking for target architecture... " >&6; }
5247 CONFIG_XENO_FASTSYNCH=
5249 if test x$host_alias = x; then
5252 build_for=$host_alias
5256 case "$build_for" in
5259 XENO_TARGET_ARCH=x86
5260 CONFIG_XENO_FASTSYNCH=y
5261 CONFIG_XENO_DEFAULT_PERIOD=100000
5264 XENO_TARGET_ARCH=powerpc
5265 CONFIG_XENO_FASTSYNCH=y
5266 CONFIG_XENO_DEFAULT_PERIOD=100000
5268 powerpc-*|powerpc64-*|ppc64-*)
5269 XENO_TARGET_ARCH=powerpc
5270 CONFIG_XENO_FASTSYNCH=y
5271 CONFIG_XENO_DEFAULT_PERIOD=100000
5273 bfin-*|bfinnommu-*|blackfin-*)
5274 XENO_TARGET_ARCH=blackfin
5275 CONFIG_XENO_DEFAULT_PERIOD=100000
5278 XENO_TARGET_ARCH=arm
5279 CONFIG_XENO_DEFAULT_PERIOD=1000000
5280 # We set CONFIG_XENO_FASTSYNCH in asm/features.h, when we know
5281 # what architecture we are running
5285 XENO_TARGET_ARCH=x86
5286 CONFIG_XENO_FASTSYNCH=y
5287 CONFIG_XENO_DEFAULT_PERIOD=100000
5290 XENO_TARGET_ARCH=nios2
5291 CONFIG_XENO_DEFAULT_PERIOD=10000000
5295 CONFIG_XENO_DEFAULT_PERIOD=100000
5298 echo "*******************************************"
5299 echo "Still unsupported target: $build_for -- Sorry."
5300 echo "*******************************************"
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XENO_TARGET_ARCH" >&5
5306 $as_echo "$XENO_TARGET_ARCH" >&6; }
5307 if test $XENO_TARGET_ARCH = x86; then
5308 XENO_TARGET_ARCH_X86_TRUE=
5309 XENO_TARGET_ARCH_X86_FALSE='#'
5311 XENO_TARGET_ARCH_X86_TRUE='#'
5312 XENO_TARGET_ARCH_X86_FALSE=
5316 case "$XENO_TARGET_ARCH" in
5318 # Check whether --enable-shared was given.
5319 if test "${enable_shared+set}" = set; then :
5320 enableval=$enable_shared; p=${PACKAGE-default}
5322 yes) enable_shared=yes ;;
5323 no) enable_shared=no ;;
5326 # Look at the argument we got. We use all the common list separators.
5327 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5328 for pkg in $enableval; do
5330 if test "X$pkg" = "X$p"; then
5351 # Check whether --enable-shared was given.
5352 if test "${enable_shared+set}" = set; then :
5353 enableval=$enable_shared; p=${PACKAGE-default}
5355 yes) enable_shared=yes ;;
5356 no) enable_shared=no ;;
5359 # Look at the argument we got. We use all the common list separators.
5360 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5361 for pkg in $enableval; do
5363 if test "X$pkg" = "X$p"; then
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
5384 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
5389 macro_version='2.2.6b'
5390 macro_revision='1.3017'
5404 ltmain="$ac_aux_dir/ltmain.sh"
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5407 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5408 if test "${ac_cv_path_SED+set}" = set; then :
5409 $as_echo_n "(cached) " >&6
5411 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5412 for ac_i in 1 2 3 4 5 6 7; do
5413 ac_script="$ac_script$as_nl$ac_script"
5415 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5416 { ac_script=; unset ac_script;}
5417 if test -z "$SED"; then
5418 ac_path_SED_found=false
5419 # Loop through the user's path and test for each of PROGNAME-LIST
5420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424 test -z "$as_dir" && as_dir=.
5425 for ac_prog in sed gsed; do
5426 for ac_exec_ext in '' $ac_executable_extensions; do
5427 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5428 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5429 # Check for GNU ac_path_SED and select it if it is found.
5430 # Check for GNU $ac_path_SED
5431 case `"$ac_path_SED" --version 2>&1` in
5433 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5436 $as_echo_n 0123456789 >"conftest.in"
5439 cat "conftest.in" "conftest.in" >"conftest.tmp"
5440 mv "conftest.tmp" "conftest.in"
5441 cp "conftest.in" "conftest.nl"
5442 $as_echo '' >> "conftest.nl"
5443 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5444 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5445 as_fn_arith $ac_count + 1 && ac_count=$as_val
5446 if test $ac_count -gt ${ac_path_SED_max-0}; then
5447 # Best one so far, save it but keep looking for a better one
5448 ac_cv_path_SED="$ac_path_SED"
5449 ac_path_SED_max=$ac_count
5451 # 10*(2^10) chars as input seems more than enough
5452 test $ac_count -gt 10 && break
5454 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5457 $ac_path_SED_found && break 3
5462 if test -z "$ac_cv_path_SED"; then
5463 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5471 $as_echo "$ac_cv_path_SED" >&6; }
5472 SED="$ac_cv_path_SED"
5475 test -z "$SED" && SED=sed
5476 Xsed="$SED -e 1s/^X//"
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5489 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5490 if test "${ac_cv_path_GREP+set}" = set; then :
5491 $as_echo_n "(cached) " >&6
5493 if test -z "$GREP"; then
5494 ac_path_GREP_found=false
5495 # Loop through the user's path and test for each of PROGNAME-LIST
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5500 test -z "$as_dir" && as_dir=.
5501 for ac_prog in grep ggrep; do
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5504 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5505 # Check for GNU ac_path_GREP and select it if it is found.
5506 # Check for GNU $ac_path_GREP
5507 case `"$ac_path_GREP" --version 2>&1` in
5509 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5512 $as_echo_n 0123456789 >"conftest.in"
5515 cat "conftest.in" "conftest.in" >"conftest.tmp"
5516 mv "conftest.tmp" "conftest.in"
5517 cp "conftest.in" "conftest.nl"
5518 $as_echo 'GREP' >> "conftest.nl"
5519 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5520 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5521 as_fn_arith $ac_count + 1 && ac_count=$as_val
5522 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5523 # Best one so far, save it but keep looking for a better one
5524 ac_cv_path_GREP="$ac_path_GREP"
5525 ac_path_GREP_max=$ac_count
5527 # 10*(2^10) chars as input seems more than enough
5528 test $ac_count -gt 10 && break
5530 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5533 $ac_path_GREP_found && break 3
5538 if test -z "$ac_cv_path_GREP"; then
5539 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5542 ac_cv_path_GREP=$GREP
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5547 $as_echo "$ac_cv_path_GREP" >&6; }
5548 GREP="$ac_cv_path_GREP"
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5552 $as_echo_n "checking for egrep... " >&6; }
5553 if test "${ac_cv_path_EGREP+set}" = set; then :
5554 $as_echo_n "(cached) " >&6
5556 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5557 then ac_cv_path_EGREP="$GREP -E"
5559 if test -z "$EGREP"; then
5560 ac_path_EGREP_found=false
5561 # Loop through the user's path and test for each of PROGNAME-LIST
5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5563 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5566 test -z "$as_dir" && as_dir=.
5567 for ac_prog in egrep; do
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5570 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5571 # Check for GNU ac_path_EGREP and select it if it is found.
5572 # Check for GNU $ac_path_EGREP
5573 case `"$ac_path_EGREP" --version 2>&1` in
5575 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5578 $as_echo_n 0123456789 >"conftest.in"
5581 cat "conftest.in" "conftest.in" >"conftest.tmp"
5582 mv "conftest.tmp" "conftest.in"
5583 cp "conftest.in" "conftest.nl"
5584 $as_echo 'EGREP' >> "conftest.nl"
5585 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5586 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5587 as_fn_arith $ac_count + 1 && ac_count=$as_val
5588 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5589 # Best one so far, save it but keep looking for a better one
5590 ac_cv_path_EGREP="$ac_path_EGREP"
5591 ac_path_EGREP_max=$ac_count
5593 # 10*(2^10) chars as input seems more than enough
5594 test $ac_count -gt 10 && break
5596 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5599 $ac_path_EGREP_found && break 3
5604 if test -z "$ac_cv_path_EGREP"; then
5605 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5608 ac_cv_path_EGREP=$EGREP
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5614 $as_echo "$ac_cv_path_EGREP" >&6; }
5615 EGREP="$ac_cv_path_EGREP"
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5619 $as_echo_n "checking for fgrep... " >&6; }
5620 if test "${ac_cv_path_FGREP+set}" = set; then :
5621 $as_echo_n "(cached) " >&6
5623 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5624 then ac_cv_path_FGREP="$GREP -F"
5626 if test -z "$FGREP"; then
5627 ac_path_FGREP_found=false
5628 # Loop through the user's path and test for each of PROGNAME-LIST
5629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5630 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5633 test -z "$as_dir" && as_dir=.
5634 for ac_prog in fgrep; do
5635 for ac_exec_ext in '' $ac_executable_extensions; do
5636 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5637 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5638 # Check for GNU ac_path_FGREP and select it if it is found.
5639 # Check for GNU $ac_path_FGREP
5640 case `"$ac_path_FGREP" --version 2>&1` in
5642 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5645 $as_echo_n 0123456789 >"conftest.in"
5648 cat "conftest.in" "conftest.in" >"conftest.tmp"
5649 mv "conftest.tmp" "conftest.in"
5650 cp "conftest.in" "conftest.nl"
5651 $as_echo 'FGREP' >> "conftest.nl"
5652 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5653 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5654 as_fn_arith $ac_count + 1 && ac_count=$as_val
5655 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5656 # Best one so far, save it but keep looking for a better one
5657 ac_cv_path_FGREP="$ac_path_FGREP"
5658 ac_path_FGREP_max=$ac_count
5660 # 10*(2^10) chars as input seems more than enough
5661 test $ac_count -gt 10 && break
5663 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5666 $ac_path_FGREP_found && break 3
5671 if test -z "$ac_cv_path_FGREP"; then
5672 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5675 ac_cv_path_FGREP=$FGREP
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5681 $as_echo "$ac_cv_path_FGREP" >&6; }
5682 FGREP="$ac_cv_path_FGREP"
5685 test -z "$GREP" && GREP=grep
5705 # Check whether --with-gnu-ld was given.
5706 if test "${with_gnu_ld+set}" = set; then :
5707 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5713 if test "$GCC" = yes; then
5714 # Check if gcc -print-prog-name=ld gives a path.
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5716 $as_echo_n "checking for ld used by $CC... " >&6; }
5719 # gcc leaves a trailing carriage return which upsets mingw
5720 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
5722 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
5725 # Accept absolute paths.
5727 re_direlt='/[^/][^/]*/\.\./'
5728 # Canonicalize the pathname of ld
5729 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
5730 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5731 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
5733 test -z "$LD" && LD="$ac_prog"
5736 # If it fails, then pretend we aren't using GCC.
5740 # If it is relative, then search for the first ld in PATH.
5744 elif test "$with_gnu_ld" = yes; then
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5746 $as_echo_n "checking for GNU ld... " >&6; }
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5749 $as_echo_n "checking for non-GNU ld... " >&6; }
5751 if test "${lt_cv_path_LD+set}" = set; then :
5752 $as_echo_n "(cached) " >&6
5754 if test -z "$LD"; then
5755 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5756 for ac_dir in $PATH; do
5758 test -z "$ac_dir" && ac_dir=.
5759 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5760 lt_cv_path_LD="$ac_dir/$ac_prog"
5761 # Check to see if the program is GNU ld. I'd rather use --version,
5762 # but apparently some variants of GNU ld only accept -v.
5763 # Break only if it was the GNU/non-GNU ld that we prefer.
5764 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
5765 *GNU* | *'with BFD'*)
5766 test "$with_gnu_ld" != no && break
5769 test "$with_gnu_ld" != yes && break
5776 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5781 if test -n "$LD"; then
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5783 $as_echo "$LD" >&6; }
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5786 $as_echo "no" >&6; }
5788 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5790 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5791 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5792 $as_echo_n "(cached) " >&6
5794 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5795 case `$LD -v 2>&1 </dev
/null
` in
5796 *GNU* | *'with BFD'*)
5797 lt_cv_prog_gnu_ld=yes
5800 lt_cv_prog_gnu_ld=no
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5805 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5806 with_gnu_ld=$lt_cv_prog_gnu_ld
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5817 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5818 if test "${lt_cv_path_NM+set}" = set; then :
5819 $as_echo_n "(cached) " >&6
5821 if test -n "$NM"; then
5822 # Let the user override the test.
5825 lt_nm_to_check="${ac_tool_prefix}nm"
5826 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5827 lt_nm_to_check="$lt_nm_to_check nm"
5829 for lt_tmp_nm in $lt_nm_to_check; do
5830 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5831 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5833 test -z "$ac_dir" && ac_dir=.
5834 tmp_nm="$ac_dir/$lt_tmp_nm"
5835 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5836 # Check to see if the nm accepts a BSD-compat flag.
5837 # Adding the `sed 1q
' prevents false positives on HP-UX, which says:
5838 # nm: unknown option "B" ignored
5839 # Tru64's nm complains that
/dev
/null is an invalid object
file
5840 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5841 */dev
/null
* |
*'Invalid file or object type'*)
5842 lt_cv_path_NM
="$tmp_nm -B"
5846 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5848 lt_cv_path_NM
="$tmp_nm -p"
5852 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5853 continue # so that we can try to find one that supports BSD flags
5862 : ${lt_cv_path_NM=no}
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5866 $as_echo "$lt_cv_path_NM" >&6; }
5867 if test "$lt_cv_path_NM" != "no"; then
5870 # Didn't find any BSD compatible name lister, look for dumpbin.
5871 if test -n "$ac_tool_prefix"; then
5872 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5875 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5877 $as_echo_n "checking for $ac_word... " >&6; }
5878 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5879 $as_echo_n "(cached) " >&6
5881 if test -n "$DUMPBIN"; then
5882 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5888 test -z "$as_dir" && as_dir
=.
5889 for ac_exec_ext
in '' $ac_executable_extensions; do
5890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5891 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5901 DUMPBIN
=$ac_cv_prog_DUMPBIN
5902 if test -n "$DUMPBIN"; then
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5904 $as_echo "$DUMPBIN" >&6; }
5906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5907 $as_echo "no" >&6; }
5911 test -n "$DUMPBIN" && break
5914 if test -z "$DUMPBIN"; then
5915 ac_ct_DUMPBIN
=$DUMPBIN
5916 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5918 # Extract the first word of "$ac_prog", so it can be a program name with args.
5919 set dummy
$ac_prog; ac_word
=$2
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5921 $as_echo_n "checking for $ac_word... " >&6; }
5922 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5923 $as_echo_n "(cached) " >&6
5925 if test -n "$ac_ct_DUMPBIN"; then
5926 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5932 test -z "$as_dir" && as_dir
=.
5933 for ac_exec_ext
in '' $ac_executable_extensions; do
5934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5935 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5945 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5946 if test -n "$ac_ct_DUMPBIN"; then
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5948 $as_echo "$ac_ct_DUMPBIN" >&6; }
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5951 $as_echo "no" >&6; }
5955 test -n "$ac_ct_DUMPBIN" && break
5958 if test "x$ac_ct_DUMPBIN" = x
; then
5961 case $cross_compiling:$ac_tool_warned in
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5965 ac_tool_warned
=yes ;;
5967 DUMPBIN
=$ac_ct_DUMPBIN
5972 if test "$DUMPBIN" != ":"; then
5976 test -z "$NM" && NM
=nm
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5984 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5985 if test "${lt_cv_nm_interface+set}" = set; then :
5986 $as_echo_n "(cached) " >&6
5988 lt_cv_nm_interface
="BSD nm"
5989 echo "int some_variable = 0;" > conftest.
$ac_ext
5990 (eval echo "\"\$as_me:5990: $ac_compile\"" >&5)
5991 (eval "$ac_compile" 2>conftest.err
)
5992 cat conftest.err
>&5
5993 (eval echo "\"\$as_me:5993: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5994 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5995 cat conftest.err
>&5
5996 (eval echo "\"\$as_me:5996: output\"" >&5)
5997 cat conftest.out
>&5
5998 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5999 lt_cv_nm_interface
="MS dumpbin"
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6004 $as_echo "$lt_cv_nm_interface" >&6; }
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6007 $as_echo_n "checking whether ln -s works... " >&6; }
6009 if test "$LN_S" = "ln -s"; then
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6011 $as_echo "yes" >&6; }
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6014 $as_echo "no, using $LN_S" >&6; }
6017 # find the maximum length of command line arguments
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6019 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6020 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6021 $as_echo_n "(cached) " >&6
6028 # On DJGPP, this test can blow up pretty badly due to problems in libc
6029 # (any single argument exceeding 2000 bytes causes a buffer overrun
6030 # during glob expansion). Even if it were fixed, the result of this
6031 # check would be larger than it should be.
6032 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6036 # Under GNU Hurd, this test is not required because there is
6037 # no limit to the length of command line arguments.
6038 # Libtool will interpret -1 as no limit whatsoever
6039 lt_cv_sys_max_cmd_len
=-1;
6043 # On Win9x/ME, this test blows up -- it succeeds, but takes
6044 # about 5 minutes as the teststring grows exponentially.
6045 # Worse, since 9x/ME are not pre-emptively multitasking,
6046 # you end up with a "frozen" computer, even though with patience
6047 # the test eventually succeeds (with a max line length of 256k).
6048 # Instead, let's just punt: use the minimum linelength reported by
6049 # all of the supported platforms: 8192 (on NT/2K/XP).
6050 lt_cv_sys_max_cmd_len
=8192;
6054 # On AmigaOS with pdksh, this test takes hours, literally.
6055 # So we just punt and use a minimum line length of 8192.
6056 lt_cv_sys_max_cmd_len
=8192;
6059 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6060 # This has been around since 386BSD, at least. Likely further.
6061 if test -x /sbin
/sysctl
; then
6062 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6063 elif test -x /usr
/sbin
/sysctl
; then
6064 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6066 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6068 # And add a safety zone
6069 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6070 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6074 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6075 lt_cv_sys_max_cmd_len
=196608
6079 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6080 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6081 # nice to cause kernel panics so lets avoid the loop below.
6082 # First set a reasonable default.
6083 lt_cv_sys_max_cmd_len
=16384
6085 if test -x /sbin
/sysconfig
; then
6086 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6087 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6092 lt_cv_sys_max_cmd_len
=102400
6094 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6095 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6096 if test -n "$kargmax"; then
6097 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6099 lt_cv_sys_max_cmd_len
=32768
6103 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6104 if test -n "$lt_cv_sys_max_cmd_len"; then
6105 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6106 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6108 # Make teststring a little bigger before we do anything with it.
6109 # a 1K string should be a reasonable start.
6110 for i
in 1 2 3 4 5 6 7 8 ; do
6111 teststring
=$teststring$teststring
6113 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6114 # If test is not a shell built-in, we'll probably end up computing a
6115 # maximum length that is only half of the actual maximum length, but
6117 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6118 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6119 test $i != 17 # 1/2 MB should be enough
6122 teststring
=$teststring$teststring
6124 # Only check the string length outside the loop.
6125 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6127 # Add a significant safety factor because C++ compilers can tack on
6128 # massive amounts of additional arguments before passing them to the
6129 # linker. It appears as though 1/2 is a usable value.
6130 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6137 if test -n $lt_cv_sys_max_cmd_len ; then
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6139 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6142 $as_echo "none" >&6; }
6144 max_cmd_len
=$lt_cv_sys_max_cmd_len
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6156 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6157 # Try some XSI features
6160 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6162 && eval 'test $(( 1 + 1 )) -eq 2 \
6163 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6166 $as_echo "$xsi_shell" >&6; }
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6170 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6172 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6174 && lt_shell_append=yes
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6176 $as_echo "$lt_shell_append" >&6; }
6179 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6189 # test EBCDIC or ASCII
6190 case `echo X|tr X '\101'` in
6191 A) # ASCII based system
6192 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6193 lt_SP2NL='tr \040 \012'
6194 lt_NL2SP='tr \015\012 \040\040'
6196 *) # EBCDIC based system
6197 lt_SP2NL='tr \100 \n'
6198 lt_NL2SP='tr \r\n \100\100'
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6211 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6212 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6213 $as_echo_n "(cached
) " >&6
6215 lt_cv_ld_reload_flag='-r'
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6218 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6219 reload_flag=$lt_cv_ld_reload_flag
6220 case $reload_flag in
6222 *) reload_flag=" $reload_flag" ;;
6224 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6227 if test "$GCC" = yes; then
6228 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6230 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6245 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6246 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6247 $as_echo_n "(cached
) " >&6
6249 lt_cv_file_magic_cmd='$MAGIC_CMD'
6250 lt_cv_file_magic_test_file=
6251 lt_cv_deplibs_check_method='unknown'
6252 # Need to set the preceding variable on all platforms that support
6253 # interlibrary dependencies.
6254 # 'none' -- dependencies not supported.
6255 # `unknown' -- same as none, but documents that we really don't know.
6256 # 'pass_all' -- all dependencies passed with no checks.
6257 # 'test_compile' -- check by making test program.
6258 # 'file_magic [[regex]]' -- check by looking for files in library path
6259 # which responds to the $file_magic_cmd with a given extended regex.
6260 # If you have `file' or equivalent on your system and you're not sure
6261 # whether `pass_all' will *always* work, you probably want this one.
6265 lt_cv_deplibs_check_method=pass_all
6269 lt_cv_deplibs_check_method=pass_all
6273 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6274 lt_cv_file_magic_cmd='/usr/bin/file -L'
6275 lt_cv_file_magic_test_file=/shlib/libc.so
6279 # func_win32_libid is a shell function defined in ltmain.sh
6280 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6281 lt_cv_file_magic_cmd='func_win32_libid'
6285 # Base MSYS/MinGW do not provide the 'file' command needed by
6286 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6287 # unless we find 'file', for example because we are cross-compiling.
6288 if ( file / ) >/dev/null 2>&1; then
6289 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6290 lt_cv_file_magic_cmd='func_win32_libid'
6292 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6293 lt_cv_file_magic_cmd='$OBJDUMP -f'
6297 darwin* | rhapsody*)
6298 lt_cv_deplibs_check_method=pass_all
6301 freebsd* | dragonfly*)
6302 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6305 # Not sure whether the presence of OpenBSD here was a mistake.
6306 # Let's accept both of them until this is cleared up.
6307 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6308 lt_cv_file_magic_cmd=/usr/bin/file
6309 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6313 lt_cv_deplibs_check_method=pass_all
6318 lt_cv_deplibs_check_method=pass_all
6321 hpux10.20* | hpux11*)
6322 lt_cv_file_magic_cmd=/usr/bin/file
6325 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6326 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6329 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]'
6330 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6333 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6334 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6340 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6341 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6344 irix5* | irix6* | nonstopux*)
6346 *-32|*"-32 ") libmagic=32-bit;;
6347 *-n32|*"-n32 ") libmagic=N32;;
6348 *-64|*"-64 ") libmagic=64-bit;;
6349 *) libmagic=never-match;;
6351 lt_cv_deplibs_check_method=pass_all
6354 # This must be Linux ELF.
6355 linux* | k*bsd*-gnu)
6356 lt_cv_deplibs_check_method=pass_all
6359 netbsd* | netbsdelf*-gnu)
6360 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6361 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6363 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6368 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6369 lt_cv_file_magic_cmd=/usr/bin/file
6370 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6374 lt_cv_deplibs_check_method=pass_all
6378 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6379 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6381 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6385 osf3* | osf4* | osf5*)
6386 lt_cv_deplibs_check_method=pass_all
6390 lt_cv_deplibs_check_method=pass_all
6394 lt_cv_deplibs_check_method=pass_all
6397 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6398 lt_cv_deplibs_check_method=pass_all
6402 case $host_vendor in
6404 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]'
6405 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6408 lt_cv_deplibs_check_method=pass_all
6411 lt_cv_file_magic_cmd='/bin/file'
6412 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6415 lt_cv_file_magic_cmd='/bin/file'
6416 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6417 lt_cv_file_magic_test_file=/lib/libc.so
6420 lt_cv_deplibs_check_method=pass_all
6423 lt_cv_deplibs_check_method=pass_all
6429 lt_cv_deplibs_check_method=pass_all
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6435 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6436 file_magic_cmd=$lt_cv_file_magic_cmd
6437 deplibs_check_method=$lt_cv_deplibs_check_method
6438 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6451 if test -n "$ac_tool_prefix"; then
6452 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6453 set dummy ${ac_tool_prefix}ar; ac_word=$2
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6455 $as_echo_n "checking
for $ac_word...
" >&6; }
6456 if test "${ac_cv_prog_AR+set}" = set; then :
6457 $as_echo_n "(cached
) " >&6
6459 if test -n "$AR"; then
6460 ac_cv_prog_AR="$AR" # Let the user override the test.
6462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 test -z "$as_dir" && as_dir=.
6467 for ac_exec_ext in '' $ac_executable_extensions; do
6468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6469 ac_cv_prog_AR="${ac_tool_prefix}ar"
6470 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6480 if test -n "$AR"; then
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6482 $as_echo "$AR" >&6; }
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6485 $as_echo "no
" >&6; }
6490 if test -z "$ac_cv_prog_AR"; then
6492 # Extract the first word of "ar", so it can be a program name with args.
6493 set dummy ar; ac_word=$2
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6495 $as_echo_n "checking
for $ac_word...
" >&6; }
6496 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6497 $as_echo_n "(cached
) " >&6
6499 if test -n "$ac_ct_AR"; then
6500 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6506 test -z "$as_dir" && as_dir=.
6507 for ac_exec_ext in '' $ac_executable_extensions; do
6508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6509 ac_cv_prog_ac_ct_AR="ar"
6510 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6519 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6520 if test -n "$ac_ct_AR"; then
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6522 $as_echo "$ac_ct_AR" >&6; }
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6525 $as_echo "no
" >&6; }
6528 if test "x
$ac_ct_AR" = x; then
6531 case $cross_compiling:$ac_tool_warned in
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6534 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6535 ac_tool_warned=yes ;;
6543 test -z "$AR" && AR=ar
6544 test -z "$AR_FLAGS" && AR_FLAGS=cru
6556 if test -n "$ac_tool_prefix"; then
6557 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6558 set dummy ${ac_tool_prefix}strip; ac_word=$2
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6560 $as_echo_n "checking
for $ac_word...
" >&6; }
6561 if test "${ac_cv_prog_STRIP+set}" = set; then :
6562 $as_echo_n "(cached
) " >&6
6564 if test -n "$STRIP"; then
6565 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6571 test -z "$as_dir" && as_dir=.
6572 for ac_exec_ext in '' $ac_executable_extensions; do
6573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6574 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6575 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6584 STRIP=$ac_cv_prog_STRIP
6585 if test -n "$STRIP"; then
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6587 $as_echo "$STRIP" >&6; }
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6590 $as_echo "no
" >&6; }
6595 if test -z "$ac_cv_prog_STRIP"; then
6597 # Extract the first word of "strip
", so it can be a program name with args.
6598 set dummy strip; ac_word=$2
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6600 $as_echo_n "checking
for $ac_word...
" >&6; }
6601 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6602 $as_echo_n "(cached
) " >&6
6604 if test -n "$ac_ct_STRIP"; then
6605 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6611 test -z "$as_dir" && as_dir=.
6612 for ac_exec_ext in '' $ac_executable_extensions; do
6613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6614 ac_cv_prog_ac_ct_STRIP="strip
"
6615 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6624 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6625 if test -n "$ac_ct_STRIP"; then
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6627 $as_echo "$ac_ct_STRIP" >&6; }
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6630 $as_echo "no
" >&6; }
6633 if test "x
$ac_ct_STRIP" = x; then
6636 case $cross_compiling:$ac_tool_warned in
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6639 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6640 ac_tool_warned=yes ;;
6645 STRIP="$ac_cv_prog_STRIP"
6648 test -z "$STRIP" && STRIP=:
6655 if test -n "$ac_tool_prefix"; then
6656 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6657 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6659 $as_echo_n "checking
for $ac_word...
" >&6; }
6660 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6661 $as_echo_n "(cached
) " >&6
6663 if test -n "$RANLIB"; then
6664 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 test -z "$as_dir" && as_dir=.
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6673 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6674 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6683 RANLIB=$ac_cv_prog_RANLIB
6684 if test -n "$RANLIB"; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6686 $as_echo "$RANLIB" >&6; }
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6689 $as_echo "no
" >&6; }
6694 if test -z "$ac_cv_prog_RANLIB"; then
6695 ac_ct_RANLIB=$RANLIB
6696 # Extract the first word of "ranlib
", so it can be a program name with args.
6697 set dummy ranlib; ac_word=$2
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6699 $as_echo_n "checking
for $ac_word...
" >&6; }
6700 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6701 $as_echo_n "(cached
) " >&6
6703 if test -n "$ac_ct_RANLIB"; then
6704 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6710 test -z "$as_dir" && as_dir=.
6711 for ac_exec_ext in '' $ac_executable_extensions; do
6712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6713 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6714 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6723 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6724 if test -n "$ac_ct_RANLIB"; then
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6726 $as_echo "$ac_ct_RANLIB" >&6; }
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6729 $as_echo "no
" >&6; }
6732 if test "x
$ac_ct_RANLIB" = x; then
6735 case $cross_compiling:$ac_tool_warned in
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6738 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6739 ac_tool_warned=yes ;;
6741 RANLIB=$ac_ct_RANLIB
6744 RANLIB="$ac_cv_prog_RANLIB"
6747 test -z "$RANLIB" && RANLIB=:
6754 # Determine commands to create old-style static archives.
6755 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6756 old_postinstall_cmds='chmod 644 $oldlib'
6757 old_postuninstall_cmds=
6759 if test -n "$RANLIB"; then
6762 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6765 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6768 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6804 # If no C compiler was specified, use CC.
6807 # If no C compiler flags were specified, use CFLAGS.
6808 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6810 # Allow CC to be a program name with arguments.
6814 # Check for command to grab the raw symbol name followed by C symbol from nm.
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6816 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6817 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6818 $as_echo_n "(cached
) " >&6
6821 # These are sane defaults that work on at least a few old systems.
6822 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6824 # Character class describing NM global symbol codes.
6825 symcode='[BCDEGRST]'
6827 # Regexp to match symbols that can be accessed directly from C.
6828 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6830 # Define system-specific variables.
6835 cygwin* | mingw* | pw32*)
6836 symcode='[ABCDGISTW]'
6839 if test "$host_cpu" = ia64; then
6840 symcode='[ABCDEGRST]'
6844 symcode='[BCDEGRST]'
6847 symcode='[BCDEGQRST]'
6858 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6866 # If we're using GNU nm, then use its standard symbol codes.
6867 case `$NM -V 2>&1` in
6868 *GNU* | *'with BFD'*)
6869 symcode='[ABCDGIRSTW]' ;;
6872 # Transform an extracted symbol line into a proper C declaration.
6873 # Some systems (esp. on ia64) link data and code symbols differently,
6874 # so use this general approach.
6875 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6877 # Transform an extracted symbol line into symbol name and symbol address
6878 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6879 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'"
6881 # Handle CRLF in mingw tool chain
6885 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6889 # Try without a prefix underscore, then with it.
6890 for ac_symprfx in "" "_
"; do
6892 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6893 symxfrm="\\1 $ac_symprfx\\2 \\2"
6895 # Write the raw and C identifiers.
6896 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6897 # Fake it for dumpbin and say T for any non-static function
6898 # and D for any global variable.
6899 # Also find C++ and __fastcall symbols from MSVC++,
6900 # which start with @ or ?.
6901 lt_cv_sys_global_symbol_pipe="$AWK '"\
6902 " {last_section=section; section=\$ 3};"\
6903 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6904 " \$ 0!~/External *\|/{next};"\
6905 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6906 " {if(hide[section]) next};"\
6907 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6908 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6909 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6910 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6911 " ' prfx
=^
$ac_symprfx"
6913 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6916 # Check to see that the pipe works correctly.
6920 cat > conftest.$ac_ext <<_LT_EOF
6925 void nm_test_func(void);
6926 void nm_test_func(void){}
6930 int main(){nm_test_var='a';nm_test_func();return(0);}
6933 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6934 (eval $ac_compile) 2>&5
6936 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6937 test $ac_status = 0; }; then
6938 # Now try to grab the symbols.
6940 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
6941 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6943 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6944 test $ac_status = 0; } && test -s "$nlist"; then
6945 # Try sorting and uniquifying the output.
6946 if sort "$nlist" | uniq > "$nlist"T; then
6947 mv -f "$nlist"T "$nlist"
6952 # Make sure that we snagged all the symbols we need.
6953 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6954 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6955 cat <<_LT_EOF > conftest.$ac_ext
6961 # Now generate the symbol file.
6962 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6964 cat <<_LT_EOF >> conftest.$ac_ext
6966 /* The mapping between symbol names and symbols. */
6971 lt__PROGRAM__LTX_preloaded_symbols[] =
6973 { "@PROGRAM@
", (void *) 0 },
6975 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6976 cat <<\_LT_EOF >> conftest.$ac_ext
6980 /* This works around a problem in FreeBSD linker */
6981 #ifdef FREEBSD_WORKAROUND
6982 static const void *lt_preloaded_setup() {
6983 return lt__PROGRAM__LTX_preloaded_symbols;
6991 # Now try linking the two files.
6992 mv conftest.$ac_objext conftstm.$ac_objext
6993 lt_save_LIBS="$LIBS"
6994 lt_save_CFLAGS="$CFLAGS"
6995 LIBS="conftstm.
$ac_objext"
6996 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6997 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6998 (eval $ac_link) 2>&5
7000 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7001 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7004 LIBS="$lt_save_LIBS"
7005 CFLAGS="$lt_save_CFLAGS"
7007 echo "cannot
find nm_test_func
in $nlist" >&5
7010 echo "cannot
find nm_test_var
in $nlist" >&5
7013 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7016 echo "$progname: failed program was
:" >&5
7017 cat conftest.$ac_ext >&5
7019 rm -rf conftest* conftst*
7021 # Do not use the global_symbol_pipe unless it works.
7022 if test "$pipe_works" = yes; then
7025 lt_cv_sys_global_symbol_pipe=
7031 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7032 lt_cv_sys_global_symbol_to_cdecl=
7034 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7036 $as_echo "failed
" >&6; }
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7039 $as_echo "ok
" >&6; }
7063 # Check whether --enable-libtool-lock was given.
7064 if test "${enable_libtool_lock+set}" = set; then :
7065 enableval=$enable_libtool_lock;
7068 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7070 # Some flags need to be propagated to the compiler or linker for good
7074 # Find out which ABI we are using.
7075 echo 'int i;' > conftest.$ac_ext
7076 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7077 (eval $ac_compile) 2>&5
7079 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7080 test $ac_status = 0; }; then
7081 case `/usr/bin/file conftest.$ac_objext` in
7093 # Find out which ABI we are using.
7094 echo '#line 7094 "configure
"' > conftest.$ac_ext
7095 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7096 (eval $ac_compile) 2>&5
7098 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7099 test $ac_status = 0; }; then
7100 if test "$lt_cv_prog_gnu_ld" = yes; then
7101 case `/usr/bin/file conftest.$ac_objext` in
7103 LD="${LD-ld} -melf32bsmip"
7106 LD="${LD-ld} -melf32bmipn32"
7109 LD="${LD-ld} -melf64bmip"
7113 case `/usr/bin/file conftest.$ac_objext` in
7129 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7130 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7131 # Find out which ABI we are using.
7132 echo 'int i;' > conftest.$ac_ext
7133 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7134 (eval $ac_compile) 2>&5
7136 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7137 test $ac_status = 0; }; then
7138 case `/usr/bin/file conftest.o` in
7141 x86_64-*kfreebsd*-gnu)
7142 LD="${LD-ld} -m elf_i386_fbsd
"
7145 LD="${LD-ld} -m elf_i386
"
7147 ppc64-*linux*|powerpc64-*linux*)
7148 LD="${LD-ld} -m elf32ppclinux
"
7151 LD="${LD-ld} -m elf_s390
"
7154 LD="${LD-ld} -m elf32_sparc
"
7160 x86_64-*kfreebsd*-gnu)
7161 LD="${LD-ld} -m elf_x86_64_fbsd
"
7164 LD="${LD-ld} -m elf_x86_64
"
7166 ppc*-*linux*|powerpc*-*linux*)
7167 LD="${LD-ld} -m elf64ppc
"
7169 s390*-*linux*|s390*-*tpf*)
7170 LD="${LD-ld} -m elf64_s390
"
7173 LD="${LD-ld} -m elf64_sparc
"
7183 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7184 SAVE_CFLAGS="$CFLAGS"
7185 CFLAGS="$CFLAGS -belf"
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7187 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7188 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7189 $as_echo_n "(cached
) " >&6
7192 ac_cpp='$CPP $CPPFLAGS'
7193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7198 /* end confdefs.h. */
7208 if ac_fn_c_try_link "$LINENO"; then :
7209 lt_cv_cc_needs_belf=yes
7211 lt_cv_cc_needs_belf=no
7213 rm -f core conftest.err conftest.$ac_objext \
7214 conftest$ac_exeext conftest.$ac_ext
7216 ac_cpp='$CPP $CPPFLAGS'
7217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7223 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7224 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7225 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7226 CFLAGS="$SAVE_CFLAGS"
7230 # Find out which ABI we are using.
7231 echo 'int i;' > conftest.$ac_ext
7232 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7233 (eval $ac_compile) 2>&5
7235 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7236 test $ac_status = 0; }; then
7237 case `/usr/bin/file conftest.o` in
7239 case $lt_cv_prog_gnu_ld in
7240 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7242 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7254 need_locks="$enable_libtool_lock"
7258 rhapsody* | darwin*)
7259 if test -n "$ac_tool_prefix"; then
7260 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7261 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7263 $as_echo_n "checking
for $ac_word...
" >&6; }
7264 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7265 $as_echo_n "(cached
) " >&6
7267 if test -n "$DSYMUTIL"; then
7268 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7274 test -z "$as_dir" && as_dir=.
7275 for ac_exec_ext in '' $ac_executable_extensions; do
7276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7277 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7278 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7287 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7288 if test -n "$DSYMUTIL"; then
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7290 $as_echo "$DSYMUTIL" >&6; }
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7293 $as_echo "no
" >&6; }
7298 if test -z "$ac_cv_prog_DSYMUTIL"; then
7299 ac_ct_DSYMUTIL=$DSYMUTIL
7300 # Extract the first word of "dsymutil
", so it can be a program name with args.
7301 set dummy dsymutil; ac_word=$2
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7303 $as_echo_n "checking
for $ac_word...
" >&6; }
7304 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7305 $as_echo_n "(cached
) " >&6
7307 if test -n "$ac_ct_DSYMUTIL"; then
7308 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7314 test -z "$as_dir" && as_dir=.
7315 for ac_exec_ext in '' $ac_executable_extensions; do
7316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7317 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7318 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7327 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7328 if test -n "$ac_ct_DSYMUTIL"; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7330 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7333 $as_echo "no
" >&6; }
7336 if test "x
$ac_ct_DSYMUTIL" = x; then
7339 case $cross_compiling:$ac_tool_warned in
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7342 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7343 ac_tool_warned=yes ;;
7345 DSYMUTIL=$ac_ct_DSYMUTIL
7348 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7351 if test -n "$ac_tool_prefix"; then
7352 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7353 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7355 $as_echo_n "checking
for $ac_word...
" >&6; }
7356 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7357 $as_echo_n "(cached
) " >&6
7359 if test -n "$NMEDIT"; then
7360 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7366 test -z "$as_dir" && as_dir=.
7367 for ac_exec_ext in '' $ac_executable_extensions; do
7368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7369 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7379 NMEDIT=$ac_cv_prog_NMEDIT
7380 if test -n "$NMEDIT"; then
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7382 $as_echo "$NMEDIT" >&6; }
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7385 $as_echo "no
" >&6; }
7390 if test -z "$ac_cv_prog_NMEDIT"; then
7391 ac_ct_NMEDIT=$NMEDIT
7392 # Extract the first word of "nmedit
", so it can be a program name with args.
7393 set dummy nmedit; ac_word=$2
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7395 $as_echo_n "checking
for $ac_word...
" >&6; }
7396 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7397 $as_echo_n "(cached
) " >&6
7399 if test -n "$ac_ct_NMEDIT"; then
7400 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7406 test -z "$as_dir" && as_dir=.
7407 for ac_exec_ext in '' $ac_executable_extensions; do
7408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7409 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7410 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7419 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7420 if test -n "$ac_ct_NMEDIT"; then
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7422 $as_echo "$ac_ct_NMEDIT" >&6; }
7424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7425 $as_echo "no
" >&6; }
7428 if test "x
$ac_ct_NMEDIT" = x; then
7431 case $cross_compiling:$ac_tool_warned in
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7434 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7435 ac_tool_warned=yes ;;
7437 NMEDIT=$ac_ct_NMEDIT
7440 NMEDIT="$ac_cv_prog_NMEDIT"
7443 if test -n "$ac_tool_prefix"; then
7444 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7445 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7447 $as_echo_n "checking
for $ac_word...
" >&6; }
7448 if test "${ac_cv_prog_LIPO+set}" = set; then :
7449 $as_echo_n "(cached
) " >&6
7451 if test -n "$LIPO"; then
7452 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7458 test -z "$as_dir" && as_dir=.
7459 for ac_exec_ext in '' $ac_executable_extensions; do
7460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7461 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7462 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7471 LIPO=$ac_cv_prog_LIPO
7472 if test -n "$LIPO"; then
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7474 $as_echo "$LIPO" >&6; }
7476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7477 $as_echo "no
" >&6; }
7482 if test -z "$ac_cv_prog_LIPO"; then
7484 # Extract the first word of "lipo
", so it can be a program name with args.
7485 set dummy lipo; ac_word=$2
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7487 $as_echo_n "checking
for $ac_word...
" >&6; }
7488 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7489 $as_echo_n "(cached
) " >&6
7491 if test -n "$ac_ct_LIPO"; then
7492 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7498 test -z "$as_dir" && as_dir=.
7499 for ac_exec_ext in '' $ac_executable_extensions; do
7500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7501 ac_cv_prog_ac_ct_LIPO="lipo
"
7502 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7511 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7512 if test -n "$ac_ct_LIPO"; then
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7514 $as_echo "$ac_ct_LIPO" >&6; }
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7517 $as_echo "no
" >&6; }
7520 if test "x
$ac_ct_LIPO" = x; then
7523 case $cross_compiling:$ac_tool_warned in
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7526 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7527 ac_tool_warned=yes ;;
7532 LIPO="$ac_cv_prog_LIPO"
7535 if test -n "$ac_tool_prefix"; then
7536 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7537 set dummy ${ac_tool_prefix}otool; ac_word=$2
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7539 $as_echo_n "checking
for $ac_word...
" >&6; }
7540 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7541 $as_echo_n "(cached
) " >&6
7543 if test -n "$OTOOL"; then
7544 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7550 test -z "$as_dir" && as_dir=.
7551 for ac_exec_ext in '' $ac_executable_extensions; do
7552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7553 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7554 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7563 OTOOL=$ac_cv_prog_OTOOL
7564 if test -n "$OTOOL"; then
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7566 $as_echo "$OTOOL" >&6; }
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7569 $as_echo "no
" >&6; }
7574 if test -z "$ac_cv_prog_OTOOL"; then
7576 # Extract the first word of "otool
", so it can be a program name with args.
7577 set dummy otool; ac_word=$2
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7579 $as_echo_n "checking
for $ac_word...
" >&6; }
7580 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7581 $as_echo_n "(cached
) " >&6
7583 if test -n "$ac_ct_OTOOL"; then
7584 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7590 test -z "$as_dir" && as_dir=.
7591 for ac_exec_ext in '' $ac_executable_extensions; do
7592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7593 ac_cv_prog_ac_ct_OTOOL="otool
"
7594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7603 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7604 if test -n "$ac_ct_OTOOL"; then
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7606 $as_echo "$ac_ct_OTOOL" >&6; }
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7609 $as_echo "no
" >&6; }
7612 if test "x
$ac_ct_OTOOL" = x; then
7615 case $cross_compiling:$ac_tool_warned in
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7618 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7619 ac_tool_warned=yes ;;
7624 OTOOL="$ac_cv_prog_OTOOL"
7627 if test -n "$ac_tool_prefix"; then
7628 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7629 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7631 $as_echo_n "checking
for $ac_word...
" >&6; }
7632 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7633 $as_echo_n "(cached
) " >&6
7635 if test -n "$OTOOL64"; then
7636 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7642 test -z "$as_dir" && as_dir=.
7643 for ac_exec_ext in '' $ac_executable_extensions; do
7644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7645 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7646 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7655 OTOOL64=$ac_cv_prog_OTOOL64
7656 if test -n "$OTOOL64"; then
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7658 $as_echo "$OTOOL64" >&6; }
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7661 $as_echo "no
" >&6; }
7666 if test -z "$ac_cv_prog_OTOOL64"; then
7667 ac_ct_OTOOL64=$OTOOL64
7668 # Extract the first word of "otool64
", so it can be a program name with args.
7669 set dummy otool64; ac_word=$2
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7671 $as_echo_n "checking
for $ac_word...
" >&6; }
7672 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7673 $as_echo_n "(cached
) " >&6
7675 if test -n "$ac_ct_OTOOL64"; then
7676 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7682 test -z "$as_dir" && as_dir=.
7683 for ac_exec_ext in '' $ac_executable_extensions; do
7684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7685 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7686 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7695 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7696 if test -n "$ac_ct_OTOOL64"; then
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7698 $as_echo "$ac_ct_OTOOL64" >&6; }
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7701 $as_echo "no
" >&6; }
7704 if test "x
$ac_ct_OTOOL64" = x; then
7707 case $cross_compiling:$ac_tool_warned in
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7710 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7711 ac_tool_warned=yes ;;
7713 OTOOL64=$ac_ct_OTOOL64
7716 OTOOL64="$ac_cv_prog_OTOOL64"
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7746 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7747 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7748 $as_echo_n "(cached
) " >&6
7750 lt_cv_apple_cc_single_mod=no
7751 if test -z "${LT_MULTI_MODULE}"; then
7752 # By default we will add the -single_module flag. You can override
7753 # by either setting the environment variable LT_MULTI_MODULE
7754 # non-empty at configure time, or by adding -multi_module to the
7756 rm -rf libconftest.dylib*
7757 echo "int foo
(void
){return 1;}" > conftest.c
7758 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7759 -dynamiclib -Wl,-single_module conftest.c
" >&5
7760 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7761 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7763 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7764 lt_cv_apple_cc_single_mod=yes
7766 cat conftest.err >&5
7768 rm -rf libconftest.dylib*
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7773 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7775 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7776 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7777 $as_echo_n "(cached
) " >&6
7779 lt_cv_ld_exported_symbols_list=no
7780 save_LDFLAGS=$LDFLAGS
7781 echo "_main
" > conftest.sym
7782 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7784 /* end confdefs.h. */
7794 if ac_fn_c_try_link "$LINENO"; then :
7795 lt_cv_ld_exported_symbols_list=yes
7797 lt_cv_ld_exported_symbols_list=no
7799 rm -f core conftest.err conftest.$ac_objext \
7800 conftest$ac_exeext conftest.$ac_ext
7801 LDFLAGS="$save_LDFLAGS"
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7805 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7807 rhapsody* | darwin1.[012])
7808 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7810 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7811 darwin*) # darwin 5.x on
7812 # if running on 10.5 or later, the deployment target defaults
7813 # to the OS version, if on x86, and 10.4, the deployment
7814 # target defaults to 10.4. Don't you love it?
7815 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7816 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7817 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7819 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7821 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7825 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7826 _lt_dar_single_mod='$single_module'
7828 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7829 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7831 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7833 if test "$DSYMUTIL" != ":"; then
7834 _lt_dsymutil='~$DSYMUTIL $lib || :'
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7843 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7844 if test "${ac_cv_header_stdc+set}" = set; then :
7845 $as_echo_n "(cached
) " >&6
7847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7848 /* end confdefs.h. */
7862 if ac_fn_c_try_compile "$LINENO"; then :
7863 ac_cv_header_stdc=yes
7865 ac_cv_header_stdc=no
7867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7869 if test $ac_cv_header_stdc = yes; then
7870 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7872 /* end confdefs.h. */
7876 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7877 $EGREP "memchr
" >/dev/null 2>&1; then :
7880 ac_cv_header_stdc=no
7886 if test $ac_cv_header_stdc = yes; then
7887 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7889 /* end confdefs.h. */
7893 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7894 $EGREP "free
" >/dev/null 2>&1; then :
7897 ac_cv_header_stdc=no
7903 if test $ac_cv_header_stdc = yes; then
7904 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7905 if test "$cross_compiling" = yes; then :
7908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7909 /* end confdefs.h. */
7912 #if ((' ' & 0x0FF) == 0x020)
7913 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7914 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7916 # define ISLOWER(c) \
7917 (('a' <= (c) && (c) <= 'i') \
7918 || ('j' <= (c) && (c) <= 'r') \
7919 || ('s' <= (c) && (c) <= 'z'))
7920 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7923 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7928 for (i = 0; i < 256; i++)
7929 if (XOR (islower (i), ISLOWER (i))
7930 || toupper (i) != TOUPPER (i))
7935 if ac_fn_c_try_run "$LINENO"; then :
7938 ac_cv_header_stdc=no
7940 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7941 conftest.$ac_objext conftest.beam conftest.$ac_ext
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7947 $as_echo "$ac_cv_header_stdc" >&6; }
7948 if test $ac_cv_header_stdc = yes; then
7950 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7954 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7955 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7956 inttypes.h stdint.h unistd.h
7958 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7959 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7961 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7962 cat >>confdefs.h
<<_ACEOF
7963 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7971 for ac_header
in dlfcn.h
7973 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7975 if test "x$ac_cv_header_dlfcn_h" = x
""yes; then :
7976 cat >>confdefs.h
<<_ACEOF
7977 #define HAVE_DLFCN_H 1
7997 # Check whether --enable-static was given.
7998 if test "${enable_static+set}" = set; then :
7999 enableval
=$enable_static; p
=${PACKAGE-default}
8001 yes) enable_static
=yes ;;
8002 no
) enable_static
=no
;;
8005 # Look at the argument we got. We use all the common list separators.
8006 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8007 for pkg
in $enableval; do
8009 if test "X$pkg" = "X$p"; then
8029 # Check whether --with-pic was given.
8030 if test "${with_pic+set}" = set; then :
8031 withval
=$with_pic; pic_mode
="$withval"
8037 test -z "$pic_mode" && pic_mode
=default
8045 # Check whether --enable-fast-install was given.
8046 if test "${enable_fast_install+set}" = set; then :
8047 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8049 yes) enable_fast_install
=yes ;;
8050 no
) enable_fast_install
=no
;;
8052 enable_fast_install
=no
8053 # Look at the argument we got. We use all the common list separators.
8054 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8055 for pkg
in $enableval; do
8057 if test "X$pkg" = "X$p"; then
8058 enable_fast_install
=yes
8065 enable_fast_install
=yes
8078 # This can be used to rebuild libtool when needed
8079 LIBTOOL_DEPS
="$ltmain"
8081 # Always use our own libtool.
8082 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8108 test -z "$LN_S" && LN_S
="ln -s"
8123 if test -n "${ZSH_VERSION+set}" ; then
8124 setopt NO_GLOB_SUBST
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8128 $as_echo_n "checking for objdir... " >&6; }
8129 if test "${lt_cv_objdir+set}" = set; then :
8130 $as_echo_n "(cached) " >&6
8132 rm -f .libs
2>/dev
/null
8133 mkdir .libs
2>/dev
/null
8134 if test -d .libs
; then
8137 # MS-DOS does not allow filenames that begin with a dot.
8140 rmdir .libs
2>/dev
/null
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8143 $as_echo "$lt_cv_objdir" >&6; }
8144 objdir
=$lt_cv_objdir
8150 cat >>confdefs.h
<<_ACEOF
8151 #define LT_OBJDIR "$lt_cv_objdir/"
8172 # AIX sometimes has problems with the GCC collect2 program. For some
8173 # reason, if we set the COLLECT_NAMES environment variable, the problems
8174 # vanish in a puff of smoke.
8175 if test "X${COLLECT_NAMES+set}" != Xset
; then
8177 export COLLECT_NAMES
8182 # Sed substitution that helps us do robust quoting. It backslashifies
8183 # metacharacters that are still active within double-quoted strings.
8184 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8186 # Same as above, but do not quote variable references.
8187 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8189 # Sed substitution to delay expansion of an escaped shell variable in a
8190 # double_quote_subst'ed string.
8191 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8193 # Sed substitution to delay expansion of an escaped single quote.
8194 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8196 # Sed substitution to avoid accidental globbing in evaled expressions
8197 no_glob_subst
='s/\*/\\\*/g'
8201 can_build_shared
=yes
8203 # All known linkers require a `.a' archive for static linking (except MSVC,
8204 # which needs '.lib').
8207 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8210 old_CFLAGS
="$CFLAGS"
8212 # Set sane defaults for various variables
8213 test -z "$CC" && CC
=cc
8214 test -z "$LTCC" && LTCC
=$CC
8215 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8216 test -z "$LD" && LD
=ld
8217 test -z "$ac_objext" && ac_objext
=o
8219 for cc_temp
in $compiler""; do
8221 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8222 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8227 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8230 # Only perform the check for file, if the check method requires it
8231 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8232 case $deplibs_check_method in
8234 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8236 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8237 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8238 $as_echo_n "(cached) " >&6
8242 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8245 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8246 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8247 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8248 for ac_dir
in $ac_dummy; do
8250 test -z "$ac_dir" && ac_dir
=.
8251 if test -f $ac_dir/${ac_tool_prefix}file; then
8252 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8253 if test -n "$file_magic_test_file"; then
8254 case $deplibs_check_method in
8256 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8257 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8258 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8259 $EGREP "$file_magic_regex" > /dev
/null
; then
8264 *** Warning: the command libtool uses to detect shared libraries,
8265 *** $file_magic_cmd, produces output that libtool cannot recognize.
8266 *** The result is that libtool may fail to recognize shared libraries
8267 *** as such. This will affect the creation of libtool libraries that
8268 *** depend on shared libraries, but programs linked with such libtool
8269 *** libraries will work regardless of this problem. Nevertheless, you
8270 *** may want to report the problem to your system manager and/or to
8271 *** bug-libtool@gnu.org
8281 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8286 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8287 if test -n "$MAGIC_CMD"; then
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8289 $as_echo "$MAGIC_CMD" >&6; }
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8292 $as_echo "no" >&6; }
8299 if test -z "$lt_cv_path_MAGIC_CMD"; then
8300 if test -n "$ac_tool_prefix"; then
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8302 $as_echo_n "checking for file... " >&6; }
8303 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8304 $as_echo_n "(cached) " >&6
8308 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8311 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8312 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8313 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8314 for ac_dir
in $ac_dummy; do
8316 test -z "$ac_dir" && ac_dir
=.
8317 if test -f $ac_dir/file; then
8318 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8319 if test -n "$file_magic_test_file"; then
8320 case $deplibs_check_method in
8322 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8323 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8324 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8325 $EGREP "$file_magic_regex" > /dev
/null
; then
8330 *** Warning: the command libtool uses to detect shared libraries,
8331 *** $file_magic_cmd, produces output that libtool cannot recognize.
8332 *** The result is that libtool may fail to recognize shared libraries
8333 *** as such. This will affect the creation of libtool libraries that
8334 *** depend on shared libraries, but programs linked with such libtool
8335 *** libraries will work regardless of this problem. Nevertheless, you
8336 *** may want to report the problem to your system manager and/or to
8337 *** bug-libtool@gnu.org
8347 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8352 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8353 if test -n "$MAGIC_CMD"; then
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8355 $as_echo "$MAGIC_CMD" >&6; }
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8358 $as_echo "no" >&6; }
8371 # Use C for the default configuration in the libtool script
8375 ac_cpp
='$CPP $CPPFLAGS'
8376 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8377 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8378 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8381 # Source file extension for C test sources.
8384 # Object file extension for compiled C test sources.
8388 # Code to be used in simple compile tests
8389 lt_simple_compile_test_code
="int some_variable = 0;"
8391 # Code to be used in simple link tests
8392 lt_simple_link_test_code
='int main(){return(0);}'
8400 # If no C compiler was specified, use CC.
8403 # If no C compiler flags were specified, use CFLAGS.
8404 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8406 # Allow CC to be a program name with arguments.
8409 # Save the default compiler, since it gets overwritten when the other
8410 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8411 compiler_DEFAULT
=$CC
8413 # save warnings/boilerplate of simple test code
8414 ac_outfile
=conftest.
$ac_objext
8415 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8416 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8417 _lt_compiler_boilerplate
=`cat conftest.err`
8420 ac_outfile
=conftest.
$ac_objext
8421 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8422 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8423 _lt_linker_boilerplate
=`cat conftest.err`
8428 ## There is no encapsulation within the following macros, do not change
8429 ## the running order or otherwise move them around unless you know exactly
8430 ## what you are doing...
8431 if test -n "$compiler"; then
8433 lt_prog_compiler_no_builtin_flag
=
8435 if test "$GCC" = yes; then
8436 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8439 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8440 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8441 $as_echo_n "(cached) " >&6
8443 lt_cv_prog_compiler_rtti_exceptions
=no
8444 ac_outfile
=conftest.
$ac_objext
8445 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8446 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8447 # Insert the option either (1) after the last *FLAGS variable, or
8448 # (2) before a word containing "conftest.", or (3) at the end.
8449 # Note that $ac_compile itself does not contain backslashes and begins
8450 # with a dollar sign (not a hyphen), so the echo should work correctly.
8451 # The option is referenced via a variable to avoid confusing sed.
8452 lt_compile
=`echo "$ac_compile" | $SED \
8453 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8454 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8455 -e 's:$: $lt_compiler_flag:'`
8456 (eval echo "\"\$as_me:8456: $lt_compile\"" >&5)
8457 (eval "$lt_compile" 2>conftest.err
)
8459 cat conftest.err
>&5
8460 echo "$as_me:8460: \$? = $ac_status" >&5
8461 if (exit $ac_status) && test -s "$ac_outfile"; then
8462 # The compiler can only warn and ignore the option if not recognized
8463 # So say no if there are warnings other than the usual output.
8464 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8465 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8466 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8467 lt_cv_prog_compiler_rtti_exceptions
=yes
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8474 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8476 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8477 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8489 lt_prog_compiler_wl
=
8490 lt_prog_compiler_pic
=
8491 lt_prog_compiler_static
=
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8494 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8496 if test "$GCC" = yes; then
8497 lt_prog_compiler_wl
='-Wl,'
8498 lt_prog_compiler_static
='-static'
8502 # All AIX code is PIC.
8503 if test "$host_cpu" = ia64
; then
8504 # AIX 5 now supports IA64 processor
8505 lt_prog_compiler_static
='-Bstatic'
8512 # see comment about AmigaOS4 .so support
8513 lt_prog_compiler_pic
='-fPIC'
8516 # FIXME: we need at least 68020 code to build shared libraries, but
8517 # adding the `-m68020' flag to GCC prevents building anything better,
8519 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8524 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8525 # PIC is the default for these OSes.
8528 mingw
* | cygwin
* | pw32
* | os2
*)
8529 # This hack is so that the source file can tell whether it is being
8530 # built for inclusion in a dll (and should export symbols for example).
8531 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8532 # (--disable-auto-import) libraries
8533 lt_prog_compiler_pic
='-DDLL_EXPORT'
8536 darwin
* | rhapsody
*)
8537 # PIC is the default on this platform
8538 # Common symbols not allowed in MH_DYLIB files
8539 lt_prog_compiler_pic
='-fno-common'
8543 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8550 lt_prog_compiler_pic
='-fPIC'
8556 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8557 # Instead, we relocate shared libraries at runtime.
8561 # Just because we use GCC doesn't mean we suddenly get shared libraries
8562 # on systems that don't support them.
8563 lt_prog_compiler_can_build_shared
=no
8568 # QNX uses GNU C++, but need to define -shared option too, otherwise
8570 lt_prog_compiler_pic
='-fPIC -shared'
8574 if test -d /usr
/nec
; then
8575 lt_prog_compiler_pic
=-Kconform_pic
8580 lt_prog_compiler_pic
='-fPIC'
8584 # PORTME Check for flag to pass linker flags through the system compiler.
8587 lt_prog_compiler_wl
='-Wl,'
8588 if test "$host_cpu" = ia64
; then
8589 # AIX 5 now supports IA64 processor
8590 lt_prog_compiler_static
='-Bstatic'
8592 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8596 mingw
* | cygwin
* | pw32
* | os2
*)
8597 # This hack is so that the source file can tell whether it is being
8598 # built for inclusion in a dll (and should export symbols for example).
8599 lt_prog_compiler_pic
='-DDLL_EXPORT'
8602 hpux9
* | hpux10
* | hpux11
*)
8603 lt_prog_compiler_wl
='-Wl,'
8604 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8611 lt_prog_compiler_pic
='+Z'
8614 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8615 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8618 irix5
* | irix6
* | nonstopux
*)
8619 lt_prog_compiler_wl
='-Wl,'
8620 # PIC (with -KPIC) is the default.
8621 lt_prog_compiler_static
='-non_shared'
8624 linux
* | k
*bsd
*-gnu)
8625 case $cc_basename in
8626 icc
* | ecc
* | ifort
*)
8627 lt_prog_compiler_wl
='-Wl,'
8628 lt_prog_compiler_pic
='-KPIC'
8629 lt_prog_compiler_static
='-static'
8631 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8632 # Portland Group compilers (*not* the Pentium gcc compiler,
8633 # which looks to be a dead project)
8634 lt_prog_compiler_wl
='-Wl,'
8635 lt_prog_compiler_pic
='-fpic'
8636 lt_prog_compiler_static
='-Bstatic'
8639 lt_prog_compiler_wl
='-Wl,'
8640 # All Alpha code is PIC.
8641 lt_prog_compiler_static
='-non_shared'
8644 # IBM XL C 8.0/Fortran 10.1 on PPC
8645 lt_prog_compiler_wl
='-Wl,'
8646 lt_prog_compiler_pic
='-qpic'
8647 lt_prog_compiler_static
='-qstaticlink'
8650 case `$CC -V 2>&1 | sed 5q` in
8653 lt_prog_compiler_pic
='-KPIC'
8654 lt_prog_compiler_static
='-Bstatic'
8655 lt_prog_compiler_wl
='-Wl,'
8658 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8659 lt_prog_compiler_pic
='-KPIC'
8660 lt_prog_compiler_static
='-Bstatic'
8661 lt_prog_compiler_wl
=''
8669 lt_prog_compiler_pic
='-KPIC'
8670 lt_prog_compiler_static
='-Bstatic'
8674 # QNX uses GNU C++, but need to define -shared option too, otherwise
8676 lt_prog_compiler_pic
='-fPIC -shared'
8679 osf3
* | osf4
* | osf5
*)
8680 lt_prog_compiler_wl
='-Wl,'
8681 # All OSF/1 code is PIC.
8682 lt_prog_compiler_static
='-non_shared'
8686 lt_prog_compiler_static
='-non_shared'
8690 lt_prog_compiler_pic
='-KPIC'
8691 lt_prog_compiler_static
='-Bstatic'
8692 case $cc_basename in
8694 lt_prog_compiler_wl
='-Qoption ld ';;
8696 lt_prog_compiler_wl
='-Wl,';;
8701 lt_prog_compiler_wl
='-Qoption ld '
8702 lt_prog_compiler_pic
='-PIC'
8703 lt_prog_compiler_static
='-Bstatic'
8706 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8707 lt_prog_compiler_wl
='-Wl,'
8708 lt_prog_compiler_pic
='-KPIC'
8709 lt_prog_compiler_static
='-Bstatic'
8713 if test -d /usr
/nec
;then
8714 lt_prog_compiler_pic
='-Kconform_pic'
8715 lt_prog_compiler_static
='-Bstatic'
8719 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8720 lt_prog_compiler_wl
='-Wl,'
8721 lt_prog_compiler_pic
='-KPIC'
8722 lt_prog_compiler_static
='-Bstatic'
8726 lt_prog_compiler_wl
='-Wl,'
8727 lt_prog_compiler_can_build_shared
=no
8731 lt_prog_compiler_pic
='-pic'
8732 lt_prog_compiler_static
='-Bstatic'
8736 lt_prog_compiler_can_build_shared
=no
8742 # For platforms which do not support PIC, -DPIC is meaningless:
8744 lt_prog_compiler_pic
=
8747 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8751 $as_echo "$lt_prog_compiler_pic" >&6; }
8759 # Check to make sure the PIC flag actually works.
8761 if test -n "$lt_prog_compiler_pic"; then
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8763 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8764 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8765 $as_echo_n "(cached) " >&6
8767 lt_cv_prog_compiler_pic_works
=no
8768 ac_outfile
=conftest.
$ac_objext
8769 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8770 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8771 # Insert the option either (1) after the last *FLAGS variable, or
8772 # (2) before a word containing "conftest.", or (3) at the end.
8773 # Note that $ac_compile itself does not contain backslashes and begins
8774 # with a dollar sign (not a hyphen), so the echo should work correctly.
8775 # The option is referenced via a variable to avoid confusing sed.
8776 lt_compile
=`echo "$ac_compile" | $SED \
8777 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8778 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8779 -e 's:$: $lt_compiler_flag:'`
8780 (eval echo "\"\$as_me:8780: $lt_compile\"" >&5)
8781 (eval "$lt_compile" 2>conftest.err
)
8783 cat conftest.err
>&5
8784 echo "$as_me:8784: \$? = $ac_status" >&5
8785 if (exit $ac_status) && test -s "$ac_outfile"; then
8786 # The compiler can only warn and ignore the option if not recognized
8787 # So say no if there are warnings other than the usual output.
8788 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8789 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8790 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8791 lt_cv_prog_compiler_pic_works
=yes
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8798 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8800 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8801 case $lt_prog_compiler_pic in
8803 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8806 lt_prog_compiler_pic
=
8807 lt_prog_compiler_can_build_shared
=no
8818 # Check to make sure the static flag actually works.
8820 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8822 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8823 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8824 $as_echo_n "(cached) " >&6
8826 lt_cv_prog_compiler_static_works
=no
8827 save_LDFLAGS
="$LDFLAGS"
8828 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8829 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8830 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8831 # The linker can only warn and ignore the option if not recognized
8832 # So say no if there are warnings
8833 if test -s conftest.err
; then
8834 # Append any errors to the config.log.
8835 cat conftest.err
1>&5
8836 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8837 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8838 if diff conftest.exp conftest.er2
>/dev
/null
; then
8839 lt_cv_prog_compiler_static_works
=yes
8842 lt_cv_prog_compiler_static_works
=yes
8846 LDFLAGS
="$save_LDFLAGS"
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8850 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8852 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8855 lt_prog_compiler_static
=
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8865 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8866 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8867 $as_echo_n "(cached) " >&6
8869 lt_cv_prog_compiler_c_o
=no
8870 $RM -r conftest
2>/dev
/null
8874 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8876 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8877 # Insert the option either (1) after the last *FLAGS variable, or
8878 # (2) before a word containing "conftest.", or (3) at the end.
8879 # Note that $ac_compile itself does not contain backslashes and begins
8880 # with a dollar sign (not a hyphen), so the echo should work correctly.
8881 lt_compile
=`echo "$ac_compile" | $SED \
8882 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8883 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8884 -e 's:$: $lt_compiler_flag:'`
8885 (eval echo "\"\$as_me:8885: $lt_compile\"" >&5)
8886 (eval "$lt_compile" 2>out
/conftest.err
)
8888 cat out
/conftest.err
>&5
8889 echo "$as_me:8889: \$? = $ac_status" >&5
8890 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8892 # The compiler can only warn and ignore the option if not recognized
8893 # So say no if there are warnings
8894 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8895 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8896 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8897 lt_cv_prog_compiler_c_o
=yes
8902 # SGI C++ compiler will create directory out/ii_files/ for
8903 # template instantiation
8904 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8905 $RM out
/* && rmdir out
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8912 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8920 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8921 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8922 $as_echo_n "(cached) " >&6
8924 lt_cv_prog_compiler_c_o
=no
8925 $RM -r conftest
2>/dev
/null
8929 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8931 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8932 # Insert the option either (1) after the last *FLAGS variable, or
8933 # (2) before a word containing "conftest.", or (3) at the end.
8934 # Note that $ac_compile itself does not contain backslashes and begins
8935 # with a dollar sign (not a hyphen), so the echo should work correctly.
8936 lt_compile
=`echo "$ac_compile" | $SED \
8937 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8938 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8939 -e 's:$: $lt_compiler_flag:'`
8940 (eval echo "\"\$as_me:8940: $lt_compile\"" >&5)
8941 (eval "$lt_compile" 2>out
/conftest.err
)
8943 cat out
/conftest.err
>&5
8944 echo "$as_me:8944: \$? = $ac_status" >&5
8945 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8947 # The compiler can only warn and ignore the option if not recognized
8948 # So say no if there are warnings
8949 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8950 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8951 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8952 lt_cv_prog_compiler_c_o
=yes
8957 # SGI C++ compiler will create directory out/ii_files/ for
8958 # template instantiation
8959 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8960 $RM out
/* && rmdir out
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8967 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8972 hard_links
="nottested"
8973 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8974 # do not overwrite the value of need_locks provided by the user
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8976 $as_echo_n "checking if we can lock with hard links... " >&6; }
8979 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8981 ln conftest.a conftest.b
2>&5 || hard_links
=no
8982 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8984 $as_echo "$hard_links" >&6; }
8985 if test "$hard_links" = no
; then
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8987 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9000 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9003 allow_undefined_flag
=
9004 always_export_symbols
=no
9006 archive_expsym_cmds
=
9007 compiler_needs_object
=no
9008 enable_shared_with_static_runtimes
=no
9009 export_dynamic_flag_spec
=
9010 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9011 hardcode_automatic
=no
9013 hardcode_direct_absolute
=no
9014 hardcode_libdir_flag_spec
=
9015 hardcode_libdir_flag_spec_ld
=
9016 hardcode_libdir_separator
=
9018 hardcode_shlibpath_var
=unsupported
9020 link_all_deplibs
=unknown
9023 old_archive_from_new_cmds
=
9024 old_archive_from_expsyms_cmds
=
9025 thread_safe_flag_spec
=
9026 whole_archive_flag_spec
=
9027 # include_expsyms should be a list of space-separated symbols to be *always*
9028 # included in the symbol list
9030 # exclude_expsyms can be an extended regexp of symbols to exclude
9031 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9032 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9033 # as well as any symbol that contains `d'.
9034 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9035 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9036 # platforms (ab)use it in PIC code, but their linkers get confused if
9037 # the symbol is explicitly referenced. Since portable code cannot
9038 # rely on this symbol name, it's probably fine to never include it in
9039 # preloaded symbol tables.
9040 # Exclude shared library initialization/finalization symbols.
9041 extract_expsyms_cmds
=
9044 cygwin
* | mingw
* | pw32
*)
9045 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9046 # When not using gcc, we currently assume that we are using
9047 # Microsoft Visual C++.
9048 if test "$GCC" != yes; then
9053 # we just hope/assume this is gcc and not c89 (= MSVC++)
9062 if test "$with_gnu_ld" = yes; then
9063 # If archive_cmds runs LD, not CC, wlarc should be empty
9066 # Set some defaults for GNU ld with shared library support. These
9067 # are reset later if shared libraries are not supported. Putting them
9068 # here allows them to be overridden if necessary.
9069 runpath_var
=LD_RUN_PATH
9070 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9071 export_dynamic_flag_spec
='${wl}--export-dynamic'
9072 # ancient GNU ld didn't support --whole-archive et. al.
9073 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9074 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9076 whole_archive_flag_spec
=
9078 supports_anon_versioning
=no
9079 case `$LD -v 2>&1` in
9080 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9081 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9082 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9083 *\
2.11.
*) ;; # other 2.11 versions
9084 *) supports_anon_versioning
=yes ;;
9087 # See if GNU ld supports shared libraries.
9090 # On AIX/PPC, the GNU linker is very broken
9091 if test "$host_cpu" != ia64
; then
9095 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9096 *** to be unable to reliably create shared libraries on AIX.
9097 *** Therefore, libtool is disabling shared libraries support. If you
9098 *** really care for shared libraries, you may want to modify your PATH
9099 *** so that a non-GNU linker is found, and then restart.
9108 # see comment about AmigaOS4 .so support
9109 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9110 archive_expsym_cmds
=''
9113 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)'
9114 hardcode_libdir_flag_spec
='-L$libdir'
9115 hardcode_minus_L
=yes
9121 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9122 allow_undefined_flag
=unsupported
9123 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9124 # support --undefined. This deserves some investigation. FIXME
9125 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9131 cygwin
* | mingw
* | pw32
*)
9132 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9133 # as there is no search path for DLLs.
9134 hardcode_libdir_flag_spec
='-L$libdir'
9135 allow_undefined_flag
=unsupported
9136 always_export_symbols
=no
9137 enable_shared_with_static_runtimes
=yes
9138 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9140 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9141 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9142 # If the export-symbols file already is a .def file (1st line
9143 # is EXPORTS), use it as is; otherwise, prepend...
9144 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9145 cp $export_symbols $output_objdir/$soname.def;
9147 echo EXPORTS > $output_objdir/$soname.def;
9148 cat $export_symbols >> $output_objdir/$soname.def;
9150 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9158 hardcode_shlibpath_var
=no
9159 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9160 export_dynamic_flag_spec
='${wl}-E'
9161 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9162 # Instead, shared libraries are loaded at an image base (0x10000000 by
9163 # default) and relocated if they conflict, which is a slow very memory
9164 # consuming and fragmenting process. To avoid this, we pick a random,
9165 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9166 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9167 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9168 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'
9171 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9173 if test "$host_os" = linux-dietlibc
; then
9174 case $cc_basename in
9175 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9178 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9179 && test "$tmp_diet" = no
9182 tmp_sharedflag
='-shared'
9183 case $cc_basename,$host_cpu in
9184 pgcc
*) # Portland Group C compiler
9185 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'
9186 tmp_addflag
=' $pic_flag'
9188 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9189 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'
9190 tmp_addflag
=' $pic_flag -Mnomain' ;;
9191 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9192 tmp_addflag
=' -i_dynamic' ;;
9193 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9194 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9195 ifc
* | ifort
*) # Intel Fortran compiler
9196 tmp_addflag
=' -nofor_main' ;;
9197 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9198 tmp_sharedflag
='-qmkshrobj'
9201 case `$CC -V 2>&1 | sed 5q` in
9202 *Sun\ C
*) # Sun C 5.9
9203 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'
9204 compiler_needs_object
=yes
9205 tmp_sharedflag
='-G' ;;
9206 *Sun\ F
*) # Sun Fortran 8.3
9207 tmp_sharedflag
='-G' ;;
9209 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9211 if test "x$supports_anon_versioning" = xyes
; then
9212 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9213 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9214 echo "local: *; };" >> $output_objdir/$libname.ver~
9215 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9218 case $cc_basename in
9220 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9221 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9222 hardcode_libdir_flag_spec
=
9223 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9224 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9225 if test "x$supports_anon_versioning" = xyes
; then
9226 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9227 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9228 echo "local: *; };" >> $output_objdir/$libname.ver~
9229 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9238 netbsd
* | netbsdelf
*-gnu)
9239 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9240 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9243 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9244 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9249 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9253 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9254 *** create shared libraries on Solaris systems. Therefore, libtool
9255 *** is disabling shared libraries support. We urge you to upgrade GNU
9256 *** binutils to release 2.9.1 or newer. Another option is to modify
9257 *** your PATH or compiler configuration so that the native linker is
9258 *** used, and then restart.
9261 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9262 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9263 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9269 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9270 case `$LD -v 2>&1` in
9271 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9275 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9276 *** reliably create shared libraries on SCO systems. Therefore, libtool
9277 *** is disabling shared libraries support. We urge you to upgrade GNU
9278 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9279 *** your PATH or compiler configuration so that the native linker is
9280 *** used, and then restart.
9285 # For security reasons, it is highly recommended that you always
9286 # use absolute paths for naming shared libraries, and exclude the
9287 # DT_RUNPATH tag from executables and libraries. But doing so
9288 # requires that you compile everything twice, which is a pain.
9289 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9290 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9291 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9292 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9301 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9304 hardcode_shlibpath_var
=no
9308 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9309 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9310 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9317 if test "$ld_shlibs" = no
; then
9319 hardcode_libdir_flag_spec
=
9320 export_dynamic_flag_spec
=
9321 whole_archive_flag_spec
=
9324 # PORTME fill in a description of your system's linker (not GNU ld)
9327 allow_undefined_flag
=unsupported
9328 always_export_symbols
=yes
9329 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'
9330 # Note: this linker hardcodes the directories in LIBPATH if there
9331 # are no directories specified by -L.
9332 hardcode_minus_L
=yes
9333 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9334 # Neither direct hardcoding nor static linking is supported with a
9336 hardcode_direct
=unsupported
9341 if test "$host_cpu" = ia64
; then
9342 # On IA64, the linker does run time linking by default, so we don't
9343 # have to do anything special.
9344 aix_use_runtimelinking
=no
9345 exp_sym_flag
='-Bexport'
9348 # If we're using GNU nm, then we don't want the "-C" option.
9349 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9350 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9351 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'
9353 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'
9355 aix_use_runtimelinking
=no
9357 # Test if we are trying to use run time linking or normal
9358 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9359 # need to do runtime linking.
9360 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9361 for ld_flag
in $LDFLAGS; do
9362 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9363 aix_use_runtimelinking
=yes
9370 exp_sym_flag
='-bexport'
9371 no_entry_flag
='-bnoentry'
9374 # When large executables or shared objects are built, AIX ld can
9375 # have problems creating the table of contents. If linking a library
9376 # or program results in "error TOC overflow" add -mminimal-toc to
9377 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9378 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9382 hardcode_direct_absolute
=yes
9383 hardcode_libdir_separator
=':'
9384 link_all_deplibs
=yes
9385 file_list_spec
='${wl}-f,'
9387 if test "$GCC" = yes; then
9388 case $host_os in aix4.
[012]|aix4.
[012].
*)
9389 # We only want to do this on AIX 4.2 and lower, the check
9390 # below for broken collect2 doesn't work under 4.3+
9391 collect2name
=`${CC} -print-prog-name=collect2`
9392 if test -f "$collect2name" &&
9393 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9395 # We have reworked collect2
9398 # We have old collect2
9399 hardcode_direct
=unsupported
9400 # It fails to find uninstalled libraries when the uninstalled
9401 # path is not listed in the libpath. Setting hardcode_minus_L
9402 # to unsupported forces relinking
9403 hardcode_minus_L
=yes
9404 hardcode_libdir_flag_spec
='-L$libdir'
9405 hardcode_libdir_separator
=
9409 shared_flag
='-shared'
9410 if test "$aix_use_runtimelinking" = yes; then
9411 shared_flag
="$shared_flag "'${wl}-G'
9416 if test "$host_cpu" = ia64
; then
9417 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9418 # chokes on -Wl,-G. The following line is correct:
9421 if test "$aix_use_runtimelinking" = yes; then
9422 shared_flag
='${wl}-G'
9424 shared_flag
='${wl}-bM:SRE'
9429 # It seems that -bexpall does not export symbols beginning with
9430 # underscore (_), so it is better to generate a list of symbols to export.
9431 always_export_symbols
=yes
9432 if test "$aix_use_runtimelinking" = yes; then
9433 # Warning - without using the other runtime loading flags (-brtl),
9434 # -berok will link without error, but may produce a broken library.
9435 allow_undefined_flag
='-berok'
9436 # Determine the default libpath from the value encoded in an
9438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h. */
9449 if ac_fn_c_try_link
"$LINENO"; then :
9451 lt_aix_libpath_sed
='
9452 /Import File Strings/,/^$/ {
9458 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9459 # Check for a 64-bit object if we didn't find anything.
9460 if test -z "$aix_libpath"; then
9461 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9464 rm -f core conftest.err conftest.
$ac_objext \
9465 conftest
$ac_exeext conftest.
$ac_ext
9466 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9468 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9469 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"
9471 if test "$host_cpu" = ia64
; then
9472 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9473 allow_undefined_flag
="-z nodefs"
9474 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"
9476 # Determine the default libpath from the value encoded in an
9478 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9479 /* end confdefs.h. */
9489 if ac_fn_c_try_link
"$LINENO"; then :
9491 lt_aix_libpath_sed
='
9492 /Import File Strings/,/^$/ {
9498 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9499 # Check for a 64-bit object if we didn't find anything.
9500 if test -z "$aix_libpath"; then
9501 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9504 rm -f core conftest.err conftest.
$ac_objext \
9505 conftest
$ac_exeext conftest.
$ac_ext
9506 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9508 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9509 # Warning - without using the other run time loading flags,
9510 # -berok will link without error, but may produce a broken library.
9511 no_undefined_flag
=' ${wl}-bernotok'
9512 allow_undefined_flag
=' ${wl}-berok'
9513 # Exported symbols can be pulled into shared objects from archives
9514 whole_archive_flag_spec
='$convenience'
9515 archive_cmds_need_lc
=yes
9516 # This is similar to how AIX traditionally builds its shared libraries.
9517 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'
9525 # see comment about AmigaOS4 .so support
9526 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9527 archive_expsym_cmds
=''
9530 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)'
9531 hardcode_libdir_flag_spec
='-L$libdir'
9532 hardcode_minus_L
=yes
9538 export_dynamic_flag_spec
=-rdynamic
9541 cygwin
* | mingw
* | pw32
*)
9542 # When not using gcc, we currently assume that we are using
9543 # Microsoft Visual C++.
9544 # hardcode_libdir_flag_spec is actually meaningless, as there is
9545 # no search path for DLLs.
9546 hardcode_libdir_flag_spec
=' '
9547 allow_undefined_flag
=unsupported
9548 # Tell ltmain to make .lib files, not .a files.
9550 # Tell ltmain to make .dll files, not .so files.
9552 # FIXME: Setting linknames here is a bad hack.
9553 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9554 # The linker will automatically build a .lib file if we build a DLL.
9555 old_archive_from_new_cmds
='true'
9556 # FIXME: Should let the user specify the lib program.
9557 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9558 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9559 enable_shared_with_static_runtimes
=yes
9562 darwin
* | rhapsody
*)
9565 archive_cmds_need_lc
=no
9567 hardcode_automatic
=yes
9568 hardcode_shlibpath_var
=unsupported
9569 whole_archive_flag_spec
=''
9570 link_all_deplibs
=yes
9571 allow_undefined_flag
="$_lt_dar_allow_undefined"
9572 if test "$GCC" = "yes"; then
9573 output_verbose_link_cmd
=echo
9574 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9575 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9576 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}"
9577 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}"
9586 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9587 hardcode_libdir_flag_spec
='-L$libdir'
9588 hardcode_shlibpath_var
=no
9595 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9596 # support. Future versions do this automatically, but an explicit c++rt0.o
9597 # does not break anything, and helps significantly (at the cost of a little
9600 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9601 hardcode_libdir_flag_spec
='-R$libdir'
9603 hardcode_shlibpath_var
=no
9606 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9608 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9610 hardcode_minus_L
=yes
9611 hardcode_shlibpath_var
=no
9614 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9615 freebsd
* | dragonfly
*)
9616 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9617 hardcode_libdir_flag_spec
='-R$libdir'
9619 hardcode_shlibpath_var
=no
9623 if test "$GCC" = yes; then
9624 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'
9626 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'
9628 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9629 hardcode_libdir_separator
=:
9632 # hardcode_minus_L: Not really in the search PATH,
9633 # but as the default location of the library.
9634 hardcode_minus_L
=yes
9635 export_dynamic_flag_spec
='${wl}-E'
9639 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9640 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9642 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9644 if test "$with_gnu_ld" = no
; then
9645 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9646 hardcode_libdir_flag_spec_ld
='+b $libdir'
9647 hardcode_libdir_separator
=:
9649 hardcode_direct_absolute
=yes
9650 export_dynamic_flag_spec
='${wl}-E'
9651 # hardcode_minus_L: Not really in the search PATH,
9652 # but as the default location of the library.
9653 hardcode_minus_L
=yes
9658 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9661 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9664 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9667 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9673 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9676 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9679 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9683 if test "$with_gnu_ld" = no
; then
9684 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9685 hardcode_libdir_separator
=:
9690 hardcode_shlibpath_var
=no
9694 hardcode_direct_absolute
=yes
9695 export_dynamic_flag_spec
='${wl}-E'
9697 # hardcode_minus_L: Not really in the search PATH,
9698 # but as the default location of the library.
9699 hardcode_minus_L
=yes
9705 irix5
* | irix6
* | nonstopux
*)
9706 if test "$GCC" = yes; then
9707 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'
9708 # Try to use the -exported_symbol ld option, if it does not
9709 # work, assume that -exports_file does not work either and
9710 # implicitly export all symbols.
9711 save_LDFLAGS
="$LDFLAGS"
9712 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9714 /* end confdefs.h. */
9717 if ac_fn_c_try_link
"$LINENO"; then :
9718 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'
9721 rm -f core conftest.err conftest.
$ac_objext \
9722 conftest
$ac_exeext conftest.
$ac_ext
9723 LDFLAGS
="$save_LDFLAGS"
9725 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'
9726 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'
9728 archive_cmds_need_lc
='no'
9729 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9730 hardcode_libdir_separator
=:
9732 link_all_deplibs
=yes
9735 netbsd
* | netbsdelf
*-gnu)
9736 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9737 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9739 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9741 hardcode_libdir_flag_spec
='-R$libdir'
9743 hardcode_shlibpath_var
=no
9747 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9749 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9750 hardcode_libdir_separator
=:
9751 hardcode_shlibpath_var
=no
9758 if test -f /usr
/libexec
/ld.so
; then
9760 hardcode_shlibpath_var
=no
9761 hardcode_direct_absolute
=yes
9762 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9763 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9764 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9765 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9766 export_dynamic_flag_spec
='${wl}-E'
9769 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9770 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9771 hardcode_libdir_flag_spec
='-R$libdir'
9774 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9775 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9785 hardcode_libdir_flag_spec
='-L$libdir'
9786 hardcode_minus_L
=yes
9787 allow_undefined_flag
=unsupported
9788 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'
9789 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9793 if test "$GCC" = yes; then
9794 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9795 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'
9797 allow_undefined_flag
=' -expect_unresolved \*'
9798 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'
9800 archive_cmds_need_lc
='no'
9801 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9802 hardcode_libdir_separator
=:
9805 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9806 if test "$GCC" = yes; then
9807 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9808 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'
9809 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9811 allow_undefined_flag
=' -expect_unresolved \*'
9812 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'
9813 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~
9814 $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'
9816 # Both c and cxx compiler support -rpath directly
9817 hardcode_libdir_flag_spec
='-rpath $libdir'
9819 archive_cmds_need_lc
='no'
9820 hardcode_libdir_separator
=:
9824 no_undefined_flag
=' -z defs'
9825 if test "$GCC" = yes; then
9827 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9828 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9829 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9831 case `$CC -V 2>&1` in
9834 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9835 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9836 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9840 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9841 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9842 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9846 hardcode_libdir_flag_spec
='-R$libdir'
9847 hardcode_shlibpath_var
=no
9849 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9851 # The compiler driver will combine and reorder linker options,
9852 # but understands `-z linker_flag'. GCC discards it without `$wl',
9853 # but is careful enough not to reorder.
9854 # Supported since Solaris 2.6 (maybe 2.5.1?)
9855 if test "$GCC" = yes; then
9856 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9858 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9862 link_all_deplibs
=yes
9866 if test "x$host_vendor" = xsequent
; then
9867 # Use $CC to link under sequent, because it throws in some extra .o
9868 # files that make .init and .fini sections work.
9869 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9871 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9873 hardcode_libdir_flag_spec
='-L$libdir'
9875 hardcode_minus_L
=yes
9876 hardcode_shlibpath_var
=no
9880 case $host_vendor in
9882 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9883 hardcode_direct
=yes # is this really true???
9886 ## LD is ld it makes a PLAMLIB
9887 ## CC just makes a GrossModule.
9888 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9889 reload_cmds
='$CC -r -o $output$reload_objs'
9893 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9894 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9897 runpath_var
='LD_RUN_PATH'
9898 hardcode_shlibpath_var
=no
9902 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9903 hardcode_shlibpath_var
=no
9904 export_dynamic_flag_spec
='-Bexport'
9908 if test -d /usr
/nec
; then
9909 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9910 hardcode_shlibpath_var
=no
9911 runpath_var
=LD_RUN_PATH
9912 hardcode_runpath_var
=yes
9917 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9918 no_undefined_flag
='${wl}-z,text'
9919 archive_cmds_need_lc
=no
9920 hardcode_shlibpath_var
=no
9921 runpath_var
='LD_RUN_PATH'
9923 if test "$GCC" = yes; then
9924 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9925 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9927 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9928 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9932 sysv5
* | sco3.2v5
* | sco5v6
*)
9933 # Note: We can NOT use -z defs as we might desire, because we do not
9934 # link with -lc, and that would cause any symbols used from libc to
9935 # always be unresolved, which means just about no library would
9936 # ever link correctly. If we're not using GNU ld we use -z text
9937 # though, which does catch some bad symbols but isn't as heavy-handed
9939 no_undefined_flag
='${wl}-z,text'
9940 allow_undefined_flag
='${wl}-z,nodefs'
9941 archive_cmds_need_lc
=no
9942 hardcode_shlibpath_var
=no
9943 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9944 hardcode_libdir_separator
=':'
9945 link_all_deplibs
=yes
9946 export_dynamic_flag_spec
='${wl}-Bexport'
9947 runpath_var
='LD_RUN_PATH'
9949 if test "$GCC" = yes; then
9950 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9951 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9953 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9954 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9959 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9960 hardcode_libdir_flag_spec
='-L$libdir'
9961 hardcode_shlibpath_var
=no
9969 if test x
$host_vendor = xsni
; then
9971 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9972 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9979 $as_echo "$ld_shlibs" >&6; }
9980 test "$ld_shlibs" = no
&& can_build_shared
=no
9982 with_gnu_ld
=$with_gnu_ld
9999 # Do we need to explicitly link libc?
10001 case "x$archive_cmds_need_lc" in
10003 # Assume -lc should be added
10004 archive_cmds_need_lc
=yes
10006 if test "$enable_shared" = yes && test "$GCC" = yes; then
10007 case $archive_cmds in
10009 # FIXME: we may have to deal with multi-command sequences.
10012 # Test whether the compiler implicitly links with -lc since on some
10013 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10014 # to ld, don't add -lc before -lgcc.
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10016 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10018 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10020 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10021 (eval $ac_compile) 2>&5
10023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10024 test $ac_status = 0; } 2>conftest.err
; then
10027 libobjs
=conftest.
$ac_objext
10029 wl
=$lt_prog_compiler_wl
10030 pic_flag
=$lt_prog_compiler_pic
10036 lt_save_allow_undefined_flag
=$allow_undefined_flag
10037 allow_undefined_flag
=
10038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10039 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10042 test $ac_status = 0; }
10044 archive_cmds_need_lc
=no
10046 archive_cmds_need_lc
=yes
10048 allow_undefined_flag
=$lt_save_allow_undefined_flag
10050 cat conftest.err
1>&5
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10054 $as_echo "$archive_cmds_need_lc" >&6; }
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10218 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10220 if test "$GCC" = yes; then
10222 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10223 *) lt_awk_arg
="/^libraries:/" ;;
10225 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10226 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10227 # if the path contains ";" then we assume it to be the separator
10228 # otherwise default to the standard path separator (i.e. ":") - it is
10229 # assumed that no part of a normal pathname contains ";" but that should
10230 # okay in the real world where ";" in dirpaths is itself problematic.
10231 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10233 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10235 # Ok, now we have the path, separated by spaces, we can step through it
10236 # and add multilib dir if necessary.
10237 lt_tmp_lt_search_path_spec
=
10238 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10239 for lt_sys_path
in $lt_search_path_spec; do
10240 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10241 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10243 test -d "$lt_sys_path" && \
10244 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10247 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10248 BEGIN {RS=" "; FS="/|\n";} {
10251 for (lt_i = NF; lt_i > 0; lt_i--) {
10252 if ($lt_i != "" && $lt_i != ".") {
10253 if ($lt_i == "..") {
10256 if (lt_count == 0) {
10257 lt_foo="/" $lt_i lt_foo;
10264 if (lt_foo != "") { lt_freq[lt_foo]++; }
10265 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10267 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10269 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10271 library_names_spec
=
10272 libname_spec
='lib$name'
10276 postuninstall_cmds
=
10280 shlibpath_overrides_runpath
=unknown
10282 dynamic_linker
="$host_os ld.so"
10283 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10284 need_lib_prefix
=unknown
10285 hardcode_into_libs
=no
10287 # when you set need_version to no, make sure it does not cause -set_version
10288 # flags to be left without arguments
10289 need_version
=unknown
10294 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10295 shlibpath_var
=LIBPATH
10297 # AIX 3 has no versioning support, so we append a major version to the name.
10298 soname_spec
='${libname}${release}${shared_ext}$major'
10305 hardcode_into_libs
=yes
10306 if test "$host_cpu" = ia64
; then
10307 # AIX 5 supports IA64
10308 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10309 shlibpath_var
=LD_LIBRARY_PATH
10311 # With GCC up to 2.95.x, collect2 would create an import file
10312 # for dependence libraries. The import file would start with
10313 # the line `#! .'. This would cause the generated library to
10314 # depend on `.', always an invalid library. This was fixed in
10315 # development snapshots of GCC prior to 3.0.
10317 aix4 | aix4.
[01] | aix4.
[01].
*)
10318 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10320 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10323 can_build_shared
=no
10327 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10328 # soname into executable. Probably we can add versioning support to
10329 # collect2, so additional links can be useful in future.
10330 if test "$aix_use_runtimelinking" = yes; then
10331 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10332 # instead of lib<name>.a to let people know that these are not
10333 # typical AIX shared libraries.
10334 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10336 # We preserve .a as extension for shared libraries through AIX4.2
10337 # and later when we are not doing run time linking.
10338 library_names_spec
='${libname}${release}.a $libname.a'
10339 soname_spec
='${libname}${release}${shared_ext}$major'
10341 shlibpath_var
=LIBPATH
10348 # Since July 2007 AmigaOS4 officially supports .so libraries.
10349 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10350 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10353 library_names_spec
='$libname.ixlibrary $libname.a'
10354 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10355 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'
10361 library_names_spec
='${libname}${shared_ext}'
10362 dynamic_linker
="$host_os ld.so"
10363 shlibpath_var
=LIBRARY_PATH
10369 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10370 soname_spec
='${libname}${release}${shared_ext}$major'
10371 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10372 shlibpath_var
=LD_LIBRARY_PATH
10373 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10374 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10375 # the default ld.so.conf also contains /usr/contrib/lib and
10376 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10377 # libtool to hard-code these into programs
10380 cygwin
* | mingw
* | pw32
*)
10381 version_type
=windows
10386 case $GCC,$host_os in
10387 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
10388 library_names_spec
='$libname.dll.a'
10389 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10390 postinstall_cmds
='base_file=`basename \${file}`~
10391 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10392 dldir=$destdir/`dirname \$dlpath`~
10393 test -d \$dldir || mkdir -p \$dldir~
10394 $install_prog $dir/$dlname \$dldir/$dlname~
10395 chmod a+x \$dldir/$dlname~
10396 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10397 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10399 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10400 dlpath=$dir/\$dldll~
10402 shlibpath_overrides_runpath
=yes
10406 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10407 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10408 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10411 # MinGW DLLs use traditional 'lib' prefix
10412 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10413 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10414 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10415 # It is most probably a Windows format PATH printed by
10416 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10417 # path with ; separators, and with drive letters. We can handle the
10418 # drive letters (cygwin fileutils understands them), so leave them,
10419 # especially as we might pass files found there to a mingw objdump,
10420 # which wouldn't understand a cygwinified path. Ahh.
10421 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10423 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10427 # pw32 DLLs use 'pw' prefix rather than 'lib'
10428 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10434 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10437 dynamic_linker
='Win32 ld.exe'
10438 # FIXME: first we should search . and the directory the executable is in
10442 darwin
* | rhapsody
*)
10443 dynamic_linker
="$host_os dyld"
10444 version_type
=darwin
10447 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10448 soname_spec
='${libname}${release}${major}$shared_ext'
10449 shlibpath_overrides_runpath
=yes
10450 shlibpath_var
=DYLD_LIBRARY_PATH
10451 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10453 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10454 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
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
10470 freebsd
* | dragonfly
*)
10471 # DragonFly does not have aout. When/if they implement a new
10472 # versioning mechanism, adjust this.
10473 if test -x /usr
/bin
/objformat
; then
10474 objformat
=`/usr/bin/objformat`
10477 freebsd
[123]*) objformat
=aout
;;
10478 *) objformat
=elf
;;
10481 version_type
=freebsd-
$objformat
10482 case $version_type in
10484 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10489 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10493 shlibpath_var
=LD_LIBRARY_PATH
10496 shlibpath_overrides_runpath
=yes
10498 freebsd3.
[01]* | freebsdelf3.
[01]*)
10499 shlibpath_overrides_runpath
=yes
10500 hardcode_into_libs
=yes
10502 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10503 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10504 shlibpath_overrides_runpath
=no
10505 hardcode_into_libs
=yes
10507 *) # from 4.6 on, and DragonFly
10508 shlibpath_overrides_runpath
=yes
10509 hardcode_into_libs
=yes
10518 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10519 soname_spec
='${libname}${release}${shared_ext}$major'
10520 shlibpath_var
=LD_LIBRARY_PATH
10521 hardcode_into_libs
=yes
10524 hpux9
* | hpux10
* | hpux11
*)
10525 # Give a soname corresponding to the major version so that dld.sl refuses to
10526 # link against other versions.
10533 hardcode_into_libs
=yes
10534 dynamic_linker
="$host_os dld.so"
10535 shlibpath_var
=LD_LIBRARY_PATH
10536 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10537 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10538 soname_spec
='${libname}${release}${shared_ext}$major'
10539 if test "X$HPUX_IA64_MODE" = X32
; then
10540 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10542 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10544 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10548 hardcode_into_libs
=yes
10549 dynamic_linker
="$host_os dld.sl"
10550 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10551 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10552 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10553 soname_spec
='${libname}${release}${shared_ext}$major'
10554 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10555 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10559 dynamic_linker
="$host_os dld.sl"
10560 shlibpath_var
=SHLIB_PATH
10561 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10562 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10563 soname_spec
='${libname}${release}${shared_ext}$major'
10566 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10567 postinstall_cmds
='chmod 555 $lib'
10574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10575 soname_spec
='${libname}${release}${shared_ext}$major'
10576 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10577 shlibpath_var
=LD_LIBRARY_PATH
10578 shlibpath_overrides_runpath
=no
10579 hardcode_into_libs
=yes
10582 irix5
* | irix6
* | nonstopux
*)
10584 nonstopux
*) version_type
=nonstopux
;;
10586 if test "$lt_cv_prog_gnu_ld" = yes; then
10594 soname_spec
='${libname}${release}${shared_ext}$major'
10595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10597 irix5
* | nonstopux
*)
10598 libsuff
= shlibsuff
=
10601 case $LD in # libtool.m4 will add one of these switches to LD
10602 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10603 libsuff
= shlibsuff
= libmagic
=32-bit;;
10604 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10605 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10606 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10607 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10608 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10612 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10613 shlibpath_overrides_runpath
=no
10614 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10615 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10616 hardcode_into_libs
=yes
10619 # No shared lib support for Linux oldld, aout, or coff.
10620 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10624 # This must be Linux ELF.
10625 linux
* | k
*bsd
*-gnu)
10629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10630 soname_spec
='${libname}${release}${shared_ext}$major'
10631 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10632 shlibpath_var
=LD_LIBRARY_PATH
10633 shlibpath_overrides_runpath
=no
10634 # Some binutils ld are patched to set DT_RUNPATH
10635 save_LDFLAGS
=$LDFLAGS
10636 save_libdir
=$libdir
10637 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10638 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10640 /* end confdefs.h. */
10650 if ac_fn_c_try_link
"$LINENO"; then :
10651 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10652 shlibpath_overrides_runpath
=yes
10655 rm -f core conftest.err conftest.
$ac_objext \
10656 conftest
$ac_exeext conftest.
$ac_ext
10657 LDFLAGS
=$save_LDFLAGS
10658 libdir
=$save_libdir
10660 # This implies no fast_install, which is unacceptable.
10661 # Some rework will be needed to allow for fast_install
10662 # before this can be enabled.
10663 hardcode_into_libs
=yes
10665 # Append ld.so.conf contents to the search path
10666 if test -f /etc
/ld.so.conf
; then
10667 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' ' '`
10668 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10671 # We used to test for /lib/ld.so.1 and disable shared libraries on
10672 # powerpc, because MkLinux only supported shared libraries with the
10673 # GNU dynamic linker. Since this was broken with cross compilers,
10674 # most powerpc-linux boxes support dynamic linking these days and
10675 # people can always --disable-shared, the test was removed, and we
10676 # assume the GNU/Linux dynamic linker is in use.
10677 dynamic_linker
='GNU/Linux ld.so'
10684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10685 soname_spec
='${libname}${release}${shared_ext}$major'
10686 shlibpath_var
=LD_LIBRARY_PATH
10687 shlibpath_overrides_runpath
=no
10688 hardcode_into_libs
=yes
10689 dynamic_linker
='NetBSD ld.elf_so'
10696 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10698 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10699 dynamic_linker
='NetBSD (a.out) ld.so'
10701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10702 soname_spec
='${libname}${release}${shared_ext}$major'
10703 dynamic_linker
='NetBSD ld.elf_so'
10705 shlibpath_var
=LD_LIBRARY_PATH
10706 shlibpath_overrides_runpath
=yes
10707 hardcode_into_libs
=yes
10712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10713 shlibpath_var
=LD_LIBRARY_PATH
10714 shlibpath_overrides_runpath
=yes
10721 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10722 soname_spec
='${libname}${release}${shared_ext}$major'
10723 shlibpath_var
=LD_LIBRARY_PATH
10724 shlibpath_overrides_runpath
=no
10725 hardcode_into_libs
=yes
10726 dynamic_linker
='ldqnx.so'
10731 sys_lib_dlsearch_path_spec
="/usr/lib"
10733 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10735 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10736 *) need_version
=no
;;
10738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10739 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10740 shlibpath_var
=LD_LIBRARY_PATH
10741 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10743 openbsd2.
[89] | openbsd2.
[89].
*)
10744 shlibpath_overrides_runpath
=no
10747 shlibpath_overrides_runpath
=yes
10751 shlibpath_overrides_runpath
=yes
10756 libname_spec
='$name'
10759 library_names_spec
='$libname${shared_ext} $libname.a'
10760 dynamic_linker
='OS/2 ld.exe'
10761 shlibpath_var
=LIBPATH
10764 osf3
* | osf4
* | osf5
*)
10768 soname_spec
='${libname}${release}${shared_ext}$major'
10769 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10770 shlibpath_var
=LD_LIBRARY_PATH
10771 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10772 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10783 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10784 soname_spec
='${libname}${release}${shared_ext}$major'
10785 shlibpath_var
=LD_LIBRARY_PATH
10786 shlibpath_overrides_runpath
=yes
10787 hardcode_into_libs
=yes
10788 # ldd complains unless libraries are executable
10789 postinstall_cmds
='chmod +x $lib'
10794 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10795 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10796 shlibpath_var
=LD_LIBRARY_PATH
10797 shlibpath_overrides_runpath
=yes
10798 if test "$with_gnu_ld" = yes; then
10806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10807 soname_spec
='${libname}${release}${shared_ext}$major'
10808 shlibpath_var
=LD_LIBRARY_PATH
10809 case $host_vendor in
10811 shlibpath_overrides_runpath
=no
10813 runpath_var
=LD_RUN_PATH
10821 shlibpath_overrides_runpath
=no
10822 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10828 if test -d /usr
/nec
;then
10830 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10831 soname_spec
='$libname${shared_ext}.$major'
10832 shlibpath_var
=LD_LIBRARY_PATH
10836 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10837 version_type
=freebsd-elf
10840 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10841 soname_spec
='${libname}${release}${shared_ext}$major'
10842 shlibpath_var
=LD_LIBRARY_PATH
10843 shlibpath_overrides_runpath
=yes
10844 hardcode_into_libs
=yes
10845 if test "$with_gnu_ld" = yes; then
10846 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10848 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10851 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10855 sys_lib_dlsearch_path_spec
='/usr/lib'
10859 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10863 library_name_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10864 shlibpath_var
=LD_LIBRARY_PATH
10865 shlibpath_overrides_runpath
=no
10866 hardcode_into_libs
=yes
10871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10872 soname_spec
='${libname}${release}${shared_ext}$major'
10873 shlibpath_var
=LD_LIBRARY_PATH
10880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10881 $as_echo "$dynamic_linker" >&6; }
10882 test "$dynamic_linker" = no
&& can_build_shared
=no
10884 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10885 if test "$GCC" = yes; then
10886 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10889 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10890 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10892 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10893 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10983 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10985 if test -n "$hardcode_libdir_flag_spec" ||
10986 test -n "$runpath_var" ||
10987 test "X$hardcode_automatic" = "Xyes" ; then
10989 # We can hardcode non-existent directories.
10990 if test "$hardcode_direct" != no
&&
10991 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10992 # have to relink, otherwise we might link with an installed library
10993 # when we should be linking with a yet-to-be-installed one
10994 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10995 test "$hardcode_minus_L" != no
; then
10996 # Linking always hardcodes the temporary library directory.
10997 hardcode_action
=relink
10999 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11000 hardcode_action
=immediate
11003 # We cannot hardcode anything, or else we can only hardcode existing
11005 hardcode_action
=unsupported
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11008 $as_echo "$hardcode_action" >&6; }
11010 if test "$hardcode_action" = relink ||
11011 test "$inherit_rpath" = yes; then
11012 # Fast installation is not supported
11013 enable_fast_install
=no
11014 elif test "$shlibpath_overrides_runpath" = yes ||
11015 test "$enable_shared" = no
; then
11016 # Fast installation is not necessary
11017 enable_fast_install
=needless
11025 if test "x$enable_dlopen" != xyes
; then
11026 enable_dlopen
=unknown
11027 enable_dlopen_self
=unknown
11028 enable_dlopen_self_static
=unknown
11035 lt_cv_dlopen
="load_add_on"
11037 lt_cv_dlopen_self
=yes
11041 lt_cv_dlopen
="LoadLibrary"
11046 lt_cv_dlopen
="dlopen"
11051 # if libdl is installed we need to link against it
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11053 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11054 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11055 $as_echo_n "(cached) " >&6
11057 ac_check_lib_save_LIBS
=$LIBS
11059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11060 /* end confdefs.h. */
11062 /* Override any GCC internal prototype to avoid an error.
11063 Use char because int might match the return type of a GCC
11064 builtin and then its argument prototype would still apply. */
11077 if ac_fn_c_try_link
"$LINENO"; then :
11078 ac_cv_lib_dl_dlopen
=yes
11080 ac_cv_lib_dl_dlopen
=no
11082 rm -f core conftest.err conftest.
$ac_objext \
11083 conftest
$ac_exeext conftest.
$ac_ext
11084 LIBS
=$ac_check_lib_save_LIBS
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11087 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11088 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11089 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11092 lt_cv_dlopen
="dyld"
11094 lt_cv_dlopen_self
=yes
11101 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11102 if test "x$ac_cv_func_shl_load" = x
""yes; then :
11103 lt_cv_dlopen
="shl_load"
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11106 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11107 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11108 $as_echo_n "(cached) " >&6
11110 ac_check_lib_save_LIBS
=$LIBS
11112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11115 /* Override any GCC internal prototype to avoid an error.
11116 Use char because int might match the return type of a GCC
11117 builtin and then its argument prototype would still apply. */
11125 return shl_load ();
11130 if ac_fn_c_try_link
"$LINENO"; then :
11131 ac_cv_lib_dld_shl_load
=yes
11133 ac_cv_lib_dld_shl_load
=no
11135 rm -f core conftest.err conftest.
$ac_objext \
11136 conftest
$ac_exeext conftest.
$ac_ext
11137 LIBS
=$ac_check_lib_save_LIBS
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11140 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11141 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then :
11142 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11144 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11145 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11146 lt_cv_dlopen
="dlopen"
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11149 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11150 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11151 $as_echo_n "(cached) " >&6
11153 ac_check_lib_save_LIBS
=$LIBS
11155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11158 /* Override any GCC internal prototype to avoid an error.
11159 Use char because int might match the return type of a GCC
11160 builtin and then its argument prototype would still apply. */
11173 if ac_fn_c_try_link
"$LINENO"; then :
11174 ac_cv_lib_dl_dlopen
=yes
11176 ac_cv_lib_dl_dlopen
=no
11178 rm -f core conftest.err conftest.
$ac_objext \
11179 conftest
$ac_exeext conftest.
$ac_ext
11180 LIBS
=$ac_check_lib_save_LIBS
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11183 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11184 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11185 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11188 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11189 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11190 $as_echo_n "(cached) " >&6
11192 ac_check_lib_save_LIBS
=$LIBS
11193 LIBS
="-lsvld $LIBS"
11194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11195 /* end confdefs.h. */
11197 /* Override any GCC internal prototype to avoid an error.
11198 Use char because int might match the return type of a GCC
11199 builtin and then its argument prototype would still apply. */
11212 if ac_fn_c_try_link
"$LINENO"; then :
11213 ac_cv_lib_svld_dlopen
=yes
11215 ac_cv_lib_svld_dlopen
=no
11217 rm -f core conftest.err conftest.
$ac_objext \
11218 conftest
$ac_exeext conftest.
$ac_ext
11219 LIBS
=$ac_check_lib_save_LIBS
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11222 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11223 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then :
11224 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11227 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11228 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11229 $as_echo_n "(cached) " >&6
11231 ac_check_lib_save_LIBS
=$LIBS
11233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11234 /* end confdefs.h. */
11236 /* Override any GCC internal prototype to avoid an error.
11237 Use char because int might match the return type of a GCC
11238 builtin and then its argument prototype would still apply. */
11246 return dld_link ();
11251 if ac_fn_c_try_link
"$LINENO"; then :
11252 ac_cv_lib_dld_dld_link
=yes
11254 ac_cv_lib_dld_dld_link
=no
11256 rm -f core conftest.err conftest.
$ac_objext \
11257 conftest
$ac_exeext conftest.
$ac_ext
11258 LIBS
=$ac_check_lib_save_LIBS
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11261 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11262 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then :
11263 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11284 if test "x$lt_cv_dlopen" != xno
; then
11290 case $lt_cv_dlopen in
11292 save_CPPFLAGS
="$CPPFLAGS"
11293 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11295 save_LDFLAGS
="$LDFLAGS"
11296 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11299 LIBS
="$lt_cv_dlopen_libs $LIBS"
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11302 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11303 if test "${lt_cv_dlopen_self+set}" = set; then :
11304 $as_echo_n "(cached) " >&6
11306 if test "$cross_compiling" = yes; then :
11307 lt_cv_dlopen_self
=cross
11309 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11310 lt_status
=$lt_dlunknown
11311 cat > conftest.
$ac_ext <<_LT_EOF
11312 #line 11312 "configure"
11313 #include "confdefs.h"
11322 # define LT_DLGLOBAL RTLD_GLOBAL
11325 # define LT_DLGLOBAL DL_GLOBAL
11327 # define LT_DLGLOBAL 0
11331 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11332 find out it does not work in some platform. */
11333 #ifndef LT_DLLAZY_OR_NOW
11335 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11338 # define LT_DLLAZY_OR_NOW DL_LAZY
11341 # define LT_DLLAZY_OR_NOW RTLD_NOW
11344 # define LT_DLLAZY_OR_NOW DL_NOW
11346 # define LT_DLLAZY_OR_NOW 0
11354 extern "C" void exit (int);
11357 void fnord() { int i=42;}
11360 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11361 int status = $lt_dlunknown;
11365 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11366 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11367 /* dlclose (self); */
11375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11376 (eval $ac_link) 2>&5
11378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11379 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11380 (.
/conftest
; exit; ) >&5 2>/dev
/null
11382 case x
$lt_status in
11383 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11384 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11385 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11388 # compilation failed
11389 lt_cv_dlopen_self
=no
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11397 $as_echo "$lt_cv_dlopen_self" >&6; }
11399 if test "x$lt_cv_dlopen_self" = xyes
; then
11400 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11402 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11403 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11404 $as_echo_n "(cached) " >&6
11406 if test "$cross_compiling" = yes; then :
11407 lt_cv_dlopen_self_static
=cross
11409 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11410 lt_status
=$lt_dlunknown
11411 cat > conftest.
$ac_ext <<_LT_EOF
11412 #line 11412 "configure"
11413 #include "confdefs.h"
11422 # define LT_DLGLOBAL RTLD_GLOBAL
11425 # define LT_DLGLOBAL DL_GLOBAL
11427 # define LT_DLGLOBAL 0
11431 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11432 find out it does not work in some platform. */
11433 #ifndef LT_DLLAZY_OR_NOW
11435 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11438 # define LT_DLLAZY_OR_NOW DL_LAZY
11441 # define LT_DLLAZY_OR_NOW RTLD_NOW
11444 # define LT_DLLAZY_OR_NOW DL_NOW
11446 # define LT_DLLAZY_OR_NOW 0
11454 extern "C" void exit (int);
11457 void fnord() { int i=42;}
11460 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11461 int status = $lt_dlunknown;
11465 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11466 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11467 /* dlclose (self); */
11475 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11476 (eval $ac_link) 2>&5
11478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11479 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11480 (.
/conftest
; exit; ) >&5 2>/dev
/null
11482 case x
$lt_status in
11483 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11484 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11485 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11488 # compilation failed
11489 lt_cv_dlopen_self_static
=no
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11497 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11500 CPPFLAGS
="$save_CPPFLAGS"
11501 LDFLAGS
="$save_LDFLAGS"
11506 case $lt_cv_dlopen_self in
11507 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11508 *) enable_dlopen_self
=unknown
;;
11511 case $lt_cv_dlopen_self_static in
11512 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11513 *) enable_dlopen_self_static
=unknown
;;
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11536 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11537 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11538 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11539 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11541 $as_echo "yes" >&6; }
11543 # FIXME - insert some real tests, host_os isn't really good enough
11546 if test -n "$STRIP" ; then
11547 striplib
="$STRIP -x"
11548 old_striplib
="$STRIP -S"
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11550 $as_echo "yes" >&6; }
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11553 $as_echo "no" >&6; }
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11558 $as_echo "no" >&6; }
11574 # Report which library types will actually be built
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11576 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11578 $as_echo "$can_build_shared" >&6; }
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11581 $as_echo_n "checking whether to build shared libraries... " >&6; }
11582 test "$can_build_shared" = "no" && enable_shared
=no
11584 # On AIX, shared libraries and static libraries use the same namespace, and
11585 # are all built from PIC.
11588 test "$enable_shared" = yes && enable_static
=no
11589 if test -n "$RANLIB"; then
11590 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11591 postinstall_cmds
='$RANLIB $lib'
11596 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11597 test "$enable_shared" = yes && enable_static
=no
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11602 $as_echo "$enable_shared" >&6; }
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11605 $as_echo_n "checking whether to build static libraries... " >&6; }
11606 # Make sure either enable_shared or enable_static is yes.
11607 test "$enable_shared" = yes || enable_static
=yes
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11609 $as_echo "$enable_static" >&6; }
11616 ac_cpp
='$CPP $CPPFLAGS'
11617 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11618 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11619 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11635 ac_config_commands
="$ac_config_commands libtool"
11640 # Only expand once:
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for debug symbols" >&5
11648 $as_echo_n "checking for debug symbols... " >&6; }
11649 # Check whether --enable-debug was given.
11650 if test "${enable_debug+set}" = set; then :
11651 enableval
=$enable_debug; case "$enableval" in
11652 y |
yes) debug_symbols
=y
;;
11653 *) unset debug_symbols
;;
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${debug_symbols:-no}" >&5
11658 $as_echo "${debug_symbols:-no}" >&6; }
11662 if test $XENO_TARGET_ARCH = x86
; then
11665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SMP support" >&5
11666 $as_echo_n "checking for SMP support... " >&6; }
11667 # Check whether --enable-smp was given.
11668 if test "${enable_smp+set}" = set; then :
11669 enableval
=$enable_smp; case "$enableval" in
11670 y |
yes) CONFIG_SMP
=y
;;
11671 *) unset CONFIG_SMP
;;
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CONFIG_SMP:-no}" >&5
11676 $as_echo "${CONFIG_SMP:-no}" >&6; }
11679 CONFIG_XENO_X86_SEP
=
11682 if test $XENO_TARGET_ARCH = x86
; then
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 SEP instructions in syscalls" >&5
11684 $as_echo_n "checking for x86 SEP instructions in syscalls... " >&6; }
11685 # Check whether --enable-x86-sep was given.
11686 if test "${enable_x86_sep+set}" = set; then :
11687 enableval
=$enable_x86_sep; case "$enableval" in
11688 y |
yes) CONFIG_XENO_X86_SEP
=y
;;
11689 *) unset CONFIG_XENO_X86_SEP
;;
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CONFIG_XENO_X86_SEP:-no}" >&5
11694 $as_echo "${CONFIG_XENO_X86_SEP:-no}" >&6; }
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 TSC support" >&5
11697 $as_echo_n "checking for x86 TSC support... " >&6; }
11698 # Check whether --enable-x86-tsc was given.
11699 if test "${enable_x86_tsc+set}" = set; then :
11700 enableval
=$enable_x86_tsc; case "$enableval" in
11701 y |
yes) CONFIG_X86_TSC
=y
;;
11702 *) unset CONFIG_X86_TSC
;;
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CONFIG_X86_TSC:-no}" >&5
11707 $as_echo "${CONFIG_X86_TSC:-no}" >&6; }
11711 if test $XENO_TARGET_ARCH = arm
; then
11713 unset CONFIG_XENO_ARM_SA1100
11714 unset CONFIG_XENO_CPU_XSC3
11715 CONFIG_XENO_ARM_TSC_TYPE
=__XN_TSC_TYPE_KUSER
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARM tsc type" >&5
11718 $as_echo_n "checking for ARM tsc type... " >&6; }
11719 # Check whether --enable-arm-tsc was given.
11720 if test "${enable_arm_tsc+set}" = set; then :
11721 enableval
=$enable_arm_tsc; case "$enableval" in
11722 at91
*) CONFIG_XENO_ARM_TSC_TYPE
=__XN_TSC_TYPE_FREERUNNING_FAST_WRAP
;;
11724 integrator
) unset tsc_type
;;
11726 ixp4xx
) CONFIG_XENO_ARM_TSC_TYPE
=__XN_TSC_TYPE_FREERUNNING
;;
11728 imx
*|mx
*) CONFIG_XENO_ARM_TSC_TYPE
=__XN_TSC_TYPE_FREERUNNING
;;
11730 kuser
) CONFIG_XENO_ARM_TSC_TYPE
=__XN_TSC_TYPE_KUSER
;;
11732 omap
*) CONFIG_XENO_ARM_TSC_TYPE
=__XN_TSC_TYPE_FREERUNNING
;;
11734 orion
) CONFIG_XENO_ARM_TSC_TYPE
=__XN_TSC_TYPE_FREERUNNING_COUNTDOWN
;;
11736 pxa
*) CONFIG_XENO_CPU_XSC3
=y
11737 CONFIG_XENO_ARM_TSC_TYPE
=__XN_TSC_TYPE_FREERUNNING
;;
11739 s3c24
*) CONFIG_XENO_ARM_TSC_TYPE
=__XN_TSC_TYPE_DECREMENTER
;;
11741 sa1100
) CONFIG_XENO_ARM_SA1100
=y
11742 CONFIG_XENO_ARM_TSC_TYPE
=__XN_TSC_TYPE_FREERUNNING
;;
11744 n | no
) unset CONFIG_XENO_ARM_TSC_TYPE
;;
11746 *)as_fn_error $?
"Invalid SOC selected: \"$enableval\"" "$LINENO" 5 ;;
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_arm_tsc:-kuser}" >&5
11751 $as_echo "${enable_arm_tsc:-kuser}" >&6; }
11753 # Check whether --enable-arm-quirks was given.
11754 if test "${enable_arm_quirks+set}" = set; then :
11755 enableval
=$enable_arm_quirks; case "$enableval" in
11756 sa1100
) CONFIG_XENO_ARM_SA1100
=y
;;
11757 xscale3
) CONFIG_XENO_CPU_XSC3
=y
;;
11758 *)as_fn_error $?
"Invalid SOC selected: \"$enableval\"" "$LINENO" 5 ;;
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARM SA1100 architecture" >&5
11764 $as_echo_n "checking for ARM SA1100 architecture... " >&6; }
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CONFIG_XENO_ARM_SA1100:-no}" >&5
11766 $as_echo "${CONFIG_XENO_ARM_SA1100:-no}" >&6; }
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ARM Xscale3 architecture" >&5
11769 $as_echo_n "checking for ARM Xscale3 architecture... " >&6; }
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CONFIG_XENO_CPU_XSC3:-no}" >&5
11771 $as_echo "${CONFIG_XENO_CPU_XSC3:-no}" >&6; }
11775 if test x
"$docdir" = x
; then
11776 docdir
=$datadir/doc
/$PACKAGE-$VERSION
11780 if test \
! -d $srcdir/doc
; then
11781 unset XENO_MAYBE_DOCDIR
11783 XENO_MAYBE_DOCDIR
=doc
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether installing documentation" >&5
11785 $as_echo_n "checking whether installing documentation... " >&6; }
11786 # Check whether --enable-doc-install was given.
11787 if test "${enable_doc_install+set}" = set; then :
11788 enableval
=$enable_doc_install; case "$enableval" in
11790 *) unset XENO_MAYBE_DOCDIR
;;
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${XENO_MAYBE_DOCDIR:-no}" >&5
11795 $as_echo "${XENO_MAYBE_DOCDIR:-no}" >&6; }
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Doxygen documentation" >&5
11800 $as_echo_n "checking for Doxygen documentation... " >&6; }
11801 # Check whether --enable-dox-doc was given.
11802 if test "${enable_dox_doc+set}" = set; then :
11803 enableval
=$enable_dox_doc; case "$enableval" in
11804 y |
yes) CONFIG_XENO_DOC_DOX
=y
;;
11805 *) unset CONFIG_XENO_DOC_DOX
;;
11810 if test \
! -d $srcdir/doc
; then
11811 if test x
$CONFIG_XENO_DOC_DOX = xy
;
11813 as_fn_error $?
"documentation tree is missing." "$LINENO" 5
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not present" >&5
11816 $as_echo "not present" >&6; }
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CONFIG_XENO_DOC_DOX:-no}" >&5
11819 $as_echo "${CONFIG_XENO_DOC_DOX:-no}" >&6; }
11822 # Extract the first word of "doxygen", so it can be a program name with args.
11823 set dummy doxygen
; ac_word
=$2
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11825 $as_echo_n "checking for $ac_word... " >&6; }
11826 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
11827 $as_echo_n "(cached) " >&6
11829 if test -n "$DOXYGEN"; then
11830 ac_cv_prog_DOXYGEN
="$DOXYGEN" # Let the user override the test.
11832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11833 for as_dir
in $PATH
11836 test -z "$as_dir" && as_dir
=.
11837 for ac_exec_ext
in '' $ac_executable_extensions; do
11838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11839 ac_cv_prog_DOXYGEN
="doxygen"
11840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11849 DOXYGEN
=$ac_cv_prog_DOXYGEN
11850 if test -n "$DOXYGEN"; then
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
11852 $as_echo "$DOXYGEN" >&6; }
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11855 $as_echo "no" >&6; }
11860 if test x
${CONFIG_XENO_DOC_DOX} = xy
-a x
"$DOXYGEN" = x
; then
11861 as_fn_error $?
"Missing the Doxygen tools to generate the documentation." "$LINENO" 5
11864 # Extract the first word of "dot", so it can be a program name with args.
11865 set dummy dot
; ac_word
=$2
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11867 $as_echo_n "checking for $ac_word... " >&6; }
11868 if test "${ac_cv_prog_DOXYGEN_HAVE_DOT+set}" = set; then :
11869 $as_echo_n "(cached) " >&6
11871 if test -n "$DOXYGEN_HAVE_DOT"; then
11872 ac_cv_prog_DOXYGEN_HAVE_DOT
="$DOXYGEN_HAVE_DOT" # Let the user override the test.
11874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11875 for as_dir
in $PATH
11878 test -z "$as_dir" && as_dir
=.
11879 for ac_exec_ext
in '' $ac_executable_extensions; do
11880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11881 ac_cv_prog_DOXYGEN_HAVE_DOT
="YES"
11882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11889 test -z "$ac_cv_prog_DOXYGEN_HAVE_DOT" && ac_cv_prog_DOXYGEN_HAVE_DOT
="NO"
11892 DOXYGEN_HAVE_DOT
=$ac_cv_prog_DOXYGEN_HAVE_DOT
11893 if test -n "$DOXYGEN_HAVE_DOT"; then
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN_HAVE_DOT" >&5
11895 $as_echo "$DOXYGEN_HAVE_DOT" >&6; }
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11898 $as_echo "no" >&6; }
11902 if test x
"$DOXYGEN_HAVE_DOT" = xYES
; then
11903 DOXYGEN_SHOW_INCLUDE_FILES
=NO
11905 DOXYGEN_SHOW_INCLUDE_FILES
=YES
11908 case "$CONFIG_XENO_DOC_DBX" in
11914 DBX_NET
="$CONFIG_XENO_DBX_NET"
11915 DBX_ROOT
="$CONFIG_XENO_DBX_ROOT"
11916 DBX_XSL_ROOT
="$CONFIG_XENO_DBX_XSL_ROOT"
11918 DBX_DOC_ROOT
="doc/docbook"
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiling Docbook XML documentation" >&5
11922 $as_echo_n "checking whether compiling Docbook XML documentation... " >&6; }
11923 # Check whether --enable-dbx was given.
11924 if test "${enable_dbx+set}" = set; then :
11925 enableval
=$enable_dbx; case "$enableval" in
11926 y | ye |
yes) DBX_DOC
=yes;;
11932 if test \
! -f "$srcdir/doc/docbook/catalog.in"; then
11933 if test x
$DBX_DOC = xyes
;
11935 as_fn_error $?
"doc/docbook/catalog.in could not be found in the source tree,
11936 DocBook documentation can not be generated." "$LINENO" 5
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not present." >&5
11939 $as_echo "not present." >&6; }
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${DBX_DOC:-no}" >&5
11942 $as_echo "${DBX_DOC:-no}" >&6; }
11944 if test "$DBX_DOC" = yes; then
11954 DBX_GEN_DOC_ROOT
="doc/generated"
11957 # First: search for needed tools.
11958 # Extract the first word of "xmllint", so it can be a program name with args.
11959 set dummy xmllint
; ac_word
=$2
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11961 $as_echo_n "checking for $ac_word... " >&6; }
11962 if test "${ac_cv_prog_DBX_LINT+set}" = set; then :
11963 $as_echo_n "(cached) " >&6
11965 if test -n "$DBX_LINT"; then
11966 ac_cv_prog_DBX_LINT
="$DBX_LINT" # Let the user override the test.
11968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11969 for as_dir
in $PATH
11972 test -z "$as_dir" && as_dir
=.
11973 for ac_exec_ext
in '' $ac_executable_extensions; do
11974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11975 ac_cv_prog_DBX_LINT
="xmllint"
11976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11985 DBX_LINT
=$ac_cv_prog_DBX_LINT
11986 if test -n "$DBX_LINT"; then
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBX_LINT" >&5
11988 $as_echo "$DBX_LINT" >&6; }
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11991 $as_echo "no" >&6; }
11995 if test x
"$DBX_LINT" = x
-a -n "$DBX_DOC"; then
11996 as_fn_error $?
"xmllint was not found. Check your PATH variable and try again." "$LINENO" 5
12001 # Extract the first word of "xsltproc", so it can be a program name with args.
12002 set dummy xsltproc
; ac_word
=$2
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12004 $as_echo_n "checking for $ac_word... " >&6; }
12005 if test "${ac_cv_prog_DBX_XSLTPROC+set}" = set; then :
12006 $as_echo_n "(cached) " >&6
12008 if test -n "$DBX_XSLTPROC"; then
12009 ac_cv_prog_DBX_XSLTPROC
="$DBX_XSLTPROC" # Let the user override the test.
12011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12012 for as_dir
in $PATH
12015 test -z "$as_dir" && as_dir
=.
12016 for ac_exec_ext
in '' $ac_executable_extensions; do
12017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12018 ac_cv_prog_DBX_XSLTPROC
="xsltproc"
12019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12028 DBX_XSLTPROC
=$ac_cv_prog_DBX_XSLTPROC
12029 if test -n "$DBX_XSLTPROC"; then
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBX_XSLTPROC" >&5
12031 $as_echo "$DBX_XSLTPROC" >&6; }
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12034 $as_echo "no" >&6; }
12038 if test x
"$DBX_XSLTPROC" = x
-a -n "$DBX_DOC"; then
12039 as_fn_error $?
"xsltproc was not found. Check your PATH variable and try
12040 again." "$LINENO" 5
12045 # Extract the first word of "fop", so it can be a program name with args.
12046 set dummy fop
; ac_word
=$2
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12048 $as_echo_n "checking for $ac_word... " >&6; }
12049 if test "${ac_cv_prog_DBX_FOP+set}" = set; then :
12050 $as_echo_n "(cached) " >&6
12052 if test -n "$DBX_FOP"; then
12053 ac_cv_prog_DBX_FOP
="$DBX_FOP" # Let the user override the test.
12055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12056 for as_dir
in $PATH
12059 test -z "$as_dir" && as_dir
=.
12060 for ac_exec_ext
in '' $ac_executable_extensions; do
12061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12062 ac_cv_prog_DBX_FOP
="fop"
12063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12072 DBX_FOP
=$ac_cv_prog_DBX_FOP
12073 if test -n "$DBX_FOP"; then
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBX_FOP" >&5
12075 $as_echo "$DBX_FOP" >&6; }
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12078 $as_echo "no" >&6; }
12082 if test x
"$DBX_FOP" = x
-a -n "$DBX_DOC"; then
12083 as_fn_error $?
"fop was not found. Check your PATH variable and try again." "$LINENO" 5
12087 # Second: search for DTD and XSL stylesheets.
12088 DBX_DTD_VERSION
="4.2"
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Docbook XML documentation generation can use network." >&5
12091 $as_echo_n "checking whether Docbook XML documentation generation can use network.... " >&6; }
12092 # Check whether --enable-dbx-network was given.
12093 if test "${enable_dbx_network+set}" = set; then :
12094 enableval
=$enable_dbx_network; case "$enable_dbx_network" in
12104 # Do not define the --nonet xsltproc flag if the option --enable-dbx-network was
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${DBX_NET:-no}" >&5
12107 $as_echo "${DBX_NET:-no}" >&6; }
12108 if test -n "$DBX_NET"; then
12109 unset DBX_MAYBE_NONET
12111 DBX_MAYBE_NONET
=--nonet
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook-xml root dir" >&5
12117 $as_echo_n "checking for docbook-xml root dir... " >&6; }
12119 # Check whether --with-dbx-root was given.
12120 if test "${with_dbx_root+set}" = set; then :
12121 withval
=$with_dbx_root; DBX_ROOT
="$withval"
12124 if test x
"$DBX_ROOT" = x
; then
12125 # Still not found, we will hence look for it using the "well-known"
12126 # places (well... for the moment, only the Debian package directory)
12128 /usr
/share
/sgml
/docbook
/dtd
/xml
/$DBX_DTD_VERSION
12130 if test -e $dir/docbookx.dtd
; then
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${DBX_ROOT:-network}" >&5
12137 $as_echo "${DBX_ROOT:-network}" >&6; }
12138 if test x
"$DBX_ROOT" = x
; then
12139 if test x
"$enable_dbx_network" != x
-a -n "$DBX_DOC"; then
12140 as_fn_error $?
"The Docbook XML DTD was not found, and accessing it
12141 through network is forbidden." "$LINENO" 5
12143 DBX_ROOT
="http://www.oasis-open.org/docbook/xml/$DBX_DTD_VERSION/"
12145 DBX_ROOT
="file://$DBX_ROOT"
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook-xsl root dir" >&5
12151 $as_echo_n "checking for docbook-xsl root dir... " >&6; }
12153 # Check whether --with-docbook-xsl-root was given.
12154 if test "${with_docbook_xsl_root+set}" = set; then :
12155 withval
=$with_docbook_xsl_root; DBX_XSL_ROOT
="$withval"
12158 if test x
"$DBX_XSL_ROOT" = x
; then
12159 # Still not found, we will hence look for it using the "well-known"
12160 # places (well... for the moment, only the Debian standard directory)
12162 /usr
/share
/sgml
/docbook
/stylesheet
/xsl
/nwalsh
12164 if test -e "$dir/html/docbook.xsl"; then
12165 DBX_XSL_ROOT
="$dir";
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${DBX_XSL_ROOT:-network}" >&5
12171 $as_echo "${DBX_XSL_ROOT:-network}" >&6; }
12172 if test x
"$DBX_XSL_ROOT" = x
; then
12173 if test x
"$enable_dbx_network" != x
-a -n "$DBX_DOC"; then
12174 as_fn_error $?
"The Docbook XML DTD was not found, and accessing it
12175 through network is forbidden." "$LINENO" 5
12177 DBX_XSL_ROOT
="http://http://docbook.sourceforge.net/release/xsl/current"
12179 DBX_XSL_ROOT
="file://$DBX_XSL_ROOT"
12184 DBX_ABS_SRCDIR
=`case $srcdir in
12185 \\/* | ?:\\/* ) echo : ;;
12188 if $DBX_ABS_SRCDIR; then
12189 DBX_ABS_SRCDIR_TRUE
=
12190 DBX_ABS_SRCDIR_FALSE
='#'
12192 DBX_ABS_SRCDIR_TRUE
='#'
12193 DBX_ABS_SRCDIR_FALSE
=
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether using LaTeX non-stop mode" >&5
12201 $as_echo_n "checking whether using LaTeX non-stop mode... " >&6; }
12202 # Check whether --enable-verbose-latex was given.
12203 if test "${enable_verbose_latex+set}" = set; then :
12204 enableval
=$enable_verbose_latex; case "$enableval" in
12205 y |
yes) CONFIG_XENO_DOC_LATEX_NONSTOP
=y
;;
12206 *) unset CONFIG_XENO_DOC_LATEX_NONSTOP
;;
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CONFIG_XENO_DOC_LATEX_NONSTOP:-no}" >&5
12211 $as_echo "${CONFIG_XENO_DOC_LATEX_NONSTOP:-no}" >&6; }
12213 if test x
${CONFIG_XENO_DOC_LATEX_NONSTOP} = xy
; then
12215 LATEX_MODE
=nonstopmode
12217 LATEX_BATCHMODE
=YES
12218 LATEX_MODE
=batchmode
12221 for ac_header
in mqueue.h
12223 ac_fn_c_check_header_mongrel
"$LINENO" "mqueue.h" "ac_cv_header_mqueue_h" "$ac_includes_default"
12224 if test "x$ac_cv_header_mqueue_h" = x
""yes; then :
12225 cat >>confdefs.h
<<_ACEOF
12226 #define HAVE_MQUEUE_H 1
12235 LIBS
="$LIBS -lrt -lpthread"
12236 for ac_func
in shm_open shm_unlink mmap64 ftruncate64 pthread_mutexattr_setprotocol pthread_condattr_setclock pthread_spin_lock fork
12238 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12239 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12240 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12241 cat >>confdefs.h
<<_ACEOF
12242 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12252 cat >>confdefs.h
<<_ACEOF
12253 #define CONFIG_XENO_VERSION_MAJOR $CONFIG_XENO_VERSION_MAJOR
12257 cat >>confdefs.h
<<_ACEOF
12258 #define CONFIG_XENO_VERSION_MINOR $CONFIG_XENO_VERSION_MINOR
12262 cat >>confdefs.h
<<_ACEOF
12263 #define CONFIG_XENO_REVISION_LEVEL $CONFIG_XENO_REVISION_LEVEL
12268 test x
$CONFIG_XENO_X86_SEP = xy
&&
12269 $as_echo "#define CONFIG_XENO_X86_SEP 1" >>confdefs.h
12271 test x
$CONFIG_SMP = xy
&&
12272 $as_echo "#define CONFIG_SMP 1" >>confdefs.h
12274 test x
$CONFIG_XENO_FASTSYNCH = xy
&&
12275 $as_echo "#define CONFIG_XENO_FASTSYNCH 1" >>confdefs.h
12277 if test "$CONFIG_XENO_FASTSYNCH" = y
; then
12278 CONFIG_XENO_FASTSYNCH_TRUE
=
12279 CONFIG_XENO_FASTSYNCH_FALSE
='#'
12281 CONFIG_XENO_FASTSYNCH_TRUE
='#'
12282 CONFIG_XENO_FASTSYNCH_FALSE
=
12285 test x
$ac_cv_func_fork = xyes
&&
12286 $as_echo "#define CONFIG_MMU 1" >>confdefs.h
12289 test x
$CONFIG_X86_TSC = xy
&&
12290 $as_echo "#define CONFIG_X86_TSC 1" >>confdefs.h
12293 test x
$CONFIG_XENO_ARM_SA1100 = xy
&&
12294 $as_echo "#define CONFIG_XENO_ARM_SA1100 1" >>confdefs.h
12296 test x
$CONFIG_XENO_CPU_XSC3 = xy
&&
12297 $as_echo "#define CONFIG_XENO_CPU_XSC3 1" >>confdefs.h
12299 test $CONFIG_XENO_ARM_TSC_TYPE &&
12300 cat >>confdefs.h
<<_ACEOF
12301 #define CONFIG_XENO_ARM_TSC_TYPE $CONFIG_XENO_ARM_TSC_TYPE
12304 if test "$enable_shared" = 'yes'; then
12305 CONFIG_XENO_SHARED_TRUE
=
12306 CONFIG_XENO_SHARED_FALSE
='#'
12308 CONFIG_XENO_SHARED_TRUE
='#'
12309 CONFIG_XENO_SHARED_FALSE
=
12313 # Default sampling period (ns) used in various tests
12315 cat >>confdefs.h
<<_ACEOF
12316 #define CONFIG_XENO_DEFAULT_PERIOD $CONFIG_XENO_DEFAULT_PERIOD
12325 if test "$CONFIG_XENO_DOC_DOX" = y
; then
12326 CONFIG_XENO_DOC_DOX_TRUE
=
12327 CONFIG_XENO_DOC_DOX_FALSE
='#'
12329 CONFIG_XENO_DOC_DOX_TRUE
='#'
12330 CONFIG_XENO_DOC_DOX_FALSE
=
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
12335 $as_echo_n "checking for sched_setaffinity... " >&6; }
12336 if test "${ac_cv_sched_setaffinity+set}" = set; then :
12337 $as_echo_n "(cached) " >&6
12339 save_CFLAGS
="$CFLAGS"
12340 CFLAGS
="-Wimplicit-function-declaration -Werror -D_GNU_SOURCE"
12341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12342 /* end confdefs.h. */
12347 cpu_set_t cpu_set; sched_setaffinity(0, sizeof(cpu_set), &cpu_set);
12352 if ac_fn_c_try_link
"$LINENO"; then :
12353 ac_cv_sched_setaffinity
=new
12355 ac_cv_sched_setaffinity
=bad
12357 rm -f core conftest.err conftest.
$ac_objext \
12358 conftest
$ac_exeext conftest.
$ac_ext
12359 if test $ac_cv_sched_setaffinity = bad
; then
12360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12361 /* end confdefs.h. */
12366 cpu_set_t cpu_set; sched_setaffinity(0, &cpu_set);
12371 if ac_fn_c_try_link
"$LINENO"; then :
12372 ac_cv_sched_setaffinity
=old
12374 ac_cv_sched_setaffinity
=no
12376 rm -f core conftest.err conftest.
$ac_objext \
12377 conftest
$ac_exeext conftest.
$ac_ext
12379 if test $ac_cv_sched_setaffinity = old
; then
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: old" >&5
12381 $as_echo "old" >&6; }
12383 $as_echo "#define HAVE_OLD_SETAFFINITY 1" >>confdefs.h
12385 elif test $ac_cv_sched_setaffinity = new
; then
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12387 $as_echo "ok" >&6; }
12389 $as_echo "#define HAVE_RECENT_SETAFFINITY 1" >>confdefs.h
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12393 $as_echo "no" >&6; }
12395 CFLAGS
="$save_CFLAGS"
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for specific GCC switches" >&5
12400 $as_echo_n "checking for specific GCC switches... " >&6; }
12401 if test "${ac_cv_gcc_wnoalias+set}" = set; then :
12402 $as_echo_n "(cached) " >&6
12406 ac_cpp
='$CPP $CPPFLAGS'
12407 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12408 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12409 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12411 save_CFLAGS
="$CFLAGS"
12412 CFLAGS
="-Wno-strict-aliasing -Werror"
12413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12414 /* end confdefs.h. */
12424 if ac_fn_c_try_compile
"$LINENO"; then :
12425 ac_cv_gcc_wnoalias
=yes
12427 ac_cv_gcc_wnoalias
=no
12429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12430 CFLAGS
="$save_CFLAGS"
12432 ac_cpp
='$CPP $CPPFLAGS'
12433 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12434 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12435 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12439 if [ $ac_cv_gcc_wnoalias = no
]; then
12442 gcc_w_noalias
="-Wno-strict-aliasing"
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
12445 $as_echo "done" >&6; }
12447 XENO_USER_CFLAGS
="-D_GNU_SOURCE -D_REENTRANT -Wall -Werror-implicit-function-declaration -pipe"
12450 XENO_USER_APP_CFLAGS
=$XENO_USER_CFLAGS
12451 XENO_USER_APP_LDFLAGS
=$XENO_USER_LDFLAGS
12453 case $XENO_TARGET_ARCH in
12455 XENO_USER_CFLAGS
="$XENO_USER_CFLAGS -fstrict-aliasing $gcc_w_noalias"
12460 # Produce libraries in FDPIC format.
12463 XENO_USER_CFLAGS
="$XENO_USER_CFLAGS"
12467 if test x
$debug_symbols = xy
; then
12468 XENO_USER_CFLAGS
="-g $XENO_USER_CFLAGS"
12470 XENO_USER_CFLAGS
="-O2 $XENO_USER_CFLAGS"
12473 XENO_USER_CFLAGS
="$XENO_USER_CFLAGS -D__XENO__ -D__IN_XENO__ -Wstrict-prototypes"
12475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ld supports @file" >&5
12476 $as_echo_n "checking whether ld supports @file... " >&6; }
12477 if test "${ac_cv_ld_file_option+set}" = set; then :
12478 $as_echo_n "(cached) " >&6
12482 ac_cpp
='$CPP $CPPFLAGS'
12483 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12484 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12485 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12487 save_LDFLAGS
="$LDFLAGS"
12488 LDFLAGS
="-Wl,@/dev/null"
12489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12490 /* end confdefs.h. */
12493 if ac_fn_c_try_link
"$LINENO"; then :
12494 ac_cv_ld_file_option
=yes
12496 ac_cv_ld_file_option
=no
12498 rm -f core conftest.err conftest.
$ac_objext \
12499 conftest
$ac_exeext conftest.
$ac_ext
12500 LDFLAGS
="$save_LDFLAGS"
12502 ac_cpp
='$CPP $CPPFLAGS'
12503 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12504 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12505 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12509 if [ $ac_cv_ld_file_option = yes ]; then
12510 XENO_POSIX_WRAPPERS
="-Wl,@`cd $srcdir && pwd`/src/skins/posix/posix.wrappers"
12512 XENO_POSIX_WRAPPERS
=`while read wrap_option symbol ; do \
12513 echo -n "-Wl,$wrap_option,$symbol " ; \
12514 done < $srcdir/src/skins/posix/posix.wrappers`
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_cv_ld_file_option:-no}" >&5
12517 $as_echo "${ac_cv_ld_file_option:-no}" >&6; }
12518 LD_FILE_OPTION
=$ac_cv_ld_file_option
12520 if test "$LD_FILE_OPTION" = "yes"; then
12521 CONFIG_XENO_FAST_WRAP_TRUE
=
12522 CONFIG_XENO_FAST_WRAP_FALSE
='#'
12524 CONFIG_XENO_FAST_WRAP_TRUE
='#'
12525 CONFIG_XENO_FAST_WRAP_FALSE
=
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the POSIX skin library automatically calls mlockall" >&5
12530 $as_echo_n "checking whether the POSIX skin library automatically calls mlockall... " >&6; }
12531 # Check whether --enable-posix-auto-mlockall was given.
12532 if test "${enable_posix_auto_mlockall+set}" = set; then :
12533 enableval
=$enable_posix_auto_mlockall; case "$enableval" in
12534 y |
yes) CONFIG_XENO_POSIX_AUTO_MLOCKALL
=y
;;
12535 *) unset CONFIG_XENO_POSIX_AUTO_MLOCKALL
;;
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CONFIG_XENO_POSIX_AUTO_MLOCKALL:-no}" >&5
12540 $as_echo "${CONFIG_XENO_POSIX_AUTO_MLOCKALL:-no}" >&6; }
12541 if test x
$CONFIG_XENO_POSIX_AUTO_MLOCKALL = xy
; then
12543 $as_echo "#define CONFIG_XENO_POSIX_AUTO_MLOCKALL 1" >>confdefs.h
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the pSOS skin library automatically calls mlockall" >&5
12548 $as_echo_n "checking whether the pSOS skin library automatically calls mlockall... " >&6; }
12549 # Check whether --enable-psos-auto-mlockall was given.
12550 if test "${enable_psos_auto_mlockall+set}" = set; then :
12551 enableval
=$enable_psos_auto_mlockall; case "$enableval" in
12552 y |
yes) CONFIG_XENO_PSOS_AUTO_MLOCKALL
=y
;;
12553 *) unset CONFIG_XENO_PSOS_AUTO_MLOCKALL
;;
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CONFIG_XENO_PSOS_AUTO_MLOCKALL:-no}" >&5
12558 $as_echo "${CONFIG_XENO_PSOS_AUTO_MLOCKALL:-no}" >&6; }
12559 if test x
$CONFIG_XENO_POSIX_PSOS_MLOCKALL = xy
; then
12561 $as_echo "#define CONFIG_XENO_PSOS_AUTO_MLOCKALL 1" >>confdefs.h
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the uITRON skin library automatically calls mlockall" >&5
12566 $as_echo_n "checking whether the uITRON skin library automatically calls mlockall... " >&6; }
12567 # Check whether --enable-uitron-auto-mlockall was given.
12568 if test "${enable_uitron_auto_mlockall+set}" = set; then :
12569 enableval
=$enable_uitron_auto_mlockall; case "$enableval" in
12570 y |
yes) CONFIG_XENO_UITRON_AUTO_MLOCKALL
=y
;;
12571 *) unset CONFIG_XENO_UITRON_AUTO_MLOCKALL
;;
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CONFIG_XENO_UITRON_AUTO_MLOCKALL:-no}" >&5
12576 $as_echo "${CONFIG_XENO_UITRON_AUTO_MLOCKALL:-no}" >&6; }
12577 if test x
$CONFIG_XENO_POSIX_UITRON_MLOCKALL = xy
; then
12579 $as_echo "#define CONFIG_XENO_UITRON_AUTO_MLOCKALL 1" >>confdefs.h
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable dlopen support for skin libraries" >&5
12584 $as_echo_n "checking whether to enable dlopen support for skin libraries... " >&6; }
12585 # Check whether --enable-dlopen-skins was given.
12586 if test "${enable_dlopen_skins+set}" = set; then :
12587 enableval
=$enable_dlopen_skins; case "$enableval" in
12588 y |
yes) CONFIG_XENO_LIBS_DLOPEN
=y
;;
12589 *) unset CONFIG_XENO_LIBS_DLOPEN
;;
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CONFIG_XENO_LIBS_DLOPEN:-no}" >&5
12594 $as_echo "${CONFIG_XENO_LIBS_DLOPEN:-no}" >&6; }
12595 if test x
$CONFIG_XENO_LIBS_DLOPEN = xy
; then
12597 $as_echo "#define CONFIG_XENO_LIBS_DLOPEN 1" >>confdefs.h
12601 XENO_DLOPEN_CONSTRAINT
=
12604 # Check whether --with-__thread was given.
12605 if test "${with___thread+set}" = set; then :
12606 withval
=$with___thread; use__thread
=$withval
12610 if test "x$use__thread" != xno
-a "x$CONFIG_XENO_LIBS_DLOPEN" != xy
; then
12611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread" >&5
12612 $as_echo_n "checking for __thread... " >&6; }
12613 if test "${libc_cv_gcc___thread+set}" = set; then :
12614 $as_echo_n "(cached) " >&6
12616 cat > conftest.c
<<\EOF
12617 __thread int a __attribute__
((tls_model
("initial-exec"))) = 42;
12619 if { ac_try
='${CC-cc} $CFLAGS $CPPFLAGS -c -Werror conftest.c >&5'
12620 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
12621 (eval $ac_try) 2>&5
12623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12624 test $ac_status = 0; }; }; then
12625 libc_cv_gcc___thread
=yes
12627 libc_cv_gcc___thread
=no
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_gcc___thread" >&5
12632 $as_echo "$libc_cv_gcc___thread" >&6; }
12633 if test "$libc_cv_gcc___thread" = yes; then
12635 $as_echo "#define HAVE___THREAD 1" >>confdefs.h
12637 XENO_DLOPEN_CONSTRAINT
="-Wl,-z -Wl,nodlopen"
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking location for test binaries" >&5
12642 $as_echo_n "checking location for test binaries... " >&6; }
12644 # Check whether --with-testdir was given.
12645 if test "${with_testdir+set}" = set; then :
12646 withval
=$with_testdir;
12648 "" | y | ye |
yes | n | no
)
12649 as_fn_error $?
"You must supply an argument to --with-testdir." "$LINENO" 5
12652 XENO_TEST_DIR
="$withval"
12655 XENO_TEST_DIR
=$bindir
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XENO_TEST_DIR" >&5
12659 $as_echo "$XENO_TEST_DIR" >&6; }
12677 CONFIG_STATUS_DEPENDENCIES
='$(top_srcdir)/src/skins/posix/posix.wrappers'
12681 base
=asm-
$XENO_TARGET_ARCH
12682 ac_config_links
="$ac_config_links src/include/asm/xenomai:$srcdir/include/$base"
12685 ac_config_links
="$ac_config_links src/include/$base/xenomai:$srcdir/include/$base"
12688 ac_config_files
="$ac_config_files Makefile config/Makefile scripts/Makefile scripts/xeno-config scripts/xeno src/Makefile src/skins/Makefile src/skins/common/Makefile src/skins/posix/Makefile src/skins/native/Makefile src/skins/native/libxenomai_native.pc src/skins/vxworks/Makefile src/skins/vxworks/libxenomai_vxworks.pc src/skins/psos+/Makefile src/skins/psos+/libxenomai_psos+.pc src/skins/vrtx/Makefile src/skins/vrtx/libxenomai_vrtx.pc src/skins/rtdm/Makefile src/skins/rtdm/libxenomai_rtdm.pc src/skins/uitron/Makefile src/skins/uitron/libxenomai_uitron.pc src/drvlib/Makefile src/drvlib/analogy/Makefile src/include/Makefile src/testsuite/Makefile src/testsuite/latency/Makefile src/testsuite/cyclic/Makefile src/testsuite/switchtest/Makefile src/testsuite/irqbench/Makefile src/testsuite/clocktest/Makefile src/testsuite/klatency/Makefile src/testsuite/unit/Makefile src/testsuite/xeno-test/Makefile src/testsuite/regression/Makefile src/testsuite/regression/native/Makefile src/testsuite/regression/posix/Makefile src/testsuite/regression/native+posix/Makefile src/utils/Makefile src/utils/can/Makefile src/utils/analogy/Makefile src/utils/ps/Makefile include/Makefile include/asm-generic/Makefile include/asm-generic/bits/Makefile include/asm-blackfin/Makefile include/asm-blackfin/bits/Makefile include/asm-x86/Makefile include/asm-x86/bits/Makefile include/asm-powerpc/Makefile include/asm-powerpc/bits/Makefile include/asm-arm/Makefile include/asm-arm/bits/Makefile include/asm-nios2/Makefile include/asm-nios2/bits/Makefile include/asm-sh/Makefile include/asm-sh/bits/Makefile include/asm-sim/Makefile include/asm-sim/bits/Makefile include/native/Makefile include/nucleus/Makefile include/posix/Makefile include/posix/sys/Makefile include/psos+/Makefile include/rtdm/Makefile include/analogy/Makefile include/uitron/Makefile include/vrtx/Makefile include/vxworks/Makefile"
12691 if test x
"$LD_FILE_OPTION" = x
"yes" ; then
12692 ac_config_files
="$ac_config_files src/skins/posix/libxenomai_posix.pc"
12696 if test \
! x
$XENO_MAYBE_DOCDIR = x
; then
12697 ac_config_files
="$ac_config_files doc/Makefile doc/txt/Makefile doc/man/Makefile doc/man/clocktest.man doc/man/cyclictest.man doc/man/irqbench.man doc/man/irqloop.man doc/man/klatency.man doc/man/latency.man doc/man/rtcanconfig.man doc/man/rtcanrecv.man doc/man/rtcansend.man doc/man/switchbench.man doc/man/switchtest.man doc/man/xeno.man doc/man/xeno-config.man doc/doxygen/Makefile doc/doxygen/Doxyfile-common doc/doxygen/Doxyfile doc/doxygen/Doxyfile-native doc/doxygen/Doxyfile-nucleus doc/doxygen/Doxyfile-posix doc/doxygen/Doxyfile-rtdm doc/docbook/Makefile doc/docbook/catalog doc/docbook/custom-stylesheets/Makefile doc/docbook/custom-stylesheets/xsl/Makefile doc/docbook/custom-stylesheets/xsl/common/Makefile doc/docbook/custom-stylesheets/xsl/fo/Makefile doc/docbook/custom-stylesheets/xsl/html/Makefile doc/docbook/custom-stylesheets/xsl/html/chunk.xsl doc/docbook/custom-stylesheets/xsl/html/onechunk.xsl doc/docbook/xenomai/Makefile"
12701 cat >confcache
<<\_ACEOF
12702 # This file is a shell script that caches the results of configure
12703 # tests run on this system so they can be shared between configure
12704 # scripts and configure runs, see configure's option --config-cache.
12705 # It is not useful on other systems. If it contains results you don't
12706 # want to keep, you may remove or edit it.
12708 # config.status only pays attention to the cache file if you give it
12709 # the --recheck option to rerun configure.
12711 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12712 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12713 # following values.
12717 # The following way of writing the cache mishandles newlines in values,
12718 # but we know of no workaround that is simple, portable, and efficient.
12719 # So, we kill variables containing newlines.
12720 # Ultrix sh set writes to stderr and can't be redirected directly,
12721 # and sets the high bit in the cache file unless we assign to the vars.
12723 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12724 eval ac_val
=\$
$ac_var
12728 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12729 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12732 _ | IFS | as_nl
) ;; #(
12733 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12734 *) { eval $ac_var=; unset $ac_var;} ;;
12740 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12741 *${as_nl}ac_space
=\
*)
12742 # `set' does not quote correctly, so add quotes: double-quote
12743 # substitution turns \\\\ into \\, and sed turns \\ into \.
12746 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12749 # `set' quotes correctly as required by POSIX, so do not add quotes.
12750 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12759 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12761 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12763 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12764 if test -w "$cache_file"; then
12765 test "x$cache_file" != "x/dev/null" &&
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12767 $as_echo "$as_me: updating cache $cache_file" >&6;}
12768 cat confcache
>$cache_file
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12771 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12776 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12777 # Let make expand exec_prefix.
12778 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12780 DEFS
=-DHAVE_CONFIG_H
12785 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12786 # 1. Remove the extension, and $U if already installed.
12787 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12788 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12789 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12790 # will be set to the directory where LIBOBJS objects are built.
12791 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12792 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12794 LIBOBJS
=$ac_libobjs
12796 LTLIBOBJS
=$ac_ltlibobjs
12799 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12800 as_fn_error $?
"conditional \"AMDEP\" was never defined.
12801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12803 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12804 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
12805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12807 if test -n "$EXEEXT"; then
12809 am__EXEEXT_FALSE
='#'
12811 am__EXEEXT_TRUE
='#'
12815 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12816 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
12817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12819 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
12820 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
12821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12823 if test -z "${XENO_TARGET_ARCH_X86_TRUE}" && test -z "${XENO_TARGET_ARCH_X86_FALSE}"; then
12824 as_fn_error $?
"conditional \"XENO_TARGET_ARCH_X86\" was never defined.
12825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12827 if test -z "${DBX_DOC_TRUE}" && test -z "${DBX_DOC_FALSE}"; then
12828 as_fn_error $?
"conditional \"DBX_DOC\" was never defined.
12829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12831 if test -z "${DBX_ABS_SRCDIR_TRUE}" && test -z "${DBX_ABS_SRCDIR_FALSE}"; then
12832 as_fn_error $?
"conditional \"DBX_ABS_SRCDIR\" was never defined.
12833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12835 if test -z "${CONFIG_XENO_FASTSYNCH_TRUE}" && test -z "${CONFIG_XENO_FASTSYNCH_FALSE}"; then
12836 as_fn_error $?
"conditional \"CONFIG_XENO_FASTSYNCH\" was never defined.
12837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12839 if test -z "${CONFIG_XENO_SHARED_TRUE}" && test -z "${CONFIG_XENO_SHARED_FALSE}"; then
12840 as_fn_error $?
"conditional \"CONFIG_XENO_SHARED\" was never defined.
12841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12843 if test -z "${CONFIG_XENO_DOC_DOX_TRUE}" && test -z "${CONFIG_XENO_DOC_DOX_FALSE}"; then
12844 as_fn_error $?
"conditional \"CONFIG_XENO_DOC_DOX\" was never defined.
12845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12847 if test -z "${CONFIG_XENO_FAST_WRAP_TRUE}" && test -z "${CONFIG_XENO_FAST_WRAP_FALSE}"; then
12848 as_fn_error $?
"conditional \"CONFIG_XENO_FAST_WRAP\" was never defined.
12849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
12852 : ${CONFIG_STATUS=./config.status}
12854 ac_clean_files_save
=$ac_clean_files
12855 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12857 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12859 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12861 # Generated by $as_me.
12862 # Run this file to recreate the current configuration.
12863 # Compiler output produced by configure, useful for debugging
12864 # configure, is in config.log if it exists.
12867 ac_cs_recheck=false
12870 SHELL=\${CONFIG_SHELL-$SHELL}
12873 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12874 ## -------------------- ##
12875 ## M4sh Initialization. ##
12876 ## -------------------- ##
12878 # Be more Bourne compatible
12879 DUALCASE
=1; export DUALCASE
# for MKS sh
12880 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12883 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12884 # is contrary to our usage. Disable this feature.
12885 alias -g '${1+"$@"}'='"$@"'
12886 setopt NO_GLOB_SUBST
12888 case `(set -o) 2>/dev/null` in #(
12900 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12901 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12902 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12903 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12904 # Prefer a ksh shell builtin over an external printf program on Solaris,
12905 # but without wasting forks for bash or zsh.
12906 if test -z "$BASH_VERSION$ZSH_VERSION" \
12907 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12908 as_echo='print
-r --'
12909 as_echo_n='print
-rn --'
12910 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12911 as_echo='printf %s
\n'
12912 as_echo_n='printf %s
'
12914 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12915 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12916 as_echo_n='/usr
/ucb
/echo -n'
12918 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12919 as_echo_n_body='eval
12923 expr "X$arg" : "X\\(.*\\)$as_nl";
12924 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12926 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12928 export as_echo_n_body
12929 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12931 export as_echo_body
12932 as_echo='sh
-c $as_echo_body as_echo
'
12935 # The user is always right.
12936 if test "${PATH_SEPARATOR+set}" != set; then
12938 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12939 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12946 # We need space, tab and new line, in precisely that order. Quoting is
12947 # there to prevent editors from complaining about space-tab.
12948 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12949 # splitting by setting IFS to empty value.)
12952 # Find who we are. Look in the path if we contain no directory separator.
12954 *[\\/]* ) as_myself=$0 ;;
12955 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12956 for as_dir in $PATH
12959 test -z "$as_dir" && as_dir=.
12960 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12966 # We did not find ourselves, most probably we were run as `sh COMMAND'
12967 # in which case we are not to be found in the path.
12968 if test "x$as_myself" = x
; then
12971 if test ! -f "$as_myself"; then
12972 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12976 # Unset variables that we do not need and which cause bugs (e.g. in
12977 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12978 # suppresses any "Segmentation fault" message there. '((' could
12979 # trigger a bug in pdksh 5.2.14.
12980 for as_var
in BASH_ENV ENV MAIL MAILPATH
12981 do eval test x\
${$as_var+set} = xset \
12982 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12995 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12998 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12999 # ----------------------------------------
13000 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13001 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13002 # script with STATUS, using 1 if that was 0.
13005 as_status
=$1; test $as_status -eq 0 && as_status
=1
13007 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13008 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13010 $as_echo "$as_me: error: $2" >&2
13011 as_fn_exit
$as_status
13015 # as_fn_set_status STATUS
13016 # -----------------------
13017 # Set $? to STATUS, without forking.
13018 as_fn_set_status
()
13021 } # as_fn_set_status
13023 # as_fn_exit STATUS
13024 # -----------------
13025 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13029 as_fn_set_status
$1
13035 # Portably unset VAR.
13038 { eval $1=; unset $1;}
13040 as_unset
=as_fn_unset
13041 # as_fn_append VAR VALUE
13042 # ----------------------
13043 # Append the text in VALUE to the end of the definition contained in VAR. Take
13044 # advantage of any shell optimizations that allow amortized linear growth over
13045 # repeated appends, instead of the typical quadratic growth present in naive
13047 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13048 eval 'as_fn_append ()
13059 # as_fn_arith ARG...
13060 # ------------------
13061 # Perform arithmetic evaluation on the ARGs, and store the result in the
13062 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13063 # must be portable across $(()) and expr.
13064 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13065 eval 'as_fn_arith ()
13072 as_val
=`expr "$@" || test $? -eq 1`
13077 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13078 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13084 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13085 as_basename
=basename
13090 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13096 as_me
=`$as_basename -- "$0" ||
13097 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13098 X"$0" : 'X\(//\)$' \| \
13099 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13101 sed '/^.*\/\([^/][^/]*\)\/*$/{
13115 # Avoid depending upon Character Ranges.
13116 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13117 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13118 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13119 as_cr_digits
='0123456789'
13120 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13122 ECHO_C
= ECHO_N
= ECHO_T
=
13123 case `echo -n x` in #(((((
13125 case `echo 'xy\c'` in
13126 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13128 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13135 rm -f conf$$ conf$$.exe conf$$.
file
13136 if test -d conf$$.dir
; then
13137 rm -f conf$$.dir
/conf$$.
file
13140 mkdir conf$$.dir
2>/dev
/null
13142 if (echo >conf$$.
file) 2>/dev
/null
; then
13143 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13145 # ... but there are two gotchas:
13146 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13147 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13148 # In both cases, we have to default to `cp -p'.
13149 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13151 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13159 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13160 rmdir conf$$.dir
2>/dev
/null
13165 # Create "$as_dir" as a directory, including parents if necessary.
13170 -*) as_dir
=.
/$as_dir;;
13172 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13176 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13177 *) as_qdir
=$as_dir;;
13179 as_dirs
="'$as_qdir' $as_dirs"
13180 as_dir
=`$as_dirname -- "$as_dir" ||
13181 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13182 X"$as_dir" : 'X\(//\)[^/]' \| \
13183 X"$as_dir" : 'X\(//\)$' \| \
13184 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13185 $as_echo X"$as_dir" |
13186 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13190 /^X\(\/\/\)[^/].*/{
13203 test -d "$as_dir" && break
13205 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13206 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
13210 if mkdir
-p .
2>/dev
/null
; then
13211 as_mkdir_p
='mkdir -p "$as_dir"'
13213 test -d .
/-p && rmdir .
/-p
13217 if test -x / >/dev
/null
2>&1; then
13218 as_test_x
='test -x'
13220 if ls -dL / >/dev
/null
2>&1; then
13227 if test -d "$1"; then
13233 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13234 ???[sx]*):;;*)false;;esac;fi
13238 as_executable_p
=$as_test_x
13240 # Sed expression to map a string onto a valid CPP name.
13241 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13243 # Sed expression to map a string onto a valid variable name.
13244 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13248 ## ----------------------------------- ##
13249 ## Main body of $CONFIG_STATUS script. ##
13250 ## ----------------------------------- ##
13252 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13255 # Save the log message, to keep $0 and so on meaningful, and to
13256 # report actual input values of CONFIG_FILES etc. instead of their
13257 # values after options handling.
13259 This file was extended by Xenomai $as_me 2.5.94, which was
13260 generated by GNU Autoconf 2.67. Invocation command line was
13262 CONFIG_FILES = $CONFIG_FILES
13263 CONFIG_HEADERS = $CONFIG_HEADERS
13264 CONFIG_LINKS = $CONFIG_LINKS
13265 CONFIG_COMMANDS = $CONFIG_COMMANDS
13268 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13273 case $ac_config_files in *"
13274 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13277 case $ac_config_headers in *"
13278 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13282 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13283 # Files that config.status was made for.
13284 config_files="$ac_config_files"
13285 config_headers="$ac_config_headers"
13286 config_links="$ac_config_links"
13287 config_commands="$ac_config_commands"
13291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13293 \`$as_me' instantiates files and other configuration actions
13294 from templates according to the current configuration. Unless the files
13295 and actions are specified as TAGs, all are instantiated by default.
13297 Usage: $0 [OPTION]... [TAG]...
13299 -h, --help print this help, then exit
13300 -V, --version print version number and configuration settings, then exit
13301 --config print configuration, then exit
13302 -q, --quiet, --silent
13303 do not print progress messages
13304 -d, --debug don't remove temporary files
13305 --recheck update $as_me by reconfiguring in the same conditions
13306 --file=FILE[:TEMPLATE]
13307 instantiate the configuration file FILE
13308 --header=FILE[:TEMPLATE]
13309 instantiate the configuration header FILE
13311 Configuration files:
13314 Configuration headers:
13317 Configuration links:
13320 Configuration commands:
13323 Report bugs to <xenomai-help@gna.org>."
13326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13327 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13329 Xenomai config.status 2.5.94
13330 configured by $0, generated by GNU Autoconf 2.67,
13331 with options \\"\$ac_cs_config\\"
13333 Copyright (C) 2010 Free Software Foundation, Inc.
13334 This config.status script is free software; the Free Software Foundation
13335 gives unlimited permission to copy, distribute and modify it."
13342 test -n "\$AWK" || AWK=awk
13345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13346 # The default lists apply if the user does not specify any file.
13352 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13353 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13357 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13369 # Handling of the options.
13370 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13372 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13373 $as_echo "$ac_cs_version"; exit ;;
13374 --config |
--confi |
--conf |
--con |
--co |
--c )
13375 $as_echo "$ac_cs_config"; exit ;;
13376 --debug |
--debu |
--deb |
--de |
--d |
-d )
13378 --file |
--fil |
--fi |
--f )
13381 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13382 '') as_fn_error $?
"missing file argument" ;;
13384 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13385 ac_need_defaults
=false
;;
13386 --header |
--heade |
--head |
--hea )
13389 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13391 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
13392 ac_need_defaults
=false
;;
13394 # Conflict between --help and --header
13395 as_fn_error $?
"ambiguous option: \`$1'
13396 Try \`$0 --help' for more information.";;
13397 --help |
--hel |
-h )
13398 $as_echo "$ac_cs_usage"; exit ;;
13399 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13400 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13403 # This is an error.
13404 -*) as_fn_error $?
"unrecognized option: \`$1'
13405 Try \`$0 --help' for more information." ;;
13407 *) as_fn_append ac_config_targets
" $1"
13408 ac_need_defaults
=false
;;
13414 ac_configure_extra_args
=
13416 if $ac_cs_silent; then
13418 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13422 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13423 if \$ac_cs_recheck; then
13424 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13426 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13427 CONFIG_SHELL='$SHELL'
13428 export CONFIG_SHELL
13433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13437 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13438 ## Running $as_me. ##
13444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13448 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13451 # The HP-UX ksh and POSIX shell print the target directory to stdout
13452 # if CDPATH is set.
13453 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13455 sed_quote_subst='$sed_quote_subst'
13456 double_quote_subst='$double_quote_subst'
13457 delay_variable_subst='$delay_variable_subst'
13458 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13459 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13460 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13461 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13462 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13463 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13464 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13465 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13466 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13467 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13468 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13469 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13470 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13471 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13472 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13473 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13474 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13475 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13476 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13477 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13478 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13479 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13480 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13481 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13482 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13483 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13484 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13485 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13486 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13487 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13488 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13489 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13490 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13491 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13492 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13493 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13494 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13495 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13496 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13497 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13498 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13499 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13500 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13501 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"`'
13502 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"`'
13503 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13504 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13505 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13506 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13507 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13508 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13509 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13510 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13511 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13512 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13513 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13514 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13515 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13516 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13517 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13518 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13519 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13520 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13521 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13522 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13523 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13524 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13525 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13526 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13527 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13528 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13529 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13530 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13531 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13532 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13533 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13534 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13535 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13536 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13537 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13538 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13539 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13540 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13541 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13542 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13543 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13544 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13545 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13546 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13547 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13548 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13549 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13550 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13551 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13552 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13553 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13554 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13555 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13556 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13557 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13558 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13559 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13560 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13561 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13562 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13563 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13564 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13565 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13566 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13567 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13568 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13569 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13570 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13571 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13572 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13573 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13574 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13575 LD_='`$ECHO "X$LD_" | $Xsed -e "$delay_single_quote_subst"`'
13576 old_archive_cmds_='`$ECHO "X$old_archive_cmds_" | $Xsed -e "$delay_single_quote_subst"`'
13577 compiler_='`$ECHO "X$compiler_" | $Xsed -e "$delay_single_quote_subst"`'
13578 GCC_='`$ECHO "X$GCC_" | $Xsed -e "$delay_single_quote_subst"`'
13579 lt_prog_compiler_no_builtin_flag_='`$ECHO "X$lt_prog_compiler_no_builtin_flag_" | $Xsed -e "$delay_single_quote_subst"`'
13580 lt_prog_compiler_wl_='`$ECHO "X$lt_prog_compiler_wl_" | $Xsed -e "$delay_single_quote_subst"`'
13581 lt_prog_compiler_pic_='`$ECHO "X$lt_prog_compiler_pic_" | $Xsed -e "$delay_single_quote_subst"`'
13582 lt_prog_compiler_static_='`$ECHO "X$lt_prog_compiler_static_" | $Xsed -e "$delay_single_quote_subst"`'
13583 lt_cv_prog_compiler_c_o_='`$ECHO "X$lt_cv_prog_compiler_c_o_" | $Xsed -e "$delay_single_quote_subst"`'
13584 archive_cmds_need_lc_='`$ECHO "X$archive_cmds_need_lc_" | $Xsed -e "$delay_single_quote_subst"`'
13585 enable_shared_with_static_runtimes_='`$ECHO "X$enable_shared_with_static_runtimes_" | $Xsed -e "$delay_single_quote_subst"`'
13586 export_dynamic_flag_spec_='`$ECHO "X$export_dynamic_flag_spec_" | $Xsed -e "$delay_single_quote_subst"`'
13587 whole_archive_flag_spec_='`$ECHO "X$whole_archive_flag_spec_" | $Xsed -e "$delay_single_quote_subst"`'
13588 compiler_needs_object_='`$ECHO "X$compiler_needs_object_" | $Xsed -e "$delay_single_quote_subst"`'
13589 old_archive_from_new_cmds_='`$ECHO "X$old_archive_from_new_cmds_" | $Xsed -e "$delay_single_quote_subst"`'
13590 old_archive_from_expsyms_cmds_='`$ECHO "X$old_archive_from_expsyms_cmds_" | $Xsed -e "$delay_single_quote_subst"`'
13591 archive_cmds_='`$ECHO "X$archive_cmds_" | $Xsed -e "$delay_single_quote_subst"`'
13592 archive_expsym_cmds_='`$ECHO "X$archive_expsym_cmds_" | $Xsed -e "$delay_single_quote_subst"`'
13593 module_cmds_='`$ECHO "X$module_cmds_" | $Xsed -e "$delay_single_quote_subst"`'
13594 module_expsym_cmds_='`$ECHO "X$module_expsym_cmds_" | $Xsed -e "$delay_single_quote_subst"`'
13595 with_gnu_ld_='`$ECHO "X$with_gnu_ld_" | $Xsed -e "$delay_single_quote_subst"`'
13596 allow_undefined_flag_='`$ECHO "X$allow_undefined_flag_" | $Xsed -e "$delay_single_quote_subst"`'
13597 no_undefined_flag_='`$ECHO "X$no_undefined_flag_" | $Xsed -e "$delay_single_quote_subst"`'
13598 hardcode_libdir_flag_spec_='`$ECHO "X$hardcode_libdir_flag_spec_" | $Xsed -e "$delay_single_quote_subst"`'
13599 hardcode_libdir_flag_spec_ld_='`$ECHO "X$hardcode_libdir_flag_spec_ld_" | $Xsed -e "$delay_single_quote_subst"`'
13600 hardcode_libdir_separator_='`$ECHO "X$hardcode_libdir_separator_" | $Xsed -e "$delay_single_quote_subst"`'
13601 hardcode_direct_='`$ECHO "X$hardcode_direct_" | $Xsed -e "$delay_single_quote_subst"`'
13602 hardcode_direct_absolute_='`$ECHO "X$hardcode_direct_absolute_" | $Xsed -e "$delay_single_quote_subst"`'
13603 hardcode_minus_L_='`$ECHO "X$hardcode_minus_L_" | $Xsed -e "$delay_single_quote_subst"`'
13604 hardcode_shlibpath_var_='`$ECHO "X$hardcode_shlibpath_var_" | $Xsed -e "$delay_single_quote_subst"`'
13605 hardcode_automatic_='`$ECHO "X$hardcode_automatic_" | $Xsed -e "$delay_single_quote_subst"`'
13606 inherit_rpath_='`$ECHO "X$inherit_rpath_" | $Xsed -e "$delay_single_quote_subst"`'
13607 link_all_deplibs_='`$ECHO "X$link_all_deplibs_" | $Xsed -e "$delay_single_quote_subst"`'
13608 fix_srcfile_path_='`$ECHO "X$fix_srcfile_path_" | $Xsed -e "$delay_single_quote_subst"`'
13609 always_export_symbols_='`$ECHO "X$always_export_symbols_" | $Xsed -e "$delay_single_quote_subst"`'
13610 export_symbols_cmds_='`$ECHO "X$export_symbols_cmds_" | $Xsed -e "$delay_single_quote_subst"`'
13611 exclude_expsyms_='`$ECHO "X$exclude_expsyms_" | $Xsed -e "$delay_single_quote_subst"`'
13612 include_expsyms_='`$ECHO "X$include_expsyms_" | $Xsed -e "$delay_single_quote_subst"`'
13613 prelink_cmds_='`$ECHO "X$prelink_cmds_" | $Xsed -e "$delay_single_quote_subst"`'
13614 file_list_spec_='`$ECHO "X$file_list_spec_" | $Xsed -e "$delay_single_quote_subst"`'
13615 hardcode_action_='`$ECHO "X$hardcode_action_" | $Xsed -e "$delay_single_quote_subst"`'
13618 LTCFLAGS='$LTCFLAGS'
13619 compiler='$compiler_DEFAULT'
13621 # Quote evaled strings.
13632 deplibs_check_method \
13641 lt_cv_sys_global_symbol_pipe \
13642 lt_cv_sys_global_symbol_to_cdecl \
13643 lt_cv_sys_global_symbol_to_c_name_address \
13644 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13647 lt_prog_compiler_no_builtin_flag \
13648 lt_prog_compiler_wl \
13649 lt_prog_compiler_pic \
13650 lt_prog_compiler_static \
13651 lt_cv_prog_compiler_c_o \
13659 export_dynamic_flag_spec \
13660 whole_archive_flag_spec \
13661 compiler_needs_object \
13663 allow_undefined_flag \
13664 no_undefined_flag \
13665 hardcode_libdir_flag_spec \
13666 hardcode_libdir_flag_spec_ld \
13667 hardcode_libdir_separator \
13672 variables_saved_for_relink \
13674 library_names_spec \
13681 lt_prog_compiler_no_builtin_flag_ \
13682 lt_prog_compiler_wl_ \
13683 lt_prog_compiler_pic_ \
13684 lt_prog_compiler_static_ \
13685 lt_cv_prog_compiler_c_o_ \
13686 export_dynamic_flag_spec_ \
13687 whole_archive_flag_spec_ \
13688 compiler_needs_object_ \
13690 allow_undefined_flag_ \
13691 no_undefined_flag_ \
13692 hardcode_libdir_flag_spec_ \
13693 hardcode_libdir_flag_spec_ld_ \
13694 hardcode_libdir_separator_ \
13695 fix_srcfile_path_ \
13698 file_list_spec_; do
13699 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13700 *[\\\\\\\`\\"\\\$]*)
13701 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13704 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13709 # Double-quote double-evaled strings.
13710 for var in reload_cmds \
13711 old_postinstall_cmds \
13712 old_postuninstall_cmds \
13714 extract_expsyms_cmds \
13715 old_archive_from_new_cmds \
13716 old_archive_from_expsyms_cmds \
13718 archive_expsym_cmds \
13720 module_expsym_cmds \
13721 export_symbols_cmds \
13724 postuninstall_cmds \
13726 sys_lib_search_path_spec \
13727 sys_lib_dlsearch_path_spec \
13728 old_archive_cmds_ \
13729 old_archive_from_new_cmds_ \
13730 old_archive_from_expsyms_cmds_ \
13732 archive_expsym_cmds_ \
13734 module_expsym_cmds_ \
13735 export_symbols_cmds_ \
13737 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
13738 *[\\\\\\\`\\"\\\$]*)
13739 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13742 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13747 # Fix-up fallback echo if it was mangled by the above quoting rules.
13749 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
13753 ac_aux_dir='$ac_aux_dir'
13754 xsi_shell='$xsi_shell'
13755 lt_shell_append='$lt_shell_append'
13757 # See if we are running on zsh, and set the options which allow our
13758 # commands through without removal of \ escapes INIT.
13759 if test -n "\${ZSH_VERSION+set}" ; then
13760 setopt NO_GLOB_SUBST
13766 TIMESTAMP='$TIMESTAMP'
13775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13777 # Handling of arguments.
13778 for ac_config_target
in $ac_config_targets
13780 case $ac_config_target in
13781 "src/include/xeno_config.h") CONFIG_HEADERS
="$CONFIG_HEADERS src/include/xeno_config.h" ;;
13782 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
13783 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
13784 "src/include/asm/xenomai") CONFIG_LINKS
="$CONFIG_LINKS src/include/asm/xenomai:$srcdir/include/$base" ;;
13785 "src/include/$base/xenomai") CONFIG_LINKS
="$CONFIG_LINKS src/include/$base/xenomai:$srcdir/include/$base" ;;
13786 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13787 "config/Makefile") CONFIG_FILES
="$CONFIG_FILES config/Makefile" ;;
13788 "scripts/Makefile") CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
13789 "scripts/xeno-config") CONFIG_FILES
="$CONFIG_FILES scripts/xeno-config" ;;
13790 "scripts/xeno") CONFIG_FILES
="$CONFIG_FILES scripts/xeno" ;;
13791 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
13792 "src/skins/Makefile") CONFIG_FILES
="$CONFIG_FILES src/skins/Makefile" ;;
13793 "src/skins/common/Makefile") CONFIG_FILES
="$CONFIG_FILES src/skins/common/Makefile" ;;
13794 "src/skins/posix/Makefile") CONFIG_FILES
="$CONFIG_FILES src/skins/posix/Makefile" ;;
13795 "src/skins/native/Makefile") CONFIG_FILES
="$CONFIG_FILES src/skins/native/Makefile" ;;
13796 "src/skins/native/libxenomai_native.pc") CONFIG_FILES
="$CONFIG_FILES src/skins/native/libxenomai_native.pc" ;;
13797 "src/skins/vxworks/Makefile") CONFIG_FILES
="$CONFIG_FILES src/skins/vxworks/Makefile" ;;
13798 "src/skins/vxworks/libxenomai_vxworks.pc") CONFIG_FILES
="$CONFIG_FILES src/skins/vxworks/libxenomai_vxworks.pc" ;;
13799 "src/skins/psos+/Makefile") CONFIG_FILES
="$CONFIG_FILES src/skins/psos+/Makefile" ;;
13800 "src/skins/psos+/libxenomai_psos+.pc") CONFIG_FILES
="$CONFIG_FILES src/skins/psos+/libxenomai_psos+.pc" ;;
13801 "src/skins/vrtx/Makefile") CONFIG_FILES
="$CONFIG_FILES src/skins/vrtx/Makefile" ;;
13802 "src/skins/vrtx/libxenomai_vrtx.pc") CONFIG_FILES
="$CONFIG_FILES src/skins/vrtx/libxenomai_vrtx.pc" ;;
13803 "src/skins/rtdm/Makefile") CONFIG_FILES
="$CONFIG_FILES src/skins/rtdm/Makefile" ;;
13804 "src/skins/rtdm/libxenomai_rtdm.pc") CONFIG_FILES
="$CONFIG_FILES src/skins/rtdm/libxenomai_rtdm.pc" ;;
13805 "src/skins/uitron/Makefile") CONFIG_FILES
="$CONFIG_FILES src/skins/uitron/Makefile" ;;
13806 "src/skins/uitron/libxenomai_uitron.pc") CONFIG_FILES
="$CONFIG_FILES src/skins/uitron/libxenomai_uitron.pc" ;;
13807 "src/drvlib/Makefile") CONFIG_FILES
="$CONFIG_FILES src/drvlib/Makefile" ;;
13808 "src/drvlib/analogy/Makefile") CONFIG_FILES
="$CONFIG_FILES src/drvlib/analogy/Makefile" ;;
13809 "src/include/Makefile") CONFIG_FILES
="$CONFIG_FILES src/include/Makefile" ;;
13810 "src/testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES src/testsuite/Makefile" ;;
13811 "src/testsuite/latency/Makefile") CONFIG_FILES
="$CONFIG_FILES src/testsuite/latency/Makefile" ;;
13812 "src/testsuite/cyclic/Makefile") CONFIG_FILES
="$CONFIG_FILES src/testsuite/cyclic/Makefile" ;;
13813 "src/testsuite/switchtest/Makefile") CONFIG_FILES
="$CONFIG_FILES src/testsuite/switchtest/Makefile" ;;
13814 "src/testsuite/irqbench/Makefile") CONFIG_FILES
="$CONFIG_FILES src/testsuite/irqbench/Makefile" ;;
13815 "src/testsuite/clocktest/Makefile") CONFIG_FILES
="$CONFIG_FILES src/testsuite/clocktest/Makefile" ;;
13816 "src/testsuite/klatency/Makefile") CONFIG_FILES
="$CONFIG_FILES src/testsuite/klatency/Makefile" ;;
13817 "src/testsuite/unit/Makefile") CONFIG_FILES
="$CONFIG_FILES src/testsuite/unit/Makefile" ;;
13818 "src/testsuite/xeno-test/Makefile") CONFIG_FILES
="$CONFIG_FILES src/testsuite/xeno-test/Makefile" ;;
13819 "src/testsuite/regression/Makefile") CONFIG_FILES
="$CONFIG_FILES src/testsuite/regression/Makefile" ;;
13820 "src/testsuite/regression/native/Makefile") CONFIG_FILES
="$CONFIG_FILES src/testsuite/regression/native/Makefile" ;;
13821 "src/testsuite/regression/posix/Makefile") CONFIG_FILES
="$CONFIG_FILES src/testsuite/regression/posix/Makefile" ;;
13822 "src/testsuite/regression/native+posix/Makefile") CONFIG_FILES
="$CONFIG_FILES src/testsuite/regression/native+posix/Makefile" ;;
13823 "src/utils/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/Makefile" ;;
13824 "src/utils/can/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/can/Makefile" ;;
13825 "src/utils/analogy/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/analogy/Makefile" ;;
13826 "src/utils/ps/Makefile") CONFIG_FILES
="$CONFIG_FILES src/utils/ps/Makefile" ;;
13827 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
13828 "include/asm-generic/Makefile") CONFIG_FILES
="$CONFIG_FILES include/asm-generic/Makefile" ;;
13829 "include/asm-generic/bits/Makefile") CONFIG_FILES
="$CONFIG_FILES include/asm-generic/bits/Makefile" ;;
13830 "include/asm-blackfin/Makefile") CONFIG_FILES
="$CONFIG_FILES include/asm-blackfin/Makefile" ;;
13831 "include/asm-blackfin/bits/Makefile") CONFIG_FILES
="$CONFIG_FILES include/asm-blackfin/bits/Makefile" ;;
13832 "include/asm-x86/Makefile") CONFIG_FILES
="$CONFIG_FILES include/asm-x86/Makefile" ;;
13833 "include/asm-x86/bits/Makefile") CONFIG_FILES
="$CONFIG_FILES include/asm-x86/bits/Makefile" ;;
13834 "include/asm-powerpc/Makefile") CONFIG_FILES
="$CONFIG_FILES include/asm-powerpc/Makefile" ;;
13835 "include/asm-powerpc/bits/Makefile") CONFIG_FILES
="$CONFIG_FILES include/asm-powerpc/bits/Makefile" ;;
13836 "include/asm-arm/Makefile") CONFIG_FILES
="$CONFIG_FILES include/asm-arm/Makefile" ;;
13837 "include/asm-arm/bits/Makefile") CONFIG_FILES
="$CONFIG_FILES include/asm-arm/bits/Makefile" ;;
13838 "include/asm-nios2/Makefile") CONFIG_FILES
="$CONFIG_FILES include/asm-nios2/Makefile" ;;
13839 "include/asm-nios2/bits/Makefile") CONFIG_FILES
="$CONFIG_FILES include/asm-nios2/bits/Makefile" ;;
13840 "include/asm-sh/Makefile") CONFIG_FILES
="$CONFIG_FILES include/asm-sh/Makefile" ;;
13841 "include/asm-sh/bits/Makefile") CONFIG_FILES
="$CONFIG_FILES include/asm-sh/bits/Makefile" ;;
13842 "include/asm-sim/Makefile") CONFIG_FILES
="$CONFIG_FILES include/asm-sim/Makefile" ;;
13843 "include/asm-sim/bits/Makefile") CONFIG_FILES
="$CONFIG_FILES include/asm-sim/bits/Makefile" ;;
13844 "include/native/Makefile") CONFIG_FILES
="$CONFIG_FILES include/native/Makefile" ;;
13845 "include/nucleus/Makefile") CONFIG_FILES
="$CONFIG_FILES include/nucleus/Makefile" ;;
13846 "include/posix/Makefile") CONFIG_FILES
="$CONFIG_FILES include/posix/Makefile" ;;
13847 "include/posix/sys/Makefile") CONFIG_FILES
="$CONFIG_FILES include/posix/sys/Makefile" ;;
13848 "include/psos+/Makefile") CONFIG_FILES
="$CONFIG_FILES include/psos+/Makefile" ;;
13849 "include/rtdm/Makefile") CONFIG_FILES
="$CONFIG_FILES include/rtdm/Makefile" ;;
13850 "include/analogy/Makefile") CONFIG_FILES
="$CONFIG_FILES include/analogy/Makefile" ;;
13851 "include/uitron/Makefile") CONFIG_FILES
="$CONFIG_FILES include/uitron/Makefile" ;;
13852 "include/vrtx/Makefile") CONFIG_FILES
="$CONFIG_FILES include/vrtx/Makefile" ;;
13853 "include/vxworks/Makefile") CONFIG_FILES
="$CONFIG_FILES include/vxworks/Makefile" ;;
13854 "src/skins/posix/libxenomai_posix.pc") CONFIG_FILES
="$CONFIG_FILES src/skins/posix/libxenomai_posix.pc" ;;
13855 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
13856 "doc/txt/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/txt/Makefile" ;;
13857 "doc/man/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/man/Makefile" ;;
13858 "doc/man/clocktest.man") CONFIG_FILES
="$CONFIG_FILES doc/man/clocktest.man" ;;
13859 "doc/man/cyclictest.man") CONFIG_FILES
="$CONFIG_FILES doc/man/cyclictest.man" ;;
13860 "doc/man/irqbench.man") CONFIG_FILES
="$CONFIG_FILES doc/man/irqbench.man" ;;
13861 "doc/man/irqloop.man") CONFIG_FILES
="$CONFIG_FILES doc/man/irqloop.man" ;;
13862 "doc/man/klatency.man") CONFIG_FILES
="$CONFIG_FILES doc/man/klatency.man" ;;
13863 "doc/man/latency.man") CONFIG_FILES
="$CONFIG_FILES doc/man/latency.man" ;;
13864 "doc/man/rtcanconfig.man") CONFIG_FILES
="$CONFIG_FILES doc/man/rtcanconfig.man" ;;
13865 "doc/man/rtcanrecv.man") CONFIG_FILES
="$CONFIG_FILES doc/man/rtcanrecv.man" ;;
13866 "doc/man/rtcansend.man") CONFIG_FILES
="$CONFIG_FILES doc/man/rtcansend.man" ;;
13867 "doc/man/switchbench.man") CONFIG_FILES
="$CONFIG_FILES doc/man/switchbench.man" ;;
13868 "doc/man/switchtest.man") CONFIG_FILES
="$CONFIG_FILES doc/man/switchtest.man" ;;
13869 "doc/man/xeno.man") CONFIG_FILES
="$CONFIG_FILES doc/man/xeno.man" ;;
13870 "doc/man/xeno-config.man") CONFIG_FILES
="$CONFIG_FILES doc/man/xeno-config.man" ;;
13871 "doc/doxygen/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/doxygen/Makefile" ;;
13872 "doc/doxygen/Doxyfile-common") CONFIG_FILES
="$CONFIG_FILES doc/doxygen/Doxyfile-common" ;;
13873 "doc/doxygen/Doxyfile") CONFIG_FILES
="$CONFIG_FILES doc/doxygen/Doxyfile" ;;
13874 "doc/doxygen/Doxyfile-native") CONFIG_FILES
="$CONFIG_FILES doc/doxygen/Doxyfile-native" ;;
13875 "doc/doxygen/Doxyfile-nucleus") CONFIG_FILES
="$CONFIG_FILES doc/doxygen/Doxyfile-nucleus" ;;
13876 "doc/doxygen/Doxyfile-posix") CONFIG_FILES
="$CONFIG_FILES doc/doxygen/Doxyfile-posix" ;;
13877 "doc/doxygen/Doxyfile-rtdm") CONFIG_FILES
="$CONFIG_FILES doc/doxygen/Doxyfile-rtdm" ;;
13878 "doc/docbook/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/docbook/Makefile" ;;
13879 "doc/docbook/catalog") CONFIG_FILES
="$CONFIG_FILES doc/docbook/catalog" ;;
13880 "doc/docbook/custom-stylesheets/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/docbook/custom-stylesheets/Makefile" ;;
13881 "doc/docbook/custom-stylesheets/xsl/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/docbook/custom-stylesheets/xsl/Makefile" ;;
13882 "doc/docbook/custom-stylesheets/xsl/common/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/docbook/custom-stylesheets/xsl/common/Makefile" ;;
13883 "doc/docbook/custom-stylesheets/xsl/fo/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/docbook/custom-stylesheets/xsl/fo/Makefile" ;;
13884 "doc/docbook/custom-stylesheets/xsl/html/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/docbook/custom-stylesheets/xsl/html/Makefile" ;;
13885 "doc/docbook/custom-stylesheets/xsl/html/chunk.xsl") CONFIG_FILES
="$CONFIG_FILES doc/docbook/custom-stylesheets/xsl/html/chunk.xsl" ;;
13886 "doc/docbook/custom-stylesheets/xsl/html/onechunk.xsl") CONFIG_FILES
="$CONFIG_FILES doc/docbook/custom-stylesheets/xsl/html/onechunk.xsl" ;;
13887 "doc/docbook/xenomai/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/docbook/xenomai/Makefile" ;;
13889 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
13894 # If the user did not use the arguments to specify the items to instantiate,
13895 # then the envvar interface is used. Set only those that are not.
13896 # We use the long form for the default assignment because of an extremely
13897 # bizarre bug on SunOS 4.1.3.
13898 if $ac_need_defaults; then
13899 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13900 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13901 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
13902 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13905 # Have a temporary directory for convenience. Make it in the build tree
13906 # simply because there is no reason against having it here, and in addition,
13907 # creating and moving files from /tmp can sometimes cause problems.
13908 # Hook for its removal unless debugging.
13909 # Note that there is a small window in which the directory will not be cleaned:
13910 # after its creation but before its name has been assigned to `$tmp'.
13914 trap 'exit_status=$?
13915 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13917 trap 'as_fn_exit 1' 1 2 13 15
13919 # Create a (secure) tmp directory for tmp files.
13922 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13923 test -n "$tmp" && test -d "$tmp"
13926 tmp
=.
/conf$$
-$RANDOM
13927 (umask 077 && mkdir
"$tmp")
13928 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13930 # Set up the scripts for CONFIG_FILES section.
13931 # No need to generate them if there are no CONFIG_FILES.
13932 # This happens for instance with `./config.status config.h'.
13933 if test -n "$CONFIG_FILES"; then
13936 ac_cr
=`echo X | tr X '\015'`
13937 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13938 # But we know of no other shell where ac_cr would be empty at this
13939 # point, so we can use a bashism as a fallback.
13940 if test "x$ac_cr" = x
; then
13941 eval ac_cr
=\$
\'\\r
\'
13943 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13944 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13947 ac_cs_awk_cr
=$ac_cr
13950 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13955 echo "cat >conf$$subs.awk <<_ACEOF" &&
13956 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13958 } >conf$$subs.sh ||
13959 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13960 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13962 for ac_last_try in false false false false false :; do
13963 . ./conf$$subs.sh ||
13964 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13966 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13967 if test $ac_delim_n = $ac_delim_num; then
13969 elif $ac_last_try; then
13970 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13972 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13975 rm -f conf$$subs.sh
13977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13978 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13982 s/^/S["/; s
/!.
*/"]=/
13992 s/\(.\{148\}\)..*/\1/
13994 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13999 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14006 s/\(.\{148\}\)..*/\1/
14008 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14012 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14017 ' <conf$$subs.awk | sed '
14022 ' >>$CONFIG_STATUS || ac_write_fail=1
14023 rm -f conf$$subs.awk
14024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14026 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14027 for (key in S) S_is_set[key] = 1
14033 nfields = split(line, field, "@
")
14035 len = length(field[1])
14036 for (i = 2; i < nfields; i++) {
14038 keylen = length(key)
14039 if (S_is_set[key]) {
14041 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14042 len += length(value) + length(field[++i])
14053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14054 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14055 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14058 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14059 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
14062 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14063 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
14064 # trailing colons and then remove the whole line if VPATH becomes empty
14065 # (actually we leave an empty line to preserve line numbers).
14066 if test "x
$srcdir" = x.; then
14067 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14086 fi # test -n "$CONFIG_FILES"
14088 # Set up the scripts for CONFIG_HEADERS section.
14089 # No need to generate them if there are no CONFIG_HEADERS.
14090 # This happens for instance with `./config.status Makefile'.
14091 if test -n "$CONFIG_HEADERS"; then
14092 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14096 # Transform confdefs.h into an awk script `defines.awk', embedded as
14097 # here-document in config.status, that substitutes the proper values into
14098 # config.h.in to produce config.h.
14100 # Create a delimiter string that does not exist in confdefs.h, to ease
14101 # handling of long lines.
14103 for ac_last_try in false false :; do
14104 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14105 if test -z "$ac_t"; then
14107 elif $ac_last_try; then
14108 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
14110 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14114 # For the awk script, D is an array of macro values keyed by name,
14115 # likewise P contains macro parameters if any. Preserve backslash
14116 # newline sequences.
14118 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14120 s/.\{148\}/&'"$ac_delim"'/g
14123 s/^[ ]*#[ ]*define[ ][ ]*/ /
14130 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14132 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14136 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14137 D["\
1"]=" \
3\\\\\\n
"\\/p
14139 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14144 s/.\{148\}/&'"$ac_delim"'/g
14149 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14152 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14154 ' <confdefs.h | sed '
14155 s/'"$ac_delim"'/"\\\
14156 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14159 for (key in D) D_is_set[key] = 1
14162 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14164 split(line, arg, " ")
14165 if (arg[1] == "#") {
14169 defundef
= substr
(arg
[1], 2)
14172 split(mac1
, mac2
, "(") #)
14174 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14175 if (D_is_set
[macro
]) {
14176 # Preserve the white space surrounding the "#".
14177 print prefix
"define", macro P
[macro
] D
[macro
]
14180 # Replace #undef with comments. This is necessary, for example,
14181 # in the case of _POSIX_SOURCE, which is predefined and required
14182 # on some systems where configure will not decide to define it.
14183 if (defundef
== "undef") {
14184 print
"/*", prefix defundef
, macro
, "*/"
14192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14193 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
14194 fi # test -n "$CONFIG_HEADERS"
14197 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
14202 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14204 case $ac_mode$ac_tag in
14206 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
14207 :[FH
]-) ac_tag
=-:-;;
14208 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14225 -) ac_f
="$tmp/stdin";;
14226 *) # Look for the file first in the build tree, then in the source tree
14227 # (if the path is not absolute). The absolute path cannot be DOS-style,
14228 # because $ac_f cannot contain `:'.
14232 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14234 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
14236 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14237 as_fn_append ac_file_inputs
" '$ac_f'"
14240 # Let's still pretend it is `configure' which instantiates (i.e., don't
14241 # use $as_me), people would be surprised to read:
14242 # /* config.h. Generated by config.status. */
14243 configure_input
='Generated from '`
14244 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14246 if test x
"$ac_file" != x-
; then
14247 configure_input
="$ac_file. $configure_input"
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14249 $as_echo "$as_me: creating $ac_file" >&6;}
14251 # Neutralize special characters interpreted by sed in replacement strings.
14252 case $configure_input in #(
14253 *\
&* |
*\|
* |
*\\* )
14254 ac_sed_conf_input
=`$as_echo "$configure_input" |
14255 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14256 *) ac_sed_conf_input
=$configure_input;;
14260 *:-:* |
*:-) cat >"$tmp/stdin" \
14261 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
14266 ac_dir
=`$as_dirname -- "$ac_file" ||
14267 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14268 X"$ac_file" : 'X\(//\)[^/]' \| \
14269 X"$ac_file" : 'X\(//\)$' \| \
14270 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14271 $as_echo X"$ac_file" |
14272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14276 /^X\(\/\/\)[^/].*/{
14289 as_dir
="$ac_dir"; as_fn_mkdir_p
14293 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14295 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14296 # A ".." for each directory in $ac_dir_suffix.
14297 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14298 case $ac_top_builddir_sub in
14299 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14300 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14303 ac_abs_top_builddir
=$ac_pwd
14304 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14305 # for backward compatibility:
14306 ac_top_builddir
=$ac_top_build_prefix
14309 .
) # We are building in place.
14311 ac_top_srcdir
=$ac_top_builddir_sub
14312 ac_abs_top_srcdir
=$ac_pwd ;;
14313 [\\/]* | ?
:[\\/]* ) # Absolute name.
14314 ac_srcdir
=$srcdir$ac_dir_suffix;
14315 ac_top_srcdir
=$srcdir
14316 ac_abs_top_srcdir
=$srcdir ;;
14317 *) # Relative name.
14318 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14319 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14320 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14322 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14332 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
14333 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
14335 ac_MKDIR_P
=$MKDIR_P
14337 [\\/$
]* | ?
:[\\/]* ) ;;
14338 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
14342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14343 # If the template does not know about datarootdir, expand it.
14344 # FIXME: This hack should be removed a few years after 2.60.
14345 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14356 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14357 *datarootdir
*) ac_datarootdir_seen
=yes;;
14358 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14360 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14363 ac_datarootdir_hack='
14364 s&@datadir@&$datadir&g
14365 s&@docdir@&$docdir&g
14366 s&@infodir@&$infodir&g
14367 s&@localedir@&$localedir&g
14368 s&@mandir@&$mandir&g
14369 s&\\\${datarootdir}&$datarootdir&g' ;;
14373 # Neutralize VPATH when `$srcdir' = `.'.
14374 # Shell code in configure.ac might set extrasub.
14375 # FIXME: do we really want to maintain this feature?
14376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14377 ac_sed_extra="$ac_vpsub
14380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14382 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14383 s|@configure_input@|
$ac_sed_conf_input|
;t t
14384 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14385 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14386 s
&@srcdir@
&$ac_srcdir&;t t
14387 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14388 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14389 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14390 s
&@builddir@
&$ac_builddir&;t t
14391 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14392 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14393 s
&@INSTALL@
&$ac_INSTALL&;t t
14394 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
14395 $ac_datarootdir_hack
14397 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14398 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
14400 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14401 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14402 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14404 which seems to be undefined. Please make sure it is defined" >&5
14405 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14406 which seems to be undefined. Please make sure it is defined" >&2;}
14410 -) cat "$tmp/out" && rm -f "$tmp/out";;
14411 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14413 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14419 if test x"$ac_file" != x-; then
14421 $as_echo "/* $configure_input */" \
14422 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14423 } >"$tmp/config.h" \
14424 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14425 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14427 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14430 mv "$tmp/config.h" "$ac_file" \
14431 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14434 $as_echo "/* $configure_input */" \
14435 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14436 || as_fn_error $? "could not create -" "$LINENO" 5
14438 # Compute "$ac_file"'s index
in $config_headers.
14441 for _am_header
in $config_headers :; do
14442 case $_am_header in
14443 $_am_arg |
$_am_arg:* )
14446 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
14449 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14450 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14451 X"$_am_arg" : 'X\(//\)[^/]' \| \
14452 X"$_am_arg" : 'X\(//\)$' \| \
14453 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14454 $as_echo X"$_am_arg" |
14455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14459 /^X\(\/\/\)[^/].*/{
14471 s/.*/./; q'`/stamp-h
$_am_stamp_count
14478 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
14481 # Prefer the file from the source tree if names are identical.
14482 if test "$ac_source" = "$ac_file" ||
test ! -r "$ac_source"; then
14483 ac_source
=$srcdir/$ac_source
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
14487 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
14489 if test ! -r "$ac_source"; then
14490 as_fn_error $?
"$ac_source: file not found" "$LINENO" 5
14494 # Try a relative symlink, then a hard link, then a copy.
14496 [\\/$
]* | ?
:[\\/]* ) ac_rel_source
=$ac_source ;;
14497 *) ac_rel_source
=$ac_top_build_prefix$ac_source ;;
14499 ln -s "$ac_rel_source" "$ac_file" 2>/dev
/null ||
14500 ln "$ac_source" "$ac_file" 2>/dev
/null ||
14501 cp -p "$ac_source" "$ac_file" ||
14502 as_fn_error $?
"cannot link or copy $ac_source to $ac_file" "$LINENO" 5
14505 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14506 $as_echo "$as_me: executing $ac_file commands" >&6;}
14511 case $ac_file$ac_mode in
14512 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
14513 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14514 # are listed without --file. Let's play safe and only enable the eval
14515 # if we detect the quoting.
14516 case $CONFIG_FILES in
14517 *\'*) eval set x
"$CONFIG_FILES" ;;
14518 *) set x
$CONFIG_FILES ;;
14523 # Strip MF so we end up with the name of the file.
14524 mf
=`echo "$mf" | sed -e 's/:.*$//'`
14525 # Check whether this is an Automake generated Makefile or not.
14526 # We used to match only the files named `Makefile.in', but
14527 # some people rename them; so instead we look at the file content.
14528 # Grep'ing the first line is not enough: some people post-process
14529 # each Makefile.in and add a new line on top of each file to say so.
14530 # Grep'ing the whole file is not good either: AIX grep has a line
14531 # limit of 2048, but all sed's we know have understand at least 4000.
14532 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
14533 dirpart
=`$as_dirname -- "$mf" ||
14534 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14535 X"$mf" : 'X\(//\)[^/]' \| \
14536 X"$mf" : 'X\(//\)$' \| \
14537 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14539 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14543 /^X\(\/\/\)[^/].*/{
14559 # Extract the definition of DEPDIR, am__include, and am__quote
14560 # from the Makefile without running `make'.
14561 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
14562 test -z "$DEPDIR" && continue
14563 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
14564 test -z "am__include" && continue
14565 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
14566 # When using ansi2knr, U may be empty or an underscore; expand it
14567 U
=`sed -n 's/^U = //p' < "$mf"`
14568 # Find all dependency output files, they are included files with
14569 # $(DEPDIR) in their names. We invoke sed twice because it is the
14570 # simplest approach to changing $(DEPDIR) to its actual value in the
14572 for file in `sed -n "
14573 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14574 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14575 # Make sure the directory exists.
14576 test -f "$dirpart/$file" && continue
14577 fdir
=`$as_dirname -- "$file" ||
14578 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14579 X"$file" : 'X\(//\)[^/]' \| \
14580 X"$file" : 'X\(//\)$' \| \
14581 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14582 $as_echo X"$file" |
14583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14587 /^X\(\/\/\)[^/].*/{
14600 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
14601 # echo "creating $dirpart/$file"
14602 echo '# dummy' > "$dirpart/$file"
14609 # See if we are running on zsh, and set the options which allow our
14610 # commands through without removal of \ escapes.
14611 if test -n "${ZSH_VERSION+set}" ; then
14612 setopt NO_GLOB_SUBST
14615 cfgfile
="${ofile}T"
14616 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14619 cat <<_LT_EOF >> "$cfgfile"
14622 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14623 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14624 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14625 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14627 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14628 # 2006, 2007, 2008 Free Software Foundation, Inc.
14629 # Written by Gordon Matzigkeit, 1996
14631 # This file is part of GNU Libtool.
14633 # GNU Libtool is free software; you can redistribute it and/or
14634 # modify it under the terms of the GNU General Public License as
14635 # published by the Free Software Foundation; either version 2 of
14636 # the License, or (at your option) any later version.
14638 # As a special exception to the GNU General Public License,
14639 # if you distribute this file as part of a program or library that
14640 # is built using GNU Libtool, you may include this file under the
14641 # same distribution terms that you use for the rest of that program.
14643 # GNU Libtool is distributed in the hope that it will be useful,
14644 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14645 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14646 # GNU General Public License for more details.
14648 # You should have received a copy of the GNU General Public License
14649 # along with GNU Libtool; see the file COPYING. If not, a copy
14650 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14651 # obtained by writing to the Free Software Foundation, Inc.,
14652 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14655 # The names of the tagged configurations supported by this script.
14658 # ### BEGIN LIBTOOL CONFIG
14660 # Whether or not to build shared libraries.
14661 build_libtool_libs=$enable_shared
14663 # Which release of libtool.m4 was used?
14664 macro_version=$macro_version
14665 macro_revision=$macro_revision
14667 # Whether or not to build static libraries.
14668 build_old_libs=$enable_static
14670 # What type of objects to build.
14673 # Whether or not to optimize for fast installation.
14674 fast_install=$enable_fast_install
14677 host_alias=$host_alias
14681 # The build system.
14682 build_alias=$build_alias
14686 # A sed program that does not truncate output.
14689 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
14690 Xsed="\$SED -e 1s/^X//"
14692 # A grep program that handles long lines.
14698 # A literal string matcher.
14701 # A BSD- or MS-compatible name lister.
14704 # Whether we need soft or hard links.
14707 # What is the maximum length of a command?
14708 max_cmd_len=$max_cmd_len
14710 # Object file suffix (normally "o").
14713 # Executable file suffix (normally "").
14716 # whether the shell understands "unset".
14719 # turn spaces into newlines.
14722 # turn newlines into spaces.
14725 # How to create reloadable object files.
14726 reload_flag=$lt_reload_flag
14727 reload_cmds=$lt_reload_cmds
14729 # Method to check whether dependent libraries are shared objects.
14730 deplibs_check_method=$lt_deplibs_check_method
14732 # Command to use when deplibs_check_method == "file_magic".
14733 file_magic_cmd=$lt_file_magic_cmd
14737 AR_FLAGS=$lt_AR_FLAGS
14739 # A symbol stripping program.
14742 # Commands used to install an old-style archive.
14744 old_postinstall_cmds=$lt_old_postinstall_cmds
14745 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14750 # LTCC compiler flags.
14751 LTCFLAGS=$lt_CFLAGS
14753 # Take the output of nm and produce a listing of raw symbols and C names.
14754 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14756 # Transform the output of nm in a proper C declaration.
14757 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14759 # Transform the output of nm in a C name address pair.
14760 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14762 # Transform the output of nm in a C name address pair when lib prefix is needed.
14763 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14765 # The name of the directory that contains temporary libtool files.
14768 # Shell to use when invoking shell scripts.
14771 # An echo program that does not interpret backslashes.
14774 # Used to examine libraries when file_magic_cmd begins with "file".
14775 MAGIC_CMD=$MAGIC_CMD
14777 # Must we lock files when doing compilation?
14778 need_locks=$lt_need_locks
14780 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14781 DSYMUTIL=$lt_DSYMUTIL
14783 # Tool to change global to local symbols on Mac OS X.
14786 # Tool to manipulate fat objects and archives on Mac OS X.
14789 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
14792 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14793 OTOOL64=$lt_OTOOL64
14795 # Old archive suffix (normally "a").
14798 # Shared library suffix (normally ".so").
14799 shrext_cmds=$lt_shrext_cmds
14801 # The commands to extract the exported symbol list from a shared archive.
14802 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14804 # Variables whose values should be saved in libtool wrapper scripts and
14805 # restored at link time.
14806 variables_saved_for_relink=$lt_variables_saved_for_relink
14808 # Do we need the "lib" prefix for modules?
14809 need_lib_prefix=$need_lib_prefix
14811 # Do we need a version for libraries?
14812 need_version=$need_version
14814 # Library versioning type.
14815 version_type=$version_type
14817 # Shared library runtime path variable.
14818 runpath_var=$runpath_var
14820 # Shared library path variable.
14821 shlibpath_var=$shlibpath_var
14823 # Is shlibpath searched before the hard-coded library search path?
14824 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14826 # Format of library name prefix.
14827 libname_spec=$lt_libname_spec
14829 # List of archive names. First name is the real one, the rest are links.
14830 # The last name is the one that the linker finds with -lNAME
14831 library_names_spec=$lt_library_names_spec
14833 # The coded name of the library, if different from the real name.
14834 soname_spec=$lt_soname_spec
14836 # Command to use after installation of a shared archive.
14837 postinstall_cmds=$lt_postinstall_cmds
14839 # Command to use after uninstallation of a shared archive.
14840 postuninstall_cmds=$lt_postuninstall_cmds
14842 # Commands used to finish a libtool library installation in a directory.
14843 finish_cmds=$lt_finish_cmds
14845 # As "finish_cmds", except a single script fragment to be evaled but
14847 finish_eval=$lt_finish_eval
14849 # Whether we should hardcode library paths into libraries.
14850 hardcode_into_libs=$hardcode_into_libs
14852 # Compile-time system search path for libraries.
14853 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14855 # Run-time system search path for libraries.
14856 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14858 # Whether dlopen is supported.
14859 dlopen_support=$enable_dlopen
14861 # Whether dlopen of programs is supported.
14862 dlopen_self=$enable_dlopen_self
14864 # Whether dlopen of statically linked programs is supported.
14865 dlopen_self_static=$enable_dlopen_self_static
14867 # Commands to strip libraries.
14868 old_striplib=$lt_old_striplib
14869 striplib=$lt_striplib
14872 # The linker used to build libraries.
14875 # Commands used to build an old-style archive.
14876 old_archive_cmds=$lt_old_archive_cmds
14878 # A language specific compiler.
14881 # Is the compiler the GNU compiler?
14884 # Compiler flag to turn off builtin functions.
14885 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14887 # How to pass a linker flag through the compiler.
14888 wl=$lt_lt_prog_compiler_wl
14890 # Additional compiler flags for building library objects.
14891 pic_flag=$lt_lt_prog_compiler_pic
14893 # Compiler flag to prevent dynamic linking.
14894 link_static_flag=$lt_lt_prog_compiler_static
14896 # Does compiler simultaneously support -c and -o options?
14897 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14899 # Whether or not to add -lc for building shared libraries.
14900 build_libtool_need_lc=$archive_cmds_need_lc
14902 # Whether or not to disallow shared libs when runtime libs are static.
14903 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14905 # Compiler flag to allow reflexive dlopens.
14906 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14908 # Compiler flag to generate shared objects directly from archives.
14909 whole_archive_flag_spec=$lt_whole_archive_flag_spec
14911 # Whether the compiler copes with passing no objects directly.
14912 compiler_needs_object=$lt_compiler_needs_object
14914 # Create an old-style archive from a shared archive.
14915 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14917 # Create a temporary old-style archive to link instead of a shared archive.
14918 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14920 # Commands used to build a shared archive.
14921 archive_cmds=$lt_archive_cmds
14922 archive_expsym_cmds=$lt_archive_expsym_cmds
14924 # Commands used to build a loadable module if different from building
14925 # a shared archive.
14926 module_cmds=$lt_module_cmds
14927 module_expsym_cmds=$lt_module_expsym_cmds
14929 # Whether we are building with GNU ld or not.
14930 with_gnu_ld=$lt_with_gnu_ld
14932 # Flag that allows shared libraries with undefined symbols to be built.
14933 allow_undefined_flag=$lt_allow_undefined_flag
14935 # Flag that enforces no undefined symbols.
14936 no_undefined_flag=$lt_no_undefined_flag
14938 # Flag to hardcode \$libdir into a binary during linking.
14939 # This must work even if \$libdir does not exist
14940 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14942 # If ld is used when linking, flag to hardcode \$libdir into a binary
14943 # during linking. This must work even if \$libdir does not exist.
14944 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14946 # Whether we need a single "-rpath" flag with a separated argument.
14947 hardcode_libdir_separator=$lt_hardcode_libdir_separator
14949 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14950 # DIR into the resulting binary.
14951 hardcode_direct=$hardcode_direct
14953 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14954 # DIR into the resulting binary and the resulting library dependency is
14955 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14956 # library is relocated.
14957 hardcode_direct_absolute=$hardcode_direct_absolute
14959 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14960 # into the resulting binary.
14961 hardcode_minus_L=$hardcode_minus_L
14963 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14964 # into the resulting binary.
14965 hardcode_shlibpath_var=$hardcode_shlibpath_var
14967 # Set to "yes" if building a shared library automatically hardcodes DIR
14968 # into the library and all subsequent libraries and executables linked
14970 hardcode_automatic=$hardcode_automatic
14972 # Set to yes if linker adds runtime paths of dependent libraries
14973 # to runtime path list.
14974 inherit_rpath=$inherit_rpath
14976 # Whether libtool must link a program against all its dependency libraries.
14977 link_all_deplibs=$link_all_deplibs
14979 # Fix the shell variable \$srcfile for the compiler.
14980 fix_srcfile_path=$lt_fix_srcfile_path
14982 # Set to "yes" if exported symbols are required.
14983 always_export_symbols=$always_export_symbols
14985 # The commands to list exported symbols.
14986 export_symbols_cmds=$lt_export_symbols_cmds
14988 # Symbols that should not be listed in the preloaded symbols.
14989 exclude_expsyms=$lt_exclude_expsyms
14991 # Symbols that must always be exported.
14992 include_expsyms=$lt_include_expsyms
14994 # Commands necessary for linking programs (against libraries) with templates.
14995 prelink_cmds=$lt_prelink_cmds
14997 # Specify filename containing input files.
14998 file_list_spec=$lt_file_list_spec
15000 # How to hardcode a shared library path into an executable.
15001 hardcode_action=$hardcode_action
15003 # ### END LIBTOOL CONFIG
15009 cat <<\_LT_EOF
>> "$cfgfile"
15010 # AIX sometimes has problems with the GCC collect2 program. For some
15011 # reason, if we set the COLLECT_NAMES environment variable, the problems
15012 # vanish in a puff of smoke.
15013 if test "X${COLLECT_NAMES+set}" != Xset
; then
15015 export COLLECT_NAMES
15022 ltmain
="$ac_aux_dir/ltmain.sh"
15025 # We use sed instead of cat because bash on DJGPP gets confused if
15026 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15027 # text mode, it properly converts lines to CR/LF. This bash problem
15028 # is reportedly fixed, but why not run on old versions too?
15029 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15030 ||
(rm -f "$cfgfile"; exit 1)
15034 cat << \_LT_EOF
>> "$cfgfile"
15036 # func_dirname file append nondir_replacement
15037 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15038 # otherwise set result to NONDIR_REPLACEMENT.
15042 */*) func_dirname_result
="${1%/*}${2}" ;;
15043 * ) func_dirname_result
="${3}" ;;
15047 # func_basename file
15050 func_basename_result
="${1##*/}"
15053 # func_dirname_and_basename file append nondir_replacement
15054 # perform func_basename and func_dirname in a single function
15056 # dirname: Compute the dirname of FILE. If nonempty,
15057 # add APPEND to the result, otherwise set result
15058 # to NONDIR_REPLACEMENT.
15059 # value returned in "$func_dirname_result"
15060 # basename: Compute filename of FILE.
15061 # value retuned in "$func_basename_result"
15062 # Implementation must be kept synchronized with func_dirname
15063 # and func_basename. For efficiency, we do not delegate to
15064 # those functions but instead duplicate the functionality here.
15065 func_dirname_and_basename
()
15068 */*) func_dirname_result
="${1%/*}${2}" ;;
15069 * ) func_dirname_result
="${3}" ;;
15071 func_basename_result
="${1##*/}"
15074 # func_stripname prefix suffix name
15075 # strip PREFIX and SUFFIX off of NAME.
15076 # PREFIX and SUFFIX must not contain globbing or regex special
15077 # characters, hashes, percent signs, but SUFFIX may contain a leading
15078 # dot (in which case that matches only a dot).
15081 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15082 # positional parameters, so assign one to ordinary parameter first.
15083 func_stripname_result
=${3}
15084 func_stripname_result
=${func_stripname_result#"${1}"}
15085 func_stripname_result
=${func_stripname_result%"${2}"}
15091 func_opt_split_opt
=${1%%=*}
15092 func_opt_split_arg
=${1#*=}
15099 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
15100 *) func_lo2o_result
=${1} ;;
15104 # func_xform libobj-or-source
15107 func_xform_result
=${1%.*}.lo
15110 # func_arith arithmetic-term...
15113 func_arith_result
=$
(( $
* ))
15117 # STRING may not start with a hyphen.
15120 func_len_result
=${#1}
15125 *) # Bourne compatible functions.
15126 cat << \_LT_EOF
>> "$cfgfile"
15128 # func_dirname file append nondir_replacement
15129 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15130 # otherwise set result to NONDIR_REPLACEMENT.
15133 # Extract subdirectory from the argument.
15134 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15135 if test "X$func_dirname_result" = "X${1}"; then
15136 func_dirname_result
="${3}"
15138 func_dirname_result
="$func_dirname_result${2}"
15142 # func_basename file
15145 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
15149 # func_stripname prefix suffix name
15150 # strip PREFIX and SUFFIX off of NAME.
15151 # PREFIX and SUFFIX must not contain globbing or regex special
15152 # characters, hashes, percent signs, but SUFFIX may contain a leading
15153 # dot (in which case that matches only a dot).
15154 # func_strip_suffix prefix name
15158 .
*) func_stripname_result
=`$ECHO "X${3}" \
15159 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15160 *) func_stripname_result
=`$ECHO "X${3}" \
15161 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15166 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
15167 my_sed_long_arg
='1s/^-[^=]*=//'
15172 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15173 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15179 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15182 # func_xform libobj-or-source
15185 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15188 # func_arith arithmetic-term...
15191 func_arith_result
=`expr "$@"`
15195 # STRING may not start with a hyphen.
15198 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15204 case $lt_shell_append in
15206 cat << \_LT_EOF
>> "$cfgfile"
15208 # func_append var value
15209 # Append VALUE to the end of shell variable VAR.
15217 cat << \_LT_EOF
>> "$cfgfile"
15219 # func_append var value
15220 # Append VALUE to the end of shell variable VAR.
15231 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15232 ||
(rm -f "$cfgfile"; exit 1)
15234 mv -f "$cfgfile" "$ofile" ||
15235 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15246 ac_clean_files
=$ac_clean_files_save
15248 test $ac_write_fail = 0 ||
15249 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
15252 # configure is writing to config.log, and then calls config.status.
15253 # config.status does its own redirection, appending to config.log.
15254 # Unfortunately, on DOS this fails, as config.log is still kept open
15255 # by configure, so config.status won't be able to write to it; its
15256 # output is simply discarded. So we exec the FD to /dev/null,
15257 # effectively closing config.log, so it can be properly (re)opened and
15258 # appended to by config.status. When coming back to configure, we
15259 # need to make the FD available again.
15260 if test "$no_create" != yes; then
15262 ac_config_status_args
=
15263 test "$silent" = yes &&
15264 ac_config_status_args
="$ac_config_status_args --quiet"
15266 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15268 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15269 # would make configure fail if this is the last instruction.
15270 $ac_cs_success || as_fn_exit
1
15272 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15274 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}