2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for GStreamer 0.10.36.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
271 # Portably unset VAR.
274 { eval $1=; unset $1;}
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298 # Create "$as_dir" as a directory, including parents if necessary.
303 -*) as_dir=./$as_dir;;
305 test -d "$as_dir" || eval $as_mkdir_p || {
309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312 as_dirs="'$as_qdir' $as_dirs"
313 as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315 X"$as_dir" : 'X\(//\)[^/]' \| \
316 X"$as_dir" : 'X\(//\)$' \| \
317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 test -d "$as_dir" && break
338 test -z "$as_dirs" || eval "mkdir $as_dirs"
339 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350 eval 'as_fn_append ()
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
374 as_val=`expr "$@" || test $? -eq 1`
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
386 as_status=$1; test $as_status -eq 0 && as_status=1
388 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391 $as_echo "$as_me: error: $2" >&2
392 as_fn_exit $as_status
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416 X"$0" : 'X\(//\)$' \| \
417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419 sed '/^.*\/\([^/][^/]*\)\/*$/{
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
441 as_lineno_1=$LINENO as_lineno_1a=$LINENO
442 as_lineno_2=$LINENO as_lineno_2a=$LINENO
443 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461 chmod +x "$as_me.lineno" ||
462 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
464 # Don't try to exec as it changes $[0], causing all sort of problems
465 # (the dirname of $[0] is not the place where we might find the
466 # original and so on. Autoconf is especially sensitive to this).
468 # Exit status is that of the last command.
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
475 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
478 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
490 mkdir conf$$.dir 2>/dev/null
492 if (echo >conf$$.file) 2>/dev/null; then
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 elif ln conf$$.file conf$$ 2>/dev/null; then
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
512 if mkdir -p . 2>/dev/null; then
513 as_mkdir_p='mkdir -p "$as_dir"'
515 test -d ./-p && rmdir ./-p
519 if test -x / >/dev/null 2>&1; then
522 if ls -dL / >/dev/null 2>&1; then
529 if test -d "$1"; then
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 ???[sx]*):;;*)false;;esac;fi
540 as_executable_p=$as_test_x
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548 SHELL=${CONFIG_SHELL-/bin/sh}
551 test -n "$DJDIR" || exec 7<&0 </dev/null
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
571 # Identity of this package.
572 PACKAGE_NAME='GStreamer'
573 PACKAGE_TARNAME='gstreamer'
574 PACKAGE_VERSION='0.10.36'
575 PACKAGE_STRING='GStreamer 0.10.36'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
579 ac_unique_file="gst/gst.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
618 ac_subst_vars='am__EXEEXT_FALSE
629 GST_PLUGIN_SCANNER_INSTALLED
654 GST_DISABLE_XML_DEFINE
662 GST_HAVE_GLIB_2_8_DEFINE
668 GST_USING_PRINTF_EXTENSION_DEFINE
669 GST_PRINTF_EXTENSION_SEGMENT_FORMAT_DEFINE
670 GST_PRINTF_EXTENSION_POINTER_FORMAT_DEFINE
671 GST_HAVE_MONOTONIC_CLOCK_FALSE
672 GST_HAVE_MONOTONIC_CLOCK_TRUE
673 GST_HAVE_MONOTONIC_CLOCK_DEFINE
674 GST_HAVE_POSIX_TIMERS_FALSE
675 GST_HAVE_POSIX_TIMERS_TRUE
676 GST_HAVE_POSIX_TIMERS_DEFINE
684 HAVE_WINSOCK2_H_FALSE
688 HAVE_SYS_TIMES_H_AND_UNISTD_H_FALSE
689 HAVE_SYS_TIMES_H_AND_UNISTD_H_TRUE
690 HAVE_SYS_SOCKET_H_FALSE
691 HAVE_SYS_SOCKET_H_TRUE
693 ENABLE_PLUGIN_DOCS_FALSE
694 ENABLE_PLUGIN_DOCS_TRUE
704 GTK_DOC_USE_LIBTOOL_FALSE
705 GTK_DOC_USE_LIBTOOL_TRUE
734 HAVE_INTROSPECTION_FALSE
735 HAVE_INTROSPECTION_TRUE
736 INTROSPECTION_MAKEFILE
739 INTROSPECTION_TYPELIBDIR
741 INTROSPECTION_GENERATE
742 INTROSPECTION_COMPILER
743 INTROSPECTION_SCANNER
758 am__fastdepCCAS_FALSE
762 GST_HAVE_UNALIGNED_ACCESS_DEFINE
764 HAVE_CPU_CRISV32_FALSE
765 HAVE_CPU_CRISV32_TRUE
768 HAVE_CPU_X86_64_FALSE
792 BUILD_FAILING_TESTS_FALSE
793 BUILD_FAILING_TESTS_TRUE
801 GST_GCOV_ENABLED_FALSE
802 GST_GCOV_ENABLED_TRUE
812 GST_DISABLE_PLUGIN_FALSE
813 GST_DISABLE_PLUGIN_TRUE
814 GST_DISABLE_PLUGIN_DEFINE
815 GST_DISABLE_NET_FALSE
817 GST_DISABLE_NET_DEFINE
818 GST_REGISTRY_DOC_TYPES
819 GST_DISABLE_REGISTRY_FALSE
820 GST_DISABLE_REGISTRY_TRUE
821 GST_DISABLE_REGISTRY_DEFINE
822 GST_DISABLE_ALLOC_TRACE_FALSE
823 GST_DISABLE_ALLOC_TRACE_TRUE
824 GST_DISABLE_ALLOC_TRACE_DEFINE
825 GST_DISABLE_TRACE_FALSE
826 GST_DISABLE_TRACE_TRUE
827 GST_DISABLE_TRACE_DEFINE
828 GST_DISABLE_OPTION_PARSING_FALSE
829 GST_DISABLE_OPTION_PARSING_TRUE
830 GST_DISABLE_OPTION_PARSING_DEFINE
831 GST_DISABLE_PARSE_FALSE
832 GST_DISABLE_PARSE_TRUE
833 GST_DISABLE_PARSE_DEFINE
834 GST_LOADSAVE_DOC_TYPES
835 GST_DISABLE_LOADSAVE_FALSE
836 GST_DISABLE_LOADSAVE_TRUE
837 GST_DISABLE_LOADSAVE_DEFINE
838 GST_DISABLE_GST_DEBUG_FALSE
839 GST_DISABLE_GST_DEBUG_TRUE
840 GST_DISABLE_GST_DEBUG_DEFINE
850 XGETTEXT_EXTRA_OPTIONS
858 GETTEXT_MACRO_VERSION
920 MAINTAINER_MODE_FALSE
922 PACKAGE_VERSION_RELEASE
924 PACKAGE_VERSION_MICRO
925 PACKAGE_VERSION_MINOR
926 PACKAGE_VERSION_MAJOR
935 INSTALL_STRIP_PROGRAM
977 program_transform_name
990 enable_option_checking
991 enable_maintainer_mode
997 enable_dependency_tracking
1007 with_libiconv_prefix
1012 enable_option_parsing
1023 with_pkg_config_path
1027 enable_failing_tests
1030 enable_introspection
1034 enable_gobject_cast_checks
1037 with_buffer_alignment
1040 ac_precious_vars='build_alias
1066 # Initialize some variables set by options.
1068 ac_init_version=false
1069 ac_unrecognized_opts=
1070 ac_unrecognized_sep=
1071 # The variables have the same names as the options, with
1072 # dashes changed to underlines.
1073 cache_file=/dev/null
1080 program_transform_name=s,x,x,
1088 # Installation directory options.
1089 # These are left unexpanded so users can "make install exec_prefix=/foo"
1090 # and all the variables that are supposed to be based on exec_prefix
1091 # by default will actually change.
1092 # Use braces instead of parens because sh, perl, etc. also accept them.
1093 # (The list follows the same order as the GNU Coding Standards.)
1094 bindir='${exec_prefix}/bin'
1095 sbindir='${exec_prefix}/sbin'
1096 libexecdir='${exec_prefix}/libexec'
1097 datarootdir='${prefix}/share'
1098 datadir='${datarootdir}'
1099 sysconfdir='${prefix}/etc'
1100 sharedstatedir='${prefix}/com'
1101 localstatedir='${prefix}/var'
1102 includedir='${prefix}/include'
1103 oldincludedir='/usr/include'
1104 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1105 infodir='${datarootdir}/info'
1110 libdir='${exec_prefix}/lib'
1111 localedir='${datarootdir}/locale'
1112 mandir='${datarootdir}/man'
1118 # If the previous option needs an argument, assign it.
1119 if test -n "$ac_prev"; then
1120 eval $ac_prev=\$ac_option
1126 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1131 # Accept the important Cygnus configure options, so we can diagnose typos.
1133 case $ac_dashdash$ac_option in
1137 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1139 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1140 bindir=$ac_optarg ;;
1142 -build | --build | --buil | --bui | --bu)
1143 ac_prev=build_alias ;;
1144 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1145 build_alias=$ac_optarg ;;
1147 -cache-file | --cache-file | --cache-fil | --cache-fi \
1148 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1149 ac_prev=cache_file ;;
1150 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1151 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1152 cache_file=$ac_optarg ;;
1154 --config-cache | -C)
1155 cache_file=config.cache ;;
1157 -datadir | --datadir | --datadi | --datad)
1159 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1160 datadir=$ac_optarg ;;
1162 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1163 | --dataroo | --dataro | --datar)
1164 ac_prev=datarootdir ;;
1165 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1166 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1167 datarootdir=$ac_optarg ;;
1169 -disable-* | --disable-*)
1170 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1173 as_fn_error $? "invalid feature name: $ac_useropt"
1174 ac_useropt_orig=$ac_useropt
1175 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176 case $ac_user_opts in
1178 "enable_$ac_useropt"
1180 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1181 ac_unrecognized_sep=', ';;
1183 eval enable_$ac_useropt=no ;;
1185 -docdir | --docdir | --docdi | --doc | --do)
1187 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1188 docdir=$ac_optarg ;;
1190 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1192 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1193 dvidir=$ac_optarg ;;
1195 -enable-* | --enable-*)
1196 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1197 # Reject names that are not valid shell variable names.
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1199 as_fn_error $? "invalid feature name: $ac_useropt"
1200 ac_useropt_orig=$ac_useropt
1201 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 case $ac_user_opts in
1204 "enable_$ac_useropt"
1206 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1207 ac_unrecognized_sep=', ';;
1209 eval enable_$ac_useropt=\$ac_optarg ;;
1211 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1212 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1213 | --exec | --exe | --ex)
1214 ac_prev=exec_prefix ;;
1215 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1216 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1217 | --exec=* | --exe=* | --ex=*)
1218 exec_prefix=$ac_optarg ;;
1220 -gas | --gas | --ga | --g)
1221 # Obsolete; use --with-gas.
1224 -help | --help | --hel | --he | -h)
1225 ac_init_help=long ;;
1226 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1227 ac_init_help=recursive ;;
1228 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1229 ac_init_help=short ;;
1231 -host | --host | --hos | --ho)
1232 ac_prev=host_alias ;;
1233 -host=* | --host=* | --hos=* | --ho=*)
1234 host_alias=$ac_optarg ;;
1236 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1238 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1240 htmldir=$ac_optarg ;;
1242 -includedir | --includedir | --includedi | --included | --include \
1243 | --includ | --inclu | --incl | --inc)
1244 ac_prev=includedir ;;
1245 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1246 | --includ=* | --inclu=* | --incl=* | --inc=*)
1247 includedir=$ac_optarg ;;
1249 -infodir | --infodir | --infodi | --infod | --info | --inf)
1251 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1252 infodir=$ac_optarg ;;
1254 -libdir | --libdir | --libdi | --libd)
1256 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1257 libdir=$ac_optarg ;;
1259 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1260 | --libexe | --libex | --libe)
1261 ac_prev=libexecdir ;;
1262 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1263 | --libexe=* | --libex=* | --libe=*)
1264 libexecdir=$ac_optarg ;;
1266 -localedir | --localedir | --localedi | --localed | --locale)
1267 ac_prev=localedir ;;
1268 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1269 localedir=$ac_optarg ;;
1271 -localstatedir | --localstatedir | --localstatedi | --localstated \
1272 | --localstate | --localstat | --localsta | --localst | --locals)
1273 ac_prev=localstatedir ;;
1274 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1275 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1276 localstatedir=$ac_optarg ;;
1278 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1280 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1281 mandir=$ac_optarg ;;
1283 -nfp | --nfp | --nf)
1284 # Obsolete; use --without-fp.
1287 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1288 | --no-cr | --no-c | -n)
1291 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1292 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1295 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1296 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1297 | --oldin | --oldi | --old | --ol | --o)
1298 ac_prev=oldincludedir ;;
1299 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1300 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1301 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1302 oldincludedir=$ac_optarg ;;
1304 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1306 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1307 prefix=$ac_optarg ;;
1309 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1310 | --program-pre | --program-pr | --program-p)
1311 ac_prev=program_prefix ;;
1312 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1313 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1314 program_prefix=$ac_optarg ;;
1316 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1317 | --program-suf | --program-su | --program-s)
1318 ac_prev=program_suffix ;;
1319 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1320 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1321 program_suffix=$ac_optarg ;;
1323 -program-transform-name | --program-transform-name \
1324 | --program-transform-nam | --program-transform-na \
1325 | --program-transform-n | --program-transform- \
1326 | --program-transform | --program-transfor \
1327 | --program-transfo | --program-transf \
1328 | --program-trans | --program-tran \
1329 | --progr-tra | --program-tr | --program-t)
1330 ac_prev=program_transform_name ;;
1331 -program-transform-name=* | --program-transform-name=* \
1332 | --program-transform-nam=* | --program-transform-na=* \
1333 | --program-transform-n=* | --program-transform-=* \
1334 | --program-transform=* | --program-transfor=* \
1335 | --program-transfo=* | --program-transf=* \
1336 | --program-trans=* | --program-tran=* \
1337 | --progr-tra=* | --program-tr=* | --program-t=*)
1338 program_transform_name=$ac_optarg ;;
1340 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1342 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1343 pdfdir=$ac_optarg ;;
1345 -psdir | --psdir | --psdi | --psd | --ps)
1347 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1350 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1351 | -silent | --silent | --silen | --sile | --sil)
1354 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1356 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1358 sbindir=$ac_optarg ;;
1360 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1361 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1362 | --sharedst | --shareds | --shared | --share | --shar \
1364 ac_prev=sharedstatedir ;;
1365 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1366 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1367 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1369 sharedstatedir=$ac_optarg ;;
1371 -site | --site | --sit)
1373 -site=* | --site=* | --sit=*)
1376 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1378 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1379 srcdir=$ac_optarg ;;
1381 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1382 | --syscon | --sysco | --sysc | --sys | --sy)
1383 ac_prev=sysconfdir ;;
1384 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1385 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1386 sysconfdir=$ac_optarg ;;
1388 -target | --target | --targe | --targ | --tar | --ta | --t)
1389 ac_prev=target_alias ;;
1390 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1391 target_alias=$ac_optarg ;;
1393 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1396 -version | --version | --versio | --versi | --vers | -V)
1397 ac_init_version=: ;;
1400 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1401 # Reject names that are not valid shell variable names.
1402 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1403 as_fn_error $? "invalid package name: $ac_useropt"
1404 ac_useropt_orig=$ac_useropt
1405 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1406 case $ac_user_opts in
1410 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1411 ac_unrecognized_sep=', ';;
1413 eval with_$ac_useropt=\$ac_optarg ;;
1415 -without-* | --without-*)
1416 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1417 # Reject names that are not valid shell variable names.
1418 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1419 as_fn_error $? "invalid package name: $ac_useropt"
1420 ac_useropt_orig=$ac_useropt
1421 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1422 case $ac_user_opts in
1426 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1427 ac_unrecognized_sep=', ';;
1429 eval with_$ac_useropt=no ;;
1432 # Obsolete; use --with-x.
1435 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1436 | --x-incl | --x-inc | --x-in | --x-i)
1437 ac_prev=x_includes ;;
1438 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1439 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1440 x_includes=$ac_optarg ;;
1442 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1443 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1444 ac_prev=x_libraries ;;
1445 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1446 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1447 x_libraries=$ac_optarg ;;
1449 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1450 Try \`$0 --help' for more information"
1454 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1455 # Reject names that are not valid shell variable names.
1456 case $ac_envvar in #(
1457 '' | [0-9]* | *[!_$as_cr_alnum]* )
1458 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1460 eval $ac_envvar=\$ac_optarg
1461 export $ac_envvar ;;
1464 # FIXME: should be removed in autoconf 3.0.
1465 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1466 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1467 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1468 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1474 if test -n "$ac_prev"; then
1475 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1476 as_fn_error $? "missing argument to $ac_option"
1479 if test -n "$ac_unrecognized_opts"; then
1480 case $enable_option_checking in
1482 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1483 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1487 # Check all directory arguments for consistency.
1488 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1489 datadir sysconfdir sharedstatedir localstatedir includedir \
1490 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1491 libdir localedir mandir
1493 eval ac_val=\$$ac_var
1494 # Remove trailing slashes.
1497 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1498 eval $ac_var=\$ac_val;;
1500 # Be sure to have absolute directory names.
1502 [\\/$]* | ?:[\\/]* ) continue;;
1503 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1505 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1508 # There might be people who depend on the old broken behavior: `$host'
1509 # used to hold the argument of --host etc.
1510 # FIXME: To remove some day.
1513 target=$target_alias
1515 # FIXME: To remove some day.
1516 if test "x$host_alias" != x; then
1517 if test "x$build_alias" = x; then
1518 cross_compiling=maybe
1519 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1520 If a cross compiler is detected then cross compile mode will be used" >&2
1521 elif test "x$build_alias" != "x$host_alias"; then
1527 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1529 test "$silent" = yes && exec 6>/dev/null
1532 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1533 ac_ls_di=`ls -di .` &&
1534 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1535 as_fn_error $? "working directory cannot be determined"
1536 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1537 as_fn_error $? "pwd does not report name of working directory"
1540 # Find the source files, if location was not specified.
1541 if test -z "$srcdir"; then
1542 ac_srcdir_defaulted=yes
1543 # Try the directory containing this script, then the parent directory.
1544 ac_confdir=`$as_dirname -- "$as_myself" ||
1545 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1546 X"$as_myself" : 'X\(//\)[^/]' \| \
1547 X"$as_myself" : 'X\(//\)$' \| \
1548 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1549 $as_echo X"$as_myself" |
1550 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1568 if test ! -r "$srcdir/$ac_unique_file"; then
1572 ac_srcdir_defaulted=no
1574 if test ! -r "$srcdir/$ac_unique_file"; then
1575 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1576 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1578 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1580 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1582 # When building in place, set srcdir=.
1583 if test "$ac_abs_confdir" = "$ac_pwd"; then
1586 # Remove unnecessary trailing slashes from srcdir.
1587 # Double slashes in file names in object file debugging info
1588 # mess up M-x gdb in Emacs.
1590 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1592 for ac_var in $ac_precious_vars; do
1593 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1594 eval ac_env_${ac_var}_value=\$${ac_var}
1595 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1596 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1600 # Report the --help message.
1602 if test "$ac_init_help" = "long"; then
1603 # Omit some internal or obsolete options to make the list less imposing.
1604 # This message is too long to be a string in the A/UX 3.1 sh.
1606 \`configure' configures GStreamer 0.10.36 to adapt to many kinds of systems.
1608 Usage: $0 [OPTION]... [VAR=VALUE]...
1610 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1611 VAR=VALUE. See below for descriptions of some of the useful variables.
1613 Defaults for the options are specified in brackets.
1616 -h, --help display this help and exit
1617 --help=short display options specific to this package
1618 --help=recursive display the short help of all the included packages
1619 -V, --version display version information and exit
1620 -q, --quiet, --silent do not print \`checking ...' messages
1621 --cache-file=FILE cache test results in FILE [disabled]
1622 -C, --config-cache alias for \`--cache-file=config.cache'
1623 -n, --no-create do not create output files
1624 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1626 Installation directories:
1627 --prefix=PREFIX install architecture-independent files in PREFIX
1628 [$ac_default_prefix]
1629 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1632 By default, \`make install' will install all the files in
1633 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1634 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1635 for instance \`--prefix=\$HOME'.
1637 For better control, use the options below.
1639 Fine tuning of the installation directories:
1640 --bindir=DIR user executables [EPREFIX/bin]
1641 --sbindir=DIR system admin executables [EPREFIX/sbin]
1642 --libexecdir=DIR program executables [EPREFIX/libexec]
1643 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1644 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1645 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1646 --libdir=DIR object code libraries [EPREFIX/lib]
1647 --includedir=DIR C header files [PREFIX/include]
1648 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1649 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1650 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1651 --infodir=DIR info documentation [DATAROOTDIR/info]
1652 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1653 --mandir=DIR man documentation [DATAROOTDIR/man]
1654 --docdir=DIR documentation root [DATAROOTDIR/doc/gstreamer]
1655 --htmldir=DIR html documentation [DOCDIR]
1656 --dvidir=DIR dvi documentation [DOCDIR]
1657 --pdfdir=DIR pdf documentation [DOCDIR]
1658 --psdir=DIR ps documentation [DOCDIR]
1664 --program-prefix=PREFIX prepend PREFIX to installed program names
1665 --program-suffix=SUFFIX append SUFFIX to installed program names
1666 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1669 --build=BUILD configure for building on BUILD [guessed]
1670 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1674 if test -n "$ac_init_help"; then
1675 case $ac_init_help in
1676 short | recursive ) echo "Configuration of GStreamer 0.10.36:";;
1681 --disable-option-checking ignore unrecognized --enable/--with options
1682 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1683 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1684 --enable-maintainer-mode enable make rules and dependencies not useful
1685 (and sometimes confusing) to the casual installer
1686 --enable-silent-rules less verbose build output (undo: `make V=1')
1687 --disable-silent-rules verbose build output (undo: `make V=0')
1688 --enable-shared[=PKGS] build shared libraries [default=yes]
1689 --enable-static[=PKGS] build static libraries [default=yes]
1690 --enable-fast-install[=PKGS]
1691 optimize for fast installation [default=yes]
1692 --disable-dependency-tracking speeds up one-time build
1693 --enable-dependency-tracking do not reject slow dependency extractors
1694 --disable-libtool-lock avoid locking (might break parallel builds)
1695 --disable-nls do not use Native Language Support
1696 --disable-rpath do not hardcode runtime library paths
1697 --disable-gst-debug disable debugging subsystem
1698 --disable-loadsave disable pipeline XML load/save
1699 --disable-parse disable command-line parser
1700 --disable-option-parsing
1701 disable option parsing when gst_init
1702 --disable-trace disable tracing subsystem
1703 --disable-alloc-trace disable allocation tracing
1704 --disable-registry disable plugin registry
1705 --disable-net disable network distribution
1706 --disable-plugin disable plugin
1707 --disable-debug disable addition of -g debugging info
1708 --enable-profiling adds -pg to compiler commandline, for profiling
1709 --disable-valgrind disable run-time valgrind detection
1710 --enable-gcov compile with coverage profiling instrumentation (gcc
1712 --disable-examples disable building examples
1713 --disable-tests disable building test apps
1714 --disable-failing-tests disable building tests known to fail
1715 --enable-poisoning enable poisoning of deallocated objects
1716 --disable-largefile omit support for large files
1717 --enable-introspection=[no/auto/yes]
1718 Enable introspection for this build
1719 --enable-docbook use docbook to build documentation [default=no]
1720 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1721 --enable-gobject-cast-checks=[no/auto/yes]
1722 Enable GObject cast checks
1723 --enable-glib-asserts=[no/auto/yes]
1724 Enable GLib assertion
1725 --disable-check disable building unit test libraries
1726 --disable-Bsymbolic avoid linking with -Bsymbolic
1729 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1730 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1731 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1733 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1734 --with-sysroot=DIR Search for dependent libraries within DIR
1735 (or the compiler's sysroot if not specified).
1736 --with-autoconf use a different autoconf for regeneration of
1738 --with-autoheader use a different autoheader for regeneration of
1740 --with-automake use a different automake for regeneration of
1742 --with-aclocal use a different aclocal for regeneration of
1744 --with-gnu-ld assume the C compiler uses GNU ld default=no
1745 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1746 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1747 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1748 --without-libintl-prefix don't search for libintl in includedir and libdir
1749 --with-pkg-config-path colon-separated list of pkg-config(1) dirs
1750 --with-package-name specify package name to use in plugins
1751 --with-package-origin specify package origin URL to use in plugins
1752 --with-html-dir=PATH path to installed docs
1753 --with-buffer-alignment 8,N,malloc,pagesize (default is 32)
1755 Some influential environment variables:
1756 CC C compiler command
1757 CFLAGS C compiler flags
1758 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1759 nonstandard directory <lib dir>
1760 LIBS libraries to pass to the linker, e.g. -l<library>
1761 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1762 you have headers in a nonstandard directory <include dir>
1764 PKG_CONFIG path to pkg-config utility
1766 C compiler flags for VALGRIND, overriding pkg-config
1768 linker flags for VALGRIND, overriding pkg-config
1769 CCAS assembler compiler command (defaults to CC)
1770 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1771 CXX C++ compiler command
1772 CXXFLAGS C++ compiler flags
1773 CXXCPP C++ preprocessor
1774 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1775 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1777 C compiler flags for GLIB_ONLY, overriding pkg-config
1779 linker flags for GLIB_ONLY, overriding pkg-config
1780 XML_CFLAGS C compiler flags for XML, overriding pkg-config
1781 XML_LIBS linker flags for XML, overriding pkg-config
1783 Use these variables to override the choices made by `configure' or to help
1784 it to find libraries and programs with nonstandard names/locations.
1786 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
1791 if test "$ac_init_help" = "recursive"; then
1792 # If there are subdirs, report their specific --help.
1793 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1794 test -d "$ac_dir" ||
1795 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1800 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1802 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1803 # A ".." for each directory in $ac_dir_suffix.
1804 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1805 case $ac_top_builddir_sub in
1806 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1807 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1810 ac_abs_top_builddir=$ac_pwd
1811 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1812 # for backward compatibility:
1813 ac_top_builddir=$ac_top_build_prefix
1816 .) # We are building in place.
1818 ac_top_srcdir=$ac_top_builddir_sub
1819 ac_abs_top_srcdir=$ac_pwd ;;
1820 [\\/]* | ?:[\\/]* ) # Absolute name.
1821 ac_srcdir=$srcdir$ac_dir_suffix;
1822 ac_top_srcdir=$srcdir
1823 ac_abs_top_srcdir=$srcdir ;;
1825 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1826 ac_top_srcdir=$ac_top_build_prefix$srcdir
1827 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1829 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1831 cd "$ac_dir" || { ac_status=$?; continue; }
1832 # Check for guested configure.
1833 if test -f "$ac_srcdir/configure.gnu"; then
1835 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1836 elif test -f "$ac_srcdir/configure"; then
1838 $SHELL "$ac_srcdir/configure" --help=recursive
1840 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1842 cd "$ac_pwd" || { ac_status=$?; break; }
1846 test -n "$ac_init_help" && exit $ac_status
1847 if $ac_init_version; then
1849 GStreamer configure 0.10.36
1850 generated by GNU Autoconf 2.68
1852 Copyright (C) 2010 Free Software Foundation, Inc.
1853 This configure script is free software; the Free Software Foundation
1854 gives unlimited permission to copy, distribute and modify it.
1859 ## ------------------------ ##
1860 ## Autoconf initialization. ##
1861 ## ------------------------ ##
1863 # ac_fn_c_try_compile LINENO
1864 # --------------------------
1865 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1866 ac_fn_c_try_compile ()
1868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869 rm -f conftest.$ac_objext
1870 if { { ac_try="$ac_compile"
1872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1873 *) ac_try_echo=$ac_try;;
1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 $as_echo "$ac_try_echo"; } >&5
1877 (eval "$ac_compile") 2>conftest.err
1879 if test -s conftest.err; then
1880 grep -v '^ *+' conftest.err >conftest.er1
1881 cat conftest.er1 >&5
1882 mv -f conftest.er1 conftest.err
1884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1885 test $ac_status = 0; } && {
1886 test -z "$ac_c_werror_flag" ||
1887 test ! -s conftest.err
1888 } && test -s conftest.$ac_objext; then :
1891 $as_echo "$as_me: failed program was:" >&5
1892 sed 's/^/| /' conftest.$ac_ext >&5
1896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1897 as_fn_set_status $ac_retval
1899 } # ac_fn_c_try_compile
1901 # ac_fn_c_try_link LINENO
1902 # -----------------------
1903 # Try to link conftest.$ac_ext, and return whether this succeeded.
1906 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1907 rm -f conftest.$ac_objext conftest$ac_exeext
1908 if { { ac_try="$ac_link"
1910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1911 *) ac_try_echo=$ac_try;;
1913 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1914 $as_echo "$ac_try_echo"; } >&5
1915 (eval "$ac_link") 2>conftest.err
1917 if test -s conftest.err; then
1918 grep -v '^ *+' conftest.err >conftest.er1
1919 cat conftest.er1 >&5
1920 mv -f conftest.er1 conftest.err
1922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1923 test $ac_status = 0; } && {
1924 test -z "$ac_c_werror_flag" ||
1925 test ! -s conftest.err
1926 } && test -s conftest$ac_exeext && {
1927 test "$cross_compiling" = yes ||
1928 $as_test_x conftest$ac_exeext
1932 $as_echo "$as_me: failed program was:" >&5
1933 sed 's/^/| /' conftest.$ac_ext >&5
1937 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1938 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1939 # interfere with the next link command; also delete a directory that is
1940 # left behind by Apple's compiler. We do this before executing the actions.
1941 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1943 as_fn_set_status $ac_retval
1945 } # ac_fn_c_try_link
1947 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1948 # -------------------------------------------------------
1949 # Tests whether HEADER exists and can be compiled using the include files in
1950 # INCLUDES, setting the cache variable VAR accordingly.
1951 ac_fn_c_check_header_compile ()
1953 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1955 $as_echo_n "checking for $2... " >&6; }
1956 if eval \${$3+:} false; then :
1957 $as_echo_n "(cached) " >&6
1959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1960 /* end confdefs.h. */
1964 if ac_fn_c_try_compile "$LINENO"; then :
1969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1973 $as_echo "$ac_res" >&6; }
1974 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1976 } # ac_fn_c_check_header_compile
1978 # ac_fn_c_try_cpp LINENO
1979 # ----------------------
1980 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1983 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1984 if { { ac_try="$ac_cpp conftest.$ac_ext"
1986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1987 *) ac_try_echo=$ac_try;;
1989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1990 $as_echo "$ac_try_echo"; } >&5
1991 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1993 if test -s conftest.err; then
1994 grep -v '^ *+' conftest.err >conftest.er1
1995 cat conftest.er1 >&5
1996 mv -f conftest.er1 conftest.err
1998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1999 test $ac_status = 0; } > conftest.i && {
2000 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2001 test ! -s conftest.err
2005 $as_echo "$as_me: failed program was:" >&5
2006 sed 's/^/| /' conftest.$ac_ext >&5
2010 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2011 as_fn_set_status $ac_retval
2015 # ac_fn_c_try_run LINENO
2016 # ----------------------
2017 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2018 # that executables *can* be run.
2021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022 if { { ac_try="$ac_link"
2024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2025 *) ac_try_echo=$ac_try;;
2027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2028 $as_echo "$ac_try_echo"; } >&5
2029 (eval "$ac_link") 2>&5
2031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2032 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2033 { { case "(($ac_try" in
2034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2035 *) ac_try_echo=$ac_try;;
2037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2038 $as_echo "$ac_try_echo"; } >&5
2039 (eval "$ac_try") 2>&5
2041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2042 test $ac_status = 0; }; }; then :
2045 $as_echo "$as_me: program exited with status $ac_status" >&5
2046 $as_echo "$as_me: failed program was:" >&5
2047 sed 's/^/| /' conftest.$ac_ext >&5
2049 ac_retval=$ac_status
2051 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2052 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2053 as_fn_set_status $ac_retval
2057 # ac_fn_c_check_func LINENO FUNC VAR
2058 # ----------------------------------
2059 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2060 ac_fn_c_check_func ()
2062 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2064 $as_echo_n "checking for $2... " >&6; }
2065 if eval \${$3+:} false; then :
2066 $as_echo_n "(cached) " >&6
2068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069 /* end confdefs.h. */
2070 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2072 #define $2 innocuous_$2
2074 /* System header to define __stub macros and hopefully few prototypes,
2075 which can conflict with char $2 (); below.
2076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2077 <limits.h> exists even on freestanding compilers. */
2080 # include <limits.h>
2082 # include <assert.h>
2087 /* Override any GCC internal prototype to avoid an error.
2088 Use char because int might match the return type of a GCC
2089 builtin and then its argument prototype would still apply. */
2094 /* The GNU C library defines this for functions which it implements
2095 to always fail with ENOSYS. Some functions are actually named
2096 something starting with __ and the normal name is an alias. */
2097 #if defined __stub_$2 || defined __stub___$2
2109 if ac_fn_c_try_link "$LINENO"; then :
2114 rm -f core conftest.err conftest.$ac_objext \
2115 conftest$ac_exeext conftest.$ac_ext
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2119 $as_echo "$ac_res" >&6; }
2120 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2122 } # ac_fn_c_check_func
2124 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2125 # ---------------------------------------------
2126 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2128 ac_fn_c_check_decl ()
2130 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2131 as_decl_name=`echo $2|sed 's/ *(.*//'`
2132 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2134 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2135 if eval \${$3+:} false; then :
2136 $as_echo_n "(cached) " >&6
2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2144 #ifndef $as_decl_name
2146 (void) $as_decl_use;
2148 (void) $as_decl_name;
2156 if ac_fn_c_try_compile "$LINENO"; then :
2161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2165 $as_echo "$ac_res" >&6; }
2166 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2168 } # ac_fn_c_check_decl
2170 # ac_fn_cxx_try_compile LINENO
2171 # ----------------------------
2172 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2173 ac_fn_cxx_try_compile ()
2175 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2176 rm -f conftest.$ac_objext
2177 if { { ac_try="$ac_compile"
2179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2180 *) ac_try_echo=$ac_try;;
2182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2183 $as_echo "$ac_try_echo"; } >&5
2184 (eval "$ac_compile") 2>conftest.err
2186 if test -s conftest.err; then
2187 grep -v '^ *+' conftest.err >conftest.er1
2188 cat conftest.er1 >&5
2189 mv -f conftest.er1 conftest.err
2191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2192 test $ac_status = 0; } && {
2193 test -z "$ac_cxx_werror_flag" ||
2194 test ! -s conftest.err
2195 } && test -s conftest.$ac_objext; then :
2198 $as_echo "$as_me: failed program was:" >&5
2199 sed 's/^/| /' conftest.$ac_ext >&5
2203 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2204 as_fn_set_status $ac_retval
2206 } # ac_fn_cxx_try_compile
2208 # ac_fn_cxx_try_cpp LINENO
2209 # ------------------------
2210 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2211 ac_fn_cxx_try_cpp ()
2213 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2214 if { { ac_try="$ac_cpp conftest.$ac_ext"
2216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2217 *) ac_try_echo=$ac_try;;
2219 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2220 $as_echo "$ac_try_echo"; } >&5
2221 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2223 if test -s conftest.err; then
2224 grep -v '^ *+' conftest.err >conftest.er1
2225 cat conftest.er1 >&5
2226 mv -f conftest.er1 conftest.err
2228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2229 test $ac_status = 0; } > conftest.i && {
2230 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2231 test ! -s conftest.err
2235 $as_echo "$as_me: failed program was:" >&5
2236 sed 's/^/| /' conftest.$ac_ext >&5
2240 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2241 as_fn_set_status $ac_retval
2243 } # ac_fn_cxx_try_cpp
2245 # ac_fn_cxx_try_link LINENO
2246 # -------------------------
2247 # Try to link conftest.$ac_ext, and return whether this succeeded.
2248 ac_fn_cxx_try_link ()
2250 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2251 rm -f conftest.$ac_objext conftest$ac_exeext
2252 if { { ac_try="$ac_link"
2254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2255 *) ac_try_echo=$ac_try;;
2257 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2258 $as_echo "$ac_try_echo"; } >&5
2259 (eval "$ac_link") 2>conftest.err
2261 if test -s conftest.err; then
2262 grep -v '^ *+' conftest.err >conftest.er1
2263 cat conftest.er1 >&5
2264 mv -f conftest.er1 conftest.err
2266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2267 test $ac_status = 0; } && {
2268 test -z "$ac_cxx_werror_flag" ||
2269 test ! -s conftest.err
2270 } && test -s conftest$ac_exeext && {
2271 test "$cross_compiling" = yes ||
2272 $as_test_x conftest$ac_exeext
2276 $as_echo "$as_me: failed program was:" >&5
2277 sed 's/^/| /' conftest.$ac_ext >&5
2281 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2282 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2283 # interfere with the next link command; also delete a directory that is
2284 # left behind by Apple's compiler. We do this before executing the actions.
2285 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2286 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2287 as_fn_set_status $ac_retval
2289 } # ac_fn_cxx_try_link
2291 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2292 # -------------------------------------------------------
2293 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2294 # the include files in INCLUDES and setting the cache variable VAR
2296 ac_fn_c_check_header_mongrel ()
2298 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2299 if eval \${$3+:} false; then :
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2301 $as_echo_n "checking for $2... " >&6; }
2302 if eval \${$3+:} false; then :
2303 $as_echo_n "(cached) " >&6
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2307 $as_echo "$ac_res" >&6; }
2309 # Is the header compilable?
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2311 $as_echo_n "checking $2 usability... " >&6; }
2312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2313 /* end confdefs.h. */
2317 if ac_fn_c_try_compile "$LINENO"; then :
2318 ac_header_compiler=yes
2320 ac_header_compiler=no
2322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2324 $as_echo "$ac_header_compiler" >&6; }
2326 # Is the header present?
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2328 $as_echo_n "checking $2 presence... " >&6; }
2329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2330 /* end confdefs.h. */
2333 if ac_fn_c_try_cpp "$LINENO"; then :
2334 ac_header_preproc=yes
2336 ac_header_preproc=no
2338 rm -f conftest.err conftest.i conftest.$ac_ext
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2340 $as_echo "$ac_header_preproc" >&6; }
2342 # So? What about this header?
2343 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2346 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2348 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2352 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2354 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2356 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2358 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2360 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2361 ( $as_echo "## ------------------------------------------------------------------------ ##
2362 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
2363 ## ------------------------------------------------------------------------ ##"
2364 ) | sed "s/^/$as_me: WARNING: /" >&2
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2368 $as_echo_n "checking for $2... " >&6; }
2369 if eval \${$3+:} false; then :
2370 $as_echo_n "(cached) " >&6
2372 eval "$3=\$ac_header_compiler"
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2376 $as_echo "$ac_res" >&6; }
2378 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2380 } # ac_fn_c_check_header_mongrel
2382 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2383 # -------------------------------------------
2384 # Tests whether TYPE exists after having included INCLUDES, setting cache
2385 # variable VAR accordingly.
2386 ac_fn_c_check_type ()
2388 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2390 $as_echo_n "checking for $2... " >&6; }
2391 if eval \${$3+:} false; then :
2392 $as_echo_n "(cached) " >&6
2395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2396 /* end confdefs.h. */
2407 if ac_fn_c_try_compile "$LINENO"; then :
2408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2409 /* end confdefs.h. */
2420 if ac_fn_c_try_compile "$LINENO"; then :
2425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2431 $as_echo "$ac_res" >&6; }
2432 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2434 } # ac_fn_c_check_type
2436 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2437 # --------------------------------------------
2438 # Tries to find the compile-time value of EXPR in a program that includes
2439 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2441 ac_fn_c_compute_int ()
2443 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2444 if test "$cross_compiling" = yes; then
2445 # Depending upon the size, compute the lo and hi bounds.
2446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2447 /* end confdefs.h. */
2452 static int test_array [1 - 2 * !(($2) >= 0)];
2459 if ac_fn_c_try_compile "$LINENO"; then :
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2468 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2475 if ac_fn_c_try_compile "$LINENO"; then :
2476 ac_hi=$ac_mid; break
2478 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2479 if test $ac_lo -le $ac_mid; then
2483 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2489 /* end confdefs.h. */
2494 static int test_array [1 - 2 * !(($2) < 0)];
2501 if ac_fn_c_try_compile "$LINENO"; then :
2504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2505 /* end confdefs.h. */
2510 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2517 if ac_fn_c_try_compile "$LINENO"; then :
2518 ac_lo=$ac_mid; break
2520 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2521 if test $ac_mid -le $ac_hi; then
2525 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2535 # Binary search between lo and hi bounds.
2536 while test "x$ac_lo" != "x$ac_hi"; do
2537 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2539 /* end confdefs.h. */
2544 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2551 if ac_fn_c_try_compile "$LINENO"; then :
2554 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2559 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2564 /* end confdefs.h. */
2566 static long int longval () { return $2; }
2567 static unsigned long int ulongval () { return $2; }
2574 FILE *f = fopen ("conftest.val", "w");
2579 long int i = longval ();
2582 fprintf (f, "%ld", i);
2586 unsigned long int i = ulongval ();
2589 fprintf (f, "%lu", i);
2591 /* Do not output a trailing newline, as this causes \r\n confusion
2592 on some platforms. */
2593 return ferror (f) || fclose (f) != 0;
2599 if ac_fn_c_try_run "$LINENO"; then :
2600 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2604 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2605 conftest.$ac_objext conftest.beam conftest.$ac_ext
2609 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2610 as_fn_set_status $ac_retval
2612 } # ac_fn_c_compute_int
2613 cat >config.log <<_ACEOF
2614 This file contains any messages produced by compilers while
2615 running configure, to aid debugging if configure makes a mistake.
2617 It was created by GStreamer $as_me 0.10.36, which was
2618 generated by GNU Autoconf 2.68. Invocation command line was
2630 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2631 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2632 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2633 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2634 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2636 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2637 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2639 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2640 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2641 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2642 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2643 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2644 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2645 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2653 test -z "$as_dir" && as_dir=.
2654 $as_echo "PATH: $as_dir"
2670 # Keep a trace of the command line.
2671 # Strip out --no-create and --no-recursion so they do not pile up.
2672 # Strip out --silent because we don't want to record it for future runs.
2673 # Also quote any args containing shell meta-characters.
2674 # Make two passes to allow for proper duplicate-argument suppression.
2678 ac_must_keep_next=false
2684 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2685 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2686 | -silent | --silent | --silen | --sile | --sil)
2689 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2692 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2694 as_fn_append ac_configure_args1 " '$ac_arg'"
2695 if test $ac_must_keep_next = true; then
2696 ac_must_keep_next=false # Got value, back to normal.
2699 *=* | --config-cache | -C | -disable-* | --disable-* \
2700 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2701 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2702 | -with-* | --with-* | -without-* | --without-* | --x)
2703 case "$ac_configure_args0 " in
2704 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2707 -* ) ac_must_keep_next=true ;;
2710 as_fn_append ac_configure_args " '$ac_arg'"
2715 { ac_configure_args0=; unset ac_configure_args0;}
2716 { ac_configure_args1=; unset ac_configure_args1;}
2718 # When interrupted or exit'd, cleanup temporary files, and complete
2719 # config.log. We remove comments because anyway the quotes in there
2720 # would cause problems or look ugly.
2721 # WARNING: Use '\'' to represent an apostrophe within the trap.
2722 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2723 trap 'exit_status=$?
2724 # Save into config.log some information that might help in debugging.
2728 $as_echo "## ---------------- ##
2729 ## Cache variables. ##
2730 ## ---------------- ##"
2732 # The following way of writing the cache mishandles newlines in values,
2734 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2735 eval ac_val=\$$ac_var
2739 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2740 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2743 _ | IFS | as_nl) ;; #(
2744 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2745 *) { eval $ac_var=; unset $ac_var;} ;;
2750 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2751 *${as_nl}ac_space=\ *)
2753 "s/'\''/'\''\\\\'\'''\''/g;
2754 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2757 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2764 $as_echo "## ----------------- ##
2765 ## Output variables. ##
2766 ## ----------------- ##"
2768 for ac_var in $ac_subst_vars
2770 eval ac_val=\$$ac_var
2772 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2774 $as_echo "$ac_var='\''$ac_val'\''"
2778 if test -n "$ac_subst_files"; then
2779 $as_echo "## ------------------- ##
2780 ## File substitutions. ##
2781 ## ------------------- ##"
2783 for ac_var in $ac_subst_files
2785 eval ac_val=\$$ac_var
2787 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2789 $as_echo "$ac_var='\''$ac_val'\''"
2794 if test -s confdefs.h; then
2795 $as_echo "## ----------- ##
2802 test "$ac_signal" != 0 &&
2803 $as_echo "$as_me: caught signal $ac_signal"
2804 $as_echo "$as_me: exit $exit_status"
2806 rm -f core *.core core.conftest.* &&
2807 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2810 for ac_signal in 1 2 13 15; do
2811 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2815 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2816 rm -f -r conftest* confdefs.h
2818 $as_echo "/* confdefs.h */" > confdefs.h
2820 # Predefined preprocessor variables.
2822 cat >>confdefs.h <<_ACEOF
2823 #define PACKAGE_NAME "$PACKAGE_NAME"
2826 cat >>confdefs.h <<_ACEOF
2827 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2830 cat >>confdefs.h <<_ACEOF
2831 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2834 cat >>confdefs.h <<_ACEOF
2835 #define PACKAGE_STRING "$PACKAGE_STRING"
2838 cat >>confdefs.h <<_ACEOF
2839 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2842 cat >>confdefs.h <<_ACEOF
2843 #define PACKAGE_URL "$PACKAGE_URL"
2847 # Let the site file select an alternate cache file if it wants to.
2848 # Prefer an explicitly selected file to automatically selected ones.
2851 if test -n "$CONFIG_SITE"; then
2852 # We do not want a PATH search for config.site.
2853 case $CONFIG_SITE in #((
2854 -*) ac_site_file1=./$CONFIG_SITE;;
2855 */*) ac_site_file1=$CONFIG_SITE;;
2856 *) ac_site_file1=./$CONFIG_SITE;;
2858 elif test "x$prefix" != xNONE; then
2859 ac_site_file1=$prefix/share/config.site
2860 ac_site_file2=$prefix/etc/config.site
2862 ac_site_file1=$ac_default_prefix/share/config.site
2863 ac_site_file2=$ac_default_prefix/etc/config.site
2865 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2867 test "x$ac_site_file" = xNONE && continue
2868 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2870 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2871 sed 's/^/| /' "$ac_site_file" >&5
2873 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2875 as_fn_error $? "failed to load site script $ac_site_file
2876 See \`config.log' for more details" "$LINENO" 5; }
2880 if test -r "$cache_file"; then
2881 # Some versions of bash will fail to source /dev/null (special files
2882 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2883 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2885 $as_echo "$as_me: loading cache $cache_file" >&6;}
2887 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2888 *) . "./$cache_file";;
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2893 $as_echo "$as_me: creating cache $cache_file" >&6;}
2897 gt_needs="$gt_needs "
2898 as_fn_append ac_header_list " stdlib.h"
2899 as_fn_append ac_header_list " unistd.h"
2900 as_fn_append ac_header_list " sys/param.h"
2901 # Check that the precious variables saved in the cache have kept the same
2903 ac_cache_corrupted=false
2904 for ac_var in $ac_precious_vars; do
2905 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2906 eval ac_new_set=\$ac_env_${ac_var}_set
2907 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2908 eval ac_new_val=\$ac_env_${ac_var}_value
2909 case $ac_old_set,$ac_new_set in
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2912 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2913 ac_cache_corrupted=: ;;
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2916 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2917 ac_cache_corrupted=: ;;
2920 if test "x$ac_old_val" != "x$ac_new_val"; then
2921 # differences in whitespace do not lead to failure.
2922 ac_old_val_w=`echo x $ac_old_val`
2923 ac_new_val_w=`echo x $ac_new_val`
2924 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2926 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2927 ac_cache_corrupted=:
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2930 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2931 eval $ac_var=\$ac_old_val
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2934 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2936 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2939 # Pass precious variables to config.status.
2940 if test "$ac_new_set" = set; then
2942 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2943 *) ac_arg=$ac_var=$ac_new_val ;;
2945 case " $ac_configure_args " in
2946 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2947 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2951 if $ac_cache_corrupted; then
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2955 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2956 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2958 ## -------------------- ##
2959 ## Main body of script. ##
2960 ## -------------------- ##
2963 ac_cpp='$CPP $CPPFLAGS'
2964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2973 am__api_version='1.11'
2976 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2977 if test -f "$ac_dir/install-sh"; then
2979 ac_install_sh="$ac_aux_dir/install-sh -c"
2981 elif test -f "$ac_dir/install.sh"; then
2983 ac_install_sh="$ac_aux_dir/install.sh -c"
2985 elif test -f "$ac_dir/shtool"; then
2987 ac_install_sh="$ac_aux_dir/shtool install -c"
2991 if test -z "$ac_aux_dir"; then
2992 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2995 # These three variables are undocumented and unsupported,
2996 # and are intended to be withdrawn in a future Autoconf release.
2997 # They can cause serious problems if a builder's source tree is in a directory
2998 # whose full name contains unusual characters.
2999 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3000 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3001 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3004 # Find a good install program. We prefer a C program (faster),
3005 # so one script is as good as another. But avoid the broken or
3006 # incompatible versions:
3007 # SysV /etc/install, /usr/sbin/install
3008 # SunOS /usr/etc/install
3009 # IRIX /sbin/install
3011 # AmigaOS /C/install, which installs bootblocks on floppy discs
3012 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3013 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3014 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3015 # OS/2's system install, which has a completely different semantic
3016 # ./install, which can be erroneously created by make from ./install.sh.
3017 # Reject install programs that cannot install multiple files.
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3019 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3020 if test -z "$INSTALL"; then
3021 if ${ac_cv_path_install+:} false; then :
3022 $as_echo_n "(cached) " >&6
3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3028 test -z "$as_dir" && as_dir=.
3029 # Account for people who put trailing slashes in PATH elements.
3030 case $as_dir/ in #((
3031 ./ | .// | /[cC]/* | \
3032 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3033 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3036 # OSF1 and SCO ODT 3.0 have their own names for install.
3037 # Don't use installbsd from OSF since it installs stuff as root
3039 for ac_prog in ginstall scoinst install; do
3040 for ac_exec_ext in '' $ac_executable_extensions; do
3041 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3042 if test $ac_prog = install &&
3043 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3044 # AIX install. It has an incompatible calling convention.
3046 elif test $ac_prog = install &&
3047 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3048 # program-specific install script used by HP pwplus--don't use.
3051 rm -rf conftest.one conftest.two conftest.dir
3052 echo one > conftest.one
3053 echo two > conftest.two
3055 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3056 test -s conftest.one && test -s conftest.two &&
3057 test -s conftest.dir/conftest.one &&
3058 test -s conftest.dir/conftest.two
3060 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3073 rm -rf conftest.one conftest.two conftest.dir
3076 if test "${ac_cv_path_install+set}" = set; then
3077 INSTALL=$ac_cv_path_install
3079 # As a last resort, use the slow shell script. Don't cache a
3080 # value for INSTALL within a source directory, because that will
3081 # break other packages using the cache if that directory is
3082 # removed, or if the value is a relative name.
3083 INSTALL=$ac_install_sh
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3087 $as_echo "$INSTALL" >&6; }
3089 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3090 # It thinks the first close brace ends the variable substitution.
3091 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3093 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3095 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3098 $as_echo_n "checking whether build environment is sane... " >&6; }
3101 echo timestamp > conftest.file
3102 # Reject unsafe characters in $srcdir or the absolute working directory
3103 # name. Accept space and tab only in the latter.
3107 *[\\\"\#\$\&\'\`$am_lf]*)
3108 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3111 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3112 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3115 # Do `set' in a subshell so we don't clobber the current shell's
3116 # arguments. Must try -L first in case configure is actually a
3117 # symlink; some systems play weird games with the mod time of symlinks
3118 # (eg FreeBSD returns the mod time of the symlink's containing
3121 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3122 if test "$*" = "X"; then
3124 set X `ls -t "$srcdir/configure" conftest.file`
3127 if test "$*" != "X $srcdir/configure conftest.file" \
3128 && test "$*" != "X conftest.file $srcdir/configure"; then
3130 # If neither matched, then we have a broken ls. This can happen
3131 # if, for instance, CONFIG_SHELL is bash and it inherits a
3132 # broken ls alias from the environment. This has actually
3133 # happened. Such a system could not be considered "sane".
3134 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3135 alias in your environment" "$LINENO" 5
3138 test "$2" = conftest.file
3144 as_fn_error $? "newly created file is older than distributed files!
3145 Check your system clock" "$LINENO" 5
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3148 $as_echo "yes" >&6; }
3149 test "$program_prefix" != NONE &&
3150 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3151 # Use a double $ so make ignores it.
3152 test "$program_suffix" != NONE &&
3153 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3154 # Double any \ or $.
3155 # By default was `s,x,x', remove it if useless.
3156 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3157 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3159 # expand $ac_aux_dir to an absolute path
3160 am_aux_dir=`cd $ac_aux_dir && pwd`
3162 if test x"${MISSING+set}" != xset; then
3165 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3167 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3170 # Use eval to expand $SHELL
3171 if eval "$MISSING --run true"; then
3172 am_missing_run="$MISSING --run "
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3176 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3179 if test x"${install_sh}" != xset; then
3182 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3184 install_sh="\${SHELL} $am_aux_dir/install-sh"
3188 # Installed binaries are usually stripped using `strip' when the user
3189 # run `make install-strip'. However `strip' might not be the right
3190 # tool to use in cross-compilation environments, therefore Automake
3191 # will honor the `STRIP' environment variable to overrule this program.
3192 if test "$cross_compiling" != no; then
3193 if test -n "$ac_tool_prefix"; then
3194 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3195 set dummy ${ac_tool_prefix}strip; ac_word=$2
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3197 $as_echo_n "checking for $ac_word... " >&6; }
3198 if ${ac_cv_prog_STRIP+:} false; then :
3199 $as_echo_n "(cached) " >&6
3201 if test -n "$STRIP"; then
3202 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3208 test -z "$as_dir" && as_dir=.
3209 for ac_exec_ext in '' $ac_executable_extensions; do
3210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3211 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3221 STRIP=$ac_cv_prog_STRIP
3222 if test -n "$STRIP"; then
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3224 $as_echo "$STRIP" >&6; }
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3227 $as_echo "no" >&6; }
3232 if test -z "$ac_cv_prog_STRIP"; then
3234 # Extract the first word of "strip", so it can be a program name with args.
3235 set dummy strip; ac_word=$2
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3237 $as_echo_n "checking for $ac_word... " >&6; }
3238 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3239 $as_echo_n "(cached) " >&6
3241 if test -n "$ac_ct_STRIP"; then
3242 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3248 test -z "$as_dir" && as_dir=.
3249 for ac_exec_ext in '' $ac_executable_extensions; do
3250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3251 ac_cv_prog_ac_ct_STRIP="strip"
3252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3261 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3262 if test -n "$ac_ct_STRIP"; then
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3264 $as_echo "$ac_ct_STRIP" >&6; }
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3267 $as_echo "no" >&6; }
3270 if test "x$ac_ct_STRIP" = x; then
3273 case $cross_compiling:$ac_tool_warned in
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3276 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3277 ac_tool_warned=yes ;;
3282 STRIP="$ac_cv_prog_STRIP"
3286 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3289 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3290 if test -z "$MKDIR_P"; then
3291 if ${ac_cv_path_mkdir+:} false; then :
3292 $as_echo_n "(cached) " >&6
3294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3295 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3298 test -z "$as_dir" && as_dir=.
3299 for ac_prog in mkdir gmkdir; do
3300 for ac_exec_ext in '' $ac_executable_extensions; do
3301 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3302 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3303 'mkdir (GNU coreutils) '* | \
3304 'mkdir (coreutils) '* | \
3305 'mkdir (fileutils) '4.1*)
3306 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3316 test -d ./--version && rmdir ./--version
3317 if test "${ac_cv_path_mkdir+set}" = set; then
3318 MKDIR_P="$ac_cv_path_mkdir -p"
3320 # As a last resort, use the slow shell script. Don't cache a
3321 # value for MKDIR_P within a source directory, because that will
3322 # break other packages using the cache if that directory is
3323 # removed, or if the value is a relative name.
3324 MKDIR_P="$ac_install_sh -d"
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3328 $as_echo "$MKDIR_P" >&6; }
3332 [\\/$]* | ?:[\\/]*) ;;
3333 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3336 for ac_prog in gawk mawk nawk awk
3338 # Extract the first word of "$ac_prog", so it can be a program name with args.
3339 set dummy $ac_prog; ac_word=$2
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3341 $as_echo_n "checking for $ac_word... " >&6; }
3342 if ${ac_cv_prog_AWK+:} false; then :
3343 $as_echo_n "(cached) " >&6
3345 if test -n "$AWK"; then
3346 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3352 test -z "$as_dir" && as_dir=.
3353 for ac_exec_ext in '' $ac_executable_extensions; do
3354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3355 ac_cv_prog_AWK="$ac_prog"
3356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3366 if test -n "$AWK"; then
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3368 $as_echo "$AWK" >&6; }
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3371 $as_echo "no" >&6; }
3375 test -n "$AWK" && break
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3379 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3381 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3382 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3383 $as_echo_n "(cached) " >&6
3385 cat >conftest.make <<\_ACEOF
3388 @echo '@@@%%%=$(MAKE)=@@@%%%'
3390 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3391 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3393 eval ac_cv_prog_make_${ac_make}_set=yes;;
3395 eval ac_cv_prog_make_${ac_make}_set=no;;
3399 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3401 $as_echo "yes" >&6; }
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3405 $as_echo "no" >&6; }
3406 SET_MAKE="MAKE=${MAKE-make}"
3409 rm -rf .tst 2>/dev/null
3410 mkdir .tst 2>/dev/null
3411 if test -d .tst; then
3416 rmdir .tst 2>/dev/null
3418 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3419 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3420 # is not polluted with repeated "-I."
3421 am__isrc=' -I$(srcdir)'
3422 # test to see if srcdir already configured
3423 if test -f $srcdir/config.status; then
3424 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3428 # test whether we have cygpath
3429 if test -z "$CYGPATH_W"; then
3430 if (cygpath --version) >/dev/null 2>/dev/null; then
3431 CYGPATH_W='cygpath -w'
3438 # Define the identity of the package.
3443 cat >>confdefs.h <<_ACEOF
3444 #define PACKAGE "$PACKAGE"
3448 cat >>confdefs.h <<_ACEOF
3449 #define VERSION "$VERSION"
3452 # Some tools Automake needs.
3454 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3457 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3460 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3463 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3466 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3468 # We need awk for the "check" target. The system "awk" is bad on
3470 # Always define AMTAR for backward compatibility. Yes, it's still used
3471 # in the wild :-( We should find a proper way to deprecate it ...
3474 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3482 PACKAGE_VERSION_MAJOR=$(echo 0.10.36 | cut -d'.' -f1)
3483 PACKAGE_VERSION_MINOR=$(echo 0.10.36 | cut -d'.' -f2)
3484 PACKAGE_VERSION_MICRO=$(echo 0.10.36 | cut -d'.' -f3)
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
3493 $as_echo_n "checking nano version... " >&6; }
3495 NANO=$(echo 0.10.36 | cut -d'.' -f4)
3497 if test x"$NANO" = x || test "x$NANO" = "x0" ; then
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
3499 $as_echo "0 (release)" >&6; }
3501 PACKAGE_VERSION_RELEASE=1
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
3505 $as_echo "$NANO" >&6; }
3506 PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
3507 if test "x$NANO" != "x1" ; then
3513 PACKAGE_VERSION_NANO=$NANO
3520 ac_config_headers="$ac_config_headers config.h"
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3525 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3526 # Check whether --enable-maintainer-mode was given.
3527 if test "${enable_maintainer_mode+set}" = set; then :
3528 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3530 USE_MAINTAINER_MODE=no
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3534 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3535 if test $USE_MAINTAINER_MODE = yes; then
3536 MAINTAINER_MODE_TRUE=
3537 MAINTAINER_MODE_FALSE='#'
3539 MAINTAINER_MODE_TRUE='#'
3540 MAINTAINER_MODE_FALSE=
3543 MAINT=$MAINTAINER_MODE_TRUE
3547 # Make sure we can run config.sub.
3548 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3549 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3552 $as_echo_n "checking build system type... " >&6; }
3553 if ${ac_cv_build+:} false; then :
3554 $as_echo_n "(cached) " >&6
3556 ac_build_alias=$build_alias
3557 test "x$ac_build_alias" = x &&
3558 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3559 test "x$ac_build_alias" = x &&
3560 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3561 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3562 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3566 $as_echo "$ac_cv_build" >&6; }
3567 case $ac_cv_build in
3569 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3572 ac_save_IFS=$IFS; IFS='-'
3578 # Remember, the first character of IFS is used to create $*,
3579 # except with old shells:
3582 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3586 $as_echo_n "checking host system type... " >&6; }
3587 if ${ac_cv_host+:} false; then :
3588 $as_echo_n "(cached) " >&6
3590 if test "x$host_alias" = x; then
3591 ac_cv_host=$ac_cv_build
3593 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3594 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3599 $as_echo "$ac_cv_host" >&6; }
3602 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3605 ac_save_IFS=$IFS; IFS='-'
3611 # Remember, the first character of IFS is used to create $*,
3612 # except with old shells:
3615 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3619 # Check whether --enable-silent-rules was given.
3620 if test "${enable_silent_rules+set}" = set; then :
3621 enableval=$enable_silent_rules;
3624 case $enable_silent_rules in
3625 yes) AM_DEFAULT_VERBOSITY=0;;
3626 no) AM_DEFAULT_VERBOSITY=1;;
3627 *) AM_DEFAULT_VERBOSITY=0;;
3629 am_make=${MAKE-make}
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3631 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3632 if ${am_cv_make_support_nested_variables+:} false; then :
3633 $as_echo_n "(cached) " >&6
3635 if $as_echo 'TRUE=$(BAR$(V))
3641 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3642 am_cv_make_support_nested_variables=yes
3644 am_cv_make_support_nested_variables=no
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3648 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3649 if test $am_cv_make_support_nested_variables = yes; then
3651 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3653 AM_V=$AM_DEFAULT_VERBOSITY
3654 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3659 GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
3663 cat >>confdefs.h <<_ACEOF
3664 #define GST_MAJORMINOR "$GST_MAJORMINOR"
3672 GST_LIBVERSION=30:0:30
3678 GST_LT_LDFLAGS="$GST_LT_LDFLAGS -version-info $GST_LIBVERSION"
3681 GST_LT_LDFLAGS="$GST_LT_LDFLAGS -release "
3692 enable_win32_dll=yes
3695 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3696 if test -n "$ac_tool_prefix"; then
3697 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3698 set dummy ${ac_tool_prefix}as; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if ${ac_cv_prog_AS+:} false; then :
3702 $as_echo_n "(cached) " >&6
3704 if test -n "$AS"; then
3705 ac_cv_prog_AS="$AS" # Let the user override the test.
3707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3711 test -z "$as_dir" && as_dir=.
3712 for ac_exec_ext in '' $ac_executable_extensions; do
3713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3714 ac_cv_prog_AS="${ac_tool_prefix}as"
3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3725 if test -n "$AS"; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3727 $as_echo "$AS" >&6; }
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730 $as_echo "no" >&6; }
3735 if test -z "$ac_cv_prog_AS"; then
3737 # Extract the first word of "as", so it can be a program name with args.
3738 set dummy as; ac_word=$2
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3740 $as_echo_n "checking for $ac_word... " >&6; }
3741 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3742 $as_echo_n "(cached) " >&6
3744 if test -n "$ac_ct_AS"; then
3745 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3751 test -z "$as_dir" && as_dir=.
3752 for ac_exec_ext in '' $ac_executable_extensions; do
3753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3754 ac_cv_prog_ac_ct_AS="as"
3755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3764 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3765 if test -n "$ac_ct_AS"; then
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3767 $as_echo "$ac_ct_AS" >&6; }
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3770 $as_echo "no" >&6; }
3773 if test "x$ac_ct_AS" = x; then
3776 case $cross_compiling:$ac_tool_warned in
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3780 ac_tool_warned=yes ;;
3788 if test -n "$ac_tool_prefix"; then
3789 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3790 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3792 $as_echo_n "checking for $ac_word... " >&6; }
3793 if ${ac_cv_prog_DLLTOOL+:} false; then :
3794 $as_echo_n "(cached) " >&6
3796 if test -n "$DLLTOOL"; then
3797 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3803 test -z "$as_dir" && as_dir=.
3804 for ac_exec_ext in '' $ac_executable_extensions; do
3805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3806 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3816 DLLTOOL=$ac_cv_prog_DLLTOOL
3817 if test -n "$DLLTOOL"; then
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3819 $as_echo "$DLLTOOL" >&6; }
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3822 $as_echo "no" >&6; }
3827 if test -z "$ac_cv_prog_DLLTOOL"; then
3828 ac_ct_DLLTOOL=$DLLTOOL
3829 # Extract the first word of "dlltool", so it can be a program name with args.
3830 set dummy dlltool; ac_word=$2
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3832 $as_echo_n "checking for $ac_word... " >&6; }
3833 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3834 $as_echo_n "(cached) " >&6
3836 if test -n "$ac_ct_DLLTOOL"; then
3837 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843 test -z "$as_dir" && as_dir=.
3844 for ac_exec_ext in '' $ac_executable_extensions; do
3845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3846 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3856 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3857 if test -n "$ac_ct_DLLTOOL"; then
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3859 $as_echo "$ac_ct_DLLTOOL" >&6; }
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3862 $as_echo "no" >&6; }
3865 if test "x$ac_ct_DLLTOOL" = x; then
3868 case $cross_compiling:$ac_tool_warned in
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3872 ac_tool_warned=yes ;;
3874 DLLTOOL=$ac_ct_DLLTOOL
3877 DLLTOOL="$ac_cv_prog_DLLTOOL"
3880 if test -n "$ac_tool_prefix"; then
3881 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3882 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3884 $as_echo_n "checking for $ac_word... " >&6; }
3885 if ${ac_cv_prog_OBJDUMP+:} false; then :
3886 $as_echo_n "(cached) " >&6
3888 if test -n "$OBJDUMP"; then
3889 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3895 test -z "$as_dir" && as_dir=.
3896 for ac_exec_ext in '' $ac_executable_extensions; do
3897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3898 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3908 OBJDUMP=$ac_cv_prog_OBJDUMP
3909 if test -n "$OBJDUMP"; then
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3911 $as_echo "$OBJDUMP" >&6; }
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3914 $as_echo "no" >&6; }
3919 if test -z "$ac_cv_prog_OBJDUMP"; then
3920 ac_ct_OBJDUMP=$OBJDUMP
3921 # Extract the first word of "objdump", so it can be a program name with args.
3922 set dummy objdump; ac_word=$2
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3924 $as_echo_n "checking for $ac_word... " >&6; }
3925 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3926 $as_echo_n "(cached) " >&6
3928 if test -n "$ac_ct_OBJDUMP"; then
3929 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3935 test -z "$as_dir" && as_dir=.
3936 for ac_exec_ext in '' $ac_executable_extensions; do
3937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3938 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3948 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3949 if test -n "$ac_ct_OBJDUMP"; then
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3951 $as_echo "$ac_ct_OBJDUMP" >&6; }
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954 $as_echo "no" >&6; }
3957 if test "x$ac_ct_OBJDUMP" = x; then
3960 case $cross_compiling:$ac_tool_warned in
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3964 ac_tool_warned=yes ;;
3966 OBJDUMP=$ac_ct_OBJDUMP
3969 OBJDUMP="$ac_cv_prog_OBJDUMP"
3975 test -z "$AS" && AS=as
3981 test -z "$DLLTOOL" && DLLTOOL=dlltool
3987 test -z "$OBJDUMP" && OBJDUMP=objdump
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3998 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4003 macro_version='2.4.2'
4004 macro_revision='1.3337'
4018 ltmain="$ac_aux_dir/ltmain.sh"
4020 # Backslashify metacharacters that are still active within
4021 # double-quoted strings.
4022 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4024 # Same as above, but do not quote variable references.
4025 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4027 # Sed substitution to delay expansion of an escaped shell variable in a
4028 # double_quote_subst'ed string.
4029 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4031 # Sed substitution to delay expansion of an escaped single quote.
4032 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4034 # Sed substitution to avoid accidental globbing in evaled expressions
4035 no_glob_subst='s/\*/\\\*/g'
4037 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4038 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4039 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4042 $as_echo_n "checking how to print strings... " >&6; }
4043 # Test print first, because it will be a builtin if present.
4044 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4045 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4047 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4050 # Use this function as a fallback that always works.
4051 func_fallback_echo ()
4053 eval 'cat <<_LTECHO_EOF
4057 ECHO='func_fallback_echo'
4060 # func_echo_all arg...
4061 # Invoke $ECHO with all args, space-separated.
4068 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4069 $as_echo "printf" >&6; } ;;
4070 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4071 $as_echo "print -r" >&6; } ;;
4072 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4073 $as_echo "cat" >&6; } ;;
4089 DEPDIR="${am__leading_dot}deps"
4091 ac_config_commands="$ac_config_commands depfiles"
4094 am_make=${MAKE-make}
4095 cat > confinc << 'END'
4097 @echo this is the am__doit target
4100 # If we don't find an include directive, just comment out the code.
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4102 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4106 # First try GNU make style include.
4107 echo "include confinc" > confmf
4108 # Ignore all kinds of additional output from `make'.
4109 case `$am_make -s -f confmf 2> /dev/null` in #(
4110 *the\ am__doit\ target*)
4116 # Now try BSD make style include.
4117 if test "$am__include" = "#"; then
4118 echo '.include "confinc"' > confmf
4119 case `$am_make -s -f confmf 2> /dev/null` in #(
4120 *the\ am__doit\ target*)
4121 am__include=.include
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4130 $as_echo "$_am_result" >&6; }
4131 rm -f confinc confmf
4133 # Check whether --enable-dependency-tracking was given.
4134 if test "${enable_dependency_tracking+set}" = set; then :
4135 enableval=$enable_dependency_tracking;
4138 if test "x$enable_dependency_tracking" != xno; then
4139 am_depcomp="$ac_aux_dir/depcomp"
4143 if test "x$enable_dependency_tracking" != xno; then
4153 ac_cpp='$CPP $CPPFLAGS'
4154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4157 if test -n "$ac_tool_prefix"; then
4158 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4159 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4161 $as_echo_n "checking for $ac_word... " >&6; }
4162 if ${ac_cv_prog_CC+:} false; then :
4163 $as_echo_n "(cached) " >&6
4165 if test -n "$CC"; then
4166 ac_cv_prog_CC="$CC" # Let the user override the test.
4168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4172 test -z "$as_dir" && as_dir=.
4173 for ac_exec_ext in '' $ac_executable_extensions; do
4174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4175 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4186 if test -n "$CC"; then
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4188 $as_echo "$CC" >&6; }
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4191 $as_echo "no" >&6; }
4196 if test -z "$ac_cv_prog_CC"; then
4198 # Extract the first word of "gcc", so it can be a program name with args.
4199 set dummy gcc; ac_word=$2
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4201 $as_echo_n "checking for $ac_word... " >&6; }
4202 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4203 $as_echo_n "(cached) " >&6
4205 if test -n "$ac_ct_CC"; then
4206 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4212 test -z "$as_dir" && as_dir=.
4213 for ac_exec_ext in '' $ac_executable_extensions; do
4214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4215 ac_cv_prog_ac_ct_CC="gcc"
4216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4225 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4226 if test -n "$ac_ct_CC"; then
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4228 $as_echo "$ac_ct_CC" >&6; }
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4231 $as_echo "no" >&6; }
4234 if test "x$ac_ct_CC" = x; then
4237 case $cross_compiling:$ac_tool_warned in
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4241 ac_tool_warned=yes ;;
4249 if test -z "$CC"; then
4250 if test -n "$ac_tool_prefix"; then
4251 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4252 set dummy ${ac_tool_prefix}cc; ac_word=$2
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4254 $as_echo_n "checking for $ac_word... " >&6; }
4255 if ${ac_cv_prog_CC+:} false; then :
4256 $as_echo_n "(cached) " >&6
4258 if test -n "$CC"; then
4259 ac_cv_prog_CC="$CC" # Let the user override the test.
4261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4265 test -z "$as_dir" && as_dir=.
4266 for ac_exec_ext in '' $ac_executable_extensions; do
4267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4268 ac_cv_prog_CC="${ac_tool_prefix}cc"
4269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4279 if test -n "$CC"; then
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4281 $as_echo "$CC" >&6; }
4283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4284 $as_echo "no" >&6; }
4290 if test -z "$CC"; then
4291 # Extract the first word of "cc", so it can be a program name with args.
4292 set dummy cc; ac_word=$2
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4294 $as_echo_n "checking for $ac_word... " >&6; }
4295 if ${ac_cv_prog_CC+:} false; then :
4296 $as_echo_n "(cached) " >&6
4298 if test -n "$CC"; then
4299 ac_cv_prog_CC="$CC" # Let the user override the test.
4302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4306 test -z "$as_dir" && as_dir=.
4307 for ac_exec_ext in '' $ac_executable_extensions; do
4308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4309 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4310 ac_prog_rejected=yes
4314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4321 if test $ac_prog_rejected = yes; then
4322 # We found a bogon in the path, so make sure we never use it.
4323 set dummy $ac_cv_prog_CC
4325 if test $# != 0; then
4326 # We chose a different compiler from the bogus one.
4327 # However, it has the same basename, so the bogon will be chosen
4328 # first if we set CC to just the basename; use the full file name.
4330 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4336 if test -n "$CC"; then
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4338 $as_echo "$CC" >&6; }
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4341 $as_echo "no" >&6; }
4346 if test -z "$CC"; then
4347 if test -n "$ac_tool_prefix"; then
4348 for ac_prog in cl.exe
4350 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4351 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if ${ac_cv_prog_CC+:} false; then :
4355 $as_echo_n "(cached) " >&6
4357 if test -n "$CC"; then
4358 ac_cv_prog_CC="$CC" # Let the user override the test.
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4367 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4378 if test -n "$CC"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4380 $as_echo "$CC" >&6; }
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4387 test -n "$CC" && break
4390 if test -z "$CC"; then
4392 for ac_prog in cl.exe
4394 # Extract the first word of "$ac_prog", so it can be a program name with args.
4395 set dummy $ac_prog; ac_word=$2
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4397 $as_echo_n "checking for $ac_word... " >&6; }
4398 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4399 $as_echo_n "(cached) " >&6
4401 if test -n "$ac_ct_CC"; then
4402 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4408 test -z "$as_dir" && as_dir=.
4409 for ac_exec_ext in '' $ac_executable_extensions; do
4410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4411 ac_cv_prog_ac_ct_CC="$ac_prog"
4412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4421 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4422 if test -n "$ac_ct_CC"; then
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4424 $as_echo "$ac_ct_CC" >&6; }
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4427 $as_echo "no" >&6; }
4431 test -n "$ac_ct_CC" && break
4434 if test "x$ac_ct_CC" = x; then
4437 case $cross_compiling:$ac_tool_warned in
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4441 ac_tool_warned=yes ;;
4450 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4452 as_fn_error $? "no acceptable C compiler found in \$PATH
4453 See \`config.log' for more details" "$LINENO" 5; }
4455 # Provide some information about the compiler.
4456 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4459 for ac_option in --version -v -V -qversion; do
4460 { { ac_try="$ac_compiler $ac_option >&5"
4462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4463 *) ac_try_echo=$ac_try;;
4465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4466 $as_echo "$ac_try_echo"; } >&5
4467 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4469 if test -s conftest.err; then
4471 ... rest of stderr output deleted ...
4472 10q' conftest.err >conftest.er1
4473 cat conftest.er1 >&5
4475 rm -f conftest.er1 conftest.err
4476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4477 test $ac_status = 0; }
4480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h. */
4491 ac_clean_files_save=$ac_clean_files
4492 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4493 # Try to create an executable without -o first, disregard a.out.
4494 # It will help us diagnose broken compilers, and finding out an intuition
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4497 $as_echo_n "checking whether the C compiler works... " >&6; }
4498 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4500 # The possible output files:
4501 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4504 for ac_file in $ac_files
4507 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4508 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4513 if { { ac_try="$ac_link_default"
4515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4516 *) ac_try_echo=$ac_try;;
4518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4519 $as_echo "$ac_try_echo"; } >&5
4520 (eval "$ac_link_default") 2>&5
4522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4523 test $ac_status = 0; }; then :
4524 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4525 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4526 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4527 # so that the user can short-circuit this test for compilers unknown to
4529 for ac_file in $ac_files ''
4531 test -f "$ac_file" || continue
4533 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4536 # We found the default executable, but exeext='' is most
4540 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4542 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4544 # We set ac_cv_exeext here because the later test for it is not
4545 # safe: cross compilers may not add the suffix if given an `-o'
4546 # argument, so we may need to know it at that point already.
4547 # Even if this section looks crufty: it has the advantage of
4554 test "$ac_cv_exeext" = no && ac_cv_exeext=
4559 if test -z "$ac_file"; then :
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4561 $as_echo "no" >&6; }
4562 $as_echo "$as_me: failed program was:" >&5
4563 sed 's/^/| /' conftest.$ac_ext >&5
4565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4567 as_fn_error 77 "C compiler cannot create executables
4568 See \`config.log' for more details" "$LINENO" 5; }
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4571 $as_echo "yes" >&6; }
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4574 $as_echo_n "checking for C compiler default output file name... " >&6; }
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4576 $as_echo "$ac_file" >&6; }
4577 ac_exeext=$ac_cv_exeext
4579 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4580 ac_clean_files=$ac_clean_files_save
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4582 $as_echo_n "checking for suffix of executables... " >&6; }
4583 if { { ac_try="$ac_link"
4585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4586 *) ac_try_echo=$ac_try;;
4588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4589 $as_echo "$ac_try_echo"; } >&5
4590 (eval "$ac_link") 2>&5
4592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4593 test $ac_status = 0; }; then :
4594 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4595 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4596 # work properly (i.e., refer to `conftest.exe'), while it won't with
4598 for ac_file in conftest.exe conftest conftest.*; do
4599 test -f "$ac_file" || continue
4601 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4602 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4610 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4611 See \`config.log' for more details" "$LINENO" 5; }
4613 rm -f conftest conftest$ac_cv_exeext
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4615 $as_echo "$ac_cv_exeext" >&6; }
4617 rm -f conftest.$ac_ext
4618 EXEEXT=$ac_cv_exeext
4620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4621 /* end confdefs.h. */
4626 FILE *f = fopen ("conftest.out", "w");
4627 return ferror (f) || fclose (f) != 0;
4633 ac_clean_files="$ac_clean_files conftest.out"
4634 # Check that the compiler produces executables we can run. If not, either
4635 # the compiler is broken, or we cross compile.
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4637 $as_echo_n "checking whether we are cross compiling... " >&6; }
4638 if test "$cross_compiling" != yes; then
4639 { { ac_try="$ac_link"
4641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4642 *) ac_try_echo=$ac_try;;
4644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4645 $as_echo "$ac_try_echo"; } >&5
4646 (eval "$ac_link") 2>&5
4648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4649 test $ac_status = 0; }
4650 if { ac_try='./conftest$ac_cv_exeext'
4651 { { case "(($ac_try" in
4652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4653 *) ac_try_echo=$ac_try;;
4655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4656 $as_echo "$ac_try_echo"; } >&5
4657 (eval "$ac_try") 2>&5
4659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4660 test $ac_status = 0; }; }; then
4663 if test "$cross_compiling" = maybe; then
4666 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4668 as_fn_error $? "cannot run C compiled programs.
4669 If you meant to cross compile, use \`--host'.
4670 See \`config.log' for more details" "$LINENO" 5; }
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4675 $as_echo "$cross_compiling" >&6; }
4677 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4678 ac_clean_files=$ac_clean_files_save
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4680 $as_echo_n "checking for suffix of object files... " >&6; }
4681 if ${ac_cv_objext+:} false; then :
4682 $as_echo_n "(cached) " >&6
4684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4685 /* end confdefs.h. */
4695 rm -f conftest.o conftest.obj
4696 if { { ac_try="$ac_compile"
4698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4699 *) ac_try_echo=$ac_try;;
4701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4702 $as_echo "$ac_try_echo"; } >&5
4703 (eval "$ac_compile") 2>&5
4705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4706 test $ac_status = 0; }; then :
4707 for ac_file in conftest.o conftest.obj conftest.*; do
4708 test -f "$ac_file" || continue;
4710 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4711 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4716 $as_echo "$as_me: failed program was:" >&5
4717 sed 's/^/| /' conftest.$ac_ext >&5
4719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4721 as_fn_error $? "cannot compute suffix of object files: cannot compile
4722 See \`config.log' for more details" "$LINENO" 5; }
4724 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4727 $as_echo "$ac_cv_objext" >&6; }
4728 OBJEXT=$ac_cv_objext
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4731 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4732 if ${ac_cv_c_compiler_gnu+:} false; then :
4733 $as_echo_n "(cached) " >&6
4735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4736 /* end confdefs.h. */
4749 if ac_fn_c_try_compile "$LINENO"; then :
4754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4755 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4759 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4760 if test $ac_compiler_gnu = yes; then
4765 ac_test_CFLAGS=${CFLAGS+set}
4766 ac_save_CFLAGS=$CFLAGS
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4768 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4769 if ${ac_cv_prog_cc_g+:} false; then :
4770 $as_echo_n "(cached) " >&6
4772 ac_save_c_werror_flag=$ac_c_werror_flag
4773 ac_c_werror_flag=yes
4776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4777 /* end confdefs.h. */
4787 if ac_fn_c_try_compile "$LINENO"; then :
4791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h. */
4802 if ac_fn_c_try_compile "$LINENO"; then :
4805 ac_c_werror_flag=$ac_save_c_werror_flag
4807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4818 if ac_fn_c_try_compile "$LINENO"; then :
4821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4826 ac_c_werror_flag=$ac_save_c_werror_flag
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4829 $as_echo "$ac_cv_prog_cc_g" >&6; }
4830 if test "$ac_test_CFLAGS" = set; then
4831 CFLAGS=$ac_save_CFLAGS
4832 elif test $ac_cv_prog_cc_g = yes; then
4833 if test "$GCC" = yes; then
4839 if test "$GCC" = yes; then
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4846 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4847 if ${ac_cv_prog_cc_c89+:} false; then :
4848 $as_echo_n "(cached) " >&6
4850 ac_cv_prog_cc_c89=no
4852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4853 /* end confdefs.h. */
4856 #include <sys/types.h>
4857 #include <sys/stat.h>
4858 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4859 struct buf { int x; };
4860 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4861 static char *e (p, i)
4867 static char *f (char * (*g) (char **, int), char **p, ...)
4872 s = g (p, va_arg (v,int));
4877 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4878 function prototypes and stuff, but not '\xHH' hex character constants.
4879 These don't provoke an error unfortunately, instead are silently treated
4880 as 'x'. The following induces an error, until -std is added to get
4881 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4882 array size at least. It's necessary to write '\x00'==0 to get something
4883 that's true only with -std. */
4884 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4886 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4887 inside strings and character constants. */
4889 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4891 int test (int i, double x);
4892 struct s1 {int (*f) (int a);};
4893 struct s2 {int (*f) (double a);};
4894 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4900 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4905 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4906 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4908 CC="$ac_save_CC $ac_arg"
4909 if ac_fn_c_try_compile "$LINENO"; then :
4910 ac_cv_prog_cc_c89=$ac_arg
4912 rm -f core conftest.err conftest.$ac_objext
4913 test "x$ac_cv_prog_cc_c89" != "xno" && break
4915 rm -f conftest.$ac_ext
4920 case "x$ac_cv_prog_cc_c89" in
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4923 $as_echo "none needed" >&6; } ;;
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4926 $as_echo "unsupported" >&6; } ;;
4928 CC="$CC $ac_cv_prog_cc_c89"
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4930 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4932 if test "x$ac_cv_prog_cc_c89" != xno; then :
4937 ac_cpp='$CPP $CPPFLAGS'
4938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4942 depcc="$CC" am_compiler_list=
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4945 $as_echo_n "checking dependency style of $depcc... " >&6; }
4946 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4947 $as_echo_n "(cached) " >&6
4949 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4950 # We make a subdir and do the tests there. Otherwise we can end up
4951 # making bogus files that we don't know about and never remove. For
4952 # instance it was reported that on HP-UX the gcc test will end up
4953 # making a dummy file named `D' -- because `-MD' means `put the output
4957 # Copy depcomp to subdir because otherwise we won't find it if we're
4958 # using a relative directory.
4959 cp "$am_depcomp" conftest.dir
4961 # We will build objects and dependencies in a subdirectory because
4962 # it helps to detect inapplicable dependency modes. For instance
4963 # both Tru64's cc and ICC support -MD to output dependencies as a
4964 # side effect of compilation, but ICC will put the dependencies in
4965 # the current directory while Tru64 will put them in the object
4969 am_cv_CC_dependencies_compiler_type=none
4970 if test "$am_compiler_list" = ""; then
4971 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4974 case " $depcc " in #(
4975 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4978 for depmode in $am_compiler_list; do
4979 # Setup a source with many dependencies, because some compilers
4980 # like to wrap large dependency lists on column 80 (with \), and
4981 # we should not choose a depcomp mode which is confused by this.
4983 # We need to recreate these files for each test, as the compiler may
4984 # overwrite some of them when testing with obscure command lines.
4985 # This happens at least with the AIX C compiler.
4987 for i in 1 2 3 4 5 6; do
4988 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4989 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4990 # Solaris 8's {/usr,}/bin/sh.
4991 touch sub/conftst$i.h
4993 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4995 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4996 # mode. It turns out that the SunPro C++ compiler does not properly
4997 # handle `-M -o', and we need to detect this. Also, some Intel
4998 # versions had trouble with output in subdirs
4999 am__obj=sub/conftest.${OBJEXT-o}
5000 am__minus_obj="-o $am__obj"
5003 # This depmode causes a compiler race in universal mode.
5004 test "$am__universal" = false || continue
5007 # after this tag, mechanisms are not by side-effect, so they'll
5008 # only be used when explicitly requested
5009 if test "x$enable_dependency_tracking" = xyes; then
5015 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5016 # This compiler won't grok `-c -o', but also, the minuso test has
5017 # not run yet. These depmodes are late enough in the game, and
5018 # so weak that their functioning should not be impacted.
5019 am__obj=conftest.${OBJEXT-o}
5024 if depmode=$depmode \
5025 source=sub/conftest.c object=$am__obj \
5026 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5027 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5028 >/dev/null 2>conftest.err &&
5029 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5030 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5031 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5032 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5033 # icc doesn't choke on unknown options, it will just issue warnings
5034 # or remarks (even with -Werror). So we grep stderr for any message
5035 # that says an option was ignored or not supported.
5036 # When given -MP, icc 7.0 and 7.1 complain thusly:
5037 # icc: Command line warning: ignoring option '-M'; no argument required
5038 # The diagnosis changed in icc 8.0:
5039 # icc: Command line remark: option '-MP' not supported
5040 if (grep 'ignoring option' conftest.err ||
5041 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5042 am_cv_CC_dependencies_compiler_type=$depmode
5051 am_cv_CC_dependencies_compiler_type=none
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5056 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5057 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5060 test "x$enable_dependency_tracking" != xno \
5061 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5063 am__fastdepCC_FALSE='#'
5065 am__fastdepCC_TRUE='#'
5066 am__fastdepCC_FALSE=
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5071 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5072 if ${ac_cv_path_SED+:} false; then :
5073 $as_echo_n "(cached) " >&6
5075 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5076 for ac_i in 1 2 3 4 5 6 7; do
5077 ac_script="$ac_script$as_nl$ac_script"
5079 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5080 { ac_script=; unset ac_script;}
5081 if test -z "$SED"; then
5082 ac_path_SED_found=false
5083 # Loop through the user's path and test for each of PROGNAME-LIST
5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088 test -z "$as_dir" && as_dir=.
5089 for ac_prog in sed gsed; do
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5092 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5093 # Check for GNU ac_path_SED and select it if it is found.
5094 # Check for GNU $ac_path_SED
5095 case `"$ac_path_SED" --version 2>&1` in
5097 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5100 $as_echo_n 0123456789 >"conftest.in"
5103 cat "conftest.in" "conftest.in" >"conftest.tmp"
5104 mv "conftest.tmp" "conftest.in"
5105 cp "conftest.in" "conftest.nl"
5106 $as_echo '' >> "conftest.nl"
5107 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5108 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5109 as_fn_arith $ac_count + 1 && ac_count=$as_val
5110 if test $ac_count -gt ${ac_path_SED_max-0}; then
5111 # Best one so far, save it but keep looking for a better one
5112 ac_cv_path_SED="$ac_path_SED"
5113 ac_path_SED_max=$ac_count
5115 # 10*(2^10) chars as input seems more than enough
5116 test $ac_count -gt 10 && break
5118 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5121 $ac_path_SED_found && break 3
5126 if test -z "$ac_cv_path_SED"; then
5127 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5135 $as_echo "$ac_cv_path_SED" >&6; }
5136 SED="$ac_cv_path_SED"
5139 test -z "$SED" && SED=sed
5140 Xsed="$SED -e 1s/^X//"
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5153 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5154 if ${ac_cv_path_GREP+:} false; then :
5155 $as_echo_n "(cached) " >&6
5157 if test -z "$GREP"; then
5158 ac_path_GREP_found=false
5159 # Loop through the user's path and test for each of PROGNAME-LIST
5160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5161 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5164 test -z "$as_dir" && as_dir=.
5165 for ac_prog in grep ggrep; do
5166 for ac_exec_ext in '' $ac_executable_extensions; do
5167 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5168 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5169 # Check for GNU ac_path_GREP and select it if it is found.
5170 # Check for GNU $ac_path_GREP
5171 case `"$ac_path_GREP" --version 2>&1` in
5173 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5176 $as_echo_n 0123456789 >"conftest.in"
5179 cat "conftest.in" "conftest.in" >"conftest.tmp"
5180 mv "conftest.tmp" "conftest.in"
5181 cp "conftest.in" "conftest.nl"
5182 $as_echo 'GREP' >> "conftest.nl"
5183 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5184 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5185 as_fn_arith $ac_count + 1 && ac_count=$as_val
5186 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5187 # Best one so far, save it but keep looking for a better one
5188 ac_cv_path_GREP="$ac_path_GREP"
5189 ac_path_GREP_max=$ac_count
5191 # 10*(2^10) chars as input seems more than enough
5192 test $ac_count -gt 10 && break
5194 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5197 $ac_path_GREP_found && break 3
5202 if test -z "$ac_cv_path_GREP"; then
5203 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5206 ac_cv_path_GREP=$GREP
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5211 $as_echo "$ac_cv_path_GREP" >&6; }
5212 GREP="$ac_cv_path_GREP"
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5216 $as_echo_n "checking for egrep... " >&6; }
5217 if ${ac_cv_path_EGREP+:} false; then :
5218 $as_echo_n "(cached) " >&6
5220 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5221 then ac_cv_path_EGREP="$GREP -E"
5223 if test -z "$EGREP"; then
5224 ac_path_EGREP_found=false
5225 # Loop through the user's path and test for each of PROGNAME-LIST
5226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5227 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5230 test -z "$as_dir" && as_dir=.
5231 for ac_prog in egrep; do
5232 for ac_exec_ext in '' $ac_executable_extensions; do
5233 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5234 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5235 # Check for GNU ac_path_EGREP and select it if it is found.
5236 # Check for GNU $ac_path_EGREP
5237 case `"$ac_path_EGREP" --version 2>&1` in
5239 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5242 $as_echo_n 0123456789 >"conftest.in"
5245 cat "conftest.in" "conftest.in" >"conftest.tmp"
5246 mv "conftest.tmp" "conftest.in"
5247 cp "conftest.in" "conftest.nl"
5248 $as_echo 'EGREP' >> "conftest.nl"
5249 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5250 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5251 as_fn_arith $ac_count + 1 && ac_count=$as_val
5252 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5253 # Best one so far, save it but keep looking for a better one
5254 ac_cv_path_EGREP="$ac_path_EGREP"
5255 ac_path_EGREP_max=$ac_count
5257 # 10*(2^10) chars as input seems more than enough
5258 test $ac_count -gt 10 && break
5260 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5263 $ac_path_EGREP_found && break 3
5268 if test -z "$ac_cv_path_EGREP"; then
5269 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5272 ac_cv_path_EGREP=$EGREP
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5278 $as_echo "$ac_cv_path_EGREP" >&6; }
5279 EGREP="$ac_cv_path_EGREP"
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5283 $as_echo_n "checking for fgrep... " >&6; }
5284 if ${ac_cv_path_FGREP+:} false; then :
5285 $as_echo_n "(cached) " >&6
5287 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5288 then ac_cv_path_FGREP="$GREP -F"
5290 if test -z "$FGREP"; then
5291 ac_path_FGREP_found=false
5292 # Loop through the user's path and test for each of PROGNAME-LIST
5293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5294 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5297 test -z "$as_dir" && as_dir=.
5298 for ac_prog in fgrep; do
5299 for ac_exec_ext in '' $ac_executable_extensions; do
5300 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5301 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5302 # Check for GNU ac_path_FGREP and select it if it is found.
5303 # Check for GNU $ac_path_FGREP
5304 case `"$ac_path_FGREP" --version 2>&1` in
5306 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5309 $as_echo_n 0123456789 >"conftest.in"
5312 cat "conftest.in" "conftest.in" >"conftest.tmp"
5313 mv "conftest.tmp" "conftest.in"
5314 cp "conftest.in" "conftest.nl"
5315 $as_echo 'FGREP' >> "conftest.nl"
5316 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5317 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5318 as_fn_arith $ac_count + 1 && ac_count=$as_val
5319 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5320 # Best one so far, save it but keep looking for a better one
5321 ac_cv_path_FGREP="$ac_path_FGREP"
5322 ac_path_FGREP_max=$ac_count
5324 # 10*(2^10) chars as input seems more than enough
5325 test $ac_count -gt 10 && break
5327 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5330 $ac_path_FGREP_found && break 3
5335 if test -z "$ac_cv_path_FGREP"; then
5336 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5339 ac_cv_path_FGREP=$FGREP
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5345 $as_echo "$ac_cv_path_FGREP" >&6; }
5346 FGREP="$ac_cv_path_FGREP"
5349 test -z "$GREP" && GREP=grep
5369 # Check whether --with-gnu-ld was given.
5370 if test "${with_gnu_ld+set}" = set; then :
5371 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5377 if test "$GCC" = yes; then
5378 # Check if gcc -print-prog-name=ld gives a path.
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5380 $as_echo_n "checking for ld used by $CC... " >&6; }
5383 # gcc leaves a trailing carriage return which upsets mingw
5384 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5386 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5389 # Accept absolute paths.
5391 re_direlt='/[^/][^/]*/\.\./'
5392 # Canonicalize the pathname of ld
5393 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5394 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5395 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5397 test -z "$LD" && LD="$ac_prog"
5400 # If it fails, then pretend we aren't using GCC.
5404 # If it is relative, then search for the first ld in PATH.
5408 elif test "$with_gnu_ld" = yes; then
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5410 $as_echo_n "checking for GNU ld... " >&6; }
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5413 $as_echo_n "checking for non-GNU ld... " >&6; }
5415 if ${lt_cv_path_LD+:} false; then :
5416 $as_echo_n "(cached) " >&6
5418 if test -z "$LD"; then
5419 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5420 for ac_dir in $PATH; do
5422 test -z "$ac_dir" && ac_dir=.
5423 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5424 lt_cv_path_LD="$ac_dir/$ac_prog"
5425 # Check to see if the program is GNU ld. I'd rather use --version,
5426 # but apparently some variants of GNU ld only accept -v.
5427 # Break only if it was the GNU/non-GNU ld that we prefer.
5428 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5429 *GNU* | *'with BFD'*)
5430 test "$with_gnu_ld" != no && break
5433 test "$with_gnu_ld" != yes && break
5440 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5445 if test -n "$LD"; then
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5447 $as_echo "$LD" >&6; }
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450 $as_echo "no" >&6; }
5452 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5454 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5455 if ${lt_cv_prog_gnu_ld+:} false; then :
5456 $as_echo_n "(cached) " >&6
5458 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5459 case `$LD -v 2>&1 </dev/null` in
5460 *GNU* | *'with BFD'*)
5461 lt_cv_prog_gnu_ld=yes
5464 lt_cv_prog_gnu_ld=no
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5469 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5470 with_gnu_ld=$lt_cv_prog_gnu_ld
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5481 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5482 if ${lt_cv_path_NM+:} false; then :
5483 $as_echo_n "(cached) " >&6
5485 if test -n "$NM"; then
5486 # Let the user override the test.
5489 lt_nm_to_check="${ac_tool_prefix}nm"
5490 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5491 lt_nm_to_check="$lt_nm_to_check nm"
5493 for lt_tmp_nm in $lt_nm_to_check; do
5494 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5495 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5497 test -z "$ac_dir" && ac_dir=.
5498 tmp_nm="$ac_dir/$lt_tmp_nm"
5499 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5500 # Check to see if the nm accepts a BSD-compat flag.
5501 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5502 # nm: unknown option "B" ignored
5503 # Tru64's nm complains that /dev/null is an invalid object file
5504 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5505 */dev/null* | *'Invalid file or object type'*)
5506 lt_cv_path_NM="$tmp_nm -B"
5510 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5512 lt_cv_path_NM="$tmp_nm -p"
5516 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5517 continue # so that we can try to find one that supports BSD flags
5526 : ${lt_cv_path_NM=no}
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5530 $as_echo "$lt_cv_path_NM" >&6; }
5531 if test "$lt_cv_path_NM" != "no"; then
5534 # Didn't find any BSD compatible name lister, look for dumpbin.
5535 if test -n "$DUMPBIN"; then :
5536 # Let the user override the test.
5538 if test -n "$ac_tool_prefix"; then
5539 for ac_prog in dumpbin "link -dump"
5541 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5542 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5544 $as_echo_n "checking for $ac_word... " >&6; }
5545 if ${ac_cv_prog_DUMPBIN+:} false; then :
5546 $as_echo_n "(cached) " >&6
5548 if test -n "$DUMPBIN"; then
5549 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5555 test -z "$as_dir" && as_dir=.
5556 for ac_exec_ext in '' $ac_executable_extensions; do
5557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5558 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5568 DUMPBIN=$ac_cv_prog_DUMPBIN
5569 if test -n "$DUMPBIN"; then
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5571 $as_echo "$DUMPBIN" >&6; }
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5574 $as_echo "no" >&6; }
5578 test -n "$DUMPBIN" && break
5581 if test -z "$DUMPBIN"; then
5582 ac_ct_DUMPBIN=$DUMPBIN
5583 for ac_prog in dumpbin "link -dump"
5585 # Extract the first word of "$ac_prog", so it can be a program name with args.
5586 set dummy $ac_prog; ac_word=$2
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5588 $as_echo_n "checking for $ac_word... " >&6; }
5589 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5590 $as_echo_n "(cached) " >&6
5592 if test -n "$ac_ct_DUMPBIN"; then
5593 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5599 test -z "$as_dir" && as_dir=.
5600 for ac_exec_ext in '' $ac_executable_extensions; do
5601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5602 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5612 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5613 if test -n "$ac_ct_DUMPBIN"; then
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5615 $as_echo "$ac_ct_DUMPBIN" >&6; }
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5618 $as_echo "no" >&6; }
5622 test -n "$ac_ct_DUMPBIN" && break
5625 if test "x$ac_ct_DUMPBIN" = x; then
5628 case $cross_compiling:$ac_tool_warned in
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5632 ac_tool_warned=yes ;;
5634 DUMPBIN=$ac_ct_DUMPBIN
5638 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5640 DUMPBIN="$DUMPBIN -symbols"
5648 if test "$DUMPBIN" != ":"; then
5652 test -z "$NM" && NM=nm
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5660 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5661 if ${lt_cv_nm_interface+:} false; then :
5662 $as_echo_n "(cached) " >&6
5664 lt_cv_nm_interface="BSD nm"
5665 echo "int some_variable = 0;" > conftest.$ac_ext
5666 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5667 (eval "$ac_compile" 2>conftest.err)
5668 cat conftest.err >&5
5669 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5670 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5671 cat conftest.err >&5
5672 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5673 cat conftest.out >&5
5674 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5675 lt_cv_nm_interface="MS dumpbin"
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5680 $as_echo "$lt_cv_nm_interface" >&6; }
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5683 $as_echo_n "checking whether ln -s works... " >&6; }
5685 if test "$LN_S" = "ln -s"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5687 $as_echo "yes" >&6; }
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5690 $as_echo "no, using $LN_S" >&6; }
5693 # find the maximum length of command line arguments
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5695 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5696 if ${lt_cv_sys_max_cmd_len+:} false; then :
5697 $as_echo_n "(cached) " >&6
5704 # On DJGPP, this test can blow up pretty badly due to problems in libc
5705 # (any single argument exceeding 2000 bytes causes a buffer overrun
5706 # during glob expansion). Even if it were fixed, the result of this
5707 # check would be larger than it should be.
5708 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5712 # Under GNU Hurd, this test is not required because there is
5713 # no limit to the length of command line arguments.
5714 # Libtool will interpret -1 as no limit whatsoever
5715 lt_cv_sys_max_cmd_len=-1;
5718 cygwin* | mingw* | cegcc*)
5719 # On Win9x/ME, this test blows up -- it succeeds, but takes
5720 # about 5 minutes as the teststring grows exponentially.
5721 # Worse, since 9x/ME are not pre-emptively multitasking,
5722 # you end up with a "frozen" computer, even though with patience
5723 # the test eventually succeeds (with a max line length of 256k).
5724 # Instead, let's just punt: use the minimum linelength reported by
5725 # all of the supported platforms: 8192 (on NT/2K/XP).
5726 lt_cv_sys_max_cmd_len=8192;
5730 # On MiNT this can take a long time and run out of memory.
5731 lt_cv_sys_max_cmd_len=8192;
5735 # On AmigaOS with pdksh, this test takes hours, literally.
5736 # So we just punt and use a minimum line length of 8192.
5737 lt_cv_sys_max_cmd_len=8192;
5740 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5741 # This has been around since 386BSD, at least. Likely further.
5742 if test -x /sbin/sysctl; then
5743 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5744 elif test -x /usr/sbin/sysctl; then
5745 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5747 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5749 # And add a safety zone
5750 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5751 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5755 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5756 lt_cv_sys_max_cmd_len=196608
5760 # The test takes a long time on OS/2.
5761 lt_cv_sys_max_cmd_len=8192
5765 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5766 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5767 # nice to cause kernel panics so lets avoid the loop below.
5768 # First set a reasonable default.
5769 lt_cv_sys_max_cmd_len=16384
5771 if test -x /sbin/sysconfig; then
5772 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5773 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5778 lt_cv_sys_max_cmd_len=102400
5780 sysv5* | sco5v6* | sysv4.2uw2*)
5781 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5782 if test -n "$kargmax"; then
5783 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5785 lt_cv_sys_max_cmd_len=32768
5789 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5790 if test -n "$lt_cv_sys_max_cmd_len"; then
5791 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5792 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5794 # Make teststring a little bigger before we do anything with it.
5795 # a 1K string should be a reasonable start.
5796 for i in 1 2 3 4 5 6 7 8 ; do
5797 teststring=$teststring$teststring
5799 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5800 # If test is not a shell built-in, we'll probably end up computing a
5801 # maximum length that is only half of the actual maximum length, but
5803 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5804 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5805 test $i != 17 # 1/2 MB should be enough
5808 teststring=$teststring$teststring
5810 # Only check the string length outside the loop.
5811 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5813 # Add a significant safety factor because C++ compilers can tack on
5814 # massive amounts of additional arguments before passing them to the
5815 # linker. It appears as though 1/2 is a usable value.
5816 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5823 if test -n $lt_cv_sys_max_cmd_len ; then
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5825 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5828 $as_echo "none" >&6; }
5830 max_cmd_len=$lt_cv_sys_max_cmd_len
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5842 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5843 # Try some XSI features
5846 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5848 && eval 'test $(( 1 + 1 )) -eq 2 \
5849 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5852 $as_echo "$xsi_shell" >&6; }
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5856 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5858 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5860 && lt_shell_append=yes
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5862 $as_echo "$lt_shell_append" >&6; }
5865 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5875 # test EBCDIC or ASCII
5876 case `echo X|tr X '\101'` in
5877 A) # ASCII based system
5878 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5879 lt_SP2NL='tr \040 \012'
5880 lt_NL2SP='tr \015\012 \040\040'
5882 *) # EBCDIC based system
5883 lt_SP2NL='tr \100 \n'
5884 lt_NL2SP='tr \r\n \100\100'
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5897 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5898 if ${lt_cv_to_host_file_cmd+:} false; then :
5899 $as_echo_n "(cached) " >&6
5904 *-*-mingw* ) # actually msys
5905 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5908 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5910 * ) # otherwise, assume *nix
5911 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5917 *-*-mingw* ) # actually msys
5918 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5921 lt_cv_to_host_file_cmd=func_convert_file_noop
5923 * ) # otherwise, assume *nix
5924 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5928 * ) # unhandled hosts (and "normal" native builds)
5929 lt_cv_to_host_file_cmd=func_convert_file_noop
5935 to_host_file_cmd=$lt_cv_to_host_file_cmd
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5937 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5944 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5945 if ${lt_cv_to_tool_file_cmd+:} false; then :
5946 $as_echo_n "(cached) " >&6
5948 #assume ordinary cross tools, or native build.
5949 lt_cv_to_tool_file_cmd=func_convert_file_noop
5953 *-*-mingw* ) # actually msys
5954 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5962 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5964 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5971 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5972 if ${lt_cv_ld_reload_flag+:} false; then :
5973 $as_echo_n "(cached) " >&6
5975 lt_cv_ld_reload_flag='-r'
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5978 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5979 reload_flag=$lt_cv_ld_reload_flag
5980 case $reload_flag in
5982 *) reload_flag=" $reload_flag" ;;
5984 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5986 cygwin* | mingw* | pw32* | cegcc*)
5987 if test "$GCC" != yes; then
5992 if test "$GCC" = yes; then
5993 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5995 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6008 if test -n "$ac_tool_prefix"; then
6009 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6010 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6012 $as_echo_n "checking for $ac_word... " >&6; }
6013 if ${ac_cv_prog_OBJDUMP+:} false; then :
6014 $as_echo_n "(cached) " >&6
6016 if test -n "$OBJDUMP"; then
6017 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 test -z "$as_dir" && as_dir=.
6024 for ac_exec_ext in '' $ac_executable_extensions; do
6025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6026 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036 OBJDUMP=$ac_cv_prog_OBJDUMP
6037 if test -n "$OBJDUMP"; then
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6039 $as_echo "$OBJDUMP" >&6; }
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6042 $as_echo "no" >&6; }
6047 if test -z "$ac_cv_prog_OBJDUMP"; then
6048 ac_ct_OBJDUMP=$OBJDUMP
6049 # Extract the first word of "objdump", so it can be a program name with args.
6050 set dummy objdump; ac_word=$2
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6052 $as_echo_n "checking for $ac_word... " >&6; }
6053 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6054 $as_echo_n "(cached) " >&6
6056 if test -n "$ac_ct_OBJDUMP"; then
6057 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6063 test -z "$as_dir" && as_dir=.
6064 for ac_exec_ext in '' $ac_executable_extensions; do
6065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6066 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6076 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6077 if test -n "$ac_ct_OBJDUMP"; then
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6079 $as_echo "$ac_ct_OBJDUMP" >&6; }
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6082 $as_echo "no" >&6; }
6085 if test "x$ac_ct_OBJDUMP" = x; then
6088 case $cross_compiling:$ac_tool_warned in
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6092 ac_tool_warned=yes ;;
6094 OBJDUMP=$ac_ct_OBJDUMP
6097 OBJDUMP="$ac_cv_prog_OBJDUMP"
6100 test -z "$OBJDUMP" && OBJDUMP=objdump
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6108 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6109 if ${lt_cv_deplibs_check_method+:} false; then :
6110 $as_echo_n "(cached) " >&6
6112 lt_cv_file_magic_cmd='$MAGIC_CMD'
6113 lt_cv_file_magic_test_file=
6114 lt_cv_deplibs_check_method='unknown'
6115 # Need to set the preceding variable on all platforms that support
6116 # interlibrary dependencies.
6117 # 'none' -- dependencies not supported.
6118 # `unknown' -- same as none, but documents that we really don't know.
6119 # 'pass_all' -- all dependencies passed with no checks.
6120 # 'test_compile' -- check by making test program.
6121 # 'file_magic [[regex]]' -- check by looking for files in library path
6122 # which responds to the $file_magic_cmd with a given extended regex.
6123 # If you have `file' or equivalent on your system and you're not sure
6124 # whether `pass_all' will *always* work, you probably want this one.
6128 lt_cv_deplibs_check_method=pass_all
6132 lt_cv_deplibs_check_method=pass_all
6136 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6137 lt_cv_file_magic_cmd='/usr/bin/file -L'
6138 lt_cv_file_magic_test_file=/shlib/libc.so
6142 # func_win32_libid is a shell function defined in ltmain.sh
6143 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6144 lt_cv_file_magic_cmd='func_win32_libid'
6148 # Base MSYS/MinGW do not provide the 'file' command needed by
6149 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6150 # unless we find 'file', for example because we are cross-compiling.
6151 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6152 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6153 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6154 lt_cv_file_magic_cmd='func_win32_libid'
6156 # Keep this pattern in sync with the one in func_win32_libid.
6157 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6158 lt_cv_file_magic_cmd='$OBJDUMP -f'
6163 # use the weaker test based on 'objdump'. See mingw*.
6164 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6165 lt_cv_file_magic_cmd='$OBJDUMP -f'
6168 darwin* | rhapsody*)
6169 lt_cv_deplibs_check_method=pass_all
6172 freebsd* | dragonfly*)
6173 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6176 # Not sure whether the presence of OpenBSD here was a mistake.
6177 # Let's accept both of them until this is cleared up.
6178 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6179 lt_cv_file_magic_cmd=/usr/bin/file
6180 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6184 lt_cv_deplibs_check_method=pass_all
6189 lt_cv_deplibs_check_method=pass_all
6193 lt_cv_deplibs_check_method=pass_all
6196 hpux10.20* | hpux11*)
6197 lt_cv_file_magic_cmd=/usr/bin/file
6200 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6201 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6204 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6205 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6208 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6209 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6215 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6216 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6219 irix5* | irix6* | nonstopux*)
6221 *-32|*"-32 ") libmagic=32-bit;;
6222 *-n32|*"-n32 ") libmagic=N32;;
6223 *-64|*"-64 ") libmagic=64-bit;;
6224 *) libmagic=never-match;;
6226 lt_cv_deplibs_check_method=pass_all
6229 # This must be glibc/ELF.
6230 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6231 lt_cv_deplibs_check_method=pass_all
6234 netbsd* | netbsdelf*-gnu)
6235 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6236 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6238 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6243 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6244 lt_cv_file_magic_cmd=/usr/bin/file
6245 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6249 lt_cv_deplibs_check_method=pass_all
6253 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6254 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6256 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6260 osf3* | osf4* | osf5*)
6261 lt_cv_deplibs_check_method=pass_all
6265 lt_cv_deplibs_check_method=pass_all
6269 lt_cv_deplibs_check_method=pass_all
6272 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6273 lt_cv_deplibs_check_method=pass_all
6277 case $host_vendor in
6279 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]'
6280 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6283 lt_cv_deplibs_check_method=pass_all
6286 lt_cv_file_magic_cmd='/bin/file'
6287 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6290 lt_cv_file_magic_cmd='/bin/file'
6291 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6292 lt_cv_file_magic_test_file=/lib/libc.so
6295 lt_cv_deplibs_check_method=pass_all
6298 lt_cv_deplibs_check_method=pass_all
6304 lt_cv_deplibs_check_method=pass_all
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6310 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6314 if test "$build" = "$host"; then
6317 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6320 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6326 file_magic_cmd=$lt_cv_file_magic_cmd
6327 deplibs_check_method=$lt_cv_deplibs_check_method
6328 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6351 if test -n "$ac_tool_prefix"; then
6352 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6353 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6355 $as_echo_n "checking for $ac_word... " >&6; }
6356 if ${ac_cv_prog_DLLTOOL+:} false; then :
6357 $as_echo_n "(cached) " >&6
6359 if test -n "$DLLTOOL"; then
6360 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6366 test -z "$as_dir" && as_dir=.
6367 for ac_exec_ext in '' $ac_executable_extensions; do
6368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6369 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6379 DLLTOOL=$ac_cv_prog_DLLTOOL
6380 if test -n "$DLLTOOL"; then
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6382 $as_echo "$DLLTOOL" >&6; }
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6385 $as_echo "no" >&6; }
6390 if test -z "$ac_cv_prog_DLLTOOL"; then
6391 ac_ct_DLLTOOL=$DLLTOOL
6392 # Extract the first word of "dlltool", so it can be a program name with args.
6393 set dummy dlltool; ac_word=$2
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6395 $as_echo_n "checking for $ac_word... " >&6; }
6396 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6397 $as_echo_n "(cached) " >&6
6399 if test -n "$ac_ct_DLLTOOL"; then
6400 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6406 test -z "$as_dir" && as_dir=.
6407 for ac_exec_ext in '' $ac_executable_extensions; do
6408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6409 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6419 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6420 if test -n "$ac_ct_DLLTOOL"; then
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6422 $as_echo "$ac_ct_DLLTOOL" >&6; }
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6425 $as_echo "no" >&6; }
6428 if test "x$ac_ct_DLLTOOL" = x; then
6431 case $cross_compiling:$ac_tool_warned in
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6434 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6435 ac_tool_warned=yes ;;
6437 DLLTOOL=$ac_ct_DLLTOOL
6440 DLLTOOL="$ac_cv_prog_DLLTOOL"
6443 test -z "$DLLTOOL" && DLLTOOL=dlltool
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6452 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6453 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6454 $as_echo_n "(cached) " >&6
6456 lt_cv_sharedlib_from_linklib_cmd='unknown'
6459 cygwin* | mingw* | pw32* | cegcc*)
6460 # two different shell functions defined in ltmain.sh
6461 # decide which to use based on capabilities of $DLLTOOL
6462 case `$DLLTOOL --help 2>&1` in
6463 *--identify-strict*)
6464 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6467 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6472 # fallback: assume linklib IS sharedlib
6473 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6479 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6480 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6481 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6490 if test -n "$ac_tool_prefix"; then
6493 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6494 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6496 $as_echo_n "checking for $ac_word... " >&6; }
6497 if ${ac_cv_prog_AR+:} false; then :
6498 $as_echo_n "(cached) " >&6
6500 if test -n "$AR"; then
6501 ac_cv_prog_AR="$AR" # Let the user override the test.
6503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6507 test -z "$as_dir" && as_dir=.
6508 for ac_exec_ext in '' $ac_executable_extensions; do
6509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6510 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6521 if test -n "$AR"; then
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6523 $as_echo "$AR" >&6; }
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6526 $as_echo "no" >&6; }
6530 test -n "$AR" && break
6533 if test -z "$AR"; then
6537 # Extract the first word of "$ac_prog", so it can be a program name with args.
6538 set dummy $ac_prog; ac_word=$2
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540 $as_echo_n "checking for $ac_word... " >&6; }
6541 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6542 $as_echo_n "(cached) " >&6
6544 if test -n "$ac_ct_AR"; then
6545 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 test -z "$as_dir" && as_dir=.
6552 for ac_exec_ext in '' $ac_executable_extensions; do
6553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554 ac_cv_prog_ac_ct_AR="$ac_prog"
6555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6564 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6565 if test -n "$ac_ct_AR"; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6567 $as_echo "$ac_ct_AR" >&6; }
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570 $as_echo "no" >&6; }
6574 test -n "$ac_ct_AR" && break
6577 if test "x$ac_ct_AR" = x; then
6580 case $cross_compiling:$ac_tool_warned in
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6584 ac_tool_warned=yes ;;
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6604 $as_echo_n "checking for archiver @FILE support... " >&6; }
6605 if ${lt_cv_ar_at_file+:} false; then :
6606 $as_echo_n "(cached) " >&6
6609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6610 /* end confdefs.h. */
6620 if ac_fn_c_try_compile "$LINENO"; then :
6621 echo conftest.$ac_objext > conftest.lst
6622 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6623 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6624 (eval $lt_ar_try) 2>&5
6626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6627 test $ac_status = 0; }
6628 if test "$ac_status" -eq 0; then
6629 # Ensure the archiver fails upon bogus file names.
6630 rm -f conftest.$ac_objext libconftest.a
6631 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6632 (eval $lt_ar_try) 2>&5
6634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6635 test $ac_status = 0; }
6636 if test "$ac_status" -ne 0; then
6640 rm -f conftest.* libconftest.a
6643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6647 $as_echo "$lt_cv_ar_at_file" >&6; }
6649 if test "x$lt_cv_ar_at_file" = xno; then
6652 archiver_list_spec=$lt_cv_ar_at_file
6661 if test -n "$ac_tool_prefix"; then
6662 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6663 set dummy ${ac_tool_prefix}strip; ac_word=$2
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6665 $as_echo_n "checking for $ac_word... " >&6; }
6666 if ${ac_cv_prog_STRIP+:} false; then :
6667 $as_echo_n "(cached) " >&6
6669 if test -n "$STRIP"; then
6670 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6676 test -z "$as_dir" && as_dir=.
6677 for ac_exec_ext in '' $ac_executable_extensions; do
6678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6679 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6689 STRIP=$ac_cv_prog_STRIP
6690 if test -n "$STRIP"; then
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6692 $as_echo "$STRIP" >&6; }
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6695 $as_echo "no" >&6; }
6700 if test -z "$ac_cv_prog_STRIP"; then
6702 # Extract the first word of "strip", so it can be a program name with args.
6703 set dummy strip; ac_word=$2
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6705 $as_echo_n "checking for $ac_word... " >&6; }
6706 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6707 $as_echo_n "(cached) " >&6
6709 if test -n "$ac_ct_STRIP"; then
6710 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6716 test -z "$as_dir" && as_dir=.
6717 for ac_exec_ext in '' $ac_executable_extensions; do
6718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6719 ac_cv_prog_ac_ct_STRIP="strip"
6720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6729 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6730 if test -n "$ac_ct_STRIP"; then
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6732 $as_echo "$ac_ct_STRIP" >&6; }
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6735 $as_echo "no" >&6; }
6738 if test "x$ac_ct_STRIP" = x; then
6741 case $cross_compiling:$ac_tool_warned in
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6745 ac_tool_warned=yes ;;
6750 STRIP="$ac_cv_prog_STRIP"
6753 test -z "$STRIP" && STRIP=:
6760 if test -n "$ac_tool_prefix"; then
6761 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6762 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6764 $as_echo_n "checking for $ac_word... " >&6; }
6765 if ${ac_cv_prog_RANLIB+:} false; then :
6766 $as_echo_n "(cached) " >&6
6768 if test -n "$RANLIB"; then
6769 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6775 test -z "$as_dir" && as_dir=.
6776 for ac_exec_ext in '' $ac_executable_extensions; do
6777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6778 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6788 RANLIB=$ac_cv_prog_RANLIB
6789 if test -n "$RANLIB"; then
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6791 $as_echo "$RANLIB" >&6; }
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6794 $as_echo "no" >&6; }
6799 if test -z "$ac_cv_prog_RANLIB"; then
6800 ac_ct_RANLIB=$RANLIB
6801 # Extract the first word of "ranlib", so it can be a program name with args.
6802 set dummy ranlib; ac_word=$2
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6804 $as_echo_n "checking for $ac_word... " >&6; }
6805 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6806 $as_echo_n "(cached) " >&6
6808 if test -n "$ac_ct_RANLIB"; then
6809 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6815 test -z "$as_dir" && as_dir=.
6816 for ac_exec_ext in '' $ac_executable_extensions; do
6817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6818 ac_cv_prog_ac_ct_RANLIB="ranlib"
6819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6828 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6829 if test -n "$ac_ct_RANLIB"; then
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6831 $as_echo "$ac_ct_RANLIB" >&6; }
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6834 $as_echo "no" >&6; }
6837 if test "x$ac_ct_RANLIB" = x; then
6840 case $cross_compiling:$ac_tool_warned in
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6843 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6844 ac_tool_warned=yes ;;
6846 RANLIB=$ac_ct_RANLIB
6849 RANLIB="$ac_cv_prog_RANLIB"
6852 test -z "$RANLIB" && RANLIB=:
6859 # Determine commands to create old-style static archives.
6860 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6861 old_postinstall_cmds='chmod 644 $oldlib'
6862 old_postuninstall_cmds=
6864 if test -n "$RANLIB"; then
6867 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6870 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6873 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6878 lock_old_archive_extraction=yes ;;
6880 lock_old_archive_extraction=no ;;
6921 # If no C compiler was specified, use CC.
6924 # If no C compiler flags were specified, use CFLAGS.
6925 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6927 # Allow CC to be a program name with arguments.
6931 # Check for command to grab the raw symbol name followed by C symbol from nm.
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6933 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6934 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6935 $as_echo_n "(cached) " >&6
6938 # These are sane defaults that work on at least a few old systems.
6939 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6941 # Character class describing NM global symbol codes.
6942 symcode='[BCDEGRST]'
6944 # Regexp to match symbols that can be accessed directly from C.
6945 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6947 # Define system-specific variables.
6952 cygwin* | mingw* | pw32* | cegcc*)
6953 symcode='[ABCDGISTW]'
6956 if test "$host_cpu" = ia64; then
6957 symcode='[ABCDEGRST]'
6961 symcode='[BCDEGRST]'
6964 symcode='[BCDEGQRST]'
6975 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6983 # If we're using GNU nm, then use its standard symbol codes.
6984 case `$NM -V 2>&1` in
6985 *GNU* | *'with BFD'*)
6986 symcode='[ABCDGIRSTW]' ;;
6989 # Transform an extracted symbol line into a proper C declaration.
6990 # Some systems (esp. on ia64) link data and code symbols differently,
6991 # so use this general approach.
6992 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6994 # Transform an extracted symbol line into symbol name and symbol address
6995 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6996 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'"
6998 # Handle CRLF in mingw tool chain
7002 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7006 # Try without a prefix underscore, then with it.
7007 for ac_symprfx in "" "_"; do
7009 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7010 symxfrm="\\1 $ac_symprfx\\2 \\2"
7012 # Write the raw and C identifiers.
7013 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7014 # Fake it for dumpbin and say T for any non-static function
7015 # and D for any global variable.
7016 # Also find C++ and __fastcall symbols from MSVC++,
7017 # which start with @ or ?.
7018 lt_cv_sys_global_symbol_pipe="$AWK '"\
7019 " {last_section=section; section=\$ 3};"\
7020 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7021 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7022 " \$ 0!~/External *\|/{next};"\
7023 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7024 " {if(hide[section]) next};"\
7025 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7026 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7027 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7028 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7029 " ' prfx=^$ac_symprfx"
7031 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7033 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7035 # Check to see that the pipe works correctly.
7039 cat > conftest.$ac_ext <<_LT_EOF
7044 void nm_test_func(void);
7045 void nm_test_func(void){}
7049 int main(){nm_test_var='a';nm_test_func();return(0);}
7052 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7053 (eval $ac_compile) 2>&5
7055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7056 test $ac_status = 0; }; then
7057 # Now try to grab the symbols.
7059 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7060 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7063 test $ac_status = 0; } && test -s "$nlist"; then
7064 # Try sorting and uniquifying the output.
7065 if sort "$nlist" | uniq > "$nlist"T; then
7066 mv -f "$nlist"T "$nlist"
7071 # Make sure that we snagged all the symbols we need.
7072 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7073 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7074 cat <<_LT_EOF > conftest.$ac_ext
7075 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7076 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7077 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7078 relocations are performed -- see ld's documentation on pseudo-relocs. */
7079 # define LT_DLSYM_CONST
7080 #elif defined(__osf__)
7081 /* This system does not cope well with relocations in const data. */
7082 # define LT_DLSYM_CONST
7084 # define LT_DLSYM_CONST const
7092 # Now generate the symbol file.
7093 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7095 cat <<_LT_EOF >> conftest.$ac_ext
7097 /* The mapping between symbol names and symbols. */
7098 LT_DLSYM_CONST struct {
7102 lt__PROGRAM__LTX_preloaded_symbols[] =
7104 { "@PROGRAM@", (void *) 0 },
7106 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7107 cat <<\_LT_EOF >> conftest.$ac_ext
7111 /* This works around a problem in FreeBSD linker */
7112 #ifdef FREEBSD_WORKAROUND
7113 static const void *lt_preloaded_setup() {
7114 return lt__PROGRAM__LTX_preloaded_symbols;
7122 # Now try linking the two files.
7123 mv conftest.$ac_objext conftstm.$ac_objext
7124 lt_globsym_save_LIBS=$LIBS
7125 lt_globsym_save_CFLAGS=$CFLAGS
7126 LIBS="conftstm.$ac_objext"
7127 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7128 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7129 (eval $ac_link) 2>&5
7131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7132 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7135 LIBS=$lt_globsym_save_LIBS
7136 CFLAGS=$lt_globsym_save_CFLAGS
7138 echo "cannot find nm_test_func in $nlist" >&5
7141 echo "cannot find nm_test_var in $nlist" >&5
7144 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7147 echo "$progname: failed program was:" >&5
7148 cat conftest.$ac_ext >&5
7150 rm -rf conftest* conftst*
7152 # Do not use the global_symbol_pipe unless it works.
7153 if test "$pipe_works" = yes; then
7156 lt_cv_sys_global_symbol_pipe=
7162 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7163 lt_cv_sys_global_symbol_to_cdecl=
7165 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7167 $as_echo "failed" >&6; }
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7170 $as_echo "ok" >&6; }
7173 # Response file support.
7174 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7175 nm_file_list_spec='@'
7176 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7177 nm_file_list_spec='@'
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7207 $as_echo_n "checking for sysroot... " >&6; }
7209 # Check whether --with-sysroot was given.
7210 if test "${with_sysroot+set}" = set; then :
7211 withval=$with_sysroot;
7218 case ${with_sysroot} in #(
7220 if test "$GCC" = yes; then
7221 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7225 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7231 $as_echo "${with_sysroot}" >&6; }
7232 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7237 $as_echo "${lt_sysroot:-no}" >&6; }
7243 # Check whether --enable-libtool-lock was given.
7244 if test "${enable_libtool_lock+set}" = set; then :
7245 enableval=$enable_libtool_lock;
7248 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7250 # Some flags need to be propagated to the compiler or linker for good
7254 # Find out which ABI we are using.
7255 echo 'int i;' > conftest.$ac_ext
7256 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7257 (eval $ac_compile) 2>&5
7259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7260 test $ac_status = 0; }; then
7261 case `/usr/bin/file conftest.$ac_objext` in
7273 # Find out which ABI we are using.
7274 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7275 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7276 (eval $ac_compile) 2>&5
7278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7279 test $ac_status = 0; }; then
7280 if test "$lt_cv_prog_gnu_ld" = yes; then
7281 case `/usr/bin/file conftest.$ac_objext` in
7283 LD="${LD-ld} -melf32bsmip"
7286 LD="${LD-ld} -melf32bmipn32"
7289 LD="${LD-ld} -melf64bmip"
7293 case `/usr/bin/file conftest.$ac_objext` in
7309 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7310 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7311 # Find out which ABI we are using.
7312 echo 'int i;' > conftest.$ac_ext
7313 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7314 (eval $ac_compile) 2>&5
7316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7317 test $ac_status = 0; }; then
7318 case `/usr/bin/file conftest.o` in
7321 x86_64-*kfreebsd*-gnu)
7322 LD="${LD-ld} -m elf_i386_fbsd"
7325 LD="${LD-ld} -m elf_i386"
7327 ppc64-*linux*|powerpc64-*linux*)
7328 LD="${LD-ld} -m elf32ppclinux"
7331 LD="${LD-ld} -m elf_s390"
7334 LD="${LD-ld} -m elf32_sparc"
7340 x86_64-*kfreebsd*-gnu)
7341 LD="${LD-ld} -m elf_x86_64_fbsd"
7344 LD="${LD-ld} -m elf_x86_64"
7346 ppc*-*linux*|powerpc*-*linux*)
7347 LD="${LD-ld} -m elf64ppc"
7349 s390*-*linux*|s390*-*tpf*)
7350 LD="${LD-ld} -m elf64_s390"
7353 LD="${LD-ld} -m elf64_sparc"
7363 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7364 SAVE_CFLAGS="$CFLAGS"
7365 CFLAGS="$CFLAGS -belf"
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7367 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7368 if ${lt_cv_cc_needs_belf+:} false; then :
7369 $as_echo_n "(cached) " >&6
7372 ac_cpp='$CPP $CPPFLAGS'
7373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7378 /* end confdefs.h. */
7388 if ac_fn_c_try_link "$LINENO"; then :
7389 lt_cv_cc_needs_belf=yes
7391 lt_cv_cc_needs_belf=no
7393 rm -f core conftest.err conftest.$ac_objext \
7394 conftest$ac_exeext conftest.$ac_ext
7396 ac_cpp='$CPP $CPPFLAGS'
7397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7403 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7404 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7405 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7406 CFLAGS="$SAVE_CFLAGS"
7410 # Find out which ABI we are using.
7411 echo 'int i;' > conftest.$ac_ext
7412 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7413 (eval $ac_compile) 2>&5
7415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7416 test $ac_status = 0; }; then
7417 case `/usr/bin/file conftest.o` in
7419 case $lt_cv_prog_gnu_ld in
7423 LD="${LD-ld} -m elf_x86_64"
7426 LD="${LD-ld} -m elf64_sparc"
7429 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7430 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7435 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7447 need_locks="$enable_libtool_lock"
7449 if test -n "$ac_tool_prefix"; then
7450 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7451 set dummy ${ac_tool_prefix}mt; ac_word=$2
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7453 $as_echo_n "checking for $ac_word... " >&6; }
7454 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7455 $as_echo_n "(cached) " >&6
7457 if test -n "$MANIFEST_TOOL"; then
7458 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7464 test -z "$as_dir" && as_dir=.
7465 for ac_exec_ext in '' $ac_executable_extensions; do
7466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7467 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7477 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7478 if test -n "$MANIFEST_TOOL"; then
7479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7480 $as_echo "$MANIFEST_TOOL" >&6; }
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7483 $as_echo "no" >&6; }
7488 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7489 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7490 # Extract the first word of "mt", so it can be a program name with args.
7491 set dummy mt; ac_word=$2
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7493 $as_echo_n "checking for $ac_word... " >&6; }
7494 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7495 $as_echo_n "(cached) " >&6
7497 if test -n "$ac_ct_MANIFEST_TOOL"; then
7498 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7504 test -z "$as_dir" && as_dir=.
7505 for ac_exec_ext in '' $ac_executable_extensions; do
7506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7507 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7517 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7518 if test -n "$ac_ct_MANIFEST_TOOL"; then
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7520 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7523 $as_echo "no" >&6; }
7526 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7529 case $cross_compiling:$ac_tool_warned in
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7532 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7533 ac_tool_warned=yes ;;
7535 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7538 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7541 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7543 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7544 if ${lt_cv_path_mainfest_tool+:} false; then :
7545 $as_echo_n "(cached) " >&6
7547 lt_cv_path_mainfest_tool=no
7548 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7549 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7550 cat conftest.err >&5
7551 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7552 lt_cv_path_mainfest_tool=yes
7556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7557 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7558 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7568 rhapsody* | darwin*)
7569 if test -n "$ac_tool_prefix"; then
7570 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7571 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7573 $as_echo_n "checking for $ac_word... " >&6; }
7574 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7575 $as_echo_n "(cached) " >&6
7577 if test -n "$DSYMUTIL"; then
7578 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7584 test -z "$as_dir" && as_dir=.
7585 for ac_exec_ext in '' $ac_executable_extensions; do
7586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7587 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7597 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7598 if test -n "$DSYMUTIL"; then
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7600 $as_echo "$DSYMUTIL" >&6; }
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7603 $as_echo "no" >&6; }
7608 if test -z "$ac_cv_prog_DSYMUTIL"; then
7609 ac_ct_DSYMUTIL=$DSYMUTIL
7610 # Extract the first word of "dsymutil", so it can be a program name with args.
7611 set dummy dsymutil; ac_word=$2
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7613 $as_echo_n "checking for $ac_word... " >&6; }
7614 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7615 $as_echo_n "(cached) " >&6
7617 if test -n "$ac_ct_DSYMUTIL"; then
7618 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7624 test -z "$as_dir" && as_dir=.
7625 for ac_exec_ext in '' $ac_executable_extensions; do
7626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7627 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7637 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7638 if test -n "$ac_ct_DSYMUTIL"; then
7639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7640 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7643 $as_echo "no" >&6; }
7646 if test "x$ac_ct_DSYMUTIL" = x; then
7649 case $cross_compiling:$ac_tool_warned in
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7653 ac_tool_warned=yes ;;
7655 DSYMUTIL=$ac_ct_DSYMUTIL
7658 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7661 if test -n "$ac_tool_prefix"; then
7662 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7663 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7665 $as_echo_n "checking for $ac_word... " >&6; }
7666 if ${ac_cv_prog_NMEDIT+:} false; then :
7667 $as_echo_n "(cached) " >&6
7669 if test -n "$NMEDIT"; then
7670 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7676 test -z "$as_dir" && as_dir=.
7677 for ac_exec_ext in '' $ac_executable_extensions; do
7678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7679 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7689 NMEDIT=$ac_cv_prog_NMEDIT
7690 if test -n "$NMEDIT"; then
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7692 $as_echo "$NMEDIT" >&6; }
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7695 $as_echo "no" >&6; }
7700 if test -z "$ac_cv_prog_NMEDIT"; then
7701 ac_ct_NMEDIT=$NMEDIT
7702 # Extract the first word of "nmedit", so it can be a program name with args.
7703 set dummy nmedit; ac_word=$2
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7705 $as_echo_n "checking for $ac_word... " >&6; }
7706 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7707 $as_echo_n "(cached) " >&6
7709 if test -n "$ac_ct_NMEDIT"; then
7710 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7716 test -z "$as_dir" && as_dir=.
7717 for ac_exec_ext in '' $ac_executable_extensions; do
7718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7719 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7729 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7730 if test -n "$ac_ct_NMEDIT"; then
7731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7732 $as_echo "$ac_ct_NMEDIT" >&6; }
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7735 $as_echo "no" >&6; }
7738 if test "x$ac_ct_NMEDIT" = x; then
7741 case $cross_compiling:$ac_tool_warned in
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7745 ac_tool_warned=yes ;;
7747 NMEDIT=$ac_ct_NMEDIT
7750 NMEDIT="$ac_cv_prog_NMEDIT"
7753 if test -n "$ac_tool_prefix"; then
7754 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7755 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7757 $as_echo_n "checking for $ac_word... " >&6; }
7758 if ${ac_cv_prog_LIPO+:} false; then :
7759 $as_echo_n "(cached) " >&6
7761 if test -n "$LIPO"; then
7762 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7768 test -z "$as_dir" && as_dir=.
7769 for ac_exec_ext in '' $ac_executable_extensions; do
7770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7771 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7781 LIPO=$ac_cv_prog_LIPO
7782 if test -n "$LIPO"; then
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7784 $as_echo "$LIPO" >&6; }
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7787 $as_echo "no" >&6; }
7792 if test -z "$ac_cv_prog_LIPO"; then
7794 # Extract the first word of "lipo", so it can be a program name with args.
7795 set dummy lipo; ac_word=$2
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7797 $as_echo_n "checking for $ac_word... " >&6; }
7798 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7799 $as_echo_n "(cached) " >&6
7801 if test -n "$ac_ct_LIPO"; then
7802 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7808 test -z "$as_dir" && as_dir=.
7809 for ac_exec_ext in '' $ac_executable_extensions; do
7810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7811 ac_cv_prog_ac_ct_LIPO="lipo"
7812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7821 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7822 if test -n "$ac_ct_LIPO"; then
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7824 $as_echo "$ac_ct_LIPO" >&6; }
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7827 $as_echo "no" >&6; }
7830 if test "x$ac_ct_LIPO" = x; then
7833 case $cross_compiling:$ac_tool_warned in
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7836 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7837 ac_tool_warned=yes ;;
7842 LIPO="$ac_cv_prog_LIPO"
7845 if test -n "$ac_tool_prefix"; then
7846 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7847 set dummy ${ac_tool_prefix}otool; ac_word=$2
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7849 $as_echo_n "checking for $ac_word... " >&6; }
7850 if ${ac_cv_prog_OTOOL+:} false; then :
7851 $as_echo_n "(cached) " >&6
7853 if test -n "$OTOOL"; then
7854 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7860 test -z "$as_dir" && as_dir=.
7861 for ac_exec_ext in '' $ac_executable_extensions; do
7862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7863 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7873 OTOOL=$ac_cv_prog_OTOOL
7874 if test -n "$OTOOL"; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7876 $as_echo "$OTOOL" >&6; }
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7879 $as_echo "no" >&6; }
7884 if test -z "$ac_cv_prog_OTOOL"; then
7886 # Extract the first word of "otool", so it can be a program name with args.
7887 set dummy otool; ac_word=$2
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7889 $as_echo_n "checking for $ac_word... " >&6; }
7890 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7891 $as_echo_n "(cached) " >&6
7893 if test -n "$ac_ct_OTOOL"; then
7894 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7900 test -z "$as_dir" && as_dir=.
7901 for ac_exec_ext in '' $ac_executable_extensions; do
7902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7903 ac_cv_prog_ac_ct_OTOOL="otool"
7904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7913 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7914 if test -n "$ac_ct_OTOOL"; then
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7916 $as_echo "$ac_ct_OTOOL" >&6; }
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7919 $as_echo "no" >&6; }
7922 if test "x$ac_ct_OTOOL" = x; then
7925 case $cross_compiling:$ac_tool_warned in
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7929 ac_tool_warned=yes ;;
7934 OTOOL="$ac_cv_prog_OTOOL"
7937 if test -n "$ac_tool_prefix"; then
7938 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7939 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7941 $as_echo_n "checking for $ac_word... " >&6; }
7942 if ${ac_cv_prog_OTOOL64+:} false; then :
7943 $as_echo_n "(cached) " >&6
7945 if test -n "$OTOOL64"; then
7946 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7952 test -z "$as_dir" && as_dir=.
7953 for ac_exec_ext in '' $ac_executable_extensions; do
7954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7955 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7965 OTOOL64=$ac_cv_prog_OTOOL64
7966 if test -n "$OTOOL64"; then
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7968 $as_echo "$OTOOL64" >&6; }
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7971 $as_echo "no" >&6; }
7976 if test -z "$ac_cv_prog_OTOOL64"; then
7977 ac_ct_OTOOL64=$OTOOL64
7978 # Extract the first word of "otool64", so it can be a program name with args.
7979 set dummy otool64; ac_word=$2
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7981 $as_echo_n "checking for $ac_word... " >&6; }
7982 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7983 $as_echo_n "(cached) " >&6
7985 if test -n "$ac_ct_OTOOL64"; then
7986 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7992 test -z "$as_dir" && as_dir=.
7993 for ac_exec_ext in '' $ac_executable_extensions; do
7994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7995 ac_cv_prog_ac_ct_OTOOL64="otool64"
7996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8005 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8006 if test -n "$ac_ct_OTOOL64"; then
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8008 $as_echo "$ac_ct_OTOOL64" >&6; }
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8011 $as_echo "no" >&6; }
8014 if test "x$ac_ct_OTOOL64" = x; then
8017 case $cross_compiling:$ac_tool_warned in
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8021 ac_tool_warned=yes ;;
8023 OTOOL64=$ac_ct_OTOOL64
8026 OTOOL64="$ac_cv_prog_OTOOL64"
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8056 $as_echo_n "checking for -single_module linker flag... " >&6; }
8057 if ${lt_cv_apple_cc_single_mod+:} false; then :
8058 $as_echo_n "(cached) " >&6
8060 lt_cv_apple_cc_single_mod=no
8061 if test -z "${LT_MULTI_MODULE}"; then
8062 # By default we will add the -single_module flag. You can override
8063 # by either setting the environment variable LT_MULTI_MODULE
8064 # non-empty at configure time, or by adding -multi_module to the
8066 rm -rf libconftest.dylib*
8067 echo "int foo(void){return 1;}" > conftest.c
8068 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8069 -dynamiclib -Wl,-single_module conftest.c" >&5
8070 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8071 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8073 # If there is a non-empty error log, and "single_module"
8074 # appears in it, assume the flag caused a linker warning
8075 if test -s conftest.err && $GREP single_module conftest.err; then
8076 cat conftest.err >&5
8077 # Otherwise, if the output was created with a 0 exit code from
8078 # the compiler, it worked.
8079 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8080 lt_cv_apple_cc_single_mod=yes
8082 cat conftest.err >&5
8084 rm -rf libconftest.dylib*
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8089 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8092 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8093 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8094 $as_echo_n "(cached) " >&6
8096 lt_cv_ld_exported_symbols_list=no
8097 save_LDFLAGS=$LDFLAGS
8098 echo "_main" > conftest.sym
8099 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8101 /* end confdefs.h. */
8111 if ac_fn_c_try_link "$LINENO"; then :
8112 lt_cv_ld_exported_symbols_list=yes
8114 lt_cv_ld_exported_symbols_list=no
8116 rm -f core conftest.err conftest.$ac_objext \
8117 conftest$ac_exeext conftest.$ac_ext
8118 LDFLAGS="$save_LDFLAGS"
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8122 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8125 $as_echo_n "checking for -force_load linker flag... " >&6; }
8126 if ${lt_cv_ld_force_load+:} false; then :
8127 $as_echo_n "(cached) " >&6
8129 lt_cv_ld_force_load=no
8130 cat > conftest.c << _LT_EOF
8131 int forced_loaded() { return 2;}
8133 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8134 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8135 echo "$AR cru libconftest.a conftest.o" >&5
8136 $AR cru libconftest.a conftest.o 2>&5
8137 echo "$RANLIB libconftest.a" >&5
8138 $RANLIB libconftest.a 2>&5
8139 cat > conftest.c << _LT_EOF
8140 int main() { return 0;}
8142 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8143 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8145 if test -s conftest.err && $GREP force_load conftest.err; then
8146 cat conftest.err >&5
8147 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8148 lt_cv_ld_force_load=yes
8150 cat conftest.err >&5
8152 rm -f conftest.err libconftest.a conftest conftest.c
8153 rm -rf conftest.dSYM
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8157 $as_echo "$lt_cv_ld_force_load" >&6; }
8159 rhapsody* | darwin1.[012])
8160 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8162 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8163 darwin*) # darwin 5.x on
8164 # if running on 10.5 or later, the deployment target defaults
8165 # to the OS version, if on x86, and 10.4, the deployment
8166 # target defaults to 10.4. Don't you love it?
8167 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8168 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8169 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8171 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8173 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8177 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8178 _lt_dar_single_mod='$single_module'
8180 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8181 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8183 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8185 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8186 _lt_dsymutil='~$DSYMUTIL $lib || :'
8194 ac_cpp='$CPP $CPPFLAGS'
8195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8199 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8200 # On Suns, sometimes $CPP names a directory.
8201 if test -n "$CPP" && test -d "$CPP"; then
8204 if test -z "$CPP"; then
8205 if ${ac_cv_prog_CPP+:} false; then :
8206 $as_echo_n "(cached) " >&6
8208 # Double quotes because CPP needs to be expanded
8209 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8212 for ac_c_preproc_warn_flag in '' yes
8214 # Use a header file that comes with gcc, so configuring glibc
8215 # with a fresh cross-compiler works.
8216 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8217 # <limits.h> exists even on freestanding compilers.
8218 # On the NeXT, cc -E runs the code through the compiler's parser,
8219 # not just through cpp. "Syntax error" is here to catch this case.
8220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8221 /* end confdefs.h. */
8223 # include <limits.h>
8225 # include <assert.h>
8229 if ac_fn_c_try_cpp "$LINENO"; then :
8232 # Broken: fails on valid input.
8235 rm -f conftest.err conftest.i conftest.$ac_ext
8237 # OK, works on sane cases. Now check whether nonexistent headers
8238 # can be detected and how.
8239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8240 /* end confdefs.h. */
8241 #include <ac_nonexistent.h>
8243 if ac_fn_c_try_cpp "$LINENO"; then :
8244 # Broken: success on invalid input.
8247 # Passes both tests.
8251 rm -f conftest.err conftest.i conftest.$ac_ext
8254 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8255 rm -f conftest.i conftest.err conftest.$ac_ext
8256 if $ac_preproc_ok; then :
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8269 $as_echo "$CPP" >&6; }
8271 for ac_c_preproc_warn_flag in '' yes
8273 # Use a header file that comes with gcc, so configuring glibc
8274 # with a fresh cross-compiler works.
8275 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8276 # <limits.h> exists even on freestanding compilers.
8277 # On the NeXT, cc -E runs the code through the compiler's parser,
8278 # not just through cpp. "Syntax error" is here to catch this case.
8279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8280 /* end confdefs.h. */
8282 # include <limits.h>
8284 # include <assert.h>
8288 if ac_fn_c_try_cpp "$LINENO"; then :
8291 # Broken: fails on valid input.
8294 rm -f conftest.err conftest.i conftest.$ac_ext
8296 # OK, works on sane cases. Now check whether nonexistent headers
8297 # can be detected and how.
8298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8299 /* end confdefs.h. */
8300 #include <ac_nonexistent.h>
8302 if ac_fn_c_try_cpp "$LINENO"; then :
8303 # Broken: success on invalid input.
8306 # Passes both tests.
8310 rm -f conftest.err conftest.i conftest.$ac_ext
8313 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8314 rm -f conftest.i conftest.err conftest.$ac_ext
8315 if $ac_preproc_ok; then :
8318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8320 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8321 See \`config.log' for more details" "$LINENO" 5; }
8325 ac_cpp='$CPP $CPPFLAGS'
8326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8332 $as_echo_n "checking for ANSI C header files... " >&6; }
8333 if ${ac_cv_header_stdc+:} false; then :
8334 $as_echo_n "(cached) " >&6
8336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8337 /* end confdefs.h. */
8351 if ac_fn_c_try_compile "$LINENO"; then :
8352 ac_cv_header_stdc=yes
8354 ac_cv_header_stdc=no
8356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8358 if test $ac_cv_header_stdc = yes; then
8359 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8361 /* end confdefs.h. */
8365 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8366 $EGREP "memchr" >/dev/null 2>&1; then :
8369 ac_cv_header_stdc=no
8375 if test $ac_cv_header_stdc = yes; then
8376 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8378 /* end confdefs.h. */
8382 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8383 $EGREP "free" >/dev/null 2>&1; then :
8386 ac_cv_header_stdc=no
8392 if test $ac_cv_header_stdc = yes; then
8393 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8394 if test "$cross_compiling" = yes; then :
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8401 #if ((' ' & 0x0FF) == 0x020)
8402 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8403 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8405 # define ISLOWER(c) \
8406 (('a' <= (c) && (c) <= 'i') \
8407 || ('j' <= (c) && (c) <= 'r') \
8408 || ('s' <= (c) && (c) <= 'z'))
8409 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8412 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8417 for (i = 0; i < 256; i++)
8418 if (XOR (islower (i), ISLOWER (i))
8419 || toupper (i) != TOUPPER (i))
8424 if ac_fn_c_try_run "$LINENO"; then :
8427 ac_cv_header_stdc=no
8429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8430 conftest.$ac_objext conftest.beam conftest.$ac_ext
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8436 $as_echo "$ac_cv_header_stdc" >&6; }
8437 if test $ac_cv_header_stdc = yes; then
8439 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8443 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8444 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8445 inttypes.h stdint.h unistd.h
8447 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8448 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8450 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8451 cat >>confdefs.h <<_ACEOF
8452 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8460 for ac_header in dlfcn.h
8462 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8464 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8465 cat >>confdefs.h <<_ACEOF
8466 #define HAVE_DLFCN_H 1
8483 # Check whether --enable-shared was given.
8484 if test "${enable_shared+set}" = set; then :
8485 enableval=$enable_shared; p=${PACKAGE-default}
8487 yes) enable_shared=yes ;;
8488 no) enable_shared=no ;;
8491 # Look at the argument we got. We use all the common list separators.
8492 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8493 for pkg in $enableval; do
8495 if test "X$pkg" = "X$p"; then
8514 # Check whether --enable-static was given.
8515 if test "${enable_static+set}" = set; then :
8516 enableval=$enable_static; p=${PACKAGE-default}
8518 yes) enable_static=yes ;;
8519 no) enable_static=no ;;
8522 # Look at the argument we got. We use all the common list separators.
8523 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8524 for pkg in $enableval; do
8526 if test "X$pkg" = "X$p"; then
8546 # Check whether --with-pic was given.
8547 if test "${with_pic+set}" = set; then :
8548 withval=$with_pic; lt_p=${PACKAGE-default}
8550 yes|no) pic_mode=$withval ;;
8553 # Look at the argument we got. We use all the common list separators.
8554 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8555 for lt_pkg in $withval; do
8557 if test "X$lt_pkg" = "X$lt_p"; then
8569 test -z "$pic_mode" && pic_mode=default
8577 # Check whether --enable-fast-install was given.
8578 if test "${enable_fast_install+set}" = set; then :
8579 enableval=$enable_fast_install; p=${PACKAGE-default}
8581 yes) enable_fast_install=yes ;;
8582 no) enable_fast_install=no ;;
8584 enable_fast_install=no
8585 # Look at the argument we got. We use all the common list separators.
8586 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8587 for pkg in $enableval; do
8589 if test "X$pkg" = "X$p"; then
8590 enable_fast_install=yes
8597 enable_fast_install=yes
8610 # This can be used to rebuild libtool when needed
8611 LIBTOOL_DEPS="$ltmain"
8613 # Always use our own libtool.
8614 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8645 test -z "$LN_S" && LN_S="ln -s"
8660 if test -n "${ZSH_VERSION+set}" ; then
8661 setopt NO_GLOB_SUBST
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8665 $as_echo_n "checking for objdir... " >&6; }
8666 if ${lt_cv_objdir+:} false; then :
8667 $as_echo_n "(cached) " >&6
8669 rm -f .libs 2>/dev/null
8670 mkdir .libs 2>/dev/null
8671 if test -d .libs; then
8674 # MS-DOS does not allow filenames that begin with a dot.
8677 rmdir .libs 2>/dev/null
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8680 $as_echo "$lt_cv_objdir" >&6; }
8681 objdir=$lt_cv_objdir
8687 cat >>confdefs.h <<_ACEOF
8688 #define LT_OBJDIR "$lt_cv_objdir/"
8696 # AIX sometimes has problems with the GCC collect2 program. For some
8697 # reason, if we set the COLLECT_NAMES environment variable, the problems
8698 # vanish in a puff of smoke.
8699 if test "X${COLLECT_NAMES+set}" != Xset; then
8701 export COLLECT_NAMES
8708 can_build_shared=yes
8710 # All known linkers require a `.a' archive for static linking (except MSVC,
8711 # which needs '.lib').
8714 with_gnu_ld="$lt_cv_prog_gnu_ld"
8717 old_CFLAGS="$CFLAGS"
8719 # Set sane defaults for various variables
8720 test -z "$CC" && CC=cc
8721 test -z "$LTCC" && LTCC=$CC
8722 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8723 test -z "$LD" && LD=ld
8724 test -z "$ac_objext" && ac_objext=o
8726 for cc_temp in $compiler""; do
8728 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8729 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8734 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8737 # Only perform the check for file, if the check method requires it
8738 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8739 case $deplibs_check_method in
8741 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8743 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8744 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8745 $as_echo_n "(cached) " >&6
8749 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8752 lt_save_MAGIC_CMD="$MAGIC_CMD"
8753 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8754 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8755 for ac_dir in $ac_dummy; do
8757 test -z "$ac_dir" && ac_dir=.
8758 if test -f $ac_dir/${ac_tool_prefix}file; then
8759 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8760 if test -n "$file_magic_test_file"; then
8761 case $deplibs_check_method in
8763 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8764 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8765 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8766 $EGREP "$file_magic_regex" > /dev/null; then
8771 *** Warning: the command libtool uses to detect shared libraries,
8772 *** $file_magic_cmd, produces output that libtool cannot recognize.
8773 *** The result is that libtool may fail to recognize shared libraries
8774 *** as such. This will affect the creation of libtool libraries that
8775 *** depend on shared libraries, but programs linked with such libtool
8776 *** libraries will work regardless of this problem. Nevertheless, you
8777 *** may want to report the problem to your system manager and/or to
8778 *** bug-libtool@gnu.org
8788 MAGIC_CMD="$lt_save_MAGIC_CMD"
8793 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8794 if test -n "$MAGIC_CMD"; then
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8796 $as_echo "$MAGIC_CMD" >&6; }
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8799 $as_echo "no" >&6; }
8806 if test -z "$lt_cv_path_MAGIC_CMD"; then
8807 if test -n "$ac_tool_prefix"; then
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8809 $as_echo_n "checking for file... " >&6; }
8810 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8811 $as_echo_n "(cached) " >&6
8815 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8818 lt_save_MAGIC_CMD="$MAGIC_CMD"
8819 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8820 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8821 for ac_dir in $ac_dummy; do
8823 test -z "$ac_dir" && ac_dir=.
8824 if test -f $ac_dir/file; then
8825 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8826 if test -n "$file_magic_test_file"; then
8827 case $deplibs_check_method in
8829 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8830 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8831 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8832 $EGREP "$file_magic_regex" > /dev/null; then
8837 *** Warning: the command libtool uses to detect shared libraries,
8838 *** $file_magic_cmd, produces output that libtool cannot recognize.
8839 *** The result is that libtool may fail to recognize shared libraries
8840 *** as such. This will affect the creation of libtool libraries that
8841 *** depend on shared libraries, but programs linked with such libtool
8842 *** libraries will work regardless of this problem. Nevertheless, you
8843 *** may want to report the problem to your system manager and/or to
8844 *** bug-libtool@gnu.org
8854 MAGIC_CMD="$lt_save_MAGIC_CMD"
8859 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8860 if test -n "$MAGIC_CMD"; then
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8862 $as_echo "$MAGIC_CMD" >&6; }
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8865 $as_echo "no" >&6; }
8878 # Use C for the default configuration in the libtool script
8882 ac_cpp='$CPP $CPPFLAGS'
8883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8888 # Source file extension for C test sources.
8891 # Object file extension for compiled C test sources.
8895 # Code to be used in simple compile tests
8896 lt_simple_compile_test_code="int some_variable = 0;"
8898 # Code to be used in simple link tests
8899 lt_simple_link_test_code='int main(){return(0);}'
8907 # If no C compiler was specified, use CC.
8910 # If no C compiler flags were specified, use CFLAGS.
8911 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8913 # Allow CC to be a program name with arguments.
8916 # Save the default compiler, since it gets overwritten when the other
8917 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8918 compiler_DEFAULT=$CC
8920 # save warnings/boilerplate of simple test code
8921 ac_outfile=conftest.$ac_objext
8922 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8923 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8924 _lt_compiler_boilerplate=`cat conftest.err`
8927 ac_outfile=conftest.$ac_objext
8928 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8929 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8930 _lt_linker_boilerplate=`cat conftest.err`
8935 ## There is no encapsulation within the following macros, do not change
8936 ## the running order or otherwise move them around unless you know exactly
8937 ## what you are doing...
8938 if test -n "$compiler"; then
8940 lt_prog_compiler_no_builtin_flag=
8942 if test "$GCC" = yes; then
8943 case $cc_basename in
8945 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8947 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8951 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8952 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8953 $as_echo_n "(cached) " >&6
8955 lt_cv_prog_compiler_rtti_exceptions=no
8956 ac_outfile=conftest.$ac_objext
8957 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8958 lt_compiler_flag="-fno-rtti -fno-exceptions"
8959 # Insert the option either (1) after the last *FLAGS variable, or
8960 # (2) before a word containing "conftest.", or (3) at the end.
8961 # Note that $ac_compile itself does not contain backslashes and begins
8962 # with a dollar sign (not a hyphen), so the echo should work correctly.
8963 # The option is referenced via a variable to avoid confusing sed.
8964 lt_compile=`echo "$ac_compile" | $SED \
8965 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8966 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8967 -e 's:$: $lt_compiler_flag:'`
8968 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8969 (eval "$lt_compile" 2>conftest.err)
8971 cat conftest.err >&5
8972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973 if (exit $ac_status) && test -s "$ac_outfile"; then
8974 # The compiler can only warn and ignore the option if not recognized
8975 # So say no if there are warnings other than the usual output.
8976 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8977 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8978 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8979 lt_cv_prog_compiler_rtti_exceptions=yes
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8986 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8988 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8989 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9001 lt_prog_compiler_wl=
9002 lt_prog_compiler_pic=
9003 lt_prog_compiler_static=
9006 if test "$GCC" = yes; then
9007 lt_prog_compiler_wl='-Wl,'
9008 lt_prog_compiler_static='-static'
9012 # All AIX code is PIC.
9013 if test "$host_cpu" = ia64; then
9014 # AIX 5 now supports IA64 processor
9015 lt_prog_compiler_static='-Bstatic'
9022 # see comment about AmigaOS4 .so support
9023 lt_prog_compiler_pic='-fPIC'
9026 # FIXME: we need at least 68020 code to build shared libraries, but
9027 # adding the `-m68020' flag to GCC prevents building anything better,
9029 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9034 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9035 # PIC is the default for these OSes.
9038 mingw* | cygwin* | pw32* | os2* | cegcc*)
9039 # This hack is so that the source file can tell whether it is being
9040 # built for inclusion in a dll (and should export symbols for example).
9041 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9042 # (--disable-auto-import) libraries
9043 lt_prog_compiler_pic='-DDLL_EXPORT'
9046 darwin* | rhapsody*)
9047 # PIC is the default on this platform
9048 # Common symbols not allowed in MH_DYLIB files
9049 lt_prog_compiler_pic='-fno-common'
9053 # PIC is the default for Haiku.
9054 # The "-static" flag exists, but is broken.
9055 lt_prog_compiler_static=
9059 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9060 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9061 # sets the default TLS model and affects inlining.
9067 lt_prog_compiler_pic='-fPIC'
9073 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9074 # Instead, we relocate shared libraries at runtime.
9078 # Just because we use GCC doesn't mean we suddenly get shared libraries
9079 # on systems that don't support them.
9080 lt_prog_compiler_can_build_shared=no
9085 # QNX uses GNU C++, but need to define -shared option too, otherwise
9087 lt_prog_compiler_pic='-fPIC -shared'
9091 if test -d /usr/nec; then
9092 lt_prog_compiler_pic=-Kconform_pic
9097 lt_prog_compiler_pic='-fPIC'
9101 case $cc_basename in
9102 nvcc*) # Cuda Compiler Driver 2.2
9103 lt_prog_compiler_wl='-Xlinker '
9104 if test -n "$lt_prog_compiler_pic"; then
9105 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9110 # PORTME Check for flag to pass linker flags through the system compiler.
9113 lt_prog_compiler_wl='-Wl,'
9114 if test "$host_cpu" = ia64; then
9115 # AIX 5 now supports IA64 processor
9116 lt_prog_compiler_static='-Bstatic'
9118 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9122 mingw* | cygwin* | pw32* | os2* | cegcc*)
9123 # This hack is so that the source file can tell whether it is being
9124 # built for inclusion in a dll (and should export symbols for example).
9125 lt_prog_compiler_pic='-DDLL_EXPORT'
9128 hpux9* | hpux10* | hpux11*)
9129 lt_prog_compiler_wl='-Wl,'
9130 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9137 lt_prog_compiler_pic='+Z'
9140 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9141 lt_prog_compiler_static='${wl}-a ${wl}archive'
9144 irix5* | irix6* | nonstopux*)
9145 lt_prog_compiler_wl='-Wl,'
9146 # PIC (with -KPIC) is the default.
9147 lt_prog_compiler_static='-non_shared'
9150 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9151 case $cc_basename in
9152 # old Intel for x86_64 which still supported -KPIC.
9154 lt_prog_compiler_wl='-Wl,'
9155 lt_prog_compiler_pic='-KPIC'
9156 lt_prog_compiler_static='-static'
9158 # icc used to be incompatible with GCC.
9159 # ICC 10 doesn't accept -KPIC any more.
9161 lt_prog_compiler_wl='-Wl,'
9162 lt_prog_compiler_pic='-fPIC'
9163 lt_prog_compiler_static='-static'
9165 # Lahey Fortran 8.1.
9167 lt_prog_compiler_wl='-Wl,'
9168 lt_prog_compiler_pic='--shared'
9169 lt_prog_compiler_static='--static'
9172 # NAG Fortran compiler
9173 lt_prog_compiler_wl='-Wl,-Wl,,'
9174 lt_prog_compiler_pic='-PIC'
9175 lt_prog_compiler_static='-Bstatic'
9177 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9178 # Portland Group compilers (*not* the Pentium gcc compiler,
9179 # which looks to be a dead project)
9180 lt_prog_compiler_wl='-Wl,'
9181 lt_prog_compiler_pic='-fpic'
9182 lt_prog_compiler_static='-Bstatic'
9185 lt_prog_compiler_wl='-Wl,'
9186 # All Alpha code is PIC.
9187 lt_prog_compiler_static='-non_shared'
9189 xl* | bgxl* | bgf* | mpixl*)
9190 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9191 lt_prog_compiler_wl='-Wl,'
9192 lt_prog_compiler_pic='-qpic'
9193 lt_prog_compiler_static='-qstaticlink'
9196 case `$CC -V 2>&1 | sed 5q` in
9197 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9198 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9199 lt_prog_compiler_pic='-KPIC'
9200 lt_prog_compiler_static='-Bstatic'
9201 lt_prog_compiler_wl=''
9203 *Sun\ F* | *Sun*Fortran*)
9204 lt_prog_compiler_pic='-KPIC'
9205 lt_prog_compiler_static='-Bstatic'
9206 lt_prog_compiler_wl='-Qoption ld '
9210 lt_prog_compiler_pic='-KPIC'
9211 lt_prog_compiler_static='-Bstatic'
9212 lt_prog_compiler_wl='-Wl,'
9214 *Intel*\ [CF]*Compiler*)
9215 lt_prog_compiler_wl='-Wl,'
9216 lt_prog_compiler_pic='-fPIC'
9217 lt_prog_compiler_static='-static'
9220 lt_prog_compiler_wl='-Wl,'
9221 lt_prog_compiler_pic='-fpic'
9222 lt_prog_compiler_static='-Bstatic'
9230 lt_prog_compiler_pic='-KPIC'
9231 lt_prog_compiler_static='-Bstatic'
9235 # QNX uses GNU C++, but need to define -shared option too, otherwise
9237 lt_prog_compiler_pic='-fPIC -shared'
9240 osf3* | osf4* | osf5*)
9241 lt_prog_compiler_wl='-Wl,'
9242 # All OSF/1 code is PIC.
9243 lt_prog_compiler_static='-non_shared'
9247 lt_prog_compiler_static='-non_shared'
9251 lt_prog_compiler_pic='-KPIC'
9252 lt_prog_compiler_static='-Bstatic'
9253 case $cc_basename in
9254 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9255 lt_prog_compiler_wl='-Qoption ld ';;
9257 lt_prog_compiler_wl='-Wl,';;
9262 lt_prog_compiler_wl='-Qoption ld '
9263 lt_prog_compiler_pic='-PIC'
9264 lt_prog_compiler_static='-Bstatic'
9267 sysv4 | sysv4.2uw2* | sysv4.3*)
9268 lt_prog_compiler_wl='-Wl,'
9269 lt_prog_compiler_pic='-KPIC'
9270 lt_prog_compiler_static='-Bstatic'
9274 if test -d /usr/nec ;then
9275 lt_prog_compiler_pic='-Kconform_pic'
9276 lt_prog_compiler_static='-Bstatic'
9280 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9281 lt_prog_compiler_wl='-Wl,'
9282 lt_prog_compiler_pic='-KPIC'
9283 lt_prog_compiler_static='-Bstatic'
9287 lt_prog_compiler_wl='-Wl,'
9288 lt_prog_compiler_can_build_shared=no
9292 lt_prog_compiler_pic='-pic'
9293 lt_prog_compiler_static='-Bstatic'
9297 lt_prog_compiler_can_build_shared=no
9303 # For platforms which do not support PIC, -DPIC is meaningless:
9305 lt_prog_compiler_pic=
9308 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9313 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9314 if ${lt_cv_prog_compiler_pic+:} false; then :
9315 $as_echo_n "(cached) " >&6
9317 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9320 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9321 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9324 # Check to make sure the PIC flag actually works.
9326 if test -n "$lt_prog_compiler_pic"; then
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9328 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9329 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9330 $as_echo_n "(cached) " >&6
9332 lt_cv_prog_compiler_pic_works=no
9333 ac_outfile=conftest.$ac_objext
9334 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9335 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9336 # Insert the option either (1) after the last *FLAGS variable, or
9337 # (2) before a word containing "conftest.", or (3) at the end.
9338 # Note that $ac_compile itself does not contain backslashes and begins
9339 # with a dollar sign (not a hyphen), so the echo should work correctly.
9340 # The option is referenced via a variable to avoid confusing sed.
9341 lt_compile=`echo "$ac_compile" | $SED \
9342 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9343 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9344 -e 's:$: $lt_compiler_flag:'`
9345 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9346 (eval "$lt_compile" 2>conftest.err)
9348 cat conftest.err >&5
9349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350 if (exit $ac_status) && test -s "$ac_outfile"; then
9351 # The compiler can only warn and ignore the option if not recognized
9352 # So say no if there are warnings other than the usual output.
9353 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9354 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9355 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9356 lt_cv_prog_compiler_pic_works=yes
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9363 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9365 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9366 case $lt_prog_compiler_pic in
9368 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9371 lt_prog_compiler_pic=
9372 lt_prog_compiler_can_build_shared=no
9388 # Check to make sure the static flag actually works.
9390 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9392 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9393 if ${lt_cv_prog_compiler_static_works+:} false; then :
9394 $as_echo_n "(cached) " >&6
9396 lt_cv_prog_compiler_static_works=no
9397 save_LDFLAGS="$LDFLAGS"
9398 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9399 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9400 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9401 # The linker can only warn and ignore the option if not recognized
9402 # So say no if there are warnings
9403 if test -s conftest.err; then
9404 # Append any errors to the config.log.
9405 cat conftest.err 1>&5
9406 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9407 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9408 if diff conftest.exp conftest.er2 >/dev/null; then
9409 lt_cv_prog_compiler_static_works=yes
9412 lt_cv_prog_compiler_static_works=yes
9416 LDFLAGS="$save_LDFLAGS"
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9420 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9422 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9425 lt_prog_compiler_static=
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9435 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9436 if ${lt_cv_prog_compiler_c_o+:} false; then :
9437 $as_echo_n "(cached) " >&6
9439 lt_cv_prog_compiler_c_o=no
9440 $RM -r conftest 2>/dev/null
9444 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9446 lt_compiler_flag="-o out/conftest2.$ac_objext"
9447 # Insert the option either (1) after the last *FLAGS variable, or
9448 # (2) before a word containing "conftest.", or (3) at the end.
9449 # Note that $ac_compile itself does not contain backslashes and begins
9450 # with a dollar sign (not a hyphen), so the echo should work correctly.
9451 lt_compile=`echo "$ac_compile" | $SED \
9452 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9453 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9454 -e 's:$: $lt_compiler_flag:'`
9455 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9456 (eval "$lt_compile" 2>out/conftest.err)
9458 cat out/conftest.err >&5
9459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9460 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9462 # The compiler can only warn and ignore the option if not recognized
9463 # So say no if there are warnings
9464 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9465 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9466 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9467 lt_cv_prog_compiler_c_o=yes
9472 # SGI C++ compiler will create directory out/ii_files/ for
9473 # template instantiation
9474 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9475 $RM out/* && rmdir out
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9482 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9490 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9491 if ${lt_cv_prog_compiler_c_o+:} false; then :
9492 $as_echo_n "(cached) " >&6
9494 lt_cv_prog_compiler_c_o=no
9495 $RM -r conftest 2>/dev/null
9499 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9501 lt_compiler_flag="-o out/conftest2.$ac_objext"
9502 # Insert the option either (1) after the last *FLAGS variable, or
9503 # (2) before a word containing "conftest.", or (3) at the end.
9504 # Note that $ac_compile itself does not contain backslashes and begins
9505 # with a dollar sign (not a hyphen), so the echo should work correctly.
9506 lt_compile=`echo "$ac_compile" | $SED \
9507 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9508 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9509 -e 's:$: $lt_compiler_flag:'`
9510 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9511 (eval "$lt_compile" 2>out/conftest.err)
9513 cat out/conftest.err >&5
9514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9515 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9517 # The compiler can only warn and ignore the option if not recognized
9518 # So say no if there are warnings
9519 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9520 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9521 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9522 lt_cv_prog_compiler_c_o=yes
9527 # SGI C++ compiler will create directory out/ii_files/ for
9528 # template instantiation
9529 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9530 $RM out/* && rmdir out
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9537 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9542 hard_links="nottested"
9543 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9544 # do not overwrite the value of need_locks provided by the user
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9546 $as_echo_n "checking if we can lock with hard links... " >&6; }
9549 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9551 ln conftest.a conftest.b 2>&5 || hard_links=no
9552 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9554 $as_echo "$hard_links" >&6; }
9555 if test "$hard_links" = no; then
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9557 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9570 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9573 allow_undefined_flag=
9574 always_export_symbols=no
9576 archive_expsym_cmds=
9577 compiler_needs_object=no
9578 enable_shared_with_static_runtimes=no
9579 export_dynamic_flag_spec=
9580 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9581 hardcode_automatic=no
9583 hardcode_direct_absolute=no
9584 hardcode_libdir_flag_spec=
9585 hardcode_libdir_separator=
9587 hardcode_shlibpath_var=unsupported
9589 link_all_deplibs=unknown
9592 old_archive_from_new_cmds=
9593 old_archive_from_expsyms_cmds=
9594 thread_safe_flag_spec=
9595 whole_archive_flag_spec=
9596 # include_expsyms should be a list of space-separated symbols to be *always*
9597 # included in the symbol list
9599 # exclude_expsyms can be an extended regexp of symbols to exclude
9600 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9601 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9602 # as well as any symbol that contains `d'.
9603 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9604 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9605 # platforms (ab)use it in PIC code, but their linkers get confused if
9606 # the symbol is explicitly referenced. Since portable code cannot
9607 # rely on this symbol name, it's probably fine to never include it in
9608 # preloaded symbol tables.
9609 # Exclude shared library initialization/finalization symbols.
9610 extract_expsyms_cmds=
9613 cygwin* | mingw* | pw32* | cegcc*)
9614 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9615 # When not using gcc, we currently assume that we are using
9616 # Microsoft Visual C++.
9617 if test "$GCC" != yes; then
9622 # we just hope/assume this is gcc and not c89 (= MSVC++)
9628 linux* | k*bsd*-gnu | gnu*)
9635 # On some targets, GNU ld is compatible enough with the native linker
9636 # that we're better off using the native interface for both.
9637 lt_use_gnu_ld_interface=no
9638 if test "$with_gnu_ld" = yes; then
9641 # The AIX port of GNU ld has always aspired to compatibility
9642 # with the native linker. However, as the warning in the GNU ld
9643 # block says, versions before 2.19.5* couldn't really create working
9644 # shared libraries, regardless of the interface used.
9645 case `$LD -v 2>&1` in
9646 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9647 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9648 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9650 lt_use_gnu_ld_interface=yes
9655 lt_use_gnu_ld_interface=yes
9660 if test "$lt_use_gnu_ld_interface" = yes; then
9661 # If archive_cmds runs LD, not CC, wlarc should be empty
9664 # Set some defaults for GNU ld with shared library support. These
9665 # are reset later if shared libraries are not supported. Putting them
9666 # here allows them to be overridden if necessary.
9667 runpath_var=LD_RUN_PATH
9668 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9669 export_dynamic_flag_spec='${wl}--export-dynamic'
9670 # ancient GNU ld didn't support --whole-archive et. al.
9671 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9672 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9674 whole_archive_flag_spec=
9676 supports_anon_versioning=no
9677 case `$LD -v 2>&1` in
9678 *GNU\ gold*) supports_anon_versioning=yes ;;
9679 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9680 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9681 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9682 *\ 2.11.*) ;; # other 2.11 versions
9683 *) supports_anon_versioning=yes ;;
9686 # See if GNU ld supports shared libraries.
9689 # On AIX/PPC, the GNU linker is very broken
9690 if test "$host_cpu" != ia64; then
9694 *** Warning: the GNU linker, at least up to release 2.19, is reported
9695 *** to be unable to reliably create shared libraries on AIX.
9696 *** Therefore, libtool is disabling shared libraries support. If you
9697 *** really care for shared libraries, you may want to install binutils
9698 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9699 *** You will then need to restart the configuration process.
9708 # see comment about AmigaOS4 .so support
9709 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9710 archive_expsym_cmds=''
9713 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)'
9714 hardcode_libdir_flag_spec='-L$libdir'
9715 hardcode_minus_L=yes
9721 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9722 allow_undefined_flag=unsupported
9723 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9724 # support --undefined. This deserves some investigation. FIXME
9725 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9731 cygwin* | mingw* | pw32* | cegcc*)
9732 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9733 # as there is no search path for DLLs.
9734 hardcode_libdir_flag_spec='-L$libdir'
9735 export_dynamic_flag_spec='${wl}--export-all-symbols'
9736 allow_undefined_flag=unsupported
9737 always_export_symbols=no
9738 enable_shared_with_static_runtimes=yes
9739 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9740 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9742 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9743 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9744 # If the export-symbols file already is a .def file (1st line
9745 # is EXPORTS), use it as is; otherwise, prepend...
9746 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9747 cp $export_symbols $output_objdir/$soname.def;
9749 echo EXPORTS > $output_objdir/$soname.def;
9750 cat $export_symbols >> $output_objdir/$soname.def;
9752 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9759 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9760 link_all_deplibs=yes
9765 hardcode_shlibpath_var=no
9766 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9767 export_dynamic_flag_spec='${wl}-E'
9768 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9769 # Instead, shared libraries are loaded at an image base (0x10000000 by
9770 # default) and relocated if they conflict, which is a slow very memory
9771 # consuming and fragmenting process. To avoid this, we pick a random,
9772 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9773 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9774 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9775 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'
9778 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9780 if test "$host_os" = linux-dietlibc; then
9781 case $cc_basename in
9782 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9785 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9786 && test "$tmp_diet" = no
9788 tmp_addflag=' $pic_flag'
9789 tmp_sharedflag='-shared'
9790 case $cc_basename,$host_cpu in
9791 pgcc*) # Portland Group C compiler
9792 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9793 tmp_addflag=' $pic_flag'
9795 pgf77* | pgf90* | pgf95* | pgfortran*)
9796 # Portland Group f77 and f90 compilers
9797 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9798 tmp_addflag=' $pic_flag -Mnomain' ;;
9799 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9800 tmp_addflag=' -i_dynamic' ;;
9801 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9802 tmp_addflag=' -i_dynamic -nofor_main' ;;
9803 ifc* | ifort*) # Intel Fortran compiler
9804 tmp_addflag=' -nofor_main' ;;
9805 lf95*) # Lahey Fortran 8.1
9806 whole_archive_flag_spec=
9807 tmp_sharedflag='--shared' ;;
9808 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9809 tmp_sharedflag='-qmkshrobj'
9811 nvcc*) # Cuda Compiler Driver 2.2
9812 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9813 compiler_needs_object=yes
9816 case `$CC -V 2>&1 | sed 5q` in
9817 *Sun\ C*) # Sun C 5.9
9818 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9819 compiler_needs_object=yes
9820 tmp_sharedflag='-G' ;;
9821 *Sun\ F*) # Sun Fortran 8.3
9822 tmp_sharedflag='-G' ;;
9824 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9826 if test "x$supports_anon_versioning" = xyes; then
9827 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9828 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9829 echo "local: *; };" >> $output_objdir/$libname.ver~
9830 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9833 case $cc_basename in
9834 xlf* | bgf* | bgxlf* | mpixlf*)
9835 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9836 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9837 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9838 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9839 if test "x$supports_anon_versioning" = xyes; then
9840 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9841 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9842 echo "local: *; };" >> $output_objdir/$libname.ver~
9843 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9852 netbsd* | netbsdelf*-gnu)
9853 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9854 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9857 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9858 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9863 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9867 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9868 *** create shared libraries on Solaris systems. Therefore, libtool
9869 *** is disabling shared libraries support. We urge you to upgrade GNU
9870 *** binutils to release 2.9.1 or newer. Another option is to modify
9871 *** your PATH or compiler configuration so that the native linker is
9872 *** used, and then restart.
9875 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9876 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9877 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9883 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9884 case `$LD -v 2>&1` in
9885 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9889 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9890 *** reliably create shared libraries on SCO systems. Therefore, libtool
9891 *** is disabling shared libraries support. We urge you to upgrade GNU
9892 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9893 *** your PATH or compiler configuration so that the native linker is
9894 *** used, and then restart.
9899 # For security reasons, it is highly recommended that you always
9900 # use absolute paths for naming shared libraries, and exclude the
9901 # DT_RUNPATH tag from executables and libraries. But doing so
9902 # requires that you compile everything twice, which is a pain.
9903 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9904 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9905 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9906 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9915 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9918 hardcode_shlibpath_var=no
9922 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9923 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9924 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9931 if test "$ld_shlibs" = no; then
9933 hardcode_libdir_flag_spec=
9934 export_dynamic_flag_spec=
9935 whole_archive_flag_spec=
9938 # PORTME fill in a description of your system's linker (not GNU ld)
9941 allow_undefined_flag=unsupported
9942 always_export_symbols=yes
9943 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'
9944 # Note: this linker hardcodes the directories in LIBPATH if there
9945 # are no directories specified by -L.
9946 hardcode_minus_L=yes
9947 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9948 # Neither direct hardcoding nor static linking is supported with a
9950 hardcode_direct=unsupported
9955 if test "$host_cpu" = ia64; then
9956 # On IA64, the linker does run time linking by default, so we don't
9957 # have to do anything special.
9958 aix_use_runtimelinking=no
9959 exp_sym_flag='-Bexport'
9962 # If we're using GNU nm, then we don't want the "-C" option.
9963 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9964 # Also, AIX nm treats weak defined symbols like other global
9965 # defined symbols, whereas GNU nm marks them as "W".
9966 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9967 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9969 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'
9971 aix_use_runtimelinking=no
9973 # Test if we are trying to use run time linking or normal
9974 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9975 # need to do runtime linking.
9976 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9977 for ld_flag in $LDFLAGS; do
9978 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9979 aix_use_runtimelinking=yes
9986 exp_sym_flag='-bexport'
9987 no_entry_flag='-bnoentry'
9990 # When large executables or shared objects are built, AIX ld can
9991 # have problems creating the table of contents. If linking a library
9992 # or program results in "error TOC overflow" add -mminimal-toc to
9993 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9994 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9998 hardcode_direct_absolute=yes
9999 hardcode_libdir_separator=':'
10000 link_all_deplibs=yes
10001 file_list_spec='${wl}-f,'
10003 if test "$GCC" = yes; then
10004 case $host_os in aix4.[012]|aix4.[012].*)
10005 # We only want to do this on AIX 4.2 and lower, the check
10006 # below for broken collect2 doesn't work under 4.3+
10007 collect2name=`${CC} -print-prog-name=collect2`
10008 if test -f "$collect2name" &&
10009 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10011 # We have reworked collect2
10014 # We have old collect2
10015 hardcode_direct=unsupported
10016 # It fails to find uninstalled libraries when the uninstalled
10017 # path is not listed in the libpath. Setting hardcode_minus_L
10018 # to unsupported forces relinking
10019 hardcode_minus_L=yes
10020 hardcode_libdir_flag_spec='-L$libdir'
10021 hardcode_libdir_separator=
10025 shared_flag='-shared'
10026 if test "$aix_use_runtimelinking" = yes; then
10027 shared_flag="$shared_flag "'${wl}-G'
10029 link_all_deplibs=no
10032 if test "$host_cpu" = ia64; then
10033 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10034 # chokes on -Wl,-G. The following line is correct:
10037 if test "$aix_use_runtimelinking" = yes; then
10038 shared_flag='${wl}-G'
10040 shared_flag='${wl}-bM:SRE'
10045 export_dynamic_flag_spec='${wl}-bexpall'
10046 # It seems that -bexpall does not export symbols beginning with
10047 # underscore (_), so it is better to generate a list of symbols to export.
10048 always_export_symbols=yes
10049 if test "$aix_use_runtimelinking" = yes; then
10050 # Warning - without using the other runtime loading flags (-brtl),
10051 # -berok will link without error, but may produce a broken library.
10052 allow_undefined_flag='-berok'
10053 # Determine the default libpath from the value encoded in an
10054 # empty executable.
10055 if test "${lt_cv_aix_libpath+set}" = set; then
10056 aix_libpath=$lt_cv_aix_libpath
10058 if ${lt_cv_aix_libpath_+:} false; then :
10059 $as_echo_n "(cached) " >&6
10061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10072 if ac_fn_c_try_link "$LINENO"; then :
10074 lt_aix_libpath_sed='
10075 /Import File Strings/,/^$/ {
10077 s/^0 *\([^ ]*\) *$/\1/
10081 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10082 # Check for a 64-bit object if we didn't find anything.
10083 if test -z "$lt_cv_aix_libpath_"; then
10084 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10087 rm -f core conftest.err conftest.$ac_objext \
10088 conftest$ac_exeext conftest.$ac_ext
10089 if test -z "$lt_cv_aix_libpath_"; then
10090 lt_cv_aix_libpath_="/usr/lib:/lib"
10095 aix_libpath=$lt_cv_aix_libpath_
10098 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10099 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10101 if test "$host_cpu" = ia64; then
10102 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10103 allow_undefined_flag="-z nodefs"
10104 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"
10106 # Determine the default libpath from the value encoded in an
10107 # empty executable.
10108 if test "${lt_cv_aix_libpath+set}" = set; then
10109 aix_libpath=$lt_cv_aix_libpath
10111 if ${lt_cv_aix_libpath_+:} false; then :
10112 $as_echo_n "(cached) " >&6
10114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10115 /* end confdefs.h. */
10125 if ac_fn_c_try_link "$LINENO"; then :
10127 lt_aix_libpath_sed='
10128 /Import File Strings/,/^$/ {
10130 s/^0 *\([^ ]*\) *$/\1/
10134 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10135 # Check for a 64-bit object if we didn't find anything.
10136 if test -z "$lt_cv_aix_libpath_"; then
10137 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10140 rm -f core conftest.err conftest.$ac_objext \
10141 conftest$ac_exeext conftest.$ac_ext
10142 if test -z "$lt_cv_aix_libpath_"; then
10143 lt_cv_aix_libpath_="/usr/lib:/lib"
10148 aix_libpath=$lt_cv_aix_libpath_
10151 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10152 # Warning - without using the other run time loading flags,
10153 # -berok will link without error, but may produce a broken library.
10154 no_undefined_flag=' ${wl}-bernotok'
10155 allow_undefined_flag=' ${wl}-berok'
10156 if test "$with_gnu_ld" = yes; then
10157 # We only use this code for GNU lds that support --whole-archive.
10158 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10160 # Exported symbols can be pulled into shared objects from archives
10161 whole_archive_flag_spec='$convenience'
10163 archive_cmds_need_lc=yes
10164 # This is similar to how AIX traditionally builds its shared libraries.
10165 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'
10173 # see comment about AmigaOS4 .so support
10174 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10175 archive_expsym_cmds=''
10178 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)'
10179 hardcode_libdir_flag_spec='-L$libdir'
10180 hardcode_minus_L=yes
10186 export_dynamic_flag_spec=-rdynamic
10189 cygwin* | mingw* | pw32* | cegcc*)
10190 # When not using gcc, we currently assume that we are using
10191 # Microsoft Visual C++.
10192 # hardcode_libdir_flag_spec is actually meaningless, as there is
10193 # no search path for DLLs.
10194 case $cc_basename in
10197 hardcode_libdir_flag_spec=' '
10198 allow_undefined_flag=unsupported
10199 always_export_symbols=yes
10201 # Tell ltmain to make .lib files, not .a files.
10203 # Tell ltmain to make .dll files, not .so files.
10205 # FIXME: Setting linknames here is a bad hack.
10206 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10207 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10208 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10210 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10212 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10214 # The linker will not automatically build a static lib if we build a DLL.
10215 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10216 enable_shared_with_static_runtimes=yes
10217 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10218 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10220 old_postinstall_cmds='chmod 644 $oldlib'
10221 postlink_cmds='lt_outputfile="@OUTPUT@"~
10222 lt_tool_outputfile="@TOOL_OUTPUT@"~
10223 case $lt_outputfile in
10226 lt_outputfile="$lt_outputfile.exe"
10227 lt_tool_outputfile="$lt_tool_outputfile.exe"
10230 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10231 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10232 $RM "$lt_outputfile.manifest";
10236 # Assume MSVC wrapper
10237 hardcode_libdir_flag_spec=' '
10238 allow_undefined_flag=unsupported
10239 # Tell ltmain to make .lib files, not .a files.
10241 # Tell ltmain to make .dll files, not .so files.
10243 # FIXME: Setting linknames here is a bad hack.
10244 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10245 # The linker will automatically build a .lib file if we build a DLL.
10246 old_archive_from_new_cmds='true'
10247 # FIXME: Should let the user specify the lib program.
10248 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10249 enable_shared_with_static_runtimes=yes
10254 darwin* | rhapsody*)
10257 archive_cmds_need_lc=no
10259 hardcode_automatic=yes
10260 hardcode_shlibpath_var=unsupported
10261 if test "$lt_cv_ld_force_load" = "yes"; then
10262 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10265 whole_archive_flag_spec=''
10267 link_all_deplibs=yes
10268 allow_undefined_flag="$_lt_dar_allow_undefined"
10269 case $cc_basename in
10270 ifort*) _lt_dar_can_shared=yes ;;
10271 *) _lt_dar_can_shared=$GCC ;;
10273 if test "$_lt_dar_can_shared" = "yes"; then
10274 output_verbose_link_cmd=func_echo_all
10275 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10276 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10277 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}"
10278 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}"
10287 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10288 hardcode_libdir_flag_spec='-L$libdir'
10289 hardcode_shlibpath_var=no
10292 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10293 # support. Future versions do this automatically, but an explicit c++rt0.o
10294 # does not break anything, and helps significantly (at the cost of a little
10297 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10298 hardcode_libdir_flag_spec='-R$libdir'
10299 hardcode_direct=yes
10300 hardcode_shlibpath_var=no
10303 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10305 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10306 hardcode_direct=yes
10307 hardcode_minus_L=yes
10308 hardcode_shlibpath_var=no
10311 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10312 freebsd* | dragonfly*)
10313 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10314 hardcode_libdir_flag_spec='-R$libdir'
10315 hardcode_direct=yes
10316 hardcode_shlibpath_var=no
10320 if test "$GCC" = yes; then
10321 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10323 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'
10325 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10326 hardcode_libdir_separator=:
10327 hardcode_direct=yes
10329 # hardcode_minus_L: Not really in the search PATH,
10330 # but as the default location of the library.
10331 hardcode_minus_L=yes
10332 export_dynamic_flag_spec='${wl}-E'
10336 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10337 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10339 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10341 if test "$with_gnu_ld" = no; then
10342 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10343 hardcode_libdir_separator=:
10344 hardcode_direct=yes
10345 hardcode_direct_absolute=yes
10346 export_dynamic_flag_spec='${wl}-E'
10347 # hardcode_minus_L: Not really in the search PATH,
10348 # but as the default location of the library.
10349 hardcode_minus_L=yes
10354 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10357 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10360 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10363 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10369 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10372 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10376 # Older versions of the 11.00 compiler do not understand -b yet
10377 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10379 $as_echo_n "checking if $CC understands -b... " >&6; }
10380 if ${lt_cv_prog_compiler__b+:} false; then :
10381 $as_echo_n "(cached) " >&6
10383 lt_cv_prog_compiler__b=no
10384 save_LDFLAGS="$LDFLAGS"
10385 LDFLAGS="$LDFLAGS -b"
10386 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10387 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10388 # The linker can only warn and ignore the option if not recognized
10389 # So say no if there are warnings
10390 if test -s conftest.err; then
10391 # Append any errors to the config.log.
10392 cat conftest.err 1>&5
10393 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10394 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10395 if diff conftest.exp conftest.er2 >/dev/null; then
10396 lt_cv_prog_compiler__b=yes
10399 lt_cv_prog_compiler__b=yes
10403 LDFLAGS="$save_LDFLAGS"
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10407 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10409 if test x"$lt_cv_prog_compiler__b" = xyes; then
10410 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10412 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10418 if test "$with_gnu_ld" = no; then
10419 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10420 hardcode_libdir_separator=:
10425 hardcode_shlibpath_var=no
10428 hardcode_direct=yes
10429 hardcode_direct_absolute=yes
10430 export_dynamic_flag_spec='${wl}-E'
10432 # hardcode_minus_L: Not really in the search PATH,
10433 # but as the default location of the library.
10434 hardcode_minus_L=yes
10440 irix5* | irix6* | nonstopux*)
10441 if test "$GCC" = yes; then
10442 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10443 # Try to use the -exported_symbol ld option, if it does not
10444 # work, assume that -exports_file does not work either and
10445 # implicitly export all symbols.
10446 # This should be the same for all languages, so no per-tag cache variable.
10447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10448 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10449 if ${lt_cv_irix_exported_symbol+:} false; then :
10450 $as_echo_n "(cached) " >&6
10452 save_LDFLAGS="$LDFLAGS"
10453 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10455 /* end confdefs.h. */
10456 int foo (void) { return 0; }
10458 if ac_fn_c_try_link "$LINENO"; then :
10459 lt_cv_irix_exported_symbol=yes
10461 lt_cv_irix_exported_symbol=no
10463 rm -f core conftest.err conftest.$ac_objext \
10464 conftest$ac_exeext conftest.$ac_ext
10465 LDFLAGS="$save_LDFLAGS"
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10468 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10469 if test "$lt_cv_irix_exported_symbol" = yes; then
10470 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10473 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10474 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10476 archive_cmds_need_lc='no'
10477 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10478 hardcode_libdir_separator=:
10480 link_all_deplibs=yes
10483 netbsd* | netbsdelf*-gnu)
10484 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10485 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10487 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10489 hardcode_libdir_flag_spec='-R$libdir'
10490 hardcode_direct=yes
10491 hardcode_shlibpath_var=no
10495 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10496 hardcode_direct=yes
10497 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10498 hardcode_libdir_separator=:
10499 hardcode_shlibpath_var=no
10506 if test -f /usr/libexec/ld.so; then
10507 hardcode_direct=yes
10508 hardcode_shlibpath_var=no
10509 hardcode_direct_absolute=yes
10510 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10511 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10512 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10513 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10514 export_dynamic_flag_spec='${wl}-E'
10517 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10518 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10519 hardcode_libdir_flag_spec='-R$libdir'
10522 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10523 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10533 hardcode_libdir_flag_spec='-L$libdir'
10534 hardcode_minus_L=yes
10535 allow_undefined_flag=unsupported
10536 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'
10537 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10541 if test "$GCC" = yes; then
10542 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10543 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10545 allow_undefined_flag=' -expect_unresolved \*'
10546 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10548 archive_cmds_need_lc='no'
10549 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10550 hardcode_libdir_separator=:
10553 osf4* | osf5*) # as osf3* with the addition of -msym flag
10554 if test "$GCC" = yes; then
10555 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10556 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10557 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10559 allow_undefined_flag=' -expect_unresolved \*'
10560 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10561 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~
10562 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10564 # Both c and cxx compiler support -rpath directly
10565 hardcode_libdir_flag_spec='-rpath $libdir'
10567 archive_cmds_need_lc='no'
10568 hardcode_libdir_separator=:
10572 no_undefined_flag=' -z defs'
10573 if test "$GCC" = yes; then
10575 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10576 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10577 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10579 case `$CC -V 2>&1` in
10582 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10583 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10584 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10588 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10589 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10590 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10594 hardcode_libdir_flag_spec='-R$libdir'
10595 hardcode_shlibpath_var=no
10597 solaris2.[0-5] | solaris2.[0-5].*) ;;
10599 # The compiler driver will combine and reorder linker options,
10600 # but understands `-z linker_flag'. GCC discards it without `$wl',
10601 # but is careful enough not to reorder.
10602 # Supported since Solaris 2.6 (maybe 2.5.1?)
10603 if test "$GCC" = yes; then
10604 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10606 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10610 link_all_deplibs=yes
10614 if test "x$host_vendor" = xsequent; then
10615 # Use $CC to link under sequent, because it throws in some extra .o
10616 # files that make .init and .fini sections work.
10617 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10619 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10621 hardcode_libdir_flag_spec='-L$libdir'
10622 hardcode_direct=yes
10623 hardcode_minus_L=yes
10624 hardcode_shlibpath_var=no
10628 case $host_vendor in
10630 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10631 hardcode_direct=yes # is this really true???
10634 ## LD is ld it makes a PLAMLIB
10635 ## CC just makes a GrossModule.
10636 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10637 reload_cmds='$CC -r -o $output$reload_objs'
10641 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10642 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10645 runpath_var='LD_RUN_PATH'
10646 hardcode_shlibpath_var=no
10650 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10651 hardcode_shlibpath_var=no
10652 export_dynamic_flag_spec='-Bexport'
10656 if test -d /usr/nec; then
10657 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10658 hardcode_shlibpath_var=no
10659 runpath_var=LD_RUN_PATH
10660 hardcode_runpath_var=yes
10665 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10666 no_undefined_flag='${wl}-z,text'
10667 archive_cmds_need_lc=no
10668 hardcode_shlibpath_var=no
10669 runpath_var='LD_RUN_PATH'
10671 if test "$GCC" = yes; then
10672 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10673 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10675 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10676 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10680 sysv5* | sco3.2v5* | sco5v6*)
10681 # Note: We can NOT use -z defs as we might desire, because we do not
10682 # link with -lc, and that would cause any symbols used from libc to
10683 # always be unresolved, which means just about no library would
10684 # ever link correctly. If we're not using GNU ld we use -z text
10685 # though, which does catch some bad symbols but isn't as heavy-handed
10687 no_undefined_flag='${wl}-z,text'
10688 allow_undefined_flag='${wl}-z,nodefs'
10689 archive_cmds_need_lc=no
10690 hardcode_shlibpath_var=no
10691 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10692 hardcode_libdir_separator=':'
10693 link_all_deplibs=yes
10694 export_dynamic_flag_spec='${wl}-Bexport'
10695 runpath_var='LD_RUN_PATH'
10697 if test "$GCC" = yes; then
10698 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10699 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10701 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10702 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10707 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10708 hardcode_libdir_flag_spec='-L$libdir'
10709 hardcode_shlibpath_var=no
10717 if test x$host_vendor = xsni; then
10719 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10720 export_dynamic_flag_spec='${wl}-Blargedynsym'
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10727 $as_echo "$ld_shlibs" >&6; }
10728 test "$ld_shlibs" = no && can_build_shared=no
10730 with_gnu_ld=$with_gnu_ld
10747 # Do we need to explicitly link libc?
10749 case "x$archive_cmds_need_lc" in
10751 # Assume -lc should be added
10752 archive_cmds_need_lc=yes
10754 if test "$enable_shared" = yes && test "$GCC" = yes; then
10755 case $archive_cmds in
10757 # FIXME: we may have to deal with multi-command sequences.
10760 # Test whether the compiler implicitly links with -lc since on some
10761 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10762 # to ld, don't add -lc before -lgcc.
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10764 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10765 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10766 $as_echo_n "(cached) " >&6
10769 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10771 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10772 (eval $ac_compile) 2>&5
10774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10775 test $ac_status = 0; } 2>conftest.err; then
10778 libobjs=conftest.$ac_objext
10780 wl=$lt_prog_compiler_wl
10781 pic_flag=$lt_prog_compiler_pic
10787 lt_save_allow_undefined_flag=$allow_undefined_flag
10788 allow_undefined_flag=
10789 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10790 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10793 test $ac_status = 0; }
10795 lt_cv_archive_cmds_need_lc=no
10797 lt_cv_archive_cmds_need_lc=yes
10799 allow_undefined_flag=$lt_save_allow_undefined_flag
10801 cat conftest.err 1>&5
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10807 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10808 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10967 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10969 if test "$GCC" = yes; then
10971 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10972 *) lt_awk_arg="/^libraries:/" ;;
10975 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10976 *) lt_sed_strip_eq="s,=/,/,g" ;;
10978 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10979 case $lt_search_path_spec in
10981 # if the path contains ";" then we assume it to be the separator
10982 # otherwise default to the standard path separator (i.e. ":") - it is
10983 # assumed that no part of a normal pathname contains ";" but that should
10984 # okay in the real world where ";" in dirpaths is itself problematic.
10985 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10988 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10991 # Ok, now we have the path, separated by spaces, we can step through it
10992 # and add multilib dir if necessary.
10993 lt_tmp_lt_search_path_spec=
10994 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10995 for lt_sys_path in $lt_search_path_spec; do
10996 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10997 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10999 test -d "$lt_sys_path" && \
11000 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11003 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11004 BEGIN {RS=" "; FS="/|\n";} {
11007 for (lt_i = NF; lt_i > 0; lt_i--) {
11008 if ($lt_i != "" && $lt_i != ".") {
11009 if ($lt_i == "..") {
11012 if (lt_count == 0) {
11013 lt_foo="/" $lt_i lt_foo;
11020 if (lt_foo != "") { lt_freq[lt_foo]++; }
11021 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11023 # AWK program above erroneously prepends '/' to C:/dos/paths
11026 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11027 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11029 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11031 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11033 library_names_spec=
11034 libname_spec='lib$name'
11038 postuninstall_cmds=
11042 shlibpath_overrides_runpath=unknown
11044 dynamic_linker="$host_os ld.so"
11045 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11046 need_lib_prefix=unknown
11047 hardcode_into_libs=no
11049 # when you set need_version to no, make sure it does not cause -set_version
11050 # flags to be left without arguments
11051 need_version=unknown
11055 version_type=linux # correct to gnu/linux during the next big refactor
11056 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11057 shlibpath_var=LIBPATH
11059 # AIX 3 has no versioning support, so we append a major version to the name.
11060 soname_spec='${libname}${release}${shared_ext}$major'
11064 version_type=linux # correct to gnu/linux during the next big refactor
11067 hardcode_into_libs=yes
11068 if test "$host_cpu" = ia64; then
11069 # AIX 5 supports IA64
11070 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11071 shlibpath_var=LD_LIBRARY_PATH
11073 # With GCC up to 2.95.x, collect2 would create an import file
11074 # for dependence libraries. The import file would start with
11075 # the line `#! .'. This would cause the generated library to
11076 # depend on `.', always an invalid library. This was fixed in
11077 # development snapshots of GCC prior to 3.0.
11079 aix4 | aix4.[01] | aix4.[01].*)
11080 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11082 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11085 can_build_shared=no
11089 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11090 # soname into executable. Probably we can add versioning support to
11091 # collect2, so additional links can be useful in future.
11092 if test "$aix_use_runtimelinking" = yes; then
11093 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11094 # instead of lib<name>.a to let people know that these are not
11095 # typical AIX shared libraries.
11096 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11098 # We preserve .a as extension for shared libraries through AIX4.2
11099 # and later when we are not doing run time linking.
11100 library_names_spec='${libname}${release}.a $libname.a'
11101 soname_spec='${libname}${release}${shared_ext}$major'
11103 shlibpath_var=LIBPATH
11110 # Since July 2007 AmigaOS4 officially supports .so libraries.
11111 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11115 library_names_spec='$libname.ixlibrary $libname.a'
11116 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11117 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11123 library_names_spec='${libname}${shared_ext}'
11124 dynamic_linker="$host_os ld.so"
11125 shlibpath_var=LIBRARY_PATH
11129 version_type=linux # correct to gnu/linux during the next big refactor
11131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11132 soname_spec='${libname}${release}${shared_ext}$major'
11133 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11134 shlibpath_var=LD_LIBRARY_PATH
11135 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11136 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11137 # the default ld.so.conf also contains /usr/contrib/lib and
11138 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11139 # libtool to hard-code these into programs
11142 cygwin* | mingw* | pw32* | cegcc*)
11143 version_type=windows
11148 case $GCC,$cc_basename in
11151 library_names_spec='$libname.dll.a'
11152 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11153 postinstall_cmds='base_file=`basename \${file}`~
11154 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11155 dldir=$destdir/`dirname \$dlpath`~
11156 test -d \$dldir || mkdir -p \$dldir~
11157 $install_prog $dir/$dlname \$dldir/$dlname~
11158 chmod a+x \$dldir/$dlname~
11159 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11160 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11162 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11163 dlpath=$dir/\$dldll~
11165 shlibpath_overrides_runpath=yes
11169 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11170 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11172 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11175 # MinGW DLLs use traditional 'lib' prefix
11176 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11179 # pw32 DLLs use 'pw' prefix rather than 'lib'
11180 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11183 dynamic_linker='Win32 ld.exe'
11188 libname_spec='$name'
11189 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11190 library_names_spec='${libname}.dll.lib'
11194 sys_lib_search_path_spec=
11197 for lt_path in $LIB
11200 # Let DOS variable expansion print the short 8.3 style file name.
11201 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11202 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11205 # Convert to MSYS style.
11206 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11209 # Convert to unix form, then to dos form, then back to unix form
11210 # but this time dos style (no spaces!) so that the unix form looks
11211 # like /cygdrive/c/PROGRA~1:/cygdr...
11212 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11213 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11214 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11217 sys_lib_search_path_spec="$LIB"
11218 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11219 # It is most probably a Windows format PATH.
11220 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11222 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11224 # FIXME: find the short name or the path components, as spaces are
11225 # common. (e.g. "Program Files" -> "PROGRA~1")
11229 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11230 postinstall_cmds='base_file=`basename \${file}`~
11231 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11232 dldir=$destdir/`dirname \$dlpath`~
11233 test -d \$dldir || mkdir -p \$dldir~
11234 $install_prog $dir/$dlname \$dldir/$dlname'
11235 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11236 dlpath=$dir/\$dldll~
11238 shlibpath_overrides_runpath=yes
11239 dynamic_linker='Win32 link.exe'
11243 # Assume MSVC wrapper
11244 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11245 dynamic_linker='Win32 ld.exe'
11248 # FIXME: first we should search . and the directory the executable is in
11252 darwin* | rhapsody*)
11253 dynamic_linker="$host_os dyld"
11254 version_type=darwin
11257 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11258 soname_spec='${libname}${release}${major}$shared_ext'
11259 shlibpath_overrides_runpath=yes
11260 shlibpath_var=DYLD_LIBRARY_PATH
11261 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11263 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11264 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11268 version_type=linux # correct to gnu/linux during the next big refactor
11271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11272 soname_spec='${libname}${release}${shared_ext}$major'
11273 shlibpath_var=LD_LIBRARY_PATH
11276 freebsd* | dragonfly*)
11277 # DragonFly does not have aout. When/if they implement a new
11278 # versioning mechanism, adjust this.
11279 if test -x /usr/bin/objformat; then
11280 objformat=`/usr/bin/objformat`
11283 freebsd[23].*) objformat=aout ;;
11284 *) objformat=elf ;;
11287 version_type=freebsd-$objformat
11288 case $version_type in
11290 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11295 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11299 shlibpath_var=LD_LIBRARY_PATH
11302 shlibpath_overrides_runpath=yes
11304 freebsd3.[01]* | freebsdelf3.[01]*)
11305 shlibpath_overrides_runpath=yes
11306 hardcode_into_libs=yes
11308 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11309 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11310 shlibpath_overrides_runpath=no
11311 hardcode_into_libs=yes
11313 *) # from 4.6 on, and DragonFly
11314 shlibpath_overrides_runpath=yes
11315 hardcode_into_libs=yes
11321 version_type=linux # correct to gnu/linux during the next big refactor
11324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11325 soname_spec='${libname}${release}${shared_ext}$major'
11326 shlibpath_var=LD_LIBRARY_PATH
11327 shlibpath_overrides_runpath=no
11328 hardcode_into_libs=yes
11332 version_type=linux # correct to gnu/linux during the next big refactor
11335 dynamic_linker="$host_os runtime_loader"
11336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11337 soname_spec='${libname}${release}${shared_ext}$major'
11338 shlibpath_var=LIBRARY_PATH
11339 shlibpath_overrides_runpath=yes
11340 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11341 hardcode_into_libs=yes
11344 hpux9* | hpux10* | hpux11*)
11345 # Give a soname corresponding to the major version so that dld.sl refuses to
11346 # link against other versions.
11353 hardcode_into_libs=yes
11354 dynamic_linker="$host_os dld.so"
11355 shlibpath_var=LD_LIBRARY_PATH
11356 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11358 soname_spec='${libname}${release}${shared_ext}$major'
11359 if test "X$HPUX_IA64_MODE" = X32; then
11360 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11362 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11364 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11368 hardcode_into_libs=yes
11369 dynamic_linker="$host_os dld.sl"
11370 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11371 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11373 soname_spec='${libname}${release}${shared_ext}$major'
11374 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11375 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11379 dynamic_linker="$host_os dld.sl"
11380 shlibpath_var=SHLIB_PATH
11381 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11383 soname_spec='${libname}${release}${shared_ext}$major'
11386 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11387 postinstall_cmds='chmod 555 $lib'
11388 # or fails outright, so override atomically:
11389 install_override_mode=555
11393 version_type=linux # correct to gnu/linux during the next big refactor
11396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11397 soname_spec='${libname}${release}${shared_ext}$major'
11398 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11399 shlibpath_var=LD_LIBRARY_PATH
11400 shlibpath_overrides_runpath=no
11401 hardcode_into_libs=yes
11404 irix5* | irix6* | nonstopux*)
11406 nonstopux*) version_type=nonstopux ;;
11408 if test "$lt_cv_prog_gnu_ld" = yes; then
11409 version_type=linux # correct to gnu/linux during the next big refactor
11416 soname_spec='${libname}${release}${shared_ext}$major'
11417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11419 irix5* | nonstopux*)
11420 libsuff= shlibsuff=
11423 case $LD in # libtool.m4 will add one of these switches to LD
11424 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11425 libsuff= shlibsuff= libmagic=32-bit;;
11426 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11427 libsuff=32 shlibsuff=N32 libmagic=N32;;
11428 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11429 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11430 *) libsuff= shlibsuff= libmagic=never-match;;
11434 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11435 shlibpath_overrides_runpath=no
11436 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11437 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11438 hardcode_into_libs=yes
11441 # No shared lib support for Linux oldld, aout, or coff.
11442 linux*oldld* | linux*aout* | linux*coff*)
11446 # This must be glibc/ELF.
11447 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11448 version_type=linux # correct to gnu/linux during the next big refactor
11451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11452 soname_spec='${libname}${release}${shared_ext}$major'
11453 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11454 shlibpath_var=LD_LIBRARY_PATH
11455 shlibpath_overrides_runpath=no
11457 # Some binutils ld are patched to set DT_RUNPATH
11458 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11459 $as_echo_n "(cached) " >&6
11461 lt_cv_shlibpath_overrides_runpath=no
11462 save_LDFLAGS=$LDFLAGS
11463 save_libdir=$libdir
11464 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11465 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11467 /* end confdefs.h. */
11477 if ac_fn_c_try_link "$LINENO"; then :
11478 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11479 lt_cv_shlibpath_overrides_runpath=yes
11482 rm -f core conftest.err conftest.$ac_objext \
11483 conftest$ac_exeext conftest.$ac_ext
11484 LDFLAGS=$save_LDFLAGS
11485 libdir=$save_libdir
11489 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11491 # This implies no fast_install, which is unacceptable.
11492 # Some rework will be needed to allow for fast_install
11493 # before this can be enabled.
11494 hardcode_into_libs=yes
11496 # Append ld.so.conf contents to the search path
11497 if test -f /etc/ld.so.conf; then
11498 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11499 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11502 # We used to test for /lib/ld.so.1 and disable shared libraries on
11503 # powerpc, because MkLinux only supported shared libraries with the
11504 # GNU dynamic linker. Since this was broken with cross compilers,
11505 # most powerpc-linux boxes support dynamic linking these days and
11506 # people can always --disable-shared, the test was removed, and we
11507 # assume the GNU/Linux dynamic linker is in use.
11508 dynamic_linker='GNU/Linux ld.so'
11515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11516 soname_spec='${libname}${release}${shared_ext}$major'
11517 shlibpath_var=LD_LIBRARY_PATH
11518 shlibpath_overrides_runpath=no
11519 hardcode_into_libs=yes
11520 dynamic_linker='NetBSD ld.elf_so'
11527 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11529 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11530 dynamic_linker='NetBSD (a.out) ld.so'
11532 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11533 soname_spec='${libname}${release}${shared_ext}$major'
11534 dynamic_linker='NetBSD ld.elf_so'
11536 shlibpath_var=LD_LIBRARY_PATH
11537 shlibpath_overrides_runpath=yes
11538 hardcode_into_libs=yes
11542 version_type=linux # correct to gnu/linux during the next big refactor
11543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11544 shlibpath_var=LD_LIBRARY_PATH
11545 shlibpath_overrides_runpath=yes
11552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11553 soname_spec='${libname}${release}${shared_ext}$major'
11554 shlibpath_var=LD_LIBRARY_PATH
11555 shlibpath_overrides_runpath=no
11556 hardcode_into_libs=yes
11557 dynamic_linker='ldqnx.so'
11562 sys_lib_dlsearch_path_spec="/usr/lib"
11564 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11566 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11567 *) need_version=no ;;
11569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11570 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11571 shlibpath_var=LD_LIBRARY_PATH
11572 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11574 openbsd2.[89] | openbsd2.[89].*)
11575 shlibpath_overrides_runpath=no
11578 shlibpath_overrides_runpath=yes
11582 shlibpath_overrides_runpath=yes
11587 libname_spec='$name'
11590 library_names_spec='$libname${shared_ext} $libname.a'
11591 dynamic_linker='OS/2 ld.exe'
11592 shlibpath_var=LIBPATH
11595 osf3* | osf4* | osf5*)
11599 soname_spec='${libname}${release}${shared_ext}$major'
11600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11601 shlibpath_var=LD_LIBRARY_PATH
11602 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11603 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11611 version_type=linux # correct to gnu/linux during the next big refactor
11614 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11615 soname_spec='${libname}${release}${shared_ext}$major'
11616 shlibpath_var=LD_LIBRARY_PATH
11617 shlibpath_overrides_runpath=yes
11618 hardcode_into_libs=yes
11619 # ldd complains unless libraries are executable
11620 postinstall_cmds='chmod +x $lib'
11625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11626 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11627 shlibpath_var=LD_LIBRARY_PATH
11628 shlibpath_overrides_runpath=yes
11629 if test "$with_gnu_ld" = yes; then
11636 version_type=linux # correct to gnu/linux during the next big refactor
11637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11638 soname_spec='${libname}${release}${shared_ext}$major'
11639 shlibpath_var=LD_LIBRARY_PATH
11640 case $host_vendor in
11642 shlibpath_overrides_runpath=no
11644 runpath_var=LD_RUN_PATH
11652 shlibpath_overrides_runpath=no
11653 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11659 if test -d /usr/nec ;then
11660 version_type=linux # correct to gnu/linux during the next big refactor
11661 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11662 soname_spec='$libname${shared_ext}.$major'
11663 shlibpath_var=LD_LIBRARY_PATH
11667 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11668 version_type=freebsd-elf
11671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11672 soname_spec='${libname}${release}${shared_ext}$major'
11673 shlibpath_var=LD_LIBRARY_PATH
11674 shlibpath_overrides_runpath=yes
11675 hardcode_into_libs=yes
11676 if test "$with_gnu_ld" = yes; then
11677 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11679 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11682 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11686 sys_lib_dlsearch_path_spec='/usr/lib'
11690 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11691 version_type=linux # correct to gnu/linux during the next big refactor
11694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11695 shlibpath_var=LD_LIBRARY_PATH
11696 shlibpath_overrides_runpath=no
11697 hardcode_into_libs=yes
11701 version_type=linux # correct to gnu/linux during the next big refactor
11702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11703 soname_spec='${libname}${release}${shared_ext}$major'
11704 shlibpath_var=LD_LIBRARY_PATH
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11712 $as_echo "$dynamic_linker" >&6; }
11713 test "$dynamic_linker" = no && can_build_shared=no
11715 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11716 if test "$GCC" = yes; then
11717 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11720 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11721 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11723 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11724 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11819 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11821 if test -n "$hardcode_libdir_flag_spec" ||
11822 test -n "$runpath_var" ||
11823 test "X$hardcode_automatic" = "Xyes" ; then
11825 # We can hardcode non-existent directories.
11826 if test "$hardcode_direct" != no &&
11827 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11828 # have to relink, otherwise we might link with an installed library
11829 # when we should be linking with a yet-to-be-installed one
11830 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11831 test "$hardcode_minus_L" != no; then
11832 # Linking always hardcodes the temporary library directory.
11833 hardcode_action=relink
11835 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11836 hardcode_action=immediate
11839 # We cannot hardcode anything, or else we can only hardcode existing
11841 hardcode_action=unsupported
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11844 $as_echo "$hardcode_action" >&6; }
11846 if test "$hardcode_action" = relink ||
11847 test "$inherit_rpath" = yes; then
11848 # Fast installation is not supported
11849 enable_fast_install=no
11850 elif test "$shlibpath_overrides_runpath" = yes ||
11851 test "$enable_shared" = no; then
11852 # Fast installation is not necessary
11853 enable_fast_install=needless
11861 if test "x$enable_dlopen" != xyes; then
11862 enable_dlopen=unknown
11863 enable_dlopen_self=unknown
11864 enable_dlopen_self_static=unknown
11871 lt_cv_dlopen="load_add_on"
11873 lt_cv_dlopen_self=yes
11876 mingw* | pw32* | cegcc*)
11877 lt_cv_dlopen="LoadLibrary"
11882 lt_cv_dlopen="dlopen"
11887 # if libdl is installed we need to link against it
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11889 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11890 if ${ac_cv_lib_dl_dlopen+:} false; then :
11891 $as_echo_n "(cached) " >&6
11893 ac_check_lib_save_LIBS=$LIBS
11895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h. */
11898 /* Override any GCC internal prototype to avoid an error.
11899 Use char because int might match the return type of a GCC
11900 builtin and then its argument prototype would still apply. */
11913 if ac_fn_c_try_link "$LINENO"; then :
11914 ac_cv_lib_dl_dlopen=yes
11916 ac_cv_lib_dl_dlopen=no
11918 rm -f core conftest.err conftest.$ac_objext \
11919 conftest$ac_exeext conftest.$ac_ext
11920 LIBS=$ac_check_lib_save_LIBS
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11923 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11924 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11925 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11928 lt_cv_dlopen="dyld"
11930 lt_cv_dlopen_self=yes
11937 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11938 if test "x$ac_cv_func_shl_load" = xyes; then :
11939 lt_cv_dlopen="shl_load"
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11942 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11943 if ${ac_cv_lib_dld_shl_load+:} false; then :
11944 $as_echo_n "(cached) " >&6
11946 ac_check_lib_save_LIBS=$LIBS
11948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11951 /* Override any GCC internal prototype to avoid an error.
11952 Use char because int might match the return type of a GCC
11953 builtin and then its argument prototype would still apply. */
11961 return shl_load ();
11966 if ac_fn_c_try_link "$LINENO"; then :
11967 ac_cv_lib_dld_shl_load=yes
11969 ac_cv_lib_dld_shl_load=no
11971 rm -f core conftest.err conftest.$ac_objext \
11972 conftest$ac_exeext conftest.$ac_ext
11973 LIBS=$ac_check_lib_save_LIBS
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11976 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11977 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11978 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11980 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11981 if test "x$ac_cv_func_dlopen" = xyes; then :
11982 lt_cv_dlopen="dlopen"
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11985 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11986 if ${ac_cv_lib_dl_dlopen+:} false; then :
11987 $as_echo_n "(cached) " >&6
11989 ac_check_lib_save_LIBS=$LIBS
11991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11992 /* end confdefs.h. */
11994 /* Override any GCC internal prototype to avoid an error.
11995 Use char because int might match the return type of a GCC
11996 builtin and then its argument prototype would still apply. */
12009 if ac_fn_c_try_link "$LINENO"; then :
12010 ac_cv_lib_dl_dlopen=yes
12012 ac_cv_lib_dl_dlopen=no
12014 rm -f core conftest.err conftest.$ac_objext \
12015 conftest$ac_exeext conftest.$ac_ext
12016 LIBS=$ac_check_lib_save_LIBS
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12019 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12020 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12021 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12024 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12025 if ${ac_cv_lib_svld_dlopen+:} false; then :
12026 $as_echo_n "(cached) " >&6
12028 ac_check_lib_save_LIBS=$LIBS
12029 LIBS="-lsvld $LIBS"
12030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12031 /* end confdefs.h. */
12033 /* Override any GCC internal prototype to avoid an error.
12034 Use char because int might match the return type of a GCC
12035 builtin and then its argument prototype would still apply. */
12048 if ac_fn_c_try_link "$LINENO"; then :
12049 ac_cv_lib_svld_dlopen=yes
12051 ac_cv_lib_svld_dlopen=no
12053 rm -f core conftest.err conftest.$ac_objext \
12054 conftest$ac_exeext conftest.$ac_ext
12055 LIBS=$ac_check_lib_save_LIBS
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12058 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12059 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12060 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12063 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12064 if ${ac_cv_lib_dld_dld_link+:} false; then :
12065 $as_echo_n "(cached) " >&6
12067 ac_check_lib_save_LIBS=$LIBS
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12082 return dld_link ();
12087 if ac_fn_c_try_link "$LINENO"; then :
12088 ac_cv_lib_dld_dld_link=yes
12090 ac_cv_lib_dld_dld_link=no
12092 rm -f core conftest.err conftest.$ac_objext \
12093 conftest$ac_exeext conftest.$ac_ext
12094 LIBS=$ac_check_lib_save_LIBS
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12097 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12098 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12099 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12120 if test "x$lt_cv_dlopen" != xno; then
12126 case $lt_cv_dlopen in
12128 save_CPPFLAGS="$CPPFLAGS"
12129 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12131 save_LDFLAGS="$LDFLAGS"
12132 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12135 LIBS="$lt_cv_dlopen_libs $LIBS"
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12138 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12139 if ${lt_cv_dlopen_self+:} false; then :
12140 $as_echo_n "(cached) " >&6
12142 if test "$cross_compiling" = yes; then :
12143 lt_cv_dlopen_self=cross
12145 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12146 lt_status=$lt_dlunknown
12147 cat > conftest.$ac_ext <<_LT_EOF
12148 #line $LINENO "configure"
12149 #include "confdefs.h"
12158 # define LT_DLGLOBAL RTLD_GLOBAL
12161 # define LT_DLGLOBAL DL_GLOBAL
12163 # define LT_DLGLOBAL 0
12167 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12168 find out it does not work in some platform. */
12169 #ifndef LT_DLLAZY_OR_NOW
12171 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12174 # define LT_DLLAZY_OR_NOW DL_LAZY
12177 # define LT_DLLAZY_OR_NOW RTLD_NOW
12180 # define LT_DLLAZY_OR_NOW DL_NOW
12182 # define LT_DLLAZY_OR_NOW 0
12189 /* When -fvisbility=hidden is used, assume the code has been annotated
12190 correspondingly for the symbols needed. */
12191 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12192 int fnord () __attribute__((visibility("default")));
12195 int fnord () { return 42; }
12198 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12199 int status = $lt_dlunknown;
12203 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12206 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12207 else puts (dlerror ());
12209 /* dlclose (self); */
12217 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12218 (eval $ac_link) 2>&5
12220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12221 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12222 (./conftest; exit; ) >&5 2>/dev/null
12224 case x$lt_status in
12225 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12226 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12227 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12230 # compilation failed
12231 lt_cv_dlopen_self=no
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12239 $as_echo "$lt_cv_dlopen_self" >&6; }
12241 if test "x$lt_cv_dlopen_self" = xyes; then
12242 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12244 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12245 if ${lt_cv_dlopen_self_static+:} false; then :
12246 $as_echo_n "(cached) " >&6
12248 if test "$cross_compiling" = yes; then :
12249 lt_cv_dlopen_self_static=cross
12251 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12252 lt_status=$lt_dlunknown
12253 cat > conftest.$ac_ext <<_LT_EOF
12254 #line $LINENO "configure"
12255 #include "confdefs.h"
12264 # define LT_DLGLOBAL RTLD_GLOBAL
12267 # define LT_DLGLOBAL DL_GLOBAL
12269 # define LT_DLGLOBAL 0
12273 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12274 find out it does not work in some platform. */
12275 #ifndef LT_DLLAZY_OR_NOW
12277 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12280 # define LT_DLLAZY_OR_NOW DL_LAZY
12283 # define LT_DLLAZY_OR_NOW RTLD_NOW
12286 # define LT_DLLAZY_OR_NOW DL_NOW
12288 # define LT_DLLAZY_OR_NOW 0
12295 /* When -fvisbility=hidden is used, assume the code has been annotated
12296 correspondingly for the symbols needed. */
12297 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12298 int fnord () __attribute__((visibility("default")));
12301 int fnord () { return 42; }
12304 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12305 int status = $lt_dlunknown;
12309 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12312 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12313 else puts (dlerror ());
12315 /* dlclose (self); */
12323 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12324 (eval $ac_link) 2>&5
12326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12327 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12328 (./conftest; exit; ) >&5 2>/dev/null
12330 case x$lt_status in
12331 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12332 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12333 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12336 # compilation failed
12337 lt_cv_dlopen_self_static=no
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12345 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12348 CPPFLAGS="$save_CPPFLAGS"
12349 LDFLAGS="$save_LDFLAGS"
12354 case $lt_cv_dlopen_self in
12355 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12356 *) enable_dlopen_self=unknown ;;
12359 case $lt_cv_dlopen_self_static in
12360 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12361 *) enable_dlopen_self_static=unknown ;;
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12384 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12385 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12386 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12387 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12389 $as_echo "yes" >&6; }
12391 # FIXME - insert some real tests, host_os isn't really good enough
12394 if test -n "$STRIP" ; then
12395 striplib="$STRIP -x"
12396 old_striplib="$STRIP -S"
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12398 $as_echo "yes" >&6; }
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12401 $as_echo "no" >&6; }
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12406 $as_echo "no" >&6; }
12422 # Report which library types will actually be built
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12424 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12426 $as_echo "$can_build_shared" >&6; }
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12429 $as_echo_n "checking whether to build shared libraries... " >&6; }
12430 test "$can_build_shared" = "no" && enable_shared=no
12432 # On AIX, shared libraries and static libraries use the same namespace, and
12433 # are all built from PIC.
12436 test "$enable_shared" = yes && enable_static=no
12437 if test -n "$RANLIB"; then
12438 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12439 postinstall_cmds='$RANLIB $lib'
12444 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12445 test "$enable_shared" = yes && enable_static=no
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12450 $as_echo "$enable_shared" >&6; }
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12453 $as_echo_n "checking whether to build static libraries... " >&6; }
12454 # Make sure either enable_shared or enable_static is yes.
12455 test "$enable_shared" = yes || enable_static=yes
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12457 $as_echo "$enable_static" >&6; }
12464 ac_cpp='$CPP $CPPFLAGS'
12465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12485 ac_config_commands="$ac_config_commands libtool"
12490 # Only expand once:
12497 # Check whether --with-autoconf was given.
12498 if test "${with_autoconf+set}" = set; then :
12499 withval=$with_autoconf;
12502 AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
12505 $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
12511 # Check whether --with-autoheader was given.
12512 if test "${with_autoheader+set}" = set; then :
12513 withval=$with_autoheader;
12516 AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
12519 $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
12525 # Check whether --with-automake was given.
12526 if test "${with_automake+set}" = set; then :
12527 withval=$with_automake;
12530 AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
12533 $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
12539 # Check whether --with-aclocal was given.
12540 if test "${with_aclocal+set}" = set; then :
12541 withval=$with_aclocal;
12544 ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
12547 $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
12553 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12559 $as_echo_n "checking whether NLS is requested... " >&6; }
12560 # Check whether --enable-nls was given.
12561 if test "${enable_nls+set}" = set; then :
12562 enableval=$enable_nls; USE_NLS=$enableval
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12568 $as_echo "$USE_NLS" >&6; }
12573 GETTEXT_MACRO_VERSION=0.17
12578 # Prepare PATH_SEPARATOR.
12579 # The user is always right.
12580 if test "${PATH_SEPARATOR+set}" != set; then
12581 echo "#! /bin/sh" >conf$$.sh
12582 echo "exit 0" >>conf$$.sh
12584 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12592 # Find out how to test for executable files. Don't use a zero-byte file,
12593 # as systems may use methods other than mode bits to determine executability.
12594 cat >conf$$.file <<_ASEOF
12598 chmod +x conf$$.file
12599 if test -x conf$$.file >/dev/null 2>&1; then
12600 ac_executable_p="test -x"
12602 ac_executable_p="test -f"
12606 # Extract the first word of "msgfmt", so it can be a program name with args.
12607 set dummy msgfmt; ac_word=$2
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12609 $as_echo_n "checking for $ac_word... " >&6; }
12610 if ${ac_cv_path_MSGFMT+:} false; then :
12611 $as_echo_n "(cached) " >&6
12615 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12618 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12619 for ac_dir in $PATH; do
12621 test -z "$ac_dir" && ac_dir=.
12622 for ac_exec_ext in '' $ac_executable_extensions; do
12623 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12624 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12625 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
12626 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12627 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12634 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12638 MSGFMT="$ac_cv_path_MSGFMT"
12639 if test "$MSGFMT" != ":"; then
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12641 $as_echo "$MSGFMT" >&6; }
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12644 $as_echo "no" >&6; }
12647 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12648 set dummy gmsgfmt; ac_word=$2
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12650 $as_echo_n "checking for $ac_word... " >&6; }
12651 if ${ac_cv_path_GMSGFMT+:} false; then :
12652 $as_echo_n "(cached) " >&6
12656 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12660 for as_dir in $PATH
12663 test -z "$as_dir" && as_dir=.
12664 for ac_exec_ext in '' $ac_executable_extensions; do
12665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12666 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12674 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12678 GMSGFMT=$ac_cv_path_GMSGFMT
12679 if test -n "$GMSGFMT"; then
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12681 $as_echo "$GMSGFMT" >&6; }
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12684 $as_echo "no" >&6; }
12689 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12690 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
12691 *) MSGFMT_015=$MSGFMT ;;
12694 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12695 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
12696 *) GMSGFMT_015=$GMSGFMT ;;
12701 # Prepare PATH_SEPARATOR.
12702 # The user is always right.
12703 if test "${PATH_SEPARATOR+set}" != set; then
12704 echo "#! /bin/sh" >conf$$.sh
12705 echo "exit 0" >>conf$$.sh
12707 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12715 # Find out how to test for executable files. Don't use a zero-byte file,
12716 # as systems may use methods other than mode bits to determine executability.
12717 cat >conf$$.file <<_ASEOF
12721 chmod +x conf$$.file
12722 if test -x conf$$.file >/dev/null 2>&1; then
12723 ac_executable_p="test -x"
12725 ac_executable_p="test -f"
12729 # Extract the first word of "xgettext", so it can be a program name with args.
12730 set dummy xgettext; ac_word=$2
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12732 $as_echo_n "checking for $ac_word... " >&6; }
12733 if ${ac_cv_path_XGETTEXT+:} false; then :
12734 $as_echo_n "(cached) " >&6
12736 case "$XGETTEXT" in
12738 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12741 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12742 for ac_dir in $PATH; do
12744 test -z "$ac_dir" && ac_dir=.
12745 for ac_exec_ext in '' $ac_executable_extensions; do
12746 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12747 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12748 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
12749 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12750 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
12757 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12761 XGETTEXT="$ac_cv_path_XGETTEXT"
12762 if test "$XGETTEXT" != ":"; then
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12764 $as_echo "$XGETTEXT" >&6; }
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12767 $as_echo "no" >&6; }
12772 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12773 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
12774 *) XGETTEXT_015=$XGETTEXT ;;
12779 # Prepare PATH_SEPARATOR.
12780 # The user is always right.
12781 if test "${PATH_SEPARATOR+set}" != set; then
12782 echo "#! /bin/sh" >conf$$.sh
12783 echo "exit 0" >>conf$$.sh
12785 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12793 # Find out how to test for executable files. Don't use a zero-byte file,
12794 # as systems may use methods other than mode bits to determine executability.
12795 cat >conf$$.file <<_ASEOF
12799 chmod +x conf$$.file
12800 if test -x conf$$.file >/dev/null 2>&1; then
12801 ac_executable_p="test -x"
12803 ac_executable_p="test -f"
12807 # Extract the first word of "msgmerge", so it can be a program name with args.
12808 set dummy msgmerge; ac_word=$2
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12810 $as_echo_n "checking for $ac_word... " >&6; }
12811 if ${ac_cv_path_MSGMERGE+:} false; then :
12812 $as_echo_n "(cached) " >&6
12814 case "$MSGMERGE" in
12816 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12819 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12820 for ac_dir in $PATH; do
12822 test -z "$ac_dir" && ac_dir=.
12823 for ac_exec_ext in '' $ac_executable_extensions; do
12824 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12825 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12826 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
12827 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12834 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12838 MSGMERGE="$ac_cv_path_MSGMERGE"
12839 if test "$MSGMERGE" != ":"; then
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12841 $as_echo "$MSGMERGE" >&6; }
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12844 $as_echo "no" >&6; }
12848 test -n "$localedir" || localedir='${datadir}/locale'
12851 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
12854 ac_config_commands="$ac_config_commands po-directories"
12858 if test "X$prefix" = "XNONE"; then
12859 acl_final_prefix="$ac_default_prefix"
12861 acl_final_prefix="$prefix"
12863 if test "X$exec_prefix" = "XNONE"; then
12864 acl_final_exec_prefix='${prefix}'
12866 acl_final_exec_prefix="$exec_prefix"
12868 acl_save_prefix="$prefix"
12869 prefix="$acl_final_prefix"
12870 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12871 prefix="$acl_save_prefix"
12874 # Check whether --with-gnu-ld was given.
12875 if test "${with_gnu_ld+set}" = set; then :
12876 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12881 # Prepare PATH_SEPARATOR.
12882 # The user is always right.
12883 if test "${PATH_SEPARATOR+set}" != set; then
12884 echo "#! /bin/sh" >conf$$.sh
12885 echo "exit 0" >>conf$$.sh
12887 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12895 if test "$GCC" = yes; then
12896 # Check if gcc -print-prog-name=ld gives a path.
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12898 $as_echo_n "checking for ld used by GCC... " >&6; }
12901 # gcc leaves a trailing carriage return which upsets mingw
12902 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12904 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12907 # Accept absolute paths.
12908 [\\/]* | [A-Za-z]:[\\/]*)
12909 re_direlt='/[^/][^/]*/\.\./'
12910 # Canonicalize the path of ld
12911 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12912 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12913 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12915 test -z "$LD" && LD="$ac_prog"
12918 # If it fails, then pretend we aren't using GCC.
12922 # If it is relative, then search for the first ld in PATH.
12923 with_gnu_ld=unknown
12926 elif test "$with_gnu_ld" = yes; then
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12928 $as_echo_n "checking for GNU ld... " >&6; }
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12931 $as_echo_n "checking for non-GNU ld... " >&6; }
12933 if ${acl_cv_path_LD+:} false; then :
12934 $as_echo_n "(cached) " >&6
12936 if test -z "$LD"; then
12937 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12938 for ac_dir in $PATH; do
12939 test -z "$ac_dir" && ac_dir=.
12940 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12941 acl_cv_path_LD="$ac_dir/$ac_prog"
12942 # Check to see if the program is GNU ld. I'd rather use --version,
12943 # but apparently some GNU ld's only accept -v.
12944 # Break only if it was the GNU/non-GNU ld that we prefer.
12945 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12946 *GNU* | *'with BFD'*)
12947 test "$with_gnu_ld" != no && break ;;
12949 test "$with_gnu_ld" != yes && break ;;
12955 acl_cv_path_LD="$LD" # Let the user override the test with a path.
12959 LD="$acl_cv_path_LD"
12960 if test -n "$LD"; then
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12962 $as_echo "$LD" >&6; }
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12965 $as_echo "no" >&6; }
12967 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12969 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12970 if ${acl_cv_prog_gnu_ld+:} false; then :
12971 $as_echo_n "(cached) " >&6
12973 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12974 case `$LD -v 2>&1 </dev/null` in
12975 *GNU* | *'with BFD'*)
12976 acl_cv_prog_gnu_ld=yes ;;
12978 acl_cv_prog_gnu_ld=no ;;
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12982 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12983 with_gnu_ld=$acl_cv_prog_gnu_ld
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12989 $as_echo_n "checking for shared library run path origin... " >&6; }
12990 if ${acl_cv_rpath+:} false; then :
12991 $as_echo_n "(cached) " >&6
12994 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12995 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12997 rm -f ./conftest.sh
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13002 $as_echo "$acl_cv_rpath" >&6; }
13004 acl_libext="$acl_cv_libext"
13005 acl_shlibext="$acl_cv_shlibext"
13006 acl_libname_spec="$acl_cv_libname_spec"
13007 acl_library_names_spec="$acl_cv_library_names_spec"
13008 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
13009 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
13010 acl_hardcode_direct="$acl_cv_hardcode_direct"
13011 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
13012 # Check whether --enable-rpath was given.
13013 if test "${enable_rpath+set}" = set; then :
13014 enableval=$enable_rpath; :
13022 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13023 if test -n "$searchpath"; then
13024 acl_save_IFS="${IFS= }"; IFS=":"
13025 for searchdir in $searchpath; do
13026 if test -d "$searchdir"; then
13027 case "$searchdir" in
13028 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
13029 *) searchdir=`cd "$searchdir" && pwd`
13030 case "$searchdir" in
13031 */lib64 ) acl_libdirstem=lib64 ;;
13036 IFS="$acl_save_IFS"
13049 acl_save_prefix="$prefix"
13050 prefix="$acl_final_prefix"
13051 acl_save_exec_prefix="$exec_prefix"
13052 exec_prefix="$acl_final_exec_prefix"
13054 eval additional_includedir=\"$includedir\"
13055 eval additional_libdir=\"$libdir\"
13057 exec_prefix="$acl_save_exec_prefix"
13058 prefix="$acl_save_prefix"
13061 # Check whether --with-libiconv-prefix was given.
13062 if test "${with_libiconv_prefix+set}" = set; then :
13063 withval=$with_libiconv_prefix;
13064 if test "X$withval" = "Xno"; then
13067 if test "X$withval" = "X"; then
13069 acl_save_prefix="$prefix"
13070 prefix="$acl_final_prefix"
13071 acl_save_exec_prefix="$exec_prefix"
13072 exec_prefix="$acl_final_exec_prefix"
13074 eval additional_includedir=\"$includedir\"
13075 eval additional_libdir=\"$libdir\"
13077 exec_prefix="$acl_save_exec_prefix"
13078 prefix="$acl_save_prefix"
13081 additional_includedir="$withval/include"
13082 additional_libdir="$withval/$acl_libdirstem"
13094 names_already_handled=
13095 names_next_round='iconv '
13096 while test -n "$names_next_round"; do
13097 names_this_round="$names_next_round"
13099 for name in $names_this_round; do
13101 for n in $names_already_handled; do
13102 if test "$n" = "$name"; then
13103 already_handled=yes
13107 if test -z "$already_handled"; then
13108 names_already_handled="$names_already_handled $name"
13109 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13110 eval value=\"\$HAVE_LIB$uppername\"
13111 if test -n "$value"; then
13112 if test "$value" = yes; then
13113 eval value=\"\$LIB$uppername\"
13114 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13115 eval value=\"\$LTLIB$uppername\"
13116 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
13125 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13126 if test -n "$acl_shlibext"; then
13127 shrext=".$acl_shlibext" # typically: shrext=.so
13131 if test $use_additional = yes; then
13132 dir="$additional_libdir"
13133 if test -n "$acl_shlibext"; then
13134 if test -f "$dir/$libname$shrext"; then
13136 found_so="$dir/$libname$shrext"
13138 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13139 ver=`(cd "$dir" && \
13140 for f in "$libname$shrext".*; do echo "$f"; done \
13141 | sed -e "s,^$libname$shrext\\\\.,," \
13142 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13143 | sed 1q ) 2>/dev/null`
13144 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13146 found_so="$dir/$libname$shrext.$ver"
13149 eval library_names=\"$acl_library_names_spec\"
13150 for f in $library_names; do
13151 if test -f "$dir/$f"; then
13160 if test "X$found_dir" = "X"; then
13161 if test -f "$dir/$libname.$acl_libext"; then
13163 found_a="$dir/$libname.$acl_libext"
13166 if test "X$found_dir" != "X"; then
13167 if test -f "$dir/$libname.la"; then
13168 found_la="$dir/$libname.la"
13172 if test "X$found_dir" = "X"; then
13173 for x in $LDFLAGS $LTLIBICONV; do
13175 acl_save_prefix="$prefix"
13176 prefix="$acl_final_prefix"
13177 acl_save_exec_prefix="$exec_prefix"
13178 exec_prefix="$acl_final_exec_prefix"
13180 exec_prefix="$acl_save_exec_prefix"
13181 prefix="$acl_save_prefix"
13185 dir=`echo "X$x" | sed -e 's/^X-L//'`
13186 if test -n "$acl_shlibext"; then
13187 if test -f "$dir/$libname$shrext"; then
13189 found_so="$dir/$libname$shrext"
13191 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13192 ver=`(cd "$dir" && \
13193 for f in "$libname$shrext".*; do echo "$f"; done \
13194 | sed -e "s,^$libname$shrext\\\\.,," \
13195 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13196 | sed 1q ) 2>/dev/null`
13197 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13199 found_so="$dir/$libname$shrext.$ver"
13202 eval library_names=\"$acl_library_names_spec\"
13203 for f in $library_names; do
13204 if test -f "$dir/$f"; then
13213 if test "X$found_dir" = "X"; then
13214 if test -f "$dir/$libname.$acl_libext"; then
13216 found_a="$dir/$libname.$acl_libext"
13219 if test "X$found_dir" != "X"; then
13220 if test -f "$dir/$libname.la"; then
13221 found_la="$dir/$libname.la"
13226 if test "X$found_dir" != "X"; then
13231 if test "X$found_dir" != "X"; then
13232 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13233 if test "X$found_so" != "X"; then
13234 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13235 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13238 for x in $ltrpathdirs; do
13239 if test "X$x" = "X$found_dir"; then
13244 if test -z "$haveit"; then
13245 ltrpathdirs="$ltrpathdirs $found_dir"
13247 if test "$acl_hardcode_direct" = yes; then
13248 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13250 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13251 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13253 for x in $rpathdirs; do
13254 if test "X$x" = "X$found_dir"; then
13259 if test -z "$haveit"; then
13260 rpathdirs="$rpathdirs $found_dir"
13264 for x in $LDFLAGS $LIBICONV; do
13266 acl_save_prefix="$prefix"
13267 prefix="$acl_final_prefix"
13268 acl_save_exec_prefix="$exec_prefix"
13269 exec_prefix="$acl_final_exec_prefix"
13271 exec_prefix="$acl_save_exec_prefix"
13272 prefix="$acl_save_prefix"
13274 if test "X$x" = "X-L$found_dir"; then
13279 if test -z "$haveit"; then
13280 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13282 if test "$acl_hardcode_minus_L" != no; then
13283 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13285 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13291 if test "X$found_a" != "X"; then
13292 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
13294 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13297 additional_includedir=
13298 case "$found_dir" in
13299 */$acl_libdirstem | */$acl_libdirstem/)
13300 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13301 LIBICONV_PREFIX="$basedir"
13302 additional_includedir="$basedir/include"
13305 if test "X$additional_includedir" != "X"; then
13306 if test "X$additional_includedir" != "X/usr/include"; then
13308 if test "X$additional_includedir" = "X/usr/local/include"; then
13309 if test -n "$GCC"; then
13311 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13315 if test -z "$haveit"; then
13316 for x in $CPPFLAGS $INCICONV; do
13318 acl_save_prefix="$prefix"
13319 prefix="$acl_final_prefix"
13320 acl_save_exec_prefix="$exec_prefix"
13321 exec_prefix="$acl_final_exec_prefix"
13323 exec_prefix="$acl_save_exec_prefix"
13324 prefix="$acl_save_prefix"
13326 if test "X$x" = "X-I$additional_includedir"; then
13331 if test -z "$haveit"; then
13332 if test -d "$additional_includedir"; then
13333 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13339 if test -n "$found_la"; then
13340 save_libdir="$libdir"
13341 case "$found_la" in
13342 */* | *\\*) . "$found_la" ;;
13343 *) . "./$found_la" ;;
13345 libdir="$save_libdir"
13346 for dep in $dependency_libs; do
13349 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13350 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13352 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13353 if test -n "$GCC"; then
13355 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13359 if test -z "$haveit"; then
13361 for x in $LDFLAGS $LIBICONV; do
13363 acl_save_prefix="$prefix"
13364 prefix="$acl_final_prefix"
13365 acl_save_exec_prefix="$exec_prefix"
13366 exec_prefix="$acl_final_exec_prefix"
13368 exec_prefix="$acl_save_exec_prefix"
13369 prefix="$acl_save_prefix"
13371 if test "X$x" = "X-L$additional_libdir"; then
13376 if test -z "$haveit"; then
13377 if test -d "$additional_libdir"; then
13378 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13382 for x in $LDFLAGS $LTLIBICONV; do
13384 acl_save_prefix="$prefix"
13385 prefix="$acl_final_prefix"
13386 acl_save_exec_prefix="$exec_prefix"
13387 exec_prefix="$acl_final_exec_prefix"
13389 exec_prefix="$acl_save_exec_prefix"
13390 prefix="$acl_save_prefix"
13392 if test "X$x" = "X-L$additional_libdir"; then
13397 if test -z "$haveit"; then
13398 if test -d "$additional_libdir"; then
13399 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13406 dir=`echo "X$dep" | sed -e 's/^X-R//'`
13407 if test "$enable_rpath" != no; then
13409 for x in $rpathdirs; do
13410 if test "X$x" = "X$dir"; then
13415 if test -z "$haveit"; then
13416 rpathdirs="$rpathdirs $dir"
13419 for x in $ltrpathdirs; do
13420 if test "X$x" = "X$dir"; then
13425 if test -z "$haveit"; then
13426 ltrpathdirs="$ltrpathdirs $dir"
13431 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13434 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13437 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13438 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13444 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13445 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13451 if test "X$rpathdirs" != "X"; then
13452 if test -n "$acl_hardcode_libdir_separator"; then
13454 for found_dir in $rpathdirs; do
13455 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13457 acl_save_libdir="$libdir"
13459 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13460 libdir="$acl_save_libdir"
13461 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13463 for found_dir in $rpathdirs; do
13464 acl_save_libdir="$libdir"
13465 libdir="$found_dir"
13466 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13467 libdir="$acl_save_libdir"
13468 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13472 if test "X$ltrpathdirs" != "X"; then
13473 for found_dir in $ltrpathdirs; do
13474 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13503 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13504 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
13505 $as_echo_n "(cached) " >&6
13507 gt_save_LIBS="$LIBS"
13508 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13510 /* end confdefs.h. */
13511 #include <CoreFoundation/CFPreferences.h>
13515 CFPreferencesCopyAppValue(NULL, NULL)
13520 if ac_fn_c_try_link "$LINENO"; then :
13521 gt_cv_func_CFPreferencesCopyAppValue=yes
13523 gt_cv_func_CFPreferencesCopyAppValue=no
13525 rm -f core conftest.err conftest.$ac_objext \
13526 conftest$ac_exeext conftest.$ac_ext
13527 LIBS="$gt_save_LIBS"
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
13530 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
13531 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
13533 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13537 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13538 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
13539 $as_echo_n "(cached) " >&6
13541 gt_save_LIBS="$LIBS"
13542 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13544 /* end confdefs.h. */
13545 #include <CoreFoundation/CFLocale.h>
13549 CFLocaleCopyCurrent();
13554 if ac_fn_c_try_link "$LINENO"; then :
13555 gt_cv_func_CFLocaleCopyCurrent=yes
13557 gt_cv_func_CFLocaleCopyCurrent=no
13559 rm -f core conftest.err conftest.$ac_objext \
13560 conftest$ac_exeext conftest.$ac_ext
13561 LIBS="$gt_save_LIBS"
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
13564 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
13565 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13567 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
13571 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13572 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
13584 case " $gt_needs " in
13585 *" need-formatstring-macros "*) gt_api_version=3 ;;
13586 *" need-ngettext "*) gt_api_version=2 ;;
13587 *) gt_api_version=1 ;;
13589 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
13590 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
13592 if test "$USE_NLS" = "yes"; then
13593 gt_use_preinstalled_gnugettext=no
13596 if test $gt_api_version -ge 3; then
13597 gt_revision_test_code='
13598 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
13599 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
13601 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
13604 gt_revision_test_code=
13606 if test $gt_api_version -ge 2; then
13607 gt_expression_test_code=' + * ngettext ("", "", 0)'
13609 gt_expression_test_code=
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13613 $as_echo_n "checking for GNU gettext in libc... " >&6; }
13614 if eval \${$gt_func_gnugettext_libc+:} false; then :
13615 $as_echo_n "(cached) " >&6
13617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13618 /* end confdefs.h. */
13619 #include <libintl.h>
13620 $gt_revision_test_code
13621 extern int _nl_msg_cat_cntr;
13622 extern int *_nl_domain_bindings;
13626 bindtextdomain ("", "");
13627 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
13632 if ac_fn_c_try_link "$LINENO"; then :
13633 eval "$gt_func_gnugettext_libc=yes"
13635 eval "$gt_func_gnugettext_libc=no"
13637 rm -f core conftest.err conftest.$ac_objext \
13638 conftest$ac_exeext conftest.$ac_ext
13640 eval ac_res=\$$gt_func_gnugettext_libc
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13642 $as_echo "$ac_res" >&6; }
13644 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
13650 am_save_CPPFLAGS="$CPPFLAGS"
13652 for element in $INCICONV; do
13654 for x in $CPPFLAGS; do
13656 acl_save_prefix="$prefix"
13657 prefix="$acl_final_prefix"
13658 acl_save_exec_prefix="$exec_prefix"
13659 exec_prefix="$acl_final_exec_prefix"
13661 exec_prefix="$acl_save_exec_prefix"
13662 prefix="$acl_save_prefix"
13664 if test "X$x" = "X$element"; then
13669 if test -z "$haveit"; then
13670 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13676 $as_echo_n "checking for iconv... " >&6; }
13677 if ${am_cv_func_iconv+:} false; then :
13678 $as_echo_n "(cached) " >&6
13681 am_cv_func_iconv="no, consider installing GNU libiconv"
13683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13684 /* end confdefs.h. */
13685 #include <stdlib.h>
13690 iconv_t cd = iconv_open("","");
13691 iconv(cd,NULL,NULL,NULL,NULL);
13697 if ac_fn_c_try_link "$LINENO"; then :
13698 am_cv_func_iconv=yes
13700 rm -f core conftest.err conftest.$ac_objext \
13701 conftest$ac_exeext conftest.$ac_ext
13702 if test "$am_cv_func_iconv" != yes; then
13703 am_save_LIBS="$LIBS"
13704 LIBS="$LIBS $LIBICONV"
13705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13706 /* end confdefs.h. */
13707 #include <stdlib.h>
13712 iconv_t cd = iconv_open("","");
13713 iconv(cd,NULL,NULL,NULL,NULL);
13719 if ac_fn_c_try_link "$LINENO"; then :
13720 am_cv_lib_iconv=yes
13721 am_cv_func_iconv=yes
13723 rm -f core conftest.err conftest.$ac_objext \
13724 conftest$ac_exeext conftest.$ac_ext
13725 LIBS="$am_save_LIBS"
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13730 $as_echo "$am_cv_func_iconv" >&6; }
13731 if test "$am_cv_func_iconv" = yes; then
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13733 $as_echo_n "checking for working iconv... " >&6; }
13734 if ${am_cv_func_iconv_works+:} false; then :
13735 $as_echo_n "(cached) " >&6
13738 am_save_LIBS="$LIBS"
13739 if test $am_cv_lib_iconv = yes; then
13740 LIBS="$LIBS $LIBICONV"
13742 if test "$cross_compiling" = yes; then :
13744 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13745 *) am_cv_func_iconv_works="guessing yes" ;;
13748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13752 #include <string.h>
13755 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13758 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13759 if (cd_utf8_to_88591 != (iconv_t)(-1))
13761 static const char input[] = "\342\202\254"; /* EURO SIGN */
13763 const char *inptr = input;
13764 size_t inbytesleft = strlen (input);
13765 char *outptr = buf;
13766 size_t outbytesleft = sizeof (buf);
13767 size_t res = iconv (cd_utf8_to_88591,
13768 (char **) &inptr, &inbytesleft,
13769 &outptr, &outbytesleft);
13774 #if 0 /* This bug could be worked around by the caller. */
13775 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
13777 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13778 if (cd_88591_to_utf8 != (iconv_t)(-1))
13780 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13782 const char *inptr = input;
13783 size_t inbytesleft = strlen (input);
13784 char *outptr = buf;
13785 size_t outbytesleft = sizeof (buf);
13786 size_t res = iconv (cd_88591_to_utf8,
13787 (char **) &inptr, &inbytesleft,
13788 &outptr, &outbytesleft);
13794 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13796 if (/* Try standardized names. */
13797 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13798 /* Try IRIX, OSF/1 names. */
13799 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13800 /* Try AIX names. */
13801 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13802 /* Try HP-UX names. */
13803 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13808 if ac_fn_c_try_run "$LINENO"; then :
13809 am_cv_func_iconv_works=yes
13811 am_cv_func_iconv_works=no
13813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13814 conftest.$ac_objext conftest.beam conftest.$ac_ext
13817 LIBS="$am_save_LIBS"
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13821 $as_echo "$am_cv_func_iconv_works" >&6; }
13822 case "$am_cv_func_iconv_works" in
13823 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
13824 *) am_func_iconv=yes ;;
13827 am_func_iconv=no am_cv_lib_iconv=no
13829 if test "$am_func_iconv" = yes; then
13831 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13834 if test "$am_cv_lib_iconv" = yes; then
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13836 $as_echo_n "checking how to link with libiconv... " >&6; }
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13838 $as_echo "$LIBICONV" >&6; }
13840 CPPFLAGS="$am_save_CPPFLAGS"
13854 acl_save_prefix="$prefix"
13855 prefix="$acl_final_prefix"
13856 acl_save_exec_prefix="$exec_prefix"
13857 exec_prefix="$acl_final_exec_prefix"
13859 eval additional_includedir=\"$includedir\"
13860 eval additional_libdir=\"$libdir\"
13862 exec_prefix="$acl_save_exec_prefix"
13863 prefix="$acl_save_prefix"
13866 # Check whether --with-libintl-prefix was given.
13867 if test "${with_libintl_prefix+set}" = set; then :
13868 withval=$with_libintl_prefix;
13869 if test "X$withval" = "Xno"; then
13872 if test "X$withval" = "X"; then
13874 acl_save_prefix="$prefix"
13875 prefix="$acl_final_prefix"
13876 acl_save_exec_prefix="$exec_prefix"
13877 exec_prefix="$acl_final_exec_prefix"
13879 eval additional_includedir=\"$includedir\"
13880 eval additional_libdir=\"$libdir\"
13882 exec_prefix="$acl_save_exec_prefix"
13883 prefix="$acl_save_prefix"
13886 additional_includedir="$withval/include"
13887 additional_libdir="$withval/$acl_libdirstem"
13899 names_already_handled=
13900 names_next_round='intl '
13901 while test -n "$names_next_round"; do
13902 names_this_round="$names_next_round"
13904 for name in $names_this_round; do
13906 for n in $names_already_handled; do
13907 if test "$n" = "$name"; then
13908 already_handled=yes
13912 if test -z "$already_handled"; then
13913 names_already_handled="$names_already_handled $name"
13914 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13915 eval value=\"\$HAVE_LIB$uppername\"
13916 if test -n "$value"; then
13917 if test "$value" = yes; then
13918 eval value=\"\$LIB$uppername\"
13919 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
13920 eval value=\"\$LTLIB$uppername\"
13921 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
13930 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13931 if test -n "$acl_shlibext"; then
13932 shrext=".$acl_shlibext" # typically: shrext=.so
13936 if test $use_additional = yes; then
13937 dir="$additional_libdir"
13938 if test -n "$acl_shlibext"; then
13939 if test -f "$dir/$libname$shrext"; then
13941 found_so="$dir/$libname$shrext"
13943 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13944 ver=`(cd "$dir" && \
13945 for f in "$libname$shrext".*; do echo "$f"; done \
13946 | sed -e "s,^$libname$shrext\\\\.,," \
13947 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13948 | sed 1q ) 2>/dev/null`
13949 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13951 found_so="$dir/$libname$shrext.$ver"
13954 eval library_names=\"$acl_library_names_spec\"
13955 for f in $library_names; do
13956 if test -f "$dir/$f"; then
13965 if test "X$found_dir" = "X"; then
13966 if test -f "$dir/$libname.$acl_libext"; then
13968 found_a="$dir/$libname.$acl_libext"
13971 if test "X$found_dir" != "X"; then
13972 if test -f "$dir/$libname.la"; then
13973 found_la="$dir/$libname.la"
13977 if test "X$found_dir" = "X"; then
13978 for x in $LDFLAGS $LTLIBINTL; do
13980 acl_save_prefix="$prefix"
13981 prefix="$acl_final_prefix"
13982 acl_save_exec_prefix="$exec_prefix"
13983 exec_prefix="$acl_final_exec_prefix"
13985 exec_prefix="$acl_save_exec_prefix"
13986 prefix="$acl_save_prefix"
13990 dir=`echo "X$x" | sed -e 's/^X-L//'`
13991 if test -n "$acl_shlibext"; then
13992 if test -f "$dir/$libname$shrext"; then
13994 found_so="$dir/$libname$shrext"
13996 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13997 ver=`(cd "$dir" && \
13998 for f in "$libname$shrext".*; do echo "$f"; done \
13999 | sed -e "s,^$libname$shrext\\\\.,," \
14000 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14001 | sed 1q ) 2>/dev/null`
14002 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14004 found_so="$dir/$libname$shrext.$ver"
14007 eval library_names=\"$acl_library_names_spec\"
14008 for f in $library_names; do
14009 if test -f "$dir/$f"; then
14018 if test "X$found_dir" = "X"; then
14019 if test -f "$dir/$libname.$acl_libext"; then
14021 found_a="$dir/$libname.$acl_libext"
14024 if test "X$found_dir" != "X"; then
14025 if test -f "$dir/$libname.la"; then
14026 found_la="$dir/$libname.la"
14031 if test "X$found_dir" != "X"; then
14036 if test "X$found_dir" != "X"; then
14037 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14038 if test "X$found_so" != "X"; then
14039 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14040 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14043 for x in $ltrpathdirs; do
14044 if test "X$x" = "X$found_dir"; then
14049 if test -z "$haveit"; then
14050 ltrpathdirs="$ltrpathdirs $found_dir"
14052 if test "$acl_hardcode_direct" = yes; then
14053 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14055 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14056 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14058 for x in $rpathdirs; do
14059 if test "X$x" = "X$found_dir"; then
14064 if test -z "$haveit"; then
14065 rpathdirs="$rpathdirs $found_dir"
14069 for x in $LDFLAGS $LIBINTL; do
14071 acl_save_prefix="$prefix"
14072 prefix="$acl_final_prefix"
14073 acl_save_exec_prefix="$exec_prefix"
14074 exec_prefix="$acl_final_exec_prefix"
14076 exec_prefix="$acl_save_exec_prefix"
14077 prefix="$acl_save_prefix"
14079 if test "X$x" = "X-L$found_dir"; then
14084 if test -z "$haveit"; then
14085 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14087 if test "$acl_hardcode_minus_L" != no; then
14088 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14090 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14096 if test "X$found_a" != "X"; then
14097 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
14099 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14102 additional_includedir=
14103 case "$found_dir" in
14104 */$acl_libdirstem | */$acl_libdirstem/)
14105 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14106 LIBINTL_PREFIX="$basedir"
14107 additional_includedir="$basedir/include"
14110 if test "X$additional_includedir" != "X"; then
14111 if test "X$additional_includedir" != "X/usr/include"; then
14113 if test "X$additional_includedir" = "X/usr/local/include"; then
14114 if test -n "$GCC"; then
14116 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14120 if test -z "$haveit"; then
14121 for x in $CPPFLAGS $INCINTL; do
14123 acl_save_prefix="$prefix"
14124 prefix="$acl_final_prefix"
14125 acl_save_exec_prefix="$exec_prefix"
14126 exec_prefix="$acl_final_exec_prefix"
14128 exec_prefix="$acl_save_exec_prefix"
14129 prefix="$acl_save_prefix"
14131 if test "X$x" = "X-I$additional_includedir"; then
14136 if test -z "$haveit"; then
14137 if test -d "$additional_includedir"; then
14138 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14144 if test -n "$found_la"; then
14145 save_libdir="$libdir"
14146 case "$found_la" in
14147 */* | *\\*) . "$found_la" ;;
14148 *) . "./$found_la" ;;
14150 libdir="$save_libdir"
14151 for dep in $dependency_libs; do
14154 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14155 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14157 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14158 if test -n "$GCC"; then
14160 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14164 if test -z "$haveit"; then
14166 for x in $LDFLAGS $LIBINTL; do
14168 acl_save_prefix="$prefix"
14169 prefix="$acl_final_prefix"
14170 acl_save_exec_prefix="$exec_prefix"
14171 exec_prefix="$acl_final_exec_prefix"
14173 exec_prefix="$acl_save_exec_prefix"
14174 prefix="$acl_save_prefix"
14176 if test "X$x" = "X-L$additional_libdir"; then
14181 if test -z "$haveit"; then
14182 if test -d "$additional_libdir"; then
14183 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14187 for x in $LDFLAGS $LTLIBINTL; do
14189 acl_save_prefix="$prefix"
14190 prefix="$acl_final_prefix"
14191 acl_save_exec_prefix="$exec_prefix"
14192 exec_prefix="$acl_final_exec_prefix"
14194 exec_prefix="$acl_save_exec_prefix"
14195 prefix="$acl_save_prefix"
14197 if test "X$x" = "X-L$additional_libdir"; then
14202 if test -z "$haveit"; then
14203 if test -d "$additional_libdir"; then
14204 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14211 dir=`echo "X$dep" | sed -e 's/^X-R//'`
14212 if test "$enable_rpath" != no; then
14214 for x in $rpathdirs; do
14215 if test "X$x" = "X$dir"; then
14220 if test -z "$haveit"; then
14221 rpathdirs="$rpathdirs $dir"
14224 for x in $ltrpathdirs; do
14225 if test "X$x" = "X$dir"; then
14230 if test -z "$haveit"; then
14231 ltrpathdirs="$ltrpathdirs $dir"
14236 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14239 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14242 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
14243 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14249 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14250 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14256 if test "X$rpathdirs" != "X"; then
14257 if test -n "$acl_hardcode_libdir_separator"; then
14259 for found_dir in $rpathdirs; do
14260 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14262 acl_save_libdir="$libdir"
14264 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14265 libdir="$acl_save_libdir"
14266 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14268 for found_dir in $rpathdirs; do
14269 acl_save_libdir="$libdir"
14270 libdir="$found_dir"
14271 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14272 libdir="$acl_save_libdir"
14273 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14277 if test "X$ltrpathdirs" != "X"; then
14278 for found_dir in $ltrpathdirs; do
14279 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14284 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
14285 if eval \${$gt_func_gnugettext_libintl+:} false; then :
14286 $as_echo_n "(cached) " >&6
14288 gt_save_CPPFLAGS="$CPPFLAGS"
14289 CPPFLAGS="$CPPFLAGS $INCINTL"
14290 gt_save_LIBS="$LIBS"
14291 LIBS="$LIBS $LIBINTL"
14292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14293 /* end confdefs.h. */
14294 #include <libintl.h>
14295 $gt_revision_test_code
14296 extern int _nl_msg_cat_cntr;
14301 const char *_nl_expand_alias (const char *);
14305 bindtextdomain ("", "");
14306 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14311 if ac_fn_c_try_link "$LINENO"; then :
14312 eval "$gt_func_gnugettext_libintl=yes"
14314 eval "$gt_func_gnugettext_libintl=no"
14316 rm -f core conftest.err conftest.$ac_objext \
14317 conftest$ac_exeext conftest.$ac_ext
14318 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14319 LIBS="$LIBS $LIBICONV"
14320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14321 /* end confdefs.h. */
14322 #include <libintl.h>
14323 $gt_revision_test_code
14324 extern int _nl_msg_cat_cntr;
14329 const char *_nl_expand_alias (const char *);
14333 bindtextdomain ("", "");
14334 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14339 if ac_fn_c_try_link "$LINENO"; then :
14340 LIBINTL="$LIBINTL $LIBICONV"
14341 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
14342 eval "$gt_func_gnugettext_libintl=yes"
14345 rm -f core conftest.err conftest.$ac_objext \
14346 conftest$ac_exeext conftest.$ac_ext
14348 CPPFLAGS="$gt_save_CPPFLAGS"
14349 LIBS="$gt_save_LIBS"
14351 eval ac_res=\$$gt_func_gnugettext_libintl
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14353 $as_echo "$ac_res" >&6; }
14356 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14357 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14358 && test "$PACKAGE" != gettext-runtime \
14359 && test "$PACKAGE" != gettext-tools; }; then
14360 gt_use_preinstalled_gnugettext=yes
14369 if test -n "$INTL_MACOSX_LIBS"; then
14370 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14371 || test "$nls_cv_use_gnu_gettext" = "yes"; then
14372 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
14373 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
14377 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14378 || test "$nls_cv_use_gnu_gettext" = "yes"; then
14380 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14388 $as_echo_n "checking whether to use NLS... " >&6; }
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14390 $as_echo "$USE_NLS" >&6; }
14391 if test "$USE_NLS" = "yes"; then
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14393 $as_echo_n "checking where the gettext function comes from... " >&6; }
14394 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14395 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14396 gt_source="external libintl"
14401 gt_source="included intl directory"
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14404 $as_echo "$gt_source" >&6; }
14407 if test "$USE_NLS" = "yes"; then
14409 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14410 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14412 $as_echo_n "checking how to link with libintl... " >&6; }
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14414 $as_echo "$LIBINTL" >&6; }
14416 for element in $INCINTL; do
14418 for x in $CPPFLAGS; do
14420 acl_save_prefix="$prefix"
14421 prefix="$acl_final_prefix"
14422 acl_save_exec_prefix="$exec_prefix"
14423 exec_prefix="$acl_final_exec_prefix"
14425 exec_prefix="$acl_save_exec_prefix"
14426 prefix="$acl_save_prefix"
14428 if test "X$x" = "X$element"; then
14433 if test -z "$haveit"; then
14434 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14441 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14444 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14453 INTLLIBS="$LIBINTL"
14461 if test "$USE_NLS" = "yes"; then
14462 GETTEXT_PACKAGE=gstreamer-$GST_MAJORMINOR
14464 GETTEXT_PACKAGE=NULL
14468 cat >>confdefs.h <<_ACEOF
14469 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14475 FROM_VAR=$datadir/locale
14477 prefix_save=$prefix
14478 exec_prefix_save=$exec_prefix
14480 if test "x$prefix" = "xNONE"; then
14481 prefix="$ac_default_prefix"
14483 if test "x$exec_prefix" = "xNONE"; then
14484 exec_prefix=$prefix
14487 full_var="$FROM_VAR"
14489 new_full_var="`eval echo $full_var`"
14490 if test "x$new_full_var" = "x$full_var"; then break; fi
14491 full_var=$new_full_var
14494 full_var=$new_full_var
14495 LOCALEDIR="$full_var"
14498 prefix=$prefix_save
14499 exec_prefix=$exec_prefix_save
14502 cat >>confdefs.h <<_ACEOF
14503 #define LOCALEDIR "$LOCALEDIR"
14512 # Check whether --enable-gst-debug was given.
14513 if test "${enable_gst_debug+set}" = set; then :
14514 enableval=$enable_gst_debug;
14515 case "${enableval}" in
14516 yes) GST_DISABLE_GST_DEBUG=no ;;
14517 no) GST_DISABLE_GST_DEBUG=yes ;;
14518 *) as_fn_error $? "bad value ${enableval} for --enable-gst-debug" "$LINENO" 5 ;;
14522 GST_DISABLE_GST_DEBUG=no
14525 if test x$GST_DISABLE_GST_DEBUG = xyes; then
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem debugging subsystem" >&5
14527 $as_echo "$as_me: disabled subsystem debugging subsystem" >&6;}
14528 GST_DISABLE_GST_DEBUG_DEFINE="#define GST_DISABLE_GST_DEBUG 1"
14530 GST_DISABLE_GST_DEBUG_DEFINE="/* #undef GST_DISABLE_GST_DEBUG */"
14535 if test "x$GST_DISABLE_GST_DEBUG" = "xyes"; then
14536 GST_DISABLE_GST_DEBUG_TRUE=
14537 GST_DISABLE_GST_DEBUG_FALSE='#'
14539 GST_DISABLE_GST_DEBUG_TRUE='#'
14540 GST_DISABLE_GST_DEBUG_FALSE=
14546 # Check whether --enable-loadsave was given.
14547 if test "${enable_loadsave+set}" = set; then :
14548 enableval=$enable_loadsave;
14549 case "${enableval}" in
14550 yes) GST_DISABLE_LOADSAVE=no ;;
14551 no) GST_DISABLE_LOADSAVE=yes ;;
14552 *) as_fn_error $? "bad value ${enableval} for --enable-loadsave" "$LINENO" 5 ;;
14556 GST_DISABLE_LOADSAVE=no
14559 if test x$GST_DISABLE_LOADSAVE = xyes; then
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem pipeline XML load/save" >&5
14561 $as_echo "$as_me: disabled subsystem pipeline XML load/save" >&6;}
14562 GST_DISABLE_LOADSAVE_DEFINE="#define GST_DISABLE_LOADSAVE 1"
14564 GST_DISABLE_LOADSAVE_DEFINE="/* #undef GST_DISABLE_LOADSAVE */"
14569 if test "x$GST_DISABLE_LOADSAVE" = "xyes"; then
14570 GST_DISABLE_LOADSAVE_TRUE=
14571 GST_DISABLE_LOADSAVE_FALSE='#'
14573 GST_DISABLE_LOADSAVE_TRUE='#'
14574 GST_DISABLE_LOADSAVE_FALSE=
14577 if test "x$GST_DISABLE_LOADSAVE" = "xyes"
14579 GST_LOADSAVE_DOC_TYPES="%"
14581 GST_LOADSAVE_DOC_TYPES=
14587 # Check whether --enable-parse was given.
14588 if test "${enable_parse+set}" = set; then :
14589 enableval=$enable_parse;
14590 case "${enableval}" in
14591 yes) GST_DISABLE_PARSE=no ;;
14592 no) GST_DISABLE_PARSE=yes ;;
14593 *) as_fn_error $? "bad value ${enableval} for --enable-parse" "$LINENO" 5 ;;
14597 GST_DISABLE_PARSE=no
14600 if test x$GST_DISABLE_PARSE = xyes; then
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem command-line parser" >&5
14602 $as_echo "$as_me: disabled subsystem command-line parser" >&6;}
14603 GST_DISABLE_PARSE_DEFINE="#define GST_DISABLE_PARSE 1"
14605 GST_DISABLE_PARSE_DEFINE="/* #undef GST_DISABLE_PARSE */"
14610 if test "x$GST_DISABLE_PARSE" = "xyes"; then
14611 GST_DISABLE_PARSE_TRUE=
14612 GST_DISABLE_PARSE_FALSE='#'
14614 GST_DISABLE_PARSE_TRUE='#'
14615 GST_DISABLE_PARSE_FALSE=
14618 if test "x$GST_DISABLE_PARSE" = xyes; then
14620 $as_echo "#define GST_DISABLE_PARSE 1" >>confdefs.h
14626 # Check whether --enable-option-parsing was given.
14627 if test "${enable_option_parsing+set}" = set; then :
14628 enableval=$enable_option_parsing;
14629 case "${enableval}" in
14630 yes) GST_DISABLE_OPTION_PARSING=no ;;
14631 no) GST_DISABLE_OPTION_PARSING=yes ;;
14632 *) as_fn_error $? "bad value ${enableval} for --enable-option-parsing" "$LINENO" 5 ;;
14636 GST_DISABLE_OPTION_PARSING=no
14639 if test x$GST_DISABLE_OPTION_PARSING = xyes; then
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem option parsing when gst_init" >&5
14641 $as_echo "$as_me: disabled subsystem option parsing when gst_init" >&6;}
14642 GST_DISABLE_OPTION_PARSING_DEFINE="#define GST_DISABLE_OPTION_PARSING 1"
14644 GST_DISABLE_OPTION_PARSING_DEFINE="/* #undef GST_DISABLE_OPTION_PARSING */"
14649 if test "x$GST_DISABLE_OPTION_PARSING" = "xyes"; then
14650 GST_DISABLE_OPTION_PARSING_TRUE=
14651 GST_DISABLE_OPTION_PARSING_FALSE='#'
14653 GST_DISABLE_OPTION_PARSING_TRUE='#'
14654 GST_DISABLE_OPTION_PARSING_FALSE=
14657 if test "x$GST_DISABLE_OPTION_PARSING" = xyes; then
14659 $as_echo "#define GST_DISABLE_OPTION_PARSING 1" >>confdefs.h
14665 # Check whether --enable-trace was given.
14666 if test "${enable_trace+set}" = set; then :
14667 enableval=$enable_trace;
14668 case "${enableval}" in
14669 yes) GST_DISABLE_TRACE=no ;;
14670 no) GST_DISABLE_TRACE=yes ;;
14671 *) as_fn_error $? "bad value ${enableval} for --enable-trace" "$LINENO" 5 ;;
14675 GST_DISABLE_TRACE=no
14678 if test x$GST_DISABLE_TRACE = xyes; then
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem tracing subsystem" >&5
14680 $as_echo "$as_me: disabled subsystem tracing subsystem" >&6;}
14681 GST_DISABLE_TRACE_DEFINE="#define GST_DISABLE_TRACE 1"
14683 GST_DISABLE_TRACE_DEFINE="/* #undef GST_DISABLE_TRACE */"
14688 if test "x$GST_DISABLE_TRACE" = "xyes"; then
14689 GST_DISABLE_TRACE_TRUE=
14690 GST_DISABLE_TRACE_FALSE='#'
14692 GST_DISABLE_TRACE_TRUE='#'
14693 GST_DISABLE_TRACE_FALSE=
14699 # Check whether --enable-alloc-trace was given.
14700 if test "${enable_alloc_trace+set}" = set; then :
14701 enableval=$enable_alloc_trace;
14702 case "${enableval}" in
14703 yes) GST_DISABLE_ALLOC_TRACE=no ;;
14704 no) GST_DISABLE_ALLOC_TRACE=yes ;;
14705 *) as_fn_error $? "bad value ${enableval} for --enable-alloc-trace" "$LINENO" 5 ;;
14709 GST_DISABLE_ALLOC_TRACE=no
14712 if test x$GST_DISABLE_ALLOC_TRACE = xyes; then
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem allocation tracing" >&5
14714 $as_echo "$as_me: disabled subsystem allocation tracing" >&6;}
14715 GST_DISABLE_ALLOC_TRACE_DEFINE="#define GST_DISABLE_ALLOC_TRACE 1"
14717 GST_DISABLE_ALLOC_TRACE_DEFINE="/* #undef GST_DISABLE_ALLOC_TRACE */"
14722 if test "x$GST_DISABLE_ALLOC_TRACE" = "xyes"; then
14723 GST_DISABLE_ALLOC_TRACE_TRUE=
14724 GST_DISABLE_ALLOC_TRACE_FALSE='#'
14726 GST_DISABLE_ALLOC_TRACE_TRUE='#'
14727 GST_DISABLE_ALLOC_TRACE_FALSE=
14733 # Check whether --enable-registry was given.
14734 if test "${enable_registry+set}" = set; then :
14735 enableval=$enable_registry;
14736 case "${enableval}" in
14737 yes) GST_DISABLE_REGISTRY=no ;;
14738 no) GST_DISABLE_REGISTRY=yes ;;
14739 *) as_fn_error $? "bad value ${enableval} for --enable-registry" "$LINENO" 5 ;;
14743 GST_DISABLE_REGISTRY=no
14746 if test x$GST_DISABLE_REGISTRY = xyes; then
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem plugin registry" >&5
14748 $as_echo "$as_me: disabled subsystem plugin registry" >&6;}
14749 GST_DISABLE_REGISTRY_DEFINE="#define GST_DISABLE_REGISTRY 1"
14751 GST_DISABLE_REGISTRY_DEFINE="/* #undef GST_DISABLE_REGISTRY */"
14756 if test "x$GST_DISABLE_REGISTRY" = "xyes"; then
14757 GST_DISABLE_REGISTRY_TRUE=
14758 GST_DISABLE_REGISTRY_FALSE='#'
14760 GST_DISABLE_REGISTRY_TRUE='#'
14761 GST_DISABLE_REGISTRY_FALSE=
14764 if test "x$GST_DISABLE_REGISTRY" = "xyes"
14766 GST_REGISTRY_DOC_TYPES="%"
14768 GST_REGISTRY_DOC_TYPES=
14774 # Check whether --enable-net was given.
14775 if test "${enable_net+set}" = set; then :
14776 enableval=$enable_net;
14777 case "${enableval}" in
14778 yes) GST_DISABLE_NET=no ;;
14779 no) GST_DISABLE_NET=yes ;;
14780 *) as_fn_error $? "bad value ${enableval} for --enable-net" "$LINENO" 5 ;;
14787 if test x$GST_DISABLE_NET = xyes; then
14788 { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem network distribution" >&5
14789 $as_echo "$as_me: disabled subsystem network distribution" >&6;}
14790 GST_DISABLE_NET_DEFINE="#define GST_DISABLE_NET 1"
14792 GST_DISABLE_NET_DEFINE="/* #undef GST_DISABLE_NET */"
14797 if test "x$GST_DISABLE_NET" = "xyes"; then
14798 GST_DISABLE_NET_TRUE=
14799 GST_DISABLE_NET_FALSE='#'
14801 GST_DISABLE_NET_TRUE='#'
14802 GST_DISABLE_NET_FALSE=
14808 # Check whether --enable-plugin was given.
14809 if test "${enable_plugin+set}" = set; then :
14810 enableval=$enable_plugin;
14811 case "${enableval}" in
14812 yes) GST_DISABLE_PLUGIN=no ;;
14813 no) GST_DISABLE_PLUGIN=yes ;;
14814 *) as_fn_error $? "bad value ${enableval} for --enable-plugin" "$LINENO" 5 ;;
14818 GST_DISABLE_PLUGIN=no
14821 if test x$GST_DISABLE_PLUGIN = xyes; then
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: disabled subsystem plugin" >&5
14823 $as_echo "$as_me: disabled subsystem plugin" >&6;}
14824 GST_DISABLE_PLUGIN_DEFINE="#define GST_DISABLE_PLUGIN 1"
14826 GST_DISABLE_PLUGIN_DEFINE="/* #undef GST_DISABLE_PLUGIN */"
14831 if test "x$GST_DISABLE_PLUGIN" = "xyes"; then
14832 GST_DISABLE_PLUGIN_TRUE=
14833 GST_DISABLE_PLUGIN_FALSE='#'
14835 GST_DISABLE_PLUGIN_TRUE='#'
14836 GST_DISABLE_PLUGIN_FALSE=
14841 # Check whether --enable-debug was given.
14842 if test "${enable_debug+set}" = set; then :
14843 enableval=$enable_debug;
14844 case "${enableval}" in
14845 yes) USE_DEBUG=yes ;;
14846 no) USE_DEBUG=no ;;
14847 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
14855 # Check whether --enable-profiling was given.
14856 if test "${enable_profiling+set}" = set; then :
14857 enableval=$enable_profiling;
14858 case "${enableval}" in
14859 yes) USE_PROFILING=yes ;;
14860 no) USE_PROFILING=no ;;
14861 *) as_fn_error $? "bad value ${enableval} for --enable-profiling" "$LINENO" 5 ;;
14870 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14871 if test -n "$ac_tool_prefix"; then
14872 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14873 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14875 $as_echo_n "checking for $ac_word... " >&6; }
14876 if ${ac_cv_path_PKG_CONFIG+:} false; then :
14877 $as_echo_n "(cached) " >&6
14879 case $PKG_CONFIG in
14881 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14885 for as_dir in $PATH
14888 test -z "$as_dir" && as_dir=.
14889 for ac_exec_ext in '' $ac_executable_extensions; do
14890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14891 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14902 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14903 if test -n "$PKG_CONFIG"; then
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14905 $as_echo "$PKG_CONFIG" >&6; }
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14908 $as_echo "no" >&6; }
14913 if test -z "$ac_cv_path_PKG_CONFIG"; then
14914 ac_pt_PKG_CONFIG=$PKG_CONFIG
14915 # Extract the first word of "pkg-config", so it can be a program name with args.
14916 set dummy pkg-config; ac_word=$2
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14918 $as_echo_n "checking for $ac_word... " >&6; }
14919 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14920 $as_echo_n "(cached) " >&6
14922 case $ac_pt_PKG_CONFIG in
14924 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14928 for as_dir in $PATH
14931 test -z "$as_dir" && as_dir=.
14932 for ac_exec_ext in '' $ac_executable_extensions; do
14933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14934 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14945 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14946 if test -n "$ac_pt_PKG_CONFIG"; then
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14948 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14951 $as_echo "no" >&6; }
14954 if test "x$ac_pt_PKG_CONFIG" = x; then
14957 case $cross_compiling:$ac_tool_warned in
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14961 ac_tool_warned=yes ;;
14963 PKG_CONFIG=$ac_pt_PKG_CONFIG
14966 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14970 if test -n "$PKG_CONFIG"; then
14971 _pkg_min_version=0.9.0
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14973 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14974 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14976 $as_echo "yes" >&6; }
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14979 $as_echo "no" >&6; }
14985 # Check whether --enable-valgrind was given.
14986 if test "${enable_valgrind+set}" = set; then :
14987 enableval=$enable_valgrind;
14988 case "${enableval}" in
14989 yes) USE_VALGRIND="$USE_DEBUG" ;;
14990 no) USE_VALGRIND=no ;;
14991 *) as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
14995 USE_VALGRIND="$USE_DEBUG"
14998 if test "x$USE_VALGRIND" = xyes; then
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
15002 $as_echo_n "checking for VALGRIND... " >&6; }
15004 if test -n "$PKG_CONFIG"; then
15005 if test -n "$VALGRIND_CFLAGS"; then
15006 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
15008 if test -n "$PKG_CONFIG" && \
15009 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
15010 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
15012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15013 test $ac_status = 0; }; then
15014 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
15022 if test -n "$PKG_CONFIG"; then
15023 if test -n "$VALGRIND_LIBS"; then
15024 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
15026 if test -n "$PKG_CONFIG" && \
15027 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
15028 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
15030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15031 test $ac_status = 0; }; then
15032 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
15043 if test $pkg_failed = yes; then
15045 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15046 _pkg_short_errors_supported=yes
15048 _pkg_short_errors_supported=no
15050 if test $_pkg_short_errors_supported = yes; then
15051 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
15053 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
15055 # Put the nasty error message in config.log where it belongs
15056 echo "$VALGRIND_PKG_ERRORS" >&5
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15059 $as_echo "no" >&6; }
15061 elif test $pkg_failed = untried; then
15064 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
15065 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15067 $as_echo "yes" >&6; }
15071 if test "x$USE_VALGRIND" = xyes; then
15073 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
15076 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
15080 # Check whether --enable-gcov was given.
15081 if test "${enable_gcov+set}" = set; then :
15082 enableval=$enable_gcov; enable_gcov=$enableval
15087 if test x$enable_gcov = xyes ; then
15088 if test "x$GCC" != "xyes"
15090 as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
15095 $as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
15097 save_CFLAGS="$CFLAGS"
15098 CFLAGS="$CFLAGS "-fprofile-arcs""
15100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15101 /* end confdefs.h. */
15111 if ac_fn_c_try_compile "$LINENO"; then :
15116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15117 CFLAGS="$save_CFLAGS"
15119 if test "X$flag_ok" = Xyes ; then
15120 GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15127 $as_echo "$flag_ok" >&6; }
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
15131 $as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
15133 save_CFLAGS="$CFLAGS"
15134 CFLAGS="$CFLAGS "-ftest-coverage""
15136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15137 /* end confdefs.h. */
15147 if ac_fn_c_try_compile "$LINENO"; then :
15152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15153 CFLAGS="$save_CFLAGS"
15155 if test "X$flag_ok" = Xyes ; then
15156 GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15163 $as_echo "$flag_ok" >&6; }
15165 GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
15169 GCOV=`echo $CC | sed s/gcc/gcov/g`
15172 GST_GCOV_ENABLED=yes
15174 cat >>confdefs.h <<_ACEOF
15175 #define GST_GCOV_ENABLED 1
15178 if test "x$GST_GCOV_ENABLED" = "xyes"
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
15189 $as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
15192 if test x$enable_gcov = xyes; then
15193 GST_GCOV_ENABLED_TRUE=
15194 GST_GCOV_ENABLED_FALSE='#'
15196 GST_GCOV_ENABLED_TRUE='#'
15197 GST_GCOV_ENABLED_FALSE=
15203 # Check whether --enable-examples was given.
15204 if test "${enable_examples+set}" = set; then :
15205 enableval=$enable_examples;
15206 case "${enableval}" in
15207 yes) BUILD_EXAMPLES=yes ;;
15208 no) BUILD_EXAMPLES=no ;;
15209 *) as_fn_error $? "bad value ${enableval} for --disable-examples" "$LINENO" 5 ;;
15215 if test "x$BUILD_EXAMPLES" = "xyes"; then
15216 BUILD_EXAMPLES_TRUE=
15217 BUILD_EXAMPLES_FALSE='#'
15219 BUILD_EXAMPLES_TRUE='#'
15220 BUILD_EXAMPLES_FALSE=
15227 # Check whether --with-pkg-config-path was given.
15228 if test "${with_pkg_config_path+set}" = set; then :
15229 withval=$with_pkg_config_path;
15230 export PKG_CONFIG_PATH=${withval}
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
15232 $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
15239 # Check whether --with-package-name was given.
15240 if test "${with_package_name+set}" = set; then :
15241 withval=$with_package_name;
15242 case "${withval}" in
15243 yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
15244 no) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
15245 *) GST_PACKAGE_NAME="${withval}" ;;
15251 if test "x$P" = "x"
15256 if test "x$PACKAGE_VERSION_NANO" = "x0"
15258 GST_PACKAGE_NAME="$P source release"
15260 if test "x$PACKAGE_VERSION_NANO" = "x1"
15262 GST_PACKAGE_NAME="$P git"
15264 GST_PACKAGE_NAME="$P prerelease"
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
15272 $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
15274 cat >>confdefs.h <<_ACEOF
15275 #define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
15282 # Check whether --with-package-origin was given.
15283 if test "${with_package_origin+set}" = set; then :
15284 withval=$with_package_origin;
15285 case "${withval}" in
15286 yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
15287 no) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
15288 *) GST_PACKAGE_ORIGIN="${withval}" ;;
15292 GST_PACKAGE_ORIGIN="Unknown package origin"
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
15296 $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
15298 cat >>confdefs.h <<_ACEOF
15299 #define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
15306 GST_PKG_CONFIG_PATH="\$(top_builddir)/pkgconfig"
15307 if test "x$PKG_CONFIG_PATH" != "x"; then
15308 GST_PKG_CONFIG_PATH="$GST_PKG_CONFIG_PATH:$PKG_CONFIG_PATH"
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&5
15312 $as_echo "$as_me: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&6;}
15316 if test "x$PACKAGE_VERSION_NANO" = "x0"; then
15318 if test "xyes" = "xno" -o "xyes" = "x"; then
15319 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
15320 elif test "xyes" = "xyes"; then
15321 if ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
15322 GST_PACKAGE_RELEASE_DATETIME=yes
15324 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO "${srcdir}/gstreamer.doap" `;
15325 if test "x$YYYY_MM_DD" != "x"; then
15326 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
15328 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
15329 release date for release version $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO from \"${srcdir}/gstreamer.doap\" " "$LINENO" 5
15330 GST_PACKAGE_RELEASE_DATETIME=""
15333 elif ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
15334 GST_PACKAGE_RELEASE_DATETIME=yes
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
15337 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
15338 GST_PACKAGE_RELEASE_DATETIME=""
15341 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
15342 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
15343 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
15346 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
15349 cat >>confdefs.h <<_ACEOF
15350 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
15357 if test "xno" = "xno" -o "xno" = "x"; then
15358 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
15359 elif test "xno" = "xyes"; then
15360 if ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
15361 GST_PACKAGE_RELEASE_DATETIME=no
15363 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" `;
15364 if test "x$YYYY_MM_DD" != "x"; then
15365 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
15367 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
15368 release date for release version from " "$LINENO" 5
15369 GST_PACKAGE_RELEASE_DATETIME=""
15372 elif ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
15373 GST_PACKAGE_RELEASE_DATETIME=no
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
15376 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
15377 GST_PACKAGE_RELEASE_DATETIME=""
15380 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
15382 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
15385 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
15388 cat >>confdefs.h <<_ACEOF
15389 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
15397 # Check whether --enable-tests was given.
15398 if test "${enable_tests+set}" = set; then :
15399 enableval=$enable_tests;
15400 case "${enableval}" in
15401 yes) BUILD_TESTS=yes ;;
15402 no) BUILD_TESTS=no ;;
15403 *) as_fn_error $? "bad value ${enableval} for --disable-tests" "$LINENO" 5 ;;
15409 if test "x$BUILD_TESTS" = "xyes"; then
15411 BUILD_TESTS_FALSE='#'
15413 BUILD_TESTS_TRUE='#'
15418 # Check whether --enable-failing-tests was given.
15419 if test "${enable_failing_tests+set}" = set; then :
15420 enableval=$enable_failing_tests;
15421 case "${enableval}" in
15422 yes) BUILD_FAILING_TESTS=yes ;;
15423 no) BUILD_FAILING_TESTS=no ;;
15424 *) as_fn_error $? "bad value ${enableval} for --disable-failing-tests" "$LINENO" 5 ;;
15428 BUILD_FAILING_TESTS=no
15430 if test "x$BUILD_FAILING_TESTS" = "xyes"; then
15431 BUILD_FAILING_TESTS_TRUE=
15432 BUILD_FAILING_TESTS_FALSE='#'
15434 BUILD_FAILING_TESTS_TRUE='#'
15435 BUILD_FAILING_TESTS_FALSE=
15438 if test x$BUILD_FAILING_TESTS = xyes; then
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: building tests known to fail, use --disable-failing-tests to disable" >&5
15440 $as_echo "$as_me: WARNING: building tests known to fail, use --disable-failing-tests to disable" >&2;}
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Sissy ! By asking to not build the tests known to fail, you hereby waive your right to customer support. If you do not agree with this EULA, please press Ctrl-C before the next line is printed. By allowing the next line to be printed, you expressly acknowledge your acceptance of this EULA." >&5
15443 $as_echo "$as_me: WARNING: Sissy ! By asking to not build the tests known to fail, you hereby waive your right to customer support. If you do not agree with this EULA, please press Ctrl-C before the next line is printed. By allowing the next line to be printed, you expressly acknowledge your acceptance of this EULA." >&2;}
15446 # Check whether --enable-poisoning was given.
15447 if test "${enable_poisoning+set}" = set; then :
15448 enableval=$enable_poisoning;
15449 case "${enableval}" in
15450 yes) USE_POISONING=yes ;;
15451 no) USE_POISONING=no ;;
15452 *) as_fn_error $? "bad value ${enableval} for --enable-poisoning" "$LINENO" 5 ;;
15458 if test "x$USE_POISONING" = xyes; then
15460 $as_echo "#define USE_POISONING 1" >>confdefs.h
15468 case "x${host_cpu}" in
15469 xi?86 | xk? | xi?86_64)
15472 ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default"
15473 if test "x$ac_cv_have_decl___i386" = xyes; then :
15479 ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
15480 if test "x$ac_cv_have_decl___amd64" = xyes; then :
15487 if test "x$I386_ABI" = "xyes" ; then
15490 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
15493 if test "x$AMD64_ABI" = "xyes" ; then
15494 HAVE_CPU_X86_64=yes
15496 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
15503 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
15506 case "x${host_cpu}" in
15510 $as_echo "#define HAVE_RDTSC 1" >>confdefs.h
15519 $as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h
15524 $as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h
15529 $as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h
15534 $as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h
15539 $as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h
15544 $as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h
15549 $as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h
15554 $as_echo "#define HAVE_CPU_S390 1" >>confdefs.h
15559 $as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h
15564 $as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h
15567 HAVE_CPU_X86_64=yes
15569 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
15574 $as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h
15577 HAVE_CPU_CRISV32=yes
15579 $as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15584 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15585 if ${ac_cv_c_bigendian+:} false; then :
15586 $as_echo_n "(cached) " >&6
15588 ac_cv_c_bigendian=unknown
15589 # See if we're dealing with a universal compiler.
15590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15591 /* end confdefs.h. */
15592 #ifndef __APPLE_CC__
15593 not a universal capable compiler
15598 if ac_fn_c_try_compile "$LINENO"; then :
15600 # Check for potential -arch flags. It is not universal unless
15601 # there are at least two -arch flags with different values.
15604 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15605 if test -n "$ac_prev"; then
15607 i?86 | x86_64 | ppc | ppc64)
15608 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15611 ac_cv_c_bigendian=universal
15617 elif test "x$ac_word" = "x-arch"; then
15622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15623 if test $ac_cv_c_bigendian = unknown; then
15624 # See if sys/param.h defines the BYTE_ORDER macro.
15625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15626 /* end confdefs.h. */
15627 #include <sys/types.h>
15628 #include <sys/param.h>
15633 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15634 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15636 bogus endian macros
15643 if ac_fn_c_try_compile "$LINENO"; then :
15644 # It does; now see whether it defined to BIG_ENDIAN or not.
15645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15646 /* end confdefs.h. */
15647 #include <sys/types.h>
15648 #include <sys/param.h>
15653 #if BYTE_ORDER != BIG_ENDIAN
15661 if ac_fn_c_try_compile "$LINENO"; then :
15662 ac_cv_c_bigendian=yes
15664 ac_cv_c_bigendian=no
15666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15670 if test $ac_cv_c_bigendian = unknown; then
15671 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15673 /* end confdefs.h. */
15674 #include <limits.h>
15679 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15680 bogus endian macros
15687 if ac_fn_c_try_compile "$LINENO"; then :
15688 # It does; now see whether it defined to _BIG_ENDIAN or not.
15689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15690 /* end confdefs.h. */
15691 #include <limits.h>
15696 #ifndef _BIG_ENDIAN
15704 if ac_fn_c_try_compile "$LINENO"; then :
15705 ac_cv_c_bigendian=yes
15707 ac_cv_c_bigendian=no
15709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15713 if test $ac_cv_c_bigendian = unknown; then
15714 # Compile a test program.
15715 if test "$cross_compiling" = yes; then :
15716 # Try to guess by grepping values from an object file.
15717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15718 /* end confdefs.h. */
15719 short int ascii_mm[] =
15720 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15721 short int ascii_ii[] =
15722 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15723 int use_ascii (int i) {
15724 return ascii_mm[i] + ascii_ii[i];
15726 short int ebcdic_ii[] =
15727 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15728 short int ebcdic_mm[] =
15729 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15730 int use_ebcdic (int i) {
15731 return ebcdic_mm[i] + ebcdic_ii[i];
15738 return use_ascii (foo) == use_ebcdic (foo);
15743 if ac_fn_c_try_compile "$LINENO"; then :
15744 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
15745 ac_cv_c_bigendian=yes
15747 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
15748 if test "$ac_cv_c_bigendian" = unknown; then
15749 ac_cv_c_bigendian=no
15751 # finding both strings is unlikely to happen, but who knows?
15752 ac_cv_c_bigendian=unknown
15756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15759 /* end confdefs.h. */
15760 $ac_includes_default
15765 /* Are we little or big endian? From Harbison&Steele. */
15769 char c[sizeof (long int)];
15772 return u.c[sizeof (long int) - 1] == 1;
15778 if ac_fn_c_try_run "$LINENO"; then :
15779 ac_cv_c_bigendian=no
15781 ac_cv_c_bigendian=yes
15783 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15784 conftest.$ac_objext conftest.beam conftest.$ac_ext
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15790 $as_echo "$ac_cv_c_bigendian" >&6; }
15791 case $ac_cv_c_bigendian in #(
15793 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
15799 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15803 as_fn_error $? "unknown endianness
15804 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15808 if test "x$HAVE_CPU_I386" = "xyes"; then
15809 HAVE_CPU_I386_TRUE=
15810 HAVE_CPU_I386_FALSE='#'
15812 HAVE_CPU_I386_TRUE='#'
15813 HAVE_CPU_I386_FALSE=
15816 if test "x$HAVE_CPU_PPC" = "xyes"; then
15818 HAVE_CPU_PPC_FALSE='#'
15820 HAVE_CPU_PPC_TRUE='#'
15821 HAVE_CPU_PPC_FALSE=
15824 if test "x$HAVE_CPU_PPC64" = "xyes"; then
15825 HAVE_CPU_PPC64_TRUE=
15826 HAVE_CPU_PPC64_FALSE='#'
15828 HAVE_CPU_PPC64_TRUE='#'
15829 HAVE_CPU_PPC64_FALSE=
15832 if test "x$HAVE_CPU_ALPHA" = "xyes"; then
15833 HAVE_CPU_ALPHA_TRUE=
15834 HAVE_CPU_ALPHA_FALSE='#'
15836 HAVE_CPU_ALPHA_TRUE='#'
15837 HAVE_CPU_ALPHA_FALSE=
15840 if test "x$HAVE_CPU_ARM" = "xyes"; then
15842 HAVE_CPU_ARM_FALSE='#'
15844 HAVE_CPU_ARM_TRUE='#'
15845 HAVE_CPU_ARM_FALSE=
15848 if test "x$HAVE_CPU_SPARC" = "xyes"; then
15849 HAVE_CPU_SPARC_TRUE=
15850 HAVE_CPU_SPARC_FALSE='#'
15852 HAVE_CPU_SPARC_TRUE='#'
15853 HAVE_CPU_SPARC_FALSE=
15856 if test "x$HAVE_CPU_HPPA" = "xyes"; then
15857 HAVE_CPU_HPPA_TRUE=
15858 HAVE_CPU_HPPA_FALSE='#'
15860 HAVE_CPU_HPPA_TRUE='#'
15861 HAVE_CPU_HPPA_FALSE=
15864 if test "x$HAVE_CPU_MIPS" = "xyes"; then
15865 HAVE_CPU_MIPS_TRUE=
15866 HAVE_CPU_MIPS_FALSE='#'
15868 HAVE_CPU_MIPS_TRUE='#'
15869 HAVE_CPU_MIPS_FALSE=
15872 if test "x$HAVE_CPU_S390" = "xyes"; then
15873 HAVE_CPU_S390_TRUE=
15874 HAVE_CPU_S390_FALSE='#'
15876 HAVE_CPU_S390_TRUE='#'
15877 HAVE_CPU_S390_FALSE=
15880 if test "x$HAVE_CPU_IA64" = "xyes"; then
15881 HAVE_CPU_IA64_TRUE=
15882 HAVE_CPU_IA64_FALSE='#'
15884 HAVE_CPU_IA64_TRUE='#'
15885 HAVE_CPU_IA64_FALSE=
15888 if test "x$HAVE_CPU_M68K" = "xyes"; then
15889 HAVE_CPU_M68K_TRUE=
15890 HAVE_CPU_M68K_FALSE='#'
15892 HAVE_CPU_M68K_TRUE='#'
15893 HAVE_CPU_M68K_FALSE=
15896 if test "x$HAVE_CPU_X86_64" = "xyes"; then
15897 HAVE_CPU_X86_64_TRUE=
15898 HAVE_CPU_X86_64_FALSE='#'
15900 HAVE_CPU_X86_64_TRUE='#'
15901 HAVE_CPU_X86_64_FALSE=
15904 if test "x$HAVE_CPU_CRIS" = "xyes"; then
15905 HAVE_CPU_CRIS_TRUE=
15906 HAVE_CPU_CRIS_FALSE='#'
15908 HAVE_CPU_CRIS_TRUE='#'
15909 HAVE_CPU_CRIS_FALSE=
15912 if test "x$HAVE_CPU_CRISV32" = "xyes"; then
15913 HAVE_CPU_CRISV32_TRUE=
15914 HAVE_CPU_CRISV32_FALSE='#'
15916 HAVE_CPU_CRISV32_TRUE='#'
15917 HAVE_CPU_CRISV32_FALSE=
15922 cat >>confdefs.h <<_ACEOF
15923 #define HOST_CPU "$host_cpu"
15931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if unaligned memory access works correctly" >&5
15932 $as_echo_n "checking if unaligned memory access works correctly... " >&6; }
15933 if test x"$as_cv_unaligned_access" = x ; then
15935 alpha*|arm*|hp*|mips*|sh*|sparc*|ia64*)
15936 $as_echo_n "(blacklisted) " >&6
15937 as_cv_unaligned_access=no
15939 i?86*|x86_64*|amd64*|powerpc*|m68k*|cris*)
15940 $as_echo_n "(whitelisted) " >&6
15941 as_cv_unaligned_access=yes
15945 $as_echo_n "(cached) " >&6
15947 if test x"$as_cv_unaligned_access" = x ; then
15948 if test "$cross_compiling" = yes; then :
15949 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15950 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15951 as_fn_error $? "cannot run test program while cross compiling
15952 See \`config.log' for more details" "$LINENO" 5; }
15954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15955 /* end confdefs.h. */
15957 int main(int argc, char **argv)
15959 char array[] = "ABCDEFGH";
15960 unsigned int iarray[2];
15961 memcpy(iarray,array,8);
15962 #define GET(x) (*(unsigned int *)((char *)iarray + (x)))
15963 if(GET(0) != 0x41424344 && GET(0) != 0x44434241) return 1;
15964 if(GET(1) != 0x42434445 && GET(1) != 0x45444342) return 1;
15965 if(GET(2) != 0x43444546 && GET(2) != 0x46454443) return 1;
15966 if(GET(3) != 0x44454647 && GET(3) != 0x47464544) return 1;
15971 if ac_fn_c_try_run "$LINENO"; then :
15972 as_cv_unaligned_access="yes"
15974 as_cv_unaligned_access="no"
15976 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15977 conftest.$ac_objext conftest.beam conftest.$ac_ext
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $as_cv_unaligned_access" >&5
15982 $as_echo "$as_cv_unaligned_access" >&6; }
15983 if test "$as_cv_unaligned_access" = "yes"; then
15985 cat >>confdefs.h <<_ACEOF
15986 #define HAVE_UNALIGNED_ACCESS 1
15991 if test x${as_cv_unaligned_access} = xyes ; then
15992 GST_HAVE_UNALIGNED_ACCESS_DEFINE="#define GST_HAVE_UNALIGNED_ACCESS 1"
15994 GST_HAVE_UNALIGNED_ACCESS_DEFINE="#define GST_HAVE_UNALIGNED_ACCESS 0"
16004 cat >>confdefs.h <<_ACEOF
16005 #define GST_EXTRA_MODULE_SUFFIX ".dylib"
16011 cat >>confdefs.h <<_ACEOF
16012 #define GST_EXTRA_MODULE_SUFFIX ".dylib"
16016 cat >>confdefs.h <<_ACEOF
16023 cat >>confdefs.h <<_ACEOF
16024 #define GST_HAVE_UNSAFE_FORK 1
16028 mingw* | msvc* | mks*)
16030 cat >>confdefs.h <<_ACEOF
16031 #define HAVE_WIN32 1
16035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16036 /* end confdefs.h. */
16041 return __MSVCRT_VERSION__;
16046 if ac_fn_c_try_compile "$LINENO"; then :
16048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16049 /* end confdefs.h. */
16055 #if __MSVCRT_VERSION__ < 0x0601
16056 #error "MSVCRT too old"
16063 if ac_fn_c_try_compile "$LINENO"; then :
16065 { $as_echo "$as_me:${as_lineno-$LINENO}: MSVCRT version looks ok" >&5
16066 $as_echo "$as_me: MSVCRT version looks ok" >&6;}
16070 as_fn_error $? "MSVCRT version too old, need at least WinXP SP2" "$LINENO" 5
16073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting MSVCRT version to 0x0601" >&5
16078 $as_echo "$as_me: Setting MSVCRT version to 0x0601" >&6;}
16080 cat >>confdefs.h <<_ACEOF
16081 #define __MSVCRT_VERSION__ 0x0601
16086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16094 # Check whether --enable-largefile was given.
16095 if test "${enable_largefile+set}" = set; then :
16096 enableval=$enable_largefile;
16099 if test "$enable_largefile" != no; then
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16102 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16103 if ${ac_cv_sys_largefile_CC+:} false; then :
16104 $as_echo_n "(cached) " >&6
16106 ac_cv_sys_largefile_CC=no
16107 if test "$GCC" != yes; then
16110 # IRIX 6.2 and later do not support large files by default,
16111 # so use the C compiler's -n32 option if that helps.
16112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16113 /* end confdefs.h. */
16114 #include <sys/types.h>
16115 /* Check that off_t can represent 2**63 - 1 correctly.
16116 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16117 since some C++ compilers masquerading as C compilers
16118 incorrectly reject 9223372036854775807. */
16119 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16120 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16121 && LARGE_OFF_T % 2147483647 == 1)
16131 if ac_fn_c_try_compile "$LINENO"; then :
16134 rm -f core conftest.err conftest.$ac_objext
16136 if ac_fn_c_try_compile "$LINENO"; then :
16137 ac_cv_sys_largefile_CC=' -n32'; break
16139 rm -f core conftest.err conftest.$ac_objext
16143 rm -f conftest.$ac_ext
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16147 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16148 if test "$ac_cv_sys_largefile_CC" != no; then
16149 CC=$CC$ac_cv_sys_largefile_CC
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16153 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16154 if ${ac_cv_sys_file_offset_bits+:} false; then :
16155 $as_echo_n "(cached) " >&6
16158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16159 /* end confdefs.h. */
16160 #include <sys/types.h>
16161 /* Check that off_t can represent 2**63 - 1 correctly.
16162 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16163 since some C++ compilers masquerading as C compilers
16164 incorrectly reject 9223372036854775807. */
16165 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16166 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16167 && LARGE_OFF_T % 2147483647 == 1)
16177 if ac_fn_c_try_compile "$LINENO"; then :
16178 ac_cv_sys_file_offset_bits=no; break
16180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16182 /* end confdefs.h. */
16183 #define _FILE_OFFSET_BITS 64
16184 #include <sys/types.h>
16185 /* Check that off_t can represent 2**63 - 1 correctly.
16186 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16187 since some C++ compilers masquerading as C compilers
16188 incorrectly reject 9223372036854775807. */
16189 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16190 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16191 && LARGE_OFF_T % 2147483647 == 1)
16201 if ac_fn_c_try_compile "$LINENO"; then :
16202 ac_cv_sys_file_offset_bits=64; break
16204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16205 ac_cv_sys_file_offset_bits=unknown
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16210 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16211 case $ac_cv_sys_file_offset_bits in #(
16214 cat >>confdefs.h <<_ACEOF
16215 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16220 if test $ac_cv_sys_file_offset_bits = unknown; then
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16222 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16223 if ${ac_cv_sys_large_files+:} false; then :
16224 $as_echo_n "(cached) " >&6
16227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16228 /* end confdefs.h. */
16229 #include <sys/types.h>
16230 /* Check that off_t can represent 2**63 - 1 correctly.
16231 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16232 since some C++ compilers masquerading as C compilers
16233 incorrectly reject 9223372036854775807. */
16234 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16235 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16236 && LARGE_OFF_T % 2147483647 == 1)
16246 if ac_fn_c_try_compile "$LINENO"; then :
16247 ac_cv_sys_large_files=no; break
16249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16251 /* end confdefs.h. */
16252 #define _LARGE_FILES 1
16253 #include <sys/types.h>
16254 /* Check that off_t can represent 2**63 - 1 correctly.
16255 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16256 since some C++ compilers masquerading as C compilers
16257 incorrectly reject 9223372036854775807. */
16258 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16259 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16260 && LARGE_OFF_T % 2147483647 == 1)
16270 if ac_fn_c_try_compile "$LINENO"; then :
16271 ac_cv_sys_large_files=1; break
16273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16274 ac_cv_sys_large_files=unknown
16278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16279 $as_echo "$ac_cv_sys_large_files" >&6; }
16280 case $ac_cv_sys_large_files in #(
16283 cat >>confdefs.h <<_ACEOF
16284 #define _LARGE_FILES $ac_cv_sys_large_files
16295 ac_cpp='$CPP $CPPFLAGS'
16296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16299 if test -n "$ac_tool_prefix"; then
16300 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16301 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16303 $as_echo_n "checking for $ac_word... " >&6; }
16304 if ${ac_cv_prog_CC+:} false; then :
16305 $as_echo_n "(cached) " >&6
16307 if test -n "$CC"; then
16308 ac_cv_prog_CC="$CC" # Let the user override the test.
16310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16311 for as_dir in $PATH
16314 test -z "$as_dir" && as_dir=.
16315 for ac_exec_ext in '' $ac_executable_extensions; do
16316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16317 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16328 if test -n "$CC"; then
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16330 $as_echo "$CC" >&6; }
16332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16333 $as_echo "no" >&6; }
16338 if test -z "$ac_cv_prog_CC"; then
16340 # Extract the first word of "gcc", so it can be a program name with args.
16341 set dummy gcc; ac_word=$2
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16343 $as_echo_n "checking for $ac_word... " >&6; }
16344 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16345 $as_echo_n "(cached) " >&6
16347 if test -n "$ac_ct_CC"; then
16348 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16351 for as_dir in $PATH
16354 test -z "$as_dir" && as_dir=.
16355 for ac_exec_ext in '' $ac_executable_extensions; do
16356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16357 ac_cv_prog_ac_ct_CC="gcc"
16358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16367 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16368 if test -n "$ac_ct_CC"; then
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16370 $as_echo "$ac_ct_CC" >&6; }
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16373 $as_echo "no" >&6; }
16376 if test "x$ac_ct_CC" = x; then
16379 case $cross_compiling:$ac_tool_warned in
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16383 ac_tool_warned=yes ;;
16388 CC="$ac_cv_prog_CC"
16391 if test -z "$CC"; then
16392 if test -n "$ac_tool_prefix"; then
16393 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16394 set dummy ${ac_tool_prefix}cc; ac_word=$2
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16396 $as_echo_n "checking for $ac_word... " >&6; }
16397 if ${ac_cv_prog_CC+:} false; then :
16398 $as_echo_n "(cached) " >&6
16400 if test -n "$CC"; then
16401 ac_cv_prog_CC="$CC" # Let the user override the test.
16403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16404 for as_dir in $PATH
16407 test -z "$as_dir" && as_dir=.
16408 for ac_exec_ext in '' $ac_executable_extensions; do
16409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16410 ac_cv_prog_CC="${ac_tool_prefix}cc"
16411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16421 if test -n "$CC"; then
16422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16423 $as_echo "$CC" >&6; }
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16426 $as_echo "no" >&6; }
16432 if test -z "$CC"; then
16433 # Extract the first word of "cc", so it can be a program name with args.
16434 set dummy cc; ac_word=$2
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16436 $as_echo_n "checking for $ac_word... " >&6; }
16437 if ${ac_cv_prog_CC+:} false; then :
16438 $as_echo_n "(cached) " >&6
16440 if test -n "$CC"; then
16441 ac_cv_prog_CC="$CC" # Let the user override the test.
16443 ac_prog_rejected=no
16444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16445 for as_dir in $PATH
16448 test -z "$as_dir" && as_dir=.
16449 for ac_exec_ext in '' $ac_executable_extensions; do
16450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16451 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16452 ac_prog_rejected=yes
16456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16463 if test $ac_prog_rejected = yes; then
16464 # We found a bogon in the path, so make sure we never use it.
16465 set dummy $ac_cv_prog_CC
16467 if test $# != 0; then
16468 # We chose a different compiler from the bogus one.
16469 # However, it has the same basename, so the bogon will be chosen
16470 # first if we set CC to just the basename; use the full file name.
16472 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16478 if test -n "$CC"; then
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16480 $as_echo "$CC" >&6; }
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16483 $as_echo "no" >&6; }
16488 if test -z "$CC"; then
16489 if test -n "$ac_tool_prefix"; then
16490 for ac_prog in cl.exe
16492 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16493 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16495 $as_echo_n "checking for $ac_word... " >&6; }
16496 if ${ac_cv_prog_CC+:} false; then :
16497 $as_echo_n "(cached) " >&6
16499 if test -n "$CC"; then
16500 ac_cv_prog_CC="$CC" # Let the user override the test.
16502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16503 for as_dir in $PATH
16506 test -z "$as_dir" && as_dir=.
16507 for ac_exec_ext in '' $ac_executable_extensions; do
16508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16509 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16520 if test -n "$CC"; then
16521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16522 $as_echo "$CC" >&6; }
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16525 $as_echo "no" >&6; }
16529 test -n "$CC" && break
16532 if test -z "$CC"; then
16534 for ac_prog in cl.exe
16536 # Extract the first word of "$ac_prog", so it can be a program name with args.
16537 set dummy $ac_prog; ac_word=$2
16538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16539 $as_echo_n "checking for $ac_word... " >&6; }
16540 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16541 $as_echo_n "(cached) " >&6
16543 if test -n "$ac_ct_CC"; then
16544 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16547 for as_dir in $PATH
16550 test -z "$as_dir" && as_dir=.
16551 for ac_exec_ext in '' $ac_executable_extensions; do
16552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16553 ac_cv_prog_ac_ct_CC="$ac_prog"
16554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16563 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16564 if test -n "$ac_ct_CC"; then
16565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16566 $as_echo "$ac_ct_CC" >&6; }
16568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16569 $as_echo "no" >&6; }
16573 test -n "$ac_ct_CC" && break
16576 if test "x$ac_ct_CC" = x; then
16579 case $cross_compiling:$ac_tool_warned in
16581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16583 ac_tool_warned=yes ;;
16592 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16594 as_fn_error $? "no acceptable C compiler found in \$PATH
16595 See \`config.log' for more details" "$LINENO" 5; }
16597 # Provide some information about the compiler.
16598 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16601 for ac_option in --version -v -V -qversion; do
16602 { { ac_try="$ac_compiler $ac_option >&5"
16603 case "(($ac_try" in
16604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16605 *) ac_try_echo=$ac_try;;
16607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16608 $as_echo "$ac_try_echo"; } >&5
16609 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16611 if test -s conftest.err; then
16613 ... rest of stderr output deleted ...
16614 10q' conftest.err >conftest.er1
16615 cat conftest.er1 >&5
16617 rm -f conftest.er1 conftest.err
16618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16619 test $ac_status = 0; }
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16623 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16624 if ${ac_cv_c_compiler_gnu+:} false; then :
16625 $as_echo_n "(cached) " >&6
16627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16641 if ac_fn_c_try_compile "$LINENO"; then :
16642 ac_compiler_gnu=yes
16646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16647 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16651 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16652 if test $ac_compiler_gnu = yes; then
16657 ac_test_CFLAGS=${CFLAGS+set}
16658 ac_save_CFLAGS=$CFLAGS
16659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16660 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16661 if ${ac_cv_prog_cc_g+:} false; then :
16662 $as_echo_n "(cached) " >&6
16664 ac_save_c_werror_flag=$ac_c_werror_flag
16665 ac_c_werror_flag=yes
16668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16669 /* end confdefs.h. */
16679 if ac_fn_c_try_compile "$LINENO"; then :
16680 ac_cv_prog_cc_g=yes
16683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16684 /* end confdefs.h. */
16694 if ac_fn_c_try_compile "$LINENO"; then :
16697 ac_c_werror_flag=$ac_save_c_werror_flag
16699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16700 /* end confdefs.h. */
16710 if ac_fn_c_try_compile "$LINENO"; then :
16711 ac_cv_prog_cc_g=yes
16713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16718 ac_c_werror_flag=$ac_save_c_werror_flag
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16721 $as_echo "$ac_cv_prog_cc_g" >&6; }
16722 if test "$ac_test_CFLAGS" = set; then
16723 CFLAGS=$ac_save_CFLAGS
16724 elif test $ac_cv_prog_cc_g = yes; then
16725 if test "$GCC" = yes; then
16731 if test "$GCC" = yes; then
16737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16738 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16739 if ${ac_cv_prog_cc_c89+:} false; then :
16740 $as_echo_n "(cached) " >&6
16742 ac_cv_prog_cc_c89=no
16744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16745 /* end confdefs.h. */
16746 #include <stdarg.h>
16748 #include <sys/types.h>
16749 #include <sys/stat.h>
16750 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16751 struct buf { int x; };
16752 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16753 static char *e (p, i)
16759 static char *f (char * (*g) (char **, int), char **p, ...)
16764 s = g (p, va_arg (v,int));
16769 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16770 function prototypes and stuff, but not '\xHH' hex character constants.
16771 These don't provoke an error unfortunately, instead are silently treated
16772 as 'x'. The following induces an error, until -std is added to get
16773 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16774 array size at least. It's necessary to write '\x00'==0 to get something
16775 that's true only with -std. */
16776 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16778 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16779 inside strings and character constants. */
16781 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16783 int test (int i, double x);
16784 struct s1 {int (*f) (int a);};
16785 struct s2 {int (*f) (double a);};
16786 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16792 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16797 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16798 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16800 CC="$ac_save_CC $ac_arg"
16801 if ac_fn_c_try_compile "$LINENO"; then :
16802 ac_cv_prog_cc_c89=$ac_arg
16804 rm -f core conftest.err conftest.$ac_objext
16805 test "x$ac_cv_prog_cc_c89" != "xno" && break
16807 rm -f conftest.$ac_ext
16812 case "x$ac_cv_prog_cc_c89" in
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16815 $as_echo "none needed" >&6; } ;;
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16818 $as_echo "unsupported" >&6; } ;;
16820 CC="$CC $ac_cv_prog_cc_c89"
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16822 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16824 if test "x$ac_cv_prog_cc_c89" != xno; then :
16829 ac_cpp='$CPP $CPPFLAGS'
16830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16834 depcc="$CC" am_compiler_list=
16836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16837 $as_echo_n "checking dependency style of $depcc... " >&6; }
16838 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
16839 $as_echo_n "(cached) " >&6
16841 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16842 # We make a subdir and do the tests there. Otherwise we can end up
16843 # making bogus files that we don't know about and never remove. For
16844 # instance it was reported that on HP-UX the gcc test will end up
16845 # making a dummy file named `D' -- because `-MD' means `put the output
16847 rm -rf conftest.dir
16849 # Copy depcomp to subdir because otherwise we won't find it if we're
16850 # using a relative directory.
16851 cp "$am_depcomp" conftest.dir
16853 # We will build objects and dependencies in a subdirectory because
16854 # it helps to detect inapplicable dependency modes. For instance
16855 # both Tru64's cc and ICC support -MD to output dependencies as a
16856 # side effect of compilation, but ICC will put the dependencies in
16857 # the current directory while Tru64 will put them in the object
16861 am_cv_CC_dependencies_compiler_type=none
16862 if test "$am_compiler_list" = ""; then
16863 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16865 am__universal=false
16866 case " $depcc " in #(
16867 *\ -arch\ *\ -arch\ *) am__universal=true ;;
16870 for depmode in $am_compiler_list; do
16871 # Setup a source with many dependencies, because some compilers
16872 # like to wrap large dependency lists on column 80 (with \), and
16873 # we should not choose a depcomp mode which is confused by this.
16875 # We need to recreate these files for each test, as the compiler may
16876 # overwrite some of them when testing with obscure command lines.
16877 # This happens at least with the AIX C compiler.
16879 for i in 1 2 3 4 5 6; do
16880 echo '#include "conftst'$i'.h"' >> sub/conftest.c
16881 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16882 # Solaris 8's {/usr,}/bin/sh.
16883 touch sub/conftst$i.h
16885 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16887 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16888 # mode. It turns out that the SunPro C++ compiler does not properly
16889 # handle `-M -o', and we need to detect this. Also, some Intel
16890 # versions had trouble with output in subdirs
16891 am__obj=sub/conftest.${OBJEXT-o}
16892 am__minus_obj="-o $am__obj"
16895 # This depmode causes a compiler race in universal mode.
16896 test "$am__universal" = false || continue
16899 # after this tag, mechanisms are not by side-effect, so they'll
16900 # only be used when explicitly requested
16901 if test "x$enable_dependency_tracking" = xyes; then
16907 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
16908 # This compiler won't grok `-c -o', but also, the minuso test has
16909 # not run yet. These depmodes are late enough in the game, and
16910 # so weak that their functioning should not be impacted.
16911 am__obj=conftest.${OBJEXT-o}
16916 if depmode=$depmode \
16917 source=sub/conftest.c object=$am__obj \
16918 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16919 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16920 >/dev/null 2>conftest.err &&
16921 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16922 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16923 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16924 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16925 # icc doesn't choke on unknown options, it will just issue warnings
16926 # or remarks (even with -Werror). So we grep stderr for any message
16927 # that says an option was ignored or not supported.
16928 # When given -MP, icc 7.0 and 7.1 complain thusly:
16929 # icc: Command line warning: ignoring option '-M'; no argument required
16930 # The diagnosis changed in icc 8.0:
16931 # icc: Command line remark: option '-MP' not supported
16932 if (grep 'ignoring option' conftest.err ||
16933 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16934 am_cv_CC_dependencies_compiler_type=$depmode
16941 rm -rf conftest.dir
16943 am_cv_CC_dependencies_compiler_type=none
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
16948 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
16949 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
16952 test "x$enable_dependency_tracking" != xno \
16953 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
16954 am__fastdepCC_TRUE=
16955 am__fastdepCC_FALSE='#'
16957 am__fastdepCC_TRUE='#'
16958 am__fastdepCC_FALSE=
16962 case $ac_cv_prog_cc_stdc in #(
16964 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
16967 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
16968 if ${ac_cv_prog_cc_c99+:} false; then :
16969 $as_echo_n "(cached) " >&6
16971 ac_cv_prog_cc_c99=no
16973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16975 #include <stdarg.h>
16976 #include <stdbool.h>
16977 #include <stdlib.h>
16981 // Check varargs macros. These examples are taken from C99 6.10.3.5.
16982 #define debug(...) fprintf (stderr, __VA_ARGS__)
16983 #define showlist(...) puts (#__VA_ARGS__)
16984 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
16986 test_varargs_macros (void)
16991 debug ("X = %d\n", x);
16992 showlist (The first, second, and third items.);
16993 report (x>y, "x is %d but y is %d", x, y);
16996 // Check long long types.
16997 #define BIG64 18446744073709551615ull
16998 #define BIG32 4294967295ul
16999 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
17001 your preprocessor is broken;
17005 your preprocessor is broken;
17007 static long long int bignum = -9223372036854775807LL;
17008 static unsigned long long int ubignum = BIG64;
17010 struct incomplete_array
17016 struct named_init {
17018 const wchar_t *name;
17022 typedef const char *ccp;
17025 test_restrict (ccp restrict text)
17027 // See if C++-style comments work.
17028 // Iterate through items via the restricted pointer.
17029 // Also check for declarations in for loops.
17030 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
17035 // Check varargs and va_copy.
17037 test_varargs (const char *format, ...)
17040 va_start (args, format);
17042 va_copy (args_copy, args);
17052 case 's': // string
17053 str = va_arg (args_copy, const char *);
17056 number = va_arg (args_copy, int);
17059 fnumber = va_arg (args_copy, double);
17065 va_end (args_copy);
17074 _Bool success = false;
17077 if (test_restrict ("String literal") == 0)
17079 char *restrict newvar = "Another string";
17082 test_varargs ("s, d' f .", "string", 65, 34.234);
17083 test_varargs_macros ();
17085 // Check flexible array members.
17086 struct incomplete_array *ia =
17087 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
17089 for (int i = 0; i < ia->datasize; ++i)
17090 ia->data[i] = i * 1.234;
17092 // Check named initializers.
17093 struct named_init ni = {
17095 .name = L"Test wide string",
17096 .average = 543.34343,
17101 int dynamic_array[ni.number];
17102 dynamic_array[ni.number - 1] = 543;
17104 // work around unused variable warnings
17105 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
17106 || dynamic_array[ni.number - 1] != 543);
17112 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
17114 CC="$ac_save_CC $ac_arg"
17115 if ac_fn_c_try_compile "$LINENO"; then :
17116 ac_cv_prog_cc_c99=$ac_arg
17118 rm -f core conftest.err conftest.$ac_objext
17119 test "x$ac_cv_prog_cc_c99" != "xno" && break
17121 rm -f conftest.$ac_ext
17126 case "x$ac_cv_prog_cc_c99" in
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17129 $as_echo "none needed" >&6; } ;;
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17132 $as_echo "unsupported" >&6; } ;;
17134 CC="$CC $ac_cv_prog_cc_c99"
17135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
17136 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
17138 if test "x$ac_cv_prog_cc_c99" != xno; then :
17139 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17142 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17143 if ${ac_cv_prog_cc_c89+:} false; then :
17144 $as_echo_n "(cached) " >&6
17146 ac_cv_prog_cc_c89=no
17148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17149 /* end confdefs.h. */
17150 #include <stdarg.h>
17152 #include <sys/types.h>
17153 #include <sys/stat.h>
17154 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17155 struct buf { int x; };
17156 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17157 static char *e (p, i)
17163 static char *f (char * (*g) (char **, int), char **p, ...)
17168 s = g (p, va_arg (v,int));
17173 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17174 function prototypes and stuff, but not '\xHH' hex character constants.
17175 These don't provoke an error unfortunately, instead are silently treated
17176 as 'x'. The following induces an error, until -std is added to get
17177 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17178 array size at least. It's necessary to write '\x00'==0 to get something
17179 that's true only with -std. */
17180 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17182 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17183 inside strings and character constants. */
17185 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17187 int test (int i, double x);
17188 struct s1 {int (*f) (int a);};
17189 struct s2 {int (*f) (double a);};
17190 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17196 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17201 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17202 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17204 CC="$ac_save_CC $ac_arg"
17205 if ac_fn_c_try_compile "$LINENO"; then :
17206 ac_cv_prog_cc_c89=$ac_arg
17208 rm -f core conftest.err conftest.$ac_objext
17209 test "x$ac_cv_prog_cc_c89" != "xno" && break
17211 rm -f conftest.$ac_ext
17216 case "x$ac_cv_prog_cc_c89" in
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17219 $as_echo "none needed" >&6; } ;;
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17222 $as_echo "unsupported" >&6; } ;;
17224 CC="$CC $ac_cv_prog_cc_c89"
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17226 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17228 if test "x$ac_cv_prog_cc_c89" != xno; then :
17229 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
17231 ac_cv_prog_cc_stdc=no
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
17238 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
17239 if ${ac_cv_prog_cc_stdc+:} false; then :
17240 $as_echo_n "(cached) " >&6
17243 case $ac_cv_prog_cc_stdc in #(
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17246 $as_echo "unsupported" >&6; } ;; #(
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17249 $as_echo "none needed" >&6; } ;; #(
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
17252 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
17256 if test "x$CC" != xcc; then
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
17258 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
17261 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
17263 set dummy $CC; ac_cc=`$as_echo "$2" |
17264 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
17265 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
17266 $as_echo_n "(cached) " >&6
17268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17269 /* end confdefs.h. */
17279 # Make sure it works both with $CC and with simple cc.
17280 # We do the test twice because some compilers refuse to overwrite an
17281 # existing .o file with -o, though they will create one.
17282 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
17284 if { { case "(($ac_try" in
17285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17286 *) ac_try_echo=$ac_try;;
17288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17289 $as_echo "$ac_try_echo"; } >&5
17290 (eval "$ac_try") 2>&5
17292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17293 test $ac_status = 0; } &&
17294 test -f conftest2.$ac_objext && { { case "(($ac_try" in
17295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17296 *) ac_try_echo=$ac_try;;
17298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17299 $as_echo "$ac_try_echo"; } >&5
17300 (eval "$ac_try") 2>&5
17302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17303 test $ac_status = 0; };
17305 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
17306 if test "x$CC" != xcc; then
17307 # Test first that cc exists at all.
17308 if { ac_try='cc -c conftest.$ac_ext >&5'
17309 { { case "(($ac_try" in
17310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17311 *) ac_try_echo=$ac_try;;
17313 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17314 $as_echo "$ac_try_echo"; } >&5
17315 (eval "$ac_try") 2>&5
17317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17318 test $ac_status = 0; }; }; then
17319 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
17321 if { { case "(($ac_try" in
17322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17323 *) ac_try_echo=$ac_try;;
17325 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17326 $as_echo "$ac_try_echo"; } >&5
17327 (eval "$ac_try") 2>&5
17329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17330 test $ac_status = 0; } &&
17331 test -f conftest2.$ac_objext && { { case "(($ac_try" in
17332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17333 *) ac_try_echo=$ac_try;;
17335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17336 $as_echo "$ac_try_echo"; } >&5
17337 (eval "$ac_try") 2>&5
17339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17340 test $ac_status = 0; };
17345 # cc exists but doesn't like -o.
17346 eval ac_cv_prog_cc_${ac_cc}_c_o=no
17351 eval ac_cv_prog_cc_${ac_cc}_c_o=no
17353 rm -f core conftest*
17356 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17358 $as_echo "yes" >&6; }
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17361 $as_echo "no" >&6; }
17363 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
17367 # FIXME: we rely on the cache variable name because
17368 # there is no other way.
17370 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
17371 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
17372 if test "$am_t" != yes; then
17373 # Losing compiler, so override with the script.
17374 # FIXME: It is wrong to rewrite CC.
17375 # But if we don't then we get into trouble of one sort or another.
17376 # A longer-term fix would be to have automake use am__CC in this case,
17377 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
17378 CC="$am_aux_dir/compile $CC"
17383 # By default we simply use the C compiler to build assembly code.
17385 test "${CCAS+set}" = set || CCAS=$CC
17386 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
17390 depcc="$CCAS" am_compiler_list=
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17393 $as_echo_n "checking dependency style of $depcc... " >&6; }
17394 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
17395 $as_echo_n "(cached) " >&6
17397 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17398 # We make a subdir and do the tests there. Otherwise we can end up
17399 # making bogus files that we don't know about and never remove. For
17400 # instance it was reported that on HP-UX the gcc test will end up
17401 # making a dummy file named `D' -- because `-MD' means `put the output
17403 rm -rf conftest.dir
17405 # Copy depcomp to subdir because otherwise we won't find it if we're
17406 # using a relative directory.
17407 cp "$am_depcomp" conftest.dir
17409 # We will build objects and dependencies in a subdirectory because
17410 # it helps to detect inapplicable dependency modes. For instance
17411 # both Tru64's cc and ICC support -MD to output dependencies as a
17412 # side effect of compilation, but ICC will put the dependencies in
17413 # the current directory while Tru64 will put them in the object
17417 am_cv_CCAS_dependencies_compiler_type=none
17418 if test "$am_compiler_list" = ""; then
17419 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17421 am__universal=false
17424 for depmode in $am_compiler_list; do
17425 # Setup a source with many dependencies, because some compilers
17426 # like to wrap large dependency lists on column 80 (with \), and
17427 # we should not choose a depcomp mode which is confused by this.
17429 # We need to recreate these files for each test, as the compiler may
17430 # overwrite some of them when testing with obscure command lines.
17431 # This happens at least with the AIX C compiler.
17433 for i in 1 2 3 4 5 6; do
17434 echo '#include "conftst'$i'.h"' >> sub/conftest.c
17435 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17436 # Solaris 8's {/usr,}/bin/sh.
17437 touch sub/conftst$i.h
17439 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17441 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17442 # mode. It turns out that the SunPro C++ compiler does not properly
17443 # handle `-M -o', and we need to detect this. Also, some Intel
17444 # versions had trouble with output in subdirs
17445 am__obj=sub/conftest.${OBJEXT-o}
17446 am__minus_obj="-o $am__obj"
17449 # This depmode causes a compiler race in universal mode.
17450 test "$am__universal" = false || continue
17453 # after this tag, mechanisms are not by side-effect, so they'll
17454 # only be used when explicitly requested
17455 if test "x$enable_dependency_tracking" = xyes; then
17461 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17462 # This compiler won't grok `-c -o', but also, the minuso test has
17463 # not run yet. These depmodes are late enough in the game, and
17464 # so weak that their functioning should not be impacted.
17465 am__obj=conftest.${OBJEXT-o}
17470 if depmode=$depmode \
17471 source=sub/conftest.c object=$am__obj \
17472 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17473 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17474 >/dev/null 2>conftest.err &&
17475 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17476 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17477 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17478 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17479 # icc doesn't choke on unknown options, it will just issue warnings
17480 # or remarks (even with -Werror). So we grep stderr for any message
17481 # that says an option was ignored or not supported.
17482 # When given -MP, icc 7.0 and 7.1 complain thusly:
17483 # icc: Command line warning: ignoring option '-M'; no argument required
17484 # The diagnosis changed in icc 8.0:
17485 # icc: Command line remark: option '-MP' not supported
17486 if (grep 'ignoring option' conftest.err ||
17487 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17488 am_cv_CCAS_dependencies_compiler_type=$depmode
17495 rm -rf conftest.dir
17497 am_cv_CCAS_dependencies_compiler_type=none
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
17502 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
17503 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
17506 test "x$enable_dependency_tracking" != xno \
17507 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
17508 am__fastdepCCAS_TRUE=
17509 am__fastdepCCAS_FALSE='#'
17511 am__fastdepCCAS_TRUE='#'
17512 am__fastdepCCAS_FALSE=
17518 ac_cpp='$CXXCPP $CPPFLAGS'
17519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17522 if test -z "$CXX"; then
17523 if test -n "$CCC"; then
17526 if test -n "$ac_tool_prefix"; then
17527 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17529 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17530 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17532 $as_echo_n "checking for $ac_word... " >&6; }
17533 if ${ac_cv_prog_CXX+:} false; then :
17534 $as_echo_n "(cached) " >&6
17536 if test -n "$CXX"; then
17537 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17540 for as_dir in $PATH
17543 test -z "$as_dir" && as_dir=.
17544 for ac_exec_ext in '' $ac_executable_extensions; do
17545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17546 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17556 CXX=$ac_cv_prog_CXX
17557 if test -n "$CXX"; then
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
17559 $as_echo "$CXX" >&6; }
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17562 $as_echo "no" >&6; }
17566 test -n "$CXX" && break
17569 if test -z "$CXX"; then
17571 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17573 # Extract the first word of "$ac_prog", so it can be a program name with args.
17574 set dummy $ac_prog; ac_word=$2
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17576 $as_echo_n "checking for $ac_word... " >&6; }
17577 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
17578 $as_echo_n "(cached) " >&6
17580 if test -n "$ac_ct_CXX"; then
17581 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17584 for as_dir in $PATH
17587 test -z "$as_dir" && as_dir=.
17588 for ac_exec_ext in '' $ac_executable_extensions; do
17589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17590 ac_cv_prog_ac_ct_CXX="$ac_prog"
17591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17600 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17601 if test -n "$ac_ct_CXX"; then
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
17603 $as_echo "$ac_ct_CXX" >&6; }
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17606 $as_echo "no" >&6; }
17610 test -n "$ac_ct_CXX" && break
17613 if test "x$ac_ct_CXX" = x; then
17616 case $cross_compiling:$ac_tool_warned in
17618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17620 ac_tool_warned=yes ;;
17628 # Provide some information about the compiler.
17629 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
17632 for ac_option in --version -v -V -qversion; do
17633 { { ac_try="$ac_compiler $ac_option >&5"
17634 case "(($ac_try" in
17635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17636 *) ac_try_echo=$ac_try;;
17638 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17639 $as_echo "$ac_try_echo"; } >&5
17640 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17642 if test -s conftest.err; then
17644 ... rest of stderr output deleted ...
17645 10q' conftest.err >conftest.er1
17646 cat conftest.er1 >&5
17648 rm -f conftest.er1 conftest.err
17649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17650 test $ac_status = 0; }
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
17654 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
17655 if ${ac_cv_cxx_compiler_gnu+:} false; then :
17656 $as_echo_n "(cached) " >&6
17658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17659 /* end confdefs.h. */
17672 if ac_fn_cxx_try_compile "$LINENO"; then :
17673 ac_compiler_gnu=yes
17677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17678 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
17682 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
17683 if test $ac_compiler_gnu = yes; then
17688 ac_test_CXXFLAGS=${CXXFLAGS+set}
17689 ac_save_CXXFLAGS=$CXXFLAGS
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
17691 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
17692 if ${ac_cv_prog_cxx_g+:} false; then :
17693 $as_echo_n "(cached) " >&6
17695 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17696 ac_cxx_werror_flag=yes
17697 ac_cv_prog_cxx_g=no
17699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17700 /* end confdefs.h. */
17710 if ac_fn_cxx_try_compile "$LINENO"; then :
17711 ac_cv_prog_cxx_g=yes
17714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17715 /* end confdefs.h. */
17725 if ac_fn_cxx_try_compile "$LINENO"; then :
17728 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17731 /* end confdefs.h. */
17741 if ac_fn_cxx_try_compile "$LINENO"; then :
17742 ac_cv_prog_cxx_g=yes
17744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17749 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
17752 $as_echo "$ac_cv_prog_cxx_g" >&6; }
17753 if test "$ac_test_CXXFLAGS" = set; then
17754 CXXFLAGS=$ac_save_CXXFLAGS
17755 elif test $ac_cv_prog_cxx_g = yes; then
17756 if test "$GXX" = yes; then
17762 if test "$GXX" = yes; then
17769 ac_cpp='$CPP $CPPFLAGS'
17770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17774 depcc="$CXX" am_compiler_list=
17776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17777 $as_echo_n "checking dependency style of $depcc... " >&6; }
17778 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
17779 $as_echo_n "(cached) " >&6
17781 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17782 # We make a subdir and do the tests there. Otherwise we can end up
17783 # making bogus files that we don't know about and never remove. For
17784 # instance it was reported that on HP-UX the gcc test will end up
17785 # making a dummy file named `D' -- because `-MD' means `put the output
17787 rm -rf conftest.dir
17789 # Copy depcomp to subdir because otherwise we won't find it if we're
17790 # using a relative directory.
17791 cp "$am_depcomp" conftest.dir
17793 # We will build objects and dependencies in a subdirectory because
17794 # it helps to detect inapplicable dependency modes. For instance
17795 # both Tru64's cc and ICC support -MD to output dependencies as a
17796 # side effect of compilation, but ICC will put the dependencies in
17797 # the current directory while Tru64 will put them in the object
17801 am_cv_CXX_dependencies_compiler_type=none
17802 if test "$am_compiler_list" = ""; then
17803 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17805 am__universal=false
17806 case " $depcc " in #(
17807 *\ -arch\ *\ -arch\ *) am__universal=true ;;
17810 for depmode in $am_compiler_list; do
17811 # Setup a source with many dependencies, because some compilers
17812 # like to wrap large dependency lists on column 80 (with \), and
17813 # we should not choose a depcomp mode which is confused by this.
17815 # We need to recreate these files for each test, as the compiler may
17816 # overwrite some of them when testing with obscure command lines.
17817 # This happens at least with the AIX C compiler.
17819 for i in 1 2 3 4 5 6; do
17820 echo '#include "conftst'$i'.h"' >> sub/conftest.c
17821 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17822 # Solaris 8's {/usr,}/bin/sh.
17823 touch sub/conftst$i.h
17825 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17827 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17828 # mode. It turns out that the SunPro C++ compiler does not properly
17829 # handle `-M -o', and we need to detect this. Also, some Intel
17830 # versions had trouble with output in subdirs
17831 am__obj=sub/conftest.${OBJEXT-o}
17832 am__minus_obj="-o $am__obj"
17835 # This depmode causes a compiler race in universal mode.
17836 test "$am__universal" = false || continue
17839 # after this tag, mechanisms are not by side-effect, so they'll
17840 # only be used when explicitly requested
17841 if test "x$enable_dependency_tracking" = xyes; then
17847 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17848 # This compiler won't grok `-c -o', but also, the minuso test has
17849 # not run yet. These depmodes are late enough in the game, and
17850 # so weak that their functioning should not be impacted.
17851 am__obj=conftest.${OBJEXT-o}
17856 if depmode=$depmode \
17857 source=sub/conftest.c object=$am__obj \
17858 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17859 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17860 >/dev/null 2>conftest.err &&
17861 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17862 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17863 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17864 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17865 # icc doesn't choke on unknown options, it will just issue warnings
17866 # or remarks (even with -Werror). So we grep stderr for any message
17867 # that says an option was ignored or not supported.
17868 # When given -MP, icc 7.0 and 7.1 complain thusly:
17869 # icc: Command line warning: ignoring option '-M'; no argument required
17870 # The diagnosis changed in icc 8.0:
17871 # icc: Command line remark: option '-MP' not supported
17872 if (grep 'ignoring option' conftest.err ||
17873 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17874 am_cv_CXX_dependencies_compiler_type=$depmode
17881 rm -rf conftest.dir
17883 am_cv_CXX_dependencies_compiler_type=none
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
17888 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
17889 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
17892 test "x$enable_dependency_tracking" != xno \
17893 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
17894 am__fastdepCXX_TRUE=
17895 am__fastdepCXX_FALSE='#'
17897 am__fastdepCXX_TRUE='#'
17898 am__fastdepCXX_FALSE=
17904 func_stripname_cnf ()
17907 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17908 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17910 } # func_stripname_cnf
17912 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
17913 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
17914 (test "X$CXX" != "Xg++"))) ; then
17916 ac_cpp='$CXXCPP $CPPFLAGS'
17917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
17921 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
17922 if test -z "$CXXCPP"; then
17923 if ${ac_cv_prog_CXXCPP+:} false; then :
17924 $as_echo_n "(cached) " >&6
17926 # Double quotes because CXXCPP needs to be expanded
17927 for CXXCPP in "$CXX -E" "/lib/cpp"
17929 ac_preproc_ok=false
17930 for ac_cxx_preproc_warn_flag in '' yes
17932 # Use a header file that comes with gcc, so configuring glibc
17933 # with a fresh cross-compiler works.
17934 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17935 # <limits.h> exists even on freestanding compilers.
17936 # On the NeXT, cc -E runs the code through the compiler's parser,
17937 # not just through cpp. "Syntax error" is here to catch this case.
17938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17941 # include <limits.h>
17943 # include <assert.h>
17947 if ac_fn_cxx_try_cpp "$LINENO"; then :
17950 # Broken: fails on valid input.
17953 rm -f conftest.err conftest.i conftest.$ac_ext
17955 # OK, works on sane cases. Now check whether nonexistent headers
17956 # can be detected and how.
17957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17958 /* end confdefs.h. */
17959 #include <ac_nonexistent.h>
17961 if ac_fn_cxx_try_cpp "$LINENO"; then :
17962 # Broken: success on invalid input.
17965 # Passes both tests.
17969 rm -f conftest.err conftest.i conftest.$ac_ext
17972 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17973 rm -f conftest.i conftest.err conftest.$ac_ext
17974 if $ac_preproc_ok; then :
17979 ac_cv_prog_CXXCPP=$CXXCPP
17982 CXXCPP=$ac_cv_prog_CXXCPP
17984 ac_cv_prog_CXXCPP=$CXXCPP
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
17987 $as_echo "$CXXCPP" >&6; }
17988 ac_preproc_ok=false
17989 for ac_cxx_preproc_warn_flag in '' yes
17991 # Use a header file that comes with gcc, so configuring glibc
17992 # with a fresh cross-compiler works.
17993 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17994 # <limits.h> exists even on freestanding compilers.
17995 # On the NeXT, cc -E runs the code through the compiler's parser,
17996 # not just through cpp. "Syntax error" is here to catch this case.
17997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17998 /* end confdefs.h. */
18000 # include <limits.h>
18002 # include <assert.h>
18006 if ac_fn_cxx_try_cpp "$LINENO"; then :
18009 # Broken: fails on valid input.
18012 rm -f conftest.err conftest.i conftest.$ac_ext
18014 # OK, works on sane cases. Now check whether nonexistent headers
18015 # can be detected and how.
18016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18017 /* end confdefs.h. */
18018 #include <ac_nonexistent.h>
18020 if ac_fn_cxx_try_cpp "$LINENO"; then :
18021 # Broken: success on invalid input.
18024 # Passes both tests.
18028 rm -f conftest.err conftest.i conftest.$ac_ext
18031 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18032 rm -f conftest.i conftest.err conftest.$ac_ext
18033 if $ac_preproc_ok; then :
18036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18038 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
18039 See \`config.log' for more details" "$LINENO" 5; }
18043 ac_cpp='$CPP $CPPFLAGS'
18044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18049 _lt_caught_CXX_error=yes
18053 ac_cpp='$CXXCPP $CPPFLAGS'
18054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18058 archive_cmds_need_lc_CXX=no
18059 allow_undefined_flag_CXX=
18060 always_export_symbols_CXX=no
18061 archive_expsym_cmds_CXX=
18062 compiler_needs_object_CXX=no
18063 export_dynamic_flag_spec_CXX=
18064 hardcode_direct_CXX=no
18065 hardcode_direct_absolute_CXX=no
18066 hardcode_libdir_flag_spec_CXX=
18067 hardcode_libdir_separator_CXX=
18068 hardcode_minus_L_CXX=no
18069 hardcode_shlibpath_var_CXX=unsupported
18070 hardcode_automatic_CXX=no
18071 inherit_rpath_CXX=no
18073 module_expsym_cmds_CXX=
18074 link_all_deplibs_CXX=unknown
18075 old_archive_cmds_CXX=$old_archive_cmds
18076 reload_flag_CXX=$reload_flag
18077 reload_cmds_CXX=$reload_cmds
18078 no_undefined_flag_CXX=
18079 whole_archive_flag_spec_CXX=
18080 enable_shared_with_static_runtimes_CXX=no
18082 # Source file extension for C++ test sources.
18085 # Object file extension for compiled C++ test sources.
18089 # No sense in running all these tests if we already determined that
18090 # the CXX compiler isn't working. Some variables (like enable_shared)
18091 # are currently assumed to apply to all compilers on this platform,
18092 # and will be corrupted by setting them based on a non-working compiler.
18093 if test "$_lt_caught_CXX_error" != yes; then
18094 # Code to be used in simple compile tests
18095 lt_simple_compile_test_code="int some_variable = 0;"
18097 # Code to be used in simple link tests
18098 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
18100 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18107 # If no C compiler was specified, use CC.
18110 # If no C compiler flags were specified, use CFLAGS.
18111 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18113 # Allow CC to be a program name with arguments.
18117 # save warnings/boilerplate of simple test code
18118 ac_outfile=conftest.$ac_objext
18119 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18120 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18121 _lt_compiler_boilerplate=`cat conftest.err`
18124 ac_outfile=conftest.$ac_objext
18125 echo "$lt_simple_link_test_code" >conftest.$ac_ext
18126 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18127 _lt_linker_boilerplate=`cat conftest.err`
18131 # Allow CC to be a program name with arguments.
18133 lt_save_CFLAGS=$CFLAGS
18137 lt_save_with_gnu_ld=$with_gnu_ld
18138 lt_save_path_LD=$lt_cv_path_LD
18139 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18140 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18142 $as_unset lt_cv_prog_gnu_ld
18144 if test -n "${lt_cv_path_LDCXX+set}"; then
18145 lt_cv_path_LD=$lt_cv_path_LDCXX
18147 $as_unset lt_cv_path_LD
18149 test -z "${LDCXX+set}" || LD=$LDCXX
18154 for cc_temp in $compiler""; do
18156 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18157 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18162 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18165 if test -n "$compiler"; then
18166 # We don't want -fno-exception when compiling C++ code, so set the
18167 # no_builtin_flag separately
18168 if test "$GXX" = yes; then
18169 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18171 lt_prog_compiler_no_builtin_flag_CXX=
18174 if test "$GXX" = yes; then
18175 # Set up default GNU C++ configuration
18179 # Check whether --with-gnu-ld was given.
18180 if test "${with_gnu_ld+set}" = set; then :
18181 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18187 if test "$GCC" = yes; then
18188 # Check if gcc -print-prog-name=ld gives a path.
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
18190 $as_echo_n "checking for ld used by $CC... " >&6; }
18193 # gcc leaves a trailing carriage return which upsets mingw
18194 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18196 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18199 # Accept absolute paths.
18201 re_direlt='/[^/][^/]*/\.\./'
18202 # Canonicalize the pathname of ld
18203 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18204 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18205 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18207 test -z "$LD" && LD="$ac_prog"
18210 # If it fails, then pretend we aren't using GCC.
18214 # If it is relative, then search for the first ld in PATH.
18215 with_gnu_ld=unknown
18218 elif test "$with_gnu_ld" = yes; then
18219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
18220 $as_echo_n "checking for GNU ld... " >&6; }
18222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
18223 $as_echo_n "checking for non-GNU ld... " >&6; }
18225 if ${lt_cv_path_LD+:} false; then :
18226 $as_echo_n "(cached) " >&6
18228 if test -z "$LD"; then
18229 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18230 for ac_dir in $PATH; do
18232 test -z "$ac_dir" && ac_dir=.
18233 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18234 lt_cv_path_LD="$ac_dir/$ac_prog"
18235 # Check to see if the program is GNU ld. I'd rather use --version,
18236 # but apparently some variants of GNU ld only accept -v.
18237 # Break only if it was the GNU/non-GNU ld that we prefer.
18238 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18239 *GNU* | *'with BFD'*)
18240 test "$with_gnu_ld" != no && break
18243 test "$with_gnu_ld" != yes && break
18250 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18254 LD="$lt_cv_path_LD"
18255 if test -n "$LD"; then
18256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
18257 $as_echo "$LD" >&6; }
18259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18260 $as_echo "no" >&6; }
18262 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
18264 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18265 if ${lt_cv_prog_gnu_ld+:} false; then :
18266 $as_echo_n "(cached) " >&6
18268 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18269 case `$LD -v 2>&1 </dev/null` in
18270 *GNU* | *'with BFD'*)
18271 lt_cv_prog_gnu_ld=yes
18274 lt_cv_prog_gnu_ld=no
18278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
18279 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
18280 with_gnu_ld=$lt_cv_prog_gnu_ld
18288 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18289 # archiving commands below assume that GNU ld is being used.
18290 if test "$with_gnu_ld" = yes; then
18291 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18292 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18294 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18295 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18297 # If archive_cmds runs LD, not CC, wlarc should be empty
18298 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18299 # investigate it a little bit more. (MM)
18302 # ancient GNU ld didn't support --whole-archive et. al.
18303 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
18304 $GREP 'no-whole-archive' > /dev/null; then
18305 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18307 whole_archive_flag_spec_CXX=
18313 # A generic and very simple default shared library creation
18314 # command for GNU C++ for the case where it uses the native
18315 # linker, instead of GNU ld. If possible, this setting should
18316 # overridden to take advantage of the native linker features on
18317 # the platform it is being used on.
18318 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18321 # Commands to make compiler produce verbose output that lists
18322 # what "hidden" libraries, object files and flags are used when
18323 # linking a shared library.
18324 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
18332 # PORTME: fill in a description of your system's C++ link characteristics
18333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18334 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18338 # FIXME: insert proper C++ library support
18342 if test "$host_cpu" = ia64; then
18343 # On IA64, the linker does run time linking by default, so we don't
18344 # have to do anything special.
18345 aix_use_runtimelinking=no
18346 exp_sym_flag='-Bexport'
18349 aix_use_runtimelinking=no
18351 # Test if we are trying to use run time linking or normal
18352 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18353 # need to do runtime linking.
18354 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18355 for ld_flag in $LDFLAGS; do
18358 aix_use_runtimelinking=yes
18366 exp_sym_flag='-bexport'
18367 no_entry_flag='-bnoentry'
18370 # When large executables or shared objects are built, AIX ld can
18371 # have problems creating the table of contents. If linking a library
18372 # or program results in "error TOC overflow" add -mminimal-toc to
18373 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18374 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18376 archive_cmds_CXX=''
18377 hardcode_direct_CXX=yes
18378 hardcode_direct_absolute_CXX=yes
18379 hardcode_libdir_separator_CXX=':'
18380 link_all_deplibs_CXX=yes
18381 file_list_spec_CXX='${wl}-f,'
18383 if test "$GXX" = yes; then
18384 case $host_os in aix4.[012]|aix4.[012].*)
18385 # We only want to do this on AIX 4.2 and lower, the check
18386 # below for broken collect2 doesn't work under 4.3+
18387 collect2name=`${CC} -print-prog-name=collect2`
18388 if test -f "$collect2name" &&
18389 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
18391 # We have reworked collect2
18394 # We have old collect2
18395 hardcode_direct_CXX=unsupported
18396 # It fails to find uninstalled libraries when the uninstalled
18397 # path is not listed in the libpath. Setting hardcode_minus_L
18398 # to unsupported forces relinking
18399 hardcode_minus_L_CXX=yes
18400 hardcode_libdir_flag_spec_CXX='-L$libdir'
18401 hardcode_libdir_separator_CXX=
18404 shared_flag='-shared'
18405 if test "$aix_use_runtimelinking" = yes; then
18406 shared_flag="$shared_flag "'${wl}-G'
18410 if test "$host_cpu" = ia64; then
18411 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18412 # chokes on -Wl,-G. The following line is correct:
18415 if test "$aix_use_runtimelinking" = yes; then
18416 shared_flag='${wl}-G'
18418 shared_flag='${wl}-bM:SRE'
18423 export_dynamic_flag_spec_CXX='${wl}-bexpall'
18424 # It seems that -bexpall does not export symbols beginning with
18425 # underscore (_), so it is better to generate a list of symbols to
18427 always_export_symbols_CXX=yes
18428 if test "$aix_use_runtimelinking" = yes; then
18429 # Warning - without using the other runtime loading flags (-brtl),
18430 # -berok will link without error, but may produce a broken library.
18431 allow_undefined_flag_CXX='-berok'
18432 # Determine the default libpath from the value encoded in an empty
18434 if test "${lt_cv_aix_libpath+set}" = set; then
18435 aix_libpath=$lt_cv_aix_libpath
18437 if ${lt_cv_aix_libpath__CXX+:} false; then :
18438 $as_echo_n "(cached) " >&6
18440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18441 /* end confdefs.h. */
18451 if ac_fn_cxx_try_link "$LINENO"; then :
18453 lt_aix_libpath_sed='
18454 /Import File Strings/,/^$/ {
18456 s/^0 *\([^ ]*\) *$/\1/
18460 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18461 # Check for a 64-bit object if we didn't find anything.
18462 if test -z "$lt_cv_aix_libpath__CXX"; then
18463 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18466 rm -f core conftest.err conftest.$ac_objext \
18467 conftest$ac_exeext conftest.$ac_ext
18468 if test -z "$lt_cv_aix_libpath__CXX"; then
18469 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
18474 aix_libpath=$lt_cv_aix_libpath__CXX
18477 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18479 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
18481 if test "$host_cpu" = ia64; then
18482 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
18483 allow_undefined_flag_CXX="-z nodefs"
18484 archive_expsym_cmds_CXX="\$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"
18486 # Determine the default libpath from the value encoded in an
18487 # empty executable.
18488 if test "${lt_cv_aix_libpath+set}" = set; then
18489 aix_libpath=$lt_cv_aix_libpath
18491 if ${lt_cv_aix_libpath__CXX+:} false; then :
18492 $as_echo_n "(cached) " >&6
18494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18495 /* end confdefs.h. */
18505 if ac_fn_cxx_try_link "$LINENO"; then :
18507 lt_aix_libpath_sed='
18508 /Import File Strings/,/^$/ {
18510 s/^0 *\([^ ]*\) *$/\1/
18514 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18515 # Check for a 64-bit object if we didn't find anything.
18516 if test -z "$lt_cv_aix_libpath__CXX"; then
18517 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18520 rm -f core conftest.err conftest.$ac_objext \
18521 conftest$ac_exeext conftest.$ac_ext
18522 if test -z "$lt_cv_aix_libpath__CXX"; then
18523 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
18528 aix_libpath=$lt_cv_aix_libpath__CXX
18531 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18532 # Warning - without using the other run time loading flags,
18533 # -berok will link without error, but may produce a broken library.
18534 no_undefined_flag_CXX=' ${wl}-bernotok'
18535 allow_undefined_flag_CXX=' ${wl}-berok'
18536 if test "$with_gnu_ld" = yes; then
18537 # We only use this code for GNU lds that support --whole-archive.
18538 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18540 # Exported symbols can be pulled into shared objects from archives
18541 whole_archive_flag_spec_CXX='$convenience'
18543 archive_cmds_need_lc_CXX=yes
18544 # This is similar to how AIX traditionally builds its shared
18546 archive_expsym_cmds_CXX="\$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'
18552 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18553 allow_undefined_flag_CXX=unsupported
18554 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18555 # support --undefined. This deserves some investigation. FIXME
18556 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18563 case $cc_basename in
18565 # FIXME: insert proper C++ library support
18571 cygwin* | mingw* | pw32* | cegcc*)
18572 case $GXX,$cc_basename in
18575 # hardcode_libdir_flag_spec is actually meaningless, as there is
18576 # no search path for DLLs.
18577 hardcode_libdir_flag_spec_CXX=' '
18578 allow_undefined_flag_CXX=unsupported
18579 always_export_symbols_CXX=yes
18580 file_list_spec_CXX='@'
18581 # Tell ltmain to make .lib files, not .a files.
18583 # Tell ltmain to make .dll files, not .so files.
18585 # FIXME: Setting linknames here is a bad hack.
18586 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
18587 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18588 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
18590 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
18592 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
18594 # The linker will not automatically build a static lib if we build a DLL.
18595 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
18596 enable_shared_with_static_runtimes_CXX=yes
18598 old_postinstall_cmds_CXX='chmod 644 $oldlib'
18599 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
18600 lt_tool_outputfile="@TOOL_OUTPUT@"~
18601 case $lt_outputfile in
18604 lt_outputfile="$lt_outputfile.exe"
18605 lt_tool_outputfile="$lt_tool_outputfile.exe"
18608 func_to_tool_file "$lt_outputfile"~
18609 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
18610 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
18611 $RM "$lt_outputfile.manifest";
18616 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18617 # as there is no search path for DLLs.
18618 hardcode_libdir_flag_spec_CXX='-L$libdir'
18619 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
18620 allow_undefined_flag_CXX=unsupported
18621 always_export_symbols_CXX=no
18622 enable_shared_with_static_runtimes_CXX=yes
18624 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
18625 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18626 # If the export-symbols file already is a .def file (1st line
18627 # is EXPORTS), use it as is; otherwise, prepend...
18628 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18629 cp $export_symbols $output_objdir/$soname.def;
18631 echo EXPORTS > $output_objdir/$soname.def;
18632 cat $export_symbols >> $output_objdir/$soname.def;
18634 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
18641 darwin* | rhapsody*)
18644 archive_cmds_need_lc_CXX=no
18645 hardcode_direct_CXX=no
18646 hardcode_automatic_CXX=yes
18647 hardcode_shlibpath_var_CXX=unsupported
18648 if test "$lt_cv_ld_force_load" = "yes"; then
18649 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
18652 whole_archive_flag_spec_CXX=''
18654 link_all_deplibs_CXX=yes
18655 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
18656 case $cc_basename in
18657 ifort*) _lt_dar_can_shared=yes ;;
18658 *) _lt_dar_can_shared=$GCC ;;
18660 if test "$_lt_dar_can_shared" = "yes"; then
18661 output_verbose_link_cmd=func_echo_all
18662 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
18663 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18664 archive_expsym_cmds_CXX="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}"
18665 module_expsym_cmds_CXX="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}"
18666 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
18667 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
18668 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
18678 case $cc_basename in
18680 # FIXME: insert proper C++ library support
18684 # Green Hills C++ Compiler
18685 # FIXME: insert proper C++ library support
18689 # FIXME: insert proper C++ library support
18696 # C++ shared libraries reported to be fairly broken before
18702 archive_cmds_need_lc_CXX=no
18705 freebsd* | dragonfly*)
18706 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18715 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18716 link_all_deplibs_CXX=yes
18720 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18721 hardcode_libdir_separator_CXX=:
18722 export_dynamic_flag_spec_CXX='${wl}-E'
18723 hardcode_direct_CXX=yes
18724 hardcode_minus_L_CXX=yes # Not in the search PATH,
18725 # but as the default
18726 # location of the library.
18728 case $cc_basename in
18730 # FIXME: insert proper C++ library support
18734 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18735 # Commands to make compiler produce verbose output that lists
18736 # what "hidden" libraries, object files and flags are used when
18737 # linking a shared library.
18739 # There doesn't appear to be a way to prevent this compiler from
18740 # explicitly linking system object files so we need to strip them
18741 # from the output so that they don't get included in the library
18743 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
18746 if test "$GXX" = yes; then
18747 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18749 # FIXME: insert proper C++ library support
18757 if test $with_gnu_ld = no; then
18758 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18759 hardcode_libdir_separator_CXX=:
18765 export_dynamic_flag_spec_CXX='${wl}-E'
18771 hardcode_direct_CXX=no
18772 hardcode_shlibpath_var_CXX=no
18775 hardcode_direct_CXX=yes
18776 hardcode_direct_absolute_CXX=yes
18777 hardcode_minus_L_CXX=yes # Not in the search PATH,
18778 # but as the default
18779 # location of the library.
18783 case $cc_basename in
18785 # FIXME: insert proper C++ library support
18791 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18794 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18797 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18800 # Commands to make compiler produce verbose output that lists
18801 # what "hidden" libraries, object files and flags are used when
18802 # linking a shared library.
18804 # There doesn't appear to be a way to prevent this compiler from
18805 # explicitly linking system object files so we need to strip them
18806 # from the output so that they don't get included in the library
18808 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
18811 if test "$GXX" = yes; then
18812 if test $with_gnu_ld = no; then
18815 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18818 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18821 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18826 # FIXME: insert proper C++ library support
18834 hardcode_direct_CXX=no
18835 hardcode_shlibpath_var_CXX=no
18836 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18837 export_dynamic_flag_spec_CXX='${wl}-E'
18838 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18839 # Instead, shared libraries are loaded at an image base (0x10000000 by
18840 # default) and relocated if they conflict, which is a slow very memory
18841 # consuming and fragmenting process. To avoid this, we pick a random,
18842 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18843 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18844 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
18845 archive_expsym_cmds_CXX='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'
18848 case $cc_basename in
18851 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
18853 # Archives containing C++ object files must be created using
18854 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18855 # necessary to make sure instantiated templates are included
18857 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18860 if test "$GXX" = yes; then
18861 if test "$with_gnu_ld" = no; then
18862 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18864 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
18867 link_all_deplibs_CXX=yes
18870 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18871 hardcode_libdir_separator_CXX=:
18872 inherit_rpath_CXX=yes
18875 linux* | k*bsd*-gnu | kopensolaris*-gnu)
18876 case $cc_basename in
18878 # Kuck and Associates, Inc. (KAI) C++ Compiler
18880 # KCC will only create a shared library if the output file
18881 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18882 # to its proper name (with version) after linking.
18883 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
18884 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
18885 # Commands to make compiler produce verbose output that lists
18886 # what "hidden" libraries, object files and flags are used when
18887 # linking a shared library.
18889 # There doesn't appear to be a way to prevent this compiler from
18890 # explicitly linking system object files so we need to strip them
18891 # from the output so that they don't get included in the library
18893 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
18895 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18896 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18898 # Archives containing C++ object files must be created using
18899 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18900 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18905 # version 8.0 and above of icpc choke on multiply defined symbols
18906 # if we add $predep_objects and $postdep_objects, however 7.1 and
18907 # earlier do not add the objects themselves.
18908 case `$CC -V 2>&1` in
18910 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18911 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18913 *) # Version 8.0 or newer
18916 ia64*) tmp_idyn=' -i_dynamic';;
18918 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18919 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
18922 archive_cmds_need_lc_CXX=no
18923 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18924 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18925 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18928 # Portland Group C++ compiler
18930 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
18931 prelink_cmds_CXX='tpldir=Template.dir~
18933 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
18934 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
18935 old_archive_cmds_CXX='tpldir=Template.dir~
18937 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
18938 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
18940 archive_cmds_CXX='tpldir=Template.dir~
18942 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18943 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18944 archive_expsym_cmds_CXX='tpldir=Template.dir~
18946 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18947 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
18949 *) # Version 6 and above use weak symbols
18950 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18951 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
18955 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18956 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18957 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
18961 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18962 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
18964 runpath_var=LD_RUN_PATH
18965 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18966 hardcode_libdir_separator_CXX=:
18968 # Commands to make compiler produce verbose output that lists
18969 # what "hidden" libraries, object files and flags are used when
18970 # linking a shared library.
18972 # There doesn't appear to be a way to prevent this compiler from
18973 # explicitly linking system object files so we need to strip them
18974 # from the output so that they don't get included in the library
18976 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
18978 xl* | mpixl* | bgxl*)
18979 # IBM XL 8.0 on PPC, with GNU ld
18980 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18981 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18982 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18983 if test "x$supports_anon_versioning" = xyes; then
18984 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
18985 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18986 echo "local: *; };" >> $output_objdir/$libname.ver~
18987 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18991 case `$CC -V 2>&1 | sed 5q` in
18994 no_undefined_flag_CXX=' -zdefs'
18995 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18996 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
18997 hardcode_libdir_flag_spec_CXX='-R$libdir'
18998 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
18999 compiler_needs_object_CXX=yes
19001 # Not sure whether something based on
19002 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
19004 output_verbose_link_cmd='func_echo_all'
19006 # Archives containing C++ object files must be created using
19007 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19008 # necessary to make sure instantiated templates are included
19010 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19018 # FIXME: insert proper C++ library support
19023 # FIXME: insert proper C++ library support
19028 case $cc_basename in
19030 # FIXME: insert proper C++ library support
19034 # FIXME: insert proper C++ library support
19041 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19042 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
19044 hardcode_libdir_flag_spec_CXX='-R$libdir'
19045 hardcode_direct_CXX=yes
19046 hardcode_shlibpath_var_CXX=no
19048 # Workaround some broken pre-1.5 toolchains
19049 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
19057 # C++ shared libraries are fairly broken
19062 if test -f /usr/libexec/ld.so; then
19063 hardcode_direct_CXX=yes
19064 hardcode_shlibpath_var_CXX=no
19065 hardcode_direct_absolute_CXX=yes
19066 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
19067 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19068 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19069 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
19070 export_dynamic_flag_spec_CXX='${wl}-E'
19071 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19073 output_verbose_link_cmd=func_echo_all
19079 osf3* | osf4* | osf5*)
19080 case $cc_basename in
19082 # Kuck and Associates, Inc. (KAI) C++ Compiler
19084 # KCC will only create a shared library if the output file
19085 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19086 # to its proper name (with version) after linking.
19087 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
19089 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19090 hardcode_libdir_separator_CXX=:
19092 # Archives containing C++ object files must be created using
19093 # the KAI C++ compiler.
19095 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
19096 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
19100 # Rational C++ 2.4.1
19101 # FIXME: insert proper C++ library support
19107 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19108 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
19109 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19112 allow_undefined_flag_CXX=' -expect_unresolved \*'
19113 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
19114 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19115 echo "-hidden">> $lib.exp~
19116 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
19118 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19122 hardcode_libdir_separator_CXX=:
19124 # Commands to make compiler produce verbose output that lists
19125 # what "hidden" libraries, object files and flags are used when
19126 # linking a shared library.
19128 # There doesn't appear to be a way to prevent this compiler from
19129 # explicitly linking system object files so we need to strip them
19130 # from the output so that they don't get included in the library
19132 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
19135 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19136 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19139 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19142 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
19146 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19147 hardcode_libdir_separator_CXX=:
19149 # Commands to make compiler produce verbose output that lists
19150 # what "hidden" libraries, object files and flags are used when
19151 # linking a shared library.
19152 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19155 # FIXME: insert proper C++ library support
19163 # FIXME: insert proper C++ library support
19168 case $cc_basename in
19171 # FIXME: insert proper C++ library support
19176 # FIXME: insert proper C++ library support
19180 # FIXME: insert proper C++ library support
19187 case $cc_basename in
19189 # Sun C++ 4.2, 5.x and Centerline C++
19190 archive_cmds_need_lc_CXX=yes
19191 no_undefined_flag_CXX=' -zdefs'
19192 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19193 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19194 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19196 hardcode_libdir_flag_spec_CXX='-R$libdir'
19197 hardcode_shlibpath_var_CXX=no
19199 solaris2.[0-5] | solaris2.[0-5].*) ;;
19201 # The compiler driver will combine and reorder linker options,
19202 # but understands `-z linker_flag'.
19203 # Supported since Solaris 2.6 (maybe 2.5.1?)
19204 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
19207 link_all_deplibs_CXX=yes
19209 output_verbose_link_cmd='func_echo_all'
19211 # Archives containing C++ object files must be created using
19212 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19213 # necessary to make sure instantiated templates are included
19215 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19218 # Green Hills C++ Compiler
19219 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19221 # The C++ compiler must be used to create the archive.
19222 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19225 # GNU C++ compiler with Solaris linker
19226 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19227 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
19228 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
19229 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19230 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19231 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19233 # Commands to make compiler produce verbose output that lists
19234 # what "hidden" libraries, object files and flags are used when
19235 # linking a shared library.
19236 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19238 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19240 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19241 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19242 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19244 # Commands to make compiler produce verbose output that lists
19245 # what "hidden" libraries, object files and flags are used when
19246 # linking a shared library.
19247 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19250 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
19252 solaris2.[0-5] | solaris2.[0-5].*) ;;
19254 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19262 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19263 no_undefined_flag_CXX='${wl}-z,text'
19264 archive_cmds_need_lc_CXX=no
19265 hardcode_shlibpath_var_CXX=no
19266 runpath_var='LD_RUN_PATH'
19268 case $cc_basename in
19270 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19271 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19274 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19275 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19280 sysv5* | sco3.2v5* | sco5v6*)
19281 # Note: We can NOT use -z defs as we might desire, because we do not
19282 # link with -lc, and that would cause any symbols used from libc to
19283 # always be unresolved, which means just about no library would
19284 # ever link correctly. If we're not using GNU ld we use -z text
19285 # though, which does catch some bad symbols but isn't as heavy-handed
19287 no_undefined_flag_CXX='${wl}-z,text'
19288 allow_undefined_flag_CXX='${wl}-z,nodefs'
19289 archive_cmds_need_lc_CXX=no
19290 hardcode_shlibpath_var_CXX=no
19291 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
19292 hardcode_libdir_separator_CXX=':'
19293 link_all_deplibs_CXX=yes
19294 export_dynamic_flag_spec_CXX='${wl}-Bexport'
19295 runpath_var='LD_RUN_PATH'
19297 case $cc_basename in
19299 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19300 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19301 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
19302 '"$old_archive_cmds_CXX"
19303 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
19304 '"$reload_cmds_CXX"
19307 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19308 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19314 case $cc_basename in
19316 # NonStop-UX NCC 3.20
19317 # FIXME: insert proper C++ library support
19321 # FIXME: insert proper C++ library support
19328 # FIXME: insert proper C++ library support
19333 # FIXME: insert proper C++ library support
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
19339 $as_echo "$ld_shlibs_CXX" >&6; }
19340 test "$ld_shlibs_CXX" = no && can_build_shared=no
19346 ## There is no encapsulation within the following macros, do not change
19347 ## the running order or otherwise move them around unless you know exactly
19348 ## what you are doing...
19349 # Dependencies to place before and after the object being linked:
19350 predep_objects_CXX=
19351 postdep_objects_CXX=
19354 compiler_lib_search_path_CXX=
19356 cat > conftest.$ac_ext <<_LT_EOF
19360 Foo (void) { a = 0; }
19367 _lt_libdeps_save_CFLAGS=$CFLAGS
19368 case "$CC $CFLAGS " in #(
19369 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
19370 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
19371 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
19374 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19375 (eval $ac_compile) 2>&5
19377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19378 test $ac_status = 0; }; then
19379 # Parse the compiler output and extract the necessary
19380 # objects, libraries and library flags.
19382 # Sentinel used to keep track of whether or not we are before
19383 # the conftest object file.
19384 pre_test_object_deps_done=no
19386 for p in `eval "$output_verbose_link_cmd"`; do
19387 case ${prev}${p} in
19390 # Some compilers place space between "-{L,R}" and the path.
19391 # Remove the space.
19392 if test $p = "-L" ||
19393 test $p = "-R"; then
19398 # Expand the sysroot to ease extracting the directories later.
19399 if test -z "$prev"; then
19401 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
19402 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
19403 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
19407 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
19409 if test "$pre_test_object_deps_done" = no; then
19412 # Internal compiler library paths should come after those
19413 # provided the user. The postdeps already come after the
19414 # user supplied libs so there is no need to process them.
19415 if test -z "$compiler_lib_search_path_CXX"; then
19416 compiler_lib_search_path_CXX="${prev}${p}"
19418 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
19421 # The "-l" case would never come before the object being
19422 # linked, so don't bother handling this case.
19425 if test -z "$postdeps_CXX"; then
19426 postdeps_CXX="${prev}${p}"
19428 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
19434 *.lto.$objext) ;; # Ignore GCC LTO objects
19436 # This assumes that the test object file only shows up
19437 # once in the compiler output.
19438 if test "$p" = "conftest.$objext"; then
19439 pre_test_object_deps_done=yes
19443 if test "$pre_test_object_deps_done" = no; then
19444 if test -z "$predep_objects_CXX"; then
19445 predep_objects_CXX="$p"
19447 predep_objects_CXX="$predep_objects_CXX $p"
19450 if test -z "$postdep_objects_CXX"; then
19451 postdep_objects_CXX="$p"
19453 postdep_objects_CXX="$postdep_objects_CXX $p"
19458 *) ;; # Ignore the rest.
19466 echo "libtool.m4: error: problem compiling CXX test program"
19469 $RM -f confest.$objext
19470 CFLAGS=$_lt_libdeps_save_CFLAGS
19472 # PORTME: override above test on systems where it is broken
19475 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19476 # hack all around it, let's just trust "g++" to DTRT.
19477 predep_objects_CXX=
19478 postdep_objects_CXX=
19483 case `$CC -V 2>&1 | sed 5q` in
19487 # The more standards-conforming stlport4 library is
19488 # incompatible with the Cstd library. Avoid specifying
19489 # it if it's in CXXFLAGS. Ignore libCrun as
19490 # -library=stlport4 depends on it.
19491 case " $CXX $CXXFLAGS " in
19492 *" -library=stlport4 "*)
19493 solaris_use_stlport4=yes
19497 if test "$solaris_use_stlport4" != yes; then
19498 postdeps_CXX='-library=Cstd -library=Crun'
19505 case $cc_basename in
19507 # The more standards-conforming stlport4 library is
19508 # incompatible with the Cstd library. Avoid specifying
19509 # it if it's in CXXFLAGS. Ignore libCrun as
19510 # -library=stlport4 depends on it.
19511 case " $CXX $CXXFLAGS " in
19512 *" -library=stlport4 "*)
19513 solaris_use_stlport4=yes
19517 # Adding this requires a known-good setup of shared libraries for
19518 # Sun compiler versions before 5.6, else PIC objects from an old
19519 # archive will be linked into the output, leading to subtle bugs.
19520 if test "$solaris_use_stlport4" != yes; then
19521 postdeps_CXX='-library=Cstd -library=Crun'
19529 case " $postdeps_CXX " in
19530 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
19532 compiler_lib_search_dirs_CXX=
19533 if test -n "${compiler_lib_search_path_CXX}"; then
19534 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
19567 lt_prog_compiler_wl_CXX=
19568 lt_prog_compiler_pic_CXX=
19569 lt_prog_compiler_static_CXX=
19572 # C++ specific cases for pic, static, wl, etc.
19573 if test "$GXX" = yes; then
19574 lt_prog_compiler_wl_CXX='-Wl,'
19575 lt_prog_compiler_static_CXX='-static'
19579 # All AIX code is PIC.
19580 if test "$host_cpu" = ia64; then
19581 # AIX 5 now supports IA64 processor
19582 lt_prog_compiler_static_CXX='-Bstatic'
19589 # see comment about AmigaOS4 .so support
19590 lt_prog_compiler_pic_CXX='-fPIC'
19593 # FIXME: we need at least 68020 code to build shared libraries, but
19594 # adding the `-m68020' flag to GCC prevents building anything better,
19596 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
19601 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19602 # PIC is the default for these OSes.
19604 mingw* | cygwin* | os2* | pw32* | cegcc*)
19605 # This hack is so that the source file can tell whether it is being
19606 # built for inclusion in a dll (and should export symbols for example).
19607 # Although the cygwin gcc ignores -fPIC, still need this for old-style
19608 # (--disable-auto-import) libraries
19609 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19611 darwin* | rhapsody*)
19612 # PIC is the default on this platform
19613 # Common symbols not allowed in MH_DYLIB files
19614 lt_prog_compiler_pic_CXX='-fno-common'
19617 # DJGPP does not support shared libraries at all
19618 lt_prog_compiler_pic_CXX=
19621 # PIC is the default for Haiku.
19622 # The "-static" flag exists, but is broken.
19623 lt_prog_compiler_static_CXX=
19626 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19627 # Instead, we relocate shared libraries at runtime.
19630 if test -d /usr/nec; then
19631 lt_prog_compiler_pic_CXX=-Kconform_pic
19635 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
19636 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
19637 # sets the default TLS model and affects inlining.
19642 lt_prog_compiler_pic_CXX='-fPIC'
19647 # QNX uses GNU C++, but need to define -shared option too, otherwise
19648 # it will coredump.
19649 lt_prog_compiler_pic_CXX='-fPIC -shared'
19652 lt_prog_compiler_pic_CXX='-fPIC'
19658 # All AIX code is PIC.
19659 if test "$host_cpu" = ia64; then
19660 # AIX 5 now supports IA64 processor
19661 lt_prog_compiler_static_CXX='-Bstatic'
19663 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
19667 case $cc_basename in
19669 # Green Hills C++ Compiler
19670 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
19674 mingw* | cygwin* | os2* | pw32* | cegcc*)
19675 # This hack is so that the source file can tell whether it is being
19676 # built for inclusion in a dll (and should export symbols for example).
19677 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19680 case $cc_basename in
19682 lt_prog_compiler_pic_CXX='-KPIC'
19685 # Green Hills C++ Compiler
19686 lt_prog_compiler_pic_CXX='-pic'
19692 freebsd* | dragonfly*)
19693 # FreeBSD uses GNU C++
19695 hpux9* | hpux10* | hpux11*)
19696 case $cc_basename in
19698 lt_prog_compiler_wl_CXX='-Wl,'
19699 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19700 if test "$host_cpu" != ia64; then
19701 lt_prog_compiler_pic_CXX='+Z'
19705 lt_prog_compiler_wl_CXX='-Wl,'
19706 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19712 lt_prog_compiler_pic_CXX='+Z'
19721 # This is c89, which is MS Visual C++ (no shared libs)
19722 # Anyone wants to do a port?
19724 irix5* | irix6* | nonstopux*)
19725 case $cc_basename in
19727 lt_prog_compiler_wl_CXX='-Wl,'
19728 lt_prog_compiler_static_CXX='-non_shared'
19729 # CC pic flag -KPIC is the default.
19735 linux* | k*bsd*-gnu | kopensolaris*-gnu)
19736 case $cc_basename in
19739 lt_prog_compiler_wl_CXX='--backend -Wl,'
19740 lt_prog_compiler_pic_CXX='-fPIC'
19743 # old Intel C++ for x86_64 which still supported -KPIC.
19744 lt_prog_compiler_wl_CXX='-Wl,'
19745 lt_prog_compiler_pic_CXX='-KPIC'
19746 lt_prog_compiler_static_CXX='-static'
19749 # Intel C++, used to be incompatible with GCC.
19750 # ICC 10 doesn't accept -KPIC any more.
19751 lt_prog_compiler_wl_CXX='-Wl,'
19752 lt_prog_compiler_pic_CXX='-fPIC'
19753 lt_prog_compiler_static_CXX='-static'
19756 # Portland Group C++ compiler
19757 lt_prog_compiler_wl_CXX='-Wl,'
19758 lt_prog_compiler_pic_CXX='-fpic'
19759 lt_prog_compiler_static_CXX='-Bstatic'
19763 # Make sure the PIC flag is empty. It appears that all Alpha
19764 # Linux and Compaq Tru64 Unix objects are PIC.
19765 lt_prog_compiler_pic_CXX=
19766 lt_prog_compiler_static_CXX='-non_shared'
19768 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
19769 # IBM XL 8.0, 9.0 on PPC and BlueGene
19770 lt_prog_compiler_wl_CXX='-Wl,'
19771 lt_prog_compiler_pic_CXX='-qpic'
19772 lt_prog_compiler_static_CXX='-qstaticlink'
19775 case `$CC -V 2>&1 | sed 5q` in
19778 lt_prog_compiler_pic_CXX='-KPIC'
19779 lt_prog_compiler_static_CXX='-Bstatic'
19780 lt_prog_compiler_wl_CXX='-Qoption ld '
19791 case $cc_basename in
19793 lt_prog_compiler_pic_CXX='-W c,exportall'
19799 netbsd* | netbsdelf*-gnu)
19802 # QNX uses GNU C++, but need to define -shared option too, otherwise
19803 # it will coredump.
19804 lt_prog_compiler_pic_CXX='-fPIC -shared'
19806 osf3* | osf4* | osf5*)
19807 case $cc_basename in
19809 lt_prog_compiler_wl_CXX='--backend -Wl,'
19812 # Rational C++ 2.4.1
19813 lt_prog_compiler_pic_CXX='-pic'
19816 # Digital/Compaq C++
19817 lt_prog_compiler_wl_CXX='-Wl,'
19818 # Make sure the PIC flag is empty. It appears that all Alpha
19819 # Linux and Compaq Tru64 Unix objects are PIC.
19820 lt_prog_compiler_pic_CXX=
19821 lt_prog_compiler_static_CXX='-non_shared'
19830 case $cc_basename in
19832 # Sun C++ 4.2, 5.x and Centerline C++
19833 lt_prog_compiler_pic_CXX='-KPIC'
19834 lt_prog_compiler_static_CXX='-Bstatic'
19835 lt_prog_compiler_wl_CXX='-Qoption ld '
19838 # Green Hills C++ Compiler
19839 lt_prog_compiler_pic_CXX='-PIC'
19846 case $cc_basename in
19849 lt_prog_compiler_pic_CXX='-pic'
19850 lt_prog_compiler_static_CXX='-Bstatic'
19854 lt_prog_compiler_pic_CXX='-pic'
19860 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19861 case $cc_basename in
19863 lt_prog_compiler_wl_CXX='-Wl,'
19864 lt_prog_compiler_pic_CXX='-KPIC'
19865 lt_prog_compiler_static_CXX='-Bstatic'
19870 case $cc_basename in
19872 # NonStop-UX NCC 3.20
19873 lt_prog_compiler_pic_CXX='-KPIC'
19882 lt_prog_compiler_can_build_shared_CXX=no
19888 # For platforms which do not support PIC, -DPIC is meaningless:
19890 lt_prog_compiler_pic_CXX=
19893 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
19898 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
19899 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
19900 $as_echo_n "(cached) " >&6
19902 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
19904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
19905 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
19906 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
19909 # Check to make sure the PIC flag actually works.
19911 if test -n "$lt_prog_compiler_pic_CXX"; then
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19913 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
19914 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
19915 $as_echo_n "(cached) " >&6
19917 lt_cv_prog_compiler_pic_works_CXX=no
19918 ac_outfile=conftest.$ac_objext
19919 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19920 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19921 # Insert the option either (1) after the last *FLAGS variable, or
19922 # (2) before a word containing "conftest.", or (3) at the end.
19923 # Note that $ac_compile itself does not contain backslashes and begins
19924 # with a dollar sign (not a hyphen), so the echo should work correctly.
19925 # The option is referenced via a variable to avoid confusing sed.
19926 lt_compile=`echo "$ac_compile" | $SED \
19927 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19928 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19929 -e 's:$: $lt_compiler_flag:'`
19930 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19931 (eval "$lt_compile" 2>conftest.err)
19933 cat conftest.err >&5
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 if (exit $ac_status) && test -s "$ac_outfile"; then
19936 # The compiler can only warn and ignore the option if not recognized
19937 # So say no if there are warnings other than the usual output.
19938 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
19939 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19940 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19941 lt_cv_prog_compiler_pic_works_CXX=yes
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
19948 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
19950 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
19951 case $lt_prog_compiler_pic_CXX in
19953 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
19956 lt_prog_compiler_pic_CXX=
19957 lt_prog_compiler_can_build_shared_CXX=no
19967 # Check to make sure the static flag actually works.
19969 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19971 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
19972 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
19973 $as_echo_n "(cached) " >&6
19975 lt_cv_prog_compiler_static_works_CXX=no
19976 save_LDFLAGS="$LDFLAGS"
19977 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19978 echo "$lt_simple_link_test_code" > conftest.$ac_ext
19979 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19980 # The linker can only warn and ignore the option if not recognized
19981 # So say no if there are warnings
19982 if test -s conftest.err; then
19983 # Append any errors to the config.log.
19984 cat conftest.err 1>&5
19985 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
19986 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19987 if diff conftest.exp conftest.er2 >/dev/null; then
19988 lt_cv_prog_compiler_static_works_CXX=yes
19991 lt_cv_prog_compiler_static_works_CXX=yes
19995 LDFLAGS="$save_LDFLAGS"
19998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
19999 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
20001 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
20004 lt_prog_compiler_static_CXX=
20010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
20011 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
20012 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
20013 $as_echo_n "(cached) " >&6
20015 lt_cv_prog_compiler_c_o_CXX=no
20016 $RM -r conftest 2>/dev/null
20020 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20022 lt_compiler_flag="-o out/conftest2.$ac_objext"
20023 # Insert the option either (1) after the last *FLAGS variable, or
20024 # (2) before a word containing "conftest.", or (3) at the end.
20025 # Note that $ac_compile itself does not contain backslashes and begins
20026 # with a dollar sign (not a hyphen), so the echo should work correctly.
20027 lt_compile=`echo "$ac_compile" | $SED \
20028 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20029 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20030 -e 's:$: $lt_compiler_flag:'`
20031 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
20032 (eval "$lt_compile" 2>out/conftest.err)
20034 cat out/conftest.err >&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 if (exit $ac_status) && test -s out/conftest2.$ac_objext
20038 # The compiler can only warn and ignore the option if not recognized
20039 # So say no if there are warnings
20040 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
20041 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20042 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20043 lt_cv_prog_compiler_c_o_CXX=yes
20048 # SGI C++ compiler will create directory out/ii_files/ for
20049 # template instantiation
20050 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
20051 $RM out/* && rmdir out
20057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20058 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
20062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
20063 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
20064 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
20065 $as_echo_n "(cached) " >&6
20067 lt_cv_prog_compiler_c_o_CXX=no
20068 $RM -r conftest 2>/dev/null
20072 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20074 lt_compiler_flag="-o out/conftest2.$ac_objext"
20075 # Insert the option either (1) after the last *FLAGS variable, or
20076 # (2) before a word containing "conftest.", or (3) at the end.
20077 # Note that $ac_compile itself does not contain backslashes and begins
20078 # with a dollar sign (not a hyphen), so the echo should work correctly.
20079 lt_compile=`echo "$ac_compile" | $SED \
20080 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20081 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20082 -e 's:$: $lt_compiler_flag:'`
20083 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
20084 (eval "$lt_compile" 2>out/conftest.err)
20086 cat out/conftest.err >&5
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 if (exit $ac_status) && test -s out/conftest2.$ac_objext
20090 # The compiler can only warn and ignore the option if not recognized
20091 # So say no if there are warnings
20092 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
20093 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20094 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20095 lt_cv_prog_compiler_c_o_CXX=yes
20100 # SGI C++ compiler will create directory out/ii_files/ for
20101 # template instantiation
20102 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
20103 $RM out/* && rmdir out
20109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20110 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
20115 hard_links="nottested"
20116 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
20117 # do not overwrite the value of need_locks provided by the user
20118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
20119 $as_echo_n "checking if we can lock with hard links... " >&6; }
20122 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20124 ln conftest.a conftest.b 2>&5 || hard_links=no
20125 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
20127 $as_echo "$hard_links" >&6; }
20128 if test "$hard_links" = no; then
20129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20130 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20140 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
20142 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20143 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
20146 # If we're using GNU nm, then we don't want the "-C" option.
20147 # -C means demangle to AIX nm, but means don't demangle with GNU nm
20148 # Also, AIX nm treats weak defined symbols like other global defined
20149 # symbols, whereas GNU nm marks them as "W".
20150 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
20151 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
20153 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
20157 export_symbols_cmds_CXX="$ltdll_cmds"
20159 cygwin* | mingw* | cegcc*)
20160 case $cc_basename in
20162 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
20165 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
20166 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
20170 linux* | k*bsd*-gnu | gnu*)
20171 link_all_deplibs_CXX=no
20174 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
20179 $as_echo "$ld_shlibs_CXX" >&6; }
20180 test "$ld_shlibs_CXX" = no && can_build_shared=no
20182 with_gnu_ld_CXX=$with_gnu_ld
20190 # Do we need to explicitly link libc?
20192 case "x$archive_cmds_need_lc_CXX" in
20194 # Assume -lc should be added
20195 archive_cmds_need_lc_CXX=yes
20197 if test "$enable_shared" = yes && test "$GCC" = yes; then
20198 case $archive_cmds_CXX in
20200 # FIXME: we may have to deal with multi-command sequences.
20203 # Test whether the compiler implicitly links with -lc since on some
20204 # systems, -lgcc has to come before -lc. If gcc already passes -lc
20205 # to ld, don't add -lc before -lgcc.
20206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
20207 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
20208 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
20209 $as_echo_n "(cached) " >&6
20212 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20214 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
20215 (eval $ac_compile) 2>&5
20217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20218 test $ac_status = 0; } 2>conftest.err; then
20221 libobjs=conftest.$ac_objext
20223 wl=$lt_prog_compiler_wl_CXX
20224 pic_flag=$lt_prog_compiler_pic_CXX
20230 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
20231 allow_undefined_flag_CXX=
20232 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
20233 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
20235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20236 test $ac_status = 0; }
20238 lt_cv_archive_cmds_need_lc_CXX=no
20240 lt_cv_archive_cmds_need_lc_CXX=yes
20242 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
20244 cat conftest.err 1>&5
20249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
20250 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
20251 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
20319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
20320 $as_echo_n "checking dynamic linker characteristics... " >&6; }
20322 library_names_spec=
20323 libname_spec='lib$name'
20327 postuninstall_cmds=
20331 shlibpath_overrides_runpath=unknown
20333 dynamic_linker="$host_os ld.so"
20334 sys_lib_dlsearch_path_spec="/lib /usr/lib"
20335 need_lib_prefix=unknown
20336 hardcode_into_libs=no
20338 # when you set need_version to no, make sure it does not cause -set_version
20339 # flags to be left without arguments
20340 need_version=unknown
20344 version_type=linux # correct to gnu/linux during the next big refactor
20345 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20346 shlibpath_var=LIBPATH
20348 # AIX 3 has no versioning support, so we append a major version to the name.
20349 soname_spec='${libname}${release}${shared_ext}$major'
20353 version_type=linux # correct to gnu/linux during the next big refactor
20356 hardcode_into_libs=yes
20357 if test "$host_cpu" = ia64; then
20358 # AIX 5 supports IA64
20359 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20360 shlibpath_var=LD_LIBRARY_PATH
20362 # With GCC up to 2.95.x, collect2 would create an import file
20363 # for dependence libraries. The import file would start with
20364 # the line `#! .'. This would cause the generated library to
20365 # depend on `.', always an invalid library. This was fixed in
20366 # development snapshots of GCC prior to 3.0.
20368 aix4 | aix4.[01] | aix4.[01].*)
20369 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20371 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
20374 can_build_shared=no
20378 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20379 # soname into executable. Probably we can add versioning support to
20380 # collect2, so additional links can be useful in future.
20381 if test "$aix_use_runtimelinking" = yes; then
20382 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20383 # instead of lib<name>.a to let people know that these are not
20384 # typical AIX shared libraries.
20385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20387 # We preserve .a as extension for shared libraries through AIX4.2
20388 # and later when we are not doing run time linking.
20389 library_names_spec='${libname}${release}.a $libname.a'
20390 soname_spec='${libname}${release}${shared_ext}$major'
20392 shlibpath_var=LIBPATH
20399 # Since July 2007 AmigaOS4 officially supports .so libraries.
20400 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
20401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20404 library_names_spec='$libname.ixlibrary $libname.a'
20405 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20406 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
20412 library_names_spec='${libname}${shared_ext}'
20413 dynamic_linker="$host_os ld.so"
20414 shlibpath_var=LIBRARY_PATH
20418 version_type=linux # correct to gnu/linux during the next big refactor
20420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20421 soname_spec='${libname}${release}${shared_ext}$major'
20422 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20423 shlibpath_var=LD_LIBRARY_PATH
20424 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20425 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20426 # the default ld.so.conf also contains /usr/contrib/lib and
20427 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20428 # libtool to hard-code these into programs
20431 cygwin* | mingw* | pw32* | cegcc*)
20432 version_type=windows
20437 case $GCC,$cc_basename in
20440 library_names_spec='$libname.dll.a'
20441 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20442 postinstall_cmds='base_file=`basename \${file}`~
20443 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
20444 dldir=$destdir/`dirname \$dlpath`~
20445 test -d \$dldir || mkdir -p \$dldir~
20446 $install_prog $dir/$dlname \$dldir/$dlname~
20447 chmod a+x \$dldir/$dlname~
20448 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
20449 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
20451 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20452 dlpath=$dir/\$dldll~
20454 shlibpath_overrides_runpath=yes
20458 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20459 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20463 # MinGW DLLs use traditional 'lib' prefix
20464 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20467 # pw32 DLLs use 'pw' prefix rather than 'lib'
20468 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20471 dynamic_linker='Win32 ld.exe'
20476 libname_spec='$name'
20477 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20478 library_names_spec='${libname}.dll.lib'
20482 sys_lib_search_path_spec=
20485 for lt_path in $LIB
20488 # Let DOS variable expansion print the short 8.3 style file name.
20489 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
20490 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
20493 # Convert to MSYS style.
20494 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
20497 # Convert to unix form, then to dos form, then back to unix form
20498 # but this time dos style (no spaces!) so that the unix form looks
20499 # like /cygdrive/c/PROGRA~1:/cygdr...
20500 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
20501 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
20502 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20505 sys_lib_search_path_spec="$LIB"
20506 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
20507 # It is most probably a Windows format PATH.
20508 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20510 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20512 # FIXME: find the short name or the path components, as spaces are
20513 # common. (e.g. "Program Files" -> "PROGRA~1")
20517 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20518 postinstall_cmds='base_file=`basename \${file}`~
20519 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
20520 dldir=$destdir/`dirname \$dlpath`~
20521 test -d \$dldir || mkdir -p \$dldir~
20522 $install_prog $dir/$dlname \$dldir/$dlname'
20523 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20524 dlpath=$dir/\$dldll~
20526 shlibpath_overrides_runpath=yes
20527 dynamic_linker='Win32 link.exe'
20531 # Assume MSVC wrapper
20532 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20533 dynamic_linker='Win32 ld.exe'
20536 # FIXME: first we should search . and the directory the executable is in
20540 darwin* | rhapsody*)
20541 dynamic_linker="$host_os dyld"
20542 version_type=darwin
20545 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20546 soname_spec='${libname}${release}${major}$shared_ext'
20547 shlibpath_overrides_runpath=yes
20548 shlibpath_var=DYLD_LIBRARY_PATH
20549 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20551 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20555 version_type=linux # correct to gnu/linux during the next big refactor
20558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20559 soname_spec='${libname}${release}${shared_ext}$major'
20560 shlibpath_var=LD_LIBRARY_PATH
20563 freebsd* | dragonfly*)
20564 # DragonFly does not have aout. When/if they implement a new
20565 # versioning mechanism, adjust this.
20566 if test -x /usr/bin/objformat; then
20567 objformat=`/usr/bin/objformat`
20570 freebsd[23].*) objformat=aout ;;
20571 *) objformat=elf ;;
20574 version_type=freebsd-$objformat
20575 case $version_type in
20577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20582 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20586 shlibpath_var=LD_LIBRARY_PATH
20589 shlibpath_overrides_runpath=yes
20591 freebsd3.[01]* | freebsdelf3.[01]*)
20592 shlibpath_overrides_runpath=yes
20593 hardcode_into_libs=yes
20595 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20596 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20597 shlibpath_overrides_runpath=no
20598 hardcode_into_libs=yes
20600 *) # from 4.6 on, and DragonFly
20601 shlibpath_overrides_runpath=yes
20602 hardcode_into_libs=yes
20608 version_type=linux # correct to gnu/linux during the next big refactor
20611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20612 soname_spec='${libname}${release}${shared_ext}$major'
20613 shlibpath_var=LD_LIBRARY_PATH
20614 shlibpath_overrides_runpath=no
20615 hardcode_into_libs=yes
20619 version_type=linux # correct to gnu/linux during the next big refactor
20622 dynamic_linker="$host_os runtime_loader"
20623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20624 soname_spec='${libname}${release}${shared_ext}$major'
20625 shlibpath_var=LIBRARY_PATH
20626 shlibpath_overrides_runpath=yes
20627 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
20628 hardcode_into_libs=yes
20631 hpux9* | hpux10* | hpux11*)
20632 # Give a soname corresponding to the major version so that dld.sl refuses to
20633 # link against other versions.
20640 hardcode_into_libs=yes
20641 dynamic_linker="$host_os dld.so"
20642 shlibpath_var=LD_LIBRARY_PATH
20643 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20645 soname_spec='${libname}${release}${shared_ext}$major'
20646 if test "X$HPUX_IA64_MODE" = X32; then
20647 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20649 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20651 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20655 hardcode_into_libs=yes
20656 dynamic_linker="$host_os dld.sl"
20657 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20658 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20660 soname_spec='${libname}${release}${shared_ext}$major'
20661 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20662 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20666 dynamic_linker="$host_os dld.sl"
20667 shlibpath_var=SHLIB_PATH
20668 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20670 soname_spec='${libname}${release}${shared_ext}$major'
20673 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
20674 postinstall_cmds='chmod 555 $lib'
20675 # or fails outright, so override atomically:
20676 install_override_mode=555
20680 version_type=linux # correct to gnu/linux during the next big refactor
20683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20684 soname_spec='${libname}${release}${shared_ext}$major'
20685 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20686 shlibpath_var=LD_LIBRARY_PATH
20687 shlibpath_overrides_runpath=no
20688 hardcode_into_libs=yes
20691 irix5* | irix6* | nonstopux*)
20693 nonstopux*) version_type=nonstopux ;;
20695 if test "$lt_cv_prog_gnu_ld" = yes; then
20696 version_type=linux # correct to gnu/linux during the next big refactor
20703 soname_spec='${libname}${release}${shared_ext}$major'
20704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20706 irix5* | nonstopux*)
20707 libsuff= shlibsuff=
20710 case $LD in # libtool.m4 will add one of these switches to LD
20711 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20712 libsuff= shlibsuff= libmagic=32-bit;;
20713 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20714 libsuff=32 shlibsuff=N32 libmagic=N32;;
20715 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20716 libsuff=64 shlibsuff=64 libmagic=64-bit;;
20717 *) libsuff= shlibsuff= libmagic=never-match;;
20721 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20722 shlibpath_overrides_runpath=no
20723 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20724 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20725 hardcode_into_libs=yes
20728 # No shared lib support for Linux oldld, aout, or coff.
20729 linux*oldld* | linux*aout* | linux*coff*)
20733 # This must be glibc/ELF.
20734 linux* | k*bsd*-gnu | kopensolaris*-gnu)
20735 version_type=linux # correct to gnu/linux during the next big refactor
20738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20739 soname_spec='${libname}${release}${shared_ext}$major'
20740 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20741 shlibpath_var=LD_LIBRARY_PATH
20742 shlibpath_overrides_runpath=no
20744 # Some binutils ld are patched to set DT_RUNPATH
20745 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
20746 $as_echo_n "(cached) " >&6
20748 lt_cv_shlibpath_overrides_runpath=no
20749 save_LDFLAGS=$LDFLAGS
20750 save_libdir=$libdir
20751 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
20752 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
20753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20754 /* end confdefs.h. */
20764 if ac_fn_cxx_try_link "$LINENO"; then :
20765 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
20766 lt_cv_shlibpath_overrides_runpath=yes
20769 rm -f core conftest.err conftest.$ac_objext \
20770 conftest$ac_exeext conftest.$ac_ext
20771 LDFLAGS=$save_LDFLAGS
20772 libdir=$save_libdir
20776 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
20778 # This implies no fast_install, which is unacceptable.
20779 # Some rework will be needed to allow for fast_install
20780 # before this can be enabled.
20781 hardcode_into_libs=yes
20783 # Append ld.so.conf contents to the search path
20784 if test -f /etc/ld.so.conf; then
20785 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
20786 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20789 # We used to test for /lib/ld.so.1 and disable shared libraries on
20790 # powerpc, because MkLinux only supported shared libraries with the
20791 # GNU dynamic linker. Since this was broken with cross compilers,
20792 # most powerpc-linux boxes support dynamic linking these days and
20793 # people can always --disable-shared, the test was removed, and we
20794 # assume the GNU/Linux dynamic linker is in use.
20795 dynamic_linker='GNU/Linux ld.so'
20802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20803 soname_spec='${libname}${release}${shared_ext}$major'
20804 shlibpath_var=LD_LIBRARY_PATH
20805 shlibpath_overrides_runpath=no
20806 hardcode_into_libs=yes
20807 dynamic_linker='NetBSD ld.elf_so'
20814 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
20815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20816 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20817 dynamic_linker='NetBSD (a.out) ld.so'
20819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20820 soname_spec='${libname}${release}${shared_ext}$major'
20821 dynamic_linker='NetBSD ld.elf_so'
20823 shlibpath_var=LD_LIBRARY_PATH
20824 shlibpath_overrides_runpath=yes
20825 hardcode_into_libs=yes
20829 version_type=linux # correct to gnu/linux during the next big refactor
20830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20831 shlibpath_var=LD_LIBRARY_PATH
20832 shlibpath_overrides_runpath=yes
20839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20840 soname_spec='${libname}${release}${shared_ext}$major'
20841 shlibpath_var=LD_LIBRARY_PATH
20842 shlibpath_overrides_runpath=no
20843 hardcode_into_libs=yes
20844 dynamic_linker='ldqnx.so'
20849 sys_lib_dlsearch_path_spec="/usr/lib"
20851 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20853 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20854 *) need_version=no ;;
20856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20857 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20858 shlibpath_var=LD_LIBRARY_PATH
20859 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20861 openbsd2.[89] | openbsd2.[89].*)
20862 shlibpath_overrides_runpath=no
20865 shlibpath_overrides_runpath=yes
20869 shlibpath_overrides_runpath=yes
20874 libname_spec='$name'
20877 library_names_spec='$libname${shared_ext} $libname.a'
20878 dynamic_linker='OS/2 ld.exe'
20879 shlibpath_var=LIBPATH
20882 osf3* | osf4* | osf5*)
20886 soname_spec='${libname}${release}${shared_ext}$major'
20887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20888 shlibpath_var=LD_LIBRARY_PATH
20889 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20890 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20898 version_type=linux # correct to gnu/linux during the next big refactor
20901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20902 soname_spec='${libname}${release}${shared_ext}$major'
20903 shlibpath_var=LD_LIBRARY_PATH
20904 shlibpath_overrides_runpath=yes
20905 hardcode_into_libs=yes
20906 # ldd complains unless libraries are executable
20907 postinstall_cmds='chmod +x $lib'
20912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20913 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20914 shlibpath_var=LD_LIBRARY_PATH
20915 shlibpath_overrides_runpath=yes
20916 if test "$with_gnu_ld" = yes; then
20923 version_type=linux # correct to gnu/linux during the next big refactor
20924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20925 soname_spec='${libname}${release}${shared_ext}$major'
20926 shlibpath_var=LD_LIBRARY_PATH
20927 case $host_vendor in
20929 shlibpath_overrides_runpath=no
20931 runpath_var=LD_RUN_PATH
20939 shlibpath_overrides_runpath=no
20940 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20946 if test -d /usr/nec ;then
20947 version_type=linux # correct to gnu/linux during the next big refactor
20948 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20949 soname_spec='$libname${shared_ext}.$major'
20950 shlibpath_var=LD_LIBRARY_PATH
20954 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20955 version_type=freebsd-elf
20958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20959 soname_spec='${libname}${release}${shared_ext}$major'
20960 shlibpath_var=LD_LIBRARY_PATH
20961 shlibpath_overrides_runpath=yes
20962 hardcode_into_libs=yes
20963 if test "$with_gnu_ld" = yes; then
20964 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20966 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20969 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20973 sys_lib_dlsearch_path_spec='/usr/lib'
20977 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
20978 version_type=linux # correct to gnu/linux during the next big refactor
20981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20982 shlibpath_var=LD_LIBRARY_PATH
20983 shlibpath_overrides_runpath=no
20984 hardcode_into_libs=yes
20988 version_type=linux # correct to gnu/linux during the next big refactor
20989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20990 soname_spec='${libname}${release}${shared_ext}$major'
20991 shlibpath_var=LD_LIBRARY_PATH
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
20999 $as_echo "$dynamic_linker" >&6; }
21000 test "$dynamic_linker" = no && can_build_shared=no
21002 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21003 if test "$GCC" = yes; then
21004 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21007 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
21008 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
21010 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
21011 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
21051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
21052 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
21053 hardcode_action_CXX=
21054 if test -n "$hardcode_libdir_flag_spec_CXX" ||
21055 test -n "$runpath_var_CXX" ||
21056 test "X$hardcode_automatic_CXX" = "Xyes" ; then
21058 # We can hardcode non-existent directories.
21059 if test "$hardcode_direct_CXX" != no &&
21060 # If the only mechanism to avoid hardcoding is shlibpath_var, we
21061 # have to relink, otherwise we might link with an installed library
21062 # when we should be linking with a yet-to-be-installed one
21063 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
21064 test "$hardcode_minus_L_CXX" != no; then
21065 # Linking always hardcodes the temporary library directory.
21066 hardcode_action_CXX=relink
21068 # We can link without hardcoding, and we can hardcode nonexisting dirs.
21069 hardcode_action_CXX=immediate
21072 # We cannot hardcode anything, or else we can only hardcode existing
21074 hardcode_action_CXX=unsupported
21076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
21077 $as_echo "$hardcode_action_CXX" >&6; }
21079 if test "$hardcode_action_CXX" = relink ||
21080 test "$inherit_rpath_CXX" = yes; then
21081 # Fast installation is not supported
21082 enable_fast_install=no
21083 elif test "$shlibpath_overrides_runpath" = yes ||
21084 test "$enable_shared" = no; then
21085 # Fast installation is not necessary
21086 enable_fast_install=needless
21095 fi # test -n "$compiler"
21098 CFLAGS=$lt_save_CFLAGS
21102 with_gnu_ld=$lt_save_with_gnu_ld
21103 lt_cv_path_LDCXX=$lt_cv_path_LD
21104 lt_cv_path_LD=$lt_save_path_LD
21105 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
21106 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
21107 fi # test "$_lt_caught_CXX_error" != yes
21110 ac_cpp='$CPP $CPPFLAGS'
21111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21117 ac_cpp='$CXXCPP $CPPFLAGS'
21118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21123 /* end confdefs.h. */
21124 class Foo { int bar; };
21133 if ac_fn_cxx_try_compile "$LINENO"; then :
21138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21140 ac_cpp='$CPP $CPPFLAGS'
21141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21145 { $as_echo "$as_me:${as_lineno-$LINENO}: working c++ compiler found: $working_cxx" >&5
21146 $as_echo "$as_me: working c++ compiler found: $working_cxx" >&6;}
21147 if test "x$working_cxx" = "xyes"; then
21156 # Extract the first word of "perl", so it can be a program name with args.
21157 set dummy perl; ac_word=$2
21158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21159 $as_echo_n "checking for $ac_word... " >&6; }
21160 if ${ac_cv_path_PERL_PATH+:} false; then :
21161 $as_echo_n "(cached) " >&6
21165 ac_cv_path_PERL_PATH="$PERL_PATH" # Let the user override the test with a path.
21168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21169 for as_dir in $PATH
21172 test -z "$as_dir" && as_dir=.
21173 for ac_exec_ext in '' $ac_executable_extensions; do
21174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21175 ac_cv_path_PERL_PATH="$as_dir/$ac_word$ac_exec_ext"
21176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21183 test -z "$ac_cv_path_PERL_PATH" && ac_cv_path_PERL_PATH="no"
21187 PERL_PATH=$ac_cv_path_PERL_PATH
21188 if test -n "$PERL_PATH"; then
21189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_PATH" >&5
21190 $as_echo "$PERL_PATH" >&6; }
21192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21193 $as_echo "no" >&6; }
21197 if test x$PERL_PATH = xno; then
21198 as_fn_error $? "Could not find perl" "$LINENO" 5
21201 if test "x$GST_DISABLE_PARSE" != xyes; then
21203 # Extract the first word of "bison", so it can be a program name with args.
21204 set dummy bison; ac_word=$2
21205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21206 $as_echo_n "checking for $ac_word... " >&6; }
21207 if ${ac_cv_path_BISON_PATH+:} false; then :
21208 $as_echo_n "(cached) " >&6
21210 case $BISON_PATH in
21212 ac_cv_path_BISON_PATH="$BISON_PATH" # Let the user override the test with a path.
21215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21216 for as_dir in $PATH
21219 test -z "$as_dir" && as_dir=.
21220 for ac_exec_ext in '' $ac_executable_extensions; do
21221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21222 ac_cv_path_BISON_PATH="$as_dir/$ac_word$ac_exec_ext"
21223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21230 test -z "$ac_cv_path_BISON_PATH" && ac_cv_path_BISON_PATH="no"
21234 BISON_PATH=$ac_cv_path_BISON_PATH
21235 if test -n "$BISON_PATH"; then
21236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON_PATH" >&5
21237 $as_echo "$BISON_PATH" >&6; }
21239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21240 $as_echo "no" >&6; }
21244 if test x$BISON_PATH = xno; then
21245 as_fn_error $? "Could not find bison" "$LINENO" 5
21248 bison_min_version=1.875
21249 bison_version=`$BISON_PATH --version | head -n 1 | sed 's/^[^0-9]*//' | sed 's/[^0-9]*$//' | cut -d' ' -f1`
21250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking bison version $bison_version >= $bison_min_version" >&5
21251 $as_echo_n "checking bison version $bison_version >= $bison_min_version... " >&6; }
21253 if perl -we "exit ((v$bison_version ge v$bison_min_version) ? 0 : 1)"; then
21254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21255 $as_echo "yes" >&6; }
21257 as_fn_error $? "no" "$LINENO" 5
21261 # Extract the first word of "flex", so it can be a program name with args.
21262 set dummy flex; ac_word=$2
21263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21264 $as_echo_n "checking for $ac_word... " >&6; }
21265 if ${ac_cv_path_FLEX_PATH+:} false; then :
21266 $as_echo_n "(cached) " >&6
21270 ac_cv_path_FLEX_PATH="$FLEX_PATH" # Let the user override the test with a path.
21273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21274 for as_dir in $PATH
21277 test -z "$as_dir" && as_dir=.
21278 for ac_exec_ext in '' $ac_executable_extensions; do
21279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21280 ac_cv_path_FLEX_PATH="$as_dir/$ac_word$ac_exec_ext"
21281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21288 test -z "$ac_cv_path_FLEX_PATH" && ac_cv_path_FLEX_PATH="no"
21292 FLEX_PATH=$ac_cv_path_FLEX_PATH
21293 if test -n "$FLEX_PATH"; then
21294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX_PATH" >&5
21295 $as_echo "$FLEX_PATH" >&6; }
21297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21298 $as_echo "no" >&6; }
21302 if test x$FLEX_PATH = xno; then
21303 as_fn_error $? "Could not find flex" "$LINENO" 5
21306 flex_min_version=2.5.31
21307 flex_version=`$FLEX_PATH --version | head -n 1 | sed 's/^.* //' | sed 's/[a-zA-Z]*$//' | cut -d' ' -f1`
21308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking flex version $flex_version >= $flex_min_version" >&5
21309 $as_echo_n "checking flex version $flex_version >= $flex_min_version... " >&6; }
21311 (\$min_version_major, \$min_version_minor, \$min_version_micro ) = "$flex_min_version" =~ /(\d+)\.(\d+)\.(\d+)/;
21312 (\$flex_version_major, \$flex_version_minor, \$flex_version_micro ) = "$flex_version" =~ /(\d+)\.(\d+)\.(\d+)/;
21313 exit (((\$flex_version_major > \$min_version_major) ||
21314 ((\$flex_version_major == \$min_version_major) &&
21315 (\$flex_version_minor > \$min_version_minor)) ||
21316 ((\$flex_version_major == \$min_version_major) &&
21317 (\$flex_version_minor == \$min_version_minor) &&
21318 (\$flex_version_micro >= \$min_version_micro)))
21322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21323 $as_echo "yes" >&6; }
21325 as_fn_error $? "no" "$LINENO" 5
21330 # Extract the first word of "valgrind", so it can be a program name with args.
21331 set dummy valgrind; ac_word=$2
21332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21333 $as_echo_n "checking for $ac_word... " >&6; }
21334 if ${ac_cv_path_VALGRIND_PATH+:} false; then :
21335 $as_echo_n "(cached) " >&6
21337 case $VALGRIND_PATH in
21339 ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
21342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21343 for as_dir in $PATH
21346 test -z "$as_dir" && as_dir=.
21347 for ac_exec_ext in '' $ac_executable_extensions; do
21348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21349 ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
21350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21357 test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
21361 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
21362 if test -n "$VALGRIND_PATH"; then
21363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
21364 $as_echo "$VALGRIND_PATH" >&6; }
21366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21367 $as_echo "no" >&6; }
21371 if test ! "x$VALGRIND_PATH" = "xno"; then
21372 HAVE_VALGRIND_TRUE=
21373 HAVE_VALGRIND_FALSE='#'
21375 HAVE_VALGRIND_TRUE='#'
21376 HAVE_VALGRIND_FALSE=
21383 # Check whether --enable-introspection was given.
21384 if test "${enable_introspection+set}" = set; then :
21385 enableval=$enable_introspection;
21387 enable_introspection=auto
21391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
21392 $as_echo_n "checking for gobject-introspection... " >&6; }
21394 case $enable_introspection in #(
21396 found_introspection="no (disabled, use --enable-introspection to enable)"
21399 if test -n "$PKG_CONFIG" && \
21400 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
21401 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
21403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21404 test $ac_status = 0; }; then
21407 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
21409 if test -n "$PKG_CONFIG" && \
21410 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.8\""; } >&5
21411 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.8") 2>&5
21413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21414 test $ac_status = 0; }; then
21415 found_introspection=yes
21417 as_fn_error $? "You need to have gobject-introspection >= 0.6.8 installed to build GStreamer" "$LINENO" 5
21421 if test -n "$PKG_CONFIG" && \
21422 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.8\""; } >&5
21423 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.8") 2>&5
21425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21426 test $ac_status = 0; }; then
21427 found_introspection=yes
21429 found_introspection=no
21433 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
21436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
21437 $as_echo "$found_introspection" >&6; }
21439 INTROSPECTION_SCANNER=
21440 INTROSPECTION_COMPILER=
21441 INTROSPECTION_GENERATE=
21442 INTROSPECTION_GIRDIR=
21443 INTROSPECTION_TYPELIBDIR=
21444 if test "x$found_introspection" = "xyes"; then
21445 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
21446 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
21447 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
21448 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
21449 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
21450 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
21451 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
21452 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
21463 if test "x$found_introspection" = "xyes"; then
21464 HAVE_INTROSPECTION_TRUE=
21465 HAVE_INTROSPECTION_FALSE='#'
21467 HAVE_INTROSPECTION_TRUE='#'
21468 HAVE_INTROSPECTION_FALSE=
21475 if test "x$PACKAGE_TARNAME" = "x"
21477 as_fn_error $? "Internal error - PACKAGE_TARNAME not set" "$LINENO" 5
21479 docdir="\$(datadir)/doc/$PACKAGE_TARNAME-$GST_MAJORMINOR"
21481 # Check whether --enable-docbook was given.
21482 if test "${enable_docbook+set}" = set; then :
21483 enableval=$enable_docbook;
21491 if test x$enable_docbook = xyes; then
21493 # Extract the first word of "docbook2ps", so it can be a program name with args.
21494 set dummy docbook2ps; ac_word=$2
21495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21496 $as_echo_n "checking for $ac_word... " >&6; }
21497 if ${ac_cv_prog_HAVE_DOCBOOK2PS+:} false; then :
21498 $as_echo_n "(cached) " >&6
21500 if test -n "$HAVE_DOCBOOK2PS"; then
21501 ac_cv_prog_HAVE_DOCBOOK2PS="$HAVE_DOCBOOK2PS" # Let the user override the test.
21503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21504 for as_dir in $PATH
21507 test -z "$as_dir" && as_dir=.
21508 for ac_exec_ext in '' $ac_executable_extensions; do
21509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21510 ac_cv_prog_HAVE_DOCBOOK2PS="yes"
21511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21518 test -z "$ac_cv_prog_HAVE_DOCBOOK2PS" && ac_cv_prog_HAVE_DOCBOOK2PS="no"
21521 HAVE_DOCBOOK2PS=$ac_cv_prog_HAVE_DOCBOOK2PS
21522 if test -n "$HAVE_DOCBOOK2PS"; then
21523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOCBOOK2PS" >&5
21524 $as_echo "$HAVE_DOCBOOK2PS" >&6; }
21526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21527 $as_echo "no" >&6; }
21531 # Extract the first word of "docbook2html", so it can be a program name with args.
21532 set dummy docbook2html; ac_word=$2
21533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21534 $as_echo_n "checking for $ac_word... " >&6; }
21535 if ${ac_cv_prog_HAVE_DOCBOOK2HTML+:} false; then :
21536 $as_echo_n "(cached) " >&6
21538 if test -n "$HAVE_DOCBOOK2HTML"; then
21539 ac_cv_prog_HAVE_DOCBOOK2HTML="$HAVE_DOCBOOK2HTML" # Let the user override the test.
21541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21542 for as_dir in $PATH
21545 test -z "$as_dir" && as_dir=.
21546 for ac_exec_ext in '' $ac_executable_extensions; do
21547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21548 ac_cv_prog_HAVE_DOCBOOK2HTML="yes"
21549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21556 test -z "$ac_cv_prog_HAVE_DOCBOOK2HTML" && ac_cv_prog_HAVE_DOCBOOK2HTML="no"
21559 HAVE_DOCBOOK2HTML=$ac_cv_prog_HAVE_DOCBOOK2HTML
21560 if test -n "$HAVE_DOCBOOK2HTML"; then
21561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOCBOOK2HTML" >&5
21562 $as_echo "$HAVE_DOCBOOK2HTML" >&6; }
21564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21565 $as_echo "no" >&6; }
21569 # Extract the first word of "jadetex", so it can be a program name with args.
21570 set dummy jadetex; ac_word=$2
21571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21572 $as_echo_n "checking for $ac_word... " >&6; }
21573 if ${ac_cv_prog_HAVE_JADETEX+:} false; then :
21574 $as_echo_n "(cached) " >&6
21576 if test -n "$HAVE_JADETEX"; then
21577 ac_cv_prog_HAVE_JADETEX="$HAVE_JADETEX" # Let the user override the test.
21579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21580 for as_dir in $PATH
21583 test -z "$as_dir" && as_dir=.
21584 for ac_exec_ext in '' $ac_executable_extensions; do
21585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21586 ac_cv_prog_HAVE_JADETEX="yes"
21587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21594 test -z "$ac_cv_prog_HAVE_JADETEX" && ac_cv_prog_HAVE_JADETEX="no"
21597 HAVE_JADETEX=$ac_cv_prog_HAVE_JADETEX
21598 if test -n "$HAVE_JADETEX"; then
21599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_JADETEX" >&5
21600 $as_echo "$HAVE_JADETEX" >&6; }
21602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21603 $as_echo "no" >&6; }
21607 # Extract the first word of "ps2pdf", so it can be a program name with args.
21608 set dummy ps2pdf; ac_word=$2
21609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21610 $as_echo_n "checking for $ac_word... " >&6; }
21611 if ${ac_cv_prog_HAVE_PS2PDF+:} false; then :
21612 $as_echo_n "(cached) " >&6
21614 if test -n "$HAVE_PS2PDF"; then
21615 ac_cv_prog_HAVE_PS2PDF="$HAVE_PS2PDF" # Let the user override the test.
21617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21618 for as_dir in $PATH
21621 test -z "$as_dir" && as_dir=.
21622 for ac_exec_ext in '' $ac_executable_extensions; do
21623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21624 ac_cv_prog_HAVE_PS2PDF="yes"
21625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21632 test -z "$ac_cv_prog_HAVE_PS2PDF" && ac_cv_prog_HAVE_PS2PDF="no"
21635 HAVE_PS2PDF=$ac_cv_prog_HAVE_PS2PDF
21636 if test -n "$HAVE_PS2PDF"; then
21637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PS2PDF" >&5
21638 $as_echo "$HAVE_PS2PDF" >&6; }
21640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21641 $as_echo "no" >&6; }
21646 # -V option appeared in 0.6.10
21647 docbook2html_min_version=0.6.10
21648 if test "x$HAVE_DOCBOOK2HTML" != "xno"; then
21649 docbook2html_version=`docbook2html --version`
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking docbook2html version ($docbook2html_version) >= $docbook2html_min_version" >&5
21651 $as_echo_n "checking docbook2html version ($docbook2html_version) >= $docbook2html_min_version... " >&6; }
21653 (\$min_version_major, \$min_version_minor, \$min_version_micro ) = "$docbook2html_min_version" =~ /(\d+)\.(\d+)\.(\d+)/;
21654 (\$docbook2html_version_major, \$docbook2html_version_minor, \$docbook2html_version_micro ) = "$docbook2html_version" =~ /(\d+)\.(\d+)\.(\d+)/;
21655 exit (((\$docbook2html_version_major > \$min_version_major) ||
21656 ((\$docbook2html_version_major == \$min_version_major) &&
21657 (\$docbook2html_version_minor >= \$min_version_minor)) ||
21658 ((\$docbook2html_version_major == \$min_version_major) &&
21659 (\$docbook2html_version_minor >= \$min_version_minor) &&
21660 (\$docbook2html_version_micro >= \$min_version_micro)))
21664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21665 $as_echo "yes" >&6; }
21667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21668 $as_echo "no" >&6; }
21669 HAVE_DOCBOOK2HTML=no
21674 XSLTPROC_FLAGS=--nonet
21678 DOCBOOK_VERSION=4.1.2
21680 if test ! -f /etc/xml/catalog; then
21681 for i in /usr/share/sgml/docbook/stylesheet/xsl/nwalsh /usr/share/sgml/docbook/xsl-stylesheets/ /usr/local/share/xsl/docbook ;
21683 if test -d "$i"; then
21688 XML_CATALOG=/etc/xml/catalog
21689 CAT_ENTRY_START='<!--'
21690 CAT_ENTRY_END='-->'
21693 # Extract the first word of "xsltproc", so it can be a program name with args.
21694 set dummy xsltproc; ac_word=$2
21695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21696 $as_echo_n "checking for $ac_word... " >&6; }
21697 if ${ac_cv_prog_XSLTPROC+:} false; then :
21698 $as_echo_n "(cached) " >&6
21700 if test -n "$XSLTPROC"; then
21701 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
21703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21704 for as_dir in $PATH
21707 test -z "$as_dir" && as_dir=.
21708 for ac_exec_ext in '' $ac_executable_extensions; do
21709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21710 ac_cv_prog_XSLTPROC="xsltproc"
21711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21720 XSLTPROC=$ac_cv_prog_XSLTPROC
21721 if test -n "$XSLTPROC"; then
21722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
21723 $as_echo "$XSLTPROC" >&6; }
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21726 $as_echo "no" >&6; }
21731 if test -n "$XSLTPROC"; then
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether xsltproc docbook processing works" >&5
21733 $as_echo_n "checking whether xsltproc docbook processing works... " >&6; }
21735 if test -n "$XML_CATALOG"; then
21736 DB_FILE="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"
21738 DB_FILE="$DOCBOOK_ROOT/xhtml/docbook.xsl"
21740 $XSLTPROC $XSLTPROC_FLAGS $DB_FILE >/dev/null 2>&1 << END
21741 <?xml version="1.0" encoding='ISO-8859-1'?>
21742 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook $TYPE_UC V$DOCBOOK_VERSION//EN" "http://www.oasis-open.org/docbook/$TYPE_LC/$DOCBOOK_VERSION/docbookx.dtd">
21746 if test "$?" = 0; then
21749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC_WORKS" >&5
21750 $as_echo "$XSLTPROC_WORKS" >&6; }
21753 if test "x$XSLTPROC_WORKS" = "xyes"; then
21766 # Extract the first word of "dvips", so it can be a program name with args.
21767 set dummy dvips; ac_word=$2
21768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21769 $as_echo_n "checking for $ac_word... " >&6; }
21770 if ${ac_cv_prog_HAVE_DVIPS+:} false; then :
21771 $as_echo_n "(cached) " >&6
21773 if test -n "$HAVE_DVIPS"; then
21774 ac_cv_prog_HAVE_DVIPS="$HAVE_DVIPS" # Let the user override the test.
21776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21777 for as_dir in $PATH
21780 test -z "$as_dir" && as_dir=.
21781 for ac_exec_ext in '' $ac_executable_extensions; do
21782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21783 ac_cv_prog_HAVE_DVIPS="yes"
21784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21791 test -z "$ac_cv_prog_HAVE_DVIPS" && ac_cv_prog_HAVE_DVIPS="no"
21794 HAVE_DVIPS=$ac_cv_prog_HAVE_DVIPS
21795 if test -n "$HAVE_DVIPS"; then
21796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DVIPS" >&5
21797 $as_echo "$HAVE_DVIPS" >&6; }
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21800 $as_echo "no" >&6; }
21804 # Extract the first word of "xmllint", so it can be a program name with args.
21805 set dummy xmllint; ac_word=$2
21806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21807 $as_echo_n "checking for $ac_word... " >&6; }
21808 if ${ac_cv_prog_HAVE_XMLLINT+:} false; then :
21809 $as_echo_n "(cached) " >&6
21811 if test -n "$HAVE_XMLLINT"; then
21812 ac_cv_prog_HAVE_XMLLINT="$HAVE_XMLLINT" # Let the user override the test.
21814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21815 for as_dir in $PATH
21818 test -z "$as_dir" && as_dir=.
21819 for ac_exec_ext in '' $ac_executable_extensions; do
21820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21821 ac_cv_prog_HAVE_XMLLINT="yes"
21822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21829 test -z "$ac_cv_prog_HAVE_XMLLINT" && ac_cv_prog_HAVE_XMLLINT="no"
21832 HAVE_XMLLINT=$ac_cv_prog_HAVE_XMLLINT
21833 if test -n "$HAVE_XMLLINT"; then
21834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XMLLINT" >&5
21835 $as_echo "$HAVE_XMLLINT" >&6; }
21837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21838 $as_echo "no" >&6; }
21843 # Extract the first word of "fig2dev", so it can be a program name with args.
21844 set dummy fig2dev; ac_word=$2
21845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21846 $as_echo_n "checking for $ac_word... " >&6; }
21847 if ${ac_cv_prog_HAVE_FIG2DEV+:} false; then :
21848 $as_echo_n "(cached) " >&6
21850 if test -n "$HAVE_FIG2DEV"; then
21851 ac_cv_prog_HAVE_FIG2DEV="$HAVE_FIG2DEV" # Let the user override the test.
21853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21854 for as_dir in $PATH
21857 test -z "$as_dir" && as_dir=.
21858 for ac_exec_ext in '' $ac_executable_extensions; do
21859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21860 ac_cv_prog_HAVE_FIG2DEV="yes"
21861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21868 test -z "$ac_cv_prog_HAVE_FIG2DEV" && ac_cv_prog_HAVE_FIG2DEV="no"
21871 HAVE_FIG2DEV=$ac_cv_prog_HAVE_FIG2DEV
21872 if test -n "$HAVE_FIG2DEV"; then
21873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_FIG2DEV" >&5
21874 $as_echo "$HAVE_FIG2DEV" >&6; }
21876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21877 $as_echo "no" >&6; }
21881 if test "x$HAVE_FIG2DEV" = "xno" ; then
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Did not find fig2dev (from xfig), images will not be generated." >&5
21883 $as_echo "$as_me: WARNING: Did not find fig2dev (from xfig), images will not be generated." >&2;}
21886 HAVE_FIG2DEV_EPS=no
21887 if test "x$HAVE_FIG2DEV" = "xyes" ; then
21888 fig2dev_quiet=`fig2dev -L eps </dev/null 2>&1 >/dev/null`
21889 if test "x$fig2dev_quiet" = "x" ; then
21890 HAVE_FIG2DEV_EPS=yes
21893 HAVE_FIG2DEV_PNG=no
21894 if test "x$HAVE_FIG2DEV" = "xyes" ; then
21895 fig2dev_quiet=`fig2dev -L png </dev/null 2>&1 >/dev/null`
21896 if test "x$fig2dev_quiet" = "x" ; then
21897 HAVE_FIG2DEV_PNG=yes
21900 HAVE_FIG2DEV_PDF=no
21901 if test "x$HAVE_FIG2DEV" = "xyes" ; then
21902 fig2dev_quiet=`fig2dev -L pdf </dev/null 2>&1 >/dev/null`
21903 if test "x$fig2dev_quiet" = "x" ; then
21904 HAVE_FIG2DEV_PDF=yes
21908 # Extract the first word of "pngtopnm", so it can be a program name with args.
21909 set dummy pngtopnm; ac_word=$2
21910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21911 $as_echo_n "checking for $ac_word... " >&6; }
21912 if ${ac_cv_prog_HAVE_PNGTOPNM+:} false; then :
21913 $as_echo_n "(cached) " >&6
21915 if test -n "$HAVE_PNGTOPNM"; then
21916 ac_cv_prog_HAVE_PNGTOPNM="$HAVE_PNGTOPNM" # Let the user override the test.
21918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21919 for as_dir in $PATH
21922 test -z "$as_dir" && as_dir=.
21923 for ac_exec_ext in '' $ac_executable_extensions; do
21924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21925 ac_cv_prog_HAVE_PNGTOPNM="yes"
21926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21933 test -z "$ac_cv_prog_HAVE_PNGTOPNM" && ac_cv_prog_HAVE_PNGTOPNM="no"
21936 HAVE_PNGTOPNM=$ac_cv_prog_HAVE_PNGTOPNM
21937 if test -n "$HAVE_PNGTOPNM"; then
21938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNGTOPNM" >&5
21939 $as_echo "$HAVE_PNGTOPNM" >&6; }
21941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21942 $as_echo "no" >&6; }
21946 # Extract the first word of "pnmtops", so it can be a program name with args.
21947 set dummy pnmtops; ac_word=$2
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21949 $as_echo_n "checking for $ac_word... " >&6; }
21950 if ${ac_cv_prog_HAVE_PNMTOPS+:} false; then :
21951 $as_echo_n "(cached) " >&6
21953 if test -n "$HAVE_PNMTOPS"; then
21954 ac_cv_prog_HAVE_PNMTOPS="$HAVE_PNMTOPS" # Let the user override the test.
21956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21957 for as_dir in $PATH
21960 test -z "$as_dir" && as_dir=.
21961 for ac_exec_ext in '' $ac_executable_extensions; do
21962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21963 ac_cv_prog_HAVE_PNMTOPS="yes"
21964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21971 test -z "$ac_cv_prog_HAVE_PNMTOPS" && ac_cv_prog_HAVE_PNMTOPS="no"
21974 HAVE_PNMTOPS=$ac_cv_prog_HAVE_PNMTOPS
21975 if test -n "$HAVE_PNMTOPS"; then
21976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNMTOPS" >&5
21977 $as_echo "$HAVE_PNMTOPS" >&6; }
21979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21980 $as_echo "no" >&6; }
21984 # Extract the first word of "epstopdf", so it can be a program name with args.
21985 set dummy epstopdf; ac_word=$2
21986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21987 $as_echo_n "checking for $ac_word... " >&6; }
21988 if ${ac_cv_prog_HAVE_EPSTOPDF+:} false; then :
21989 $as_echo_n "(cached) " >&6
21991 if test -n "$HAVE_EPSTOPDF"; then
21992 ac_cv_prog_HAVE_EPSTOPDF="$HAVE_EPSTOPDF" # Let the user override the test.
21994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21995 for as_dir in $PATH
21998 test -z "$as_dir" && as_dir=.
21999 for ac_exec_ext in '' $ac_executable_extensions; do
22000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22001 ac_cv_prog_HAVE_EPSTOPDF="yes"
22002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22009 test -z "$ac_cv_prog_HAVE_EPSTOPDF" && ac_cv_prog_HAVE_EPSTOPDF="no"
22012 HAVE_EPSTOPDF=$ac_cv_prog_HAVE_EPSTOPDF
22013 if test -n "$HAVE_EPSTOPDF"; then
22014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EPSTOPDF" >&5
22015 $as_echo "$HAVE_EPSTOPDF" >&6; }
22017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22018 $as_echo "no" >&6; }
22023 if test "x$HAVE_DOCBOOK2HTML" = "xyes" && \
22024 test "x$enable_docbook" = "xyes" && \
22025 test "x$HAVE_XMLLINT" = "xyes" && \
22026 test "x$HAVE_FIG2DEV_PNG" = "xyes"; then
22028 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output HTML documentation" >&5
22029 $as_echo "$as_me: Will output HTML documentation" >&6;}
22032 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output HTML documentation" >&5
22033 $as_echo "$as_me: Will not output HTML documentation" >&6;}
22036 if test "x$HAVE_DOCBOOK2PS" = "xyes" && \
22037 test "x$enable_docbook" = "xyes" && \
22038 test "x$HAVE_XMLLINT" = "xyes" && \
22039 test "x$HAVE_JADETEX" = "xyes" && \
22040 test "x$HAVE_FIG2DEV_EPS" = "xyes" && \
22041 test "x$HAVE_DVIPS" = "xyes" && \
22042 test "x$HAVE_PNGTOPNM" = "xyes" && \
22043 test "x$HAVE_PNMTOPS" = "xyes"; then
22045 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PS documentation" >&5
22046 $as_echo "$as_me: Will output PS documentation" >&6;}
22049 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PS documentation" >&5
22050 $as_echo "$as_me: Will not output PS documentation" >&6;}
22053 if test "x$DOC_PS" = "xyes" && \
22054 test "x$enable_docbook" = "xyes" && \
22055 test "x$HAVE_XMLLINT" = "xyes" && \
22056 test "x$HAVE_PS2PDF" = "xyes"; then
22058 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PDF documentation" >&5
22059 $as_echo "$as_me: Will output PDF documentation" >&6;}
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PDF documentation" >&5
22063 $as_echo "$as_me: Will not output PDF documentation" >&6;}
22066 if test "x$have_docbook" != "xyes"; then
22071 if test "x$have_docbook" = "xyes"; then
22072 { $as_echo "$as_me:${as_lineno-$LINENO}: Installing documentation in $docdir" >&5
22073 $as_echo "$as_me: Installing documentation in $docdir" >&6;}
22077 if test x$enable_docbook = xyes; then
22078 ENABLE_DOCBOOK_TRUE=
22079 ENABLE_DOCBOOK_FALSE='#'
22081 ENABLE_DOCBOOK_TRUE='#'
22082 ENABLE_DOCBOOK_FALSE=
22085 if test x$DOC_HTML = xyes; then
22093 if test x$DOC_PDF = xyes; then
22101 if test x$DOC_PS = xyes; then
22112 # Check whether --with-html-dir was given.
22113 if test "${with_html_dir+set}" = set; then :
22114 withval=$with_html_dir;
22116 with_html_dir='${datadir}/gtk-doc/html'
22119 HTML_DIR="$with_html_dir"
22122 # Check whether --enable-gtk-doc was given.
22123 if test "${enable_gtk_doc+set}" = set; then :
22124 enableval=$enable_gtk_doc;
22130 if test x$enable_gtk_doc = xyes; then
22131 if test -n "$PKG_CONFIG" && \
22132 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5
22133 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5
22135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22136 test $ac_status = 0; }; then
22139 as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build gtk-doc" "$LINENO" 5
22141 if test -z "$SED"; then
22142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
22143 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
22144 if ${ac_cv_path_SED+:} false; then :
22145 $as_echo_n "(cached) " >&6
22147 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
22148 for ac_i in 1 2 3 4 5 6 7; do
22149 ac_script="$ac_script$as_nl$ac_script"
22151 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
22152 { ac_script=; unset ac_script;}
22153 if test -z "$SED"; then
22154 ac_path_SED_found=false
22155 # Loop through the user's path and test for each of PROGNAME-LIST
22156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22157 for as_dir in $PATH
22160 test -z "$as_dir" && as_dir=.
22161 for ac_prog in sed gsed; do
22162 for ac_exec_ext in '' $ac_executable_extensions; do
22163 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
22164 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
22165 # Check for GNU ac_path_SED and select it if it is found.
22166 # Check for GNU $ac_path_SED
22167 case `"$ac_path_SED" --version 2>&1` in
22169 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
22172 $as_echo_n 0123456789 >"conftest.in"
22175 cat "conftest.in" "conftest.in" >"conftest.tmp"
22176 mv "conftest.tmp" "conftest.in"
22177 cp "conftest.in" "conftest.nl"
22178 $as_echo '' >> "conftest.nl"
22179 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
22180 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
22181 as_fn_arith $ac_count + 1 && ac_count=$as_val
22182 if test $ac_count -gt ${ac_path_SED_max-0}; then
22183 # Best one so far, save it but keep looking for a better one
22184 ac_cv_path_SED="$ac_path_SED"
22185 ac_path_SED_max=$ac_count
22187 # 10*(2^10) chars as input seems more than enough
22188 test $ac_count -gt 10 && break
22190 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
22193 $ac_path_SED_found && break 3
22198 if test -z "$ac_cv_path_SED"; then
22199 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
22202 ac_cv_path_SED=$SED
22206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
22207 $as_echo "$ac_cv_path_SED" >&6; }
22208 SED="$ac_cv_path_SED"
22214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
22215 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
22216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
22217 $as_echo "$enable_gtk_doc" >&6; }
22219 for ac_prog in gtkdoc-check
22221 # Extract the first word of "$ac_prog", so it can be a program name with args.
22222 set dummy $ac_prog; ac_word=$2
22223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22224 $as_echo_n "checking for $ac_word... " >&6; }
22225 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
22226 $as_echo_n "(cached) " >&6
22228 case $GTKDOC_CHECK in
22230 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
22233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22234 for as_dir in $PATH
22237 test -z "$as_dir" && as_dir=.
22238 for ac_exec_ext in '' $ac_executable_extensions; do
22239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22240 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
22241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22251 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
22252 if test -n "$GTKDOC_CHECK"; then
22253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
22254 $as_echo "$GTKDOC_CHECK" >&6; }
22256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22257 $as_echo "no" >&6; }
22261 test -n "$GTKDOC_CHECK" && break
22265 if test x$enable_gtk_doc = xyes; then
22266 ENABLE_GTK_DOC_TRUE=
22267 ENABLE_GTK_DOC_FALSE='#'
22269 ENABLE_GTK_DOC_TRUE='#'
22270 ENABLE_GTK_DOC_FALSE=
22273 if test -n "$LIBTOOL"; then
22274 GTK_DOC_USE_LIBTOOL_TRUE=
22275 GTK_DOC_USE_LIBTOOL_FALSE='#'
22277 GTK_DOC_USE_LIBTOOL_TRUE='#'
22278 GTK_DOC_USE_LIBTOOL_FALSE=
22284 PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
22285 python1.6 python1.5"
22287 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5
22288 $as_echo "$as_me: Looking for Python version >= 2.1" >&6;}
22292 # split string by '.' and convert to numeric
22293 minver_info = map(string.atoi, string.split(minver, '.'))
22294 # we can now do comparisons on the two lists:
22295 if sys.version_info >= tuple(minver_info):
22301 for python_candidate in $PYTHON_CANDIDATES; do
22303 # Extract the first word of "$python_candidate", so it can be a program name with args.
22304 set dummy $python_candidate; ac_word=$2
22305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22306 $as_echo_n "checking for $ac_word... " >&6; }
22307 if ${ac_cv_path_PYTHON+:} false; then :
22308 $as_echo_n "(cached) " >&6
22312 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
22315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22316 for as_dir in $PATH
22319 test -z "$as_dir" && as_dir=.
22320 for ac_exec_ext in '' $ac_executable_extensions; do
22321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22322 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
22323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22333 PYTHON=$ac_cv_path_PYTHON
22334 if test -n "$PYTHON"; then
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
22336 $as_echo "$PYTHON" >&6; }
22338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22339 $as_echo "no" >&6; }
22342 1> /dev/null 2> /dev/null
22344 if test "x$PYTHON" = "x"; then continue; fi
22346 if $PYTHON -c "$prog" 1>&5 2>&5; then
22347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5
22348 $as_echo_n "checking \"$PYTHON\":... " >&6; }
22349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
22350 $as_echo "okay" >&6; }
22354 unset ac_cv_path_PYTHON
22359 if test "$python_good" != "true"; then
22360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5
22361 $as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
22365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5
22366 $as_echo_n "checking local Python configuration... " >&6; }
22370 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
22375 PYTHON_PREFIX='${prefix}'
22378 PYTHON_EXEC_PREFIX='${exec_prefix}'
22382 PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
22388 pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
22392 pkgpythondir=\${pythondir}/$PACKAGE
22396 pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
22400 pkgpyexecdir=\${pyexecdir}/$PACKAGE
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5
22403 $as_echo "looks good" >&6; }
22409 build_plugin_docs=no
22410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5
22411 $as_echo_n "checking whether to build plugin documentation... " >&6; }
22412 if test x$enable_gtk_doc = xyes; then
22413 build_plugin_docs=yes
22414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22415 $as_echo "yes" >&6; }
22417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5
22418 $as_echo "no (gtk-doc disabled or not available)" >&6; }
22421 if test x$build_plugin_docs = xyes; then
22422 ENABLE_PLUGIN_DOCS_TRUE=
22423 ENABLE_PLUGIN_DOCS_FALSE='#'
22425 ENABLE_PLUGIN_DOCS_TRUE='#'
22426 ENABLE_PLUGIN_DOCS_FALSE=
22434 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
22435 # These system don't have libm, or don't need it
22438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
22439 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
22440 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
22441 $as_echo_n "(cached) " >&6
22443 ac_check_lib_save_LIBS=$LIBS
22445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22446 /* end confdefs.h. */
22448 /* Override any GCC internal prototype to avoid an error.
22449 Use char because int might match the return type of a GCC
22450 builtin and then its argument prototype would still apply. */
22454 char _mwvalidcheckl ();
22458 return _mwvalidcheckl ();
22463 if ac_fn_c_try_link "$LINENO"; then :
22464 ac_cv_lib_mw__mwvalidcheckl=yes
22466 ac_cv_lib_mw__mwvalidcheckl=no
22468 rm -f core conftest.err conftest.$ac_objext \
22469 conftest$ac_exeext conftest.$ac_ext
22470 LIBS=$ac_check_lib_save_LIBS
22472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
22473 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
22474 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
22478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
22479 $as_echo_n "checking for cos in -lm... " >&6; }
22480 if ${ac_cv_lib_m_cos+:} false; then :
22481 $as_echo_n "(cached) " >&6
22483 ac_check_lib_save_LIBS=$LIBS
22485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22486 /* end confdefs.h. */
22488 /* Override any GCC internal prototype to avoid an error.
22489 Use char because int might match the return type of a GCC
22490 builtin and then its argument prototype would still apply. */
22503 if ac_fn_c_try_link "$LINENO"; then :
22504 ac_cv_lib_m_cos=yes
22508 rm -f core conftest.err conftest.$ac_objext \
22509 conftest$ac_exeext conftest.$ac_ext
22510 LIBS=$ac_check_lib_save_LIBS
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
22513 $as_echo "$ac_cv_lib_m_cos" >&6; }
22514 if test "x$ac_cv_lib_m_cos" = xyes; then :
22520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
22521 $as_echo_n "checking for cos in -lm... " >&6; }
22522 if ${ac_cv_lib_m_cos+:} false; then :
22523 $as_echo_n "(cached) " >&6
22525 ac_check_lib_save_LIBS=$LIBS
22527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22528 /* end confdefs.h. */
22530 /* Override any GCC internal prototype to avoid an error.
22531 Use char because int might match the return type of a GCC
22532 builtin and then its argument prototype would still apply. */
22545 if ac_fn_c_try_link "$LINENO"; then :
22546 ac_cv_lib_m_cos=yes
22550 rm -f core conftest.err conftest.$ac_objext \
22551 conftest$ac_exeext conftest.$ac_ext
22552 LIBS=$ac_check_lib_save_LIBS
22554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
22555 $as_echo "$ac_cv_lib_m_cos" >&6; }
22556 if test "x$ac_cv_lib_m_cos" = xyes; then :
22567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
22568 $as_echo_n "checking for ANSI C header files... " >&6; }
22569 if ${ac_cv_header_stdc+:} false; then :
22570 $as_echo_n "(cached) " >&6
22572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22573 /* end confdefs.h. */
22574 #include <stdlib.h>
22575 #include <stdarg.h>
22576 #include <string.h>
22587 if ac_fn_c_try_compile "$LINENO"; then :
22588 ac_cv_header_stdc=yes
22590 ac_cv_header_stdc=no
22592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22594 if test $ac_cv_header_stdc = yes; then
22595 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
22596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22597 /* end confdefs.h. */
22598 #include <string.h>
22601 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22602 $EGREP "memchr" >/dev/null 2>&1; then :
22605 ac_cv_header_stdc=no
22611 if test $ac_cv_header_stdc = yes; then
22612 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
22613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22614 /* end confdefs.h. */
22615 #include <stdlib.h>
22618 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22619 $EGREP "free" >/dev/null 2>&1; then :
22622 ac_cv_header_stdc=no
22628 if test $ac_cv_header_stdc = yes; then
22629 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
22630 if test "$cross_compiling" = yes; then :
22633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22634 /* end confdefs.h. */
22636 #include <stdlib.h>
22637 #if ((' ' & 0x0FF) == 0x020)
22638 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
22639 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
22641 # define ISLOWER(c) \
22642 (('a' <= (c) && (c) <= 'i') \
22643 || ('j' <= (c) && (c) <= 'r') \
22644 || ('s' <= (c) && (c) <= 'z'))
22645 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
22648 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
22653 for (i = 0; i < 256; i++)
22654 if (XOR (islower (i), ISLOWER (i))
22655 || toupper (i) != TOUPPER (i))
22660 if ac_fn_c_try_run "$LINENO"; then :
22663 ac_cv_header_stdc=no
22665 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22666 conftest.$ac_objext conftest.beam conftest.$ac_ext
22671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
22672 $as_echo "$ac_cv_header_stdc" >&6; }
22673 if test $ac_cv_header_stdc = yes; then
22675 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
22680 for ac_header in ucontext.h
22682 ac_fn_c_check_header_mongrel "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "$ac_includes_default"
22683 if test "x$ac_cv_header_ucontext_h" = xyes; then :
22684 cat >>confdefs.h <<_ACEOF
22685 #define HAVE_UCONTEXT_H 1
22693 for ac_header in sys/socket.h
22695 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
22696 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
22697 cat >>confdefs.h <<_ACEOF
22698 #define HAVE_SYS_SOCKET_H 1
22700 HAVE_SYS_SOCKET_H=yes
22705 if test "x$HAVE_SYS_SOCKET_H" = "xyes"; then
22706 HAVE_SYS_SOCKET_H_TRUE=
22707 HAVE_SYS_SOCKET_H_FALSE='#'
22709 HAVE_SYS_SOCKET_H_TRUE='#'
22710 HAVE_SYS_SOCKET_H_FALSE=
22714 for ac_header in sys/times.h
22716 ac_fn_c_check_header_mongrel "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
22717 if test "x$ac_cv_header_sys_times_h" = xyes; then :
22718 cat >>confdefs.h <<_ACEOF
22719 #define HAVE_SYS_TIMES_H 1
22721 HAVE_SYS_TIMES_H=yes
22726 for ac_header in unistd.h
22728 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
22729 if test "x$ac_cv_header_unistd_h" = xyes; then :
22730 cat >>confdefs.h <<_ACEOF
22731 #define HAVE_UNISTD_H 1
22738 if test "x$HAVE_SYS_TIMES_H" = "xyes" -a "x$HAVE_UNISTD_H" = "xyes"; then
22739 HAVE_SYS_TIMES_H_AND_UNISTD_H_TRUE=
22740 HAVE_SYS_TIMES_H_AND_UNISTD_H_FALSE='#'
22742 HAVE_SYS_TIMES_H_AND_UNISTD_H_TRUE='#'
22743 HAVE_SYS_TIMES_H_AND_UNISTD_H_FALSE=
22747 for ac_header in process.h
22749 ac_fn_c_check_header_mongrel "$LINENO" "process.h" "ac_cv_header_process_h" "$ac_includes_default"
22750 if test "x$ac_cv_header_process_h" = xyes; then :
22751 cat >>confdefs.h <<_ACEOF
22752 #define HAVE_PROCESS_H 1
22760 for ac_header in sys/utsname.h
22762 ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
22763 if test "x$ac_cv_header_sys_utsname_h" = xyes; then :
22764 cat >>confdefs.h <<_ACEOF
22765 #define HAVE_SYS_UTSNAME_H 1
22773 for ac_header in stdio_ext.h
22775 ac_fn_c_check_header_mongrel "$LINENO" "stdio_ext.h" "ac_cv_header_stdio_ext_h" "$ac_includes_default"
22776 if test "x$ac_cv_header_stdio_ext_h" = xyes; then :
22777 cat >>confdefs.h <<_ACEOF
22778 #define HAVE_STDIO_EXT_H 1
22786 for ac_header in pthread.h
22788 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
22789 if test "x$ac_cv_header_pthread_h" = xyes; then :
22790 cat >>confdefs.h <<_ACEOF
22791 #define HAVE_PTHREAD_H 1
22798 if test "x$HAVE_PTHREAD_H" = "xyes"; then
22799 HAVE_PTHREAD_H_TRUE=
22800 HAVE_PTHREAD_H_FALSE='#'
22802 HAVE_PTHREAD_H_TRUE='#'
22803 HAVE_PTHREAD_H_FALSE=
22807 for ac_header in sys/prctl.h
22809 ac_fn_c_check_header_mongrel "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
22810 if test "x$ac_cv_header_sys_prctl_h" = xyes; then :
22811 cat >>confdefs.h <<_ACEOF
22812 #define HAVE_SYS_PRCTL_H 1
22814 HAVE_SYS_PRCTL_H=yes
22820 for ac_header in valgrind/valgrind.h
22822 ac_fn_c_check_header_mongrel "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
22823 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes; then :
22824 cat >>confdefs.h <<_ACEOF
22825 #define HAVE_VALGRIND_VALGRIND_H 1
22827 HAVE_VALGRIND_H=yes
22833 for ac_header in winsock2.h
22835 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
22836 if test "x$ac_cv_header_winsock2_h" = xyes; then :
22837 cat >>confdefs.h <<_ACEOF
22838 #define HAVE_WINSOCK2_H 1
22840 HAVE_WINSOCK2_H=yes
22845 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
22846 HAVE_WINSOCK2_H_TRUE=
22847 HAVE_WINSOCK2_H_FALSE='#'
22849 HAVE_WINSOCK2_H_TRUE='#'
22850 HAVE_WINSOCK2_H_FALSE=
22853 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
22854 WIN32_LIBS="-lws2_32"
22858 if test "x$BUILD_TESTS" = "xyes"; then
22860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init_set_d in -lgmp" >&5
22861 $as_echo_n "checking for __gmpz_init_set_d in -lgmp... " >&6; }
22862 if ${ac_cv_lib_gmp___gmpz_init_set_d+:} false; then :
22863 $as_echo_n "(cached) " >&6
22865 ac_check_lib_save_LIBS=$LIBS
22867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22868 /* end confdefs.h. */
22870 /* Override any GCC internal prototype to avoid an error.
22871 Use char because int might match the return type of a GCC
22872 builtin and then its argument prototype would still apply. */
22876 char __gmpz_init_set_d ();
22880 return __gmpz_init_set_d ();
22885 if ac_fn_c_try_link "$LINENO"; then :
22886 ac_cv_lib_gmp___gmpz_init_set_d=yes
22888 ac_cv_lib_gmp___gmpz_init_set_d=no
22890 rm -f core conftest.err conftest.$ac_objext \
22891 conftest$ac_exeext conftest.$ac_ext
22892 LIBS=$ac_check_lib_save_LIBS
22894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init_set_d" >&5
22895 $as_echo "$ac_cv_lib_gmp___gmpz_init_set_d" >&6; }
22896 if test "x$ac_cv_lib_gmp___gmpz_init_set_d" = xyes; then :
22902 if test "x$HAVE_GMP" = "xyes"; then
22903 ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
22904 if test "x$ac_cv_header_gmp_h" = xyes; then :
22911 if test "x$HAVE_GMP" = "xyes"; then
22915 $as_echo "#define HAVE_GMP 1" >>confdefs.h
22927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsl_rng_uniform_int in -lgsl" >&5
22928 $as_echo_n "checking for gsl_rng_uniform_int in -lgsl... " >&6; }
22929 if ${ac_cv_lib_gsl_gsl_rng_uniform_int+:} false; then :
22930 $as_echo_n "(cached) " >&6
22932 ac_check_lib_save_LIBS=$LIBS
22933 LIBS="-lgsl -lgslcblas $LIBS"
22934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22935 /* end confdefs.h. */
22937 /* Override any GCC internal prototype to avoid an error.
22938 Use char because int might match the return type of a GCC
22939 builtin and then its argument prototype would still apply. */
22943 char gsl_rng_uniform_int ();
22947 return gsl_rng_uniform_int ();
22952 if ac_fn_c_try_link "$LINENO"; then :
22953 ac_cv_lib_gsl_gsl_rng_uniform_int=yes
22955 ac_cv_lib_gsl_gsl_rng_uniform_int=no
22957 rm -f core conftest.err conftest.$ac_objext \
22958 conftest$ac_exeext conftest.$ac_ext
22959 LIBS=$ac_check_lib_save_LIBS
22961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gsl_gsl_rng_uniform_int" >&5
22962 $as_echo "$ac_cv_lib_gsl_gsl_rng_uniform_int" >&6; }
22963 if test "x$ac_cv_lib_gsl_gsl_rng_uniform_int" = xyes; then :
22969 if test "x$HAVE_GSL" = "xyes"; then
22970 ac_fn_c_check_header_mongrel "$LINENO" "gsl/gsl_rng.h" "ac_cv_header_gsl_gsl_rng_h" "$ac_includes_default"
22971 if test "x$ac_cv_header_gsl_gsl_rng_h" = xyes; then :
22978 if test "x$HAVE_GSL" = "xyes"; then
22979 GSL_LIBS="-lgsl -lgslcblas"
22982 $as_echo "#define HAVE_GSL 1" >>confdefs.h
22998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __uint128_t" >&5
22999 $as_echo_n "checking for __uint128_t... " >&6; }
23000 if ${gst_cv_uint128_t+:} false; then :
23001 $as_echo_n "(cached) " >&6
23003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23004 /* end confdefs.h. */
23010 static __uint128_t v1 = 100;
23011 static __uint128_t v2 = 10;
23012 static __uint128_t u;
23019 if ac_fn_c_try_link "$LINENO"; then :
23021 gst_cv_uint128_t=yes
23025 gst_cv_uint128_t=no
23028 rm -f core conftest.err conftest.$ac_objext \
23029 conftest$ac_exeext conftest.$ac_ext
23032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_uint128_t" >&5
23033 $as_echo "$gst_cv_uint128_t" >&6; }
23034 if test x$gst_cv_uint128_t = xyes; then
23036 $as_echo "#define HAVE_UINT128_T 1" >>confdefs.h
23040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff" >&5
23041 $as_echo_n "checking for tm_gmtoff... " >&6; }
23042 if test "$cross_compiling" = yes; then :
23043 have_tm_gmtoff="no (cross compiling)"
23045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23046 /* end confdefs.h. */
23055 if ac_fn_c_try_run "$LINENO"; then :
23058 $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
23063 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23064 conftest.$ac_objext conftest.beam conftest.$ac_ext
23067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_tm_gmtoff" >&5
23068 $as_echo "$have_tm_gmtoff" >&6; }
23072 for ac_func in gmtime_r
23074 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
23075 if test "x$ac_cv_func_gmtime_r" = xyes; then :
23076 cat >>confdefs.h <<_ACEOF
23077 #define HAVE_GMTIME_R 1
23083 for ac_func in localtime_r
23085 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
23086 if test "x$ac_cv_func_localtime_r" = xyes; then :
23087 cat >>confdefs.h <<_ACEOF
23088 #define HAVE_LOCALTIME_R 1
23094 for ac_func in sigaction
23096 ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
23097 if test "x$ac_cv_func_sigaction" = xyes; then :
23098 cat >>confdefs.h <<_ACEOF
23099 #define HAVE_SIGACTION 1
23106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23107 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
23108 if ${ac_cv_sys_largefile_source+:} false; then :
23109 $as_echo_n "(cached) " >&6
23112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23113 /* end confdefs.h. */
23114 #include <sys/types.h> /* for off_t */
23119 int (*fp) (FILE *, off_t, int) = fseeko;
23120 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23125 if ac_fn_c_try_link "$LINENO"; then :
23126 ac_cv_sys_largefile_source=no; break
23128 rm -f core conftest.err conftest.$ac_objext \
23129 conftest$ac_exeext conftest.$ac_ext
23130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23131 /* end confdefs.h. */
23132 #define _LARGEFILE_SOURCE 1
23133 #include <sys/types.h> /* for off_t */
23138 int (*fp) (FILE *, off_t, int) = fseeko;
23139 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23144 if ac_fn_c_try_link "$LINENO"; then :
23145 ac_cv_sys_largefile_source=1; break
23147 rm -f core conftest.err conftest.$ac_objext \
23148 conftest$ac_exeext conftest.$ac_ext
23149 ac_cv_sys_largefile_source=unknown
23153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
23154 $as_echo "$ac_cv_sys_largefile_source" >&6; }
23155 case $ac_cv_sys_largefile_source in #(
23158 cat >>confdefs.h <<_ACEOF
23159 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23165 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23166 # in glibc 2.1.3, but that breaks too many other things.
23167 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23168 if test $ac_cv_sys_largefile_source != unknown; then
23170 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
23174 for ac_func in ftello
23176 ac_fn_c_check_func "$LINENO" "ftello" "ac_cv_func_ftello"
23177 if test "x$ac_cv_func_ftello" = xyes; then :
23178 cat >>confdefs.h <<_ACEOF
23179 #define HAVE_FTELLO 1
23186 for ac_func in fgetpos
23188 ac_fn_c_check_func "$LINENO" "fgetpos" "ac_cv_func_fgetpos"
23189 if test "x$ac_cv_func_fgetpos" = xyes; then :
23190 cat >>confdefs.h <<_ACEOF
23191 #define HAVE_FGETPOS 1
23197 for ac_func in fsetpos
23199 ac_fn_c_check_func "$LINENO" "fsetpos" "ac_cv_func_fsetpos"
23200 if test "x$ac_cv_func_fsetpos" = xyes; then :
23201 cat >>confdefs.h <<_ACEOF
23202 #define HAVE_FSETPOS 1
23209 for ac_func in poll
23211 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
23212 if test "x$ac_cv_func_poll" = xyes; then :
23213 cat >>confdefs.h <<_ACEOF
23214 #define HAVE_POLL 1
23220 for ac_func in ppoll
23222 ac_fn_c_check_func "$LINENO" "ppoll" "ac_cv_func_ppoll"
23223 if test "x$ac_cv_func_ppoll" = xyes; then :
23224 cat >>confdefs.h <<_ACEOF
23225 #define HAVE_PPOLL 1
23231 for ac_func in pselect
23233 ac_fn_c_check_func "$LINENO" "pselect" "ac_cv_func_pselect"
23234 if test "x$ac_cv_func_pselect" = xyes; then :
23235 cat >>confdefs.h <<_ACEOF
23236 #define HAVE_PSELECT 1
23243 for ac_header in sys/poll.h
23245 ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
23246 if test "x$ac_cv_header_sys_poll_h" = xyes; then :
23247 cat >>confdefs.h <<_ACEOF
23248 #define HAVE_SYS_POLL_H 1
23257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken poll" >&5
23258 $as_echo_n "checking for broken poll... " >&6; }
23259 if test "$cross_compiling" = yes; then :
23260 broken_poll="no (cross compiling)"
23262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23263 /* end confdefs.h. */
23265 #include <stdlib.h>
23268 #ifdef HAVE_SYS_POLL_H
23269 #include <sys/poll.h>
23272 struct pollfd fds[1];
23274 fd = open("/dev/null", 1);
23276 fds[0].events = POLLIN;
23277 fds[0].revents = 0;
23278 if (poll(fds, 1, 0) < 0 || (fds[0].revents & POLLNVAL) != 0) {
23279 exit(1); /* Does not work for devices -- fail */
23284 if ac_fn_c_try_run "$LINENO"; then :
23289 $as_echo "#define BROKEN_POLL 1" >>confdefs.h
23292 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23293 conftest.$ac_objext conftest.beam conftest.$ac_ext
23296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $broken_poll" >&5
23297 $as_echo "$broken_poll" >&6; }
23302 for ac_header in $ac_header_list
23304 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23305 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
23307 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
23308 cat >>confdefs.h <<_ACEOF
23309 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23323 for ac_func in getpagesize
23325 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
23326 if test "x$ac_cv_func_getpagesize" = xyes; then :
23327 cat >>confdefs.h <<_ACEOF
23328 #define HAVE_GETPAGESIZE 1
23334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
23335 $as_echo_n "checking for working mmap... " >&6; }
23336 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
23337 $as_echo_n "(cached) " >&6
23339 if test "$cross_compiling" = yes; then :
23340 ac_cv_func_mmap_fixed_mapped=no
23342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23343 /* end confdefs.h. */
23344 $ac_includes_default
23345 /* malloc might have been renamed as rpl_malloc. */
23348 /* Thanks to Mike Haertel and Jim Avera for this test.
23349 Here is a matrix of mmap possibilities:
23350 mmap private not fixed
23351 mmap private fixed at somewhere currently unmapped
23352 mmap private fixed at somewhere already mapped
23353 mmap shared not fixed
23354 mmap shared fixed at somewhere currently unmapped
23355 mmap shared fixed at somewhere already mapped
23356 For private mappings, we should verify that changes cannot be read()
23357 back from the file, nor mmap's back from the file at a different
23358 address. (There have been systems where private was not correctly
23359 implemented like the infamous i386 svr4.0, and systems where the
23360 VM page cache was not coherent with the file system buffer cache
23361 like early versions of FreeBSD and possibly contemporary NetBSD.)
23362 For shared mappings, we should conversely verify that changes get
23363 propagated back to all the places they're supposed to be.
23365 Grep wants private fixed already mapped.
23366 The main things grep needs to know about mmap are:
23367 * does it exist and is it safe to write into the mmap'd area
23368 * how to use it (BSD variants) */
23371 #include <sys/mman.h>
23373 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
23377 /* This mess was copied from the GNU getpagesize.h. */
23378 #ifndef HAVE_GETPAGESIZE
23379 # ifdef _SC_PAGESIZE
23380 # define getpagesize() sysconf(_SC_PAGESIZE)
23381 # else /* no _SC_PAGESIZE */
23382 # ifdef HAVE_SYS_PARAM_H
23383 # include <sys/param.h>
23384 # ifdef EXEC_PAGESIZE
23385 # define getpagesize() EXEC_PAGESIZE
23386 # else /* no EXEC_PAGESIZE */
23388 # define getpagesize() NBPG * CLSIZE
23391 # endif /* no CLSIZE */
23392 # else /* no NBPG */
23394 # define getpagesize() NBPC
23395 # else /* no NBPC */
23397 # define getpagesize() PAGESIZE
23398 # endif /* PAGESIZE */
23399 # endif /* no NBPC */
23400 # endif /* no NBPG */
23401 # endif /* no EXEC_PAGESIZE */
23402 # else /* no HAVE_SYS_PARAM_H */
23403 # define getpagesize() 8192 /* punt totally */
23404 # endif /* no HAVE_SYS_PARAM_H */
23405 # endif /* no _SC_PAGESIZE */
23407 #endif /* no HAVE_GETPAGESIZE */
23412 char *data, *data2, *data3;
23413 const char *cdata2;
23417 pagesize = getpagesize ();
23419 /* First, make a file with some known garbage in it. */
23420 data = (char *) malloc (pagesize);
23423 for (i = 0; i < pagesize; ++i)
23424 *(data + i) = rand ();
23426 fd = creat ("conftest.mmap", 0600);
23429 if (write (fd, data, pagesize) != pagesize)
23433 /* Next, check that the tail of a page is zero-filled. File must have
23434 non-zero length, otherwise we risk SIGBUS for entire page. */
23435 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
23439 if (write (fd2, cdata2, 1) != 1)
23441 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
23442 if (data2 == MAP_FAILED)
23444 for (i = 0; i < pagesize; ++i)
23448 if (munmap (data2, pagesize))
23451 /* Next, try to mmap the file at a fixed address which already has
23452 something else allocated at it. If we can, also make sure that
23453 we see the same garbage. */
23454 fd = open ("conftest.mmap", O_RDWR);
23457 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
23458 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23460 for (i = 0; i < pagesize; ++i)
23461 if (*(data + i) != *(data2 + i))
23464 /* Finally, make sure that changes to the mapped area do not
23465 percolate back to the file as seen by read(). (This is a bug on
23466 some variants of i386 svr4.0.) */
23467 for (i = 0; i < pagesize; ++i)
23468 *(data2 + i) = *(data2 + i) + 1;
23469 data3 = (char *) malloc (pagesize);
23472 if (read (fd, data3, pagesize) != pagesize)
23474 for (i = 0; i < pagesize; ++i)
23475 if (*(data + i) != *(data3 + i))
23481 if ac_fn_c_try_run "$LINENO"; then :
23482 ac_cv_func_mmap_fixed_mapped=yes
23484 ac_cv_func_mmap_fixed_mapped=no
23486 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23487 conftest.$ac_objext conftest.beam conftest.$ac_ext
23491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
23492 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
23493 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23495 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
23498 rm -f conftest.mmap conftest.txt
23500 if test "x$ac_cv_func_mmap_fixed_mapped" = "xyes"; then
23502 HAVE_MMAP_FALSE='#'
23509 for ac_func in posix_memalign
23511 ac_fn_c_check_func "$LINENO" "posix_memalign" "ac_cv_func_posix_memalign"
23512 if test "x$ac_cv_func_posix_memalign" = xyes; then :
23513 cat >>confdefs.h <<_ACEOF
23514 #define HAVE_POSIX_MEMALIGN 1
23520 for ac_func in getpagesize
23522 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
23523 if test "x$ac_cv_func_getpagesize" = xyes; then :
23524 cat >>confdefs.h <<_ACEOF
23525 #define HAVE_GETPAGESIZE 1
23532 for ac_func in clock_gettime
23534 ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
23535 if test "x$ac_cv_func_clock_gettime" = xyes; then :
23536 cat >>confdefs.h <<_ACEOF
23537 #define HAVE_CLOCK_GETTIME 1
23542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
23543 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
23544 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
23545 $as_echo_n "(cached) " >&6
23547 ac_check_lib_save_LIBS=$LIBS
23549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23550 /* end confdefs.h. */
23552 /* Override any GCC internal prototype to avoid an error.
23553 Use char because int might match the return type of a GCC
23554 builtin and then its argument prototype would still apply. */
23558 char clock_gettime ();
23562 return clock_gettime ();
23567 if ac_fn_c_try_link "$LINENO"; then :
23568 ac_cv_lib_rt_clock_gettime=yes
23570 ac_cv_lib_rt_clock_gettime=no
23572 rm -f core conftest.err conftest.$ac_objext \
23573 conftest$ac_exeext conftest.$ac_ext
23574 LIBS=$ac_check_lib_save_LIBS
23576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
23577 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
23578 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
23580 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
23591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix timers" >&5
23592 $as_echo_n "checking for posix timers... " >&6; }
23593 if ${gst_cv_posix_timers+:} false; then :
23594 $as_echo_n "(cached) " >&6
23596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23597 /* end confdefs.h. */
23600 #ifdef HAVE_UNISTD_H
23601 #include <unistd.h>
23608 #if !defined(_POSIX_TIMERS) || _POSIX_TIMERS < 0 || !defined(CLOCK_REALTIME)
23609 #error Either _POSIX_TIMERS or CLOCK_REALTIME not defined
23616 if ac_fn_c_try_compile "$LINENO"; then :
23618 gst_cv_posix_timers=yes
23622 gst_cv_posix_timers=no
23625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_posix_timers" >&5
23629 $as_echo "$gst_cv_posix_timers" >&6; }
23631 if test "$gst_cv_posix_timers" = "yes"; then
23633 $as_echo "#define HAVE_POSIX_TIMERS 1" >>confdefs.h
23635 GST_HAVE_POSIX_TIMERS_DEFINE="#define GST_HAVE_POSIX_TIMERS 1"
23637 GST_HAVE_POSIX_TIMERS_DEFINE="#define GST_HAVE_POSIX_TIMERS 0"
23640 if test "$gst_cv_posix_timers" = "yes"; then
23641 GST_HAVE_POSIX_TIMERS_TRUE=
23642 GST_HAVE_POSIX_TIMERS_FALSE='#'
23644 GST_HAVE_POSIX_TIMERS_TRUE='#'
23645 GST_HAVE_POSIX_TIMERS_FALSE=
23649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
23650 $as_echo_n "checking for monotonic clock... " >&6; }
23651 if ${gst_cv_monotonic_clock+:} false; then :
23652 $as_echo_n "(cached) " >&6
23654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23655 /* end confdefs.h. */
23658 #ifdef HAVE_UNISTD_H
23659 #include <unistd.h>
23666 #if !defined(_POSIX_MONOTONIC_CLOCK) || _POSIX_MONOTONIC_CLOCK < 0 || !defined(CLOCK_MONOTONIC)
23667 #error Either _POSIX_MONOTONIC_CLOCK or CLOCK_MONOTONIC not defined
23674 if ac_fn_c_try_compile "$LINENO"; then :
23676 gst_cv_monotonic_clock=yes
23680 gst_cv_monotonic_clock=no
23683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_monotonic_clock" >&5
23687 $as_echo "$gst_cv_monotonic_clock" >&6; }
23689 if test "$gst_cv_monotonic_clock" = "yes"; then
23691 $as_echo "#define HAVE_MONOTONIC_CLOCK 1" >>confdefs.h
23693 GST_HAVE_MONOTONIC_CLOCK_DEFINE="#define GST_HAVE_MONOTONIC_CLOCK 1"
23695 GST_HAVE_MONOTONIC_CLOCK_DEFINE="#define GST_HAVE_MONOTONIC_CLOCK 0"
23698 if test "$gst_cv_monotonic_clock" = "yes"; then
23699 GST_HAVE_MONOTONIC_CLOCK_TRUE=
23700 GST_HAVE_MONOTONIC_CLOCK_FALSE='#'
23702 GST_HAVE_MONOTONIC_CLOCK_TRUE='#'
23703 GST_HAVE_MONOTONIC_CLOCK_FALSE=
23708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __PRETTY_FUNCTION__" >&5
23709 $as_echo_n "checking whether $CC implements __PRETTY_FUNCTION__... " >&6; }
23710 if ${gst_cv_have_pretty_function+:} false; then :
23711 $as_echo_n "(cached) " >&6
23714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23715 /* end confdefs.h. */
23720 printf("%s", __PRETTY_FUNCTION__);
23725 if ac_fn_c_try_link "$LINENO"; then :
23726 gst_cv_have_pretty_function=yes
23728 gst_cv_have_pretty_function=no
23730 rm -f core conftest.err conftest.$ac_objext \
23731 conftest$ac_exeext conftest.$ac_ext
23735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_pretty_function" >&5
23736 $as_echo "$gst_cv_have_pretty_function" >&6; }
23737 if test "$gst_cv_have_pretty_function" = yes; then
23739 $as_echo "#define HAVE_PRETTY_FUNCTION 1" >>confdefs.h
23743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __FUNCTION__" >&5
23744 $as_echo_n "checking whether $CC implements __FUNCTION__... " >&6; }
23745 if ${gst_cv_have_function+:} false; then :
23746 $as_echo_n "(cached) " >&6
23749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23750 /* end confdefs.h. */
23755 printf("%s", __FUNCTION__);
23760 if ac_fn_c_try_link "$LINENO"; then :
23761 gst_cv_have_function=yes
23763 gst_cv_have_function=no
23765 rm -f core conftest.err conftest.$ac_objext \
23766 conftest$ac_exeext conftest.$ac_ext
23770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_function" >&5
23771 $as_echo "$gst_cv_have_function" >&6; }
23772 if test "$gst_cv_have_function" = yes; then
23774 $as_echo "#define HAVE_FUNCTION 1" >>confdefs.h
23778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __func__" >&5
23779 $as_echo_n "checking whether $CC implements __func__... " >&6; }
23780 if ${gst_cv_have_func+:} false; then :
23781 $as_echo_n "(cached) " >&6
23784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23785 /* end confdefs.h. */
23790 printf("%s", __func__);
23795 if ac_fn_c_try_link "$LINENO"; then :
23796 gst_cv_have_func=yes
23798 gst_cv_have_func=no
23800 rm -f core conftest.err conftest.$ac_objext \
23801 conftest$ac_exeext conftest.$ac_ext
23805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_func" >&5
23806 $as_echo "$gst_cv_have_func" >&6; }
23807 if test "$gst_cv_have_func" = yes; then
23809 $as_echo "#define HAVE_FUNC 1" >>confdefs.h
23813 if test "$gst_cv_have_pretty_function" = yes; then
23814 function=__PRETTY_FUNCTION__
23816 if test "$gst_cv_have_function" = yes; then
23817 function=__FUNCTION__
23819 if test "$gst_cv_have_func" = yes; then
23827 cat >>confdefs.h <<_ACEOF
23828 #define GST_FUNCTION $function
23833 for ac_func in register_printf_specifier register_printf_function
23835 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23837 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23838 cat >>confdefs.h <<_ACEOF
23839 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23841 HAVE_PRINTF_EXTENSION=yes
23846 if test "$HAVE_PRINTF_EXTENSION" = yes; then
23847 GST_PRINTF_EXTENSION_POINTER_FORMAT_DEFINE="#define GST_PTR_FORMAT \"P\""
23848 GST_PRINTF_EXTENSION_SEGMENT_FORMAT_DEFINE="#define GST_SEGMENT_FORMAT \"Q\""
23849 GST_USING_PRINTF_EXTENSION_DEFINE="#define GST_USING_PRINTF_EXTENSION"
23851 $as_echo "#define HAVE_PRINTF_EXTENSION 1" >>confdefs.h
23854 GST_PRINTF_EXTENSION_POINTER_FORMAT_DEFINE="#define GST_PTR_FORMAT \"p\""
23855 GST_PRINTF_EXTENSION_SEGMENT_FORMAT_DEFINE="#define GST_SEGMENT_FORMAT \"p\""
23856 GST_USING_PRINTF_EXTENSION_DEFINE="#undef GST_USING_PRINTF_EXTENSION"
23862 save_cflags="$CFLAGS"
23863 CFLAGS="$CFLAGS -D_GNU_SOURCE"
23864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5
23865 $as_echo_n "checking for dladdr in -ldl... " >&6; }
23866 if ${ac_cv_lib_dl_dladdr+:} false; then :
23867 $as_echo_n "(cached) " >&6
23869 ac_check_lib_save_LIBS=$LIBS
23871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23872 /* end confdefs.h. */
23874 /* Override any GCC internal prototype to avoid an error.
23875 Use char because int might match the return type of a GCC
23876 builtin and then its argument prototype would still apply. */
23889 if ac_fn_c_try_link "$LINENO"; then :
23890 ac_cv_lib_dl_dladdr=yes
23892 ac_cv_lib_dl_dladdr=no
23894 rm -f core conftest.err conftest.$ac_objext \
23895 conftest$ac_exeext conftest.$ac_ext
23896 LIBS=$ac_check_lib_save_LIBS
23898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5
23899 $as_echo "$ac_cv_lib_dl_dladdr" >&6; }
23900 if test "x$ac_cv_lib_dl_dladdr" = xyes; then :
23902 $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
23907 CFLAGS="$save_cflags"
23909 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
23910 if test "x$ac_cv_func_socket" = xyes; then :
23913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
23914 $as_echo_n "checking for socket in -lsocket... " >&6; }
23915 if ${ac_cv_lib_socket_socket+:} false; then :
23916 $as_echo_n "(cached) " >&6
23918 ac_check_lib_save_LIBS=$LIBS
23919 LIBS="-lsocket $LIBS"
23920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23921 /* end confdefs.h. */
23923 /* Override any GCC internal prototype to avoid an error.
23924 Use char because int might match the return type of a GCC
23925 builtin and then its argument prototype would still apply. */
23938 if ac_fn_c_try_link "$LINENO"; then :
23939 ac_cv_lib_socket_socket=yes
23941 ac_cv_lib_socket_socket=no
23943 rm -f core conftest.err conftest.$ac_objext \
23944 conftest$ac_exeext conftest.$ac_ext
23945 LIBS=$ac_check_lib_save_LIBS
23947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
23948 $as_echo "$ac_cv_lib_socket_socket" >&6; }
23949 if test "x$ac_cv_lib_socket_socket" = xyes; then :
23950 cat >>confdefs.h <<_ACEOF
23951 #define HAVE_LIBSOCKET 1
23954 LIBS="-lsocket $LIBS"
23960 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
23961 if test "x$ac_cv_func_gethostbyname" = xyes; then :
23964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
23965 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
23966 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
23967 $as_echo_n "(cached) " >&6
23969 ac_check_lib_save_LIBS=$LIBS
23971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23972 /* end confdefs.h. */
23974 /* Override any GCC internal prototype to avoid an error.
23975 Use char because int might match the return type of a GCC
23976 builtin and then its argument prototype would still apply. */
23980 char gethostbyname ();
23984 return gethostbyname ();
23989 if ac_fn_c_try_link "$LINENO"; then :
23990 ac_cv_lib_nsl_gethostbyname=yes
23992 ac_cv_lib_nsl_gethostbyname=no
23994 rm -f core conftest.err conftest.$ac_objext \
23995 conftest$ac_exeext conftest.$ac_ext
23996 LIBS=$ac_check_lib_save_LIBS
23998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
23999 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
24000 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
24001 cat >>confdefs.h <<_ACEOF
24002 #define HAVE_LIBNSL 1
24013 ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
24014 if test "x$ac_cv_func_inet_aton" = xyes; then :
24017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lnsl" >&5
24018 $as_echo_n "checking for inet_aton in -lnsl... " >&6; }
24019 if ${ac_cv_lib_nsl_inet_aton+:} false; then :
24020 $as_echo_n "(cached) " >&6
24022 ac_check_lib_save_LIBS=$LIBS
24024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24025 /* end confdefs.h. */
24027 /* Override any GCC internal prototype to avoid an error.
24028 Use char because int might match the return type of a GCC
24029 builtin and then its argument prototype would still apply. */
24037 return inet_aton ();
24042 if ac_fn_c_try_link "$LINENO"; then :
24043 ac_cv_lib_nsl_inet_aton=yes
24045 ac_cv_lib_nsl_inet_aton=no
24047 rm -f core conftest.err conftest.$ac_objext \
24048 conftest$ac_exeext conftest.$ac_ext
24049 LIBS=$ac_check_lib_save_LIBS
24051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_aton" >&5
24052 $as_echo "$ac_cv_lib_nsl_inet_aton" >&6; }
24053 if test "x$ac_cv_lib_nsl_inet_aton" = xyes; then :
24054 cat >>confdefs.h <<_ACEOF
24055 #define HAVE_LIBNSL 1
24061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lsocket" >&5
24062 $as_echo_n "checking for inet_aton in -lsocket... " >&6; }
24063 if ${ac_cv_lib_socket_inet_aton+:} false; then :
24064 $as_echo_n "(cached) " >&6
24066 ac_check_lib_save_LIBS=$LIBS
24067 LIBS="-lsocket $LIBS"
24068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24069 /* end confdefs.h. */
24071 /* Override any GCC internal prototype to avoid an error.
24072 Use char because int might match the return type of a GCC
24073 builtin and then its argument prototype would still apply. */
24081 return inet_aton ();
24086 if ac_fn_c_try_link "$LINENO"; then :
24087 ac_cv_lib_socket_inet_aton=yes
24089 ac_cv_lib_socket_inet_aton=no
24091 rm -f core conftest.err conftest.$ac_objext \
24092 conftest$ac_exeext conftest.$ac_ext
24093 LIBS=$ac_check_lib_save_LIBS
24095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_aton" >&5
24096 $as_echo "$ac_cv_lib_socket_inet_aton" >&6; }
24097 if test "x$ac_cv_lib_socket_inet_aton" = xyes; then :
24098 cat >>confdefs.h <<_ACEOF
24099 #define HAVE_LIBSOCKET 1
24102 LIBS="-lsocket $LIBS"
24105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
24106 $as_echo_n "checking for inet_aton in -lresolv... " >&6; }
24107 if ${ac_cv_lib_resolv_inet_aton+:} false; then :
24108 $as_echo_n "(cached) " >&6
24110 ac_check_lib_save_LIBS=$LIBS
24111 LIBS="-lresolv $LIBS"
24112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24113 /* end confdefs.h. */
24115 /* Override any GCC internal prototype to avoid an error.
24116 Use char because int might match the return type of a GCC
24117 builtin and then its argument prototype would still apply. */
24125 return inet_aton ();
24130 if ac_fn_c_try_link "$LINENO"; then :
24131 ac_cv_lib_resolv_inet_aton=yes
24133 ac_cv_lib_resolv_inet_aton=no
24135 rm -f core conftest.err conftest.$ac_objext \
24136 conftest$ac_exeext conftest.$ac_ext
24137 LIBS=$ac_check_lib_save_LIBS
24139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
24140 $as_echo "$ac_cv_lib_resolv_inet_aton" >&6; }
24141 if test "x$ac_cv_lib_resolv_inet_aton" = xyes; then :
24142 cat >>confdefs.h <<_ACEOF
24143 #define HAVE_LIBRESOLV 1
24146 LIBS="-lresolv $LIBS"
24150 $as_echo "#define NO_INET_ATON 1" >>confdefs.h
24160 INET_ATON_LIBS=$LIBS
24171 if test "x$GLIB_REQ" = "x"
24173 as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5
24178 which="glib-2.0 >= $GLIB_REQ gobject-2.0 gthread-2.0 gmodule-no-export-2.0"
24183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
24184 $as_echo_n "checking for GLIB... " >&6; }
24186 if test -n "$PKG_CONFIG"; then
24187 if test -n "$GLIB_CFLAGS"; then
24188 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
24190 if test -n "$PKG_CONFIG" && \
24191 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
24192 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
24194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24195 test $ac_status = 0; }; then
24196 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
24204 if test -n "$PKG_CONFIG"; then
24205 if test -n "$GLIB_LIBS"; then
24206 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
24208 if test -n "$PKG_CONFIG" && \
24209 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
24210 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
24212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24213 test $ac_status = 0; }; then
24214 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
24225 if test $pkg_failed = yes; then
24227 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24228 _pkg_short_errors_supported=yes
24230 _pkg_short_errors_supported=no
24232 if test $_pkg_short_errors_supported = yes; then
24233 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
24235 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
24237 # Put the nasty error message in config.log where it belongs
24238 echo "$GLIB_PKG_ERRORS" >&5
24240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24241 $as_echo "no" >&6; }
24244 if test "x$required" = "xyes"; then
24245 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
24247 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
24248 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
24251 elif test $pkg_failed = untried; then
24254 if test "x$required" = "xyes"; then
24255 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
24257 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
24258 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
24262 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
24263 GLIB_LIBS=$pkg_cv_GLIB_LIBS
24264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24265 $as_echo "yes" >&6; }
24273 if test "x$HAVE_GLIB" = "xno"; then
24274 as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5
24277 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY"
24279 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
24280 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED"
24283 # Check whether --enable-gobject-cast-checks was given.
24284 if test "${enable_gobject_cast_checks+set}" = set; then :
24285 enableval=$enable_gobject_cast_checks;
24287 enable_gobject_cast_checks=auto
24291 if test "x$enable_gobject_cast_checks" = "xauto"; then
24292 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
24293 enable_gobject_cast_checks=yes
24295 enable_gobject_cast_checks=no
24299 if test "x$enable_gobject_cast_checks" = "xno"; then
24300 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS"
24303 # Check whether --enable-glib-asserts was given.
24304 if test "${enable_glib_asserts+set}" = set; then :
24305 enableval=$enable_glib_asserts;
24307 enable_glib_assertions=auto
24311 if test "x$enable_glib_assertions" = "xauto"; then
24312 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
24313 enable_glib_assertions=yes
24315 enable_glib_assertions=no
24319 if test "x$enable_glib_assertions" = "xno"; then
24320 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT"
24324 GIVEN_CFLAGS=$GLIB_CFLAGS
24325 INCLUDE_DIRS=`echo | cpp -v 2>&1`
24327 INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
24328 for dir in $INCLUDE_DIRS; do
24329 GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
24331 GLIB_CFLAGS=$GIVEN_CFLAGS
24337 GST_HAVE_GLIB_2_8_DEFINE="#define GST_HAVE_GLIB_2_8 1"
24342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB_ONLY" >&5
24343 $as_echo_n "checking for GLIB_ONLY... " >&6; }
24345 if test -n "$PKG_CONFIG"; then
24346 if test -n "$GLIB_ONLY_CFLAGS"; then
24347 pkg_cv_GLIB_ONLY_CFLAGS="$GLIB_ONLY_CFLAGS"
24349 if test -n "$PKG_CONFIG" && \
24350 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQ\""; } >&5
24351 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQ") 2>&5
24353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24354 test $ac_status = 0; }; then
24355 pkg_cv_GLIB_ONLY_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQ" 2>/dev/null`
24363 if test -n "$PKG_CONFIG"; then
24364 if test -n "$GLIB_ONLY_LIBS"; then
24365 pkg_cv_GLIB_ONLY_LIBS="$GLIB_ONLY_LIBS"
24367 if test -n "$PKG_CONFIG" && \
24368 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQ\""; } >&5
24369 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQ") 2>&5
24371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24372 test $ac_status = 0; }; then
24373 pkg_cv_GLIB_ONLY_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQ" 2>/dev/null`
24384 if test $pkg_failed = yes; then
24386 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24387 _pkg_short_errors_supported=yes
24389 _pkg_short_errors_supported=no
24391 if test $_pkg_short_errors_supported = yes; then
24392 GLIB_ONLY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQ"`
24394 GLIB_ONLY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= $GLIB_REQ"`
24396 # Put the nasty error message in config.log where it belongs
24397 echo "$GLIB_ONLY_PKG_ERRORS" >&5
24399 as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQ) were not met:
24401 $GLIB_ONLY_PKG_ERRORS
24403 Consider adjusting the PKG_CONFIG_PATH environment variable if you
24404 installed software in a non-standard prefix.
24406 Alternatively, you may set the environment variables GLIB_ONLY_CFLAGS
24407 and GLIB_ONLY_LIBS to avoid the need to call pkg-config.
24408 See the pkg-config man page for more details.
24410 elif test $pkg_failed = untried; then
24411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
24412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24413 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
24414 is in your PATH or set the PKG_CONFIG environment variable to the full
24415 path to pkg-config.
24417 Alternatively, you may set the environment variables GLIB_ONLY_CFLAGS
24418 and GLIB_ONLY_LIBS to avoid the need to call pkg-config.
24419 See the pkg-config man page for more details.
24421 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
24422 See \`config.log' for more details" "$LINENO" 5; }
24424 GLIB_ONLY_CFLAGS=$pkg_cv_GLIB_ONLY_CFLAGS
24425 GLIB_ONLY_LIBS=$pkg_cv_GLIB_ONLY_LIBS
24426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24427 $as_echo "yes" >&6; }
24431 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
24434 if test "x$GST_DISABLE_LOADSAVE" = "xyes"
24436 { $as_echo "$as_me:${as_lineno-$LINENO}: XML registry and load/save are disabled, not checking for libxml2" >&5
24437 $as_echo "$as_me: XML registry and load/save are disabled, not checking for libxml2" >&6;}
24438 GST_DISABLE_XML_DEFINE="#define GST_DISABLE_XML 1"
24446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML" >&5
24447 $as_echo_n "checking for XML... " >&6; }
24449 if test -n "$PKG_CONFIG"; then
24450 if test -n "$XML_CFLAGS"; then
24451 pkg_cv_XML_CFLAGS="$XML_CFLAGS"
24453 if test -n "$PKG_CONFIG" && \
24454 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML2_REQ\""; } >&5
24455 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML2_REQ") 2>&5
24457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24458 test $ac_status = 0; }; then
24459 pkg_cv_XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= $LIBXML2_REQ" 2>/dev/null`
24467 if test -n "$PKG_CONFIG"; then
24468 if test -n "$XML_LIBS"; then
24469 pkg_cv_XML_LIBS="$XML_LIBS"
24471 if test -n "$PKG_CONFIG" && \
24472 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$LIBXML2_REQ\""; } >&5
24473 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $LIBXML2_REQ") 2>&5
24475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24476 test $ac_status = 0; }; then
24477 pkg_cv_XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= $LIBXML2_REQ" 2>/dev/null`
24488 if test $pkg_failed = yes; then
24490 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24491 _pkg_short_errors_supported=yes
24493 _pkg_short_errors_supported=no
24495 if test $_pkg_short_errors_supported = yes; then
24496 XML_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libxml-2.0 >= $LIBXML2_REQ"`
24498 XML_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libxml-2.0 >= $LIBXML2_REQ"`
24500 # Put the nasty error message in config.log where it belongs
24501 echo "$XML_PKG_ERRORS" >&5
24503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24504 $as_echo "no" >&6; }
24506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24507 $as_echo "no" >&6; }
24510 elif test $pkg_failed = untried; then
24512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24513 $as_echo "no" >&6; }
24517 XML_CFLAGS=$pkg_cv_XML_CFLAGS
24518 XML_LIBS=$pkg_cv_XML_LIBS
24519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24520 $as_echo "yes" >&6; }
24523 if test "x$HAVE_LIBXML2" = "xyes"; then
24525 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
24529 Need libxml2 and development headers/files to build GStreamer.
24531 You can do without libxml2 if you pass --disable-loadsave to
24532 configure, but that breaks ABI, so don't do that unless you
24533 are building for an embedded setup and know what you are doing.
24536 LIBXML_PKG=', libxml-2.0'
24541 ac_save_CFLAGS=$CFLAGS
24543 CFLAGS="$CFLAGS $XML_CFLAGS"
24544 LIBS="$LIBS $XML_LIBS"
24545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24546 /* end confdefs.h. */
24548 #include <libxml/tree.h>
24555 /* function body */
24561 if ac_fn_c_try_link "$LINENO"; then :
24562 { $as_echo "$as_me:${as_lineno-$LINENO}: Test xml2 program linked" >&5
24563 $as_echo "$as_me: Test xml2 program linked" >&6;}
24565 as_fn_error $? "Could not link libxml2 test program. Check if you have the necessary dependencies." "$LINENO" 5
24568 rm -f core conftest.err conftest.$ac_objext \
24569 conftest$ac_exeext conftest.$ac_ext
24570 CFLAGS="$ac_save_CFLAGS"
24571 LIBS="$ac_save_LIBS"
24573 GST_DISABLE_XML_DEFINE="/* #undef GST_DISABLE_XML */"
24577 # Check whether --enable-check was given.
24578 if test "${enable_check+set}" = set; then :
24579 enableval=$enable_check;
24580 case "${enableval}" in
24581 yes) BUILD_CHECK=yes ;;
24582 no) BUILD_CHECK=no ;;
24583 *) as_fn_error $? "bad value ${enableval} for --disable-check" "$LINENO" 5 ;;
24589 mingw* | msvc* | mks*) BUILD_CHECK=no ;;
24590 *) BUILD_CHECK=yes ;;
24595 if test "x$BUILD_CHECK" = "xyes"; then
24597 HAVE_CHECK_FALSE='#'
24599 HAVE_CHECK_TRUE='#'
24605 # Check whether --with-buffer-alignment was given.
24606 if test "${with_buffer_alignment+set}" = set; then :
24607 withval=$with_buffer_alignment;
24608 if test "x$withval" = "xyes"
24611 $as_echo "#define BUFFER_ALIGNMENT 32" >>confdefs.h
24614 case "${withval}" in
24616 $as_echo "#define BUFFER_ALIGNMENT_MALLOC 1" >>confdefs.h
24619 $as_echo "#define BUFFER_ALIGNMENT_PAGESIZE 1" >>confdefs.h
24622 cat >>confdefs.h <<_ACEOF
24623 #define BUFFER_ALIGNMENT ${withval}
24632 $as_echo "#define BUFFER_ALIGNMENT_MALLOC 1" >>confdefs.h
24639 # Check whether --enable-Bsymbolic was given.
24640 if test "${enable_Bsymbolic+set}" = set; then :
24641 enableval=$enable_Bsymbolic;
24643 SAVED_LDFLAGS="${LDFLAGS}"
24644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
24645 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
24646 LDFLAGS=-Wl,-Bsymbolic-functions
24647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24648 /* end confdefs.h. */
24653 int main (void) { return 0; }
24658 if ac_fn_c_try_link "$LINENO"; then :
24659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24660 $as_echo "yes" >&6; }
24661 enable_Bsymbolic=yes
24663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24664 $as_echo "no" >&6; }
24665 enable_Bsymbolic=no
24667 rm -f core conftest.err conftest.$ac_objext \
24668 conftest$ac_exeext conftest.$ac_ext
24669 LDFLAGS="${SAVED_LDFLAGS}"
24677 cat >>confdefs.h <<_ACEOF
24678 #define GST_LICENSE "$GST_LICENSE"
24687 prefix_save=$prefix
24688 exec_prefix_save=$exec_prefix
24690 if test "x$prefix" = "xNONE"; then
24691 prefix="$ac_default_prefix"
24693 if test "x$exec_prefix" = "xNONE"; then
24694 exec_prefix=$prefix
24697 full_var="$FROM_VAR"
24699 new_full_var="`eval echo $full_var`"
24700 if test "x$new_full_var" = "x$full_var"; then break; fi
24701 full_var=$new_full_var
24704 full_var=$new_full_var
24708 prefix=$prefix_save
24709 exec_prefix=$exec_prefix_save
24712 cat >>confdefs.h <<_ACEOF
24713 #define LIBDIR "$LIBDIR"
24720 prefix_save=$prefix
24721 exec_prefix_save=$exec_prefix
24723 if test "x$prefix" = "xNONE"; then
24724 prefix="$ac_default_prefix"
24726 if test "x$exec_prefix" = "xNONE"; then
24727 exec_prefix=$prefix
24730 full_var="$FROM_VAR"
24732 new_full_var="`eval echo $full_var`"
24733 if test "x$new_full_var" = "x$full_var"; then break; fi
24734 full_var=$new_full_var
24737 full_var=$new_full_var
24738 DATADIR="$full_var"
24741 prefix=$prefix_save
24742 exec_prefix=$exec_prefix_save
24745 cat >>confdefs.h <<_ACEOF
24746 #define GST_DATADIR "$DATADIR"
24753 FROM_VAR=${libdir}/gstreamer-$GST_MAJORMINOR
24755 prefix_save=$prefix
24756 exec_prefix_save=$exec_prefix
24758 if test "x$prefix" = "xNONE"; then
24759 prefix="$ac_default_prefix"
24761 if test "x$exec_prefix" = "xNONE"; then
24762 exec_prefix=$prefix
24765 full_var="$FROM_VAR"
24767 new_full_var="`eval echo $full_var`"
24768 if test "x$new_full_var" = "x$full_var"; then break; fi
24769 full_var=$new_full_var
24772 full_var=$new_full_var
24773 PLUGINDIR="$full_var"
24776 prefix=$prefix_save
24777 exec_prefix=$exec_prefix_save
24780 cat >>confdefs.h <<_ACEOF
24781 #define PLUGINDIR "$PLUGINDIR"
24784 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
24785 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
24787 plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
24791 GST_PKG_DEPS="glib-2.0, gobject-2.0, gmodule-no-export-2.0, gthread-2.0"
24795 if test "x${GST_DISABLE_GST_DEBUG}" = "xyes"; then
24796 NO_WARNINGS="-Wno-unused"
24807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
24808 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
24810 save_CFLAGS="$CFLAGS"
24811 CFLAGS="$CFLAGS -Wall"
24813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24814 /* end confdefs.h. */
24824 if ac_fn_c_try_compile "$LINENO"; then :
24829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24830 CFLAGS="$save_CFLAGS"
24832 if test "X$flag_ok" = Xyes ; then
24833 WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
24839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24840 $as_echo "$flag_ok" >&6; }
24844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
24845 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
24847 save_CFLAGS="$CFLAGS"
24848 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
24850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24851 /* end confdefs.h. */
24861 if ac_fn_c_try_compile "$LINENO"; then :
24866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24867 CFLAGS="$save_CFLAGS"
24869 if test "X$flag_ok" = Xyes ; then
24870 WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24877 $as_echo "$flag_ok" >&6; }
24881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
24882 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
24884 save_CFLAGS="$CFLAGS"
24885 CFLAGS="$CFLAGS -Wvla"
24887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24888 /* end confdefs.h. */
24898 if ac_fn_c_try_compile "$LINENO"; then :
24903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24904 CFLAGS="$save_CFLAGS"
24906 if test "X$flag_ok" = Xyes ; then
24907 WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
24913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24914 $as_echo "$flag_ok" >&6; }
24918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
24919 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
24921 save_CFLAGS="$CFLAGS"
24922 CFLAGS="$CFLAGS -Wpointer-arith"
24924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24925 /* end confdefs.h. */
24935 if ac_fn_c_try_compile "$LINENO"; then :
24940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24941 CFLAGS="$save_CFLAGS"
24943 if test "X$flag_ok" = Xyes ; then
24944 WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
24950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24951 $as_echo "$flag_ok" >&6; }
24954 if test "x$GST_GIT" != "xno"
24957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
24958 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
24960 save_CFLAGS="$CFLAGS"
24961 CFLAGS="$CFLAGS -Werror"
24963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24964 /* end confdefs.h. */
24974 if ac_fn_c_try_compile "$LINENO"; then :
24979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24980 CFLAGS="$save_CFLAGS"
24982 if test "X$flag_ok" = Xyes ; then
24983 ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
24989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24990 $as_echo "$flag_ok" >&6; }
24993 if test "x$ERROR_CFLAGS" = "x"
24996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
24997 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
24999 save_CFLAGS="$CFLAGS"
25000 CFLAGS="$CFLAGS -errwarn=%all"
25002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25003 /* end confdefs.h. */
25013 if ac_fn_c_try_compile "$LINENO"; then :
25018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25019 CFLAGS="$save_CFLAGS"
25021 if test "X$flag_ok" = Xyes ; then
25023 ERROR_CFLAGS="-errwarn=%all"
25024 for f in 'no%E_EMPTY_DECLARATION' \
25025 'no%E_STATEMENT_NOT_REACHED' \
25026 'no%E_ARGUEMENT_MISMATCH' \
25027 'no%E_MACRO_REDEFINED' \
25028 'no%E_LOOP_NOT_ENTERED_AT_TOP'
25031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
25032 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
25034 save_CFLAGS="$CFLAGS"
25035 CFLAGS="$CFLAGS -errwarn=%all,$f"
25037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25038 /* end confdefs.h. */
25048 if ac_fn_c_try_compile "$LINENO"; then :
25053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25054 CFLAGS="$save_CFLAGS"
25056 if test "X$flag_ok" = Xyes ; then
25058 ERROR_CFLAGS="$ERROR_CFLAGS,$f"
25065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25066 $as_echo "$flag_ok" >&6; }
25075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25076 $as_echo "$flag_ok" >&6; }
25079 if test -n "$PKG_CONFIG" && \
25080 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
25081 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
25083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25084 test $ac_status = 0; }; then
25087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
25088 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
25090 save_CFLAGS="$CFLAGS"
25091 CFLAGS="$CFLAGS -fno-strict-aliasing"
25093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25094 /* end confdefs.h. */
25104 if ac_fn_c_try_compile "$LINENO"; then :
25109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25110 CFLAGS="$save_CFLAGS"
25112 if test "X$flag_ok" = Xyes ; then
25113 ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
25119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25120 $as_echo "$flag_ok" >&6; }
25127 if test "x-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs $NO_WARNINGS" != "x"
25130 list="-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return -Wno-multichar -Wnested-externs $NO_WARNINGS"
25134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
25135 $as_echo_n "checking to see if compiler understands $each... " >&6; }
25137 save_CFLAGS="$CFLAGS"
25138 CFLAGS="$CFLAGS $each"
25140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25141 /* end confdefs.h. */
25151 if ac_fn_c_try_compile "$LINENO"; then :
25156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25157 CFLAGS="$save_CFLAGS"
25159 if test "X$flag_ok" = Xyes ; then
25160 WARNING_CFLAGS="$WARNING_CFLAGS $each"
25163 UNSUPPORTED="$UNSUPPORTED $each"
25166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25167 $as_echo "$flag_ok" >&6; }
25170 if test "X$UNSUPPORTED" != X ; then
25171 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
25172 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
25178 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
25179 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
25180 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
25181 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
25185 if test "x$GST_GIT" = "xyes"; then
25186 GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
25188 GST_LEVEL_DEFAULT=GST_LEVEL_NONE
25191 cat >>confdefs.h <<_ACEOF
25192 #define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
25200 if test "x$USE_DEBUG" = xyes; then
25201 PROFILE_CFLAGS="-g"
25205 # GST_DISABLE_DEPRECATED: hide the visibility of deprecated
25206 # functionality from the API that gstreamer uses
25207 # GST_REMOVE_DEPRECATED: don't compile deprecated functionality (breaks ABI)
25208 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
25209 DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
25211 DEPRECATED_CFLAGS=""
25215 GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
25216 GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
25220 GST_ALL_CXXFLAGS="-I\$(top_srcdir)/libs -I\$(top_srcdir) -I\$(top_builddir)/libs -I\$(top_builddir) $GLIB_CFLAGS \$(GLIB_EXTRA_CFLAGS) $XML_CFLAGS \$(GST_OPTION_CXXFLAGS) \$(ERROR_CXXFLAGS)"
25221 GST_ALL_CFLAGS="-I\$(top_srcdir)/libs -I\$(top_srcdir) -I\$(top_builddir)/libs -I\$(top_builddir) $GLIB_CFLAGS \$(GLIB_EXTRA_CFLAGS) $XML_CFLAGS \$(GST_OPTION_CFLAGS) \$(ERROR_CFLAGS)"
25223 GST_ALL_LIBS="$GLIB_LIBS $LTLIBINTL \$(GCOV_LIBS)"
25225 GST_ALL_LDFLAGS="-no-undefined"
25226 if test "x${enable_Bsymbolic}" = "xyes"; then
25227 GST_ALL_LDFLAGS="$GST_ALL_LDFLAGS -Wl,-Bsymbolic-functions"
25235 GST_LIB_LDFLAGS="-export-symbols-regex \^_*\(gst_\|Gst\|GST_\).*"
25238 GST_OBJ_CFLAGS="\$(GST_ALL_CFLAGS)"
25239 GST_OBJ_CXXFLAGS="\$(GST_ALL_CXXFLAGS)"
25240 GST_OBJ_LIBS="\$(top_builddir)/gst/libgstreamer-$GST_MAJORMINOR.la \$(GST_ALL_LIBS)"
25245 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_desc.*' $GST_ALL_LDFLAGS"
25246 GST_PLUGIN_LDFLAGS="$GST_PLUGIN_LDFLAGS"
25250 EXP_VAR=GST_PLUGIN_SCANNER_INSTALLED
25251 FROM_VAR=${libexecdir}/gstreamer-$GST_MAJORMINOR/gst-plugin-scanner
25253 prefix_save=$prefix
25254 exec_prefix_save=$exec_prefix
25256 if test "x$prefix" = "xNONE"; then
25257 prefix="$ac_default_prefix"
25259 if test "x$exec_prefix" = "xNONE"; then
25260 exec_prefix=$prefix
25263 full_var="$FROM_VAR"
25265 new_full_var="`eval echo $full_var`"
25266 if test "x$new_full_var" = "x$full_var"; then break; fi
25267 full_var=$new_full_var
25270 full_var=$new_full_var
25271 GST_PLUGIN_SCANNER_INSTALLED="$full_var"
25274 prefix=$prefix_save
25275 exec_prefix=$exec_prefix_save
25278 cat >>confdefs.h <<_ACEOF
25279 #define GST_PLUGIN_SCANNER_INSTALLED "$GST_PLUGIN_SCANNER_INSTALLED"
25285 { $as_echo "$as_me:${as_lineno-$LINENO}: Running check unit test framework checks now..." >&5
25286 $as_echo "$as_me: Running check unit test framework checks now..." >&6;}
25288 CHECK_MAJOR_VERSION=0
25289 CHECK_MINOR_VERSION=9
25290 CHECK_MICRO_VERSION=8
25291 CHECK_VERSION=$CHECK_MAJOR_VERSION.$CHECK_MINOR_VERSION.$CHECK_MICRO_VERSION
25298 for ac_header in unistd.h sys/wait.h sys/time.h
25300 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25301 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25302 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
25303 cat >>confdefs.h <<_ACEOF
25304 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25312 for ac_func in localtime_r
25314 ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
25315 if test "x$ac_cv_func_localtime_r" = xyes; then :
25316 cat >>confdefs.h <<_ACEOF
25317 #define HAVE_LOCALTIME_R 1
25325 # ------ AX CREATE STDINT H -------------------------------------
25326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
25327 $as_echo_n "checking for stdint types... " >&6; }
25328 ac_stdint_h=`echo _stdint.h`
25329 # try to shortcircuit - if the default include path of the compiler
25330 # can find a "stdint.h" header then we assume that all compilers can.
25331 if ${ac_cv_header_stdint_t+:} false; then :
25332 $as_echo_n "(cached) " >&6
25335 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
25336 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
25337 old_CFLAGS="$CFLAGS" ; CFLAGS=""
25338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25339 /* end confdefs.h. */
25340 #include <stdint.h>
25344 int_least32_t v = 0;
25349 if ac_fn_c_try_compile "$LINENO"; then :
25350 ac_cv_stdint_result="(assuming C99 compatible system)"
25351 ac_cv_header_stdint_t="stdint.h";
25353 ac_cv_header_stdint_t=""
25355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25356 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
25358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25359 /* end confdefs.h. */
25360 #include <stdint.h>
25364 int_least32_t v = 0;
25369 if ac_fn_c_try_compile "$LINENO"; then :
25370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
25371 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
25373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25375 CXXFLAGS="$old_CXXFLAGS"
25376 CPPFLAGS="$old_CPPFLAGS"
25377 CFLAGS="$old_CFLAGS"
25381 v="... $ac_cv_header_stdint_h"
25382 if test "$ac_stdint_h" = "stdint.h" ; then
25383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
25384 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
25385 elif test "$ac_stdint_h" = "inttypes.h" ; then
25386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
25387 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
25388 elif test "_$ac_cv_header_stdint_t" = "_" ; then
25389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
25390 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
25392 ac_cv_header_stdint="$ac_cv_header_stdint_t"
25393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
25394 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
25397 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
25400 inttype_headers=`echo | sed -e 's/,/ /g'`
25402 ac_cv_stdint_result="(no helpful system typedefs seen)"
25404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
25405 $as_echo_n "checking for stdint uintptr_t... " >&6; }
25406 if ${ac_cv_header_stdint_x+:} false; then :
25407 $as_echo_n "(cached) " >&6
25410 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
25411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
25412 $as_echo "(..)" >&6; }
25413 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers
25415 unset ac_cv_type_uintptr_t
25416 unset ac_cv_type_uint64_t
25417 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
25419 if test "x$ac_cv_type_uintptr_t" = xyes; then :
25420 ac_cv_header_stdint_x=$i
25425 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
25427 if test "x$ac_cv_type_uint64_t" = xyes; then :
25433 ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
25436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
25437 $as_echo_n "checking for stdint uintptr_t... " >&6; }
25440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
25441 $as_echo "$ac_cv_header_stdint_x" >&6; }
25444 if test "_$ac_cv_header_stdint_x" = "_" ; then
25446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
25447 $as_echo_n "checking for stdint uint32_t... " >&6; }
25448 if ${ac_cv_header_stdint_o+:} false; then :
25449 $as_echo_n "(cached) " >&6
25452 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
25453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
25454 $as_echo "(..)" >&6; }
25455 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers
25457 unset ac_cv_type_uint32_t
25458 unset ac_cv_type_uint64_t
25459 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
25461 if test "x$ac_cv_type_uint32_t" = xyes; then :
25462 ac_cv_header_stdint_o=$i
25467 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
25469 if test "x$ac_cv_type_uint64_t" = xyes; then :
25475 ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
25479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
25480 $as_echo_n "checking for stdint uint32_t... " >&6; }
25483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
25484 $as_echo "$ac_cv_header_stdint_o" >&6; }
25488 if test "_$ac_cv_header_stdint_x" = "_" ; then
25489 if test "_$ac_cv_header_stdint_o" = "_" ; then
25491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
25492 $as_echo_n "checking for stdint u_int32_t... " >&6; }
25493 if ${ac_cv_header_stdint_u+:} false; then :
25494 $as_echo_n "(cached) " >&6
25497 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
25498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
25499 $as_echo "(..)" >&6; }
25500 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
25501 unset ac_cv_type_u_int32_t
25502 unset ac_cv_type_u_int64_t
25503 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
25505 if test "x$ac_cv_type_u_int32_t" = xyes; then :
25506 ac_cv_header_stdint_u=$i
25511 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
25513 if test "x$ac_cv_type_u_int64_t" = xyes; then :
25519 ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
25523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
25524 $as_echo_n "checking for stdint u_int32_t... " >&6; }
25527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
25528 $as_echo "$ac_cv_header_stdint_u" >&6; }
25532 if test "_$ac_cv_header_stdint_x" = "_" ; then
25533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
25534 $as_echo_n "checking for stdint datatype model... " >&6; }
25535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
25536 $as_echo "(..)" >&6; }
25538 # The cast to long int works around a bug in the HP C Compiler
25539 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25540 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25541 # This bug is HP SR number 8606223364.
25542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
25543 $as_echo_n "checking size of char... " >&6; }
25544 if ${ac_cv_sizeof_char+:} false; then :
25545 $as_echo_n "(cached) " >&6
25547 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
25550 if test "$ac_cv_type_char" = yes; then
25551 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25553 as_fn_error 77 "cannot compute sizeof (char)
25554 See \`config.log' for more details" "$LINENO" 5; }
25556 ac_cv_sizeof_char=0
25561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
25562 $as_echo "$ac_cv_sizeof_char" >&6; }
25566 cat >>confdefs.h <<_ACEOF
25567 #define SIZEOF_CHAR $ac_cv_sizeof_char
25571 # The cast to long int works around a bug in the HP C Compiler
25572 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25573 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25574 # This bug is HP SR number 8606223364.
25575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
25576 $as_echo_n "checking size of short... " >&6; }
25577 if ${ac_cv_sizeof_short+:} false; then :
25578 $as_echo_n "(cached) " >&6
25580 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
25583 if test "$ac_cv_type_short" = yes; then
25584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25586 as_fn_error 77 "cannot compute sizeof (short)
25587 See \`config.log' for more details" "$LINENO" 5; }
25589 ac_cv_sizeof_short=0
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
25595 $as_echo "$ac_cv_sizeof_short" >&6; }
25599 cat >>confdefs.h <<_ACEOF
25600 #define SIZEOF_SHORT $ac_cv_sizeof_short
25604 # The cast to long int works around a bug in the HP C Compiler
25605 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25606 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25607 # This bug is HP SR number 8606223364.
25608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
25609 $as_echo_n "checking size of int... " >&6; }
25610 if ${ac_cv_sizeof_int+:} false; then :
25611 $as_echo_n "(cached) " >&6
25613 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
25616 if test "$ac_cv_type_int" = yes; then
25617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25619 as_fn_error 77 "cannot compute sizeof (int)
25620 See \`config.log' for more details" "$LINENO" 5; }
25627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
25628 $as_echo "$ac_cv_sizeof_int" >&6; }
25632 cat >>confdefs.h <<_ACEOF
25633 #define SIZEOF_INT $ac_cv_sizeof_int
25637 # The cast to long int works around a bug in the HP C Compiler
25638 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25639 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25640 # This bug is HP SR number 8606223364.
25641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
25642 $as_echo_n "checking size of long... " >&6; }
25643 if ${ac_cv_sizeof_long+:} false; then :
25644 $as_echo_n "(cached) " >&6
25646 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
25649 if test "$ac_cv_type_long" = yes; then
25650 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25651 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25652 as_fn_error 77 "cannot compute sizeof (long)
25653 See \`config.log' for more details" "$LINENO" 5; }
25655 ac_cv_sizeof_long=0
25660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
25661 $as_echo "$ac_cv_sizeof_long" >&6; }
25665 cat >>confdefs.h <<_ACEOF
25666 #define SIZEOF_LONG $ac_cv_sizeof_long
25670 # The cast to long int works around a bug in the HP C Compiler
25671 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25672 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25673 # This bug is HP SR number 8606223364.
25674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
25675 $as_echo_n "checking size of void*... " >&6; }
25676 if ${ac_cv_sizeof_voidp+:} false; then :
25677 $as_echo_n "(cached) " >&6
25679 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
25682 if test "$ac_cv_type_voidp" = yes; then
25683 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25684 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25685 as_fn_error 77 "cannot compute sizeof (void*)
25686 See \`config.log' for more details" "$LINENO" 5; }
25688 ac_cv_sizeof_voidp=0
25693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
25694 $as_echo "$ac_cv_sizeof_voidp" >&6; }
25698 cat >>confdefs.h <<_ACEOF
25699 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
25703 ac_cv_char_data_model=""
25704 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
25705 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
25706 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
25707 ac_cv_long_data_model=""
25708 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
25709 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
25710 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
25711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
25712 $as_echo_n "checking data model... " >&6; }
25713 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
25714 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
25715 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
25716 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
25717 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
25718 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
25719 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
25720 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
25721 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
25722 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
25723 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
25724 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
25725 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
25726 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
25727 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
25728 222/*|333/*|444/*|666/*|888/*) :
25729 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
25730 *) ac_cv_data_model="none" ; n="very unusual model" ;;
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
25733 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
25737 if test "_$ac_cv_header_stdint_x" != "_" ; then
25738 ac_cv_header_stdint="$ac_cv_header_stdint_x"
25739 elif test "_$ac_cv_header_stdint_o" != "_" ; then
25740 ac_cv_header_stdint="$ac_cv_header_stdint_o"
25741 elif test "_$ac_cv_header_stdint_u" != "_" ; then
25742 ac_cv_header_stdint="$ac_cv_header_stdint_u"
25744 ac_cv_header_stdint="stddef.h"
25747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
25748 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
25749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
25750 $as_echo "($ac_cv_header_stdint)" >&6; }
25751 unset ac_cv_type_int_least32_t
25752 unset ac_cv_type_int_fast32_t
25753 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
25755 if test "x$ac_cv_type_int_least32_t" = xyes; then :
25759 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
25761 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
25765 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
25767 if test "x$ac_cv_type_intmax_t" = xyes; then :
25772 fi # shortcircut to system "stdint.h"
25773 # ------------------ PREPARE VARIABLES ------------------------------
25774 if test "$GCC" = "yes" ; then
25775 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
25777 ac_cv_stdint_message="using $CC"
25780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
25781 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
25783 # ----------------- DONE inttypes.h checks START header -------------
25784 ac_config_commands="$ac_config_commands $ac_stdint_h"
25788 enable_subunit=false
25790 if test xfalse = x"$enable_subunit"; then
25797 cat >>confdefs.h <<_ACEOF
25798 #define ENABLE_SUBUNIT $ENABLE_SUBUNIT
25802 if test x"$enable_subunit" != "xfalse"; then
25813 ac_config_files="$ac_config_files Makefile gst/Makefile gst/gstconfig.h gst/gstversion.h gst/parse/Makefile libs/Makefile libs/gst/Makefile libs/gst/base/Makefile libs/gst/check/Makefile libs/gst/check/libcheck/Makefile libs/gst/check/libcheck/check.h libs/gst/controller/Makefile libs/gst/dataprotocol/Makefile libs/gst/helpers/Makefile libs/gst/net/Makefile plugins/Makefile plugins/indexers/Makefile plugins/elements/Makefile po/Makefile.in tests/Makefile tests/benchmarks/Makefile tests/check/Makefile tests/misc/Makefile tests/examples/Makefile tests/examples/adapter/Makefile tests/examples/controller/Makefile tests/examples/stepping/Makefile tests/examples/helloworld/Makefile tests/examples/launch/Makefile tests/examples/manual/Makefile tests/examples/metadata/Makefile tests/examples/queue/Makefile tests/examples/streams/Makefile tests/examples/typefind/Makefile tools/Makefile common/Makefile common/m4/Makefile docs/Makefile docs/design/Makefile docs/faq/Makefile docs/gst/Makefile docs/gst/gstreamer.types docs/libs/Makefile docs/plugins/Makefile docs/manual/Makefile docs/pwg/Makefile docs/slides/Makefile docs/xsl/Makefile docs/version.entities m4/Makefile pkgconfig/Makefile stamp.h pkgconfig/gstreamer.pc pkgconfig/gstreamer-uninstalled.pc pkgconfig/gstreamer-base.pc pkgconfig/gstreamer-base-uninstalled.pc pkgconfig/gstreamer-check.pc pkgconfig/gstreamer-check-uninstalled.pc pkgconfig/gstreamer-controller.pc pkgconfig/gstreamer-controller-uninstalled.pc pkgconfig/gstreamer-dataprotocol.pc pkgconfig/gstreamer-dataprotocol-uninstalled.pc pkgconfig/gstreamer-net.pc pkgconfig/gstreamer-net-uninstalled.pc gst-element-check.m4 gstreamer.spec"
25817 -e 's/.*config.h.in.*autoheader.*/\/* Autogenerated config.h created for win32 Visual Studio builds *\/\n\n\/* PREFIX -- specifically added for Windows for easier moving *\/\n#define PREFIX "C:\\\\gstreamer"/' \
25818 -e 's/.* GETTEXT_PACKAGE$/#define GETTEXT_PACKAGE "'$GETTEXT_PACKAGE'"/' \
25819 -e 's/.* GST_DATADIR$/#define GST_DATADIR PREFIX "\\\\share"/' \
25820 -e 's/.* GST_LEVEL_DEFAULT$/#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR/' \
25821 -e 's/.* GST_LICENSE$/#define GST_LICENSE "'$GST_LICENSE'"/' \
25822 -e 's/.* GST_MAJORMINOR$/#define GST_MAJORMINOR "'$GST_MAJORMINOR'"/' \
25823 -e "s,.* GST_PACKAGE_NAME$,#define GST_PACKAGE_NAME \"${GST_PACKAGE_NAME}\"," \
25824 -e 's/.* GST_PACKAGE_ORIGIN$/#define GST_PACKAGE_ORIGIN "Unknown package origin"/' \
25825 -e "s,.* GST_PACKAGE_RELEASE_DATETIME$,#define GST_PACKAGE_RELEASE_DATETIME \"${GST_PACKAGE_RELEASE_DATETIME}\"," \
25826 -e 's/.* HAVE_CPU_I386$/#define HAVE_CPU_I386 1/' \
25827 -e 's/.* HAVE_FGETPOS$/#define HAVE_FGETPOS 1/' \
25828 -e 's/.* HAVE_FSETPOS$/#define HAVE_FSETPOS 1/' \
25829 -e 's/.* HAVE_LIBXML2$/#define HAVE_LIBXML2 1/' \
25830 -e 's/.* HAVE_PROCESS_H$/#define HAVE_PROCESS_H 1/' \
25831 -e 's/.* HAVE_STDLIB_H$/#define HAVE_STDLIB_H 1/' \
25832 -e 's/.* HAVE_STRING_H$/#define HAVE_STRING_H 1/' \
25833 -e 's/.* HAVE_SYS_STAT_H$/#define HAVE_SYS_STAT_H 1/' \
25834 -e 's/.* HAVE_SYS_TYPES_H$/#define HAVE_SYS_TYPES_H 1/' \
25835 -e 's/.* HAVE_WIN32$/#define HAVE_WIN32 1/' \
25836 -e 's/.* HAVE_WINSOCK2_H$/#define HAVE_WINSOCK2_H 1/' \
25837 -e 's/.* HOST_CPU$/#define HOST_CPU "i686"/' \
25838 -e 's/.* BUFFER_ALIGNMENT_MALLOC/#define BUFFER_ALIGNMENT_MALLOC 1/' \
25839 -e 's/.* LIBDIR$/#ifdef _DEBUG\n# define LIBDIR PREFIX "\\\\debug\\\\lib"\n#else\n# define LIBDIR PREFIX "\\\\lib"\n#endif/' \
25840 -e 's/.* LOCALEDIR$/#define LOCALEDIR PREFIX "\\\\share\\\\locale"/' \
25841 -e 's/.* PACKAGE$/#define PACKAGE "gstreamer"/' \
25842 -e 's/.* PACKAGE_BUGREPORT$/#define PACKAGE_BUGREPORT "http:\/\/bugzilla.gnome.org\/enter_bug.cgi?product=GStreamer"/' \
25843 -e 's/.* PACKAGE_NAME$/#define PACKAGE_NAME "'$PACKAGE_NAME'"/' \
25844 -e "s/.* PACKAGE_STRING$/#define PACKAGE_STRING \"$PACKAGE_STRING\"/" \
25845 -e 's/.* PACKAGE_TARNAME$/#define PACKAGE_TARNAME "'$PACKAGE_TARNAME'"/' \
25846 -e 's/.* PACKAGE_VERSION$/#define PACKAGE_VERSION "'$PACKAGE_VERSION'"/' \
25847 -e 's/.* PLUGINDIR$/#ifdef _DEBUG\n# define PLUGINDIR PREFIX "\\\\debug\\\\lib\\\\gstreamer-0.10"\n#else\n# define PLUGINDIR PREFIX "\\\\lib\\\\gstreamer-0.10"\n#endif/' \
25848 -e 's/.* GST_PLUGIN_SCANNER_INSTALLED$/#define GST_PLUGIN_SCANNER_INSTALLED LIBDIR "\\\\gst-plugin-scanner"/' \
25849 -e 's/.* VERSION$/#define VERSION "'$VERSION'"/' \
25850 config.h.in >win32/common/config.h-new
25852 cat >confcache <<\_ACEOF
25853 # This file is a shell script that caches the results of configure
25854 # tests run on this system so they can be shared between configure
25855 # scripts and configure runs, see configure's option --config-cache.
25856 # It is not useful on other systems. If it contains results you don't
25857 # want to keep, you may remove or edit it.
25859 # config.status only pays attention to the cache file if you give it
25860 # the --recheck option to rerun configure.
25862 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25863 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25864 # following values.
25868 # The following way of writing the cache mishandles newlines in values,
25869 # but we know of no workaround that is simple, portable, and efficient.
25870 # So, we kill variables containing newlines.
25871 # Ultrix sh set writes to stderr and can't be redirected directly,
25872 # and sets the high bit in the cache file unless we assign to the vars.
25874 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25875 eval ac_val=\$$ac_var
25879 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25880 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25883 _ | IFS | as_nl) ;; #(
25884 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25885 *) { eval $ac_var=; unset $ac_var;} ;;
25891 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25892 *${as_nl}ac_space=\ *)
25893 # `set' does not quote correctly, so add quotes: double-quote
25894 # substitution turns \\\\ into \\, and sed turns \\ into \.
25897 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25900 # `set' quotes correctly as required by POSIX, so do not add quotes.
25901 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25910 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25912 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25914 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25915 if test -w "$cache_file"; then
25916 if test "x$cache_file" != "x/dev/null"; then
25917 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25918 $as_echo "$as_me: updating cache $cache_file" >&6;}
25919 if test ! -f "$cache_file" || test -h "$cache_file"; then
25920 cat confcache >"$cache_file"
25922 case $cache_file in #(
25924 mv -f confcache "$cache_file"$$ &&
25925 mv -f "$cache_file"$$ "$cache_file" ;; #(
25927 mv -f confcache "$cache_file" ;;
25932 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25933 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25938 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25939 # Let make expand exec_prefix.
25940 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25942 DEFS=-DHAVE_CONFIG_H
25947 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25948 # 1. Remove the extension, and $U if already installed.
25949 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25950 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25951 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25952 # will be set to the directory where LIBOBJS objects are built.
25953 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25954 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25956 LIBOBJS=$ac_libobjs
25958 LTLIBOBJS=$ac_ltlibobjs
25961 if test -n "$EXEEXT"; then
25963 am__EXEEXT_FALSE='#'
25965 am__EXEEXT_TRUE='#'
25969 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
25970 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
25971 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25973 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
25974 as_fn_error $? "conditional \"AMDEP\" was never defined.
25975 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25977 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
25978 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
25979 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25981 if test -z "${GST_DISABLE_GST_DEBUG_TRUE}" && test -z "${GST_DISABLE_GST_DEBUG_FALSE}"; then
25982 as_fn_error $? "conditional \"GST_DISABLE_GST_DEBUG\" was never defined.
25983 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25985 if test -z "${GST_DISABLE_LOADSAVE_TRUE}" && test -z "${GST_DISABLE_LOADSAVE_FALSE}"; then
25986 as_fn_error $? "conditional \"GST_DISABLE_LOADSAVE\" was never defined.
25987 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25989 if test -z "${GST_DISABLE_PARSE_TRUE}" && test -z "${GST_DISABLE_PARSE_FALSE}"; then
25990 as_fn_error $? "conditional \"GST_DISABLE_PARSE\" was never defined.
25991 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25993 if test -z "${GST_DISABLE_OPTION_PARSING_TRUE}" && test -z "${GST_DISABLE_OPTION_PARSING_FALSE}"; then
25994 as_fn_error $? "conditional \"GST_DISABLE_OPTION_PARSING\" was never defined.
25995 Usually this means the macro was only invoked conditionally." "$LINENO" 5
25997 if test -z "${GST_DISABLE_TRACE_TRUE}" && test -z "${GST_DISABLE_TRACE_FALSE}"; then
25998 as_fn_error $? "conditional \"GST_DISABLE_TRACE\" was never defined.
25999 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26001 if test -z "${GST_DISABLE_ALLOC_TRACE_TRUE}" && test -z "${GST_DISABLE_ALLOC_TRACE_FALSE}"; then
26002 as_fn_error $? "conditional \"GST_DISABLE_ALLOC_TRACE\" was never defined.
26003 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26005 if test -z "${GST_DISABLE_REGISTRY_TRUE}" && test -z "${GST_DISABLE_REGISTRY_FALSE}"; then
26006 as_fn_error $? "conditional \"GST_DISABLE_REGISTRY\" was never defined.
26007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26009 if test -z "${GST_DISABLE_NET_TRUE}" && test -z "${GST_DISABLE_NET_FALSE}"; then
26010 as_fn_error $? "conditional \"GST_DISABLE_NET\" was never defined.
26011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26013 if test -z "${GST_DISABLE_PLUGIN_TRUE}" && test -z "${GST_DISABLE_PLUGIN_FALSE}"; then
26014 as_fn_error $? "conditional \"GST_DISABLE_PLUGIN\" was never defined.
26015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26017 if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
26018 as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
26019 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26021 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
26022 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
26023 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26025 if test -z "${BUILD_TESTS_TRUE}" && test -z "${BUILD_TESTS_FALSE}"; then
26026 as_fn_error $? "conditional \"BUILD_TESTS\" was never defined.
26027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26029 if test -z "${BUILD_FAILING_TESTS_TRUE}" && test -z "${BUILD_FAILING_TESTS_FALSE}"; then
26030 as_fn_error $? "conditional \"BUILD_FAILING_TESTS\" was never defined.
26031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26034 if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then
26035 as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined.
26036 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26038 if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then
26039 as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined.
26040 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26042 if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then
26043 as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined.
26044 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26046 if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then
26047 as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined.
26048 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26050 if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then
26051 as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined.
26052 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26054 if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then
26055 as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined.
26056 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26058 if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then
26059 as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined.
26060 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26062 if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then
26063 as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined.
26064 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26066 if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then
26067 as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined.
26068 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26070 if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then
26071 as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined.
26072 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26074 if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then
26075 as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined.
26076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26078 if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then
26079 as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined.
26080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26082 if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then
26083 as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined.
26084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26086 if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then
26087 as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined.
26088 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26090 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26091 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
26092 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26094 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
26095 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
26096 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26098 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26099 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
26100 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26102 if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then
26103 as_fn_error $? "conditional \"HAVE_CXX\" was never defined.
26104 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26106 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
26107 as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
26108 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26110 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
26111 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
26112 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26114 if test -z "${ENABLE_DOCBOOK_TRUE}" && test -z "${ENABLE_DOCBOOK_FALSE}"; then
26115 as_fn_error $? "conditional \"ENABLE_DOCBOOK\" was never defined.
26116 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26118 if test -z "${DOC_HTML_TRUE}" && test -z "${DOC_HTML_FALSE}"; then
26119 as_fn_error $? "conditional \"DOC_HTML\" was never defined.
26120 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26122 if test -z "${DOC_PDF_TRUE}" && test -z "${DOC_PDF_FALSE}"; then
26123 as_fn_error $? "conditional \"DOC_PDF\" was never defined.
26124 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26126 if test -z "${DOC_PS_TRUE}" && test -z "${DOC_PS_FALSE}"; then
26127 as_fn_error $? "conditional \"DOC_PS\" was never defined.
26128 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26130 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
26131 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
26132 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26134 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
26135 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
26136 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26138 if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
26139 as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
26140 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26142 if test -z "${HAVE_SYS_SOCKET_H_TRUE}" && test -z "${HAVE_SYS_SOCKET_H_FALSE}"; then
26143 as_fn_error $? "conditional \"HAVE_SYS_SOCKET_H\" was never defined.
26144 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26146 if test -z "${HAVE_SYS_TIMES_H_AND_UNISTD_H_TRUE}" && test -z "${HAVE_SYS_TIMES_H_AND_UNISTD_H_FALSE}"; then
26147 as_fn_error $? "conditional \"HAVE_SYS_TIMES_H_AND_UNISTD_H\" was never defined.
26148 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26150 if test -z "${HAVE_PTHREAD_H_TRUE}" && test -z "${HAVE_PTHREAD_H_FALSE}"; then
26151 as_fn_error $? "conditional \"HAVE_PTHREAD_H\" was never defined.
26152 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26154 if test -z "${HAVE_WINSOCK2_H_TRUE}" && test -z "${HAVE_WINSOCK2_H_FALSE}"; then
26155 as_fn_error $? "conditional \"HAVE_WINSOCK2_H\" was never defined.
26156 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26158 if test -z "${HAVE_MMAP_TRUE}" && test -z "${HAVE_MMAP_FALSE}"; then
26159 as_fn_error $? "conditional \"HAVE_MMAP\" was never defined.
26160 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26162 if test -z "${GST_HAVE_POSIX_TIMERS_TRUE}" && test -z "${GST_HAVE_POSIX_TIMERS_FALSE}"; then
26163 as_fn_error $? "conditional \"GST_HAVE_POSIX_TIMERS\" was never defined.
26164 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26166 if test -z "${GST_HAVE_MONOTONIC_CLOCK_TRUE}" && test -z "${GST_HAVE_MONOTONIC_CLOCK_FALSE}"; then
26167 as_fn_error $? "conditional \"GST_HAVE_MONOTONIC_CLOCK\" was never defined.
26168 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26170 if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then
26171 as_fn_error $? "conditional \"HAVE_CHECK\" was never defined.
26172 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26174 if test -z "${SUBUNIT_TRUE}" && test -z "${SUBUNIT_FALSE}"; then
26175 as_fn_error $? "conditional \"SUBUNIT\" was never defined.
26176 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26179 : "${CONFIG_STATUS=./config.status}"
26181 ac_clean_files_save=$ac_clean_files
26182 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26183 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26184 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26186 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26188 # Generated by $as_me.
26189 # Run this file to recreate the current configuration.
26190 # Compiler output produced by configure, useful for debugging
26191 # configure, is in config.log if it exists.
26194 ac_cs_recheck=false
26197 SHELL=\${CONFIG_SHELL-$SHELL}
26200 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26201 ## -------------------- ##
26202 ## M4sh Initialization. ##
26203 ## -------------------- ##
26205 # Be more Bourne compatible
26206 DUALCASE=1; export DUALCASE # for MKS sh
26207 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26210 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26211 # is contrary to our usage. Disable this feature.
26212 alias -g '${1+"$@"}'='"$@"'
26213 setopt NO_GLOB_SUBST
26215 case `(set -o) 2>/dev/null` in #(
26227 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26228 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26229 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26230 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26231 # Prefer a ksh shell builtin over an external printf program on Solaris,
26232 # but without wasting forks for bash or zsh.
26233 if test -z "$BASH_VERSION$ZSH_VERSION" \
26234 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26235 as_echo='print -r --'
26236 as_echo_n='print -rn --'
26237 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26238 as_echo='printf %s\n'
26239 as_echo_n='printf %s'
26241 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26242 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26243 as_echo_n='/usr/ucb/echo -n'
26245 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26246 as_echo_n_body='eval
26250 expr "X$arg" : "X\\(.*\\)$as_nl";
26251 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26253 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26255 export as_echo_n_body
26256 as_echo_n='sh -c $as_echo_n_body as_echo'
26258 export as_echo_body
26259 as_echo='sh -c $as_echo_body as_echo'
26262 # The user is always right.
26263 if test "${PATH_SEPARATOR+set}" != set; then
26265 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26266 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26273 # We need space, tab and new line, in precisely that order. Quoting is
26274 # there to prevent editors from complaining about space-tab.
26275 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26276 # splitting by setting IFS to empty value.)
26279 # Find who we are. Look in the path if we contain no directory separator.
26282 *[\\/]* ) as_myself=$0 ;;
26283 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26284 for as_dir in $PATH
26287 test -z "$as_dir" && as_dir=.
26288 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26294 # We did not find ourselves, most probably we were run as `sh COMMAND'
26295 # in which case we are not to be found in the path.
26296 if test "x$as_myself" = x; then
26299 if test ! -f "$as_myself"; then
26300 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26304 # Unset variables that we do not need and which cause bugs (e.g. in
26305 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26306 # suppresses any "Segmentation fault" message there. '((' could
26307 # trigger a bug in pdksh 5.2.14.
26308 for as_var in BASH_ENV ENV MAIL MAILPATH
26309 do eval test x\${$as_var+set} = xset \
26310 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26323 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26326 # as_fn_error STATUS ERROR [LINENO LOG_FD]
26327 # ----------------------------------------
26328 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26329 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26330 # script with STATUS, using 1 if that was 0.
26333 as_status=$1; test $as_status -eq 0 && as_status=1
26335 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26336 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
26338 $as_echo "$as_me: error: $2" >&2
26339 as_fn_exit $as_status
26343 # as_fn_set_status STATUS
26344 # -----------------------
26345 # Set $? to STATUS, without forking.
26346 as_fn_set_status ()
26349 } # as_fn_set_status
26351 # as_fn_exit STATUS
26352 # -----------------
26353 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26357 as_fn_set_status $1
26363 # Portably unset VAR.
26366 { eval $1=; unset $1;}
26368 as_unset=as_fn_unset
26369 # as_fn_append VAR VALUE
26370 # ----------------------
26371 # Append the text in VALUE to the end of the definition contained in VAR. Take
26372 # advantage of any shell optimizations that allow amortized linear growth over
26373 # repeated appends, instead of the typical quadratic growth present in naive
26375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26376 eval 'as_fn_append ()
26387 # as_fn_arith ARG...
26388 # ------------------
26389 # Perform arithmetic evaluation on the ARGs, and store the result in the
26390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26391 # must be portable across $(()) and expr.
26392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26393 eval 'as_fn_arith ()
26400 as_val=`expr "$@" || test $? -eq 1`
26405 if expr a : '\(a\)' >/dev/null 2>&1 &&
26406 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26412 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26413 as_basename=basename
26418 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26424 as_me=`$as_basename -- "$0" ||
26425 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26426 X"$0" : 'X\(//\)$' \| \
26427 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26429 sed '/^.*\/\([^/][^/]*\)\/*$/{
26443 # Avoid depending upon Character Ranges.
26444 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26445 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26446 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26447 as_cr_digits='0123456789'
26448 as_cr_alnum=$as_cr_Letters$as_cr_digits
26450 ECHO_C= ECHO_N= ECHO_T=
26451 case `echo -n x` in #(((((
26453 case `echo 'xy\c'` in
26454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
26463 rm -f conf$$ conf$$.exe conf$$.file
26464 if test -d conf$$.dir; then
26465 rm -f conf$$.dir/conf$$.file
26468 mkdir conf$$.dir 2>/dev/null
26470 if (echo >conf$$.file) 2>/dev/null; then
26471 if ln -s conf$$.file conf$$ 2>/dev/null; then
26473 # ... but there are two gotchas:
26474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26476 # In both cases, we have to default to `cp -p'.
26477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26479 elif ln conf$$.file conf$$ 2>/dev/null; then
26487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26488 rmdir conf$$.dir 2>/dev/null
26493 # Create "$as_dir" as a directory, including parents if necessary.
26498 -*) as_dir=./$as_dir;;
26500 test -d "$as_dir" || eval $as_mkdir_p || {
26504 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26505 *) as_qdir=$as_dir;;
26507 as_dirs="'$as_qdir' $as_dirs"
26508 as_dir=`$as_dirname -- "$as_dir" ||
26509 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26510 X"$as_dir" : 'X\(//\)[^/]' \| \
26511 X"$as_dir" : 'X\(//\)$' \| \
26512 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26513 $as_echo X"$as_dir" |
26514 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26518 /^X\(\/\/\)[^/].*/{
26531 test -d "$as_dir" && break
26533 test -z "$as_dirs" || eval "mkdir $as_dirs"
26534 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
26538 if mkdir -p . 2>/dev/null; then
26539 as_mkdir_p='mkdir -p "$as_dir"'
26541 test -d ./-p && rmdir ./-p
26545 if test -x / >/dev/null 2>&1; then
26546 as_test_x='test -x'
26548 if ls -dL / >/dev/null 2>&1; then
26555 if test -d "$1"; then
26561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
26562 ???[sx]*):;;*)false;;esac;fi
26566 as_executable_p=$as_test_x
26568 # Sed expression to map a string onto a valid CPP name.
26569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26571 # Sed expression to map a string onto a valid variable name.
26572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26576 ## ----------------------------------- ##
26577 ## Main body of $CONFIG_STATUS script. ##
26578 ## ----------------------------------- ##
26580 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26583 # Save the log message, to keep $0 and so on meaningful, and to
26584 # report actual input values of CONFIG_FILES etc. instead of their
26585 # values after options handling.
26587 This file was extended by GStreamer $as_me 0.10.36, which was
26588 generated by GNU Autoconf 2.68. Invocation command line was
26590 CONFIG_FILES = $CONFIG_FILES
26591 CONFIG_HEADERS = $CONFIG_HEADERS
26592 CONFIG_LINKS = $CONFIG_LINKS
26593 CONFIG_COMMANDS = $CONFIG_COMMANDS
26596 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26601 case $ac_config_files in *"
26602 "*) set x $ac_config_files; shift; ac_config_files=$*;;
26605 case $ac_config_headers in *"
26606 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26610 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26611 # Files that config.status was made for.
26612 config_files="$ac_config_files"
26613 config_headers="$ac_config_headers"
26614 config_commands="$ac_config_commands"
26618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26620 \`$as_me' instantiates files and other configuration actions
26621 from templates according to the current configuration. Unless the files
26622 and actions are specified as TAGs, all are instantiated by default.
26624 Usage: $0 [OPTION]... [TAG]...
26626 -h, --help print this help, then exit
26627 -V, --version print version number and configuration settings, then exit
26628 --config print configuration, then exit
26629 -q, --quiet, --silent
26630 do not print progress messages
26631 -d, --debug don't remove temporary files
26632 --recheck update $as_me by reconfiguring in the same conditions
26633 --file=FILE[:TEMPLATE]
26634 instantiate the configuration file FILE
26635 --header=FILE[:TEMPLATE]
26636 instantiate the configuration header FILE
26638 Configuration files:
26641 Configuration headers:
26644 Configuration commands:
26647 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
26650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26651 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
26653 GStreamer config.status 0.10.36
26654 configured by $0, generated by GNU Autoconf 2.68,
26655 with options \\"\$ac_cs_config\\"
26657 Copyright (C) 2010 Free Software Foundation, Inc.
26658 This config.status script is free software; the Free Software Foundation
26659 gives unlimited permission to copy, distribute and modify it."
26666 test -n "\$AWK" || AWK=awk
26669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26670 # The default lists apply if the user does not specify any file.
26676 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26677 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26681 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26693 # Handling of the options.
26694 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26696 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26697 $as_echo "$ac_cs_version"; exit ;;
26698 --config | --confi | --conf | --con | --co | --c )
26699 $as_echo "$ac_cs_config"; exit ;;
26700 --debug | --debu | --deb | --de | --d | -d )
26702 --file | --fil | --fi | --f )
26705 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26706 '') as_fn_error $? "missing file argument" ;;
26708 as_fn_append CONFIG_FILES " '$ac_optarg'"
26709 ac_need_defaults=false;;
26710 --header | --heade | --head | --hea )
26713 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26715 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26716 ac_need_defaults=false;;
26718 # Conflict between --help and --header
26719 as_fn_error $? "ambiguous option: \`$1'
26720 Try \`$0 --help' for more information.";;
26721 --help | --hel | -h )
26722 $as_echo "$ac_cs_usage"; exit ;;
26723 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26724 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26727 # This is an error.
26728 -*) as_fn_error $? "unrecognized option: \`$1'
26729 Try \`$0 --help' for more information." ;;
26731 *) as_fn_append ac_config_targets " $1"
26732 ac_need_defaults=false ;;
26738 ac_configure_extra_args=
26740 if $ac_cs_silent; then
26742 ac_configure_extra_args="$ac_configure_extra_args --silent"
26746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26747 if \$ac_cs_recheck; then
26748 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26750 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26751 CONFIG_SHELL='$SHELL'
26752 export CONFIG_SHELL
26757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26761 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26762 ## Running $as_me. ##
26768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26772 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26775 # The HP-UX ksh and POSIX shell print the target directory to stdout
26776 # if CDPATH is set.
26777 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26779 sed_quote_subst='$sed_quote_subst'
26780 double_quote_subst='$double_quote_subst'
26781 delay_variable_subst='$delay_variable_subst'
26782 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
26783 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
26784 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26785 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26786 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26787 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26788 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26789 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26790 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26791 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26792 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26793 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
26794 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26795 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26796 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26797 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26798 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26799 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26800 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26801 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26802 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26803 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26804 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26805 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26806 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26807 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26808 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26809 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26810 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26811 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26812 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26813 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26814 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
26815 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
26816 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26817 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26818 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26819 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26820 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
26821 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
26822 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
26823 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26824 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26825 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
26826 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26827 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26828 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26829 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26830 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26831 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26832 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26833 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26834 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26835 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
26836 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
26837 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
26838 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
26839 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
26840 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
26841 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
26842 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
26843 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
26844 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
26845 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
26846 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
26847 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
26848 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
26849 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
26850 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
26851 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
26852 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26853 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26854 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26855 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26856 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26857 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26858 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26859 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26860 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26861 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26862 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26863 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26864 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26865 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26866 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
26867 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26868 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
26869 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26870 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
26871 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
26872 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
26873 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
26874 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
26875 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
26876 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
26877 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
26878 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
26879 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
26880 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
26881 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
26882 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
26883 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
26884 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
26885 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
26886 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
26887 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
26888 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
26889 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
26890 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
26891 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
26892 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
26893 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
26894 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
26895 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
26896 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
26897 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
26898 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
26899 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
26900 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26901 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26902 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
26903 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26904 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26905 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26906 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
26907 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26908 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26909 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26910 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
26911 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
26912 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
26913 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
26914 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
26915 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
26916 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
26917 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
26918 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
26919 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
26920 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
26921 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26922 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26923 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
26924 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
26925 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
26926 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
26927 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
26928 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
26929 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
26930 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
26931 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
26932 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26933 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26934 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
26935 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26936 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26937 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26938 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26939 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26940 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26941 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
26942 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26943 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26944 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26945 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
26946 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
26947 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
26948 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
26949 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
26950 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
26951 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
26952 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
26953 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
26954 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26955 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26956 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26957 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26958 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26959 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
26960 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
26961 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
26962 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26963 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26964 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
26965 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
26966 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
26969 LTCFLAGS='$LTCFLAGS'
26970 compiler='$compiler_DEFAULT'
26972 # A function that is used when there is no print builtin or printf.
26973 func_fallback_echo ()
26975 eval 'cat <<_LTECHO_EOF
26980 # Quote evaled strings.
26997 deplibs_check_method \
27001 sharedlib_from_linklib_cmd \
27004 archiver_list_spec \
27010 lt_cv_sys_global_symbol_pipe \
27011 lt_cv_sys_global_symbol_to_cdecl \
27012 lt_cv_sys_global_symbol_to_c_name_address \
27013 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27014 nm_file_list_spec \
27015 lt_prog_compiler_no_builtin_flag \
27016 lt_prog_compiler_pic \
27017 lt_prog_compiler_wl \
27018 lt_prog_compiler_static \
27019 lt_cv_prog_compiler_c_o \
27028 export_dynamic_flag_spec \
27029 whole_archive_flag_spec \
27030 compiler_needs_object \
27032 allow_undefined_flag \
27033 no_undefined_flag \
27034 hardcode_libdir_flag_spec \
27035 hardcode_libdir_separator \
27039 variables_saved_for_relink \
27041 library_names_spec \
27043 install_override_mode \
27047 compiler_lib_search_dirs \
27052 compiler_lib_search_path \
27056 lt_prog_compiler_no_builtin_flag_CXX \
27057 lt_prog_compiler_pic_CXX \
27058 lt_prog_compiler_wl_CXX \
27059 lt_prog_compiler_static_CXX \
27060 lt_cv_prog_compiler_c_o_CXX \
27061 export_dynamic_flag_spec_CXX \
27062 whole_archive_flag_spec_CXX \
27063 compiler_needs_object_CXX \
27065 allow_undefined_flag_CXX \
27066 no_undefined_flag_CXX \
27067 hardcode_libdir_flag_spec_CXX \
27068 hardcode_libdir_separator_CXX \
27069 exclude_expsyms_CXX \
27070 include_expsyms_CXX \
27071 file_list_spec_CXX \
27072 compiler_lib_search_dirs_CXX \
27073 predep_objects_CXX \
27074 postdep_objects_CXX \
27077 compiler_lib_search_path_CXX; do
27078 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27079 *[\\\\\\\`\\"\\\$]*)
27080 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27083 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27088 # Double-quote double-evaled strings.
27089 for var in reload_cmds \
27090 old_postinstall_cmds \
27091 old_postuninstall_cmds \
27093 extract_expsyms_cmds \
27094 old_archive_from_new_cmds \
27095 old_archive_from_expsyms_cmds \
27097 archive_expsym_cmds \
27099 module_expsym_cmds \
27100 export_symbols_cmds \
27104 postuninstall_cmds \
27106 sys_lib_search_path_spec \
27107 sys_lib_dlsearch_path_spec \
27109 old_archive_cmds_CXX \
27110 old_archive_from_new_cmds_CXX \
27111 old_archive_from_expsyms_cmds_CXX \
27113 archive_expsym_cmds_CXX \
27115 module_expsym_cmds_CXX \
27116 export_symbols_cmds_CXX \
27118 postlink_cmds_CXX; do
27119 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27120 *[\\\\\\\`\\"\\\$]*)
27121 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27124 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27129 ac_aux_dir='$ac_aux_dir'
27130 xsi_shell='$xsi_shell'
27131 lt_shell_append='$lt_shell_append'
27133 # See if we are running on zsh, and set the options which allow our
27134 # commands through without removal of \ escapes INIT.
27135 if test -n "\${ZSH_VERSION+set}" ; then
27136 setopt NO_GLOB_SUBST
27142 TIMESTAMP='$TIMESTAMP'
27150 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
27151 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
27152 # from automake < 1.5.
27153 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
27154 # Capture the value of LINGUAS because we need it to compute CATALOGS.
27155 LINGUAS="${LINGUAS-%UNSET%}"
27157 # variables for create stdint.h replacement
27160 ac_stdint_h="$ac_stdint_h"
27161 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
27162 ac_cv_stdint_message="$ac_cv_stdint_message"
27163 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
27164 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
27165 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
27166 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
27167 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
27168 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
27169 ac_cv_char_data_model="$ac_cv_char_data_model"
27170 ac_cv_long_data_model="$ac_cv_long_data_model"
27171 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
27172 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
27173 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
27178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27180 # Handling of arguments.
27181 for ac_config_target in $ac_config_targets
27183 case $ac_config_target in
27184 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
27185 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
27186 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27187 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
27188 "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
27189 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27190 "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
27191 "gst/gstconfig.h") CONFIG_FILES="$CONFIG_FILES gst/gstconfig.h" ;;
27192 "gst/gstversion.h") CONFIG_FILES="$CONFIG_FILES gst/gstversion.h" ;;
27193 "gst/parse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/parse/Makefile" ;;
27194 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
27195 "libs/gst/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/Makefile" ;;
27196 "libs/gst/base/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/base/Makefile" ;;
27197 "libs/gst/check/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/check/Makefile" ;;
27198 "libs/gst/check/libcheck/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/check/libcheck/Makefile" ;;
27199 "libs/gst/check/libcheck/check.h") CONFIG_FILES="$CONFIG_FILES libs/gst/check/libcheck/check.h" ;;
27200 "libs/gst/controller/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/controller/Makefile" ;;
27201 "libs/gst/dataprotocol/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/dataprotocol/Makefile" ;;
27202 "libs/gst/helpers/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/helpers/Makefile" ;;
27203 "libs/gst/net/Makefile") CONFIG_FILES="$CONFIG_FILES libs/gst/net/Makefile" ;;
27204 "plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
27205 "plugins/indexers/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/indexers/Makefile" ;;
27206 "plugins/elements/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/elements/Makefile" ;;
27207 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
27208 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
27209 "tests/benchmarks/Makefile") CONFIG_FILES="$CONFIG_FILES tests/benchmarks/Makefile" ;;
27210 "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
27211 "tests/misc/Makefile") CONFIG_FILES="$CONFIG_FILES tests/misc/Makefile" ;;
27212 "tests/examples/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/Makefile" ;;
27213 "tests/examples/adapter/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/adapter/Makefile" ;;
27214 "tests/examples/controller/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/controller/Makefile" ;;
27215 "tests/examples/stepping/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/stepping/Makefile" ;;
27216 "tests/examples/helloworld/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/helloworld/Makefile" ;;
27217 "tests/examples/launch/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/launch/Makefile" ;;
27218 "tests/examples/manual/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/manual/Makefile" ;;
27219 "tests/examples/metadata/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/metadata/Makefile" ;;
27220 "tests/examples/queue/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/queue/Makefile" ;;
27221 "tests/examples/streams/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/streams/Makefile" ;;
27222 "tests/examples/typefind/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/typefind/Makefile" ;;
27223 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
27224 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
27225 "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
27226 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
27227 "docs/design/Makefile") CONFIG_FILES="$CONFIG_FILES docs/design/Makefile" ;;
27228 "docs/faq/Makefile") CONFIG_FILES="$CONFIG_FILES docs/faq/Makefile" ;;
27229 "docs/gst/Makefile") CONFIG_FILES="$CONFIG_FILES docs/gst/Makefile" ;;
27230 "docs/gst/gstreamer.types") CONFIG_FILES="$CONFIG_FILES docs/gst/gstreamer.types" ;;
27231 "docs/libs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libs/Makefile" ;;
27232 "docs/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES docs/plugins/Makefile" ;;
27233 "docs/manual/Makefile") CONFIG_FILES="$CONFIG_FILES docs/manual/Makefile" ;;
27234 "docs/pwg/Makefile") CONFIG_FILES="$CONFIG_FILES docs/pwg/Makefile" ;;
27235 "docs/slides/Makefile") CONFIG_FILES="$CONFIG_FILES docs/slides/Makefile" ;;
27236 "docs/xsl/Makefile") CONFIG_FILES="$CONFIG_FILES docs/xsl/Makefile" ;;
27237 "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
27238 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
27239 "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
27240 "stamp.h") CONFIG_FILES="$CONFIG_FILES stamp.h" ;;
27241 "pkgconfig/gstreamer.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer.pc" ;;
27242 "pkgconfig/gstreamer-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-uninstalled.pc" ;;
27243 "pkgconfig/gstreamer-base.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-base.pc" ;;
27244 "pkgconfig/gstreamer-base-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-base-uninstalled.pc" ;;
27245 "pkgconfig/gstreamer-check.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-check.pc" ;;
27246 "pkgconfig/gstreamer-check-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-check-uninstalled.pc" ;;
27247 "pkgconfig/gstreamer-controller.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-controller.pc" ;;
27248 "pkgconfig/gstreamer-controller-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-controller-uninstalled.pc" ;;
27249 "pkgconfig/gstreamer-dataprotocol.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-dataprotocol.pc" ;;
27250 "pkgconfig/gstreamer-dataprotocol-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-dataprotocol-uninstalled.pc" ;;
27251 "pkgconfig/gstreamer-net.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-net.pc" ;;
27252 "pkgconfig/gstreamer-net-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-net-uninstalled.pc" ;;
27253 "gst-element-check.m4") CONFIG_FILES="$CONFIG_FILES gst-element-check.m4" ;;
27254 "gstreamer.spec") CONFIG_FILES="$CONFIG_FILES gstreamer.spec" ;;
27256 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27261 # If the user did not use the arguments to specify the items to instantiate,
27262 # then the envvar interface is used. Set only those that are not.
27263 # We use the long form for the default assignment because of an extremely
27264 # bizarre bug on SunOS 4.1.3.
27265 if $ac_need_defaults; then
27266 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27267 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27268 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27271 # Have a temporary directory for convenience. Make it in the build tree
27272 # simply because there is no reason against having it here, and in addition,
27273 # creating and moving files from /tmp can sometimes cause problems.
27274 # Hook for its removal unless debugging.
27275 # Note that there is a small window in which the directory will not be cleaned:
27276 # after its creation but before its name has been assigned to `$tmp'.
27280 trap 'exit_status=$?
27281 : "${ac_tmp:=$tmp}"
27282 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
27284 trap 'as_fn_exit 1' 1 2 13 15
27286 # Create a (secure) tmp directory for tmp files.
27289 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27293 tmp=./conf$$-$RANDOM
27294 (umask 077 && mkdir "$tmp")
27295 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
27298 # Set up the scripts for CONFIG_FILES section.
27299 # No need to generate them if there are no CONFIG_FILES.
27300 # This happens for instance with `./config.status config.h'.
27301 if test -n "$CONFIG_FILES"; then
27304 ac_cr=`echo X | tr X '\015'`
27305 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27306 # But we know of no other shell where ac_cr would be empty at this
27307 # point, so we can use a bashism as a fallback.
27308 if test "x$ac_cr" = x; then
27309 eval ac_cr=\$\'\\r\'
27311 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27312 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27315 ac_cs_awk_cr=$ac_cr
27318 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
27323 echo "cat >conf$$subs.awk <<_ACEOF" &&
27324 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27326 } >conf$$subs.sh ||
27327 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
27328 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
27330 for ac_last_try in false false false false false :; do
27331 . ./conf$$subs.sh ||
27332 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
27334 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27335 if test $ac_delim_n = $ac_delim_num; then
27337 elif $ac_last_try; then
27338 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
27340 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27343 rm -f conf$$subs.sh
27345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27346 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
27350 s/^/S["/; s/!.*/"]=/
27360 s/\(.\{148\}\)..*/\1/
27362 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27367 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27374 s/\(.\{148\}\)..*/\1/
27376 s/["\\]/\\&/g; s/^/"/; s/$/"/
27380 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27385 ' <conf$$subs.awk | sed '
27390 ' >>$CONFIG_STATUS || ac_write_fail=1
27391 rm -f conf$$subs.awk
27392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27394 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
27395 for (key in S) S_is_set[key] = 1
27401 nfields = split(line, field, "@")
27403 len = length(field[1])
27404 for (i = 2; i < nfields; i++) {
27406 keylen = length(key)
27407 if (S_is_set[key]) {
27409 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27410 len += length(value) + length(field[++i])
27421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27422 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27423 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27426 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
27427 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
27430 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
27431 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
27432 # trailing colons and then remove the whole line if VPATH becomes empty
27433 # (actually we leave an empty line to preserve line numbers).
27434 if test "x$srcdir" = x.; then
27435 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
27453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27454 fi # test -n "$CONFIG_FILES"
27456 # Set up the scripts for CONFIG_HEADERS section.
27457 # No need to generate them if there are no CONFIG_HEADERS.
27458 # This happens for instance with `./config.status Makefile'.
27459 if test -n "$CONFIG_HEADERS"; then
27460 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
27464 # Transform confdefs.h into an awk script `defines.awk', embedded as
27465 # here-document in config.status, that substitutes the proper values into
27466 # config.h.in to produce config.h.
27468 # Create a delimiter string that does not exist in confdefs.h, to ease
27469 # handling of long lines.
27471 for ac_last_try in false false :; do
27472 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
27473 if test -z "$ac_tt"; then
27475 elif $ac_last_try; then
27476 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
27478 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27482 # For the awk script, D is an array of macro values keyed by name,
27483 # likewise P contains macro parameters if any. Preserve backslash
27484 # newline sequences.
27486 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27488 s/.\{148\}/&'"$ac_delim"'/g
27491 s/^[ ]*#[ ]*define[ ][ ]*/ /
27498 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27500 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
27504 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27505 D["\1"]=" \3\\\\\\n"\\/p
27507 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27512 s/.\{148\}/&'"$ac_delim"'/g
27517 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27520 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27522 ' <confdefs.h | sed '
27523 s/'"$ac_delim"'/"\\\
27524 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27527 for (key in D) D_is_set[key] = 1
27530 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27532 split(line, arg, " ")
27533 if (arg[1] == "#") {
27537 defundef = substr(arg[1], 2)
27540 split(mac1, mac2, "(") #)
27542 prefix = substr(line, 1, index(line, defundef) - 1)
27543 if (D_is_set[macro]) {
27544 # Preserve the white space surrounding the "#".
27545 print prefix "define", macro P[macro] D[macro]
27548 # Replace #undef with comments. This is necessary, for example,
27549 # in the case of _POSIX_SOURCE, which is predefined and required
27550 # on some systems where configure will not decide to define it.
27551 if (defundef == "undef") {
27552 print "/*", prefix defundef, macro, "*/"
27560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27561 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
27562 fi # test -n "$CONFIG_HEADERS"
27565 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27570 :[FHLC]) ac_mode=$ac_tag; continue;;
27572 case $ac_mode$ac_tag in
27574 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
27575 :[FH]-) ac_tag=-:-;;
27576 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27593 -) ac_f="$ac_tmp/stdin";;
27594 *) # Look for the file first in the build tree, then in the source tree
27595 # (if the path is not absolute). The absolute path cannot be DOS-style,
27596 # because $ac_f cannot contain `:'.
27600 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27602 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27604 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27605 as_fn_append ac_file_inputs " '$ac_f'"
27608 # Let's still pretend it is `configure' which instantiates (i.e., don't
27609 # use $as_me), people would be surprised to read:
27610 # /* config.h. Generated by config.status. */
27611 configure_input='Generated from '`
27612 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27614 if test x"$ac_file" != x-; then
27615 configure_input="$ac_file. $configure_input"
27616 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27617 $as_echo "$as_me: creating $ac_file" >&6;}
27619 # Neutralize special characters interpreted by sed in replacement strings.
27620 case $configure_input in #(
27621 *\&* | *\|* | *\\* )
27622 ac_sed_conf_input=`$as_echo "$configure_input" |
27623 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27624 *) ac_sed_conf_input=$configure_input;;
27628 *:-:* | *:-) cat >"$ac_tmp/stdin" \
27629 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
27634 ac_dir=`$as_dirname -- "$ac_file" ||
27635 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27636 X"$ac_file" : 'X\(//\)[^/]' \| \
27637 X"$ac_file" : 'X\(//\)$' \| \
27638 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27639 $as_echo X"$ac_file" |
27640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27644 /^X\(\/\/\)[^/].*/{
27657 as_dir="$ac_dir"; as_fn_mkdir_p
27661 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27663 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27664 # A ".." for each directory in $ac_dir_suffix.
27665 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27666 case $ac_top_builddir_sub in
27667 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27668 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27671 ac_abs_top_builddir=$ac_pwd
27672 ac_abs_builddir=$ac_pwd$ac_dir_suffix
27673 # for backward compatibility:
27674 ac_top_builddir=$ac_top_build_prefix
27677 .) # We are building in place.
27679 ac_top_srcdir=$ac_top_builddir_sub
27680 ac_abs_top_srcdir=$ac_pwd ;;
27681 [\\/]* | ?:[\\/]* ) # Absolute name.
27682 ac_srcdir=$srcdir$ac_dir_suffix;
27683 ac_top_srcdir=$srcdir
27684 ac_abs_top_srcdir=$srcdir ;;
27685 *) # Relative name.
27686 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27687 ac_top_srcdir=$ac_top_build_prefix$srcdir
27688 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27690 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27700 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27701 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27703 ac_MKDIR_P=$MKDIR_P
27705 [\\/$]* | ?:[\\/]* ) ;;
27706 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27711 # If the template does not know about datarootdir, expand it.
27712 # FIXME: This hack should be removed a few years after 2.60.
27713 ac_datarootdir_hack=; ac_datarootdir_seen=
27724 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27725 *datarootdir*) ac_datarootdir_seen=yes;;
27726 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27728 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27731 ac_datarootdir_hack='
27732 s&@datadir@&$datadir&g
27733 s&@docdir@&$docdir&g
27734 s&@infodir@&$infodir&g
27735 s&@localedir@&$localedir&g
27736 s&@mandir@&$mandir&g
27737 s&\\\${datarootdir}&$datarootdir&g' ;;
27741 # Neutralize VPATH when `$srcdir' = `.'.
27742 # Shell code in configure.ac might set extrasub.
27743 # FIXME: do we really want to maintain this feature?
27744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27745 ac_sed_extra="$ac_vpsub
27748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27750 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27751 s|@configure_input@|$ac_sed_conf_input|;t t
27752 s&@top_builddir@&$ac_top_builddir_sub&;t t
27753 s&@top_build_prefix@&$ac_top_build_prefix&;t t
27754 s&@srcdir@&$ac_srcdir&;t t
27755 s&@abs_srcdir@&$ac_abs_srcdir&;t t
27756 s&@top_srcdir@&$ac_top_srcdir&;t t
27757 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27758 s&@builddir@&$ac_builddir&;t t
27759 s&@abs_builddir@&$ac_abs_builddir&;t t
27760 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27761 s&@INSTALL@&$ac_INSTALL&;t t
27762 s&@MKDIR_P@&$ac_MKDIR_P&;t t
27763 $ac_datarootdir_hack
27765 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
27766 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27768 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27769 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
27770 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
27771 "$ac_tmp/out"`; test -z "$ac_out"; } &&
27772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27773 which seems to be undefined. Please make sure it is defined" >&5
27774 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27775 which seems to be undefined. Please make sure it is defined" >&2;}
27777 rm -f "$ac_tmp/stdin"
27779 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
27780 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
27782 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27788 if test x"$ac_file" != x-; then
27790 $as_echo "/* $configure_input */" \
27791 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
27792 } >"$ac_tmp/config.h" \
27793 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27794 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
27795 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27796 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27799 mv "$ac_tmp/config.h" "$ac_file" \
27800 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27803 $as_echo "/* $configure_input */" \
27804 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
27805 || as_fn_error $? "could not create -" "$LINENO" 5
27807 # Compute "$ac_file"'s index in $config_headers.
27810 for _am_header in $config_headers :; do
27811 case $_am_header in
27812 $_am_arg | $_am_arg:* )
27815 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
27818 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27819 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27820 X"$_am_arg" : 'X\(//\)[^/]' \| \
27821 X"$_am_arg" : 'X\(//\)$' \| \
27822 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27823 $as_echo X"$_am_arg" |
27824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27828 /^X\(\/\/\)[^/].*/{
27840 s/.*/./; q'`/stamp-h$_am_stamp_count
27843 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27844 $as_echo "$as_me: executing $ac_file commands" >&6;}
27849 case $ac_file$ac_mode in
27850 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
27851 # Autoconf 2.62 quotes --file arguments for eval, but not when files
27852 # are listed without --file. Let's play safe and only enable the eval
27853 # if we detect the quoting.
27854 case $CONFIG_FILES in
27855 *\'*) eval set x "$CONFIG_FILES" ;;
27856 *) set x $CONFIG_FILES ;;
27861 # Strip MF so we end up with the name of the file.
27862 mf=`echo "$mf" | sed -e 's/:.*$//'`
27863 # Check whether this is an Automake generated Makefile or not.
27864 # We used to match only the files named `Makefile.in', but
27865 # some people rename them; so instead we look at the file content.
27866 # Grep'ing the first line is not enough: some people post-process
27867 # each Makefile.in and add a new line on top of each file to say so.
27868 # Grep'ing the whole file is not good either: AIX grep has a line
27869 # limit of 2048, but all sed's we know have understand at least 4000.
27870 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
27871 dirpart=`$as_dirname -- "$mf" ||
27872 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27873 X"$mf" : 'X\(//\)[^/]' \| \
27874 X"$mf" : 'X\(//\)$' \| \
27875 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27881 /^X\(\/\/\)[^/].*/{
27897 # Extract the definition of DEPDIR, am__include, and am__quote
27898 # from the Makefile without running `make'.
27899 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
27900 test -z "$DEPDIR" && continue
27901 am__include=`sed -n 's/^am__include = //p' < "$mf"`
27902 test -z "am__include" && continue
27903 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
27904 # When using ansi2knr, U may be empty or an underscore; expand it
27905 U=`sed -n 's/^U = //p' < "$mf"`
27906 # Find all dependency output files, they are included files with
27907 # $(DEPDIR) in their names. We invoke sed twice because it is the
27908 # simplest approach to changing $(DEPDIR) to its actual value in the
27910 for file in `sed -n "
27911 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27912 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27913 # Make sure the directory exists.
27914 test -f "$dirpart/$file" && continue
27915 fdir=`$as_dirname -- "$file" ||
27916 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27917 X"$file" : 'X\(//\)[^/]' \| \
27918 X"$file" : 'X\(//\)$' \| \
27919 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27920 $as_echo X"$file" |
27921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27925 /^X\(\/\/\)[^/].*/{
27938 as_dir=$dirpart/$fdir; as_fn_mkdir_p
27939 # echo "creating $dirpart/$file"
27940 echo '# dummy' > "$dirpart/$file"
27947 # See if we are running on zsh, and set the options which allow our
27948 # commands through without removal of \ escapes.
27949 if test -n "${ZSH_VERSION+set}" ; then
27950 setopt NO_GLOB_SUBST
27953 cfgfile="${ofile}T"
27954 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27957 cat <<_LT_EOF >> "$cfgfile"
27960 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
27961 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
27962 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27963 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27965 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
27966 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
27968 # Written by Gordon Matzigkeit, 1996
27970 # This file is part of GNU Libtool.
27972 # GNU Libtool is free software; you can redistribute it and/or
27973 # modify it under the terms of the GNU General Public License as
27974 # published by the Free Software Foundation; either version 2 of
27975 # the License, or (at your option) any later version.
27977 # As a special exception to the GNU General Public License,
27978 # if you distribute this file as part of a program or library that
27979 # is built using GNU Libtool, you may include this file under the
27980 # same distribution terms that you use for the rest of that program.
27982 # GNU Libtool is distributed in the hope that it will be useful,
27983 # but WITHOUT ANY WARRANTY; without even the implied warranty of
27984 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27985 # GNU General Public License for more details.
27987 # You should have received a copy of the GNU General Public License
27988 # along with GNU Libtool; see the file COPYING. If not, a copy
27989 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
27990 # obtained by writing to the Free Software Foundation, Inc.,
27991 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
27994 # The names of the tagged configurations supported by this script.
27995 available_tags="CXX "
27997 # ### BEGIN LIBTOOL CONFIG
27999 # Assembler program.
28002 # DLL creation program.
28003 DLLTOOL=$lt_DLLTOOL
28005 # Object dumper program.
28006 OBJDUMP=$lt_OBJDUMP
28008 # Which release of libtool.m4 was used?
28009 macro_version=$macro_version
28010 macro_revision=$macro_revision
28012 # Whether or not to build shared libraries.
28013 build_libtool_libs=$enable_shared
28015 # Whether or not to build static libraries.
28016 build_old_libs=$enable_static
28018 # What type of objects to build.
28021 # Whether or not to optimize for fast installation.
28022 fast_install=$enable_fast_install
28024 # Shell to use when invoking shell scripts.
28027 # An echo program that protects backslashes.
28030 # The PATH separator for the build system.
28031 PATH_SEPARATOR=$lt_PATH_SEPARATOR
28034 host_alias=$host_alias
28038 # The build system.
28039 build_alias=$build_alias
28043 # A sed program that does not truncate output.
28046 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28047 Xsed="\$SED -e 1s/^X//"
28049 # A grep program that handles long lines.
28055 # A literal string matcher.
28058 # A BSD- or MS-compatible name lister.
28061 # Whether we need soft or hard links.
28064 # What is the maximum length of a command?
28065 max_cmd_len=$max_cmd_len
28067 # Object file suffix (normally "o").
28070 # Executable file suffix (normally "").
28073 # whether the shell understands "unset".
28076 # turn spaces into newlines.
28079 # turn newlines into spaces.
28082 # convert \$build file names to \$host format.
28083 to_host_file_cmd=$lt_cv_to_host_file_cmd
28085 # convert \$build files to toolchain format.
28086 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
28088 # Method to check whether dependent libraries are shared objects.
28089 deplibs_check_method=$lt_deplibs_check_method
28091 # Command to use when deplibs_check_method = "file_magic".
28092 file_magic_cmd=$lt_file_magic_cmd
28094 # How to find potential files when deplibs_check_method = "file_magic".
28095 file_magic_glob=$lt_file_magic_glob
28097 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
28098 want_nocaseglob=$lt_want_nocaseglob
28100 # Command to associate shared and link libraries.
28101 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
28106 # Flags to create an archive.
28107 AR_FLAGS=$lt_AR_FLAGS
28109 # How to feed a file listing to the archiver.
28110 archiver_list_spec=$lt_archiver_list_spec
28112 # A symbol stripping program.
28115 # Commands used to install an old-style archive.
28117 old_postinstall_cmds=$lt_old_postinstall_cmds
28118 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28120 # Whether to use a lock for old archive extraction.
28121 lock_old_archive_extraction=$lock_old_archive_extraction
28126 # LTCC compiler flags.
28127 LTCFLAGS=$lt_CFLAGS
28129 # Take the output of nm and produce a listing of raw symbols and C names.
28130 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28132 # Transform the output of nm in a proper C declaration.
28133 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28135 # Transform the output of nm in a C name address pair.
28136 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28138 # Transform the output of nm in a C name address pair when lib prefix is needed.
28139 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28141 # Specify filename containing input files for \$NM.
28142 nm_file_list_spec=$lt_nm_file_list_spec
28144 # The root where to search for dependent libraries,and in which our libraries should be installed.
28145 lt_sysroot=$lt_sysroot
28147 # The name of the directory that contains temporary libtool files.
28150 # Used to examine libraries when file_magic_cmd begins with "file".
28151 MAGIC_CMD=$MAGIC_CMD
28153 # Must we lock files when doing compilation?
28154 need_locks=$lt_need_locks
28157 MANIFEST_TOOL=$lt_MANIFEST_TOOL
28159 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28160 DSYMUTIL=$lt_DSYMUTIL
28162 # Tool to change global to local symbols on Mac OS X.
28165 # Tool to manipulate fat objects and archives on Mac OS X.
28168 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28171 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28172 OTOOL64=$lt_OTOOL64
28174 # Old archive suffix (normally "a").
28177 # Shared library suffix (normally ".so").
28178 shrext_cmds=$lt_shrext_cmds
28180 # The commands to extract the exported symbol list from a shared archive.
28181 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28183 # Variables whose values should be saved in libtool wrapper scripts and
28184 # restored at link time.
28185 variables_saved_for_relink=$lt_variables_saved_for_relink
28187 # Do we need the "lib" prefix for modules?
28188 need_lib_prefix=$need_lib_prefix
28190 # Do we need a version for libraries?
28191 need_version=$need_version
28193 # Library versioning type.
28194 version_type=$version_type
28196 # Shared library runtime path variable.
28197 runpath_var=$runpath_var
28199 # Shared library path variable.
28200 shlibpath_var=$shlibpath_var
28202 # Is shlibpath searched before the hard-coded library search path?
28203 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28205 # Format of library name prefix.
28206 libname_spec=$lt_libname_spec
28208 # List of archive names. First name is the real one, the rest are links.
28209 # The last name is the one that the linker finds with -lNAME
28210 library_names_spec=$lt_library_names_spec
28212 # The coded name of the library, if different from the real name.
28213 soname_spec=$lt_soname_spec
28215 # Permission mode override for installation of shared libraries.
28216 install_override_mode=$lt_install_override_mode
28218 # Command to use after installation of a shared archive.
28219 postinstall_cmds=$lt_postinstall_cmds
28221 # Command to use after uninstallation of a shared archive.
28222 postuninstall_cmds=$lt_postuninstall_cmds
28224 # Commands used to finish a libtool library installation in a directory.
28225 finish_cmds=$lt_finish_cmds
28227 # As "finish_cmds", except a single script fragment to be evaled but
28229 finish_eval=$lt_finish_eval
28231 # Whether we should hardcode library paths into libraries.
28232 hardcode_into_libs=$hardcode_into_libs
28234 # Compile-time system search path for libraries.
28235 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28237 # Run-time system search path for libraries.
28238 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
28240 # Whether dlopen is supported.
28241 dlopen_support=$enable_dlopen
28243 # Whether dlopen of programs is supported.
28244 dlopen_self=$enable_dlopen_self
28246 # Whether dlopen of statically linked programs is supported.
28247 dlopen_self_static=$enable_dlopen_self_static
28249 # Commands to strip libraries.
28250 old_striplib=$lt_old_striplib
28251 striplib=$lt_striplib
28254 # The linker used to build libraries.
28257 # How to create reloadable object files.
28258 reload_flag=$lt_reload_flag
28259 reload_cmds=$lt_reload_cmds
28261 # Commands used to build an old-style archive.
28262 old_archive_cmds=$lt_old_archive_cmds
28264 # A language specific compiler.
28267 # Is the compiler the GNU compiler?
28270 # Compiler flag to turn off builtin functions.
28271 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28273 # Additional compiler flags for building library objects.
28274 pic_flag=$lt_lt_prog_compiler_pic
28276 # How to pass a linker flag through the compiler.
28277 wl=$lt_lt_prog_compiler_wl
28279 # Compiler flag to prevent dynamic linking.
28280 link_static_flag=$lt_lt_prog_compiler_static
28282 # Does compiler simultaneously support -c and -o options?
28283 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28285 # Whether or not to add -lc for building shared libraries.
28286 build_libtool_need_lc=$archive_cmds_need_lc
28288 # Whether or not to disallow shared libs when runtime libs are static.
28289 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28291 # Compiler flag to allow reflexive dlopens.
28292 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28294 # Compiler flag to generate shared objects directly from archives.
28295 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28297 # Whether the compiler copes with passing no objects directly.
28298 compiler_needs_object=$lt_compiler_needs_object
28300 # Create an old-style archive from a shared archive.
28301 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28303 # Create a temporary old-style archive to link instead of a shared archive.
28304 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28306 # Commands used to build a shared archive.
28307 archive_cmds=$lt_archive_cmds
28308 archive_expsym_cmds=$lt_archive_expsym_cmds
28310 # Commands used to build a loadable module if different from building
28311 # a shared archive.
28312 module_cmds=$lt_module_cmds
28313 module_expsym_cmds=$lt_module_expsym_cmds
28315 # Whether we are building with GNU ld or not.
28316 with_gnu_ld=$lt_with_gnu_ld
28318 # Flag that allows shared libraries with undefined symbols to be built.
28319 allow_undefined_flag=$lt_allow_undefined_flag
28321 # Flag that enforces no undefined symbols.
28322 no_undefined_flag=$lt_no_undefined_flag
28324 # Flag to hardcode \$libdir into a binary during linking.
28325 # This must work even if \$libdir does not exist
28326 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28328 # Whether we need a single "-rpath" flag with a separated argument.
28329 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28331 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28332 # DIR into the resulting binary.
28333 hardcode_direct=$hardcode_direct
28335 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28336 # DIR into the resulting binary and the resulting library dependency is
28337 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28338 # library is relocated.
28339 hardcode_direct_absolute=$hardcode_direct_absolute
28341 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28342 # into the resulting binary.
28343 hardcode_minus_L=$hardcode_minus_L
28345 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28346 # into the resulting binary.
28347 hardcode_shlibpath_var=$hardcode_shlibpath_var
28349 # Set to "yes" if building a shared library automatically hardcodes DIR
28350 # into the library and all subsequent libraries and executables linked
28352 hardcode_automatic=$hardcode_automatic
28354 # Set to yes if linker adds runtime paths of dependent libraries
28355 # to runtime path list.
28356 inherit_rpath=$inherit_rpath
28358 # Whether libtool must link a program against all its dependency libraries.
28359 link_all_deplibs=$link_all_deplibs
28361 # Set to "yes" if exported symbols are required.
28362 always_export_symbols=$always_export_symbols
28364 # The commands to list exported symbols.
28365 export_symbols_cmds=$lt_export_symbols_cmds
28367 # Symbols that should not be listed in the preloaded symbols.
28368 exclude_expsyms=$lt_exclude_expsyms
28370 # Symbols that must always be exported.
28371 include_expsyms=$lt_include_expsyms
28373 # Commands necessary for linking programs (against libraries) with templates.
28374 prelink_cmds=$lt_prelink_cmds
28376 # Commands necessary for finishing linking programs.
28377 postlink_cmds=$lt_postlink_cmds
28379 # Specify filename containing input files.
28380 file_list_spec=$lt_file_list_spec
28382 # How to hardcode a shared library path into an executable.
28383 hardcode_action=$hardcode_action
28385 # The directories searched by this compiler when creating a shared library.
28386 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28388 # Dependencies to place before and after the objects being linked to
28389 # create a shared library.
28390 predep_objects=$lt_predep_objects
28391 postdep_objects=$lt_postdep_objects
28392 predeps=$lt_predeps
28393 postdeps=$lt_postdeps
28395 # The library search path used internally by the compiler when linking
28396 # a shared library.
28397 compiler_lib_search_path=$lt_compiler_lib_search_path
28399 # ### END LIBTOOL CONFIG
28405 cat <<\_LT_EOF >> "$cfgfile"
28406 # AIX sometimes has problems with the GCC collect2 program. For some
28407 # reason, if we set the COLLECT_NAMES environment variable, the problems
28408 # vanish in a puff of smoke.
28409 if test "X${COLLECT_NAMES+set}" != Xset; then
28411 export COLLECT_NAMES
28418 ltmain="$ac_aux_dir/ltmain.sh"
28421 # We use sed instead of cat because bash on DJGPP gets confused if
28422 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28423 # text mode, it properly converts lines to CR/LF. This bash problem
28424 # is reportedly fixed, but why not run on old versions too?
28425 sed '$q' "$ltmain" >> "$cfgfile" \
28426 || (rm -f "$cfgfile"; exit 1)
28428 if test x"$xsi_shell" = xyes; then
28429 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
28433 \ */*) func_dirname_result="${1%/*}${2}" ;;\
28434 \ * ) func_dirname_result="${3}" ;;\
28436 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
28437 && mv -f "$cfgfile.tmp" "$cfgfile" \
28438 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28439 test 0 -eq $? || _lt_function_replace_fail=:
28442 sed -e '/^func_basename ()$/,/^} # func_basename /c\
28445 \ func_basename_result="${1##*/}"\
28446 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
28447 && mv -f "$cfgfile.tmp" "$cfgfile" \
28448 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28449 test 0 -eq $? || _lt_function_replace_fail=:
28452 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
28453 func_dirname_and_basename ()\
28456 \ */*) func_dirname_result="${1%/*}${2}" ;;\
28457 \ * ) func_dirname_result="${3}" ;;\
28459 \ func_basename_result="${1##*/}"\
28460 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
28461 && mv -f "$cfgfile.tmp" "$cfgfile" \
28462 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28463 test 0 -eq $? || _lt_function_replace_fail=:
28466 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
28469 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
28470 \ # positional parameters, so assign one to ordinary parameter first.\
28471 \ func_stripname_result=${3}\
28472 \ func_stripname_result=${func_stripname_result#"${1}"}\
28473 \ func_stripname_result=${func_stripname_result%"${2}"}\
28474 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
28475 && mv -f "$cfgfile.tmp" "$cfgfile" \
28476 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28477 test 0 -eq $? || _lt_function_replace_fail=:
28480 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
28481 func_split_long_opt ()\
28483 \ func_split_long_opt_name=${1%%=*}\
28484 \ func_split_long_opt_arg=${1#*=}\
28485 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
28486 && mv -f "$cfgfile.tmp" "$cfgfile" \
28487 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28488 test 0 -eq $? || _lt_function_replace_fail=:
28491 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
28492 func_split_short_opt ()\
28494 \ func_split_short_opt_arg=${1#??}\
28495 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
28496 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
28497 && mv -f "$cfgfile.tmp" "$cfgfile" \
28498 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28499 test 0 -eq $? || _lt_function_replace_fail=:
28502 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
28506 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
28507 \ *) func_lo2o_result=${1} ;;\
28509 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
28510 && mv -f "$cfgfile.tmp" "$cfgfile" \
28511 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28512 test 0 -eq $? || _lt_function_replace_fail=:
28515 sed -e '/^func_xform ()$/,/^} # func_xform /c\
28518 func_xform_result=${1%.*}.lo\
28519 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
28520 && mv -f "$cfgfile.tmp" "$cfgfile" \
28521 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28522 test 0 -eq $? || _lt_function_replace_fail=:
28525 sed -e '/^func_arith ()$/,/^} # func_arith /c\
28528 func_arith_result=$(( $* ))\
28529 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
28530 && mv -f "$cfgfile.tmp" "$cfgfile" \
28531 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28532 test 0 -eq $? || _lt_function_replace_fail=:
28535 sed -e '/^func_len ()$/,/^} # func_len /c\
28538 func_len_result=${#1}\
28539 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
28540 && mv -f "$cfgfile.tmp" "$cfgfile" \
28541 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28542 test 0 -eq $? || _lt_function_replace_fail=:
28546 if test x"$lt_shell_append" = xyes; then
28547 sed -e '/^func_append ()$/,/^} # func_append /c\
28550 eval "${1}+=\\${2}"\
28551 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
28552 && mv -f "$cfgfile.tmp" "$cfgfile" \
28553 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28554 test 0 -eq $? || _lt_function_replace_fail=:
28557 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
28558 func_append_quoted ()\
28560 \ func_quote_for_eval "${2}"\
28561 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
28562 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
28563 && mv -f "$cfgfile.tmp" "$cfgfile" \
28564 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28565 test 0 -eq $? || _lt_function_replace_fail=:
28568 # Save a `func_append' function call where possible by direct use of '+='
28569 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
28570 && mv -f "$cfgfile.tmp" "$cfgfile" \
28571 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28572 test 0 -eq $? || _lt_function_replace_fail=:
28574 # Save a `func_append' function call even when '+=' is not available
28575 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
28576 && mv -f "$cfgfile.tmp" "$cfgfile" \
28577 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
28578 test 0 -eq $? || _lt_function_replace_fail=:
28581 if test x"$_lt_function_replace_fail" = x":"; then
28582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
28583 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
28587 mv -f "$cfgfile" "$ofile" ||
28588 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28592 cat <<_LT_EOF >> "$ofile"
28594 # ### BEGIN LIBTOOL TAG CONFIG: CXX
28596 # The linker used to build libraries.
28599 # How to create reloadable object files.
28600 reload_flag=$lt_reload_flag_CXX
28601 reload_cmds=$lt_reload_cmds_CXX
28603 # Commands used to build an old-style archive.
28604 old_archive_cmds=$lt_old_archive_cmds_CXX
28606 # A language specific compiler.
28607 CC=$lt_compiler_CXX
28609 # Is the compiler the GNU compiler?
28612 # Compiler flag to turn off builtin functions.
28613 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
28615 # Additional compiler flags for building library objects.
28616 pic_flag=$lt_lt_prog_compiler_pic_CXX
28618 # How to pass a linker flag through the compiler.
28619 wl=$lt_lt_prog_compiler_wl_CXX
28621 # Compiler flag to prevent dynamic linking.
28622 link_static_flag=$lt_lt_prog_compiler_static_CXX
28624 # Does compiler simultaneously support -c and -o options?
28625 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
28627 # Whether or not to add -lc for building shared libraries.
28628 build_libtool_need_lc=$archive_cmds_need_lc_CXX
28630 # Whether or not to disallow shared libs when runtime libs are static.
28631 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
28633 # Compiler flag to allow reflexive dlopens.
28634 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
28636 # Compiler flag to generate shared objects directly from archives.
28637 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
28639 # Whether the compiler copes with passing no objects directly.
28640 compiler_needs_object=$lt_compiler_needs_object_CXX
28642 # Create an old-style archive from a shared archive.
28643 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
28645 # Create a temporary old-style archive to link instead of a shared archive.
28646 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
28648 # Commands used to build a shared archive.
28649 archive_cmds=$lt_archive_cmds_CXX
28650 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
28652 # Commands used to build a loadable module if different from building
28653 # a shared archive.
28654 module_cmds=$lt_module_cmds_CXX
28655 module_expsym_cmds=$lt_module_expsym_cmds_CXX
28657 # Whether we are building with GNU ld or not.
28658 with_gnu_ld=$lt_with_gnu_ld_CXX
28660 # Flag that allows shared libraries with undefined symbols to be built.
28661 allow_undefined_flag=$lt_allow_undefined_flag_CXX
28663 # Flag that enforces no undefined symbols.
28664 no_undefined_flag=$lt_no_undefined_flag_CXX
28666 # Flag to hardcode \$libdir into a binary during linking.
28667 # This must work even if \$libdir does not exist
28668 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
28670 # Whether we need a single "-rpath" flag with a separated argument.
28671 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
28673 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28674 # DIR into the resulting binary.
28675 hardcode_direct=$hardcode_direct_CXX
28677 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
28678 # DIR into the resulting binary and the resulting library dependency is
28679 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
28680 # library is relocated.
28681 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
28683 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28684 # into the resulting binary.
28685 hardcode_minus_L=$hardcode_minus_L_CXX
28687 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28688 # into the resulting binary.
28689 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
28691 # Set to "yes" if building a shared library automatically hardcodes DIR
28692 # into the library and all subsequent libraries and executables linked
28694 hardcode_automatic=$hardcode_automatic_CXX
28696 # Set to yes if linker adds runtime paths of dependent libraries
28697 # to runtime path list.
28698 inherit_rpath=$inherit_rpath_CXX
28700 # Whether libtool must link a program against all its dependency libraries.
28701 link_all_deplibs=$link_all_deplibs_CXX
28703 # Set to "yes" if exported symbols are required.
28704 always_export_symbols=$always_export_symbols_CXX
28706 # The commands to list exported symbols.
28707 export_symbols_cmds=$lt_export_symbols_cmds_CXX
28709 # Symbols that should not be listed in the preloaded symbols.
28710 exclude_expsyms=$lt_exclude_expsyms_CXX
28712 # Symbols that must always be exported.
28713 include_expsyms=$lt_include_expsyms_CXX
28715 # Commands necessary for linking programs (against libraries) with templates.
28716 prelink_cmds=$lt_prelink_cmds_CXX
28718 # Commands necessary for finishing linking programs.
28719 postlink_cmds=$lt_postlink_cmds_CXX
28721 # Specify filename containing input files.
28722 file_list_spec=$lt_file_list_spec_CXX
28724 # How to hardcode a shared library path into an executable.
28725 hardcode_action=$hardcode_action_CXX
28727 # The directories searched by this compiler when creating a shared library.
28728 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
28730 # Dependencies to place before and after the objects being linked to
28731 # create a shared library.
28732 predep_objects=$lt_predep_objects_CXX
28733 postdep_objects=$lt_postdep_objects_CXX
28734 predeps=$lt_predeps_CXX
28735 postdeps=$lt_postdeps_CXX
28737 # The library search path used internally by the compiler when linking
28738 # a shared library.
28739 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
28741 # ### END LIBTOOL TAG CONFIG: CXX
28745 "po-directories":C)
28746 for ac_file in $CONFIG_FILES; do
28747 # Support "outfile[:infile[:infile...]]"
28749 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
28751 # PO directories have a Makefile.in generated from Makefile.in.in.
28752 case "$ac_file" in */Makefile.in)
28753 # Adjust a relative srcdir.
28754 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
28755 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
28756 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
28757 # In autoconf-2.13 it is called $ac_given_srcdir.
28758 # In autoconf-2.50 it is called $srcdir.
28759 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
28760 case "$ac_given_srcdir" in
28761 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
28762 /*) top_srcdir="$ac_given_srcdir" ;;
28763 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
28765 # Treat a directory as a PO directory if and only if it has a
28766 # POTFILES.in file. This allows packages to have multiple PO
28767 # directories under different names or in different locations.
28768 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
28769 rm -f "$ac_dir/POTFILES"
28770 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
28771 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
28772 POMAKEFILEDEPS="POTFILES.in"
28773 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
28774 # on $ac_dir but don't depend on user-specified configuration
28776 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
28777 # The LINGUAS file contains the set of available languages.
28778 if test -n "$OBSOLETE_ALL_LINGUAS"; then
28779 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
28781 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
28782 # Hide the ALL_LINGUAS assigment from automake < 1.5.
28783 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
28784 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
28786 # The set of available languages was given in configure.in.
28787 # Hide the ALL_LINGUAS assigment from automake < 1.5.
28788 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
28791 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
28792 # Compute UPDATEPOFILES
28793 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
28794 # Compute DUMMYPOFILES
28795 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
28797 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
28798 case "$ac_given_srcdir" in
28800 *) srcdirpre='$(srcdir)/' ;;
28806 for lang in $ALL_LINGUAS; do
28807 POFILES="$POFILES $srcdirpre$lang.po"
28808 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
28809 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
28810 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
28812 # CATALOGS depends on both $ac_dir and the user's LINGUAS
28813 # environment variable.
28815 if test -n "$ALL_LINGUAS"; then
28816 for presentlang in $ALL_LINGUAS; do
28818 if test "%UNSET%" != "$LINGUAS"; then
28819 desiredlanguages="$LINGUAS"
28821 desiredlanguages="$ALL_LINGUAS"
28823 for desiredlang in $desiredlanguages; do
28824 # Use the presentlang catalog if desiredlang is
28825 # a. equal to presentlang, or
28826 # b. a variant of presentlang (because in this case,
28827 # presentlang can be used as a fallback for messages
28828 # which are not translated in the desiredlang catalog).
28829 case "$desiredlang" in
28830 "$presentlang"*) useit=yes;;
28833 if test $useit = yes; then
28834 INST_LINGUAS="$INST_LINGUAS $presentlang"
28839 if test -n "$INST_LINGUAS"; then
28840 for lang in $INST_LINGUAS; do
28841 CATALOGS="$CATALOGS $lang.gmo"
28844 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
28845 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
28846 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
28847 if test -f "$f"; then
28849 *.orig | *.bak | *~) ;;
28850 *) cat "$f" >> "$ac_dir/Makefile" ;;
28859 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
28860 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
28861 ac_stdint=$tmp/_stdint.h
28863 echo "#ifndef" $_ac_stdint_h >$ac_stdint
28864 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
28865 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
28866 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
28867 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
28868 if test "_$ac_cv_header_stdint_t" != "_" ; then
28869 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
28870 echo "#include <stdint.h>" >>$ac_stdint
28871 echo "#endif" >>$ac_stdint
28872 echo "#endif" >>$ac_stdint
28875 cat >>$ac_stdint <<STDINT_EOF
28877 /* ................... shortcircuit part ........................... */
28879 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
28880 #include <stdint.h>
28882 #include <stddef.h>
28884 /* .................... configured part ............................ */
28888 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
28889 if test "_$ac_cv_header_stdint_x" != "_" ; then
28890 ac_header="$ac_cv_header_stdint_x"
28891 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
28893 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
28896 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
28897 if test "_$ac_cv_header_stdint_o" != "_" ; then
28898 ac_header="$ac_cv_header_stdint_o"
28899 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
28901 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
28904 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
28905 if test "_$ac_cv_header_stdint_u" != "_" ; then
28906 ac_header="$ac_cv_header_stdint_u"
28907 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
28909 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
28912 echo "" >>$ac_stdint
28914 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
28915 echo "#include <$ac_header>" >>$ac_stdint
28916 echo "" >>$ac_stdint
28919 echo "/* which 64bit typedef has been found */" >>$ac_stdint
28920 if test "$ac_cv_type_uint64_t" = "yes" ; then
28921 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
28923 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
28925 if test "$ac_cv_type_u_int64_t" = "yes" ; then
28926 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
28928 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
28930 echo "" >>$ac_stdint
28932 echo "/* which type model has been detected */" >>$ac_stdint
28933 if test "_$ac_cv_char_data_model" != "_" ; then
28934 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
28935 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
28937 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
28938 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
28940 echo "" >>$ac_stdint
28942 echo "/* whether int_least types were detected */" >>$ac_stdint
28943 if test "$ac_cv_type_int_least32_t" = "yes"; then
28944 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
28946 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
28948 echo "/* whether int_fast types were detected */" >>$ac_stdint
28949 if test "$ac_cv_type_int_fast32_t" = "yes"; then
28950 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
28952 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
28954 echo "/* whether intmax_t type was detected */" >>$ac_stdint
28955 if test "$ac_cv_type_intmax_t" = "yes"; then
28956 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
28958 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
28960 echo "" >>$ac_stdint
28962 cat >>$ac_stdint <<STDINT_EOF
28963 /* .................... detections part ............................ */
28965 /* whether we need to define bitspecific types from compiler base types */
28966 #ifndef _STDINT_HEADER_INTPTR
28967 #ifndef _STDINT_HEADER_UINT32
28968 #ifndef _STDINT_HEADER_U_INT32
28969 #define _STDINT_NEED_INT_MODEL_T
28971 #define _STDINT_HAVE_U_INT_TYPES
28976 #ifdef _STDINT_HAVE_U_INT_TYPES
28977 #undef _STDINT_NEED_INT_MODEL_T
28980 #ifdef _STDINT_CHAR_MODEL
28981 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
28982 #ifndef _STDINT_BYTE_MODEL
28983 #define _STDINT_BYTE_MODEL 12
28988 #ifndef _STDINT_HAVE_INT_LEAST32_T
28989 #define _STDINT_NEED_INT_LEAST_T
28992 #ifndef _STDINT_HAVE_INT_FAST32_T
28993 #define _STDINT_NEED_INT_FAST_T
28996 #ifndef _STDINT_HEADER_INTPTR
28997 #define _STDINT_NEED_INTPTR_T
28998 #ifndef _STDINT_HAVE_INTMAX_T
28999 #define _STDINT_NEED_INTMAX_T
29004 /* .................... definition part ............................ */
29006 /* some system headers have good uint64_t */
29007 #ifndef _HAVE_UINT64_T
29008 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
29009 #define _HAVE_UINT64_T
29010 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
29011 #define _HAVE_UINT64_T
29012 typedef u_int64_t uint64_t;
29016 #ifndef _HAVE_UINT64_T
29017 /* .. here are some common heuristics using compiler runtime specifics */
29018 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
29019 #define _HAVE_UINT64_T
29020 #define _HAVE_LONGLONG_UINT64_T
29021 typedef long long int64_t;
29022 typedef unsigned long long uint64_t;
29024 #elif !defined __STRICT_ANSI__
29025 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29026 #define _HAVE_UINT64_T
29027 typedef __int64 int64_t;
29028 typedef unsigned __int64 uint64_t;
29030 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
29031 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
29032 #if !defined _NO_LONGLONG
29033 #define _HAVE_UINT64_T
29034 #define _HAVE_LONGLONG_UINT64_T
29035 typedef long long int64_t;
29036 typedef unsigned long long uint64_t;
29039 #elif defined __alpha || (defined __mips && defined _ABIN32)
29040 #if !defined _NO_LONGLONG
29041 typedef long int64_t;
29042 typedef unsigned long uint64_t;
29044 /* compiler/cpu type to define int64_t */
29049 #if defined _STDINT_HAVE_U_INT_TYPES
29050 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
29051 typedef u_int8_t uint8_t;
29052 typedef u_int16_t uint16_t;
29053 typedef u_int32_t uint32_t;
29055 /* glibc compatibility */
29056 #ifndef __int8_t_defined
29057 #define __int8_t_defined
29061 #ifdef _STDINT_NEED_INT_MODEL_T
29062 /* we must guess all the basic types. Apart from byte-adressable system, */
29063 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
29064 /* (btw, those nibble-addressable systems are way off, or so we assume) */
29067 #if defined _STDINT_BYTE_MODEL
29068 #if _STDINT_LONG_MODEL+0 == 242
29069 /* 2:4:2 = IP16 = a normal 16-bit system */
29070 typedef unsigned char uint8_t;
29071 typedef unsigned short uint16_t;
29072 typedef unsigned long uint32_t;
29073 #ifndef __int8_t_defined
29074 #define __int8_t_defined
29075 typedef char int8_t;
29076 typedef short int16_t;
29077 typedef long int32_t;
29079 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
29080 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
29081 /* 4:4:4 = ILP32 = a normal 32-bit system */
29082 typedef unsigned char uint8_t;
29083 typedef unsigned short uint16_t;
29084 typedef unsigned int uint32_t;
29085 #ifndef __int8_t_defined
29086 #define __int8_t_defined
29087 typedef char int8_t;
29088 typedef short int16_t;
29089 typedef int int32_t;
29091 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
29092 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
29093 /* 4:8:8 = LP64 = a normal 64-bit system */
29094 typedef unsigned char uint8_t;
29095 typedef unsigned short uint16_t;
29096 typedef unsigned int uint32_t;
29097 #ifndef __int8_t_defined
29098 #define __int8_t_defined
29099 typedef char int8_t;
29100 typedef short int16_t;
29101 typedef int int32_t;
29103 /* this system has a "long" of 64bit */
29104 #ifndef _HAVE_UINT64_T
29105 #define _HAVE_UINT64_T
29106 typedef unsigned long uint64_t;
29107 typedef long int64_t;
29109 #elif _STDINT_LONG_MODEL+0 == 448
29110 /* LLP64 a 64-bit system derived from a 32-bit system */
29111 typedef unsigned char uint8_t;
29112 typedef unsigned short uint16_t;
29113 typedef unsigned int uint32_t;
29114 #ifndef __int8_t_defined
29115 #define __int8_t_defined
29116 typedef char int8_t;
29117 typedef short int16_t;
29118 typedef int int32_t;
29120 /* assuming the system has a "long long" */
29121 #ifndef _HAVE_UINT64_T
29122 #define _HAVE_UINT64_T
29123 #define _HAVE_LONGLONG_UINT64_T
29124 typedef unsigned long long uint64_t;
29125 typedef long long int64_t;
29128 #define _STDINT_NO_INT32_T
29131 #define _STDINT_NO_INT8_T
29132 #define _STDINT_NO_INT32_T
29137 * quote from SunOS-5.8 sys/inttypes.h:
29138 * Use at your own risk. As of February 1996, the committee is squarely
29139 * behind the fixed sized types; the "least" and "fast" types are still being
29140 * discussed. The probability that the "fast" types may be removed before
29141 * the standard is finalized is high enough that they are not currently
29145 #if defined _STDINT_NEED_INT_LEAST_T
29146 typedef int8_t int_least8_t;
29147 typedef int16_t int_least16_t;
29148 typedef int32_t int_least32_t;
29149 #ifdef _HAVE_UINT64_T
29150 typedef int64_t int_least64_t;
29153 typedef uint8_t uint_least8_t;
29154 typedef uint16_t uint_least16_t;
29155 typedef uint32_t uint_least32_t;
29156 #ifdef _HAVE_UINT64_T
29157 typedef uint64_t uint_least64_t;
29162 #if defined _STDINT_NEED_INT_FAST_T
29163 typedef int8_t int_fast8_t;
29164 typedef int int_fast16_t;
29165 typedef int32_t int_fast32_t;
29166 #ifdef _HAVE_UINT64_T
29167 typedef int64_t int_fast64_t;
29170 typedef uint8_t uint_fast8_t;
29171 typedef unsigned uint_fast16_t;
29172 typedef uint32_t uint_fast32_t;
29173 #ifdef _HAVE_UINT64_T
29174 typedef uint64_t uint_fast64_t;
29179 #ifdef _STDINT_NEED_INTMAX_T
29180 #ifdef _HAVE_UINT64_T
29181 typedef int64_t intmax_t;
29182 typedef uint64_t uintmax_t;
29184 typedef long intmax_t;
29185 typedef unsigned long uintmax_t;
29189 #ifdef _STDINT_NEED_INTPTR_T
29190 #ifndef __intptr_t_defined
29191 #define __intptr_t_defined
29192 /* we encourage using "long" to store pointer values, never use "int" ! */
29193 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
29194 typedef unsigned int uintptr_t;
29195 typedef int intptr_t;
29196 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
29197 typedef unsigned long uintptr_t;
29198 typedef long intptr_t;
29199 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
29200 typedef uint64_t uintptr_t;
29201 typedef int64_t intptr_t;
29202 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
29203 typedef unsigned long uintptr_t;
29204 typedef long intptr_t;
29209 /* The ISO C99 standard specifies that in C++ implementations these
29210 should only be defined if explicitly requested. */
29211 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
29215 # define INT8_C(c) c
29216 # define INT16_C(c) c
29217 # define INT32_C(c) c
29218 # ifdef _HAVE_LONGLONG_UINT64_T
29219 # define INT64_C(c) c ## L
29221 # define INT64_C(c) c ## LL
29225 # define UINT8_C(c) c ## U
29226 # define UINT16_C(c) c ## U
29227 # define UINT32_C(c) c ## U
29228 # ifdef _HAVE_LONGLONG_UINT64_T
29229 # define UINT64_C(c) c ## UL
29231 # define UINT64_C(c) c ## ULL
29234 /* Maximal type. */
29235 # ifdef _HAVE_LONGLONG_UINT64_T
29236 # define INTMAX_C(c) c ## L
29237 # define UINTMAX_C(c) c ## UL
29239 # define INTMAX_C(c) c ## LL
29240 # define UINTMAX_C(c) c ## ULL
29243 /* literalnumbers */
29247 /* These limits are merily those of a two complement byte-oriented system */
29249 /* Minimum of signed integral types. */
29250 # define INT8_MIN (-128)
29251 # define INT16_MIN (-32767-1)
29252 # define INT32_MIN (-2147483647-1)
29253 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
29254 /* Maximum of signed integral types. */
29255 # define INT8_MAX (127)
29256 # define INT16_MAX (32767)
29257 # define INT32_MAX (2147483647)
29258 # define INT64_MAX (__INT64_C(9223372036854775807))
29260 /* Maximum of unsigned integral types. */
29261 # define UINT8_MAX (255)
29262 # define UINT16_MAX (65535)
29263 # define UINT32_MAX (4294967295U)
29264 # define UINT64_MAX (__UINT64_C(18446744073709551615))
29266 /* Minimum of signed integral types having a minimum size. */
29267 # define INT_LEAST8_MIN INT8_MIN
29268 # define INT_LEAST16_MIN INT16_MIN
29269 # define INT_LEAST32_MIN INT32_MIN
29270 # define INT_LEAST64_MIN INT64_MIN
29271 /* Maximum of signed integral types having a minimum size. */
29272 # define INT_LEAST8_MAX INT8_MAX
29273 # define INT_LEAST16_MAX INT16_MAX
29274 # define INT_LEAST32_MAX INT32_MAX
29275 # define INT_LEAST64_MAX INT64_MAX
29277 /* Maximum of unsigned integral types having a minimum size. */
29278 # define UINT_LEAST8_MAX UINT8_MAX
29279 # define UINT_LEAST16_MAX UINT16_MAX
29280 # define UINT_LEAST32_MAX UINT32_MAX
29281 # define UINT_LEAST64_MAX UINT64_MAX
29290 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
29291 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
29292 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
29294 ac_dir=`$as_dirname -- "$ac_stdint_h" ||
29295 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29296 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
29297 X"$ac_stdint_h" : 'X\(//\)$' \| \
29298 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
29299 $as_echo X"$ac_stdint_h" |
29300 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29304 /^X\(\/\/\)[^/].*/{
29317 as_dir="$ac_dir"; as_fn_mkdir_p
29319 mv $ac_stdint $ac_stdint_h
29329 ac_clean_files=$ac_clean_files_save
29331 test $ac_write_fail = 0 ||
29332 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
29335 # configure is writing to config.log, and then calls config.status.
29336 # config.status does its own redirection, appending to config.log.
29337 # Unfortunately, on DOS this fails, as config.log is still kept open
29338 # by configure, so config.status won't be able to write to it; its
29339 # output is simply discarded. So we exec the FD to /dev/null,
29340 # effectively closing config.log, so it can be properly (re)opened and
29341 # appended to by config.status. When coming back to configure, we
29342 # need to make the FD available again.
29343 if test "$no_create" != yes; then
29345 ac_config_status_args=
29346 test "$silent" = yes &&
29347 ac_config_status_args="$ac_config_status_args --quiet"
29349 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29351 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29352 # would make configure fail if this is the last instruction.
29353 $ac_cs_success || as_fn_exit 1
29355 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
29356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29357 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
29361 if test "x${GST_DISABLE_GST_DEBUG}" = "xno"; then enable_gst_debug="yes"; fi
29362 if test "x${GST_DISABLE_LOADSAVE}" = "xno"; then enable_loadsave="yes"; fi
29363 if test "x${GST_DISABLE_PARSE}" = "xno"; then enable_parse="yes"; fi
29364 if test "x${GST_DISABLE_OPTION_PARSING}" = "xno"; then enable_option_parsing="yes"; fi
29365 if test "x${GST_DISABLE_TRACE}" = "xno"; then enable_trace="yes"; fi
29366 if test "x${GST_DISABLE_ALLOC_TRACE}" = "xno"; then enable_alloc_trace="yes"; fi
29367 if test "x${GST_DISABLE_PLUGIN}" = "xno"; then enable_plugin="yes"; fi
29368 if test "x${GST_DISABLE_REGISTRY}" = "xno"; then enable_registry="yes"; fi
29369 if test "x${GST_DISABLE_NET}" = "xno"; then enable_net="yes"; fi
29374 Version : ${VERSION}
29375 Source code location : ${srcdir}
29378 Package name : ${GST_PACKAGE_NAME}
29379 Package origin : ${GST_PACKAGE_ORIGIN}
29381 Documentation (manuals) : ${enable_docbook}
29382 Documentation (API) : ${enable_gtk_doc}
29384 Debug Logging : ${enable_gst_debug}
29385 Pipeline XML load/save : ${enable_loadsave}
29386 Command-line parser : ${enable_parse}
29387 Option parsing in gst_init : ${enable_option_parsing}
29388 Tracing subsystem : ${enable_trace}
29389 Allocation tracing : ${enable_alloc_trace}
29390 Plugin registry : ${enable_registry}
29391 Plugin support : ${enable_plugin}
29392 Network support : ${enable_net}
29393 Unit testing support : ${BUILD_CHECK}
29395 Debug : ${USE_DEBUG}
29396 Profiling : ${USE_PROFILING}
29398 Building examples : ${BUILD_EXAMPLES}
29399 Building test apps : ${BUILD_TESTS}
29400 Building tests that fail : ${BUILD_FAILING_TESTS}