2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for orc 0.4.11.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir=.
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir=./$as_dir;;
285 test -d "$as_dir" || eval $as_mkdir_p || {
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 as_val=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status=$?; test $as_status -eq 0 && as_status=1
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
470 mkdir conf$$.dir 2>/dev/null
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481 elif ln conf$$.file conf$$ 2>/dev/null; then
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
495 test -d ./-p && rmdir ./-p
499 if test -x / >/dev/null 2>&1; then
502 if ls -dL / >/dev/null 2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530 # Check that we are running under the correct shell.
531 SHELL=${CONFIG_SHELL-/bin/sh}
535 # Remove one level of quotation (which was required for Make).
536 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541 if test "X$1" = X--no-reexec; then
542 # Discard the --no-reexec flag, and continue.
544 elif test "X$1" = X--fallback-echo; then
545 # Avoid inline document here, it may be left over
547 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548 # Yippee, $ECHO works!
551 # Restart under the correct shell.
552 exec $SHELL "$0" --no-reexec ${1+"$@"}
555 if test "X$1" = X--fallback-echo; then
556 # used as fallback echo
564 # The HP-UX ksh and POSIX shell print the target directory to stdout
566 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
568 if test -z "$lt_ECHO"; then
569 if test "X${echo_test_string+set}" != Xset; then
570 # find a string as large as possible, as long as the shell can cope with it
571 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583 test "X$echo_testing_string" = "X$echo_test_string"; then
586 # The Solaris, AIX, and Digital Unix default echo programs unquote
587 # backslashes. This makes it impossible to quote backslashes using
588 # echo "$something" | sed 's/\\/\\\\/g'
590 # So, first we look for a working echo in the user's PATH.
592 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593 for dir in $PATH /usr/ucb; do
595 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598 test "X$echo_testing_string" = "X$echo_test_string"; then
605 if test "X$ECHO" = Xecho; then
606 # We didn't find a better echo, so look for alternatives.
607 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609 test "X$echo_testing_string" = "X$echo_test_string"; then
610 # This shell has a builtin print -r that does the trick.
612 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613 test "X$CONFIG_SHELL" != X/bin/ksh; then
614 # If we have ksh, try running configure again with it.
615 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616 export ORIGINAL_CONFIG_SHELL
617 CONFIG_SHELL=/bin/ksh
619 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625 test "X$echo_testing_string" = "X$echo_test_string"; then
628 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629 test "X$echo_testing_string" = 'X\t' &&
630 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
632 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
634 SHELL="$CONFIG_SHELL"
636 ECHO="$CONFIG_SHELL $0 --fallback-echo"
637 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638 test "X$echo_testing_string" = 'X\t' &&
639 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640 test "X$echo_testing_string" = "X$echo_test_string"; then
641 ECHO="$CONFIG_SHELL $0 --fallback-echo"
643 # maybe with a smaller string...
646 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654 if test "$prev" != 'sed 50q "$0"'; then
655 echo_test_string=`eval $prev`
656 export echo_test_string
657 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659 # Oops. We lost completely, so just stick with echo.
668 # Copy echo and quote the copy suitably for passing to libtool from
669 # the Makefile, instead of quoting the original, which is used later.
671 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678 test -n "$DJDIR" || exec 7<&0 </dev/null
682 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
683 # so uname gets run too.
684 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689 ac_default_prefix=/usr/local
691 ac_config_libobj_dir=.
698 # Identity of this package.
700 PACKAGE_TARNAME='orc'
701 PACKAGE_VERSION='0.4.11'
702 PACKAGE_STRING='orc 0.4.11'
706 # Factoring default headers for most tests.
707 ac_includes_default="\
709 #ifdef HAVE_SYS_TYPES_H
710 # include <sys/types.h>
712 #ifdef HAVE_SYS_STAT_H
713 # include <sys/stat.h>
719 # ifdef HAVE_STDLIB_H
724 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729 #ifdef HAVE_STRINGS_H
730 # include <strings.h>
732 #ifdef HAVE_INTTYPES_H
733 # include <inttypes.h>
742 ac_unique_file="orc/orc.h"
744 ac_subst_vars='am__EXEEXT_FALSE
751 ENABLE_BACKEND_C64X_FALSE
752 ENABLE_BACKEND_C64X_TRUE
753 ENABLE_BACKEND_ARM_FALSE
754 ENABLE_BACKEND_ARM_TRUE
755 ENABLE_BACKEND_NEON_FALSE
756 ENABLE_BACKEND_NEON_TRUE
757 ENABLE_BACKEND_ALTIVEC_FALSE
758 ENABLE_BACKEND_ALTIVEC_TRUE
759 ENABLE_BACKEND_MMX_FALSE
760 ENABLE_BACKEND_MMX_TRUE
761 ENABLE_BACKEND_SSE_FALSE
762 ENABLE_BACKEND_SSE_TRUE
777 GTK_DOC_USE_REBASE_FALSE
778 GTK_DOC_USE_REBASE_TRUE
779 GTK_DOC_USE_LIBTOOL_FALSE
780 GTK_DOC_USE_LIBTOOL_TRUE
781 GTK_DOC_BUILD_PDF_FALSE
782 GTK_DOC_BUILD_PDF_TRUE
783 GTK_DOC_BUILD_HTML_FALSE
784 GTK_DOC_BUILD_HTML_TRUE
792 CROSS_COMPILING_FALSE
795 am__fastdepCCAS_FALSE
848 INSTALL_STRIP_PROGRAM
899 program_transform_name
912 enable_option_checking
917 enable_dependency_tracking
926 ac_precious_vars='build_alias
940 # Initialize some variables set by options.
942 ac_init_version=false
943 ac_unrecognized_opts=
945 # The variables have the same names as the options, with
946 # dashes changed to underlines.
954 program_transform_name=s,x,x,
962 # Installation directory options.
963 # These are left unexpanded so users can "make install exec_prefix=/foo"
964 # and all the variables that are supposed to be based on exec_prefix
965 # by default will actually change.
966 # Use braces instead of parens because sh, perl, etc. also accept them.
967 # (The list follows the same order as the GNU Coding Standards.)
968 bindir='${exec_prefix}/bin'
969 sbindir='${exec_prefix}/sbin'
970 libexecdir='${exec_prefix}/libexec'
971 datarootdir='${prefix}/share'
972 datadir='${datarootdir}'
973 sysconfdir='${prefix}/etc'
974 sharedstatedir='${prefix}/com'
975 localstatedir='${prefix}/var'
976 includedir='${prefix}/include'
977 oldincludedir='/usr/include'
978 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
979 infodir='${datarootdir}/info'
984 libdir='${exec_prefix}/lib'
985 localedir='${datarootdir}/locale'
986 mandir='${datarootdir}/man'
992 # If the previous option needs an argument, assign it.
993 if test -n "$ac_prev"; then
994 eval $ac_prev=\$ac_option
1000 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1004 # Accept the important Cygnus configure options, so we can diagnose typos.
1006 case $ac_dashdash$ac_option in
1010 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1012 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1013 bindir=$ac_optarg ;;
1015 -build | --build | --buil | --bui | --bu)
1016 ac_prev=build_alias ;;
1017 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1018 build_alias=$ac_optarg ;;
1020 -cache-file | --cache-file | --cache-fil | --cache-fi \
1021 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1022 ac_prev=cache_file ;;
1023 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1024 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1025 cache_file=$ac_optarg ;;
1027 --config-cache | -C)
1028 cache_file=config.cache ;;
1030 -datadir | --datadir | --datadi | --datad)
1032 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1033 datadir=$ac_optarg ;;
1035 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1036 | --dataroo | --dataro | --datar)
1037 ac_prev=datarootdir ;;
1038 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1039 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1040 datarootdir=$ac_optarg ;;
1042 -disable-* | --disable-*)
1043 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 as_fn_error "invalid feature name: $ac_useropt"
1047 ac_useropt_orig=$ac_useropt
1048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1051 "enable_$ac_useropt"
1053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1054 ac_unrecognized_sep=', ';;
1056 eval enable_$ac_useropt=no ;;
1058 -docdir | --docdir | --docdi | --doc | --do)
1060 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1061 docdir=$ac_optarg ;;
1063 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1065 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1066 dvidir=$ac_optarg ;;
1068 -enable-* | --enable-*)
1069 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1070 # Reject names that are not valid shell variable names.
1071 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1072 as_fn_error "invalid feature name: $ac_useropt"
1073 ac_useropt_orig=$ac_useropt
1074 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075 case $ac_user_opts in
1077 "enable_$ac_useropt"
1079 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1080 ac_unrecognized_sep=', ';;
1082 eval enable_$ac_useropt=\$ac_optarg ;;
1084 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1085 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1086 | --exec | --exe | --ex)
1087 ac_prev=exec_prefix ;;
1088 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1089 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1090 | --exec=* | --exe=* | --ex=*)
1091 exec_prefix=$ac_optarg ;;
1093 -gas | --gas | --ga | --g)
1094 # Obsolete; use --with-gas.
1097 -help | --help | --hel | --he | -h)
1098 ac_init_help=long ;;
1099 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1100 ac_init_help=recursive ;;
1101 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1102 ac_init_help=short ;;
1104 -host | --host | --hos | --ho)
1105 ac_prev=host_alias ;;
1106 -host=* | --host=* | --hos=* | --ho=*)
1107 host_alias=$ac_optarg ;;
1109 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1111 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1113 htmldir=$ac_optarg ;;
1115 -includedir | --includedir | --includedi | --included | --include \
1116 | --includ | --inclu | --incl | --inc)
1117 ac_prev=includedir ;;
1118 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1119 | --includ=* | --inclu=* | --incl=* | --inc=*)
1120 includedir=$ac_optarg ;;
1122 -infodir | --infodir | --infodi | --infod | --info | --inf)
1124 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1125 infodir=$ac_optarg ;;
1127 -libdir | --libdir | --libdi | --libd)
1129 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1130 libdir=$ac_optarg ;;
1132 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1133 | --libexe | --libex | --libe)
1134 ac_prev=libexecdir ;;
1135 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1136 | --libexe=* | --libex=* | --libe=*)
1137 libexecdir=$ac_optarg ;;
1139 -localedir | --localedir | --localedi | --localed | --locale)
1140 ac_prev=localedir ;;
1141 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1142 localedir=$ac_optarg ;;
1144 -localstatedir | --localstatedir | --localstatedi | --localstated \
1145 | --localstate | --localstat | --localsta | --localst | --locals)
1146 ac_prev=localstatedir ;;
1147 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1148 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1149 localstatedir=$ac_optarg ;;
1151 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1153 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1154 mandir=$ac_optarg ;;
1156 -nfp | --nfp | --nf)
1157 # Obsolete; use --without-fp.
1160 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1161 | --no-cr | --no-c | -n)
1164 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1165 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1168 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1169 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1170 | --oldin | --oldi | --old | --ol | --o)
1171 ac_prev=oldincludedir ;;
1172 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1173 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1174 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1175 oldincludedir=$ac_optarg ;;
1177 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1179 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1180 prefix=$ac_optarg ;;
1182 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1183 | --program-pre | --program-pr | --program-p)
1184 ac_prev=program_prefix ;;
1185 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1186 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1187 program_prefix=$ac_optarg ;;
1189 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1190 | --program-suf | --program-su | --program-s)
1191 ac_prev=program_suffix ;;
1192 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1193 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1194 program_suffix=$ac_optarg ;;
1196 -program-transform-name | --program-transform-name \
1197 | --program-transform-nam | --program-transform-na \
1198 | --program-transform-n | --program-transform- \
1199 | --program-transform | --program-transfor \
1200 | --program-transfo | --program-transf \
1201 | --program-trans | --program-tran \
1202 | --progr-tra | --program-tr | --program-t)
1203 ac_prev=program_transform_name ;;
1204 -program-transform-name=* | --program-transform-name=* \
1205 | --program-transform-nam=* | --program-transform-na=* \
1206 | --program-transform-n=* | --program-transform-=* \
1207 | --program-transform=* | --program-transfor=* \
1208 | --program-transfo=* | --program-transf=* \
1209 | --program-trans=* | --program-tran=* \
1210 | --progr-tra=* | --program-tr=* | --program-t=*)
1211 program_transform_name=$ac_optarg ;;
1213 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1215 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1216 pdfdir=$ac_optarg ;;
1218 -psdir | --psdir | --psdi | --psd | --ps)
1220 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1223 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1224 | -silent | --silent | --silen | --sile | --sil)
1227 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1229 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1231 sbindir=$ac_optarg ;;
1233 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1234 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1235 | --sharedst | --shareds | --shared | --share | --shar \
1237 ac_prev=sharedstatedir ;;
1238 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1239 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1240 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1242 sharedstatedir=$ac_optarg ;;
1244 -site | --site | --sit)
1246 -site=* | --site=* | --sit=*)
1249 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1251 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1252 srcdir=$ac_optarg ;;
1254 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1255 | --syscon | --sysco | --sysc | --sys | --sy)
1256 ac_prev=sysconfdir ;;
1257 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1258 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1259 sysconfdir=$ac_optarg ;;
1261 -target | --target | --targe | --targ | --tar | --ta | --t)
1262 ac_prev=target_alias ;;
1263 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1264 target_alias=$ac_optarg ;;
1266 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1269 -version | --version | --versio | --versi | --vers | -V)
1270 ac_init_version=: ;;
1273 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1274 # Reject names that are not valid shell variable names.
1275 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1276 as_fn_error "invalid package name: $ac_useropt"
1277 ac_useropt_orig=$ac_useropt
1278 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1279 case $ac_user_opts in
1283 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1284 ac_unrecognized_sep=', ';;
1286 eval with_$ac_useropt=\$ac_optarg ;;
1288 -without-* | --without-*)
1289 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1290 # Reject names that are not valid shell variable names.
1291 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1292 as_fn_error "invalid package name: $ac_useropt"
1293 ac_useropt_orig=$ac_useropt
1294 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1295 case $ac_user_opts in
1299 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1300 ac_unrecognized_sep=', ';;
1302 eval with_$ac_useropt=no ;;
1305 # Obsolete; use --with-x.
1308 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1309 | --x-incl | --x-inc | --x-in | --x-i)
1310 ac_prev=x_includes ;;
1311 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1312 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1313 x_includes=$ac_optarg ;;
1315 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1316 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1317 ac_prev=x_libraries ;;
1318 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1319 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1320 x_libraries=$ac_optarg ;;
1322 -*) as_fn_error "unrecognized option: \`$ac_option'
1323 Try \`$0 --help' for more information."
1327 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1328 # Reject names that are not valid shell variable names.
1329 case $ac_envvar in #(
1330 '' | [0-9]* | *[!_$as_cr_alnum]* )
1331 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1333 eval $ac_envvar=\$ac_optarg
1334 export $ac_envvar ;;
1337 # FIXME: should be removed in autoconf 3.0.
1338 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1339 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1340 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1341 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1347 if test -n "$ac_prev"; then
1348 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1349 as_fn_error "missing argument to $ac_option"
1352 if test -n "$ac_unrecognized_opts"; then
1353 case $enable_option_checking in
1355 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1356 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1360 # Check all directory arguments for consistency.
1361 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1362 datadir sysconfdir sharedstatedir localstatedir includedir \
1363 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1364 libdir localedir mandir
1366 eval ac_val=\$$ac_var
1367 # Remove trailing slashes.
1370 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1371 eval $ac_var=\$ac_val;;
1373 # Be sure to have absolute directory names.
1375 [\\/$]* | ?:[\\/]* ) continue;;
1376 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1378 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1381 # There might be people who depend on the old broken behavior: `$host'
1382 # used to hold the argument of --host etc.
1383 # FIXME: To remove some day.
1386 target=$target_alias
1388 # FIXME: To remove some day.
1389 if test "x$host_alias" != x; then
1390 if test "x$build_alias" = x; then
1391 cross_compiling=maybe
1392 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1393 If a cross compiler is detected then cross compile mode will be used." >&2
1394 elif test "x$build_alias" != "x$host_alias"; then
1400 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1402 test "$silent" = yes && exec 6>/dev/null
1405 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1406 ac_ls_di=`ls -di .` &&
1407 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1408 as_fn_error "working directory cannot be determined"
1409 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1410 as_fn_error "pwd does not report name of working directory"
1413 # Find the source files, if location was not specified.
1414 if test -z "$srcdir"; then
1415 ac_srcdir_defaulted=yes
1416 # Try the directory containing this script, then the parent directory.
1417 ac_confdir=`$as_dirname -- "$as_myself" ||
1418 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1419 X"$as_myself" : 'X\(//\)[^/]' \| \
1420 X"$as_myself" : 'X\(//\)$' \| \
1421 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1422 $as_echo X"$as_myself" |
1423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1441 if test ! -r "$srcdir/$ac_unique_file"; then
1445 ac_srcdir_defaulted=no
1447 if test ! -r "$srcdir/$ac_unique_file"; then
1448 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1449 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1451 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1453 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1455 # When building in place, set srcdir=.
1456 if test "$ac_abs_confdir" = "$ac_pwd"; then
1459 # Remove unnecessary trailing slashes from srcdir.
1460 # Double slashes in file names in object file debugging info
1461 # mess up M-x gdb in Emacs.
1463 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1465 for ac_var in $ac_precious_vars; do
1466 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1467 eval ac_env_${ac_var}_value=\$${ac_var}
1468 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1469 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1473 # Report the --help message.
1475 if test "$ac_init_help" = "long"; then
1476 # Omit some internal or obsolete options to make the list less imposing.
1477 # This message is too long to be a string in the A/UX 3.1 sh.
1479 \`configure' configures orc 0.4.11 to adapt to many kinds of systems.
1481 Usage: $0 [OPTION]... [VAR=VALUE]...
1483 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1484 VAR=VALUE. See below for descriptions of some of the useful variables.
1486 Defaults for the options are specified in brackets.
1489 -h, --help display this help and exit
1490 --help=short display options specific to this package
1491 --help=recursive display the short help of all the included packages
1492 -V, --version display version information and exit
1493 -q, --quiet, --silent do not print \`checking...' messages
1494 --cache-file=FILE cache test results in FILE [disabled]
1495 -C, --config-cache alias for \`--cache-file=config.cache'
1496 -n, --no-create do not create output files
1497 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1499 Installation directories:
1500 --prefix=PREFIX install architecture-independent files in PREFIX
1501 [$ac_default_prefix]
1502 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1505 By default, \`make install' will install all the files in
1506 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1507 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1508 for instance \`--prefix=\$HOME'.
1510 For better control, use the options below.
1512 Fine tuning of the installation directories:
1513 --bindir=DIR user executables [EPREFIX/bin]
1514 --sbindir=DIR system admin executables [EPREFIX/sbin]
1515 --libexecdir=DIR program executables [EPREFIX/libexec]
1516 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1517 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1518 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1519 --libdir=DIR object code libraries [EPREFIX/lib]
1520 --includedir=DIR C header files [PREFIX/include]
1521 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1522 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1523 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1524 --infodir=DIR info documentation [DATAROOTDIR/info]
1525 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1526 --mandir=DIR man documentation [DATAROOTDIR/man]
1527 --docdir=DIR documentation root [DATAROOTDIR/doc/orc]
1528 --htmldir=DIR html documentation [DOCDIR]
1529 --dvidir=DIR dvi documentation [DOCDIR]
1530 --pdfdir=DIR pdf documentation [DOCDIR]
1531 --psdir=DIR ps documentation [DOCDIR]
1537 --program-prefix=PREFIX prepend PREFIX to installed program names
1538 --program-suffix=SUFFIX append SUFFIX to installed program names
1539 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1542 --build=BUILD configure for building on BUILD [guessed]
1543 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1547 if test -n "$ac_init_help"; then
1548 case $ac_init_help in
1549 short | recursive ) echo "Configuration of orc 0.4.11:";;
1554 --disable-option-checking ignore unrecognized --enable/--with options
1555 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1556 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1557 --enable-shared[=PKGS] build shared libraries [default=yes]
1558 --enable-static[=PKGS] build static libraries [default=yes]
1559 --enable-fast-install[=PKGS]
1560 optimize for fast installation [default=yes]
1561 --disable-dependency-tracking speeds up one-time build
1562 --enable-dependency-tracking do not reject slow dependency extractors
1563 --disable-libtool-lock avoid locking (might break parallel builds)
1564 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1565 --enable-gtk-doc-html build documentation in html format [[default=yes]]
1566 --enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1567 --enable-backend sse,mmx,neon,arm,all (default all)
1570 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1571 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1572 --with-pic try to use only PIC/non-PIC objects [default=use
1574 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1575 --with-html-dir=PATH path to installed docs
1577 Some influential environment variables:
1578 CC C compiler command
1579 CFLAGS C compiler flags
1580 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1581 nonstandard directory <lib dir>
1582 LIBS libraries to pass to the linker, e.g. -l<library>
1583 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1584 you have headers in a nonstandard directory <include dir>
1586 CCAS assembler compiler command (defaults to CC)
1587 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1588 PKG_CONFIG path to pkg-config utility
1590 Use these variables to override the choices made by `configure' or to help
1591 it to find libraries and programs with nonstandard names/locations.
1593 Report bugs to the package provider.
1598 if test "$ac_init_help" = "recursive"; then
1599 # If there are subdirs, report their specific --help.
1600 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1601 test -d "$ac_dir" ||
1602 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1607 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1609 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1610 # A ".." for each directory in $ac_dir_suffix.
1611 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1612 case $ac_top_builddir_sub in
1613 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1614 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1617 ac_abs_top_builddir=$ac_pwd
1618 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1619 # for backward compatibility:
1620 ac_top_builddir=$ac_top_build_prefix
1623 .) # We are building in place.
1625 ac_top_srcdir=$ac_top_builddir_sub
1626 ac_abs_top_srcdir=$ac_pwd ;;
1627 [\\/]* | ?:[\\/]* ) # Absolute name.
1628 ac_srcdir=$srcdir$ac_dir_suffix;
1629 ac_top_srcdir=$srcdir
1630 ac_abs_top_srcdir=$srcdir ;;
1632 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1633 ac_top_srcdir=$ac_top_build_prefix$srcdir
1634 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1636 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1638 cd "$ac_dir" || { ac_status=$?; continue; }
1639 # Check for guested configure.
1640 if test -f "$ac_srcdir/configure.gnu"; then
1642 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1643 elif test -f "$ac_srcdir/configure"; then
1645 $SHELL "$ac_srcdir/configure" --help=recursive
1647 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1649 cd "$ac_pwd" || { ac_status=$?; break; }
1653 test -n "$ac_init_help" && exit $ac_status
1654 if $ac_init_version; then
1656 orc configure 0.4.11
1657 generated by GNU Autoconf 2.65
1659 Copyright (C) 2009 Free Software Foundation, Inc.
1660 This configure script is free software; the Free Software Foundation
1661 gives unlimited permission to copy, distribute and modify it.
1666 ## ------------------------ ##
1667 ## Autoconf initialization. ##
1668 ## ------------------------ ##
1670 # ac_fn_c_try_compile LINENO
1671 # --------------------------
1672 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1673 ac_fn_c_try_compile ()
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676 rm -f conftest.$ac_objext
1677 if { { ac_try="$ac_compile"
1679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1680 *) ac_try_echo=$ac_try;;
1682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_compile") 2>conftest.err
1686 if test -s conftest.err; then
1687 grep -v '^ *+' conftest.err >conftest.er1
1688 cat conftest.er1 >&5
1689 mv -f conftest.er1 conftest.err
1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692 test $ac_status = 0; } && {
1693 test -z "$ac_c_werror_flag" ||
1694 test ! -s conftest.err
1695 } && test -s conftest.$ac_objext; then :
1698 $as_echo "$as_me: failed program was:" >&5
1699 sed 's/^/| /' conftest.$ac_ext >&5
1703 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1704 as_fn_set_status $ac_retval
1706 } # ac_fn_c_try_compile
1708 # ac_fn_c_try_link LINENO
1709 # -----------------------
1710 # Try to link conftest.$ac_ext, and return whether this succeeded.
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 rm -f conftest.$ac_objext conftest$ac_exeext
1715 if { { ac_try="$ac_link"
1717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1718 *) ac_try_echo=$ac_try;;
1720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722 (eval "$ac_link") 2>conftest.err
1724 if test -s conftest.err; then
1725 grep -v '^ *+' conftest.err >conftest.er1
1726 cat conftest.er1 >&5
1727 mv -f conftest.er1 conftest.err
1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730 test $ac_status = 0; } && {
1731 test -z "$ac_c_werror_flag" ||
1732 test ! -s conftest.err
1733 } && test -s conftest$ac_exeext && {
1734 test "$cross_compiling" = yes ||
1735 $as_test_x conftest$ac_exeext
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1744 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1745 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1746 # interfere with the next link command; also delete a directory that is
1747 # left behind by Apple's compiler. We do this before executing the actions.
1748 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1749 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1750 as_fn_set_status $ac_retval
1752 } # ac_fn_c_try_link
1754 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1755 # -------------------------------------------------------
1756 # Tests whether HEADER exists and can be compiled using the include files in
1757 # INCLUDES, setting the cache variable VAR accordingly.
1758 ac_fn_c_check_header_compile ()
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1762 $as_echo_n "checking for $2... " >&6; }
1763 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1764 $as_echo_n "(cached) " >&6
1766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1767 /* end confdefs.h. */
1771 if ac_fn_c_try_compile "$LINENO"; then :
1776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1780 $as_echo "$ac_res" >&6; }
1781 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1783 } # ac_fn_c_check_header_compile
1785 # ac_fn_c_try_cpp LINENO
1786 # ----------------------
1787 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 if { { ac_try="$ac_cpp conftest.$ac_ext"
1793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1794 *) ac_try_echo=$ac_try;;
1796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1800 if test -s conftest.err; then
1801 grep -v '^ *+' conftest.err >conftest.er1
1802 cat conftest.er1 >&5
1803 mv -f conftest.er1 conftest.err
1805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806 test $ac_status = 0; } >/dev/null && {
1807 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1808 test ! -s conftest.err
1812 $as_echo "$as_me: failed program was:" >&5
1813 sed 's/^/| /' conftest.$ac_ext >&5
1817 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1818 as_fn_set_status $ac_retval
1822 # ac_fn_c_try_run LINENO
1823 # ----------------------
1824 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1825 # that executables *can* be run.
1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829 if { { ac_try="$ac_link"
1831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1832 *) ac_try_echo=$ac_try;;
1834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836 (eval "$ac_link") 2>&5
1838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1839 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1840 { { case "(($ac_try" in
1841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1842 *) ac_try_echo=$ac_try;;
1844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_try") 2>&5
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; }; }; then :
1852 $as_echo "$as_me: program exited with status $ac_status" >&5
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.$ac_ext >&5
1856 ac_retval=$ac_status
1858 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1859 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1860 as_fn_set_status $ac_retval
1864 # ac_fn_c_check_func LINENO FUNC VAR
1865 # ----------------------------------
1866 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1867 ac_fn_c_check_func ()
1869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871 $as_echo_n "checking for $2... " >&6; }
1872 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1873 $as_echo_n "(cached) " >&6
1875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1876 /* end confdefs.h. */
1877 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1879 #define $2 innocuous_$2
1881 /* System header to define __stub macros and hopefully few prototypes,
1882 which can conflict with char $2 (); below.
1883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1884 <limits.h> exists even on freestanding compilers. */
1887 # include <limits.h>
1889 # include <assert.h>
1894 /* Override any GCC internal prototype to avoid an error.
1895 Use char because int might match the return type of a GCC
1896 builtin and then its argument prototype would still apply. */
1901 /* The GNU C library defines this for functions which it implements
1902 to always fail with ENOSYS. Some functions are actually named
1903 something starting with __ and the normal name is an alias. */
1904 #if defined __stub_$2 || defined __stub___$2
1916 if ac_fn_c_try_link "$LINENO"; then :
1921 rm -f core conftest.err conftest.$ac_objext \
1922 conftest$ac_exeext conftest.$ac_ext
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1926 $as_echo "$ac_res" >&6; }
1927 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1929 } # ac_fn_c_check_func
1931 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1932 # -------------------------------------------
1933 # Tests whether TYPE exists after having included INCLUDES, setting cache
1934 # variable VAR accordingly.
1935 ac_fn_c_check_type ()
1937 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1939 $as_echo_n "checking for $2... " >&6; }
1940 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1941 $as_echo_n "(cached) " >&6
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h. */
1956 if ac_fn_c_try_compile "$LINENO"; then :
1957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1958 /* end confdefs.h. */
1969 if ac_fn_c_try_compile "$LINENO"; then :
1974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1980 $as_echo "$ac_res" >&6; }
1981 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1983 } # ac_fn_c_check_type
1985 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1986 # --------------------------------------------
1987 # Tries to find the compile-time value of EXPR in a program that includes
1988 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1990 ac_fn_c_compute_int ()
1992 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1993 if test "$cross_compiling" = yes; then
1994 # Depending upon the size, compute the lo and hi bounds.
1995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996 /* end confdefs.h. */
2001 static int test_array [1 - 2 * !(($2) >= 0)];
2008 if ac_fn_c_try_compile "$LINENO"; then :
2011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2012 /* end confdefs.h. */
2017 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2024 if ac_fn_c_try_compile "$LINENO"; then :
2025 ac_hi=$ac_mid; break
2027 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2028 if test $ac_lo -le $ac_mid; then
2032 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038 /* end confdefs.h. */
2043 static int test_array [1 - 2 * !(($2) < 0)];
2050 if ac_fn_c_try_compile "$LINENO"; then :
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2059 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2066 if ac_fn_c_try_compile "$LINENO"; then :
2067 ac_lo=$ac_mid; break
2069 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2070 if test $ac_mid -le $ac_hi; then
2074 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2084 # Binary search between lo and hi bounds.
2085 while test "x$ac_lo" != "x$ac_hi"; do
2086 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2088 /* end confdefs.h. */
2093 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2100 if ac_fn_c_try_compile "$LINENO"; then :
2103 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2113 /* end confdefs.h. */
2115 static long int longval () { return $2; }
2116 static unsigned long int ulongval () { return $2; }
2123 FILE *f = fopen ("conftest.val", "w");
2128 long int i = longval ();
2131 fprintf (f, "%ld", i);
2135 unsigned long int i = ulongval ();
2138 fprintf (f, "%lu", i);
2140 /* Do not output a trailing newline, as this causes \r\n confusion
2141 on some platforms. */
2142 return ferror (f) || fclose (f) != 0;
2148 if ac_fn_c_try_run "$LINENO"; then :
2149 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2153 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2154 conftest.$ac_objext conftest.beam conftest.$ac_ext
2158 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2159 as_fn_set_status $ac_retval
2161 } # ac_fn_c_compute_int
2163 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2164 # -------------------------------------------------------
2165 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2166 # the include files in INCLUDES and setting the cache variable VAR
2168 ac_fn_c_check_header_mongrel ()
2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173 $as_echo_n "checking for $2... " >&6; }
2174 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2175 $as_echo_n "(cached) " >&6
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179 $as_echo "$ac_res" >&6; }
2181 # Is the header compilable?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2183 $as_echo_n "checking $2 usability... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2189 if ac_fn_c_try_compile "$LINENO"; then :
2190 ac_header_compiler=yes
2192 ac_header_compiler=no
2194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2196 $as_echo "$ac_header_compiler" >&6; }
2198 # Is the header present?
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2200 $as_echo_n "checking $2 presence... " >&6; }
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 /* end confdefs.h. */
2205 if ac_fn_c_try_cpp "$LINENO"; then :
2206 ac_header_preproc=yes
2208 ac_header_preproc=no
2210 rm -f conftest.err conftest.$ac_ext
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2212 $as_echo "$ac_header_preproc" >&6; }
2214 # So? What about this header?
2215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2218 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2220 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2224 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2226 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2228 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2230 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2232 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2236 $as_echo_n "checking for $2... " >&6; }
2237 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2238 $as_echo_n "(cached) " >&6
2240 eval "$3=\$ac_header_compiler"
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2244 $as_echo "$ac_res" >&6; }
2246 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2248 } # ac_fn_c_check_header_mongrel
2249 cat >config.log <<_ACEOF
2250 This file contains any messages produced by compilers while
2251 running configure, to aid debugging if configure makes a mistake.
2253 It was created by orc $as_me 0.4.11, which was
2254 generated by GNU Autoconf 2.65. Invocation command line was
2266 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2267 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2268 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2269 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2270 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2272 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2273 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2275 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2276 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2277 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2278 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2279 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2280 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2281 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 test -z "$as_dir" && as_dir=.
2290 $as_echo "PATH: $as_dir"
2306 # Keep a trace of the command line.
2307 # Strip out --no-create and --no-recursion so they do not pile up.
2308 # Strip out --silent because we don't want to record it for future runs.
2309 # Also quote any args containing shell meta-characters.
2310 # Make two passes to allow for proper duplicate-argument suppression.
2314 ac_must_keep_next=false
2320 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2321 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2322 | -silent | --silent | --silen | --sile | --sil)
2325 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2328 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2330 as_fn_append ac_configure_args1 " '$ac_arg'"
2331 if test $ac_must_keep_next = true; then
2332 ac_must_keep_next=false # Got value, back to normal.
2335 *=* | --config-cache | -C | -disable-* | --disable-* \
2336 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2337 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2338 | -with-* | --with-* | -without-* | --without-* | --x)
2339 case "$ac_configure_args0 " in
2340 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2343 -* ) ac_must_keep_next=true ;;
2346 as_fn_append ac_configure_args " '$ac_arg'"
2351 { ac_configure_args0=; unset ac_configure_args0;}
2352 { ac_configure_args1=; unset ac_configure_args1;}
2354 # When interrupted or exit'd, cleanup temporary files, and complete
2355 # config.log. We remove comments because anyway the quotes in there
2356 # would cause problems or look ugly.
2357 # WARNING: Use '\'' to represent an apostrophe within the trap.
2358 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2359 trap 'exit_status=$?
2360 # Save into config.log some information that might help in debugging.
2365 ## ---------------- ##
2366 ## Cache variables. ##
2367 ## ---------------- ##
2370 # The following way of writing the cache mishandles newlines in values,
2372 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2373 eval ac_val=\$$ac_var
2377 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2378 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2381 _ | IFS | as_nl) ;; #(
2382 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2383 *) { eval $ac_var=; unset $ac_var;} ;;
2388 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2389 *${as_nl}ac_space=\ *)
2391 "s/'\''/'\''\\\\'\'''\''/g;
2392 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2395 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2403 ## ----------------- ##
2404 ## Output variables. ##
2405 ## ----------------- ##
2408 for ac_var in $ac_subst_vars
2410 eval ac_val=\$$ac_var
2412 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2414 $as_echo "$ac_var='\''$ac_val'\''"
2418 if test -n "$ac_subst_files"; then
2420 ## ------------------- ##
2421 ## File substitutions. ##
2422 ## ------------------- ##
2425 for ac_var in $ac_subst_files
2427 eval ac_val=\$$ac_var
2429 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2431 $as_echo "$ac_var='\''$ac_val'\''"
2436 if test -s confdefs.h; then
2446 test "$ac_signal" != 0 &&
2447 $as_echo "$as_me: caught signal $ac_signal"
2448 $as_echo "$as_me: exit $exit_status"
2450 rm -f core *.core core.conftest.* &&
2451 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2454 for ac_signal in 1 2 13 15; do
2455 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2459 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2460 rm -f -r conftest* confdefs.h
2462 $as_echo "/* confdefs.h */" > confdefs.h
2464 # Predefined preprocessor variables.
2466 cat >>confdefs.h <<_ACEOF
2467 #define PACKAGE_NAME "$PACKAGE_NAME"
2470 cat >>confdefs.h <<_ACEOF
2471 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2474 cat >>confdefs.h <<_ACEOF
2475 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2478 cat >>confdefs.h <<_ACEOF
2479 #define PACKAGE_STRING "$PACKAGE_STRING"
2482 cat >>confdefs.h <<_ACEOF
2483 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2486 cat >>confdefs.h <<_ACEOF
2487 #define PACKAGE_URL "$PACKAGE_URL"
2491 # Let the site file select an alternate cache file if it wants to.
2492 # Prefer an explicitly selected file to automatically selected ones.
2495 if test -n "$CONFIG_SITE"; then
2496 ac_site_file1=$CONFIG_SITE
2497 elif test "x$prefix" != xNONE; then
2498 ac_site_file1=$prefix/share/config.site
2499 ac_site_file2=$prefix/etc/config.site
2501 ac_site_file1=$ac_default_prefix/share/config.site
2502 ac_site_file2=$ac_default_prefix/etc/config.site
2504 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2506 test "x$ac_site_file" = xNONE && continue
2507 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2509 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2510 sed 's/^/| /' "$ac_site_file" >&5
2515 if test -r "$cache_file"; then
2516 # Some versions of bash will fail to source /dev/null (special files
2517 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2518 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2520 $as_echo "$as_me: loading cache $cache_file" >&6;}
2522 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2523 *) . "./$cache_file";;
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2528 $as_echo "$as_me: creating cache $cache_file" >&6;}
2532 as_fn_append ac_header_list " stdlib.h"
2533 as_fn_append ac_header_list " unistd.h"
2534 as_fn_append ac_header_list " sys/param.h"
2535 # Check that the precious variables saved in the cache have kept the same
2537 ac_cache_corrupted=false
2538 for ac_var in $ac_precious_vars; do
2539 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2540 eval ac_new_set=\$ac_env_${ac_var}_set
2541 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2542 eval ac_new_val=\$ac_env_${ac_var}_value
2543 case $ac_old_set,$ac_new_set in
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2546 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2547 ac_cache_corrupted=: ;;
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2550 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2551 ac_cache_corrupted=: ;;
2554 if test "x$ac_old_val" != "x$ac_new_val"; then
2555 # differences in whitespace do not lead to failure.
2556 ac_old_val_w=`echo x $ac_old_val`
2557 ac_new_val_w=`echo x $ac_new_val`
2558 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2560 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2561 ac_cache_corrupted=:
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2564 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2565 eval $ac_var=\$ac_old_val
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2568 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2570 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2573 # Pass precious variables to config.status.
2574 if test "$ac_new_set" = set; then
2576 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2577 *) ac_arg=$ac_var=$ac_new_val ;;
2579 case " $ac_configure_args " in
2580 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2581 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2585 if $ac_cache_corrupted; then
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2587 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2589 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2590 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2592 ## -------------------- ##
2593 ## Main body of script. ##
2594 ## -------------------- ##
2597 ac_cpp='$CPP $CPPFLAGS'
2598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
2606 $as_echo_n "checking nano version... " >&6; }
2608 NANO=$(echo 0.4.11 | sed 's/[0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\.*//')
2611 if test x"$NANO" = x || test "x$NANO" = "x0" ; then
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
2613 $as_echo "0 (release)" >&6; }
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
2618 $as_echo "$NANO" >&6; }
2624 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2625 for ac_t in install-sh install.sh shtool; do
2626 if test -f "$ac_dir/$ac_t"; then
2628 ac_install_sh="$ac_aux_dir/$ac_t -c"
2633 if test -z "$ac_aux_dir"; then
2634 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2637 # These three variables are undocumented and unsupported,
2638 # and are intended to be withdrawn in a future Autoconf release.
2639 # They can cause serious problems if a builder's source tree is in a directory
2640 # whose full name contains unusual characters.
2641 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2642 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2643 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2646 # Make sure we can run config.sub.
2647 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2648 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2651 $as_echo_n "checking build system type... " >&6; }
2652 if test "${ac_cv_build+set}" = set; then :
2653 $as_echo_n "(cached) " >&6
2655 ac_build_alias=$build_alias
2656 test "x$ac_build_alias" = x &&
2657 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2658 test "x$ac_build_alias" = x &&
2659 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2660 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2661 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2665 $as_echo "$ac_cv_build" >&6; }
2666 case $ac_cv_build in
2668 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2671 ac_save_IFS=$IFS; IFS='-'
2677 # Remember, the first character of IFS is used to create $*,
2678 # except with old shells:
2681 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2685 $as_echo_n "checking host system type... " >&6; }
2686 if test "${ac_cv_host+set}" = set; then :
2687 $as_echo_n "(cached) " >&6
2689 if test "x$host_alias" = x; then
2690 ac_cv_host=$ac_cv_build
2692 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2693 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2698 $as_echo "$ac_cv_host" >&6; }
2701 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2704 ac_save_IFS=$IFS; IFS='-'
2710 # Remember, the first character of IFS is used to create $*,
2711 # except with old shells:
2714 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2717 am__api_version='1.11'
2719 # Find a good install program. We prefer a C program (faster),
2720 # so one script is as good as another. But avoid the broken or
2721 # incompatible versions:
2722 # SysV /etc/install, /usr/sbin/install
2723 # SunOS /usr/etc/install
2724 # IRIX /sbin/install
2726 # AmigaOS /C/install, which installs bootblocks on floppy discs
2727 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2728 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2729 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2730 # OS/2's system install, which has a completely different semantic
2731 # ./install, which can be erroneously created by make from ./install.sh.
2732 # Reject install programs that cannot install multiple files.
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2734 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2735 if test -z "$INSTALL"; then
2736 if test "${ac_cv_path_install+set}" = set; then :
2737 $as_echo_n "(cached) " >&6
2739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743 test -z "$as_dir" && as_dir=.
2744 # Account for people who put trailing slashes in PATH elements.
2745 case $as_dir/ in #((
2746 ./ | .// | /[cC]/* | \
2747 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2748 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2751 # OSF1 and SCO ODT 3.0 have their own names for install.
2752 # Don't use installbsd from OSF since it installs stuff as root
2754 for ac_prog in ginstall scoinst install; do
2755 for ac_exec_ext in '' $ac_executable_extensions; do
2756 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2757 if test $ac_prog = install &&
2758 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2759 # AIX install. It has an incompatible calling convention.
2761 elif test $ac_prog = install &&
2762 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2763 # program-specific install script used by HP pwplus--don't use.
2766 rm -rf conftest.one conftest.two conftest.dir
2767 echo one > conftest.one
2768 echo two > conftest.two
2770 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2771 test -s conftest.one && test -s conftest.two &&
2772 test -s conftest.dir/conftest.one &&
2773 test -s conftest.dir/conftest.two
2775 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2788 rm -rf conftest.one conftest.two conftest.dir
2791 if test "${ac_cv_path_install+set}" = set; then
2792 INSTALL=$ac_cv_path_install
2794 # As a last resort, use the slow shell script. Don't cache a
2795 # value for INSTALL within a source directory, because that will
2796 # break other packages using the cache if that directory is
2797 # removed, or if the value is a relative name.
2798 INSTALL=$ac_install_sh
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2802 $as_echo "$INSTALL" >&6; }
2804 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2805 # It thinks the first close brace ends the variable substitution.
2806 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2808 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2810 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2813 $as_echo_n "checking whether build environment is sane... " >&6; }
2816 echo timestamp > conftest.file
2817 # Reject unsafe characters in $srcdir or the absolute working directory
2818 # name. Accept space and tab only in the latter.
2822 *[\\\"\#\$\&\'\`$am_lf]*)
2823 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2826 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2827 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2830 # Do `set' in a subshell so we don't clobber the current shell's
2831 # arguments. Must try -L first in case configure is actually a
2832 # symlink; some systems play weird games with the mod time of symlinks
2833 # (eg FreeBSD returns the mod time of the symlink's containing
2836 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2837 if test "$*" = "X"; then
2839 set X `ls -t "$srcdir/configure" conftest.file`
2842 if test "$*" != "X $srcdir/configure conftest.file" \
2843 && test "$*" != "X conftest.file $srcdir/configure"; then
2845 # If neither matched, then we have a broken ls. This can happen
2846 # if, for instance, CONFIG_SHELL is bash and it inherits a
2847 # broken ls alias from the environment. This has actually
2848 # happened. Such a system could not be considered "sane".
2849 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2850 alias in your environment" "$LINENO" 5
2853 test "$2" = conftest.file
2859 as_fn_error "newly created file is older than distributed files!
2860 Check your system clock" "$LINENO" 5
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2863 $as_echo "yes" >&6; }
2864 test "$program_prefix" != NONE &&
2865 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2866 # Use a double $ so make ignores it.
2867 test "$program_suffix" != NONE &&
2868 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2869 # Double any \ or $.
2870 # By default was `s,x,x', remove it if useless.
2871 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2872 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2874 # expand $ac_aux_dir to an absolute path
2875 am_aux_dir=`cd $ac_aux_dir && pwd`
2877 if test x"${MISSING+set}" != xset; then
2880 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2882 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2885 # Use eval to expand $SHELL
2886 if eval "$MISSING --run true"; then
2887 am_missing_run="$MISSING --run "
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2891 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2894 if test x"${install_sh}" != xset; then
2897 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2899 install_sh="\${SHELL} $am_aux_dir/install-sh"
2903 # Installed binaries are usually stripped using `strip' when the user
2904 # run `make install-strip'. However `strip' might not be the right
2905 # tool to use in cross-compilation environments, therefore Automake
2906 # will honor the `STRIP' environment variable to overrule this program.
2907 if test "$cross_compiling" != no; then
2908 if test -n "$ac_tool_prefix"; then
2909 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2910 set dummy ${ac_tool_prefix}strip; ac_word=$2
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if test "${ac_cv_prog_STRIP+set}" = set; then :
2914 $as_echo_n "(cached) " >&6
2916 if test -n "$STRIP"; then
2917 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir=.
2924 for ac_exec_ext in '' $ac_executable_extensions; do
2925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2926 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2936 STRIP=$ac_cv_prog_STRIP
2937 if test -n "$STRIP"; then
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2939 $as_echo "$STRIP" >&6; }
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2942 $as_echo "no" >&6; }
2947 if test -z "$ac_cv_prog_STRIP"; then
2949 # Extract the first word of "strip", so it can be a program name with args.
2950 set dummy strip; ac_word=$2
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2952 $as_echo_n "checking for $ac_word... " >&6; }
2953 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2954 $as_echo_n "(cached) " >&6
2956 if test -n "$ac_ct_STRIP"; then
2957 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2963 test -z "$as_dir" && as_dir=.
2964 for ac_exec_ext in '' $ac_executable_extensions; do
2965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2966 ac_cv_prog_ac_ct_STRIP="strip"
2967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2976 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2977 if test -n "$ac_ct_STRIP"; then
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2979 $as_echo "$ac_ct_STRIP" >&6; }
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982 $as_echo "no" >&6; }
2985 if test "x$ac_ct_STRIP" = x; then
2988 case $cross_compiling:$ac_tool_warned in
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2992 ac_tool_warned=yes ;;
2997 STRIP="$ac_cv_prog_STRIP"
3001 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3004 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3005 if test -z "$MKDIR_P"; then
3006 if test "${ac_cv_path_mkdir+set}" = set; then :
3007 $as_echo_n "(cached) " >&6
3009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3010 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3013 test -z "$as_dir" && as_dir=.
3014 for ac_prog in mkdir gmkdir; do
3015 for ac_exec_ext in '' $ac_executable_extensions; do
3016 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3017 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3018 'mkdir (GNU coreutils) '* | \
3019 'mkdir (coreutils) '* | \
3020 'mkdir (fileutils) '4.1*)
3021 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3031 test -d ./--version && rmdir ./--version
3032 if test "${ac_cv_path_mkdir+set}" = set; then
3033 MKDIR_P="$ac_cv_path_mkdir -p"
3035 # As a last resort, use the slow shell script. Don't cache a
3036 # value for MKDIR_P within a source directory, because that will
3037 # break other packages using the cache if that directory is
3038 # removed, or if the value is a relative name.
3039 MKDIR_P="$ac_install_sh -d"
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3043 $as_echo "$MKDIR_P" >&6; }
3047 [\\/$]* | ?:[\\/]*) ;;
3048 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3051 for ac_prog in gawk mawk nawk awk
3053 # Extract the first word of "$ac_prog", so it can be a program name with args.
3054 set dummy $ac_prog; ac_word=$2
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3056 $as_echo_n "checking for $ac_word... " >&6; }
3057 if test "${ac_cv_prog_AWK+set}" = set; then :
3058 $as_echo_n "(cached) " >&6
3060 if test -n "$AWK"; then
3061 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3067 test -z "$as_dir" && as_dir=.
3068 for ac_exec_ext in '' $ac_executable_extensions; do
3069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3070 ac_cv_prog_AWK="$ac_prog"
3071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3081 if test -n "$AWK"; then
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3083 $as_echo "$AWK" >&6; }
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3086 $as_echo "no" >&6; }
3090 test -n "$AWK" && break
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3094 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3096 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3097 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3098 $as_echo_n "(cached) " >&6
3100 cat >conftest.make <<\_ACEOF
3103 @echo '@@@%%%=$(MAKE)=@@@%%%'
3105 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3106 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3108 eval ac_cv_prog_make_${ac_make}_set=yes;;
3110 eval ac_cv_prog_make_${ac_make}_set=no;;
3114 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3116 $as_echo "yes" >&6; }
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3120 $as_echo "no" >&6; }
3121 SET_MAKE="MAKE=${MAKE-make}"
3124 rm -rf .tst 2>/dev/null
3125 mkdir .tst 2>/dev/null
3126 if test -d .tst; then
3131 rmdir .tst 2>/dev/null
3133 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3134 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3135 # is not polluted with repeated "-I."
3136 am__isrc=' -I$(srcdir)'
3137 # test to see if srcdir already configured
3138 if test -f $srcdir/config.status; then
3139 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3143 # test whether we have cygpath
3144 if test -z "$CYGPATH_W"; then
3145 if (cygpath --version) >/dev/null 2>/dev/null; then
3146 CYGPATH_W='cygpath -w'
3153 # Define the identity of the package.
3158 cat >>confdefs.h <<_ACEOF
3159 #define PACKAGE "$PACKAGE"
3163 cat >>confdefs.h <<_ACEOF
3164 #define VERSION "$VERSION"
3167 # Some tools Automake needs.
3169 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3172 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3175 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3178 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3181 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3183 # We need awk for the "check" target. The system "awk" is bad on
3185 # Always define AMTAR for backward compatibility.
3187 AMTAR=${AMTAR-"${am_missing_run}tar"}
3189 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3199 ac_config_headers="$ac_config_headers config.h"
3202 ORC_LIBVERSION="11:0:11"
3204 enable_win32_dll=yes
3207 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3208 if test -n "$ac_tool_prefix"; then
3209 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3210 set dummy ${ac_tool_prefix}as; ac_word=$2
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3212 $as_echo_n "checking for $ac_word... " >&6; }
3213 if test "${ac_cv_prog_AS+set}" = set; then :
3214 $as_echo_n "(cached) " >&6
3216 if test -n "$AS"; then
3217 ac_cv_prog_AS="$AS" # Let the user override the test.
3219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3223 test -z "$as_dir" && as_dir=.
3224 for ac_exec_ext in '' $ac_executable_extensions; do
3225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3226 ac_cv_prog_AS="${ac_tool_prefix}as"
3227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3237 if test -n "$AS"; then
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3239 $as_echo "$AS" >&6; }
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3247 if test -z "$ac_cv_prog_AS"; then
3249 # Extract the first word of "as", so it can be a program name with args.
3250 set dummy as; ac_word=$2
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252 $as_echo_n "checking for $ac_word... " >&6; }
3253 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3254 $as_echo_n "(cached) " >&6
3256 if test -n "$ac_ct_AS"; then
3257 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266 ac_cv_prog_ac_ct_AS="as"
3267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3277 if test -n "$ac_ct_AS"; then
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3279 $as_echo "$ac_ct_AS" >&6; }
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3285 if test "x$ac_ct_AS" = x; then
3288 case $cross_compiling:$ac_tool_warned in
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3292 ac_tool_warned=yes ;;
3300 if test -n "$ac_tool_prefix"; then
3301 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3302 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3304 $as_echo_n "checking for $ac_word... " >&6; }
3305 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
3306 $as_echo_n "(cached) " >&6
3308 if test -n "$DLLTOOL"; then
3309 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3315 test -z "$as_dir" && as_dir=.
3316 for ac_exec_ext in '' $ac_executable_extensions; do
3317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3318 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3328 DLLTOOL=$ac_cv_prog_DLLTOOL
3329 if test -n "$DLLTOOL"; then
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3331 $as_echo "$DLLTOOL" >&6; }
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3334 $as_echo "no" >&6; }
3339 if test -z "$ac_cv_prog_DLLTOOL"; then
3340 ac_ct_DLLTOOL=$DLLTOOL
3341 # Extract the first word of "dlltool", so it can be a program name with args.
3342 set dummy dlltool; ac_word=$2
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3344 $as_echo_n "checking for $ac_word... " >&6; }
3345 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
3346 $as_echo_n "(cached) " >&6
3348 if test -n "$ac_ct_DLLTOOL"; then
3349 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 test -z "$as_dir" && as_dir=.
3356 for ac_exec_ext in '' $ac_executable_extensions; do
3357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3358 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3368 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3369 if test -n "$ac_ct_DLLTOOL"; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3371 $as_echo "$ac_ct_DLLTOOL" >&6; }
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3374 $as_echo "no" >&6; }
3377 if test "x$ac_ct_DLLTOOL" = x; then
3380 case $cross_compiling:$ac_tool_warned in
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3384 ac_tool_warned=yes ;;
3386 DLLTOOL=$ac_ct_DLLTOOL
3389 DLLTOOL="$ac_cv_prog_DLLTOOL"
3392 if test -n "$ac_tool_prefix"; then
3393 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3394 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3396 $as_echo_n "checking for $ac_word... " >&6; }
3397 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
3398 $as_echo_n "(cached) " >&6
3400 if test -n "$OBJDUMP"; then
3401 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3407 test -z "$as_dir" && as_dir=.
3408 for ac_exec_ext in '' $ac_executable_extensions; do
3409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3410 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3420 OBJDUMP=$ac_cv_prog_OBJDUMP
3421 if test -n "$OBJDUMP"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3423 $as_echo "$OBJDUMP" >&6; }
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3431 if test -z "$ac_cv_prog_OBJDUMP"; then
3432 ac_ct_OBJDUMP=$OBJDUMP
3433 # Extract the first word of "objdump", so it can be a program name with args.
3434 set dummy objdump; ac_word=$2
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3436 $as_echo_n "checking for $ac_word... " >&6; }
3437 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
3438 $as_echo_n "(cached) " >&6
3440 if test -n "$ac_ct_OBJDUMP"; then
3441 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3447 test -z "$as_dir" && as_dir=.
3448 for ac_exec_ext in '' $ac_executable_extensions; do
3449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3450 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3460 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3461 if test -n "$ac_ct_OBJDUMP"; then
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3463 $as_echo "$ac_ct_OBJDUMP" >&6; }
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3466 $as_echo "no" >&6; }
3469 if test "x$ac_ct_OBJDUMP" = x; then
3472 case $cross_compiling:$ac_tool_warned in
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3476 ac_tool_warned=yes ;;
3478 OBJDUMP=$ac_ct_OBJDUMP
3481 OBJDUMP="$ac_cv_prog_OBJDUMP"
3487 test -z "$AS" && AS=as
3493 test -z "$DLLTOOL" && DLLTOOL=dlltool
3499 test -z "$OBJDUMP" && OBJDUMP=objdump
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3512 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3517 macro_version='2.2.6b'
3518 macro_revision='1.3017'
3532 ltmain="$ac_aux_dir/ltmain.sh"
3534 DEPDIR="${am__leading_dot}deps"
3536 ac_config_commands="$ac_config_commands depfiles"
3539 am_make=${MAKE-make}
3540 cat > confinc << 'END'
3542 @echo this is the am__doit target
3545 # If we don't find an include directive, just comment out the code.
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3547 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3551 # First try GNU make style include.
3552 echo "include confinc" > confmf
3553 # Ignore all kinds of additional output from `make'.
3554 case `$am_make -s -f confmf 2> /dev/null` in #(
3555 *the\ am__doit\ target*)
3561 # Now try BSD make style include.
3562 if test "$am__include" = "#"; then
3563 echo '.include "confinc"' > confmf
3564 case `$am_make -s -f confmf 2> /dev/null` in #(
3565 *the\ am__doit\ target*)
3566 am__include=.include
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3575 $as_echo "$_am_result" >&6; }
3576 rm -f confinc confmf
3578 # Check whether --enable-dependency-tracking was given.
3579 if test "${enable_dependency_tracking+set}" = set; then :
3580 enableval=$enable_dependency_tracking;
3583 if test "x$enable_dependency_tracking" != xno; then
3584 am_depcomp="$ac_aux_dir/depcomp"
3587 if test "x$enable_dependency_tracking" != xno; then
3597 ac_cpp='$CPP $CPPFLAGS'
3598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3601 if test -n "$ac_tool_prefix"; then
3602 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3603 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3605 $as_echo_n "checking for $ac_word... " >&6; }
3606 if test "${ac_cv_prog_CC+set}" = set; then :
3607 $as_echo_n "(cached) " >&6
3609 if test -n "$CC"; then
3610 ac_cv_prog_CC="$CC" # Let the user override the test.
3612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3616 test -z "$as_dir" && as_dir=.
3617 for ac_exec_ext in '' $ac_executable_extensions; do
3618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3619 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3630 if test -n "$CC"; then
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3632 $as_echo "$CC" >&6; }
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3635 $as_echo "no" >&6; }
3640 if test -z "$ac_cv_prog_CC"; then
3642 # Extract the first word of "gcc", so it can be a program name with args.
3643 set dummy gcc; ac_word=$2
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3645 $as_echo_n "checking for $ac_word... " >&6; }
3646 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3647 $as_echo_n "(cached) " >&6
3649 if test -n "$ac_ct_CC"; then
3650 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3656 test -z "$as_dir" && as_dir=.
3657 for ac_exec_ext in '' $ac_executable_extensions; do
3658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3659 ac_cv_prog_ac_ct_CC="gcc"
3660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3670 if test -n "$ac_ct_CC"; then
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3672 $as_echo "$ac_ct_CC" >&6; }
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3675 $as_echo "no" >&6; }
3678 if test "x$ac_ct_CC" = x; then
3681 case $cross_compiling:$ac_tool_warned in
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3684 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3685 ac_tool_warned=yes ;;
3693 if test -z "$CC"; then
3694 if test -n "$ac_tool_prefix"; then
3695 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3696 set dummy ${ac_tool_prefix}cc; ac_word=$2
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3698 $as_echo_n "checking for $ac_word... " >&6; }
3699 if test "${ac_cv_prog_CC+set}" = set; then :
3700 $as_echo_n "(cached) " >&6
3702 if test -n "$CC"; then
3703 ac_cv_prog_CC="$CC" # Let the user override the test.
3705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 test -z "$as_dir" && as_dir=.
3710 for ac_exec_ext in '' $ac_executable_extensions; do
3711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3712 ac_cv_prog_CC="${ac_tool_prefix}cc"
3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3723 if test -n "$CC"; then
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3725 $as_echo "$CC" >&6; }
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3728 $as_echo "no" >&6; }
3734 if test -z "$CC"; then
3735 # Extract the first word of "cc", so it can be a program name with args.
3736 set dummy cc; ac_word=$2
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3738 $as_echo_n "checking for $ac_word... " >&6; }
3739 if test "${ac_cv_prog_CC+set}" = set; then :
3740 $as_echo_n "(cached) " >&6
3742 if test -n "$CC"; then
3743 ac_cv_prog_CC="$CC" # Let the user override the test.
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3750 test -z "$as_dir" && as_dir=.
3751 for ac_exec_ext in '' $ac_executable_extensions; do
3752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3753 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3754 ac_prog_rejected=yes
3758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765 if test $ac_prog_rejected = yes; then
3766 # We found a bogon in the path, so make sure we never use it.
3767 set dummy $ac_cv_prog_CC
3769 if test $# != 0; then
3770 # We chose a different compiler from the bogus one.
3771 # However, it has the same basename, so the bogon will be chosen
3772 # first if we set CC to just the basename; use the full file name.
3774 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3780 if test -n "$CC"; then
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3782 $as_echo "$CC" >&6; }
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3785 $as_echo "no" >&6; }
3790 if test -z "$CC"; then
3791 if test -n "$ac_tool_prefix"; then
3792 for ac_prog in cl.exe
3794 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3795 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3797 $as_echo_n "checking for $ac_word... " >&6; }
3798 if test "${ac_cv_prog_CC+set}" = set; then :
3799 $as_echo_n "(cached) " >&6
3801 if test -n "$CC"; then
3802 ac_cv_prog_CC="$CC" # Let the user override the test.
3804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3808 test -z "$as_dir" && as_dir=.
3809 for ac_exec_ext in '' $ac_executable_extensions; do
3810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3811 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3822 if test -n "$CC"; then
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3824 $as_echo "$CC" >&6; }
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3827 $as_echo "no" >&6; }
3831 test -n "$CC" && break
3834 if test -z "$CC"; then
3836 for ac_prog in cl.exe
3838 # Extract the first word of "$ac_prog", so it can be a program name with args.
3839 set dummy $ac_prog; ac_word=$2
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3841 $as_echo_n "checking for $ac_word... " >&6; }
3842 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3843 $as_echo_n "(cached) " >&6
3845 if test -n "$ac_ct_CC"; then
3846 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3852 test -z "$as_dir" && as_dir=.
3853 for ac_exec_ext in '' $ac_executable_extensions; do
3854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3855 ac_cv_prog_ac_ct_CC="$ac_prog"
3856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3865 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3866 if test -n "$ac_ct_CC"; then
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3868 $as_echo "$ac_ct_CC" >&6; }
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3871 $as_echo "no" >&6; }
3875 test -n "$ac_ct_CC" && break
3878 if test "x$ac_ct_CC" = x; then
3881 case $cross_compiling:$ac_tool_warned in
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3885 ac_tool_warned=yes ;;
3894 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3896 as_fn_error "no acceptable C compiler found in \$PATH
3897 See \`config.log' for more details." "$LINENO" 5; }
3899 # Provide some information about the compiler.
3900 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3903 for ac_option in --version -v -V -qversion; do
3904 { { ac_try="$ac_compiler $ac_option >&5"
3906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3907 *) ac_try_echo=$ac_try;;
3909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3910 $as_echo "$ac_try_echo"; } >&5
3911 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3913 if test -s conftest.err; then
3915 ... rest of stderr output deleted ...
3916 10q' conftest.err >conftest.er1
3917 cat conftest.er1 >&5
3919 rm -f conftest.er1 conftest.err
3920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3921 test $ac_status = 0; }
3924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3925 /* end confdefs.h. */
3935 ac_clean_files_save=$ac_clean_files
3936 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3937 # Try to create an executable without -o first, disregard a.out.
3938 # It will help us diagnose broken compilers, and finding out an intuition
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3941 $as_echo_n "checking whether the C compiler works... " >&6; }
3942 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3944 # The possible output files:
3945 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3948 for ac_file in $ac_files
3951 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3952 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3957 if { { ac_try="$ac_link_default"
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3963 $as_echo "$ac_try_echo"; } >&5
3964 (eval "$ac_link_default") 2>&5
3966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3967 test $ac_status = 0; }; then :
3968 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3969 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3970 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3971 # so that the user can short-circuit this test for compilers unknown to
3973 for ac_file in $ac_files ''
3975 test -f "$ac_file" || continue
3977 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3980 # We found the default executable, but exeext='' is most
3984 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3986 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3988 # We set ac_cv_exeext here because the later test for it is not
3989 # safe: cross compilers may not add the suffix if given an `-o'
3990 # argument, so we may need to know it at that point already.
3991 # Even if this section looks crufty: it has the advantage of
3998 test "$ac_cv_exeext" = no && ac_cv_exeext=
4003 if test -z "$ac_file"; then :
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4005 $as_echo "no" >&6; }
4006 $as_echo "$as_me: failed program was:" >&5
4007 sed 's/^/| /' conftest.$ac_ext >&5
4009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4010 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4011 { as_fn_set_status 77
4012 as_fn_error "C compiler cannot create executables
4013 See \`config.log' for more details." "$LINENO" 5; }; }
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4016 $as_echo "yes" >&6; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4019 $as_echo_n "checking for C compiler default output file name... " >&6; }
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4021 $as_echo "$ac_file" >&6; }
4022 ac_exeext=$ac_cv_exeext
4024 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4025 ac_clean_files=$ac_clean_files_save
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4027 $as_echo_n "checking for suffix of executables... " >&6; }
4028 if { { ac_try="$ac_link"
4030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4031 *) ac_try_echo=$ac_try;;
4033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4034 $as_echo "$ac_try_echo"; } >&5
4035 (eval "$ac_link") 2>&5
4037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4038 test $ac_status = 0; }; then :
4039 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4040 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4041 # work properly (i.e., refer to `conftest.exe'), while it won't with
4043 for ac_file in conftest.exe conftest conftest.*; do
4044 test -f "$ac_file" || continue
4046 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4047 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4055 as_fn_error "cannot compute suffix of executables: cannot compile and link
4056 See \`config.log' for more details." "$LINENO" 5; }
4058 rm -f conftest conftest$ac_cv_exeext
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4060 $as_echo "$ac_cv_exeext" >&6; }
4062 rm -f conftest.$ac_ext
4063 EXEEXT=$ac_cv_exeext
4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h. */
4071 FILE *f = fopen ("conftest.out", "w");
4072 return ferror (f) || fclose (f) != 0;
4078 ac_clean_files="$ac_clean_files conftest.out"
4079 # Check that the compiler produces executables we can run. If not, either
4080 # the compiler is broken, or we cross compile.
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4082 $as_echo_n "checking whether we are cross compiling... " >&6; }
4083 if test "$cross_compiling" != yes; then
4084 { { ac_try="$ac_link"
4086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4087 *) ac_try_echo=$ac_try;;
4089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4090 $as_echo "$ac_try_echo"; } >&5
4091 (eval "$ac_link") 2>&5
4093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4094 test $ac_status = 0; }
4095 if { ac_try='./conftest$ac_cv_exeext'
4096 { { case "(($ac_try" in
4097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4098 *) ac_try_echo=$ac_try;;
4100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4101 $as_echo "$ac_try_echo"; } >&5
4102 (eval "$ac_try") 2>&5
4104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4105 test $ac_status = 0; }; }; then
4108 if test "$cross_compiling" = maybe; then
4111 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4113 as_fn_error "cannot run C compiled programs.
4114 If you meant to cross compile, use \`--host'.
4115 See \`config.log' for more details." "$LINENO" 5; }
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4120 $as_echo "$cross_compiling" >&6; }
4122 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4123 ac_clean_files=$ac_clean_files_save
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4125 $as_echo_n "checking for suffix of object files... " >&6; }
4126 if test "${ac_cv_objext+set}" = set; then :
4127 $as_echo_n "(cached) " >&6
4129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4140 rm -f conftest.o conftest.obj
4141 if { { ac_try="$ac_compile"
4143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4144 *) ac_try_echo=$ac_try;;
4146 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4147 $as_echo "$ac_try_echo"; } >&5
4148 (eval "$ac_compile") 2>&5
4150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4151 test $ac_status = 0; }; then :
4152 for ac_file in conftest.o conftest.obj conftest.*; do
4153 test -f "$ac_file" || continue;
4155 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4156 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4161 $as_echo "$as_me: failed program was:" >&5
4162 sed 's/^/| /' conftest.$ac_ext >&5
4164 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4166 as_fn_error "cannot compute suffix of object files: cannot compile
4167 See \`config.log' for more details." "$LINENO" 5; }
4169 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4172 $as_echo "$ac_cv_objext" >&6; }
4173 OBJEXT=$ac_cv_objext
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4176 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4177 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4178 $as_echo_n "(cached) " >&6
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4194 if ac_fn_c_try_compile "$LINENO"; then :
4199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4200 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4204 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4205 if test $ac_compiler_gnu = yes; then
4210 ac_test_CFLAGS=${CFLAGS+set}
4211 ac_save_CFLAGS=$CFLAGS
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4213 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4214 if test "${ac_cv_prog_cc_g+set}" = set; then :
4215 $as_echo_n "(cached) " >&6
4217 ac_save_c_werror_flag=$ac_c_werror_flag
4218 ac_c_werror_flag=yes
4221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4222 /* end confdefs.h. */
4232 if ac_fn_c_try_compile "$LINENO"; then :
4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4247 if ac_fn_c_try_compile "$LINENO"; then :
4250 ac_c_werror_flag=$ac_save_c_werror_flag
4252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4253 /* end confdefs.h. */
4263 if ac_fn_c_try_compile "$LINENO"; then :
4266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4271 ac_c_werror_flag=$ac_save_c_werror_flag
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4274 $as_echo "$ac_cv_prog_cc_g" >&6; }
4275 if test "$ac_test_CFLAGS" = set; then
4276 CFLAGS=$ac_save_CFLAGS
4277 elif test $ac_cv_prog_cc_g = yes; then
4278 if test "$GCC" = yes; then
4284 if test "$GCC" = yes; then
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4291 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4292 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4293 $as_echo_n "(cached) " >&6
4295 ac_cv_prog_cc_c89=no
4297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4298 /* end confdefs.h. */
4301 #include <sys/types.h>
4302 #include <sys/stat.h>
4303 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4304 struct buf { int x; };
4305 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4306 static char *e (p, i)
4312 static char *f (char * (*g) (char **, int), char **p, ...)
4317 s = g (p, va_arg (v,int));
4322 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4323 function prototypes and stuff, but not '\xHH' hex character constants.
4324 These don't provoke an error unfortunately, instead are silently treated
4325 as 'x'. The following induces an error, until -std is added to get
4326 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4327 array size at least. It's necessary to write '\x00'==0 to get something
4328 that's true only with -std. */
4329 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4331 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4332 inside strings and character constants. */
4334 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4336 int test (int i, double x);
4337 struct s1 {int (*f) (int a);};
4338 struct s2 {int (*f) (double a);};
4339 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4345 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4350 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4351 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4353 CC="$ac_save_CC $ac_arg"
4354 if ac_fn_c_try_compile "$LINENO"; then :
4355 ac_cv_prog_cc_c89=$ac_arg
4357 rm -f core conftest.err conftest.$ac_objext
4358 test "x$ac_cv_prog_cc_c89" != "xno" && break
4360 rm -f conftest.$ac_ext
4365 case "x$ac_cv_prog_cc_c89" in
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4368 $as_echo "none needed" >&6; } ;;
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4371 $as_echo "unsupported" >&6; } ;;
4373 CC="$CC $ac_cv_prog_cc_c89"
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4375 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4377 if test "x$ac_cv_prog_cc_c89" != xno; then :
4382 ac_cpp='$CPP $CPPFLAGS'
4383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4387 depcc="$CC" am_compiler_list=
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4390 $as_echo_n "checking dependency style of $depcc... " >&6; }
4391 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4392 $as_echo_n "(cached) " >&6
4394 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4395 # We make a subdir and do the tests there. Otherwise we can end up
4396 # making bogus files that we don't know about and never remove. For
4397 # instance it was reported that on HP-UX the gcc test will end up
4398 # making a dummy file named `D' -- because `-MD' means `put the output
4401 # Copy depcomp to subdir because otherwise we won't find it if we're
4402 # using a relative directory.
4403 cp "$am_depcomp" conftest.dir
4405 # We will build objects and dependencies in a subdirectory because
4406 # it helps to detect inapplicable dependency modes. For instance
4407 # both Tru64's cc and ICC support -MD to output dependencies as a
4408 # side effect of compilation, but ICC will put the dependencies in
4409 # the current directory while Tru64 will put them in the object
4413 am_cv_CC_dependencies_compiler_type=none
4414 if test "$am_compiler_list" = ""; then
4415 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4418 case " $depcc " in #(
4419 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4422 for depmode in $am_compiler_list; do
4423 # Setup a source with many dependencies, because some compilers
4424 # like to wrap large dependency lists on column 80 (with \), and
4425 # we should not choose a depcomp mode which is confused by this.
4427 # We need to recreate these files for each test, as the compiler may
4428 # overwrite some of them when testing with obscure command lines.
4429 # This happens at least with the AIX C compiler.
4431 for i in 1 2 3 4 5 6; do
4432 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4433 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4434 # Solaris 8's {/usr,}/bin/sh.
4435 touch sub/conftst$i.h
4437 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4439 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4440 # mode. It turns out that the SunPro C++ compiler does not properly
4441 # handle `-M -o', and we need to detect this. Also, some Intel
4442 # versions had trouble with output in subdirs
4443 am__obj=sub/conftest.${OBJEXT-o}
4444 am__minus_obj="-o $am__obj"
4447 # This depmode causes a compiler race in universal mode.
4448 test "$am__universal" = false || continue
4451 # after this tag, mechanisms are not by side-effect, so they'll
4452 # only be used when explicitly requested
4453 if test "x$enable_dependency_tracking" = xyes; then
4459 msvisualcpp | msvcmsys)
4460 # This compiler won't grok `-c -o', but also, the minuso test has
4461 # not run yet. These depmodes are late enough in the game, and
4462 # so weak that their functioning should not be impacted.
4463 am__obj=conftest.${OBJEXT-o}
4468 if depmode=$depmode \
4469 source=sub/conftest.c object=$am__obj \
4470 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4471 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4472 >/dev/null 2>conftest.err &&
4473 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4474 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4475 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4476 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4477 # icc doesn't choke on unknown options, it will just issue warnings
4478 # or remarks (even with -Werror). So we grep stderr for any message
4479 # that says an option was ignored or not supported.
4480 # When given -MP, icc 7.0 and 7.1 complain thusly:
4481 # icc: Command line warning: ignoring option '-M'; no argument required
4482 # The diagnosis changed in icc 8.0:
4483 # icc: Command line remark: option '-MP' not supported
4484 if (grep 'ignoring option' conftest.err ||
4485 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4486 am_cv_CC_dependencies_compiler_type=$depmode
4495 am_cv_CC_dependencies_compiler_type=none
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4500 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4501 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4504 test "x$enable_dependency_tracking" != xno \
4505 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4507 am__fastdepCC_FALSE='#'
4509 am__fastdepCC_TRUE='#'
4510 am__fastdepCC_FALSE=
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4515 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4516 if test "${ac_cv_path_SED+set}" = set; then :
4517 $as_echo_n "(cached) " >&6
4519 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4520 for ac_i in 1 2 3 4 5 6 7; do
4521 ac_script="$ac_script$as_nl$ac_script"
4523 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4524 { ac_script=; unset ac_script;}
4525 if test -z "$SED"; then
4526 ac_path_SED_found=false
4527 # Loop through the user's path and test for each of PROGNAME-LIST
4528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 test -z "$as_dir" && as_dir=.
4533 for ac_prog in sed gsed; do
4534 for ac_exec_ext in '' $ac_executable_extensions; do
4535 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4536 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4537 # Check for GNU ac_path_SED and select it if it is found.
4538 # Check for GNU $ac_path_SED
4539 case `"$ac_path_SED" --version 2>&1` in
4541 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4544 $as_echo_n 0123456789 >"conftest.in"
4547 cat "conftest.in" "conftest.in" >"conftest.tmp"
4548 mv "conftest.tmp" "conftest.in"
4549 cp "conftest.in" "conftest.nl"
4550 $as_echo '' >> "conftest.nl"
4551 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4552 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4553 as_fn_arith $ac_count + 1 && ac_count=$as_val
4554 if test $ac_count -gt ${ac_path_SED_max-0}; then
4555 # Best one so far, save it but keep looking for a better one
4556 ac_cv_path_SED="$ac_path_SED"
4557 ac_path_SED_max=$ac_count
4559 # 10*(2^10) chars as input seems more than enough
4560 test $ac_count -gt 10 && break
4562 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4565 $ac_path_SED_found && break 3
4570 if test -z "$ac_cv_path_SED"; then
4571 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4579 $as_echo "$ac_cv_path_SED" >&6; }
4580 SED="$ac_cv_path_SED"
4583 test -z "$SED" && SED=sed
4584 Xsed="$SED -e 1s/^X//"
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4597 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4598 if test "${ac_cv_path_GREP+set}" = set; then :
4599 $as_echo_n "(cached) " >&6
4601 if test -z "$GREP"; then
4602 ac_path_GREP_found=false
4603 # Loop through the user's path and test for each of PROGNAME-LIST
4604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4605 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4608 test -z "$as_dir" && as_dir=.
4609 for ac_prog in grep ggrep; do
4610 for ac_exec_ext in '' $ac_executable_extensions; do
4611 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4612 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4613 # Check for GNU ac_path_GREP and select it if it is found.
4614 # Check for GNU $ac_path_GREP
4615 case `"$ac_path_GREP" --version 2>&1` in
4617 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4620 $as_echo_n 0123456789 >"conftest.in"
4623 cat "conftest.in" "conftest.in" >"conftest.tmp"
4624 mv "conftest.tmp" "conftest.in"
4625 cp "conftest.in" "conftest.nl"
4626 $as_echo 'GREP' >> "conftest.nl"
4627 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4628 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4629 as_fn_arith $ac_count + 1 && ac_count=$as_val
4630 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4631 # Best one so far, save it but keep looking for a better one
4632 ac_cv_path_GREP="$ac_path_GREP"
4633 ac_path_GREP_max=$ac_count
4635 # 10*(2^10) chars as input seems more than enough
4636 test $ac_count -gt 10 && break
4638 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4641 $ac_path_GREP_found && break 3
4646 if test -z "$ac_cv_path_GREP"; then
4647 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4650 ac_cv_path_GREP=$GREP
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4655 $as_echo "$ac_cv_path_GREP" >&6; }
4656 GREP="$ac_cv_path_GREP"
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4660 $as_echo_n "checking for egrep... " >&6; }
4661 if test "${ac_cv_path_EGREP+set}" = set; then :
4662 $as_echo_n "(cached) " >&6
4664 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4665 then ac_cv_path_EGREP="$GREP -E"
4667 if test -z "$EGREP"; then
4668 ac_path_EGREP_found=false
4669 # Loop through the user's path and test for each of PROGNAME-LIST
4670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4671 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4674 test -z "$as_dir" && as_dir=.
4675 for ac_prog in egrep; do
4676 for ac_exec_ext in '' $ac_executable_extensions; do
4677 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4678 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4679 # Check for GNU ac_path_EGREP and select it if it is found.
4680 # Check for GNU $ac_path_EGREP
4681 case `"$ac_path_EGREP" --version 2>&1` in
4683 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4686 $as_echo_n 0123456789 >"conftest.in"
4689 cat "conftest.in" "conftest.in" >"conftest.tmp"
4690 mv "conftest.tmp" "conftest.in"
4691 cp "conftest.in" "conftest.nl"
4692 $as_echo 'EGREP' >> "conftest.nl"
4693 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4694 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4695 as_fn_arith $ac_count + 1 && ac_count=$as_val
4696 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4697 # Best one so far, save it but keep looking for a better one
4698 ac_cv_path_EGREP="$ac_path_EGREP"
4699 ac_path_EGREP_max=$ac_count
4701 # 10*(2^10) chars as input seems more than enough
4702 test $ac_count -gt 10 && break
4704 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4707 $ac_path_EGREP_found && break 3
4712 if test -z "$ac_cv_path_EGREP"; then
4713 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4716 ac_cv_path_EGREP=$EGREP
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4722 $as_echo "$ac_cv_path_EGREP" >&6; }
4723 EGREP="$ac_cv_path_EGREP"
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4727 $as_echo_n "checking for fgrep... " >&6; }
4728 if test "${ac_cv_path_FGREP+set}" = set; then :
4729 $as_echo_n "(cached) " >&6
4731 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4732 then ac_cv_path_FGREP="$GREP -F"
4734 if test -z "$FGREP"; then
4735 ac_path_FGREP_found=false
4736 # Loop through the user's path and test for each of PROGNAME-LIST
4737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4738 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4741 test -z "$as_dir" && as_dir=.
4742 for ac_prog in fgrep; do
4743 for ac_exec_ext in '' $ac_executable_extensions; do
4744 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4745 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4746 # Check for GNU ac_path_FGREP and select it if it is found.
4747 # Check for GNU $ac_path_FGREP
4748 case `"$ac_path_FGREP" --version 2>&1` in
4750 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4753 $as_echo_n 0123456789 >"conftest.in"
4756 cat "conftest.in" "conftest.in" >"conftest.tmp"
4757 mv "conftest.tmp" "conftest.in"
4758 cp "conftest.in" "conftest.nl"
4759 $as_echo 'FGREP' >> "conftest.nl"
4760 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4761 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4762 as_fn_arith $ac_count + 1 && ac_count=$as_val
4763 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4764 # Best one so far, save it but keep looking for a better one
4765 ac_cv_path_FGREP="$ac_path_FGREP"
4766 ac_path_FGREP_max=$ac_count
4768 # 10*(2^10) chars as input seems more than enough
4769 test $ac_count -gt 10 && break
4771 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4774 $ac_path_FGREP_found && break 3
4779 if test -z "$ac_cv_path_FGREP"; then
4780 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4783 ac_cv_path_FGREP=$FGREP
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4789 $as_echo "$ac_cv_path_FGREP" >&6; }
4790 FGREP="$ac_cv_path_FGREP"
4793 test -z "$GREP" && GREP=grep
4813 # Check whether --with-gnu-ld was given.
4814 if test "${with_gnu_ld+set}" = set; then :
4815 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4821 if test "$GCC" = yes; then
4822 # Check if gcc -print-prog-name=ld gives a path.
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4824 $as_echo_n "checking for ld used by $CC... " >&6; }
4827 # gcc leaves a trailing carriage return which upsets mingw
4828 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4830 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4833 # Accept absolute paths.
4835 re_direlt='/[^/][^/]*/\.\./'
4836 # Canonicalize the pathname of ld
4837 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4838 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4839 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4841 test -z "$LD" && LD="$ac_prog"
4844 # If it fails, then pretend we aren't using GCC.
4848 # If it is relative, then search for the first ld in PATH.
4852 elif test "$with_gnu_ld" = yes; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4854 $as_echo_n "checking for GNU ld... " >&6; }
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4857 $as_echo_n "checking for non-GNU ld... " >&6; }
4859 if test "${lt_cv_path_LD+set}" = set; then :
4860 $as_echo_n "(cached) " >&6
4862 if test -z "$LD"; then
4863 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4864 for ac_dir in $PATH; do
4866 test -z "$ac_dir" && ac_dir=.
4867 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4868 lt_cv_path_LD="$ac_dir/$ac_prog"
4869 # Check to see if the program is GNU ld. I'd rather use --version,
4870 # but apparently some variants of GNU ld only accept -v.
4871 # Break only if it was the GNU/non-GNU ld that we prefer.
4872 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4873 *GNU* | *'with BFD'*)
4874 test "$with_gnu_ld" != no && break
4877 test "$with_gnu_ld" != yes && break
4884 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4889 if test -n "$LD"; then
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4891 $as_echo "$LD" >&6; }
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4894 $as_echo "no" >&6; }
4896 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4898 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4899 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4900 $as_echo_n "(cached) " >&6
4902 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4903 case `$LD -v 2>&1 </dev/null` in
4904 *GNU* | *'with BFD'*)
4905 lt_cv_prog_gnu_ld=yes
4908 lt_cv_prog_gnu_ld=no
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4913 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4914 with_gnu_ld=$lt_cv_prog_gnu_ld
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4925 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4926 if test "${lt_cv_path_NM+set}" = set; then :
4927 $as_echo_n "(cached) " >&6
4929 if test -n "$NM"; then
4930 # Let the user override the test.
4933 lt_nm_to_check="${ac_tool_prefix}nm"
4934 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4935 lt_nm_to_check="$lt_nm_to_check nm"
4937 for lt_tmp_nm in $lt_nm_to_check; do
4938 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4939 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4941 test -z "$ac_dir" && ac_dir=.
4942 tmp_nm="$ac_dir/$lt_tmp_nm"
4943 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4944 # Check to see if the nm accepts a BSD-compat flag.
4945 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4946 # nm: unknown option "B" ignored
4947 # Tru64's nm complains that /dev/null is an invalid object file
4948 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4949 */dev/null* | *'Invalid file or object type'*)
4950 lt_cv_path_NM="$tmp_nm -B"
4954 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4956 lt_cv_path_NM="$tmp_nm -p"
4960 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4961 continue # so that we can try to find one that supports BSD flags
4970 : ${lt_cv_path_NM=no}
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4974 $as_echo "$lt_cv_path_NM" >&6; }
4975 if test "$lt_cv_path_NM" != "no"; then
4978 # Didn't find any BSD compatible name lister, look for dumpbin.
4979 if test -n "$ac_tool_prefix"; then
4980 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4982 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4983 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4987 $as_echo_n "(cached) " >&6
4989 if test -n "$DUMPBIN"; then
4990 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4996 test -z "$as_dir" && as_dir=.
4997 for ac_exec_ext in '' $ac_executable_extensions; do
4998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4999 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5009 DUMPBIN=$ac_cv_prog_DUMPBIN
5010 if test -n "$DUMPBIN"; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5012 $as_echo "$DUMPBIN" >&6; }
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5019 test -n "$DUMPBIN" && break
5022 if test -z "$DUMPBIN"; then
5023 ac_ct_DUMPBIN=$DUMPBIN
5024 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5026 # Extract the first word of "$ac_prog", so it can be a program name with args.
5027 set dummy $ac_prog; ac_word=$2
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5029 $as_echo_n "checking for $ac_word... " >&6; }
5030 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5031 $as_echo_n "(cached) " >&6
5033 if test -n "$ac_ct_DUMPBIN"; then
5034 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5040 test -z "$as_dir" && as_dir=.
5041 for ac_exec_ext in '' $ac_executable_extensions; do
5042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5043 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5054 if test -n "$ac_ct_DUMPBIN"; then
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5056 $as_echo "$ac_ct_DUMPBIN" >&6; }
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5059 $as_echo "no" >&6; }
5063 test -n "$ac_ct_DUMPBIN" && break
5066 if test "x$ac_ct_DUMPBIN" = x; then
5069 case $cross_compiling:$ac_tool_warned in
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5073 ac_tool_warned=yes ;;
5075 DUMPBIN=$ac_ct_DUMPBIN
5080 if test "$DUMPBIN" != ":"; then
5084 test -z "$NM" && NM=nm
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5092 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5093 if test "${lt_cv_nm_interface+set}" = set; then :
5094 $as_echo_n "(cached) " >&6
5096 lt_cv_nm_interface="BSD nm"
5097 echo "int some_variable = 0;" > conftest.$ac_ext
5098 (eval echo "\"\$as_me:5098: $ac_compile\"" >&5)
5099 (eval "$ac_compile" 2>conftest.err)
5100 cat conftest.err >&5
5101 (eval echo "\"\$as_me:5101: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5102 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5103 cat conftest.err >&5
5104 (eval echo "\"\$as_me:5104: output\"" >&5)
5105 cat conftest.out >&5
5106 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5107 lt_cv_nm_interface="MS dumpbin"
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5112 $as_echo "$lt_cv_nm_interface" >&6; }
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5115 $as_echo_n "checking whether ln -s works... " >&6; }
5117 if test "$LN_S" = "ln -s"; then
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5119 $as_echo "yes" >&6; }
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5122 $as_echo "no, using $LN_S" >&6; }
5125 # find the maximum length of command line arguments
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5127 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5128 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5129 $as_echo_n "(cached) " >&6
5136 # On DJGPP, this test can blow up pretty badly due to problems in libc
5137 # (any single argument exceeding 2000 bytes causes a buffer overrun
5138 # during glob expansion). Even if it were fixed, the result of this
5139 # check would be larger than it should be.
5140 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5144 # Under GNU Hurd, this test is not required because there is
5145 # no limit to the length of command line arguments.
5146 # Libtool will interpret -1 as no limit whatsoever
5147 lt_cv_sys_max_cmd_len=-1;
5150 cygwin* | mingw* | cegcc*)
5151 # On Win9x/ME, this test blows up -- it succeeds, but takes
5152 # about 5 minutes as the teststring grows exponentially.
5153 # Worse, since 9x/ME are not pre-emptively multitasking,
5154 # you end up with a "frozen" computer, even though with patience
5155 # the test eventually succeeds (with a max line length of 256k).
5156 # Instead, let's just punt: use the minimum linelength reported by
5157 # all of the supported platforms: 8192 (on NT/2K/XP).
5158 lt_cv_sys_max_cmd_len=8192;
5162 # On AmigaOS with pdksh, this test takes hours, literally.
5163 # So we just punt and use a minimum line length of 8192.
5164 lt_cv_sys_max_cmd_len=8192;
5167 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5168 # This has been around since 386BSD, at least. Likely further.
5169 if test -x /sbin/sysctl; then
5170 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5171 elif test -x /usr/sbin/sysctl; then
5172 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5174 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5176 # And add a safety zone
5177 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5178 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5182 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5183 lt_cv_sys_max_cmd_len=196608
5187 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5188 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5189 # nice to cause kernel panics so lets avoid the loop below.
5190 # First set a reasonable default.
5191 lt_cv_sys_max_cmd_len=16384
5193 if test -x /sbin/sysconfig; then
5194 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5195 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5200 lt_cv_sys_max_cmd_len=102400
5202 sysv5* | sco5v6* | sysv4.2uw2*)
5203 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5204 if test -n "$kargmax"; then
5205 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5207 lt_cv_sys_max_cmd_len=32768
5211 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5212 if test -n "$lt_cv_sys_max_cmd_len"; then
5213 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5214 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5216 # Make teststring a little bigger before we do anything with it.
5217 # a 1K string should be a reasonable start.
5218 for i in 1 2 3 4 5 6 7 8 ; do
5219 teststring=$teststring$teststring
5221 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5222 # If test is not a shell built-in, we'll probably end up computing a
5223 # maximum length that is only half of the actual maximum length, but
5225 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5226 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5227 test $i != 17 # 1/2 MB should be enough
5230 teststring=$teststring$teststring
5232 # Only check the string length outside the loop.
5233 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5235 # Add a significant safety factor because C++ compilers can tack on
5236 # massive amounts of additional arguments before passing them to the
5237 # linker. It appears as though 1/2 is a usable value.
5238 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5245 if test -n $lt_cv_sys_max_cmd_len ; then
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5247 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5250 $as_echo "none" >&6; }
5252 max_cmd_len=$lt_cv_sys_max_cmd_len
5263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5264 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5265 # Try some XSI features
5268 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5270 && eval 'test $(( 1 + 1 )) -eq 2 \
5271 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5274 $as_echo "$xsi_shell" >&6; }
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5278 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5280 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5282 && lt_shell_append=yes
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5284 $as_echo "$lt_shell_append" >&6; }
5287 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5297 # test EBCDIC or ASCII
5298 case `echo X|tr X '\101'` in
5299 A) # ASCII based system
5300 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5301 lt_SP2NL='tr \040 \012'
5302 lt_NL2SP='tr \015\012 \040\040'
5304 *) # EBCDIC based system
5305 lt_SP2NL='tr \100 \n'
5306 lt_NL2SP='tr \r\n \100\100'
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5319 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5320 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5321 $as_echo_n "(cached) " >&6
5323 lt_cv_ld_reload_flag='-r'
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5326 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5327 reload_flag=$lt_cv_ld_reload_flag
5328 case $reload_flag in
5330 *) reload_flag=" $reload_flag" ;;
5332 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5335 if test "$GCC" = yes; then
5336 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5338 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5351 if test -n "$ac_tool_prefix"; then
5352 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5353 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5355 $as_echo_n "checking for $ac_word... " >&6; }
5356 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5357 $as_echo_n "(cached) " >&6
5359 if test -n "$OBJDUMP"; then
5360 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 test -z "$as_dir" && as_dir=.
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5369 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 OBJDUMP=$ac_cv_prog_OBJDUMP
5380 if test -n "$OBJDUMP"; then
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5382 $as_echo "$OBJDUMP" >&6; }
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5390 if test -z "$ac_cv_prog_OBJDUMP"; then
5391 ac_ct_OBJDUMP=$OBJDUMP
5392 # Extract the first word of "objdump", so it can be a program name with args.
5393 set dummy objdump; ac_word=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5397 $as_echo_n "(cached) " >&6
5399 if test -n "$ac_ct_OBJDUMP"; then
5400 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5409 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5420 if test -n "$ac_ct_OBJDUMP"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5422 $as_echo "$ac_ct_OBJDUMP" >&6; }
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
5428 if test "x$ac_ct_OBJDUMP" = x; then
5431 case $cross_compiling:$ac_tool_warned in
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5435 ac_tool_warned=yes ;;
5437 OBJDUMP=$ac_ct_OBJDUMP
5440 OBJDUMP="$ac_cv_prog_OBJDUMP"
5443 test -z "$OBJDUMP" && OBJDUMP=objdump
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5451 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5452 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5453 $as_echo_n "(cached) " >&6
5455 lt_cv_file_magic_cmd='$MAGIC_CMD'
5456 lt_cv_file_magic_test_file=
5457 lt_cv_deplibs_check_method='unknown'
5458 # Need to set the preceding variable on all platforms that support
5459 # interlibrary dependencies.
5460 # 'none' -- dependencies not supported.
5461 # `unknown' -- same as none, but documents that we really don't know.
5462 # 'pass_all' -- all dependencies passed with no checks.
5463 # 'test_compile' -- check by making test program.
5464 # 'file_magic [[regex]]' -- check by looking for files in library path
5465 # which responds to the $file_magic_cmd with a given extended regex.
5466 # If you have `file' or equivalent on your system and you're not sure
5467 # whether `pass_all' will *always* work, you probably want this one.
5471 lt_cv_deplibs_check_method=pass_all
5475 lt_cv_deplibs_check_method=pass_all
5479 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5480 lt_cv_file_magic_cmd='/usr/bin/file -L'
5481 lt_cv_file_magic_test_file=/shlib/libc.so
5485 # func_win32_libid is a shell function defined in ltmain.sh
5486 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5487 lt_cv_file_magic_cmd='func_win32_libid'
5491 # Base MSYS/MinGW do not provide the 'file' command needed by
5492 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5493 # unless we find 'file', for example because we are cross-compiling.
5494 if ( file / ) >/dev/null 2>&1; then
5495 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5496 lt_cv_file_magic_cmd='func_win32_libid'
5498 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5499 lt_cv_file_magic_cmd='$OBJDUMP -f'
5504 # use the weaker test based on 'objdump'. See mingw*.
5505 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5506 lt_cv_file_magic_cmd='$OBJDUMP -f'
5509 darwin* | rhapsody*)
5510 lt_cv_deplibs_check_method=pass_all
5513 freebsd* | dragonfly*)
5514 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5517 # Not sure whether the presence of OpenBSD here was a mistake.
5518 # Let's accept both of them until this is cleared up.
5519 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5520 lt_cv_file_magic_cmd=/usr/bin/file
5521 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5525 lt_cv_deplibs_check_method=pass_all
5530 lt_cv_deplibs_check_method=pass_all
5533 hpux10.20* | hpux11*)
5534 lt_cv_file_magic_cmd=/usr/bin/file
5537 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5538 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5541 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]'
5542 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5545 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5546 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5552 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5553 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5556 irix5* | irix6* | nonstopux*)
5558 *-32|*"-32 ") libmagic=32-bit;;
5559 *-n32|*"-n32 ") libmagic=N32;;
5560 *-64|*"-64 ") libmagic=64-bit;;
5561 *) libmagic=never-match;;
5563 lt_cv_deplibs_check_method=pass_all
5566 # This must be Linux ELF.
5567 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5568 lt_cv_deplibs_check_method=pass_all
5571 netbsd* | netbsdelf*-gnu)
5572 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5573 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5575 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5580 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5581 lt_cv_file_magic_cmd=/usr/bin/file
5582 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5586 lt_cv_deplibs_check_method=pass_all
5590 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5591 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5593 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5597 osf3* | osf4* | osf5*)
5598 lt_cv_deplibs_check_method=pass_all
5602 lt_cv_deplibs_check_method=pass_all
5606 lt_cv_deplibs_check_method=pass_all
5609 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5610 lt_cv_deplibs_check_method=pass_all
5614 case $host_vendor in
5616 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]'
5617 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5620 lt_cv_deplibs_check_method=pass_all
5623 lt_cv_file_magic_cmd='/bin/file'
5624 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5627 lt_cv_file_magic_cmd='/bin/file'
5628 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5629 lt_cv_file_magic_test_file=/lib/libc.so
5632 lt_cv_deplibs_check_method=pass_all
5635 lt_cv_deplibs_check_method=pass_all
5641 lt_cv_deplibs_check_method=pass_all
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5647 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5648 file_magic_cmd=$lt_cv_file_magic_cmd
5649 deplibs_check_method=$lt_cv_deplibs_check_method
5650 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5663 if test -n "$ac_tool_prefix"; then
5664 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5665 set dummy ${ac_tool_prefix}ar; ac_word=$2
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5667 $as_echo_n "checking for $ac_word... " >&6; }
5668 if test "${ac_cv_prog_AR+set}" = set; then :
5669 $as_echo_n "(cached) " >&6
5671 if test -n "$AR"; then
5672 ac_cv_prog_AR="$AR" # Let the user override the test.
5674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5678 test -z "$as_dir" && as_dir=.
5679 for ac_exec_ext in '' $ac_executable_extensions; do
5680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5681 ac_cv_prog_AR="${ac_tool_prefix}ar"
5682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5692 if test -n "$AR"; then
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5694 $as_echo "$AR" >&6; }
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5697 $as_echo "no" >&6; }
5702 if test -z "$ac_cv_prog_AR"; then
5704 # Extract the first word of "ar", so it can be a program name with args.
5705 set dummy ar; ac_word=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5709 $as_echo_n "(cached) " >&6
5711 if test -n "$ac_ct_AR"; then
5712 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5718 test -z "$as_dir" && as_dir=.
5719 for ac_exec_ext in '' $ac_executable_extensions; do
5720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5721 ac_cv_prog_ac_ct_AR="ar"
5722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5731 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5732 if test -n "$ac_ct_AR"; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5734 $as_echo "$ac_ct_AR" >&6; }
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 $as_echo "no" >&6; }
5740 if test "x$ac_ct_AR" = x; then
5743 case $cross_compiling:$ac_tool_warned in
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5747 ac_tool_warned=yes ;;
5755 test -z "$AR" && AR=ar
5756 test -z "$AR_FLAGS" && AR_FLAGS=cru
5768 if test -n "$ac_tool_prefix"; then
5769 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5770 set dummy ${ac_tool_prefix}strip; ac_word=$2
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5772 $as_echo_n "checking for $ac_word... " >&6; }
5773 if test "${ac_cv_prog_STRIP+set}" = set; then :
5774 $as_echo_n "(cached) " >&6
5776 if test -n "$STRIP"; then
5777 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5783 test -z "$as_dir" && as_dir=.
5784 for ac_exec_ext in '' $ac_executable_extensions; do
5785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5786 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5796 STRIP=$ac_cv_prog_STRIP
5797 if test -n "$STRIP"; then
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5799 $as_echo "$STRIP" >&6; }
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5802 $as_echo "no" >&6; }
5807 if test -z "$ac_cv_prog_STRIP"; then
5809 # Extract the first word of "strip", so it can be a program name with args.
5810 set dummy strip; ac_word=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5814 $as_echo_n "(cached) " >&6
5816 if test -n "$ac_ct_STRIP"; then
5817 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 test -z "$as_dir" && as_dir=.
5824 for ac_exec_ext in '' $ac_executable_extensions; do
5825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826 ac_cv_prog_ac_ct_STRIP="strip"
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5836 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5837 if test -n "$ac_ct_STRIP"; then
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5839 $as_echo "$ac_ct_STRIP" >&6; }
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842 $as_echo "no" >&6; }
5845 if test "x$ac_ct_STRIP" = x; then
5848 case $cross_compiling:$ac_tool_warned in
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5851 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5852 ac_tool_warned=yes ;;
5857 STRIP="$ac_cv_prog_STRIP"
5860 test -z "$STRIP" && STRIP=:
5867 if test -n "$ac_tool_prefix"; then
5868 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5869 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5871 $as_echo_n "checking for $ac_word... " >&6; }
5872 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5873 $as_echo_n "(cached) " >&6
5875 if test -n "$RANLIB"; then
5876 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5882 test -z "$as_dir" && as_dir=.
5883 for ac_exec_ext in '' $ac_executable_extensions; do
5884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5885 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5895 RANLIB=$ac_cv_prog_RANLIB
5896 if test -n "$RANLIB"; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5898 $as_echo "$RANLIB" >&6; }
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5901 $as_echo "no" >&6; }
5906 if test -z "$ac_cv_prog_RANLIB"; then
5907 ac_ct_RANLIB=$RANLIB
5908 # Extract the first word of "ranlib", so it can be a program name with args.
5909 set dummy ranlib; ac_word=$2
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5911 $as_echo_n "checking for $ac_word... " >&6; }
5912 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5913 $as_echo_n "(cached) " >&6
5915 if test -n "$ac_ct_RANLIB"; then
5916 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5922 test -z "$as_dir" && as_dir=.
5923 for ac_exec_ext in '' $ac_executable_extensions; do
5924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5925 ac_cv_prog_ac_ct_RANLIB="ranlib"
5926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5935 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5936 if test -n "$ac_ct_RANLIB"; then
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5938 $as_echo "$ac_ct_RANLIB" >&6; }
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5941 $as_echo "no" >&6; }
5944 if test "x$ac_ct_RANLIB" = x; then
5947 case $cross_compiling:$ac_tool_warned in
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5950 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5951 ac_tool_warned=yes ;;
5953 RANLIB=$ac_ct_RANLIB
5956 RANLIB="$ac_cv_prog_RANLIB"
5959 test -z "$RANLIB" && RANLIB=:
5966 # Determine commands to create old-style static archives.
5967 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5968 old_postinstall_cmds='chmod 644 $oldlib'
5969 old_postuninstall_cmds=
5971 if test -n "$RANLIB"; then
5974 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5977 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5980 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6016 # If no C compiler was specified, use CC.
6019 # If no C compiler flags were specified, use CFLAGS.
6020 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6022 # Allow CC to be a program name with arguments.
6026 # Check for command to grab the raw symbol name followed by C symbol from nm.
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6028 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6029 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6030 $as_echo_n "(cached) " >&6
6033 # These are sane defaults that work on at least a few old systems.
6034 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6036 # Character class describing NM global symbol codes.
6037 symcode='[BCDEGRST]'
6039 # Regexp to match symbols that can be accessed directly from C.
6040 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6042 # Define system-specific variables.
6047 cygwin* | mingw* | pw32* | cegcc*)
6048 symcode='[ABCDGISTW]'
6051 if test "$host_cpu" = ia64; then
6052 symcode='[ABCDEGRST]'
6056 symcode='[BCDEGRST]'
6059 symcode='[BCDEGQRST]'
6070 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6078 # If we're using GNU nm, then use its standard symbol codes.
6079 case `$NM -V 2>&1` in
6080 *GNU* | *'with BFD'*)
6081 symcode='[ABCDGIRSTW]' ;;
6084 # Transform an extracted symbol line into a proper C declaration.
6085 # Some systems (esp. on ia64) link data and code symbols differently,
6086 # so use this general approach.
6087 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6089 # Transform an extracted symbol line into symbol name and symbol address
6090 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6091 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'"
6093 # Handle CRLF in mingw tool chain
6097 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6101 # Try without a prefix underscore, then with it.
6102 for ac_symprfx in "" "_"; do
6104 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6105 symxfrm="\\1 $ac_symprfx\\2 \\2"
6107 # Write the raw and C identifiers.
6108 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6109 # Fake it for dumpbin and say T for any non-static function
6110 # and D for any global variable.
6111 # Also find C++ and __fastcall symbols from MSVC++,
6112 # which start with @ or ?.
6113 lt_cv_sys_global_symbol_pipe="$AWK '"\
6114 " {last_section=section; section=\$ 3};"\
6115 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6116 " \$ 0!~/External *\|/{next};"\
6117 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6118 " {if(hide[section]) next};"\
6119 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6120 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6121 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6122 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6123 " ' prfx=^$ac_symprfx"
6125 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6128 # Check to see that the pipe works correctly.
6132 cat > conftest.$ac_ext <<_LT_EOF
6137 void nm_test_func(void);
6138 void nm_test_func(void){}
6142 int main(){nm_test_var='a';nm_test_func();return(0);}
6145 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6146 (eval $ac_compile) 2>&5
6148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6149 test $ac_status = 0; }; then
6150 # Now try to grab the symbols.
6152 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6153 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6156 test $ac_status = 0; } && test -s "$nlist"; then
6157 # Try sorting and uniquifying the output.
6158 if sort "$nlist" | uniq > "$nlist"T; then
6159 mv -f "$nlist"T "$nlist"
6164 # Make sure that we snagged all the symbols we need.
6165 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6166 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6167 cat <<_LT_EOF > conftest.$ac_ext
6173 # Now generate the symbol file.
6174 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6176 cat <<_LT_EOF >> conftest.$ac_ext
6178 /* The mapping between symbol names and symbols. */
6183 lt__PROGRAM__LTX_preloaded_symbols[] =
6185 { "@PROGRAM@", (void *) 0 },
6187 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6188 cat <<\_LT_EOF >> conftest.$ac_ext
6192 /* This works around a problem in FreeBSD linker */
6193 #ifdef FREEBSD_WORKAROUND
6194 static const void *lt_preloaded_setup() {
6195 return lt__PROGRAM__LTX_preloaded_symbols;
6203 # Now try linking the two files.
6204 mv conftest.$ac_objext conftstm.$ac_objext
6205 lt_save_LIBS="$LIBS"
6206 lt_save_CFLAGS="$CFLAGS"
6207 LIBS="conftstm.$ac_objext"
6208 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6209 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6210 (eval $ac_link) 2>&5
6212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6213 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6216 LIBS="$lt_save_LIBS"
6217 CFLAGS="$lt_save_CFLAGS"
6219 echo "cannot find nm_test_func in $nlist" >&5
6222 echo "cannot find nm_test_var in $nlist" >&5
6225 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6228 echo "$progname: failed program was:" >&5
6229 cat conftest.$ac_ext >&5
6231 rm -rf conftest* conftst*
6233 # Do not use the global_symbol_pipe unless it works.
6234 if test "$pipe_works" = yes; then
6237 lt_cv_sys_global_symbol_pipe=
6243 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6244 lt_cv_sys_global_symbol_to_cdecl=
6246 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6248 $as_echo "failed" >&6; }
6250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6251 $as_echo "ok" >&6; }
6276 # Check whether --enable-libtool-lock was given.
6277 if test "${enable_libtool_lock+set}" = set; then :
6278 enableval=$enable_libtool_lock;
6281 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6283 # Some flags need to be propagated to the compiler or linker for good
6287 # Find out which ABI we are using.
6288 echo 'int i;' > conftest.$ac_ext
6289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6290 (eval $ac_compile) 2>&5
6292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6293 test $ac_status = 0; }; then
6294 case `/usr/bin/file conftest.$ac_objext` in
6306 # Find out which ABI we are using.
6307 echo '#line 6307 "configure"' > conftest.$ac_ext
6308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6309 (eval $ac_compile) 2>&5
6311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6312 test $ac_status = 0; }; then
6313 if test "$lt_cv_prog_gnu_ld" = yes; then
6314 case `/usr/bin/file conftest.$ac_objext` in
6316 LD="${LD-ld} -melf32bsmip"
6319 LD="${LD-ld} -melf32bmipn32"
6322 LD="${LD-ld} -melf64bmip"
6326 case `/usr/bin/file conftest.$ac_objext` in
6342 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6343 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6344 # Find out which ABI we are using.
6345 echo 'int i;' > conftest.$ac_ext
6346 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6347 (eval $ac_compile) 2>&5
6349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6350 test $ac_status = 0; }; then
6351 case `/usr/bin/file conftest.o` in
6354 x86_64-*kfreebsd*-gnu)
6355 LD="${LD-ld} -m elf_i386_fbsd"
6358 LD="${LD-ld} -m elf_i386"
6360 ppc64-*linux*|powerpc64-*linux*)
6361 LD="${LD-ld} -m elf32ppclinux"
6364 LD="${LD-ld} -m elf_s390"
6367 LD="${LD-ld} -m elf32_sparc"
6373 x86_64-*kfreebsd*-gnu)
6374 LD="${LD-ld} -m elf_x86_64_fbsd"
6377 LD="${LD-ld} -m elf_x86_64"
6379 ppc*-*linux*|powerpc*-*linux*)
6380 LD="${LD-ld} -m elf64ppc"
6382 s390*-*linux*|s390*-*tpf*)
6383 LD="${LD-ld} -m elf64_s390"
6386 LD="${LD-ld} -m elf64_sparc"
6396 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6397 SAVE_CFLAGS="$CFLAGS"
6398 CFLAGS="$CFLAGS -belf"
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6400 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6401 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6402 $as_echo_n "(cached) " >&6
6405 ac_cpp='$CPP $CPPFLAGS'
6406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6411 /* end confdefs.h. */
6421 if ac_fn_c_try_link "$LINENO"; then :
6422 lt_cv_cc_needs_belf=yes
6424 lt_cv_cc_needs_belf=no
6426 rm -f core conftest.err conftest.$ac_objext \
6427 conftest$ac_exeext conftest.$ac_ext
6429 ac_cpp='$CPP $CPPFLAGS'
6430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6436 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6437 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6438 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6439 CFLAGS="$SAVE_CFLAGS"
6443 # Find out which ABI we are using.
6444 echo 'int i;' > conftest.$ac_ext
6445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6446 (eval $ac_compile) 2>&5
6448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6449 test $ac_status = 0; }; then
6450 case `/usr/bin/file conftest.o` in
6452 case $lt_cv_prog_gnu_ld in
6453 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6455 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6467 need_locks="$enable_libtool_lock"
6471 rhapsody* | darwin*)
6472 if test -n "$ac_tool_prefix"; then
6473 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6474 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6476 $as_echo_n "checking for $ac_word... " >&6; }
6477 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6478 $as_echo_n "(cached) " >&6
6480 if test -n "$DSYMUTIL"; then
6481 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6487 test -z "$as_dir" && as_dir=.
6488 for ac_exec_ext in '' $ac_executable_extensions; do
6489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6490 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6500 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6501 if test -n "$DSYMUTIL"; then
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6503 $as_echo "$DSYMUTIL" >&6; }
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6506 $as_echo "no" >&6; }
6511 if test -z "$ac_cv_prog_DSYMUTIL"; then
6512 ac_ct_DSYMUTIL=$DSYMUTIL
6513 # Extract the first word of "dsymutil", so it can be a program name with args.
6514 set dummy dsymutil; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6518 $as_echo_n "(cached) " >&6
6520 if test -n "$ac_ct_DSYMUTIL"; then
6521 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6530 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6540 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6541 if test -n "$ac_ct_DSYMUTIL"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6543 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6549 if test "x$ac_ct_DSYMUTIL" = x; then
6552 case $cross_compiling:$ac_tool_warned in
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6556 ac_tool_warned=yes ;;
6558 DSYMUTIL=$ac_ct_DSYMUTIL
6561 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6564 if test -n "$ac_tool_prefix"; then
6565 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6566 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6568 $as_echo_n "checking for $ac_word... " >&6; }
6569 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6570 $as_echo_n "(cached) " >&6
6572 if test -n "$NMEDIT"; then
6573 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6579 test -z "$as_dir" && as_dir=.
6580 for ac_exec_ext in '' $ac_executable_extensions; do
6581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6582 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6592 NMEDIT=$ac_cv_prog_NMEDIT
6593 if test -n "$NMEDIT"; then
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6595 $as_echo "$NMEDIT" >&6; }
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6598 $as_echo "no" >&6; }
6603 if test -z "$ac_cv_prog_NMEDIT"; then
6604 ac_ct_NMEDIT=$NMEDIT
6605 # Extract the first word of "nmedit", so it can be a program name with args.
6606 set dummy nmedit; ac_word=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 $as_echo_n "checking for $ac_word... " >&6; }
6609 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6610 $as_echo_n "(cached) " >&6
6612 if test -n "$ac_ct_NMEDIT"; then
6613 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6619 test -z "$as_dir" && as_dir=.
6620 for ac_exec_ext in '' $ac_executable_extensions; do
6621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6622 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6632 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6633 if test -n "$ac_ct_NMEDIT"; then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6635 $as_echo "$ac_ct_NMEDIT" >&6; }
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6638 $as_echo "no" >&6; }
6641 if test "x$ac_ct_NMEDIT" = x; then
6644 case $cross_compiling:$ac_tool_warned in
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6647 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6648 ac_tool_warned=yes ;;
6650 NMEDIT=$ac_ct_NMEDIT
6653 NMEDIT="$ac_cv_prog_NMEDIT"
6656 if test -n "$ac_tool_prefix"; then
6657 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6658 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6660 $as_echo_n "checking for $ac_word... " >&6; }
6661 if test "${ac_cv_prog_LIPO+set}" = set; then :
6662 $as_echo_n "(cached) " >&6
6664 if test -n "$LIPO"; then
6665 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6671 test -z "$as_dir" && as_dir=.
6672 for ac_exec_ext in '' $ac_executable_extensions; do
6673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6674 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6684 LIPO=$ac_cv_prog_LIPO
6685 if test -n "$LIPO"; then
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6687 $as_echo "$LIPO" >&6; }
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690 $as_echo "no" >&6; }
6695 if test -z "$ac_cv_prog_LIPO"; then
6697 # Extract the first word of "lipo", so it can be a program name with args.
6698 set dummy lipo; ac_word=$2
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6700 $as_echo_n "checking for $ac_word... " >&6; }
6701 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6702 $as_echo_n "(cached) " >&6
6704 if test -n "$ac_ct_LIPO"; then
6705 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6711 test -z "$as_dir" && as_dir=.
6712 for ac_exec_ext in '' $ac_executable_extensions; do
6713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6714 ac_cv_prog_ac_ct_LIPO="lipo"
6715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6724 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6725 if test -n "$ac_ct_LIPO"; then
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6727 $as_echo "$ac_ct_LIPO" >&6; }
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6730 $as_echo "no" >&6; }
6733 if test "x$ac_ct_LIPO" = x; then
6736 case $cross_compiling:$ac_tool_warned in
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6740 ac_tool_warned=yes ;;
6745 LIPO="$ac_cv_prog_LIPO"
6748 if test -n "$ac_tool_prefix"; then
6749 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6750 set dummy ${ac_tool_prefix}otool; ac_word=$2
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6752 $as_echo_n "checking for $ac_word... " >&6; }
6753 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6754 $as_echo_n "(cached) " >&6
6756 if test -n "$OTOOL"; then
6757 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6763 test -z "$as_dir" && as_dir=.
6764 for ac_exec_ext in '' $ac_executable_extensions; do
6765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6766 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6776 OTOOL=$ac_cv_prog_OTOOL
6777 if test -n "$OTOOL"; then
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6779 $as_echo "$OTOOL" >&6; }
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6782 $as_echo "no" >&6; }
6787 if test -z "$ac_cv_prog_OTOOL"; then
6789 # Extract the first word of "otool", so it can be a program name with args.
6790 set dummy otool; ac_word=$2
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6792 $as_echo_n "checking for $ac_word... " >&6; }
6793 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6794 $as_echo_n "(cached) " >&6
6796 if test -n "$ac_ct_OTOOL"; then
6797 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6803 test -z "$as_dir" && as_dir=.
6804 for ac_exec_ext in '' $ac_executable_extensions; do
6805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6806 ac_cv_prog_ac_ct_OTOOL="otool"
6807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6816 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6817 if test -n "$ac_ct_OTOOL"; then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6819 $as_echo "$ac_ct_OTOOL" >&6; }
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822 $as_echo "no" >&6; }
6825 if test "x$ac_ct_OTOOL" = x; then
6828 case $cross_compiling:$ac_tool_warned in
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6832 ac_tool_warned=yes ;;
6837 OTOOL="$ac_cv_prog_OTOOL"
6840 if test -n "$ac_tool_prefix"; then
6841 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6842 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6844 $as_echo_n "checking for $ac_word... " >&6; }
6845 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6846 $as_echo_n "(cached) " >&6
6848 if test -n "$OTOOL64"; then
6849 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6855 test -z "$as_dir" && as_dir=.
6856 for ac_exec_ext in '' $ac_executable_extensions; do
6857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6858 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6868 OTOOL64=$ac_cv_prog_OTOOL64
6869 if test -n "$OTOOL64"; then
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6871 $as_echo "$OTOOL64" >&6; }
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6874 $as_echo "no" >&6; }
6879 if test -z "$ac_cv_prog_OTOOL64"; then
6880 ac_ct_OTOOL64=$OTOOL64
6881 # Extract the first word of "otool64", so it can be a program name with args.
6882 set dummy otool64; ac_word=$2
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6884 $as_echo_n "checking for $ac_word... " >&6; }
6885 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6886 $as_echo_n "(cached) " >&6
6888 if test -n "$ac_ct_OTOOL64"; then
6889 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6895 test -z "$as_dir" && as_dir=.
6896 for ac_exec_ext in '' $ac_executable_extensions; do
6897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6898 ac_cv_prog_ac_ct_OTOOL64="otool64"
6899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6908 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6909 if test -n "$ac_ct_OTOOL64"; then
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6911 $as_echo "$ac_ct_OTOOL64" >&6; }
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6914 $as_echo "no" >&6; }
6917 if test "x$ac_ct_OTOOL64" = x; then
6920 case $cross_compiling:$ac_tool_warned in
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6924 ac_tool_warned=yes ;;
6926 OTOOL64=$ac_ct_OTOOL64
6929 OTOOL64="$ac_cv_prog_OTOOL64"
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6959 $as_echo_n "checking for -single_module linker flag... " >&6; }
6960 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6961 $as_echo_n "(cached) " >&6
6963 lt_cv_apple_cc_single_mod=no
6964 if test -z "${LT_MULTI_MODULE}"; then
6965 # By default we will add the -single_module flag. You can override
6966 # by either setting the environment variable LT_MULTI_MODULE
6967 # non-empty at configure time, or by adding -multi_module to the
6969 rm -rf libconftest.dylib*
6970 echo "int foo(void){return 1;}" > conftest.c
6971 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6972 -dynamiclib -Wl,-single_module conftest.c" >&5
6973 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6974 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6976 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6977 lt_cv_apple_cc_single_mod=yes
6979 cat conftest.err >&5
6981 rm -rf libconftest.dylib*
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6986 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6988 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6989 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6990 $as_echo_n "(cached) " >&6
6992 lt_cv_ld_exported_symbols_list=no
6993 save_LDFLAGS=$LDFLAGS
6994 echo "_main" > conftest.sym
6995 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6997 /* end confdefs.h. */
7007 if ac_fn_c_try_link "$LINENO"; then :
7008 lt_cv_ld_exported_symbols_list=yes
7010 lt_cv_ld_exported_symbols_list=no
7012 rm -f core conftest.err conftest.$ac_objext \
7013 conftest$ac_exeext conftest.$ac_ext
7014 LDFLAGS="$save_LDFLAGS"
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7018 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7020 rhapsody* | darwin1.[012])
7021 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7023 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7024 darwin*) # darwin 5.x on
7025 # if running on 10.5 or later, the deployment target defaults
7026 # to the OS version, if on x86, and 10.4, the deployment
7027 # target defaults to 10.4. Don't you love it?
7028 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7029 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7030 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7032 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7034 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7038 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7039 _lt_dar_single_mod='$single_module'
7041 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7042 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7044 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7046 if test "$DSYMUTIL" != ":"; then
7047 _lt_dsymutil='~$DSYMUTIL $lib || :'
7055 ac_cpp='$CPP $CPPFLAGS'
7056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7060 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7061 # On Suns, sometimes $CPP names a directory.
7062 if test -n "$CPP" && test -d "$CPP"; then
7065 if test -z "$CPP"; then
7066 if test "${ac_cv_prog_CPP+set}" = set; then :
7067 $as_echo_n "(cached) " >&6
7069 # Double quotes because CPP needs to be expanded
7070 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7073 for ac_c_preproc_warn_flag in '' yes
7075 # Use a header file that comes with gcc, so configuring glibc
7076 # with a fresh cross-compiler works.
7077 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7078 # <limits.h> exists even on freestanding compilers.
7079 # On the NeXT, cc -E runs the code through the compiler's parser,
7080 # not just through cpp. "Syntax error" is here to catch this case.
7081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7082 /* end confdefs.h. */
7084 # include <limits.h>
7086 # include <assert.h>
7090 if ac_fn_c_try_cpp "$LINENO"; then :
7093 # Broken: fails on valid input.
7096 rm -f conftest.err conftest.$ac_ext
7098 # OK, works on sane cases. Now check whether nonexistent headers
7099 # can be detected and how.
7100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7101 /* end confdefs.h. */
7102 #include <ac_nonexistent.h>
7104 if ac_fn_c_try_cpp "$LINENO"; then :
7105 # Broken: success on invalid input.
7108 # Passes both tests.
7112 rm -f conftest.err conftest.$ac_ext
7115 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7116 rm -f conftest.err conftest.$ac_ext
7117 if $ac_preproc_ok; then :
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7130 $as_echo "$CPP" >&6; }
7132 for ac_c_preproc_warn_flag in '' yes
7134 # Use a header file that comes with gcc, so configuring glibc
7135 # with a fresh cross-compiler works.
7136 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7137 # <limits.h> exists even on freestanding compilers.
7138 # On the NeXT, cc -E runs the code through the compiler's parser,
7139 # not just through cpp. "Syntax error" is here to catch this case.
7140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7141 /* end confdefs.h. */
7143 # include <limits.h>
7145 # include <assert.h>
7149 if ac_fn_c_try_cpp "$LINENO"; then :
7152 # Broken: fails on valid input.
7155 rm -f conftest.err conftest.$ac_ext
7157 # OK, works on sane cases. Now check whether nonexistent headers
7158 # can be detected and how.
7159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7160 /* end confdefs.h. */
7161 #include <ac_nonexistent.h>
7163 if ac_fn_c_try_cpp "$LINENO"; then :
7164 # Broken: success on invalid input.
7167 # Passes both tests.
7171 rm -f conftest.err conftest.$ac_ext
7174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7175 rm -f conftest.err conftest.$ac_ext
7176 if $ac_preproc_ok; then :
7179 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7181 as_fn_error "C preprocessor \"$CPP\" fails sanity check
7182 See \`config.log' for more details." "$LINENO" 5; }
7186 ac_cpp='$CPP $CPPFLAGS'
7187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7193 $as_echo_n "checking for ANSI C header files... " >&6; }
7194 if test "${ac_cv_header_stdc+set}" = set; then :
7195 $as_echo_n "(cached) " >&6
7197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7198 /* end confdefs.h. */
7212 if ac_fn_c_try_compile "$LINENO"; then :
7213 ac_cv_header_stdc=yes
7215 ac_cv_header_stdc=no
7217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7219 if test $ac_cv_header_stdc = yes; then
7220 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7222 /* end confdefs.h. */
7226 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7227 $EGREP "memchr" >/dev/null 2>&1; then :
7230 ac_cv_header_stdc=no
7236 if test $ac_cv_header_stdc = yes; then
7237 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7239 /* end confdefs.h. */
7243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7244 $EGREP "free" >/dev/null 2>&1; then :
7247 ac_cv_header_stdc=no
7253 if test $ac_cv_header_stdc = yes; then
7254 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7255 if test "$cross_compiling" = yes; then :
7258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7259 /* end confdefs.h. */
7262 #if ((' ' & 0x0FF) == 0x020)
7263 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7264 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7266 # define ISLOWER(c) \
7267 (('a' <= (c) && (c) <= 'i') \
7268 || ('j' <= (c) && (c) <= 'r') \
7269 || ('s' <= (c) && (c) <= 'z'))
7270 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7273 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7278 for (i = 0; i < 256; i++)
7279 if (XOR (islower (i), ISLOWER (i))
7280 || toupper (i) != TOUPPER (i))
7285 if ac_fn_c_try_run "$LINENO"; then :
7288 ac_cv_header_stdc=no
7290 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7291 conftest.$ac_objext conftest.beam conftest.$ac_ext
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7297 $as_echo "$ac_cv_header_stdc" >&6; }
7298 if test $ac_cv_header_stdc = yes; then
7300 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7304 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7305 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7306 inttypes.h stdint.h unistd.h
7308 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7309 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7311 eval as_val=\$$as_ac_Header
7312 if test "x$as_val" = x""yes; then :
7313 cat >>confdefs.h <<_ACEOF
7314 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7322 for ac_header in dlfcn.h
7324 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7326 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7327 cat >>confdefs.h <<_ACEOF
7328 #define HAVE_DLFCN_H 1
7345 # Check whether --enable-shared was given.
7346 if test "${enable_shared+set}" = set; then :
7347 enableval=$enable_shared; p=${PACKAGE-default}
7349 yes) enable_shared=yes ;;
7350 no) enable_shared=no ;;
7353 # Look at the argument we got. We use all the common list separators.
7354 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7355 for pkg in $enableval; do
7357 if test "X$pkg" = "X$p"; then
7376 # Check whether --enable-static was given.
7377 if test "${enable_static+set}" = set; then :
7378 enableval=$enable_static; p=${PACKAGE-default}
7380 yes) enable_static=yes ;;
7381 no) enable_static=no ;;
7384 # Look at the argument we got. We use all the common list separators.
7385 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7386 for pkg in $enableval; do
7388 if test "X$pkg" = "X$p"; then
7408 # Check whether --with-pic was given.
7409 if test "${with_pic+set}" = set; then :
7410 withval=$with_pic; pic_mode="$withval"
7416 test -z "$pic_mode" && pic_mode=default
7424 # Check whether --enable-fast-install was given.
7425 if test "${enable_fast_install+set}" = set; then :
7426 enableval=$enable_fast_install; p=${PACKAGE-default}
7428 yes) enable_fast_install=yes ;;
7429 no) enable_fast_install=no ;;
7431 enable_fast_install=no
7432 # Look at the argument we got. We use all the common list separators.
7433 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7434 for pkg in $enableval; do
7436 if test "X$pkg" = "X$p"; then
7437 enable_fast_install=yes
7444 enable_fast_install=yes
7457 # This can be used to rebuild libtool when needed
7458 LIBTOOL_DEPS="$ltmain"
7460 # Always use our own libtool.
7461 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7487 test -z "$LN_S" && LN_S="ln -s"
7502 if test -n "${ZSH_VERSION+set}" ; then
7503 setopt NO_GLOB_SUBST
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7507 $as_echo_n "checking for objdir... " >&6; }
7508 if test "${lt_cv_objdir+set}" = set; then :
7509 $as_echo_n "(cached) " >&6
7511 rm -f .libs 2>/dev/null
7512 mkdir .libs 2>/dev/null
7513 if test -d .libs; then
7516 # MS-DOS does not allow filenames that begin with a dot.
7519 rmdir .libs 2>/dev/null
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7522 $as_echo "$lt_cv_objdir" >&6; }
7523 objdir=$lt_cv_objdir
7529 cat >>confdefs.h <<_ACEOF
7530 #define LT_OBJDIR "$lt_cv_objdir/"
7551 # AIX sometimes has problems with the GCC collect2 program. For some
7552 # reason, if we set the COLLECT_NAMES environment variable, the problems
7553 # vanish in a puff of smoke.
7554 if test "X${COLLECT_NAMES+set}" != Xset; then
7556 export COLLECT_NAMES
7561 # Sed substitution that helps us do robust quoting. It backslashifies
7562 # metacharacters that are still active within double-quoted strings.
7563 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7565 # Same as above, but do not quote variable references.
7566 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7568 # Sed substitution to delay expansion of an escaped shell variable in a
7569 # double_quote_subst'ed string.
7570 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7572 # Sed substitution to delay expansion of an escaped single quote.
7573 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7575 # Sed substitution to avoid accidental globbing in evaled expressions
7576 no_glob_subst='s/\*/\\\*/g'
7580 can_build_shared=yes
7582 # All known linkers require a `.a' archive for static linking (except MSVC,
7583 # which needs '.lib').
7586 with_gnu_ld="$lt_cv_prog_gnu_ld"
7589 old_CFLAGS="$CFLAGS"
7591 # Set sane defaults for various variables
7592 test -z "$CC" && CC=cc
7593 test -z "$LTCC" && LTCC=$CC
7594 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7595 test -z "$LD" && LD=ld
7596 test -z "$ac_objext" && ac_objext=o
7598 for cc_temp in $compiler""; do
7600 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7601 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7606 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7609 # Only perform the check for file, if the check method requires it
7610 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7611 case $deplibs_check_method in
7613 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7615 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7616 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7617 $as_echo_n "(cached) " >&6
7621 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7624 lt_save_MAGIC_CMD="$MAGIC_CMD"
7625 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7626 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7627 for ac_dir in $ac_dummy; do
7629 test -z "$ac_dir" && ac_dir=.
7630 if test -f $ac_dir/${ac_tool_prefix}file; then
7631 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7632 if test -n "$file_magic_test_file"; then
7633 case $deplibs_check_method in
7635 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7636 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7637 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7638 $EGREP "$file_magic_regex" > /dev/null; then
7643 *** Warning: the command libtool uses to detect shared libraries,
7644 *** $file_magic_cmd, produces output that libtool cannot recognize.
7645 *** The result is that libtool may fail to recognize shared libraries
7646 *** as such. This will affect the creation of libtool libraries that
7647 *** depend on shared libraries, but programs linked with such libtool
7648 *** libraries will work regardless of this problem. Nevertheless, you
7649 *** may want to report the problem to your system manager and/or to
7650 *** bug-libtool@gnu.org
7660 MAGIC_CMD="$lt_save_MAGIC_CMD"
7665 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7666 if test -n "$MAGIC_CMD"; then
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7668 $as_echo "$MAGIC_CMD" >&6; }
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7671 $as_echo "no" >&6; }
7678 if test -z "$lt_cv_path_MAGIC_CMD"; then
7679 if test -n "$ac_tool_prefix"; then
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7681 $as_echo_n "checking for file... " >&6; }
7682 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7683 $as_echo_n "(cached) " >&6
7687 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7690 lt_save_MAGIC_CMD="$MAGIC_CMD"
7691 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7692 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7693 for ac_dir in $ac_dummy; do
7695 test -z "$ac_dir" && ac_dir=.
7696 if test -f $ac_dir/file; then
7697 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7698 if test -n "$file_magic_test_file"; then
7699 case $deplibs_check_method in
7701 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7702 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7703 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7704 $EGREP "$file_magic_regex" > /dev/null; then
7709 *** Warning: the command libtool uses to detect shared libraries,
7710 *** $file_magic_cmd, produces output that libtool cannot recognize.
7711 *** The result is that libtool may fail to recognize shared libraries
7712 *** as such. This will affect the creation of libtool libraries that
7713 *** depend on shared libraries, but programs linked with such libtool
7714 *** libraries will work regardless of this problem. Nevertheless, you
7715 *** may want to report the problem to your system manager and/or to
7716 *** bug-libtool@gnu.org
7726 MAGIC_CMD="$lt_save_MAGIC_CMD"
7731 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7732 if test -n "$MAGIC_CMD"; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7734 $as_echo "$MAGIC_CMD" >&6; }
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7737 $as_echo "no" >&6; }
7750 # Use C for the default configuration in the libtool script
7754 ac_cpp='$CPP $CPPFLAGS'
7755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7760 # Source file extension for C test sources.
7763 # Object file extension for compiled C test sources.
7767 # Code to be used in simple compile tests
7768 lt_simple_compile_test_code="int some_variable = 0;"
7770 # Code to be used in simple link tests
7771 lt_simple_link_test_code='int main(){return(0);}'
7779 # If no C compiler was specified, use CC.
7782 # If no C compiler flags were specified, use CFLAGS.
7783 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7785 # Allow CC to be a program name with arguments.
7788 # Save the default compiler, since it gets overwritten when the other
7789 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7790 compiler_DEFAULT=$CC
7792 # save warnings/boilerplate of simple test code
7793 ac_outfile=conftest.$ac_objext
7794 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7795 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7796 _lt_compiler_boilerplate=`cat conftest.err`
7799 ac_outfile=conftest.$ac_objext
7800 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7801 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7802 _lt_linker_boilerplate=`cat conftest.err`
7807 ## There is no encapsulation within the following macros, do not change
7808 ## the running order or otherwise move them around unless you know exactly
7809 ## what you are doing...
7810 if test -n "$compiler"; then
7812 lt_prog_compiler_no_builtin_flag=
7814 if test "$GCC" = yes; then
7815 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7818 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7819 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7820 $as_echo_n "(cached) " >&6
7822 lt_cv_prog_compiler_rtti_exceptions=no
7823 ac_outfile=conftest.$ac_objext
7824 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7825 lt_compiler_flag="-fno-rtti -fno-exceptions"
7826 # Insert the option either (1) after the last *FLAGS variable, or
7827 # (2) before a word containing "conftest.", or (3) at the end.
7828 # Note that $ac_compile itself does not contain backslashes and begins
7829 # with a dollar sign (not a hyphen), so the echo should work correctly.
7830 # The option is referenced via a variable to avoid confusing sed.
7831 lt_compile=`echo "$ac_compile" | $SED \
7832 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7833 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7834 -e 's:$: $lt_compiler_flag:'`
7835 (eval echo "\"\$as_me:7835: $lt_compile\"" >&5)
7836 (eval "$lt_compile" 2>conftest.err)
7838 cat conftest.err >&5
7839 echo "$as_me:7839: \$? = $ac_status" >&5
7840 if (exit $ac_status) && test -s "$ac_outfile"; then
7841 # The compiler can only warn and ignore the option if not recognized
7842 # So say no if there are warnings other than the usual output.
7843 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7844 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7845 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7846 lt_cv_prog_compiler_rtti_exceptions=yes
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7853 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7855 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7856 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7868 lt_prog_compiler_wl=
7869 lt_prog_compiler_pic=
7870 lt_prog_compiler_static=
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7873 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7875 if test "$GCC" = yes; then
7876 lt_prog_compiler_wl='-Wl,'
7877 lt_prog_compiler_static='-static'
7881 # All AIX code is PIC.
7882 if test "$host_cpu" = ia64; then
7883 # AIX 5 now supports IA64 processor
7884 lt_prog_compiler_static='-Bstatic'
7891 # see comment about AmigaOS4 .so support
7892 lt_prog_compiler_pic='-fPIC'
7895 # FIXME: we need at least 68020 code to build shared libraries, but
7896 # adding the `-m68020' flag to GCC prevents building anything better,
7898 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7903 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7904 # PIC is the default for these OSes.
7907 mingw* | cygwin* | pw32* | os2* | cegcc*)
7908 # This hack is so that the source file can tell whether it is being
7909 # built for inclusion in a dll (and should export symbols for example).
7910 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7911 # (--disable-auto-import) libraries
7912 lt_prog_compiler_pic='-DDLL_EXPORT'
7915 darwin* | rhapsody*)
7916 # PIC is the default on this platform
7917 # Common symbols not allowed in MH_DYLIB files
7918 lt_prog_compiler_pic='-fno-common'
7922 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7923 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7924 # sets the default TLS model and affects inlining.
7930 lt_prog_compiler_pic='-fPIC'
7936 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7937 # Instead, we relocate shared libraries at runtime.
7941 # Just because we use GCC doesn't mean we suddenly get shared libraries
7942 # on systems that don't support them.
7943 lt_prog_compiler_can_build_shared=no
7948 # QNX uses GNU C++, but need to define -shared option too, otherwise
7950 lt_prog_compiler_pic='-fPIC -shared'
7954 if test -d /usr/nec; then
7955 lt_prog_compiler_pic=-Kconform_pic
7960 lt_prog_compiler_pic='-fPIC'
7964 # PORTME Check for flag to pass linker flags through the system compiler.
7967 lt_prog_compiler_wl='-Wl,'
7968 if test "$host_cpu" = ia64; then
7969 # AIX 5 now supports IA64 processor
7970 lt_prog_compiler_static='-Bstatic'
7972 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7976 mingw* | cygwin* | pw32* | os2* | cegcc*)
7977 # This hack is so that the source file can tell whether it is being
7978 # built for inclusion in a dll (and should export symbols for example).
7979 lt_prog_compiler_pic='-DDLL_EXPORT'
7982 hpux9* | hpux10* | hpux11*)
7983 lt_prog_compiler_wl='-Wl,'
7984 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7991 lt_prog_compiler_pic='+Z'
7994 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7995 lt_prog_compiler_static='${wl}-a ${wl}archive'
7998 irix5* | irix6* | nonstopux*)
7999 lt_prog_compiler_wl='-Wl,'
8000 # PIC (with -KPIC) is the default.
8001 lt_prog_compiler_static='-non_shared'
8004 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8005 case $cc_basename in
8006 # old Intel for x86_64 which still supported -KPIC.
8008 lt_prog_compiler_wl='-Wl,'
8009 lt_prog_compiler_pic='-KPIC'
8010 lt_prog_compiler_static='-static'
8012 # icc used to be incompatible with GCC.
8013 # ICC 10 doesn't accept -KPIC any more.
8015 lt_prog_compiler_wl='-Wl,'
8016 lt_prog_compiler_pic='-fPIC'
8017 lt_prog_compiler_static='-static'
8019 # Lahey Fortran 8.1.
8021 lt_prog_compiler_wl='-Wl,'
8022 lt_prog_compiler_pic='--shared'
8023 lt_prog_compiler_static='--static'
8025 pgcc* | pgf77* | pgf90* | pgf95*)
8026 # Portland Group compilers (*not* the Pentium gcc compiler,
8027 # which looks to be a dead project)
8028 lt_prog_compiler_wl='-Wl,'
8029 lt_prog_compiler_pic='-fpic'
8030 lt_prog_compiler_static='-Bstatic'
8033 lt_prog_compiler_wl='-Wl,'
8034 # All Alpha code is PIC.
8035 lt_prog_compiler_static='-non_shared'
8038 # IBM XL C 8.0/Fortran 10.1 on PPC
8039 lt_prog_compiler_wl='-Wl,'
8040 lt_prog_compiler_pic='-qpic'
8041 lt_prog_compiler_static='-qstaticlink'
8044 case `$CC -V 2>&1 | sed 5q` in
8047 lt_prog_compiler_pic='-KPIC'
8048 lt_prog_compiler_static='-Bstatic'
8049 lt_prog_compiler_wl='-Wl,'
8052 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8053 lt_prog_compiler_pic='-KPIC'
8054 lt_prog_compiler_static='-Bstatic'
8055 lt_prog_compiler_wl=''
8063 lt_prog_compiler_pic='-KPIC'
8064 lt_prog_compiler_static='-Bstatic'
8068 # QNX uses GNU C++, but need to define -shared option too, otherwise
8070 lt_prog_compiler_pic='-fPIC -shared'
8073 osf3* | osf4* | osf5*)
8074 lt_prog_compiler_wl='-Wl,'
8075 # All OSF/1 code is PIC.
8076 lt_prog_compiler_static='-non_shared'
8080 lt_prog_compiler_static='-non_shared'
8084 lt_prog_compiler_pic='-KPIC'
8085 lt_prog_compiler_static='-Bstatic'
8086 case $cc_basename in
8088 lt_prog_compiler_wl='-Qoption ld ';;
8090 lt_prog_compiler_wl='-Wl,';;
8095 lt_prog_compiler_wl='-Qoption ld '
8096 lt_prog_compiler_pic='-PIC'
8097 lt_prog_compiler_static='-Bstatic'
8100 sysv4 | sysv4.2uw2* | sysv4.3*)
8101 lt_prog_compiler_wl='-Wl,'
8102 lt_prog_compiler_pic='-KPIC'
8103 lt_prog_compiler_static='-Bstatic'
8107 if test -d /usr/nec ;then
8108 lt_prog_compiler_pic='-Kconform_pic'
8109 lt_prog_compiler_static='-Bstatic'
8113 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8114 lt_prog_compiler_wl='-Wl,'
8115 lt_prog_compiler_pic='-KPIC'
8116 lt_prog_compiler_static='-Bstatic'
8120 lt_prog_compiler_wl='-Wl,'
8121 lt_prog_compiler_can_build_shared=no
8125 lt_prog_compiler_pic='-pic'
8126 lt_prog_compiler_static='-Bstatic'
8130 lt_prog_compiler_can_build_shared=no
8136 # For platforms which do not support PIC, -DPIC is meaningless:
8138 lt_prog_compiler_pic=
8141 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8145 $as_echo "$lt_prog_compiler_pic" >&6; }
8153 # Check to make sure the PIC flag actually works.
8155 if test -n "$lt_prog_compiler_pic"; then
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8157 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8158 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8159 $as_echo_n "(cached) " >&6
8161 lt_cv_prog_compiler_pic_works=no
8162 ac_outfile=conftest.$ac_objext
8163 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8164 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8165 # Insert the option either (1) after the last *FLAGS variable, or
8166 # (2) before a word containing "conftest.", or (3) at the end.
8167 # Note that $ac_compile itself does not contain backslashes and begins
8168 # with a dollar sign (not a hyphen), so the echo should work correctly.
8169 # The option is referenced via a variable to avoid confusing sed.
8170 lt_compile=`echo "$ac_compile" | $SED \
8171 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8172 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8173 -e 's:$: $lt_compiler_flag:'`
8174 (eval echo "\"\$as_me:8174: $lt_compile\"" >&5)
8175 (eval "$lt_compile" 2>conftest.err)
8177 cat conftest.err >&5
8178 echo "$as_me:8178: \$? = $ac_status" >&5
8179 if (exit $ac_status) && test -s "$ac_outfile"; then
8180 # The compiler can only warn and ignore the option if not recognized
8181 # So say no if there are warnings other than the usual output.
8182 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8183 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8184 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8185 lt_cv_prog_compiler_pic_works=yes
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8192 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8194 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8195 case $lt_prog_compiler_pic in
8197 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8200 lt_prog_compiler_pic=
8201 lt_prog_compiler_can_build_shared=no
8212 # Check to make sure the static flag actually works.
8214 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8216 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8217 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8218 $as_echo_n "(cached) " >&6
8220 lt_cv_prog_compiler_static_works=no
8221 save_LDFLAGS="$LDFLAGS"
8222 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8223 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8224 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8225 # The linker can only warn and ignore the option if not recognized
8226 # So say no if there are warnings
8227 if test -s conftest.err; then
8228 # Append any errors to the config.log.
8229 cat conftest.err 1>&5
8230 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8231 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8232 if diff conftest.exp conftest.er2 >/dev/null; then
8233 lt_cv_prog_compiler_static_works=yes
8236 lt_cv_prog_compiler_static_works=yes
8240 LDFLAGS="$save_LDFLAGS"
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8244 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8246 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8249 lt_prog_compiler_static=
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8259 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8260 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8261 $as_echo_n "(cached) " >&6
8263 lt_cv_prog_compiler_c_o=no
8264 $RM -r conftest 2>/dev/null
8268 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8270 lt_compiler_flag="-o out/conftest2.$ac_objext"
8271 # Insert the option either (1) after the last *FLAGS variable, or
8272 # (2) before a word containing "conftest.", or (3) at the end.
8273 # Note that $ac_compile itself does not contain backslashes and begins
8274 # with a dollar sign (not a hyphen), so the echo should work correctly.
8275 lt_compile=`echo "$ac_compile" | $SED \
8276 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8277 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8278 -e 's:$: $lt_compiler_flag:'`
8279 (eval echo "\"\$as_me:8279: $lt_compile\"" >&5)
8280 (eval "$lt_compile" 2>out/conftest.err)
8282 cat out/conftest.err >&5
8283 echo "$as_me:8283: \$? = $ac_status" >&5
8284 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8286 # The compiler can only warn and ignore the option if not recognized
8287 # So say no if there are warnings
8288 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8289 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8290 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8291 lt_cv_prog_compiler_c_o=yes
8296 # SGI C++ compiler will create directory out/ii_files/ for
8297 # template instantiation
8298 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8299 $RM out/* && rmdir out
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8306 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8314 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8315 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8316 $as_echo_n "(cached) " >&6
8318 lt_cv_prog_compiler_c_o=no
8319 $RM -r conftest 2>/dev/null
8323 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8325 lt_compiler_flag="-o out/conftest2.$ac_objext"
8326 # Insert the option either (1) after the last *FLAGS variable, or
8327 # (2) before a word containing "conftest.", or (3) at the end.
8328 # Note that $ac_compile itself does not contain backslashes and begins
8329 # with a dollar sign (not a hyphen), so the echo should work correctly.
8330 lt_compile=`echo "$ac_compile" | $SED \
8331 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8332 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8333 -e 's:$: $lt_compiler_flag:'`
8334 (eval echo "\"\$as_me:8334: $lt_compile\"" >&5)
8335 (eval "$lt_compile" 2>out/conftest.err)
8337 cat out/conftest.err >&5
8338 echo "$as_me:8338: \$? = $ac_status" >&5
8339 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8341 # The compiler can only warn and ignore the option if not recognized
8342 # So say no if there are warnings
8343 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8344 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8345 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8346 lt_cv_prog_compiler_c_o=yes
8351 # SGI C++ compiler will create directory out/ii_files/ for
8352 # template instantiation
8353 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8354 $RM out/* && rmdir out
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8361 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8366 hard_links="nottested"
8367 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8368 # do not overwrite the value of need_locks provided by the user
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8370 $as_echo_n "checking if we can lock with hard links... " >&6; }
8373 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8375 ln conftest.a conftest.b 2>&5 || hard_links=no
8376 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8378 $as_echo "$hard_links" >&6; }
8379 if test "$hard_links" = no; then
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8381 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8394 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8397 allow_undefined_flag=
8398 always_export_symbols=no
8400 archive_expsym_cmds=
8401 compiler_needs_object=no
8402 enable_shared_with_static_runtimes=no
8403 export_dynamic_flag_spec=
8404 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8405 hardcode_automatic=no
8407 hardcode_direct_absolute=no
8408 hardcode_libdir_flag_spec=
8409 hardcode_libdir_flag_spec_ld=
8410 hardcode_libdir_separator=
8412 hardcode_shlibpath_var=unsupported
8414 link_all_deplibs=unknown
8417 old_archive_from_new_cmds=
8418 old_archive_from_expsyms_cmds=
8419 thread_safe_flag_spec=
8420 whole_archive_flag_spec=
8421 # include_expsyms should be a list of space-separated symbols to be *always*
8422 # included in the symbol list
8424 # exclude_expsyms can be an extended regexp of symbols to exclude
8425 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8426 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8427 # as well as any symbol that contains `d'.
8428 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8429 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8430 # platforms (ab)use it in PIC code, but their linkers get confused if
8431 # the symbol is explicitly referenced. Since portable code cannot
8432 # rely on this symbol name, it's probably fine to never include it in
8433 # preloaded symbol tables.
8434 # Exclude shared library initialization/finalization symbols.
8435 extract_expsyms_cmds=
8438 cygwin* | mingw* | pw32* | cegcc*)
8439 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8440 # When not using gcc, we currently assume that we are using
8441 # Microsoft Visual C++.
8442 if test "$GCC" != yes; then
8447 # we just hope/assume this is gcc and not c89 (= MSVC++)
8453 linux* | k*bsd*-gnu)
8459 if test "$with_gnu_ld" = yes; then
8460 # If archive_cmds runs LD, not CC, wlarc should be empty
8463 # Set some defaults for GNU ld with shared library support. These
8464 # are reset later if shared libraries are not supported. Putting them
8465 # here allows them to be overridden if necessary.
8466 runpath_var=LD_RUN_PATH
8467 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8468 export_dynamic_flag_spec='${wl}--export-dynamic'
8469 # ancient GNU ld didn't support --whole-archive et. al.
8470 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8471 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8473 whole_archive_flag_spec=
8475 supports_anon_versioning=no
8476 case `$LD -v 2>&1` in
8477 *GNU\ gold*) supports_anon_versioning=yes ;;
8478 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8479 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8480 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8481 *\ 2.11.*) ;; # other 2.11 versions
8482 *) supports_anon_versioning=yes ;;
8485 # See if GNU ld supports shared libraries.
8488 # On AIX/PPC, the GNU linker is very broken
8489 if test "$host_cpu" != ia64; then
8493 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8494 *** to be unable to reliably create shared libraries on AIX.
8495 *** Therefore, libtool is disabling shared libraries support. If you
8496 *** really care for shared libraries, you may want to modify your PATH
8497 *** so that a non-GNU linker is found, and then restart.
8506 # see comment about AmigaOS4 .so support
8507 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8508 archive_expsym_cmds=''
8511 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)'
8512 hardcode_libdir_flag_spec='-L$libdir'
8513 hardcode_minus_L=yes
8519 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8520 allow_undefined_flag=unsupported
8521 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8522 # support --undefined. This deserves some investigation. FIXME
8523 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8529 cygwin* | mingw* | pw32* | cegcc*)
8530 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8531 # as there is no search path for DLLs.
8532 hardcode_libdir_flag_spec='-L$libdir'
8533 allow_undefined_flag=unsupported
8534 always_export_symbols=no
8535 enable_shared_with_static_runtimes=yes
8536 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8538 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8539 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8540 # If the export-symbols file already is a .def file (1st line
8541 # is EXPORTS), use it as is; otherwise, prepend...
8542 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8543 cp $export_symbols $output_objdir/$soname.def;
8545 echo EXPORTS > $output_objdir/$soname.def;
8546 cat $export_symbols >> $output_objdir/$soname.def;
8548 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8556 hardcode_shlibpath_var=no
8557 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8558 export_dynamic_flag_spec='${wl}-E'
8559 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8560 # Instead, shared libraries are loaded at an image base (0x10000000 by
8561 # default) and relocated if they conflict, which is a slow very memory
8562 # consuming and fragmenting process. To avoid this, we pick a random,
8563 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8564 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8565 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8566 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'
8569 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8571 if test "$host_os" = linux-dietlibc; then
8572 case $cc_basename in
8573 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8576 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8577 && test "$tmp_diet" = no
8580 tmp_sharedflag='-shared'
8581 case $cc_basename,$host_cpu in
8582 pgcc*) # Portland Group C compiler
8583 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'
8584 tmp_addflag=' $pic_flag'
8586 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8587 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'
8588 tmp_addflag=' $pic_flag -Mnomain' ;;
8589 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8590 tmp_addflag=' -i_dynamic' ;;
8591 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8592 tmp_addflag=' -i_dynamic -nofor_main' ;;
8593 ifc* | ifort*) # Intel Fortran compiler
8594 tmp_addflag=' -nofor_main' ;;
8595 lf95*) # Lahey Fortran 8.1
8596 whole_archive_flag_spec=
8597 tmp_sharedflag='--shared' ;;
8598 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8599 tmp_sharedflag='-qmkshrobj'
8602 case `$CC -V 2>&1 | sed 5q` in
8603 *Sun\ C*) # Sun C 5.9
8604 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'
8605 compiler_needs_object=yes
8606 tmp_sharedflag='-G' ;;
8607 *Sun\ F*) # Sun Fortran 8.3
8608 tmp_sharedflag='-G' ;;
8610 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8612 if test "x$supports_anon_versioning" = xyes; then
8613 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8614 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8615 echo "local: *; };" >> $output_objdir/$libname.ver~
8616 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8619 case $cc_basename in
8621 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8622 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8623 hardcode_libdir_flag_spec=
8624 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8625 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8626 if test "x$supports_anon_versioning" = xyes; then
8627 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8628 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8629 echo "local: *; };" >> $output_objdir/$libname.ver~
8630 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8639 netbsd* | netbsdelf*-gnu)
8640 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8641 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8644 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8645 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8650 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8654 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8655 *** create shared libraries on Solaris systems. Therefore, libtool
8656 *** is disabling shared libraries support. We urge you to upgrade GNU
8657 *** binutils to release 2.9.1 or newer. Another option is to modify
8658 *** your PATH or compiler configuration so that the native linker is
8659 *** used, and then restart.
8662 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8663 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8664 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8670 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8671 case `$LD -v 2>&1` in
8672 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8676 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8677 *** reliably create shared libraries on SCO systems. Therefore, libtool
8678 *** is disabling shared libraries support. We urge you to upgrade GNU
8679 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8680 *** your PATH or compiler configuration so that the native linker is
8681 *** used, and then restart.
8686 # For security reasons, it is highly recommended that you always
8687 # use absolute paths for naming shared libraries, and exclude the
8688 # DT_RUNPATH tag from executables and libraries. But doing so
8689 # requires that you compile everything twice, which is a pain.
8690 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8691 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8692 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8693 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8702 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8705 hardcode_shlibpath_var=no
8709 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8710 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8711 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8718 if test "$ld_shlibs" = no; then
8720 hardcode_libdir_flag_spec=
8721 export_dynamic_flag_spec=
8722 whole_archive_flag_spec=
8725 # PORTME fill in a description of your system's linker (not GNU ld)
8728 allow_undefined_flag=unsupported
8729 always_export_symbols=yes
8730 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'
8731 # Note: this linker hardcodes the directories in LIBPATH if there
8732 # are no directories specified by -L.
8733 hardcode_minus_L=yes
8734 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8735 # Neither direct hardcoding nor static linking is supported with a
8737 hardcode_direct=unsupported
8742 if test "$host_cpu" = ia64; then
8743 # On IA64, the linker does run time linking by default, so we don't
8744 # have to do anything special.
8745 aix_use_runtimelinking=no
8746 exp_sym_flag='-Bexport'
8749 # If we're using GNU nm, then we don't want the "-C" option.
8750 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8751 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8752 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'
8754 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'
8756 aix_use_runtimelinking=no
8758 # Test if we are trying to use run time linking or normal
8759 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8760 # need to do runtime linking.
8761 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8762 for ld_flag in $LDFLAGS; do
8763 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8764 aix_use_runtimelinking=yes
8771 exp_sym_flag='-bexport'
8772 no_entry_flag='-bnoentry'
8775 # When large executables or shared objects are built, AIX ld can
8776 # have problems creating the table of contents. If linking a library
8777 # or program results in "error TOC overflow" add -mminimal-toc to
8778 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8779 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8783 hardcode_direct_absolute=yes
8784 hardcode_libdir_separator=':'
8785 link_all_deplibs=yes
8786 file_list_spec='${wl}-f,'
8788 if test "$GCC" = yes; then
8789 case $host_os in aix4.[012]|aix4.[012].*)
8790 # We only want to do this on AIX 4.2 and lower, the check
8791 # below for broken collect2 doesn't work under 4.3+
8792 collect2name=`${CC} -print-prog-name=collect2`
8793 if test -f "$collect2name" &&
8794 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8796 # We have reworked collect2
8799 # We have old collect2
8800 hardcode_direct=unsupported
8801 # It fails to find uninstalled libraries when the uninstalled
8802 # path is not listed in the libpath. Setting hardcode_minus_L
8803 # to unsupported forces relinking
8804 hardcode_minus_L=yes
8805 hardcode_libdir_flag_spec='-L$libdir'
8806 hardcode_libdir_separator=
8810 shared_flag='-shared'
8811 if test "$aix_use_runtimelinking" = yes; then
8812 shared_flag="$shared_flag "'${wl}-G'
8817 if test "$host_cpu" = ia64; then
8818 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8819 # chokes on -Wl,-G. The following line is correct:
8822 if test "$aix_use_runtimelinking" = yes; then
8823 shared_flag='${wl}-G'
8825 shared_flag='${wl}-bM:SRE'
8830 export_dynamic_flag_spec='${wl}-bexpall'
8831 # It seems that -bexpall does not export symbols beginning with
8832 # underscore (_), so it is better to generate a list of symbols to export.
8833 always_export_symbols=yes
8834 if test "$aix_use_runtimelinking" = yes; then
8835 # Warning - without using the other runtime loading flags (-brtl),
8836 # -berok will link without error, but may produce a broken library.
8837 allow_undefined_flag='-berok'
8838 # Determine the default libpath from the value encoded in an
8840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8841 /* end confdefs.h. */
8851 if ac_fn_c_try_link "$LINENO"; then :
8853 lt_aix_libpath_sed='
8854 /Import File Strings/,/^$/ {
8860 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8861 # Check for a 64-bit object if we didn't find anything.
8862 if test -z "$aix_libpath"; then
8863 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8866 rm -f core conftest.err conftest.$ac_objext \
8867 conftest$ac_exeext conftest.$ac_ext
8868 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8870 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8871 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"
8873 if test "$host_cpu" = ia64; then
8874 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8875 allow_undefined_flag="-z nodefs"
8876 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"
8878 # Determine the default libpath from the value encoded in an
8880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8881 /* end confdefs.h. */
8891 if ac_fn_c_try_link "$LINENO"; then :
8893 lt_aix_libpath_sed='
8894 /Import File Strings/,/^$/ {
8900 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8901 # Check for a 64-bit object if we didn't find anything.
8902 if test -z "$aix_libpath"; then
8903 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8906 rm -f core conftest.err conftest.$ac_objext \
8907 conftest$ac_exeext conftest.$ac_ext
8908 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8910 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8911 # Warning - without using the other run time loading flags,
8912 # -berok will link without error, but may produce a broken library.
8913 no_undefined_flag=' ${wl}-bernotok'
8914 allow_undefined_flag=' ${wl}-berok'
8915 # Exported symbols can be pulled into shared objects from archives
8916 whole_archive_flag_spec='$convenience'
8917 archive_cmds_need_lc=yes
8918 # This is similar to how AIX traditionally builds its shared libraries.
8919 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'
8927 # see comment about AmigaOS4 .so support
8928 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8929 archive_expsym_cmds=''
8932 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)'
8933 hardcode_libdir_flag_spec='-L$libdir'
8934 hardcode_minus_L=yes
8940 export_dynamic_flag_spec=-rdynamic
8943 cygwin* | mingw* | pw32* | cegcc*)
8944 # When not using gcc, we currently assume that we are using
8945 # Microsoft Visual C++.
8946 # hardcode_libdir_flag_spec is actually meaningless, as there is
8947 # no search path for DLLs.
8948 hardcode_libdir_flag_spec=' '
8949 allow_undefined_flag=unsupported
8950 # Tell ltmain to make .lib files, not .a files.
8952 # Tell ltmain to make .dll files, not .so files.
8954 # FIXME: Setting linknames here is a bad hack.
8955 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8956 # The linker will automatically build a .lib file if we build a DLL.
8957 old_archive_from_new_cmds='true'
8958 # FIXME: Should let the user specify the lib program.
8959 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8960 fix_srcfile_path='`cygpath -w "$srcfile"`'
8961 enable_shared_with_static_runtimes=yes
8964 darwin* | rhapsody*)
8967 archive_cmds_need_lc=no
8969 hardcode_automatic=yes
8970 hardcode_shlibpath_var=unsupported
8971 whole_archive_flag_spec=''
8972 link_all_deplibs=yes
8973 allow_undefined_flag="$_lt_dar_allow_undefined"
8974 case $cc_basename in
8975 ifort*) _lt_dar_can_shared=yes ;;
8976 *) _lt_dar_can_shared=$GCC ;;
8978 if test "$_lt_dar_can_shared" = "yes"; then
8979 output_verbose_link_cmd=echo
8980 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8981 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8982 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}"
8983 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}"
8992 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8993 hardcode_libdir_flag_spec='-L$libdir'
8994 hardcode_shlibpath_var=no
9001 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9002 # support. Future versions do this automatically, but an explicit c++rt0.o
9003 # does not break anything, and helps significantly (at the cost of a little
9006 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9007 hardcode_libdir_flag_spec='-R$libdir'
9009 hardcode_shlibpath_var=no
9012 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9014 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9016 hardcode_minus_L=yes
9017 hardcode_shlibpath_var=no
9020 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9021 freebsd* | dragonfly*)
9022 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9023 hardcode_libdir_flag_spec='-R$libdir'
9025 hardcode_shlibpath_var=no
9029 if test "$GCC" = yes; then
9030 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'
9032 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'
9034 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9035 hardcode_libdir_separator=:
9038 # hardcode_minus_L: Not really in the search PATH,
9039 # but as the default location of the library.
9040 hardcode_minus_L=yes
9041 export_dynamic_flag_spec='${wl}-E'
9045 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9046 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9048 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9050 if test "$with_gnu_ld" = no; then
9051 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9052 hardcode_libdir_flag_spec_ld='+b $libdir'
9053 hardcode_libdir_separator=:
9055 hardcode_direct_absolute=yes
9056 export_dynamic_flag_spec='${wl}-E'
9057 # hardcode_minus_L: Not really in the search PATH,
9058 # but as the default location of the library.
9059 hardcode_minus_L=yes
9064 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9067 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9070 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9073 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9079 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9082 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9085 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9089 if test "$with_gnu_ld" = no; then
9090 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9091 hardcode_libdir_separator=:
9096 hardcode_shlibpath_var=no
9100 hardcode_direct_absolute=yes
9101 export_dynamic_flag_spec='${wl}-E'
9103 # hardcode_minus_L: Not really in the search PATH,
9104 # but as the default location of the library.
9105 hardcode_minus_L=yes
9111 irix5* | irix6* | nonstopux*)
9112 if test "$GCC" = yes; then
9113 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'
9114 # Try to use the -exported_symbol ld option, if it does not
9115 # work, assume that -exports_file does not work either and
9116 # implicitly export all symbols.
9117 save_LDFLAGS="$LDFLAGS"
9118 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9120 /* end confdefs.h. */
9123 if ac_fn_c_try_link "$LINENO"; then :
9124 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'
9127 rm -f core conftest.err conftest.$ac_objext \
9128 conftest$ac_exeext conftest.$ac_ext
9129 LDFLAGS="$save_LDFLAGS"
9131 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'
9132 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'
9134 archive_cmds_need_lc='no'
9135 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9136 hardcode_libdir_separator=:
9138 link_all_deplibs=yes
9141 netbsd* | netbsdelf*-gnu)
9142 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9143 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9145 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9147 hardcode_libdir_flag_spec='-R$libdir'
9149 hardcode_shlibpath_var=no
9153 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9155 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9156 hardcode_libdir_separator=:
9157 hardcode_shlibpath_var=no
9164 if test -f /usr/libexec/ld.so; then
9166 hardcode_shlibpath_var=no
9167 hardcode_direct_absolute=yes
9168 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9169 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9170 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9171 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9172 export_dynamic_flag_spec='${wl}-E'
9175 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9176 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9177 hardcode_libdir_flag_spec='-R$libdir'
9180 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9181 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9191 hardcode_libdir_flag_spec='-L$libdir'
9192 hardcode_minus_L=yes
9193 allow_undefined_flag=unsupported
9194 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'
9195 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9199 if test "$GCC" = yes; then
9200 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9201 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'
9203 allow_undefined_flag=' -expect_unresolved \*'
9204 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'
9206 archive_cmds_need_lc='no'
9207 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9208 hardcode_libdir_separator=:
9211 osf4* | osf5*) # as osf3* with the addition of -msym flag
9212 if test "$GCC" = yes; then
9213 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9214 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'
9215 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9217 allow_undefined_flag=' -expect_unresolved \*'
9218 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'
9219 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~
9220 $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'
9222 # Both c and cxx compiler support -rpath directly
9223 hardcode_libdir_flag_spec='-rpath $libdir'
9225 archive_cmds_need_lc='no'
9226 hardcode_libdir_separator=:
9230 no_undefined_flag=' -z defs'
9231 if test "$GCC" = yes; then
9233 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9234 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9235 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9237 case `$CC -V 2>&1` in
9240 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9241 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9242 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9246 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9247 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9248 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9252 hardcode_libdir_flag_spec='-R$libdir'
9253 hardcode_shlibpath_var=no
9255 solaris2.[0-5] | solaris2.[0-5].*) ;;
9257 # The compiler driver will combine and reorder linker options,
9258 # but understands `-z linker_flag'. GCC discards it without `$wl',
9259 # but is careful enough not to reorder.
9260 # Supported since Solaris 2.6 (maybe 2.5.1?)
9261 if test "$GCC" = yes; then
9262 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9264 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9268 link_all_deplibs=yes
9272 if test "x$host_vendor" = xsequent; then
9273 # Use $CC to link under sequent, because it throws in some extra .o
9274 # files that make .init and .fini sections work.
9275 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9277 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9279 hardcode_libdir_flag_spec='-L$libdir'
9281 hardcode_minus_L=yes
9282 hardcode_shlibpath_var=no
9286 case $host_vendor in
9288 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9289 hardcode_direct=yes # is this really true???
9292 ## LD is ld it makes a PLAMLIB
9293 ## CC just makes a GrossModule.
9294 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9295 reload_cmds='$CC -r -o $output$reload_objs'
9299 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9300 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9303 runpath_var='LD_RUN_PATH'
9304 hardcode_shlibpath_var=no
9308 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9309 hardcode_shlibpath_var=no
9310 export_dynamic_flag_spec='-Bexport'
9314 if test -d /usr/nec; then
9315 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9316 hardcode_shlibpath_var=no
9317 runpath_var=LD_RUN_PATH
9318 hardcode_runpath_var=yes
9323 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9324 no_undefined_flag='${wl}-z,text'
9325 archive_cmds_need_lc=no
9326 hardcode_shlibpath_var=no
9327 runpath_var='LD_RUN_PATH'
9329 if test "$GCC" = yes; then
9330 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9331 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9333 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9334 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9338 sysv5* | sco3.2v5* | sco5v6*)
9339 # Note: We can NOT use -z defs as we might desire, because we do not
9340 # link with -lc, and that would cause any symbols used from libc to
9341 # always be unresolved, which means just about no library would
9342 # ever link correctly. If we're not using GNU ld we use -z text
9343 # though, which does catch some bad symbols but isn't as heavy-handed
9345 no_undefined_flag='${wl}-z,text'
9346 allow_undefined_flag='${wl}-z,nodefs'
9347 archive_cmds_need_lc=no
9348 hardcode_shlibpath_var=no
9349 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9350 hardcode_libdir_separator=':'
9351 link_all_deplibs=yes
9352 export_dynamic_flag_spec='${wl}-Bexport'
9353 runpath_var='LD_RUN_PATH'
9355 if test "$GCC" = yes; then
9356 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9357 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9359 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9360 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9365 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9366 hardcode_libdir_flag_spec='-L$libdir'
9367 hardcode_shlibpath_var=no
9375 if test x$host_vendor = xsni; then
9377 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9378 export_dynamic_flag_spec='${wl}-Blargedynsym'
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9385 $as_echo "$ld_shlibs" >&6; }
9386 test "$ld_shlibs" = no && can_build_shared=no
9388 with_gnu_ld=$with_gnu_ld
9405 # Do we need to explicitly link libc?
9407 case "x$archive_cmds_need_lc" in
9409 # Assume -lc should be added
9410 archive_cmds_need_lc=yes
9412 if test "$enable_shared" = yes && test "$GCC" = yes; then
9413 case $archive_cmds in
9415 # FIXME: we may have to deal with multi-command sequences.
9418 # Test whether the compiler implicitly links with -lc since on some
9419 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9420 # to ld, don't add -lc before -lgcc.
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9422 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9424 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9427 (eval $ac_compile) 2>&5
9429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9430 test $ac_status = 0; } 2>conftest.err; then
9433 libobjs=conftest.$ac_objext
9435 wl=$lt_prog_compiler_wl
9436 pic_flag=$lt_prog_compiler_pic
9442 lt_save_allow_undefined_flag=$allow_undefined_flag
9443 allow_undefined_flag=
9444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9445 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9448 test $ac_status = 0; }
9450 archive_cmds_need_lc=no
9452 archive_cmds_need_lc=yes
9454 allow_undefined_flag=$lt_save_allow_undefined_flag
9456 cat conftest.err 1>&5
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9460 $as_echo "$archive_cmds_need_lc" >&6; }
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9624 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9626 if test "$GCC" = yes; then
9628 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9629 *) lt_awk_arg="/^libraries:/" ;;
9631 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9632 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9633 # if the path contains ";" then we assume it to be the separator
9634 # otherwise default to the standard path separator (i.e. ":") - it is
9635 # assumed that no part of a normal pathname contains ";" but that should
9636 # okay in the real world where ";" in dirpaths is itself problematic.
9637 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9639 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9641 # Ok, now we have the path, separated by spaces, we can step through it
9642 # and add multilib dir if necessary.
9643 lt_tmp_lt_search_path_spec=
9644 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9645 for lt_sys_path in $lt_search_path_spec; do
9646 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9647 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9649 test -d "$lt_sys_path" && \
9650 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9653 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9654 BEGIN {RS=" "; FS="/|\n";} {
9657 for (lt_i = NF; lt_i > 0; lt_i--) {
9658 if ($lt_i != "" && $lt_i != ".") {
9659 if ($lt_i == "..") {
9662 if (lt_count == 0) {
9663 lt_foo="/" $lt_i lt_foo;
9670 if (lt_foo != "") { lt_freq[lt_foo]++; }
9671 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9673 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9675 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9678 libname_spec='lib$name'
9686 shlibpath_overrides_runpath=unknown
9688 dynamic_linker="$host_os ld.so"
9689 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9690 need_lib_prefix=unknown
9691 hardcode_into_libs=no
9693 # when you set need_version to no, make sure it does not cause -set_version
9694 # flags to be left without arguments
9695 need_version=unknown
9700 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9701 shlibpath_var=LIBPATH
9703 # AIX 3 has no versioning support, so we append a major version to the name.
9704 soname_spec='${libname}${release}${shared_ext}$major'
9711 hardcode_into_libs=yes
9712 if test "$host_cpu" = ia64; then
9713 # AIX 5 supports IA64
9714 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9715 shlibpath_var=LD_LIBRARY_PATH
9717 # With GCC up to 2.95.x, collect2 would create an import file
9718 # for dependence libraries. The import file would start with
9719 # the line `#! .'. This would cause the generated library to
9720 # depend on `.', always an invalid library. This was fixed in
9721 # development snapshots of GCC prior to 3.0.
9723 aix4 | aix4.[01] | aix4.[01].*)
9724 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9726 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9733 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9734 # soname into executable. Probably we can add versioning support to
9735 # collect2, so additional links can be useful in future.
9736 if test "$aix_use_runtimelinking" = yes; then
9737 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9738 # instead of lib<name>.a to let people know that these are not
9739 # typical AIX shared libraries.
9740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9742 # We preserve .a as extension for shared libraries through AIX4.2
9743 # and later when we are not doing run time linking.
9744 library_names_spec='${libname}${release}.a $libname.a'
9745 soname_spec='${libname}${release}${shared_ext}$major'
9747 shlibpath_var=LIBPATH
9754 # Since July 2007 AmigaOS4 officially supports .so libraries.
9755 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9759 library_names_spec='$libname.ixlibrary $libname.a'
9760 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9761 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'
9767 library_names_spec='${libname}${shared_ext}'
9768 dynamic_linker="$host_os ld.so"
9769 shlibpath_var=LIBRARY_PATH
9775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9776 soname_spec='${libname}${release}${shared_ext}$major'
9777 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9778 shlibpath_var=LD_LIBRARY_PATH
9779 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9780 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9781 # the default ld.so.conf also contains /usr/contrib/lib and
9782 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9783 # libtool to hard-code these into programs
9786 cygwin* | mingw* | pw32* | cegcc*)
9787 version_type=windows
9792 case $GCC,$host_os in
9793 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9794 library_names_spec='$libname.dll.a'
9795 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9796 postinstall_cmds='base_file=`basename \${file}`~
9797 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9798 dldir=$destdir/`dirname \$dlpath`~
9799 test -d \$dldir || mkdir -p \$dldir~
9800 $install_prog $dir/$dlname \$dldir/$dlname~
9801 chmod a+x \$dldir/$dlname~
9802 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9803 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9805 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9806 dlpath=$dir/\$dldll~
9808 shlibpath_overrides_runpath=yes
9812 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9813 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9814 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9817 # MinGW DLLs use traditional 'lib' prefix
9818 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9819 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9820 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9821 # It is most probably a Windows format PATH printed by
9822 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9823 # path with ; separators, and with drive letters. We can handle the
9824 # drive letters (cygwin fileutils understands them), so leave them,
9825 # especially as we might pass files found there to a mingw objdump,
9826 # which wouldn't understand a cygwinified path. Ahh.
9827 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9829 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9833 # pw32 DLLs use 'pw' prefix rather than 'lib'
9834 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9840 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9843 dynamic_linker='Win32 ld.exe'
9844 # FIXME: first we should search . and the directory the executable is in
9848 darwin* | rhapsody*)
9849 dynamic_linker="$host_os dyld"
9853 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9854 soname_spec='${libname}${release}${major}$shared_ext'
9855 shlibpath_overrides_runpath=yes
9856 shlibpath_var=DYLD_LIBRARY_PATH
9857 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9859 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9860 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9868 soname_spec='${libname}${release}${shared_ext}$major'
9869 shlibpath_var=LD_LIBRARY_PATH
9876 freebsd* | dragonfly*)
9877 # DragonFly does not have aout. When/if they implement a new
9878 # versioning mechanism, adjust this.
9879 if test -x /usr/bin/objformat; then
9880 objformat=`/usr/bin/objformat`
9883 freebsd[123]*) objformat=aout ;;
9887 version_type=freebsd-$objformat
9888 case $version_type in
9890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9895 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9899 shlibpath_var=LD_LIBRARY_PATH
9902 shlibpath_overrides_runpath=yes
9904 freebsd3.[01]* | freebsdelf3.[01]*)
9905 shlibpath_overrides_runpath=yes
9906 hardcode_into_libs=yes
9908 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9909 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9910 shlibpath_overrides_runpath=no
9911 hardcode_into_libs=yes
9913 *) # from 4.6 on, and DragonFly
9914 shlibpath_overrides_runpath=yes
9915 hardcode_into_libs=yes
9924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9925 soname_spec='${libname}${release}${shared_ext}$major'
9926 shlibpath_var=LD_LIBRARY_PATH
9927 hardcode_into_libs=yes
9930 hpux9* | hpux10* | hpux11*)
9931 # Give a soname corresponding to the major version so that dld.sl refuses to
9932 # link against other versions.
9939 hardcode_into_libs=yes
9940 dynamic_linker="$host_os dld.so"
9941 shlibpath_var=LD_LIBRARY_PATH
9942 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9943 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9944 soname_spec='${libname}${release}${shared_ext}$major'
9945 if test "X$HPUX_IA64_MODE" = X32; then
9946 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9948 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9950 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9954 hardcode_into_libs=yes
9955 dynamic_linker="$host_os dld.sl"
9956 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9957 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9959 soname_spec='${libname}${release}${shared_ext}$major'
9960 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9961 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9965 dynamic_linker="$host_os dld.sl"
9966 shlibpath_var=SHLIB_PATH
9967 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9969 soname_spec='${libname}${release}${shared_ext}$major'
9972 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9973 postinstall_cmds='chmod 555 $lib'
9980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9981 soname_spec='${libname}${release}${shared_ext}$major'
9982 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9983 shlibpath_var=LD_LIBRARY_PATH
9984 shlibpath_overrides_runpath=no
9985 hardcode_into_libs=yes
9988 irix5* | irix6* | nonstopux*)
9990 nonstopux*) version_type=nonstopux ;;
9992 if test "$lt_cv_prog_gnu_ld" = yes; then
10000 soname_spec='${libname}${release}${shared_ext}$major'
10001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10003 irix5* | nonstopux*)
10004 libsuff= shlibsuff=
10007 case $LD in # libtool.m4 will add one of these switches to LD
10008 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10009 libsuff= shlibsuff= libmagic=32-bit;;
10010 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10011 libsuff=32 shlibsuff=N32 libmagic=N32;;
10012 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10013 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10014 *) libsuff= shlibsuff= libmagic=never-match;;
10018 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10019 shlibpath_overrides_runpath=no
10020 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10021 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10022 hardcode_into_libs=yes
10025 # No shared lib support for Linux oldld, aout, or coff.
10026 linux*oldld* | linux*aout* | linux*coff*)
10030 # This must be Linux ELF.
10031 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10036 soname_spec='${libname}${release}${shared_ext}$major'
10037 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10038 shlibpath_var=LD_LIBRARY_PATH
10039 shlibpath_overrides_runpath=no
10040 # Some binutils ld are patched to set DT_RUNPATH
10041 save_LDFLAGS=$LDFLAGS
10042 save_libdir=$libdir
10043 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10044 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10046 /* end confdefs.h. */
10056 if ac_fn_c_try_link "$LINENO"; then :
10057 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10058 shlibpath_overrides_runpath=yes
10061 rm -f core conftest.err conftest.$ac_objext \
10062 conftest$ac_exeext conftest.$ac_ext
10063 LDFLAGS=$save_LDFLAGS
10064 libdir=$save_libdir
10066 # This implies no fast_install, which is unacceptable.
10067 # Some rework will be needed to allow for fast_install
10068 # before this can be enabled.
10069 hardcode_into_libs=yes
10071 # Append ld.so.conf contents to the search path
10072 if test -f /etc/ld.so.conf; then
10073 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' ' '`
10074 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10077 # We used to test for /lib/ld.so.1 and disable shared libraries on
10078 # powerpc, because MkLinux only supported shared libraries with the
10079 # GNU dynamic linker. Since this was broken with cross compilers,
10080 # most powerpc-linux boxes support dynamic linking these days and
10081 # people can always --disable-shared, the test was removed, and we
10082 # assume the GNU/Linux dynamic linker is in use.
10083 dynamic_linker='GNU/Linux ld.so'
10090 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10091 soname_spec='${libname}${release}${shared_ext}$major'
10092 shlibpath_var=LD_LIBRARY_PATH
10093 shlibpath_overrides_runpath=no
10094 hardcode_into_libs=yes
10095 dynamic_linker='NetBSD ld.elf_so'
10102 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10104 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10105 dynamic_linker='NetBSD (a.out) ld.so'
10107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10108 soname_spec='${libname}${release}${shared_ext}$major'
10109 dynamic_linker='NetBSD ld.elf_so'
10111 shlibpath_var=LD_LIBRARY_PATH
10112 shlibpath_overrides_runpath=yes
10113 hardcode_into_libs=yes
10118 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10119 shlibpath_var=LD_LIBRARY_PATH
10120 shlibpath_overrides_runpath=yes
10127 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10128 soname_spec='${libname}${release}${shared_ext}$major'
10129 shlibpath_var=LD_LIBRARY_PATH
10130 shlibpath_overrides_runpath=no
10131 hardcode_into_libs=yes
10132 dynamic_linker='ldqnx.so'
10137 sys_lib_dlsearch_path_spec="/usr/lib"
10139 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10141 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10142 *) need_version=no ;;
10144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10145 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10146 shlibpath_var=LD_LIBRARY_PATH
10147 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10149 openbsd2.[89] | openbsd2.[89].*)
10150 shlibpath_overrides_runpath=no
10153 shlibpath_overrides_runpath=yes
10157 shlibpath_overrides_runpath=yes
10162 libname_spec='$name'
10165 library_names_spec='$libname${shared_ext} $libname.a'
10166 dynamic_linker='OS/2 ld.exe'
10167 shlibpath_var=LIBPATH
10170 osf3* | osf4* | osf5*)
10174 soname_spec='${libname}${release}${shared_ext}$major'
10175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10176 shlibpath_var=LD_LIBRARY_PATH
10177 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10178 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10190 soname_spec='${libname}${release}${shared_ext}$major'
10191 shlibpath_var=LD_LIBRARY_PATH
10192 shlibpath_overrides_runpath=yes
10193 hardcode_into_libs=yes
10194 # ldd complains unless libraries are executable
10195 postinstall_cmds='chmod +x $lib'
10200 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10201 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10202 shlibpath_var=LD_LIBRARY_PATH
10203 shlibpath_overrides_runpath=yes
10204 if test "$with_gnu_ld" = yes; then
10212 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10213 soname_spec='${libname}${release}${shared_ext}$major'
10214 shlibpath_var=LD_LIBRARY_PATH
10215 case $host_vendor in
10217 shlibpath_overrides_runpath=no
10219 runpath_var=LD_RUN_PATH
10227 shlibpath_overrides_runpath=no
10228 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10234 if test -d /usr/nec ;then
10236 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10237 soname_spec='$libname${shared_ext}.$major'
10238 shlibpath_var=LD_LIBRARY_PATH
10242 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10243 version_type=freebsd-elf
10246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10247 soname_spec='${libname}${release}${shared_ext}$major'
10248 shlibpath_var=LD_LIBRARY_PATH
10249 shlibpath_overrides_runpath=yes
10250 hardcode_into_libs=yes
10251 if test "$with_gnu_ld" = yes; then
10252 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10254 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10257 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10261 sys_lib_dlsearch_path_spec='/usr/lib'
10265 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10270 shlibpath_var=LD_LIBRARY_PATH
10271 shlibpath_overrides_runpath=no
10272 hardcode_into_libs=yes
10277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10278 soname_spec='${libname}${release}${shared_ext}$major'
10279 shlibpath_var=LD_LIBRARY_PATH
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10287 $as_echo "$dynamic_linker" >&6; }
10288 test "$dynamic_linker" = no && can_build_shared=no
10290 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10291 if test "$GCC" = yes; then
10292 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10295 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10296 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10298 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10299 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10389 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10391 if test -n "$hardcode_libdir_flag_spec" ||
10392 test -n "$runpath_var" ||
10393 test "X$hardcode_automatic" = "Xyes" ; then
10395 # We can hardcode non-existent directories.
10396 if test "$hardcode_direct" != no &&
10397 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10398 # have to relink, otherwise we might link with an installed library
10399 # when we should be linking with a yet-to-be-installed one
10400 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10401 test "$hardcode_minus_L" != no; then
10402 # Linking always hardcodes the temporary library directory.
10403 hardcode_action=relink
10405 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10406 hardcode_action=immediate
10409 # We cannot hardcode anything, or else we can only hardcode existing
10411 hardcode_action=unsupported
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10414 $as_echo "$hardcode_action" >&6; }
10416 if test "$hardcode_action" = relink ||
10417 test "$inherit_rpath" = yes; then
10418 # Fast installation is not supported
10419 enable_fast_install=no
10420 elif test "$shlibpath_overrides_runpath" = yes ||
10421 test "$enable_shared" = no; then
10422 # Fast installation is not necessary
10423 enable_fast_install=needless
10431 if test "x$enable_dlopen" != xyes; then
10432 enable_dlopen=unknown
10433 enable_dlopen_self=unknown
10434 enable_dlopen_self_static=unknown
10441 lt_cv_dlopen="load_add_on"
10443 lt_cv_dlopen_self=yes
10446 mingw* | pw32* | cegcc*)
10447 lt_cv_dlopen="LoadLibrary"
10452 lt_cv_dlopen="dlopen"
10457 # if libdl is installed we need to link against it
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10459 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10460 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10461 $as_echo_n "(cached) " >&6
10463 ac_check_lib_save_LIBS=$LIBS
10465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10466 /* end confdefs.h. */
10468 /* Override any GCC internal prototype to avoid an error.
10469 Use char because int might match the return type of a GCC
10470 builtin and then its argument prototype would still apply. */
10483 if ac_fn_c_try_link "$LINENO"; then :
10484 ac_cv_lib_dl_dlopen=yes
10486 ac_cv_lib_dl_dlopen=no
10488 rm -f core conftest.err conftest.$ac_objext \
10489 conftest$ac_exeext conftest.$ac_ext
10490 LIBS=$ac_check_lib_save_LIBS
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10493 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10494 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10495 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10498 lt_cv_dlopen="dyld"
10500 lt_cv_dlopen_self=yes
10507 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10508 if test "x$ac_cv_func_shl_load" = x""yes; then :
10509 lt_cv_dlopen="shl_load"
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10512 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10513 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10514 $as_echo_n "(cached) " >&6
10516 ac_check_lib_save_LIBS=$LIBS
10518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10519 /* end confdefs.h. */
10521 /* Override any GCC internal prototype to avoid an error.
10522 Use char because int might match the return type of a GCC
10523 builtin and then its argument prototype would still apply. */
10531 return shl_load ();
10536 if ac_fn_c_try_link "$LINENO"; then :
10537 ac_cv_lib_dld_shl_load=yes
10539 ac_cv_lib_dld_shl_load=no
10541 rm -f core conftest.err conftest.$ac_objext \
10542 conftest$ac_exeext conftest.$ac_ext
10543 LIBS=$ac_check_lib_save_LIBS
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10546 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10547 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10548 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10550 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10551 if test "x$ac_cv_func_dlopen" = x""yes; then :
10552 lt_cv_dlopen="dlopen"
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10555 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10556 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10557 $as_echo_n "(cached) " >&6
10559 ac_check_lib_save_LIBS=$LIBS
10561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10562 /* end confdefs.h. */
10564 /* Override any GCC internal prototype to avoid an error.
10565 Use char because int might match the return type of a GCC
10566 builtin and then its argument prototype would still apply. */
10579 if ac_fn_c_try_link "$LINENO"; then :
10580 ac_cv_lib_dl_dlopen=yes
10582 ac_cv_lib_dl_dlopen=no
10584 rm -f core conftest.err conftest.$ac_objext \
10585 conftest$ac_exeext conftest.$ac_ext
10586 LIBS=$ac_check_lib_save_LIBS
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10589 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10590 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10591 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10594 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10595 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10596 $as_echo_n "(cached) " >&6
10598 ac_check_lib_save_LIBS=$LIBS
10599 LIBS="-lsvld $LIBS"
10600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10601 /* end confdefs.h. */
10603 /* Override any GCC internal prototype to avoid an error.
10604 Use char because int might match the return type of a GCC
10605 builtin and then its argument prototype would still apply. */
10618 if ac_fn_c_try_link "$LINENO"; then :
10619 ac_cv_lib_svld_dlopen=yes
10621 ac_cv_lib_svld_dlopen=no
10623 rm -f core conftest.err conftest.$ac_objext \
10624 conftest$ac_exeext conftest.$ac_ext
10625 LIBS=$ac_check_lib_save_LIBS
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10628 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10629 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10630 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10633 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10634 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10635 $as_echo_n "(cached) " >&6
10637 ac_check_lib_save_LIBS=$LIBS
10639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10640 /* end confdefs.h. */
10642 /* Override any GCC internal prototype to avoid an error.
10643 Use char because int might match the return type of a GCC
10644 builtin and then its argument prototype would still apply. */
10652 return dld_link ();
10657 if ac_fn_c_try_link "$LINENO"; then :
10658 ac_cv_lib_dld_dld_link=yes
10660 ac_cv_lib_dld_dld_link=no
10662 rm -f core conftest.err conftest.$ac_objext \
10663 conftest$ac_exeext conftest.$ac_ext
10664 LIBS=$ac_check_lib_save_LIBS
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10667 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10668 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10669 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10690 if test "x$lt_cv_dlopen" != xno; then
10696 case $lt_cv_dlopen in
10698 save_CPPFLAGS="$CPPFLAGS"
10699 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10701 save_LDFLAGS="$LDFLAGS"
10702 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10705 LIBS="$lt_cv_dlopen_libs $LIBS"
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10708 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10709 if test "${lt_cv_dlopen_self+set}" = set; then :
10710 $as_echo_n "(cached) " >&6
10712 if test "$cross_compiling" = yes; then :
10713 lt_cv_dlopen_self=cross
10715 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10716 lt_status=$lt_dlunknown
10717 cat > conftest.$ac_ext <<_LT_EOF
10718 #line 10718 "configure"
10719 #include "confdefs.h"
10728 # define LT_DLGLOBAL RTLD_GLOBAL
10731 # define LT_DLGLOBAL DL_GLOBAL
10733 # define LT_DLGLOBAL 0
10737 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10738 find out it does not work in some platform. */
10739 #ifndef LT_DLLAZY_OR_NOW
10741 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10744 # define LT_DLLAZY_OR_NOW DL_LAZY
10747 # define LT_DLLAZY_OR_NOW RTLD_NOW
10750 # define LT_DLLAZY_OR_NOW DL_NOW
10752 # define LT_DLLAZY_OR_NOW 0
10759 void fnord() { int i=42;}
10762 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10763 int status = $lt_dlunknown;
10767 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10768 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10769 /* dlclose (self); */
10777 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10778 (eval $ac_link) 2>&5
10780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10781 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10782 (./conftest; exit; ) >&5 2>/dev/null
10784 case x$lt_status in
10785 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10786 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10787 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10790 # compilation failed
10791 lt_cv_dlopen_self=no
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10799 $as_echo "$lt_cv_dlopen_self" >&6; }
10801 if test "x$lt_cv_dlopen_self" = xyes; then
10802 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10804 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10805 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10806 $as_echo_n "(cached) " >&6
10808 if test "$cross_compiling" = yes; then :
10809 lt_cv_dlopen_self_static=cross
10811 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10812 lt_status=$lt_dlunknown
10813 cat > conftest.$ac_ext <<_LT_EOF
10814 #line 10814 "configure"
10815 #include "confdefs.h"
10824 # define LT_DLGLOBAL RTLD_GLOBAL
10827 # define LT_DLGLOBAL DL_GLOBAL
10829 # define LT_DLGLOBAL 0
10833 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10834 find out it does not work in some platform. */
10835 #ifndef LT_DLLAZY_OR_NOW
10837 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10840 # define LT_DLLAZY_OR_NOW DL_LAZY
10843 # define LT_DLLAZY_OR_NOW RTLD_NOW
10846 # define LT_DLLAZY_OR_NOW DL_NOW
10848 # define LT_DLLAZY_OR_NOW 0
10855 void fnord() { int i=42;}
10858 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10859 int status = $lt_dlunknown;
10863 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10864 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10865 /* dlclose (self); */
10873 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10874 (eval $ac_link) 2>&5
10876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10877 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10878 (./conftest; exit; ) >&5 2>/dev/null
10880 case x$lt_status in
10881 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10882 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10883 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10886 # compilation failed
10887 lt_cv_dlopen_self_static=no
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10895 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10898 CPPFLAGS="$save_CPPFLAGS"
10899 LDFLAGS="$save_LDFLAGS"
10904 case $lt_cv_dlopen_self in
10905 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10906 *) enable_dlopen_self=unknown ;;
10909 case $lt_cv_dlopen_self_static in
10910 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10911 *) enable_dlopen_self_static=unknown ;;
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10934 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10935 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10936 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10937 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10939 $as_echo "yes" >&6; }
10941 # FIXME - insert some real tests, host_os isn't really good enough
10944 if test -n "$STRIP" ; then
10945 striplib="$STRIP -x"
10946 old_striplib="$STRIP -S"
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10948 $as_echo "yes" >&6; }
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10951 $as_echo "no" >&6; }
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10956 $as_echo "no" >&6; }
10972 # Report which library types will actually be built
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10974 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10976 $as_echo "$can_build_shared" >&6; }
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10979 $as_echo_n "checking whether to build shared libraries... " >&6; }
10980 test "$can_build_shared" = "no" && enable_shared=no
10982 # On AIX, shared libraries and static libraries use the same namespace, and
10983 # are all built from PIC.
10986 test "$enable_shared" = yes && enable_static=no
10987 if test -n "$RANLIB"; then
10988 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10989 postinstall_cmds='$RANLIB $lib'
10994 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10995 test "$enable_shared" = yes && enable_static=no
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11000 $as_echo "$enable_shared" >&6; }
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11003 $as_echo_n "checking whether to build static libraries... " >&6; }
11004 # Make sure either enable_shared or enable_static is yes.
11005 test "$enable_shared" = yes || enable_static=yes
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11007 $as_echo "$enable_static" >&6; }
11014 ac_cpp='$CPP $CPPFLAGS'
11015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11033 ac_config_commands="$ac_config_commands libtool"
11038 # Only expand once:
11041 if test "x$CC" != xcc; then
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
11043 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
11046 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
11048 set dummy $CC; ac_cc=`$as_echo "$2" |
11049 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11050 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
11051 $as_echo_n "(cached) " >&6
11053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11054 /* end confdefs.h. */
11064 # Make sure it works both with $CC and with simple cc.
11065 # We do the test twice because some compilers refuse to overwrite an
11066 # existing .o file with -o, though they will create one.
11067 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11069 if { { case "(($ac_try" in
11070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11071 *) ac_try_echo=$ac_try;;
11073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11074 $as_echo "$ac_try_echo"; } >&5
11075 (eval "$ac_try") 2>&5
11077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11078 test $ac_status = 0; } &&
11079 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11081 *) ac_try_echo=$ac_try;;
11083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11084 $as_echo "$ac_try_echo"; } >&5
11085 (eval "$ac_try") 2>&5
11087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11088 test $ac_status = 0; };
11090 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11091 if test "x$CC" != xcc; then
11092 # Test first that cc exists at all.
11093 if { ac_try='cc -c conftest.$ac_ext >&5'
11094 { { case "(($ac_try" in
11095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11096 *) ac_try_echo=$ac_try;;
11098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11099 $as_echo "$ac_try_echo"; } >&5
11100 (eval "$ac_try") 2>&5
11102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11103 test $ac_status = 0; }; }; then
11104 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11106 if { { case "(($ac_try" in
11107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11108 *) ac_try_echo=$ac_try;;
11110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11111 $as_echo "$ac_try_echo"; } >&5
11112 (eval "$ac_try") 2>&5
11114 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11115 test $ac_status = 0; } &&
11116 test -f conftest2.$ac_objext && { { case "(($ac_try" in
11117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11118 *) ac_try_echo=$ac_try;;
11120 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11121 $as_echo "$ac_try_echo"; } >&5
11122 (eval "$ac_try") 2>&5
11124 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11125 test $ac_status = 0; };
11130 # cc exists but doesn't like -o.
11131 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11136 eval ac_cv_prog_cc_${ac_cc}_c_o=no
11138 rm -f core conftest*
11141 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11143 $as_echo "yes" >&6; }
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11146 $as_echo "no" >&6; }
11148 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
11152 # FIXME: we rely on the cache variable name because
11153 # there is no other way.
11155 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11156 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11157 if test "$am_t" != yes; then
11158 # Losing compiler, so override with the script.
11159 # FIXME: It is wrong to rewrite CC.
11160 # But if we don't then we get into trouble of one sort or another.
11161 # A longer-term fix would be to have automake use am__CC in this case,
11162 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11163 CC="$am_aux_dir/compile $CC"
11167 # By default we simply use the C compiler to build assembly code.
11169 test "${CCAS+set}" = set || CCAS=$CC
11170 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
11174 depcc="$CCAS" am_compiler_list=
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11177 $as_echo_n "checking dependency style of $depcc... " >&6; }
11178 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
11179 $as_echo_n "(cached) " >&6
11181 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11182 # We make a subdir and do the tests there. Otherwise we can end up
11183 # making bogus files that we don't know about and never remove. For
11184 # instance it was reported that on HP-UX the gcc test will end up
11185 # making a dummy file named `D' -- because `-MD' means `put the output
11188 # Copy depcomp to subdir because otherwise we won't find it if we're
11189 # using a relative directory.
11190 cp "$am_depcomp" conftest.dir
11192 # We will build objects and dependencies in a subdirectory because
11193 # it helps to detect inapplicable dependency modes. For instance
11194 # both Tru64's cc and ICC support -MD to output dependencies as a
11195 # side effect of compilation, but ICC will put the dependencies in
11196 # the current directory while Tru64 will put them in the object
11200 am_cv_CCAS_dependencies_compiler_type=none
11201 if test "$am_compiler_list" = ""; then
11202 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11204 am__universal=false
11207 for depmode in $am_compiler_list; do
11208 # Setup a source with many dependencies, because some compilers
11209 # like to wrap large dependency lists on column 80 (with \), and
11210 # we should not choose a depcomp mode which is confused by this.
11212 # We need to recreate these files for each test, as the compiler may
11213 # overwrite some of them when testing with obscure command lines.
11214 # This happens at least with the AIX C compiler.
11216 for i in 1 2 3 4 5 6; do
11217 echo '#include "conftst'$i'.h"' >> sub/conftest.c
11218 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11219 # Solaris 8's {/usr,}/bin/sh.
11220 touch sub/conftst$i.h
11222 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11224 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11225 # mode. It turns out that the SunPro C++ compiler does not properly
11226 # handle `-M -o', and we need to detect this. Also, some Intel
11227 # versions had trouble with output in subdirs
11228 am__obj=sub/conftest.${OBJEXT-o}
11229 am__minus_obj="-o $am__obj"
11232 # This depmode causes a compiler race in universal mode.
11233 test "$am__universal" = false || continue
11236 # after this tag, mechanisms are not by side-effect, so they'll
11237 # only be used when explicitly requested
11238 if test "x$enable_dependency_tracking" = xyes; then
11244 msvisualcpp | msvcmsys)
11245 # This compiler won't grok `-c -o', but also, the minuso test has
11246 # not run yet. These depmodes are late enough in the game, and
11247 # so weak that their functioning should not be impacted.
11248 am__obj=conftest.${OBJEXT-o}
11253 if depmode=$depmode \
11254 source=sub/conftest.c object=$am__obj \
11255 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11256 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11257 >/dev/null 2>conftest.err &&
11258 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11259 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11260 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11261 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11262 # icc doesn't choke on unknown options, it will just issue warnings
11263 # or remarks (even with -Werror). So we grep stderr for any message
11264 # that says an option was ignored or not supported.
11265 # When given -MP, icc 7.0 and 7.1 complain thusly:
11266 # icc: Command line warning: ignoring option '-M'; no argument required
11267 # The diagnosis changed in icc 8.0:
11268 # icc: Command line remark: option '-MP' not supported
11269 if (grep 'ignoring option' conftest.err ||
11270 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11271 am_cv_CCAS_dependencies_compiler_type=$depmode
11278 rm -rf conftest.dir
11280 am_cv_CCAS_dependencies_compiler_type=none
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
11285 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
11286 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
11289 test "x$enable_dependency_tracking" != xno \
11290 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
11291 am__fastdepCCAS_TRUE=
11292 am__fastdepCCAS_FALSE='#'
11294 am__fastdepCCAS_TRUE='#'
11295 am__fastdepCCAS_FALSE=
11303 ACLOCAL_AMFLAGS="-I m4 $ACLOCAL_AMFLAGS"
11306 if test "x$cross_compiling" = "xyes"; then
11307 CROSS_COMPILING_TRUE=
11308 CROSS_COMPILING_FALSE='#'
11310 CROSS_COMPILING_TRUE='#'
11311 CROSS_COMPILING_FALSE=
11314 for ac_func in posix_memalign
11316 ac_fn_c_check_func "$LINENO" "posix_memalign" "ac_cv_func_posix_memalign"
11317 if test "x$ac_cv_func_posix_memalign" = x""yes; then :
11318 cat >>confdefs.h <<_ACEOF
11319 #define HAVE_POSIX_MEMALIGN 1
11326 ##################################################
11327 # Check for gtk-doc.
11328 ##################################################
11330 if test "x$cross_compiling" = "xyes" ; then
11335 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11336 if test -n "$ac_tool_prefix"; then
11337 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11338 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11340 $as_echo_n "checking for $ac_word... " >&6; }
11341 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11342 $as_echo_n "(cached) " >&6
11344 case $PKG_CONFIG in
11346 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11350 for as_dir in $PATH
11353 test -z "$as_dir" && as_dir=.
11354 for ac_exec_ext in '' $ac_executable_extensions; do
11355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11356 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11367 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11368 if test -n "$PKG_CONFIG"; then
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11370 $as_echo "$PKG_CONFIG" >&6; }
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11373 $as_echo "no" >&6; }
11378 if test -z "$ac_cv_path_PKG_CONFIG"; then
11379 ac_pt_PKG_CONFIG=$PKG_CONFIG
11380 # Extract the first word of "pkg-config", so it can be a program name with args.
11381 set dummy pkg-config; ac_word=$2
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11383 $as_echo_n "checking for $ac_word... " >&6; }
11384 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11385 $as_echo_n "(cached) " >&6
11387 case $ac_pt_PKG_CONFIG in
11389 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11393 for as_dir in $PATH
11396 test -z "$as_dir" && as_dir=.
11397 for ac_exec_ext in '' $ac_executable_extensions; do
11398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11399 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11410 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11411 if test -n "$ac_pt_PKG_CONFIG"; then
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11413 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11416 $as_echo "no" >&6; }
11419 if test "x$ac_pt_PKG_CONFIG" = x; then
11422 case $cross_compiling:$ac_tool_warned in
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11426 ac_tool_warned=yes ;;
11428 PKG_CONFIG=$ac_pt_PKG_CONFIG
11431 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11435 if test -n "$PKG_CONFIG"; then
11436 _pkg_min_version=0.9.0
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11438 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11439 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11441 $as_echo "yes" >&6; }
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11444 $as_echo "no" >&6; }
11451 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
11452 set dummy gtkdoc-check; ac_word=$2
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11454 $as_echo_n "checking for $ac_word... " >&6; }
11455 if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
11456 $as_echo_n "(cached) " >&6
11458 case $GTKDOC_CHECK in
11460 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
11463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11464 for as_dir in $PATH
11467 test -z "$as_dir" && as_dir=.
11468 for ac_exec_ext in '' $ac_executable_extensions; do
11469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11470 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
11471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11481 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
11482 if test -n "$GTKDOC_CHECK"; then
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
11484 $as_echo "$GTKDOC_CHECK" >&6; }
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11487 $as_echo "no" >&6; }
11491 for ac_prog in gtkdoc-rebase
11493 # Extract the first word of "$ac_prog", so it can be a program name with args.
11494 set dummy $ac_prog; ac_word=$2
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11496 $as_echo_n "checking for $ac_word... " >&6; }
11497 if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
11498 $as_echo_n "(cached) " >&6
11500 case $GTKDOC_REBASE in
11502 ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
11505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11506 for as_dir in $PATH
11509 test -z "$as_dir" && as_dir=.
11510 for ac_exec_ext in '' $ac_executable_extensions; do
11511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11512 ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
11513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11523 GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
11524 if test -n "$GTKDOC_REBASE"; then
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
11526 $as_echo "$GTKDOC_REBASE" >&6; }
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11529 $as_echo "no" >&6; }
11533 test -n "$GTKDOC_REBASE" && break
11535 test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
11537 # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
11538 set dummy gtkdoc-mkpdf; ac_word=$2
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11540 $as_echo_n "checking for $ac_word... " >&6; }
11541 if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
11542 $as_echo_n "(cached) " >&6
11544 case $GTKDOC_MKPDF in
11546 ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
11549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11550 for as_dir in $PATH
11553 test -z "$as_dir" && as_dir=.
11554 for ac_exec_ext in '' $ac_executable_extensions; do
11555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11556 ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
11557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11567 GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
11568 if test -n "$GTKDOC_MKPDF"; then
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
11570 $as_echo "$GTKDOC_MKPDF" >&6; }
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11573 $as_echo "no" >&6; }
11579 # Check whether --with-html-dir was given.
11580 if test "${with_html_dir+set}" = set; then :
11581 withval=$with_html_dir;
11583 with_html_dir='${datadir}/gtk-doc/html'
11586 HTML_DIR="$with_html_dir"
11589 # Check whether --enable-gtk-doc was given.
11590 if test "${enable_gtk_doc+set}" = set; then :
11591 enableval=$enable_gtk_doc;
11597 if test x$enable_gtk_doc = xyes; then
11598 if test -n "$PKG_CONFIG" && \
11599 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.0\""; } >&5
11600 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.0") 2>&5
11602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11603 test $ac_status = 0; }; then
11606 as_fn_error "You need to have gtk-doc >= 1.0 installed to build $PACKAGE_NAME" "$LINENO" 5
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
11611 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
11613 $as_echo "$enable_gtk_doc" >&6; }
11615 # Check whether --enable-gtk-doc-html was given.
11616 if test "${enable_gtk_doc_html+set}" = set; then :
11617 enableval=$enable_gtk_doc_html;
11619 enable_gtk_doc_html=yes
11622 # Check whether --enable-gtk-doc-pdf was given.
11623 if test "${enable_gtk_doc_pdf+set}" = set; then :
11624 enableval=$enable_gtk_doc_pdf;
11626 enable_gtk_doc_pdf=no
11630 if test -z "$GTKDOC_MKPDF"; then
11631 enable_gtk_doc_pdf=no
11635 if test x$enable_gtk_doc = xyes; then
11636 ENABLE_GTK_DOC_TRUE=
11637 ENABLE_GTK_DOC_FALSE='#'
11639 ENABLE_GTK_DOC_TRUE='#'
11640 ENABLE_GTK_DOC_FALSE=
11643 if test x$enable_gtk_doc_html = xyes; then
11644 GTK_DOC_BUILD_HTML_TRUE=
11645 GTK_DOC_BUILD_HTML_FALSE='#'
11647 GTK_DOC_BUILD_HTML_TRUE='#'
11648 GTK_DOC_BUILD_HTML_FALSE=
11651 if test x$enable_gtk_doc_pdf = xyes; then
11652 GTK_DOC_BUILD_PDF_TRUE=
11653 GTK_DOC_BUILD_PDF_FALSE='#'
11655 GTK_DOC_BUILD_PDF_TRUE='#'
11656 GTK_DOC_BUILD_PDF_FALSE=
11659 if test -n "$LIBTOOL"; then
11660 GTK_DOC_USE_LIBTOOL_TRUE=
11661 GTK_DOC_USE_LIBTOOL_FALSE='#'
11663 GTK_DOC_USE_LIBTOOL_TRUE='#'
11664 GTK_DOC_USE_LIBTOOL_FALSE=
11667 if test -n "$GTKDOC_REBASE"; then
11668 GTK_DOC_USE_REBASE_TRUE=
11669 GTK_DOC_USE_REBASE_FALSE='#'
11671 GTK_DOC_USE_REBASE_TRUE='#'
11672 GTK_DOC_USE_REBASE_FALSE=
11679 case "x${host_cpu}" in
11683 $as_echo "#define HAVE_I386 1" >>confdefs.h
11689 $as_echo "#define HAVE_AMD64 1" >>confdefs.h
11692 xpowerpc|xppc|xpowerpc64|xppc64)
11695 $as_echo "#define HAVE_POWERPC 1" >>confdefs.h
11701 $as_echo "#define HAVE_ARM 1" >>confdefs.h
11706 if test "x$HAVE_I386" = "xyes"; then
11708 HAVE_I386_FALSE='#'
11714 if test "x$HAVE_AMD64" = "xyes"; then
11716 HAVE_AMD64_FALSE='#'
11718 HAVE_AMD64_TRUE='#'
11722 if test "x$HAVE_POWERPC" = "xyes"; then
11724 HAVE_POWERPC_FALSE='#'
11726 HAVE_POWERPC_TRUE='#'
11727 HAVE_POWERPC_FALSE=
11730 if test "x$HAVE_ARM" = "xyes"; then
11739 case "${host_os}" in
11743 $as_echo "#define HAVE_OS_WIN32 1" >>confdefs.h
11749 $as_echo "#define HAVE_OS_LINUX 1" >>confdefs.h
11754 if test "$HAVE_OS_WIN32" = "yes"; then
11755 HAVE_OS_WIN32_TRUE=
11756 HAVE_OS_WIN32_FALSE='#'
11758 HAVE_OS_WIN32_TRUE='#'
11759 HAVE_OS_WIN32_FALSE=
11762 if test "$HAVE_OS_LINUX" = "yes"; then
11763 HAVE_OS_LINUX_TRUE=
11764 HAVE_OS_LINUX_FALSE='#'
11766 HAVE_OS_LINUX_TRUE='#'
11767 HAVE_OS_LINUX_FALSE=
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
11774 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
11775 if test "${ac_cv_c_bigendian+set}" = set; then :
11776 $as_echo_n "(cached) " >&6
11778 ac_cv_c_bigendian=unknown
11779 # See if we're dealing with a universal compiler.
11780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11781 /* end confdefs.h. */
11782 #ifndef __APPLE_CC__
11783 not a universal capable compiler
11788 if ac_fn_c_try_compile "$LINENO"; then :
11790 # Check for potential -arch flags. It is not universal unless
11791 # there are at least two -arch flags with different values.
11794 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
11795 if test -n "$ac_prev"; then
11797 i?86 | x86_64 | ppc | ppc64)
11798 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
11801 ac_cv_c_bigendian=universal
11807 elif test "x$ac_word" = "x-arch"; then
11812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11813 if test $ac_cv_c_bigendian = unknown; then
11814 # See if sys/param.h defines the BYTE_ORDER macro.
11815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11816 /* end confdefs.h. */
11817 #include <sys/types.h>
11818 #include <sys/param.h>
11823 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
11824 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
11826 bogus endian macros
11833 if ac_fn_c_try_compile "$LINENO"; then :
11834 # It does; now see whether it defined to BIG_ENDIAN or not.
11835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11836 /* end confdefs.h. */
11837 #include <sys/types.h>
11838 #include <sys/param.h>
11843 #if BYTE_ORDER != BIG_ENDIAN
11851 if ac_fn_c_try_compile "$LINENO"; then :
11852 ac_cv_c_bigendian=yes
11854 ac_cv_c_bigendian=no
11856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11860 if test $ac_cv_c_bigendian = unknown; then
11861 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
11862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11863 /* end confdefs.h. */
11864 #include <limits.h>
11869 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
11870 bogus endian macros
11877 if ac_fn_c_try_compile "$LINENO"; then :
11878 # It does; now see whether it defined to _BIG_ENDIAN or not.
11879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11880 /* end confdefs.h. */
11881 #include <limits.h>
11886 #ifndef _BIG_ENDIAN
11894 if ac_fn_c_try_compile "$LINENO"; then :
11895 ac_cv_c_bigendian=yes
11897 ac_cv_c_bigendian=no
11899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11903 if test $ac_cv_c_bigendian = unknown; then
11904 # Compile a test program.
11905 if test "$cross_compiling" = yes; then :
11906 # Try to guess by grepping values from an object file.
11907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11908 /* end confdefs.h. */
11909 short int ascii_mm[] =
11910 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
11911 short int ascii_ii[] =
11912 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
11913 int use_ascii (int i) {
11914 return ascii_mm[i] + ascii_ii[i];
11916 short int ebcdic_ii[] =
11917 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
11918 short int ebcdic_mm[] =
11919 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
11920 int use_ebcdic (int i) {
11921 return ebcdic_mm[i] + ebcdic_ii[i];
11928 return use_ascii (foo) == use_ebcdic (foo);
11933 if ac_fn_c_try_compile "$LINENO"; then :
11934 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
11935 ac_cv_c_bigendian=yes
11937 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
11938 if test "$ac_cv_c_bigendian" = unknown; then
11939 ac_cv_c_bigendian=no
11941 # finding both strings is unlikely to happen, but who knows?
11942 ac_cv_c_bigendian=unknown
11946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11950 $ac_includes_default
11955 /* Are we little or big endian? From Harbison&Steele. */
11959 char c[sizeof (long int)];
11962 return u.c[sizeof (long int) - 1] == 1;
11968 if ac_fn_c_try_run "$LINENO"; then :
11969 ac_cv_c_bigendian=no
11971 ac_cv_c_bigendian=yes
11973 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11974 conftest.$ac_objext conftest.beam conftest.$ac_ext
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
11980 $as_echo "$ac_cv_c_bigendian" >&6; }
11981 case $ac_cv_c_bigendian in #(
11983 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
11989 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
11993 as_fn_error "unknown endianness
11994 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
11998 # ------ AX CREATE STDINT H -------------------------------------
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
12000 $as_echo_n "checking for stdint types... " >&6; }
12001 ac_stdint_h=`echo orc/orc-stdint.h`
12002 # try to shortcircuit - if the default include path of the compiler
12003 # can find a "stdint.h" header then we assume that all compilers can.
12004 if test "${ac_cv_header_stdint_t+set}" = set; then :
12005 $as_echo_n "(cached) " >&6
12008 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
12009 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
12010 old_CFLAGS="$CFLAGS" ; CFLAGS=""
12011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12012 /* end confdefs.h. */
12013 #include <stdint.h>
12017 int_least32_t v = 0;
12022 if ac_fn_c_try_compile "$LINENO"; then :
12023 ac_cv_stdint_result="(assuming C99 compatible system)"
12024 ac_cv_header_stdint_t="stdint.h";
12026 ac_cv_header_stdint_t=""
12028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12029 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
12031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12033 #include <stdint.h>
12037 int_least32_t v = 0;
12042 if ac_fn_c_try_compile "$LINENO"; then :
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
12044 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
12046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12048 CXXFLAGS="$old_CXXFLAGS"
12049 CPPFLAGS="$old_CPPFLAGS"
12050 CFLAGS="$old_CFLAGS"
12054 v="... $ac_cv_header_stdint_h"
12055 if test "$ac_stdint_h" = "stdint.h" ; then
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
12057 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
12058 elif test "$ac_stdint_h" = "inttypes.h" ; then
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
12060 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
12061 elif test "_$ac_cv_header_stdint_t" = "_" ; then
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
12063 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
12065 ac_cv_header_stdint="$ac_cv_header_stdint_t"
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
12067 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
12070 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
12073 inttype_headers=`echo | sed -e 's/,/ /g'`
12075 ac_cv_stdint_result="(no helpful system typedefs seen)"
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
12078 $as_echo_n "checking for stdint uintptr_t... " >&6; }
12079 if test "${ac_cv_header_stdint_x+set}" = set; then :
12080 $as_echo_n "(cached) " >&6
12083 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
12085 $as_echo "(..)" >&6; }
12086 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers
12088 unset ac_cv_type_uintptr_t
12089 unset ac_cv_type_uint64_t
12090 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
12092 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
12093 ac_cv_header_stdint_x=$i
12098 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
12100 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12106 ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
12110 $as_echo_n "checking for stdint uintptr_t... " >&6; }
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
12114 $as_echo "$ac_cv_header_stdint_x" >&6; }
12117 if test "_$ac_cv_header_stdint_x" = "_" ; then
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
12120 $as_echo_n "checking for stdint uint32_t... " >&6; }
12121 if test "${ac_cv_header_stdint_o+set}" = set; then :
12122 $as_echo_n "(cached) " >&6
12125 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
12127 $as_echo "(..)" >&6; }
12128 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers
12130 unset ac_cv_type_uint32_t
12131 unset ac_cv_type_uint64_t
12132 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
12134 if test "x$ac_cv_type_uint32_t" = x""yes; then :
12135 ac_cv_header_stdint_o=$i
12140 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
12142 if test "x$ac_cv_type_uint64_t" = x""yes; then :
12148 ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
12153 $as_echo_n "checking for stdint uint32_t... " >&6; }
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
12157 $as_echo "$ac_cv_header_stdint_o" >&6; }
12161 if test "_$ac_cv_header_stdint_x" = "_" ; then
12162 if test "_$ac_cv_header_stdint_o" = "_" ; then
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
12165 $as_echo_n "checking for stdint u_int32_t... " >&6; }
12166 if test "${ac_cv_header_stdint_u+set}" = set; then :
12167 $as_echo_n "(cached) " >&6
12170 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
12172 $as_echo "(..)" >&6; }
12173 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
12174 unset ac_cv_type_u_int32_t
12175 unset ac_cv_type_u_int64_t
12176 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
12178 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
12179 ac_cv_header_stdint_u=$i
12184 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
12186 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
12192 ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
12197 $as_echo_n "checking for stdint u_int32_t... " >&6; }
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
12201 $as_echo "$ac_cv_header_stdint_u" >&6; }
12205 if test "_$ac_cv_header_stdint_x" = "_" ; then
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
12207 $as_echo_n "checking for stdint datatype model... " >&6; }
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
12209 $as_echo "(..)" >&6; }
12211 # The cast to long int works around a bug in the HP C Compiler
12212 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12213 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12214 # This bug is HP SR number 8606223364.
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
12216 $as_echo_n "checking size of char... " >&6; }
12217 if test "${ac_cv_sizeof_char+set}" = set; then :
12218 $as_echo_n "(cached) " >&6
12220 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
12223 if test "$ac_cv_type_char" = yes; then
12224 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12225 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12226 { as_fn_set_status 77
12227 as_fn_error "cannot compute sizeof (char)
12228 See \`config.log' for more details." "$LINENO" 5; }; }
12230 ac_cv_sizeof_char=0
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
12236 $as_echo "$ac_cv_sizeof_char" >&6; }
12240 cat >>confdefs.h <<_ACEOF
12241 #define SIZEOF_CHAR $ac_cv_sizeof_char
12245 # The cast to long int works around a bug in the HP C Compiler
12246 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12247 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12248 # This bug is HP SR number 8606223364.
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
12250 $as_echo_n "checking size of short... " >&6; }
12251 if test "${ac_cv_sizeof_short+set}" = set; then :
12252 $as_echo_n "(cached) " >&6
12254 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
12257 if test "$ac_cv_type_short" = yes; then
12258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12260 { as_fn_set_status 77
12261 as_fn_error "cannot compute sizeof (short)
12262 See \`config.log' for more details." "$LINENO" 5; }; }
12264 ac_cv_sizeof_short=0
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
12270 $as_echo "$ac_cv_sizeof_short" >&6; }
12274 cat >>confdefs.h <<_ACEOF
12275 #define SIZEOF_SHORT $ac_cv_sizeof_short
12279 # The cast to long int works around a bug in the HP C Compiler
12280 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12281 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12282 # This bug is HP SR number 8606223364.
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
12284 $as_echo_n "checking size of int... " >&6; }
12285 if test "${ac_cv_sizeof_int+set}" = set; then :
12286 $as_echo_n "(cached) " >&6
12288 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
12291 if test "$ac_cv_type_int" = yes; then
12292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12294 { as_fn_set_status 77
12295 as_fn_error "cannot compute sizeof (int)
12296 See \`config.log' for more details." "$LINENO" 5; }; }
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
12304 $as_echo "$ac_cv_sizeof_int" >&6; }
12308 cat >>confdefs.h <<_ACEOF
12309 #define SIZEOF_INT $ac_cv_sizeof_int
12313 # The cast to long int works around a bug in the HP C Compiler
12314 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12315 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12316 # This bug is HP SR number 8606223364.
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12318 $as_echo_n "checking size of long... " >&6; }
12319 if test "${ac_cv_sizeof_long+set}" = set; then :
12320 $as_echo_n "(cached) " >&6
12322 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
12325 if test "$ac_cv_type_long" = yes; then
12326 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12328 { as_fn_set_status 77
12329 as_fn_error "cannot compute sizeof (long)
12330 See \`config.log' for more details." "$LINENO" 5; }; }
12332 ac_cv_sizeof_long=0
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12338 $as_echo "$ac_cv_sizeof_long" >&6; }
12342 cat >>confdefs.h <<_ACEOF
12343 #define SIZEOF_LONG $ac_cv_sizeof_long
12347 # The cast to long int works around a bug in the HP C Compiler
12348 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12349 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12350 # This bug is HP SR number 8606223364.
12351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
12352 $as_echo_n "checking size of void*... " >&6; }
12353 if test "${ac_cv_sizeof_voidp+set}" = set; then :
12354 $as_echo_n "(cached) " >&6
12356 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
12359 if test "$ac_cv_type_voidp" = yes; then
12360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12362 { as_fn_set_status 77
12363 as_fn_error "cannot compute sizeof (void*)
12364 See \`config.log' for more details." "$LINENO" 5; }; }
12366 ac_cv_sizeof_voidp=0
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
12372 $as_echo "$ac_cv_sizeof_voidp" >&6; }
12376 cat >>confdefs.h <<_ACEOF
12377 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
12381 ac_cv_char_data_model=""
12382 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
12383 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
12384 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
12385 ac_cv_long_data_model=""
12386 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
12387 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
12388 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
12390 $as_echo_n "checking data model... " >&6; }
12391 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
12392 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
12393 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
12394 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
12395 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
12396 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
12397 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
12398 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
12399 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
12400 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
12401 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
12402 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
12403 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
12404 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
12405 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
12406 222/*|333/*|444/*|666/*|888/*) :
12407 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
12408 *) ac_cv_data_model="none" ; n="very unusual model" ;;
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
12411 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
12415 if test "_$ac_cv_header_stdint_x" != "_" ; then
12416 ac_cv_header_stdint="$ac_cv_header_stdint_x"
12417 elif test "_$ac_cv_header_stdint_o" != "_" ; then
12418 ac_cv_header_stdint="$ac_cv_header_stdint_o"
12419 elif test "_$ac_cv_header_stdint_u" != "_" ; then
12420 ac_cv_header_stdint="$ac_cv_header_stdint_u"
12422 ac_cv_header_stdint="stddef.h"
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
12426 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
12428 $as_echo "($ac_cv_header_stdint)" >&6; }
12429 unset ac_cv_type_int_least32_t
12430 unset ac_cv_type_int_fast32_t
12431 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
12433 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
12437 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
12439 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
12443 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
12445 if test "x$ac_cv_type_intmax_t" = x""yes; then :
12450 fi # shortcircut to system "stdint.h"
12451 # ------------------ PREPARE VARIABLES ------------------------------
12452 if test "$GCC" = "yes" ; then
12453 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
12455 ac_cv_stdint_message="using $CC"
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
12459 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
12461 # ----------------- DONE inttypes.h checks START header -------------
12462 ac_config_commands="$ac_config_commands $ac_stdint_h"
12469 for ac_header in $ac_header_list
12471 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12472 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
12474 eval as_val=\$$as_ac_Header
12475 if test "x$as_val" = x""yes; then :
12476 cat >>confdefs.h <<_ACEOF
12477 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12491 for ac_func in getpagesize
12493 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
12494 if test "x$ac_cv_func_getpagesize" = x""yes; then :
12495 cat >>confdefs.h <<_ACEOF
12496 #define HAVE_GETPAGESIZE 1
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
12503 $as_echo_n "checking for working mmap... " >&6; }
12504 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
12505 $as_echo_n "(cached) " >&6
12507 if test "$cross_compiling" = yes; then :
12508 ac_cv_func_mmap_fixed_mapped=no
12510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12511 /* end confdefs.h. */
12512 $ac_includes_default
12513 /* malloc might have been renamed as rpl_malloc. */
12516 /* Thanks to Mike Haertel and Jim Avera for this test.
12517 Here is a matrix of mmap possibilities:
12518 mmap private not fixed
12519 mmap private fixed at somewhere currently unmapped
12520 mmap private fixed at somewhere already mapped
12521 mmap shared not fixed
12522 mmap shared fixed at somewhere currently unmapped
12523 mmap shared fixed at somewhere already mapped
12524 For private mappings, we should verify that changes cannot be read()
12525 back from the file, nor mmap's back from the file at a different
12526 address. (There have been systems where private was not correctly
12527 implemented like the infamous i386 svr4.0, and systems where the
12528 VM page cache was not coherent with the file system buffer cache
12529 like early versions of FreeBSD and possibly contemporary NetBSD.)
12530 For shared mappings, we should conversely verify that changes get
12531 propagated back to all the places they're supposed to be.
12533 Grep wants private fixed already mapped.
12534 The main things grep needs to know about mmap are:
12535 * does it exist and is it safe to write into the mmap'd area
12536 * how to use it (BSD variants) */
12539 #include <sys/mman.h>
12541 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
12545 /* This mess was copied from the GNU getpagesize.h. */
12546 #ifndef HAVE_GETPAGESIZE
12547 # ifdef _SC_PAGESIZE
12548 # define getpagesize() sysconf(_SC_PAGESIZE)
12549 # else /* no _SC_PAGESIZE */
12550 # ifdef HAVE_SYS_PARAM_H
12551 # include <sys/param.h>
12552 # ifdef EXEC_PAGESIZE
12553 # define getpagesize() EXEC_PAGESIZE
12554 # else /* no EXEC_PAGESIZE */
12556 # define getpagesize() NBPG * CLSIZE
12559 # endif /* no CLSIZE */
12560 # else /* no NBPG */
12562 # define getpagesize() NBPC
12563 # else /* no NBPC */
12565 # define getpagesize() PAGESIZE
12566 # endif /* PAGESIZE */
12567 # endif /* no NBPC */
12568 # endif /* no NBPG */
12569 # endif /* no EXEC_PAGESIZE */
12570 # else /* no HAVE_SYS_PARAM_H */
12571 # define getpagesize() 8192 /* punt totally */
12572 # endif /* no HAVE_SYS_PARAM_H */
12573 # endif /* no _SC_PAGESIZE */
12575 #endif /* no HAVE_GETPAGESIZE */
12580 char *data, *data2, *data3;
12581 const char *cdata2;
12585 pagesize = getpagesize ();
12587 /* First, make a file with some known garbage in it. */
12588 data = (char *) malloc (pagesize);
12591 for (i = 0; i < pagesize; ++i)
12592 *(data + i) = rand ();
12594 fd = creat ("conftest.mmap", 0600);
12597 if (write (fd, data, pagesize) != pagesize)
12601 /* Next, check that the tail of a page is zero-filled. File must have
12602 non-zero length, otherwise we risk SIGBUS for entire page. */
12603 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
12607 if (write (fd2, cdata2, 1) != 1)
12609 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
12610 if (data2 == MAP_FAILED)
12612 for (i = 0; i < pagesize; ++i)
12616 if (munmap (data2, pagesize))
12619 /* Next, try to mmap the file at a fixed address which already has
12620 something else allocated at it. If we can, also make sure that
12621 we see the same garbage. */
12622 fd = open ("conftest.mmap", O_RDWR);
12625 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
12626 MAP_PRIVATE | MAP_FIXED, fd, 0L))
12628 for (i = 0; i < pagesize; ++i)
12629 if (*(data + i) != *(data2 + i))
12632 /* Finally, make sure that changes to the mapped area do not
12633 percolate back to the file as seen by read(). (This is a bug on
12634 some variants of i386 svr4.0.) */
12635 for (i = 0; i < pagesize; ++i)
12636 *(data2 + i) = *(data2 + i) + 1;
12637 data3 = (char *) malloc (pagesize);
12640 if (read (fd, data3, pagesize) != pagesize)
12642 for (i = 0; i < pagesize; ++i)
12643 if (*(data + i) != *(data3 + i))
12649 if ac_fn_c_try_run "$LINENO"; then :
12650 ac_cv_func_mmap_fixed_mapped=yes
12652 ac_cv_func_mmap_fixed_mapped=no
12654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12655 conftest.$ac_objext conftest.beam conftest.$ac_ext
12659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
12660 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
12661 if test $ac_cv_func_mmap_fixed_mapped = yes; then
12663 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
12666 rm -f conftest.mmap conftest.txt
12669 for ac_header in inttypes.h
12671 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
12672 if test "x$ac_cv_header_inttypes_h" = x""yes; then :
12673 cat >>confdefs.h <<_ACEOF
12674 #define HAVE_INTTYPES_H 1
12681 for ac_header in sys/time.h
12683 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
12684 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
12685 cat >>confdefs.h <<_ACEOF
12686 #define HAVE_SYS_TIME_H 1
12693 for ac_header in unistd.h
12695 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
12696 if test "x$ac_cv_header_unistd_h" = x""yes; then :
12697 cat >>confdefs.h <<_ACEOF
12698 #define HAVE_UNISTD_H 1
12706 for ac_func in gettimeofday
12708 ac_fn_c_check_func "$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
12709 if test "x$ac_cv_func_gettimeofday" = x""yes; then :
12710 cat >>confdefs.h <<_ACEOF
12711 #define HAVE_GETTIMEOFDAY 1
12717 for ac_func in sigaction
12719 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
12720 if test "x$ac_cv_func_sigaction" = x""yes; then :
12721 cat >>confdefs.h <<_ACEOF
12722 #define HAVE_SIGACTION 1
12728 for ac_func in sigsetjmp
12730 ac_fn_c_check_func "$LINENO" "sigsetjmp" "ac_cv_func_sigsetjmp"
12731 if test "x$ac_cv_func_sigsetjmp" = x""yes; then :
12732 cat >>confdefs.h <<_ACEOF
12733 #define HAVE_SIGSETJMP 1
12742 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
12743 # These system don't have libm, or don't need it
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
12747 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
12748 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
12749 $as_echo_n "(cached) " >&6
12751 ac_check_lib_save_LIBS=$LIBS
12753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h. */
12756 /* Override any GCC internal prototype to avoid an error.
12757 Use char because int might match the return type of a GCC
12758 builtin and then its argument prototype would still apply. */
12762 char _mwvalidcheckl ();
12766 return _mwvalidcheckl ();
12771 if ac_fn_c_try_link "$LINENO"; then :
12772 ac_cv_lib_mw__mwvalidcheckl=yes
12774 ac_cv_lib_mw__mwvalidcheckl=no
12776 rm -f core conftest.err conftest.$ac_objext \
12777 conftest$ac_exeext conftest.$ac_ext
12778 LIBS=$ac_check_lib_save_LIBS
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
12781 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
12782 if test "x$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then :
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
12787 $as_echo_n "checking for cos in -lm... " >&6; }
12788 if test "${ac_cv_lib_m_cos+set}" = set; then :
12789 $as_echo_n "(cached) " >&6
12791 ac_check_lib_save_LIBS=$LIBS
12793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12794 /* end confdefs.h. */
12796 /* Override any GCC internal prototype to avoid an error.
12797 Use char because int might match the return type of a GCC
12798 builtin and then its argument prototype would still apply. */
12811 if ac_fn_c_try_link "$LINENO"; then :
12812 ac_cv_lib_m_cos=yes
12816 rm -f core conftest.err conftest.$ac_objext \
12817 conftest$ac_exeext conftest.$ac_ext
12818 LIBS=$ac_check_lib_save_LIBS
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
12821 $as_echo "$ac_cv_lib_m_cos" >&6; }
12822 if test "x$ac_cv_lib_m_cos" = x""yes; then :
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
12829 $as_echo_n "checking for cos in -lm... " >&6; }
12830 if test "${ac_cv_lib_m_cos+set}" = set; then :
12831 $as_echo_n "(cached) " >&6
12833 ac_check_lib_save_LIBS=$LIBS
12835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12836 /* end confdefs.h. */
12838 /* Override any GCC internal prototype to avoid an error.
12839 Use char because int might match the return type of a GCC
12840 builtin and then its argument prototype would still apply. */
12853 if ac_fn_c_try_link "$LINENO"; then :
12854 ac_cv_lib_m_cos=yes
12858 rm -f core conftest.err conftest.$ac_objext \
12859 conftest$ac_exeext conftest.$ac_ext
12860 LIBS=$ac_check_lib_save_LIBS
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
12863 $as_echo "$ac_cv_lib_m_cos" >&6; }
12864 if test "x$ac_cv_lib_m_cos" = x""yes; then :
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
12875 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
12876 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
12877 $as_echo_n "(cached) " >&6
12879 ac_check_lib_save_LIBS=$LIBS
12881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12882 /* end confdefs.h. */
12884 /* Override any GCC internal prototype to avoid an error.
12885 Use char because int might match the return type of a GCC
12886 builtin and then its argument prototype would still apply. */
12890 char clock_gettime ();
12894 return clock_gettime ();
12899 if ac_fn_c_try_link "$LINENO"; then :
12900 ac_cv_lib_rt_clock_gettime=yes
12902 ac_cv_lib_rt_clock_gettime=no
12904 rm -f core conftest.err conftest.$ac_objext \
12905 conftest$ac_exeext conftest.$ac_ext
12906 LIBS=$ac_check_lib_save_LIBS
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
12909 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
12910 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
12912 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clocks" >&5
12921 $as_echo_n "checking for monotonic clocks... " >&6; }
12922 if test "${orc_cv_monotonic_clock+set}" = set; then :
12923 $as_echo_n "(cached) " >&6
12925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h. */
12929 #include <unistd.h>
12931 #if !(defined(_POSIX_MONOTONIC_CLOCK) && _POSIX_MONOTONIC_CLOCK >= 0 && defined(CLOCK_MONOTONIC))
12932 #error No monotonic clock
12938 if ac_fn_c_try_compile "$LINENO"; then :
12939 orc_cv_monotonic_clock=yes
12941 orc_cv_monotonic_clock=no
12943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $orc_cv_monotonic_clock" >&5
12946 $as_echo "$orc_cv_monotonic_clock" >&6; }
12947 if test "$orc_cv_monotonic_clock" = "yes"; then
12949 $as_echo "#define HAVE_MONOTONIC_CLOCK 1" >>confdefs.h
12953 for ac_header in valgrind/valgrind.h
12955 ac_fn_c_check_header_mongrel "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
12956 if test "x$ac_cv_header_valgrind_valgrind_h" = x""yes; then :
12957 cat >>confdefs.h <<_ACEOF
12958 #define HAVE_VALGRIND_VALGRIND_H 1
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
12968 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
12970 save_CFLAGS="$CFLAGS"
12971 CFLAGS="$CFLAGS -Wall"
12973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12974 /* end confdefs.h. */
12984 if ac_fn_c_try_compile "$LINENO"; then :
12989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12990 CFLAGS="$save_CFLAGS"
12992 if test "X$flag_ok" = Xyes ; then
12993 ORC_CFLAGS="$ORC_CFLAGS -Wall"
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
13000 $as_echo "$flag_ok" >&6; }
13002 if test "x$ORC_CVS" = "xyes"
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
13006 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
13008 save_CFLAGS="$CFLAGS"
13009 CFLAGS="$CFLAGS -Werror"
13011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13022 if ac_fn_c_try_compile "$LINENO"; then :
13027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13028 CFLAGS="$save_CFLAGS"
13030 if test "X$flag_ok" = Xyes ; then
13031 ORC_CFLAGS="$ORC_CFLAGS -Werror"
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
13038 $as_echo "$flag_ok" >&6; }
13042 case "${host_os}" in
13043 nobody_is_using_this_currently)
13045 $as_echo "#define HAVE_CODEMEM_MALLOC 1" >>confdefs.h
13048 mingw*|pw32*|cygwin*)
13050 $as_echo "#define HAVE_CODEMEM_VIRTUALALLOC 1" >>confdefs.h
13053 linux*|darwin*|solaris*|netbsd*|freebsd*|openbsd*|kfreebsd*|dragonflybsd*|gnu*)
13055 $as_echo "#define HAVE_CODEMEM_MMAP 1" >>confdefs.h
13059 as_fn_error "no code allocation backend" "$LINENO" 5
13063 case "${host_os}" in
13064 mingw*|pw32*|cygwin*)
13066 $as_echo "#define HAVE_THREAD_WIN32 1" >>confdefs.h
13071 $as_echo "#define HAVE_THREAD_PTHREAD 1" >>confdefs.h
13076 # Check whether --enable-backend was given.
13077 if test "${enable_backend+set}" = set; then :
13078 enableval=$enable_backend;
13083 case "${enable_backend}" in
13085 ENABLE_BACKEND_SSE=yes
13087 $as_echo "#define ENABLE_BACKEND_SSE 1" >>confdefs.h
13091 ENABLE_BACKEND_MMX=yes
13093 $as_echo "#define ENABLE_BACKEND_MMX 1" >>confdefs.h
13097 ENABLE_BACKEND_ALTIVEC=yes
13099 $as_echo "#define ENABLE_BACKEND_ALTIVEC 1" >>confdefs.h
13103 ENABLE_BACKEND_NEON=yes
13105 $as_echo "#define ENABLE_BACKEND_NEON 1" >>confdefs.h
13109 ENABLE_BACKEND_ARM=yes
13111 $as_echo "#define ENABLE_BACKEND_ARM 1" >>confdefs.h
13115 ENABLE_BACKEND_C64X=yes
13117 $as_echo "#define ENABLE_BACKEND_C64X 1" >>confdefs.h
13121 ENABLE_BACKEND_SSE=yes
13123 $as_echo "#define ENABLE_BACKEND_SSE 1" >>confdefs.h
13125 ENABLE_BACKEND_MMX=yes
13127 $as_echo "#define ENABLE_BACKEND_MMX 1" >>confdefs.h
13129 ENABLE_BACKEND_ALTIVEC=yes
13131 $as_echo "#define ENABLE_BACKEND_ALTIVEC 1" >>confdefs.h
13133 ENABLE_BACKEND_NEON=yes
13135 $as_echo "#define ENABLE_BACKEND_NEON 1" >>confdefs.h
13137 ENABLE_BACKEND_ARM=yes
13139 $as_echo "#define ENABLE_BACKEND_ARM 1" >>confdefs.h
13141 ENABLE_BACKEND_C64X=yes
13143 $as_echo "#define ENABLE_BACKEND_C64X 1" >>confdefs.h
13147 if test "x$ENABLE_BACKEND_SSE" = "xyes"; then
13148 ENABLE_BACKEND_SSE_TRUE=
13149 ENABLE_BACKEND_SSE_FALSE='#'
13151 ENABLE_BACKEND_SSE_TRUE='#'
13152 ENABLE_BACKEND_SSE_FALSE=
13155 if test "x$ENABLE_BACKEND_MMX" = "xyes"; then
13156 ENABLE_BACKEND_MMX_TRUE=
13157 ENABLE_BACKEND_MMX_FALSE='#'
13159 ENABLE_BACKEND_MMX_TRUE='#'
13160 ENABLE_BACKEND_MMX_FALSE=
13163 if test "x$ENABLE_BACKEND_ALTIVEC" = "xyes"; then
13164 ENABLE_BACKEND_ALTIVEC_TRUE=
13165 ENABLE_BACKEND_ALTIVEC_FALSE='#'
13167 ENABLE_BACKEND_ALTIVEC_TRUE='#'
13168 ENABLE_BACKEND_ALTIVEC_FALSE=
13171 if test "x$ENABLE_BACKEND_NEON" = "xyes"; then
13172 ENABLE_BACKEND_NEON_TRUE=
13173 ENABLE_BACKEND_NEON_FALSE='#'
13175 ENABLE_BACKEND_NEON_TRUE='#'
13176 ENABLE_BACKEND_NEON_FALSE=
13179 if test "x$ENABLE_BACKEND_ARM" = "xyes"; then
13180 ENABLE_BACKEND_ARM_TRUE=
13181 ENABLE_BACKEND_ARM_FALSE='#'
13183 ENABLE_BACKEND_ARM_TRUE='#'
13184 ENABLE_BACKEND_ARM_FALSE=
13187 if test "x$ENABLE_BACKEND_C64X" = "xyes"; then
13188 ENABLE_BACKEND_C64X_TRUE=
13189 ENABLE_BACKEND_C64X_FALSE='#'
13191 ENABLE_BACKEND_C64X_TRUE='#'
13192 ENABLE_BACKEND_C64X_FALSE=
13198 $as_echo "#define ORC_EXPORTS 1" >>confdefs.h
13201 ORC_CFLAGS="$ORC_CFLAGS -I\$(top_srcdir)"
13204 ORC_LIBS="\$(top_builddir)/orc/liborc-$ORC_MAJORMINOR.la $LIBM $LIBRT"
13207 #CFLAGS=`echo $CFLAGS | sed s/O2/O0/`
13209 pkgconfigdir="\$(libdir)/pkgconfig"
13213 ac_config_files="$ac_config_files Makefile doc/Makefile doc/version.entities orc/Makefile orc-test/Makefile testsuite/Makefile testsuite/orcc/Makefile testsuite/benchmorc/Makefile examples/Makefile tools/Makefile orc-uninstalled.pc orc.pc"
13215 cat >confcache <<\_ACEOF
13216 # This file is a shell script that caches the results of configure
13217 # tests run on this system so they can be shared between configure
13218 # scripts and configure runs, see configure's option --config-cache.
13219 # It is not useful on other systems. If it contains results you don't
13220 # want to keep, you may remove or edit it.
13222 # config.status only pays attention to the cache file if you give it
13223 # the --recheck option to rerun configure.
13225 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13226 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13227 # following values.
13231 # The following way of writing the cache mishandles newlines in values,
13232 # but we know of no workaround that is simple, portable, and efficient.
13233 # So, we kill variables containing newlines.
13234 # Ultrix sh set writes to stderr and can't be redirected directly,
13235 # and sets the high bit in the cache file unless we assign to the vars.
13237 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13238 eval ac_val=\$$ac_var
13242 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13243 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13246 _ | IFS | as_nl) ;; #(
13247 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13248 *) { eval $ac_var=; unset $ac_var;} ;;
13254 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13255 *${as_nl}ac_space=\ *)
13256 # `set' does not quote correctly, so add quotes: double-quote
13257 # substitution turns \\\\ into \\, and sed turns \\ into \.
13260 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13263 # `set' quotes correctly as required by POSIX, so do not add quotes.
13264 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13273 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13275 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13277 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13278 if test -w "$cache_file"; then
13279 test "x$cache_file" != "x/dev/null" &&
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13281 $as_echo "$as_me: updating cache $cache_file" >&6;}
13282 cat confcache >$cache_file
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13285 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13290 test "x$prefix" = xNONE && prefix=$ac_default_prefix
13291 # Let make expand exec_prefix.
13292 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13294 DEFS=-DHAVE_CONFIG_H
13298 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13299 # 1. Remove the extension, and $U if already installed.
13300 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13301 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13302 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13303 # will be set to the directory where LIBOBJS objects are built.
13304 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13305 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13307 LIBOBJS=$ac_libobjs
13309 LTLIBOBJS=$ac_ltlibobjs
13312 if test -n "$EXEEXT"; then
13314 am__EXEEXT_FALSE='#'
13316 am__EXEEXT_TRUE='#'
13320 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13321 as_fn_error "conditional \"AMDEP\" was never defined.
13322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13324 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13325 as_fn_error "conditional \"am__fastdepCC\" was never defined.
13326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13328 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
13329 as_fn_error "conditional \"am__fastdepCCAS\" was never defined.
13330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13332 if test -z "${CROSS_COMPILING_TRUE}" && test -z "${CROSS_COMPILING_FALSE}"; then
13333 as_fn_error "conditional \"CROSS_COMPILING\" was never defined.
13334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13336 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13337 as_fn_error "conditional \"ENABLE_GTK_DOC\" was never defined.
13338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13340 if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13341 as_fn_error "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13344 if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13345 as_fn_error "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13348 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13349 as_fn_error "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13352 if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13353 as_fn_error "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13356 if test -z "${HAVE_I386_TRUE}" && test -z "${HAVE_I386_FALSE}"; then
13357 as_fn_error "conditional \"HAVE_I386\" was never defined.
13358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13360 if test -z "${HAVE_AMD64_TRUE}" && test -z "${HAVE_AMD64_FALSE}"; then
13361 as_fn_error "conditional \"HAVE_AMD64\" was never defined.
13362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13364 if test -z "${HAVE_POWERPC_TRUE}" && test -z "${HAVE_POWERPC_FALSE}"; then
13365 as_fn_error "conditional \"HAVE_POWERPC\" was never defined.
13366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13368 if test -z "${HAVE_ARM_TRUE}" && test -z "${HAVE_ARM_FALSE}"; then
13369 as_fn_error "conditional \"HAVE_ARM\" was never defined.
13370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13372 if test -z "${HAVE_OS_WIN32_TRUE}" && test -z "${HAVE_OS_WIN32_FALSE}"; then
13373 as_fn_error "conditional \"HAVE_OS_WIN32\" was never defined.
13374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13376 if test -z "${HAVE_OS_LINUX_TRUE}" && test -z "${HAVE_OS_LINUX_FALSE}"; then
13377 as_fn_error "conditional \"HAVE_OS_LINUX\" was never defined.
13378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13381 if test -z "${ENABLE_BACKEND_SSE_TRUE}" && test -z "${ENABLE_BACKEND_SSE_FALSE}"; then
13382 as_fn_error "conditional \"ENABLE_BACKEND_SSE\" was never defined.
13383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13385 if test -z "${ENABLE_BACKEND_MMX_TRUE}" && test -z "${ENABLE_BACKEND_MMX_FALSE}"; then
13386 as_fn_error "conditional \"ENABLE_BACKEND_MMX\" was never defined.
13387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13389 if test -z "${ENABLE_BACKEND_ALTIVEC_TRUE}" && test -z "${ENABLE_BACKEND_ALTIVEC_FALSE}"; then
13390 as_fn_error "conditional \"ENABLE_BACKEND_ALTIVEC\" was never defined.
13391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13393 if test -z "${ENABLE_BACKEND_NEON_TRUE}" && test -z "${ENABLE_BACKEND_NEON_FALSE}"; then
13394 as_fn_error "conditional \"ENABLE_BACKEND_NEON\" was never defined.
13395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13397 if test -z "${ENABLE_BACKEND_ARM_TRUE}" && test -z "${ENABLE_BACKEND_ARM_FALSE}"; then
13398 as_fn_error "conditional \"ENABLE_BACKEND_ARM\" was never defined.
13399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13401 if test -z "${ENABLE_BACKEND_C64X_TRUE}" && test -z "${ENABLE_BACKEND_C64X_FALSE}"; then
13402 as_fn_error "conditional \"ENABLE_BACKEND_C64X\" was never defined.
13403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
13406 : ${CONFIG_STATUS=./config.status}
13408 ac_clean_files_save=$ac_clean_files
13409 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13411 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13413 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13415 # Generated by $as_me.
13416 # Run this file to recreate the current configuration.
13417 # Compiler output produced by configure, useful for debugging
13418 # configure, is in config.log if it exists.
13421 ac_cs_recheck=false
13424 SHELL=\${CONFIG_SHELL-$SHELL}
13427 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13428 ## -------------------- ##
13429 ## M4sh Initialization. ##
13430 ## -------------------- ##
13432 # Be more Bourne compatible
13433 DUALCASE=1; export DUALCASE # for MKS sh
13434 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13437 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13438 # is contrary to our usage. Disable this feature.
13439 alias -g '${1+"$@"}'='"$@"'
13440 setopt NO_GLOB_SUBST
13442 case `(set -o) 2>/dev/null` in #(
13454 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13455 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13456 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13457 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13458 # Prefer a ksh shell builtin over an external printf program on Solaris,
13459 # but without wasting forks for bash or zsh.
13460 if test -z "$BASH_VERSION$ZSH_VERSION" \
13461 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13462 as_echo='print -r --'
13463 as_echo_n='print -rn --'
13464 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13465 as_echo='printf %s\n'
13466 as_echo_n='printf %s'
13468 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13469 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13470 as_echo_n='/usr/ucb/echo -n'
13472 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13473 as_echo_n_body='eval
13477 expr "X$arg" : "X\\(.*\\)$as_nl";
13478 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13480 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13482 export as_echo_n_body
13483 as_echo_n='sh -c $as_echo_n_body as_echo'
13485 export as_echo_body
13486 as_echo='sh -c $as_echo_body as_echo'
13489 # The user is always right.
13490 if test "${PATH_SEPARATOR+set}" != set; then
13492 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13493 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13500 # We need space, tab and new line, in precisely that order. Quoting is
13501 # there to prevent editors from complaining about space-tab.
13502 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13503 # splitting by setting IFS to empty value.)
13506 # Find who we are. Look in the path if we contain no directory separator.
13508 *[\\/]* ) as_myself=$0 ;;
13509 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13510 for as_dir in $PATH
13513 test -z "$as_dir" && as_dir=.
13514 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13520 # We did not find ourselves, most probably we were run as `sh COMMAND'
13521 # in which case we are not to be found in the path.
13522 if test "x$as_myself" = x; then
13525 if test ! -f "$as_myself"; then
13526 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13530 # Unset variables that we do not need and which cause bugs (e.g. in
13531 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13532 # suppresses any "Segmentation fault" message there. '((' could
13533 # trigger a bug in pdksh 5.2.14.
13534 for as_var in BASH_ENV ENV MAIL MAILPATH
13535 do eval test x\${$as_var+set} = xset \
13536 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13549 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13552 # as_fn_error ERROR [LINENO LOG_FD]
13553 # ---------------------------------
13554 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13555 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13556 # script with status $?, using 1 if that was 0.
13559 as_status=$?; test $as_status -eq 0 && as_status=1
13561 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13562 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13564 $as_echo "$as_me: error: $1" >&2
13565 as_fn_exit $as_status
13569 # as_fn_set_status STATUS
13570 # -----------------------
13571 # Set $? to STATUS, without forking.
13572 as_fn_set_status ()
13575 } # as_fn_set_status
13577 # as_fn_exit STATUS
13578 # -----------------
13579 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13583 as_fn_set_status $1
13589 # Portably unset VAR.
13592 { eval $1=; unset $1;}
13594 as_unset=as_fn_unset
13595 # as_fn_append VAR VALUE
13596 # ----------------------
13597 # Append the text in VALUE to the end of the definition contained in VAR. Take
13598 # advantage of any shell optimizations that allow amortized linear growth over
13599 # repeated appends, instead of the typical quadratic growth present in naive
13601 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13602 eval 'as_fn_append ()
13613 # as_fn_arith ARG...
13614 # ------------------
13615 # Perform arithmetic evaluation on the ARGs, and store the result in the
13616 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13617 # must be portable across $(()) and expr.
13618 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13619 eval 'as_fn_arith ()
13626 as_val=`expr "$@" || test $? -eq 1`
13631 if expr a : '\(a\)' >/dev/null 2>&1 &&
13632 test "X`expr 00001 : '.*\(...\)'`" = X001; then
13638 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13639 as_basename=basename
13644 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13650 as_me=`$as_basename -- "$0" ||
13651 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13652 X"$0" : 'X\(//\)$' \| \
13653 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13655 sed '/^.*\/\([^/][^/]*\)\/*$/{
13669 # Avoid depending upon Character Ranges.
13670 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13671 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13672 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13673 as_cr_digits='0123456789'
13674 as_cr_alnum=$as_cr_Letters$as_cr_digits
13676 ECHO_C= ECHO_N= ECHO_T=
13677 case `echo -n x` in #(((((
13679 case `echo 'xy\c'` in
13680 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
13682 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13689 rm -f conf$$ conf$$.exe conf$$.file
13690 if test -d conf$$.dir; then
13691 rm -f conf$$.dir/conf$$.file
13694 mkdir conf$$.dir 2>/dev/null
13696 if (echo >conf$$.file) 2>/dev/null; then
13697 if ln -s conf$$.file conf$$ 2>/dev/null; then
13699 # ... but there are two gotchas:
13700 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13701 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13702 # In both cases, we have to default to `cp -p'.
13703 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13705 elif ln conf$$.file conf$$ 2>/dev/null; then
13713 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13714 rmdir conf$$.dir 2>/dev/null
13719 # Create "$as_dir" as a directory, including parents if necessary.
13724 -*) as_dir=./$as_dir;;
13726 test -d "$as_dir" || eval $as_mkdir_p || {
13730 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13731 *) as_qdir=$as_dir;;
13733 as_dirs="'$as_qdir' $as_dirs"
13734 as_dir=`$as_dirname -- "$as_dir" ||
13735 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13736 X"$as_dir" : 'X\(//\)[^/]' \| \
13737 X"$as_dir" : 'X\(//\)$' \| \
13738 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13739 $as_echo X"$as_dir" |
13740 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13744 /^X\(\/\/\)[^/].*/{
13757 test -d "$as_dir" && break
13759 test -z "$as_dirs" || eval "mkdir $as_dirs"
13760 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
13764 if mkdir -p . 2>/dev/null; then
13765 as_mkdir_p='mkdir -p "$as_dir"'
13767 test -d ./-p && rmdir ./-p
13771 if test -x / >/dev/null 2>&1; then
13772 as_test_x='test -x'
13774 if ls -dL / >/dev/null 2>&1; then
13781 if test -d "$1"; then
13787 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13788 ???[sx]*):;;*)false;;esac;fi
13792 as_executable_p=$as_test_x
13794 # Sed expression to map a string onto a valid CPP name.
13795 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13797 # Sed expression to map a string onto a valid variable name.
13798 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13802 ## ----------------------------------- ##
13803 ## Main body of $CONFIG_STATUS script. ##
13804 ## ----------------------------------- ##
13806 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13809 # Save the log message, to keep $0 and so on meaningful, and to
13810 # report actual input values of CONFIG_FILES etc. instead of their
13811 # values after options handling.
13813 This file was extended by orc $as_me 0.4.11, which was
13814 generated by GNU Autoconf 2.65. Invocation command line was
13816 CONFIG_FILES = $CONFIG_FILES
13817 CONFIG_HEADERS = $CONFIG_HEADERS
13818 CONFIG_LINKS = $CONFIG_LINKS
13819 CONFIG_COMMANDS = $CONFIG_COMMANDS
13822 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13827 case $ac_config_files in *"
13828 "*) set x $ac_config_files; shift; ac_config_files=$*;;
13831 case $ac_config_headers in *"
13832 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13837 # Files that config.status was made for.
13838 config_files="$ac_config_files"
13839 config_headers="$ac_config_headers"
13840 config_commands="$ac_config_commands"
13844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13846 \`$as_me' instantiates files and other configuration actions
13847 from templates according to the current configuration. Unless the files
13848 and actions are specified as TAGs, all are instantiated by default.
13850 Usage: $0 [OPTION]... [TAG]...
13852 -h, --help print this help, then exit
13853 -V, --version print version number and configuration settings, then exit
13854 --config print configuration, then exit
13855 -q, --quiet, --silent
13856 do not print progress messages
13857 -d, --debug don't remove temporary files
13858 --recheck update $as_me by reconfiguring in the same conditions
13859 --file=FILE[:TEMPLATE]
13860 instantiate the configuration file FILE
13861 --header=FILE[:TEMPLATE]
13862 instantiate the configuration header FILE
13864 Configuration files:
13867 Configuration headers:
13870 Configuration commands:
13873 Report bugs to the package provider."
13876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13877 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13879 orc config.status 0.4.11
13880 configured by $0, generated by GNU Autoconf 2.65,
13881 with options \\"\$ac_cs_config\\"
13883 Copyright (C) 2009 Free Software Foundation, Inc.
13884 This config.status script is free software; the Free Software Foundation
13885 gives unlimited permission to copy, distribute and modify it."
13892 test -n "\$AWK" || AWK=awk
13895 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13896 # The default lists apply if the user does not specify any file.
13902 ac_option=`expr "X$1" : 'X\([^=]*\)='`
13903 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13914 # Handling of the options.
13915 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13917 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13918 $as_echo "$ac_cs_version"; exit ;;
13919 --config | --confi | --conf | --con | --co | --c )
13920 $as_echo "$ac_cs_config"; exit ;;
13921 --debug | --debu | --deb | --de | --d | -d )
13923 --file | --fil | --fi | --f )
13926 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13928 as_fn_append CONFIG_FILES " '$ac_optarg'"
13929 ac_need_defaults=false;;
13930 --header | --heade | --head | --hea )
13933 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13935 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13936 ac_need_defaults=false;;
13938 # Conflict between --help and --header
13939 as_fn_error "ambiguous option: \`$1'
13940 Try \`$0 --help' for more information.";;
13941 --help | --hel | -h )
13942 $as_echo "$ac_cs_usage"; exit ;;
13943 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13944 | -silent | --silent | --silen | --sile | --sil | --si | --s)
13947 # This is an error.
13948 -*) as_fn_error "unrecognized option: \`$1'
13949 Try \`$0 --help' for more information." ;;
13951 *) as_fn_append ac_config_targets " $1"
13952 ac_need_defaults=false ;;
13958 ac_configure_extra_args=
13960 if $ac_cs_silent; then
13962 ac_configure_extra_args="$ac_configure_extra_args --silent"
13966 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13967 if \$ac_cs_recheck; then
13968 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13970 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13971 CONFIG_SHELL='$SHELL'
13972 export CONFIG_SHELL
13977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13981 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13982 ## Running $as_me. ##
13988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13992 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13995 # The HP-UX ksh and POSIX shell print the target directory to stdout
13996 # if CDPATH is set.
13997 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13999 sed_quote_subst='$sed_quote_subst'
14000 double_quote_subst='$double_quote_subst'
14001 delay_variable_subst='$delay_variable_subst'
14002 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
14003 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14004 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14005 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14006 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14007 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14008 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14009 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14010 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14011 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14012 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14013 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14014 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14015 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14016 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14017 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14018 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14019 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14020 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14021 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14022 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14023 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14024 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14025 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14026 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14027 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14028 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14029 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14030 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14031 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14032 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14033 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14034 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14035 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14036 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14037 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14038 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14039 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14040 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14041 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14042 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14043 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14044 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14045 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14046 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14047 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14048 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"`'
14049 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"`'
14050 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14051 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14052 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14053 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14054 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14055 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14056 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14057 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14058 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14059 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14060 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14061 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14062 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14063 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14064 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14065 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14066 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14067 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14068 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14069 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14070 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14071 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14072 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14073 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14074 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14075 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14076 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14077 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14078 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14079 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14080 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14081 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14082 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14083 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14084 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14085 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14086 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14087 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14088 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14089 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14090 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14091 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14092 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14093 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14094 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14095 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14096 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14097 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14098 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14099 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14100 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14101 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14102 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14103 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14104 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14105 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14106 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14107 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14108 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14109 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14110 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14111 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14112 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14113 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14114 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14115 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14116 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14117 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14118 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14119 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14120 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14121 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14124 LTCFLAGS='$LTCFLAGS'
14125 compiler='$compiler_DEFAULT'
14127 # Quote evaled strings.
14138 deplibs_check_method \
14147 lt_cv_sys_global_symbol_pipe \
14148 lt_cv_sys_global_symbol_to_cdecl \
14149 lt_cv_sys_global_symbol_to_c_name_address \
14150 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14153 lt_prog_compiler_no_builtin_flag \
14154 lt_prog_compiler_wl \
14155 lt_prog_compiler_pic \
14156 lt_prog_compiler_static \
14157 lt_cv_prog_compiler_c_o \
14165 export_dynamic_flag_spec \
14166 whole_archive_flag_spec \
14167 compiler_needs_object \
14169 allow_undefined_flag \
14170 no_undefined_flag \
14171 hardcode_libdir_flag_spec \
14172 hardcode_libdir_flag_spec_ld \
14173 hardcode_libdir_separator \
14178 variables_saved_for_relink \
14180 library_names_spec \
14185 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14186 *[\\\\\\\`\\"\\\$]*)
14187 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14190 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14195 # Double-quote double-evaled strings.
14196 for var in reload_cmds \
14197 old_postinstall_cmds \
14198 old_postuninstall_cmds \
14200 extract_expsyms_cmds \
14201 old_archive_from_new_cmds \
14202 old_archive_from_expsyms_cmds \
14204 archive_expsym_cmds \
14206 module_expsym_cmds \
14207 export_symbols_cmds \
14210 postuninstall_cmds \
14212 sys_lib_search_path_spec \
14213 sys_lib_dlsearch_path_spec; do
14214 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14215 *[\\\\\\\`\\"\\\$]*)
14216 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14219 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14224 # Fix-up fallback echo if it was mangled by the above quoting rules.
14226 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14230 ac_aux_dir='$ac_aux_dir'
14231 xsi_shell='$xsi_shell'
14232 lt_shell_append='$lt_shell_append'
14234 # See if we are running on zsh, and set the options which allow our
14235 # commands through without removal of \ escapes INIT.
14236 if test -n "\${ZSH_VERSION+set}" ; then
14237 setopt NO_GLOB_SUBST
14243 TIMESTAMP='$TIMESTAMP'
14249 # variables for create stdint.h replacement
14252 ac_stdint_h="$ac_stdint_h"
14253 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
14254 ac_cv_stdint_message="$ac_cv_stdint_message"
14255 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
14256 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
14257 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
14258 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
14259 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
14260 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
14261 ac_cv_char_data_model="$ac_cv_char_data_model"
14262 ac_cv_long_data_model="$ac_cv_long_data_model"
14263 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
14264 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
14265 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
14270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14272 # Handling of arguments.
14273 for ac_config_target in $ac_config_targets
14275 case $ac_config_target in
14276 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14277 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14278 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14279 "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
14280 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14281 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14282 "doc/version.entities") CONFIG_FILES="$CONFIG_FILES doc/version.entities" ;;
14283 "orc/Makefile") CONFIG_FILES="$CONFIG_FILES orc/Makefile" ;;
14284 "orc-test/Makefile") CONFIG_FILES="$CONFIG_FILES orc-test/Makefile" ;;
14285 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
14286 "testsuite/orcc/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/orcc/Makefile" ;;
14287 "testsuite/benchmorc/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/benchmorc/Makefile" ;;
14288 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
14289 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
14290 "orc-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES orc-uninstalled.pc" ;;
14291 "orc.pc") CONFIG_FILES="$CONFIG_FILES orc.pc" ;;
14293 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14298 # If the user did not use the arguments to specify the items to instantiate,
14299 # then the envvar interface is used. Set only those that are not.
14300 # We use the long form for the default assignment because of an extremely
14301 # bizarre bug on SunOS 4.1.3.
14302 if $ac_need_defaults; then
14303 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14304 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14305 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14308 # Have a temporary directory for convenience. Make it in the build tree
14309 # simply because there is no reason against having it here, and in addition,
14310 # creating and moving files from /tmp can sometimes cause problems.
14311 # Hook for its removal unless debugging.
14312 # Note that there is a small window in which the directory will not be cleaned:
14313 # after its creation but before its name has been assigned to `$tmp'.
14317 trap 'exit_status=$?
14318 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14320 trap 'as_fn_exit 1' 1 2 13 15
14322 # Create a (secure) tmp directory for tmp files.
14325 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14326 test -n "$tmp" && test -d "$tmp"
14329 tmp=./conf$$-$RANDOM
14330 (umask 077 && mkdir "$tmp")
14331 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
14333 # Set up the scripts for CONFIG_FILES section.
14334 # No need to generate them if there are no CONFIG_FILES.
14335 # This happens for instance with `./config.status config.h'.
14336 if test -n "$CONFIG_FILES"; then
14339 ac_cr=`echo X | tr X '\015'`
14340 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14341 # But we know of no other shell where ac_cr would be empty at this
14342 # point, so we can use a bashism as a fallback.
14343 if test "x$ac_cr" = x; then
14344 eval ac_cr=\$\'\\r\'
14346 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14347 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14350 ac_cs_awk_cr=$ac_cr
14353 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14358 echo "cat >conf$$subs.awk <<_ACEOF" &&
14359 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14361 } >conf$$subs.sh ||
14362 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14363 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14365 for ac_last_try in false false false false false :; do
14366 . ./conf$$subs.sh ||
14367 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14369 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14370 if test $ac_delim_n = $ac_delim_num; then
14372 elif $ac_last_try; then
14373 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
14375 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14378 rm -f conf$$subs.sh
14380 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14381 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14385 s/^/S["/; s/!.*/"]=/
14395 s/\(.\{148\}\)..*/\1/
14397 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14402 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14409 s/\(.\{148\}\)..*/\1/
14411 s/["\\]/\\&/g; s/^/"/; s/$/"/
14415 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14420 ' <conf$$subs.awk | sed '
14425 ' >>$CONFIG_STATUS || ac_write_fail=1
14426 rm -f conf$$subs.awk
14427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14429 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14430 for (key in S) S_is_set[key] = 1
14436 nfields = split(line, field, "@")
14438 len = length(field[1])
14439 for (i = 2; i < nfields; i++) {
14441 keylen = length(key)
14442 if (S_is_set[key]) {
14444 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14445 len += length(value) + length(field[++i])
14456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14457 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14458 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14461 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14462 || as_fn_error "could not setup config files machinery" "$LINENO" 5
14465 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14466 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14467 # trailing colons and then remove the whole line if VPATH becomes empty
14468 # (actually we leave an empty line to preserve line numbers).
14469 if test "x$srcdir" = x.; then
14470 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14471 s/:*\$(srcdir):*/:/
14472 s/:*\${srcdir}:*/:/
14474 s/^\([^=]*=[ ]*\):*/\1/
14480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14481 fi # test -n "$CONFIG_FILES"
14483 # Set up the scripts for CONFIG_HEADERS section.
14484 # No need to generate them if there are no CONFIG_HEADERS.
14485 # This happens for instance with `./config.status Makefile'.
14486 if test -n "$CONFIG_HEADERS"; then
14487 cat >"$tmp/defines.awk" <<\_ACAWK ||
14491 # Transform confdefs.h into an awk script `defines.awk', embedded as
14492 # here-document in config.status, that substitutes the proper values into
14493 # config.h.in to produce config.h.
14495 # Create a delimiter string that does not exist in confdefs.h, to ease
14496 # handling of long lines.
14498 for ac_last_try in false false :; do
14499 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14500 if test -z "$ac_t"; then
14502 elif $ac_last_try; then
14503 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
14505 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14509 # For the awk script, D is an array of macro values keyed by name,
14510 # likewise P contains macro parameters if any. Preserve backslash
14511 # newline sequences.
14513 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14515 s/.\{148\}/&'"$ac_delim"'/g
14518 s/^[ ]*#[ ]*define[ ][ ]*/ /
14525 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14527 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14531 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14532 D["\1"]=" \3\\\\\\n"\\/p
14534 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14539 s/.\{148\}/&'"$ac_delim"'/g
14544 s/["\\]/\\&/g; s/^/"/; s/$/"/p
14547 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14549 ' <confdefs.h | sed '
14550 s/'"$ac_delim"'/"\\\
14551 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14554 for (key in D) D_is_set[key] = 1
14557 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14559 split(line, arg, " ")
14560 if (arg[1] == "#") {
14564 defundef = substr(arg[1], 2)
14567 split(mac1, mac2, "(") #)
14569 prefix = substr(line, 1, index(line, defundef) - 1)
14570 if (D_is_set[macro]) {
14571 # Preserve the white space surrounding the "#".
14572 print prefix "define", macro P[macro] D[macro]
14575 # Replace #undef with comments. This is necessary, for example,
14576 # in the case of _POSIX_SOURCE, which is predefined and required
14577 # on some systems where configure will not decide to define it.
14578 if (defundef == "undef") {
14579 print "/*", prefix defundef, macro, "*/"
14587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14588 as_fn_error "could not setup config headers machinery" "$LINENO" 5
14589 fi # test -n "$CONFIG_HEADERS"
14592 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14597 :[FHLC]) ac_mode=$ac_tag; continue;;
14599 case $ac_mode$ac_tag in
14601 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
14602 :[FH]-) ac_tag=-:-;;
14603 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14620 -) ac_f="$tmp/stdin";;
14621 *) # Look for the file first in the build tree, then in the source tree
14622 # (if the path is not absolute). The absolute path cannot be DOS-style,
14623 # because $ac_f cannot contain `:'.
14627 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14629 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14631 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14632 as_fn_append ac_file_inputs " '$ac_f'"
14635 # Let's still pretend it is `configure' which instantiates (i.e., don't
14636 # use $as_me), people would be surprised to read:
14637 # /* config.h. Generated by config.status. */
14638 configure_input='Generated from '`
14639 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14641 if test x"$ac_file" != x-; then
14642 configure_input="$ac_file. $configure_input"
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14644 $as_echo "$as_me: creating $ac_file" >&6;}
14646 # Neutralize special characters interpreted by sed in replacement strings.
14647 case $configure_input in #(
14648 *\&* | *\|* | *\\* )
14649 ac_sed_conf_input=`$as_echo "$configure_input" |
14650 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14651 *) ac_sed_conf_input=$configure_input;;
14655 *:-:* | *:-) cat >"$tmp/stdin" \
14656 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
14661 ac_dir=`$as_dirname -- "$ac_file" ||
14662 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14663 X"$ac_file" : 'X\(//\)[^/]' \| \
14664 X"$ac_file" : 'X\(//\)$' \| \
14665 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14666 $as_echo X"$ac_file" |
14667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14671 /^X\(\/\/\)[^/].*/{
14684 as_dir="$ac_dir"; as_fn_mkdir_p
14688 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14690 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14691 # A ".." for each directory in $ac_dir_suffix.
14692 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14693 case $ac_top_builddir_sub in
14694 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14695 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14698 ac_abs_top_builddir=$ac_pwd
14699 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14700 # for backward compatibility:
14701 ac_top_builddir=$ac_top_build_prefix
14704 .) # We are building in place.
14706 ac_top_srcdir=$ac_top_builddir_sub
14707 ac_abs_top_srcdir=$ac_pwd ;;
14708 [\\/]* | ?:[\\/]* ) # Absolute name.
14709 ac_srcdir=$srcdir$ac_dir_suffix;
14710 ac_top_srcdir=$srcdir
14711 ac_abs_top_srcdir=$srcdir ;;
14712 *) # Relative name.
14713 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14714 ac_top_srcdir=$ac_top_build_prefix$srcdir
14715 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14717 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14727 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14728 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14730 ac_MKDIR_P=$MKDIR_P
14732 [\\/$]* | ?:[\\/]* ) ;;
14733 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14737 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14738 # If the template does not know about datarootdir, expand it.
14739 # FIXME: This hack should be removed a few years after 2.60.
14740 ac_datarootdir_hack=; ac_datarootdir_seen=
14751 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14752 *datarootdir*) ac_datarootdir_seen=yes;;
14753 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14755 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14757 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14758 ac_datarootdir_hack='
14759 s&@datadir@&$datadir&g
14760 s&@docdir@&$docdir&g
14761 s&@infodir@&$infodir&g
14762 s&@localedir@&$localedir&g
14763 s&@mandir@&$mandir&g
14764 s&\\\${datarootdir}&$datarootdir&g' ;;
14768 # Neutralize VPATH when `$srcdir' = `.'.
14769 # Shell code in configure.ac might set extrasub.
14770 # FIXME: do we really want to maintain this feature?
14771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14772 ac_sed_extra="$ac_vpsub
14775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14777 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14778 s|@configure_input@|$ac_sed_conf_input|;t t
14779 s&@top_builddir@&$ac_top_builddir_sub&;t t
14780 s&@top_build_prefix@&$ac_top_build_prefix&;t t
14781 s&@srcdir@&$ac_srcdir&;t t
14782 s&@abs_srcdir@&$ac_abs_srcdir&;t t
14783 s&@top_srcdir@&$ac_top_srcdir&;t t
14784 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14785 s&@builddir@&$ac_builddir&;t t
14786 s&@abs_builddir@&$ac_abs_builddir&;t t
14787 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14788 s&@INSTALL@&$ac_INSTALL&;t t
14789 s&@MKDIR_P@&$ac_MKDIR_P&;t t
14790 $ac_datarootdir_hack
14792 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14793 || as_fn_error "could not create $ac_file" "$LINENO" 5
14795 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14796 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14797 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14799 which seems to be undefined. Please make sure it is defined." >&5
14800 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14801 which seems to be undefined. Please make sure it is defined." >&2;}
14805 -) cat "$tmp/out" && rm -f "$tmp/out";;
14806 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14808 || as_fn_error "could not create $ac_file" "$LINENO" 5
14814 if test x"$ac_file" != x-; then
14816 $as_echo "/* $configure_input */" \
14817 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14818 } >"$tmp/config.h" \
14819 || as_fn_error "could not create $ac_file" "$LINENO" 5
14820 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14821 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14822 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14825 mv "$tmp/config.h" "$ac_file" \
14826 || as_fn_error "could not create $ac_file" "$LINENO" 5
14829 $as_echo "/* $configure_input */" \
14830 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14831 || as_fn_error "could not create -" "$LINENO" 5
14833 # Compute "$ac_file"'s index in $config_headers.
14836 for _am_header in $config_headers :; do
14837 case $_am_header in
14838 $_am_arg | $_am_arg:* )
14841 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14844 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14845 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14846 X"$_am_arg" : 'X\(//\)[^/]' \| \
14847 X"$_am_arg" : 'X\(//\)$' \| \
14848 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14849 $as_echo X"$_am_arg" |
14850 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14854 /^X\(\/\/\)[^/].*/{
14866 s/.*/./; q'`/stamp-h$_am_stamp_count
14869 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14870 $as_echo "$as_me: executing $ac_file commands" >&6;}
14875 case $ac_file$ac_mode in
14876 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14877 # Autoconf 2.62 quotes --file arguments for eval, but not when files
14878 # are listed without --file. Let's play safe and only enable the eval
14879 # if we detect the quoting.
14880 case $CONFIG_FILES in
14881 *\'*) eval set x "$CONFIG_FILES" ;;
14882 *) set x $CONFIG_FILES ;;
14887 # Strip MF so we end up with the name of the file.
14888 mf=`echo "$mf" | sed -e 's/:.*$//'`
14889 # Check whether this is an Automake generated Makefile or not.
14890 # We used to match only the files named `Makefile.in', but
14891 # some people rename them; so instead we look at the file content.
14892 # Grep'ing the first line is not enough: some people post-process
14893 # each Makefile.in and add a new line on top of each file to say so.
14894 # Grep'ing the whole file is not good either: AIX grep has a line
14895 # limit of 2048, but all sed's we know have understand at least 4000.
14896 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14897 dirpart=`$as_dirname -- "$mf" ||
14898 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14899 X"$mf" : 'X\(//\)[^/]' \| \
14900 X"$mf" : 'X\(//\)$' \| \
14901 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14907 /^X\(\/\/\)[^/].*/{
14923 # Extract the definition of DEPDIR, am__include, and am__quote
14924 # from the Makefile without running `make'.
14925 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14926 test -z "$DEPDIR" && continue
14927 am__include=`sed -n 's/^am__include = //p' < "$mf"`
14928 test -z "am__include" && continue
14929 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14930 # When using ansi2knr, U may be empty or an underscore; expand it
14931 U=`sed -n 's/^U = //p' < "$mf"`
14932 # Find all dependency output files, they are included files with
14933 # $(DEPDIR) in their names. We invoke sed twice because it is the
14934 # simplest approach to changing $(DEPDIR) to its actual value in the
14936 for file in `sed -n "
14937 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14938 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14939 # Make sure the directory exists.
14940 test -f "$dirpart/$file" && continue
14941 fdir=`$as_dirname -- "$file" ||
14942 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14943 X"$file" : 'X\(//\)[^/]' \| \
14944 X"$file" : 'X\(//\)$' \| \
14945 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14946 $as_echo X"$file" |
14947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14951 /^X\(\/\/\)[^/].*/{
14964 as_dir=$dirpart/$fdir; as_fn_mkdir_p
14965 # echo "creating $dirpart/$file"
14966 echo '# dummy' > "$dirpart/$file"
14973 # See if we are running on zsh, and set the options which allow our
14974 # commands through without removal of \ escapes.
14975 if test -n "${ZSH_VERSION+set}" ; then
14976 setopt NO_GLOB_SUBST
14979 cfgfile="${ofile}T"
14980 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14983 cat <<_LT_EOF >> "$cfgfile"
14986 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14987 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14988 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14989 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
14991 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14992 # 2006, 2007, 2008 Free Software Foundation, Inc.
14993 # Written by Gordon Matzigkeit, 1996
14995 # This file is part of GNU Libtool.
14997 # GNU Libtool is free software; you can redistribute it and/or
14998 # modify it under the terms of the GNU General Public License as
14999 # published by the Free Software Foundation; either version 2 of
15000 # the License, or (at your option) any later version.
15002 # As a special exception to the GNU General Public License,
15003 # if you distribute this file as part of a program or library that
15004 # is built using GNU Libtool, you may include this file under the
15005 # same distribution terms that you use for the rest of that program.
15007 # GNU Libtool is distributed in the hope that it will be useful,
15008 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15009 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15010 # GNU General Public License for more details.
15012 # You should have received a copy of the GNU General Public License
15013 # along with GNU Libtool; see the file COPYING. If not, a copy
15014 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15015 # obtained by writing to the Free Software Foundation, Inc.,
15016 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15019 # The names of the tagged configurations supported by this script.
15022 # ### BEGIN LIBTOOL CONFIG
15024 # Assembler program.
15027 # DLL creation program.
15030 # Object dumper program.
15033 # Which release of libtool.m4 was used?
15034 macro_version=$macro_version
15035 macro_revision=$macro_revision
15037 # Whether or not to build shared libraries.
15038 build_libtool_libs=$enable_shared
15040 # Whether or not to build static libraries.
15041 build_old_libs=$enable_static
15043 # What type of objects to build.
15046 # Whether or not to optimize for fast installation.
15047 fast_install=$enable_fast_install
15050 host_alias=$host_alias
15054 # The build system.
15055 build_alias=$build_alias
15059 # A sed program that does not truncate output.
15062 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
15063 Xsed="\$SED -e 1s/^X//"
15065 # A grep program that handles long lines.
15071 # A literal string matcher.
15074 # A BSD- or MS-compatible name lister.
15077 # Whether we need soft or hard links.
15080 # What is the maximum length of a command?
15081 max_cmd_len=$max_cmd_len
15083 # Object file suffix (normally "o").
15086 # Executable file suffix (normally "").
15089 # whether the shell understands "unset".
15092 # turn spaces into newlines.
15095 # turn newlines into spaces.
15098 # How to create reloadable object files.
15099 reload_flag=$lt_reload_flag
15100 reload_cmds=$lt_reload_cmds
15102 # Method to check whether dependent libraries are shared objects.
15103 deplibs_check_method=$lt_deplibs_check_method
15105 # Command to use when deplibs_check_method == "file_magic".
15106 file_magic_cmd=$lt_file_magic_cmd
15110 AR_FLAGS=$lt_AR_FLAGS
15112 # A symbol stripping program.
15115 # Commands used to install an old-style archive.
15117 old_postinstall_cmds=$lt_old_postinstall_cmds
15118 old_postuninstall_cmds=$lt_old_postuninstall_cmds
15123 # LTCC compiler flags.
15124 LTCFLAGS=$lt_CFLAGS
15126 # Take the output of nm and produce a listing of raw symbols and C names.
15127 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15129 # Transform the output of nm in a proper C declaration.
15130 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15132 # Transform the output of nm in a C name address pair.
15133 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15135 # Transform the output of nm in a C name address pair when lib prefix is needed.
15136 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15138 # The name of the directory that contains temporary libtool files.
15141 # Shell to use when invoking shell scripts.
15144 # An echo program that does not interpret backslashes.
15147 # Used to examine libraries when file_magic_cmd begins with "file".
15148 MAGIC_CMD=$MAGIC_CMD
15150 # Must we lock files when doing compilation?
15151 need_locks=$lt_need_locks
15153 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15154 DSYMUTIL=$lt_DSYMUTIL
15156 # Tool to change global to local symbols on Mac OS X.
15159 # Tool to manipulate fat objects and archives on Mac OS X.
15162 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
15165 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15166 OTOOL64=$lt_OTOOL64
15168 # Old archive suffix (normally "a").
15171 # Shared library suffix (normally ".so").
15172 shrext_cmds=$lt_shrext_cmds
15174 # The commands to extract the exported symbol list from a shared archive.
15175 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15177 # Variables whose values should be saved in libtool wrapper scripts and
15178 # restored at link time.
15179 variables_saved_for_relink=$lt_variables_saved_for_relink
15181 # Do we need the "lib" prefix for modules?
15182 need_lib_prefix=$need_lib_prefix
15184 # Do we need a version for libraries?
15185 need_version=$need_version
15187 # Library versioning type.
15188 version_type=$version_type
15190 # Shared library runtime path variable.
15191 runpath_var=$runpath_var
15193 # Shared library path variable.
15194 shlibpath_var=$shlibpath_var
15196 # Is shlibpath searched before the hard-coded library search path?
15197 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15199 # Format of library name prefix.
15200 libname_spec=$lt_libname_spec
15202 # List of archive names. First name is the real one, the rest are links.
15203 # The last name is the one that the linker finds with -lNAME
15204 library_names_spec=$lt_library_names_spec
15206 # The coded name of the library, if different from the real name.
15207 soname_spec=$lt_soname_spec
15209 # Command to use after installation of a shared archive.
15210 postinstall_cmds=$lt_postinstall_cmds
15212 # Command to use after uninstallation of a shared archive.
15213 postuninstall_cmds=$lt_postuninstall_cmds
15215 # Commands used to finish a libtool library installation in a directory.
15216 finish_cmds=$lt_finish_cmds
15218 # As "finish_cmds", except a single script fragment to be evaled but
15220 finish_eval=$lt_finish_eval
15222 # Whether we should hardcode library paths into libraries.
15223 hardcode_into_libs=$hardcode_into_libs
15225 # Compile-time system search path for libraries.
15226 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15228 # Run-time system search path for libraries.
15229 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15231 # Whether dlopen is supported.
15232 dlopen_support=$enable_dlopen
15234 # Whether dlopen of programs is supported.
15235 dlopen_self=$enable_dlopen_self
15237 # Whether dlopen of statically linked programs is supported.
15238 dlopen_self_static=$enable_dlopen_self_static
15240 # Commands to strip libraries.
15241 old_striplib=$lt_old_striplib
15242 striplib=$lt_striplib
15245 # The linker used to build libraries.
15248 # Commands used to build an old-style archive.
15249 old_archive_cmds=$lt_old_archive_cmds
15251 # A language specific compiler.
15254 # Is the compiler the GNU compiler?
15257 # Compiler flag to turn off builtin functions.
15258 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15260 # How to pass a linker flag through the compiler.
15261 wl=$lt_lt_prog_compiler_wl
15263 # Additional compiler flags for building library objects.
15264 pic_flag=$lt_lt_prog_compiler_pic
15266 # Compiler flag to prevent dynamic linking.
15267 link_static_flag=$lt_lt_prog_compiler_static
15269 # Does compiler simultaneously support -c and -o options?
15270 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15272 # Whether or not to add -lc for building shared libraries.
15273 build_libtool_need_lc=$archive_cmds_need_lc
15275 # Whether or not to disallow shared libs when runtime libs are static.
15276 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15278 # Compiler flag to allow reflexive dlopens.
15279 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15281 # Compiler flag to generate shared objects directly from archives.
15282 whole_archive_flag_spec=$lt_whole_archive_flag_spec
15284 # Whether the compiler copes with passing no objects directly.
15285 compiler_needs_object=$lt_compiler_needs_object
15287 # Create an old-style archive from a shared archive.
15288 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15290 # Create a temporary old-style archive to link instead of a shared archive.
15291 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15293 # Commands used to build a shared archive.
15294 archive_cmds=$lt_archive_cmds
15295 archive_expsym_cmds=$lt_archive_expsym_cmds
15297 # Commands used to build a loadable module if different from building
15298 # a shared archive.
15299 module_cmds=$lt_module_cmds
15300 module_expsym_cmds=$lt_module_expsym_cmds
15302 # Whether we are building with GNU ld or not.
15303 with_gnu_ld=$lt_with_gnu_ld
15305 # Flag that allows shared libraries with undefined symbols to be built.
15306 allow_undefined_flag=$lt_allow_undefined_flag
15308 # Flag that enforces no undefined symbols.
15309 no_undefined_flag=$lt_no_undefined_flag
15311 # Flag to hardcode \$libdir into a binary during linking.
15312 # This must work even if \$libdir does not exist
15313 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15315 # If ld is used when linking, flag to hardcode \$libdir into a binary
15316 # during linking. This must work even if \$libdir does not exist.
15317 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15319 # Whether we need a single "-rpath" flag with a separated argument.
15320 hardcode_libdir_separator=$lt_hardcode_libdir_separator
15322 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15323 # DIR into the resulting binary.
15324 hardcode_direct=$hardcode_direct
15326 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15327 # DIR into the resulting binary and the resulting library dependency is
15328 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15329 # library is relocated.
15330 hardcode_direct_absolute=$hardcode_direct_absolute
15332 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15333 # into the resulting binary.
15334 hardcode_minus_L=$hardcode_minus_L
15336 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15337 # into the resulting binary.
15338 hardcode_shlibpath_var=$hardcode_shlibpath_var
15340 # Set to "yes" if building a shared library automatically hardcodes DIR
15341 # into the library and all subsequent libraries and executables linked
15343 hardcode_automatic=$hardcode_automatic
15345 # Set to yes if linker adds runtime paths of dependent libraries
15346 # to runtime path list.
15347 inherit_rpath=$inherit_rpath
15349 # Whether libtool must link a program against all its dependency libraries.
15350 link_all_deplibs=$link_all_deplibs
15352 # Fix the shell variable \$srcfile for the compiler.
15353 fix_srcfile_path=$lt_fix_srcfile_path
15355 # Set to "yes" if exported symbols are required.
15356 always_export_symbols=$always_export_symbols
15358 # The commands to list exported symbols.
15359 export_symbols_cmds=$lt_export_symbols_cmds
15361 # Symbols that should not be listed in the preloaded symbols.
15362 exclude_expsyms=$lt_exclude_expsyms
15364 # Symbols that must always be exported.
15365 include_expsyms=$lt_include_expsyms
15367 # Commands necessary for linking programs (against libraries) with templates.
15368 prelink_cmds=$lt_prelink_cmds
15370 # Specify filename containing input files.
15371 file_list_spec=$lt_file_list_spec
15373 # How to hardcode a shared library path into an executable.
15374 hardcode_action=$hardcode_action
15376 # ### END LIBTOOL CONFIG
15382 cat <<\_LT_EOF >> "$cfgfile"
15383 # AIX sometimes has problems with the GCC collect2 program. For some
15384 # reason, if we set the COLLECT_NAMES environment variable, the problems
15385 # vanish in a puff of smoke.
15386 if test "X${COLLECT_NAMES+set}" != Xset; then
15388 export COLLECT_NAMES
15395 ltmain="$ac_aux_dir/ltmain.sh"
15398 # We use sed instead of cat because bash on DJGPP gets confused if
15399 # if finds mixed CR/LF and LF-only lines. Since sed operates in
15400 # text mode, it properly converts lines to CR/LF. This bash problem
15401 # is reportedly fixed, but why not run on old versions too?
15402 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15403 || (rm -f "$cfgfile"; exit 1)
15407 cat << \_LT_EOF >> "$cfgfile"
15409 # func_dirname file append nondir_replacement
15410 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15411 # otherwise set result to NONDIR_REPLACEMENT.
15415 */*) func_dirname_result="${1%/*}${2}" ;;
15416 * ) func_dirname_result="${3}" ;;
15420 # func_basename file
15423 func_basename_result="${1##*/}"
15426 # func_dirname_and_basename file append nondir_replacement
15427 # perform func_basename and func_dirname in a single function
15429 # dirname: Compute the dirname of FILE. If nonempty,
15430 # add APPEND to the result, otherwise set result
15431 # to NONDIR_REPLACEMENT.
15432 # value returned in "$func_dirname_result"
15433 # basename: Compute filename of FILE.
15434 # value retuned in "$func_basename_result"
15435 # Implementation must be kept synchronized with func_dirname
15436 # and func_basename. For efficiency, we do not delegate to
15437 # those functions but instead duplicate the functionality here.
15438 func_dirname_and_basename ()
15441 */*) func_dirname_result="${1%/*}${2}" ;;
15442 * ) func_dirname_result="${3}" ;;
15444 func_basename_result="${1##*/}"
15447 # func_stripname prefix suffix name
15448 # strip PREFIX and SUFFIX off of NAME.
15449 # PREFIX and SUFFIX must not contain globbing or regex special
15450 # characters, hashes, percent signs, but SUFFIX may contain a leading
15451 # dot (in which case that matches only a dot).
15454 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15455 # positional parameters, so assign one to ordinary parameter first.
15456 func_stripname_result=${3}
15457 func_stripname_result=${func_stripname_result#"${1}"}
15458 func_stripname_result=${func_stripname_result%"${2}"}
15464 func_opt_split_opt=${1%%=*}
15465 func_opt_split_arg=${1#*=}
15472 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15473 *) func_lo2o_result=${1} ;;
15477 # func_xform libobj-or-source
15480 func_xform_result=${1%.*}.lo
15483 # func_arith arithmetic-term...
15486 func_arith_result=$(( $* ))
15490 # STRING may not start with a hyphen.
15493 func_len_result=${#1}
15498 *) # Bourne compatible functions.
15499 cat << \_LT_EOF >> "$cfgfile"
15501 # func_dirname file append nondir_replacement
15502 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
15503 # otherwise set result to NONDIR_REPLACEMENT.
15506 # Extract subdirectory from the argument.
15507 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15508 if test "X$func_dirname_result" = "X${1}"; then
15509 func_dirname_result="${3}"
15511 func_dirname_result="$func_dirname_result${2}"
15515 # func_basename file
15518 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15522 # func_stripname prefix suffix name
15523 # strip PREFIX and SUFFIX off of NAME.
15524 # PREFIX and SUFFIX must not contain globbing or regex special
15525 # characters, hashes, percent signs, but SUFFIX may contain a leading
15526 # dot (in which case that matches only a dot).
15527 # func_strip_suffix prefix name
15531 .*) func_stripname_result=`$ECHO "X${3}" \
15532 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15533 *) func_stripname_result=`$ECHO "X${3}" \
15534 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15539 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15540 my_sed_long_arg='1s/^-[^=]*=//'
15545 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15546 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15552 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15555 # func_xform libobj-or-source
15558 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15561 # func_arith arithmetic-term...
15564 func_arith_result=`expr "$@"`
15568 # STRING may not start with a hyphen.
15571 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15577 case $lt_shell_append in
15579 cat << \_LT_EOF >> "$cfgfile"
15581 # func_append var value
15582 # Append VALUE to the end of shell variable VAR.
15590 cat << \_LT_EOF >> "$cfgfile"
15592 # func_append var value
15593 # Append VALUE to the end of shell variable VAR.
15604 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15605 || (rm -f "$cfgfile"; exit 1)
15607 mv -f "$cfgfile" "$ofile" ||
15608 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
15614 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
15615 ac_stdint=$tmp/_stdint.h
15617 echo "#ifndef" $_ac_stdint_h >$ac_stdint
15618 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
15619 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
15620 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
15621 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
15622 if test "_$ac_cv_header_stdint_t" != "_" ; then
15623 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
15624 echo "#include <stdint.h>" >>$ac_stdint
15625 echo "#endif" >>$ac_stdint
15626 echo "#endif" >>$ac_stdint
15629 cat >>$ac_stdint <<STDINT_EOF
15631 /* ................... shortcircuit part ........................... */
15633 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
15634 #include <stdint.h>
15636 #include <stddef.h>
15638 /* .................... configured part ............................ */
15642 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
15643 if test "_$ac_cv_header_stdint_x" != "_" ; then
15644 ac_header="$ac_cv_header_stdint_x"
15645 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
15647 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
15650 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
15651 if test "_$ac_cv_header_stdint_o" != "_" ; then
15652 ac_header="$ac_cv_header_stdint_o"
15653 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
15655 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
15658 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
15659 if test "_$ac_cv_header_stdint_u" != "_" ; then
15660 ac_header="$ac_cv_header_stdint_u"
15661 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
15663 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
15666 echo "" >>$ac_stdint
15668 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
15669 echo "#include <$ac_header>" >>$ac_stdint
15670 echo "" >>$ac_stdint
15673 echo "/* which 64bit typedef has been found */" >>$ac_stdint
15674 if test "$ac_cv_type_uint64_t" = "yes" ; then
15675 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
15677 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
15679 if test "$ac_cv_type_u_int64_t" = "yes" ; then
15680 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
15682 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
15684 echo "" >>$ac_stdint
15686 echo "/* which type model has been detected */" >>$ac_stdint
15687 if test "_$ac_cv_char_data_model" != "_" ; then
15688 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
15689 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
15691 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
15692 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
15694 echo "" >>$ac_stdint
15696 echo "/* whether int_least types were detected */" >>$ac_stdint
15697 if test "$ac_cv_type_int_least32_t" = "yes"; then
15698 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
15700 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
15702 echo "/* whether int_fast types were detected */" >>$ac_stdint
15703 if test "$ac_cv_type_int_fast32_t" = "yes"; then
15704 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
15706 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
15708 echo "/* whether intmax_t type was detected */" >>$ac_stdint
15709 if test "$ac_cv_type_intmax_t" = "yes"; then
15710 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
15712 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
15714 echo "" >>$ac_stdint
15716 cat >>$ac_stdint <<STDINT_EOF
15717 /* .................... detections part ............................ */
15719 /* whether we need to define bitspecific types from compiler base types */
15720 #ifndef _STDINT_HEADER_INTPTR
15721 #ifndef _STDINT_HEADER_UINT32
15722 #ifndef _STDINT_HEADER_U_INT32
15723 #define _STDINT_NEED_INT_MODEL_T
15725 #define _STDINT_HAVE_U_INT_TYPES
15730 #ifdef _STDINT_HAVE_U_INT_TYPES
15731 #undef _STDINT_NEED_INT_MODEL_T
15734 #ifdef _STDINT_CHAR_MODEL
15735 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
15736 #ifndef _STDINT_BYTE_MODEL
15737 #define _STDINT_BYTE_MODEL 12
15742 #ifndef _STDINT_HAVE_INT_LEAST32_T
15743 #define _STDINT_NEED_INT_LEAST_T
15746 #ifndef _STDINT_HAVE_INT_FAST32_T
15747 #define _STDINT_NEED_INT_FAST_T
15750 #ifndef _STDINT_HEADER_INTPTR
15751 #define _STDINT_NEED_INTPTR_T
15752 #ifndef _STDINT_HAVE_INTMAX_T
15753 #define _STDINT_NEED_INTMAX_T
15758 /* .................... definition part ............................ */
15760 /* some system headers have good uint64_t */
15761 #ifndef _HAVE_UINT64_T
15762 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
15763 #define _HAVE_UINT64_T
15764 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
15765 #define _HAVE_UINT64_T
15766 typedef u_int64_t uint64_t;
15770 #ifndef _HAVE_UINT64_T
15771 /* .. here are some common heuristics using compiler runtime specifics */
15772 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
15773 #define _HAVE_UINT64_T
15774 #define _HAVE_LONGLONG_UINT64_T
15775 typedef long long int64_t;
15776 typedef unsigned long long uint64_t;
15778 #elif !defined __STRICT_ANSI__
15779 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
15780 #define _HAVE_UINT64_T
15781 typedef __int64 int64_t;
15782 typedef unsigned __int64 uint64_t;
15784 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
15785 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
15786 #if !defined _NO_LONGLONG
15787 #define _HAVE_UINT64_T
15788 #define _HAVE_LONGLONG_UINT64_T
15789 typedef long long int64_t;
15790 typedef unsigned long long uint64_t;
15793 #elif defined __alpha || (defined __mips && defined _ABIN32)
15794 #if !defined _NO_LONGLONG
15795 typedef long int64_t;
15796 typedef unsigned long uint64_t;
15798 /* compiler/cpu type to define int64_t */
15803 #if defined _STDINT_HAVE_U_INT_TYPES
15804 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
15805 typedef u_int8_t uint8_t;
15806 typedef u_int16_t uint16_t;
15807 typedef u_int32_t uint32_t;
15809 /* glibc compatibility */
15810 #ifndef __int8_t_defined
15811 #define __int8_t_defined
15815 #ifdef _STDINT_NEED_INT_MODEL_T
15816 /* we must guess all the basic types. Apart from byte-adressable system, */
15817 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
15818 /* (btw, those nibble-addressable systems are way off, or so we assume) */
15821 #if defined _STDINT_BYTE_MODEL
15822 #if _STDINT_LONG_MODEL+0 == 242
15823 /* 2:4:2 = IP16 = a normal 16-bit system */
15824 typedef unsigned char uint8_t;
15825 typedef unsigned short uint16_t;
15826 typedef unsigned long uint32_t;
15827 #ifndef __int8_t_defined
15828 #define __int8_t_defined
15829 typedef char int8_t;
15830 typedef short int16_t;
15831 typedef long int32_t;
15833 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
15834 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
15835 /* 4:4:4 = ILP32 = a normal 32-bit system */
15836 typedef unsigned char uint8_t;
15837 typedef unsigned short uint16_t;
15838 typedef unsigned int uint32_t;
15839 #ifndef __int8_t_defined
15840 #define __int8_t_defined
15841 typedef char int8_t;
15842 typedef short int16_t;
15843 typedef int int32_t;
15845 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
15846 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
15847 /* 4:8:8 = LP64 = a normal 64-bit system */
15848 typedef unsigned char uint8_t;
15849 typedef unsigned short uint16_t;
15850 typedef unsigned int uint32_t;
15851 #ifndef __int8_t_defined
15852 #define __int8_t_defined
15853 typedef char int8_t;
15854 typedef short int16_t;
15855 typedef int int32_t;
15857 /* this system has a "long" of 64bit */
15858 #ifndef _HAVE_UINT64_T
15859 #define _HAVE_UINT64_T
15860 typedef unsigned long uint64_t;
15861 typedef long int64_t;
15863 #elif _STDINT_LONG_MODEL+0 == 448
15864 /* LLP64 a 64-bit system derived from a 32-bit system */
15865 typedef unsigned char uint8_t;
15866 typedef unsigned short uint16_t;
15867 typedef unsigned int uint32_t;
15868 #ifndef __int8_t_defined
15869 #define __int8_t_defined
15870 typedef char int8_t;
15871 typedef short int16_t;
15872 typedef int int32_t;
15874 /* assuming the system has a "long long" */
15875 #ifndef _HAVE_UINT64_T
15876 #define _HAVE_UINT64_T
15877 #define _HAVE_LONGLONG_UINT64_T
15878 typedef unsigned long long uint64_t;
15879 typedef long long int64_t;
15882 #define _STDINT_NO_INT32_T
15885 #define _STDINT_NO_INT8_T
15886 #define _STDINT_NO_INT32_T
15891 * quote from SunOS-5.8 sys/inttypes.h:
15892 * Use at your own risk. As of February 1996, the committee is squarely
15893 * behind the fixed sized types; the "least" and "fast" types are still being
15894 * discussed. The probability that the "fast" types may be removed before
15895 * the standard is finalized is high enough that they are not currently
15899 #if defined _STDINT_NEED_INT_LEAST_T
15900 typedef int8_t int_least8_t;
15901 typedef int16_t int_least16_t;
15902 typedef int32_t int_least32_t;
15903 #ifdef _HAVE_UINT64_T
15904 typedef int64_t int_least64_t;
15907 typedef uint8_t uint_least8_t;
15908 typedef uint16_t uint_least16_t;
15909 typedef uint32_t uint_least32_t;
15910 #ifdef _HAVE_UINT64_T
15911 typedef uint64_t uint_least64_t;
15916 #if defined _STDINT_NEED_INT_FAST_T
15917 typedef int8_t int_fast8_t;
15918 typedef int int_fast16_t;
15919 typedef int32_t int_fast32_t;
15920 #ifdef _HAVE_UINT64_T
15921 typedef int64_t int_fast64_t;
15924 typedef uint8_t uint_fast8_t;
15925 typedef unsigned uint_fast16_t;
15926 typedef uint32_t uint_fast32_t;
15927 #ifdef _HAVE_UINT64_T
15928 typedef uint64_t uint_fast64_t;
15933 #ifdef _STDINT_NEED_INTMAX_T
15934 #ifdef _HAVE_UINT64_T
15935 typedef int64_t intmax_t;
15936 typedef uint64_t uintmax_t;
15938 typedef long intmax_t;
15939 typedef unsigned long uintmax_t;
15943 #ifdef _STDINT_NEED_INTPTR_T
15944 #ifndef __intptr_t_defined
15945 #define __intptr_t_defined
15946 /* we encourage using "long" to store pointer values, never use "int" ! */
15947 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
15948 typedef unsigned int uintptr_t;
15949 typedef int intptr_t;
15950 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
15951 typedef unsigned long uintptr_t;
15952 typedef long intptr_t;
15953 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
15954 typedef uint64_t uintptr_t;
15955 typedef int64_t intptr_t;
15956 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
15957 typedef unsigned long uintptr_t;
15958 typedef long intptr_t;
15963 /* The ISO C99 standard specifies that in C++ implementations these
15964 should only be defined if explicitly requested. */
15965 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
15969 # define INT8_C(c) c
15970 # define INT16_C(c) c
15971 # define INT32_C(c) c
15972 # ifdef _HAVE_LONGLONG_UINT64_T
15973 # define INT64_C(c) c ## L
15975 # define INT64_C(c) c ## LL
15979 # define UINT8_C(c) c ## U
15980 # define UINT16_C(c) c ## U
15981 # define UINT32_C(c) c ## U
15982 # ifdef _HAVE_LONGLONG_UINT64_T
15983 # define UINT64_C(c) c ## UL
15985 # define UINT64_C(c) c ## ULL
15988 /* Maximal type. */
15989 # ifdef _HAVE_LONGLONG_UINT64_T
15990 # define INTMAX_C(c) c ## L
15991 # define UINTMAX_C(c) c ## UL
15993 # define INTMAX_C(c) c ## LL
15994 # define UINTMAX_C(c) c ## ULL
15997 /* literalnumbers */
16001 /* These limits are merily those of a two complement byte-oriented system */
16003 /* Minimum of signed integral types. */
16004 # define INT8_MIN (-128)
16005 # define INT16_MIN (-32767-1)
16006 # define INT32_MIN (-2147483647-1)
16007 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
16008 /* Maximum of signed integral types. */
16009 # define INT8_MAX (127)
16010 # define INT16_MAX (32767)
16011 # define INT32_MAX (2147483647)
16012 # define INT64_MAX (__INT64_C(9223372036854775807))
16014 /* Maximum of unsigned integral types. */
16015 # define UINT8_MAX (255)
16016 # define UINT16_MAX (65535)
16017 # define UINT32_MAX (4294967295U)
16018 # define UINT64_MAX (__UINT64_C(18446744073709551615))
16020 /* Minimum of signed integral types having a minimum size. */
16021 # define INT_LEAST8_MIN INT8_MIN
16022 # define INT_LEAST16_MIN INT16_MIN
16023 # define INT_LEAST32_MIN INT32_MIN
16024 # define INT_LEAST64_MIN INT64_MIN
16025 /* Maximum of signed integral types having a minimum size. */
16026 # define INT_LEAST8_MAX INT8_MAX
16027 # define INT_LEAST16_MAX INT16_MAX
16028 # define INT_LEAST32_MAX INT32_MAX
16029 # define INT_LEAST64_MAX INT64_MAX
16031 /* Maximum of unsigned integral types having a minimum size. */
16032 # define UINT_LEAST8_MAX UINT8_MAX
16033 # define UINT_LEAST16_MAX UINT16_MAX
16034 # define UINT_LEAST32_MAX UINT32_MAX
16035 # define UINT_LEAST64_MAX UINT64_MAX
16044 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
16046 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
16048 ac_dir=`$as_dirname -- "$ac_stdint_h" ||
16049 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16050 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
16051 X"$ac_stdint_h" : 'X\(//\)$' \| \
16052 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
16053 $as_echo X"$ac_stdint_h" |
16054 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16058 /^X\(\/\/\)[^/].*/{
16071 as_dir="$ac_dir"; as_fn_mkdir_p
16073 mv $ac_stdint $ac_stdint_h
16083 ac_clean_files=$ac_clean_files_save
16085 test $ac_write_fail = 0 ||
16086 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16089 # configure is writing to config.log, and then calls config.status.
16090 # config.status does its own redirection, appending to config.log.
16091 # Unfortunately, on DOS this fails, as config.log is still kept open
16092 # by configure, so config.status won't be able to write to it; its
16093 # output is simply discarded. So we exec the FD to /dev/null,
16094 # effectively closing config.log, so it can be properly (re)opened and
16095 # appended to by config.status. When coming back to configure, we
16096 # need to make the FD available again.
16097 if test "$no_create" != yes; then
16099 ac_config_status_args=
16100 test "$silent" = yes &&
16101 ac_config_status_args="$ac_config_status_args --quiet"
16103 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16105 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16106 # would make configure fail if this is the last instruction.
16107 $ac_cs_success || as_fn_exit $?
16109 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16111 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}