2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for GStreamer Base Plug-ins 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 Base Plug-ins'
573 PACKAGE_TARNAME='gst-plugins-base'
574 PACKAGE_VERSION='0.10.36'
575 PACKAGE_STRING='GStreamer Base Plug-ins 0.10.36'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
579 ac_unique_file="gst/audiotestsrc/gstaudiotestsrc.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>
617 ac_subst_vars='am__EXEEXT_FALSE
625 GST_PLUGINS_BASE_CFLAGS
710 GST_DISABLE_ALLOC_TRACE
714 GST_DISABLE_GST_DEBUG
715 USE_PLUGIN_VOLUME_FALSE
716 USE_PLUGIN_VOLUME_TRUE
717 USE_PLUGIN_VIDEOSCALE_FALSE
718 USE_PLUGIN_VIDEOSCALE_TRUE
719 USE_PLUGIN_VIDEORATE_FALSE
720 USE_PLUGIN_VIDEORATE_TRUE
721 USE_PLUGIN_VIDEOTESTSRC_FALSE
722 USE_PLUGIN_VIDEOTESTSRC_TRUE
723 USE_PLUGIN_TYPEFIND_FALSE
724 USE_PLUGIN_TYPEFIND_TRUE
727 USE_PLUGIN_SUBPARSE_FALSE
728 USE_PLUGIN_SUBPARSE_TRUE
729 USE_PLUGIN_AUDIORESAMPLE_FALSE
730 USE_PLUGIN_AUDIORESAMPLE_TRUE
731 USE_PLUGIN_PLAYBACK_FALSE
732 USE_PLUGIN_PLAYBACK_TRUE
735 USE_PLUGIN_FFMPEGCOLORSPACE_FALSE
736 USE_PLUGIN_FFMPEGCOLORSPACE_TRUE
737 USE_PLUGIN_ENCODING_FALSE
738 USE_PLUGIN_ENCODING_TRUE
739 USE_PLUGIN_AUDIOTESTSRC_FALSE
740 USE_PLUGIN_AUDIOTESTSRC_TRUE
741 USE_PLUGIN_AUDIORATE_FALSE
742 USE_PLUGIN_AUDIORATE_TRUE
743 USE_PLUGIN_AUDIOCONVERT_FALSE
744 USE_PLUGIN_AUDIOCONVERT_TRUE
747 USE_PLUGIN_ADDER_FALSE
748 USE_PLUGIN_ADDER_TRUE
749 AUDIORESAMPLE_FORMAT_AUTO
750 AUDIORESAMPLE_FORMAT_FLOAT
751 AUDIORESAMPLE_FORMAT_INT
765 HAVE_LINUX_JOYSTICK_HEADERS_FALSE
766 HAVE_LINUX_JOYSTICK_HEADERS_TRUE
789 GST_CONTROLLER_CFLAGS
812 HAVE_SYS_SOCKET_H_FALSE
813 HAVE_SYS_SOCKET_H_TRUE
814 HAVE_LIBXML_HTML_FALSE
815 HAVE_LIBXML_HTML_TRUE
817 ENABLE_PLUGIN_DOCS_FALSE
818 ENABLE_PLUGIN_DOCS_TRUE
828 GTK_DOC_USE_LIBTOOL_FALSE
829 GTK_DOC_USE_LIBTOOL_TRUE
834 HAVE_INTROSPECTION_FALSE
835 HAVE_INTROSPECTION_TRUE
836 INTROSPECTION_MAKEFILE
839 INTROSPECTION_TYPELIBDIR
841 INTROSPECTION_GENERATE
842 INTROSPECTION_COMPILER
843 INTROSPECTION_SCANNER
855 HAVE_CPU_CRISV32_FALSE
856 HAVE_CPU_CRISV32_TRUE
859 HAVE_CPU_X86_64_FALSE
883 BUILD_EXPERIMENTAL_FALSE
884 BUILD_EXPERIMENTAL_TRUE
885 USE_EXPERIMENTAL_FALSE
886 USE_EXPERIMENTAL_TRUE
893 GST_INSTALL_PLUGINS_HELPER
899 GST_GCOV_ENABLED_FALSE
900 GST_GCOV_ENABLED_TRUE
919 XGETTEXT_EXTRA_OPTIONS
927 GETTEXT_MACRO_VERSION
989 MAINTAINER_MODE_FALSE
991 PACKAGE_VERSION_RELEASE
993 PACKAGE_VERSION_MICRO
994 PACKAGE_VERSION_MINOR
995 PACKAGE_VERSION_MAJOR
1004 INSTALL_STRIP_PROGRAM
1046 program_transform_name
1059 enable_option_checking
1060 enable_maintainer_mode
1066 enable_dependency_tracking
1076 with_libiconv_prefix
1083 with_pkg_config_path
1086 with_install_plugins_helper
1091 enable_introspection
1094 enable_gobject_cast_checks
1098 with_default_audiosink
1099 with_default_audiosrc
1100 with_default_videosink
1101 with_default_videosrc
1102 with_default_visualizer
1103 with_audioresample_format
1110 enable_ffmpegcolorspace
1113 enable_audioresample
1131 with_alsa_inc_prefix
1146 with_vorbis_libraries
1147 with_vorbis_includes
1153 ac_precious_vars='build_alias
1179 GST_CONTROLLER_CFLAGS
1218 # Initialize some variables set by options.
1220 ac_init_version=false
1221 ac_unrecognized_opts=
1222 ac_unrecognized_sep=
1223 # The variables have the same names as the options, with
1224 # dashes changed to underlines.
1225 cache_file=/dev/null
1232 program_transform_name=s,x,x,
1240 # Installation directory options.
1241 # These are left unexpanded so users can "make install exec_prefix=/foo"
1242 # and all the variables that are supposed to be based on exec_prefix
1243 # by default will actually change.
1244 # Use braces instead of parens because sh, perl, etc. also accept them.
1245 # (The list follows the same order as the GNU Coding Standards.)
1246 bindir='${exec_prefix}/bin'
1247 sbindir='${exec_prefix}/sbin'
1248 libexecdir='${exec_prefix}/libexec'
1249 datarootdir='${prefix}/share'
1250 datadir='${datarootdir}'
1251 sysconfdir='${prefix}/etc'
1252 sharedstatedir='${prefix}/com'
1253 localstatedir='${prefix}/var'
1254 includedir='${prefix}/include'
1255 oldincludedir='/usr/include'
1256 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1257 infodir='${datarootdir}/info'
1262 libdir='${exec_prefix}/lib'
1263 localedir='${datarootdir}/locale'
1264 mandir='${datarootdir}/man'
1270 # If the previous option needs an argument, assign it.
1271 if test -n "$ac_prev"; then
1272 eval $ac_prev=\$ac_option
1278 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1283 # Accept the important Cygnus configure options, so we can diagnose typos.
1285 case $ac_dashdash$ac_option in
1289 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1291 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1292 bindir=$ac_optarg ;;
1294 -build | --build | --buil | --bui | --bu)
1295 ac_prev=build_alias ;;
1296 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1297 build_alias=$ac_optarg ;;
1299 -cache-file | --cache-file | --cache-fil | --cache-fi \
1300 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1301 ac_prev=cache_file ;;
1302 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1303 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1304 cache_file=$ac_optarg ;;
1306 --config-cache | -C)
1307 cache_file=config.cache ;;
1309 -datadir | --datadir | --datadi | --datad)
1311 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1312 datadir=$ac_optarg ;;
1314 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1315 | --dataroo | --dataro | --datar)
1316 ac_prev=datarootdir ;;
1317 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1318 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1319 datarootdir=$ac_optarg ;;
1321 -disable-* | --disable-*)
1322 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1323 # Reject names that are not valid shell variable names.
1324 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1325 as_fn_error $? "invalid feature name: $ac_useropt"
1326 ac_useropt_orig=$ac_useropt
1327 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1328 case $ac_user_opts in
1330 "enable_$ac_useropt"
1332 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1333 ac_unrecognized_sep=', ';;
1335 eval enable_$ac_useropt=no ;;
1337 -docdir | --docdir | --docdi | --doc | --do)
1339 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1340 docdir=$ac_optarg ;;
1342 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1344 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1345 dvidir=$ac_optarg ;;
1347 -enable-* | --enable-*)
1348 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1349 # Reject names that are not valid shell variable names.
1350 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1351 as_fn_error $? "invalid feature name: $ac_useropt"
1352 ac_useropt_orig=$ac_useropt
1353 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1354 case $ac_user_opts in
1356 "enable_$ac_useropt"
1358 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1359 ac_unrecognized_sep=', ';;
1361 eval enable_$ac_useropt=\$ac_optarg ;;
1363 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1364 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1365 | --exec | --exe | --ex)
1366 ac_prev=exec_prefix ;;
1367 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1368 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1369 | --exec=* | --exe=* | --ex=*)
1370 exec_prefix=$ac_optarg ;;
1372 -gas | --gas | --ga | --g)
1373 # Obsolete; use --with-gas.
1376 -help | --help | --hel | --he | -h)
1377 ac_init_help=long ;;
1378 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1379 ac_init_help=recursive ;;
1380 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1381 ac_init_help=short ;;
1383 -host | --host | --hos | --ho)
1384 ac_prev=host_alias ;;
1385 -host=* | --host=* | --hos=* | --ho=*)
1386 host_alias=$ac_optarg ;;
1388 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1390 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1392 htmldir=$ac_optarg ;;
1394 -includedir | --includedir | --includedi | --included | --include \
1395 | --includ | --inclu | --incl | --inc)
1396 ac_prev=includedir ;;
1397 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1398 | --includ=* | --inclu=* | --incl=* | --inc=*)
1399 includedir=$ac_optarg ;;
1401 -infodir | --infodir | --infodi | --infod | --info | --inf)
1403 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1404 infodir=$ac_optarg ;;
1406 -libdir | --libdir | --libdi | --libd)
1408 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1409 libdir=$ac_optarg ;;
1411 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1412 | --libexe | --libex | --libe)
1413 ac_prev=libexecdir ;;
1414 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1415 | --libexe=* | --libex=* | --libe=*)
1416 libexecdir=$ac_optarg ;;
1418 -localedir | --localedir | --localedi | --localed | --locale)
1419 ac_prev=localedir ;;
1420 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1421 localedir=$ac_optarg ;;
1423 -localstatedir | --localstatedir | --localstatedi | --localstated \
1424 | --localstate | --localstat | --localsta | --localst | --locals)
1425 ac_prev=localstatedir ;;
1426 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1427 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1428 localstatedir=$ac_optarg ;;
1430 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1432 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1433 mandir=$ac_optarg ;;
1435 -nfp | --nfp | --nf)
1436 # Obsolete; use --without-fp.
1439 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1440 | --no-cr | --no-c | -n)
1443 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1444 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1447 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1448 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1449 | --oldin | --oldi | --old | --ol | --o)
1450 ac_prev=oldincludedir ;;
1451 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1452 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1453 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1454 oldincludedir=$ac_optarg ;;
1456 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1458 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1459 prefix=$ac_optarg ;;
1461 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1462 | --program-pre | --program-pr | --program-p)
1463 ac_prev=program_prefix ;;
1464 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1465 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1466 program_prefix=$ac_optarg ;;
1468 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1469 | --program-suf | --program-su | --program-s)
1470 ac_prev=program_suffix ;;
1471 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1472 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1473 program_suffix=$ac_optarg ;;
1475 -program-transform-name | --program-transform-name \
1476 | --program-transform-nam | --program-transform-na \
1477 | --program-transform-n | --program-transform- \
1478 | --program-transform | --program-transfor \
1479 | --program-transfo | --program-transf \
1480 | --program-trans | --program-tran \
1481 | --progr-tra | --program-tr | --program-t)
1482 ac_prev=program_transform_name ;;
1483 -program-transform-name=* | --program-transform-name=* \
1484 | --program-transform-nam=* | --program-transform-na=* \
1485 | --program-transform-n=* | --program-transform-=* \
1486 | --program-transform=* | --program-transfor=* \
1487 | --program-transfo=* | --program-transf=* \
1488 | --program-trans=* | --program-tran=* \
1489 | --progr-tra=* | --program-tr=* | --program-t=*)
1490 program_transform_name=$ac_optarg ;;
1492 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1494 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1495 pdfdir=$ac_optarg ;;
1497 -psdir | --psdir | --psdi | --psd | --ps)
1499 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1503 | -silent | --silent | --silen | --sile | --sil)
1506 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1508 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1510 sbindir=$ac_optarg ;;
1512 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1513 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1514 | --sharedst | --shareds | --shared | --share | --shar \
1516 ac_prev=sharedstatedir ;;
1517 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1518 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1519 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1521 sharedstatedir=$ac_optarg ;;
1523 -site | --site | --sit)
1525 -site=* | --site=* | --sit=*)
1528 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1530 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1531 srcdir=$ac_optarg ;;
1533 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1534 | --syscon | --sysco | --sysc | --sys | --sy)
1535 ac_prev=sysconfdir ;;
1536 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1537 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1538 sysconfdir=$ac_optarg ;;
1540 -target | --target | --targe | --targ | --tar | --ta | --t)
1541 ac_prev=target_alias ;;
1542 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1543 target_alias=$ac_optarg ;;
1545 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1548 -version | --version | --versio | --versi | --vers | -V)
1549 ac_init_version=: ;;
1552 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1553 # Reject names that are not valid shell variable names.
1554 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1555 as_fn_error $? "invalid package name: $ac_useropt"
1556 ac_useropt_orig=$ac_useropt
1557 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1558 case $ac_user_opts in
1562 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1563 ac_unrecognized_sep=', ';;
1565 eval with_$ac_useropt=\$ac_optarg ;;
1567 -without-* | --without-*)
1568 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1569 # Reject names that are not valid shell variable names.
1570 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1571 as_fn_error $? "invalid package name: $ac_useropt"
1572 ac_useropt_orig=$ac_useropt
1573 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1574 case $ac_user_opts in
1578 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1579 ac_unrecognized_sep=', ';;
1581 eval with_$ac_useropt=no ;;
1584 # Obsolete; use --with-x.
1587 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1588 | --x-incl | --x-inc | --x-in | --x-i)
1589 ac_prev=x_includes ;;
1590 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1591 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1592 x_includes=$ac_optarg ;;
1594 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1595 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1596 ac_prev=x_libraries ;;
1597 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1598 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1599 x_libraries=$ac_optarg ;;
1601 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1602 Try \`$0 --help' for more information"
1606 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1607 # Reject names that are not valid shell variable names.
1608 case $ac_envvar in #(
1609 '' | [0-9]* | *[!_$as_cr_alnum]* )
1610 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1612 eval $ac_envvar=\$ac_optarg
1613 export $ac_envvar ;;
1616 # FIXME: should be removed in autoconf 3.0.
1617 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1618 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1619 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1620 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1626 if test -n "$ac_prev"; then
1627 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1628 as_fn_error $? "missing argument to $ac_option"
1631 if test -n "$ac_unrecognized_opts"; then
1632 case $enable_option_checking in
1634 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1635 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1639 # Check all directory arguments for consistency.
1640 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1641 datadir sysconfdir sharedstatedir localstatedir includedir \
1642 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1643 libdir localedir mandir
1645 eval ac_val=\$$ac_var
1646 # Remove trailing slashes.
1649 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1650 eval $ac_var=\$ac_val;;
1652 # Be sure to have absolute directory names.
1654 [\\/$]* | ?:[\\/]* ) continue;;
1655 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1657 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1660 # There might be people who depend on the old broken behavior: `$host'
1661 # used to hold the argument of --host etc.
1662 # FIXME: To remove some day.
1665 target=$target_alias
1667 # FIXME: To remove some day.
1668 if test "x$host_alias" != x; then
1669 if test "x$build_alias" = x; then
1670 cross_compiling=maybe
1671 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1672 If a cross compiler is detected then cross compile mode will be used" >&2
1673 elif test "x$build_alias" != "x$host_alias"; then
1679 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1681 test "$silent" = yes && exec 6>/dev/null
1684 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1685 ac_ls_di=`ls -di .` &&
1686 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1687 as_fn_error $? "working directory cannot be determined"
1688 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1689 as_fn_error $? "pwd does not report name of working directory"
1692 # Find the source files, if location was not specified.
1693 if test -z "$srcdir"; then
1694 ac_srcdir_defaulted=yes
1695 # Try the directory containing this script, then the parent directory.
1696 ac_confdir=`$as_dirname -- "$as_myself" ||
1697 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1698 X"$as_myself" : 'X\(//\)[^/]' \| \
1699 X"$as_myself" : 'X\(//\)$' \| \
1700 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1701 $as_echo X"$as_myself" |
1702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1720 if test ! -r "$srcdir/$ac_unique_file"; then
1724 ac_srcdir_defaulted=no
1726 if test ! -r "$srcdir/$ac_unique_file"; then
1727 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1728 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1730 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1732 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1734 # When building in place, set srcdir=.
1735 if test "$ac_abs_confdir" = "$ac_pwd"; then
1738 # Remove unnecessary trailing slashes from srcdir.
1739 # Double slashes in file names in object file debugging info
1740 # mess up M-x gdb in Emacs.
1742 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1744 for ac_var in $ac_precious_vars; do
1745 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1746 eval ac_env_${ac_var}_value=\$${ac_var}
1747 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1748 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1752 # Report the --help message.
1754 if test "$ac_init_help" = "long"; then
1755 # Omit some internal or obsolete options to make the list less imposing.
1756 # This message is too long to be a string in the A/UX 3.1 sh.
1758 \`configure' configures GStreamer Base Plug-ins 0.10.36 to adapt to many kinds of systems.
1760 Usage: $0 [OPTION]... [VAR=VALUE]...
1762 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1763 VAR=VALUE. See below for descriptions of some of the useful variables.
1765 Defaults for the options are specified in brackets.
1768 -h, --help display this help and exit
1769 --help=short display options specific to this package
1770 --help=recursive display the short help of all the included packages
1771 -V, --version display version information and exit
1772 -q, --quiet, --silent do not print \`checking ...' messages
1773 --cache-file=FILE cache test results in FILE [disabled]
1774 -C, --config-cache alias for \`--cache-file=config.cache'
1775 -n, --no-create do not create output files
1776 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1778 Installation directories:
1779 --prefix=PREFIX install architecture-independent files in PREFIX
1780 [$ac_default_prefix]
1781 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1784 By default, \`make install' will install all the files in
1785 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1786 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1787 for instance \`--prefix=\$HOME'.
1789 For better control, use the options below.
1791 Fine tuning of the installation directories:
1792 --bindir=DIR user executables [EPREFIX/bin]
1793 --sbindir=DIR system admin executables [EPREFIX/sbin]
1794 --libexecdir=DIR program executables [EPREFIX/libexec]
1795 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1796 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1797 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1798 --libdir=DIR object code libraries [EPREFIX/lib]
1799 --includedir=DIR C header files [PREFIX/include]
1800 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1801 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1802 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1803 --infodir=DIR info documentation [DATAROOTDIR/info]
1804 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1805 --mandir=DIR man documentation [DATAROOTDIR/man]
1806 --docdir=DIR documentation root
1807 [DATAROOTDIR/doc/gst-plugins-base]
1808 --htmldir=DIR html documentation [DOCDIR]
1809 --dvidir=DIR dvi documentation [DOCDIR]
1810 --pdfdir=DIR pdf documentation [DOCDIR]
1811 --psdir=DIR ps documentation [DOCDIR]
1817 --program-prefix=PREFIX prepend PREFIX to installed program names
1818 --program-suffix=SUFFIX append SUFFIX to installed program names
1819 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1822 --x-includes=DIR X include files are in DIR
1823 --x-libraries=DIR X library files are in DIR
1826 --build=BUILD configure for building on BUILD [guessed]
1827 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1831 if test -n "$ac_init_help"; then
1832 case $ac_init_help in
1833 short | recursive ) echo "Configuration of GStreamer Base Plug-ins 0.10.36:";;
1838 --disable-option-checking ignore unrecognized --enable/--with options
1839 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1840 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1841 --enable-maintainer-mode enable make rules and dependencies not useful
1842 (and sometimes confusing) to the casual installer
1843 --enable-silent-rules less verbose build output (undo: `make V=1')
1844 --disable-silent-rules verbose build output (undo: `make V=0')
1845 --enable-shared[=PKGS] build shared libraries [default=yes]
1846 --enable-static[=PKGS] build static libraries [default=yes]
1847 --enable-fast-install[=PKGS]
1848 optimize for fast installation [default=yes]
1849 --disable-dependency-tracking speeds up one-time build
1850 --enable-dependency-tracking do not reject slow dependency extractors
1851 --disable-libtool-lock avoid locking (might break parallel builds)
1852 --disable-nls do not use Native Language Support
1853 --disable-rpath do not hardcode runtime library paths
1854 --disable-debug disable addition of -g debugging info
1855 --enable-profiling adds -pg to compiler commandline, for profiling
1856 --disable-valgrind disable run-time valgrind detection
1857 --enable-gcov compile with coverage profiling instrumentation (gcc
1859 --disable-examples disable building examples
1860 --disable-external disable building of plug-ins with external deps
1861 --enable-experimental enable building of experimental plug-ins
1862 --disable-largefile omit support for large files
1863 --enable-introspection=[no/auto/yes]
1864 Enable introspection for this build
1865 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1866 --enable-gobject-cast-checks=[no/auto/yes]
1867 Enable GObject cast checks
1868 --enable-glib-asserts=[no/auto/yes]
1869 Enable GLib assertion
1870 --enable-orc use Orc if installed
1871 --disable-Bsymbolic avoid linking with -Bsymbolic
1872 --disable-adder disable dependency-less adder plugin
1873 --disable-app disable dependency-less app plugin
1874 --disable-audioconvert disable dependency-less audioconvert plugin
1875 --disable-audiorate disable dependency-less audiorate plugin
1876 --disable-audiotestsrc disable dependency-less audiotestsrc plugin
1877 --disable-encoding disable dependency-less encoding plugin
1878 --disable-ffmpegcolorspace
1879 disable dependency-less ffmpegcolorspace plugin
1880 --disable-gdp disable dependency-less gdp plugin
1881 --disable-playback disable dependency-less playback plugin
1882 --disable-audioresample disable dependency-less audioresample plugin
1883 --disable-subparse disable dependency-less subparse plugin
1884 --disable-tcp disable dependency-less tcp plugin
1885 --disable-typefind disable dependency-less typefind plugin
1886 --disable-videotestsrc disable dependency-less videotestsrc plugin
1887 --disable-videorate disable dependency-less videorate plugin
1888 --disable-videoscale disable dependency-less videoscale plugin
1889 --disable-volume disable dependency-less volume plugin
1890 --enable-iso-codes use iso-codes if installed
1891 --disable-zlib disable zlib support for ID3 parsing in libgsttag
1892 --disable-x disable X libraries and plugins: ximagesink
1893 --disable-xvideo disable X11 XVideo extensions: xvimagesink
1894 --disable-xshm disable X Shared Memory extension
1895 --disable-gst_v4l disable Video 4 Linux: video4linux
1896 --disable-alsa disable ALSA: alsa
1897 --disable-cdparanoia disable CDParanoia: cdparanoia
1898 --disable-gnome_vfs disable GNOME VFS: gnomevfs
1899 --disable-ivorbis disable integer vorbis plug-in: ivorbisdec
1900 --disable-gio disable GIO library: gio
1901 --disable-libvisual disable libvisual visualization library: libvisual
1902 --disable-ogg disable Xiph Ogg library: ogg
1903 --disable-oggtest Do not try to compile and run a test Ogg program
1904 --disable-pango disable Pango font rendering: pango
1905 --disable-theora disable Xiph Theora video codec: theora
1906 --disable-vorbis disable Xiph Vorbis audio codec: vorbis
1907 --disable-vorbistest Do not try to compile and run a test Vorbis program
1908 --disable-freetypetest Do not try to compile and run
1909 a test FreeType program
1912 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1913 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1914 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1916 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1917 --with-sysroot=DIR Search for dependent libraries within DIR
1918 (or the compiler's sysroot if not specified).
1919 --with-autoconf use a different autoconf for regeneration of
1921 --with-autoheader use a different autoheader for regeneration of
1923 --with-automake use a different automake for regeneration of
1925 --with-aclocal use a different aclocal for regeneration of
1927 --with-gnu-ld assume the C compiler uses GNU ld default=no
1928 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1929 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1930 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1931 --without-libintl-prefix don't search for libintl in includedir and libdir
1932 --with-pkg-config-path colon-separated list of pkg-config(1) dirs
1933 --with-package-name specify package name to use in plugins
1934 --with-package-origin specify package origin URL to use in plugins
1935 --with-install-plugins-helper
1936 specify path of helper script to call to install
1938 --with-plugins comma-separated list of dependencyless plug-ins to
1940 --with-html-dir=PATH path to installed docs
1941 --with-default-audiosink
1942 specify default audio sink
1943 --with-default-audiosrc specify default audio source
1944 --with-default-videosink
1945 specify default video sink
1946 --with-default-videosrc specify default video source
1947 --with-default-visualizer
1948 specify default visualizer
1949 --with-audioresample-format
1950 Which implementation should be used for integer
1951 audio resampling, int/float/auto, (default is auto)
1952 --with-x use the X Window System
1953 --with-gudev device detection with gudev
1954 --with-alsa-prefix=PFX prefix where Alsa library is installed(optional)
1955 --with-alsa-inc-prefix=PFX
1956 prefix where include libraries are (optional)
1957 --with-ogg=PFX Prefix where libogg is installed (optional)
1958 --with-ogg-libraries=DIR Directory where libogg library is installed (optional)
1959 --with-ogg-includes=DIR Directory where libogg header files are installed (optional)
1960 --with-vorbis=PFX Prefix where libvorbis is installed (optional)
1961 --with-vorbis-libraries=DIR Directory where libvorbis library is installed (optional)
1962 --with-vorbis-includes=DIR Directory where libvorbis header files are installed (optional)
1963 --with-ft-prefix=PREFIX
1964 Prefix where FreeType is installed (optional)
1965 --with-ft-exec-prefix=PREFIX
1966 Exec prefix where FreeType is installed (optional)
1968 Some influential environment variables:
1969 CC C compiler command
1970 CFLAGS C compiler flags
1971 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1972 nonstandard directory <lib dir>
1973 LIBS libraries to pass to the linker, e.g. -l<library>
1974 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1975 you have headers in a nonstandard directory <include dir>
1977 PKG_CONFIG path to pkg-config utility
1979 C compiler flags for VALGRIND, overriding pkg-config
1981 linker flags for VALGRIND, overriding pkg-config
1982 CXX C++ compiler command
1983 CXXFLAGS C++ compiler flags
1984 CXXCPP C++ preprocessor
1985 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1986 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1987 ORC_CFLAGS C compiler flags for ORC, overriding pkg-config
1988 ORC_LIBS linker flags for ORC, overriding pkg-config
1989 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1990 GST_LIBS linker flags for GST, overriding pkg-config
1992 C compiler flags for GST_BASE, overriding pkg-config
1994 linker flags for GST_BASE, overriding pkg-config
1996 C compiler flags for GST_GDP, overriding pkg-config
1998 linker flags for GST_GDP, overriding pkg-config
1999 GST_CONTROLLER_CFLAGS
2000 C compiler flags for GST_CONTROLLER, overriding pkg-config
2002 linker flags for GST_CONTROLLER, overriding pkg-config
2004 C compiler flags for GST_CHECK, overriding pkg-config
2006 linker flags for GST_CHECK, overriding pkg-config
2007 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
2008 GTK_LIBS linker flags for GTK, overriding pkg-config
2010 C compiler flags for GTK_X11, overriding pkg-config
2012 linker flags for GTK_X11, overriding pkg-config
2013 QT_CFLAGS C compiler flags for QT, overriding pkg-config
2014 QT_LIBS linker flags for QT, overriding pkg-config
2015 ZLIB_CFLAGS C compiler flags for ZLIB, overriding pkg-config
2016 ZLIB_LIBS linker flags for ZLIB, overriding pkg-config
2017 XMKMF Path to xmkmf, Makefile generator for X Window System
2019 C compiler flags for GUDEV, overriding pkg-config
2020 GUDEV_LIBS linker flags for GUDEV, overriding pkg-config
2021 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
2022 ALSA_LIBS linker flags for ALSA, overriding pkg-config
2024 C compiler flags for CDPARANOIA, overriding pkg-config
2026 linker flags for CDPARANOIA, overriding pkg-config
2028 C compiler flags for GNOME_VFS, overriding pkg-config
2030 linker flags for GNOME_VFS, overriding pkg-config
2032 C compiler flags for IVORBIS, overriding pkg-config
2034 linker flags for IVORBIS, overriding pkg-config
2035 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
2036 GIO_LIBS linker flags for GIO, overriding pkg-config
2038 C compiler flags for LIBVISUAL, overriding pkg-config
2040 linker flags for LIBVISUAL, overriding pkg-config
2041 OGG_CFLAGS C compiler flags for OGG, overriding pkg-config
2042 OGG_LIBS linker flags for OGG, overriding pkg-config
2044 C compiler flags for PANGO, overriding pkg-config
2045 PANGO_LIBS linker flags for PANGO, overriding pkg-config
2047 C compiler flags for THEORA, overriding pkg-config
2048 THEORA_LIBS linker flags for THEORA, overriding pkg-config
2050 C compiler flags for VORBIS, overriding pkg-config
2051 VORBIS_LIBS linker flags for VORBIS, overriding pkg-config
2052 FT2_CFLAGS C compiler flags for FT2, overriding pkg-config
2053 FT2_LIBS linker flags for FT2, overriding pkg-config
2055 Use these variables to override the choices made by `configure' or to help
2056 it to find libraries and programs with nonstandard names/locations.
2058 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
2063 if test "$ac_init_help" = "recursive"; then
2064 # If there are subdirs, report their specific --help.
2065 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2066 test -d "$ac_dir" ||
2067 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2072 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2074 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2075 # A ".." for each directory in $ac_dir_suffix.
2076 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2077 case $ac_top_builddir_sub in
2078 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2079 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2082 ac_abs_top_builddir=$ac_pwd
2083 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2084 # for backward compatibility:
2085 ac_top_builddir=$ac_top_build_prefix
2088 .) # We are building in place.
2090 ac_top_srcdir=$ac_top_builddir_sub
2091 ac_abs_top_srcdir=$ac_pwd ;;
2092 [\\/]* | ?:[\\/]* ) # Absolute name.
2093 ac_srcdir=$srcdir$ac_dir_suffix;
2094 ac_top_srcdir=$srcdir
2095 ac_abs_top_srcdir=$srcdir ;;
2097 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2098 ac_top_srcdir=$ac_top_build_prefix$srcdir
2099 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2101 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2103 cd "$ac_dir" || { ac_status=$?; continue; }
2104 # Check for guested configure.
2105 if test -f "$ac_srcdir/configure.gnu"; then
2107 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2108 elif test -f "$ac_srcdir/configure"; then
2110 $SHELL "$ac_srcdir/configure" --help=recursive
2112 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2114 cd "$ac_pwd" || { ac_status=$?; break; }
2118 test -n "$ac_init_help" && exit $ac_status
2119 if $ac_init_version; then
2121 GStreamer Base Plug-ins configure 0.10.36
2122 generated by GNU Autoconf 2.68
2124 Copyright (C) 2010 Free Software Foundation, Inc.
2125 This configure script is free software; the Free Software Foundation
2126 gives unlimited permission to copy, distribute and modify it.
2131 ## ------------------------ ##
2132 ## Autoconf initialization. ##
2133 ## ------------------------ ##
2135 # ac_fn_c_try_compile LINENO
2136 # --------------------------
2137 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2138 ac_fn_c_try_compile ()
2140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2141 rm -f conftest.$ac_objext
2142 if { { ac_try="$ac_compile"
2144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2145 *) ac_try_echo=$ac_try;;
2147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2148 $as_echo "$ac_try_echo"; } >&5
2149 (eval "$ac_compile") 2>conftest.err
2151 if test -s conftest.err; then
2152 grep -v '^ *+' conftest.err >conftest.er1
2153 cat conftest.er1 >&5
2154 mv -f conftest.er1 conftest.err
2156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2157 test $ac_status = 0; } && {
2158 test -z "$ac_c_werror_flag" ||
2159 test ! -s conftest.err
2160 } && test -s conftest.$ac_objext; then :
2163 $as_echo "$as_me: failed program was:" >&5
2164 sed 's/^/| /' conftest.$ac_ext >&5
2168 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2169 as_fn_set_status $ac_retval
2171 } # ac_fn_c_try_compile
2173 # ac_fn_c_try_link LINENO
2174 # -----------------------
2175 # Try to link conftest.$ac_ext, and return whether this succeeded.
2178 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2179 rm -f conftest.$ac_objext conftest$ac_exeext
2180 if { { ac_try="$ac_link"
2182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2183 *) ac_try_echo=$ac_try;;
2185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2186 $as_echo "$ac_try_echo"; } >&5
2187 (eval "$ac_link") 2>conftest.err
2189 if test -s conftest.err; then
2190 grep -v '^ *+' conftest.err >conftest.er1
2191 cat conftest.er1 >&5
2192 mv -f conftest.er1 conftest.err
2194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2195 test $ac_status = 0; } && {
2196 test -z "$ac_c_werror_flag" ||
2197 test ! -s conftest.err
2198 } && test -s conftest$ac_exeext && {
2199 test "$cross_compiling" = yes ||
2200 $as_test_x conftest$ac_exeext
2204 $as_echo "$as_me: failed program was:" >&5
2205 sed 's/^/| /' conftest.$ac_ext >&5
2209 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2210 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2211 # interfere with the next link command; also delete a directory that is
2212 # left behind by Apple's compiler. We do this before executing the actions.
2213 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2214 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2215 as_fn_set_status $ac_retval
2217 } # ac_fn_c_try_link
2219 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2220 # -------------------------------------------------------
2221 # Tests whether HEADER exists and can be compiled using the include files in
2222 # INCLUDES, setting the cache variable VAR accordingly.
2223 ac_fn_c_check_header_compile ()
2225 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2227 $as_echo_n "checking for $2... " >&6; }
2228 if eval \${$3+:} false; then :
2229 $as_echo_n "(cached) " >&6
2231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2232 /* end confdefs.h. */
2236 if ac_fn_c_try_compile "$LINENO"; then :
2241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2245 $as_echo "$ac_res" >&6; }
2246 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2248 } # ac_fn_c_check_header_compile
2250 # ac_fn_c_try_cpp LINENO
2251 # ----------------------
2252 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2255 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2256 if { { ac_try="$ac_cpp conftest.$ac_ext"
2258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2259 *) ac_try_echo=$ac_try;;
2261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2262 $as_echo "$ac_try_echo"; } >&5
2263 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2265 if test -s conftest.err; then
2266 grep -v '^ *+' conftest.err >conftest.er1
2267 cat conftest.er1 >&5
2268 mv -f conftest.er1 conftest.err
2270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2271 test $ac_status = 0; } > conftest.i && {
2272 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2273 test ! -s conftest.err
2277 $as_echo "$as_me: failed program was:" >&5
2278 sed 's/^/| /' conftest.$ac_ext >&5
2282 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2283 as_fn_set_status $ac_retval
2287 # ac_fn_c_try_run LINENO
2288 # ----------------------
2289 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2290 # that executables *can* be run.
2293 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2294 if { { ac_try="$ac_link"
2296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2297 *) ac_try_echo=$ac_try;;
2299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2300 $as_echo "$ac_try_echo"; } >&5
2301 (eval "$ac_link") 2>&5
2303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2304 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2305 { { case "(($ac_try" in
2306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2307 *) ac_try_echo=$ac_try;;
2309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2310 $as_echo "$ac_try_echo"; } >&5
2311 (eval "$ac_try") 2>&5
2313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2314 test $ac_status = 0; }; }; then :
2317 $as_echo "$as_me: program exited with status $ac_status" >&5
2318 $as_echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.$ac_ext >&5
2321 ac_retval=$ac_status
2323 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2324 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2325 as_fn_set_status $ac_retval
2329 # ac_fn_c_check_func LINENO FUNC VAR
2330 # ----------------------------------
2331 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2332 ac_fn_c_check_func ()
2334 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2336 $as_echo_n "checking for $2... " >&6; }
2337 if eval \${$3+:} false; then :
2338 $as_echo_n "(cached) " >&6
2340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2341 /* end confdefs.h. */
2342 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2344 #define $2 innocuous_$2
2346 /* System header to define __stub macros and hopefully few prototypes,
2347 which can conflict with char $2 (); below.
2348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2349 <limits.h> exists even on freestanding compilers. */
2352 # include <limits.h>
2354 # include <assert.h>
2359 /* Override any GCC internal prototype to avoid an error.
2360 Use char because int might match the return type of a GCC
2361 builtin and then its argument prototype would still apply. */
2366 /* The GNU C library defines this for functions which it implements
2367 to always fail with ENOSYS. Some functions are actually named
2368 something starting with __ and the normal name is an alias. */
2369 #if defined __stub_$2 || defined __stub___$2
2381 if ac_fn_c_try_link "$LINENO"; then :
2386 rm -f core conftest.err conftest.$ac_objext \
2387 conftest$ac_exeext conftest.$ac_ext
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2391 $as_echo "$ac_res" >&6; }
2392 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2394 } # ac_fn_c_check_func
2396 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2397 # ---------------------------------------------
2398 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2400 ac_fn_c_check_decl ()
2402 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2403 as_decl_name=`echo $2|sed 's/ *(.*//'`
2404 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2406 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2407 if eval \${$3+:} false; then :
2408 $as_echo_n "(cached) " >&6
2410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2411 /* end confdefs.h. */
2416 #ifndef $as_decl_name
2418 (void) $as_decl_use;
2420 (void) $as_decl_name;
2428 if ac_fn_c_try_compile "$LINENO"; then :
2433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2437 $as_echo "$ac_res" >&6; }
2438 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2440 } # ac_fn_c_check_decl
2442 # ac_fn_cxx_try_compile LINENO
2443 # ----------------------------
2444 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2445 ac_fn_cxx_try_compile ()
2447 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2448 rm -f conftest.$ac_objext
2449 if { { ac_try="$ac_compile"
2451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2452 *) ac_try_echo=$ac_try;;
2454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2455 $as_echo "$ac_try_echo"; } >&5
2456 (eval "$ac_compile") 2>conftest.err
2458 if test -s conftest.err; then
2459 grep -v '^ *+' conftest.err >conftest.er1
2460 cat conftest.er1 >&5
2461 mv -f conftest.er1 conftest.err
2463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2464 test $ac_status = 0; } && {
2465 test -z "$ac_cxx_werror_flag" ||
2466 test ! -s conftest.err
2467 } && test -s conftest.$ac_objext; then :
2470 $as_echo "$as_me: failed program was:" >&5
2471 sed 's/^/| /' conftest.$ac_ext >&5
2475 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2476 as_fn_set_status $ac_retval
2478 } # ac_fn_cxx_try_compile
2480 # ac_fn_cxx_try_cpp LINENO
2481 # ------------------------
2482 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2483 ac_fn_cxx_try_cpp ()
2485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2486 if { { ac_try="$ac_cpp conftest.$ac_ext"
2488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2489 *) ac_try_echo=$ac_try;;
2491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2492 $as_echo "$ac_try_echo"; } >&5
2493 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2495 if test -s conftest.err; then
2496 grep -v '^ *+' conftest.err >conftest.er1
2497 cat conftest.er1 >&5
2498 mv -f conftest.er1 conftest.err
2500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2501 test $ac_status = 0; } > conftest.i && {
2502 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2503 test ! -s conftest.err
2507 $as_echo "$as_me: failed program was:" >&5
2508 sed 's/^/| /' conftest.$ac_ext >&5
2512 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2513 as_fn_set_status $ac_retval
2515 } # ac_fn_cxx_try_cpp
2517 # ac_fn_cxx_try_link LINENO
2518 # -------------------------
2519 # Try to link conftest.$ac_ext, and return whether this succeeded.
2520 ac_fn_cxx_try_link ()
2522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2523 rm -f conftest.$ac_objext conftest$ac_exeext
2524 if { { ac_try="$ac_link"
2526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2527 *) ac_try_echo=$ac_try;;
2529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2530 $as_echo "$ac_try_echo"; } >&5
2531 (eval "$ac_link") 2>conftest.err
2533 if test -s conftest.err; then
2534 grep -v '^ *+' conftest.err >conftest.er1
2535 cat conftest.er1 >&5
2536 mv -f conftest.er1 conftest.err
2538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2539 test $ac_status = 0; } && {
2540 test -z "$ac_cxx_werror_flag" ||
2541 test ! -s conftest.err
2542 } && test -s conftest$ac_exeext && {
2543 test "$cross_compiling" = yes ||
2544 $as_test_x conftest$ac_exeext
2548 $as_echo "$as_me: failed program was:" >&5
2549 sed 's/^/| /' conftest.$ac_ext >&5
2553 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2554 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2555 # interfere with the next link command; also delete a directory that is
2556 # left behind by Apple's compiler. We do this before executing the actions.
2557 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2559 as_fn_set_status $ac_retval
2561 } # ac_fn_cxx_try_link
2563 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2564 # -------------------------------------------------------
2565 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2566 # the include files in INCLUDES and setting the cache variable VAR
2568 ac_fn_c_check_header_mongrel ()
2570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2571 if eval \${$3+:} false; then :
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2573 $as_echo_n "checking for $2... " >&6; }
2574 if eval \${$3+:} false; then :
2575 $as_echo_n "(cached) " >&6
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2579 $as_echo "$ac_res" >&6; }
2581 # Is the header compilable?
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2583 $as_echo_n "checking $2 usability... " >&6; }
2584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2585 /* end confdefs.h. */
2589 if ac_fn_c_try_compile "$LINENO"; then :
2590 ac_header_compiler=yes
2592 ac_header_compiler=no
2594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2596 $as_echo "$ac_header_compiler" >&6; }
2598 # Is the header present?
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2600 $as_echo_n "checking $2 presence... " >&6; }
2601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2602 /* end confdefs.h. */
2605 if ac_fn_c_try_cpp "$LINENO"; then :
2606 ac_header_preproc=yes
2608 ac_header_preproc=no
2610 rm -f conftest.err conftest.i conftest.$ac_ext
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2612 $as_echo "$ac_header_preproc" >&6; }
2614 # So? What about this header?
2615 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2618 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2620 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2624 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2626 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2628 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2630 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2632 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2633 ( $as_echo "## ------------------------------------------------------------------------ ##
2634 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
2635 ## ------------------------------------------------------------------------ ##"
2636 ) | sed "s/^/$as_me: WARNING: /" >&2
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2640 $as_echo_n "checking for $2... " >&6; }
2641 if eval \${$3+:} false; then :
2642 $as_echo_n "(cached) " >&6
2644 eval "$3=\$ac_header_compiler"
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2648 $as_echo "$ac_res" >&6; }
2650 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2652 } # ac_fn_c_check_header_mongrel
2654 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2655 # -------------------------------------------
2656 # Tests whether TYPE exists after having included INCLUDES, setting cache
2657 # variable VAR accordingly.
2658 ac_fn_c_check_type ()
2660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2662 $as_echo_n "checking for $2... " >&6; }
2663 if eval \${$3+:} false; then :
2664 $as_echo_n "(cached) " >&6
2667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2668 /* end confdefs.h. */
2679 if ac_fn_c_try_compile "$LINENO"; then :
2680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2681 /* end confdefs.h. */
2692 if ac_fn_c_try_compile "$LINENO"; then :
2697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2703 $as_echo "$ac_res" >&6; }
2704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2706 } # ac_fn_c_check_type
2708 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2709 # --------------------------------------------
2710 # Tries to find the compile-time value of EXPR in a program that includes
2711 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2713 ac_fn_c_compute_int ()
2715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2716 if test "$cross_compiling" = yes; then
2717 # Depending upon the size, compute the lo and hi bounds.
2718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2719 /* end confdefs.h. */
2724 static int test_array [1 - 2 * !(($2) >= 0)];
2731 if ac_fn_c_try_compile "$LINENO"; then :
2734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2735 /* end confdefs.h. */
2740 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2747 if ac_fn_c_try_compile "$LINENO"; then :
2748 ac_hi=$ac_mid; break
2750 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2751 if test $ac_lo -le $ac_mid; then
2755 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2761 /* end confdefs.h. */
2766 static int test_array [1 - 2 * !(($2) < 0)];
2773 if ac_fn_c_try_compile "$LINENO"; then :
2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h. */
2782 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2789 if ac_fn_c_try_compile "$LINENO"; then :
2790 ac_lo=$ac_mid; break
2792 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2793 if test $ac_mid -le $ac_hi; then
2797 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2807 # Binary search between lo and hi bounds.
2808 while test "x$ac_lo" != "x$ac_hi"; do
2809 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2811 /* end confdefs.h. */
2816 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2823 if ac_fn_c_try_compile "$LINENO"; then :
2826 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2831 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2836 /* end confdefs.h. */
2838 static long int longval () { return $2; }
2839 static unsigned long int ulongval () { return $2; }
2846 FILE *f = fopen ("conftest.val", "w");
2851 long int i = longval ();
2854 fprintf (f, "%ld", i);
2858 unsigned long int i = ulongval ();
2861 fprintf (f, "%lu", i);
2863 /* Do not output a trailing newline, as this causes \r\n confusion
2864 on some platforms. */
2865 return ferror (f) || fclose (f) != 0;
2871 if ac_fn_c_try_run "$LINENO"; then :
2872 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2876 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2877 conftest.$ac_objext conftest.beam conftest.$ac_ext
2881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2882 as_fn_set_status $ac_retval
2884 } # ac_fn_c_compute_int
2885 cat >config.log <<_ACEOF
2886 This file contains any messages produced by compilers while
2887 running configure, to aid debugging if configure makes a mistake.
2889 It was created by GStreamer Base Plug-ins $as_me 0.10.36, which was
2890 generated by GNU Autoconf 2.68. Invocation command line was
2902 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2903 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2904 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2905 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2906 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2908 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2909 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2911 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2912 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2913 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2914 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2915 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2916 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2917 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2925 test -z "$as_dir" && as_dir=.
2926 $as_echo "PATH: $as_dir"
2942 # Keep a trace of the command line.
2943 # Strip out --no-create and --no-recursion so they do not pile up.
2944 # Strip out --silent because we don't want to record it for future runs.
2945 # Also quote any args containing shell meta-characters.
2946 # Make two passes to allow for proper duplicate-argument suppression.
2950 ac_must_keep_next=false
2956 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2957 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2958 | -silent | --silent | --silen | --sile | --sil)
2961 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2964 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2966 as_fn_append ac_configure_args1 " '$ac_arg'"
2967 if test $ac_must_keep_next = true; then
2968 ac_must_keep_next=false # Got value, back to normal.
2971 *=* | --config-cache | -C | -disable-* | --disable-* \
2972 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2973 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2974 | -with-* | --with-* | -without-* | --without-* | --x)
2975 case "$ac_configure_args0 " in
2976 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2979 -* ) ac_must_keep_next=true ;;
2982 as_fn_append ac_configure_args " '$ac_arg'"
2987 { ac_configure_args0=; unset ac_configure_args0;}
2988 { ac_configure_args1=; unset ac_configure_args1;}
2990 # When interrupted or exit'd, cleanup temporary files, and complete
2991 # config.log. We remove comments because anyway the quotes in there
2992 # would cause problems or look ugly.
2993 # WARNING: Use '\'' to represent an apostrophe within the trap.
2994 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2995 trap 'exit_status=$?
2996 # Save into config.log some information that might help in debugging.
3000 $as_echo "## ---------------- ##
3001 ## Cache variables. ##
3002 ## ---------------- ##"
3004 # The following way of writing the cache mishandles newlines in values,
3006 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3007 eval ac_val=\$$ac_var
3011 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3012 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3015 _ | IFS | as_nl) ;; #(
3016 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3017 *) { eval $ac_var=; unset $ac_var;} ;;
3022 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3023 *${as_nl}ac_space=\ *)
3025 "s/'\''/'\''\\\\'\'''\''/g;
3026 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3029 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3036 $as_echo "## ----------------- ##
3037 ## Output variables. ##
3038 ## ----------------- ##"
3040 for ac_var in $ac_subst_vars
3042 eval ac_val=\$$ac_var
3044 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3046 $as_echo "$ac_var='\''$ac_val'\''"
3050 if test -n "$ac_subst_files"; then
3051 $as_echo "## ------------------- ##
3052 ## File substitutions. ##
3053 ## ------------------- ##"
3055 for ac_var in $ac_subst_files
3057 eval ac_val=\$$ac_var
3059 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3061 $as_echo "$ac_var='\''$ac_val'\''"
3066 if test -s confdefs.h; then
3067 $as_echo "## ----------- ##
3074 test "$ac_signal" != 0 &&
3075 $as_echo "$as_me: caught signal $ac_signal"
3076 $as_echo "$as_me: exit $exit_status"
3078 rm -f core *.core core.conftest.* &&
3079 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3082 for ac_signal in 1 2 13 15; do
3083 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3087 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3088 rm -f -r conftest* confdefs.h
3090 $as_echo "/* confdefs.h */" > confdefs.h
3092 # Predefined preprocessor variables.
3094 cat >>confdefs.h <<_ACEOF
3095 #define PACKAGE_NAME "$PACKAGE_NAME"
3098 cat >>confdefs.h <<_ACEOF
3099 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3102 cat >>confdefs.h <<_ACEOF
3103 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3106 cat >>confdefs.h <<_ACEOF
3107 #define PACKAGE_STRING "$PACKAGE_STRING"
3110 cat >>confdefs.h <<_ACEOF
3111 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3114 cat >>confdefs.h <<_ACEOF
3115 #define PACKAGE_URL "$PACKAGE_URL"
3119 # Let the site file select an alternate cache file if it wants to.
3120 # Prefer an explicitly selected file to automatically selected ones.
3123 if test -n "$CONFIG_SITE"; then
3124 # We do not want a PATH search for config.site.
3125 case $CONFIG_SITE in #((
3126 -*) ac_site_file1=./$CONFIG_SITE;;
3127 */*) ac_site_file1=$CONFIG_SITE;;
3128 *) ac_site_file1=./$CONFIG_SITE;;
3130 elif test "x$prefix" != xNONE; then
3131 ac_site_file1=$prefix/share/config.site
3132 ac_site_file2=$prefix/etc/config.site
3134 ac_site_file1=$ac_default_prefix/share/config.site
3135 ac_site_file2=$ac_default_prefix/etc/config.site
3137 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3139 test "x$ac_site_file" = xNONE && continue
3140 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3142 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3143 sed 's/^/| /' "$ac_site_file" >&5
3145 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3146 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3147 as_fn_error $? "failed to load site script $ac_site_file
3148 See \`config.log' for more details" "$LINENO" 5; }
3152 if test -r "$cache_file"; then
3153 # Some versions of bash will fail to source /dev/null (special files
3154 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3155 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3157 $as_echo "$as_me: loading cache $cache_file" >&6;}
3159 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3160 *) . "./$cache_file";;
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3165 $as_echo "$as_me: creating cache $cache_file" >&6;}
3169 gt_needs="$gt_needs "
3170 # Check that the precious variables saved in the cache have kept the same
3172 ac_cache_corrupted=false
3173 for ac_var in $ac_precious_vars; do
3174 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3175 eval ac_new_set=\$ac_env_${ac_var}_set
3176 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3177 eval ac_new_val=\$ac_env_${ac_var}_value
3178 case $ac_old_set,$ac_new_set in
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3181 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3182 ac_cache_corrupted=: ;;
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3185 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3186 ac_cache_corrupted=: ;;
3189 if test "x$ac_old_val" != "x$ac_new_val"; then
3190 # differences in whitespace do not lead to failure.
3191 ac_old_val_w=`echo x $ac_old_val`
3192 ac_new_val_w=`echo x $ac_new_val`
3193 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3195 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3196 ac_cache_corrupted=:
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3199 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3200 eval $ac_var=\$ac_old_val
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3203 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3205 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3208 # Pass precious variables to config.status.
3209 if test "$ac_new_set" = set; then
3211 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3212 *) ac_arg=$ac_var=$ac_new_val ;;
3214 case " $ac_configure_args " in
3215 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3216 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3220 if $ac_cache_corrupted; then
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3224 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3225 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3227 ## -------------------- ##
3228 ## Main body of script. ##
3229 ## -------------------- ##
3232 ac_cpp='$CPP $CPPFLAGS'
3233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3243 am__api_version='1.11'
3246 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3247 if test -f "$ac_dir/install-sh"; then
3249 ac_install_sh="$ac_aux_dir/install-sh -c"
3251 elif test -f "$ac_dir/install.sh"; then
3253 ac_install_sh="$ac_aux_dir/install.sh -c"
3255 elif test -f "$ac_dir/shtool"; then
3257 ac_install_sh="$ac_aux_dir/shtool install -c"
3261 if test -z "$ac_aux_dir"; then
3262 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3265 # These three variables are undocumented and unsupported,
3266 # and are intended to be withdrawn in a future Autoconf release.
3267 # They can cause serious problems if a builder's source tree is in a directory
3268 # whose full name contains unusual characters.
3269 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3270 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3271 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3274 # Find a good install program. We prefer a C program (faster),
3275 # so one script is as good as another. But avoid the broken or
3276 # incompatible versions:
3277 # SysV /etc/install, /usr/sbin/install
3278 # SunOS /usr/etc/install
3279 # IRIX /sbin/install
3281 # AmigaOS /C/install, which installs bootblocks on floppy discs
3282 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3283 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3284 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3285 # OS/2's system install, which has a completely different semantic
3286 # ./install, which can be erroneously created by make from ./install.sh.
3287 # Reject install programs that cannot install multiple files.
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3289 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3290 if test -z "$INSTALL"; then
3291 if ${ac_cv_path_install+:} false; then :
3292 $as_echo_n "(cached) " >&6
3294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3298 test -z "$as_dir" && as_dir=.
3299 # Account for people who put trailing slashes in PATH elements.
3300 case $as_dir/ in #((
3301 ./ | .// | /[cC]/* | \
3302 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3303 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3306 # OSF1 and SCO ODT 3.0 have their own names for install.
3307 # Don't use installbsd from OSF since it installs stuff as root
3309 for ac_prog in ginstall scoinst install; do
3310 for ac_exec_ext in '' $ac_executable_extensions; do
3311 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3312 if test $ac_prog = install &&
3313 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3314 # AIX install. It has an incompatible calling convention.
3316 elif test $ac_prog = install &&
3317 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3318 # program-specific install script used by HP pwplus--don't use.
3321 rm -rf conftest.one conftest.two conftest.dir
3322 echo one > conftest.one
3323 echo two > conftest.two
3325 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3326 test -s conftest.one && test -s conftest.two &&
3327 test -s conftest.dir/conftest.one &&
3328 test -s conftest.dir/conftest.two
3330 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3343 rm -rf conftest.one conftest.two conftest.dir
3346 if test "${ac_cv_path_install+set}" = set; then
3347 INSTALL=$ac_cv_path_install
3349 # As a last resort, use the slow shell script. Don't cache a
3350 # value for INSTALL within a source directory, because that will
3351 # break other packages using the cache if that directory is
3352 # removed, or if the value is a relative name.
3353 INSTALL=$ac_install_sh
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3357 $as_echo "$INSTALL" >&6; }
3359 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3360 # It thinks the first close brace ends the variable substitution.
3361 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3363 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3365 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3368 $as_echo_n "checking whether build environment is sane... " >&6; }
3371 echo timestamp > conftest.file
3372 # Reject unsafe characters in $srcdir or the absolute working directory
3373 # name. Accept space and tab only in the latter.
3377 *[\\\"\#\$\&\'\`$am_lf]*)
3378 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3381 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3382 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3385 # Do `set' in a subshell so we don't clobber the current shell's
3386 # arguments. Must try -L first in case configure is actually a
3387 # symlink; some systems play weird games with the mod time of symlinks
3388 # (eg FreeBSD returns the mod time of the symlink's containing
3391 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3392 if test "$*" = "X"; then
3394 set X `ls -t "$srcdir/configure" conftest.file`
3397 if test "$*" != "X $srcdir/configure conftest.file" \
3398 && test "$*" != "X conftest.file $srcdir/configure"; then
3400 # If neither matched, then we have a broken ls. This can happen
3401 # if, for instance, CONFIG_SHELL is bash and it inherits a
3402 # broken ls alias from the environment. This has actually
3403 # happened. Such a system could not be considered "sane".
3404 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3405 alias in your environment" "$LINENO" 5
3408 test "$2" = conftest.file
3414 as_fn_error $? "newly created file is older than distributed files!
3415 Check your system clock" "$LINENO" 5
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3418 $as_echo "yes" >&6; }
3419 test "$program_prefix" != NONE &&
3420 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3421 # Use a double $ so make ignores it.
3422 test "$program_suffix" != NONE &&
3423 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3424 # Double any \ or $.
3425 # By default was `s,x,x', remove it if useless.
3426 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3427 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3429 # expand $ac_aux_dir to an absolute path
3430 am_aux_dir=`cd $ac_aux_dir && pwd`
3432 if test x"${MISSING+set}" != xset; then
3435 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3437 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3440 # Use eval to expand $SHELL
3441 if eval "$MISSING --run true"; then
3442 am_missing_run="$MISSING --run "
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3446 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3449 if test x"${install_sh}" != xset; then
3452 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3454 install_sh="\${SHELL} $am_aux_dir/install-sh"
3458 # Installed binaries are usually stripped using `strip' when the user
3459 # run `make install-strip'. However `strip' might not be the right
3460 # tool to use in cross-compilation environments, therefore Automake
3461 # will honor the `STRIP' environment variable to overrule this program.
3462 if test "$cross_compiling" != no; then
3463 if test -n "$ac_tool_prefix"; then
3464 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3465 set dummy ${ac_tool_prefix}strip; ac_word=$2
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3467 $as_echo_n "checking for $ac_word... " >&6; }
3468 if ${ac_cv_prog_STRIP+:} false; then :
3469 $as_echo_n "(cached) " >&6
3471 if test -n "$STRIP"; then
3472 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3478 test -z "$as_dir" && as_dir=.
3479 for ac_exec_ext in '' $ac_executable_extensions; do
3480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3481 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3491 STRIP=$ac_cv_prog_STRIP
3492 if test -n "$STRIP"; then
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3494 $as_echo "$STRIP" >&6; }
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3497 $as_echo "no" >&6; }
3502 if test -z "$ac_cv_prog_STRIP"; then
3504 # Extract the first word of "strip", so it can be a program name with args.
3505 set dummy strip; ac_word=$2
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3507 $as_echo_n "checking for $ac_word... " >&6; }
3508 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3509 $as_echo_n "(cached) " >&6
3511 if test -n "$ac_ct_STRIP"; then
3512 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3518 test -z "$as_dir" && as_dir=.
3519 for ac_exec_ext in '' $ac_executable_extensions; do
3520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3521 ac_cv_prog_ac_ct_STRIP="strip"
3522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3531 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3532 if test -n "$ac_ct_STRIP"; then
3533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3534 $as_echo "$ac_ct_STRIP" >&6; }
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3537 $as_echo "no" >&6; }
3540 if test "x$ac_ct_STRIP" = x; then
3543 case $cross_compiling:$ac_tool_warned in
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3547 ac_tool_warned=yes ;;
3552 STRIP="$ac_cv_prog_STRIP"
3556 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3559 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3560 if test -z "$MKDIR_P"; then
3561 if ${ac_cv_path_mkdir+:} false; then :
3562 $as_echo_n "(cached) " >&6
3564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3565 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3568 test -z "$as_dir" && as_dir=.
3569 for ac_prog in mkdir gmkdir; do
3570 for ac_exec_ext in '' $ac_executable_extensions; do
3571 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3572 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3573 'mkdir (GNU coreutils) '* | \
3574 'mkdir (coreutils) '* | \
3575 'mkdir (fileutils) '4.1*)
3576 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3586 test -d ./--version && rmdir ./--version
3587 if test "${ac_cv_path_mkdir+set}" = set; then
3588 MKDIR_P="$ac_cv_path_mkdir -p"
3590 # As a last resort, use the slow shell script. Don't cache a
3591 # value for MKDIR_P within a source directory, because that will
3592 # break other packages using the cache if that directory is
3593 # removed, or if the value is a relative name.
3594 MKDIR_P="$ac_install_sh -d"
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3598 $as_echo "$MKDIR_P" >&6; }
3602 [\\/$]* | ?:[\\/]*) ;;
3603 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3606 for ac_prog in gawk mawk nawk awk
3608 # Extract the first word of "$ac_prog", so it can be a program name with args.
3609 set dummy $ac_prog; ac_word=$2
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3611 $as_echo_n "checking for $ac_word... " >&6; }
3612 if ${ac_cv_prog_AWK+:} false; then :
3613 $as_echo_n "(cached) " >&6
3615 if test -n "$AWK"; then
3616 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3622 test -z "$as_dir" && as_dir=.
3623 for ac_exec_ext in '' $ac_executable_extensions; do
3624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625 ac_cv_prog_AWK="$ac_prog"
3626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3636 if test -n "$AWK"; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3638 $as_echo "$AWK" >&6; }
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3641 $as_echo "no" >&6; }
3645 test -n "$AWK" && break
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3649 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3651 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3652 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3653 $as_echo_n "(cached) " >&6
3655 cat >conftest.make <<\_ACEOF
3658 @echo '@@@%%%=$(MAKE)=@@@%%%'
3660 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3661 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3663 eval ac_cv_prog_make_${ac_make}_set=yes;;
3665 eval ac_cv_prog_make_${ac_make}_set=no;;
3669 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3671 $as_echo "yes" >&6; }
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3675 $as_echo "no" >&6; }
3676 SET_MAKE="MAKE=${MAKE-make}"
3679 rm -rf .tst 2>/dev/null
3680 mkdir .tst 2>/dev/null
3681 if test -d .tst; then
3686 rmdir .tst 2>/dev/null
3688 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3689 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3690 # is not polluted with repeated "-I."
3691 am__isrc=' -I$(srcdir)'
3692 # test to see if srcdir already configured
3693 if test -f $srcdir/config.status; then
3694 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3698 # test whether we have cygpath
3699 if test -z "$CYGPATH_W"; then
3700 if (cygpath --version) >/dev/null 2>/dev/null; then
3701 CYGPATH_W='cygpath -w'
3708 # Define the identity of the package.
3709 PACKAGE='gst-plugins-base'
3713 cat >>confdefs.h <<_ACEOF
3714 #define PACKAGE "$PACKAGE"
3718 cat >>confdefs.h <<_ACEOF
3719 #define VERSION "$VERSION"
3722 # Some tools Automake needs.
3724 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3727 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3730 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3733 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3736 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3738 # We need awk for the "check" target. The system "awk" is bad on
3740 # Always define AMTAR for backward compatibility. Yes, it's still used
3741 # in the wild :-( We should find a proper way to deprecate it ...
3744 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3752 PACKAGE_VERSION_MAJOR=$(echo 0.10.36 | cut -d'.' -f1)
3753 PACKAGE_VERSION_MINOR=$(echo 0.10.36 | cut -d'.' -f2)
3754 PACKAGE_VERSION_MICRO=$(echo 0.10.36 | cut -d'.' -f3)
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
3763 $as_echo_n "checking nano version... " >&6; }
3765 NANO=$(echo 0.10.36 | cut -d'.' -f4)
3767 if test x"$NANO" = x || test "x$NANO" = "x0" ; then
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
3769 $as_echo "0 (release)" >&6; }
3771 PACKAGE_VERSION_RELEASE=1
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
3775 $as_echo "$NANO" >&6; }
3776 PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
3777 if test "x$NANO" != "x1" ; then
3783 PACKAGE_VERSION_NANO=$NANO
3790 ac_config_headers="$ac_config_headers config.h"
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3795 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3796 # Check whether --enable-maintainer-mode was given.
3797 if test "${enable_maintainer_mode+set}" = set; then :
3798 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3800 USE_MAINTAINER_MODE=no
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3804 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3805 if test $USE_MAINTAINER_MODE = yes; then
3806 MAINTAINER_MODE_TRUE=
3807 MAINTAINER_MODE_FALSE='#'
3809 MAINTAINER_MODE_TRUE='#'
3810 MAINTAINER_MODE_FALSE=
3813 MAINT=$MAINTAINER_MODE_TRUE
3817 # Make sure we can run config.sub.
3818 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3819 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3822 $as_echo_n "checking build system type... " >&6; }
3823 if ${ac_cv_build+:} false; then :
3824 $as_echo_n "(cached) " >&6
3826 ac_build_alias=$build_alias
3827 test "x$ac_build_alias" = x &&
3828 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3829 test "x$ac_build_alias" = x &&
3830 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3831 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3832 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3836 $as_echo "$ac_cv_build" >&6; }
3837 case $ac_cv_build in
3839 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3842 ac_save_IFS=$IFS; IFS='-'
3848 # Remember, the first character of IFS is used to create $*,
3849 # except with old shells:
3852 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3856 $as_echo_n "checking host system type... " >&6; }
3857 if ${ac_cv_host+:} false; then :
3858 $as_echo_n "(cached) " >&6
3860 if test "x$host_alias" = x; then
3861 ac_cv_host=$ac_cv_build
3863 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3864 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3869 $as_echo "$ac_cv_host" >&6; }
3872 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3875 ac_save_IFS=$IFS; IFS='-'
3881 # Remember, the first character of IFS is used to create $*,
3882 # except with old shells:
3885 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3889 # Check whether --enable-silent-rules was given.
3890 if test "${enable_silent_rules+set}" = set; then :
3891 enableval=$enable_silent_rules;
3894 case $enable_silent_rules in
3895 yes) AM_DEFAULT_VERBOSITY=0;;
3896 no) AM_DEFAULT_VERBOSITY=1;;
3897 *) AM_DEFAULT_VERBOSITY=0;;
3899 am_make=${MAKE-make}
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3901 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3902 if ${am_cv_make_support_nested_variables+:} false; then :
3903 $as_echo_n "(cached) " >&6
3905 if $as_echo 'TRUE=$(BAR$(V))
3911 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3912 am_cv_make_support_nested_variables=yes
3914 am_cv_make_support_nested_variables=no
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3918 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3919 if test $am_cv_make_support_nested_variables = yes; then
3921 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3923 AM_V=$AM_DEFAULT_VERBOSITY
3924 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3929 GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
3937 GST_LIBVERSION=25:0:25
3943 GST_LT_LDFLAGS="$GST_LT_LDFLAGS -version-info $GST_LIBVERSION"
3946 GST_LT_LDFLAGS="$GST_LT_LDFLAGS -release "
3957 enable_win32_dll=yes
3960 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3961 if test -n "$ac_tool_prefix"; then
3962 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3963 set dummy ${ac_tool_prefix}as; ac_word=$2
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965 $as_echo_n "checking for $ac_word... " >&6; }
3966 if ${ac_cv_prog_AS+:} false; then :
3967 $as_echo_n "(cached) " >&6
3969 if test -n "$AS"; then
3970 ac_cv_prog_AS="$AS" # Let the user override the test.
3972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976 test -z "$as_dir" && as_dir=.
3977 for ac_exec_ext in '' $ac_executable_extensions; do
3978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3979 ac_cv_prog_AS="${ac_tool_prefix}as"
3980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 if test -n "$AS"; then
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3992 $as_echo "$AS" >&6; }
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3995 $as_echo "no" >&6; }
4000 if test -z "$ac_cv_prog_AS"; then
4002 # Extract the first word of "as", so it can be a program name with args.
4003 set dummy as; ac_word=$2
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4005 $as_echo_n "checking for $ac_word... " >&6; }
4006 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4007 $as_echo_n "(cached) " >&6
4009 if test -n "$ac_ct_AS"; then
4010 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4016 test -z "$as_dir" && as_dir=.
4017 for ac_exec_ext in '' $ac_executable_extensions; do
4018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4019 ac_cv_prog_ac_ct_AS="as"
4020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4029 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4030 if test -n "$ac_ct_AS"; then
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4032 $as_echo "$ac_ct_AS" >&6; }
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4035 $as_echo "no" >&6; }
4038 if test "x$ac_ct_AS" = x; then
4041 case $cross_compiling:$ac_tool_warned in
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4045 ac_tool_warned=yes ;;
4053 if test -n "$ac_tool_prefix"; then
4054 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4055 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4057 $as_echo_n "checking for $ac_word... " >&6; }
4058 if ${ac_cv_prog_DLLTOOL+:} false; then :
4059 $as_echo_n "(cached) " >&6
4061 if test -n "$DLLTOOL"; then
4062 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4068 test -z "$as_dir" && as_dir=.
4069 for ac_exec_ext in '' $ac_executable_extensions; do
4070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4071 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4081 DLLTOOL=$ac_cv_prog_DLLTOOL
4082 if test -n "$DLLTOOL"; then
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4084 $as_echo "$DLLTOOL" >&6; }
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4087 $as_echo "no" >&6; }
4092 if test -z "$ac_cv_prog_DLLTOOL"; then
4093 ac_ct_DLLTOOL=$DLLTOOL
4094 # Extract the first word of "dlltool", so it can be a program name with args.
4095 set dummy dlltool; ac_word=$2
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4097 $as_echo_n "checking for $ac_word... " >&6; }
4098 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4099 $as_echo_n "(cached) " >&6
4101 if test -n "$ac_ct_DLLTOOL"; then
4102 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4108 test -z "$as_dir" && as_dir=.
4109 for ac_exec_ext in '' $ac_executable_extensions; do
4110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4111 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4121 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4122 if test -n "$ac_ct_DLLTOOL"; then
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4124 $as_echo "$ac_ct_DLLTOOL" >&6; }
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4127 $as_echo "no" >&6; }
4130 if test "x$ac_ct_DLLTOOL" = x; then
4133 case $cross_compiling:$ac_tool_warned in
4135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4137 ac_tool_warned=yes ;;
4139 DLLTOOL=$ac_ct_DLLTOOL
4142 DLLTOOL="$ac_cv_prog_DLLTOOL"
4145 if test -n "$ac_tool_prefix"; then
4146 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4147 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4149 $as_echo_n "checking for $ac_word... " >&6; }
4150 if ${ac_cv_prog_OBJDUMP+:} false; then :
4151 $as_echo_n "(cached) " >&6
4153 if test -n "$OBJDUMP"; then
4154 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4160 test -z "$as_dir" && as_dir=.
4161 for ac_exec_ext in '' $ac_executable_extensions; do
4162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4163 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4173 OBJDUMP=$ac_cv_prog_OBJDUMP
4174 if test -n "$OBJDUMP"; then
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4176 $as_echo "$OBJDUMP" >&6; }
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4179 $as_echo "no" >&6; }
4184 if test -z "$ac_cv_prog_OBJDUMP"; then
4185 ac_ct_OBJDUMP=$OBJDUMP
4186 # Extract the first word of "objdump", so it can be a program name with args.
4187 set dummy objdump; ac_word=$2
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4189 $as_echo_n "checking for $ac_word... " >&6; }
4190 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4191 $as_echo_n "(cached) " >&6
4193 if test -n "$ac_ct_OBJDUMP"; then
4194 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4200 test -z "$as_dir" && as_dir=.
4201 for ac_exec_ext in '' $ac_executable_extensions; do
4202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4203 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4213 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4214 if test -n "$ac_ct_OBJDUMP"; then
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4216 $as_echo "$ac_ct_OBJDUMP" >&6; }
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4219 $as_echo "no" >&6; }
4222 if test "x$ac_ct_OBJDUMP" = x; then
4225 case $cross_compiling:$ac_tool_warned in
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4229 ac_tool_warned=yes ;;
4231 OBJDUMP=$ac_ct_OBJDUMP
4234 OBJDUMP="$ac_cv_prog_OBJDUMP"
4240 test -z "$AS" && AS=as
4246 test -z "$DLLTOOL" && DLLTOOL=dlltool
4252 test -z "$OBJDUMP" && OBJDUMP=objdump
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4263 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4268 macro_version='2.4.2'
4269 macro_revision='1.3337'
4283 ltmain="$ac_aux_dir/ltmain.sh"
4285 # Backslashify metacharacters that are still active within
4286 # double-quoted strings.
4287 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4289 # Same as above, but do not quote variable references.
4290 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4292 # Sed substitution to delay expansion of an escaped shell variable in a
4293 # double_quote_subst'ed string.
4294 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4296 # Sed substitution to delay expansion of an escaped single quote.
4297 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4299 # Sed substitution to avoid accidental globbing in evaled expressions
4300 no_glob_subst='s/\*/\\\*/g'
4302 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4303 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4304 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4307 $as_echo_n "checking how to print strings... " >&6; }
4308 # Test print first, because it will be a builtin if present.
4309 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4310 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4312 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4315 # Use this function as a fallback that always works.
4316 func_fallback_echo ()
4318 eval 'cat <<_LTECHO_EOF
4322 ECHO='func_fallback_echo'
4325 # func_echo_all arg...
4326 # Invoke $ECHO with all args, space-separated.
4333 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4334 $as_echo "printf" >&6; } ;;
4335 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4336 $as_echo "print -r" >&6; } ;;
4337 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4338 $as_echo "cat" >&6; } ;;
4354 DEPDIR="${am__leading_dot}deps"
4356 ac_config_commands="$ac_config_commands depfiles"
4359 am_make=${MAKE-make}
4360 cat > confinc << 'END'
4362 @echo this is the am__doit target
4365 # If we don't find an include directive, just comment out the code.
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4367 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4371 # First try GNU make style include.
4372 echo "include confinc" > confmf
4373 # Ignore all kinds of additional output from `make'.
4374 case `$am_make -s -f confmf 2> /dev/null` in #(
4375 *the\ am__doit\ target*)
4381 # Now try BSD make style include.
4382 if test "$am__include" = "#"; then
4383 echo '.include "confinc"' > confmf
4384 case `$am_make -s -f confmf 2> /dev/null` in #(
4385 *the\ am__doit\ target*)
4386 am__include=.include
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4395 $as_echo "$_am_result" >&6; }
4396 rm -f confinc confmf
4398 # Check whether --enable-dependency-tracking was given.
4399 if test "${enable_dependency_tracking+set}" = set; then :
4400 enableval=$enable_dependency_tracking;
4403 if test "x$enable_dependency_tracking" != xno; then
4404 am_depcomp="$ac_aux_dir/depcomp"
4408 if test "x$enable_dependency_tracking" != xno; then
4418 ac_cpp='$CPP $CPPFLAGS'
4419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4422 if test -n "$ac_tool_prefix"; then
4423 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4424 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4426 $as_echo_n "checking for $ac_word... " >&6; }
4427 if ${ac_cv_prog_CC+:} false; then :
4428 $as_echo_n "(cached) " >&6
4430 if test -n "$CC"; then
4431 ac_cv_prog_CC="$CC" # Let the user override the test.
4433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4437 test -z "$as_dir" && as_dir=.
4438 for ac_exec_ext in '' $ac_executable_extensions; do
4439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4440 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 if test -n "$CC"; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4453 $as_echo "$CC" >&6; }
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4461 if test -z "$ac_cv_prog_CC"; then
4463 # Extract the first word of "gcc", so it can be a program name with args.
4464 set dummy gcc; ac_word=$2
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4466 $as_echo_n "checking for $ac_word... " >&6; }
4467 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4468 $as_echo_n "(cached) " >&6
4470 if test -n "$ac_ct_CC"; then
4471 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4477 test -z "$as_dir" && as_dir=.
4478 for ac_exec_ext in '' $ac_executable_extensions; do
4479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4480 ac_cv_prog_ac_ct_CC="gcc"
4481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4491 if test -n "$ac_ct_CC"; then
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4493 $as_echo "$ac_ct_CC" >&6; }
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4496 $as_echo "no" >&6; }
4499 if test "x$ac_ct_CC" = x; then
4502 case $cross_compiling:$ac_tool_warned in
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4506 ac_tool_warned=yes ;;
4514 if test -z "$CC"; then
4515 if test -n "$ac_tool_prefix"; then
4516 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4517 set dummy ${ac_tool_prefix}cc; ac_word=$2
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4519 $as_echo_n "checking for $ac_word... " >&6; }
4520 if ${ac_cv_prog_CC+:} false; then :
4521 $as_echo_n "(cached) " >&6
4523 if test -n "$CC"; then
4524 ac_cv_prog_CC="$CC" # Let the user override the test.
4526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4530 test -z "$as_dir" && as_dir=.
4531 for ac_exec_ext in '' $ac_executable_extensions; do
4532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4533 ac_cv_prog_CC="${ac_tool_prefix}cc"
4534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4544 if test -n "$CC"; then
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4546 $as_echo "$CC" >&6; }
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4549 $as_echo "no" >&6; }
4555 if test -z "$CC"; then
4556 # Extract the first word of "cc", so it can be a program name with args.
4557 set dummy cc; ac_word=$2
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4559 $as_echo_n "checking for $ac_word... " >&6; }
4560 if ${ac_cv_prog_CC+:} false; then :
4561 $as_echo_n "(cached) " >&6
4563 if test -n "$CC"; then
4564 ac_cv_prog_CC="$CC" # Let the user override the test.
4567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4571 test -z "$as_dir" && as_dir=.
4572 for ac_exec_ext in '' $ac_executable_extensions; do
4573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4574 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4575 ac_prog_rejected=yes
4579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4586 if test $ac_prog_rejected = yes; then
4587 # We found a bogon in the path, so make sure we never use it.
4588 set dummy $ac_cv_prog_CC
4590 if test $# != 0; then
4591 # We chose a different compiler from the bogus one.
4592 # However, it has the same basename, so the bogon will be chosen
4593 # first if we set CC to just the basename; use the full file name.
4595 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4601 if test -n "$CC"; then
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4603 $as_echo "$CC" >&6; }
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4606 $as_echo "no" >&6; }
4611 if test -z "$CC"; then
4612 if test -n "$ac_tool_prefix"; then
4613 for ac_prog in cl.exe
4615 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4616 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4618 $as_echo_n "checking for $ac_word... " >&6; }
4619 if ${ac_cv_prog_CC+:} false; then :
4620 $as_echo_n "(cached) " >&6
4622 if test -n "$CC"; then
4623 ac_cv_prog_CC="$CC" # Let the user override the test.
4625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4629 test -z "$as_dir" && as_dir=.
4630 for ac_exec_ext in '' $ac_executable_extensions; do
4631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4632 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4643 if test -n "$CC"; then
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4645 $as_echo "$CC" >&6; }
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4648 $as_echo "no" >&6; }
4652 test -n "$CC" && break
4655 if test -z "$CC"; then
4657 for ac_prog in cl.exe
4659 # Extract the first word of "$ac_prog", so it can be a program name with args.
4660 set dummy $ac_prog; ac_word=$2
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4662 $as_echo_n "checking for $ac_word... " >&6; }
4663 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4664 $as_echo_n "(cached) " >&6
4666 if test -n "$ac_ct_CC"; then
4667 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4673 test -z "$as_dir" && as_dir=.
4674 for ac_exec_ext in '' $ac_executable_extensions; do
4675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4676 ac_cv_prog_ac_ct_CC="$ac_prog"
4677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4687 if test -n "$ac_ct_CC"; then
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4689 $as_echo "$ac_ct_CC" >&6; }
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4692 $as_echo "no" >&6; }
4696 test -n "$ac_ct_CC" && break
4699 if test "x$ac_ct_CC" = x; then
4702 case $cross_compiling:$ac_tool_warned in
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4706 ac_tool_warned=yes ;;
4715 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4717 as_fn_error $? "no acceptable C compiler found in \$PATH
4718 See \`config.log' for more details" "$LINENO" 5; }
4720 # Provide some information about the compiler.
4721 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4724 for ac_option in --version -v -V -qversion; do
4725 { { ac_try="$ac_compiler $ac_option >&5"
4727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4728 *) ac_try_echo=$ac_try;;
4730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4731 $as_echo "$ac_try_echo"; } >&5
4732 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4734 if test -s conftest.err; then
4736 ... rest of stderr output deleted ...
4737 10q' conftest.err >conftest.er1
4738 cat conftest.er1 >&5
4740 rm -f conftest.er1 conftest.err
4741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4742 test $ac_status = 0; }
4745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4746 /* end confdefs.h. */
4756 ac_clean_files_save=$ac_clean_files
4757 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4758 # Try to create an executable without -o first, disregard a.out.
4759 # It will help us diagnose broken compilers, and finding out an intuition
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4762 $as_echo_n "checking whether the C compiler works... " >&6; }
4763 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4765 # The possible output files:
4766 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4769 for ac_file in $ac_files
4772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4773 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4778 if { { ac_try="$ac_link_default"
4780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4781 *) ac_try_echo=$ac_try;;
4783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4784 $as_echo "$ac_try_echo"; } >&5
4785 (eval "$ac_link_default") 2>&5
4787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4788 test $ac_status = 0; }; then :
4789 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4790 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4791 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4792 # so that the user can short-circuit this test for compilers unknown to
4794 for ac_file in $ac_files ''
4796 test -f "$ac_file" || continue
4798 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4801 # We found the default executable, but exeext='' is most
4805 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4807 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4809 # We set ac_cv_exeext here because the later test for it is not
4810 # safe: cross compilers may not add the suffix if given an `-o'
4811 # argument, so we may need to know it at that point already.
4812 # Even if this section looks crufty: it has the advantage of
4819 test "$ac_cv_exeext" = no && ac_cv_exeext=
4824 if test -z "$ac_file"; then :
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4826 $as_echo "no" >&6; }
4827 $as_echo "$as_me: failed program was:" >&5
4828 sed 's/^/| /' conftest.$ac_ext >&5
4830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4831 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4832 as_fn_error 77 "C compiler cannot create executables
4833 See \`config.log' for more details" "$LINENO" 5; }
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4836 $as_echo "yes" >&6; }
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4839 $as_echo_n "checking for C compiler default output file name... " >&6; }
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4841 $as_echo "$ac_file" >&6; }
4842 ac_exeext=$ac_cv_exeext
4844 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4845 ac_clean_files=$ac_clean_files_save
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4847 $as_echo_n "checking for suffix of executables... " >&6; }
4848 if { { ac_try="$ac_link"
4850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4851 *) ac_try_echo=$ac_try;;
4853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4854 $as_echo "$ac_try_echo"; } >&5
4855 (eval "$ac_link") 2>&5
4857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4858 test $ac_status = 0; }; then :
4859 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4860 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4861 # work properly (i.e., refer to `conftest.exe'), while it won't with
4863 for ac_file in conftest.exe conftest conftest.*; do
4864 test -f "$ac_file" || continue
4866 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4867 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4873 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4875 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4876 See \`config.log' for more details" "$LINENO" 5; }
4878 rm -f conftest conftest$ac_cv_exeext
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4880 $as_echo "$ac_cv_exeext" >&6; }
4882 rm -f conftest.$ac_ext
4883 EXEEXT=$ac_cv_exeext
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4891 FILE *f = fopen ("conftest.out", "w");
4892 return ferror (f) || fclose (f) != 0;
4898 ac_clean_files="$ac_clean_files conftest.out"
4899 # Check that the compiler produces executables we can run. If not, either
4900 # the compiler is broken, or we cross compile.
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4902 $as_echo_n "checking whether we are cross compiling... " >&6; }
4903 if test "$cross_compiling" != yes; then
4904 { { ac_try="$ac_link"
4906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4907 *) ac_try_echo=$ac_try;;
4909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4910 $as_echo "$ac_try_echo"; } >&5
4911 (eval "$ac_link") 2>&5
4913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4914 test $ac_status = 0; }
4915 if { ac_try='./conftest$ac_cv_exeext'
4916 { { case "(($ac_try" in
4917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4918 *) ac_try_echo=$ac_try;;
4920 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4921 $as_echo "$ac_try_echo"; } >&5
4922 (eval "$ac_try") 2>&5
4924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4925 test $ac_status = 0; }; }; then
4928 if test "$cross_compiling" = maybe; then
4931 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4933 as_fn_error $? "cannot run C compiled programs.
4934 If you meant to cross compile, use \`--host'.
4935 See \`config.log' for more details" "$LINENO" 5; }
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4940 $as_echo "$cross_compiling" >&6; }
4942 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4943 ac_clean_files=$ac_clean_files_save
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4945 $as_echo_n "checking for suffix of object files... " >&6; }
4946 if ${ac_cv_objext+:} false; then :
4947 $as_echo_n "(cached) " >&6
4949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4950 /* end confdefs.h. */
4960 rm -f conftest.o conftest.obj
4961 if { { ac_try="$ac_compile"
4963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4964 *) ac_try_echo=$ac_try;;
4966 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4967 $as_echo "$ac_try_echo"; } >&5
4968 (eval "$ac_compile") 2>&5
4970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4971 test $ac_status = 0; }; then :
4972 for ac_file in conftest.o conftest.obj conftest.*; do
4973 test -f "$ac_file" || continue;
4975 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4976 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4981 $as_echo "$as_me: failed program was:" >&5
4982 sed 's/^/| /' conftest.$ac_ext >&5
4984 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4986 as_fn_error $? "cannot compute suffix of object files: cannot compile
4987 See \`config.log' for more details" "$LINENO" 5; }
4989 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4992 $as_echo "$ac_cv_objext" >&6; }
4993 OBJEXT=$ac_cv_objext
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4996 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4997 if ${ac_cv_c_compiler_gnu+:} false; then :
4998 $as_echo_n "(cached) " >&6
5000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5001 /* end confdefs.h. */
5014 if ac_fn_c_try_compile "$LINENO"; then :
5019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5020 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5024 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5025 if test $ac_compiler_gnu = yes; then
5030 ac_test_CFLAGS=${CFLAGS+set}
5031 ac_save_CFLAGS=$CFLAGS
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5033 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5034 if ${ac_cv_prog_cc_g+:} false; then :
5035 $as_echo_n "(cached) " >&6
5037 ac_save_c_werror_flag=$ac_c_werror_flag
5038 ac_c_werror_flag=yes
5041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5042 /* end confdefs.h. */
5052 if ac_fn_c_try_compile "$LINENO"; then :
5056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5057 /* end confdefs.h. */
5067 if ac_fn_c_try_compile "$LINENO"; then :
5070 ac_c_werror_flag=$ac_save_c_werror_flag
5072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5073 /* end confdefs.h. */
5083 if ac_fn_c_try_compile "$LINENO"; then :
5086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5091 ac_c_werror_flag=$ac_save_c_werror_flag
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5094 $as_echo "$ac_cv_prog_cc_g" >&6; }
5095 if test "$ac_test_CFLAGS" = set; then
5096 CFLAGS=$ac_save_CFLAGS
5097 elif test $ac_cv_prog_cc_g = yes; then
5098 if test "$GCC" = yes; then
5104 if test "$GCC" = yes; then
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5111 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5112 if ${ac_cv_prog_cc_c89+:} false; then :
5113 $as_echo_n "(cached) " >&6
5115 ac_cv_prog_cc_c89=no
5117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5118 /* end confdefs.h. */
5121 #include <sys/types.h>
5122 #include <sys/stat.h>
5123 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5124 struct buf { int x; };
5125 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5126 static char *e (p, i)
5132 static char *f (char * (*g) (char **, int), char **p, ...)
5137 s = g (p, va_arg (v,int));
5142 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5143 function prototypes and stuff, but not '\xHH' hex character constants.
5144 These don't provoke an error unfortunately, instead are silently treated
5145 as 'x'. The following induces an error, until -std is added to get
5146 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5147 array size at least. It's necessary to write '\x00'==0 to get something
5148 that's true only with -std. */
5149 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5151 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5152 inside strings and character constants. */
5154 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5156 int test (int i, double x);
5157 struct s1 {int (*f) (int a);};
5158 struct s2 {int (*f) (double a);};
5159 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5165 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5170 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5171 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5173 CC="$ac_save_CC $ac_arg"
5174 if ac_fn_c_try_compile "$LINENO"; then :
5175 ac_cv_prog_cc_c89=$ac_arg
5177 rm -f core conftest.err conftest.$ac_objext
5178 test "x$ac_cv_prog_cc_c89" != "xno" && break
5180 rm -f conftest.$ac_ext
5185 case "x$ac_cv_prog_cc_c89" in
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5188 $as_echo "none needed" >&6; } ;;
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5191 $as_echo "unsupported" >&6; } ;;
5193 CC="$CC $ac_cv_prog_cc_c89"
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5195 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5197 if test "x$ac_cv_prog_cc_c89" != xno; then :
5202 ac_cpp='$CPP $CPPFLAGS'
5203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5207 depcc="$CC" am_compiler_list=
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5210 $as_echo_n "checking dependency style of $depcc... " >&6; }
5211 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5212 $as_echo_n "(cached) " >&6
5214 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5215 # We make a subdir and do the tests there. Otherwise we can end up
5216 # making bogus files that we don't know about and never remove. For
5217 # instance it was reported that on HP-UX the gcc test will end up
5218 # making a dummy file named `D' -- because `-MD' means `put the output
5222 # Copy depcomp to subdir because otherwise we won't find it if we're
5223 # using a relative directory.
5224 cp "$am_depcomp" conftest.dir
5226 # We will build objects and dependencies in a subdirectory because
5227 # it helps to detect inapplicable dependency modes. For instance
5228 # both Tru64's cc and ICC support -MD to output dependencies as a
5229 # side effect of compilation, but ICC will put the dependencies in
5230 # the current directory while Tru64 will put them in the object
5234 am_cv_CC_dependencies_compiler_type=none
5235 if test "$am_compiler_list" = ""; then
5236 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5239 case " $depcc " in #(
5240 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5243 for depmode in $am_compiler_list; do
5244 # Setup a source with many dependencies, because some compilers
5245 # like to wrap large dependency lists on column 80 (with \), and
5246 # we should not choose a depcomp mode which is confused by this.
5248 # We need to recreate these files for each test, as the compiler may
5249 # overwrite some of them when testing with obscure command lines.
5250 # This happens at least with the AIX C compiler.
5252 for i in 1 2 3 4 5 6; do
5253 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5254 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5255 # Solaris 8's {/usr,}/bin/sh.
5256 touch sub/conftst$i.h
5258 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5260 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5261 # mode. It turns out that the SunPro C++ compiler does not properly
5262 # handle `-M -o', and we need to detect this. Also, some Intel
5263 # versions had trouble with output in subdirs
5264 am__obj=sub/conftest.${OBJEXT-o}
5265 am__minus_obj="-o $am__obj"
5268 # This depmode causes a compiler race in universal mode.
5269 test "$am__universal" = false || continue
5272 # after this tag, mechanisms are not by side-effect, so they'll
5273 # only be used when explicitly requested
5274 if test "x$enable_dependency_tracking" = xyes; then
5280 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5281 # This compiler won't grok `-c -o', but also, the minuso test has
5282 # not run yet. These depmodes are late enough in the game, and
5283 # so weak that their functioning should not be impacted.
5284 am__obj=conftest.${OBJEXT-o}
5289 if depmode=$depmode \
5290 source=sub/conftest.c object=$am__obj \
5291 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5292 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5293 >/dev/null 2>conftest.err &&
5294 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5295 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5296 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5297 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5298 # icc doesn't choke on unknown options, it will just issue warnings
5299 # or remarks (even with -Werror). So we grep stderr for any message
5300 # that says an option was ignored or not supported.
5301 # When given -MP, icc 7.0 and 7.1 complain thusly:
5302 # icc: Command line warning: ignoring option '-M'; no argument required
5303 # The diagnosis changed in icc 8.0:
5304 # icc: Command line remark: option '-MP' not supported
5305 if (grep 'ignoring option' conftest.err ||
5306 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5307 am_cv_CC_dependencies_compiler_type=$depmode
5316 am_cv_CC_dependencies_compiler_type=none
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5321 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5322 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5325 test "x$enable_dependency_tracking" != xno \
5326 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5328 am__fastdepCC_FALSE='#'
5330 am__fastdepCC_TRUE='#'
5331 am__fastdepCC_FALSE=
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5336 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5337 if ${ac_cv_path_SED+:} false; then :
5338 $as_echo_n "(cached) " >&6
5340 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5341 for ac_i in 1 2 3 4 5 6 7; do
5342 ac_script="$ac_script$as_nl$ac_script"
5344 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5345 { ac_script=; unset ac_script;}
5346 if test -z "$SED"; then
5347 ac_path_SED_found=false
5348 # Loop through the user's path and test for each of PROGNAME-LIST
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353 test -z "$as_dir" && as_dir=.
5354 for ac_prog in sed gsed; do
5355 for ac_exec_ext in '' $ac_executable_extensions; do
5356 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5357 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5358 # Check for GNU ac_path_SED and select it if it is found.
5359 # Check for GNU $ac_path_SED
5360 case `"$ac_path_SED" --version 2>&1` in
5362 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5365 $as_echo_n 0123456789 >"conftest.in"
5368 cat "conftest.in" "conftest.in" >"conftest.tmp"
5369 mv "conftest.tmp" "conftest.in"
5370 cp "conftest.in" "conftest.nl"
5371 $as_echo '' >> "conftest.nl"
5372 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5373 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5374 as_fn_arith $ac_count + 1 && ac_count=$as_val
5375 if test $ac_count -gt ${ac_path_SED_max-0}; then
5376 # Best one so far, save it but keep looking for a better one
5377 ac_cv_path_SED="$ac_path_SED"
5378 ac_path_SED_max=$ac_count
5380 # 10*(2^10) chars as input seems more than enough
5381 test $ac_count -gt 10 && break
5383 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5386 $ac_path_SED_found && break 3
5391 if test -z "$ac_cv_path_SED"; then
5392 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5400 $as_echo "$ac_cv_path_SED" >&6; }
5401 SED="$ac_cv_path_SED"
5404 test -z "$SED" && SED=sed
5405 Xsed="$SED -e 1s/^X//"
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5418 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5419 if ${ac_cv_path_GREP+:} false; then :
5420 $as_echo_n "(cached) " >&6
5422 if test -z "$GREP"; then
5423 ac_path_GREP_found=false
5424 # Loop through the user's path and test for each of PROGNAME-LIST
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5429 test -z "$as_dir" && as_dir=.
5430 for ac_prog in grep ggrep; do
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5433 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5434 # Check for GNU ac_path_GREP and select it if it is found.
5435 # Check for GNU $ac_path_GREP
5436 case `"$ac_path_GREP" --version 2>&1` in
5438 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5441 $as_echo_n 0123456789 >"conftest.in"
5444 cat "conftest.in" "conftest.in" >"conftest.tmp"
5445 mv "conftest.tmp" "conftest.in"
5446 cp "conftest.in" "conftest.nl"
5447 $as_echo 'GREP' >> "conftest.nl"
5448 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5449 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5450 as_fn_arith $ac_count + 1 && ac_count=$as_val
5451 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5452 # Best one so far, save it but keep looking for a better one
5453 ac_cv_path_GREP="$ac_path_GREP"
5454 ac_path_GREP_max=$ac_count
5456 # 10*(2^10) chars as input seems more than enough
5457 test $ac_count -gt 10 && break
5459 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5462 $ac_path_GREP_found && break 3
5467 if test -z "$ac_cv_path_GREP"; then
5468 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5471 ac_cv_path_GREP=$GREP
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5476 $as_echo "$ac_cv_path_GREP" >&6; }
5477 GREP="$ac_cv_path_GREP"
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5481 $as_echo_n "checking for egrep... " >&6; }
5482 if ${ac_cv_path_EGREP+:} false; then :
5483 $as_echo_n "(cached) " >&6
5485 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5486 then ac_cv_path_EGREP="$GREP -E"
5488 if test -z "$EGREP"; then
5489 ac_path_EGREP_found=false
5490 # Loop through the user's path and test for each of PROGNAME-LIST
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5495 test -z "$as_dir" && as_dir=.
5496 for ac_prog in egrep; do
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5499 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5500 # Check for GNU ac_path_EGREP and select it if it is found.
5501 # Check for GNU $ac_path_EGREP
5502 case `"$ac_path_EGREP" --version 2>&1` in
5504 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5507 $as_echo_n 0123456789 >"conftest.in"
5510 cat "conftest.in" "conftest.in" >"conftest.tmp"
5511 mv "conftest.tmp" "conftest.in"
5512 cp "conftest.in" "conftest.nl"
5513 $as_echo 'EGREP' >> "conftest.nl"
5514 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5515 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5516 as_fn_arith $ac_count + 1 && ac_count=$as_val
5517 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5518 # Best one so far, save it but keep looking for a better one
5519 ac_cv_path_EGREP="$ac_path_EGREP"
5520 ac_path_EGREP_max=$ac_count
5522 # 10*(2^10) chars as input seems more than enough
5523 test $ac_count -gt 10 && break
5525 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5528 $ac_path_EGREP_found && break 3
5533 if test -z "$ac_cv_path_EGREP"; then
5534 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5537 ac_cv_path_EGREP=$EGREP
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5543 $as_echo "$ac_cv_path_EGREP" >&6; }
5544 EGREP="$ac_cv_path_EGREP"
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5548 $as_echo_n "checking for fgrep... " >&6; }
5549 if ${ac_cv_path_FGREP+:} false; then :
5550 $as_echo_n "(cached) " >&6
5552 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5553 then ac_cv_path_FGREP="$GREP -F"
5555 if test -z "$FGREP"; then
5556 ac_path_FGREP_found=false
5557 # Loop through the user's path and test for each of PROGNAME-LIST
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5559 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5562 test -z "$as_dir" && as_dir=.
5563 for ac_prog in fgrep; do
5564 for ac_exec_ext in '' $ac_executable_extensions; do
5565 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5566 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5567 # Check for GNU ac_path_FGREP and select it if it is found.
5568 # Check for GNU $ac_path_FGREP
5569 case `"$ac_path_FGREP" --version 2>&1` in
5571 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5574 $as_echo_n 0123456789 >"conftest.in"
5577 cat "conftest.in" "conftest.in" >"conftest.tmp"
5578 mv "conftest.tmp" "conftest.in"
5579 cp "conftest.in" "conftest.nl"
5580 $as_echo 'FGREP' >> "conftest.nl"
5581 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5582 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5583 as_fn_arith $ac_count + 1 && ac_count=$as_val
5584 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5585 # Best one so far, save it but keep looking for a better one
5586 ac_cv_path_FGREP="$ac_path_FGREP"
5587 ac_path_FGREP_max=$ac_count
5589 # 10*(2^10) chars as input seems more than enough
5590 test $ac_count -gt 10 && break
5592 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5595 $ac_path_FGREP_found && break 3
5600 if test -z "$ac_cv_path_FGREP"; then
5601 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5604 ac_cv_path_FGREP=$FGREP
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5610 $as_echo "$ac_cv_path_FGREP" >&6; }
5611 FGREP="$ac_cv_path_FGREP"
5614 test -z "$GREP" && GREP=grep
5634 # Check whether --with-gnu-ld was given.
5635 if test "${with_gnu_ld+set}" = set; then :
5636 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5642 if test "$GCC" = yes; then
5643 # Check if gcc -print-prog-name=ld gives a path.
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5645 $as_echo_n "checking for ld used by $CC... " >&6; }
5648 # gcc leaves a trailing carriage return which upsets mingw
5649 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5651 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5654 # Accept absolute paths.
5656 re_direlt='/[^/][^/]*/\.\./'
5657 # Canonicalize the pathname of ld
5658 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5659 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5660 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5662 test -z "$LD" && LD="$ac_prog"
5665 # If it fails, then pretend we aren't using GCC.
5669 # If it is relative, then search for the first ld in PATH.
5673 elif test "$with_gnu_ld" = yes; then
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5675 $as_echo_n "checking for GNU ld... " >&6; }
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5678 $as_echo_n "checking for non-GNU ld... " >&6; }
5680 if ${lt_cv_path_LD+:} false; then :
5681 $as_echo_n "(cached) " >&6
5683 if test -z "$LD"; then
5684 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5685 for ac_dir in $PATH; do
5687 test -z "$ac_dir" && ac_dir=.
5688 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5689 lt_cv_path_LD="$ac_dir/$ac_prog"
5690 # Check to see if the program is GNU ld. I'd rather use --version,
5691 # but apparently some variants of GNU ld only accept -v.
5692 # Break only if it was the GNU/non-GNU ld that we prefer.
5693 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5694 *GNU* | *'with BFD'*)
5695 test "$with_gnu_ld" != no && break
5698 test "$with_gnu_ld" != yes && break
5705 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5710 if test -n "$LD"; then
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5712 $as_echo "$LD" >&6; }
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5717 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5719 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5720 if ${lt_cv_prog_gnu_ld+:} false; then :
5721 $as_echo_n "(cached) " >&6
5723 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5724 case `$LD -v 2>&1 </dev/null` in
5725 *GNU* | *'with BFD'*)
5726 lt_cv_prog_gnu_ld=yes
5729 lt_cv_prog_gnu_ld=no
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5734 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5735 with_gnu_ld=$lt_cv_prog_gnu_ld
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5746 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5747 if ${lt_cv_path_NM+:} false; then :
5748 $as_echo_n "(cached) " >&6
5750 if test -n "$NM"; then
5751 # Let the user override the test.
5754 lt_nm_to_check="${ac_tool_prefix}nm"
5755 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5756 lt_nm_to_check="$lt_nm_to_check nm"
5758 for lt_tmp_nm in $lt_nm_to_check; do
5759 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5760 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5762 test -z "$ac_dir" && ac_dir=.
5763 tmp_nm="$ac_dir/$lt_tmp_nm"
5764 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5765 # Check to see if the nm accepts a BSD-compat flag.
5766 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5767 # nm: unknown option "B" ignored
5768 # Tru64's nm complains that /dev/null is an invalid object file
5769 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5770 */dev/null* | *'Invalid file or object type'*)
5771 lt_cv_path_NM="$tmp_nm -B"
5775 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5777 lt_cv_path_NM="$tmp_nm -p"
5781 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5782 continue # so that we can try to find one that supports BSD flags
5791 : ${lt_cv_path_NM=no}
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5795 $as_echo "$lt_cv_path_NM" >&6; }
5796 if test "$lt_cv_path_NM" != "no"; then
5799 # Didn't find any BSD compatible name lister, look for dumpbin.
5800 if test -n "$DUMPBIN"; then :
5801 # Let the user override the test.
5803 if test -n "$ac_tool_prefix"; then
5804 for ac_prog in dumpbin "link -dump"
5806 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5807 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if ${ac_cv_prog_DUMPBIN+:} false; then :
5811 $as_echo_n "(cached) " >&6
5813 if test -n "$DUMPBIN"; then
5814 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5823 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5833 DUMPBIN=$ac_cv_prog_DUMPBIN
5834 if test -n "$DUMPBIN"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5836 $as_echo "$DUMPBIN" >&6; }
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5843 test -n "$DUMPBIN" && break
5846 if test -z "$DUMPBIN"; then
5847 ac_ct_DUMPBIN=$DUMPBIN
5848 for ac_prog in dumpbin "link -dump"
5850 # Extract the first word of "$ac_prog", so it can be a program name with args.
5851 set dummy $ac_prog; ac_word=$2
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5853 $as_echo_n "checking for $ac_word... " >&6; }
5854 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5855 $as_echo_n "(cached) " >&6
5857 if test -n "$ac_ct_DUMPBIN"; then
5858 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 test -z "$as_dir" && as_dir=.
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5867 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5877 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5878 if test -n "$ac_ct_DUMPBIN"; then
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5880 $as_echo "$ac_ct_DUMPBIN" >&6; }
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5883 $as_echo "no" >&6; }
5887 test -n "$ac_ct_DUMPBIN" && break
5890 if test "x$ac_ct_DUMPBIN" = x; then
5893 case $cross_compiling:$ac_tool_warned in
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5897 ac_tool_warned=yes ;;
5899 DUMPBIN=$ac_ct_DUMPBIN
5903 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5905 DUMPBIN="$DUMPBIN -symbols"
5913 if test "$DUMPBIN" != ":"; then
5917 test -z "$NM" && NM=nm
5924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5925 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5926 if ${lt_cv_nm_interface+:} false; then :
5927 $as_echo_n "(cached) " >&6
5929 lt_cv_nm_interface="BSD nm"
5930 echo "int some_variable = 0;" > conftest.$ac_ext
5931 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5932 (eval "$ac_compile" 2>conftest.err)
5933 cat conftest.err >&5
5934 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5935 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5936 cat conftest.err >&5
5937 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5938 cat conftest.out >&5
5939 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5940 lt_cv_nm_interface="MS dumpbin"
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5945 $as_echo "$lt_cv_nm_interface" >&6; }
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5948 $as_echo_n "checking whether ln -s works... " >&6; }
5950 if test "$LN_S" = "ln -s"; then
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5952 $as_echo "yes" >&6; }
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5955 $as_echo "no, using $LN_S" >&6; }
5958 # find the maximum length of command line arguments
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5960 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5961 if ${lt_cv_sys_max_cmd_len+:} false; then :
5962 $as_echo_n "(cached) " >&6
5969 # On DJGPP, this test can blow up pretty badly due to problems in libc
5970 # (any single argument exceeding 2000 bytes causes a buffer overrun
5971 # during glob expansion). Even if it were fixed, the result of this
5972 # check would be larger than it should be.
5973 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5977 # Under GNU Hurd, this test is not required because there is
5978 # no limit to the length of command line arguments.
5979 # Libtool will interpret -1 as no limit whatsoever
5980 lt_cv_sys_max_cmd_len=-1;
5983 cygwin* | mingw* | cegcc*)
5984 # On Win9x/ME, this test blows up -- it succeeds, but takes
5985 # about 5 minutes as the teststring grows exponentially.
5986 # Worse, since 9x/ME are not pre-emptively multitasking,
5987 # you end up with a "frozen" computer, even though with patience
5988 # the test eventually succeeds (with a max line length of 256k).
5989 # Instead, let's just punt: use the minimum linelength reported by
5990 # all of the supported platforms: 8192 (on NT/2K/XP).
5991 lt_cv_sys_max_cmd_len=8192;
5995 # On MiNT this can take a long time and run out of memory.
5996 lt_cv_sys_max_cmd_len=8192;
6000 # On AmigaOS with pdksh, this test takes hours, literally.
6001 # So we just punt and use a minimum line length of 8192.
6002 lt_cv_sys_max_cmd_len=8192;
6005 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6006 # This has been around since 386BSD, at least. Likely further.
6007 if test -x /sbin/sysctl; then
6008 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6009 elif test -x /usr/sbin/sysctl; then
6010 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6012 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6014 # And add a safety zone
6015 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6016 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6020 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6021 lt_cv_sys_max_cmd_len=196608
6025 # The test takes a long time on OS/2.
6026 lt_cv_sys_max_cmd_len=8192
6030 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6031 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6032 # nice to cause kernel panics so lets avoid the loop below.
6033 # First set a reasonable default.
6034 lt_cv_sys_max_cmd_len=16384
6036 if test -x /sbin/sysconfig; then
6037 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6038 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6043 lt_cv_sys_max_cmd_len=102400
6045 sysv5* | sco5v6* | sysv4.2uw2*)
6046 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6047 if test -n "$kargmax"; then
6048 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6050 lt_cv_sys_max_cmd_len=32768
6054 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6055 if test -n "$lt_cv_sys_max_cmd_len"; then
6056 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6057 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6059 # Make teststring a little bigger before we do anything with it.
6060 # a 1K string should be a reasonable start.
6061 for i in 1 2 3 4 5 6 7 8 ; do
6062 teststring=$teststring$teststring
6064 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6065 # If test is not a shell built-in, we'll probably end up computing a
6066 # maximum length that is only half of the actual maximum length, but
6068 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6069 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6070 test $i != 17 # 1/2 MB should be enough
6073 teststring=$teststring$teststring
6075 # Only check the string length outside the loop.
6076 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6078 # Add a significant safety factor because C++ compilers can tack on
6079 # massive amounts of additional arguments before passing them to the
6080 # linker. It appears as though 1/2 is a usable value.
6081 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6088 if test -n $lt_cv_sys_max_cmd_len ; then
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6090 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6093 $as_echo "none" >&6; }
6095 max_cmd_len=$lt_cv_sys_max_cmd_len
6106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6107 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6108 # Try some XSI features
6111 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6113 && eval 'test $(( 1 + 1 )) -eq 2 \
6114 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6117 $as_echo "$xsi_shell" >&6; }
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6121 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6123 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6125 && lt_shell_append=yes
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6127 $as_echo "$lt_shell_append" >&6; }
6130 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6140 # test EBCDIC or ASCII
6141 case `echo X|tr X '\101'` in
6142 A) # ASCII based system
6143 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6144 lt_SP2NL='tr \040 \012'
6145 lt_NL2SP='tr \015\012 \040\040'
6147 *) # EBCDIC based system
6148 lt_SP2NL='tr \100 \n'
6149 lt_NL2SP='tr \r\n \100\100'
6161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6162 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6163 if ${lt_cv_to_host_file_cmd+:} false; then :
6164 $as_echo_n "(cached) " >&6
6169 *-*-mingw* ) # actually msys
6170 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6173 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6175 * ) # otherwise, assume *nix
6176 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6182 *-*-mingw* ) # actually msys
6183 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6186 lt_cv_to_host_file_cmd=func_convert_file_noop
6188 * ) # otherwise, assume *nix
6189 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6193 * ) # unhandled hosts (and "normal" native builds)
6194 lt_cv_to_host_file_cmd=func_convert_file_noop
6200 to_host_file_cmd=$lt_cv_to_host_file_cmd
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6202 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6209 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6210 if ${lt_cv_to_tool_file_cmd+:} false; then :
6211 $as_echo_n "(cached) " >&6
6213 #assume ordinary cross tools, or native build.
6214 lt_cv_to_tool_file_cmd=func_convert_file_noop
6218 *-*-mingw* ) # actually msys
6219 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6227 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6229 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6236 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6237 if ${lt_cv_ld_reload_flag+:} false; then :
6238 $as_echo_n "(cached) " >&6
6240 lt_cv_ld_reload_flag='-r'
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6243 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6244 reload_flag=$lt_cv_ld_reload_flag
6245 case $reload_flag in
6247 *) reload_flag=" $reload_flag" ;;
6249 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6251 cygwin* | mingw* | pw32* | cegcc*)
6252 if test "$GCC" != yes; then
6257 if test "$GCC" = yes; then
6258 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6260 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6273 if test -n "$ac_tool_prefix"; then
6274 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6275 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6277 $as_echo_n "checking for $ac_word... " >&6; }
6278 if ${ac_cv_prog_OBJDUMP+:} false; then :
6279 $as_echo_n "(cached) " >&6
6281 if test -n "$OBJDUMP"; then
6282 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288 test -z "$as_dir" && as_dir=.
6289 for ac_exec_ext in '' $ac_executable_extensions; do
6290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6291 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6301 OBJDUMP=$ac_cv_prog_OBJDUMP
6302 if test -n "$OBJDUMP"; then
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6304 $as_echo "$OBJDUMP" >&6; }
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6307 $as_echo "no" >&6; }
6312 if test -z "$ac_cv_prog_OBJDUMP"; then
6313 ac_ct_OBJDUMP=$OBJDUMP
6314 # Extract the first word of "objdump", so it can be a program name with args.
6315 set dummy objdump; ac_word=$2
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6317 $as_echo_n "checking for $ac_word... " >&6; }
6318 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6319 $as_echo_n "(cached) " >&6
6321 if test -n "$ac_ct_OBJDUMP"; then
6322 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328 test -z "$as_dir" && as_dir=.
6329 for ac_exec_ext in '' $ac_executable_extensions; do
6330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6331 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6341 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6342 if test -n "$ac_ct_OBJDUMP"; then
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6344 $as_echo "$ac_ct_OBJDUMP" >&6; }
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6347 $as_echo "no" >&6; }
6350 if test "x$ac_ct_OBJDUMP" = x; then
6353 case $cross_compiling:$ac_tool_warned in
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6357 ac_tool_warned=yes ;;
6359 OBJDUMP=$ac_ct_OBJDUMP
6362 OBJDUMP="$ac_cv_prog_OBJDUMP"
6365 test -z "$OBJDUMP" && OBJDUMP=objdump
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6373 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6374 if ${lt_cv_deplibs_check_method+:} false; then :
6375 $as_echo_n "(cached) " >&6
6377 lt_cv_file_magic_cmd='$MAGIC_CMD'
6378 lt_cv_file_magic_test_file=
6379 lt_cv_deplibs_check_method='unknown'
6380 # Need to set the preceding variable on all platforms that support
6381 # interlibrary dependencies.
6382 # 'none' -- dependencies not supported.
6383 # `unknown' -- same as none, but documents that we really don't know.
6384 # 'pass_all' -- all dependencies passed with no checks.
6385 # 'test_compile' -- check by making test program.
6386 # 'file_magic [[regex]]' -- check by looking for files in library path
6387 # which responds to the $file_magic_cmd with a given extended regex.
6388 # If you have `file' or equivalent on your system and you're not sure
6389 # whether `pass_all' will *always* work, you probably want this one.
6393 lt_cv_deplibs_check_method=pass_all
6397 lt_cv_deplibs_check_method=pass_all
6401 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6402 lt_cv_file_magic_cmd='/usr/bin/file -L'
6403 lt_cv_file_magic_test_file=/shlib/libc.so
6407 # func_win32_libid is a shell function defined in ltmain.sh
6408 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6409 lt_cv_file_magic_cmd='func_win32_libid'
6413 # Base MSYS/MinGW do not provide the 'file' command needed by
6414 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6415 # unless we find 'file', for example because we are cross-compiling.
6416 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6417 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6418 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6419 lt_cv_file_magic_cmd='func_win32_libid'
6421 # Keep this pattern in sync with the one in func_win32_libid.
6422 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6423 lt_cv_file_magic_cmd='$OBJDUMP -f'
6428 # use the weaker test based on 'objdump'. See mingw*.
6429 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6430 lt_cv_file_magic_cmd='$OBJDUMP -f'
6433 darwin* | rhapsody*)
6434 lt_cv_deplibs_check_method=pass_all
6437 freebsd* | dragonfly*)
6438 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6441 # Not sure whether the presence of OpenBSD here was a mistake.
6442 # Let's accept both of them until this is cleared up.
6443 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6444 lt_cv_file_magic_cmd=/usr/bin/file
6445 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6449 lt_cv_deplibs_check_method=pass_all
6454 lt_cv_deplibs_check_method=pass_all
6458 lt_cv_deplibs_check_method=pass_all
6461 hpux10.20* | hpux11*)
6462 lt_cv_file_magic_cmd=/usr/bin/file
6465 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6466 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6469 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]'
6470 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6473 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6474 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6480 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6481 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6484 irix5* | irix6* | nonstopux*)
6486 *-32|*"-32 ") libmagic=32-bit;;
6487 *-n32|*"-n32 ") libmagic=N32;;
6488 *-64|*"-64 ") libmagic=64-bit;;
6489 *) libmagic=never-match;;
6491 lt_cv_deplibs_check_method=pass_all
6494 # This must be glibc/ELF.
6495 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6496 lt_cv_deplibs_check_method=pass_all
6499 netbsd* | netbsdelf*-gnu)
6500 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6501 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6503 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6508 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6509 lt_cv_file_magic_cmd=/usr/bin/file
6510 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6514 lt_cv_deplibs_check_method=pass_all
6518 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6519 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6521 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6525 osf3* | osf4* | osf5*)
6526 lt_cv_deplibs_check_method=pass_all
6530 lt_cv_deplibs_check_method=pass_all
6534 lt_cv_deplibs_check_method=pass_all
6537 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6538 lt_cv_deplibs_check_method=pass_all
6542 case $host_vendor in
6544 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]'
6545 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6548 lt_cv_deplibs_check_method=pass_all
6551 lt_cv_file_magic_cmd='/bin/file'
6552 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6555 lt_cv_file_magic_cmd='/bin/file'
6556 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6557 lt_cv_file_magic_test_file=/lib/libc.so
6560 lt_cv_deplibs_check_method=pass_all
6563 lt_cv_deplibs_check_method=pass_all
6569 lt_cv_deplibs_check_method=pass_all
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6575 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6579 if test "$build" = "$host"; then
6582 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6585 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6591 file_magic_cmd=$lt_cv_file_magic_cmd
6592 deplibs_check_method=$lt_cv_deplibs_check_method
6593 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6616 if test -n "$ac_tool_prefix"; then
6617 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6618 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6620 $as_echo_n "checking for $ac_word... " >&6; }
6621 if ${ac_cv_prog_DLLTOOL+:} false; then :
6622 $as_echo_n "(cached) " >&6
6624 if test -n "$DLLTOOL"; then
6625 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6631 test -z "$as_dir" && as_dir=.
6632 for ac_exec_ext in '' $ac_executable_extensions; do
6633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6634 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6644 DLLTOOL=$ac_cv_prog_DLLTOOL
6645 if test -n "$DLLTOOL"; then
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6647 $as_echo "$DLLTOOL" >&6; }
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6650 $as_echo "no" >&6; }
6655 if test -z "$ac_cv_prog_DLLTOOL"; then
6656 ac_ct_DLLTOOL=$DLLTOOL
6657 # Extract the first word of "dlltool", so it can be a program name with args.
6658 set dummy dlltool; ac_word=$2
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6660 $as_echo_n "checking for $ac_word... " >&6; }
6661 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6662 $as_echo_n "(cached) " >&6
6664 if test -n "$ac_ct_DLLTOOL"; then
6665 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6671 test -z "$as_dir" && as_dir=.
6672 for ac_exec_ext in '' $ac_executable_extensions; do
6673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6674 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6684 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6685 if test -n "$ac_ct_DLLTOOL"; then
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6687 $as_echo "$ac_ct_DLLTOOL" >&6; }
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6690 $as_echo "no" >&6; }
6693 if test "x$ac_ct_DLLTOOL" = x; then
6696 case $cross_compiling:$ac_tool_warned in
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6700 ac_tool_warned=yes ;;
6702 DLLTOOL=$ac_ct_DLLTOOL
6705 DLLTOOL="$ac_cv_prog_DLLTOOL"
6708 test -z "$DLLTOOL" && DLLTOOL=dlltool
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6717 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6718 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6719 $as_echo_n "(cached) " >&6
6721 lt_cv_sharedlib_from_linklib_cmd='unknown'
6724 cygwin* | mingw* | pw32* | cegcc*)
6725 # two different shell functions defined in ltmain.sh
6726 # decide which to use based on capabilities of $DLLTOOL
6727 case `$DLLTOOL --help 2>&1` in
6728 *--identify-strict*)
6729 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6732 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6737 # fallback: assume linklib IS sharedlib
6738 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6744 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6745 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6746 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6755 if test -n "$ac_tool_prefix"; then
6758 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6759 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6761 $as_echo_n "checking for $ac_word... " >&6; }
6762 if ${ac_cv_prog_AR+:} false; then :
6763 $as_echo_n "(cached) " >&6
6765 if test -n "$AR"; then
6766 ac_cv_prog_AR="$AR" # Let the user override the test.
6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6772 test -z "$as_dir" && as_dir=.
6773 for ac_exec_ext in '' $ac_executable_extensions; do
6774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6775 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6786 if test -n "$AR"; then
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6788 $as_echo "$AR" >&6; }
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6791 $as_echo "no" >&6; }
6795 test -n "$AR" && break
6798 if test -z "$AR"; then
6802 # Extract the first word of "$ac_prog", so it can be a program name with args.
6803 set dummy $ac_prog; ac_word=$2
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805 $as_echo_n "checking for $ac_word... " >&6; }
6806 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6807 $as_echo_n "(cached) " >&6
6809 if test -n "$ac_ct_AR"; then
6810 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6816 test -z "$as_dir" && as_dir=.
6817 for ac_exec_ext in '' $ac_executable_extensions; do
6818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6819 ac_cv_prog_ac_ct_AR="$ac_prog"
6820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6829 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6830 if test -n "$ac_ct_AR"; then
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6832 $as_echo "$ac_ct_AR" >&6; }
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835 $as_echo "no" >&6; }
6839 test -n "$ac_ct_AR" && break
6842 if test "x$ac_ct_AR" = x; then
6845 case $cross_compiling:$ac_tool_warned in
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6849 ac_tool_warned=yes ;;
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6869 $as_echo_n "checking for archiver @FILE support... " >&6; }
6870 if ${lt_cv_ar_at_file+:} false; then :
6871 $as_echo_n "(cached) " >&6
6874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6875 /* end confdefs.h. */
6885 if ac_fn_c_try_compile "$LINENO"; then :
6886 echo conftest.$ac_objext > conftest.lst
6887 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6888 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6889 (eval $lt_ar_try) 2>&5
6891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6892 test $ac_status = 0; }
6893 if test "$ac_status" -eq 0; then
6894 # Ensure the archiver fails upon bogus file names.
6895 rm -f conftest.$ac_objext libconftest.a
6896 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6897 (eval $lt_ar_try) 2>&5
6899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6900 test $ac_status = 0; }
6901 if test "$ac_status" -ne 0; then
6905 rm -f conftest.* libconftest.a
6908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6912 $as_echo "$lt_cv_ar_at_file" >&6; }
6914 if test "x$lt_cv_ar_at_file" = xno; then
6917 archiver_list_spec=$lt_cv_ar_at_file
6926 if test -n "$ac_tool_prefix"; then
6927 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6928 set dummy ${ac_tool_prefix}strip; ac_word=$2
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6930 $as_echo_n "checking for $ac_word... " >&6; }
6931 if ${ac_cv_prog_STRIP+:} false; then :
6932 $as_echo_n "(cached) " >&6
6934 if test -n "$STRIP"; then
6935 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6941 test -z "$as_dir" && as_dir=.
6942 for ac_exec_ext in '' $ac_executable_extensions; do
6943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6944 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6954 STRIP=$ac_cv_prog_STRIP
6955 if test -n "$STRIP"; then
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6957 $as_echo "$STRIP" >&6; }
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6960 $as_echo "no" >&6; }
6965 if test -z "$ac_cv_prog_STRIP"; then
6967 # Extract the first word of "strip", so it can be a program name with args.
6968 set dummy strip; ac_word=$2
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6970 $as_echo_n "checking for $ac_word... " >&6; }
6971 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6972 $as_echo_n "(cached) " >&6
6974 if test -n "$ac_ct_STRIP"; then
6975 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6981 test -z "$as_dir" && as_dir=.
6982 for ac_exec_ext in '' $ac_executable_extensions; do
6983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6984 ac_cv_prog_ac_ct_STRIP="strip"
6985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6994 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6995 if test -n "$ac_ct_STRIP"; then
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6997 $as_echo "$ac_ct_STRIP" >&6; }
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000 $as_echo "no" >&6; }
7003 if test "x$ac_ct_STRIP" = x; then
7006 case $cross_compiling:$ac_tool_warned in
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7010 ac_tool_warned=yes ;;
7015 STRIP="$ac_cv_prog_STRIP"
7018 test -z "$STRIP" && STRIP=:
7025 if test -n "$ac_tool_prefix"; then
7026 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7027 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7029 $as_echo_n "checking for $ac_word... " >&6; }
7030 if ${ac_cv_prog_RANLIB+:} false; then :
7031 $as_echo_n "(cached) " >&6
7033 if test -n "$RANLIB"; then
7034 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7040 test -z "$as_dir" && as_dir=.
7041 for ac_exec_ext in '' $ac_executable_extensions; do
7042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7043 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7053 RANLIB=$ac_cv_prog_RANLIB
7054 if test -n "$RANLIB"; then
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7056 $as_echo "$RANLIB" >&6; }
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7059 $as_echo "no" >&6; }
7064 if test -z "$ac_cv_prog_RANLIB"; then
7065 ac_ct_RANLIB=$RANLIB
7066 # Extract the first word of "ranlib", so it can be a program name with args.
7067 set dummy ranlib; ac_word=$2
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069 $as_echo_n "checking for $ac_word... " >&6; }
7070 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7071 $as_echo_n "(cached) " >&6
7073 if test -n "$ac_ct_RANLIB"; then
7074 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7080 test -z "$as_dir" && as_dir=.
7081 for ac_exec_ext in '' $ac_executable_extensions; do
7082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7083 ac_cv_prog_ac_ct_RANLIB="ranlib"
7084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7093 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7094 if test -n "$ac_ct_RANLIB"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7096 $as_echo "$ac_ct_RANLIB" >&6; }
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7099 $as_echo "no" >&6; }
7102 if test "x$ac_ct_RANLIB" = x; then
7105 case $cross_compiling:$ac_tool_warned in
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7109 ac_tool_warned=yes ;;
7111 RANLIB=$ac_ct_RANLIB
7114 RANLIB="$ac_cv_prog_RANLIB"
7117 test -z "$RANLIB" && RANLIB=:
7124 # Determine commands to create old-style static archives.
7125 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7126 old_postinstall_cmds='chmod 644 $oldlib'
7127 old_postuninstall_cmds=
7129 if test -n "$RANLIB"; then
7132 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7135 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7138 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7143 lock_old_archive_extraction=yes ;;
7145 lock_old_archive_extraction=no ;;
7186 # If no C compiler was specified, use CC.
7189 # If no C compiler flags were specified, use CFLAGS.
7190 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7192 # Allow CC to be a program name with arguments.
7196 # Check for command to grab the raw symbol name followed by C symbol from nm.
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7198 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7199 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7200 $as_echo_n "(cached) " >&6
7203 # These are sane defaults that work on at least a few old systems.
7204 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7206 # Character class describing NM global symbol codes.
7207 symcode='[BCDEGRST]'
7209 # Regexp to match symbols that can be accessed directly from C.
7210 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7212 # Define system-specific variables.
7217 cygwin* | mingw* | pw32* | cegcc*)
7218 symcode='[ABCDGISTW]'
7221 if test "$host_cpu" = ia64; then
7222 symcode='[ABCDEGRST]'
7226 symcode='[BCDEGRST]'
7229 symcode='[BCDEGQRST]'
7240 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7248 # If we're using GNU nm, then use its standard symbol codes.
7249 case `$NM -V 2>&1` in
7250 *GNU* | *'with BFD'*)
7251 symcode='[ABCDGIRSTW]' ;;
7254 # Transform an extracted symbol line into a proper C declaration.
7255 # Some systems (esp. on ia64) link data and code symbols differently,
7256 # so use this general approach.
7257 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7259 # Transform an extracted symbol line into symbol name and symbol address
7260 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7261 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'"
7263 # Handle CRLF in mingw tool chain
7267 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7271 # Try without a prefix underscore, then with it.
7272 for ac_symprfx in "" "_"; do
7274 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7275 symxfrm="\\1 $ac_symprfx\\2 \\2"
7277 # Write the raw and C identifiers.
7278 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7279 # Fake it for dumpbin and say T for any non-static function
7280 # and D for any global variable.
7281 # Also find C++ and __fastcall symbols from MSVC++,
7282 # which start with @ or ?.
7283 lt_cv_sys_global_symbol_pipe="$AWK '"\
7284 " {last_section=section; section=\$ 3};"\
7285 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7286 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7287 " \$ 0!~/External *\|/{next};"\
7288 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7289 " {if(hide[section]) next};"\
7290 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7291 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7292 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7293 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7294 " ' prfx=^$ac_symprfx"
7296 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7298 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7300 # Check to see that the pipe works correctly.
7304 cat > conftest.$ac_ext <<_LT_EOF
7309 void nm_test_func(void);
7310 void nm_test_func(void){}
7314 int main(){nm_test_var='a';nm_test_func();return(0);}
7317 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7318 (eval $ac_compile) 2>&5
7320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7321 test $ac_status = 0; }; then
7322 # Now try to grab the symbols.
7324 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7325 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7328 test $ac_status = 0; } && test -s "$nlist"; then
7329 # Try sorting and uniquifying the output.
7330 if sort "$nlist" | uniq > "$nlist"T; then
7331 mv -f "$nlist"T "$nlist"
7336 # Make sure that we snagged all the symbols we need.
7337 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7338 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7339 cat <<_LT_EOF > conftest.$ac_ext
7340 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7341 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7342 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7343 relocations are performed -- see ld's documentation on pseudo-relocs. */
7344 # define LT_DLSYM_CONST
7345 #elif defined(__osf__)
7346 /* This system does not cope well with relocations in const data. */
7347 # define LT_DLSYM_CONST
7349 # define LT_DLSYM_CONST const
7357 # Now generate the symbol file.
7358 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7360 cat <<_LT_EOF >> conftest.$ac_ext
7362 /* The mapping between symbol names and symbols. */
7363 LT_DLSYM_CONST struct {
7367 lt__PROGRAM__LTX_preloaded_symbols[] =
7369 { "@PROGRAM@", (void *) 0 },
7371 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7372 cat <<\_LT_EOF >> conftest.$ac_ext
7376 /* This works around a problem in FreeBSD linker */
7377 #ifdef FREEBSD_WORKAROUND
7378 static const void *lt_preloaded_setup() {
7379 return lt__PROGRAM__LTX_preloaded_symbols;
7387 # Now try linking the two files.
7388 mv conftest.$ac_objext conftstm.$ac_objext
7389 lt_globsym_save_LIBS=$LIBS
7390 lt_globsym_save_CFLAGS=$CFLAGS
7391 LIBS="conftstm.$ac_objext"
7392 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7393 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7394 (eval $ac_link) 2>&5
7396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7397 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7400 LIBS=$lt_globsym_save_LIBS
7401 CFLAGS=$lt_globsym_save_CFLAGS
7403 echo "cannot find nm_test_func in $nlist" >&5
7406 echo "cannot find nm_test_var in $nlist" >&5
7409 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7412 echo "$progname: failed program was:" >&5
7413 cat conftest.$ac_ext >&5
7415 rm -rf conftest* conftst*
7417 # Do not use the global_symbol_pipe unless it works.
7418 if test "$pipe_works" = yes; then
7421 lt_cv_sys_global_symbol_pipe=
7427 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7428 lt_cv_sys_global_symbol_to_cdecl=
7430 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7432 $as_echo "failed" >&6; }
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7435 $as_echo "ok" >&6; }
7438 # Response file support.
7439 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7440 nm_file_list_spec='@'
7441 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7442 nm_file_list_spec='@'
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7472 $as_echo_n "checking for sysroot... " >&6; }
7474 # Check whether --with-sysroot was given.
7475 if test "${with_sysroot+set}" = set; then :
7476 withval=$with_sysroot;
7483 case ${with_sysroot} in #(
7485 if test "$GCC" = yes; then
7486 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7490 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7496 $as_echo "${with_sysroot}" >&6; }
7497 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7502 $as_echo "${lt_sysroot:-no}" >&6; }
7508 # Check whether --enable-libtool-lock was given.
7509 if test "${enable_libtool_lock+set}" = set; then :
7510 enableval=$enable_libtool_lock;
7513 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7515 # Some flags need to be propagated to the compiler or linker for good
7519 # Find out which ABI we are using.
7520 echo 'int i;' > conftest.$ac_ext
7521 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7522 (eval $ac_compile) 2>&5
7524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7525 test $ac_status = 0; }; then
7526 case `/usr/bin/file conftest.$ac_objext` in
7538 # Find out which ABI we are using.
7539 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7540 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7541 (eval $ac_compile) 2>&5
7543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7544 test $ac_status = 0; }; then
7545 if test "$lt_cv_prog_gnu_ld" = yes; then
7546 case `/usr/bin/file conftest.$ac_objext` in
7548 LD="${LD-ld} -melf32bsmip"
7551 LD="${LD-ld} -melf32bmipn32"
7554 LD="${LD-ld} -melf64bmip"
7558 case `/usr/bin/file conftest.$ac_objext` in
7574 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7575 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7576 # Find out which ABI we are using.
7577 echo 'int i;' > conftest.$ac_ext
7578 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7579 (eval $ac_compile) 2>&5
7581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7582 test $ac_status = 0; }; then
7583 case `/usr/bin/file conftest.o` in
7586 x86_64-*kfreebsd*-gnu)
7587 LD="${LD-ld} -m elf_i386_fbsd"
7590 LD="${LD-ld} -m elf_i386"
7592 ppc64-*linux*|powerpc64-*linux*)
7593 LD="${LD-ld} -m elf32ppclinux"
7596 LD="${LD-ld} -m elf_s390"
7599 LD="${LD-ld} -m elf32_sparc"
7605 x86_64-*kfreebsd*-gnu)
7606 LD="${LD-ld} -m elf_x86_64_fbsd"
7609 LD="${LD-ld} -m elf_x86_64"
7611 ppc*-*linux*|powerpc*-*linux*)
7612 LD="${LD-ld} -m elf64ppc"
7614 s390*-*linux*|s390*-*tpf*)
7615 LD="${LD-ld} -m elf64_s390"
7618 LD="${LD-ld} -m elf64_sparc"
7628 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7629 SAVE_CFLAGS="$CFLAGS"
7630 CFLAGS="$CFLAGS -belf"
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7632 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7633 if ${lt_cv_cc_needs_belf+:} false; then :
7634 $as_echo_n "(cached) " >&6
7637 ac_cpp='$CPP $CPPFLAGS'
7638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7643 /* end confdefs.h. */
7653 if ac_fn_c_try_link "$LINENO"; then :
7654 lt_cv_cc_needs_belf=yes
7656 lt_cv_cc_needs_belf=no
7658 rm -f core conftest.err conftest.$ac_objext \
7659 conftest$ac_exeext conftest.$ac_ext
7661 ac_cpp='$CPP $CPPFLAGS'
7662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7668 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7669 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7670 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7671 CFLAGS="$SAVE_CFLAGS"
7675 # Find out which ABI we are using.
7676 echo 'int i;' > conftest.$ac_ext
7677 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7678 (eval $ac_compile) 2>&5
7680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7681 test $ac_status = 0; }; then
7682 case `/usr/bin/file conftest.o` in
7684 case $lt_cv_prog_gnu_ld in
7688 LD="${LD-ld} -m elf_x86_64"
7691 LD="${LD-ld} -m elf64_sparc"
7694 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7695 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7700 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7712 need_locks="$enable_libtool_lock"
7714 if test -n "$ac_tool_prefix"; then
7715 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7716 set dummy ${ac_tool_prefix}mt; ac_word=$2
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7718 $as_echo_n "checking for $ac_word... " >&6; }
7719 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7720 $as_echo_n "(cached) " >&6
7722 if test -n "$MANIFEST_TOOL"; then
7723 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7729 test -z "$as_dir" && as_dir=.
7730 for ac_exec_ext in '' $ac_executable_extensions; do
7731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7732 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7742 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7743 if test -n "$MANIFEST_TOOL"; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7745 $as_echo "$MANIFEST_TOOL" >&6; }
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7748 $as_echo "no" >&6; }
7753 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7754 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7755 # Extract the first word of "mt", so it can be a program name with args.
7756 set dummy mt; ac_word=$2
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7758 $as_echo_n "checking for $ac_word... " >&6; }
7759 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7760 $as_echo_n "(cached) " >&6
7762 if test -n "$ac_ct_MANIFEST_TOOL"; then
7763 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7769 test -z "$as_dir" && as_dir=.
7770 for ac_exec_ext in '' $ac_executable_extensions; do
7771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7772 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7782 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7783 if test -n "$ac_ct_MANIFEST_TOOL"; then
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7785 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7788 $as_echo "no" >&6; }
7791 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7794 case $cross_compiling:$ac_tool_warned in
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7798 ac_tool_warned=yes ;;
7800 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7803 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7806 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7808 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7809 if ${lt_cv_path_mainfest_tool+:} false; then :
7810 $as_echo_n "(cached) " >&6
7812 lt_cv_path_mainfest_tool=no
7813 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7814 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7815 cat conftest.err >&5
7816 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7817 lt_cv_path_mainfest_tool=yes
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7822 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7823 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7833 rhapsody* | darwin*)
7834 if test -n "$ac_tool_prefix"; then
7835 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7836 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7838 $as_echo_n "checking for $ac_word... " >&6; }
7839 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7840 $as_echo_n "(cached) " >&6
7842 if test -n "$DSYMUTIL"; then
7843 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7849 test -z "$as_dir" && as_dir=.
7850 for ac_exec_ext in '' $ac_executable_extensions; do
7851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7852 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7862 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7863 if test -n "$DSYMUTIL"; then
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7865 $as_echo "$DSYMUTIL" >&6; }
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7868 $as_echo "no" >&6; }
7873 if test -z "$ac_cv_prog_DSYMUTIL"; then
7874 ac_ct_DSYMUTIL=$DSYMUTIL
7875 # Extract the first word of "dsymutil", so it can be a program name with args.
7876 set dummy dsymutil; ac_word=$2
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7878 $as_echo_n "checking for $ac_word... " >&6; }
7879 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7880 $as_echo_n "(cached) " >&6
7882 if test -n "$ac_ct_DSYMUTIL"; then
7883 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7889 test -z "$as_dir" && as_dir=.
7890 for ac_exec_ext in '' $ac_executable_extensions; do
7891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7892 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7902 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7903 if test -n "$ac_ct_DSYMUTIL"; then
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7905 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7908 $as_echo "no" >&6; }
7911 if test "x$ac_ct_DSYMUTIL" = x; then
7914 case $cross_compiling:$ac_tool_warned in
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7918 ac_tool_warned=yes ;;
7920 DSYMUTIL=$ac_ct_DSYMUTIL
7923 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7926 if test -n "$ac_tool_prefix"; then
7927 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7928 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7930 $as_echo_n "checking for $ac_word... " >&6; }
7931 if ${ac_cv_prog_NMEDIT+:} false; then :
7932 $as_echo_n "(cached) " >&6
7934 if test -n "$NMEDIT"; then
7935 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7941 test -z "$as_dir" && as_dir=.
7942 for ac_exec_ext in '' $ac_executable_extensions; do
7943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7944 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7954 NMEDIT=$ac_cv_prog_NMEDIT
7955 if test -n "$NMEDIT"; then
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7957 $as_echo "$NMEDIT" >&6; }
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7960 $as_echo "no" >&6; }
7965 if test -z "$ac_cv_prog_NMEDIT"; then
7966 ac_ct_NMEDIT=$NMEDIT
7967 # Extract the first word of "nmedit", so it can be a program name with args.
7968 set dummy nmedit; ac_word=$2
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7970 $as_echo_n "checking for $ac_word... " >&6; }
7971 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7972 $as_echo_n "(cached) " >&6
7974 if test -n "$ac_ct_NMEDIT"; then
7975 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7981 test -z "$as_dir" && as_dir=.
7982 for ac_exec_ext in '' $ac_executable_extensions; do
7983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7984 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7994 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7995 if test -n "$ac_ct_NMEDIT"; then
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7997 $as_echo "$ac_ct_NMEDIT" >&6; }
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8000 $as_echo "no" >&6; }
8003 if test "x$ac_ct_NMEDIT" = x; then
8006 case $cross_compiling:$ac_tool_warned in
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8009 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8010 ac_tool_warned=yes ;;
8012 NMEDIT=$ac_ct_NMEDIT
8015 NMEDIT="$ac_cv_prog_NMEDIT"
8018 if test -n "$ac_tool_prefix"; then
8019 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8020 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8022 $as_echo_n "checking for $ac_word... " >&6; }
8023 if ${ac_cv_prog_LIPO+:} false; then :
8024 $as_echo_n "(cached) " >&6
8026 if test -n "$LIPO"; then
8027 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8033 test -z "$as_dir" && as_dir=.
8034 for ac_exec_ext in '' $ac_executable_extensions; do
8035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8036 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8046 LIPO=$ac_cv_prog_LIPO
8047 if test -n "$LIPO"; then
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8049 $as_echo "$LIPO" >&6; }
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8052 $as_echo "no" >&6; }
8057 if test -z "$ac_cv_prog_LIPO"; then
8059 # Extract the first word of "lipo", so it can be a program name with args.
8060 set dummy lipo; ac_word=$2
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8062 $as_echo_n "checking for $ac_word... " >&6; }
8063 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8064 $as_echo_n "(cached) " >&6
8066 if test -n "$ac_ct_LIPO"; then
8067 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8073 test -z "$as_dir" && as_dir=.
8074 for ac_exec_ext in '' $ac_executable_extensions; do
8075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8076 ac_cv_prog_ac_ct_LIPO="lipo"
8077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8086 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8087 if test -n "$ac_ct_LIPO"; then
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8089 $as_echo "$ac_ct_LIPO" >&6; }
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8092 $as_echo "no" >&6; }
8095 if test "x$ac_ct_LIPO" = x; then
8098 case $cross_compiling:$ac_tool_warned in
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8102 ac_tool_warned=yes ;;
8107 LIPO="$ac_cv_prog_LIPO"
8110 if test -n "$ac_tool_prefix"; then
8111 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8112 set dummy ${ac_tool_prefix}otool; ac_word=$2
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8114 $as_echo_n "checking for $ac_word... " >&6; }
8115 if ${ac_cv_prog_OTOOL+:} false; then :
8116 $as_echo_n "(cached) " >&6
8118 if test -n "$OTOOL"; then
8119 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8125 test -z "$as_dir" && as_dir=.
8126 for ac_exec_ext in '' $ac_executable_extensions; do
8127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8128 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8138 OTOOL=$ac_cv_prog_OTOOL
8139 if test -n "$OTOOL"; then
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8141 $as_echo "$OTOOL" >&6; }
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8144 $as_echo "no" >&6; }
8149 if test -z "$ac_cv_prog_OTOOL"; then
8151 # Extract the first word of "otool", so it can be a program name with args.
8152 set dummy otool; ac_word=$2
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8154 $as_echo_n "checking for $ac_word... " >&6; }
8155 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8156 $as_echo_n "(cached) " >&6
8158 if test -n "$ac_ct_OTOOL"; then
8159 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8165 test -z "$as_dir" && as_dir=.
8166 for ac_exec_ext in '' $ac_executable_extensions; do
8167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8168 ac_cv_prog_ac_ct_OTOOL="otool"
8169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8178 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8179 if test -n "$ac_ct_OTOOL"; then
8180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8181 $as_echo "$ac_ct_OTOOL" >&6; }
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8184 $as_echo "no" >&6; }
8187 if test "x$ac_ct_OTOOL" = x; then
8190 case $cross_compiling:$ac_tool_warned in
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8194 ac_tool_warned=yes ;;
8199 OTOOL="$ac_cv_prog_OTOOL"
8202 if test -n "$ac_tool_prefix"; then
8203 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8204 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8206 $as_echo_n "checking for $ac_word... " >&6; }
8207 if ${ac_cv_prog_OTOOL64+:} false; then :
8208 $as_echo_n "(cached) " >&6
8210 if test -n "$OTOOL64"; then
8211 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8217 test -z "$as_dir" && as_dir=.
8218 for ac_exec_ext in '' $ac_executable_extensions; do
8219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8220 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8230 OTOOL64=$ac_cv_prog_OTOOL64
8231 if test -n "$OTOOL64"; then
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8233 $as_echo "$OTOOL64" >&6; }
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8236 $as_echo "no" >&6; }
8241 if test -z "$ac_cv_prog_OTOOL64"; then
8242 ac_ct_OTOOL64=$OTOOL64
8243 # Extract the first word of "otool64", so it can be a program name with args.
8244 set dummy otool64; ac_word=$2
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8246 $as_echo_n "checking for $ac_word... " >&6; }
8247 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8248 $as_echo_n "(cached) " >&6
8250 if test -n "$ac_ct_OTOOL64"; then
8251 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8257 test -z "$as_dir" && as_dir=.
8258 for ac_exec_ext in '' $ac_executable_extensions; do
8259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8260 ac_cv_prog_ac_ct_OTOOL64="otool64"
8261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8270 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8271 if test -n "$ac_ct_OTOOL64"; then
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8273 $as_echo "$ac_ct_OTOOL64" >&6; }
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8276 $as_echo "no" >&6; }
8279 if test "x$ac_ct_OTOOL64" = x; then
8282 case $cross_compiling:$ac_tool_warned in
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8286 ac_tool_warned=yes ;;
8288 OTOOL64=$ac_ct_OTOOL64
8291 OTOOL64="$ac_cv_prog_OTOOL64"
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8321 $as_echo_n "checking for -single_module linker flag... " >&6; }
8322 if ${lt_cv_apple_cc_single_mod+:} false; then :
8323 $as_echo_n "(cached) " >&6
8325 lt_cv_apple_cc_single_mod=no
8326 if test -z "${LT_MULTI_MODULE}"; then
8327 # By default we will add the -single_module flag. You can override
8328 # by either setting the environment variable LT_MULTI_MODULE
8329 # non-empty at configure time, or by adding -multi_module to the
8331 rm -rf libconftest.dylib*
8332 echo "int foo(void){return 1;}" > conftest.c
8333 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8334 -dynamiclib -Wl,-single_module conftest.c" >&5
8335 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8336 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8338 # If there is a non-empty error log, and "single_module"
8339 # appears in it, assume the flag caused a linker warning
8340 if test -s conftest.err && $GREP single_module conftest.err; then
8341 cat conftest.err >&5
8342 # Otherwise, if the output was created with a 0 exit code from
8343 # the compiler, it worked.
8344 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8345 lt_cv_apple_cc_single_mod=yes
8347 cat conftest.err >&5
8349 rm -rf libconftest.dylib*
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8354 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8357 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8358 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8359 $as_echo_n "(cached) " >&6
8361 lt_cv_ld_exported_symbols_list=no
8362 save_LDFLAGS=$LDFLAGS
8363 echo "_main" > conftest.sym
8364 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8366 /* end confdefs.h. */
8376 if ac_fn_c_try_link "$LINENO"; then :
8377 lt_cv_ld_exported_symbols_list=yes
8379 lt_cv_ld_exported_symbols_list=no
8381 rm -f core conftest.err conftest.$ac_objext \
8382 conftest$ac_exeext conftest.$ac_ext
8383 LDFLAGS="$save_LDFLAGS"
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8387 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8390 $as_echo_n "checking for -force_load linker flag... " >&6; }
8391 if ${lt_cv_ld_force_load+:} false; then :
8392 $as_echo_n "(cached) " >&6
8394 lt_cv_ld_force_load=no
8395 cat > conftest.c << _LT_EOF
8396 int forced_loaded() { return 2;}
8398 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8399 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8400 echo "$AR cru libconftest.a conftest.o" >&5
8401 $AR cru libconftest.a conftest.o 2>&5
8402 echo "$RANLIB libconftest.a" >&5
8403 $RANLIB libconftest.a 2>&5
8404 cat > conftest.c << _LT_EOF
8405 int main() { return 0;}
8407 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8408 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8410 if test -s conftest.err && $GREP force_load conftest.err; then
8411 cat conftest.err >&5
8412 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8413 lt_cv_ld_force_load=yes
8415 cat conftest.err >&5
8417 rm -f conftest.err libconftest.a conftest conftest.c
8418 rm -rf conftest.dSYM
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8422 $as_echo "$lt_cv_ld_force_load" >&6; }
8424 rhapsody* | darwin1.[012])
8425 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8427 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8428 darwin*) # darwin 5.x on
8429 # if running on 10.5 or later, the deployment target defaults
8430 # to the OS version, if on x86, and 10.4, the deployment
8431 # target defaults to 10.4. Don't you love it?
8432 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8433 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8434 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8436 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8438 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8442 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8443 _lt_dar_single_mod='$single_module'
8445 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8446 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8448 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8450 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8451 _lt_dsymutil='~$DSYMUTIL $lib || :'
8459 ac_cpp='$CPP $CPPFLAGS'
8460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8464 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8465 # On Suns, sometimes $CPP names a directory.
8466 if test -n "$CPP" && test -d "$CPP"; then
8469 if test -z "$CPP"; then
8470 if ${ac_cv_prog_CPP+:} false; then :
8471 $as_echo_n "(cached) " >&6
8473 # Double quotes because CPP needs to be expanded
8474 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8477 for ac_c_preproc_warn_flag in '' yes
8479 # Use a header file that comes with gcc, so configuring glibc
8480 # with a fresh cross-compiler works.
8481 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8482 # <limits.h> exists even on freestanding compilers.
8483 # On the NeXT, cc -E runs the code through the compiler's parser,
8484 # not just through cpp. "Syntax error" is here to catch this case.
8485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8486 /* end confdefs.h. */
8488 # include <limits.h>
8490 # include <assert.h>
8494 if ac_fn_c_try_cpp "$LINENO"; then :
8497 # Broken: fails on valid input.
8500 rm -f conftest.err conftest.i conftest.$ac_ext
8502 # OK, works on sane cases. Now check whether nonexistent headers
8503 # can be detected and how.
8504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8505 /* end confdefs.h. */
8506 #include <ac_nonexistent.h>
8508 if ac_fn_c_try_cpp "$LINENO"; then :
8509 # Broken: success on invalid input.
8512 # Passes both tests.
8516 rm -f conftest.err conftest.i conftest.$ac_ext
8519 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8520 rm -f conftest.i conftest.err conftest.$ac_ext
8521 if $ac_preproc_ok; then :
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8534 $as_echo "$CPP" >&6; }
8536 for ac_c_preproc_warn_flag in '' yes
8538 # Use a header file that comes with gcc, so configuring glibc
8539 # with a fresh cross-compiler works.
8540 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8541 # <limits.h> exists even on freestanding compilers.
8542 # On the NeXT, cc -E runs the code through the compiler's parser,
8543 # not just through cpp. "Syntax error" is here to catch this case.
8544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8545 /* end confdefs.h. */
8547 # include <limits.h>
8549 # include <assert.h>
8553 if ac_fn_c_try_cpp "$LINENO"; then :
8556 # Broken: fails on valid input.
8559 rm -f conftest.err conftest.i conftest.$ac_ext
8561 # OK, works on sane cases. Now check whether nonexistent headers
8562 # can be detected and how.
8563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8564 /* end confdefs.h. */
8565 #include <ac_nonexistent.h>
8567 if ac_fn_c_try_cpp "$LINENO"; then :
8568 # Broken: success on invalid input.
8571 # Passes both tests.
8575 rm -f conftest.err conftest.i conftest.$ac_ext
8578 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8579 rm -f conftest.i conftest.err conftest.$ac_ext
8580 if $ac_preproc_ok; then :
8583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8585 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8586 See \`config.log' for more details" "$LINENO" 5; }
8590 ac_cpp='$CPP $CPPFLAGS'
8591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8597 $as_echo_n "checking for ANSI C header files... " >&6; }
8598 if ${ac_cv_header_stdc+:} false; then :
8599 $as_echo_n "(cached) " >&6
8601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8602 /* end confdefs.h. */
8616 if ac_fn_c_try_compile "$LINENO"; then :
8617 ac_cv_header_stdc=yes
8619 ac_cv_header_stdc=no
8621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8623 if test $ac_cv_header_stdc = yes; then
8624 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8626 /* end confdefs.h. */
8630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8631 $EGREP "memchr" >/dev/null 2>&1; then :
8634 ac_cv_header_stdc=no
8640 if test $ac_cv_header_stdc = yes; then
8641 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8643 /* end confdefs.h. */
8647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8648 $EGREP "free" >/dev/null 2>&1; then :
8651 ac_cv_header_stdc=no
8657 if test $ac_cv_header_stdc = yes; then
8658 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8659 if test "$cross_compiling" = yes; then :
8662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8663 /* end confdefs.h. */
8666 #if ((' ' & 0x0FF) == 0x020)
8667 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8668 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8670 # define ISLOWER(c) \
8671 (('a' <= (c) && (c) <= 'i') \
8672 || ('j' <= (c) && (c) <= 'r') \
8673 || ('s' <= (c) && (c) <= 'z'))
8674 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8677 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8682 for (i = 0; i < 256; i++)
8683 if (XOR (islower (i), ISLOWER (i))
8684 || toupper (i) != TOUPPER (i))
8689 if ac_fn_c_try_run "$LINENO"; then :
8692 ac_cv_header_stdc=no
8694 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8695 conftest.$ac_objext conftest.beam conftest.$ac_ext
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8701 $as_echo "$ac_cv_header_stdc" >&6; }
8702 if test $ac_cv_header_stdc = yes; then
8704 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8708 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8709 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8710 inttypes.h stdint.h unistd.h
8712 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8713 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8715 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8716 cat >>confdefs.h <<_ACEOF
8717 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8725 for ac_header in dlfcn.h
8727 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8729 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8730 cat >>confdefs.h <<_ACEOF
8731 #define HAVE_DLFCN_H 1
8748 # Check whether --enable-shared was given.
8749 if test "${enable_shared+set}" = set; then :
8750 enableval=$enable_shared; p=${PACKAGE-default}
8752 yes) enable_shared=yes ;;
8753 no) enable_shared=no ;;
8756 # Look at the argument we got. We use all the common list separators.
8757 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8758 for pkg in $enableval; do
8760 if test "X$pkg" = "X$p"; then
8779 # Check whether --enable-static was given.
8780 if test "${enable_static+set}" = set; then :
8781 enableval=$enable_static; p=${PACKAGE-default}
8783 yes) enable_static=yes ;;
8784 no) enable_static=no ;;
8787 # Look at the argument we got. We use all the common list separators.
8788 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8789 for pkg in $enableval; do
8791 if test "X$pkg" = "X$p"; then
8811 # Check whether --with-pic was given.
8812 if test "${with_pic+set}" = set; then :
8813 withval=$with_pic; lt_p=${PACKAGE-default}
8815 yes|no) pic_mode=$withval ;;
8818 # Look at the argument we got. We use all the common list separators.
8819 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8820 for lt_pkg in $withval; do
8822 if test "X$lt_pkg" = "X$lt_p"; then
8834 test -z "$pic_mode" && pic_mode=default
8842 # Check whether --enable-fast-install was given.
8843 if test "${enable_fast_install+set}" = set; then :
8844 enableval=$enable_fast_install; p=${PACKAGE-default}
8846 yes) enable_fast_install=yes ;;
8847 no) enable_fast_install=no ;;
8849 enable_fast_install=no
8850 # Look at the argument we got. We use all the common list separators.
8851 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8852 for pkg in $enableval; do
8854 if test "X$pkg" = "X$p"; then
8855 enable_fast_install=yes
8862 enable_fast_install=yes
8875 # This can be used to rebuild libtool when needed
8876 LIBTOOL_DEPS="$ltmain"
8878 # Always use our own libtool.
8879 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8910 test -z "$LN_S" && LN_S="ln -s"
8925 if test -n "${ZSH_VERSION+set}" ; then
8926 setopt NO_GLOB_SUBST
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8930 $as_echo_n "checking for objdir... " >&6; }
8931 if ${lt_cv_objdir+:} false; then :
8932 $as_echo_n "(cached) " >&6
8934 rm -f .libs 2>/dev/null
8935 mkdir .libs 2>/dev/null
8936 if test -d .libs; then
8939 # MS-DOS does not allow filenames that begin with a dot.
8942 rmdir .libs 2>/dev/null
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8945 $as_echo "$lt_cv_objdir" >&6; }
8946 objdir=$lt_cv_objdir
8952 cat >>confdefs.h <<_ACEOF
8953 #define LT_OBJDIR "$lt_cv_objdir/"
8961 # AIX sometimes has problems with the GCC collect2 program. For some
8962 # reason, if we set the COLLECT_NAMES environment variable, the problems
8963 # vanish in a puff of smoke.
8964 if test "X${COLLECT_NAMES+set}" != Xset; then
8966 export COLLECT_NAMES
8973 can_build_shared=yes
8975 # All known linkers require a `.a' archive for static linking (except MSVC,
8976 # which needs '.lib').
8979 with_gnu_ld="$lt_cv_prog_gnu_ld"
8982 old_CFLAGS="$CFLAGS"
8984 # Set sane defaults for various variables
8985 test -z "$CC" && CC=cc
8986 test -z "$LTCC" && LTCC=$CC
8987 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8988 test -z "$LD" && LD=ld
8989 test -z "$ac_objext" && ac_objext=o
8991 for cc_temp in $compiler""; do
8993 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8994 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8999 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9002 # Only perform the check for file, if the check method requires it
9003 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9004 case $deplibs_check_method in
9006 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9008 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9009 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9010 $as_echo_n "(cached) " >&6
9014 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9017 lt_save_MAGIC_CMD="$MAGIC_CMD"
9018 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9019 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9020 for ac_dir in $ac_dummy; do
9022 test -z "$ac_dir" && ac_dir=.
9023 if test -f $ac_dir/${ac_tool_prefix}file; then
9024 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9025 if test -n "$file_magic_test_file"; then
9026 case $deplibs_check_method in
9028 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9029 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9030 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9031 $EGREP "$file_magic_regex" > /dev/null; then
9036 *** Warning: the command libtool uses to detect shared libraries,
9037 *** $file_magic_cmd, produces output that libtool cannot recognize.
9038 *** The result is that libtool may fail to recognize shared libraries
9039 *** as such. This will affect the creation of libtool libraries that
9040 *** depend on shared libraries, but programs linked with such libtool
9041 *** libraries will work regardless of this problem. Nevertheless, you
9042 *** may want to report the problem to your system manager and/or to
9043 *** bug-libtool@gnu.org
9053 MAGIC_CMD="$lt_save_MAGIC_CMD"
9058 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9059 if test -n "$MAGIC_CMD"; then
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9061 $as_echo "$MAGIC_CMD" >&6; }
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9064 $as_echo "no" >&6; }
9071 if test -z "$lt_cv_path_MAGIC_CMD"; then
9072 if test -n "$ac_tool_prefix"; then
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9074 $as_echo_n "checking for file... " >&6; }
9075 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9076 $as_echo_n "(cached) " >&6
9080 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9083 lt_save_MAGIC_CMD="$MAGIC_CMD"
9084 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9085 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9086 for ac_dir in $ac_dummy; do
9088 test -z "$ac_dir" && ac_dir=.
9089 if test -f $ac_dir/file; then
9090 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9091 if test -n "$file_magic_test_file"; then
9092 case $deplibs_check_method in
9094 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9095 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9096 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9097 $EGREP "$file_magic_regex" > /dev/null; then
9102 *** Warning: the command libtool uses to detect shared libraries,
9103 *** $file_magic_cmd, produces output that libtool cannot recognize.
9104 *** The result is that libtool may fail to recognize shared libraries
9105 *** as such. This will affect the creation of libtool libraries that
9106 *** depend on shared libraries, but programs linked with such libtool
9107 *** libraries will work regardless of this problem. Nevertheless, you
9108 *** may want to report the problem to your system manager and/or to
9109 *** bug-libtool@gnu.org
9119 MAGIC_CMD="$lt_save_MAGIC_CMD"
9124 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9125 if test -n "$MAGIC_CMD"; then
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9127 $as_echo "$MAGIC_CMD" >&6; }
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9130 $as_echo "no" >&6; }
9143 # Use C for the default configuration in the libtool script
9147 ac_cpp='$CPP $CPPFLAGS'
9148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9153 # Source file extension for C test sources.
9156 # Object file extension for compiled C test sources.
9160 # Code to be used in simple compile tests
9161 lt_simple_compile_test_code="int some_variable = 0;"
9163 # Code to be used in simple link tests
9164 lt_simple_link_test_code='int main(){return(0);}'
9172 # If no C compiler was specified, use CC.
9175 # If no C compiler flags were specified, use CFLAGS.
9176 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9178 # Allow CC to be a program name with arguments.
9181 # Save the default compiler, since it gets overwritten when the other
9182 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9183 compiler_DEFAULT=$CC
9185 # save warnings/boilerplate of simple test code
9186 ac_outfile=conftest.$ac_objext
9187 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9188 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9189 _lt_compiler_boilerplate=`cat conftest.err`
9192 ac_outfile=conftest.$ac_objext
9193 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9194 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9195 _lt_linker_boilerplate=`cat conftest.err`
9200 ## There is no encapsulation within the following macros, do not change
9201 ## the running order or otherwise move them around unless you know exactly
9202 ## what you are doing...
9203 if test -n "$compiler"; then
9205 lt_prog_compiler_no_builtin_flag=
9207 if test "$GCC" = yes; then
9208 case $cc_basename in
9210 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9212 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9216 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9217 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9218 $as_echo_n "(cached) " >&6
9220 lt_cv_prog_compiler_rtti_exceptions=no
9221 ac_outfile=conftest.$ac_objext
9222 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9223 lt_compiler_flag="-fno-rtti -fno-exceptions"
9224 # Insert the option either (1) after the last *FLAGS variable, or
9225 # (2) before a word containing "conftest.", or (3) at the end.
9226 # Note that $ac_compile itself does not contain backslashes and begins
9227 # with a dollar sign (not a hyphen), so the echo should work correctly.
9228 # The option is referenced via a variable to avoid confusing sed.
9229 lt_compile=`echo "$ac_compile" | $SED \
9230 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9231 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9232 -e 's:$: $lt_compiler_flag:'`
9233 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9234 (eval "$lt_compile" 2>conftest.err)
9236 cat conftest.err >&5
9237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238 if (exit $ac_status) && test -s "$ac_outfile"; then
9239 # The compiler can only warn and ignore the option if not recognized
9240 # So say no if there are warnings other than the usual output.
9241 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9242 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9243 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9244 lt_cv_prog_compiler_rtti_exceptions=yes
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9251 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9253 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9254 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9266 lt_prog_compiler_wl=
9267 lt_prog_compiler_pic=
9268 lt_prog_compiler_static=
9271 if test "$GCC" = yes; then
9272 lt_prog_compiler_wl='-Wl,'
9273 lt_prog_compiler_static='-static'
9277 # All AIX code is PIC.
9278 if test "$host_cpu" = ia64; then
9279 # AIX 5 now supports IA64 processor
9280 lt_prog_compiler_static='-Bstatic'
9287 # see comment about AmigaOS4 .so support
9288 lt_prog_compiler_pic='-fPIC'
9291 # FIXME: we need at least 68020 code to build shared libraries, but
9292 # adding the `-m68020' flag to GCC prevents building anything better,
9294 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9299 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9300 # PIC is the default for these OSes.
9303 mingw* | cygwin* | pw32* | os2* | cegcc*)
9304 # This hack is so that the source file can tell whether it is being
9305 # built for inclusion in a dll (and should export symbols for example).
9306 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9307 # (--disable-auto-import) libraries
9308 lt_prog_compiler_pic='-DDLL_EXPORT'
9311 darwin* | rhapsody*)
9312 # PIC is the default on this platform
9313 # Common symbols not allowed in MH_DYLIB files
9314 lt_prog_compiler_pic='-fno-common'
9318 # PIC is the default for Haiku.
9319 # The "-static" flag exists, but is broken.
9320 lt_prog_compiler_static=
9324 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9325 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9326 # sets the default TLS model and affects inlining.
9332 lt_prog_compiler_pic='-fPIC'
9338 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9339 # Instead, we relocate shared libraries at runtime.
9343 # Just because we use GCC doesn't mean we suddenly get shared libraries
9344 # on systems that don't support them.
9345 lt_prog_compiler_can_build_shared=no
9350 # QNX uses GNU C++, but need to define -shared option too, otherwise
9352 lt_prog_compiler_pic='-fPIC -shared'
9356 if test -d /usr/nec; then
9357 lt_prog_compiler_pic=-Kconform_pic
9362 lt_prog_compiler_pic='-fPIC'
9366 case $cc_basename in
9367 nvcc*) # Cuda Compiler Driver 2.2
9368 lt_prog_compiler_wl='-Xlinker '
9369 if test -n "$lt_prog_compiler_pic"; then
9370 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9375 # PORTME Check for flag to pass linker flags through the system compiler.
9378 lt_prog_compiler_wl='-Wl,'
9379 if test "$host_cpu" = ia64; then
9380 # AIX 5 now supports IA64 processor
9381 lt_prog_compiler_static='-Bstatic'
9383 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9387 mingw* | cygwin* | pw32* | os2* | cegcc*)
9388 # This hack is so that the source file can tell whether it is being
9389 # built for inclusion in a dll (and should export symbols for example).
9390 lt_prog_compiler_pic='-DDLL_EXPORT'
9393 hpux9* | hpux10* | hpux11*)
9394 lt_prog_compiler_wl='-Wl,'
9395 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9402 lt_prog_compiler_pic='+Z'
9405 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9406 lt_prog_compiler_static='${wl}-a ${wl}archive'
9409 irix5* | irix6* | nonstopux*)
9410 lt_prog_compiler_wl='-Wl,'
9411 # PIC (with -KPIC) is the default.
9412 lt_prog_compiler_static='-non_shared'
9415 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9416 case $cc_basename in
9417 # old Intel for x86_64 which still supported -KPIC.
9419 lt_prog_compiler_wl='-Wl,'
9420 lt_prog_compiler_pic='-KPIC'
9421 lt_prog_compiler_static='-static'
9423 # icc used to be incompatible with GCC.
9424 # ICC 10 doesn't accept -KPIC any more.
9426 lt_prog_compiler_wl='-Wl,'
9427 lt_prog_compiler_pic='-fPIC'
9428 lt_prog_compiler_static='-static'
9430 # Lahey Fortran 8.1.
9432 lt_prog_compiler_wl='-Wl,'
9433 lt_prog_compiler_pic='--shared'
9434 lt_prog_compiler_static='--static'
9437 # NAG Fortran compiler
9438 lt_prog_compiler_wl='-Wl,-Wl,,'
9439 lt_prog_compiler_pic='-PIC'
9440 lt_prog_compiler_static='-Bstatic'
9442 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9443 # Portland Group compilers (*not* the Pentium gcc compiler,
9444 # which looks to be a dead project)
9445 lt_prog_compiler_wl='-Wl,'
9446 lt_prog_compiler_pic='-fpic'
9447 lt_prog_compiler_static='-Bstatic'
9450 lt_prog_compiler_wl='-Wl,'
9451 # All Alpha code is PIC.
9452 lt_prog_compiler_static='-non_shared'
9454 xl* | bgxl* | bgf* | mpixl*)
9455 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9456 lt_prog_compiler_wl='-Wl,'
9457 lt_prog_compiler_pic='-qpic'
9458 lt_prog_compiler_static='-qstaticlink'
9461 case `$CC -V 2>&1 | sed 5q` in
9462 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9463 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9464 lt_prog_compiler_pic='-KPIC'
9465 lt_prog_compiler_static='-Bstatic'
9466 lt_prog_compiler_wl=''
9468 *Sun\ F* | *Sun*Fortran*)
9469 lt_prog_compiler_pic='-KPIC'
9470 lt_prog_compiler_static='-Bstatic'
9471 lt_prog_compiler_wl='-Qoption ld '
9475 lt_prog_compiler_pic='-KPIC'
9476 lt_prog_compiler_static='-Bstatic'
9477 lt_prog_compiler_wl='-Wl,'
9479 *Intel*\ [CF]*Compiler*)
9480 lt_prog_compiler_wl='-Wl,'
9481 lt_prog_compiler_pic='-fPIC'
9482 lt_prog_compiler_static='-static'
9485 lt_prog_compiler_wl='-Wl,'
9486 lt_prog_compiler_pic='-fpic'
9487 lt_prog_compiler_static='-Bstatic'
9495 lt_prog_compiler_pic='-KPIC'
9496 lt_prog_compiler_static='-Bstatic'
9500 # QNX uses GNU C++, but need to define -shared option too, otherwise
9502 lt_prog_compiler_pic='-fPIC -shared'
9505 osf3* | osf4* | osf5*)
9506 lt_prog_compiler_wl='-Wl,'
9507 # All OSF/1 code is PIC.
9508 lt_prog_compiler_static='-non_shared'
9512 lt_prog_compiler_static='-non_shared'
9516 lt_prog_compiler_pic='-KPIC'
9517 lt_prog_compiler_static='-Bstatic'
9518 case $cc_basename in
9519 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9520 lt_prog_compiler_wl='-Qoption ld ';;
9522 lt_prog_compiler_wl='-Wl,';;
9527 lt_prog_compiler_wl='-Qoption ld '
9528 lt_prog_compiler_pic='-PIC'
9529 lt_prog_compiler_static='-Bstatic'
9532 sysv4 | sysv4.2uw2* | sysv4.3*)
9533 lt_prog_compiler_wl='-Wl,'
9534 lt_prog_compiler_pic='-KPIC'
9535 lt_prog_compiler_static='-Bstatic'
9539 if test -d /usr/nec ;then
9540 lt_prog_compiler_pic='-Kconform_pic'
9541 lt_prog_compiler_static='-Bstatic'
9545 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9546 lt_prog_compiler_wl='-Wl,'
9547 lt_prog_compiler_pic='-KPIC'
9548 lt_prog_compiler_static='-Bstatic'
9552 lt_prog_compiler_wl='-Wl,'
9553 lt_prog_compiler_can_build_shared=no
9557 lt_prog_compiler_pic='-pic'
9558 lt_prog_compiler_static='-Bstatic'
9562 lt_prog_compiler_can_build_shared=no
9568 # For platforms which do not support PIC, -DPIC is meaningless:
9570 lt_prog_compiler_pic=
9573 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9578 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9579 if ${lt_cv_prog_compiler_pic+:} false; then :
9580 $as_echo_n "(cached) " >&6
9582 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9585 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9586 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9589 # Check to make sure the PIC flag actually works.
9591 if test -n "$lt_prog_compiler_pic"; then
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9593 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9594 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9595 $as_echo_n "(cached) " >&6
9597 lt_cv_prog_compiler_pic_works=no
9598 ac_outfile=conftest.$ac_objext
9599 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9600 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9601 # Insert the option either (1) after the last *FLAGS variable, or
9602 # (2) before a word containing "conftest.", or (3) at the end.
9603 # Note that $ac_compile itself does not contain backslashes and begins
9604 # with a dollar sign (not a hyphen), so the echo should work correctly.
9605 # The option is referenced via a variable to avoid confusing sed.
9606 lt_compile=`echo "$ac_compile" | $SED \
9607 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9608 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9609 -e 's:$: $lt_compiler_flag:'`
9610 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9611 (eval "$lt_compile" 2>conftest.err)
9613 cat conftest.err >&5
9614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9615 if (exit $ac_status) && test -s "$ac_outfile"; then
9616 # The compiler can only warn and ignore the option if not recognized
9617 # So say no if there are warnings other than the usual output.
9618 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9619 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9620 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9621 lt_cv_prog_compiler_pic_works=yes
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9628 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9630 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9631 case $lt_prog_compiler_pic in
9633 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9636 lt_prog_compiler_pic=
9637 lt_prog_compiler_can_build_shared=no
9653 # Check to make sure the static flag actually works.
9655 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9657 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9658 if ${lt_cv_prog_compiler_static_works+:} false; then :
9659 $as_echo_n "(cached) " >&6
9661 lt_cv_prog_compiler_static_works=no
9662 save_LDFLAGS="$LDFLAGS"
9663 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9664 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9665 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9666 # The linker can only warn and ignore the option if not recognized
9667 # So say no if there are warnings
9668 if test -s conftest.err; then
9669 # Append any errors to the config.log.
9670 cat conftest.err 1>&5
9671 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9672 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9673 if diff conftest.exp conftest.er2 >/dev/null; then
9674 lt_cv_prog_compiler_static_works=yes
9677 lt_cv_prog_compiler_static_works=yes
9681 LDFLAGS="$save_LDFLAGS"
9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9685 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9687 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9690 lt_prog_compiler_static=
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9700 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9701 if ${lt_cv_prog_compiler_c_o+:} false; then :
9702 $as_echo_n "(cached) " >&6
9704 lt_cv_prog_compiler_c_o=no
9705 $RM -r conftest 2>/dev/null
9709 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9711 lt_compiler_flag="-o out/conftest2.$ac_objext"
9712 # Insert the option either (1) after the last *FLAGS variable, or
9713 # (2) before a word containing "conftest.", or (3) at the end.
9714 # Note that $ac_compile itself does not contain backslashes and begins
9715 # with a dollar sign (not a hyphen), so the echo should work correctly.
9716 lt_compile=`echo "$ac_compile" | $SED \
9717 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9718 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9719 -e 's:$: $lt_compiler_flag:'`
9720 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9721 (eval "$lt_compile" 2>out/conftest.err)
9723 cat out/conftest.err >&5
9724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9725 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9727 # The compiler can only warn and ignore the option if not recognized
9728 # So say no if there are warnings
9729 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9730 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9731 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9732 lt_cv_prog_compiler_c_o=yes
9737 # SGI C++ compiler will create directory out/ii_files/ for
9738 # template instantiation
9739 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9740 $RM out/* && rmdir out
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9747 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9755 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9756 if ${lt_cv_prog_compiler_c_o+:} false; then :
9757 $as_echo_n "(cached) " >&6
9759 lt_cv_prog_compiler_c_o=no
9760 $RM -r conftest 2>/dev/null
9764 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9766 lt_compiler_flag="-o out/conftest2.$ac_objext"
9767 # Insert the option either (1) after the last *FLAGS variable, or
9768 # (2) before a word containing "conftest.", or (3) at the end.
9769 # Note that $ac_compile itself does not contain backslashes and begins
9770 # with a dollar sign (not a hyphen), so the echo should work correctly.
9771 lt_compile=`echo "$ac_compile" | $SED \
9772 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9773 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9774 -e 's:$: $lt_compiler_flag:'`
9775 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9776 (eval "$lt_compile" 2>out/conftest.err)
9778 cat out/conftest.err >&5
9779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9782 # The compiler can only warn and ignore the option if not recognized
9783 # So say no if there are warnings
9784 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9785 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9786 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9787 lt_cv_prog_compiler_c_o=yes
9792 # SGI C++ compiler will create directory out/ii_files/ for
9793 # template instantiation
9794 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9795 $RM out/* && rmdir out
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9802 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9807 hard_links="nottested"
9808 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9809 # do not overwrite the value of need_locks provided by the user
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9811 $as_echo_n "checking if we can lock with hard links... " >&6; }
9814 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9816 ln conftest.a conftest.b 2>&5 || hard_links=no
9817 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9819 $as_echo "$hard_links" >&6; }
9820 if test "$hard_links" = no; then
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9822 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9835 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9838 allow_undefined_flag=
9839 always_export_symbols=no
9841 archive_expsym_cmds=
9842 compiler_needs_object=no
9843 enable_shared_with_static_runtimes=no
9844 export_dynamic_flag_spec=
9845 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9846 hardcode_automatic=no
9848 hardcode_direct_absolute=no
9849 hardcode_libdir_flag_spec=
9850 hardcode_libdir_separator=
9852 hardcode_shlibpath_var=unsupported
9854 link_all_deplibs=unknown
9857 old_archive_from_new_cmds=
9858 old_archive_from_expsyms_cmds=
9859 thread_safe_flag_spec=
9860 whole_archive_flag_spec=
9861 # include_expsyms should be a list of space-separated symbols to be *always*
9862 # included in the symbol list
9864 # exclude_expsyms can be an extended regexp of symbols to exclude
9865 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9866 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9867 # as well as any symbol that contains `d'.
9868 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9869 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9870 # platforms (ab)use it in PIC code, but their linkers get confused if
9871 # the symbol is explicitly referenced. Since portable code cannot
9872 # rely on this symbol name, it's probably fine to never include it in
9873 # preloaded symbol tables.
9874 # Exclude shared library initialization/finalization symbols.
9875 extract_expsyms_cmds=
9878 cygwin* | mingw* | pw32* | cegcc*)
9879 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9880 # When not using gcc, we currently assume that we are using
9881 # Microsoft Visual C++.
9882 if test "$GCC" != yes; then
9887 # we just hope/assume this is gcc and not c89 (= MSVC++)
9893 linux* | k*bsd*-gnu | gnu*)
9900 # On some targets, GNU ld is compatible enough with the native linker
9901 # that we're better off using the native interface for both.
9902 lt_use_gnu_ld_interface=no
9903 if test "$with_gnu_ld" = yes; then
9906 # The AIX port of GNU ld has always aspired to compatibility
9907 # with the native linker. However, as the warning in the GNU ld
9908 # block says, versions before 2.19.5* couldn't really create working
9909 # shared libraries, regardless of the interface used.
9910 case `$LD -v 2>&1` in
9911 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9912 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9913 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9915 lt_use_gnu_ld_interface=yes
9920 lt_use_gnu_ld_interface=yes
9925 if test "$lt_use_gnu_ld_interface" = yes; then
9926 # If archive_cmds runs LD, not CC, wlarc should be empty
9929 # Set some defaults for GNU ld with shared library support. These
9930 # are reset later if shared libraries are not supported. Putting them
9931 # here allows them to be overridden if necessary.
9932 runpath_var=LD_RUN_PATH
9933 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9934 export_dynamic_flag_spec='${wl}--export-dynamic'
9935 # ancient GNU ld didn't support --whole-archive et. al.
9936 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9937 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9939 whole_archive_flag_spec=
9941 supports_anon_versioning=no
9942 case `$LD -v 2>&1` in
9943 *GNU\ gold*) supports_anon_versioning=yes ;;
9944 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9945 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9946 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9947 *\ 2.11.*) ;; # other 2.11 versions
9948 *) supports_anon_versioning=yes ;;
9951 # See if GNU ld supports shared libraries.
9954 # On AIX/PPC, the GNU linker is very broken
9955 if test "$host_cpu" != ia64; then
9959 *** Warning: the GNU linker, at least up to release 2.19, is reported
9960 *** to be unable to reliably create shared libraries on AIX.
9961 *** Therefore, libtool is disabling shared libraries support. If you
9962 *** really care for shared libraries, you may want to install binutils
9963 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9964 *** You will then need to restart the configuration process.
9973 # see comment about AmigaOS4 .so support
9974 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9975 archive_expsym_cmds=''
9978 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)'
9979 hardcode_libdir_flag_spec='-L$libdir'
9980 hardcode_minus_L=yes
9986 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9987 allow_undefined_flag=unsupported
9988 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9989 # support --undefined. This deserves some investigation. FIXME
9990 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9996 cygwin* | mingw* | pw32* | cegcc*)
9997 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9998 # as there is no search path for DLLs.
9999 hardcode_libdir_flag_spec='-L$libdir'
10000 export_dynamic_flag_spec='${wl}--export-all-symbols'
10001 allow_undefined_flag=unsupported
10002 always_export_symbols=no
10003 enable_shared_with_static_runtimes=yes
10004 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'
10005 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10007 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10008 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10009 # If the export-symbols file already is a .def file (1st line
10010 # is EXPORTS), use it as is; otherwise, prepend...
10011 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10012 cp $export_symbols $output_objdir/$soname.def;
10014 echo EXPORTS > $output_objdir/$soname.def;
10015 cat $export_symbols >> $output_objdir/$soname.def;
10017 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10024 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10025 link_all_deplibs=yes
10030 hardcode_shlibpath_var=no
10031 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10032 export_dynamic_flag_spec='${wl}-E'
10033 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10034 # Instead, shared libraries are loaded at an image base (0x10000000 by
10035 # default) and relocated if they conflict, which is a slow very memory
10036 # consuming and fragmenting process. To avoid this, we pick a random,
10037 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10038 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10039 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10040 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'
10043 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10045 if test "$host_os" = linux-dietlibc; then
10046 case $cc_basename in
10047 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10050 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10051 && test "$tmp_diet" = no
10053 tmp_addflag=' $pic_flag'
10054 tmp_sharedflag='-shared'
10055 case $cc_basename,$host_cpu in
10056 pgcc*) # Portland Group C compiler
10057 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'
10058 tmp_addflag=' $pic_flag'
10060 pgf77* | pgf90* | pgf95* | pgfortran*)
10061 # Portland Group f77 and f90 compilers
10062 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'
10063 tmp_addflag=' $pic_flag -Mnomain' ;;
10064 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10065 tmp_addflag=' -i_dynamic' ;;
10066 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10067 tmp_addflag=' -i_dynamic -nofor_main' ;;
10068 ifc* | ifort*) # Intel Fortran compiler
10069 tmp_addflag=' -nofor_main' ;;
10070 lf95*) # Lahey Fortran 8.1
10071 whole_archive_flag_spec=
10072 tmp_sharedflag='--shared' ;;
10073 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10074 tmp_sharedflag='-qmkshrobj'
10076 nvcc*) # Cuda Compiler Driver 2.2
10077 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'
10078 compiler_needs_object=yes
10081 case `$CC -V 2>&1 | sed 5q` in
10082 *Sun\ C*) # Sun C 5.9
10083 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'
10084 compiler_needs_object=yes
10085 tmp_sharedflag='-G' ;;
10086 *Sun\ F*) # Sun Fortran 8.3
10087 tmp_sharedflag='-G' ;;
10089 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10091 if test "x$supports_anon_versioning" = xyes; then
10092 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10093 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10094 echo "local: *; };" >> $output_objdir/$libname.ver~
10095 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10098 case $cc_basename in
10099 xlf* | bgf* | bgxlf* | mpixlf*)
10100 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10101 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10102 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10103 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10104 if test "x$supports_anon_versioning" = xyes; then
10105 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10106 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10107 echo "local: *; };" >> $output_objdir/$libname.ver~
10108 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10117 netbsd* | netbsdelf*-gnu)
10118 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10119 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10122 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10123 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10128 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10132 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10133 *** create shared libraries on Solaris systems. Therefore, libtool
10134 *** is disabling shared libraries support. We urge you to upgrade GNU
10135 *** binutils to release 2.9.1 or newer. Another option is to modify
10136 *** your PATH or compiler configuration so that the native linker is
10137 *** used, and then restart.
10140 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10141 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10142 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10148 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10149 case `$LD -v 2>&1` in
10150 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10154 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10155 *** reliably create shared libraries on SCO systems. Therefore, libtool
10156 *** is disabling shared libraries support. We urge you to upgrade GNU
10157 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10158 *** your PATH or compiler configuration so that the native linker is
10159 *** used, and then restart.
10164 # For security reasons, it is highly recommended that you always
10165 # use absolute paths for naming shared libraries, and exclude the
10166 # DT_RUNPATH tag from executables and libraries. But doing so
10167 # requires that you compile everything twice, which is a pain.
10168 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10169 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10170 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10171 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10180 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10182 hardcode_direct=yes
10183 hardcode_shlibpath_var=no
10187 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10188 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10189 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10196 if test "$ld_shlibs" = no; then
10198 hardcode_libdir_flag_spec=
10199 export_dynamic_flag_spec=
10200 whole_archive_flag_spec=
10203 # PORTME fill in a description of your system's linker (not GNU ld)
10206 allow_undefined_flag=unsupported
10207 always_export_symbols=yes
10208 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'
10209 # Note: this linker hardcodes the directories in LIBPATH if there
10210 # are no directories specified by -L.
10211 hardcode_minus_L=yes
10212 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10213 # Neither direct hardcoding nor static linking is supported with a
10215 hardcode_direct=unsupported
10220 if test "$host_cpu" = ia64; then
10221 # On IA64, the linker does run time linking by default, so we don't
10222 # have to do anything special.
10223 aix_use_runtimelinking=no
10224 exp_sym_flag='-Bexport'
10227 # If we're using GNU nm, then we don't want the "-C" option.
10228 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10229 # Also, AIX nm treats weak defined symbols like other global
10230 # defined symbols, whereas GNU nm marks them as "W".
10231 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10232 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'
10234 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'
10236 aix_use_runtimelinking=no
10238 # Test if we are trying to use run time linking or normal
10239 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10240 # need to do runtime linking.
10241 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10242 for ld_flag in $LDFLAGS; do
10243 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10244 aix_use_runtimelinking=yes
10251 exp_sym_flag='-bexport'
10252 no_entry_flag='-bnoentry'
10255 # When large executables or shared objects are built, AIX ld can
10256 # have problems creating the table of contents. If linking a library
10257 # or program results in "error TOC overflow" add -mminimal-toc to
10258 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10259 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10262 hardcode_direct=yes
10263 hardcode_direct_absolute=yes
10264 hardcode_libdir_separator=':'
10265 link_all_deplibs=yes
10266 file_list_spec='${wl}-f,'
10268 if test "$GCC" = yes; then
10269 case $host_os in aix4.[012]|aix4.[012].*)
10270 # We only want to do this on AIX 4.2 and lower, the check
10271 # below for broken collect2 doesn't work under 4.3+
10272 collect2name=`${CC} -print-prog-name=collect2`
10273 if test -f "$collect2name" &&
10274 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10276 # We have reworked collect2
10279 # We have old collect2
10280 hardcode_direct=unsupported
10281 # It fails to find uninstalled libraries when the uninstalled
10282 # path is not listed in the libpath. Setting hardcode_minus_L
10283 # to unsupported forces relinking
10284 hardcode_minus_L=yes
10285 hardcode_libdir_flag_spec='-L$libdir'
10286 hardcode_libdir_separator=
10290 shared_flag='-shared'
10291 if test "$aix_use_runtimelinking" = yes; then
10292 shared_flag="$shared_flag "'${wl}-G'
10294 link_all_deplibs=no
10297 if test "$host_cpu" = ia64; then
10298 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10299 # chokes on -Wl,-G. The following line is correct:
10302 if test "$aix_use_runtimelinking" = yes; then
10303 shared_flag='${wl}-G'
10305 shared_flag='${wl}-bM:SRE'
10310 export_dynamic_flag_spec='${wl}-bexpall'
10311 # It seems that -bexpall does not export symbols beginning with
10312 # underscore (_), so it is better to generate a list of symbols to export.
10313 always_export_symbols=yes
10314 if test "$aix_use_runtimelinking" = yes; then
10315 # Warning - without using the other runtime loading flags (-brtl),
10316 # -berok will link without error, but may produce a broken library.
10317 allow_undefined_flag='-berok'
10318 # Determine the default libpath from the value encoded in an
10319 # empty executable.
10320 if test "${lt_cv_aix_libpath+set}" = set; then
10321 aix_libpath=$lt_cv_aix_libpath
10323 if ${lt_cv_aix_libpath_+:} false; then :
10324 $as_echo_n "(cached) " >&6
10326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10327 /* end confdefs.h. */
10337 if ac_fn_c_try_link "$LINENO"; then :
10339 lt_aix_libpath_sed='
10340 /Import File Strings/,/^$/ {
10342 s/^0 *\([^ ]*\) *$/\1/
10346 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10347 # Check for a 64-bit object if we didn't find anything.
10348 if test -z "$lt_cv_aix_libpath_"; then
10349 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10352 rm -f core conftest.err conftest.$ac_objext \
10353 conftest$ac_exeext conftest.$ac_ext
10354 if test -z "$lt_cv_aix_libpath_"; then
10355 lt_cv_aix_libpath_="/usr/lib:/lib"
10360 aix_libpath=$lt_cv_aix_libpath_
10363 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10364 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"
10366 if test "$host_cpu" = ia64; then
10367 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10368 allow_undefined_flag="-z nodefs"
10369 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"
10371 # Determine the default libpath from the value encoded in an
10372 # empty executable.
10373 if test "${lt_cv_aix_libpath+set}" = set; then
10374 aix_libpath=$lt_cv_aix_libpath
10376 if ${lt_cv_aix_libpath_+:} false; then :
10377 $as_echo_n "(cached) " >&6
10379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10380 /* end confdefs.h. */
10390 if ac_fn_c_try_link "$LINENO"; then :
10392 lt_aix_libpath_sed='
10393 /Import File Strings/,/^$/ {
10395 s/^0 *\([^ ]*\) *$/\1/
10399 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10400 # Check for a 64-bit object if we didn't find anything.
10401 if test -z "$lt_cv_aix_libpath_"; then
10402 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10405 rm -f core conftest.err conftest.$ac_objext \
10406 conftest$ac_exeext conftest.$ac_ext
10407 if test -z "$lt_cv_aix_libpath_"; then
10408 lt_cv_aix_libpath_="/usr/lib:/lib"
10413 aix_libpath=$lt_cv_aix_libpath_
10416 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10417 # Warning - without using the other run time loading flags,
10418 # -berok will link without error, but may produce a broken library.
10419 no_undefined_flag=' ${wl}-bernotok'
10420 allow_undefined_flag=' ${wl}-berok'
10421 if test "$with_gnu_ld" = yes; then
10422 # We only use this code for GNU lds that support --whole-archive.
10423 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10425 # Exported symbols can be pulled into shared objects from archives
10426 whole_archive_flag_spec='$convenience'
10428 archive_cmds_need_lc=yes
10429 # This is similar to how AIX traditionally builds its shared libraries.
10430 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'
10438 # see comment about AmigaOS4 .so support
10439 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10440 archive_expsym_cmds=''
10443 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)'
10444 hardcode_libdir_flag_spec='-L$libdir'
10445 hardcode_minus_L=yes
10451 export_dynamic_flag_spec=-rdynamic
10454 cygwin* | mingw* | pw32* | cegcc*)
10455 # When not using gcc, we currently assume that we are using
10456 # Microsoft Visual C++.
10457 # hardcode_libdir_flag_spec is actually meaningless, as there is
10458 # no search path for DLLs.
10459 case $cc_basename in
10462 hardcode_libdir_flag_spec=' '
10463 allow_undefined_flag=unsupported
10464 always_export_symbols=yes
10466 # Tell ltmain to make .lib files, not .a files.
10468 # Tell ltmain to make .dll files, not .so files.
10470 # FIXME: Setting linknames here is a bad hack.
10471 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10472 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10473 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10475 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10477 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10479 # The linker will not automatically build a static lib if we build a DLL.
10480 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10481 enable_shared_with_static_runtimes=yes
10482 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10483 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10485 old_postinstall_cmds='chmod 644 $oldlib'
10486 postlink_cmds='lt_outputfile="@OUTPUT@"~
10487 lt_tool_outputfile="@TOOL_OUTPUT@"~
10488 case $lt_outputfile in
10491 lt_outputfile="$lt_outputfile.exe"
10492 lt_tool_outputfile="$lt_tool_outputfile.exe"
10495 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10496 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10497 $RM "$lt_outputfile.manifest";
10501 # Assume MSVC wrapper
10502 hardcode_libdir_flag_spec=' '
10503 allow_undefined_flag=unsupported
10504 # Tell ltmain to make .lib files, not .a files.
10506 # Tell ltmain to make .dll files, not .so files.
10508 # FIXME: Setting linknames here is a bad hack.
10509 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10510 # The linker will automatically build a .lib file if we build a DLL.
10511 old_archive_from_new_cmds='true'
10512 # FIXME: Should let the user specify the lib program.
10513 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10514 enable_shared_with_static_runtimes=yes
10519 darwin* | rhapsody*)
10522 archive_cmds_need_lc=no
10524 hardcode_automatic=yes
10525 hardcode_shlibpath_var=unsupported
10526 if test "$lt_cv_ld_force_load" = "yes"; then
10527 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\"`'
10530 whole_archive_flag_spec=''
10532 link_all_deplibs=yes
10533 allow_undefined_flag="$_lt_dar_allow_undefined"
10534 case $cc_basename in
10535 ifort*) _lt_dar_can_shared=yes ;;
10536 *) _lt_dar_can_shared=$GCC ;;
10538 if test "$_lt_dar_can_shared" = "yes"; then
10539 output_verbose_link_cmd=func_echo_all
10540 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10541 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10542 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}"
10543 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}"
10552 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10553 hardcode_libdir_flag_spec='-L$libdir'
10554 hardcode_shlibpath_var=no
10557 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10558 # support. Future versions do this automatically, but an explicit c++rt0.o
10559 # does not break anything, and helps significantly (at the cost of a little
10562 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10563 hardcode_libdir_flag_spec='-R$libdir'
10564 hardcode_direct=yes
10565 hardcode_shlibpath_var=no
10568 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10570 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10571 hardcode_direct=yes
10572 hardcode_minus_L=yes
10573 hardcode_shlibpath_var=no
10576 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10577 freebsd* | dragonfly*)
10578 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10579 hardcode_libdir_flag_spec='-R$libdir'
10580 hardcode_direct=yes
10581 hardcode_shlibpath_var=no
10585 if test "$GCC" = yes; then
10586 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'
10588 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'
10590 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10591 hardcode_libdir_separator=:
10592 hardcode_direct=yes
10594 # hardcode_minus_L: Not really in the search PATH,
10595 # but as the default location of the library.
10596 hardcode_minus_L=yes
10597 export_dynamic_flag_spec='${wl}-E'
10601 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10602 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10604 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10606 if test "$with_gnu_ld" = no; then
10607 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10608 hardcode_libdir_separator=:
10609 hardcode_direct=yes
10610 hardcode_direct_absolute=yes
10611 export_dynamic_flag_spec='${wl}-E'
10612 # hardcode_minus_L: Not really in the search PATH,
10613 # but as the default location of the library.
10614 hardcode_minus_L=yes
10619 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10622 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10625 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10628 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10634 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10637 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10641 # Older versions of the 11.00 compiler do not understand -b yet
10642 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10644 $as_echo_n "checking if $CC understands -b... " >&6; }
10645 if ${lt_cv_prog_compiler__b+:} false; then :
10646 $as_echo_n "(cached) " >&6
10648 lt_cv_prog_compiler__b=no
10649 save_LDFLAGS="$LDFLAGS"
10650 LDFLAGS="$LDFLAGS -b"
10651 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10652 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10653 # The linker can only warn and ignore the option if not recognized
10654 # So say no if there are warnings
10655 if test -s conftest.err; then
10656 # Append any errors to the config.log.
10657 cat conftest.err 1>&5
10658 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10659 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10660 if diff conftest.exp conftest.er2 >/dev/null; then
10661 lt_cv_prog_compiler__b=yes
10664 lt_cv_prog_compiler__b=yes
10668 LDFLAGS="$save_LDFLAGS"
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10672 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10674 if test x"$lt_cv_prog_compiler__b" = xyes; then
10675 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10677 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10683 if test "$with_gnu_ld" = no; then
10684 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10685 hardcode_libdir_separator=:
10690 hardcode_shlibpath_var=no
10693 hardcode_direct=yes
10694 hardcode_direct_absolute=yes
10695 export_dynamic_flag_spec='${wl}-E'
10697 # hardcode_minus_L: Not really in the search PATH,
10698 # but as the default location of the library.
10699 hardcode_minus_L=yes
10705 irix5* | irix6* | nonstopux*)
10706 if test "$GCC" = yes; then
10707 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'
10708 # Try to use the -exported_symbol ld option, if it does not
10709 # work, assume that -exports_file does not work either and
10710 # implicitly export all symbols.
10711 # This should be the same for all languages, so no per-tag cache variable.
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10713 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10714 if ${lt_cv_irix_exported_symbol+:} false; then :
10715 $as_echo_n "(cached) " >&6
10717 save_LDFLAGS="$LDFLAGS"
10718 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10720 /* end confdefs.h. */
10721 int foo (void) { return 0; }
10723 if ac_fn_c_try_link "$LINENO"; then :
10724 lt_cv_irix_exported_symbol=yes
10726 lt_cv_irix_exported_symbol=no
10728 rm -f core conftest.err conftest.$ac_objext \
10729 conftest$ac_exeext conftest.$ac_ext
10730 LDFLAGS="$save_LDFLAGS"
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10733 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10734 if test "$lt_cv_irix_exported_symbol" = yes; then
10735 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'
10738 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'
10739 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'
10741 archive_cmds_need_lc='no'
10742 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10743 hardcode_libdir_separator=:
10745 link_all_deplibs=yes
10748 netbsd* | netbsdelf*-gnu)
10749 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10750 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10752 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10754 hardcode_libdir_flag_spec='-R$libdir'
10755 hardcode_direct=yes
10756 hardcode_shlibpath_var=no
10760 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10761 hardcode_direct=yes
10762 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10763 hardcode_libdir_separator=:
10764 hardcode_shlibpath_var=no
10771 if test -f /usr/libexec/ld.so; then
10772 hardcode_direct=yes
10773 hardcode_shlibpath_var=no
10774 hardcode_direct_absolute=yes
10775 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10776 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10777 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10778 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10779 export_dynamic_flag_spec='${wl}-E'
10782 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10783 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10784 hardcode_libdir_flag_spec='-R$libdir'
10787 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10788 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10798 hardcode_libdir_flag_spec='-L$libdir'
10799 hardcode_minus_L=yes
10800 allow_undefined_flag=unsupported
10801 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'
10802 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10806 if test "$GCC" = yes; then
10807 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10808 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'
10810 allow_undefined_flag=' -expect_unresolved \*'
10811 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'
10813 archive_cmds_need_lc='no'
10814 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10815 hardcode_libdir_separator=:
10818 osf4* | osf5*) # as osf3* with the addition of -msym flag
10819 if test "$GCC" = yes; then
10820 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10821 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'
10822 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10824 allow_undefined_flag=' -expect_unresolved \*'
10825 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'
10826 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~
10827 $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'
10829 # Both c and cxx compiler support -rpath directly
10830 hardcode_libdir_flag_spec='-rpath $libdir'
10832 archive_cmds_need_lc='no'
10833 hardcode_libdir_separator=:
10837 no_undefined_flag=' -z defs'
10838 if test "$GCC" = yes; then
10840 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10841 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10842 $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'
10844 case `$CC -V 2>&1` in
10847 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10848 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10849 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10853 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10854 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10855 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10859 hardcode_libdir_flag_spec='-R$libdir'
10860 hardcode_shlibpath_var=no
10862 solaris2.[0-5] | solaris2.[0-5].*) ;;
10864 # The compiler driver will combine and reorder linker options,
10865 # but understands `-z linker_flag'. GCC discards it without `$wl',
10866 # but is careful enough not to reorder.
10867 # Supported since Solaris 2.6 (maybe 2.5.1?)
10868 if test "$GCC" = yes; then
10869 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10871 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10875 link_all_deplibs=yes
10879 if test "x$host_vendor" = xsequent; then
10880 # Use $CC to link under sequent, because it throws in some extra .o
10881 # files that make .init and .fini sections work.
10882 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10884 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10886 hardcode_libdir_flag_spec='-L$libdir'
10887 hardcode_direct=yes
10888 hardcode_minus_L=yes
10889 hardcode_shlibpath_var=no
10893 case $host_vendor in
10895 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10896 hardcode_direct=yes # is this really true???
10899 ## LD is ld it makes a PLAMLIB
10900 ## CC just makes a GrossModule.
10901 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10902 reload_cmds='$CC -r -o $output$reload_objs'
10906 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10907 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10910 runpath_var='LD_RUN_PATH'
10911 hardcode_shlibpath_var=no
10915 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10916 hardcode_shlibpath_var=no
10917 export_dynamic_flag_spec='-Bexport'
10921 if test -d /usr/nec; then
10922 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10923 hardcode_shlibpath_var=no
10924 runpath_var=LD_RUN_PATH
10925 hardcode_runpath_var=yes
10930 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10931 no_undefined_flag='${wl}-z,text'
10932 archive_cmds_need_lc=no
10933 hardcode_shlibpath_var=no
10934 runpath_var='LD_RUN_PATH'
10936 if test "$GCC" = yes; then
10937 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10938 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10940 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10941 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10945 sysv5* | sco3.2v5* | sco5v6*)
10946 # Note: We can NOT use -z defs as we might desire, because we do not
10947 # link with -lc, and that would cause any symbols used from libc to
10948 # always be unresolved, which means just about no library would
10949 # ever link correctly. If we're not using GNU ld we use -z text
10950 # though, which does catch some bad symbols but isn't as heavy-handed
10952 no_undefined_flag='${wl}-z,text'
10953 allow_undefined_flag='${wl}-z,nodefs'
10954 archive_cmds_need_lc=no
10955 hardcode_shlibpath_var=no
10956 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10957 hardcode_libdir_separator=':'
10958 link_all_deplibs=yes
10959 export_dynamic_flag_spec='${wl}-Bexport'
10960 runpath_var='LD_RUN_PATH'
10962 if test "$GCC" = yes; then
10963 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10964 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10966 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10967 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10972 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10973 hardcode_libdir_flag_spec='-L$libdir'
10974 hardcode_shlibpath_var=no
10982 if test x$host_vendor = xsni; then
10984 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10985 export_dynamic_flag_spec='${wl}-Blargedynsym'
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10992 $as_echo "$ld_shlibs" >&6; }
10993 test "$ld_shlibs" = no && can_build_shared=no
10995 with_gnu_ld=$with_gnu_ld
11012 # Do we need to explicitly link libc?
11014 case "x$archive_cmds_need_lc" in
11016 # Assume -lc should be added
11017 archive_cmds_need_lc=yes
11019 if test "$enable_shared" = yes && test "$GCC" = yes; then
11020 case $archive_cmds in
11022 # FIXME: we may have to deal with multi-command sequences.
11025 # Test whether the compiler implicitly links with -lc since on some
11026 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11027 # to ld, don't add -lc before -lgcc.
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11029 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11030 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11031 $as_echo_n "(cached) " >&6
11034 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11036 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11037 (eval $ac_compile) 2>&5
11039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11040 test $ac_status = 0; } 2>conftest.err; then
11043 libobjs=conftest.$ac_objext
11045 wl=$lt_prog_compiler_wl
11046 pic_flag=$lt_prog_compiler_pic
11052 lt_save_allow_undefined_flag=$allow_undefined_flag
11053 allow_undefined_flag=
11054 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11055 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11058 test $ac_status = 0; }
11060 lt_cv_archive_cmds_need_lc=no
11062 lt_cv_archive_cmds_need_lc=yes
11064 allow_undefined_flag=$lt_save_allow_undefined_flag
11066 cat conftest.err 1>&5
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11072 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11073 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11232 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11234 if test "$GCC" = yes; then
11236 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11237 *) lt_awk_arg="/^libraries:/" ;;
11240 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11241 *) lt_sed_strip_eq="s,=/,/,g" ;;
11243 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11244 case $lt_search_path_spec in
11246 # if the path contains ";" then we assume it to be the separator
11247 # otherwise default to the standard path separator (i.e. ":") - it is
11248 # assumed that no part of a normal pathname contains ";" but that should
11249 # okay in the real world where ";" in dirpaths is itself problematic.
11250 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11253 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11256 # Ok, now we have the path, separated by spaces, we can step through it
11257 # and add multilib dir if necessary.
11258 lt_tmp_lt_search_path_spec=
11259 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11260 for lt_sys_path in $lt_search_path_spec; do
11261 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11262 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11264 test -d "$lt_sys_path" && \
11265 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11268 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11269 BEGIN {RS=" "; FS="/|\n";} {
11272 for (lt_i = NF; lt_i > 0; lt_i--) {
11273 if ($lt_i != "" && $lt_i != ".") {
11274 if ($lt_i == "..") {
11277 if (lt_count == 0) {
11278 lt_foo="/" $lt_i lt_foo;
11285 if (lt_foo != "") { lt_freq[lt_foo]++; }
11286 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11288 # AWK program above erroneously prepends '/' to C:/dos/paths
11291 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11292 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11294 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11296 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11298 library_names_spec=
11299 libname_spec='lib$name'
11303 postuninstall_cmds=
11307 shlibpath_overrides_runpath=unknown
11309 dynamic_linker="$host_os ld.so"
11310 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11311 need_lib_prefix=unknown
11312 hardcode_into_libs=no
11314 # when you set need_version to no, make sure it does not cause -set_version
11315 # flags to be left without arguments
11316 need_version=unknown
11320 version_type=linux # correct to gnu/linux during the next big refactor
11321 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11322 shlibpath_var=LIBPATH
11324 # AIX 3 has no versioning support, so we append a major version to the name.
11325 soname_spec='${libname}${release}${shared_ext}$major'
11329 version_type=linux # correct to gnu/linux during the next big refactor
11332 hardcode_into_libs=yes
11333 if test "$host_cpu" = ia64; then
11334 # AIX 5 supports IA64
11335 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11336 shlibpath_var=LD_LIBRARY_PATH
11338 # With GCC up to 2.95.x, collect2 would create an import file
11339 # for dependence libraries. The import file would start with
11340 # the line `#! .'. This would cause the generated library to
11341 # depend on `.', always an invalid library. This was fixed in
11342 # development snapshots of GCC prior to 3.0.
11344 aix4 | aix4.[01] | aix4.[01].*)
11345 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11347 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11350 can_build_shared=no
11354 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11355 # soname into executable. Probably we can add versioning support to
11356 # collect2, so additional links can be useful in future.
11357 if test "$aix_use_runtimelinking" = yes; then
11358 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11359 # instead of lib<name>.a to let people know that these are not
11360 # typical AIX shared libraries.
11361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11363 # We preserve .a as extension for shared libraries through AIX4.2
11364 # and later when we are not doing run time linking.
11365 library_names_spec='${libname}${release}.a $libname.a'
11366 soname_spec='${libname}${release}${shared_ext}$major'
11368 shlibpath_var=LIBPATH
11375 # Since July 2007 AmigaOS4 officially supports .so libraries.
11376 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11380 library_names_spec='$libname.ixlibrary $libname.a'
11381 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11382 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'
11388 library_names_spec='${libname}${shared_ext}'
11389 dynamic_linker="$host_os ld.so"
11390 shlibpath_var=LIBRARY_PATH
11394 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 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11399 shlibpath_var=LD_LIBRARY_PATH
11400 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11401 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11402 # the default ld.so.conf also contains /usr/contrib/lib and
11403 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11404 # libtool to hard-code these into programs
11407 cygwin* | mingw* | pw32* | cegcc*)
11408 version_type=windows
11413 case $GCC,$cc_basename in
11416 library_names_spec='$libname.dll.a'
11417 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11418 postinstall_cmds='base_file=`basename \${file}`~
11419 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11420 dldir=$destdir/`dirname \$dlpath`~
11421 test -d \$dldir || mkdir -p \$dldir~
11422 $install_prog $dir/$dlname \$dldir/$dlname~
11423 chmod a+x \$dldir/$dlname~
11424 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11425 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11427 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11428 dlpath=$dir/\$dldll~
11430 shlibpath_overrides_runpath=yes
11434 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11435 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11437 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11440 # MinGW DLLs use traditional 'lib' prefix
11441 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11444 # pw32 DLLs use 'pw' prefix rather than 'lib'
11445 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11448 dynamic_linker='Win32 ld.exe'
11453 libname_spec='$name'
11454 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11455 library_names_spec='${libname}.dll.lib'
11459 sys_lib_search_path_spec=
11462 for lt_path in $LIB
11465 # Let DOS variable expansion print the short 8.3 style file name.
11466 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11467 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11470 # Convert to MSYS style.
11471 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11474 # Convert to unix form, then to dos form, then back to unix form
11475 # but this time dos style (no spaces!) so that the unix form looks
11476 # like /cygdrive/c/PROGRA~1:/cygdr...
11477 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11478 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11479 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11482 sys_lib_search_path_spec="$LIB"
11483 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11484 # It is most probably a Windows format PATH.
11485 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11487 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11489 # FIXME: find the short name or the path components, as spaces are
11490 # common. (e.g. "Program Files" -> "PROGRA~1")
11494 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11495 postinstall_cmds='base_file=`basename \${file}`~
11496 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11497 dldir=$destdir/`dirname \$dlpath`~
11498 test -d \$dldir || mkdir -p \$dldir~
11499 $install_prog $dir/$dlname \$dldir/$dlname'
11500 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11501 dlpath=$dir/\$dldll~
11503 shlibpath_overrides_runpath=yes
11504 dynamic_linker='Win32 link.exe'
11508 # Assume MSVC wrapper
11509 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11510 dynamic_linker='Win32 ld.exe'
11513 # FIXME: first we should search . and the directory the executable is in
11517 darwin* | rhapsody*)
11518 dynamic_linker="$host_os dyld"
11519 version_type=darwin
11522 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11523 soname_spec='${libname}${release}${major}$shared_ext'
11524 shlibpath_overrides_runpath=yes
11525 shlibpath_var=DYLD_LIBRARY_PATH
11526 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11528 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11529 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11533 version_type=linux # correct to gnu/linux during the next big refactor
11536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11537 soname_spec='${libname}${release}${shared_ext}$major'
11538 shlibpath_var=LD_LIBRARY_PATH
11541 freebsd* | dragonfly*)
11542 # DragonFly does not have aout. When/if they implement a new
11543 # versioning mechanism, adjust this.
11544 if test -x /usr/bin/objformat; then
11545 objformat=`/usr/bin/objformat`
11548 freebsd[23].*) objformat=aout ;;
11549 *) objformat=elf ;;
11552 version_type=freebsd-$objformat
11553 case $version_type in
11555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11560 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11564 shlibpath_var=LD_LIBRARY_PATH
11567 shlibpath_overrides_runpath=yes
11569 freebsd3.[01]* | freebsdelf3.[01]*)
11570 shlibpath_overrides_runpath=yes
11571 hardcode_into_libs=yes
11573 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11574 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11575 shlibpath_overrides_runpath=no
11576 hardcode_into_libs=yes
11578 *) # from 4.6 on, and DragonFly
11579 shlibpath_overrides_runpath=yes
11580 hardcode_into_libs=yes
11586 version_type=linux # correct to gnu/linux during the next big refactor
11589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11590 soname_spec='${libname}${release}${shared_ext}$major'
11591 shlibpath_var=LD_LIBRARY_PATH
11592 shlibpath_overrides_runpath=no
11593 hardcode_into_libs=yes
11597 version_type=linux # correct to gnu/linux during the next big refactor
11600 dynamic_linker="$host_os runtime_loader"
11601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11602 soname_spec='${libname}${release}${shared_ext}$major'
11603 shlibpath_var=LIBRARY_PATH
11604 shlibpath_overrides_runpath=yes
11605 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11606 hardcode_into_libs=yes
11609 hpux9* | hpux10* | hpux11*)
11610 # Give a soname corresponding to the major version so that dld.sl refuses to
11611 # link against other versions.
11618 hardcode_into_libs=yes
11619 dynamic_linker="$host_os dld.so"
11620 shlibpath_var=LD_LIBRARY_PATH
11621 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11623 soname_spec='${libname}${release}${shared_ext}$major'
11624 if test "X$HPUX_IA64_MODE" = X32; then
11625 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11627 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11629 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11633 hardcode_into_libs=yes
11634 dynamic_linker="$host_os dld.sl"
11635 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11636 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11640 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11644 dynamic_linker="$host_os dld.sl"
11645 shlibpath_var=SHLIB_PATH
11646 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11648 soname_spec='${libname}${release}${shared_ext}$major'
11651 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11652 postinstall_cmds='chmod 555 $lib'
11653 # or fails outright, so override atomically:
11654 install_override_mode=555
11658 version_type=linux # correct to gnu/linux during the next big refactor
11661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11662 soname_spec='${libname}${release}${shared_ext}$major'
11663 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11664 shlibpath_var=LD_LIBRARY_PATH
11665 shlibpath_overrides_runpath=no
11666 hardcode_into_libs=yes
11669 irix5* | irix6* | nonstopux*)
11671 nonstopux*) version_type=nonstopux ;;
11673 if test "$lt_cv_prog_gnu_ld" = yes; then
11674 version_type=linux # correct to gnu/linux during the next big refactor
11681 soname_spec='${libname}${release}${shared_ext}$major'
11682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11684 irix5* | nonstopux*)
11685 libsuff= shlibsuff=
11688 case $LD in # libtool.m4 will add one of these switches to LD
11689 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11690 libsuff= shlibsuff= libmagic=32-bit;;
11691 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11692 libsuff=32 shlibsuff=N32 libmagic=N32;;
11693 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11694 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11695 *) libsuff= shlibsuff= libmagic=never-match;;
11699 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11700 shlibpath_overrides_runpath=no
11701 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11702 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11703 hardcode_into_libs=yes
11706 # No shared lib support for Linux oldld, aout, or coff.
11707 linux*oldld* | linux*aout* | linux*coff*)
11711 # This must be glibc/ELF.
11712 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11713 version_type=linux # correct to gnu/linux during the next big refactor
11716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11717 soname_spec='${libname}${release}${shared_ext}$major'
11718 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11719 shlibpath_var=LD_LIBRARY_PATH
11720 shlibpath_overrides_runpath=no
11722 # Some binutils ld are patched to set DT_RUNPATH
11723 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11724 $as_echo_n "(cached) " >&6
11726 lt_cv_shlibpath_overrides_runpath=no
11727 save_LDFLAGS=$LDFLAGS
11728 save_libdir=$libdir
11729 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11730 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11732 /* end confdefs.h. */
11742 if ac_fn_c_try_link "$LINENO"; then :
11743 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11744 lt_cv_shlibpath_overrides_runpath=yes
11747 rm -f core conftest.err conftest.$ac_objext \
11748 conftest$ac_exeext conftest.$ac_ext
11749 LDFLAGS=$save_LDFLAGS
11750 libdir=$save_libdir
11754 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11756 # This implies no fast_install, which is unacceptable.
11757 # Some rework will be needed to allow for fast_install
11758 # before this can be enabled.
11759 hardcode_into_libs=yes
11761 # Append ld.so.conf contents to the search path
11762 if test -f /etc/ld.so.conf; then
11763 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' ' '`
11764 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11767 # We used to test for /lib/ld.so.1 and disable shared libraries on
11768 # powerpc, because MkLinux only supported shared libraries with the
11769 # GNU dynamic linker. Since this was broken with cross compilers,
11770 # most powerpc-linux boxes support dynamic linking these days and
11771 # people can always --disable-shared, the test was removed, and we
11772 # assume the GNU/Linux dynamic linker is in use.
11773 dynamic_linker='GNU/Linux ld.so'
11780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11781 soname_spec='${libname}${release}${shared_ext}$major'
11782 shlibpath_var=LD_LIBRARY_PATH
11783 shlibpath_overrides_runpath=no
11784 hardcode_into_libs=yes
11785 dynamic_linker='NetBSD ld.elf_so'
11792 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11794 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11795 dynamic_linker='NetBSD (a.out) ld.so'
11797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11798 soname_spec='${libname}${release}${shared_ext}$major'
11799 dynamic_linker='NetBSD ld.elf_so'
11801 shlibpath_var=LD_LIBRARY_PATH
11802 shlibpath_overrides_runpath=yes
11803 hardcode_into_libs=yes
11807 version_type=linux # correct to gnu/linux during the next big refactor
11808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11809 shlibpath_var=LD_LIBRARY_PATH
11810 shlibpath_overrides_runpath=yes
11817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11818 soname_spec='${libname}${release}${shared_ext}$major'
11819 shlibpath_var=LD_LIBRARY_PATH
11820 shlibpath_overrides_runpath=no
11821 hardcode_into_libs=yes
11822 dynamic_linker='ldqnx.so'
11827 sys_lib_dlsearch_path_spec="/usr/lib"
11829 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11831 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11832 *) need_version=no ;;
11834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11835 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11836 shlibpath_var=LD_LIBRARY_PATH
11837 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11839 openbsd2.[89] | openbsd2.[89].*)
11840 shlibpath_overrides_runpath=no
11843 shlibpath_overrides_runpath=yes
11847 shlibpath_overrides_runpath=yes
11852 libname_spec='$name'
11855 library_names_spec='$libname${shared_ext} $libname.a'
11856 dynamic_linker='OS/2 ld.exe'
11857 shlibpath_var=LIBPATH
11860 osf3* | osf4* | osf5*)
11864 soname_spec='${libname}${release}${shared_ext}$major'
11865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11866 shlibpath_var=LD_LIBRARY_PATH
11867 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11868 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11876 version_type=linux # correct to gnu/linux during the next big refactor
11879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11880 soname_spec='${libname}${release}${shared_ext}$major'
11881 shlibpath_var=LD_LIBRARY_PATH
11882 shlibpath_overrides_runpath=yes
11883 hardcode_into_libs=yes
11884 # ldd complains unless libraries are executable
11885 postinstall_cmds='chmod +x $lib'
11890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11891 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11892 shlibpath_var=LD_LIBRARY_PATH
11893 shlibpath_overrides_runpath=yes
11894 if test "$with_gnu_ld" = yes; then
11901 version_type=linux # correct to gnu/linux during the next big refactor
11902 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11903 soname_spec='${libname}${release}${shared_ext}$major'
11904 shlibpath_var=LD_LIBRARY_PATH
11905 case $host_vendor in
11907 shlibpath_overrides_runpath=no
11909 runpath_var=LD_RUN_PATH
11917 shlibpath_overrides_runpath=no
11918 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11924 if test -d /usr/nec ;then
11925 version_type=linux # correct to gnu/linux during the next big refactor
11926 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11927 soname_spec='$libname${shared_ext}.$major'
11928 shlibpath_var=LD_LIBRARY_PATH
11932 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11933 version_type=freebsd-elf
11936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11937 soname_spec='${libname}${release}${shared_ext}$major'
11938 shlibpath_var=LD_LIBRARY_PATH
11939 shlibpath_overrides_runpath=yes
11940 hardcode_into_libs=yes
11941 if test "$with_gnu_ld" = yes; then
11942 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11944 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11947 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11951 sys_lib_dlsearch_path_spec='/usr/lib'
11955 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11956 version_type=linux # correct to gnu/linux during the next big refactor
11959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11960 shlibpath_var=LD_LIBRARY_PATH
11961 shlibpath_overrides_runpath=no
11962 hardcode_into_libs=yes
11966 version_type=linux # correct to gnu/linux during the next big refactor
11967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11968 soname_spec='${libname}${release}${shared_ext}$major'
11969 shlibpath_var=LD_LIBRARY_PATH
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11977 $as_echo "$dynamic_linker" >&6; }
11978 test "$dynamic_linker" = no && can_build_shared=no
11980 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11981 if test "$GCC" = yes; then
11982 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11985 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11986 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11988 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11989 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12084 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12086 if test -n "$hardcode_libdir_flag_spec" ||
12087 test -n "$runpath_var" ||
12088 test "X$hardcode_automatic" = "Xyes" ; then
12090 # We can hardcode non-existent directories.
12091 if test "$hardcode_direct" != no &&
12092 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12093 # have to relink, otherwise we might link with an installed library
12094 # when we should be linking with a yet-to-be-installed one
12095 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12096 test "$hardcode_minus_L" != no; then
12097 # Linking always hardcodes the temporary library directory.
12098 hardcode_action=relink
12100 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12101 hardcode_action=immediate
12104 # We cannot hardcode anything, or else we can only hardcode existing
12106 hardcode_action=unsupported
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12109 $as_echo "$hardcode_action" >&6; }
12111 if test "$hardcode_action" = relink ||
12112 test "$inherit_rpath" = yes; then
12113 # Fast installation is not supported
12114 enable_fast_install=no
12115 elif test "$shlibpath_overrides_runpath" = yes ||
12116 test "$enable_shared" = no; then
12117 # Fast installation is not necessary
12118 enable_fast_install=needless
12126 if test "x$enable_dlopen" != xyes; then
12127 enable_dlopen=unknown
12128 enable_dlopen_self=unknown
12129 enable_dlopen_self_static=unknown
12136 lt_cv_dlopen="load_add_on"
12138 lt_cv_dlopen_self=yes
12141 mingw* | pw32* | cegcc*)
12142 lt_cv_dlopen="LoadLibrary"
12147 lt_cv_dlopen="dlopen"
12152 # if libdl is installed we need to link against it
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12154 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12155 if ${ac_cv_lib_dl_dlopen+:} false; then :
12156 $as_echo_n "(cached) " >&6
12158 ac_check_lib_save_LIBS=$LIBS
12160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h. */
12163 /* Override any GCC internal prototype to avoid an error.
12164 Use char because int might match the return type of a GCC
12165 builtin and then its argument prototype would still apply. */
12178 if ac_fn_c_try_link "$LINENO"; then :
12179 ac_cv_lib_dl_dlopen=yes
12181 ac_cv_lib_dl_dlopen=no
12183 rm -f core conftest.err conftest.$ac_objext \
12184 conftest$ac_exeext conftest.$ac_ext
12185 LIBS=$ac_check_lib_save_LIBS
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12188 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12189 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12190 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12193 lt_cv_dlopen="dyld"
12195 lt_cv_dlopen_self=yes
12202 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12203 if test "x$ac_cv_func_shl_load" = xyes; then :
12204 lt_cv_dlopen="shl_load"
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12207 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12208 if ${ac_cv_lib_dld_shl_load+:} false; then :
12209 $as_echo_n "(cached) " >&6
12211 ac_check_lib_save_LIBS=$LIBS
12213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12214 /* end confdefs.h. */
12216 /* Override any GCC internal prototype to avoid an error.
12217 Use char because int might match the return type of a GCC
12218 builtin and then its argument prototype would still apply. */
12226 return shl_load ();
12231 if ac_fn_c_try_link "$LINENO"; then :
12232 ac_cv_lib_dld_shl_load=yes
12234 ac_cv_lib_dld_shl_load=no
12236 rm -f core conftest.err conftest.$ac_objext \
12237 conftest$ac_exeext conftest.$ac_ext
12238 LIBS=$ac_check_lib_save_LIBS
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12241 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12242 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12243 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12245 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12246 if test "x$ac_cv_func_dlopen" = xyes; then :
12247 lt_cv_dlopen="dlopen"
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12250 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12251 if ${ac_cv_lib_dl_dlopen+:} false; then :
12252 $as_echo_n "(cached) " >&6
12254 ac_check_lib_save_LIBS=$LIBS
12256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12257 /* end confdefs.h. */
12259 /* Override any GCC internal prototype to avoid an error.
12260 Use char because int might match the return type of a GCC
12261 builtin and then its argument prototype would still apply. */
12274 if ac_fn_c_try_link "$LINENO"; then :
12275 ac_cv_lib_dl_dlopen=yes
12277 ac_cv_lib_dl_dlopen=no
12279 rm -f core conftest.err conftest.$ac_objext \
12280 conftest$ac_exeext conftest.$ac_ext
12281 LIBS=$ac_check_lib_save_LIBS
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12284 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12285 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12286 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12289 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12290 if ${ac_cv_lib_svld_dlopen+:} false; then :
12291 $as_echo_n "(cached) " >&6
12293 ac_check_lib_save_LIBS=$LIBS
12294 LIBS="-lsvld $LIBS"
12295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12296 /* end confdefs.h. */
12298 /* Override any GCC internal prototype to avoid an error.
12299 Use char because int might match the return type of a GCC
12300 builtin and then its argument prototype would still apply. */
12313 if ac_fn_c_try_link "$LINENO"; then :
12314 ac_cv_lib_svld_dlopen=yes
12316 ac_cv_lib_svld_dlopen=no
12318 rm -f core conftest.err conftest.$ac_objext \
12319 conftest$ac_exeext conftest.$ac_ext
12320 LIBS=$ac_check_lib_save_LIBS
12322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12323 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12324 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12325 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12328 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12329 if ${ac_cv_lib_dld_dld_link+:} false; then :
12330 $as_echo_n "(cached) " >&6
12332 ac_check_lib_save_LIBS=$LIBS
12334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12335 /* end confdefs.h. */
12337 /* Override any GCC internal prototype to avoid an error.
12338 Use char because int might match the return type of a GCC
12339 builtin and then its argument prototype would still apply. */
12347 return dld_link ();
12352 if ac_fn_c_try_link "$LINENO"; then :
12353 ac_cv_lib_dld_dld_link=yes
12355 ac_cv_lib_dld_dld_link=no
12357 rm -f core conftest.err conftest.$ac_objext \
12358 conftest$ac_exeext conftest.$ac_ext
12359 LIBS=$ac_check_lib_save_LIBS
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12362 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12363 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12364 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12385 if test "x$lt_cv_dlopen" != xno; then
12391 case $lt_cv_dlopen in
12393 save_CPPFLAGS="$CPPFLAGS"
12394 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12396 save_LDFLAGS="$LDFLAGS"
12397 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12400 LIBS="$lt_cv_dlopen_libs $LIBS"
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12403 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12404 if ${lt_cv_dlopen_self+:} false; then :
12405 $as_echo_n "(cached) " >&6
12407 if test "$cross_compiling" = yes; then :
12408 lt_cv_dlopen_self=cross
12410 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12411 lt_status=$lt_dlunknown
12412 cat > conftest.$ac_ext <<_LT_EOF
12413 #line $LINENO "configure"
12414 #include "confdefs.h"
12423 # define LT_DLGLOBAL RTLD_GLOBAL
12426 # define LT_DLGLOBAL DL_GLOBAL
12428 # define LT_DLGLOBAL 0
12432 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12433 find out it does not work in some platform. */
12434 #ifndef LT_DLLAZY_OR_NOW
12436 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12439 # define LT_DLLAZY_OR_NOW DL_LAZY
12442 # define LT_DLLAZY_OR_NOW RTLD_NOW
12445 # define LT_DLLAZY_OR_NOW DL_NOW
12447 # define LT_DLLAZY_OR_NOW 0
12454 /* When -fvisbility=hidden is used, assume the code has been annotated
12455 correspondingly for the symbols needed. */
12456 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12457 int fnord () __attribute__((visibility("default")));
12460 int fnord () { return 42; }
12463 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12464 int status = $lt_dlunknown;
12468 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12471 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12472 else puts (dlerror ());
12474 /* dlclose (self); */
12482 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12483 (eval $ac_link) 2>&5
12485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12486 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12487 (./conftest; exit; ) >&5 2>/dev/null
12489 case x$lt_status in
12490 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12491 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12492 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12495 # compilation failed
12496 lt_cv_dlopen_self=no
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12504 $as_echo "$lt_cv_dlopen_self" >&6; }
12506 if test "x$lt_cv_dlopen_self" = xyes; then
12507 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12509 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12510 if ${lt_cv_dlopen_self_static+:} false; then :
12511 $as_echo_n "(cached) " >&6
12513 if test "$cross_compiling" = yes; then :
12514 lt_cv_dlopen_self_static=cross
12516 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12517 lt_status=$lt_dlunknown
12518 cat > conftest.$ac_ext <<_LT_EOF
12519 #line $LINENO "configure"
12520 #include "confdefs.h"
12529 # define LT_DLGLOBAL RTLD_GLOBAL
12532 # define LT_DLGLOBAL DL_GLOBAL
12534 # define LT_DLGLOBAL 0
12538 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12539 find out it does not work in some platform. */
12540 #ifndef LT_DLLAZY_OR_NOW
12542 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12545 # define LT_DLLAZY_OR_NOW DL_LAZY
12548 # define LT_DLLAZY_OR_NOW RTLD_NOW
12551 # define LT_DLLAZY_OR_NOW DL_NOW
12553 # define LT_DLLAZY_OR_NOW 0
12560 /* When -fvisbility=hidden is used, assume the code has been annotated
12561 correspondingly for the symbols needed. */
12562 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12563 int fnord () __attribute__((visibility("default")));
12566 int fnord () { return 42; }
12569 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12570 int status = $lt_dlunknown;
12574 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12577 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12578 else puts (dlerror ());
12580 /* dlclose (self); */
12588 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12589 (eval $ac_link) 2>&5
12591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12592 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12593 (./conftest; exit; ) >&5 2>/dev/null
12595 case x$lt_status in
12596 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12597 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12598 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12601 # compilation failed
12602 lt_cv_dlopen_self_static=no
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12610 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12613 CPPFLAGS="$save_CPPFLAGS"
12614 LDFLAGS="$save_LDFLAGS"
12619 case $lt_cv_dlopen_self in
12620 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12621 *) enable_dlopen_self=unknown ;;
12624 case $lt_cv_dlopen_self_static in
12625 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12626 *) enable_dlopen_self_static=unknown ;;
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12649 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12650 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12651 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12652 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12654 $as_echo "yes" >&6; }
12656 # FIXME - insert some real tests, host_os isn't really good enough
12659 if test -n "$STRIP" ; then
12660 striplib="$STRIP -x"
12661 old_striplib="$STRIP -S"
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12663 $as_echo "yes" >&6; }
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12666 $as_echo "no" >&6; }
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12671 $as_echo "no" >&6; }
12687 # Report which library types will actually be built
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12689 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12691 $as_echo "$can_build_shared" >&6; }
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12694 $as_echo_n "checking whether to build shared libraries... " >&6; }
12695 test "$can_build_shared" = "no" && enable_shared=no
12697 # On AIX, shared libraries and static libraries use the same namespace, and
12698 # are all built from PIC.
12701 test "$enable_shared" = yes && enable_static=no
12702 if test -n "$RANLIB"; then
12703 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12704 postinstall_cmds='$RANLIB $lib'
12709 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12710 test "$enable_shared" = yes && enable_static=no
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12715 $as_echo "$enable_shared" >&6; }
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12718 $as_echo_n "checking whether to build static libraries... " >&6; }
12719 # Make sure either enable_shared or enable_static is yes.
12720 test "$enable_shared" = yes || enable_static=yes
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12722 $as_echo "$enable_static" >&6; }
12729 ac_cpp='$CPP $CPPFLAGS'
12730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12750 ac_config_commands="$ac_config_commands libtool"
12755 # Only expand once:
12764 # Check whether --with-autoconf was given.
12765 if test "${with_autoconf+set}" = set; then :
12766 withval=$with_autoconf;
12769 AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
12772 $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
12778 # Check whether --with-autoheader was given.
12779 if test "${with_autoheader+set}" = set; then :
12780 withval=$with_autoheader;
12783 AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
12786 $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
12792 # Check whether --with-automake was given.
12793 if test "${with_automake+set}" = set; then :
12794 withval=$with_automake;
12797 AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
12800 $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
12806 # Check whether --with-aclocal was given.
12807 if test "${with_aclocal+set}" = set; then :
12808 withval=$with_aclocal;
12811 ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
12814 $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
12820 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12826 $as_echo_n "checking whether NLS is requested... " >&6; }
12827 # Check whether --enable-nls was given.
12828 if test "${enable_nls+set}" = set; then :
12829 enableval=$enable_nls; USE_NLS=$enableval
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12835 $as_echo "$USE_NLS" >&6; }
12840 GETTEXT_MACRO_VERSION=0.17
12845 # Prepare PATH_SEPARATOR.
12846 # The user is always right.
12847 if test "${PATH_SEPARATOR+set}" != set; then
12848 echo "#! /bin/sh" >conf$$.sh
12849 echo "exit 0" >>conf$$.sh
12851 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12859 # Find out how to test for executable files. Don't use a zero-byte file,
12860 # as systems may use methods other than mode bits to determine executability.
12861 cat >conf$$.file <<_ASEOF
12865 chmod +x conf$$.file
12866 if test -x conf$$.file >/dev/null 2>&1; then
12867 ac_executable_p="test -x"
12869 ac_executable_p="test -f"
12873 # Extract the first word of "msgfmt", so it can be a program name with args.
12874 set dummy msgfmt; ac_word=$2
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12876 $as_echo_n "checking for $ac_word... " >&6; }
12877 if ${ac_cv_path_MSGFMT+:} false; then :
12878 $as_echo_n "(cached) " >&6
12882 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12885 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12886 for ac_dir in $PATH; do
12888 test -z "$ac_dir" && ac_dir=.
12889 for ac_exec_ext in '' $ac_executable_extensions; do
12890 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12891 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12892 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
12893 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12894 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12901 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12905 MSGFMT="$ac_cv_path_MSGFMT"
12906 if test "$MSGFMT" != ":"; then
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12908 $as_echo "$MSGFMT" >&6; }
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12911 $as_echo "no" >&6; }
12914 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12915 set dummy gmsgfmt; ac_word=$2
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12917 $as_echo_n "checking for $ac_word... " >&6; }
12918 if ${ac_cv_path_GMSGFMT+:} false; then :
12919 $as_echo_n "(cached) " >&6
12923 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12927 for as_dir in $PATH
12930 test -z "$as_dir" && as_dir=.
12931 for ac_exec_ext in '' $ac_executable_extensions; do
12932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12933 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12941 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12945 GMSGFMT=$ac_cv_path_GMSGFMT
12946 if test -n "$GMSGFMT"; then
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12948 $as_echo "$GMSGFMT" >&6; }
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12951 $as_echo "no" >&6; }
12956 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12957 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
12958 *) MSGFMT_015=$MSGFMT ;;
12961 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12962 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
12963 *) GMSGFMT_015=$GMSGFMT ;;
12968 # Prepare PATH_SEPARATOR.
12969 # The user is always right.
12970 if test "${PATH_SEPARATOR+set}" != set; then
12971 echo "#! /bin/sh" >conf$$.sh
12972 echo "exit 0" >>conf$$.sh
12974 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12982 # Find out how to test for executable files. Don't use a zero-byte file,
12983 # as systems may use methods other than mode bits to determine executability.
12984 cat >conf$$.file <<_ASEOF
12988 chmod +x conf$$.file
12989 if test -x conf$$.file >/dev/null 2>&1; then
12990 ac_executable_p="test -x"
12992 ac_executable_p="test -f"
12996 # Extract the first word of "xgettext", so it can be a program name with args.
12997 set dummy xgettext; ac_word=$2
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12999 $as_echo_n "checking for $ac_word... " >&6; }
13000 if ${ac_cv_path_XGETTEXT+:} false; then :
13001 $as_echo_n "(cached) " >&6
13003 case "$XGETTEXT" in
13005 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13008 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13009 for ac_dir in $PATH; do
13011 test -z "$ac_dir" && ac_dir=.
13012 for ac_exec_ext in '' $ac_executable_extensions; do
13013 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13014 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13015 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
13016 (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
13017 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13024 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13028 XGETTEXT="$ac_cv_path_XGETTEXT"
13029 if test "$XGETTEXT" != ":"; then
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13031 $as_echo "$XGETTEXT" >&6; }
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13034 $as_echo "no" >&6; }
13039 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13040 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
13041 *) XGETTEXT_015=$XGETTEXT ;;
13046 # Prepare PATH_SEPARATOR.
13047 # The user is always right.
13048 if test "${PATH_SEPARATOR+set}" != set; then
13049 echo "#! /bin/sh" >conf$$.sh
13050 echo "exit 0" >>conf$$.sh
13052 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13060 # Find out how to test for executable files. Don't use a zero-byte file,
13061 # as systems may use methods other than mode bits to determine executability.
13062 cat >conf$$.file <<_ASEOF
13066 chmod +x conf$$.file
13067 if test -x conf$$.file >/dev/null 2>&1; then
13068 ac_executable_p="test -x"
13070 ac_executable_p="test -f"
13074 # Extract the first word of "msgmerge", so it can be a program name with args.
13075 set dummy msgmerge; ac_word=$2
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13077 $as_echo_n "checking for $ac_word... " >&6; }
13078 if ${ac_cv_path_MSGMERGE+:} false; then :
13079 $as_echo_n "(cached) " >&6
13081 case "$MSGMERGE" in
13083 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13086 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13087 for ac_dir in $PATH; do
13089 test -z "$ac_dir" && ac_dir=.
13090 for ac_exec_ext in '' $ac_executable_extensions; do
13091 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13092 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13093 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
13094 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13101 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13105 MSGMERGE="$ac_cv_path_MSGMERGE"
13106 if test "$MSGMERGE" != ":"; then
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13108 $as_echo "$MSGMERGE" >&6; }
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13111 $as_echo "no" >&6; }
13115 test -n "$localedir" || localedir='${datadir}/locale'
13118 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
13121 ac_config_commands="$ac_config_commands po-directories"
13125 if test "X$prefix" = "XNONE"; then
13126 acl_final_prefix="$ac_default_prefix"
13128 acl_final_prefix="$prefix"
13130 if test "X$exec_prefix" = "XNONE"; then
13131 acl_final_exec_prefix='${prefix}'
13133 acl_final_exec_prefix="$exec_prefix"
13135 acl_save_prefix="$prefix"
13136 prefix="$acl_final_prefix"
13137 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
13138 prefix="$acl_save_prefix"
13141 # Check whether --with-gnu-ld was given.
13142 if test "${with_gnu_ld+set}" = set; then :
13143 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13148 # Prepare PATH_SEPARATOR.
13149 # The user is always right.
13150 if test "${PATH_SEPARATOR+set}" != set; then
13151 echo "#! /bin/sh" >conf$$.sh
13152 echo "exit 0" >>conf$$.sh
13154 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13162 if test "$GCC" = yes; then
13163 # Check if gcc -print-prog-name=ld gives a path.
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13165 $as_echo_n "checking for ld used by GCC... " >&6; }
13168 # gcc leaves a trailing carriage return which upsets mingw
13169 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13171 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13174 # Accept absolute paths.
13175 [\\/]* | [A-Za-z]:[\\/]*)
13176 re_direlt='/[^/][^/]*/\.\./'
13177 # Canonicalize the path of ld
13178 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
13179 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13180 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
13182 test -z "$LD" && LD="$ac_prog"
13185 # If it fails, then pretend we aren't using GCC.
13189 # If it is relative, then search for the first ld in PATH.
13190 with_gnu_ld=unknown
13193 elif test "$with_gnu_ld" = yes; then
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13195 $as_echo_n "checking for GNU ld... " >&6; }
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13198 $as_echo_n "checking for non-GNU ld... " >&6; }
13200 if ${acl_cv_path_LD+:} false; then :
13201 $as_echo_n "(cached) " >&6
13203 if test -z "$LD"; then
13204 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13205 for ac_dir in $PATH; do
13206 test -z "$ac_dir" && ac_dir=.
13207 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13208 acl_cv_path_LD="$ac_dir/$ac_prog"
13209 # Check to see if the program is GNU ld. I'd rather use --version,
13210 # but apparently some GNU ld's only accept -v.
13211 # Break only if it was the GNU/non-GNU ld that we prefer.
13212 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13213 *GNU* | *'with BFD'*)
13214 test "$with_gnu_ld" != no && break ;;
13216 test "$with_gnu_ld" != yes && break ;;
13222 acl_cv_path_LD="$LD" # Let the user override the test with a path.
13226 LD="$acl_cv_path_LD"
13227 if test -n "$LD"; then
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13229 $as_echo "$LD" >&6; }
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13232 $as_echo "no" >&6; }
13234 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13236 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13237 if ${acl_cv_prog_gnu_ld+:} false; then :
13238 $as_echo_n "(cached) " >&6
13240 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13241 case `$LD -v 2>&1 </dev/null` in
13242 *GNU* | *'with BFD'*)
13243 acl_cv_prog_gnu_ld=yes ;;
13245 acl_cv_prog_gnu_ld=no ;;
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13249 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13250 with_gnu_ld=$acl_cv_prog_gnu_ld
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13256 $as_echo_n "checking for shared library run path origin... " >&6; }
13257 if ${acl_cv_rpath+:} false; then :
13258 $as_echo_n "(cached) " >&6
13261 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
13262 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13264 rm -f ./conftest.sh
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13269 $as_echo "$acl_cv_rpath" >&6; }
13271 acl_libext="$acl_cv_libext"
13272 acl_shlibext="$acl_cv_shlibext"
13273 acl_libname_spec="$acl_cv_libname_spec"
13274 acl_library_names_spec="$acl_cv_library_names_spec"
13275 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
13276 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
13277 acl_hardcode_direct="$acl_cv_hardcode_direct"
13278 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
13279 # Check whether --enable-rpath was given.
13280 if test "${enable_rpath+set}" = set; then :
13281 enableval=$enable_rpath; :
13289 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13290 if test -n "$searchpath"; then
13291 acl_save_IFS="${IFS= }"; IFS=":"
13292 for searchdir in $searchpath; do
13293 if test -d "$searchdir"; then
13294 case "$searchdir" in
13295 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
13296 *) searchdir=`cd "$searchdir" && pwd`
13297 case "$searchdir" in
13298 */lib64 ) acl_libdirstem=lib64 ;;
13303 IFS="$acl_save_IFS"
13316 acl_save_prefix="$prefix"
13317 prefix="$acl_final_prefix"
13318 acl_save_exec_prefix="$exec_prefix"
13319 exec_prefix="$acl_final_exec_prefix"
13321 eval additional_includedir=\"$includedir\"
13322 eval additional_libdir=\"$libdir\"
13324 exec_prefix="$acl_save_exec_prefix"
13325 prefix="$acl_save_prefix"
13328 # Check whether --with-libiconv-prefix was given.
13329 if test "${with_libiconv_prefix+set}" = set; then :
13330 withval=$with_libiconv_prefix;
13331 if test "X$withval" = "Xno"; then
13334 if test "X$withval" = "X"; then
13336 acl_save_prefix="$prefix"
13337 prefix="$acl_final_prefix"
13338 acl_save_exec_prefix="$exec_prefix"
13339 exec_prefix="$acl_final_exec_prefix"
13341 eval additional_includedir=\"$includedir\"
13342 eval additional_libdir=\"$libdir\"
13344 exec_prefix="$acl_save_exec_prefix"
13345 prefix="$acl_save_prefix"
13348 additional_includedir="$withval/include"
13349 additional_libdir="$withval/$acl_libdirstem"
13361 names_already_handled=
13362 names_next_round='iconv '
13363 while test -n "$names_next_round"; do
13364 names_this_round="$names_next_round"
13366 for name in $names_this_round; do
13368 for n in $names_already_handled; do
13369 if test "$n" = "$name"; then
13370 already_handled=yes
13374 if test -z "$already_handled"; then
13375 names_already_handled="$names_already_handled $name"
13376 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13377 eval value=\"\$HAVE_LIB$uppername\"
13378 if test -n "$value"; then
13379 if test "$value" = yes; then
13380 eval value=\"\$LIB$uppername\"
13381 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13382 eval value=\"\$LTLIB$uppername\"
13383 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
13392 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13393 if test -n "$acl_shlibext"; then
13394 shrext=".$acl_shlibext" # typically: shrext=.so
13398 if test $use_additional = yes; then
13399 dir="$additional_libdir"
13400 if test -n "$acl_shlibext"; then
13401 if test -f "$dir/$libname$shrext"; then
13403 found_so="$dir/$libname$shrext"
13405 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13406 ver=`(cd "$dir" && \
13407 for f in "$libname$shrext".*; do echo "$f"; done \
13408 | sed -e "s,^$libname$shrext\\\\.,," \
13409 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13410 | sed 1q ) 2>/dev/null`
13411 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13413 found_so="$dir/$libname$shrext.$ver"
13416 eval library_names=\"$acl_library_names_spec\"
13417 for f in $library_names; do
13418 if test -f "$dir/$f"; then
13427 if test "X$found_dir" = "X"; then
13428 if test -f "$dir/$libname.$acl_libext"; then
13430 found_a="$dir/$libname.$acl_libext"
13433 if test "X$found_dir" != "X"; then
13434 if test -f "$dir/$libname.la"; then
13435 found_la="$dir/$libname.la"
13439 if test "X$found_dir" = "X"; then
13440 for x in $LDFLAGS $LTLIBICONV; do
13442 acl_save_prefix="$prefix"
13443 prefix="$acl_final_prefix"
13444 acl_save_exec_prefix="$exec_prefix"
13445 exec_prefix="$acl_final_exec_prefix"
13447 exec_prefix="$acl_save_exec_prefix"
13448 prefix="$acl_save_prefix"
13452 dir=`echo "X$x" | sed -e 's/^X-L//'`
13453 if test -n "$acl_shlibext"; then
13454 if test -f "$dir/$libname$shrext"; then
13456 found_so="$dir/$libname$shrext"
13458 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13459 ver=`(cd "$dir" && \
13460 for f in "$libname$shrext".*; do echo "$f"; done \
13461 | sed -e "s,^$libname$shrext\\\\.,," \
13462 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13463 | sed 1q ) 2>/dev/null`
13464 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13466 found_so="$dir/$libname$shrext.$ver"
13469 eval library_names=\"$acl_library_names_spec\"
13470 for f in $library_names; do
13471 if test -f "$dir/$f"; then
13480 if test "X$found_dir" = "X"; then
13481 if test -f "$dir/$libname.$acl_libext"; then
13483 found_a="$dir/$libname.$acl_libext"
13486 if test "X$found_dir" != "X"; then
13487 if test -f "$dir/$libname.la"; then
13488 found_la="$dir/$libname.la"
13493 if test "X$found_dir" != "X"; then
13498 if test "X$found_dir" != "X"; then
13499 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13500 if test "X$found_so" != "X"; then
13501 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13502 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13505 for x in $ltrpathdirs; do
13506 if test "X$x" = "X$found_dir"; then
13511 if test -z "$haveit"; then
13512 ltrpathdirs="$ltrpathdirs $found_dir"
13514 if test "$acl_hardcode_direct" = yes; then
13515 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13517 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13518 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13520 for x in $rpathdirs; do
13521 if test "X$x" = "X$found_dir"; then
13526 if test -z "$haveit"; then
13527 rpathdirs="$rpathdirs $found_dir"
13531 for x in $LDFLAGS $LIBICONV; do
13533 acl_save_prefix="$prefix"
13534 prefix="$acl_final_prefix"
13535 acl_save_exec_prefix="$exec_prefix"
13536 exec_prefix="$acl_final_exec_prefix"
13538 exec_prefix="$acl_save_exec_prefix"
13539 prefix="$acl_save_prefix"
13541 if test "X$x" = "X-L$found_dir"; then
13546 if test -z "$haveit"; then
13547 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13549 if test "$acl_hardcode_minus_L" != no; then
13550 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13552 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13558 if test "X$found_a" != "X"; then
13559 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
13561 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13564 additional_includedir=
13565 case "$found_dir" in
13566 */$acl_libdirstem | */$acl_libdirstem/)
13567 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13568 LIBICONV_PREFIX="$basedir"
13569 additional_includedir="$basedir/include"
13572 if test "X$additional_includedir" != "X"; then
13573 if test "X$additional_includedir" != "X/usr/include"; then
13575 if test "X$additional_includedir" = "X/usr/local/include"; then
13576 if test -n "$GCC"; then
13578 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13582 if test -z "$haveit"; then
13583 for x in $CPPFLAGS $INCICONV; do
13585 acl_save_prefix="$prefix"
13586 prefix="$acl_final_prefix"
13587 acl_save_exec_prefix="$exec_prefix"
13588 exec_prefix="$acl_final_exec_prefix"
13590 exec_prefix="$acl_save_exec_prefix"
13591 prefix="$acl_save_prefix"
13593 if test "X$x" = "X-I$additional_includedir"; then
13598 if test -z "$haveit"; then
13599 if test -d "$additional_includedir"; then
13600 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13606 if test -n "$found_la"; then
13607 save_libdir="$libdir"
13608 case "$found_la" in
13609 */* | *\\*) . "$found_la" ;;
13610 *) . "./$found_la" ;;
13612 libdir="$save_libdir"
13613 for dep in $dependency_libs; do
13616 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13617 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13619 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13620 if test -n "$GCC"; then
13622 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13626 if test -z "$haveit"; then
13628 for x in $LDFLAGS $LIBICONV; do
13630 acl_save_prefix="$prefix"
13631 prefix="$acl_final_prefix"
13632 acl_save_exec_prefix="$exec_prefix"
13633 exec_prefix="$acl_final_exec_prefix"
13635 exec_prefix="$acl_save_exec_prefix"
13636 prefix="$acl_save_prefix"
13638 if test "X$x" = "X-L$additional_libdir"; then
13643 if test -z "$haveit"; then
13644 if test -d "$additional_libdir"; then
13645 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13649 for x in $LDFLAGS $LTLIBICONV; do
13651 acl_save_prefix="$prefix"
13652 prefix="$acl_final_prefix"
13653 acl_save_exec_prefix="$exec_prefix"
13654 exec_prefix="$acl_final_exec_prefix"
13656 exec_prefix="$acl_save_exec_prefix"
13657 prefix="$acl_save_prefix"
13659 if test "X$x" = "X-L$additional_libdir"; then
13664 if test -z "$haveit"; then
13665 if test -d "$additional_libdir"; then
13666 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13673 dir=`echo "X$dep" | sed -e 's/^X-R//'`
13674 if test "$enable_rpath" != no; then
13676 for x in $rpathdirs; do
13677 if test "X$x" = "X$dir"; then
13682 if test -z "$haveit"; then
13683 rpathdirs="$rpathdirs $dir"
13686 for x in $ltrpathdirs; do
13687 if test "X$x" = "X$dir"; then
13692 if test -z "$haveit"; then
13693 ltrpathdirs="$ltrpathdirs $dir"
13698 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13701 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13704 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13705 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13711 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13712 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13718 if test "X$rpathdirs" != "X"; then
13719 if test -n "$acl_hardcode_libdir_separator"; then
13721 for found_dir in $rpathdirs; do
13722 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13724 acl_save_libdir="$libdir"
13726 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13727 libdir="$acl_save_libdir"
13728 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13730 for found_dir in $rpathdirs; do
13731 acl_save_libdir="$libdir"
13732 libdir="$found_dir"
13733 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13734 libdir="$acl_save_libdir"
13735 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13739 if test "X$ltrpathdirs" != "X"; then
13740 for found_dir in $ltrpathdirs; do
13741 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13770 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13771 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
13772 $as_echo_n "(cached) " >&6
13774 gt_save_LIBS="$LIBS"
13775 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13777 /* end confdefs.h. */
13778 #include <CoreFoundation/CFPreferences.h>
13782 CFPreferencesCopyAppValue(NULL, NULL)
13787 if ac_fn_c_try_link "$LINENO"; then :
13788 gt_cv_func_CFPreferencesCopyAppValue=yes
13790 gt_cv_func_CFPreferencesCopyAppValue=no
13792 rm -f core conftest.err conftest.$ac_objext \
13793 conftest$ac_exeext conftest.$ac_ext
13794 LIBS="$gt_save_LIBS"
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
13797 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
13798 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
13800 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13804 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13805 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
13806 $as_echo_n "(cached) " >&6
13808 gt_save_LIBS="$LIBS"
13809 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13811 /* end confdefs.h. */
13812 #include <CoreFoundation/CFLocale.h>
13816 CFLocaleCopyCurrent();
13821 if ac_fn_c_try_link "$LINENO"; then :
13822 gt_cv_func_CFLocaleCopyCurrent=yes
13824 gt_cv_func_CFLocaleCopyCurrent=no
13826 rm -f core conftest.err conftest.$ac_objext \
13827 conftest$ac_exeext conftest.$ac_ext
13828 LIBS="$gt_save_LIBS"
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
13831 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
13832 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13834 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
13838 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13839 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
13851 case " $gt_needs " in
13852 *" need-formatstring-macros "*) gt_api_version=3 ;;
13853 *" need-ngettext "*) gt_api_version=2 ;;
13854 *) gt_api_version=1 ;;
13856 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
13857 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
13859 if test "$USE_NLS" = "yes"; then
13860 gt_use_preinstalled_gnugettext=no
13863 if test $gt_api_version -ge 3; then
13864 gt_revision_test_code='
13865 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
13866 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
13868 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
13871 gt_revision_test_code=
13873 if test $gt_api_version -ge 2; then
13874 gt_expression_test_code=' + * ngettext ("", "", 0)'
13876 gt_expression_test_code=
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13880 $as_echo_n "checking for GNU gettext in libc... " >&6; }
13881 if eval \${$gt_func_gnugettext_libc+:} false; then :
13882 $as_echo_n "(cached) " >&6
13884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13885 /* end confdefs.h. */
13886 #include <libintl.h>
13887 $gt_revision_test_code
13888 extern int _nl_msg_cat_cntr;
13889 extern int *_nl_domain_bindings;
13893 bindtextdomain ("", "");
13894 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
13899 if ac_fn_c_try_link "$LINENO"; then :
13900 eval "$gt_func_gnugettext_libc=yes"
13902 eval "$gt_func_gnugettext_libc=no"
13904 rm -f core conftest.err conftest.$ac_objext \
13905 conftest$ac_exeext conftest.$ac_ext
13907 eval ac_res=\$$gt_func_gnugettext_libc
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13909 $as_echo "$ac_res" >&6; }
13911 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
13917 am_save_CPPFLAGS="$CPPFLAGS"
13919 for element in $INCICONV; do
13921 for x in $CPPFLAGS; do
13923 acl_save_prefix="$prefix"
13924 prefix="$acl_final_prefix"
13925 acl_save_exec_prefix="$exec_prefix"
13926 exec_prefix="$acl_final_exec_prefix"
13928 exec_prefix="$acl_save_exec_prefix"
13929 prefix="$acl_save_prefix"
13931 if test "X$x" = "X$element"; then
13936 if test -z "$haveit"; then
13937 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13943 $as_echo_n "checking for iconv... " >&6; }
13944 if ${am_cv_func_iconv+:} false; then :
13945 $as_echo_n "(cached) " >&6
13948 am_cv_func_iconv="no, consider installing GNU libiconv"
13950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13951 /* end confdefs.h. */
13952 #include <stdlib.h>
13957 iconv_t cd = iconv_open("","");
13958 iconv(cd,NULL,NULL,NULL,NULL);
13964 if ac_fn_c_try_link "$LINENO"; then :
13965 am_cv_func_iconv=yes
13967 rm -f core conftest.err conftest.$ac_objext \
13968 conftest$ac_exeext conftest.$ac_ext
13969 if test "$am_cv_func_iconv" != yes; then
13970 am_save_LIBS="$LIBS"
13971 LIBS="$LIBS $LIBICONV"
13972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13973 /* end confdefs.h. */
13974 #include <stdlib.h>
13979 iconv_t cd = iconv_open("","");
13980 iconv(cd,NULL,NULL,NULL,NULL);
13986 if ac_fn_c_try_link "$LINENO"; then :
13987 am_cv_lib_iconv=yes
13988 am_cv_func_iconv=yes
13990 rm -f core conftest.err conftest.$ac_objext \
13991 conftest$ac_exeext conftest.$ac_ext
13992 LIBS="$am_save_LIBS"
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13997 $as_echo "$am_cv_func_iconv" >&6; }
13998 if test "$am_cv_func_iconv" = yes; then
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
14000 $as_echo_n "checking for working iconv... " >&6; }
14001 if ${am_cv_func_iconv_works+:} false; then :
14002 $as_echo_n "(cached) " >&6
14005 am_save_LIBS="$LIBS"
14006 if test $am_cv_lib_iconv = yes; then
14007 LIBS="$LIBS $LIBICONV"
14009 if test "$cross_compiling" = yes; then :
14011 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
14012 *) am_cv_func_iconv_works="guessing yes" ;;
14015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14016 /* end confdefs.h. */
14019 #include <string.h>
14022 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
14025 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
14026 if (cd_utf8_to_88591 != (iconv_t)(-1))
14028 static const char input[] = "\342\202\254"; /* EURO SIGN */
14030 const char *inptr = input;
14031 size_t inbytesleft = strlen (input);
14032 char *outptr = buf;
14033 size_t outbytesleft = sizeof (buf);
14034 size_t res = iconv (cd_utf8_to_88591,
14035 (char **) &inptr, &inbytesleft,
14036 &outptr, &outbytesleft);
14041 #if 0 /* This bug could be worked around by the caller. */
14042 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
14044 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
14045 if (cd_88591_to_utf8 != (iconv_t)(-1))
14047 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
14049 const char *inptr = input;
14050 size_t inbytesleft = strlen (input);
14051 char *outptr = buf;
14052 size_t outbytesleft = sizeof (buf);
14053 size_t res = iconv (cd_88591_to_utf8,
14054 (char **) &inptr, &inbytesleft,
14055 &outptr, &outbytesleft);
14061 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
14063 if (/* Try standardized names. */
14064 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
14065 /* Try IRIX, OSF/1 names. */
14066 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
14067 /* Try AIX names. */
14068 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
14069 /* Try HP-UX names. */
14070 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
14075 if ac_fn_c_try_run "$LINENO"; then :
14076 am_cv_func_iconv_works=yes
14078 am_cv_func_iconv_works=no
14080 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14081 conftest.$ac_objext conftest.beam conftest.$ac_ext
14084 LIBS="$am_save_LIBS"
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
14088 $as_echo "$am_cv_func_iconv_works" >&6; }
14089 case "$am_cv_func_iconv_works" in
14090 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
14091 *) am_func_iconv=yes ;;
14094 am_func_iconv=no am_cv_lib_iconv=no
14096 if test "$am_func_iconv" = yes; then
14098 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14101 if test "$am_cv_lib_iconv" = yes; then
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14103 $as_echo_n "checking how to link with libiconv... " >&6; }
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14105 $as_echo "$LIBICONV" >&6; }
14107 CPPFLAGS="$am_save_CPPFLAGS"
14121 acl_save_prefix="$prefix"
14122 prefix="$acl_final_prefix"
14123 acl_save_exec_prefix="$exec_prefix"
14124 exec_prefix="$acl_final_exec_prefix"
14126 eval additional_includedir=\"$includedir\"
14127 eval additional_libdir=\"$libdir\"
14129 exec_prefix="$acl_save_exec_prefix"
14130 prefix="$acl_save_prefix"
14133 # Check whether --with-libintl-prefix was given.
14134 if test "${with_libintl_prefix+set}" = set; then :
14135 withval=$with_libintl_prefix;
14136 if test "X$withval" = "Xno"; then
14139 if test "X$withval" = "X"; then
14141 acl_save_prefix="$prefix"
14142 prefix="$acl_final_prefix"
14143 acl_save_exec_prefix="$exec_prefix"
14144 exec_prefix="$acl_final_exec_prefix"
14146 eval additional_includedir=\"$includedir\"
14147 eval additional_libdir=\"$libdir\"
14149 exec_prefix="$acl_save_exec_prefix"
14150 prefix="$acl_save_prefix"
14153 additional_includedir="$withval/include"
14154 additional_libdir="$withval/$acl_libdirstem"
14166 names_already_handled=
14167 names_next_round='intl '
14168 while test -n "$names_next_round"; do
14169 names_this_round="$names_next_round"
14171 for name in $names_this_round; do
14173 for n in $names_already_handled; do
14174 if test "$n" = "$name"; then
14175 already_handled=yes
14179 if test -z "$already_handled"; then
14180 names_already_handled="$names_already_handled $name"
14181 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14182 eval value=\"\$HAVE_LIB$uppername\"
14183 if test -n "$value"; then
14184 if test "$value" = yes; then
14185 eval value=\"\$LIB$uppername\"
14186 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
14187 eval value=\"\$LTLIB$uppername\"
14188 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
14197 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14198 if test -n "$acl_shlibext"; then
14199 shrext=".$acl_shlibext" # typically: shrext=.so
14203 if test $use_additional = yes; then
14204 dir="$additional_libdir"
14205 if test -n "$acl_shlibext"; then
14206 if test -f "$dir/$libname$shrext"; then
14208 found_so="$dir/$libname$shrext"
14210 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14211 ver=`(cd "$dir" && \
14212 for f in "$libname$shrext".*; do echo "$f"; done \
14213 | sed -e "s,^$libname$shrext\\\\.,," \
14214 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14215 | sed 1q ) 2>/dev/null`
14216 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14218 found_so="$dir/$libname$shrext.$ver"
14221 eval library_names=\"$acl_library_names_spec\"
14222 for f in $library_names; do
14223 if test -f "$dir/$f"; then
14232 if test "X$found_dir" = "X"; then
14233 if test -f "$dir/$libname.$acl_libext"; then
14235 found_a="$dir/$libname.$acl_libext"
14238 if test "X$found_dir" != "X"; then
14239 if test -f "$dir/$libname.la"; then
14240 found_la="$dir/$libname.la"
14244 if test "X$found_dir" = "X"; then
14245 for x in $LDFLAGS $LTLIBINTL; do
14247 acl_save_prefix="$prefix"
14248 prefix="$acl_final_prefix"
14249 acl_save_exec_prefix="$exec_prefix"
14250 exec_prefix="$acl_final_exec_prefix"
14252 exec_prefix="$acl_save_exec_prefix"
14253 prefix="$acl_save_prefix"
14257 dir=`echo "X$x" | sed -e 's/^X-L//'`
14258 if test -n "$acl_shlibext"; then
14259 if test -f "$dir/$libname$shrext"; then
14261 found_so="$dir/$libname$shrext"
14263 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14264 ver=`(cd "$dir" && \
14265 for f in "$libname$shrext".*; do echo "$f"; done \
14266 | sed -e "s,^$libname$shrext\\\\.,," \
14267 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14268 | sed 1q ) 2>/dev/null`
14269 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14271 found_so="$dir/$libname$shrext.$ver"
14274 eval library_names=\"$acl_library_names_spec\"
14275 for f in $library_names; do
14276 if test -f "$dir/$f"; then
14285 if test "X$found_dir" = "X"; then
14286 if test -f "$dir/$libname.$acl_libext"; then
14288 found_a="$dir/$libname.$acl_libext"
14291 if test "X$found_dir" != "X"; then
14292 if test -f "$dir/$libname.la"; then
14293 found_la="$dir/$libname.la"
14298 if test "X$found_dir" != "X"; then
14303 if test "X$found_dir" != "X"; then
14304 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14305 if test "X$found_so" != "X"; then
14306 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14307 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14310 for x in $ltrpathdirs; do
14311 if test "X$x" = "X$found_dir"; then
14316 if test -z "$haveit"; then
14317 ltrpathdirs="$ltrpathdirs $found_dir"
14319 if test "$acl_hardcode_direct" = yes; then
14320 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14322 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14323 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14325 for x in $rpathdirs; do
14326 if test "X$x" = "X$found_dir"; then
14331 if test -z "$haveit"; then
14332 rpathdirs="$rpathdirs $found_dir"
14336 for x in $LDFLAGS $LIBINTL; do
14338 acl_save_prefix="$prefix"
14339 prefix="$acl_final_prefix"
14340 acl_save_exec_prefix="$exec_prefix"
14341 exec_prefix="$acl_final_exec_prefix"
14343 exec_prefix="$acl_save_exec_prefix"
14344 prefix="$acl_save_prefix"
14346 if test "X$x" = "X-L$found_dir"; then
14351 if test -z "$haveit"; then
14352 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14354 if test "$acl_hardcode_minus_L" != no; then
14355 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14357 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14363 if test "X$found_a" != "X"; then
14364 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
14366 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14369 additional_includedir=
14370 case "$found_dir" in
14371 */$acl_libdirstem | */$acl_libdirstem/)
14372 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14373 LIBINTL_PREFIX="$basedir"
14374 additional_includedir="$basedir/include"
14377 if test "X$additional_includedir" != "X"; then
14378 if test "X$additional_includedir" != "X/usr/include"; then
14380 if test "X$additional_includedir" = "X/usr/local/include"; then
14381 if test -n "$GCC"; then
14383 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14387 if test -z "$haveit"; then
14388 for x in $CPPFLAGS $INCINTL; do
14390 acl_save_prefix="$prefix"
14391 prefix="$acl_final_prefix"
14392 acl_save_exec_prefix="$exec_prefix"
14393 exec_prefix="$acl_final_exec_prefix"
14395 exec_prefix="$acl_save_exec_prefix"
14396 prefix="$acl_save_prefix"
14398 if test "X$x" = "X-I$additional_includedir"; then
14403 if test -z "$haveit"; then
14404 if test -d "$additional_includedir"; then
14405 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14411 if test -n "$found_la"; then
14412 save_libdir="$libdir"
14413 case "$found_la" in
14414 */* | *\\*) . "$found_la" ;;
14415 *) . "./$found_la" ;;
14417 libdir="$save_libdir"
14418 for dep in $dependency_libs; do
14421 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14422 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14424 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14425 if test -n "$GCC"; then
14427 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14431 if test -z "$haveit"; then
14433 for x in $LDFLAGS $LIBINTL; do
14435 acl_save_prefix="$prefix"
14436 prefix="$acl_final_prefix"
14437 acl_save_exec_prefix="$exec_prefix"
14438 exec_prefix="$acl_final_exec_prefix"
14440 exec_prefix="$acl_save_exec_prefix"
14441 prefix="$acl_save_prefix"
14443 if test "X$x" = "X-L$additional_libdir"; then
14448 if test -z "$haveit"; then
14449 if test -d "$additional_libdir"; then
14450 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14454 for x in $LDFLAGS $LTLIBINTL; do
14456 acl_save_prefix="$prefix"
14457 prefix="$acl_final_prefix"
14458 acl_save_exec_prefix="$exec_prefix"
14459 exec_prefix="$acl_final_exec_prefix"
14461 exec_prefix="$acl_save_exec_prefix"
14462 prefix="$acl_save_prefix"
14464 if test "X$x" = "X-L$additional_libdir"; then
14469 if test -z "$haveit"; then
14470 if test -d "$additional_libdir"; then
14471 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14478 dir=`echo "X$dep" | sed -e 's/^X-R//'`
14479 if test "$enable_rpath" != no; then
14481 for x in $rpathdirs; do
14482 if test "X$x" = "X$dir"; then
14487 if test -z "$haveit"; then
14488 rpathdirs="$rpathdirs $dir"
14491 for x in $ltrpathdirs; do
14492 if test "X$x" = "X$dir"; then
14497 if test -z "$haveit"; then
14498 ltrpathdirs="$ltrpathdirs $dir"
14503 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14506 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14509 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
14510 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14516 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14517 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14523 if test "X$rpathdirs" != "X"; then
14524 if test -n "$acl_hardcode_libdir_separator"; then
14526 for found_dir in $rpathdirs; do
14527 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14529 acl_save_libdir="$libdir"
14531 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14532 libdir="$acl_save_libdir"
14533 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14535 for found_dir in $rpathdirs; do
14536 acl_save_libdir="$libdir"
14537 libdir="$found_dir"
14538 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14539 libdir="$acl_save_libdir"
14540 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14544 if test "X$ltrpathdirs" != "X"; then
14545 for found_dir in $ltrpathdirs; do
14546 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14551 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
14552 if eval \${$gt_func_gnugettext_libintl+:} false; then :
14553 $as_echo_n "(cached) " >&6
14555 gt_save_CPPFLAGS="$CPPFLAGS"
14556 CPPFLAGS="$CPPFLAGS $INCINTL"
14557 gt_save_LIBS="$LIBS"
14558 LIBS="$LIBS $LIBINTL"
14559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14560 /* end confdefs.h. */
14561 #include <libintl.h>
14562 $gt_revision_test_code
14563 extern int _nl_msg_cat_cntr;
14568 const char *_nl_expand_alias (const char *);
14572 bindtextdomain ("", "");
14573 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14578 if ac_fn_c_try_link "$LINENO"; then :
14579 eval "$gt_func_gnugettext_libintl=yes"
14581 eval "$gt_func_gnugettext_libintl=no"
14583 rm -f core conftest.err conftest.$ac_objext \
14584 conftest$ac_exeext conftest.$ac_ext
14585 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14586 LIBS="$LIBS $LIBICONV"
14587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14588 /* end confdefs.h. */
14589 #include <libintl.h>
14590 $gt_revision_test_code
14591 extern int _nl_msg_cat_cntr;
14596 const char *_nl_expand_alias (const char *);
14600 bindtextdomain ("", "");
14601 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14606 if ac_fn_c_try_link "$LINENO"; then :
14607 LIBINTL="$LIBINTL $LIBICONV"
14608 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
14609 eval "$gt_func_gnugettext_libintl=yes"
14612 rm -f core conftest.err conftest.$ac_objext \
14613 conftest$ac_exeext conftest.$ac_ext
14615 CPPFLAGS="$gt_save_CPPFLAGS"
14616 LIBS="$gt_save_LIBS"
14618 eval ac_res=\$$gt_func_gnugettext_libintl
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14620 $as_echo "$ac_res" >&6; }
14623 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14624 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14625 && test "$PACKAGE" != gettext-runtime \
14626 && test "$PACKAGE" != gettext-tools; }; then
14627 gt_use_preinstalled_gnugettext=yes
14636 if test -n "$INTL_MACOSX_LIBS"; then
14637 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14638 || test "$nls_cv_use_gnu_gettext" = "yes"; then
14639 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
14640 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
14644 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14645 || test "$nls_cv_use_gnu_gettext" = "yes"; then
14647 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14655 $as_echo_n "checking whether to use NLS... " >&6; }
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14657 $as_echo "$USE_NLS" >&6; }
14658 if test "$USE_NLS" = "yes"; then
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14660 $as_echo_n "checking where the gettext function comes from... " >&6; }
14661 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14662 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14663 gt_source="external libintl"
14668 gt_source="included intl directory"
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14671 $as_echo "$gt_source" >&6; }
14674 if test "$USE_NLS" = "yes"; then
14676 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14677 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14679 $as_echo_n "checking how to link with libintl... " >&6; }
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14681 $as_echo "$LIBINTL" >&6; }
14683 for element in $INCINTL; do
14685 for x in $CPPFLAGS; do
14687 acl_save_prefix="$prefix"
14688 prefix="$acl_final_prefix"
14689 acl_save_exec_prefix="$exec_prefix"
14690 exec_prefix="$acl_final_exec_prefix"
14692 exec_prefix="$acl_save_exec_prefix"
14693 prefix="$acl_save_prefix"
14695 if test "X$x" = "X$element"; then
14700 if test -z "$haveit"; then
14701 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14708 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14711 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14720 INTLLIBS="$LIBINTL"
14728 if test "$USE_NLS" = "yes"; then
14729 GETTEXT_PACKAGE=gst-plugins-base-$GST_MAJORMINOR
14731 GETTEXT_PACKAGE=NULL
14735 cat >>confdefs.h <<_ACEOF
14736 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14742 FROM_VAR=$datadir/locale
14744 prefix_save=$prefix
14745 exec_prefix_save=$exec_prefix
14747 if test "x$prefix" = "xNONE"; then
14748 prefix="$ac_default_prefix"
14750 if test "x$exec_prefix" = "xNONE"; then
14751 exec_prefix=$prefix
14754 full_var="$FROM_VAR"
14756 new_full_var="`eval echo $full_var`"
14757 if test "x$new_full_var" = "x$full_var"; then break; fi
14758 full_var=$new_full_var
14761 full_var=$new_full_var
14762 LOCALEDIR="$full_var"
14765 prefix=$prefix_save
14766 exec_prefix=$exec_prefix_save
14769 cat >>confdefs.h <<_ACEOF
14770 #define LOCALEDIR "$LOCALEDIR"
14777 # Check whether --enable-debug was given.
14778 if test "${enable_debug+set}" = set; then :
14779 enableval=$enable_debug;
14780 case "${enableval}" in
14781 yes) USE_DEBUG=yes ;;
14782 no) USE_DEBUG=no ;;
14783 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
14791 # Check whether --enable-profiling was given.
14792 if test "${enable_profiling+set}" = set; then :
14793 enableval=$enable_profiling;
14794 case "${enableval}" in
14795 yes) USE_PROFILING=yes ;;
14796 no) USE_PROFILING=no ;;
14797 *) as_fn_error $? "bad value ${enableval} for --enable-profiling" "$LINENO" 5 ;;
14806 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14807 if test -n "$ac_tool_prefix"; then
14808 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14809 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14811 $as_echo_n "checking for $ac_word... " >&6; }
14812 if ${ac_cv_path_PKG_CONFIG+:} false; then :
14813 $as_echo_n "(cached) " >&6
14815 case $PKG_CONFIG in
14817 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14821 for as_dir in $PATH
14824 test -z "$as_dir" && as_dir=.
14825 for ac_exec_ext in '' $ac_executable_extensions; do
14826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14827 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14838 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14839 if test -n "$PKG_CONFIG"; then
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14841 $as_echo "$PKG_CONFIG" >&6; }
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14844 $as_echo "no" >&6; }
14849 if test -z "$ac_cv_path_PKG_CONFIG"; then
14850 ac_pt_PKG_CONFIG=$PKG_CONFIG
14851 # Extract the first word of "pkg-config", so it can be a program name with args.
14852 set dummy pkg-config; ac_word=$2
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14854 $as_echo_n "checking for $ac_word... " >&6; }
14855 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14856 $as_echo_n "(cached) " >&6
14858 case $ac_pt_PKG_CONFIG in
14860 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14864 for as_dir in $PATH
14867 test -z "$as_dir" && as_dir=.
14868 for ac_exec_ext in '' $ac_executable_extensions; do
14869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14870 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14881 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14882 if test -n "$ac_pt_PKG_CONFIG"; then
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14884 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14887 $as_echo "no" >&6; }
14890 if test "x$ac_pt_PKG_CONFIG" = x; then
14893 case $cross_compiling:$ac_tool_warned in
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14897 ac_tool_warned=yes ;;
14899 PKG_CONFIG=$ac_pt_PKG_CONFIG
14902 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14906 if test -n "$PKG_CONFIG"; then
14907 _pkg_min_version=0.9.0
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14909 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14910 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14912 $as_echo "yes" >&6; }
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14915 $as_echo "no" >&6; }
14921 # Check whether --enable-valgrind was given.
14922 if test "${enable_valgrind+set}" = set; then :
14923 enableval=$enable_valgrind;
14924 case "${enableval}" in
14925 yes) USE_VALGRIND="$USE_DEBUG" ;;
14926 no) USE_VALGRIND=no ;;
14927 *) as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
14931 USE_VALGRIND="$USE_DEBUG"
14934 if test "x$USE_VALGRIND" = xyes; then
14937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
14938 $as_echo_n "checking for VALGRIND... " >&6; }
14940 if test -n "$PKG_CONFIG"; then
14941 if test -n "$VALGRIND_CFLAGS"; then
14942 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
14944 if test -n "$PKG_CONFIG" && \
14945 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14946 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14949 test $ac_status = 0; }; then
14950 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14958 if test -n "$PKG_CONFIG"; then
14959 if test -n "$VALGRIND_LIBS"; then
14960 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
14962 if test -n "$PKG_CONFIG" && \
14963 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14964 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14967 test $ac_status = 0; }; then
14968 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14979 if test $pkg_failed = yes; then
14981 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14982 _pkg_short_errors_supported=yes
14984 _pkg_short_errors_supported=no
14986 if test $_pkg_short_errors_supported = yes; then
14987 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14989 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14991 # Put the nasty error message in config.log where it belongs
14992 echo "$VALGRIND_PKG_ERRORS" >&5
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14995 $as_echo "no" >&6; }
14997 elif test $pkg_failed = untried; then
15000 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
15001 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15003 $as_echo "yes" >&6; }
15007 if test "x$USE_VALGRIND" = xyes; then
15009 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
15012 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
15016 # Check whether --enable-gcov was given.
15017 if test "${enable_gcov+set}" = set; then :
15018 enableval=$enable_gcov; enable_gcov=$enableval
15023 if test x$enable_gcov = xyes ; then
15024 if test "x$GCC" != "xyes"
15026 as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
15031 $as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
15033 save_CFLAGS="$CFLAGS"
15034 CFLAGS="$CFLAGS "-fprofile-arcs""
15036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15037 /* end confdefs.h. */
15047 if ac_fn_c_try_compile "$LINENO"; then :
15052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15053 CFLAGS="$save_CFLAGS"
15055 if test "X$flag_ok" = Xyes ; then
15056 GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15063 $as_echo "$flag_ok" >&6; }
15066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
15067 $as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
15069 save_CFLAGS="$CFLAGS"
15070 CFLAGS="$CFLAGS "-ftest-coverage""
15072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h. */
15083 if ac_fn_c_try_compile "$LINENO"; then :
15088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15089 CFLAGS="$save_CFLAGS"
15091 if test "X$flag_ok" = Xyes ; then
15092 GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15099 $as_echo "$flag_ok" >&6; }
15101 GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
15105 GCOV=`echo $CC | sed s/gcc/gcov/g`
15108 GST_GCOV_ENABLED=yes
15110 cat >>confdefs.h <<_ACEOF
15111 #define GST_GCOV_ENABLED 1
15114 if test "x$GST_GCOV_ENABLED" = "xyes"
15124 { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
15125 $as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
15128 if test x$enable_gcov = xyes; then
15129 GST_GCOV_ENABLED_TRUE=
15130 GST_GCOV_ENABLED_FALSE='#'
15132 GST_GCOV_ENABLED_TRUE='#'
15133 GST_GCOV_ENABLED_FALSE=
15139 # Check whether --enable-examples was given.
15140 if test "${enable_examples+set}" = set; then :
15141 enableval=$enable_examples;
15142 case "${enableval}" in
15143 yes) BUILD_EXAMPLES=yes ;;
15144 no) BUILD_EXAMPLES=no ;;
15145 *) as_fn_error $? "bad value ${enableval} for --disable-examples" "$LINENO" 5 ;;
15151 if test "x$BUILD_EXAMPLES" = "xyes"; then
15152 BUILD_EXAMPLES_TRUE=
15153 BUILD_EXAMPLES_FALSE='#'
15155 BUILD_EXAMPLES_TRUE='#'
15156 BUILD_EXAMPLES_FALSE=
15163 # Check whether --with-pkg-config-path was given.
15164 if test "${with_pkg_config_path+set}" = set; then :
15165 withval=$with_pkg_config_path;
15166 export PKG_CONFIG_PATH=${withval}
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
15168 $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
15175 # Check whether --with-package-name was given.
15176 if test "${with_package_name+set}" = set; then :
15177 withval=$with_package_name;
15178 case "${withval}" in
15179 yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
15180 no) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
15181 *) GST_PACKAGE_NAME="${withval}" ;;
15187 if test "x$P" = "x"
15192 if test "x$PACKAGE_VERSION_NANO" = "x0"
15194 GST_PACKAGE_NAME="$P source release"
15196 if test "x$PACKAGE_VERSION_NANO" = "x1"
15198 GST_PACKAGE_NAME="$P git"
15200 GST_PACKAGE_NAME="$P prerelease"
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
15208 $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
15210 cat >>confdefs.h <<_ACEOF
15211 #define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
15218 # Check whether --with-package-origin was given.
15219 if test "${with_package_origin+set}" = set; then :
15220 withval=$with_package_origin;
15221 case "${withval}" in
15222 yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
15223 no) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
15224 *) GST_PACKAGE_ORIGIN="${withval}" ;;
15228 GST_PACKAGE_ORIGIN="Unknown package origin"
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
15232 $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
15234 cat >>confdefs.h <<_ACEOF
15235 #define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
15242 GST_PKG_CONFIG_PATH="\$(top_builddir)/pkgconfig"
15243 if test "x$PKG_CONFIG_PATH" != "x"; then
15244 GST_PKG_CONFIG_PATH="$GST_PKG_CONFIG_PATH:$PKG_CONFIG_PATH"
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&5
15248 $as_echo "$as_me: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&6;}
15252 # Check whether --with-install-plugins-helper was given.
15253 if test "${with_install_plugins_helper+set}" = set; then :
15254 withval=$with_install_plugins_helper;
15255 case "${withval}" in
15256 yes) as_fn_error $? "bad value ${withval} for --with-install-plugins-helper" "$LINENO" 5 ;;
15257 no) as_fn_error $? "bad value ${withval} for --with-install-plugins-helper" "$LINENO" 5 ;;
15258 *) GST_INSTALL_PLUGINS_HELPER="${withval}" ;;
15264 EXP_VAR=GST_INSTALL_PLUGINS_HELPER
15265 FROM_VAR=${libexecdir}/gst-install-plugins-helper
15267 prefix_save=$prefix
15268 exec_prefix_save=$exec_prefix
15270 if test "x$prefix" = "xNONE"; then
15271 prefix="$ac_default_prefix"
15273 if test "x$exec_prefix" = "xNONE"; then
15274 exec_prefix=$prefix
15277 full_var="$FROM_VAR"
15279 new_full_var="`eval echo $full_var`"
15280 if test "x$new_full_var" = "x$full_var"; then break; fi
15281 full_var=$new_full_var
15284 full_var=$new_full_var
15285 GST_INSTALL_PLUGINS_HELPER="$full_var"
15288 prefix=$prefix_save
15289 exec_prefix=$exec_prefix_save
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_INSTALL_PLUGINS_HELPER as plugin install helper" >&5
15296 $as_echo "$as_me: Using $GST_INSTALL_PLUGINS_HELPER as plugin install helper" >&6;}
15298 cat >>confdefs.h <<_ACEOF
15299 #define GST_INSTALL_PLUGINS_HELPER "$GST_INSTALL_PLUGINS_HELPER"
15306 # Check whether --with-plugins was given.
15307 if test "${with_plugins+set}" = set; then :
15308 withval=$with_plugins; WITH_PLUGINS=$withval
15315 GST_PLUGINS_SELECTED=""
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of plug-ins with external deps ***" >&5
15324 $as_echo "$as_me: *** checking feature: building of plug-ins with external deps ***" >&6;}
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
15328 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
15331 if test "x$USE_EXTERNAL" = "xno"; then
15334 # Check whether --enable-external was given.
15335 if test "${enable_external+set}" = set; then :
15336 enableval=$enable_external; case "${enableval}" in
15337 yes) USE_EXTERNAL=yes;;
15338 no) USE_EXTERNAL=no;;
15339 *) as_fn_error $? "bad value ${enableval} for --enable-external" "$LINENO" 5 ;;
15345 if test "x$NOUSE" = "xyes"; then
15347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
15348 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
15353 if test x$USE_EXTERNAL = xyes; then
15355 gst_check_save_LIBS=$LIBS
15356 gst_check_save_LDFLAGS=$LDFLAGS
15357 gst_check_save_CFLAGS=$CFLAGS
15358 gst_check_save_CPPFLAGS=$CPPFLAGS
15359 gst_check_save_CXXFLAGS=$CXXFLAGS
15364 LIBS=$gst_check_save_LIBS
15365 LDFLAGS=$gst_check_save_LDFLAGS
15366 CFLAGS=$gst_check_save_CFLAGS
15367 CPPFLAGS=$gst_check_save_CPPFLAGS
15368 CXXFLAGS=$gst_check_save_CXXFLAGS
15370 if test x$HAVE_EXTERNAL = xno; then
15376 if test x$USE_EXTERNAL = xyes; then
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: building external plug-ins" >&5
15379 $as_echo "$as_me: building external plug-ins" >&6;}
15380 BUILD_EXTERNAL="yes"
15382 if test "x" != "x"; then
15383 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
15386 $as_echo "#define HAVE_EXTERNAL /**/" >>confdefs.h
15390 if test "x" != "x"; then
15391 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: all plug-ins with external dependencies will not be built" >&5
15395 $as_echo "$as_me: WARNING: all plug-ins with external dependencies will not be built" >&2;}
15396 BUILD_EXTERNAL="no"
15399 if test x$USE_EXTERNAL = xyes; then
15401 USE_EXTERNAL_FALSE='#'
15403 USE_EXTERNAL_TRUE='#'
15404 USE_EXTERNAL_FALSE=
15408 # make BUILD_EXTERNAL available to Makefile.am
15409 if test "x$BUILD_EXTERNAL" = "xyes"; then
15410 BUILD_EXTERNAL_TRUE=
15411 BUILD_EXTERNAL_FALSE='#'
15413 BUILD_EXTERNAL_TRUE='#'
15414 BUILD_EXTERNAL_FALSE=
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of experimental plug-ins ***" >&5
15422 $as_echo "$as_me: *** checking feature: building of experimental plug-ins ***" >&6;}
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
15426 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
15429 if test "x$USE_EXPERIMENTAL" = "xno"; then
15432 # Check whether --enable-experimental was given.
15433 if test "${enable_experimental+set}" = set; then :
15434 enableval=$enable_experimental; case "${enableval}" in
15435 yes) USE_EXPERIMENTAL=yes;;
15436 no) USE_EXPERIMENTAL=no;;
15437 *) as_fn_error $? "bad value ${enableval} for --enable-experimental" "$LINENO" 5 ;;
15440 USE_EXPERIMENTAL=no
15443 if test "x$NOUSE" = "xyes"; then
15444 USE_EXPERIMENTAL="no"
15445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
15446 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
15451 if test x$USE_EXPERIMENTAL = xyes; then
15453 gst_check_save_LIBS=$LIBS
15454 gst_check_save_LDFLAGS=$LDFLAGS
15455 gst_check_save_CFLAGS=$CFLAGS
15456 gst_check_save_CPPFLAGS=$CPPFLAGS
15457 gst_check_save_CXXFLAGS=$CXXFLAGS
15459 HAVE_EXPERIMENTAL=no
15460 HAVE_EXPERIMENTAL=yes
15462 LIBS=$gst_check_save_LIBS
15463 LDFLAGS=$gst_check_save_LDFLAGS
15464 CFLAGS=$gst_check_save_CFLAGS
15465 CPPFLAGS=$gst_check_save_CPPFLAGS
15466 CXXFLAGS=$gst_check_save_CXXFLAGS
15468 if test x$HAVE_EXPERIMENTAL = xno; then
15469 USE_EXPERIMENTAL=no
15474 if test x$USE_EXPERIMENTAL = xyes; then
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: building experimental plug-ins" >&5
15477 $as_echo "$as_me: WARNING: building experimental plug-ins" >&2;}
15478 BUILD_EXPERIMENTAL="yes"
15480 if test "x" != "x"; then
15481 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
15484 $as_echo "#define HAVE_EXPERIMENTAL /**/" >>confdefs.h
15488 if test "x" != "x"; then
15489 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: not building experimental plug-ins" >&5
15493 $as_echo "$as_me: not building experimental plug-ins" >&6;}
15494 BUILD_EXPERIMENTAL="no"
15497 if test x$USE_EXPERIMENTAL = xyes; then
15498 USE_EXPERIMENTAL_TRUE=
15499 USE_EXPERIMENTAL_FALSE='#'
15501 USE_EXPERIMENTAL_TRUE='#'
15502 USE_EXPERIMENTAL_FALSE=
15506 # make BUILD_EXPERIMENTAL available to Makefile.am
15507 if test "x$BUILD_EXPERIMENTAL" = "xyes"; then
15508 BUILD_EXPERIMENTAL_TRUE=
15509 BUILD_EXPERIMENTAL_FALSE='#'
15511 BUILD_EXPERIMENTAL_TRUE='#'
15512 BUILD_EXPERIMENTAL_FALSE=
15523 cat >>confdefs.h <<_ACEOF
15524 #define GST_EXTRA_MODULE_SUFFIX ".dylib"
15530 cat >>confdefs.h <<_ACEOF
15531 #define GST_EXTRA_MODULE_SUFFIX ".dylib"
15535 cat >>confdefs.h <<_ACEOF
15542 cat >>confdefs.h <<_ACEOF
15543 #define GST_HAVE_UNSAFE_FORK 1
15547 mingw* | msvc* | mks*)
15549 cat >>confdefs.h <<_ACEOF
15550 #define HAVE_WIN32 1
15554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15555 /* end confdefs.h. */
15560 return __MSVCRT_VERSION__;
15565 if ac_fn_c_try_compile "$LINENO"; then :
15567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15568 /* end confdefs.h. */
15574 #if __MSVCRT_VERSION__ < 0x0601
15575 #error "MSVCRT too old"
15582 if ac_fn_c_try_compile "$LINENO"; then :
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: MSVCRT version looks ok" >&5
15585 $as_echo "$as_me: MSVCRT version looks ok" >&6;}
15589 as_fn_error $? "MSVCRT version too old, need at least WinXP SP2" "$LINENO" 5
15592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting MSVCRT version to 0x0601" >&5
15597 $as_echo "$as_me: Setting MSVCRT version to 0x0601" >&6;}
15599 cat >>confdefs.h <<_ACEOF
15600 #define __MSVCRT_VERSION__ 0x0601
15605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15615 case "x${host_cpu}" in
15616 xi?86 | xk? | xi?86_64)
15619 ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default"
15620 if test "x$ac_cv_have_decl___i386" = xyes; then :
15626 ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
15627 if test "x$ac_cv_have_decl___amd64" = xyes; then :
15634 if test "x$I386_ABI" = "xyes" ; then
15637 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
15640 if test "x$AMD64_ABI" = "xyes" ; then
15641 HAVE_CPU_X86_64=yes
15643 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
15650 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
15653 case "x${host_cpu}" in
15657 $as_echo "#define HAVE_RDTSC 1" >>confdefs.h
15666 $as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h
15671 $as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h
15676 $as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h
15681 $as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h
15686 $as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h
15691 $as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h
15696 $as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h
15701 $as_echo "#define HAVE_CPU_S390 1" >>confdefs.h
15706 $as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h
15711 $as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h
15714 HAVE_CPU_X86_64=yes
15716 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
15721 $as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h
15724 HAVE_CPU_CRISV32=yes
15726 $as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15731 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15732 if ${ac_cv_c_bigendian+:} false; then :
15733 $as_echo_n "(cached) " >&6
15735 ac_cv_c_bigendian=unknown
15736 # See if we're dealing with a universal compiler.
15737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15738 /* end confdefs.h. */
15739 #ifndef __APPLE_CC__
15740 not a universal capable compiler
15745 if ac_fn_c_try_compile "$LINENO"; then :
15747 # Check for potential -arch flags. It is not universal unless
15748 # there are at least two -arch flags with different values.
15751 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15752 if test -n "$ac_prev"; then
15754 i?86 | x86_64 | ppc | ppc64)
15755 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15758 ac_cv_c_bigendian=universal
15764 elif test "x$ac_word" = "x-arch"; then
15769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15770 if test $ac_cv_c_bigendian = unknown; then
15771 # See if sys/param.h defines the BYTE_ORDER macro.
15772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15773 /* end confdefs.h. */
15774 #include <sys/types.h>
15775 #include <sys/param.h>
15780 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15781 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15783 bogus endian macros
15790 if ac_fn_c_try_compile "$LINENO"; then :
15791 # It does; now see whether it defined to BIG_ENDIAN or not.
15792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15793 /* end confdefs.h. */
15794 #include <sys/types.h>
15795 #include <sys/param.h>
15800 #if BYTE_ORDER != BIG_ENDIAN
15808 if ac_fn_c_try_compile "$LINENO"; then :
15809 ac_cv_c_bigendian=yes
15811 ac_cv_c_bigendian=no
15813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15817 if test $ac_cv_c_bigendian = unknown; then
15818 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15820 /* end confdefs.h. */
15821 #include <limits.h>
15826 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15827 bogus endian macros
15834 if ac_fn_c_try_compile "$LINENO"; then :
15835 # It does; now see whether it defined to _BIG_ENDIAN or not.
15836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15837 /* end confdefs.h. */
15838 #include <limits.h>
15843 #ifndef _BIG_ENDIAN
15851 if ac_fn_c_try_compile "$LINENO"; then :
15852 ac_cv_c_bigendian=yes
15854 ac_cv_c_bigendian=no
15856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15860 if test $ac_cv_c_bigendian = unknown; then
15861 # Compile a test program.
15862 if test "$cross_compiling" = yes; then :
15863 # Try to guess by grepping values from an object file.
15864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15865 /* end confdefs.h. */
15866 short int ascii_mm[] =
15867 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15868 short int ascii_ii[] =
15869 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15870 int use_ascii (int i) {
15871 return ascii_mm[i] + ascii_ii[i];
15873 short int ebcdic_ii[] =
15874 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15875 short int ebcdic_mm[] =
15876 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15877 int use_ebcdic (int i) {
15878 return ebcdic_mm[i] + ebcdic_ii[i];
15885 return use_ascii (foo) == use_ebcdic (foo);
15890 if ac_fn_c_try_compile "$LINENO"; then :
15891 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
15892 ac_cv_c_bigendian=yes
15894 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
15895 if test "$ac_cv_c_bigendian" = unknown; then
15896 ac_cv_c_bigendian=no
15898 # finding both strings is unlikely to happen, but who knows?
15899 ac_cv_c_bigendian=unknown
15903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15907 $ac_includes_default
15912 /* Are we little or big endian? From Harbison&Steele. */
15916 char c[sizeof (long int)];
15919 return u.c[sizeof (long int) - 1] == 1;
15925 if ac_fn_c_try_run "$LINENO"; then :
15926 ac_cv_c_bigendian=no
15928 ac_cv_c_bigendian=yes
15930 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15931 conftest.$ac_objext conftest.beam conftest.$ac_ext
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15937 $as_echo "$ac_cv_c_bigendian" >&6; }
15938 case $ac_cv_c_bigendian in #(
15940 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
15946 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15950 as_fn_error $? "unknown endianness
15951 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15955 if test "x$HAVE_CPU_I386" = "xyes"; then
15956 HAVE_CPU_I386_TRUE=
15957 HAVE_CPU_I386_FALSE='#'
15959 HAVE_CPU_I386_TRUE='#'
15960 HAVE_CPU_I386_FALSE=
15963 if test "x$HAVE_CPU_PPC" = "xyes"; then
15965 HAVE_CPU_PPC_FALSE='#'
15967 HAVE_CPU_PPC_TRUE='#'
15968 HAVE_CPU_PPC_FALSE=
15971 if test "x$HAVE_CPU_PPC64" = "xyes"; then
15972 HAVE_CPU_PPC64_TRUE=
15973 HAVE_CPU_PPC64_FALSE='#'
15975 HAVE_CPU_PPC64_TRUE='#'
15976 HAVE_CPU_PPC64_FALSE=
15979 if test "x$HAVE_CPU_ALPHA" = "xyes"; then
15980 HAVE_CPU_ALPHA_TRUE=
15981 HAVE_CPU_ALPHA_FALSE='#'
15983 HAVE_CPU_ALPHA_TRUE='#'
15984 HAVE_CPU_ALPHA_FALSE=
15987 if test "x$HAVE_CPU_ARM" = "xyes"; then
15989 HAVE_CPU_ARM_FALSE='#'
15991 HAVE_CPU_ARM_TRUE='#'
15992 HAVE_CPU_ARM_FALSE=
15995 if test "x$HAVE_CPU_SPARC" = "xyes"; then
15996 HAVE_CPU_SPARC_TRUE=
15997 HAVE_CPU_SPARC_FALSE='#'
15999 HAVE_CPU_SPARC_TRUE='#'
16000 HAVE_CPU_SPARC_FALSE=
16003 if test "x$HAVE_CPU_HPPA" = "xyes"; then
16004 HAVE_CPU_HPPA_TRUE=
16005 HAVE_CPU_HPPA_FALSE='#'
16007 HAVE_CPU_HPPA_TRUE='#'
16008 HAVE_CPU_HPPA_FALSE=
16011 if test "x$HAVE_CPU_MIPS" = "xyes"; then
16012 HAVE_CPU_MIPS_TRUE=
16013 HAVE_CPU_MIPS_FALSE='#'
16015 HAVE_CPU_MIPS_TRUE='#'
16016 HAVE_CPU_MIPS_FALSE=
16019 if test "x$HAVE_CPU_S390" = "xyes"; then
16020 HAVE_CPU_S390_TRUE=
16021 HAVE_CPU_S390_FALSE='#'
16023 HAVE_CPU_S390_TRUE='#'
16024 HAVE_CPU_S390_FALSE=
16027 if test "x$HAVE_CPU_IA64" = "xyes"; then
16028 HAVE_CPU_IA64_TRUE=
16029 HAVE_CPU_IA64_FALSE='#'
16031 HAVE_CPU_IA64_TRUE='#'
16032 HAVE_CPU_IA64_FALSE=
16035 if test "x$HAVE_CPU_M68K" = "xyes"; then
16036 HAVE_CPU_M68K_TRUE=
16037 HAVE_CPU_M68K_FALSE='#'
16039 HAVE_CPU_M68K_TRUE='#'
16040 HAVE_CPU_M68K_FALSE=
16043 if test "x$HAVE_CPU_X86_64" = "xyes"; then
16044 HAVE_CPU_X86_64_TRUE=
16045 HAVE_CPU_X86_64_FALSE='#'
16047 HAVE_CPU_X86_64_TRUE='#'
16048 HAVE_CPU_X86_64_FALSE=
16051 if test "x$HAVE_CPU_CRIS" = "xyes"; then
16052 HAVE_CPU_CRIS_TRUE=
16053 HAVE_CPU_CRIS_FALSE='#'
16055 HAVE_CPU_CRIS_TRUE='#'
16056 HAVE_CPU_CRIS_FALSE=
16059 if test "x$HAVE_CPU_CRISV32" = "xyes"; then
16060 HAVE_CPU_CRISV32_TRUE=
16061 HAVE_CPU_CRISV32_FALSE='#'
16063 HAVE_CPU_CRISV32_TRUE='#'
16064 HAVE_CPU_CRISV32_FALSE=
16069 cat >>confdefs.h <<_ACEOF
16070 #define HOST_CPU "$host_cpu"
16075 # Check whether --enable-largefile was given.
16076 if test "${enable_largefile+set}" = set; then :
16077 enableval=$enable_largefile;
16080 if test "$enable_largefile" != no; then
16082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16083 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16084 if ${ac_cv_sys_largefile_CC+:} false; then :
16085 $as_echo_n "(cached) " >&6
16087 ac_cv_sys_largefile_CC=no
16088 if test "$GCC" != yes; then
16091 # IRIX 6.2 and later do not support large files by default,
16092 # so use the C compiler's -n32 option if that helps.
16093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16094 /* end confdefs.h. */
16095 #include <sys/types.h>
16096 /* Check that off_t can represent 2**63 - 1 correctly.
16097 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16098 since some C++ compilers masquerading as C compilers
16099 incorrectly reject 9223372036854775807. */
16100 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16101 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16102 && LARGE_OFF_T % 2147483647 == 1)
16112 if ac_fn_c_try_compile "$LINENO"; then :
16115 rm -f core conftest.err conftest.$ac_objext
16117 if ac_fn_c_try_compile "$LINENO"; then :
16118 ac_cv_sys_largefile_CC=' -n32'; break
16120 rm -f core conftest.err conftest.$ac_objext
16124 rm -f conftest.$ac_ext
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16128 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16129 if test "$ac_cv_sys_largefile_CC" != no; then
16130 CC=$CC$ac_cv_sys_largefile_CC
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16134 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16135 if ${ac_cv_sys_file_offset_bits+:} false; then :
16136 $as_echo_n "(cached) " >&6
16139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16140 /* end confdefs.h. */
16141 #include <sys/types.h>
16142 /* Check that off_t can represent 2**63 - 1 correctly.
16143 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16144 since some C++ compilers masquerading as C compilers
16145 incorrectly reject 9223372036854775807. */
16146 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16147 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16148 && LARGE_OFF_T % 2147483647 == 1)
16158 if ac_fn_c_try_compile "$LINENO"; then :
16159 ac_cv_sys_file_offset_bits=no; break
16161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16163 /* end confdefs.h. */
16164 #define _FILE_OFFSET_BITS 64
16165 #include <sys/types.h>
16166 /* Check that off_t can represent 2**63 - 1 correctly.
16167 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16168 since some C++ compilers masquerading as C compilers
16169 incorrectly reject 9223372036854775807. */
16170 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16171 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16172 && LARGE_OFF_T % 2147483647 == 1)
16182 if ac_fn_c_try_compile "$LINENO"; then :
16183 ac_cv_sys_file_offset_bits=64; break
16185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16186 ac_cv_sys_file_offset_bits=unknown
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16191 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16192 case $ac_cv_sys_file_offset_bits in #(
16195 cat >>confdefs.h <<_ACEOF
16196 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16201 if test $ac_cv_sys_file_offset_bits = unknown; then
16202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16203 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16204 if ${ac_cv_sys_large_files+:} false; then :
16205 $as_echo_n "(cached) " >&6
16208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16209 /* end confdefs.h. */
16210 #include <sys/types.h>
16211 /* Check that off_t can represent 2**63 - 1 correctly.
16212 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16213 since some C++ compilers masquerading as C compilers
16214 incorrectly reject 9223372036854775807. */
16215 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16216 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16217 && LARGE_OFF_T % 2147483647 == 1)
16227 if ac_fn_c_try_compile "$LINENO"; then :
16228 ac_cv_sys_large_files=no; break
16230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16232 /* end confdefs.h. */
16233 #define _LARGE_FILES 1
16234 #include <sys/types.h>
16235 /* Check that off_t can represent 2**63 - 1 correctly.
16236 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16237 since some C++ compilers masquerading as C compilers
16238 incorrectly reject 9223372036854775807. */
16239 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16240 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16241 && LARGE_OFF_T % 2147483647 == 1)
16251 if ac_fn_c_try_compile "$LINENO"; then :
16252 ac_cv_sys_large_files=1; break
16254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16255 ac_cv_sys_large_files=unknown
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16260 $as_echo "$ac_cv_sys_large_files" >&6; }
16261 case $ac_cv_sys_large_files in #(
16264 cat >>confdefs.h <<_ACEOF
16265 #define _LARGE_FILES $ac_cv_sys_large_files
16276 ac_cpp='$CPP $CPPFLAGS'
16277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16280 if test -n "$ac_tool_prefix"; then
16281 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16282 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16284 $as_echo_n "checking for $ac_word... " >&6; }
16285 if ${ac_cv_prog_CC+:} false; then :
16286 $as_echo_n "(cached) " >&6
16288 if test -n "$CC"; then
16289 ac_cv_prog_CC="$CC" # Let the user override the test.
16291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16292 for as_dir in $PATH
16295 test -z "$as_dir" && as_dir=.
16296 for ac_exec_ext in '' $ac_executable_extensions; do
16297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16298 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16309 if test -n "$CC"; then
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16311 $as_echo "$CC" >&6; }
16313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16314 $as_echo "no" >&6; }
16319 if test -z "$ac_cv_prog_CC"; then
16321 # Extract the first word of "gcc", so it can be a program name with args.
16322 set dummy gcc; ac_word=$2
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16324 $as_echo_n "checking for $ac_word... " >&6; }
16325 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16326 $as_echo_n "(cached) " >&6
16328 if test -n "$ac_ct_CC"; then
16329 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16332 for as_dir in $PATH
16335 test -z "$as_dir" && as_dir=.
16336 for ac_exec_ext in '' $ac_executable_extensions; do
16337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16338 ac_cv_prog_ac_ct_CC="gcc"
16339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16348 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16349 if test -n "$ac_ct_CC"; then
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16351 $as_echo "$ac_ct_CC" >&6; }
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16354 $as_echo "no" >&6; }
16357 if test "x$ac_ct_CC" = x; then
16360 case $cross_compiling:$ac_tool_warned in
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16364 ac_tool_warned=yes ;;
16369 CC="$ac_cv_prog_CC"
16372 if test -z "$CC"; then
16373 if test -n "$ac_tool_prefix"; then
16374 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16375 set dummy ${ac_tool_prefix}cc; ac_word=$2
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16377 $as_echo_n "checking for $ac_word... " >&6; }
16378 if ${ac_cv_prog_CC+:} false; then :
16379 $as_echo_n "(cached) " >&6
16381 if test -n "$CC"; then
16382 ac_cv_prog_CC="$CC" # Let the user override the test.
16384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16385 for as_dir in $PATH
16388 test -z "$as_dir" && as_dir=.
16389 for ac_exec_ext in '' $ac_executable_extensions; do
16390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16391 ac_cv_prog_CC="${ac_tool_prefix}cc"
16392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16402 if test -n "$CC"; then
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16404 $as_echo "$CC" >&6; }
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16407 $as_echo "no" >&6; }
16413 if test -z "$CC"; then
16414 # Extract the first word of "cc", so it can be a program name with args.
16415 set dummy cc; ac_word=$2
16416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16417 $as_echo_n "checking for $ac_word... " >&6; }
16418 if ${ac_cv_prog_CC+:} false; then :
16419 $as_echo_n "(cached) " >&6
16421 if test -n "$CC"; then
16422 ac_cv_prog_CC="$CC" # Let the user override the test.
16424 ac_prog_rejected=no
16425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16426 for as_dir in $PATH
16429 test -z "$as_dir" && as_dir=.
16430 for ac_exec_ext in '' $ac_executable_extensions; do
16431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16432 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16433 ac_prog_rejected=yes
16437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16444 if test $ac_prog_rejected = yes; then
16445 # We found a bogon in the path, so make sure we never use it.
16446 set dummy $ac_cv_prog_CC
16448 if test $# != 0; then
16449 # We chose a different compiler from the bogus one.
16450 # However, it has the same basename, so the bogon will be chosen
16451 # first if we set CC to just the basename; use the full file name.
16453 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16459 if test -n "$CC"; then
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16461 $as_echo "$CC" >&6; }
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16464 $as_echo "no" >&6; }
16469 if test -z "$CC"; then
16470 if test -n "$ac_tool_prefix"; then
16471 for ac_prog in cl.exe
16473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16476 $as_echo_n "checking for $ac_word... " >&6; }
16477 if ${ac_cv_prog_CC+:} false; then :
16478 $as_echo_n "(cached) " >&6
16480 if test -n "$CC"; then
16481 ac_cv_prog_CC="$CC" # Let the user override the test.
16483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16484 for as_dir in $PATH
16487 test -z "$as_dir" && as_dir=.
16488 for ac_exec_ext in '' $ac_executable_extensions; do
16489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16490 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16501 if test -n "$CC"; then
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16503 $as_echo "$CC" >&6; }
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16506 $as_echo "no" >&6; }
16510 test -n "$CC" && break
16513 if test -z "$CC"; then
16515 for ac_prog in cl.exe
16517 # Extract the first word of "$ac_prog", so it can be a program name with args.
16518 set dummy $ac_prog; ac_word=$2
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16520 $as_echo_n "checking for $ac_word... " >&6; }
16521 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16522 $as_echo_n "(cached) " >&6
16524 if test -n "$ac_ct_CC"; then
16525 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16528 for as_dir in $PATH
16531 test -z "$as_dir" && as_dir=.
16532 for ac_exec_ext in '' $ac_executable_extensions; do
16533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16534 ac_cv_prog_ac_ct_CC="$ac_prog"
16535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16544 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16545 if test -n "$ac_ct_CC"; then
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16547 $as_echo "$ac_ct_CC" >&6; }
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16550 $as_echo "no" >&6; }
16554 test -n "$ac_ct_CC" && break
16557 if test "x$ac_ct_CC" = x; then
16560 case $cross_compiling:$ac_tool_warned in
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16564 ac_tool_warned=yes ;;
16573 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16575 as_fn_error $? "no acceptable C compiler found in \$PATH
16576 See \`config.log' for more details" "$LINENO" 5; }
16578 # Provide some information about the compiler.
16579 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16582 for ac_option in --version -v -V -qversion; do
16583 { { ac_try="$ac_compiler $ac_option >&5"
16584 case "(($ac_try" in
16585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16586 *) ac_try_echo=$ac_try;;
16588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16589 $as_echo "$ac_try_echo"; } >&5
16590 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16592 if test -s conftest.err; then
16594 ... rest of stderr output deleted ...
16595 10q' conftest.err >conftest.er1
16596 cat conftest.er1 >&5
16598 rm -f conftest.er1 conftest.err
16599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16600 test $ac_status = 0; }
16603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16604 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16605 if ${ac_cv_c_compiler_gnu+:} false; then :
16606 $as_echo_n "(cached) " >&6
16608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16609 /* end confdefs.h. */
16622 if ac_fn_c_try_compile "$LINENO"; then :
16623 ac_compiler_gnu=yes
16627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16628 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16632 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16633 if test $ac_compiler_gnu = yes; then
16638 ac_test_CFLAGS=${CFLAGS+set}
16639 ac_save_CFLAGS=$CFLAGS
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16641 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16642 if ${ac_cv_prog_cc_g+:} false; then :
16643 $as_echo_n "(cached) " >&6
16645 ac_save_c_werror_flag=$ac_c_werror_flag
16646 ac_c_werror_flag=yes
16649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16650 /* end confdefs.h. */
16660 if ac_fn_c_try_compile "$LINENO"; then :
16661 ac_cv_prog_cc_g=yes
16664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h. */
16675 if ac_fn_c_try_compile "$LINENO"; then :
16678 ac_c_werror_flag=$ac_save_c_werror_flag
16680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16681 /* end confdefs.h. */
16691 if ac_fn_c_try_compile "$LINENO"; then :
16692 ac_cv_prog_cc_g=yes
16694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16699 ac_c_werror_flag=$ac_save_c_werror_flag
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16702 $as_echo "$ac_cv_prog_cc_g" >&6; }
16703 if test "$ac_test_CFLAGS" = set; then
16704 CFLAGS=$ac_save_CFLAGS
16705 elif test $ac_cv_prog_cc_g = yes; then
16706 if test "$GCC" = yes; then
16712 if test "$GCC" = yes; then
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16719 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16720 if ${ac_cv_prog_cc_c89+:} false; then :
16721 $as_echo_n "(cached) " >&6
16723 ac_cv_prog_cc_c89=no
16725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16726 /* end confdefs.h. */
16727 #include <stdarg.h>
16729 #include <sys/types.h>
16730 #include <sys/stat.h>
16731 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16732 struct buf { int x; };
16733 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16734 static char *e (p, i)
16740 static char *f (char * (*g) (char **, int), char **p, ...)
16745 s = g (p, va_arg (v,int));
16750 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16751 function prototypes and stuff, but not '\xHH' hex character constants.
16752 These don't provoke an error unfortunately, instead are silently treated
16753 as 'x'. The following induces an error, until -std is added to get
16754 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16755 array size at least. It's necessary to write '\x00'==0 to get something
16756 that's true only with -std. */
16757 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16759 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16760 inside strings and character constants. */
16762 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16764 int test (int i, double x);
16765 struct s1 {int (*f) (int a);};
16766 struct s2 {int (*f) (double a);};
16767 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16773 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16778 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16779 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16781 CC="$ac_save_CC $ac_arg"
16782 if ac_fn_c_try_compile "$LINENO"; then :
16783 ac_cv_prog_cc_c89=$ac_arg
16785 rm -f core conftest.err conftest.$ac_objext
16786 test "x$ac_cv_prog_cc_c89" != "xno" && break
16788 rm -f conftest.$ac_ext
16793 case "x$ac_cv_prog_cc_c89" in
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16796 $as_echo "none needed" >&6; } ;;
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16799 $as_echo "unsupported" >&6; } ;;
16801 CC="$CC $ac_cv_prog_cc_c89"
16802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16803 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16805 if test "x$ac_cv_prog_cc_c89" != xno; then :
16810 ac_cpp='$CPP $CPPFLAGS'
16811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16815 depcc="$CC" am_compiler_list=
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16818 $as_echo_n "checking dependency style of $depcc... " >&6; }
16819 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
16820 $as_echo_n "(cached) " >&6
16822 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16823 # We make a subdir and do the tests there. Otherwise we can end up
16824 # making bogus files that we don't know about and never remove. For
16825 # instance it was reported that on HP-UX the gcc test will end up
16826 # making a dummy file named `D' -- because `-MD' means `put the output
16828 rm -rf conftest.dir
16830 # Copy depcomp to subdir because otherwise we won't find it if we're
16831 # using a relative directory.
16832 cp "$am_depcomp" conftest.dir
16834 # We will build objects and dependencies in a subdirectory because
16835 # it helps to detect inapplicable dependency modes. For instance
16836 # both Tru64's cc and ICC support -MD to output dependencies as a
16837 # side effect of compilation, but ICC will put the dependencies in
16838 # the current directory while Tru64 will put them in the object
16842 am_cv_CC_dependencies_compiler_type=none
16843 if test "$am_compiler_list" = ""; then
16844 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16846 am__universal=false
16847 case " $depcc " in #(
16848 *\ -arch\ *\ -arch\ *) am__universal=true ;;
16851 for depmode in $am_compiler_list; do
16852 # Setup a source with many dependencies, because some compilers
16853 # like to wrap large dependency lists on column 80 (with \), and
16854 # we should not choose a depcomp mode which is confused by this.
16856 # We need to recreate these files for each test, as the compiler may
16857 # overwrite some of them when testing with obscure command lines.
16858 # This happens at least with the AIX C compiler.
16860 for i in 1 2 3 4 5 6; do
16861 echo '#include "conftst'$i'.h"' >> sub/conftest.c
16862 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16863 # Solaris 8's {/usr,}/bin/sh.
16864 touch sub/conftst$i.h
16866 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16868 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16869 # mode. It turns out that the SunPro C++ compiler does not properly
16870 # handle `-M -o', and we need to detect this. Also, some Intel
16871 # versions had trouble with output in subdirs
16872 am__obj=sub/conftest.${OBJEXT-o}
16873 am__minus_obj="-o $am__obj"
16876 # This depmode causes a compiler race in universal mode.
16877 test "$am__universal" = false || continue
16880 # after this tag, mechanisms are not by side-effect, so they'll
16881 # only be used when explicitly requested
16882 if test "x$enable_dependency_tracking" = xyes; then
16888 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
16889 # This compiler won't grok `-c -o', but also, the minuso test has
16890 # not run yet. These depmodes are late enough in the game, and
16891 # so weak that their functioning should not be impacted.
16892 am__obj=conftest.${OBJEXT-o}
16897 if depmode=$depmode \
16898 source=sub/conftest.c object=$am__obj \
16899 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16900 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16901 >/dev/null 2>conftest.err &&
16902 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16903 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16904 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16905 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16906 # icc doesn't choke on unknown options, it will just issue warnings
16907 # or remarks (even with -Werror). So we grep stderr for any message
16908 # that says an option was ignored or not supported.
16909 # When given -MP, icc 7.0 and 7.1 complain thusly:
16910 # icc: Command line warning: ignoring option '-M'; no argument required
16911 # The diagnosis changed in icc 8.0:
16912 # icc: Command line remark: option '-MP' not supported
16913 if (grep 'ignoring option' conftest.err ||
16914 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16915 am_cv_CC_dependencies_compiler_type=$depmode
16922 rm -rf conftest.dir
16924 am_cv_CC_dependencies_compiler_type=none
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
16929 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
16930 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
16933 test "x$enable_dependency_tracking" != xno \
16934 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
16935 am__fastdepCC_TRUE=
16936 am__fastdepCC_FALSE='#'
16938 am__fastdepCC_TRUE='#'
16939 am__fastdepCC_FALSE=
16943 case $ac_cv_prog_cc_stdc in #(
16945 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
16948 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
16949 if ${ac_cv_prog_cc_c99+:} false; then :
16950 $as_echo_n "(cached) " >&6
16952 ac_cv_prog_cc_c99=no
16954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16955 /* end confdefs.h. */
16956 #include <stdarg.h>
16957 #include <stdbool.h>
16958 #include <stdlib.h>
16962 // Check varargs macros. These examples are taken from C99 6.10.3.5.
16963 #define debug(...) fprintf (stderr, __VA_ARGS__)
16964 #define showlist(...) puts (#__VA_ARGS__)
16965 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
16967 test_varargs_macros (void)
16972 debug ("X = %d\n", x);
16973 showlist (The first, second, and third items.);
16974 report (x>y, "x is %d but y is %d", x, y);
16977 // Check long long types.
16978 #define BIG64 18446744073709551615ull
16979 #define BIG32 4294967295ul
16980 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
16982 your preprocessor is broken;
16986 your preprocessor is broken;
16988 static long long int bignum = -9223372036854775807LL;
16989 static unsigned long long int ubignum = BIG64;
16991 struct incomplete_array
16997 struct named_init {
16999 const wchar_t *name;
17003 typedef const char *ccp;
17006 test_restrict (ccp restrict text)
17008 // See if C++-style comments work.
17009 // Iterate through items via the restricted pointer.
17010 // Also check for declarations in for loops.
17011 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
17016 // Check varargs and va_copy.
17018 test_varargs (const char *format, ...)
17021 va_start (args, format);
17023 va_copy (args_copy, args);
17033 case 's': // string
17034 str = va_arg (args_copy, const char *);
17037 number = va_arg (args_copy, int);
17040 fnumber = va_arg (args_copy, double);
17046 va_end (args_copy);
17055 _Bool success = false;
17058 if (test_restrict ("String literal") == 0)
17060 char *restrict newvar = "Another string";
17063 test_varargs ("s, d' f .", "string", 65, 34.234);
17064 test_varargs_macros ();
17066 // Check flexible array members.
17067 struct incomplete_array *ia =
17068 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
17070 for (int i = 0; i < ia->datasize; ++i)
17071 ia->data[i] = i * 1.234;
17073 // Check named initializers.
17074 struct named_init ni = {
17076 .name = L"Test wide string",
17077 .average = 543.34343,
17082 int dynamic_array[ni.number];
17083 dynamic_array[ni.number - 1] = 543;
17085 // work around unused variable warnings
17086 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
17087 || dynamic_array[ni.number - 1] != 543);
17093 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
17095 CC="$ac_save_CC $ac_arg"
17096 if ac_fn_c_try_compile "$LINENO"; then :
17097 ac_cv_prog_cc_c99=$ac_arg
17099 rm -f core conftest.err conftest.$ac_objext
17100 test "x$ac_cv_prog_cc_c99" != "xno" && break
17102 rm -f conftest.$ac_ext
17107 case "x$ac_cv_prog_cc_c99" in
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17110 $as_echo "none needed" >&6; } ;;
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17113 $as_echo "unsupported" >&6; } ;;
17115 CC="$CC $ac_cv_prog_cc_c99"
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
17117 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
17119 if test "x$ac_cv_prog_cc_c99" != xno; then :
17120 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
17122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17123 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17124 if ${ac_cv_prog_cc_c89+:} false; then :
17125 $as_echo_n "(cached) " >&6
17127 ac_cv_prog_cc_c89=no
17129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17130 /* end confdefs.h. */
17131 #include <stdarg.h>
17133 #include <sys/types.h>
17134 #include <sys/stat.h>
17135 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17136 struct buf { int x; };
17137 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17138 static char *e (p, i)
17144 static char *f (char * (*g) (char **, int), char **p, ...)
17149 s = g (p, va_arg (v,int));
17154 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17155 function prototypes and stuff, but not '\xHH' hex character constants.
17156 These don't provoke an error unfortunately, instead are silently treated
17157 as 'x'. The following induces an error, until -std is added to get
17158 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17159 array size at least. It's necessary to write '\x00'==0 to get something
17160 that's true only with -std. */
17161 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17163 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17164 inside strings and character constants. */
17166 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17168 int test (int i, double x);
17169 struct s1 {int (*f) (int a);};
17170 struct s2 {int (*f) (double a);};
17171 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17177 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17182 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17183 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17185 CC="$ac_save_CC $ac_arg"
17186 if ac_fn_c_try_compile "$LINENO"; then :
17187 ac_cv_prog_cc_c89=$ac_arg
17189 rm -f core conftest.err conftest.$ac_objext
17190 test "x$ac_cv_prog_cc_c89" != "xno" && break
17192 rm -f conftest.$ac_ext
17197 case "x$ac_cv_prog_cc_c89" in
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17200 $as_echo "none needed" >&6; } ;;
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17203 $as_echo "unsupported" >&6; } ;;
17205 CC="$CC $ac_cv_prog_cc_c89"
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17207 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17209 if test "x$ac_cv_prog_cc_c89" != xno; then :
17210 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
17212 ac_cv_prog_cc_stdc=no
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
17219 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
17220 if ${ac_cv_prog_cc_stdc+:} false; then :
17221 $as_echo_n "(cached) " >&6
17224 case $ac_cv_prog_cc_stdc in #(
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17227 $as_echo "unsupported" >&6; } ;; #(
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17230 $as_echo "none needed" >&6; } ;; #(
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
17233 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
17237 if test "x$CC" != xcc; then
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
17239 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
17242 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
17244 set dummy $CC; ac_cc=`$as_echo "$2" |
17245 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
17246 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
17247 $as_echo_n "(cached) " >&6
17249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h. */
17260 # Make sure it works both with $CC and with simple cc.
17261 # We do the test twice because some compilers refuse to overwrite an
17262 # existing .o file with -o, though they will create one.
17263 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
17265 if { { case "(($ac_try" in
17266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17267 *) ac_try_echo=$ac_try;;
17269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17270 $as_echo "$ac_try_echo"; } >&5
17271 (eval "$ac_try") 2>&5
17273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17274 test $ac_status = 0; } &&
17275 test -f conftest2.$ac_objext && { { case "(($ac_try" in
17276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17277 *) ac_try_echo=$ac_try;;
17279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17280 $as_echo "$ac_try_echo"; } >&5
17281 (eval "$ac_try") 2>&5
17283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17284 test $ac_status = 0; };
17286 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
17287 if test "x$CC" != xcc; then
17288 # Test first that cc exists at all.
17289 if { ac_try='cc -c conftest.$ac_ext >&5'
17290 { { case "(($ac_try" in
17291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17292 *) ac_try_echo=$ac_try;;
17294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17295 $as_echo "$ac_try_echo"; } >&5
17296 (eval "$ac_try") 2>&5
17298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17299 test $ac_status = 0; }; }; then
17300 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
17302 if { { case "(($ac_try" in
17303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17304 *) ac_try_echo=$ac_try;;
17306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17307 $as_echo "$ac_try_echo"; } >&5
17308 (eval "$ac_try") 2>&5
17310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17311 test $ac_status = 0; } &&
17312 test -f conftest2.$ac_objext && { { case "(($ac_try" in
17313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17314 *) ac_try_echo=$ac_try;;
17316 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17317 $as_echo "$ac_try_echo"; } >&5
17318 (eval "$ac_try") 2>&5
17320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17321 test $ac_status = 0; };
17326 # cc exists but doesn't like -o.
17327 eval ac_cv_prog_cc_${ac_cc}_c_o=no
17332 eval ac_cv_prog_cc_${ac_cc}_c_o=no
17334 rm -f core conftest*
17337 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17339 $as_echo "yes" >&6; }
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17342 $as_echo "no" >&6; }
17344 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
17348 # FIXME: we rely on the cache variable name because
17349 # there is no other way.
17351 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
17352 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
17353 if test "$am_t" != yes; then
17354 # Losing compiler, so override with the script.
17355 # FIXME: It is wrong to rewrite CC.
17356 # But if we don't then we get into trouble of one sort or another.
17357 # A longer-term fix would be to have automake use am__CC in this case,
17358 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
17359 CC="$am_aux_dir/compile $CC"
17365 ac_cpp='$CXXCPP $CPPFLAGS'
17366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17369 if test -z "$CXX"; then
17370 if test -n "$CCC"; then
17373 if test -n "$ac_tool_prefix"; then
17374 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17376 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17377 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17379 $as_echo_n "checking for $ac_word... " >&6; }
17380 if ${ac_cv_prog_CXX+:} false; then :
17381 $as_echo_n "(cached) " >&6
17383 if test -n "$CXX"; then
17384 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17387 for as_dir in $PATH
17390 test -z "$as_dir" && as_dir=.
17391 for ac_exec_ext in '' $ac_executable_extensions; do
17392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17393 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17403 CXX=$ac_cv_prog_CXX
17404 if test -n "$CXX"; then
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
17406 $as_echo "$CXX" >&6; }
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17409 $as_echo "no" >&6; }
17413 test -n "$CXX" && break
17416 if test -z "$CXX"; then
17418 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17420 # Extract the first word of "$ac_prog", so it can be a program name with args.
17421 set dummy $ac_prog; ac_word=$2
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17423 $as_echo_n "checking for $ac_word... " >&6; }
17424 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
17425 $as_echo_n "(cached) " >&6
17427 if test -n "$ac_ct_CXX"; then
17428 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17431 for as_dir in $PATH
17434 test -z "$as_dir" && as_dir=.
17435 for ac_exec_ext in '' $ac_executable_extensions; do
17436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17437 ac_cv_prog_ac_ct_CXX="$ac_prog"
17438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17447 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17448 if test -n "$ac_ct_CXX"; then
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
17450 $as_echo "$ac_ct_CXX" >&6; }
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17453 $as_echo "no" >&6; }
17457 test -n "$ac_ct_CXX" && break
17460 if test "x$ac_ct_CXX" = x; then
17463 case $cross_compiling:$ac_tool_warned in
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17466 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17467 ac_tool_warned=yes ;;
17475 # Provide some information about the compiler.
17476 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
17479 for ac_option in --version -v -V -qversion; do
17480 { { ac_try="$ac_compiler $ac_option >&5"
17481 case "(($ac_try" in
17482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17483 *) ac_try_echo=$ac_try;;
17485 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17486 $as_echo "$ac_try_echo"; } >&5
17487 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17489 if test -s conftest.err; then
17491 ... rest of stderr output deleted ...
17492 10q' conftest.err >conftest.er1
17493 cat conftest.er1 >&5
17495 rm -f conftest.er1 conftest.err
17496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17497 test $ac_status = 0; }
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
17501 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
17502 if ${ac_cv_cxx_compiler_gnu+:} false; then :
17503 $as_echo_n "(cached) " >&6
17505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17506 /* end confdefs.h. */
17519 if ac_fn_cxx_try_compile "$LINENO"; then :
17520 ac_compiler_gnu=yes
17524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17525 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
17529 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
17530 if test $ac_compiler_gnu = yes; then
17535 ac_test_CXXFLAGS=${CXXFLAGS+set}
17536 ac_save_CXXFLAGS=$CXXFLAGS
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
17538 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
17539 if ${ac_cv_prog_cxx_g+:} false; then :
17540 $as_echo_n "(cached) " >&6
17542 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17543 ac_cxx_werror_flag=yes
17544 ac_cv_prog_cxx_g=no
17546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17547 /* end confdefs.h. */
17557 if ac_fn_cxx_try_compile "$LINENO"; then :
17558 ac_cv_prog_cxx_g=yes
17561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17562 /* end confdefs.h. */
17572 if ac_fn_cxx_try_compile "$LINENO"; then :
17575 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17578 /* end confdefs.h. */
17588 if ac_fn_cxx_try_compile "$LINENO"; then :
17589 ac_cv_prog_cxx_g=yes
17591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17596 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
17599 $as_echo "$ac_cv_prog_cxx_g" >&6; }
17600 if test "$ac_test_CXXFLAGS" = set; then
17601 CXXFLAGS=$ac_save_CXXFLAGS
17602 elif test $ac_cv_prog_cxx_g = yes; then
17603 if test "$GXX" = yes; then
17609 if test "$GXX" = yes; then
17616 ac_cpp='$CPP $CPPFLAGS'
17617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17621 depcc="$CXX" am_compiler_list=
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17624 $as_echo_n "checking dependency style of $depcc... " >&6; }
17625 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
17626 $as_echo_n "(cached) " >&6
17628 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17629 # We make a subdir and do the tests there. Otherwise we can end up
17630 # making bogus files that we don't know about and never remove. For
17631 # instance it was reported that on HP-UX the gcc test will end up
17632 # making a dummy file named `D' -- because `-MD' means `put the output
17634 rm -rf conftest.dir
17636 # Copy depcomp to subdir because otherwise we won't find it if we're
17637 # using a relative directory.
17638 cp "$am_depcomp" conftest.dir
17640 # We will build objects and dependencies in a subdirectory because
17641 # it helps to detect inapplicable dependency modes. For instance
17642 # both Tru64's cc and ICC support -MD to output dependencies as a
17643 # side effect of compilation, but ICC will put the dependencies in
17644 # the current directory while Tru64 will put them in the object
17648 am_cv_CXX_dependencies_compiler_type=none
17649 if test "$am_compiler_list" = ""; then
17650 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17652 am__universal=false
17653 case " $depcc " in #(
17654 *\ -arch\ *\ -arch\ *) am__universal=true ;;
17657 for depmode in $am_compiler_list; do
17658 # Setup a source with many dependencies, because some compilers
17659 # like to wrap large dependency lists on column 80 (with \), and
17660 # we should not choose a depcomp mode which is confused by this.
17662 # We need to recreate these files for each test, as the compiler may
17663 # overwrite some of them when testing with obscure command lines.
17664 # This happens at least with the AIX C compiler.
17666 for i in 1 2 3 4 5 6; do
17667 echo '#include "conftst'$i'.h"' >> sub/conftest.c
17668 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17669 # Solaris 8's {/usr,}/bin/sh.
17670 touch sub/conftst$i.h
17672 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17674 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17675 # mode. It turns out that the SunPro C++ compiler does not properly
17676 # handle `-M -o', and we need to detect this. Also, some Intel
17677 # versions had trouble with output in subdirs
17678 am__obj=sub/conftest.${OBJEXT-o}
17679 am__minus_obj="-o $am__obj"
17682 # This depmode causes a compiler race in universal mode.
17683 test "$am__universal" = false || continue
17686 # after this tag, mechanisms are not by side-effect, so they'll
17687 # only be used when explicitly requested
17688 if test "x$enable_dependency_tracking" = xyes; then
17694 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17695 # This compiler won't grok `-c -o', but also, the minuso test has
17696 # not run yet. These depmodes are late enough in the game, and
17697 # so weak that their functioning should not be impacted.
17698 am__obj=conftest.${OBJEXT-o}
17703 if depmode=$depmode \
17704 source=sub/conftest.c object=$am__obj \
17705 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17706 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17707 >/dev/null 2>conftest.err &&
17708 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17709 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17710 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17711 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17712 # icc doesn't choke on unknown options, it will just issue warnings
17713 # or remarks (even with -Werror). So we grep stderr for any message
17714 # that says an option was ignored or not supported.
17715 # When given -MP, icc 7.0 and 7.1 complain thusly:
17716 # icc: Command line warning: ignoring option '-M'; no argument required
17717 # The diagnosis changed in icc 8.0:
17718 # icc: Command line remark: option '-MP' not supported
17719 if (grep 'ignoring option' conftest.err ||
17720 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17721 am_cv_CXX_dependencies_compiler_type=$depmode
17728 rm -rf conftest.dir
17730 am_cv_CXX_dependencies_compiler_type=none
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
17735 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
17736 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
17739 test "x$enable_dependency_tracking" != xno \
17740 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
17741 am__fastdepCXX_TRUE=
17742 am__fastdepCXX_FALSE='#'
17744 am__fastdepCXX_TRUE='#'
17745 am__fastdepCXX_FALSE=
17751 func_stripname_cnf ()
17754 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17755 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17757 } # func_stripname_cnf
17759 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
17760 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
17761 (test "X$CXX" != "Xg++"))) ; then
17763 ac_cpp='$CXXCPP $CPPFLAGS'
17764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
17768 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
17769 if test -z "$CXXCPP"; then
17770 if ${ac_cv_prog_CXXCPP+:} false; then :
17771 $as_echo_n "(cached) " >&6
17773 # Double quotes because CXXCPP needs to be expanded
17774 for CXXCPP in "$CXX -E" "/lib/cpp"
17776 ac_preproc_ok=false
17777 for ac_cxx_preproc_warn_flag in '' yes
17779 # Use a header file that comes with gcc, so configuring glibc
17780 # with a fresh cross-compiler works.
17781 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17782 # <limits.h> exists even on freestanding compilers.
17783 # On the NeXT, cc -E runs the code through the compiler's parser,
17784 # not just through cpp. "Syntax error" is here to catch this case.
17785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17786 /* end confdefs.h. */
17788 # include <limits.h>
17790 # include <assert.h>
17794 if ac_fn_cxx_try_cpp "$LINENO"; then :
17797 # Broken: fails on valid input.
17800 rm -f conftest.err conftest.i conftest.$ac_ext
17802 # OK, works on sane cases. Now check whether nonexistent headers
17803 # can be detected and how.
17804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h. */
17806 #include <ac_nonexistent.h>
17808 if ac_fn_cxx_try_cpp "$LINENO"; then :
17809 # Broken: success on invalid input.
17812 # Passes both tests.
17816 rm -f conftest.err conftest.i conftest.$ac_ext
17819 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17820 rm -f conftest.i conftest.err conftest.$ac_ext
17821 if $ac_preproc_ok; then :
17826 ac_cv_prog_CXXCPP=$CXXCPP
17829 CXXCPP=$ac_cv_prog_CXXCPP
17831 ac_cv_prog_CXXCPP=$CXXCPP
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
17834 $as_echo "$CXXCPP" >&6; }
17835 ac_preproc_ok=false
17836 for ac_cxx_preproc_warn_flag in '' yes
17838 # Use a header file that comes with gcc, so configuring glibc
17839 # with a fresh cross-compiler works.
17840 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17841 # <limits.h> exists even on freestanding compilers.
17842 # On the NeXT, cc -E runs the code through the compiler's parser,
17843 # not just through cpp. "Syntax error" is here to catch this case.
17844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17845 /* end confdefs.h. */
17847 # include <limits.h>
17849 # include <assert.h>
17853 if ac_fn_cxx_try_cpp "$LINENO"; then :
17856 # Broken: fails on valid input.
17859 rm -f conftest.err conftest.i conftest.$ac_ext
17861 # OK, works on sane cases. Now check whether nonexistent headers
17862 # can be detected and how.
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17865 #include <ac_nonexistent.h>
17867 if ac_fn_cxx_try_cpp "$LINENO"; then :
17868 # Broken: success on invalid input.
17871 # Passes both tests.
17875 rm -f conftest.err conftest.i conftest.$ac_ext
17878 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17879 rm -f conftest.i conftest.err conftest.$ac_ext
17880 if $ac_preproc_ok; then :
17883 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17885 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
17886 See \`config.log' for more details" "$LINENO" 5; }
17890 ac_cpp='$CPP $CPPFLAGS'
17891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17896 _lt_caught_CXX_error=yes
17900 ac_cpp='$CXXCPP $CPPFLAGS'
17901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17905 archive_cmds_need_lc_CXX=no
17906 allow_undefined_flag_CXX=
17907 always_export_symbols_CXX=no
17908 archive_expsym_cmds_CXX=
17909 compiler_needs_object_CXX=no
17910 export_dynamic_flag_spec_CXX=
17911 hardcode_direct_CXX=no
17912 hardcode_direct_absolute_CXX=no
17913 hardcode_libdir_flag_spec_CXX=
17914 hardcode_libdir_separator_CXX=
17915 hardcode_minus_L_CXX=no
17916 hardcode_shlibpath_var_CXX=unsupported
17917 hardcode_automatic_CXX=no
17918 inherit_rpath_CXX=no
17920 module_expsym_cmds_CXX=
17921 link_all_deplibs_CXX=unknown
17922 old_archive_cmds_CXX=$old_archive_cmds
17923 reload_flag_CXX=$reload_flag
17924 reload_cmds_CXX=$reload_cmds
17925 no_undefined_flag_CXX=
17926 whole_archive_flag_spec_CXX=
17927 enable_shared_with_static_runtimes_CXX=no
17929 # Source file extension for C++ test sources.
17932 # Object file extension for compiled C++ test sources.
17936 # No sense in running all these tests if we already determined that
17937 # the CXX compiler isn't working. Some variables (like enable_shared)
17938 # are currently assumed to apply to all compilers on this platform,
17939 # and will be corrupted by setting them based on a non-working compiler.
17940 if test "$_lt_caught_CXX_error" != yes; then
17941 # Code to be used in simple compile tests
17942 lt_simple_compile_test_code="int some_variable = 0;"
17944 # Code to be used in simple link tests
17945 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
17947 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17954 # If no C compiler was specified, use CC.
17957 # If no C compiler flags were specified, use CFLAGS.
17958 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17960 # Allow CC to be a program name with arguments.
17964 # save warnings/boilerplate of simple test code
17965 ac_outfile=conftest.$ac_objext
17966 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17967 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17968 _lt_compiler_boilerplate=`cat conftest.err`
17971 ac_outfile=conftest.$ac_objext
17972 echo "$lt_simple_link_test_code" >conftest.$ac_ext
17973 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17974 _lt_linker_boilerplate=`cat conftest.err`
17978 # Allow CC to be a program name with arguments.
17980 lt_save_CFLAGS=$CFLAGS
17984 lt_save_with_gnu_ld=$with_gnu_ld
17985 lt_save_path_LD=$lt_cv_path_LD
17986 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
17987 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
17989 $as_unset lt_cv_prog_gnu_ld
17991 if test -n "${lt_cv_path_LDCXX+set}"; then
17992 lt_cv_path_LD=$lt_cv_path_LDCXX
17994 $as_unset lt_cv_path_LD
17996 test -z "${LDCXX+set}" || LD=$LDCXX
18001 for cc_temp in $compiler""; do
18003 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18004 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18009 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18012 if test -n "$compiler"; then
18013 # We don't want -fno-exception when compiling C++ code, so set the
18014 # no_builtin_flag separately
18015 if test "$GXX" = yes; then
18016 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18018 lt_prog_compiler_no_builtin_flag_CXX=
18021 if test "$GXX" = yes; then
18022 # Set up default GNU C++ configuration
18026 # Check whether --with-gnu-ld was given.
18027 if test "${with_gnu_ld+set}" = set; then :
18028 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18034 if test "$GCC" = yes; then
18035 # Check if gcc -print-prog-name=ld gives a path.
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
18037 $as_echo_n "checking for ld used by $CC... " >&6; }
18040 # gcc leaves a trailing carriage return which upsets mingw
18041 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18043 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18046 # Accept absolute paths.
18048 re_direlt='/[^/][^/]*/\.\./'
18049 # Canonicalize the pathname of ld
18050 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18051 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18052 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18054 test -z "$LD" && LD="$ac_prog"
18057 # If it fails, then pretend we aren't using GCC.
18061 # If it is relative, then search for the first ld in PATH.
18062 with_gnu_ld=unknown
18065 elif test "$with_gnu_ld" = yes; then
18066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
18067 $as_echo_n "checking for GNU ld... " >&6; }
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
18070 $as_echo_n "checking for non-GNU ld... " >&6; }
18072 if ${lt_cv_path_LD+:} false; then :
18073 $as_echo_n "(cached) " >&6
18075 if test -z "$LD"; then
18076 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18077 for ac_dir in $PATH; do
18079 test -z "$ac_dir" && ac_dir=.
18080 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18081 lt_cv_path_LD="$ac_dir/$ac_prog"
18082 # Check to see if the program is GNU ld. I'd rather use --version,
18083 # but apparently some variants of GNU ld only accept -v.
18084 # Break only if it was the GNU/non-GNU ld that we prefer.
18085 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18086 *GNU* | *'with BFD'*)
18087 test "$with_gnu_ld" != no && break
18090 test "$with_gnu_ld" != yes && break
18097 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18101 LD="$lt_cv_path_LD"
18102 if test -n "$LD"; then
18103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
18104 $as_echo "$LD" >&6; }
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18107 $as_echo "no" >&6; }
18109 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
18111 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18112 if ${lt_cv_prog_gnu_ld+:} false; then :
18113 $as_echo_n "(cached) " >&6
18115 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18116 case `$LD -v 2>&1 </dev/null` in
18117 *GNU* | *'with BFD'*)
18118 lt_cv_prog_gnu_ld=yes
18121 lt_cv_prog_gnu_ld=no
18125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
18126 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
18127 with_gnu_ld=$lt_cv_prog_gnu_ld
18135 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18136 # archiving commands below assume that GNU ld is being used.
18137 if test "$with_gnu_ld" = yes; then
18138 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18139 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'
18141 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18142 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18144 # If archive_cmds runs LD, not CC, wlarc should be empty
18145 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18146 # investigate it a little bit more. (MM)
18149 # ancient GNU ld didn't support --whole-archive et. al.
18150 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
18151 $GREP 'no-whole-archive' > /dev/null; then
18152 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18154 whole_archive_flag_spec_CXX=
18160 # A generic and very simple default shared library creation
18161 # command for GNU C++ for the case where it uses the native
18162 # linker, instead of GNU ld. If possible, this setting should
18163 # overridden to take advantage of the native linker features on
18164 # the platform it is being used on.
18165 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18168 # Commands to make compiler produce verbose output that lists
18169 # what "hidden" libraries, object files and flags are used when
18170 # linking a shared library.
18171 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
18179 # PORTME: fill in a description of your system's C++ link characteristics
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18181 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18185 # FIXME: insert proper C++ library support
18189 if test "$host_cpu" = ia64; then
18190 # On IA64, the linker does run time linking by default, so we don't
18191 # have to do anything special.
18192 aix_use_runtimelinking=no
18193 exp_sym_flag='-Bexport'
18196 aix_use_runtimelinking=no
18198 # Test if we are trying to use run time linking or normal
18199 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18200 # need to do runtime linking.
18201 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18202 for ld_flag in $LDFLAGS; do
18205 aix_use_runtimelinking=yes
18213 exp_sym_flag='-bexport'
18214 no_entry_flag='-bnoentry'
18217 # When large executables or shared objects are built, AIX ld can
18218 # have problems creating the table of contents. If linking a library
18219 # or program results in "error TOC overflow" add -mminimal-toc to
18220 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18221 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18223 archive_cmds_CXX=''
18224 hardcode_direct_CXX=yes
18225 hardcode_direct_absolute_CXX=yes
18226 hardcode_libdir_separator_CXX=':'
18227 link_all_deplibs_CXX=yes
18228 file_list_spec_CXX='${wl}-f,'
18230 if test "$GXX" = yes; then
18231 case $host_os in aix4.[012]|aix4.[012].*)
18232 # We only want to do this on AIX 4.2 and lower, the check
18233 # below for broken collect2 doesn't work under 4.3+
18234 collect2name=`${CC} -print-prog-name=collect2`
18235 if test -f "$collect2name" &&
18236 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
18238 # We have reworked collect2
18241 # We have old collect2
18242 hardcode_direct_CXX=unsupported
18243 # It fails to find uninstalled libraries when the uninstalled
18244 # path is not listed in the libpath. Setting hardcode_minus_L
18245 # to unsupported forces relinking
18246 hardcode_minus_L_CXX=yes
18247 hardcode_libdir_flag_spec_CXX='-L$libdir'
18248 hardcode_libdir_separator_CXX=
18251 shared_flag='-shared'
18252 if test "$aix_use_runtimelinking" = yes; then
18253 shared_flag="$shared_flag "'${wl}-G'
18257 if test "$host_cpu" = ia64; then
18258 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18259 # chokes on -Wl,-G. The following line is correct:
18262 if test "$aix_use_runtimelinking" = yes; then
18263 shared_flag='${wl}-G'
18265 shared_flag='${wl}-bM:SRE'
18270 export_dynamic_flag_spec_CXX='${wl}-bexpall'
18271 # It seems that -bexpall does not export symbols beginning with
18272 # underscore (_), so it is better to generate a list of symbols to
18274 always_export_symbols_CXX=yes
18275 if test "$aix_use_runtimelinking" = yes; then
18276 # Warning - without using the other runtime loading flags (-brtl),
18277 # -berok will link without error, but may produce a broken library.
18278 allow_undefined_flag_CXX='-berok'
18279 # Determine the default libpath from the value encoded in an empty
18281 if test "${lt_cv_aix_libpath+set}" = set; then
18282 aix_libpath=$lt_cv_aix_libpath
18284 if ${lt_cv_aix_libpath__CXX+:} false; then :
18285 $as_echo_n "(cached) " >&6
18287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18288 /* end confdefs.h. */
18298 if ac_fn_cxx_try_link "$LINENO"; then :
18300 lt_aix_libpath_sed='
18301 /Import File Strings/,/^$/ {
18303 s/^0 *\([^ ]*\) *$/\1/
18307 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18308 # Check for a 64-bit object if we didn't find anything.
18309 if test -z "$lt_cv_aix_libpath__CXX"; then
18310 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18313 rm -f core conftest.err conftest.$ac_objext \
18314 conftest$ac_exeext conftest.$ac_ext
18315 if test -z "$lt_cv_aix_libpath__CXX"; then
18316 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
18321 aix_libpath=$lt_cv_aix_libpath__CXX
18324 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18326 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"
18328 if test "$host_cpu" = ia64; then
18329 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
18330 allow_undefined_flag_CXX="-z nodefs"
18331 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"
18333 # Determine the default libpath from the value encoded in an
18334 # empty executable.
18335 if test "${lt_cv_aix_libpath+set}" = set; then
18336 aix_libpath=$lt_cv_aix_libpath
18338 if ${lt_cv_aix_libpath__CXX+:} false; then :
18339 $as_echo_n "(cached) " >&6
18341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18342 /* end confdefs.h. */
18352 if ac_fn_cxx_try_link "$LINENO"; then :
18354 lt_aix_libpath_sed='
18355 /Import File Strings/,/^$/ {
18357 s/^0 *\([^ ]*\) *$/\1/
18361 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18362 # Check for a 64-bit object if we didn't find anything.
18363 if test -z "$lt_cv_aix_libpath__CXX"; then
18364 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18367 rm -f core conftest.err conftest.$ac_objext \
18368 conftest$ac_exeext conftest.$ac_ext
18369 if test -z "$lt_cv_aix_libpath__CXX"; then
18370 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
18375 aix_libpath=$lt_cv_aix_libpath__CXX
18378 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18379 # Warning - without using the other run time loading flags,
18380 # -berok will link without error, but may produce a broken library.
18381 no_undefined_flag_CXX=' ${wl}-bernotok'
18382 allow_undefined_flag_CXX=' ${wl}-berok'
18383 if test "$with_gnu_ld" = yes; then
18384 # We only use this code for GNU lds that support --whole-archive.
18385 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18387 # Exported symbols can be pulled into shared objects from archives
18388 whole_archive_flag_spec_CXX='$convenience'
18390 archive_cmds_need_lc_CXX=yes
18391 # This is similar to how AIX traditionally builds its shared
18393 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'
18399 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18400 allow_undefined_flag_CXX=unsupported
18401 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18402 # support --undefined. This deserves some investigation. FIXME
18403 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18410 case $cc_basename in
18412 # FIXME: insert proper C++ library support
18418 cygwin* | mingw* | pw32* | cegcc*)
18419 case $GXX,$cc_basename in
18422 # hardcode_libdir_flag_spec is actually meaningless, as there is
18423 # no search path for DLLs.
18424 hardcode_libdir_flag_spec_CXX=' '
18425 allow_undefined_flag_CXX=unsupported
18426 always_export_symbols_CXX=yes
18427 file_list_spec_CXX='@'
18428 # Tell ltmain to make .lib files, not .a files.
18430 # Tell ltmain to make .dll files, not .so files.
18432 # FIXME: Setting linknames here is a bad hack.
18433 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
18434 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18435 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
18437 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
18439 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
18441 # The linker will not automatically build a static lib if we build a DLL.
18442 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
18443 enable_shared_with_static_runtimes_CXX=yes
18445 old_postinstall_cmds_CXX='chmod 644 $oldlib'
18446 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
18447 lt_tool_outputfile="@TOOL_OUTPUT@"~
18448 case $lt_outputfile in
18451 lt_outputfile="$lt_outputfile.exe"
18452 lt_tool_outputfile="$lt_tool_outputfile.exe"
18455 func_to_tool_file "$lt_outputfile"~
18456 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
18457 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
18458 $RM "$lt_outputfile.manifest";
18463 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18464 # as there is no search path for DLLs.
18465 hardcode_libdir_flag_spec_CXX='-L$libdir'
18466 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
18467 allow_undefined_flag_CXX=unsupported
18468 always_export_symbols_CXX=no
18469 enable_shared_with_static_runtimes_CXX=yes
18471 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
18472 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'
18473 # If the export-symbols file already is a .def file (1st line
18474 # is EXPORTS), use it as is; otherwise, prepend...
18475 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18476 cp $export_symbols $output_objdir/$soname.def;
18478 echo EXPORTS > $output_objdir/$soname.def;
18479 cat $export_symbols >> $output_objdir/$soname.def;
18481 $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'
18488 darwin* | rhapsody*)
18491 archive_cmds_need_lc_CXX=no
18492 hardcode_direct_CXX=no
18493 hardcode_automatic_CXX=yes
18494 hardcode_shlibpath_var_CXX=unsupported
18495 if test "$lt_cv_ld_force_load" = "yes"; then
18496 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\"`'
18499 whole_archive_flag_spec_CXX=''
18501 link_all_deplibs_CXX=yes
18502 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
18503 case $cc_basename in
18504 ifort*) _lt_dar_can_shared=yes ;;
18505 *) _lt_dar_can_shared=$GCC ;;
18507 if test "$_lt_dar_can_shared" = "yes"; then
18508 output_verbose_link_cmd=func_echo_all
18509 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}"
18510 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18511 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}"
18512 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}"
18513 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
18514 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}"
18515 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}"
18525 case $cc_basename in
18527 # FIXME: insert proper C++ library support
18531 # Green Hills C++ Compiler
18532 # FIXME: insert proper C++ library support
18536 # FIXME: insert proper C++ library support
18543 # C++ shared libraries reported to be fairly broken before
18549 archive_cmds_need_lc_CXX=no
18552 freebsd* | dragonfly*)
18553 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18562 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18563 link_all_deplibs_CXX=yes
18567 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18568 hardcode_libdir_separator_CXX=:
18569 export_dynamic_flag_spec_CXX='${wl}-E'
18570 hardcode_direct_CXX=yes
18571 hardcode_minus_L_CXX=yes # Not in the search PATH,
18572 # but as the default
18573 # location of the library.
18575 case $cc_basename in
18577 # FIXME: insert proper C++ library support
18581 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'
18582 # Commands to make compiler produce verbose output that lists
18583 # what "hidden" libraries, object files and flags are used when
18584 # linking a shared library.
18586 # There doesn't appear to be a way to prevent this compiler from
18587 # explicitly linking system object files so we need to strip them
18588 # from the output so that they don't get included in the library
18590 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"'
18593 if test "$GXX" = yes; then
18594 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'
18596 # FIXME: insert proper C++ library support
18604 if test $with_gnu_ld = no; then
18605 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18606 hardcode_libdir_separator_CXX=:
18612 export_dynamic_flag_spec_CXX='${wl}-E'
18618 hardcode_direct_CXX=no
18619 hardcode_shlibpath_var_CXX=no
18622 hardcode_direct_CXX=yes
18623 hardcode_direct_absolute_CXX=yes
18624 hardcode_minus_L_CXX=yes # Not in the search PATH,
18625 # but as the default
18626 # location of the library.
18630 case $cc_basename in
18632 # FIXME: insert proper C++ library support
18638 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18641 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18644 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18647 # Commands to make compiler produce verbose output that lists
18648 # what "hidden" libraries, object files and flags are used when
18649 # linking a shared library.
18651 # There doesn't appear to be a way to prevent this compiler from
18652 # explicitly linking system object files so we need to strip them
18653 # from the output so that they don't get included in the library
18655 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"'
18658 if test "$GXX" = yes; then
18659 if test $with_gnu_ld = no; then
18662 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18665 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18668 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'
18673 # FIXME: insert proper C++ library support
18681 hardcode_direct_CXX=no
18682 hardcode_shlibpath_var_CXX=no
18683 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18684 export_dynamic_flag_spec_CXX='${wl}-E'
18685 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18686 # Instead, shared libraries are loaded at an image base (0x10000000 by
18687 # default) and relocated if they conflict, which is a slow very memory
18688 # consuming and fragmenting process. To avoid this, we pick a random,
18689 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18690 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18691 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'
18692 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'
18695 case $cc_basename in
18698 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'
18700 # Archives containing C++ object files must be created using
18701 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18702 # necessary to make sure instantiated templates are included
18704 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18707 if test "$GXX" = yes; then
18708 if test "$with_gnu_ld" = no; then
18709 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'
18711 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'
18714 link_all_deplibs_CXX=yes
18717 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18718 hardcode_libdir_separator_CXX=:
18719 inherit_rpath_CXX=yes
18722 linux* | k*bsd*-gnu | kopensolaris*-gnu)
18723 case $cc_basename in
18725 # Kuck and Associates, Inc. (KAI) C++ Compiler
18727 # KCC will only create a shared library if the output file
18728 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18729 # to its proper name (with version) after linking.
18730 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'
18731 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'
18732 # Commands to make compiler produce verbose output that lists
18733 # what "hidden" libraries, object files and flags are used when
18734 # linking a shared library.
18736 # There doesn't appear to be a way to prevent this compiler from
18737 # explicitly linking system object files so we need to strip them
18738 # from the output so that they don't get included in the library
18740 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"'
18742 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18743 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18745 # Archives containing C++ object files must be created using
18746 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18747 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18752 # version 8.0 and above of icpc choke on multiply defined symbols
18753 # if we add $predep_objects and $postdep_objects, however 7.1 and
18754 # earlier do not add the objects themselves.
18755 case `$CC -V 2>&1` in
18757 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18758 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'
18760 *) # Version 8.0 or newer
18763 ia64*) tmp_idyn=' -i_dynamic';;
18765 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18766 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'
18769 archive_cmds_need_lc_CXX=no
18770 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18771 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18772 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18775 # Portland Group C++ compiler
18777 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
18778 prelink_cmds_CXX='tpldir=Template.dir~
18780 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
18781 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
18782 old_archive_cmds_CXX='tpldir=Template.dir~
18784 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
18785 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
18787 archive_cmds_CXX='tpldir=Template.dir~
18789 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18790 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18791 archive_expsym_cmds_CXX='tpldir=Template.dir~
18793 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18794 $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'
18796 *) # Version 6 and above use weak symbols
18797 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18798 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'
18802 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18803 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18804 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'
18808 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18809 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'
18811 runpath_var=LD_RUN_PATH
18812 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18813 hardcode_libdir_separator_CXX=:
18815 # Commands to make compiler produce verbose output that lists
18816 # what "hidden" libraries, object files and flags are used when
18817 # linking a shared library.
18819 # There doesn't appear to be a way to prevent this compiler from
18820 # explicitly linking system object files so we need to strip them
18821 # from the output so that they don't get included in the library
18823 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'
18825 xl* | mpixl* | bgxl*)
18826 # IBM XL 8.0 on PPC, with GNU ld
18827 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18828 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18829 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18830 if test "x$supports_anon_versioning" = xyes; then
18831 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
18832 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18833 echo "local: *; };" >> $output_objdir/$libname.ver~
18834 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18838 case `$CC -V 2>&1 | sed 5q` in
18841 no_undefined_flag_CXX=' -zdefs'
18842 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18843 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'
18844 hardcode_libdir_flag_spec_CXX='-R$libdir'
18845 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'
18846 compiler_needs_object_CXX=yes
18848 # Not sure whether something based on
18849 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
18851 output_verbose_link_cmd='func_echo_all'
18853 # Archives containing C++ object files must be created using
18854 # "CC -xar", where "CC" is the Sun C++ compiler. This is
18855 # necessary to make sure instantiated templates are included
18857 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18865 # FIXME: insert proper C++ library support
18870 # FIXME: insert proper C++ library support
18875 case $cc_basename in
18877 # FIXME: insert proper C++ library support
18881 # FIXME: insert proper C++ library support
18888 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18889 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18891 hardcode_libdir_flag_spec_CXX='-R$libdir'
18892 hardcode_direct_CXX=yes
18893 hardcode_shlibpath_var_CXX=no
18895 # Workaround some broken pre-1.5 toolchains
18896 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18904 # C++ shared libraries are fairly broken
18909 if test -f /usr/libexec/ld.so; then
18910 hardcode_direct_CXX=yes
18911 hardcode_shlibpath_var_CXX=no
18912 hardcode_direct_absolute_CXX=yes
18913 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18914 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18915 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18916 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18917 export_dynamic_flag_spec_CXX='${wl}-E'
18918 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18920 output_verbose_link_cmd=func_echo_all
18926 osf3* | osf4* | osf5*)
18927 case $cc_basename in
18929 # Kuck and Associates, Inc. (KAI) C++ Compiler
18931 # KCC will only create a shared library if the output file
18932 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18933 # to its proper name (with version) after linking.
18934 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'
18936 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18937 hardcode_libdir_separator_CXX=:
18939 # Archives containing C++ object files must be created using
18940 # the KAI C++ compiler.
18942 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
18943 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
18947 # Rational C++ 2.4.1
18948 # FIXME: insert proper C++ library support
18954 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18955 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'
18956 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18959 allow_undefined_flag_CXX=' -expect_unresolved \*'
18960 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'
18961 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18962 echo "-hidden">> $lib.exp~
18963 $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~
18965 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18969 hardcode_libdir_separator_CXX=:
18971 # Commands to make compiler produce verbose output that lists
18972 # what "hidden" libraries, object files and flags are used when
18973 # linking a shared library.
18975 # There doesn't appear to be a way to prevent this compiler from
18976 # explicitly linking system object files so we need to strip them
18977 # from the output so that they don't get included in the library
18979 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"'
18982 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18983 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18986 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'
18989 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'
18993 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18994 hardcode_libdir_separator_CXX=:
18996 # Commands to make compiler produce verbose output that lists
18997 # what "hidden" libraries, object files and flags are used when
18998 # linking a shared library.
18999 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19002 # FIXME: insert proper C++ library support
19010 # FIXME: insert proper C++ library support
19015 case $cc_basename in
19018 # FIXME: insert proper C++ library support
19023 # FIXME: insert proper C++ library support
19027 # FIXME: insert proper C++ library support
19034 case $cc_basename in
19036 # Sun C++ 4.2, 5.x and Centerline C++
19037 archive_cmds_need_lc_CXX=yes
19038 no_undefined_flag_CXX=' -zdefs'
19039 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19040 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19041 $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'
19043 hardcode_libdir_flag_spec_CXX='-R$libdir'
19044 hardcode_shlibpath_var_CXX=no
19046 solaris2.[0-5] | solaris2.[0-5].*) ;;
19048 # The compiler driver will combine and reorder linker options,
19049 # but understands `-z linker_flag'.
19050 # Supported since Solaris 2.6 (maybe 2.5.1?)
19051 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
19054 link_all_deplibs_CXX=yes
19056 output_verbose_link_cmd='func_echo_all'
19058 # Archives containing C++ object files must be created using
19059 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19060 # necessary to make sure instantiated templates are included
19062 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19065 # Green Hills C++ Compiler
19066 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19068 # The C++ compiler must be used to create the archive.
19069 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19072 # GNU C++ compiler with Solaris linker
19073 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19074 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
19075 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
19076 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19077 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19078 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19080 # Commands to make compiler produce verbose output that lists
19081 # what "hidden" libraries, object files and flags are used when
19082 # linking a shared library.
19083 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19085 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19087 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19088 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19089 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19091 # Commands to make compiler produce verbose output that lists
19092 # what "hidden" libraries, object files and flags are used when
19093 # linking a shared library.
19094 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19097 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
19099 solaris2.[0-5] | solaris2.[0-5].*) ;;
19101 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19109 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19110 no_undefined_flag_CXX='${wl}-z,text'
19111 archive_cmds_need_lc_CXX=no
19112 hardcode_shlibpath_var_CXX=no
19113 runpath_var='LD_RUN_PATH'
19115 case $cc_basename in
19117 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19118 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19121 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19122 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19127 sysv5* | sco3.2v5* | sco5v6*)
19128 # Note: We can NOT use -z defs as we might desire, because we do not
19129 # link with -lc, and that would cause any symbols used from libc to
19130 # always be unresolved, which means just about no library would
19131 # ever link correctly. If we're not using GNU ld we use -z text
19132 # though, which does catch some bad symbols but isn't as heavy-handed
19134 no_undefined_flag_CXX='${wl}-z,text'
19135 allow_undefined_flag_CXX='${wl}-z,nodefs'
19136 archive_cmds_need_lc_CXX=no
19137 hardcode_shlibpath_var_CXX=no
19138 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
19139 hardcode_libdir_separator_CXX=':'
19140 link_all_deplibs_CXX=yes
19141 export_dynamic_flag_spec_CXX='${wl}-Bexport'
19142 runpath_var='LD_RUN_PATH'
19144 case $cc_basename in
19146 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19147 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19148 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
19149 '"$old_archive_cmds_CXX"
19150 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
19151 '"$reload_cmds_CXX"
19154 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19155 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19161 case $cc_basename in
19163 # NonStop-UX NCC 3.20
19164 # FIXME: insert proper C++ library support
19168 # FIXME: insert proper C++ library support
19175 # FIXME: insert proper C++ library support
19180 # FIXME: insert proper C++ library support
19185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
19186 $as_echo "$ld_shlibs_CXX" >&6; }
19187 test "$ld_shlibs_CXX" = no && can_build_shared=no
19193 ## There is no encapsulation within the following macros, do not change
19194 ## the running order or otherwise move them around unless you know exactly
19195 ## what you are doing...
19196 # Dependencies to place before and after the object being linked:
19197 predep_objects_CXX=
19198 postdep_objects_CXX=
19201 compiler_lib_search_path_CXX=
19203 cat > conftest.$ac_ext <<_LT_EOF
19207 Foo (void) { a = 0; }
19214 _lt_libdeps_save_CFLAGS=$CFLAGS
19215 case "$CC $CFLAGS " in #(
19216 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
19217 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
19218 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
19221 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19222 (eval $ac_compile) 2>&5
19224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19225 test $ac_status = 0; }; then
19226 # Parse the compiler output and extract the necessary
19227 # objects, libraries and library flags.
19229 # Sentinel used to keep track of whether or not we are before
19230 # the conftest object file.
19231 pre_test_object_deps_done=no
19233 for p in `eval "$output_verbose_link_cmd"`; do
19234 case ${prev}${p} in
19237 # Some compilers place space between "-{L,R}" and the path.
19238 # Remove the space.
19239 if test $p = "-L" ||
19240 test $p = "-R"; then
19245 # Expand the sysroot to ease extracting the directories later.
19246 if test -z "$prev"; then
19248 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
19249 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
19250 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
19254 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
19256 if test "$pre_test_object_deps_done" = no; then
19259 # Internal compiler library paths should come after those
19260 # provided the user. The postdeps already come after the
19261 # user supplied libs so there is no need to process them.
19262 if test -z "$compiler_lib_search_path_CXX"; then
19263 compiler_lib_search_path_CXX="${prev}${p}"
19265 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
19268 # The "-l" case would never come before the object being
19269 # linked, so don't bother handling this case.
19272 if test -z "$postdeps_CXX"; then
19273 postdeps_CXX="${prev}${p}"
19275 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
19281 *.lto.$objext) ;; # Ignore GCC LTO objects
19283 # This assumes that the test object file only shows up
19284 # once in the compiler output.
19285 if test "$p" = "conftest.$objext"; then
19286 pre_test_object_deps_done=yes
19290 if test "$pre_test_object_deps_done" = no; then
19291 if test -z "$predep_objects_CXX"; then
19292 predep_objects_CXX="$p"
19294 predep_objects_CXX="$predep_objects_CXX $p"
19297 if test -z "$postdep_objects_CXX"; then
19298 postdep_objects_CXX="$p"
19300 postdep_objects_CXX="$postdep_objects_CXX $p"
19305 *) ;; # Ignore the rest.
19313 echo "libtool.m4: error: problem compiling CXX test program"
19316 $RM -f confest.$objext
19317 CFLAGS=$_lt_libdeps_save_CFLAGS
19319 # PORTME: override above test on systems where it is broken
19322 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19323 # hack all around it, let's just trust "g++" to DTRT.
19324 predep_objects_CXX=
19325 postdep_objects_CXX=
19330 case `$CC -V 2>&1 | sed 5q` in
19334 # The more standards-conforming stlport4 library is
19335 # incompatible with the Cstd library. Avoid specifying
19336 # it if it's in CXXFLAGS. Ignore libCrun as
19337 # -library=stlport4 depends on it.
19338 case " $CXX $CXXFLAGS " in
19339 *" -library=stlport4 "*)
19340 solaris_use_stlport4=yes
19344 if test "$solaris_use_stlport4" != yes; then
19345 postdeps_CXX='-library=Cstd -library=Crun'
19352 case $cc_basename in
19354 # The more standards-conforming stlport4 library is
19355 # incompatible with the Cstd library. Avoid specifying
19356 # it if it's in CXXFLAGS. Ignore libCrun as
19357 # -library=stlport4 depends on it.
19358 case " $CXX $CXXFLAGS " in
19359 *" -library=stlport4 "*)
19360 solaris_use_stlport4=yes
19364 # Adding this requires a known-good setup of shared libraries for
19365 # Sun compiler versions before 5.6, else PIC objects from an old
19366 # archive will be linked into the output, leading to subtle bugs.
19367 if test "$solaris_use_stlport4" != yes; then
19368 postdeps_CXX='-library=Cstd -library=Crun'
19376 case " $postdeps_CXX " in
19377 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
19379 compiler_lib_search_dirs_CXX=
19380 if test -n "${compiler_lib_search_path_CXX}"; then
19381 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
19414 lt_prog_compiler_wl_CXX=
19415 lt_prog_compiler_pic_CXX=
19416 lt_prog_compiler_static_CXX=
19419 # C++ specific cases for pic, static, wl, etc.
19420 if test "$GXX" = yes; then
19421 lt_prog_compiler_wl_CXX='-Wl,'
19422 lt_prog_compiler_static_CXX='-static'
19426 # All AIX code is PIC.
19427 if test "$host_cpu" = ia64; then
19428 # AIX 5 now supports IA64 processor
19429 lt_prog_compiler_static_CXX='-Bstatic'
19436 # see comment about AmigaOS4 .so support
19437 lt_prog_compiler_pic_CXX='-fPIC'
19440 # FIXME: we need at least 68020 code to build shared libraries, but
19441 # adding the `-m68020' flag to GCC prevents building anything better,
19443 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
19448 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19449 # PIC is the default for these OSes.
19451 mingw* | cygwin* | os2* | pw32* | cegcc*)
19452 # This hack is so that the source file can tell whether it is being
19453 # built for inclusion in a dll (and should export symbols for example).
19454 # Although the cygwin gcc ignores -fPIC, still need this for old-style
19455 # (--disable-auto-import) libraries
19456 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19458 darwin* | rhapsody*)
19459 # PIC is the default on this platform
19460 # Common symbols not allowed in MH_DYLIB files
19461 lt_prog_compiler_pic_CXX='-fno-common'
19464 # DJGPP does not support shared libraries at all
19465 lt_prog_compiler_pic_CXX=
19468 # PIC is the default for Haiku.
19469 # The "-static" flag exists, but is broken.
19470 lt_prog_compiler_static_CXX=
19473 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19474 # Instead, we relocate shared libraries at runtime.
19477 if test -d /usr/nec; then
19478 lt_prog_compiler_pic_CXX=-Kconform_pic
19482 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
19483 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
19484 # sets the default TLS model and affects inlining.
19489 lt_prog_compiler_pic_CXX='-fPIC'
19494 # QNX uses GNU C++, but need to define -shared option too, otherwise
19495 # it will coredump.
19496 lt_prog_compiler_pic_CXX='-fPIC -shared'
19499 lt_prog_compiler_pic_CXX='-fPIC'
19505 # All AIX code is PIC.
19506 if test "$host_cpu" = ia64; then
19507 # AIX 5 now supports IA64 processor
19508 lt_prog_compiler_static_CXX='-Bstatic'
19510 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
19514 case $cc_basename in
19516 # Green Hills C++ Compiler
19517 # _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"
19521 mingw* | cygwin* | os2* | pw32* | cegcc*)
19522 # This hack is so that the source file can tell whether it is being
19523 # built for inclusion in a dll (and should export symbols for example).
19524 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19527 case $cc_basename in
19529 lt_prog_compiler_pic_CXX='-KPIC'
19532 # Green Hills C++ Compiler
19533 lt_prog_compiler_pic_CXX='-pic'
19539 freebsd* | dragonfly*)
19540 # FreeBSD uses GNU C++
19542 hpux9* | hpux10* | hpux11*)
19543 case $cc_basename in
19545 lt_prog_compiler_wl_CXX='-Wl,'
19546 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19547 if test "$host_cpu" != ia64; then
19548 lt_prog_compiler_pic_CXX='+Z'
19552 lt_prog_compiler_wl_CXX='-Wl,'
19553 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19559 lt_prog_compiler_pic_CXX='+Z'
19568 # This is c89, which is MS Visual C++ (no shared libs)
19569 # Anyone wants to do a port?
19571 irix5* | irix6* | nonstopux*)
19572 case $cc_basename in
19574 lt_prog_compiler_wl_CXX='-Wl,'
19575 lt_prog_compiler_static_CXX='-non_shared'
19576 # CC pic flag -KPIC is the default.
19582 linux* | k*bsd*-gnu | kopensolaris*-gnu)
19583 case $cc_basename in
19586 lt_prog_compiler_wl_CXX='--backend -Wl,'
19587 lt_prog_compiler_pic_CXX='-fPIC'
19590 # old Intel C++ for x86_64 which still supported -KPIC.
19591 lt_prog_compiler_wl_CXX='-Wl,'
19592 lt_prog_compiler_pic_CXX='-KPIC'
19593 lt_prog_compiler_static_CXX='-static'
19596 # Intel C++, used to be incompatible with GCC.
19597 # ICC 10 doesn't accept -KPIC any more.
19598 lt_prog_compiler_wl_CXX='-Wl,'
19599 lt_prog_compiler_pic_CXX='-fPIC'
19600 lt_prog_compiler_static_CXX='-static'
19603 # Portland Group C++ compiler
19604 lt_prog_compiler_wl_CXX='-Wl,'
19605 lt_prog_compiler_pic_CXX='-fpic'
19606 lt_prog_compiler_static_CXX='-Bstatic'
19610 # Make sure the PIC flag is empty. It appears that all Alpha
19611 # Linux and Compaq Tru64 Unix objects are PIC.
19612 lt_prog_compiler_pic_CXX=
19613 lt_prog_compiler_static_CXX='-non_shared'
19615 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
19616 # IBM XL 8.0, 9.0 on PPC and BlueGene
19617 lt_prog_compiler_wl_CXX='-Wl,'
19618 lt_prog_compiler_pic_CXX='-qpic'
19619 lt_prog_compiler_static_CXX='-qstaticlink'
19622 case `$CC -V 2>&1 | sed 5q` in
19625 lt_prog_compiler_pic_CXX='-KPIC'
19626 lt_prog_compiler_static_CXX='-Bstatic'
19627 lt_prog_compiler_wl_CXX='-Qoption ld '
19638 case $cc_basename in
19640 lt_prog_compiler_pic_CXX='-W c,exportall'
19646 netbsd* | netbsdelf*-gnu)
19649 # QNX uses GNU C++, but need to define -shared option too, otherwise
19650 # it will coredump.
19651 lt_prog_compiler_pic_CXX='-fPIC -shared'
19653 osf3* | osf4* | osf5*)
19654 case $cc_basename in
19656 lt_prog_compiler_wl_CXX='--backend -Wl,'
19659 # Rational C++ 2.4.1
19660 lt_prog_compiler_pic_CXX='-pic'
19663 # Digital/Compaq C++
19664 lt_prog_compiler_wl_CXX='-Wl,'
19665 # Make sure the PIC flag is empty. It appears that all Alpha
19666 # Linux and Compaq Tru64 Unix objects are PIC.
19667 lt_prog_compiler_pic_CXX=
19668 lt_prog_compiler_static_CXX='-non_shared'
19677 case $cc_basename in
19679 # Sun C++ 4.2, 5.x and Centerline C++
19680 lt_prog_compiler_pic_CXX='-KPIC'
19681 lt_prog_compiler_static_CXX='-Bstatic'
19682 lt_prog_compiler_wl_CXX='-Qoption ld '
19685 # Green Hills C++ Compiler
19686 lt_prog_compiler_pic_CXX='-PIC'
19693 case $cc_basename in
19696 lt_prog_compiler_pic_CXX='-pic'
19697 lt_prog_compiler_static_CXX='-Bstatic'
19701 lt_prog_compiler_pic_CXX='-pic'
19707 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19708 case $cc_basename in
19710 lt_prog_compiler_wl_CXX='-Wl,'
19711 lt_prog_compiler_pic_CXX='-KPIC'
19712 lt_prog_compiler_static_CXX='-Bstatic'
19717 case $cc_basename in
19719 # NonStop-UX NCC 3.20
19720 lt_prog_compiler_pic_CXX='-KPIC'
19729 lt_prog_compiler_can_build_shared_CXX=no
19735 # For platforms which do not support PIC, -DPIC is meaningless:
19737 lt_prog_compiler_pic_CXX=
19740 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
19745 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
19746 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
19747 $as_echo_n "(cached) " >&6
19749 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
19752 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
19753 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
19756 # Check to make sure the PIC flag actually works.
19758 if test -n "$lt_prog_compiler_pic_CXX"; then
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19760 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
19761 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
19762 $as_echo_n "(cached) " >&6
19764 lt_cv_prog_compiler_pic_works_CXX=no
19765 ac_outfile=conftest.$ac_objext
19766 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19767 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19768 # Insert the option either (1) after the last *FLAGS variable, or
19769 # (2) before a word containing "conftest.", or (3) at the end.
19770 # Note that $ac_compile itself does not contain backslashes and begins
19771 # with a dollar sign (not a hyphen), so the echo should work correctly.
19772 # The option is referenced via a variable to avoid confusing sed.
19773 lt_compile=`echo "$ac_compile" | $SED \
19774 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19775 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19776 -e 's:$: $lt_compiler_flag:'`
19777 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19778 (eval "$lt_compile" 2>conftest.err)
19780 cat conftest.err >&5
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 if (exit $ac_status) && test -s "$ac_outfile"; then
19783 # The compiler can only warn and ignore the option if not recognized
19784 # So say no if there are warnings other than the usual output.
19785 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
19786 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19787 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19788 lt_cv_prog_compiler_pic_works_CXX=yes
19794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
19795 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
19797 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
19798 case $lt_prog_compiler_pic_CXX in
19800 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
19803 lt_prog_compiler_pic_CXX=
19804 lt_prog_compiler_can_build_shared_CXX=no
19814 # Check to make sure the static flag actually works.
19816 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19818 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
19819 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
19820 $as_echo_n "(cached) " >&6
19822 lt_cv_prog_compiler_static_works_CXX=no
19823 save_LDFLAGS="$LDFLAGS"
19824 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19825 echo "$lt_simple_link_test_code" > conftest.$ac_ext
19826 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19827 # The linker can only warn and ignore the option if not recognized
19828 # So say no if there are warnings
19829 if test -s conftest.err; then
19830 # Append any errors to the config.log.
19831 cat conftest.err 1>&5
19832 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
19833 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19834 if diff conftest.exp conftest.er2 >/dev/null; then
19835 lt_cv_prog_compiler_static_works_CXX=yes
19838 lt_cv_prog_compiler_static_works_CXX=yes
19842 LDFLAGS="$save_LDFLAGS"
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
19846 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
19848 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
19851 lt_prog_compiler_static_CXX=
19857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19858 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19859 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
19860 $as_echo_n "(cached) " >&6
19862 lt_cv_prog_compiler_c_o_CXX=no
19863 $RM -r conftest 2>/dev/null
19867 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19869 lt_compiler_flag="-o out/conftest2.$ac_objext"
19870 # Insert the option either (1) after the last *FLAGS variable, or
19871 # (2) before a word containing "conftest.", or (3) at the end.
19872 # Note that $ac_compile itself does not contain backslashes and begins
19873 # with a dollar sign (not a hyphen), so the echo should work correctly.
19874 lt_compile=`echo "$ac_compile" | $SED \
19875 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19876 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19877 -e 's:$: $lt_compiler_flag:'`
19878 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19879 (eval "$lt_compile" 2>out/conftest.err)
19881 cat out/conftest.err >&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19885 # The compiler can only warn and ignore the option if not recognized
19886 # So say no if there are warnings
19887 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
19888 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19889 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19890 lt_cv_prog_compiler_c_o_CXX=yes
19895 # SGI C++ compiler will create directory out/ii_files/ for
19896 # template instantiation
19897 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19898 $RM out/* && rmdir out
19904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19905 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19910 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19911 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
19912 $as_echo_n "(cached) " >&6
19914 lt_cv_prog_compiler_c_o_CXX=no
19915 $RM -r conftest 2>/dev/null
19919 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19921 lt_compiler_flag="-o out/conftest2.$ac_objext"
19922 # Insert the option either (1) after the last *FLAGS variable, or
19923 # (2) before a word containing "conftest.", or (3) at the end.
19924 # Note that $ac_compile itself does not contain backslashes and begins
19925 # with a dollar sign (not a hyphen), so the echo should work correctly.
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>out/conftest.err)
19933 cat out/conftest.err >&5
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19937 # The compiler can only warn and ignore the option if not recognized
19938 # So say no if there are warnings
19939 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
19940 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19941 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19942 lt_cv_prog_compiler_c_o_CXX=yes
19947 # SGI C++ compiler will create directory out/ii_files/ for
19948 # template instantiation
19949 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19950 $RM out/* && rmdir out
19956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19957 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19962 hard_links="nottested"
19963 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
19964 # do not overwrite the value of need_locks provided by the user
19965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
19966 $as_echo_n "checking if we can lock with hard links... " >&6; }
19969 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19971 ln conftest.a conftest.b 2>&5 || hard_links=no
19972 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
19974 $as_echo "$hard_links" >&6; }
19975 if test "$hard_links" = no; then
19976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19977 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19987 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19989 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19990 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19993 # If we're using GNU nm, then we don't want the "-C" option.
19994 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19995 # Also, AIX nm treats weak defined symbols like other global defined
19996 # symbols, whereas GNU nm marks them as "W".
19997 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
19998 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'
20000 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'
20004 export_symbols_cmds_CXX="$ltdll_cmds"
20006 cygwin* | mingw* | cegcc*)
20007 case $cc_basename in
20009 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
20012 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'
20013 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
20017 linux* | k*bsd*-gnu | gnu*)
20018 link_all_deplibs_CXX=no
20021 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
20026 $as_echo "$ld_shlibs_CXX" >&6; }
20027 test "$ld_shlibs_CXX" = no && can_build_shared=no
20029 with_gnu_ld_CXX=$with_gnu_ld
20037 # Do we need to explicitly link libc?
20039 case "x$archive_cmds_need_lc_CXX" in
20041 # Assume -lc should be added
20042 archive_cmds_need_lc_CXX=yes
20044 if test "$enable_shared" = yes && test "$GCC" = yes; then
20045 case $archive_cmds_CXX in
20047 # FIXME: we may have to deal with multi-command sequences.
20050 # Test whether the compiler implicitly links with -lc since on some
20051 # systems, -lgcc has to come before -lc. If gcc already passes -lc
20052 # to ld, don't add -lc before -lgcc.
20053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
20054 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
20055 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
20056 $as_echo_n "(cached) " >&6
20059 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
20062 (eval $ac_compile) 2>&5
20064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20065 test $ac_status = 0; } 2>conftest.err; then
20068 libobjs=conftest.$ac_objext
20070 wl=$lt_prog_compiler_wl_CXX
20071 pic_flag=$lt_prog_compiler_pic_CXX
20077 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
20078 allow_undefined_flag_CXX=
20079 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
20080 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
20082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20083 test $ac_status = 0; }
20085 lt_cv_archive_cmds_need_lc_CXX=no
20087 lt_cv_archive_cmds_need_lc_CXX=yes
20089 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
20091 cat conftest.err 1>&5
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
20097 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
20098 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
20166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
20167 $as_echo_n "checking dynamic linker characteristics... " >&6; }
20169 library_names_spec=
20170 libname_spec='lib$name'
20174 postuninstall_cmds=
20178 shlibpath_overrides_runpath=unknown
20180 dynamic_linker="$host_os ld.so"
20181 sys_lib_dlsearch_path_spec="/lib /usr/lib"
20182 need_lib_prefix=unknown
20183 hardcode_into_libs=no
20185 # when you set need_version to no, make sure it does not cause -set_version
20186 # flags to be left without arguments
20187 need_version=unknown
20191 version_type=linux # correct to gnu/linux during the next big refactor
20192 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20193 shlibpath_var=LIBPATH
20195 # AIX 3 has no versioning support, so we append a major version to the name.
20196 soname_spec='${libname}${release}${shared_ext}$major'
20200 version_type=linux # correct to gnu/linux during the next big refactor
20203 hardcode_into_libs=yes
20204 if test "$host_cpu" = ia64; then
20205 # AIX 5 supports IA64
20206 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20207 shlibpath_var=LD_LIBRARY_PATH
20209 # With GCC up to 2.95.x, collect2 would create an import file
20210 # for dependence libraries. The import file would start with
20211 # the line `#! .'. This would cause the generated library to
20212 # depend on `.', always an invalid library. This was fixed in
20213 # development snapshots of GCC prior to 3.0.
20215 aix4 | aix4.[01] | aix4.[01].*)
20216 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20218 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
20221 can_build_shared=no
20225 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20226 # soname into executable. Probably we can add versioning support to
20227 # collect2, so additional links can be useful in future.
20228 if test "$aix_use_runtimelinking" = yes; then
20229 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20230 # instead of lib<name>.a to let people know that these are not
20231 # typical AIX shared libraries.
20232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20234 # We preserve .a as extension for shared libraries through AIX4.2
20235 # and later when we are not doing run time linking.
20236 library_names_spec='${libname}${release}.a $libname.a'
20237 soname_spec='${libname}${release}${shared_ext}$major'
20239 shlibpath_var=LIBPATH
20246 # Since July 2007 AmigaOS4 officially supports .so libraries.
20247 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
20248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20251 library_names_spec='$libname.ixlibrary $libname.a'
20252 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20253 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'
20259 library_names_spec='${libname}${shared_ext}'
20260 dynamic_linker="$host_os ld.so"
20261 shlibpath_var=LIBRARY_PATH
20265 version_type=linux # correct to gnu/linux during the next big refactor
20267 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20268 soname_spec='${libname}${release}${shared_ext}$major'
20269 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20270 shlibpath_var=LD_LIBRARY_PATH
20271 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20272 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20273 # the default ld.so.conf also contains /usr/contrib/lib and
20274 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20275 # libtool to hard-code these into programs
20278 cygwin* | mingw* | pw32* | cegcc*)
20279 version_type=windows
20284 case $GCC,$cc_basename in
20287 library_names_spec='$libname.dll.a'
20288 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20289 postinstall_cmds='base_file=`basename \${file}`~
20290 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
20291 dldir=$destdir/`dirname \$dlpath`~
20292 test -d \$dldir || mkdir -p \$dldir~
20293 $install_prog $dir/$dlname \$dldir/$dlname~
20294 chmod a+x \$dldir/$dlname~
20295 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
20296 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
20298 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20299 dlpath=$dir/\$dldll~
20301 shlibpath_overrides_runpath=yes
20305 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20306 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20310 # MinGW DLLs use traditional 'lib' prefix
20311 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20314 # pw32 DLLs use 'pw' prefix rather than 'lib'
20315 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20318 dynamic_linker='Win32 ld.exe'
20323 libname_spec='$name'
20324 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20325 library_names_spec='${libname}.dll.lib'
20329 sys_lib_search_path_spec=
20332 for lt_path in $LIB
20335 # Let DOS variable expansion print the short 8.3 style file name.
20336 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
20337 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
20340 # Convert to MSYS style.
20341 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
20344 # Convert to unix form, then to dos form, then back to unix form
20345 # but this time dos style (no spaces!) so that the unix form looks
20346 # like /cygdrive/c/PROGRA~1:/cygdr...
20347 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
20348 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
20349 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20352 sys_lib_search_path_spec="$LIB"
20353 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
20354 # It is most probably a Windows format PATH.
20355 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20357 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20359 # FIXME: find the short name or the path components, as spaces are
20360 # common. (e.g. "Program Files" -> "PROGRA~1")
20364 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20365 postinstall_cmds='base_file=`basename \${file}`~
20366 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
20367 dldir=$destdir/`dirname \$dlpath`~
20368 test -d \$dldir || mkdir -p \$dldir~
20369 $install_prog $dir/$dlname \$dldir/$dlname'
20370 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20371 dlpath=$dir/\$dldll~
20373 shlibpath_overrides_runpath=yes
20374 dynamic_linker='Win32 link.exe'
20378 # Assume MSVC wrapper
20379 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20380 dynamic_linker='Win32 ld.exe'
20383 # FIXME: first we should search . and the directory the executable is in
20387 darwin* | rhapsody*)
20388 dynamic_linker="$host_os dyld"
20389 version_type=darwin
20392 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20393 soname_spec='${libname}${release}${major}$shared_ext'
20394 shlibpath_overrides_runpath=yes
20395 shlibpath_var=DYLD_LIBRARY_PATH
20396 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20398 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20402 version_type=linux # correct to gnu/linux during the next big refactor
20405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20406 soname_spec='${libname}${release}${shared_ext}$major'
20407 shlibpath_var=LD_LIBRARY_PATH
20410 freebsd* | dragonfly*)
20411 # DragonFly does not have aout. When/if they implement a new
20412 # versioning mechanism, adjust this.
20413 if test -x /usr/bin/objformat; then
20414 objformat=`/usr/bin/objformat`
20417 freebsd[23].*) objformat=aout ;;
20418 *) objformat=elf ;;
20421 version_type=freebsd-$objformat
20422 case $version_type in
20424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20429 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20433 shlibpath_var=LD_LIBRARY_PATH
20436 shlibpath_overrides_runpath=yes
20438 freebsd3.[01]* | freebsdelf3.[01]*)
20439 shlibpath_overrides_runpath=yes
20440 hardcode_into_libs=yes
20442 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20443 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20444 shlibpath_overrides_runpath=no
20445 hardcode_into_libs=yes
20447 *) # from 4.6 on, and DragonFly
20448 shlibpath_overrides_runpath=yes
20449 hardcode_into_libs=yes
20455 version_type=linux # correct to gnu/linux during the next big refactor
20458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20459 soname_spec='${libname}${release}${shared_ext}$major'
20460 shlibpath_var=LD_LIBRARY_PATH
20461 shlibpath_overrides_runpath=no
20462 hardcode_into_libs=yes
20466 version_type=linux # correct to gnu/linux during the next big refactor
20469 dynamic_linker="$host_os runtime_loader"
20470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20471 soname_spec='${libname}${release}${shared_ext}$major'
20472 shlibpath_var=LIBRARY_PATH
20473 shlibpath_overrides_runpath=yes
20474 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
20475 hardcode_into_libs=yes
20478 hpux9* | hpux10* | hpux11*)
20479 # Give a soname corresponding to the major version so that dld.sl refuses to
20480 # link against other versions.
20487 hardcode_into_libs=yes
20488 dynamic_linker="$host_os dld.so"
20489 shlibpath_var=LD_LIBRARY_PATH
20490 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20492 soname_spec='${libname}${release}${shared_ext}$major'
20493 if test "X$HPUX_IA64_MODE" = X32; then
20494 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20496 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20498 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20502 hardcode_into_libs=yes
20503 dynamic_linker="$host_os dld.sl"
20504 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20505 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20507 soname_spec='${libname}${release}${shared_ext}$major'
20508 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20509 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20513 dynamic_linker="$host_os dld.sl"
20514 shlibpath_var=SHLIB_PATH
20515 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20517 soname_spec='${libname}${release}${shared_ext}$major'
20520 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
20521 postinstall_cmds='chmod 555 $lib'
20522 # or fails outright, so override atomically:
20523 install_override_mode=555
20527 version_type=linux # correct to gnu/linux during the next big refactor
20530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20531 soname_spec='${libname}${release}${shared_ext}$major'
20532 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20533 shlibpath_var=LD_LIBRARY_PATH
20534 shlibpath_overrides_runpath=no
20535 hardcode_into_libs=yes
20538 irix5* | irix6* | nonstopux*)
20540 nonstopux*) version_type=nonstopux ;;
20542 if test "$lt_cv_prog_gnu_ld" = yes; then
20543 version_type=linux # correct to gnu/linux during the next big refactor
20550 soname_spec='${libname}${release}${shared_ext}$major'
20551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20553 irix5* | nonstopux*)
20554 libsuff= shlibsuff=
20557 case $LD in # libtool.m4 will add one of these switches to LD
20558 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20559 libsuff= shlibsuff= libmagic=32-bit;;
20560 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20561 libsuff=32 shlibsuff=N32 libmagic=N32;;
20562 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20563 libsuff=64 shlibsuff=64 libmagic=64-bit;;
20564 *) libsuff= shlibsuff= libmagic=never-match;;
20568 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20569 shlibpath_overrides_runpath=no
20570 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20571 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20572 hardcode_into_libs=yes
20575 # No shared lib support for Linux oldld, aout, or coff.
20576 linux*oldld* | linux*aout* | linux*coff*)
20580 # This must be glibc/ELF.
20581 linux* | k*bsd*-gnu | kopensolaris*-gnu)
20582 version_type=linux # correct to gnu/linux during the next big refactor
20585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20586 soname_spec='${libname}${release}${shared_ext}$major'
20587 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20588 shlibpath_var=LD_LIBRARY_PATH
20589 shlibpath_overrides_runpath=no
20591 # Some binutils ld are patched to set DT_RUNPATH
20592 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
20593 $as_echo_n "(cached) " >&6
20595 lt_cv_shlibpath_overrides_runpath=no
20596 save_LDFLAGS=$LDFLAGS
20597 save_libdir=$libdir
20598 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
20599 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
20600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20601 /* end confdefs.h. */
20611 if ac_fn_cxx_try_link "$LINENO"; then :
20612 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
20613 lt_cv_shlibpath_overrides_runpath=yes
20616 rm -f core conftest.err conftest.$ac_objext \
20617 conftest$ac_exeext conftest.$ac_ext
20618 LDFLAGS=$save_LDFLAGS
20619 libdir=$save_libdir
20623 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
20625 # This implies no fast_install, which is unacceptable.
20626 # Some rework will be needed to allow for fast_install
20627 # before this can be enabled.
20628 hardcode_into_libs=yes
20630 # Append ld.so.conf contents to the search path
20631 if test -f /etc/ld.so.conf; then
20632 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' ' '`
20633 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20636 # We used to test for /lib/ld.so.1 and disable shared libraries on
20637 # powerpc, because MkLinux only supported shared libraries with the
20638 # GNU dynamic linker. Since this was broken with cross compilers,
20639 # most powerpc-linux boxes support dynamic linking these days and
20640 # people can always --disable-shared, the test was removed, and we
20641 # assume the GNU/Linux dynamic linker is in use.
20642 dynamic_linker='GNU/Linux ld.so'
20649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20650 soname_spec='${libname}${release}${shared_ext}$major'
20651 shlibpath_var=LD_LIBRARY_PATH
20652 shlibpath_overrides_runpath=no
20653 hardcode_into_libs=yes
20654 dynamic_linker='NetBSD ld.elf_so'
20661 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
20662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20663 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20664 dynamic_linker='NetBSD (a.out) ld.so'
20666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20667 soname_spec='${libname}${release}${shared_ext}$major'
20668 dynamic_linker='NetBSD ld.elf_so'
20670 shlibpath_var=LD_LIBRARY_PATH
20671 shlibpath_overrides_runpath=yes
20672 hardcode_into_libs=yes
20676 version_type=linux # correct to gnu/linux during the next big refactor
20677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20678 shlibpath_var=LD_LIBRARY_PATH
20679 shlibpath_overrides_runpath=yes
20686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20687 soname_spec='${libname}${release}${shared_ext}$major'
20688 shlibpath_var=LD_LIBRARY_PATH
20689 shlibpath_overrides_runpath=no
20690 hardcode_into_libs=yes
20691 dynamic_linker='ldqnx.so'
20696 sys_lib_dlsearch_path_spec="/usr/lib"
20698 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20700 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20701 *) need_version=no ;;
20703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20704 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20705 shlibpath_var=LD_LIBRARY_PATH
20706 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20708 openbsd2.[89] | openbsd2.[89].*)
20709 shlibpath_overrides_runpath=no
20712 shlibpath_overrides_runpath=yes
20716 shlibpath_overrides_runpath=yes
20721 libname_spec='$name'
20724 library_names_spec='$libname${shared_ext} $libname.a'
20725 dynamic_linker='OS/2 ld.exe'
20726 shlibpath_var=LIBPATH
20729 osf3* | osf4* | osf5*)
20733 soname_spec='${libname}${release}${shared_ext}$major'
20734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20735 shlibpath_var=LD_LIBRARY_PATH
20736 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20737 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20745 version_type=linux # correct to gnu/linux during the next big refactor
20748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20749 soname_spec='${libname}${release}${shared_ext}$major'
20750 shlibpath_var=LD_LIBRARY_PATH
20751 shlibpath_overrides_runpath=yes
20752 hardcode_into_libs=yes
20753 # ldd complains unless libraries are executable
20754 postinstall_cmds='chmod +x $lib'
20759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20760 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20761 shlibpath_var=LD_LIBRARY_PATH
20762 shlibpath_overrides_runpath=yes
20763 if test "$with_gnu_ld" = yes; then
20770 version_type=linux # correct to gnu/linux during the next big refactor
20771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20772 soname_spec='${libname}${release}${shared_ext}$major'
20773 shlibpath_var=LD_LIBRARY_PATH
20774 case $host_vendor in
20776 shlibpath_overrides_runpath=no
20778 runpath_var=LD_RUN_PATH
20786 shlibpath_overrides_runpath=no
20787 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20793 if test -d /usr/nec ;then
20794 version_type=linux # correct to gnu/linux during the next big refactor
20795 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20796 soname_spec='$libname${shared_ext}.$major'
20797 shlibpath_var=LD_LIBRARY_PATH
20801 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20802 version_type=freebsd-elf
20805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20806 soname_spec='${libname}${release}${shared_ext}$major'
20807 shlibpath_var=LD_LIBRARY_PATH
20808 shlibpath_overrides_runpath=yes
20809 hardcode_into_libs=yes
20810 if test "$with_gnu_ld" = yes; then
20811 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20813 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20816 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20820 sys_lib_dlsearch_path_spec='/usr/lib'
20824 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
20825 version_type=linux # correct to gnu/linux during the next big refactor
20828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20829 shlibpath_var=LD_LIBRARY_PATH
20830 shlibpath_overrides_runpath=no
20831 hardcode_into_libs=yes
20835 version_type=linux # correct to gnu/linux during the next big refactor
20836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20837 soname_spec='${libname}${release}${shared_ext}$major'
20838 shlibpath_var=LD_LIBRARY_PATH
20845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
20846 $as_echo "$dynamic_linker" >&6; }
20847 test "$dynamic_linker" = no && can_build_shared=no
20849 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20850 if test "$GCC" = yes; then
20851 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20854 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20855 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20857 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20858 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
20899 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20900 hardcode_action_CXX=
20901 if test -n "$hardcode_libdir_flag_spec_CXX" ||
20902 test -n "$runpath_var_CXX" ||
20903 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20905 # We can hardcode non-existent directories.
20906 if test "$hardcode_direct_CXX" != no &&
20907 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20908 # have to relink, otherwise we might link with an installed library
20909 # when we should be linking with a yet-to-be-installed one
20910 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20911 test "$hardcode_minus_L_CXX" != no; then
20912 # Linking always hardcodes the temporary library directory.
20913 hardcode_action_CXX=relink
20915 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20916 hardcode_action_CXX=immediate
20919 # We cannot hardcode anything, or else we can only hardcode existing
20921 hardcode_action_CXX=unsupported
20923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
20924 $as_echo "$hardcode_action_CXX" >&6; }
20926 if test "$hardcode_action_CXX" = relink ||
20927 test "$inherit_rpath_CXX" = yes; then
20928 # Fast installation is not supported
20929 enable_fast_install=no
20930 elif test "$shlibpath_overrides_runpath" = yes ||
20931 test "$enable_shared" = no; then
20932 # Fast installation is not necessary
20933 enable_fast_install=needless
20942 fi # test -n "$compiler"
20945 CFLAGS=$lt_save_CFLAGS
20949 with_gnu_ld=$lt_save_with_gnu_ld
20950 lt_cv_path_LDCXX=$lt_cv_path_LD
20951 lt_cv_path_LD=$lt_save_path_LD
20952 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
20953 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
20954 fi # test "$_lt_caught_CXX_error" != yes
20957 ac_cpp='$CPP $CPPFLAGS'
20958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20964 ac_cpp='$CXXCPP $CPPFLAGS'
20965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20970 /* end confdefs.h. */
20971 class Foo { int bar; };
20980 if ac_fn_cxx_try_compile "$LINENO"; then :
20985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20987 ac_cpp='$CPP $CPPFLAGS'
20988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: working c++ compiler found: $working_cxx" >&5
20993 $as_echo "$as_me: working c++ compiler found: $working_cxx" >&6;}
20994 if test "x$working_cxx" = "xyes"; then
21003 # Extract the first word of "valgrind", so it can be a program name with args.
21004 set dummy valgrind; ac_word=$2
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21006 $as_echo_n "checking for $ac_word... " >&6; }
21007 if ${ac_cv_path_VALGRIND_PATH+:} false; then :
21008 $as_echo_n "(cached) " >&6
21010 case $VALGRIND_PATH in
21012 ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
21015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21016 for as_dir in $PATH
21019 test -z "$as_dir" && as_dir=.
21020 for ac_exec_ext in '' $ac_executable_extensions; do
21021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21022 ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
21023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21030 test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
21034 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
21035 if test -n "$VALGRIND_PATH"; then
21036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
21037 $as_echo "$VALGRIND_PATH" >&6; }
21039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21040 $as_echo "no" >&6; }
21044 if test ! "x$VALGRIND_PATH" = "xno"; then
21045 HAVE_VALGRIND_TRUE=
21046 HAVE_VALGRIND_FALSE='#'
21048 HAVE_VALGRIND_TRUE='#'
21049 HAVE_VALGRIND_FALSE=
21056 # Check whether --enable-introspection was given.
21057 if test "${enable_introspection+set}" = set; then :
21058 enableval=$enable_introspection;
21060 enable_introspection=auto
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
21065 $as_echo_n "checking for gobject-introspection... " >&6; }
21067 case $enable_introspection in #(
21069 found_introspection="no (disabled, use --enable-introspection to enable)"
21072 if test -n "$PKG_CONFIG" && \
21073 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
21074 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
21076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21077 test $ac_status = 0; }; then
21080 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
21082 if test -n "$PKG_CONFIG" && \
21083 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.12\""; } >&5
21084 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.12") 2>&5
21086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21087 test $ac_status = 0; }; then
21088 found_introspection=yes
21090 as_fn_error $? "You need to have gobject-introspection >= 0.9.12 installed to build GStreamer Base Plug-ins" "$LINENO" 5
21094 if test -n "$PKG_CONFIG" && \
21095 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.12\""; } >&5
21096 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.12") 2>&5
21098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21099 test $ac_status = 0; }; then
21100 found_introspection=yes
21102 found_introspection=no
21106 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
21109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
21110 $as_echo "$found_introspection" >&6; }
21112 INTROSPECTION_SCANNER=
21113 INTROSPECTION_COMPILER=
21114 INTROSPECTION_GENERATE=
21115 INTROSPECTION_GIRDIR=
21116 INTROSPECTION_TYPELIBDIR=
21117 if test "x$found_introspection" = "xyes"; then
21118 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
21119 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
21120 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
21121 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
21122 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
21123 INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
21124 INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
21125 INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
21136 if test "x$found_introspection" = "xyes"; then
21137 HAVE_INTROSPECTION_TRUE=
21138 HAVE_INTROSPECTION_FALSE='#'
21140 HAVE_INTROSPECTION_TRUE='#'
21141 HAVE_INTROSPECTION_FALSE=
21149 # Check whether --with-html-dir was given.
21150 if test "${with_html_dir+set}" = set; then :
21151 withval=$with_html_dir;
21153 with_html_dir='${datadir}/gtk-doc/html'
21156 HTML_DIR="$with_html_dir"
21159 # Check whether --enable-gtk-doc was given.
21160 if test "${enable_gtk_doc+set}" = set; then :
21161 enableval=$enable_gtk_doc;
21167 if test x$enable_gtk_doc = xyes; then
21168 if test -n "$PKG_CONFIG" && \
21169 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5
21170 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5
21172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21173 test $ac_status = 0; }; then
21176 as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build gtk-doc" "$LINENO" 5
21178 if test -z "$SED"; then
21179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
21180 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
21181 if ${ac_cv_path_SED+:} false; then :
21182 $as_echo_n "(cached) " >&6
21184 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
21185 for ac_i in 1 2 3 4 5 6 7; do
21186 ac_script="$ac_script$as_nl$ac_script"
21188 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
21189 { ac_script=; unset ac_script;}
21190 if test -z "$SED"; then
21191 ac_path_SED_found=false
21192 # Loop through the user's path and test for each of PROGNAME-LIST
21193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21194 for as_dir in $PATH
21197 test -z "$as_dir" && as_dir=.
21198 for ac_prog in sed gsed; do
21199 for ac_exec_ext in '' $ac_executable_extensions; do
21200 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
21201 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
21202 # Check for GNU ac_path_SED and select it if it is found.
21203 # Check for GNU $ac_path_SED
21204 case `"$ac_path_SED" --version 2>&1` in
21206 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
21209 $as_echo_n 0123456789 >"conftest.in"
21212 cat "conftest.in" "conftest.in" >"conftest.tmp"
21213 mv "conftest.tmp" "conftest.in"
21214 cp "conftest.in" "conftest.nl"
21215 $as_echo '' >> "conftest.nl"
21216 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
21217 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
21218 as_fn_arith $ac_count + 1 && ac_count=$as_val
21219 if test $ac_count -gt ${ac_path_SED_max-0}; then
21220 # Best one so far, save it but keep looking for a better one
21221 ac_cv_path_SED="$ac_path_SED"
21222 ac_path_SED_max=$ac_count
21224 # 10*(2^10) chars as input seems more than enough
21225 test $ac_count -gt 10 && break
21227 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
21230 $ac_path_SED_found && break 3
21235 if test -z "$ac_cv_path_SED"; then
21236 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
21239 ac_cv_path_SED=$SED
21243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
21244 $as_echo "$ac_cv_path_SED" >&6; }
21245 SED="$ac_cv_path_SED"
21251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
21252 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
21253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
21254 $as_echo "$enable_gtk_doc" >&6; }
21256 for ac_prog in gtkdoc-check
21258 # Extract the first word of "$ac_prog", so it can be a program name with args.
21259 set dummy $ac_prog; ac_word=$2
21260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21261 $as_echo_n "checking for $ac_word... " >&6; }
21262 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
21263 $as_echo_n "(cached) " >&6
21265 case $GTKDOC_CHECK in
21267 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
21270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21271 for as_dir in $PATH
21274 test -z "$as_dir" && as_dir=.
21275 for ac_exec_ext in '' $ac_executable_extensions; do
21276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21277 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
21278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21288 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
21289 if test -n "$GTKDOC_CHECK"; then
21290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
21291 $as_echo "$GTKDOC_CHECK" >&6; }
21293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21294 $as_echo "no" >&6; }
21298 test -n "$GTKDOC_CHECK" && break
21302 if test x$enable_gtk_doc = xyes; then
21303 ENABLE_GTK_DOC_TRUE=
21304 ENABLE_GTK_DOC_FALSE='#'
21306 ENABLE_GTK_DOC_TRUE='#'
21307 ENABLE_GTK_DOC_FALSE=
21310 if test -n "$LIBTOOL"; then
21311 GTK_DOC_USE_LIBTOOL_TRUE=
21312 GTK_DOC_USE_LIBTOOL_FALSE='#'
21314 GTK_DOC_USE_LIBTOOL_TRUE='#'
21315 GTK_DOC_USE_LIBTOOL_FALSE=
21321 PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
21322 python1.6 python1.5"
21324 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5
21325 $as_echo "$as_me: Looking for Python version >= 2.1" >&6;}
21329 # split string by '.' and convert to numeric
21330 minver_info = map(string.atoi, string.split(minver, '.'))
21331 # we can now do comparisons on the two lists:
21332 if sys.version_info >= tuple(minver_info):
21338 for python_candidate in $PYTHON_CANDIDATES; do
21340 # Extract the first word of "$python_candidate", so it can be a program name with args.
21341 set dummy $python_candidate; ac_word=$2
21342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21343 $as_echo_n "checking for $ac_word... " >&6; }
21344 if ${ac_cv_path_PYTHON+:} false; then :
21345 $as_echo_n "(cached) " >&6
21349 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
21352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21353 for as_dir in $PATH
21356 test -z "$as_dir" && as_dir=.
21357 for ac_exec_ext in '' $ac_executable_extensions; do
21358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21359 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
21360 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21370 PYTHON=$ac_cv_path_PYTHON
21371 if test -n "$PYTHON"; then
21372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
21373 $as_echo "$PYTHON" >&6; }
21375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21376 $as_echo "no" >&6; }
21379 1> /dev/null 2> /dev/null
21381 if test "x$PYTHON" = "x"; then continue; fi
21383 if $PYTHON -c "$prog" 1>&5 2>&5; then
21384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5
21385 $as_echo_n "checking \"$PYTHON\":... " >&6; }
21386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
21387 $as_echo "okay" >&6; }
21391 unset ac_cv_path_PYTHON
21396 if test "$python_good" != "true"; then
21397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5
21398 $as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
21402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5
21403 $as_echo_n "checking local Python configuration... " >&6; }
21407 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
21412 PYTHON_PREFIX='${prefix}'
21415 PYTHON_EXEC_PREFIX='${exec_prefix}'
21419 PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
21425 pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
21429 pkgpythondir=\${pythondir}/$PACKAGE
21433 pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
21437 pkgpyexecdir=\${pyexecdir}/$PACKAGE
21439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5
21440 $as_echo "looks good" >&6; }
21446 build_plugin_docs=no
21447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5
21448 $as_echo_n "checking whether to build plugin documentation... " >&6; }
21449 if test x$enable_gtk_doc = xyes; then
21450 build_plugin_docs=yes
21451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21452 $as_echo "yes" >&6; }
21454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5
21455 $as_echo "no (gtk-doc disabled or not available)" >&6; }
21458 if test x$build_plugin_docs = xyes; then
21459 ENABLE_PLUGIN_DOCS_TRUE=
21460 ENABLE_PLUGIN_DOCS_FALSE='#'
21462 ENABLE_PLUGIN_DOCS_TRUE='#'
21463 ENABLE_PLUGIN_DOCS_FALSE=
21471 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
21472 # These system don't have libm, or don't need it
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
21476 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
21477 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
21478 $as_echo_n "(cached) " >&6
21480 ac_check_lib_save_LIBS=$LIBS
21482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21483 /* end confdefs.h. */
21485 /* Override any GCC internal prototype to avoid an error.
21486 Use char because int might match the return type of a GCC
21487 builtin and then its argument prototype would still apply. */
21491 char _mwvalidcheckl ();
21495 return _mwvalidcheckl ();
21500 if ac_fn_c_try_link "$LINENO"; then :
21501 ac_cv_lib_mw__mwvalidcheckl=yes
21503 ac_cv_lib_mw__mwvalidcheckl=no
21505 rm -f core conftest.err conftest.$ac_objext \
21506 conftest$ac_exeext conftest.$ac_ext
21507 LIBS=$ac_check_lib_save_LIBS
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
21510 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
21511 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
21515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
21516 $as_echo_n "checking for cos in -lm... " >&6; }
21517 if ${ac_cv_lib_m_cos+:} false; then :
21518 $as_echo_n "(cached) " >&6
21520 ac_check_lib_save_LIBS=$LIBS
21522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21523 /* end confdefs.h. */
21525 /* Override any GCC internal prototype to avoid an error.
21526 Use char because int might match the return type of a GCC
21527 builtin and then its argument prototype would still apply. */
21540 if ac_fn_c_try_link "$LINENO"; then :
21541 ac_cv_lib_m_cos=yes
21545 rm -f core conftest.err conftest.$ac_objext \
21546 conftest$ac_exeext conftest.$ac_ext
21547 LIBS=$ac_check_lib_save_LIBS
21549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
21550 $as_echo "$ac_cv_lib_m_cos" >&6; }
21551 if test "x$ac_cv_lib_m_cos" = xyes; then :
21557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
21558 $as_echo_n "checking for cos in -lm... " >&6; }
21559 if ${ac_cv_lib_m_cos+:} false; then :
21560 $as_echo_n "(cached) " >&6
21562 ac_check_lib_save_LIBS=$LIBS
21564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21565 /* end confdefs.h. */
21567 /* Override any GCC internal prototype to avoid an error.
21568 Use char because int might match the return type of a GCC
21569 builtin and then its argument prototype would still apply. */
21582 if ac_fn_c_try_link "$LINENO"; then :
21583 ac_cv_lib_m_cos=yes
21587 rm -f core conftest.err conftest.$ac_objext \
21588 conftest$ac_exeext conftest.$ac_ext
21589 LIBS=$ac_check_lib_save_LIBS
21591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
21592 $as_echo "$ac_cv_lib_m_cos" >&6; }
21593 if test "x$ac_cv_lib_m_cos" = xyes; then :
21604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
21605 $as_echo_n "checking for ANSI C header files... " >&6; }
21606 if ${ac_cv_header_stdc+:} false; then :
21607 $as_echo_n "(cached) " >&6
21609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21610 /* end confdefs.h. */
21611 #include <stdlib.h>
21612 #include <stdarg.h>
21613 #include <string.h>
21624 if ac_fn_c_try_compile "$LINENO"; then :
21625 ac_cv_header_stdc=yes
21627 ac_cv_header_stdc=no
21629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21631 if test $ac_cv_header_stdc = yes; then
21632 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21634 /* end confdefs.h. */
21635 #include <string.h>
21638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21639 $EGREP "memchr" >/dev/null 2>&1; then :
21642 ac_cv_header_stdc=no
21648 if test $ac_cv_header_stdc = yes; then
21649 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21651 /* end confdefs.h. */
21652 #include <stdlib.h>
21655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21656 $EGREP "free" >/dev/null 2>&1; then :
21659 ac_cv_header_stdc=no
21665 if test $ac_cv_header_stdc = yes; then
21666 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21667 if test "$cross_compiling" = yes; then :
21670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21671 /* end confdefs.h. */
21673 #include <stdlib.h>
21674 #if ((' ' & 0x0FF) == 0x020)
21675 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21676 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21678 # define ISLOWER(c) \
21679 (('a' <= (c) && (c) <= 'i') \
21680 || ('j' <= (c) && (c) <= 'r') \
21681 || ('s' <= (c) && (c) <= 'z'))
21682 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21685 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21690 for (i = 0; i < 256; i++)
21691 if (XOR (islower (i), ISLOWER (i))
21692 || toupper (i) != TOUPPER (i))
21697 if ac_fn_c_try_run "$LINENO"; then :
21700 ac_cv_header_stdc=no
21702 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21703 conftest.$ac_objext conftest.beam conftest.$ac_ext
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
21709 $as_echo "$ac_cv_header_stdc" >&6; }
21710 if test $ac_cv_header_stdc = yes; then
21712 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
21717 for ac_header in malloc.h
21719 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
21720 if test "x$ac_cv_header_malloc_h" = xyes; then :
21721 cat >>confdefs.h <<_ACEOF
21722 #define HAVE_MALLOC_H 1
21730 ac_cppflags_save="$CPPFLAGS"
21731 CPPFLAGS="`$PKG_CONFIG --cflags libxml-2.0`"
21732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21733 /* end confdefs.h. */
21735 #include <libxml/HTMLparser.h>
21741 #ifndef LIBXML_HTML_ENABLED
21742 #error libxml2 has no HTML support
21743 #endif /* LIBXML_HTML_ENABLED */
21749 if ac_fn_c_try_compile "$LINENO"; then :
21750 HAVE_LIBXML_HTML="yes"
21752 HAVE_LIBXML_HTML="no"
21754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21755 CPPFLAGS="$ac_cppflags_save"
21756 if test "x$HAVE_LIBXML_HTML" = "xyes"; then
21757 HAVE_LIBXML_HTML_TRUE=
21758 HAVE_LIBXML_HTML_FALSE='#'
21760 HAVE_LIBXML_HTML_TRUE='#'
21761 HAVE_LIBXML_HTML_FALSE=
21765 for ac_header in sys/socket.h
21767 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
21768 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
21769 cat >>confdefs.h <<_ACEOF
21770 #define HAVE_SYS_SOCKET_H 1
21772 HAVE_SYS_SOCKET_H="yes"
21774 HAVE_SYS_SOCKET_H="no"
21779 if test "x$HAVE_SYS_SOCKET_H" = "xyes"; then
21780 HAVE_SYS_SOCKET_H_TRUE=
21781 HAVE_SYS_SOCKET_H_FALSE='#'
21783 HAVE_SYS_SOCKET_H_TRUE='#'
21784 HAVE_SYS_SOCKET_H_FALSE=
21788 for ac_header in winsock2.h
21790 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
21791 if test "x$ac_cv_header_winsock2_h" = xyes; then :
21792 cat >>confdefs.h <<_ACEOF
21793 #define HAVE_WINSOCK2_H 1
21795 HAVE_WINSOCK2_H=yes
21800 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
21801 WIN32_LIBS="-lws2_32"
21806 ac_fn_c_check_func "$LINENO" "hstrerror" "ac_cv_func_hstrerror"
21807 if test "x$ac_cv_func_hstrerror" = xyes; then :
21810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hstrerror in -lresolv" >&5
21811 $as_echo_n "checking for hstrerror in -lresolv... " >&6; }
21812 if ${ac_cv_lib_resolv_hstrerror+:} false; then :
21813 $as_echo_n "(cached) " >&6
21815 ac_check_lib_save_LIBS=$LIBS
21816 LIBS="-lresolv $LIBS"
21817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21818 /* end confdefs.h. */
21820 /* Override any GCC internal prototype to avoid an error.
21821 Use char because int might match the return type of a GCC
21822 builtin and then its argument prototype would still apply. */
21830 return hstrerror ();
21835 if ac_fn_c_try_link "$LINENO"; then :
21836 ac_cv_lib_resolv_hstrerror=yes
21838 ac_cv_lib_resolv_hstrerror=no
21840 rm -f core conftest.err conftest.$ac_objext \
21841 conftest$ac_exeext conftest.$ac_ext
21842 LIBS=$ac_check_lib_save_LIBS
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_hstrerror" >&5
21845 $as_echo "$ac_cv_lib_resolv_hstrerror" >&6; }
21846 if test "x$ac_cv_lib_resolv_hstrerror" = xyes; then :
21847 cat >>confdefs.h <<_ACEOF
21848 #define HAVE_LIBRESOLV 1
21851 LIBS="-lresolv $LIBS"
21855 $as_echo "#define NO_HSTRERROR 1" >>confdefs.h
21861 HSTRERROR_LIBS=$LIBS
21865 for ac_header in process.h sys/types.h sys/wait.h sys/stat.h
21867 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21868 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21869 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21870 cat >>confdefs.h <<_ACEOF
21871 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21879 for ac_header in xmmintrin.h emmintrin.h
21881 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21882 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21883 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21884 cat >>confdefs.h <<_ACEOF
21885 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21893 # ------ AX CREATE STDINT H -------------------------------------
21894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
21895 $as_echo_n "checking for stdint types... " >&6; }
21896 ac_stdint_h=`echo _stdint.h`
21897 # try to shortcircuit - if the default include path of the compiler
21898 # can find a "stdint.h" header then we assume that all compilers can.
21899 if ${ac_cv_header_stdint_t+:} false; then :
21900 $as_echo_n "(cached) " >&6
21903 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
21904 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
21905 old_CFLAGS="$CFLAGS" ; CFLAGS=""
21906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21907 /* end confdefs.h. */
21908 #include <stdint.h>
21912 int_least32_t v = 0;
21917 if ac_fn_c_try_compile "$LINENO"; then :
21918 ac_cv_stdint_result="(assuming C99 compatible system)"
21919 ac_cv_header_stdint_t="stdint.h";
21921 ac_cv_header_stdint_t=""
21923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21924 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
21926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21927 /* end confdefs.h. */
21928 #include <stdint.h>
21932 int_least32_t v = 0;
21937 if ac_fn_c_try_compile "$LINENO"; then :
21938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
21939 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
21941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21943 CXXFLAGS="$old_CXXFLAGS"
21944 CPPFLAGS="$old_CPPFLAGS"
21945 CFLAGS="$old_CFLAGS"
21949 v="... $ac_cv_header_stdint_h"
21950 if test "$ac_stdint_h" = "stdint.h" ; then
21951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
21952 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
21953 elif test "$ac_stdint_h" = "inttypes.h" ; then
21954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
21955 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
21956 elif test "_$ac_cv_header_stdint_t" = "_" ; then
21957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
21958 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
21960 ac_cv_header_stdint="$ac_cv_header_stdint_t"
21961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
21962 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
21965 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
21968 inttype_headers=`echo | sed -e 's/,/ /g'`
21970 ac_cv_stdint_result="(no helpful system typedefs seen)"
21972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
21973 $as_echo_n "checking for stdint uintptr_t... " >&6; }
21974 if ${ac_cv_header_stdint_x+:} false; then :
21975 $as_echo_n "(cached) " >&6
21978 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
21979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21980 $as_echo "(..)" >&6; }
21981 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers
21983 unset ac_cv_type_uintptr_t
21984 unset ac_cv_type_uint64_t
21985 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
21987 if test "x$ac_cv_type_uintptr_t" = xyes; then :
21988 ac_cv_header_stdint_x=$i
21993 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
21995 if test "x$ac_cv_type_uint64_t" = xyes; then :
22001 ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
22004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
22005 $as_echo_n "checking for stdint uintptr_t... " >&6; }
22008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
22009 $as_echo "$ac_cv_header_stdint_x" >&6; }
22012 if test "_$ac_cv_header_stdint_x" = "_" ; then
22014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
22015 $as_echo_n "checking for stdint uint32_t... " >&6; }
22016 if ${ac_cv_header_stdint_o+:} false; then :
22017 $as_echo_n "(cached) " >&6
22020 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
22021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
22022 $as_echo "(..)" >&6; }
22023 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers
22025 unset ac_cv_type_uint32_t
22026 unset ac_cv_type_uint64_t
22027 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
22029 if test "x$ac_cv_type_uint32_t" = xyes; then :
22030 ac_cv_header_stdint_o=$i
22035 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
22037 if test "x$ac_cv_type_uint64_t" = xyes; then :
22043 ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
22047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
22048 $as_echo_n "checking for stdint uint32_t... " >&6; }
22051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
22052 $as_echo "$ac_cv_header_stdint_o" >&6; }
22056 if test "_$ac_cv_header_stdint_x" = "_" ; then
22057 if test "_$ac_cv_header_stdint_o" = "_" ; then
22059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
22060 $as_echo_n "checking for stdint u_int32_t... " >&6; }
22061 if ${ac_cv_header_stdint_u+:} false; then :
22062 $as_echo_n "(cached) " >&6
22065 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
22066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
22067 $as_echo "(..)" >&6; }
22068 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
22069 unset ac_cv_type_u_int32_t
22070 unset ac_cv_type_u_int64_t
22071 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
22073 if test "x$ac_cv_type_u_int32_t" = xyes; then :
22074 ac_cv_header_stdint_u=$i
22079 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
22081 if test "x$ac_cv_type_u_int64_t" = xyes; then :
22087 ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
22091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
22092 $as_echo_n "checking for stdint u_int32_t... " >&6; }
22095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
22096 $as_echo "$ac_cv_header_stdint_u" >&6; }
22100 if test "_$ac_cv_header_stdint_x" = "_" ; then
22101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
22102 $as_echo_n "checking for stdint datatype model... " >&6; }
22103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
22104 $as_echo "(..)" >&6; }
22106 # The cast to long int works around a bug in the HP C Compiler
22107 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22108 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22109 # This bug is HP SR number 8606223364.
22110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
22111 $as_echo_n "checking size of char... " >&6; }
22112 if ${ac_cv_sizeof_char+:} false; then :
22113 $as_echo_n "(cached) " >&6
22115 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
22118 if test "$ac_cv_type_char" = yes; then
22119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22121 as_fn_error 77 "cannot compute sizeof (char)
22122 See \`config.log' for more details" "$LINENO" 5; }
22124 ac_cv_sizeof_char=0
22129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
22130 $as_echo "$ac_cv_sizeof_char" >&6; }
22134 cat >>confdefs.h <<_ACEOF
22135 #define SIZEOF_CHAR $ac_cv_sizeof_char
22139 # The cast to long int works around a bug in the HP C Compiler
22140 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22141 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22142 # This bug is HP SR number 8606223364.
22143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
22144 $as_echo_n "checking size of short... " >&6; }
22145 if ${ac_cv_sizeof_short+:} false; then :
22146 $as_echo_n "(cached) " >&6
22148 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
22151 if test "$ac_cv_type_short" = yes; then
22152 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22154 as_fn_error 77 "cannot compute sizeof (short)
22155 See \`config.log' for more details" "$LINENO" 5; }
22157 ac_cv_sizeof_short=0
22162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
22163 $as_echo "$ac_cv_sizeof_short" >&6; }
22167 cat >>confdefs.h <<_ACEOF
22168 #define SIZEOF_SHORT $ac_cv_sizeof_short
22172 # The cast to long int works around a bug in the HP C Compiler
22173 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22174 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22175 # This bug is HP SR number 8606223364.
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
22177 $as_echo_n "checking size of int... " >&6; }
22178 if ${ac_cv_sizeof_int+:} false; then :
22179 $as_echo_n "(cached) " >&6
22181 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
22184 if test "$ac_cv_type_int" = yes; then
22185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22187 as_fn_error 77 "cannot compute sizeof (int)
22188 See \`config.log' for more details" "$LINENO" 5; }
22195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
22196 $as_echo "$ac_cv_sizeof_int" >&6; }
22200 cat >>confdefs.h <<_ACEOF
22201 #define SIZEOF_INT $ac_cv_sizeof_int
22205 # The cast to long int works around a bug in the HP C Compiler
22206 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22207 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22208 # This bug is HP SR number 8606223364.
22209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
22210 $as_echo_n "checking size of long... " >&6; }
22211 if ${ac_cv_sizeof_long+:} false; then :
22212 $as_echo_n "(cached) " >&6
22214 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
22217 if test "$ac_cv_type_long" = yes; then
22218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22220 as_fn_error 77 "cannot compute sizeof (long)
22221 See \`config.log' for more details" "$LINENO" 5; }
22223 ac_cv_sizeof_long=0
22228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
22229 $as_echo "$ac_cv_sizeof_long" >&6; }
22233 cat >>confdefs.h <<_ACEOF
22234 #define SIZEOF_LONG $ac_cv_sizeof_long
22238 # The cast to long int works around a bug in the HP C Compiler
22239 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22240 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22241 # This bug is HP SR number 8606223364.
22242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
22243 $as_echo_n "checking size of void*... " >&6; }
22244 if ${ac_cv_sizeof_voidp+:} false; then :
22245 $as_echo_n "(cached) " >&6
22247 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
22250 if test "$ac_cv_type_voidp" = yes; then
22251 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22253 as_fn_error 77 "cannot compute sizeof (void*)
22254 See \`config.log' for more details" "$LINENO" 5; }
22256 ac_cv_sizeof_voidp=0
22261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
22262 $as_echo "$ac_cv_sizeof_voidp" >&6; }
22266 cat >>confdefs.h <<_ACEOF
22267 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
22271 ac_cv_char_data_model=""
22272 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
22273 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
22274 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
22275 ac_cv_long_data_model=""
22276 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
22277 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
22278 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
22279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
22280 $as_echo_n "checking data model... " >&6; }
22281 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
22282 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
22283 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
22284 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
22285 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
22286 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
22287 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
22288 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
22289 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
22290 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
22291 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
22292 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
22293 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
22294 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
22295 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
22296 222/*|333/*|444/*|666/*|888/*) :
22297 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
22298 *) ac_cv_data_model="none" ; n="very unusual model" ;;
22300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
22301 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
22305 if test "_$ac_cv_header_stdint_x" != "_" ; then
22306 ac_cv_header_stdint="$ac_cv_header_stdint_x"
22307 elif test "_$ac_cv_header_stdint_o" != "_" ; then
22308 ac_cv_header_stdint="$ac_cv_header_stdint_o"
22309 elif test "_$ac_cv_header_stdint_u" != "_" ; then
22310 ac_cv_header_stdint="$ac_cv_header_stdint_u"
22312 ac_cv_header_stdint="stddef.h"
22315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
22316 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
22317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
22318 $as_echo "($ac_cv_header_stdint)" >&6; }
22319 unset ac_cv_type_int_least32_t
22320 unset ac_cv_type_int_fast32_t
22321 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
22323 if test "x$ac_cv_type_int_least32_t" = xyes; then :
22327 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
22329 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
22333 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
22335 if test "x$ac_cv_type_intmax_t" = xyes; then :
22340 fi # shortcircut to system "stdint.h"
22341 # ------------------ PREPARE VARIABLES ------------------------------
22342 if test "$GCC" = "yes" ; then
22343 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
22345 ac_cv_stdint_message="using $CC"
22348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
22349 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
22351 # ----------------- DONE inttypes.h checks START header -------------
22352 ac_config_commands="$ac_config_commands $ac_stdint_h"
22356 for ac_func in localtime_r gmtime_r
22358 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22360 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22361 cat >>confdefs.h <<_ACEOF
22362 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22371 for ac_func in log2
22373 ac_fn_c_check_func "$LINENO" "log2" "ac_cv_func_log2"
22374 if test "x$ac_cv_func_log2" = xyes; then :
22375 cat >>confdefs.h <<_ACEOF
22376 #define HAVE_LOG2 1
22387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/ioctl.h" >&5
22388 $as_echo_n "checking for FIONREAD in sys/ioctl.h... " >&6; }
22389 if ${_cv_gst_fionread_in_sys_ioctl+:} false; then :
22390 $as_echo_n "(cached) " >&6
22393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22394 /* end confdefs.h. */
22396 #include <sys/types.h>
22397 #include <sys/ioctl.h>
22411 if ac_fn_c_try_compile "$LINENO"; then :
22412 _cv_gst_fionread_in_sys_ioctl="yes"
22414 _cv_gst_fionread_in_sys_ioctl="no"
22416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_ioctl" >&5
22422 $as_echo "$_cv_gst_fionread_in_sys_ioctl" >&6; }
22424 if test "$_cv_gst_fionread_in_sys_ioctl" = "yes"; then
22426 $as_echo "#define HAVE_FIONREAD_IN_SYS_IOCTL 1" >>confdefs.h
22431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/filio.h" >&5
22432 $as_echo_n "checking for FIONREAD in sys/filio.h... " >&6; }
22433 if ${_cv_gst_fionread_in_sys_filio+:} false; then :
22434 $as_echo_n "(cached) " >&6
22437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22438 /* end confdefs.h. */
22440 #include <sys/types.h>
22441 #include <sys/filio.h>
22455 if ac_fn_c_try_compile "$LINENO"; then :
22456 _cv_gst_fionread_in_sys_filio="yes"
22458 _cv_gst_fionread_in_sys_filio="no"
22460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_filio" >&5
22466 $as_echo "$_cv_gst_fionread_in_sys_filio" >&6; }
22468 if test "$_cv_gst_fionread_in_sys_filio" = "yes"; then
22470 $as_echo "#define HAVE_FIONREAD_IN_SYS_FILIO 1" >>confdefs.h
22481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22482 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
22483 if ${ac_cv_sys_largefile_source+:} false; then :
22484 $as_echo_n "(cached) " >&6
22487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22488 /* end confdefs.h. */
22489 #include <sys/types.h> /* for off_t */
22494 int (*fp) (FILE *, off_t, int) = fseeko;
22495 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22500 if ac_fn_c_try_link "$LINENO"; then :
22501 ac_cv_sys_largefile_source=no; break
22503 rm -f core conftest.err conftest.$ac_objext \
22504 conftest$ac_exeext conftest.$ac_ext
22505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22506 /* end confdefs.h. */
22507 #define _LARGEFILE_SOURCE 1
22508 #include <sys/types.h> /* for off_t */
22513 int (*fp) (FILE *, off_t, int) = fseeko;
22514 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22519 if ac_fn_c_try_link "$LINENO"; then :
22520 ac_cv_sys_largefile_source=1; break
22522 rm -f core conftest.err conftest.$ac_objext \
22523 conftest$ac_exeext conftest.$ac_ext
22524 ac_cv_sys_largefile_source=unknown
22528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
22529 $as_echo "$ac_cv_sys_largefile_source" >&6; }
22530 case $ac_cv_sys_largefile_source in #(
22533 cat >>confdefs.h <<_ACEOF
22534 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22540 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22541 # in glibc 2.1.3, but that breaks too many other things.
22542 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22543 if test $ac_cv_sys_largefile_source != unknown; then
22545 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
22552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrint" >&5
22553 $as_echo_n "checking for lrint... " >&6; }
22554 if ${ac_cv_c99_lrint+:} false; then :
22555 $as_echo_n "(cached) " >&6
22557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22558 /* end confdefs.h. */
22560 #define _ISOC9X_SOURCE 1
22561 #define _ISOC99_SOURCE 1
22562 #define __USE_ISOC99 1
22563 #define __USE_ISOC9X 1
22568 int value = lrint (0.432) ;
22573 if ac_fn_c_try_link "$LINENO"; then :
22574 ac_cv_c99_lrint=yes
22578 rm -f core conftest.err conftest.$ac_objext \
22579 conftest$ac_exeext conftest.$ac_ext
22581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99_lrint" >&5
22582 $as_echo "$ac_cv_c99_lrint" >&6; }
22583 if test $ac_cv_c99_lrint = yes; then
22585 $as_echo "#define HAVE_LRINT 1" >>confdefs.h
22589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrintf" >&5
22590 $as_echo_n "checking for lrintf... " >&6; }
22591 if ${ac_cv_c99_lrintf+:} false; then :
22592 $as_echo_n "(cached) " >&6
22594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22595 /* end confdefs.h. */
22597 #define _ISOC9X_SOURCE 1
22598 #define _ISOC99_SOURCE 1
22599 #define __USE_ISOC99 1
22600 #define __USE_ISOC9X 1
22605 int value = lrintf (0.432) ;
22610 if ac_fn_c_try_link "$LINENO"; then :
22611 ac_cv_c99_lrintf=yes
22613 ac_cv_c99_lrintf=no
22615 rm -f core conftest.err conftest.$ac_objext \
22616 conftest$ac_exeext conftest.$ac_ext
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99_lrintf" >&5
22619 $as_echo "$ac_cv_c99_lrintf" >&6; }
22620 if test $ac_cv_c99_lrintf = yes; then
22622 $as_echo "#define HAVE_LRINTF 1" >>confdefs.h
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __PRETTY_FUNCTION__" >&5
22630 $as_echo_n "checking whether $CC implements __PRETTY_FUNCTION__... " >&6; }
22631 if ${gst_cv_have_pretty_function+:} false; then :
22632 $as_echo_n "(cached) " >&6
22635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22636 /* end confdefs.h. */
22641 printf("%s", __PRETTY_FUNCTION__);
22646 if ac_fn_c_try_link "$LINENO"; then :
22647 gst_cv_have_pretty_function=yes
22649 gst_cv_have_pretty_function=no
22651 rm -f core conftest.err conftest.$ac_objext \
22652 conftest$ac_exeext conftest.$ac_ext
22656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_pretty_function" >&5
22657 $as_echo "$gst_cv_have_pretty_function" >&6; }
22658 if test "$gst_cv_have_pretty_function" = yes; then
22660 $as_echo "#define HAVE_PRETTY_FUNCTION 1" >>confdefs.h
22664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __FUNCTION__" >&5
22665 $as_echo_n "checking whether $CC implements __FUNCTION__... " >&6; }
22666 if ${gst_cv_have_function+:} false; then :
22667 $as_echo_n "(cached) " >&6
22670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22671 /* end confdefs.h. */
22676 printf("%s", __FUNCTION__);
22681 if ac_fn_c_try_link "$LINENO"; then :
22682 gst_cv_have_function=yes
22684 gst_cv_have_function=no
22686 rm -f core conftest.err conftest.$ac_objext \
22687 conftest$ac_exeext conftest.$ac_ext
22691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_function" >&5
22692 $as_echo "$gst_cv_have_function" >&6; }
22693 if test "$gst_cv_have_function" = yes; then
22695 $as_echo "#define HAVE_FUNCTION 1" >>confdefs.h
22699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __func__" >&5
22700 $as_echo_n "checking whether $CC implements __func__... " >&6; }
22701 if ${gst_cv_have_func+:} false; then :
22702 $as_echo_n "(cached) " >&6
22705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22706 /* end confdefs.h. */
22711 printf("%s", __func__);
22716 if ac_fn_c_try_link "$LINENO"; then :
22717 gst_cv_have_func=yes
22719 gst_cv_have_func=no
22721 rm -f core conftest.err conftest.$ac_objext \
22722 conftest$ac_exeext conftest.$ac_ext
22726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_func" >&5
22727 $as_echo "$gst_cv_have_func" >&6; }
22728 if test "$gst_cv_have_func" = yes; then
22730 $as_echo "#define HAVE_FUNC 1" >>confdefs.h
22734 if test "$gst_cv_have_pretty_function" = yes; then
22735 function=__PRETTY_FUNCTION__
22737 if test "$gst_cv_have_function" = yes; then
22738 function=__FUNCTION__
22740 if test "$gst_cv_have_func" = yes; then
22748 cat >>confdefs.h <<_ACEOF
22749 #define GST_FUNCTION $function
22754 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
22755 if test "x$ac_cv_func_socket" = xyes; then :
22758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
22759 $as_echo_n "checking for socket in -lsocket... " >&6; }
22760 if ${ac_cv_lib_socket_socket+:} false; then :
22761 $as_echo_n "(cached) " >&6
22763 ac_check_lib_save_LIBS=$LIBS
22764 LIBS="-lsocket $LIBS"
22765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22766 /* end confdefs.h. */
22768 /* Override any GCC internal prototype to avoid an error.
22769 Use char because int might match the return type of a GCC
22770 builtin and then its argument prototype would still apply. */
22783 if ac_fn_c_try_link "$LINENO"; then :
22784 ac_cv_lib_socket_socket=yes
22786 ac_cv_lib_socket_socket=no
22788 rm -f core conftest.err conftest.$ac_objext \
22789 conftest$ac_exeext conftest.$ac_ext
22790 LIBS=$ac_check_lib_save_LIBS
22792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
22793 $as_echo "$ac_cv_lib_socket_socket" >&6; }
22794 if test "x$ac_cv_lib_socket_socket" = xyes; then :
22795 cat >>confdefs.h <<_ACEOF
22796 #define HAVE_LIBSOCKET 1
22799 LIBS="-lsocket $LIBS"
22805 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
22806 if test "x$ac_cv_func_gethostbyname" = xyes; then :
22809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
22810 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
22811 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
22812 $as_echo_n "(cached) " >&6
22814 ac_check_lib_save_LIBS=$LIBS
22816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22817 /* end confdefs.h. */
22819 /* Override any GCC internal prototype to avoid an error.
22820 Use char because int might match the return type of a GCC
22821 builtin and then its argument prototype would still apply. */
22825 char gethostbyname ();
22829 return gethostbyname ();
22834 if ac_fn_c_try_link "$LINENO"; then :
22835 ac_cv_lib_nsl_gethostbyname=yes
22837 ac_cv_lib_nsl_gethostbyname=no
22839 rm -f core conftest.err conftest.$ac_objext \
22840 conftest$ac_exeext conftest.$ac_ext
22841 LIBS=$ac_check_lib_save_LIBS
22843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
22844 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
22845 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
22846 cat >>confdefs.h <<_ACEOF
22847 #define HAVE_LIBNSL 1
22862 if test "x$GLIB_REQ" = "x"
22864 as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5
22869 which="glib-2.0 >= $GLIB_REQ gobject-2.0 gthread-2.0 gmodule-no-export-2.0"
22874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
22875 $as_echo_n "checking for GLIB... " >&6; }
22877 if test -n "$PKG_CONFIG"; then
22878 if test -n "$GLIB_CFLAGS"; then
22879 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
22881 if test -n "$PKG_CONFIG" && \
22882 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
22883 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
22885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22886 test $ac_status = 0; }; then
22887 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
22895 if test -n "$PKG_CONFIG"; then
22896 if test -n "$GLIB_LIBS"; then
22897 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
22899 if test -n "$PKG_CONFIG" && \
22900 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
22901 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
22903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22904 test $ac_status = 0; }; then
22905 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
22916 if test $pkg_failed = yes; then
22918 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22919 _pkg_short_errors_supported=yes
22921 _pkg_short_errors_supported=no
22923 if test $_pkg_short_errors_supported = yes; then
22924 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
22926 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
22928 # Put the nasty error message in config.log where it belongs
22929 echo "$GLIB_PKG_ERRORS" >&5
22931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22932 $as_echo "no" >&6; }
22935 if test "x$required" = "xyes"; then
22936 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
22938 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
22939 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
22942 elif test $pkg_failed = untried; then
22945 if test "x$required" = "xyes"; then
22946 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
22948 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
22949 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
22953 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
22954 GLIB_LIBS=$pkg_cv_GLIB_LIBS
22955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22956 $as_echo "yes" >&6; }
22964 if test "x$HAVE_GLIB" = "xno"; then
22965 as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5
22968 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY"
22970 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
22971 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED"
22974 # Check whether --enable-gobject-cast-checks was given.
22975 if test "${enable_gobject_cast_checks+set}" = set; then :
22976 enableval=$enable_gobject_cast_checks;
22978 enable_gobject_cast_checks=auto
22982 if test "x$enable_gobject_cast_checks" = "xauto"; then
22983 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
22984 enable_gobject_cast_checks=yes
22986 enable_gobject_cast_checks=no
22990 if test "x$enable_gobject_cast_checks" = "xno"; then
22991 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS"
22994 # Check whether --enable-glib-asserts was given.
22995 if test "${enable_glib_asserts+set}" = set; then :
22996 enableval=$enable_glib_asserts;
22998 enable_glib_assertions=auto
23002 if test "x$enable_glib_assertions" = "xauto"; then
23003 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23004 enable_glib_assertions=yes
23006 enable_glib_assertions=no
23010 if test "x$enable_glib_assertions" = "xno"; then
23011 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT"
23015 GIVEN_CFLAGS=$GLIB_CFLAGS
23016 INCLUDE_DIRS=`echo | cpp -v 2>&1`
23018 INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
23019 for dir in $INCLUDE_DIRS; do
23020 GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
23022 GLIB_CFLAGS=$GIVEN_CFLAGS
23031 # Check whether --enable-orc was given.
23032 if test "${enable_orc+set}" = set; then :
23033 enableval=$enable_orc; case "${enableval}" in
23034 auto) enable_orc=auto ;;
23035 yes) enable_orc=yes ;;
23036 no) enable_orc=no ;;
23037 *) as_fn_error $? "bad value ${enableval} for --enable-orc" "$LINENO" 5 ;;
23044 if test "x$enable_orc" != "xno" ; then
23047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ORC" >&5
23048 $as_echo_n "checking for ORC... " >&6; }
23050 if test -n "$PKG_CONFIG"; then
23051 if test -n "$ORC_CFLAGS"; then
23052 pkg_cv_ORC_CFLAGS="$ORC_CFLAGS"
23054 if test -n "$PKG_CONFIG" && \
23055 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
23056 ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
23058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23059 test $ac_status = 0; }; then
23060 pkg_cv_ORC_CFLAGS=`$PKG_CONFIG --cflags "orc-0.4 >= $ORC_REQ" 2>/dev/null`
23068 if test -n "$PKG_CONFIG"; then
23069 if test -n "$ORC_LIBS"; then
23070 pkg_cv_ORC_LIBS="$ORC_LIBS"
23072 if test -n "$PKG_CONFIG" && \
23073 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
23074 ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
23076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23077 test $ac_status = 0; }; then
23078 pkg_cv_ORC_LIBS=`$PKG_CONFIG --libs "orc-0.4 >= $ORC_REQ" 2>/dev/null`
23089 if test $pkg_failed = yes; then
23091 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23092 _pkg_short_errors_supported=yes
23094 _pkg_short_errors_supported=no
23096 if test $_pkg_short_errors_supported = yes; then
23097 ORC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
23099 ORC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
23101 # Put the nasty error message in config.log where it belongs
23102 echo "$ORC_PKG_ERRORS" >&5
23104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23105 $as_echo "no" >&6; }
23107 if test "x$enable_orc" = "xyes" ; then
23108 as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
23111 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
23116 elif test $pkg_failed = untried; then
23118 if test "x$enable_orc" = "xyes" ; then
23119 as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
23122 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
23128 ORC_CFLAGS=$pkg_cv_ORC_CFLAGS
23129 ORC_LIBS=$pkg_cv_ORC_LIBS
23130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23131 $as_echo "yes" >&6; }
23134 $as_echo "#define HAVE_ORC 1" >>confdefs.h
23137 if test "x$ORCC" = "x" ; then
23138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable orcc" >&5
23139 $as_echo_n "checking for usable orcc... " >&6; }
23140 ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
23141 if $ORCC --version 1> /dev/null 2> /dev/null; then :
23146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ORCC" >&5
23147 $as_echo "$ORCC" >&6; }
23150 ORCC_FLAGS="--compat $ORC_REQ"
23152 if test "x$ORCC" = "x"; then :
23161 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
23166 if test "x$HAVE_ORC" = "xyes"; then
23174 if test "x$HAVE_ORCC" = "xyes"; then
23176 HAVE_ORCC_FALSE='#'
23187 module=gstreamer-$GST_MAJORMINOR
23193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
23194 $as_echo_n "checking for GST... " >&6; }
23196 if test -n "$PKG_CONFIG"; then
23197 if test -n "$GST_CFLAGS"; then
23198 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
23200 if test -n "$PKG_CONFIG" && \
23201 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23202 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23205 test $ac_status = 0; }; then
23206 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23214 if test -n "$PKG_CONFIG"; then
23215 if test -n "$GST_LIBS"; then
23216 pkg_cv_GST_LIBS="$GST_LIBS"
23218 if test -n "$PKG_CONFIG" && \
23219 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23220 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23223 test $ac_status = 0; }; then
23224 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23235 if test $pkg_failed = yes; then
23237 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23238 _pkg_short_errors_supported=yes
23240 _pkg_short_errors_supported=no
23242 if test $_pkg_short_errors_supported = yes; then
23243 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23245 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23247 # Put the nasty error message in config.log where it belongs
23248 echo "$GST_PKG_ERRORS" >&5
23250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23251 $as_echo "no" >&6; }
23254 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
23255 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
23256 if test "x$required" = "xyes"; then
23257 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23259 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23260 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23263 elif test $pkg_failed = untried; then
23266 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
23267 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
23268 if test "x$required" = "xyes"; then
23269 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23271 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23272 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23276 GST_CFLAGS=$pkg_cv_GST_CFLAGS
23277 GST_LIBS=$pkg_cv_GST_LIBS
23278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23279 $as_echo "yes" >&6; }
23286 if test -z $GST_TOOLS_DIR; then
23287 GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
23288 if test -z $GST_TOOLS_DIR; then
23289 as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
23292 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5
23293 $as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;}
23296 if test -z $GST_PLUGINS_DIR; then
23297 GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_MAJORMINOR`
23298 if test -z $GST_PLUGINS_DIR; then
23299 as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
23302 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5
23303 $as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;}
23308 module=gstreamer-base-$GST_MAJORMINOR
23310 name="GStreamer Base Libraries"
23314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
23315 $as_echo_n "checking for GST_BASE... " >&6; }
23317 if test -n "$PKG_CONFIG"; then
23318 if test -n "$GST_BASE_CFLAGS"; then
23319 pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
23321 if test -n "$PKG_CONFIG" && \
23322 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23323 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23326 test $ac_status = 0; }; then
23327 pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23335 if test -n "$PKG_CONFIG"; then
23336 if test -n "$GST_BASE_LIBS"; then
23337 pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
23339 if test -n "$PKG_CONFIG" && \
23340 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23341 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23344 test $ac_status = 0; }; then
23345 pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23356 if test $pkg_failed = yes; then
23358 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23359 _pkg_short_errors_supported=yes
23361 _pkg_short_errors_supported=no
23363 if test $_pkg_short_errors_supported = yes; then
23364 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23366 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23368 # Put the nasty error message in config.log where it belongs
23369 echo "$GST_BASE_PKG_ERRORS" >&5
23371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23372 $as_echo "no" >&6; }
23375 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
23376 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
23377 if test "x$required" = "xyes"; then
23378 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23380 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23381 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23384 elif test $pkg_failed = untried; then
23387 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
23388 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
23389 if test "x$required" = "xyes"; then
23390 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23392 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23393 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23397 GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
23398 GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
23399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23400 $as_echo "yes" >&6; }
23402 HAVE_GST_BASE="yes"
23410 module=gstreamer-dataprotocol-$GST_MAJORMINOR
23412 name="GStreamer Data Protocol Library"
23416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_GDP" >&5
23417 $as_echo_n "checking for GST_GDP... " >&6; }
23419 if test -n "$PKG_CONFIG"; then
23420 if test -n "$GST_GDP_CFLAGS"; then
23421 pkg_cv_GST_GDP_CFLAGS="$GST_GDP_CFLAGS"
23423 if test -n "$PKG_CONFIG" && \
23424 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23425 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23428 test $ac_status = 0; }; then
23429 pkg_cv_GST_GDP_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23437 if test -n "$PKG_CONFIG"; then
23438 if test -n "$GST_GDP_LIBS"; then
23439 pkg_cv_GST_GDP_LIBS="$GST_GDP_LIBS"
23441 if test -n "$PKG_CONFIG" && \
23442 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23443 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23446 test $ac_status = 0; }; then
23447 pkg_cv_GST_GDP_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23458 if test $pkg_failed = yes; then
23460 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23461 _pkg_short_errors_supported=yes
23463 _pkg_short_errors_supported=no
23465 if test $_pkg_short_errors_supported = yes; then
23466 GST_GDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23468 GST_GDP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23470 # Put the nasty error message in config.log where it belongs
23471 echo "$GST_GDP_PKG_ERRORS" >&5
23473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23474 $as_echo "no" >&6; }
23477 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5
23478 $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;}
23479 if test "x$required" = "xyes"; then
23480 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23482 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23483 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23486 elif test $pkg_failed = untried; then
23489 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5
23490 $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;}
23491 if test "x$required" = "xyes"; then
23492 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23494 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23495 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23499 GST_GDP_CFLAGS=$pkg_cv_GST_GDP_CFLAGS
23500 GST_GDP_LIBS=$pkg_cv_GST_GDP_LIBS
23501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23502 $as_echo "yes" >&6; }
23512 module=gstreamer-controller-$GST_MAJORMINOR
23514 name="GStreamer Controller Library"
23518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CONTROLLER" >&5
23519 $as_echo_n "checking for GST_CONTROLLER... " >&6; }
23521 if test -n "$PKG_CONFIG"; then
23522 if test -n "$GST_CONTROLLER_CFLAGS"; then
23523 pkg_cv_GST_CONTROLLER_CFLAGS="$GST_CONTROLLER_CFLAGS"
23525 if test -n "$PKG_CONFIG" && \
23526 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23527 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23530 test $ac_status = 0; }; then
23531 pkg_cv_GST_CONTROLLER_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23539 if test -n "$PKG_CONFIG"; then
23540 if test -n "$GST_CONTROLLER_LIBS"; then
23541 pkg_cv_GST_CONTROLLER_LIBS="$GST_CONTROLLER_LIBS"
23543 if test -n "$PKG_CONFIG" && \
23544 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23545 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23548 test $ac_status = 0; }; then
23549 pkg_cv_GST_CONTROLLER_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23560 if test $pkg_failed = yes; then
23562 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23563 _pkg_short_errors_supported=yes
23565 _pkg_short_errors_supported=no
23567 if test $_pkg_short_errors_supported = yes; then
23568 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23570 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23572 # Put the nasty error message in config.log where it belongs
23573 echo "$GST_CONTROLLER_PKG_ERRORS" >&5
23575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23576 $as_echo "no" >&6; }
23578 HAVE_GST_CONTROLLER="no"
23579 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
23580 $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
23581 if test "x$required" = "xyes"; then
23582 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23584 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23585 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23588 elif test $pkg_failed = untried; then
23590 HAVE_GST_CONTROLLER="no"
23591 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
23592 $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
23593 if test "x$required" = "xyes"; then
23594 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23596 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23597 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23601 GST_CONTROLLER_CFLAGS=$pkg_cv_GST_CONTROLLER_CFLAGS
23602 GST_CONTROLLER_LIBS=$pkg_cv_GST_CONTROLLER_LIBS
23603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23604 $as_echo "yes" >&6; }
23606 HAVE_GST_CONTROLLER="yes"
23614 module=gstreamer-check-$GST_MAJORMINOR
23616 name="GStreamer Check unittest Library"
23620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5
23621 $as_echo_n "checking for GST_CHECK... " >&6; }
23623 if test -n "$PKG_CONFIG"; then
23624 if test -n "$GST_CHECK_CFLAGS"; then
23625 pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS"
23627 if test -n "$PKG_CONFIG" && \
23628 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23629 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23632 test $ac_status = 0; }; then
23633 pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23641 if test -n "$PKG_CONFIG"; then
23642 if test -n "$GST_CHECK_LIBS"; then
23643 pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS"
23645 if test -n "$PKG_CONFIG" && \
23646 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23647 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23650 test $ac_status = 0; }; then
23651 pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23662 if test $pkg_failed = yes; then
23664 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23665 _pkg_short_errors_supported=yes
23667 _pkg_short_errors_supported=no
23669 if test $_pkg_short_errors_supported = yes; then
23670 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23672 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23674 # Put the nasty error message in config.log where it belongs
23675 echo "$GST_CHECK_PKG_ERRORS" >&5
23677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23678 $as_echo "no" >&6; }
23680 HAVE_GST_CHECK="no"
23681 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
23682 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
23683 if test "x$required" = "xyes"; then
23684 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23686 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23687 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23690 elif test $pkg_failed = untried; then
23692 HAVE_GST_CHECK="no"
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
23694 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
23695 if test "x$required" = "xyes"; then
23696 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23698 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23699 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23703 GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
23704 GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
23705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23706 $as_echo "yes" >&6; }
23708 HAVE_GST_CHECK="yes"
23714 if test "x$HAVE_GST_CHECK" = "xyes"; then
23715 HAVE_GST_CHECK_TRUE=
23716 HAVE_GST_CHECK_FALSE='#'
23718 HAVE_GST_CHECK_TRUE='#'
23719 HAVE_GST_CHECK_FALSE=
23723 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
23724 GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`"
23731 if test "x$BUILD_EXAMPLES" = "xyes"; then
23734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
23735 $as_echo_n "checking for GTK... " >&6; }
23737 if test -n "$PKG_CONFIG"; then
23738 if test -n "$GTK_CFLAGS"; then
23739 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
23741 if test -n "$PKG_CONFIG" && \
23742 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQ\""; } >&5
23743 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQ") 2>&5
23745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23746 test $ac_status = 0; }; then
23747 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQ" 2>/dev/null`
23755 if test -n "$PKG_CONFIG"; then
23756 if test -n "$GTK_LIBS"; then
23757 pkg_cv_GTK_LIBS="$GTK_LIBS"
23759 if test -n "$PKG_CONFIG" && \
23760 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQ\""; } >&5
23761 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQ") 2>&5
23763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23764 test $ac_status = 0; }; then
23765 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQ" 2>/dev/null`
23776 if test $pkg_failed = yes; then
23778 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23779 _pkg_short_errors_supported=yes
23781 _pkg_short_errors_supported=no
23783 if test $_pkg_short_errors_supported = yes; then
23784 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-3.0 >= $GTK_REQ"`
23786 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-3.0 >= $GTK_REQ"`
23788 # Put the nasty error message in config.log where it belongs
23789 echo "$GTK_PKG_ERRORS" >&5
23791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23792 $as_echo "no" >&6; }
23794 elif test $pkg_failed = untried; then
23797 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
23798 GTK_LIBS=$pkg_cv_GTK_LIBS
23799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23800 $as_echo "yes" >&6; }
23805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_X11" >&5
23806 $as_echo_n "checking for GTK_X11... " >&6; }
23808 if test -n "$PKG_CONFIG"; then
23809 if test -n "$GTK_X11_CFLAGS"; then
23810 pkg_cv_GTK_X11_CFLAGS="$GTK_X11_CFLAGS"
23812 if test -n "$PKG_CONFIG" && \
23813 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-3.0 >= \$GTK_REQ\""; } >&5
23814 ($PKG_CONFIG --exists --print-errors "gtk+-x11-3.0 >= $GTK_REQ") 2>&5
23816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23817 test $ac_status = 0; }; then
23818 pkg_cv_GTK_X11_CFLAGS=`$PKG_CONFIG --cflags "gtk+-x11-3.0 >= $GTK_REQ" 2>/dev/null`
23826 if test -n "$PKG_CONFIG"; then
23827 if test -n "$GTK_X11_LIBS"; then
23828 pkg_cv_GTK_X11_LIBS="$GTK_X11_LIBS"
23830 if test -n "$PKG_CONFIG" && \
23831 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-3.0 >= \$GTK_REQ\""; } >&5
23832 ($PKG_CONFIG --exists --print-errors "gtk+-x11-3.0 >= $GTK_REQ") 2>&5
23834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23835 test $ac_status = 0; }; then
23836 pkg_cv_GTK_X11_LIBS=`$PKG_CONFIG --libs "gtk+-x11-3.0 >= $GTK_REQ" 2>/dev/null`
23847 if test $pkg_failed = yes; then
23849 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23850 _pkg_short_errors_supported=yes
23852 _pkg_short_errors_supported=no
23854 if test $_pkg_short_errors_supported = yes; then
23855 GTK_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-x11-3.0 >= $GTK_REQ"`
23857 GTK_X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-x11-3.0 >= $GTK_REQ"`
23859 # Put the nasty error message in config.log where it belongs
23860 echo "$GTK_X11_PKG_ERRORS" >&5
23862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23863 $as_echo "no" >&6; }
23865 elif test $pkg_failed = untried; then
23868 GTK_X11_CFLAGS=$pkg_cv_GTK_X11_CFLAGS
23869 GTK_X11_LIBS=$pkg_cv_GTK_X11_LIBS
23870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23871 $as_echo "yes" >&6; }
23877 if test "x$HAVE_GTK" = "xyes"; then
23885 if test "x$HAVE_GTK_X11" = "xyes"; then
23887 HAVE_GTK_X11_FALSE='#'
23889 HAVE_GTK_X11_TRUE='#'
23890 HAVE_GTK_X11_FALSE=
23896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT" >&5
23897 $as_echo_n "checking for QT... " >&6; }
23899 if test -n "$PKG_CONFIG"; then
23900 if test -n "$QT_CFLAGS"; then
23901 pkg_cv_QT_CFLAGS="$QT_CFLAGS"
23903 if test -n "$PKG_CONFIG" && \
23904 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.6\""; } >&5
23905 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.6") 2>&5
23907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23908 test $ac_status = 0; }; then
23909 pkg_cv_QT_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= 4.6" 2>/dev/null`
23917 if test -n "$PKG_CONFIG"; then
23918 if test -n "$QT_LIBS"; then
23919 pkg_cv_QT_LIBS="$QT_LIBS"
23921 if test -n "$PKG_CONFIG" && \
23922 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.6\""; } >&5
23923 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.6") 2>&5
23925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23926 test $ac_status = 0; }; then
23927 pkg_cv_QT_LIBS=`$PKG_CONFIG --libs "QtGui >= 4.6" 2>/dev/null`
23938 if test $pkg_failed = yes; then
23940 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23941 _pkg_short_errors_supported=yes
23943 _pkg_short_errors_supported=no
23945 if test $_pkg_short_errors_supported = yes; then
23946 QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtGui >= 4.6"`
23948 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.6"`
23950 # Put the nasty error message in config.log where it belongs
23951 echo "$QT_PKG_ERRORS" >&5
23953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23954 $as_echo "no" >&6; }
23959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT" >&5
23960 $as_echo_n "checking for QT... " >&6; }
23962 if test -n "$PKG_CONFIG"; then
23963 if test -n "$QT_CFLAGS"; then
23964 pkg_cv_QT_CFLAGS="$QT_CFLAGS"
23966 if test -n "$PKG_CONFIG" && \
23967 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.0\""; } >&5
23968 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.0") 2>&5
23970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23971 test $ac_status = 0; }; then
23972 pkg_cv_QT_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= 4.0" 2>/dev/null`
23980 if test -n "$PKG_CONFIG"; then
23981 if test -n "$QT_LIBS"; then
23982 pkg_cv_QT_LIBS="$QT_LIBS"
23984 if test -n "$PKG_CONFIG" && \
23985 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.0\""; } >&5
23986 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.0") 2>&5
23988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23989 test $ac_status = 0; }; then
23990 pkg_cv_QT_LIBS=`$PKG_CONFIG --libs "QtGui >= 4.0" 2>/dev/null`
24001 if test $pkg_failed = yes; then
24003 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24004 _pkg_short_errors_supported=yes
24006 _pkg_short_errors_supported=no
24008 if test $_pkg_short_errors_supported = yes; then
24009 QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtGui >= 4.0"`
24011 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.0"`
24013 # Put the nasty error message in config.log where it belongs
24014 echo "$QT_PKG_ERRORS" >&5
24016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24017 $as_echo "no" >&6; }
24019 elif test $pkg_failed = untried; then
24022 QT_CFLAGS=$pkg_cv_QT_CFLAGS
24023 QT_LIBS=$pkg_cv_QT_LIBS
24024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24025 $as_echo "yes" >&6; }
24029 elif test $pkg_failed = untried; then
24034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT" >&5
24035 $as_echo_n "checking for QT... " >&6; }
24037 if test -n "$PKG_CONFIG"; then
24038 if test -n "$QT_CFLAGS"; then
24039 pkg_cv_QT_CFLAGS="$QT_CFLAGS"
24041 if test -n "$PKG_CONFIG" && \
24042 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.0\""; } >&5
24043 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.0") 2>&5
24045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24046 test $ac_status = 0; }; then
24047 pkg_cv_QT_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= 4.0" 2>/dev/null`
24055 if test -n "$PKG_CONFIG"; then
24056 if test -n "$QT_LIBS"; then
24057 pkg_cv_QT_LIBS="$QT_LIBS"
24059 if test -n "$PKG_CONFIG" && \
24060 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.0\""; } >&5
24061 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.0") 2>&5
24063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24064 test $ac_status = 0; }; then
24065 pkg_cv_QT_LIBS=`$PKG_CONFIG --libs "QtGui >= 4.0" 2>/dev/null`
24076 if test $pkg_failed = yes; then
24078 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24079 _pkg_short_errors_supported=yes
24081 _pkg_short_errors_supported=no
24083 if test $_pkg_short_errors_supported = yes; then
24084 QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtGui >= 4.0"`
24086 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.0"`
24088 # Put the nasty error message in config.log where it belongs
24089 echo "$QT_PKG_ERRORS" >&5
24091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24092 $as_echo "no" >&6; }
24094 elif test $pkg_failed = untried; then
24097 QT_CFLAGS=$pkg_cv_QT_CFLAGS
24098 QT_LIBS=$pkg_cv_QT_LIBS
24099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24100 $as_echo "yes" >&6; }
24105 QT_CFLAGS=$pkg_cv_QT_CFLAGS
24106 QT_LIBS=$pkg_cv_QT_LIBS
24107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24108 $as_echo "yes" >&6; }
24114 if test "x$HAVE_QT" = "xyes"; then
24115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Qt moc" >&5
24116 $as_echo_n "checking Qt moc... " >&6; }
24117 QT4_MOC=`$PKG_CONFIG --variable=moc_location QtGui`
24118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT4_MOC" >&5
24119 $as_echo "$QT4_MOC" >&6; }
24122 if test "x$HAVE_QT" = "xyes"; then
24130 if test "x$HAVE_QT_GV" = "xyes"; then
24132 HAVE_QT_GV_FALSE='#'
24134 HAVE_QT_GV_TRUE='#'
24139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24140 /* end confdefs.h. */
24143 #include <linux/input.h>
24144 #include <linux/joystick.h>
24150 struct js_event js;
24151 js.type = JS_EVENT_AXIS;
24158 if ac_fn_c_try_compile "$LINENO"; then :
24160 HAVE_LINUX_JOYSTICK_HEADERS="yes"
24164 HAVE_LINUX_JOYSTICK_HEADERS="no"
24167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24168 if test "x$HAVE_LINUX_JOYSTICK_HEADERS" = "xyes"; then
24169 HAVE_LINUX_JOYSTICK_HEADERS_TRUE=
24170 HAVE_LINUX_JOYSTICK_HEADERS_FALSE='#'
24172 HAVE_LINUX_JOYSTICK_HEADERS_TRUE='#'
24173 HAVE_LINUX_JOYSTICK_HEADERS_FALSE=
24177 # Check whether --enable-Bsymbolic was given.
24178 if test "${enable_Bsymbolic+set}" = set; then :
24179 enableval=$enable_Bsymbolic;
24181 SAVED_LDFLAGS="${LDFLAGS}"
24182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
24183 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
24184 LDFLAGS=-Wl,-Bsymbolic-functions
24185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24186 /* end confdefs.h. */
24191 int main (void) { return 0; }
24196 if ac_fn_c_try_link "$LINENO"; then :
24197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24198 $as_echo "yes" >&6; }
24199 enable_Bsymbolic=yes
24201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24202 $as_echo "no" >&6; }
24203 enable_Bsymbolic=no
24205 rm -f core conftest.err conftest.$ac_objext \
24206 conftest$ac_exeext conftest.$ac_ext
24207 LDFLAGS="${SAVED_LDFLAGS}"
24215 cat >>confdefs.h <<_ACEOF
24216 #define GST_LICENSE "$GST_LICENSE"
24224 FROM_VAR=${libdir}/gstreamer-$GST_MAJORMINOR
24226 prefix_save=$prefix
24227 exec_prefix_save=$exec_prefix
24229 if test "x$prefix" = "xNONE"; then
24230 prefix="$ac_default_prefix"
24232 if test "x$exec_prefix" = "xNONE"; then
24233 exec_prefix=$prefix
24236 full_var="$FROM_VAR"
24238 new_full_var="`eval echo $full_var`"
24239 if test "x$new_full_var" = "x$full_var"; then break; fi
24240 full_var=$new_full_var
24243 full_var=$new_full_var
24244 PLUGINDIR="$full_var"
24247 prefix=$prefix_save
24248 exec_prefix=$exec_prefix_save
24251 cat >>confdefs.h <<_ACEOF
24252 #define PLUGINDIR "$PLUGINDIR"
24255 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
24256 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
24258 plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
24263 if test "x$PACKAGE_VERSION_NANO" = "x0"; then
24265 if test "xyes" = "xno" -o "xyes" = "x"; then
24266 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
24267 elif test "xyes" = "xyes"; then
24268 if ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24269 GST_PACKAGE_RELEASE_DATETIME=yes
24271 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO "${srcdir}/gst-plugins-base.doap" `;
24272 if test "x$YYYY_MM_DD" != "x"; then
24273 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
24275 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
24276 release date for release version $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO from \"${srcdir}/gst-plugins-base.doap\" " "$LINENO" 5
24277 GST_PACKAGE_RELEASE_DATETIME=""
24280 elif ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24281 GST_PACKAGE_RELEASE_DATETIME=yes
24283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
24284 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
24285 GST_PACKAGE_RELEASE_DATETIME=""
24288 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
24289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
24290 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
24292 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
24293 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
24296 cat >>confdefs.h <<_ACEOF
24297 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
24304 if test "xno" = "xno" -o "xno" = "x"; then
24305 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
24306 elif test "xno" = "xyes"; then
24307 if ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24308 GST_PACKAGE_RELEASE_DATETIME=no
24310 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" `;
24311 if test "x$YYYY_MM_DD" != "x"; then
24312 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
24314 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
24315 release date for release version from " "$LINENO" 5
24316 GST_PACKAGE_RELEASE_DATETIME=""
24319 elif ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24320 GST_PACKAGE_RELEASE_DATETIME=no
24322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
24323 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
24324 GST_PACKAGE_RELEASE_DATETIME=""
24327 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
24328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
24329 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
24331 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
24332 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
24335 cat >>confdefs.h <<_ACEOF
24336 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
24344 # set by AG_GST_PARSE_SUBSYSTEM_DISABLES above
24349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GStreamer debugging system is enabled" >&5
24350 $as_echo_n "checking whether the GStreamer debugging system is enabled... " >&6; }
24352 ac_cpp='$CPP $CPPFLAGS'
24353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24357 save_CFLAGS="$CFLAGS"
24358 CFLAGS="$GST_CFLAGS $CFLAGS"
24359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24360 /* end confdefs.h. */
24362 #include <gst/gstconfig.h>
24363 #ifdef GST_DISABLE_GST_DEBUG
24364 #error "debugging disabled, make compiler fail"
24367 if ac_fn_c_try_compile "$LINENO"; then :
24368 debug_system_enabled=yes
24370 debug_system_enabled=no
24372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24373 CFLAGS="$save_CFLAGS"
24375 ac_cpp='$CPP $CPPFLAGS'
24376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug_system_enabled" >&5
24382 $as_echo "$debug_system_enabled" >&6; }
24384 if test "x$debug_system_enabled" = "xyes" ; then
24388 NO_WARNINGS="-Wno-unused"
24401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
24402 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
24404 save_CFLAGS="$CFLAGS"
24405 CFLAGS="$CFLAGS -Wall"
24407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24408 /* end confdefs.h. */
24418 if ac_fn_c_try_compile "$LINENO"; then :
24423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24424 CFLAGS="$save_CFLAGS"
24426 if test "X$flag_ok" = Xyes ; then
24427 WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
24433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24434 $as_echo "$flag_ok" >&6; }
24438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
24439 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
24441 save_CFLAGS="$CFLAGS"
24442 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
24444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24445 /* end confdefs.h. */
24455 if ac_fn_c_try_compile "$LINENO"; then :
24460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24461 CFLAGS="$save_CFLAGS"
24463 if test "X$flag_ok" = Xyes ; then
24464 WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
24470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24471 $as_echo "$flag_ok" >&6; }
24475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
24476 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
24478 save_CFLAGS="$CFLAGS"
24479 CFLAGS="$CFLAGS -Wvla"
24481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24482 /* end confdefs.h. */
24492 if ac_fn_c_try_compile "$LINENO"; then :
24497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24498 CFLAGS="$save_CFLAGS"
24500 if test "X$flag_ok" = Xyes ; then
24501 WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
24507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24508 $as_echo "$flag_ok" >&6; }
24512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
24513 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
24515 save_CFLAGS="$CFLAGS"
24516 CFLAGS="$CFLAGS -Wpointer-arith"
24518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24519 /* end confdefs.h. */
24529 if ac_fn_c_try_compile "$LINENO"; then :
24534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24535 CFLAGS="$save_CFLAGS"
24537 if test "X$flag_ok" = Xyes ; then
24538 WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
24544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24545 $as_echo "$flag_ok" >&6; }
24548 if test "x$GST_GIT" != "xno"
24551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
24552 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
24554 save_CFLAGS="$CFLAGS"
24555 CFLAGS="$CFLAGS -Werror"
24557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24558 /* end confdefs.h. */
24568 if ac_fn_c_try_compile "$LINENO"; then :
24573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24574 CFLAGS="$save_CFLAGS"
24576 if test "X$flag_ok" = Xyes ; then
24577 ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
24583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24584 $as_echo "$flag_ok" >&6; }
24587 if test "x$ERROR_CFLAGS" = "x"
24590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
24591 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
24593 save_CFLAGS="$CFLAGS"
24594 CFLAGS="$CFLAGS -errwarn=%all"
24596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24597 /* end confdefs.h. */
24607 if ac_fn_c_try_compile "$LINENO"; then :
24612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24613 CFLAGS="$save_CFLAGS"
24615 if test "X$flag_ok" = Xyes ; then
24617 ERROR_CFLAGS="-errwarn=%all"
24618 for f in 'no%E_EMPTY_DECLARATION' \
24619 'no%E_STATEMENT_NOT_REACHED' \
24620 'no%E_ARGUEMENT_MISMATCH' \
24621 'no%E_MACRO_REDEFINED' \
24622 'no%E_LOOP_NOT_ENTERED_AT_TOP'
24625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
24626 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
24628 save_CFLAGS="$CFLAGS"
24629 CFLAGS="$CFLAGS -errwarn=%all,$f"
24631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24632 /* end confdefs.h. */
24642 if ac_fn_c_try_compile "$LINENO"; then :
24647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24648 CFLAGS="$save_CFLAGS"
24650 if test "X$flag_ok" = Xyes ; then
24652 ERROR_CFLAGS="$ERROR_CFLAGS,$f"
24659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24660 $as_echo "$flag_ok" >&6; }
24669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24670 $as_echo "$flag_ok" >&6; }
24673 if test -n "$PKG_CONFIG" && \
24674 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
24675 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
24677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24678 test $ac_status = 0; }; then
24681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
24682 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
24684 save_CFLAGS="$CFLAGS"
24685 CFLAGS="$CFLAGS -fno-strict-aliasing"
24687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24688 /* end confdefs.h. */
24698 if ac_fn_c_try_compile "$LINENO"; then :
24703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24704 CFLAGS="$save_CFLAGS"
24706 if test "X$flag_ok" = Xyes ; then
24707 ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
24713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24714 $as_echo "$flag_ok" >&6; }
24722 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
24723 -Wwrite-strings -Wformat-nonliteral -Wformat-security
24724 -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
24725 -Wno-multichar -Wnested-externs $NO_WARNINGS" != "x"
24729 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
24730 -Wwrite-strings -Wformat-nonliteral -Wformat-security
24731 -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
24732 -Wno-multichar -Wnested-externs $NO_WARNINGS"
24736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
24737 $as_echo_n "checking to see if compiler understands $each... " >&6; }
24739 save_CFLAGS="$CFLAGS"
24740 CFLAGS="$CFLAGS $each"
24742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24743 /* end confdefs.h. */
24753 if ac_fn_c_try_compile "$LINENO"; then :
24758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24759 CFLAGS="$save_CFLAGS"
24761 if test "X$flag_ok" = Xyes ; then
24762 WARNING_CFLAGS="$WARNING_CFLAGS $each"
24765 UNSUPPORTED="$UNSUPPORTED $each"
24768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24769 $as_echo "$flag_ok" >&6; }
24772 if test "X$UNSUPPORTED" != X ; then
24773 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
24774 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
24780 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
24781 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
24782 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
24783 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands " >&5
24790 $as_echo_n "checking to see if c++ compiler understands ... " >&6; }
24792 save_CPPFLAGS="$CPPFLAGS"
24793 CPPFLAGS="$CPPFLAGS "
24796 ac_cpp='$CXXCPP $CPPFLAGS'
24797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24803 /* end confdefs.h. */
24813 if ac_fn_cxx_try_compile "$LINENO"; then :
24818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24819 CPPFLAGS="$save_CPPFLAGS"
24821 if test "X$flag_ok" = Xyes ; then
24830 ac_cpp='$CPP $CPPFLAGS'
24831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24837 $as_echo "$flag_ok" >&6; }
24844 WARNING_CXXFLAGS=""
24849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wall" >&5
24850 $as_echo_n "checking to see if c++ compiler understands -Wall... " >&6; }
24852 save_CPPFLAGS="$CPPFLAGS"
24853 CPPFLAGS="$CPPFLAGS -Wall"
24856 ac_cpp='$CXXCPP $CPPFLAGS'
24857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24863 /* end confdefs.h. */
24873 if ac_fn_cxx_try_compile "$LINENO"; then :
24878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24879 CPPFLAGS="$save_CPPFLAGS"
24881 if test "X$flag_ok" = Xyes ; then
24882 WARNING_CXXFLAGS="$WARNING_CXXFLAGS -Wall"
24890 ac_cpp='$CPP $CPPFLAGS'
24891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24897 $as_echo "$flag_ok" >&6; }
24900 if test "x$GST_GIT" != "xno"
24905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Werror" >&5
24906 $as_echo_n "checking to see if c++ compiler understands -Werror... " >&6; }
24908 save_CPPFLAGS="$CPPFLAGS"
24909 CPPFLAGS="$CPPFLAGS -Werror"
24912 ac_cpp='$CXXCPP $CPPFLAGS'
24913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24919 /* end confdefs.h. */
24929 if ac_fn_cxx_try_compile "$LINENO"; then :
24934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24935 CPPFLAGS="$save_CPPFLAGS"
24937 if test "X$flag_ok" = Xyes ; then
24938 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror"
24946 ac_cpp='$CPP $CPPFLAGS'
24947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24953 $as_echo "$flag_ok" >&6; }
24956 if test "x$ERROR_CXXFLAGS" != "x"
24961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wno-non-virtual-dtor" >&5
24962 $as_echo_n "checking to see if c++ compiler understands -Wno-non-virtual-dtor... " >&6; }
24964 save_CPPFLAGS="$CPPFLAGS"
24965 CPPFLAGS="$CPPFLAGS -Wno-non-virtual-dtor"
24968 ac_cpp='$CXXCPP $CPPFLAGS'
24969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24975 /* end confdefs.h. */
24985 if ac_fn_cxx_try_compile "$LINENO"; then :
24990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24991 CPPFLAGS="$save_CPPFLAGS"
24993 if test "X$flag_ok" = Xyes ; then
24994 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Wno-non-virtual-dtor"
25002 ac_cpp='$CPP $CPPFLAGS'
25003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25009 $as_echo "$flag_ok" >&6; }
25012 if test -n "$PKG_CONFIG" && \
25013 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
25014 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
25016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25017 test $ac_status = 0; }; then
25022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -fno-strict-aliasing" >&5
25023 $as_echo_n "checking to see if c++ compiler understands -fno-strict-aliasing... " >&6; }
25025 save_CPPFLAGS="$CPPFLAGS"
25026 CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
25029 ac_cpp='$CXXCPP $CPPFLAGS'
25030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25036 /* end confdefs.h. */
25046 if ac_fn_cxx_try_compile "$LINENO"; then :
25051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25052 CPPFLAGS="$save_CPPFLAGS"
25054 if test "X$flag_ok" = Xyes ; then
25055 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -fno-strict-aliasing"
25063 ac_cpp='$CPP $CPPFLAGS'
25064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25070 $as_echo "$flag_ok" >&6; }
25078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all" >&5
25079 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all... " >&6; }
25081 save_CPPFLAGS="$CPPFLAGS"
25082 CPPFLAGS="$CPPFLAGS -errwarn=%all"
25085 ac_cpp='$CXXCPP $CPPFLAGS'
25086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25092 /* end confdefs.h. */
25102 if ac_fn_cxx_try_compile "$LINENO"; then :
25107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25108 CPPFLAGS="$save_CPPFLAGS"
25110 if test "X$flag_ok" = Xyes ; then
25111 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -errwarn=%all"
25119 ac_cpp='$CPP $CPPFLAGS'
25120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25126 $as_echo "$flag_ok" >&6; }
25128 if test "x$ERROR_CXXFLAGS" != "x"; then
25129 for f in 'no%E_EMPTY_DECLARATION' \
25130 'no%E_STATEMENT_NOT_REACHED' \
25131 'no%E_ARGUEMENT_MISMATCH' \
25132 'no%E_MACRO_REDEFINED' \
25133 'no%E_LOOP_NOT_ENTERED_AT_TOP'
25138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all,$f" >&5
25139 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all,$f... " >&6; }
25141 save_CPPFLAGS="$CPPFLAGS"
25142 CPPFLAGS="$CPPFLAGS -errwarn=%all,$f"
25145 ac_cpp='$CXXCPP $CPPFLAGS'
25146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25152 /* end confdefs.h. */
25162 if ac_fn_cxx_try_compile "$LINENO"; then :
25167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25168 CPPFLAGS="$save_CPPFLAGS"
25170 if test "X$flag_ok" = Xyes ; then
25171 ERROR_CXXFLAGS="$ERROR_CXXFLAGS
25179 ac_cpp='$CPP $CPPFLAGS'
25180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25186 $as_echo "$flag_ok" >&6; }
25194 -Wmissing-declarations -Wredundant-decls -Wundef
25195 -Wwrite-strings -Wformat-nonliteral -Wformat-security
25196 -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
25197 -Wno-multichar $NO_WARNINGS" != "x"
25201 -Wmissing-declarations -Wredundant-decls -Wundef
25202 -Wwrite-strings -Wformat-nonliteral -Wformat-security
25203 -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
25204 -Wno-multichar $NO_WARNINGS"
25210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands $each" >&5
25211 $as_echo_n "checking to see if c++ compiler understands $each... " >&6; }
25213 save_CPPFLAGS="$CPPFLAGS"
25214 CPPFLAGS="$CPPFLAGS $each"
25217 ac_cpp='$CXXCPP $CPPFLAGS'
25218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25224 /* end confdefs.h. */
25234 if ac_fn_cxx_try_compile "$LINENO"; then :
25239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25240 CPPFLAGS="$save_CPPFLAGS"
25242 if test "X$flag_ok" = Xyes ; then
25243 WARNING_CXXFLAGS="$WARNING_CXXFLAGS $each"
25246 UNSUPPORTED="$UNSUPPORTED $each"
25251 ac_cpp='$CPP $CPPFLAGS'
25252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25258 $as_echo "$flag_ok" >&6; }
25261 if test "X$UNSUPPORTED" != X ; then
25262 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
25263 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
25269 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&5
25270 $as_echo "$as_me: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&6;}
25271 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&5
25272 $as_echo "$as_me: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&6;}
25276 if test "x$GST_GIT" = "xyes"; then
25277 GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
25279 GST_LEVEL_DEFAULT=GST_LEVEL_NONE
25282 cat >>confdefs.h <<_ACEOF
25283 #define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
25290 DEFAULT_AUDIOSINK="autoaudiosink"
25291 DEFAULT_VIDEOSINK="autovideosink"
25292 DEFAULT_AUDIOSRC="alsasrc"
25293 DEFAULT_VIDEOSRC="v4l2src"
25294 DEFAULT_VISUALIZER="goom"
25296 *-sun-* | *pc-solaris* )
25297 DEFAULT_AUDIOSRC="sunaudiosrc"
25300 DEFAULT_AUDIOSRC="osxaudiosrc"
25305 # Check whether --with-default-audiosink was given.
25306 if test "${with_default_audiosink+set}" = set; then :
25307 withval=$with_default_audiosink;
25308 case "${withval}" in
25309 yes) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
25310 no) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
25311 *) DEFAULT_AUDIOSINK="${withval}" ;;
25316 DEFAULT_AUDIOSINK="$DEFAULT_AUDIOSINK"
25320 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSINK as default audio sink" >&5
25321 $as_echo "$as_me: Using $DEFAULT_AUDIOSINK as default audio sink" >&6;}
25324 cat >>confdefs.h <<_ACEOF
25325 #define DEFAULT_AUDIOSINK "$DEFAULT_AUDIOSINK"
25330 # Check whether --with-default-audiosrc was given.
25331 if test "${with_default_audiosrc+set}" = set; then :
25332 withval=$with_default_audiosrc;
25333 case "${withval}" in
25334 yes) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
25335 no) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
25336 *) DEFAULT_AUDIOSRC="${withval}" ;;
25341 DEFAULT_AUDIOSRC="$DEFAULT_AUDIOSRC"
25345 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSRC as default audio source" >&5
25346 $as_echo "$as_me: Using $DEFAULT_AUDIOSRC as default audio source" >&6;}
25349 cat >>confdefs.h <<_ACEOF
25350 #define DEFAULT_AUDIOSRC "$DEFAULT_AUDIOSRC"
25355 # Check whether --with-default-videosink was given.
25356 if test "${with_default_videosink+set}" = set; then :
25357 withval=$with_default_videosink;
25358 case "${withval}" in
25359 yes) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
25360 no) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
25361 *) DEFAULT_VIDEOSINK="${withval}" ;;
25366 DEFAULT_VIDEOSINK="$DEFAULT_VIDEOSINK"
25370 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSINK as default video sink" >&5
25371 $as_echo "$as_me: Using $DEFAULT_VIDEOSINK as default video sink" >&6;}
25374 cat >>confdefs.h <<_ACEOF
25375 #define DEFAULT_VIDEOSINK "$DEFAULT_VIDEOSINK"
25380 # Check whether --with-default-videosrc was given.
25381 if test "${with_default_videosrc+set}" = set; then :
25382 withval=$with_default_videosrc;
25383 case "${withval}" in
25384 yes) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
25385 no) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
25386 *) DEFAULT_VIDEOSRC="${withval}" ;;
25391 DEFAULT_VIDEOSRC="$DEFAULT_VIDEOSRC"
25395 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSRC as default video source" >&5
25396 $as_echo "$as_me: Using $DEFAULT_VIDEOSRC as default video source" >&6;}
25399 cat >>confdefs.h <<_ACEOF
25400 #define DEFAULT_VIDEOSRC "$DEFAULT_VIDEOSRC"
25405 # Check whether --with-default-visualizer was given.
25406 if test "${with_default_visualizer+set}" = set; then :
25407 withval=$with_default_visualizer;
25408 case "${withval}" in
25409 yes) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
25410 no) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
25411 *) DEFAULT_VISUALIZER="${withval}" ;;
25416 DEFAULT_VISUALIZER="$DEFAULT_VISUALIZER"
25420 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VISUALIZER as default visualizer" >&5
25421 $as_echo "$as_me: Using $DEFAULT_VISUALIZER as default visualizer" >&6;}
25424 cat >>confdefs.h <<_ACEOF
25425 #define DEFAULT_VISUALIZER "$DEFAULT_VISUALIZER"
25430 GST_DATADIR="$GST_PREFIX/share"
25432 cat >>confdefs.h <<_ACEOF
25433 #define GST_DATADIR "$GST_DATADIR"
25437 cat >>confdefs.h <<_ACEOF
25438 #define GST_MAJORMINOR "$GST_MAJORMINOR"
25442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which audio resample format to use for integer" >&5
25443 $as_echo_n "checking which audio resample format to use for integer... " >&6; }
25445 # Check whether --with-audioresample_format was given.
25446 if test "${with_audioresample_format+set}" = set; then :
25447 withval=$with_audioresample_format; ac_cv_audioresample_format=$withval
25449 ac_cv_audioresample_format=auto
25451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_audioresample_format" >&5
25452 $as_echo "$ac_cv_audioresample_format" >&6; }
25453 case $ac_cv_audioresample_format in
25456 $as_echo "#define AUDIORESAMPLE_FORMAT_INT 1" >>confdefs.h
25462 $as_echo "#define AUDIORESAMPLE_FORMAT_FLOAT 1" >>confdefs.h
25468 $as_echo "#define AUDIORESAMPLE_FORMAT_AUTO 1" >>confdefs.h
25475 GST_PLUGINS_ALL="$GST_PLUGINS_ALL adder"
25479 # Check whether --enable-adder was given.
25480 if test "${enable_adder+set}" = set; then :
25481 enableval=$enable_adder;
25482 case "${enableval}" in
25483 yes) gst_use_adder=yes ;;
25484 no) gst_use_adder=no ;;
25485 *) as_fn_error $? "bad value ${enableval} for --enable-adder" "$LINENO" 5 ;;
25492 if test x$gst_use_adder = xno; then
25493 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin adder" >&5
25494 $as_echo "$as_me: disabling dependency-less plugin adder" >&6;}
25495 WITHOUT_PLUGINS="$WITHOUT_PLUGINS adder"
25499 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " adder " > /dev/null; then
25500 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED adder"
25502 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " adder " > /dev/null; then
25503 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ adder / /'`
25505 if echo " $GST_PLUGINS_SELECTED " | grep -i " adder " > /dev/null; then
25506 USE_PLUGIN_ADDER_TRUE=
25507 USE_PLUGIN_ADDER_FALSE='#'
25509 USE_PLUGIN_ADDER_TRUE='#'
25510 USE_PLUGIN_ADDER_FALSE=
25515 GST_PLUGINS_ALL="$GST_PLUGINS_ALL app"
25519 # Check whether --enable-app was given.
25520 if test "${enable_app+set}" = set; then :
25521 enableval=$enable_app;
25522 case "${enableval}" in
25523 yes) gst_use_app=yes ;;
25524 no) gst_use_app=no ;;
25525 *) as_fn_error $? "bad value ${enableval} for --enable-app" "$LINENO" 5 ;;
25532 if test x$gst_use_app = xno; then
25533 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin app" >&5
25534 $as_echo "$as_me: disabling dependency-less plugin app" >&6;}
25535 WITHOUT_PLUGINS="$WITHOUT_PLUGINS app"
25539 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " app " > /dev/null; then
25540 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED app"
25542 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " app " > /dev/null; then
25543 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ app / /'`
25545 if echo " $GST_PLUGINS_SELECTED " | grep -i " app " > /dev/null; then
25546 USE_PLUGIN_APP_TRUE=
25547 USE_PLUGIN_APP_FALSE='#'
25549 USE_PLUGIN_APP_TRUE='#'
25550 USE_PLUGIN_APP_FALSE=
25555 GST_PLUGINS_ALL="$GST_PLUGINS_ALL audioconvert"
25559 # Check whether --enable-audioconvert was given.
25560 if test "${enable_audioconvert+set}" = set; then :
25561 enableval=$enable_audioconvert;
25562 case "${enableval}" in
25563 yes) gst_use_audioconvert=yes ;;
25564 no) gst_use_audioconvert=no ;;
25565 *) as_fn_error $? "bad value ${enableval} for --enable-audioconvert" "$LINENO" 5 ;;
25569 gst_use_audioconvert=yes
25572 if test x$gst_use_audioconvert = xno; then
25573 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audioconvert" >&5
25574 $as_echo "$as_me: disabling dependency-less plugin audioconvert" >&6;}
25575 WITHOUT_PLUGINS="$WITHOUT_PLUGINS audioconvert"
25579 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audioconvert " > /dev/null; then
25580 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audioconvert"
25582 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audioconvert " > /dev/null; then
25583 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audioconvert / /'`
25585 if echo " $GST_PLUGINS_SELECTED " | grep -i " audioconvert " > /dev/null; then
25586 USE_PLUGIN_AUDIOCONVERT_TRUE=
25587 USE_PLUGIN_AUDIOCONVERT_FALSE='#'
25589 USE_PLUGIN_AUDIOCONVERT_TRUE='#'
25590 USE_PLUGIN_AUDIOCONVERT_FALSE=
25595 GST_PLUGINS_ALL="$GST_PLUGINS_ALL audiorate"
25599 # Check whether --enable-audiorate was given.
25600 if test "${enable_audiorate+set}" = set; then :
25601 enableval=$enable_audiorate;
25602 case "${enableval}" in
25603 yes) gst_use_audiorate=yes ;;
25604 no) gst_use_audiorate=no ;;
25605 *) as_fn_error $? "bad value ${enableval} for --enable-audiorate" "$LINENO" 5 ;;
25609 gst_use_audiorate=yes
25612 if test x$gst_use_audiorate = xno; then
25613 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audiorate" >&5
25614 $as_echo "$as_me: disabling dependency-less plugin audiorate" >&6;}
25615 WITHOUT_PLUGINS="$WITHOUT_PLUGINS audiorate"
25619 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audiorate " > /dev/null; then
25620 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audiorate"
25622 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audiorate " > /dev/null; then
25623 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audiorate / /'`
25625 if echo " $GST_PLUGINS_SELECTED " | grep -i " audiorate " > /dev/null; then
25626 USE_PLUGIN_AUDIORATE_TRUE=
25627 USE_PLUGIN_AUDIORATE_FALSE='#'
25629 USE_PLUGIN_AUDIORATE_TRUE='#'
25630 USE_PLUGIN_AUDIORATE_FALSE=
25635 GST_PLUGINS_ALL="$GST_PLUGINS_ALL audiotestsrc"
25639 # Check whether --enable-audiotestsrc was given.
25640 if test "${enable_audiotestsrc+set}" = set; then :
25641 enableval=$enable_audiotestsrc;
25642 case "${enableval}" in
25643 yes) gst_use_audiotestsrc=yes ;;
25644 no) gst_use_audiotestsrc=no ;;
25645 *) as_fn_error $? "bad value ${enableval} for --enable-audiotestsrc" "$LINENO" 5 ;;
25649 gst_use_audiotestsrc=yes
25652 if test x$gst_use_audiotestsrc = xno; then
25653 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audiotestsrc" >&5
25654 $as_echo "$as_me: disabling dependency-less plugin audiotestsrc" >&6;}
25655 WITHOUT_PLUGINS="$WITHOUT_PLUGINS audiotestsrc"
25659 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audiotestsrc " > /dev/null; then
25660 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audiotestsrc"
25662 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audiotestsrc " > /dev/null; then
25663 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audiotestsrc / /'`
25665 if echo " $GST_PLUGINS_SELECTED " | grep -i " audiotestsrc " > /dev/null; then
25666 USE_PLUGIN_AUDIOTESTSRC_TRUE=
25667 USE_PLUGIN_AUDIOTESTSRC_FALSE='#'
25669 USE_PLUGIN_AUDIOTESTSRC_TRUE='#'
25670 USE_PLUGIN_AUDIOTESTSRC_FALSE=
25675 GST_PLUGINS_ALL="$GST_PLUGINS_ALL encoding"
25679 # Check whether --enable-encoding was given.
25680 if test "${enable_encoding+set}" = set; then :
25681 enableval=$enable_encoding;
25682 case "${enableval}" in
25683 yes) gst_use_encoding=yes ;;
25684 no) gst_use_encoding=no ;;
25685 *) as_fn_error $? "bad value ${enableval} for --enable-encoding" "$LINENO" 5 ;;
25689 gst_use_encoding=yes
25692 if test x$gst_use_encoding = xno; then
25693 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin encoding" >&5
25694 $as_echo "$as_me: disabling dependency-less plugin encoding" >&6;}
25695 WITHOUT_PLUGINS="$WITHOUT_PLUGINS encoding"
25699 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " encoding " > /dev/null; then
25700 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED encoding"
25702 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " encoding " > /dev/null; then
25703 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ encoding / /'`
25705 if echo " $GST_PLUGINS_SELECTED " | grep -i " encoding " > /dev/null; then
25706 USE_PLUGIN_ENCODING_TRUE=
25707 USE_PLUGIN_ENCODING_FALSE='#'
25709 USE_PLUGIN_ENCODING_TRUE='#'
25710 USE_PLUGIN_ENCODING_FALSE=
25715 GST_PLUGINS_ALL="$GST_PLUGINS_ALL ffmpegcolorspace"
25719 # Check whether --enable-ffmpegcolorspace was given.
25720 if test "${enable_ffmpegcolorspace+set}" = set; then :
25721 enableval=$enable_ffmpegcolorspace;
25722 case "${enableval}" in
25723 yes) gst_use_ffmpegcolorspace=yes ;;
25724 no) gst_use_ffmpegcolorspace=no ;;
25725 *) as_fn_error $? "bad value ${enableval} for --enable-ffmpegcolorspace" "$LINENO" 5 ;;
25729 gst_use_ffmpegcolorspace=yes
25732 if test x$gst_use_ffmpegcolorspace = xno; then
25733 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin ffmpegcolorspace" >&5
25734 $as_echo "$as_me: disabling dependency-less plugin ffmpegcolorspace" >&6;}
25735 WITHOUT_PLUGINS="$WITHOUT_PLUGINS ffmpegcolorspace"
25739 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " ffmpegcolorspace " > /dev/null; then
25740 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED ffmpegcolorspace"
25742 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " ffmpegcolorspace " > /dev/null; then
25743 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ ffmpegcolorspace / /'`
25745 if echo " $GST_PLUGINS_SELECTED " | grep -i " ffmpegcolorspace " > /dev/null; then
25746 USE_PLUGIN_FFMPEGCOLORSPACE_TRUE=
25747 USE_PLUGIN_FFMPEGCOLORSPACE_FALSE='#'
25749 USE_PLUGIN_FFMPEGCOLORSPACE_TRUE='#'
25750 USE_PLUGIN_FFMPEGCOLORSPACE_FALSE=
25755 GST_PLUGINS_ALL="$GST_PLUGINS_ALL gdp"
25759 # Check whether --enable-gdp was given.
25760 if test "${enable_gdp+set}" = set; then :
25761 enableval=$enable_gdp;
25762 case "${enableval}" in
25763 yes) gst_use_gdp=yes ;;
25764 no) gst_use_gdp=no ;;
25765 *) as_fn_error $? "bad value ${enableval} for --enable-gdp" "$LINENO" 5 ;;
25772 if test x$gst_use_gdp = xno; then
25773 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin gdp" >&5
25774 $as_echo "$as_me: disabling dependency-less plugin gdp" >&6;}
25775 WITHOUT_PLUGINS="$WITHOUT_PLUGINS gdp"
25779 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " gdp " > /dev/null; then
25780 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED gdp"
25782 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " gdp " > /dev/null; then
25783 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ gdp / /'`
25785 if echo " $GST_PLUGINS_SELECTED " | grep -i " gdp " > /dev/null; then
25786 USE_PLUGIN_GDP_TRUE=
25787 USE_PLUGIN_GDP_FALSE='#'
25789 USE_PLUGIN_GDP_TRUE='#'
25790 USE_PLUGIN_GDP_FALSE=
25795 GST_PLUGINS_ALL="$GST_PLUGINS_ALL playback"
25799 # Check whether --enable-playback was given.
25800 if test "${enable_playback+set}" = set; then :
25801 enableval=$enable_playback;
25802 case "${enableval}" in
25803 yes) gst_use_playback=yes ;;
25804 no) gst_use_playback=no ;;
25805 *) as_fn_error $? "bad value ${enableval} for --enable-playback" "$LINENO" 5 ;;
25809 gst_use_playback=yes
25812 if test x$gst_use_playback = xno; then
25813 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin playback" >&5
25814 $as_echo "$as_me: disabling dependency-less plugin playback" >&6;}
25815 WITHOUT_PLUGINS="$WITHOUT_PLUGINS playback"
25819 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " playback " > /dev/null; then
25820 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED playback"
25822 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " playback " > /dev/null; then
25823 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ playback / /'`
25825 if echo " $GST_PLUGINS_SELECTED " | grep -i " playback " > /dev/null; then
25826 USE_PLUGIN_PLAYBACK_TRUE=
25827 USE_PLUGIN_PLAYBACK_FALSE='#'
25829 USE_PLUGIN_PLAYBACK_TRUE='#'
25830 USE_PLUGIN_PLAYBACK_FALSE=
25835 GST_PLUGINS_ALL="$GST_PLUGINS_ALL audioresample"
25839 # Check whether --enable-audioresample was given.
25840 if test "${enable_audioresample+set}" = set; then :
25841 enableval=$enable_audioresample;
25842 case "${enableval}" in
25843 yes) gst_use_audioresample=yes ;;
25844 no) gst_use_audioresample=no ;;
25845 *) as_fn_error $? "bad value ${enableval} for --enable-audioresample" "$LINENO" 5 ;;
25849 gst_use_audioresample=yes
25852 if test x$gst_use_audioresample = xno; then
25853 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audioresample" >&5
25854 $as_echo "$as_me: disabling dependency-less plugin audioresample" >&6;}
25855 WITHOUT_PLUGINS="$WITHOUT_PLUGINS audioresample"
25859 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audioresample " > /dev/null; then
25860 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audioresample"
25862 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audioresample " > /dev/null; then
25863 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audioresample / /'`
25865 if echo " $GST_PLUGINS_SELECTED " | grep -i " audioresample " > /dev/null; then
25866 USE_PLUGIN_AUDIORESAMPLE_TRUE=
25867 USE_PLUGIN_AUDIORESAMPLE_FALSE='#'
25869 USE_PLUGIN_AUDIORESAMPLE_TRUE='#'
25870 USE_PLUGIN_AUDIORESAMPLE_FALSE=
25875 GST_PLUGINS_ALL="$GST_PLUGINS_ALL subparse"
25879 # Check whether --enable-subparse was given.
25880 if test "${enable_subparse+set}" = set; then :
25881 enableval=$enable_subparse;
25882 case "${enableval}" in
25883 yes) gst_use_subparse=yes ;;
25884 no) gst_use_subparse=no ;;
25885 *) as_fn_error $? "bad value ${enableval} for --enable-subparse" "$LINENO" 5 ;;
25889 gst_use_subparse=yes
25892 if test x$gst_use_subparse = xno; then
25893 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin subparse" >&5
25894 $as_echo "$as_me: disabling dependency-less plugin subparse" >&6;}
25895 WITHOUT_PLUGINS="$WITHOUT_PLUGINS subparse"
25899 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " subparse " > /dev/null; then
25900 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED subparse"
25902 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " subparse " > /dev/null; then
25903 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ subparse / /'`
25905 if echo " $GST_PLUGINS_SELECTED " | grep -i " subparse " > /dev/null; then
25906 USE_PLUGIN_SUBPARSE_TRUE=
25907 USE_PLUGIN_SUBPARSE_FALSE='#'
25909 USE_PLUGIN_SUBPARSE_TRUE='#'
25910 USE_PLUGIN_SUBPARSE_FALSE=
25915 GST_PLUGINS_ALL="$GST_PLUGINS_ALL tcp"
25919 # Check whether --enable-tcp was given.
25920 if test "${enable_tcp+set}" = set; then :
25921 enableval=$enable_tcp;
25922 case "${enableval}" in
25923 yes) gst_use_tcp=yes ;;
25924 no) gst_use_tcp=no ;;
25925 *) as_fn_error $? "bad value ${enableval} for --enable-tcp" "$LINENO" 5 ;;
25932 if test x$gst_use_tcp = xno; then
25933 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin tcp" >&5
25934 $as_echo "$as_me: disabling dependency-less plugin tcp" >&6;}
25935 WITHOUT_PLUGINS="$WITHOUT_PLUGINS tcp"
25939 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " tcp " > /dev/null; then
25940 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED tcp"
25942 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " tcp " > /dev/null; then
25943 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ tcp / /'`
25945 if echo " $GST_PLUGINS_SELECTED " | grep -i " tcp " > /dev/null; then
25946 USE_PLUGIN_TCP_TRUE=
25947 USE_PLUGIN_TCP_FALSE='#'
25949 USE_PLUGIN_TCP_TRUE='#'
25950 USE_PLUGIN_TCP_FALSE=
25955 GST_PLUGINS_ALL="$GST_PLUGINS_ALL typefind"
25959 # Check whether --enable-typefind was given.
25960 if test "${enable_typefind+set}" = set; then :
25961 enableval=$enable_typefind;
25962 case "${enableval}" in
25963 yes) gst_use_typefind=yes ;;
25964 no) gst_use_typefind=no ;;
25965 *) as_fn_error $? "bad value ${enableval} for --enable-typefind" "$LINENO" 5 ;;
25969 gst_use_typefind=yes
25972 if test x$gst_use_typefind = xno; then
25973 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin typefind" >&5
25974 $as_echo "$as_me: disabling dependency-less plugin typefind" >&6;}
25975 WITHOUT_PLUGINS="$WITHOUT_PLUGINS typefind"
25979 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " typefind " > /dev/null; then
25980 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED typefind"
25982 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " typefind " > /dev/null; then
25983 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ typefind / /'`
25985 if echo " $GST_PLUGINS_SELECTED " | grep -i " typefind " > /dev/null; then
25986 USE_PLUGIN_TYPEFIND_TRUE=
25987 USE_PLUGIN_TYPEFIND_FALSE='#'
25989 USE_PLUGIN_TYPEFIND_TRUE='#'
25990 USE_PLUGIN_TYPEFIND_FALSE=
25995 GST_PLUGINS_ALL="$GST_PLUGINS_ALL videotestsrc"
25999 # Check whether --enable-videotestsrc was given.
26000 if test "${enable_videotestsrc+set}" = set; then :
26001 enableval=$enable_videotestsrc;
26002 case "${enableval}" in
26003 yes) gst_use_videotestsrc=yes ;;
26004 no) gst_use_videotestsrc=no ;;
26005 *) as_fn_error $? "bad value ${enableval} for --enable-videotestsrc" "$LINENO" 5 ;;
26009 gst_use_videotestsrc=yes
26012 if test x$gst_use_videotestsrc = xno; then
26013 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videotestsrc" >&5
26014 $as_echo "$as_me: disabling dependency-less plugin videotestsrc" >&6;}
26015 WITHOUT_PLUGINS="$WITHOUT_PLUGINS videotestsrc"
26019 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videotestsrc " > /dev/null; then
26020 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videotestsrc"
26022 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videotestsrc " > /dev/null; then
26023 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videotestsrc / /'`
26025 if echo " $GST_PLUGINS_SELECTED " | grep -i " videotestsrc " > /dev/null; then
26026 USE_PLUGIN_VIDEOTESTSRC_TRUE=
26027 USE_PLUGIN_VIDEOTESTSRC_FALSE='#'
26029 USE_PLUGIN_VIDEOTESTSRC_TRUE='#'
26030 USE_PLUGIN_VIDEOTESTSRC_FALSE=
26035 GST_PLUGINS_ALL="$GST_PLUGINS_ALL videorate"
26039 # Check whether --enable-videorate was given.
26040 if test "${enable_videorate+set}" = set; then :
26041 enableval=$enable_videorate;
26042 case "${enableval}" in
26043 yes) gst_use_videorate=yes ;;
26044 no) gst_use_videorate=no ;;
26045 *) as_fn_error $? "bad value ${enableval} for --enable-videorate" "$LINENO" 5 ;;
26049 gst_use_videorate=yes
26052 if test x$gst_use_videorate = xno; then
26053 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videorate" >&5
26054 $as_echo "$as_me: disabling dependency-less plugin videorate" >&6;}
26055 WITHOUT_PLUGINS="$WITHOUT_PLUGINS videorate"
26059 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videorate " > /dev/null; then
26060 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videorate"
26062 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videorate " > /dev/null; then
26063 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videorate / /'`
26065 if echo " $GST_PLUGINS_SELECTED " | grep -i " videorate " > /dev/null; then
26066 USE_PLUGIN_VIDEORATE_TRUE=
26067 USE_PLUGIN_VIDEORATE_FALSE='#'
26069 USE_PLUGIN_VIDEORATE_TRUE='#'
26070 USE_PLUGIN_VIDEORATE_FALSE=
26075 GST_PLUGINS_ALL="$GST_PLUGINS_ALL videoscale"
26079 # Check whether --enable-videoscale was given.
26080 if test "${enable_videoscale+set}" = set; then :
26081 enableval=$enable_videoscale;
26082 case "${enableval}" in
26083 yes) gst_use_videoscale=yes ;;
26084 no) gst_use_videoscale=no ;;
26085 *) as_fn_error $? "bad value ${enableval} for --enable-videoscale" "$LINENO" 5 ;;
26089 gst_use_videoscale=yes
26092 if test x$gst_use_videoscale = xno; then
26093 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videoscale" >&5
26094 $as_echo "$as_me: disabling dependency-less plugin videoscale" >&6;}
26095 WITHOUT_PLUGINS="$WITHOUT_PLUGINS videoscale"
26099 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videoscale " > /dev/null; then
26100 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videoscale"
26102 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videoscale " > /dev/null; then
26103 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videoscale / /'`
26105 if echo " $GST_PLUGINS_SELECTED " | grep -i " videoscale " > /dev/null; then
26106 USE_PLUGIN_VIDEOSCALE_TRUE=
26107 USE_PLUGIN_VIDEOSCALE_FALSE='#'
26109 USE_PLUGIN_VIDEOSCALE_TRUE='#'
26110 USE_PLUGIN_VIDEOSCALE_FALSE=
26115 GST_PLUGINS_ALL="$GST_PLUGINS_ALL volume"
26119 # Check whether --enable-volume was given.
26120 if test "${enable_volume+set}" = set; then :
26121 enableval=$enable_volume;
26122 case "${enableval}" in
26123 yes) gst_use_volume=yes ;;
26124 no) gst_use_volume=no ;;
26125 *) as_fn_error $? "bad value ${enableval} for --enable-volume" "$LINENO" 5 ;;
26132 if test x$gst_use_volume = xno; then
26133 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin volume" >&5
26134 $as_echo "$as_me: disabling dependency-less plugin volume" >&6;}
26135 WITHOUT_PLUGINS="$WITHOUT_PLUGINS volume"
26139 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " volume " > /dev/null; then
26140 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED volume"
26142 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " volume " > /dev/null; then
26143 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ volume / /'`
26145 if echo " $GST_PLUGINS_SELECTED " | grep -i " volume " > /dev/null; then
26146 USE_PLUGIN_VOLUME_TRUE=
26147 USE_PLUGIN_VOLUME_FALSE='#'
26149 USE_PLUGIN_VOLUME_TRUE='#'
26150 USE_PLUGIN_VOLUME_FALSE=
26155 GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir gstreamer-0.10`"/gst/gstconfig.h"
26158 grep >/dev/null "#undef GST_DISABLE_GST_DEBUG" $GST_CONFIGPATH
26159 if test $? = 0; then
26160 GST_DISABLE_GST_DEBUG=0
26162 GST_DISABLE_GST_DEBUG=1
26167 grep >/dev/null "#undef GST_DISABLE_LOADSAVE" $GST_CONFIGPATH
26168 if test $? = 0; then
26169 GST_DISABLE_LOADSAVE=0
26171 GST_DISABLE_LOADSAVE=1
26176 grep >/dev/null "#undef GST_DISABLE_PARSE" $GST_CONFIGPATH
26177 if test $? = 0; then
26178 GST_DISABLE_PARSE=0
26180 GST_DISABLE_PARSE=1
26185 grep >/dev/null "#undef GST_DISABLE_TRACE" $GST_CONFIGPATH
26186 if test $? = 0; then
26187 GST_DISABLE_TRACE=0
26189 GST_DISABLE_TRACE=1
26194 grep >/dev/null "#undef GST_DISABLE_ALLOC_TRACE" $GST_CONFIGPATH
26195 if test $? = 0; then
26196 GST_DISABLE_ALLOC_TRACE=0
26198 GST_DISABLE_ALLOC_TRACE=1
26203 grep >/dev/null "#undef GST_DISABLE_REGISTRY" $GST_CONFIGPATH
26204 if test $? = 0; then
26205 GST_DISABLE_REGISTRY=0
26207 GST_DISABLE_REGISTRY=1
26212 grep >/dev/null "#undef GST_DISABLE_PLUGIN" $GST_CONFIGPATH
26213 if test $? = 0; then
26214 GST_DISABLE_PLUGIN=0
26216 GST_DISABLE_PLUGIN=1
26221 grep >/dev/null "#undef GST_DISABLE_XML" $GST_CONFIGPATH
26222 if test $? = 0; then
26230 if test $GST_DISABLE_XML != "1"; then
26239 if test "x$HAVE_LIBXML_HTML" != "xyes"; then
26241 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ subparse / /'`
26243 USE_PLUGIN_SUBPARSE_TRUE=
26244 USE_PLUGIN_SUBPARSE_FALSE='#'
26246 USE_PLUGIN_SUBPARSE_TRUE='#'
26247 USE_PLUGIN_SUBPARSE_FALSE=
26253 if test "x$HAVE_SYS_SOCKET_H" != "xyes"; then
26255 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ tcp / /'`
26257 USE_PLUGIN_TCP_TRUE=
26258 USE_PLUGIN_TCP_FALSE='#'
26260 USE_PLUGIN_TCP_TRUE='#'
26261 USE_PLUGIN_TCP_FALSE=
26267 # Check whether --enable-iso-codes was given.
26268 if test "${enable_iso_codes+set}" = set; then :
26269 enableval=$enable_iso_codes; case "${enableval}" in
26270 yes) enable_iso_codes=yes ;;
26271 no) enable_iso_codes=no ;;
26272 *) as_fn_error $? "bad value ${enableval} for --enable-iso-codes" "$LINENO" 5 ;;
26276 enable_iso_codes=yes
26279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use iso-codes if they are available" >&5
26280 $as_echo_n "checking whether to use iso-codes if they are available... " >&6; }
26281 if test "x$enable_iso_codes" = "xyes"; then
26282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26283 $as_echo "yes" >&6; }
26285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iso-codes are available on this system" >&5
26286 $as_echo_n "checking whether iso-codes are available on this system... " >&6; }
26287 if $PKG_CONFIG iso-codes; then
26288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26289 $as_echo "yes" >&6; }
26290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iso-codes has iso-639 domain" >&5
26291 $as_echo_n "checking whether iso-codes has iso-639 domain... " >&6; }
26292 if $PKG_CONFIG --variable=domains iso-codes | $GREP -q 639 ; then
26293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26294 $as_echo "yes" >&6; }
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iso-codes prefix" >&5
26296 $as_echo_n "checking for iso-codes prefix... " >&6; }
26297 ISO_CODES_PREFIX=`$PKG_CONFIG --variable=prefix iso-codes`
26298 if test -d "$ISO_CODES_PREFIX"; then
26299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26300 $as_echo "yes" >&6; }
26301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ISO_CODES_PREFIX" >&5
26302 $as_echo_n "checking ISO_CODES_PREFIX... " >&6; }
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO_CODES_PREFIX" >&5
26304 $as_echo "$ISO_CODES_PREFIX" >&6; }
26305 ISO_639_DOMAIN="iso_639"
26306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ISO_639_DOMAIN" >&5
26307 $as_echo_n "checking ISO_639_DOMAIN... " >&6; }
26308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO_639_DOMAIN" >&5
26309 $as_echo "$ISO_639_DOMAIN" >&6; }
26312 $as_echo "#define HAVE_ISO_CODES 1" >>confdefs.h
26315 cat >>confdefs.h <<_ACEOF
26316 #define ISO_CODES_PREFIX "$ISO_CODES_PREFIX"
26319 ISO_CODES_VERSION=`$PKG_CONFIG --modversion iso-codes`
26321 cat >>confdefs.h <<_ACEOF
26322 #define ISO_CODES_VERSION "$ISO_CODES_VERSION"
26326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26327 $as_echo "no" >&6; }
26330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26331 $as_echo "no" >&6; }
26334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26335 $as_echo "no" >&6; }
26337 if test "x$have_iso_codes" = "xyes"; then
26338 USE_ISO_CODES_TRUE=
26339 USE_ISO_CODES_FALSE='#'
26341 USE_ISO_CODES_TRUE='#'
26342 USE_ISO_CODES_FALSE=
26346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (disabled via --disable-iso-codes)" >&5
26347 $as_echo "no (disabled via --disable-iso-codes)" >&6; }
26349 USE_ISO_CODES_TRUE=
26350 USE_ISO_CODES_FALSE='#'
26352 USE_ISO_CODES_TRUE='#'
26353 USE_ISO_CODES_FALSE=
26359 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: zlib support for ID3 parsing in libgsttag ***" >&5
26360 $as_echo "$as_me: *** checking feature: zlib support for ID3 parsing in libgsttag ***" >&6;}
26363 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
26364 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
26367 if test "x$USE_ZLIB" = "xno"; then
26370 # Check whether --enable-zlib was given.
26371 if test "${enable_zlib+set}" = set; then :
26372 enableval=$enable_zlib; case "${enableval}" in
26373 yes) USE_ZLIB=yes;;
26375 *) as_fn_error $? "bad value ${enableval} for --enable-zlib" "$LINENO" 5 ;;
26381 if test "x$NOUSE" = "xyes"; then
26383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
26384 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
26389 if test x$USE_ZLIB = xyes; then
26391 gst_check_save_LIBS=$LIBS
26392 gst_check_save_LDFLAGS=$LDFLAGS
26393 gst_check_save_CFLAGS=$CFLAGS
26394 gst_check_save_CPPFLAGS=$CPPFLAGS
26395 gst_check_save_CXXFLAGS=$CXXFLAGS
26401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZLIB" >&5
26402 $as_echo_n "checking for ZLIB... " >&6; }
26404 if test -n "$PKG_CONFIG"; then
26405 if test -n "$ZLIB_CFLAGS"; then
26406 pkg_cv_ZLIB_CFLAGS="$ZLIB_CFLAGS"
26408 if test -n "$PKG_CONFIG" && \
26409 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" zlib \""; } >&5
26410 ($PKG_CONFIG --exists --print-errors " zlib ") 2>&5
26412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26413 test $ac_status = 0; }; then
26414 pkg_cv_ZLIB_CFLAGS=`$PKG_CONFIG --cflags " zlib " 2>/dev/null`
26422 if test -n "$PKG_CONFIG"; then
26423 if test -n "$ZLIB_LIBS"; then
26424 pkg_cv_ZLIB_LIBS="$ZLIB_LIBS"
26426 if test -n "$PKG_CONFIG" && \
26427 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" zlib \""; } >&5
26428 ($PKG_CONFIG --exists --print-errors " zlib ") 2>&5
26430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26431 test $ac_status = 0; }; then
26432 pkg_cv_ZLIB_LIBS=`$PKG_CONFIG --libs " zlib " 2>/dev/null`
26443 if test $pkg_failed = yes; then
26445 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26446 _pkg_short_errors_supported=yes
26448 _pkg_short_errors_supported=no
26450 if test $_pkg_short_errors_supported = yes; then
26451 ZLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " zlib "`
26453 ZLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " zlib "`
26455 # Put the nasty error message in config.log where it belongs
26456 echo "$ZLIB_PKG_ERRORS" >&5
26458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26459 $as_echo "no" >&6; }
26462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uncompress in -lz" >&5
26463 $as_echo_n "checking for uncompress in -lz... " >&6; }
26464 if ${ac_cv_lib_z_uncompress+:} false; then :
26465 $as_echo_n "(cached) " >&6
26467 ac_check_lib_save_LIBS=$LIBS
26469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26470 /* end confdefs.h. */
26472 /* Override any GCC internal prototype to avoid an error.
26473 Use char because int might match the return type of a GCC
26474 builtin and then its argument prototype would still apply. */
26478 char uncompress ();
26482 return uncompress ();
26487 if ac_fn_c_try_link "$LINENO"; then :
26488 ac_cv_lib_z_uncompress=yes
26490 ac_cv_lib_z_uncompress=no
26492 rm -f core conftest.err conftest.$ac_objext \
26493 conftest$ac_exeext conftest.$ac_ext
26494 LIBS=$ac_check_lib_save_LIBS
26496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_uncompress" >&5
26497 $as_echo "$ac_cv_lib_z_uncompress" >&6; }
26498 if test "x$ac_cv_lib_z_uncompress" = xyes; then :
26504 if test "x$HAVE_ZLIB" = "xyes"; then
26505 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
26506 if test "x$ac_cv_header_zlib_h" = xyes; then :
26513 if test "x$HAVE_ZLIB" = "xyes"; then
26529 elif test $pkg_failed = untried; then
26532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uncompress in -lz" >&5
26533 $as_echo_n "checking for uncompress in -lz... " >&6; }
26534 if ${ac_cv_lib_z_uncompress+:} false; then :
26535 $as_echo_n "(cached) " >&6
26537 ac_check_lib_save_LIBS=$LIBS
26539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26540 /* end confdefs.h. */
26542 /* Override any GCC internal prototype to avoid an error.
26543 Use char because int might match the return type of a GCC
26544 builtin and then its argument prototype would still apply. */
26548 char uncompress ();
26552 return uncompress ();
26557 if ac_fn_c_try_link "$LINENO"; then :
26558 ac_cv_lib_z_uncompress=yes
26560 ac_cv_lib_z_uncompress=no
26562 rm -f core conftest.err conftest.$ac_objext \
26563 conftest$ac_exeext conftest.$ac_ext
26564 LIBS=$ac_check_lib_save_LIBS
26566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_uncompress" >&5
26567 $as_echo "$ac_cv_lib_z_uncompress" >&6; }
26568 if test "x$ac_cv_lib_z_uncompress" = xyes; then :
26574 if test "x$HAVE_ZLIB" = "xyes"; then
26575 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
26576 if test "x$ac_cv_header_zlib_h" = xyes; then :
26583 if test "x$HAVE_ZLIB" = "xyes"; then
26600 ZLIB_CFLAGS=$pkg_cv_ZLIB_CFLAGS
26601 ZLIB_LIBS=$pkg_cv_ZLIB_LIBS
26602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26603 $as_echo "yes" >&6; }
26610 LIBS=$gst_check_save_LIBS
26611 LDFLAGS=$gst_check_save_LDFLAGS
26612 CFLAGS=$gst_check_save_CFLAGS
26613 CPPFLAGS=$gst_check_save_CPPFLAGS
26614 CXXFLAGS=$gst_check_save_CXXFLAGS
26616 if test x$HAVE_ZLIB = xno; then
26622 if test x$USE_ZLIB = xyes; then
26624 if test "x" != "x"; then
26625 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
26628 $as_echo "#define HAVE_ZLIB /**/" >>confdefs.h
26632 if test "x" != "x"; then
26633 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
26637 if test x$USE_ZLIB = xyes; then
26649 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking libraries for plugins in sys/" >&5
26650 $as_echo "$as_me: Checking libraries for plugins in sys/" >&6;}
26653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
26654 $as_echo_n "checking for X... " >&6; }
26657 # Check whether --with-x was given.
26658 if test "${with_x+set}" = set; then :
26662 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26663 if test "x$with_x" = xno; then
26664 # The user explicitly disabled X.
26667 case $x_includes,$x_libraries in #(
26668 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
26669 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
26670 $as_echo_n "(cached) " >&6
26672 # One or both of the vars are not set, and there is no cached value.
26673 ac_x_includes=no ac_x_libraries=no
26674 rm -f -r conftest.dir
26675 if mkdir conftest.dir; then
26677 cat >Imakefile <<'_ACEOF'
26679 @echo incroot='${INCROOT}'
26681 @echo usrlibdir='${USRLIBDIR}'
26683 @echo libdir='${LIBDIR}'
26685 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
26686 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
26687 for ac_var in incroot usrlibdir libdir; do
26688 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
26690 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26691 for ac_extension in a so sl dylib la dll; do
26692 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
26693 test -f "$ac_im_libdir/libX11.$ac_extension"; then
26694 ac_im_usrlibdir=$ac_im_libdir; break
26697 # Screen out bogus values from the imake configuration. They are
26698 # bogus both because they are the default anyway, and because
26699 # using them would break gcc on systems where it needs fixed includes.
26700 case $ac_im_incroot in
26701 /usr/include) ac_x_includes= ;;
26702 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
26704 case $ac_im_usrlibdir in
26705 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
26706 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
26710 rm -f -r conftest.dir
26713 # Standard set of common directories for X headers.
26714 # Check X11 before X11Rn because it is often a symlink to the current release.
26728 /usr/local/X11/include
26729 /usr/local/X11R7/include
26730 /usr/local/X11R6/include
26731 /usr/local/X11R5/include
26732 /usr/local/X11R4/include
26734 /usr/local/include/X11
26735 /usr/local/include/X11R7
26736 /usr/local/include/X11R6
26737 /usr/local/include/X11R5
26738 /usr/local/include/X11R4
26742 /usr/XFree86/include/X11
26746 /usr/unsupported/include
26747 /usr/athena/include
26748 /usr/local/x11r5/include
26749 /usr/lpp/Xamples/include
26751 /usr/openwin/include
26752 /usr/openwin/share/include'
26754 if test "$ac_x_includes" = no; then
26755 # Guess where to find include files, by looking for Xlib.h.
26756 # First, try using that file with no special directory specified.
26757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26758 /* end confdefs.h. */
26759 #include <X11/Xlib.h>
26761 if ac_fn_c_try_cpp "$LINENO"; then :
26762 # We can compile using X headers with no special include directory.
26765 for ac_dir in $ac_x_header_dirs; do
26766 if test -r "$ac_dir/X11/Xlib.h"; then
26767 ac_x_includes=$ac_dir
26772 rm -f conftest.err conftest.i conftest.$ac_ext
26773 fi # $ac_x_includes = no
26775 if test "$ac_x_libraries" = no; then
26776 # Check for the libraries.
26777 # See if we find them without any special options.
26778 # Don't add to $LIBS permanently.
26781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26782 /* end confdefs.h. */
26783 #include <X11/Xlib.h>
26792 if ac_fn_c_try_link "$LINENO"; then :
26794 # We can link X programs with no special library path.
26798 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26800 # Don't even attempt the hair of trying to link an X program!
26801 for ac_extension in a so sl dylib la dll; do
26802 if test -r "$ac_dir/libX11.$ac_extension"; then
26803 ac_x_libraries=$ac_dir
26809 rm -f core conftest.err conftest.$ac_objext \
26810 conftest$ac_exeext conftest.$ac_ext
26811 fi # $ac_x_libraries = no
26813 case $ac_x_includes,$ac_x_libraries in #(
26814 no,* | *,no | *\'*)
26815 # Didn't find X, or a directory has "'" in its name.
26816 ac_cv_have_x="have_x=no";; #(
26818 # Record where we found X for the cache.
26819 ac_cv_have_x="have_x=yes\
26820 ac_x_includes='$ac_x_includes'\
26821 ac_x_libraries='$ac_x_libraries'"
26827 eval "$ac_cv_have_x"
26830 if test "$have_x" != yes; then
26831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
26832 $as_echo "$have_x" >&6; }
26835 # If each of the values was on the command line, it overrides each guess.
26836 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
26837 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
26838 # Update the cache value to reflect the command line values.
26839 ac_cv_have_x="have_x=yes\
26840 ac_x_includes='$x_includes'\
26841 ac_x_libraries='$x_libraries'"
26842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
26843 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
26847 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X libraries and plugins ***" >&5
26848 $as_echo "$as_me: *** checking feature: X libraries and plugins ***" >&6;}
26849 if test "xximagesink" != "x"
26851 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ximagesink ***" >&5
26852 $as_echo "$as_me: *** for plug-ins: ximagesink ***" >&6;}
26855 if test "x$USE_X" = "xno"; then
26858 # Check whether --enable-x was given.
26859 if test "${enable_x+set}" = set; then :
26860 enableval=$enable_x; case "${enableval}" in
26863 *) as_fn_error $? "bad value ${enableval} for --enable-x" "$LINENO" 5 ;;
26869 if test "x$NOUSE" = "xyes"; then
26871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ximagesink pre-configured not to be built" >&5
26872 $as_echo "$as_me: WARNING: *** ximagesink pre-configured not to be built" >&2;}
26877 if test x$USE_X = xyes; then
26879 gst_check_save_LIBS=$LIBS
26880 gst_check_save_LDFLAGS=$LDFLAGS
26881 gst_check_save_CFLAGS=$CFLAGS
26882 gst_check_save_CPPFLAGS=$CPPFLAGS
26883 gst_check_save_CXXFLAGS=$CXXFLAGS
26887 if test "$no_x" = yes; then
26888 # Not all programs may use this symbol, but it does not hurt to define it.
26890 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
26892 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
26894 if test -n "$x_includes"; then
26895 X_CFLAGS="$X_CFLAGS -I$x_includes"
26898 # It would also be nice to do this for all -L options, not just this one.
26899 if test -n "$x_libraries"; then
26900 X_LIBS="$X_LIBS -L$x_libraries"
26901 # For Solaris; some versions of Sun CC require a space after -R and
26902 # others require no space. Words are not sufficient . . . .
26903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
26904 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
26905 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
26906 ac_xsave_c_werror_flag=$ac_c_werror_flag
26907 ac_c_werror_flag=yes
26908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26909 /* end confdefs.h. */
26919 if ac_fn_c_try_link "$LINENO"; then :
26920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26921 $as_echo "no" >&6; }
26922 X_LIBS="$X_LIBS -R$x_libraries"
26924 LIBS="$ac_xsave_LIBS -R $x_libraries"
26925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26926 /* end confdefs.h. */
26936 if ac_fn_c_try_link "$LINENO"; then :
26937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26938 $as_echo "yes" >&6; }
26939 X_LIBS="$X_LIBS -R $x_libraries"
26941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
26942 $as_echo "neither works" >&6; }
26944 rm -f core conftest.err conftest.$ac_objext \
26945 conftest$ac_exeext conftest.$ac_ext
26947 rm -f core conftest.err conftest.$ac_objext \
26948 conftest$ac_exeext conftest.$ac_ext
26949 ac_c_werror_flag=$ac_xsave_c_werror_flag
26950 LIBS=$ac_xsave_LIBS
26953 # Check for system-dependent libraries X programs must link with.
26954 # Do this before checking for the system-independent R6 libraries
26955 # (-lICE), since we may need -lsocket or whatever for X linking.
26957 if test "$ISC" = yes; then
26958 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
26960 # Martyn Johnson says this is needed for Ultrix, if the X
26961 # libraries were built with DECnet support. And Karl Berry says
26962 # the Alpha needs dnet_stub (dnet does not exist).
26963 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
26964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26965 /* end confdefs.h. */
26967 /* Override any GCC internal prototype to avoid an error.
26968 Use char because int might match the return type of a GCC
26969 builtin and then its argument prototype would still apply. */
26973 char XOpenDisplay ();
26977 return XOpenDisplay ();
26982 if ac_fn_c_try_link "$LINENO"; then :
26985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
26986 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
26987 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
26988 $as_echo_n "(cached) " >&6
26990 ac_check_lib_save_LIBS=$LIBS
26991 LIBS="-ldnet $LIBS"
26992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26993 /* end confdefs.h. */
26995 /* Override any GCC internal prototype to avoid an error.
26996 Use char because int might match the return type of a GCC
26997 builtin and then its argument prototype would still apply. */
27005 return dnet_ntoa ();
27010 if ac_fn_c_try_link "$LINENO"; then :
27011 ac_cv_lib_dnet_dnet_ntoa=yes
27013 ac_cv_lib_dnet_dnet_ntoa=no
27015 rm -f core conftest.err conftest.$ac_objext \
27016 conftest$ac_exeext conftest.$ac_ext
27017 LIBS=$ac_check_lib_save_LIBS
27019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
27020 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
27021 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
27022 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
27025 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
27026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
27027 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
27028 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
27029 $as_echo_n "(cached) " >&6
27031 ac_check_lib_save_LIBS=$LIBS
27032 LIBS="-ldnet_stub $LIBS"
27033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27034 /* end confdefs.h. */
27036 /* Override any GCC internal prototype to avoid an error.
27037 Use char because int might match the return type of a GCC
27038 builtin and then its argument prototype would still apply. */
27046 return dnet_ntoa ();
27051 if ac_fn_c_try_link "$LINENO"; then :
27052 ac_cv_lib_dnet_stub_dnet_ntoa=yes
27054 ac_cv_lib_dnet_stub_dnet_ntoa=no
27056 rm -f core conftest.err conftest.$ac_objext \
27057 conftest$ac_exeext conftest.$ac_ext
27058 LIBS=$ac_check_lib_save_LIBS
27060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
27061 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
27062 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
27063 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
27068 rm -f core conftest.err conftest.$ac_objext \
27069 conftest$ac_exeext conftest.$ac_ext
27070 LIBS="$ac_xsave_LIBS"
27072 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
27073 # to get the SysV transport functions.
27074 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
27076 # The nsl library prevents programs from opening the X display
27077 # on Irix 5.2, according to T.E. Dickey.
27078 # The functions gethostbyname, getservbyname, and inet_addr are
27079 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
27080 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
27081 if test "x$ac_cv_func_gethostbyname" = xyes; then :
27085 if test $ac_cv_func_gethostbyname = no; then
27086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
27087 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
27088 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
27089 $as_echo_n "(cached) " >&6
27091 ac_check_lib_save_LIBS=$LIBS
27093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27094 /* end confdefs.h. */
27096 /* Override any GCC internal prototype to avoid an error.
27097 Use char because int might match the return type of a GCC
27098 builtin and then its argument prototype would still apply. */
27102 char gethostbyname ();
27106 return gethostbyname ();
27111 if ac_fn_c_try_link "$LINENO"; then :
27112 ac_cv_lib_nsl_gethostbyname=yes
27114 ac_cv_lib_nsl_gethostbyname=no
27116 rm -f core conftest.err conftest.$ac_objext \
27117 conftest$ac_exeext conftest.$ac_ext
27118 LIBS=$ac_check_lib_save_LIBS
27120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
27121 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
27122 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
27123 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
27126 if test $ac_cv_lib_nsl_gethostbyname = no; then
27127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
27128 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
27129 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
27130 $as_echo_n "(cached) " >&6
27132 ac_check_lib_save_LIBS=$LIBS
27134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27135 /* end confdefs.h. */
27137 /* Override any GCC internal prototype to avoid an error.
27138 Use char because int might match the return type of a GCC
27139 builtin and then its argument prototype would still apply. */
27143 char gethostbyname ();
27147 return gethostbyname ();
27152 if ac_fn_c_try_link "$LINENO"; then :
27153 ac_cv_lib_bsd_gethostbyname=yes
27155 ac_cv_lib_bsd_gethostbyname=no
27157 rm -f core conftest.err conftest.$ac_objext \
27158 conftest$ac_exeext conftest.$ac_ext
27159 LIBS=$ac_check_lib_save_LIBS
27161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
27162 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
27163 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
27164 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
27170 # lieder@skyler.mavd.honeywell.com says without -lsocket,
27171 # socket/setsockopt and other routines are undefined under SCO ODT
27172 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
27173 # on later versions), says Simon Leinen: it contains gethostby*
27174 # variants that don't use the name server (or something). -lsocket
27175 # must be given before -lnsl if both are needed. We assume that
27176 # if connect needs -lnsl, so does gethostbyname.
27177 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
27178 if test "x$ac_cv_func_connect" = xyes; then :
27182 if test $ac_cv_func_connect = no; then
27183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
27184 $as_echo_n "checking for connect in -lsocket... " >&6; }
27185 if ${ac_cv_lib_socket_connect+:} false; then :
27186 $as_echo_n "(cached) " >&6
27188 ac_check_lib_save_LIBS=$LIBS
27189 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
27190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27191 /* end confdefs.h. */
27193 /* Override any GCC internal prototype to avoid an error.
27194 Use char because int might match the return type of a GCC
27195 builtin and then its argument prototype would still apply. */
27208 if ac_fn_c_try_link "$LINENO"; then :
27209 ac_cv_lib_socket_connect=yes
27211 ac_cv_lib_socket_connect=no
27213 rm -f core conftest.err conftest.$ac_objext \
27214 conftest$ac_exeext conftest.$ac_ext
27215 LIBS=$ac_check_lib_save_LIBS
27217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
27218 $as_echo "$ac_cv_lib_socket_connect" >&6; }
27219 if test "x$ac_cv_lib_socket_connect" = xyes; then :
27220 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
27225 # Guillermo Gomez says -lposix is necessary on A/UX.
27226 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
27227 if test "x$ac_cv_func_remove" = xyes; then :
27231 if test $ac_cv_func_remove = no; then
27232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
27233 $as_echo_n "checking for remove in -lposix... " >&6; }
27234 if ${ac_cv_lib_posix_remove+:} false; then :
27235 $as_echo_n "(cached) " >&6
27237 ac_check_lib_save_LIBS=$LIBS
27238 LIBS="-lposix $LIBS"
27239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27240 /* end confdefs.h. */
27242 /* Override any GCC internal prototype to avoid an error.
27243 Use char because int might match the return type of a GCC
27244 builtin and then its argument prototype would still apply. */
27257 if ac_fn_c_try_link "$LINENO"; then :
27258 ac_cv_lib_posix_remove=yes
27260 ac_cv_lib_posix_remove=no
27262 rm -f core conftest.err conftest.$ac_objext \
27263 conftest$ac_exeext conftest.$ac_ext
27264 LIBS=$ac_check_lib_save_LIBS
27266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
27267 $as_echo "$ac_cv_lib_posix_remove" >&6; }
27268 if test "x$ac_cv_lib_posix_remove" = xyes; then :
27269 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
27274 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
27275 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
27276 if test "x$ac_cv_func_shmat" = xyes; then :
27280 if test $ac_cv_func_shmat = no; then
27281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
27282 $as_echo_n "checking for shmat in -lipc... " >&6; }
27283 if ${ac_cv_lib_ipc_shmat+:} false; then :
27284 $as_echo_n "(cached) " >&6
27286 ac_check_lib_save_LIBS=$LIBS
27288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27289 /* end confdefs.h. */
27291 /* Override any GCC internal prototype to avoid an error.
27292 Use char because int might match the return type of a GCC
27293 builtin and then its argument prototype would still apply. */
27306 if ac_fn_c_try_link "$LINENO"; then :
27307 ac_cv_lib_ipc_shmat=yes
27309 ac_cv_lib_ipc_shmat=no
27311 rm -f core conftest.err conftest.$ac_objext \
27312 conftest$ac_exeext conftest.$ac_ext
27313 LIBS=$ac_check_lib_save_LIBS
27315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
27316 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
27317 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
27318 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
27324 # Check for libraries that X11R6 Xt/Xaw programs need.
27325 ac_save_LDFLAGS=$LDFLAGS
27326 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
27327 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
27328 # check for ICE first), but we must link in the order -lSM -lICE or
27329 # we get undefined symbols. So assume we have SM if we have ICE.
27330 # These have to be linked with before -lX11, unlike the other
27331 # libraries we check for below, so use a different variable.
27332 # John Interrante, Karl Berry
27333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
27334 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
27335 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
27336 $as_echo_n "(cached) " >&6
27338 ac_check_lib_save_LIBS=$LIBS
27339 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
27340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27341 /* end confdefs.h. */
27343 /* Override any GCC internal prototype to avoid an error.
27344 Use char because int might match the return type of a GCC
27345 builtin and then its argument prototype would still apply. */
27349 char IceConnectionNumber ();
27353 return IceConnectionNumber ();
27358 if ac_fn_c_try_link "$LINENO"; then :
27359 ac_cv_lib_ICE_IceConnectionNumber=yes
27361 ac_cv_lib_ICE_IceConnectionNumber=no
27363 rm -f core conftest.err conftest.$ac_objext \
27364 conftest$ac_exeext conftest.$ac_ext
27365 LIBS=$ac_check_lib_save_LIBS
27367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
27368 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
27369 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
27370 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
27373 LDFLAGS=$ac_save_LDFLAGS
27377 ac_cflags_save="$CFLAGS"
27378 ac_cppflags_save="$CPPFLAGS"
27379 CFLAGS="$CFLAGS $X_CFLAGS"
27380 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
27382 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "$ac_includes_default"
27383 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
27391 if test "x$HAVE_X" = "xno"
27393 { $as_echo "$as_me:${as_lineno-$LINENO}: cannot find X11 development files" >&5
27394 $as_echo "$as_me: cannot find X11 development files" >&6;}
27396 X_LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS"
27397 X_LIBS="$X_LIBS -lX11"
27402 CFLAGS="$ac_cflags_save"
27403 CPPFLAGS="$ac_cppflags_save"
27406 LIBS=$gst_check_save_LIBS
27407 LDFLAGS=$gst_check_save_LDFLAGS
27408 CFLAGS=$gst_check_save_CFLAGS
27409 CPPFLAGS=$gst_check_save_CPPFLAGS
27410 CXXFLAGS=$gst_check_save_CXXFLAGS
27412 if test x$HAVE_X = xno; then
27415 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ximagesink" >&5
27416 $as_echo "$as_me: *** These plugins will be built: ximagesink" >&6;}
27419 if test x$USE_X = xyes; then
27421 if test "xximagesink" != "x"; then
27422 GST_PLUGINS_YES="\tximagesink\n$GST_PLUGINS_YES"
27425 $as_echo "#define HAVE_X /**/" >>confdefs.h
27428 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ximagesink" >&5
27429 $as_echo "$as_me: *** These plugins will not be built: ximagesink" >&6;}
27430 if test "xximagesink" != "x"; then
27431 GST_PLUGINS_NO="\tximagesink\n$GST_PLUGINS_NO"
27435 if test x$USE_X = xyes; then
27446 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X11 XVideo extensions ***" >&5
27447 $as_echo "$as_me: *** checking feature: X11 XVideo extensions ***" >&6;}
27448 if test "xxvimagesink" != "x"
27450 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: xvimagesink ***" >&5
27451 $as_echo "$as_me: *** for plug-ins: xvimagesink ***" >&6;}
27454 if test "x$USE_XVIDEO" = "xno"; then
27457 # Check whether --enable-xvideo was given.
27458 if test "${enable_xvideo+set}" = set; then :
27459 enableval=$enable_xvideo; case "${enableval}" in
27460 yes) USE_XVIDEO=yes;;
27461 no) USE_XVIDEO=no;;
27462 *) as_fn_error $? "bad value ${enableval} for --enable-xvideo" "$LINENO" 5 ;;
27468 if test "x$NOUSE" = "xyes"; then
27470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** xvimagesink pre-configured not to be built" >&5
27471 $as_echo "$as_me: WARNING: *** xvimagesink pre-configured not to be built" >&2;}
27476 if test x$USE_XVIDEO = xyes; then
27478 gst_check_save_LIBS=$LIBS
27479 gst_check_save_LDFLAGS=$LDFLAGS
27480 gst_check_save_CFLAGS=$CFLAGS
27481 gst_check_save_CPPFLAGS=$CPPFLAGS
27482 gst_check_save_CXXFLAGS=$CXXFLAGS
27487 if test x$HAVE_X = xyes; then
27488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv_pic" >&5
27489 $as_echo_n "checking for XvQueryExtension in -lXv_pic... " >&6; }
27490 if ${ac_cv_lib_Xv_pic_XvQueryExtension+:} false; then :
27491 $as_echo_n "(cached) " >&6
27493 ac_check_lib_save_LIBS=$LIBS
27494 LIBS="-lXv_pic $X_LIBS -lXext $LIBS"
27495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27496 /* end confdefs.h. */
27498 /* Override any GCC internal prototype to avoid an error.
27499 Use char because int might match the return type of a GCC
27500 builtin and then its argument prototype would still apply. */
27504 char XvQueryExtension ();
27508 return XvQueryExtension ();
27513 if ac_fn_c_try_link "$LINENO"; then :
27514 ac_cv_lib_Xv_pic_XvQueryExtension=yes
27516 ac_cv_lib_Xv_pic_XvQueryExtension=no
27518 rm -f core conftest.err conftest.$ac_objext \
27519 conftest$ac_exeext conftest.$ac_ext
27520 LIBS=$ac_check_lib_save_LIBS
27522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_pic_XvQueryExtension" >&5
27523 $as_echo "$ac_cv_lib_Xv_pic_XvQueryExtension" >&6; }
27524 if test "x$ac_cv_lib_Xv_pic_XvQueryExtension" = xyes; then :
27531 if test x$HAVE_XVIDEO = xyes; then
27532 XVIDEO_LIBS="-lXv_pic -lXext"
27535 if test x$HAVE_XVIDEO = xno; then
27536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv" >&5
27537 $as_echo_n "checking for XvQueryExtension in -lXv... " >&6; }
27538 if ${ac_cv_lib_Xv_XvQueryExtension+:} false; then :
27539 $as_echo_n "(cached) " >&6
27541 ac_check_lib_save_LIBS=$LIBS
27542 LIBS="-lXv $X_LIBS -lXext $LIBS"
27543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27544 /* end confdefs.h. */
27546 /* Override any GCC internal prototype to avoid an error.
27547 Use char because int might match the return type of a GCC
27548 builtin and then its argument prototype would still apply. */
27552 char XvQueryExtension ();
27556 return XvQueryExtension ();
27561 if ac_fn_c_try_link "$LINENO"; then :
27562 ac_cv_lib_Xv_XvQueryExtension=yes
27564 ac_cv_lib_Xv_XvQueryExtension=no
27566 rm -f core conftest.err conftest.$ac_objext \
27567 conftest$ac_exeext conftest.$ac_ext
27568 LIBS=$ac_check_lib_save_LIBS
27570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_XvQueryExtension" >&5
27571 $as_echo "$ac_cv_lib_Xv_XvQueryExtension" >&6; }
27572 if test "x$ac_cv_lib_Xv_XvQueryExtension" = xyes; then :
27579 if test x$HAVE_XVIDEO = xyes; then
27580 XVIDEO_LIBS="-lXv -lXext"
27589 LIBS=$gst_check_save_LIBS
27590 LDFLAGS=$gst_check_save_LDFLAGS
27591 CFLAGS=$gst_check_save_CFLAGS
27592 CPPFLAGS=$gst_check_save_CPPFLAGS
27593 CXXFLAGS=$gst_check_save_CXXFLAGS
27595 if test x$HAVE_XVIDEO = xno; then
27598 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: xvimagesink" >&5
27599 $as_echo "$as_me: *** These plugins will be built: xvimagesink" >&6;}
27602 if test x$USE_XVIDEO = xyes; then
27604 if test "xxvimagesink" != "x"; then
27605 GST_PLUGINS_YES="\txvimagesink\n$GST_PLUGINS_YES"
27608 $as_echo "#define HAVE_XVIDEO /**/" >>confdefs.h
27611 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: xvimagesink" >&5
27612 $as_echo "$as_me: *** These plugins will not be built: xvimagesink" >&6;}
27613 if test "xxvimagesink" != "x"; then
27614 GST_PLUGINS_NO="\txvimagesink\n$GST_PLUGINS_NO"
27618 if test x$USE_XVIDEO = xyes; then
27620 USE_XVIDEO_FALSE='#'
27622 USE_XVIDEO_TRUE='#'
27629 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X Shared Memory extension ***" >&5
27630 $as_echo "$as_me: *** checking feature: X Shared Memory extension ***" >&6;}
27633 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
27634 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
27637 if test "x$USE_XSHM" = "xno"; then
27640 # Check whether --enable-xshm was given.
27641 if test "${enable_xshm+set}" = set; then :
27642 enableval=$enable_xshm; case "${enableval}" in
27643 yes) USE_XSHM=yes;;
27645 *) as_fn_error $? "bad value ${enableval} for --enable-xshm" "$LINENO" 5 ;;
27651 if test "x$NOUSE" = "xyes"; then
27653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
27654 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
27659 if test x$USE_XSHM = xyes; then
27661 gst_check_save_LIBS=$LIBS
27662 gst_check_save_LDFLAGS=$LDFLAGS
27663 gst_check_save_CFLAGS=$CFLAGS
27664 gst_check_save_CPPFLAGS=$CPPFLAGS
27665 gst_check_save_CXXFLAGS=$CXXFLAGS
27669 if test x$HAVE_X = xyes; then
27670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmAttach in -lXext" >&5
27671 $as_echo_n "checking for XShmAttach in -lXext... " >&6; }
27672 if ${ac_cv_lib_Xext_XShmAttach+:} false; then :
27673 $as_echo_n "(cached) " >&6
27675 ac_check_lib_save_LIBS=$LIBS
27676 LIBS="-lXext $X_LIBS $LIBS"
27677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27678 /* end confdefs.h. */
27680 /* Override any GCC internal prototype to avoid an error.
27681 Use char because int might match the return type of a GCC
27682 builtin and then its argument prototype would still apply. */
27686 char XShmAttach ();
27690 return XShmAttach ();
27695 if ac_fn_c_try_link "$LINENO"; then :
27696 ac_cv_lib_Xext_XShmAttach=yes
27698 ac_cv_lib_Xext_XShmAttach=no
27700 rm -f core conftest.err conftest.$ac_objext \
27701 conftest$ac_exeext conftest.$ac_ext
27702 LIBS=$ac_check_lib_save_LIBS
27704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmAttach" >&5
27705 $as_echo "$ac_cv_lib_Xext_XShmAttach" >&6; }
27706 if test "x$ac_cv_lib_Xext_XShmAttach" = xyes; then :
27712 if test "x$HAVE_XSHM" = "xyes"; then
27715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmAttach in -lXextSam" >&5
27716 $as_echo_n "checking for XShmAttach in -lXextSam... " >&6; }
27717 if ${ac_cv_lib_XextSam_XShmAttach+:} false; then :
27718 $as_echo_n "(cached) " >&6
27720 ac_check_lib_save_LIBS=$LIBS
27721 LIBS="-lXextSam $X_LIBS $LIBS"
27722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27723 /* end confdefs.h. */
27725 /* Override any GCC internal prototype to avoid an error.
27726 Use char because int might match the return type of a GCC
27727 builtin and then its argument prototype would still apply. */
27731 char XShmAttach ();
27735 return XShmAttach ();
27740 if ac_fn_c_try_link "$LINENO"; then :
27741 ac_cv_lib_XextSam_XShmAttach=yes
27743 ac_cv_lib_XextSam_XShmAttach=no
27745 rm -f core conftest.err conftest.$ac_objext \
27746 conftest$ac_exeext conftest.$ac_ext
27747 LIBS=$ac_check_lib_save_LIBS
27749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XextSam_XShmAttach" >&5
27750 $as_echo "$ac_cv_lib_XextSam_XShmAttach" >&6; }
27751 if test "x$ac_cv_lib_XextSam_XShmAttach" = xyes; then :
27757 if test "x$HAVE_XSHM" = "xyes"; then
27758 XSHM_LIBS="-lXext -lXextSam"
27764 LIBS=$gst_check_save_LIBS
27765 LDFLAGS=$gst_check_save_LDFLAGS
27766 CFLAGS=$gst_check_save_CFLAGS
27767 CPPFLAGS=$gst_check_save_CPPFLAGS
27768 CXXFLAGS=$gst_check_save_CXXFLAGS
27770 if test x$HAVE_XSHM = xno; then
27776 if test x$USE_XSHM = xyes; then
27781 if test "x" != "x"; then
27782 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
27785 $as_echo "#define HAVE_XSHM /**/" >>confdefs.h
27789 if test "x" != "x"; then
27790 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
27794 if test x$USE_XSHM = xyes; then
27806 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Video 4 Linux ***" >&5
27807 $as_echo "$as_me: *** checking feature: Video 4 Linux ***" >&6;}
27808 if test "xvideo4linux" != "x"
27810 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: video4linux ***" >&5
27811 $as_echo "$as_me: *** for plug-ins: video4linux ***" >&6;}
27814 if test "x$USE_GST_V4L" = "xno"; then
27817 # Check whether --enable-gst_v4l was given.
27818 if test "${enable_gst_v4l+set}" = set; then :
27819 enableval=$enable_gst_v4l; case "${enableval}" in
27820 yes) USE_GST_V4L=yes;;
27821 no) USE_GST_V4L=no;;
27822 *) as_fn_error $? "bad value ${enableval} for --enable-gst_v4l" "$LINENO" 5 ;;
27828 if test "x$NOUSE" = "xyes"; then
27830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** video4linux pre-configured not to be built" >&5
27831 $as_echo "$as_me: WARNING: *** video4linux pre-configured not to be built" >&2;}
27836 if test x$USE_GST_V4L = xyes; then
27838 gst_check_save_LIBS=$LIBS
27839 gst_check_save_LDFLAGS=$LDFLAGS
27840 gst_check_save_CFLAGS=$CFLAGS
27841 gst_check_save_CPPFLAGS=$CPPFLAGS
27842 gst_check_save_CXXFLAGS=$CXXFLAGS
27846 ac_fn_c_check_decl "$LINENO" "VID_TYPE_MPEG_ENCODER" "ac_cv_have_decl_VID_TYPE_MPEG_ENCODER" "
27847 #include <sys/types.h>
27848 #define _LINUX_TIME_H
27850 #include <linux/videodev.h>
27853 if test "x$ac_cv_have_decl_VID_TYPE_MPEG_ENCODER" = xyes; then :
27860 if test "x$HAVE_GST_V4L" = "xyes" -a "x$HAVE_XVIDEO" != "xyes"
27862 { $as_echo "$as_me:${as_lineno-$LINENO}: NO XVIDEO FOUND, VIDEO4LINUX WILL BE BUILT" >&5
27863 $as_echo "$as_me: NO XVIDEO FOUND, VIDEO4LINUX WILL BE BUILT" >&6;}
27864 { $as_echo "$as_me:${as_lineno-$LINENO}: WITHOUT XOVERLAY SUPPORT" >&5
27865 $as_echo "$as_me: WITHOUT XOVERLAY SUPPORT" >&6;}
27869 LIBS=$gst_check_save_LIBS
27870 LDFLAGS=$gst_check_save_LDFLAGS
27871 CFLAGS=$gst_check_save_CFLAGS
27872 CPPFLAGS=$gst_check_save_CPPFLAGS
27873 CXXFLAGS=$gst_check_save_CXXFLAGS
27875 if test x$HAVE_GST_V4L = xno; then
27878 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: video4linux" >&5
27879 $as_echo "$as_me: *** These plugins will be built: video4linux" >&6;}
27882 if test x$USE_GST_V4L = xyes; then
27884 if test "xvideo4linux" != "x"; then
27885 GST_PLUGINS_YES="\tvideo4linux\n$GST_PLUGINS_YES"
27888 $as_echo "#define HAVE_GST_V4L /**/" >>confdefs.h
27891 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: video4linux" >&5
27892 $as_echo "$as_me: *** These plugins will not be built: video4linux" >&6;}
27893 if test "xvideo4linux" != "x"; then
27894 GST_PLUGINS_NO="\tvideo4linux\n$GST_PLUGINS_NO"
27898 if test x$USE_GST_V4L = xyes; then
27900 USE_GST_V4L_FALSE='#'
27902 USE_GST_V4L_TRUE='#'
27908 # Optional gudev for device probing
27910 # Check whether --with-gudev was given.
27911 if test "${with_gudev+set}" = set; then :
27912 withval=$with_gudev;
27917 if test x$HAVE_GST_V4L = xyes; then
27918 if test x$with_gudev != xno; then
27921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUDEV" >&5
27922 $as_echo_n "checking for GUDEV... " >&6; }
27924 if test -n "$PKG_CONFIG"; then
27925 if test -n "$GUDEV_CFLAGS"; then
27926 pkg_cv_GUDEV_CFLAGS="$GUDEV_CFLAGS"
27928 if test -n "$PKG_CONFIG" && \
27929 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gudev-1.0 >= 143 \""; } >&5
27930 ($PKG_CONFIG --exists --print-errors " gudev-1.0 >= 143 ") 2>&5
27932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27933 test $ac_status = 0; }; then
27934 pkg_cv_GUDEV_CFLAGS=`$PKG_CONFIG --cflags " gudev-1.0 >= 143 " 2>/dev/null`
27942 if test -n "$PKG_CONFIG"; then
27943 if test -n "$GUDEV_LIBS"; then
27944 pkg_cv_GUDEV_LIBS="$GUDEV_LIBS"
27946 if test -n "$PKG_CONFIG" && \
27947 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gudev-1.0 >= 143 \""; } >&5
27948 ($PKG_CONFIG --exists --print-errors " gudev-1.0 >= 143 ") 2>&5
27950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27951 test $ac_status = 0; }; then
27952 pkg_cv_GUDEV_LIBS=`$PKG_CONFIG --libs " gudev-1.0 >= 143 " 2>/dev/null`
27963 if test $pkg_failed = yes; then
27965 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27966 _pkg_short_errors_supported=yes
27968 _pkg_short_errors_supported=no
27970 if test $_pkg_short_errors_supported = yes; then
27971 GUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " gudev-1.0 >= 143 "`
27973 GUDEV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " gudev-1.0 >= 143 "`
27975 # Put the nasty error message in config.log where it belongs
27976 echo "$GUDEV_PKG_ERRORS" >&5
27978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27979 $as_echo "no" >&6; }
27983 elif test $pkg_failed = untried; then
27988 GUDEV_CFLAGS=$pkg_cv_GUDEV_CFLAGS
27989 GUDEV_LIBS=$pkg_cv_GUDEV_LIBS
27990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27991 $as_echo "yes" >&6; }
27994 $as_echo "#define HAVE_GUDEV 1" >>confdefs.h
27997 $as_echo "#define G_UDEV_API_IS_SUBJECT_TO_CHANGE 1" >>confdefs.h
28009 if test "x$BUILD_EXTERNAL" = "xyes"; then
28012 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking libraries for plugins in ext/" >&5
28013 $as_echo "$as_me: Checking libraries for plugins in ext/" >&6;}
28017 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: ALSA ***" >&5
28018 $as_echo "$as_me: *** checking feature: ALSA ***" >&6;}
28019 if test "xalsa" != "x"
28021 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: alsa ***" >&5
28022 $as_echo "$as_me: *** for plug-ins: alsa ***" >&6;}
28025 if test "x$USE_ALSA" = "xno"; then
28028 # Check whether --enable-alsa was given.
28029 if test "${enable_alsa+set}" = set; then :
28030 enableval=$enable_alsa; case "${enableval}" in
28031 yes) USE_ALSA=yes;;
28033 *) as_fn_error $? "bad value ${enableval} for --enable-alsa" "$LINENO" 5 ;;
28039 if test "x$NOUSE" = "xyes"; then
28041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** alsa pre-configured not to be built" >&5
28042 $as_echo "$as_me: WARNING: *** alsa pre-configured not to be built" >&2;}
28047 if test x$USE_ALSA = xyes; then
28049 gst_check_save_LIBS=$LIBS
28050 gst_check_save_LDFLAGS=$LDFLAGS
28051 gst_check_save_CFLAGS=$CFLAGS
28052 gst_check_save_CPPFLAGS=$CPPFLAGS
28053 gst_check_save_CXXFLAGS=$CXXFLAGS
28059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
28060 $as_echo_n "checking for ALSA... " >&6; }
28062 if test -n "$PKG_CONFIG"; then
28063 if test -n "$ALSA_CFLAGS"; then
28064 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
28066 if test -n "$PKG_CONFIG" && \
28067 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9.1\""; } >&5
28068 ($PKG_CONFIG --exists --print-errors "alsa >= 0.9.1") 2>&5
28070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28071 test $ac_status = 0; }; then
28072 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 0.9.1" 2>/dev/null`
28080 if test -n "$PKG_CONFIG"; then
28081 if test -n "$ALSA_LIBS"; then
28082 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
28084 if test -n "$PKG_CONFIG" && \
28085 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9.1\""; } >&5
28086 ($PKG_CONFIG --exists --print-errors "alsa >= 0.9.1") 2>&5
28088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28089 test $ac_status = 0; }; then
28090 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa >= 0.9.1" 2>/dev/null`
28101 if test $pkg_failed = yes; then
28103 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28104 _pkg_short_errors_supported=yes
28106 _pkg_short_errors_supported=no
28108 if test $_pkg_short_errors_supported = yes; then
28109 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "alsa >= 0.9.1"`
28111 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "alsa >= 0.9.1"`
28113 # Put the nasty error message in config.log where it belongs
28114 echo "$ALSA_PKG_ERRORS" >&5
28116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28117 $as_echo "no" >&6; }
28119 alsa_save_CFLAGS="$CFLAGS"
28120 alsa_save_LDFLAGS="$LDFLAGS"
28121 alsa_save_LIBS="$LIBS"
28125 # Check whether --with-alsa-prefix was given.
28126 if test "${with_alsa_prefix+set}" = set; then :
28127 withval=$with_alsa_prefix; alsa_prefix="$withval"
28134 # Check whether --with-alsa-inc-prefix was given.
28135 if test "${with_alsa_inc_prefix+set}" = set; then :
28136 withval=$with_alsa_inc_prefix; alsa_inc_prefix="$withval"
28143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA CFLAGS" >&5
28144 $as_echo_n "checking for ALSA CFLAGS... " >&6; }
28145 if test "$alsa_inc_prefix" != "" ; then
28146 ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix"
28147 CFLAGS="$CFLAGS -I$alsa_inc_prefix"
28149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5
28150 $as_echo "$ALSA_CFLAGS" >&6; }
28152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA LDFLAGS" >&5
28153 $as_echo_n "checking for ALSA LDFLAGS... " >&6; }
28154 if test "$alsa_prefix" != "" ; then
28155 ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix"
28156 LDFLAGS="$LDFLAGS $ALSA_LIBS"
28159 ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
28160 LIBS=`echo $LIBS | sed 's/-lm//'`
28161 LIBS=`echo $LIBS | sed 's/-ldl//'`
28162 LIBS=`echo $LIBS | sed 's/-lpthread//'`
28163 LIBS=`echo $LIBS | sed 's/ //'`
28164 LIBS="$ALSA_LIBS $LIBS"
28165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5
28166 $as_echo "$ALSA_LIBS" >&6; }
28168 min_alsa_version=0.9.1
28169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libasound headers version >= $min_alsa_version" >&5
28170 $as_echo_n "checking for libasound headers version >= $min_alsa_version... " >&6; }
28172 alsa_min_major_version=`echo $min_alsa_version | \
28173 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28174 alsa_min_minor_version=`echo $min_alsa_version | \
28175 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28176 alsa_min_micro_version=`echo $min_alsa_version | \
28177 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28181 ac_cpp='$CPP $CPPFLAGS'
28182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28187 /* end confdefs.h. */
28189 #include <alsa/asoundlib.h>
28197 /* ensure backward compatibility */
28198 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
28199 #define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR
28201 #if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR)
28202 #define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR
28204 #if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR)
28205 #define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR
28208 # if(SND_LIB_MAJOR > $alsa_min_major_version)
28211 # if(SND_LIB_MAJOR < $alsa_min_major_version)
28212 # error not present
28215 # if(SND_LIB_MINOR > $alsa_min_minor_version)
28218 # if(SND_LIB_MINOR < $alsa_min_minor_version)
28219 # error not present
28222 # if(SND_LIB_SUBMINOR < $alsa_min_micro_version)
28223 # error not present
28234 if ac_fn_c_try_compile "$LINENO"; then :
28235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found." >&5
28236 $as_echo "found." >&6; }
28238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not present." >&5
28239 $as_echo "not present." >&6; }
28244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28246 ac_cpp='$CPP $CPPFLAGS'
28247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28252 if test "x$enable_alsatest" = "xyes"; then
28253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_ctl_open in -lasound" >&5
28254 $as_echo_n "checking for snd_ctl_open in -lasound... " >&6; }
28255 if ${ac_cv_lib_asound_snd_ctl_open+:} false; then :
28256 $as_echo_n "(cached) " >&6
28258 ac_check_lib_save_LIBS=$LIBS
28259 LIBS="-lasound $LIBS"
28260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28261 /* end confdefs.h. */
28263 /* Override any GCC internal prototype to avoid an error.
28264 Use char because int might match the return type of a GCC
28265 builtin and then its argument prototype would still apply. */
28269 char snd_ctl_open ();
28273 return snd_ctl_open ();
28278 if ac_fn_c_try_link "$LINENO"; then :
28279 ac_cv_lib_asound_snd_ctl_open=yes
28281 ac_cv_lib_asound_snd_ctl_open=no
28283 rm -f core conftest.err conftest.$ac_objext \
28284 conftest$ac_exeext conftest.$ac_ext
28285 LIBS=$ac_check_lib_save_LIBS
28287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_ctl_open" >&5
28288 $as_echo "$ac_cv_lib_asound_snd_ctl_open" >&6; }
28289 if test "x$ac_cv_lib_asound_snd_ctl_open" = xyes; then :
28290 cat >>confdefs.h <<_ACEOF
28291 #define HAVE_LIBASOUND 1
28294 LIBS="-lasound $LIBS"
28304 if test "x$alsa_found" = "xyes" ; then
28306 LIBS=`echo $LIBS | sed 's/-lasound//g'`
28307 LIBS=`echo $LIBS | sed 's/ //'`
28308 LIBS="-lasound $LIBS"
28310 if test "x$alsa_found" = "xno" ; then
28312 CFLAGS="$alsa_save_CFLAGS"
28313 LDFLAGS="$alsa_save_LDFLAGS"
28314 LIBS="$alsa_save_LIBS"
28323 elif test $pkg_failed = untried; then
28325 alsa_save_CFLAGS="$CFLAGS"
28326 alsa_save_LDFLAGS="$LDFLAGS"
28327 alsa_save_LIBS="$LIBS"
28331 # Check whether --with-alsa-prefix was given.
28332 if test "${with_alsa_prefix+set}" = set; then :
28333 withval=$with_alsa_prefix; alsa_prefix="$withval"
28340 # Check whether --with-alsa-inc-prefix was given.
28341 if test "${with_alsa_inc_prefix+set}" = set; then :
28342 withval=$with_alsa_inc_prefix; alsa_inc_prefix="$withval"
28349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA CFLAGS" >&5
28350 $as_echo_n "checking for ALSA CFLAGS... " >&6; }
28351 if test "$alsa_inc_prefix" != "" ; then
28352 ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix"
28353 CFLAGS="$CFLAGS -I$alsa_inc_prefix"
28355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5
28356 $as_echo "$ALSA_CFLAGS" >&6; }
28358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA LDFLAGS" >&5
28359 $as_echo_n "checking for ALSA LDFLAGS... " >&6; }
28360 if test "$alsa_prefix" != "" ; then
28361 ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix"
28362 LDFLAGS="$LDFLAGS $ALSA_LIBS"
28365 ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
28366 LIBS=`echo $LIBS | sed 's/-lm//'`
28367 LIBS=`echo $LIBS | sed 's/-ldl//'`
28368 LIBS=`echo $LIBS | sed 's/-lpthread//'`
28369 LIBS=`echo $LIBS | sed 's/ //'`
28370 LIBS="$ALSA_LIBS $LIBS"
28371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5
28372 $as_echo "$ALSA_LIBS" >&6; }
28374 min_alsa_version=0.9.1
28375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libasound headers version >= $min_alsa_version" >&5
28376 $as_echo_n "checking for libasound headers version >= $min_alsa_version... " >&6; }
28378 alsa_min_major_version=`echo $min_alsa_version | \
28379 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28380 alsa_min_minor_version=`echo $min_alsa_version | \
28381 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28382 alsa_min_micro_version=`echo $min_alsa_version | \
28383 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28387 ac_cpp='$CPP $CPPFLAGS'
28388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28393 /* end confdefs.h. */
28395 #include <alsa/asoundlib.h>
28403 /* ensure backward compatibility */
28404 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
28405 #define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR
28407 #if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR)
28408 #define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR
28410 #if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR)
28411 #define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR
28414 # if(SND_LIB_MAJOR > $alsa_min_major_version)
28417 # if(SND_LIB_MAJOR < $alsa_min_major_version)
28418 # error not present
28421 # if(SND_LIB_MINOR > $alsa_min_minor_version)
28424 # if(SND_LIB_MINOR < $alsa_min_minor_version)
28425 # error not present
28428 # if(SND_LIB_SUBMINOR < $alsa_min_micro_version)
28429 # error not present
28440 if ac_fn_c_try_compile "$LINENO"; then :
28441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found." >&5
28442 $as_echo "found." >&6; }
28444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not present." >&5
28445 $as_echo "not present." >&6; }
28450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28452 ac_cpp='$CPP $CPPFLAGS'
28453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28458 if test "x$enable_alsatest" = "xyes"; then
28459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_ctl_open in -lasound" >&5
28460 $as_echo_n "checking for snd_ctl_open in -lasound... " >&6; }
28461 if ${ac_cv_lib_asound_snd_ctl_open+:} false; then :
28462 $as_echo_n "(cached) " >&6
28464 ac_check_lib_save_LIBS=$LIBS
28465 LIBS="-lasound $LIBS"
28466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28467 /* end confdefs.h. */
28469 /* Override any GCC internal prototype to avoid an error.
28470 Use char because int might match the return type of a GCC
28471 builtin and then its argument prototype would still apply. */
28475 char snd_ctl_open ();
28479 return snd_ctl_open ();
28484 if ac_fn_c_try_link "$LINENO"; then :
28485 ac_cv_lib_asound_snd_ctl_open=yes
28487 ac_cv_lib_asound_snd_ctl_open=no
28489 rm -f core conftest.err conftest.$ac_objext \
28490 conftest$ac_exeext conftest.$ac_ext
28491 LIBS=$ac_check_lib_save_LIBS
28493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_ctl_open" >&5
28494 $as_echo "$ac_cv_lib_asound_snd_ctl_open" >&6; }
28495 if test "x$ac_cv_lib_asound_snd_ctl_open" = xyes; then :
28496 cat >>confdefs.h <<_ACEOF
28497 #define HAVE_LIBASOUND 1
28500 LIBS="-lasound $LIBS"
28510 if test "x$alsa_found" = "xyes" ; then
28512 LIBS=`echo $LIBS | sed 's/-lasound//g'`
28513 LIBS=`echo $LIBS | sed 's/ //'`
28514 LIBS="-lasound $LIBS"
28516 if test "x$alsa_found" = "xno" ; then
28518 CFLAGS="$alsa_save_CFLAGS"
28519 LDFLAGS="$alsa_save_LDFLAGS"
28520 LIBS="$alsa_save_LIBS"
28530 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
28531 ALSA_LIBS=$pkg_cv_ALSA_LIBS
28532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28533 $as_echo "yes" >&6; }
28542 LIBS=$gst_check_save_LIBS
28543 LDFLAGS=$gst_check_save_LDFLAGS
28544 CFLAGS=$gst_check_save_CFLAGS
28545 CPPFLAGS=$gst_check_save_CPPFLAGS
28546 CXXFLAGS=$gst_check_save_CXXFLAGS
28548 if test x$HAVE_ALSA = xno; then
28551 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: alsa" >&5
28552 $as_echo "$as_me: *** These plugins will be built: alsa" >&6;}
28555 if test x$USE_ALSA = xyes; then
28557 if test "xalsa" != "x"; then
28558 GST_PLUGINS_YES="\talsa\n$GST_PLUGINS_YES"
28561 $as_echo "#define HAVE_ALSA /**/" >>confdefs.h
28564 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: alsa" >&5
28565 $as_echo "$as_me: *** These plugins will not be built: alsa" >&6;}
28566 if test "xalsa" != "x"; then
28567 GST_PLUGINS_NO="\talsa\n$GST_PLUGINS_NO"
28571 if test x$USE_ALSA = xyes; then
28582 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: CDParanoia ***" >&5
28583 $as_echo "$as_me: *** checking feature: CDParanoia ***" >&6;}
28584 if test "xcdparanoia" != "x"
28586 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cdparanoia ***" >&5
28587 $as_echo "$as_me: *** for plug-ins: cdparanoia ***" >&6;}
28590 if test "x$USE_CDPARANOIA" = "xno"; then
28593 # Check whether --enable-cdparanoia was given.
28594 if test "${enable_cdparanoia+set}" = set; then :
28595 enableval=$enable_cdparanoia; case "${enableval}" in
28596 yes) USE_CDPARANOIA=yes;;
28597 no) USE_CDPARANOIA=no;;
28598 *) as_fn_error $? "bad value ${enableval} for --enable-cdparanoia" "$LINENO" 5 ;;
28604 if test "x$NOUSE" = "xyes"; then
28605 USE_CDPARANOIA="no"
28606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cdparanoia pre-configured not to be built" >&5
28607 $as_echo "$as_me: WARNING: *** cdparanoia pre-configured not to be built" >&2;}
28612 if test x$USE_CDPARANOIA = xyes; then
28614 gst_check_save_LIBS=$LIBS
28615 gst_check_save_LDFLAGS=$LDFLAGS
28616 gst_check_save_CFLAGS=$CFLAGS
28617 gst_check_save_CPPFLAGS=$CPPFLAGS
28618 gst_check_save_CXXFLAGS=$CXXFLAGS
28624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CDPARANOIA" >&5
28625 $as_echo_n "checking for CDPARANOIA... " >&6; }
28627 if test -n "$PKG_CONFIG"; then
28628 if test -n "$CDPARANOIA_CFLAGS"; then
28629 pkg_cv_CDPARANOIA_CFLAGS="$CDPARANOIA_CFLAGS"
28631 if test -n "$PKG_CONFIG" && \
28632 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cdparanoia-3 >= 10.2\""; } >&5
28633 ($PKG_CONFIG --exists --print-errors "cdparanoia-3 >= 10.2") 2>&5
28635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28636 test $ac_status = 0; }; then
28637 pkg_cv_CDPARANOIA_CFLAGS=`$PKG_CONFIG --cflags "cdparanoia-3 >= 10.2" 2>/dev/null`
28645 if test -n "$PKG_CONFIG"; then
28646 if test -n "$CDPARANOIA_LIBS"; then
28647 pkg_cv_CDPARANOIA_LIBS="$CDPARANOIA_LIBS"
28649 if test -n "$PKG_CONFIG" && \
28650 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cdparanoia-3 >= 10.2\""; } >&5
28651 ($PKG_CONFIG --exists --print-errors "cdparanoia-3 >= 10.2") 2>&5
28653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28654 test $ac_status = 0; }; then
28655 pkg_cv_CDPARANOIA_LIBS=`$PKG_CONFIG --libs "cdparanoia-3 >= 10.2" 2>/dev/null`
28666 if test $pkg_failed = yes; then
28668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28669 _pkg_short_errors_supported=yes
28671 _pkg_short_errors_supported=no
28673 if test $_pkg_short_errors_supported = yes; then
28674 CDPARANOIA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cdparanoia-3 >= 10.2"`
28676 CDPARANOIA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cdparanoia-3 >= 10.2"`
28678 # Put the nasty error message in config.log where it belongs
28679 echo "$CDPARANOIA_PKG_ERRORS" >&5
28681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28682 $as_echo "no" >&6; }
28685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdda_open in -lcdda_interface" >&5
28686 $as_echo_n "checking for cdda_open in -lcdda_interface... " >&6; }
28687 if ${ac_cv_lib_cdda_interface_cdda_open+:} false; then :
28688 $as_echo_n "(cached) " >&6
28690 ac_check_lib_save_LIBS=$LIBS
28691 LIBS="-lcdda_interface -lm $LIBS"
28692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28693 /* end confdefs.h. */
28695 /* Override any GCC internal prototype to avoid an error.
28696 Use char because int might match the return type of a GCC
28697 builtin and then its argument prototype would still apply. */
28705 return cdda_open ();
28710 if ac_fn_c_try_link "$LINENO"; then :
28711 ac_cv_lib_cdda_interface_cdda_open=yes
28713 ac_cv_lib_cdda_interface_cdda_open=no
28715 rm -f core conftest.err conftest.$ac_objext \
28716 conftest$ac_exeext conftest.$ac_ext
28717 LIBS=$ac_check_lib_save_LIBS
28719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_interface_cdda_open" >&5
28720 $as_echo "$ac_cv_lib_cdda_interface_cdda_open" >&6; }
28721 if test "x$ac_cv_lib_cdda_interface_cdda_open" = xyes; then :
28722 HAVE_CDPARANOIA=yes
28727 if test "x$HAVE_CDPARANOIA" = "xyes"; then
28728 ac_fn_c_check_header_mongrel "$LINENO" "cdda_interface.h" "ac_cv_header_cdda_interface_h" "$ac_includes_default"
28729 if test "x$ac_cv_header_cdda_interface_h" = xyes; then :
28736 if test "x$HAVE_CDPARANOIA" = "xyes"; then
28737 CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
28739 FOUND_CDPARANOIA="yes"
28749 if test "x$FOUND_CDPARANOIA" != "xyes";
28752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdda_open in -lcdda_interface" >&5
28753 $as_echo_n "checking for cdda_open in -lcdda_interface... " >&6; }
28754 if ${ac_cv_lib_cdda_interface_cdda_open+:} false; then :
28755 $as_echo_n "(cached) " >&6
28757 ac_check_lib_save_LIBS=$LIBS
28758 LIBS="-lcdda_interface -lm $LIBS"
28759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28760 /* end confdefs.h. */
28762 /* Override any GCC internal prototype to avoid an error.
28763 Use char because int might match the return type of a GCC
28764 builtin and then its argument prototype would still apply. */
28772 return cdda_open ();
28777 if ac_fn_c_try_link "$LINENO"; then :
28778 ac_cv_lib_cdda_interface_cdda_open=yes
28780 ac_cv_lib_cdda_interface_cdda_open=no
28782 rm -f core conftest.err conftest.$ac_objext \
28783 conftest$ac_exeext conftest.$ac_ext
28784 LIBS=$ac_check_lib_save_LIBS
28786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_interface_cdda_open" >&5
28787 $as_echo "$ac_cv_lib_cdda_interface_cdda_open" >&6; }
28788 if test "x$ac_cv_lib_cdda_interface_cdda_open" = xyes; then :
28789 HAVE_CDPARANOIA=yes
28794 if test "x$HAVE_CDPARANOIA" = "xyes"; then
28795 ac_fn_c_check_header_mongrel "$LINENO" "cdda/cdda_interface.h" "ac_cv_header_cdda_cdda_interface_h" "$ac_includes_default"
28796 if test "x$ac_cv_header_cdda_cdda_interface_h" = xyes; then :
28803 if test "x$HAVE_CDPARANOIA" = "xyes"; then
28804 CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
28806 FOUND_CDPARANOIA="yes"
28817 if test "x$HEADER_DIR" = "xyes";
28820 cat >>confdefs.h <<_ACEOF
28821 #define CDPARANOIA_HEADERS_IN_DIR /**/
28825 if test "x$FOUND_CDPARANOIA" = "xyes";
28827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for paranoia_cachemodel_size in -lcdda_paranoia" >&5
28828 $as_echo_n "checking for paranoia_cachemodel_size in -lcdda_paranoia... " >&6; }
28829 if ${ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size+:} false; then :
28830 $as_echo_n "(cached) " >&6
28832 ac_check_lib_save_LIBS=$LIBS
28833 LIBS="-lcdda_paranoia -lcdda_interface $LIBS"
28834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28835 /* end confdefs.h. */
28837 /* Override any GCC internal prototype to avoid an error.
28838 Use char because int might match the return type of a GCC
28839 builtin and then its argument prototype would still apply. */
28843 char paranoia_cachemodel_size ();
28847 return paranoia_cachemodel_size ();
28852 if ac_fn_c_try_link "$LINENO"; then :
28853 ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size=yes
28855 ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size=no
28857 rm -f core conftest.err conftest.$ac_objext \
28858 conftest$ac_exeext conftest.$ac_ext
28859 LIBS=$ac_check_lib_save_LIBS
28861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" >&5
28862 $as_echo "$ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" >&6; }
28863 if test "x$ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" = xyes; then :
28873 elif test $pkg_failed = untried; then
28876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdda_open in -lcdda_interface" >&5
28877 $as_echo_n "checking for cdda_open in -lcdda_interface... " >&6; }
28878 if ${ac_cv_lib_cdda_interface_cdda_open+:} false; then :
28879 $as_echo_n "(cached) " >&6
28881 ac_check_lib_save_LIBS=$LIBS
28882 LIBS="-lcdda_interface -lm $LIBS"
28883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28884 /* end confdefs.h. */
28886 /* Override any GCC internal prototype to avoid an error.
28887 Use char because int might match the return type of a GCC
28888 builtin and then its argument prototype would still apply. */
28896 return cdda_open ();
28901 if ac_fn_c_try_link "$LINENO"; then :
28902 ac_cv_lib_cdda_interface_cdda_open=yes
28904 ac_cv_lib_cdda_interface_cdda_open=no
28906 rm -f core conftest.err conftest.$ac_objext \
28907 conftest$ac_exeext conftest.$ac_ext
28908 LIBS=$ac_check_lib_save_LIBS
28910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_interface_cdda_open" >&5
28911 $as_echo "$ac_cv_lib_cdda_interface_cdda_open" >&6; }
28912 if test "x$ac_cv_lib_cdda_interface_cdda_open" = xyes; then :
28913 HAVE_CDPARANOIA=yes
28918 if test "x$HAVE_CDPARANOIA" = "xyes"; then
28919 ac_fn_c_check_header_mongrel "$LINENO" "cdda_interface.h" "ac_cv_header_cdda_interface_h" "$ac_includes_default"
28920 if test "x$ac_cv_header_cdda_interface_h" = xyes; then :
28927 if test "x$HAVE_CDPARANOIA" = "xyes"; then
28928 CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
28930 FOUND_CDPARANOIA="yes"
28940 if test "x$FOUND_CDPARANOIA" != "xyes";
28943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdda_open in -lcdda_interface" >&5
28944 $as_echo_n "checking for cdda_open in -lcdda_interface... " >&6; }
28945 if ${ac_cv_lib_cdda_interface_cdda_open+:} false; then :
28946 $as_echo_n "(cached) " >&6
28948 ac_check_lib_save_LIBS=$LIBS
28949 LIBS="-lcdda_interface -lm $LIBS"
28950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28951 /* end confdefs.h. */
28953 /* Override any GCC internal prototype to avoid an error.
28954 Use char because int might match the return type of a GCC
28955 builtin and then its argument prototype would still apply. */
28963 return cdda_open ();
28968 if ac_fn_c_try_link "$LINENO"; then :
28969 ac_cv_lib_cdda_interface_cdda_open=yes
28971 ac_cv_lib_cdda_interface_cdda_open=no
28973 rm -f core conftest.err conftest.$ac_objext \
28974 conftest$ac_exeext conftest.$ac_ext
28975 LIBS=$ac_check_lib_save_LIBS
28977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_interface_cdda_open" >&5
28978 $as_echo "$ac_cv_lib_cdda_interface_cdda_open" >&6; }
28979 if test "x$ac_cv_lib_cdda_interface_cdda_open" = xyes; then :
28980 HAVE_CDPARANOIA=yes
28985 if test "x$HAVE_CDPARANOIA" = "xyes"; then
28986 ac_fn_c_check_header_mongrel "$LINENO" "cdda/cdda_interface.h" "ac_cv_header_cdda_cdda_interface_h" "$ac_includes_default"
28987 if test "x$ac_cv_header_cdda_cdda_interface_h" = xyes; then :
28994 if test "x$HAVE_CDPARANOIA" = "xyes"; then
28995 CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
28997 FOUND_CDPARANOIA="yes"
29008 if test "x$HEADER_DIR" = "xyes";
29011 cat >>confdefs.h <<_ACEOF
29012 #define CDPARANOIA_HEADERS_IN_DIR /**/
29016 if test "x$FOUND_CDPARANOIA" = "xyes";
29018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for paranoia_cachemodel_size in -lcdda_paranoia" >&5
29019 $as_echo_n "checking for paranoia_cachemodel_size in -lcdda_paranoia... " >&6; }
29020 if ${ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size+:} false; then :
29021 $as_echo_n "(cached) " >&6
29023 ac_check_lib_save_LIBS=$LIBS
29024 LIBS="-lcdda_paranoia -lcdda_interface $LIBS"
29025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29026 /* end confdefs.h. */
29028 /* Override any GCC internal prototype to avoid an error.
29029 Use char because int might match the return type of a GCC
29030 builtin and then its argument prototype would still apply. */
29034 char paranoia_cachemodel_size ();
29038 return paranoia_cachemodel_size ();
29043 if ac_fn_c_try_link "$LINENO"; then :
29044 ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size=yes
29046 ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size=no
29048 rm -f core conftest.err conftest.$ac_objext \
29049 conftest$ac_exeext conftest.$ac_ext
29050 LIBS=$ac_check_lib_save_LIBS
29052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" >&5
29053 $as_echo "$ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" >&6; }
29054 if test "x$ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" = xyes; then :
29065 CDPARANOIA_CFLAGS=$pkg_cv_CDPARANOIA_CFLAGS
29066 CDPARANOIA_LIBS=$pkg_cv_CDPARANOIA_LIBS
29067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29068 $as_echo "yes" >&6; }
29070 HAVE_CDPARANOIA="yes"
29075 LIBS=$gst_check_save_LIBS
29076 LDFLAGS=$gst_check_save_LDFLAGS
29077 CFLAGS=$gst_check_save_CFLAGS
29078 CPPFLAGS=$gst_check_save_CPPFLAGS
29079 CXXFLAGS=$gst_check_save_CXXFLAGS
29081 if test x$HAVE_CDPARANOIA = xno; then
29084 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cdparanoia" >&5
29085 $as_echo "$as_me: *** These plugins will be built: cdparanoia" >&6;}
29088 if test x$USE_CDPARANOIA = xyes; then
29090 if test "xcdparanoia" != "x"; then
29091 GST_PLUGINS_YES="\tcdparanoia\n$GST_PLUGINS_YES"
29094 $as_echo "#define HAVE_CDPARANOIA /**/" >>confdefs.h
29097 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cdparanoia" >&5
29098 $as_echo "$as_me: *** These plugins will not be built: cdparanoia" >&6;}
29099 if test "xcdparanoia" != "x"; then
29100 GST_PLUGINS_NO="\tcdparanoia\n$GST_PLUGINS_NO"
29104 if test x$USE_CDPARANOIA = xyes; then
29105 USE_CDPARANOIA_TRUE=
29106 USE_CDPARANOIA_FALSE='#'
29108 USE_CDPARANOIA_TRUE='#'
29109 USE_CDPARANOIA_FALSE=
29115 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GNOME VFS ***" >&5
29116 $as_echo "$as_me: *** checking feature: GNOME VFS ***" >&6;}
29117 if test "xgnomevfs" != "x"
29119 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gnomevfs ***" >&5
29120 $as_echo "$as_me: *** for plug-ins: gnomevfs ***" >&6;}
29123 if test "x$USE_GNOME_VFS" = "xno"; then
29126 # Check whether --enable-gnome_vfs was given.
29127 if test "${enable_gnome_vfs+set}" = set; then :
29128 enableval=$enable_gnome_vfs; case "${enableval}" in
29129 yes) USE_GNOME_VFS=yes;;
29130 no) USE_GNOME_VFS=no;;
29131 *) as_fn_error $? "bad value ${enableval} for --enable-gnome_vfs" "$LINENO" 5 ;;
29137 if test "x$NOUSE" = "xyes"; then
29139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gnomevfs pre-configured not to be built" >&5
29140 $as_echo "$as_me: WARNING: *** gnomevfs pre-configured not to be built" >&2;}
29145 if test x$USE_GNOME_VFS = xyes; then
29147 gst_check_save_LIBS=$LIBS
29148 gst_check_save_LDFLAGS=$LDFLAGS
29149 gst_check_save_CFLAGS=$CFLAGS
29150 gst_check_save_CPPFLAGS=$CPPFLAGS
29151 gst_check_save_CXXFLAGS=$CXXFLAGS
29157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_VFS" >&5
29158 $as_echo_n "checking for GNOME_VFS... " >&6; }
29160 if test -n "$PKG_CONFIG"; then
29161 if test -n "$GNOME_VFS_CFLAGS"; then
29162 pkg_cv_GNOME_VFS_CFLAGS="$GNOME_VFS_CFLAGS"
29164 if test -n "$PKG_CONFIG" && \
29165 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0\""; } >&5
29166 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0") 2>&5
29168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29169 test $ac_status = 0; }; then
29170 pkg_cv_GNOME_VFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0" 2>/dev/null`
29178 if test -n "$PKG_CONFIG"; then
29179 if test -n "$GNOME_VFS_LIBS"; then
29180 pkg_cv_GNOME_VFS_LIBS="$GNOME_VFS_LIBS"
29182 if test -n "$PKG_CONFIG" && \
29183 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0\""; } >&5
29184 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0") 2>&5
29186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29187 test $ac_status = 0; }; then
29188 pkg_cv_GNOME_VFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0" 2>/dev/null`
29199 if test $pkg_failed = yes; then
29201 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29202 _pkg_short_errors_supported=yes
29204 _pkg_short_errors_supported=no
29206 if test $_pkg_short_errors_supported = yes; then
29207 GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0"`
29209 GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0"`
29211 # Put the nasty error message in config.log where it belongs
29212 echo "$GNOME_VFS_PKG_ERRORS" >&5
29214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29215 $as_echo "no" >&6; }
29217 HAVE_GNOME_VFS="no"
29220 elif test $pkg_failed = untried; then
29222 HAVE_GNOME_VFS="no"
29226 GNOME_VFS_CFLAGS=$pkg_cv_GNOME_VFS_CFLAGS
29227 GNOME_VFS_LIBS=$pkg_cv_GNOME_VFS_LIBS
29228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29229 $as_echo "yes" >&6; }
29231 HAVE_GNOME_VFS="yes"
29234 GNOME_VFS_MODULES_DIR="`$PKG_CONFIG --variable=modulesdir gnome-vfs-2.0`"
29236 cat >>confdefs.h <<_ACEOF
29237 #define GNOME_VFS_MODULES_DIR "$GNOME_VFS_MODULES_DIR"
29244 LIBS=$gst_check_save_LIBS
29245 LDFLAGS=$gst_check_save_LDFLAGS
29246 CFLAGS=$gst_check_save_CFLAGS
29247 CPPFLAGS=$gst_check_save_CPPFLAGS
29248 CXXFLAGS=$gst_check_save_CXXFLAGS
29250 if test x$HAVE_GNOME_VFS = xno; then
29253 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gnomevfs" >&5
29254 $as_echo "$as_me: *** These plugins will be built: gnomevfs" >&6;}
29257 if test x$USE_GNOME_VFS = xyes; then
29259 if test "xgnomevfs" != "x"; then
29260 GST_PLUGINS_YES="\tgnomevfs\n$GST_PLUGINS_YES"
29263 $as_echo "#define HAVE_GNOME_VFS /**/" >>confdefs.h
29266 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gnomevfs" >&5
29267 $as_echo "$as_me: *** These plugins will not be built: gnomevfs" >&6;}
29268 if test "xgnomevfs" != "x"; then
29269 GST_PLUGINS_NO="\tgnomevfs\n$GST_PLUGINS_NO"
29273 if test x$USE_GNOME_VFS = xyes; then
29274 USE_GNOME_VFS_TRUE=
29275 USE_GNOME_VFS_FALSE='#'
29277 USE_GNOME_VFS_TRUE='#'
29278 USE_GNOME_VFS_FALSE=
29284 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: integer vorbis plug-in ***" >&5
29285 $as_echo "$as_me: *** checking feature: integer vorbis plug-in ***" >&6;}
29286 if test "xivorbisdec" != "x"
29288 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ivorbisdec ***" >&5
29289 $as_echo "$as_me: *** for plug-ins: ivorbisdec ***" >&6;}
29292 if test "x$USE_IVORBIS" = "xno"; then
29295 # Check whether --enable-ivorbis was given.
29296 if test "${enable_ivorbis+set}" = set; then :
29297 enableval=$enable_ivorbis; case "${enableval}" in
29298 yes) USE_IVORBIS=yes;;
29299 no) USE_IVORBIS=no;;
29300 *) as_fn_error $? "bad value ${enableval} for --enable-ivorbis" "$LINENO" 5 ;;
29306 if test "x$NOUSE" = "xyes"; then
29308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ivorbisdec pre-configured not to be built" >&5
29309 $as_echo "$as_me: WARNING: *** ivorbisdec pre-configured not to be built" >&2;}
29314 if test x$USE_IVORBIS = xyes; then
29316 gst_check_save_LIBS=$LIBS
29317 gst_check_save_LDFLAGS=$LDFLAGS
29318 gst_check_save_CFLAGS=$CFLAGS
29319 gst_check_save_CPPFLAGS=$CPPFLAGS
29320 gst_check_save_CXXFLAGS=$CXXFLAGS
29330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IVORBIS" >&5
29331 $as_echo_n "checking for IVORBIS... " >&6; }
29333 if test -n "$PKG_CONFIG"; then
29334 if test -n "$IVORBIS_CFLAGS"; then
29335 pkg_cv_IVORBIS_CFLAGS="$IVORBIS_CFLAGS"
29337 if test -n "$PKG_CONFIG" && \
29338 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29339 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29342 test $ac_status = 0; }; then
29343 pkg_cv_IVORBIS_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
29351 if test -n "$PKG_CONFIG"; then
29352 if test -n "$IVORBIS_LIBS"; then
29353 pkg_cv_IVORBIS_LIBS="$IVORBIS_LIBS"
29355 if test -n "$PKG_CONFIG" && \
29356 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29357 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29360 test $ac_status = 0; }; then
29361 pkg_cv_IVORBIS_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
29372 if test $pkg_failed = yes; then
29374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29375 _pkg_short_errors_supported=yes
29377 _pkg_short_errors_supported=no
29379 if test $_pkg_short_errors_supported = yes; then
29380 IVORBIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
29382 IVORBIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
29384 # Put the nasty error message in config.log where it belongs
29385 echo "$IVORBIS_PKG_ERRORS" >&5
29387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29388 $as_echo "no" >&6; }
29391 if test "x$required" = "xyes"; then
29392 as_fn_error $? "$IVORBIS_PKG_ERRORS" "$LINENO" 5
29394 { $as_echo "$as_me:${as_lineno-$LINENO}: $IVORBIS_PKG_ERRORS" >&5
29395 $as_echo "$as_me: $IVORBIS_PKG_ERRORS" >&6;}
29398 elif test $pkg_failed = untried; then
29401 if test "x$required" = "xyes"; then
29402 as_fn_error $? "$IVORBIS_PKG_ERRORS" "$LINENO" 5
29404 { $as_echo "$as_me:${as_lineno-$LINENO}: $IVORBIS_PKG_ERRORS" >&5
29405 $as_echo "$as_me: $IVORBIS_PKG_ERRORS" >&6;}
29409 IVORBIS_CFLAGS=$pkg_cv_IVORBIS_CFLAGS
29410 IVORBIS_LIBS=$pkg_cv_IVORBIS_LIBS
29411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29412 $as_echo "yes" >&6; }
29419 if test $HAVE_IVORBIS = no
29423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbis_block_init in -lvorbisidec" >&5
29424 $as_echo_n "checking for vorbis_block_init in -lvorbisidec... " >&6; }
29425 if ${ac_cv_lib_vorbisidec_vorbis_block_init+:} false; then :
29426 $as_echo_n "(cached) " >&6
29428 ac_check_lib_save_LIBS=$LIBS
29429 LIBS="-lvorbisidec $LIBS"
29430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29431 /* end confdefs.h. */
29433 /* Override any GCC internal prototype to avoid an error.
29434 Use char because int might match the return type of a GCC
29435 builtin and then its argument prototype would still apply. */
29439 char vorbis_block_init ();
29443 return vorbis_block_init ();
29448 if ac_fn_c_try_link "$LINENO"; then :
29449 ac_cv_lib_vorbisidec_vorbis_block_init=yes
29451 ac_cv_lib_vorbisidec_vorbis_block_init=no
29453 rm -f core conftest.err conftest.$ac_objext \
29454 conftest$ac_exeext conftest.$ac_ext
29455 LIBS=$ac_check_lib_save_LIBS
29457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vorbisidec_vorbis_block_init" >&5
29458 $as_echo "$ac_cv_lib_vorbisidec_vorbis_block_init" >&6; }
29459 if test "x$ac_cv_lib_vorbisidec_vorbis_block_init" = xyes; then :
29460 IVORBIS_LIBS=-lvorbisidec
29464 IVORBIS_CFLAGS="-D_ARM_ASSEM_ $IVORBIS_CFLAGS"
29474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbis_dsp_pcmout in -lvorbisidec" >&5
29475 $as_echo_n "checking for vorbis_dsp_pcmout in -lvorbisidec... " >&6; }
29476 if ${ac_cv_lib_vorbisidec_vorbis_dsp_pcmout+:} false; then :
29477 $as_echo_n "(cached) " >&6
29479 ac_check_lib_save_LIBS=$LIBS
29480 LIBS="-lvorbisidec $LIBS"
29481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29482 /* end confdefs.h. */
29484 /* Override any GCC internal prototype to avoid an error.
29485 Use char because int might match the return type of a GCC
29486 builtin and then its argument prototype would still apply. */
29490 char vorbis_dsp_pcmout ();
29494 return vorbis_dsp_pcmout ();
29499 if ac_fn_c_try_link "$LINENO"; then :
29500 ac_cv_lib_vorbisidec_vorbis_dsp_pcmout=yes
29502 ac_cv_lib_vorbisidec_vorbis_dsp_pcmout=no
29504 rm -f core conftest.err conftest.$ac_objext \
29505 conftest$ac_exeext conftest.$ac_ext
29506 LIBS=$ac_check_lib_save_LIBS
29508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vorbisidec_vorbis_dsp_pcmout" >&5
29509 $as_echo "$ac_cv_lib_vorbisidec_vorbis_dsp_pcmout" >&6; }
29510 if test "x$ac_cv_lib_vorbisidec_vorbis_dsp_pcmout" = xyes; then :
29512 $as_echo "#define USE_TREMOLO 1" >>confdefs.h
29521 LIBS=$gst_check_save_LIBS
29522 LDFLAGS=$gst_check_save_LDFLAGS
29523 CFLAGS=$gst_check_save_CFLAGS
29524 CPPFLAGS=$gst_check_save_CPPFLAGS
29525 CXXFLAGS=$gst_check_save_CXXFLAGS
29527 if test x$HAVE_IVORBIS = xno; then
29530 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ivorbisdec" >&5
29531 $as_echo "$as_me: *** These plugins will be built: ivorbisdec" >&6;}
29534 if test x$USE_IVORBIS = xyes; then
29536 if test "xivorbisdec" != "x"; then
29537 GST_PLUGINS_YES="\tivorbisdec\n$GST_PLUGINS_YES"
29540 $as_echo "#define HAVE_IVORBIS /**/" >>confdefs.h
29543 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ivorbisdec" >&5
29544 $as_echo "$as_me: *** These plugins will not be built: ivorbisdec" >&6;}
29545 if test "xivorbisdec" != "x"; then
29546 GST_PLUGINS_NO="\tivorbisdec\n$GST_PLUGINS_NO"
29550 if test x$USE_IVORBIS = xyes; then
29552 USE_IVORBIS_FALSE='#'
29554 USE_IVORBIS_TRUE='#'
29561 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GIO library ***" >&5
29562 $as_echo "$as_me: *** checking feature: GIO library ***" >&6;}
29563 if test "xgio" != "x"
29565 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gio ***" >&5
29566 $as_echo "$as_me: *** for plug-ins: gio ***" >&6;}
29569 if test "x$USE_GIO" = "xno"; then
29572 # Check whether --enable-gio was given.
29573 if test "${enable_gio+set}" = set; then :
29574 enableval=$enable_gio; case "${enableval}" in
29577 *) as_fn_error $? "bad value ${enableval} for --enable-gio" "$LINENO" 5 ;;
29583 if test "x$NOUSE" = "xyes"; then
29585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gio pre-configured not to be built" >&5
29586 $as_echo "$as_me: WARNING: *** gio pre-configured not to be built" >&2;}
29591 if test x$USE_GIO = xyes; then
29593 gst_check_save_LIBS=$LIBS
29594 gst_check_save_LDFLAGS=$LDFLAGS
29595 gst_check_save_CFLAGS=$CFLAGS
29596 gst_check_save_CPPFLAGS=$CPPFLAGS
29597 gst_check_save_CXXFLAGS=$CXXFLAGS
29603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
29604 $as_echo_n "checking for GIO... " >&6; }
29606 if test -n "$PKG_CONFIG"; then
29607 if test -n "$GIO_CFLAGS"; then
29608 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
29610 if test -n "$PKG_CONFIG" && \
29611 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16\""; } >&5
29612 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.16") 2>&5
29614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29615 test $ac_status = 0; }; then
29616 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.16" 2>/dev/null`
29624 if test -n "$PKG_CONFIG"; then
29625 if test -n "$GIO_LIBS"; then
29626 pkg_cv_GIO_LIBS="$GIO_LIBS"
29628 if test -n "$PKG_CONFIG" && \
29629 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16\""; } >&5
29630 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.16") 2>&5
29632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29633 test $ac_status = 0; }; then
29634 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.16" 2>/dev/null`
29645 if test $pkg_failed = yes; then
29647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29648 _pkg_short_errors_supported=yes
29650 _pkg_short_errors_supported=no
29652 if test $_pkg_short_errors_supported = yes; then
29653 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0 >= 2.16"`
29655 GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0 >= 2.16"`
29657 # Put the nasty error message in config.log where it belongs
29658 echo "$GIO_PKG_ERRORS" >&5
29660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29661 $as_echo "no" >&6; }
29665 elif test $pkg_failed = untried; then
29670 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
29671 GIO_LIBS=$pkg_cv_GIO_LIBS
29672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29673 $as_echo "yes" >&6; }
29676 GIO_MODULE_DIR="`$PKG_CONFIG --variable=giomoduledir gio-2.0`"
29678 cat >>confdefs.h <<_ACEOF
29679 #define GIO_MODULE_DIR "$GIO_MODULE_DIR"
29682 GIO_LIBDIR="`$PKG_CONFIG --variable=libdir gio-2.0`"
29684 cat >>confdefs.h <<_ACEOF
29685 #define GIO_LIBDIR "$GIO_LIBDIR"
29695 LIBS=$gst_check_save_LIBS
29696 LDFLAGS=$gst_check_save_LDFLAGS
29697 CFLAGS=$gst_check_save_CFLAGS
29698 CPPFLAGS=$gst_check_save_CPPFLAGS
29699 CXXFLAGS=$gst_check_save_CXXFLAGS
29701 if test x$HAVE_GIO = xno; then
29704 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gio" >&5
29705 $as_echo "$as_me: *** These plugins will be built: gio" >&6;}
29708 if test x$USE_GIO = xyes; then
29710 if test "xgio" != "x"; then
29711 GST_PLUGINS_YES="\tgio\n$GST_PLUGINS_YES"
29714 $as_echo "#define HAVE_GIO /**/" >>confdefs.h
29717 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gio" >&5
29718 $as_echo "$as_me: *** These plugins will not be built: gio" >&6;}
29719 if test "xgio" != "x"; then
29720 GST_PLUGINS_NO="\tgio\n$GST_PLUGINS_NO"
29724 if test x$USE_GIO = xyes; then
29735 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libvisual visualization library ***" >&5
29736 $as_echo "$as_me: *** checking feature: libvisual visualization library ***" >&6;}
29737 if test "xlibvisual" != "x"
29739 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: libvisual ***" >&5
29740 $as_echo "$as_me: *** for plug-ins: libvisual ***" >&6;}
29743 if test "x$USE_LIBVISUAL" = "xno"; then
29746 # Check whether --enable-libvisual was given.
29747 if test "${enable_libvisual+set}" = set; then :
29748 enableval=$enable_libvisual; case "${enableval}" in
29749 yes) USE_LIBVISUAL=yes;;
29750 no) USE_LIBVISUAL=no;;
29751 *) as_fn_error $? "bad value ${enableval} for --enable-libvisual" "$LINENO" 5 ;;
29757 if test "x$NOUSE" = "xyes"; then
29759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** libvisual pre-configured not to be built" >&5
29760 $as_echo "$as_me: WARNING: *** libvisual pre-configured not to be built" >&2;}
29765 if test x$USE_LIBVISUAL = xyes; then
29767 gst_check_save_LIBS=$LIBS
29768 gst_check_save_LDFLAGS=$LDFLAGS
29769 gst_check_save_CFLAGS=$CFLAGS
29770 gst_check_save_CPPFLAGS=$CPPFLAGS
29771 gst_check_save_CXXFLAGS=$CXXFLAGS
29776 which="libvisual-0.4 >= 0.4.0"
29781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBVISUAL" >&5
29782 $as_echo_n "checking for LIBVISUAL... " >&6; }
29784 if test -n "$PKG_CONFIG"; then
29785 if test -n "$LIBVISUAL_CFLAGS"; then
29786 pkg_cv_LIBVISUAL_CFLAGS="$LIBVISUAL_CFLAGS"
29788 if test -n "$PKG_CONFIG" && \
29789 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29790 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29793 test $ac_status = 0; }; then
29794 pkg_cv_LIBVISUAL_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
29802 if test -n "$PKG_CONFIG"; then
29803 if test -n "$LIBVISUAL_LIBS"; then
29804 pkg_cv_LIBVISUAL_LIBS="$LIBVISUAL_LIBS"
29806 if test -n "$PKG_CONFIG" && \
29807 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29808 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29811 test $ac_status = 0; }; then
29812 pkg_cv_LIBVISUAL_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
29823 if test $pkg_failed = yes; then
29825 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29826 _pkg_short_errors_supported=yes
29828 _pkg_short_errors_supported=no
29830 if test $_pkg_short_errors_supported = yes; then
29831 LIBVISUAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
29833 LIBVISUAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
29835 # Put the nasty error message in config.log where it belongs
29836 echo "$LIBVISUAL_PKG_ERRORS" >&5
29838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29839 $as_echo "no" >&6; }
29841 HAVE_LIBVISUAL="no"
29842 if test "x$required" = "xyes"; then
29843 as_fn_error $? "$LIBVISUAL_PKG_ERRORS" "$LINENO" 5
29845 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBVISUAL_PKG_ERRORS" >&5
29846 $as_echo "$as_me: $LIBVISUAL_PKG_ERRORS" >&6;}
29849 elif test $pkg_failed = untried; then
29851 HAVE_LIBVISUAL="no"
29852 if test "x$required" = "xyes"; then
29853 as_fn_error $? "$LIBVISUAL_PKG_ERRORS" "$LINENO" 5
29855 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBVISUAL_PKG_ERRORS" >&5
29856 $as_echo "$as_me: $LIBVISUAL_PKG_ERRORS" >&6;}
29860 LIBVISUAL_CFLAGS=$pkg_cv_LIBVISUAL_CFLAGS
29861 LIBVISUAL_LIBS=$pkg_cv_LIBVISUAL_LIBS
29862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29863 $as_echo "yes" >&6; }
29865 HAVE_LIBVISUAL="yes"
29870 if test $HAVE_LIBVISUAL = no
29873 which="libvisual = 0.2.0"
29878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBVISUAL" >&5
29879 $as_echo_n "checking for LIBVISUAL... " >&6; }
29881 if test -n "$PKG_CONFIG"; then
29882 if test -n "$LIBVISUAL_CFLAGS"; then
29883 pkg_cv_LIBVISUAL_CFLAGS="$LIBVISUAL_CFLAGS"
29885 if test -n "$PKG_CONFIG" && \
29886 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29887 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29890 test $ac_status = 0; }; then
29891 pkg_cv_LIBVISUAL_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
29899 if test -n "$PKG_CONFIG"; then
29900 if test -n "$LIBVISUAL_LIBS"; then
29901 pkg_cv_LIBVISUAL_LIBS="$LIBVISUAL_LIBS"
29903 if test -n "$PKG_CONFIG" && \
29904 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29905 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29908 test $ac_status = 0; }; then
29909 pkg_cv_LIBVISUAL_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
29920 if test $pkg_failed = yes; then
29922 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29923 _pkg_short_errors_supported=yes
29925 _pkg_short_errors_supported=no
29927 if test $_pkg_short_errors_supported = yes; then
29928 LIBVISUAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
29930 LIBVISUAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
29932 # Put the nasty error message in config.log where it belongs
29933 echo "$LIBVISUAL_PKG_ERRORS" >&5
29935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29936 $as_echo "no" >&6; }
29938 HAVE_LIBVISUAL="no"
29939 if test "x$required" = "xyes"; then
29940 as_fn_error $? "$LIBVISUAL_PKG_ERRORS" "$LINENO" 5
29942 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBVISUAL_PKG_ERRORS" >&5
29943 $as_echo "$as_me: $LIBVISUAL_PKG_ERRORS" >&6;}
29946 elif test $pkg_failed = untried; then
29948 HAVE_LIBVISUAL="no"
29949 if test "x$required" = "xyes"; then
29950 as_fn_error $? "$LIBVISUAL_PKG_ERRORS" "$LINENO" 5
29952 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBVISUAL_PKG_ERRORS" >&5
29953 $as_echo "$as_me: $LIBVISUAL_PKG_ERRORS" >&6;}
29957 LIBVISUAL_CFLAGS=$pkg_cv_LIBVISUAL_CFLAGS
29958 LIBVISUAL_LIBS=$pkg_cv_LIBVISUAL_LIBS
29959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29960 $as_echo "yes" >&6; }
29962 HAVE_LIBVISUAL="yes"
29967 if test x$HAVE_LIBVISUAL = xyes; then
29968 LIBVIS_PLUGINSDIR="`$PKG_CONFIG --variable=pluginsbasedir libvisual-0.2`"
29971 if test x$HAVE_LIBVISUAL = xyes; then
29972 LIBVIS_PLUGINSDIR="`$PKG_CONFIG --variable=pluginsbasedir libvisual-0.4`"
29975 { $as_echo "$as_me:${as_lineno-$LINENO}: libvisual pluginsdir: $LIBVIS_PLUGINSDIR" >&5
29976 $as_echo "$as_me: libvisual pluginsdir: $LIBVIS_PLUGINSDIR" >&6;}
29977 if test x$LIBVIS_PLUGINSDIR != x; then
29979 cat >>confdefs.h <<_ACEOF
29980 #define LIBVISUAL_PLUGINSBASEDIR "$LIBVIS_PLUGINSDIR"
29986 LIBS=$gst_check_save_LIBS
29987 LDFLAGS=$gst_check_save_LDFLAGS
29988 CFLAGS=$gst_check_save_CFLAGS
29989 CPPFLAGS=$gst_check_save_CPPFLAGS
29990 CXXFLAGS=$gst_check_save_CXXFLAGS
29992 if test x$HAVE_LIBVISUAL = xno; then
29995 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: libvisual" >&5
29996 $as_echo "$as_me: *** These plugins will be built: libvisual" >&6;}
29999 if test x$USE_LIBVISUAL = xyes; then
30001 if test "xlibvisual" != "x"; then
30002 GST_PLUGINS_YES="\tlibvisual\n$GST_PLUGINS_YES"
30005 $as_echo "#define HAVE_LIBVISUAL /**/" >>confdefs.h
30008 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: libvisual" >&5
30009 $as_echo "$as_me: *** These plugins will not be built: libvisual" >&6;}
30010 if test "xlibvisual" != "x"; then
30011 GST_PLUGINS_NO="\tlibvisual\n$GST_PLUGINS_NO"
30015 if test x$USE_LIBVISUAL = xyes; then
30016 USE_LIBVISUAL_TRUE=
30017 USE_LIBVISUAL_FALSE='#'
30019 USE_LIBVISUAL_TRUE='#'
30020 USE_LIBVISUAL_FALSE=
30026 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Xiph Ogg library ***" >&5
30027 $as_echo "$as_me: *** checking feature: Xiph Ogg library ***" >&6;}
30028 if test "xogg" != "x"
30030 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ogg ***" >&5
30031 $as_echo "$as_me: *** for plug-ins: ogg ***" >&6;}
30034 if test "x$USE_OGG" = "xno"; then
30037 # Check whether --enable-ogg was given.
30038 if test "${enable_ogg+set}" = set; then :
30039 enableval=$enable_ogg; case "${enableval}" in
30042 *) as_fn_error $? "bad value ${enableval} for --enable-ogg" "$LINENO" 5 ;;
30048 if test "x$NOUSE" = "xyes"; then
30050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ogg pre-configured not to be built" >&5
30051 $as_echo "$as_me: WARNING: *** ogg pre-configured not to be built" >&2;}
30056 if test x$USE_OGG = xyes; then
30058 gst_check_save_LIBS=$LIBS
30059 gst_check_save_LDFLAGS=$LDFLAGS
30060 gst_check_save_CFLAGS=$CFLAGS
30061 gst_check_save_CPPFLAGS=$CPPFLAGS
30062 gst_check_save_CXXFLAGS=$CXXFLAGS
30072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OGG" >&5
30073 $as_echo_n "checking for OGG... " >&6; }
30075 if test -n "$PKG_CONFIG"; then
30076 if test -n "$OGG_CFLAGS"; then
30077 pkg_cv_OGG_CFLAGS="$OGG_CFLAGS"
30079 if test -n "$PKG_CONFIG" && \
30080 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30081 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30084 test $ac_status = 0; }; then
30085 pkg_cv_OGG_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
30093 if test -n "$PKG_CONFIG"; then
30094 if test -n "$OGG_LIBS"; then
30095 pkg_cv_OGG_LIBS="$OGG_LIBS"
30097 if test -n "$PKG_CONFIG" && \
30098 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30099 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30102 test $ac_status = 0; }; then
30103 pkg_cv_OGG_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
30114 if test $pkg_failed = yes; then
30116 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30117 _pkg_short_errors_supported=yes
30119 _pkg_short_errors_supported=no
30121 if test $_pkg_short_errors_supported = yes; then
30122 OGG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
30124 OGG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
30126 # Put the nasty error message in config.log where it belongs
30127 echo "$OGG_PKG_ERRORS" >&5
30129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30130 $as_echo "no" >&6; }
30133 if test "x$required" = "xyes"; then
30134 as_fn_error $? "$OGG_PKG_ERRORS" "$LINENO" 5
30136 { $as_echo "$as_me:${as_lineno-$LINENO}: $OGG_PKG_ERRORS" >&5
30137 $as_echo "$as_me: $OGG_PKG_ERRORS" >&6;}
30140 elif test $pkg_failed = untried; then
30143 if test "x$required" = "xyes"; then
30144 as_fn_error $? "$OGG_PKG_ERRORS" "$LINENO" 5
30146 { $as_echo "$as_me:${as_lineno-$LINENO}: $OGG_PKG_ERRORS" >&5
30147 $as_echo "$as_me: $OGG_PKG_ERRORS" >&6;}
30151 OGG_CFLAGS=$pkg_cv_OGG_CFLAGS
30152 OGG_LIBS=$pkg_cv_OGG_LIBS
30153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30154 $as_echo "yes" >&6; }
30161 if test $HAVE_OGG = no
30164 # Check whether --with-ogg was given.
30165 if test "${with_ogg+set}" = set; then :
30166 withval=$with_ogg; ogg_prefix="$withval"
30172 # Check whether --with-ogg-libraries was given.
30173 if test "${with_ogg_libraries+set}" = set; then :
30174 withval=$with_ogg_libraries; ogg_libraries="$withval"
30180 # Check whether --with-ogg-includes was given.
30181 if test "${with_ogg_includes+set}" = set; then :
30182 withval=$with_ogg_includes; ogg_includes="$withval"
30187 # Check whether --enable-oggtest was given.
30188 if test "${enable_oggtest+set}" = set; then :
30189 enableval=$enable_oggtest;
30195 if test "x$ogg_libraries" != "x" ; then
30196 OGG_LIBS="-L$ogg_libraries"
30197 elif test "x$ogg_prefix" != "x" ; then
30198 OGG_LIBS="-L$ogg_prefix/lib"
30199 elif test "x$prefix" != "xNONE" ; then
30200 OGG_LIBS="-L$prefix/lib"
30203 OGG_LIBS="$OGG_LIBS -logg"
30205 if test "x$ogg_includes" != "x" ; then
30206 OGG_CFLAGS="-I$ogg_includes"
30207 elif test "x$ogg_prefix" != "x" ; then
30208 OGG_CFLAGS="-I$ogg_prefix/include"
30209 elif test "x$prefix" != "xNONE"; then
30210 OGG_CFLAGS="-I$prefix/include"
30213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ogg" >&5
30214 $as_echo_n "checking for Ogg... " >&6; }
30218 if test "x$enable_oggtest" = "xyes" ; then
30219 ac_save_CFLAGS="$CFLAGS"
30220 ac_save_LIBS="$LIBS"
30221 CFLAGS="$CFLAGS $OGG_CFLAGS"
30222 LIBS="$LIBS $OGG_LIBS"
30224 if test "$cross_compiling" = yes; then :
30225 echo $ac_n "cross compiling; assumed OK... $ac_c"
30227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30228 /* end confdefs.h. */
30231 #include <stdlib.h>
30232 #include <string.h>
30233 #include <ogg/ogg.h>
30237 system("touch conf.oggtest");
30243 if ac_fn_c_try_run "$LINENO"; then :
30248 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30249 conftest.$ac_objext conftest.beam conftest.$ac_ext
30252 CFLAGS="$ac_save_CFLAGS"
30253 LIBS="$ac_save_LIBS"
30256 if test "x$no_ogg" = "x" ; then
30257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30258 $as_echo "yes" >&6; }
30261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30262 $as_echo "no" >&6; }
30263 if test -f conf.oggtest ; then
30266 echo "*** Could not run Ogg test program, checking why..."
30267 CFLAGS="$CFLAGS $OGG_CFLAGS"
30268 LIBS="$LIBS $OGG_LIBS"
30269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30270 /* end confdefs.h. */
30273 #include <ogg/ogg.h>
30283 if ac_fn_c_try_link "$LINENO"; then :
30284 echo "*** The test program compiled, but did not run. This usually means"
30285 echo "*** that the run-time linker is not finding Ogg or finding the wrong"
30286 echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your"
30287 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30288 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30289 echo "*** is required on your system"
30291 echo "*** If you have an old version installed, it is best to remove it, although"
30292 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30294 echo "*** The test program failed to compile or link. See the file config.log for the"
30295 echo "*** exact error that occured. This usually means Ogg was incorrectly installed"
30296 echo "*** or that you have moved Ogg since it was installed."
30298 rm -f core conftest.err conftest.$ac_objext \
30299 conftest$ac_exeext conftest.$ac_ext
30300 CFLAGS="$ac_save_CFLAGS"
30301 LIBS="$ac_save_LIBS"
30312 GIVEN_CFLAGS=$OGG_CFLAGS
30313 INCLUDE_DIRS=`echo | cpp -v 2>&1`
30315 INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
30316 for dir in $INCLUDE_DIRS; do
30317 GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
30319 OGG_CFLAGS=$GIVEN_CFLAGS
30324 LIBS=$gst_check_save_LIBS
30325 LDFLAGS=$gst_check_save_LDFLAGS
30326 CFLAGS=$gst_check_save_CFLAGS
30327 CPPFLAGS=$gst_check_save_CPPFLAGS
30328 CXXFLAGS=$gst_check_save_CXXFLAGS
30330 if test x$HAVE_OGG = xno; then
30333 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ogg" >&5
30334 $as_echo "$as_me: *** These plugins will be built: ogg" >&6;}
30337 if test x$USE_OGG = xyes; then
30339 if test "xogg" != "x"; then
30340 GST_PLUGINS_YES="\togg\n$GST_PLUGINS_YES"
30343 $as_echo "#define HAVE_OGG /**/" >>confdefs.h
30346 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ogg" >&5
30347 $as_echo "$as_me: *** These plugins will not be built: ogg" >&6;}
30348 if test "xogg" != "x"; then
30349 GST_PLUGINS_NO="\togg\n$GST_PLUGINS_NO"
30353 if test x$USE_OGG = xyes; then
30364 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Pango font rendering ***" >&5
30365 $as_echo "$as_me: *** checking feature: Pango font rendering ***" >&6;}
30366 if test "xpango" != "x"
30368 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: pango ***" >&5
30369 $as_echo "$as_me: *** for plug-ins: pango ***" >&6;}
30372 if test "x$USE_PANGO" = "xno"; then
30375 # Check whether --enable-pango was given.
30376 if test "${enable_pango+set}" = set; then :
30377 enableval=$enable_pango; case "${enableval}" in
30378 yes) USE_PANGO=yes;;
30380 *) as_fn_error $? "bad value ${enableval} for --enable-pango" "$LINENO" 5 ;;
30386 if test "x$NOUSE" = "xyes"; then
30388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pango pre-configured not to be built" >&5
30389 $as_echo "$as_me: WARNING: *** pango pre-configured not to be built" >&2;}
30394 if test x$USE_PANGO = xyes; then
30396 gst_check_save_LIBS=$LIBS
30397 gst_check_save_LDFLAGS=$LDFLAGS
30398 gst_check_save_CFLAGS=$CFLAGS
30399 gst_check_save_CPPFLAGS=$CPPFLAGS
30400 gst_check_save_CXXFLAGS=$CXXFLAGS
30405 which="pango >= 1.16.0 pangocairo >= 1.16.0"
30410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGO" >&5
30411 $as_echo_n "checking for PANGO... " >&6; }
30413 if test -n "$PKG_CONFIG"; then
30414 if test -n "$PANGO_CFLAGS"; then
30415 pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
30417 if test -n "$PKG_CONFIG" && \
30418 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30419 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30422 test $ac_status = 0; }; then
30423 pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
30431 if test -n "$PKG_CONFIG"; then
30432 if test -n "$PANGO_LIBS"; then
30433 pkg_cv_PANGO_LIBS="$PANGO_LIBS"
30435 if test -n "$PKG_CONFIG" && \
30436 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30437 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30440 test $ac_status = 0; }; then
30441 pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
30452 if test $pkg_failed = yes; then
30454 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30455 _pkg_short_errors_supported=yes
30457 _pkg_short_errors_supported=no
30459 if test $_pkg_short_errors_supported = yes; then
30460 PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
30462 PANGO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
30464 # Put the nasty error message in config.log where it belongs
30465 echo "$PANGO_PKG_ERRORS" >&5
30467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30468 $as_echo "no" >&6; }
30471 if test "x$required" = "xyes"; then
30472 as_fn_error $? "$PANGO_PKG_ERRORS" "$LINENO" 5
30474 { $as_echo "$as_me:${as_lineno-$LINENO}: $PANGO_PKG_ERRORS" >&5
30475 $as_echo "$as_me: $PANGO_PKG_ERRORS" >&6;}
30478 elif test $pkg_failed = untried; then
30481 if test "x$required" = "xyes"; then
30482 as_fn_error $? "$PANGO_PKG_ERRORS" "$LINENO" 5
30484 { $as_echo "$as_me:${as_lineno-$LINENO}: $PANGO_PKG_ERRORS" >&5
30485 $as_echo "$as_me: $PANGO_PKG_ERRORS" >&6;}
30489 PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
30490 PANGO_LIBS=$pkg_cv_PANGO_LIBS
30491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30492 $as_echo "yes" >&6; }
30501 LIBS=$gst_check_save_LIBS
30502 LDFLAGS=$gst_check_save_LDFLAGS
30503 CFLAGS=$gst_check_save_CFLAGS
30504 CPPFLAGS=$gst_check_save_CPPFLAGS
30505 CXXFLAGS=$gst_check_save_CXXFLAGS
30507 if test x$HAVE_PANGO = xno; then
30510 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: pango" >&5
30511 $as_echo "$as_me: *** These plugins will be built: pango" >&6;}
30514 if test x$USE_PANGO = xyes; then
30516 if test "xpango" != "x"; then
30517 GST_PLUGINS_YES="\tpango\n$GST_PLUGINS_YES"
30520 $as_echo "#define HAVE_PANGO /**/" >>confdefs.h
30523 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: pango" >&5
30524 $as_echo "$as_me: *** These plugins will not be built: pango" >&6;}
30525 if test "xpango" != "x"; then
30526 GST_PLUGINS_NO="\tpango\n$GST_PLUGINS_NO"
30530 if test x$USE_PANGO = xyes; then
30532 USE_PANGO_FALSE='#'
30541 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Xiph Theora video codec ***" >&5
30542 $as_echo "$as_me: *** checking feature: Xiph Theora video codec ***" >&6;}
30543 if test "xtheora" != "x"
30545 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: theora ***" >&5
30546 $as_echo "$as_me: *** for plug-ins: theora ***" >&6;}
30549 if test "x$USE_THEORA" = "xno"; then
30552 # Check whether --enable-theora was given.
30553 if test "${enable_theora+set}" = set; then :
30554 enableval=$enable_theora; case "${enableval}" in
30555 yes) USE_THEORA=yes;;
30556 no) USE_THEORA=no;;
30557 *) as_fn_error $? "bad value ${enableval} for --enable-theora" "$LINENO" 5 ;;
30563 if test "x$NOUSE" = "xyes"; then
30565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** theora pre-configured not to be built" >&5
30566 $as_echo "$as_me: WARNING: *** theora pre-configured not to be built" >&2;}
30571 if test x$USE_THEORA = xyes; then
30573 gst_check_save_LIBS=$LIBS
30574 gst_check_save_LDFLAGS=$LDFLAGS
30575 gst_check_save_CFLAGS=$CFLAGS
30576 gst_check_save_CPPFLAGS=$CPPFLAGS
30577 gst_check_save_CXXFLAGS=$CXXFLAGS
30582 which="theoradec >= 1.1 theoraenc >= 1.1"
30587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for THEORA" >&5
30588 $as_echo_n "checking for THEORA... " >&6; }
30590 if test -n "$PKG_CONFIG"; then
30591 if test -n "$THEORA_CFLAGS"; then
30592 pkg_cv_THEORA_CFLAGS="$THEORA_CFLAGS"
30594 if test -n "$PKG_CONFIG" && \
30595 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30596 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30599 test $ac_status = 0; }; then
30600 pkg_cv_THEORA_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
30608 if test -n "$PKG_CONFIG"; then
30609 if test -n "$THEORA_LIBS"; then
30610 pkg_cv_THEORA_LIBS="$THEORA_LIBS"
30612 if test -n "$PKG_CONFIG" && \
30613 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30614 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30617 test $ac_status = 0; }; then
30618 pkg_cv_THEORA_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
30629 if test $pkg_failed = yes; then
30631 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30632 _pkg_short_errors_supported=yes
30634 _pkg_short_errors_supported=no
30636 if test $_pkg_short_errors_supported = yes; then
30637 THEORA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
30639 THEORA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
30641 # Put the nasty error message in config.log where it belongs
30642 echo "$THEORA_PKG_ERRORS" >&5
30644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30645 $as_echo "no" >&6; }
30648 if test "x$required" = "xyes"; then
30649 as_fn_error $? "$THEORA_PKG_ERRORS" "$LINENO" 5
30651 { $as_echo "$as_me:${as_lineno-$LINENO}: $THEORA_PKG_ERRORS" >&5
30652 $as_echo "$as_me: $THEORA_PKG_ERRORS" >&6;}
30655 elif test $pkg_failed = untried; then
30658 if test "x$required" = "xyes"; then
30659 as_fn_error $? "$THEORA_PKG_ERRORS" "$LINENO" 5
30661 { $as_echo "$as_me:${as_lineno-$LINENO}: $THEORA_PKG_ERRORS" >&5
30662 $as_echo "$as_me: $THEORA_PKG_ERRORS" >&6;}
30666 THEORA_CFLAGS=$pkg_cv_THEORA_CFLAGS
30667 THEORA_LIBS=$pkg_cv_THEORA_LIBS
30668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30669 $as_echo "yes" >&6; }
30678 LIBS=$gst_check_save_LIBS
30679 LDFLAGS=$gst_check_save_LDFLAGS
30680 CFLAGS=$gst_check_save_CFLAGS
30681 CPPFLAGS=$gst_check_save_CPPFLAGS
30682 CXXFLAGS=$gst_check_save_CXXFLAGS
30684 if test x$HAVE_THEORA = xno; then
30687 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: theora" >&5
30688 $as_echo "$as_me: *** These plugins will be built: theora" >&6;}
30691 if test x$USE_THEORA = xyes; then
30693 if test "xtheora" != "x"; then
30694 GST_PLUGINS_YES="\ttheora\n$GST_PLUGINS_YES"
30697 $as_echo "#define HAVE_THEORA /**/" >>confdefs.h
30700 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: theora" >&5
30701 $as_echo "$as_me: *** These plugins will not be built: theora" >&6;}
30702 if test "xtheora" != "x"; then
30703 GST_PLUGINS_NO="\ttheora\n$GST_PLUGINS_NO"
30707 if test x$USE_THEORA = xyes; then
30709 USE_THEORA_FALSE='#'
30711 USE_THEORA_TRUE='#'
30718 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Xiph Vorbis audio codec ***" >&5
30719 $as_echo "$as_me: *** checking feature: Xiph Vorbis audio codec ***" >&6;}
30720 if test "xvorbis" != "x"
30722 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: vorbis ***" >&5
30723 $as_echo "$as_me: *** for plug-ins: vorbis ***" >&6;}
30726 if test "x$USE_VORBIS" = "xno"; then
30729 # Check whether --enable-vorbis was given.
30730 if test "${enable_vorbis+set}" = set; then :
30731 enableval=$enable_vorbis; case "${enableval}" in
30732 yes) USE_VORBIS=yes;;
30733 no) USE_VORBIS=no;;
30734 *) as_fn_error $? "bad value ${enableval} for --enable-vorbis" "$LINENO" 5 ;;
30740 if test "x$NOUSE" = "xyes"; then
30742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** vorbis pre-configured not to be built" >&5
30743 $as_echo "$as_me: WARNING: *** vorbis pre-configured not to be built" >&2;}
30748 if test x$USE_VORBIS = xyes; then
30750 gst_check_save_LIBS=$LIBS
30751 gst_check_save_LDFLAGS=$LDFLAGS
30752 gst_check_save_CFLAGS=$CFLAGS
30753 gst_check_save_CPPFLAGS=$CPPFLAGS
30754 gst_check_save_CXXFLAGS=$CXXFLAGS
30759 which="vorbis >= 1.0 vorbisenc >= 1.0"
30764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VORBIS" >&5
30765 $as_echo_n "checking for VORBIS... " >&6; }
30767 if test -n "$PKG_CONFIG"; then
30768 if test -n "$VORBIS_CFLAGS"; then
30769 pkg_cv_VORBIS_CFLAGS="$VORBIS_CFLAGS"
30771 if test -n "$PKG_CONFIG" && \
30772 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30773 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30776 test $ac_status = 0; }; then
30777 pkg_cv_VORBIS_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
30785 if test -n "$PKG_CONFIG"; then
30786 if test -n "$VORBIS_LIBS"; then
30787 pkg_cv_VORBIS_LIBS="$VORBIS_LIBS"
30789 if test -n "$PKG_CONFIG" && \
30790 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30791 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30794 test $ac_status = 0; }; then
30795 pkg_cv_VORBIS_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
30806 if test $pkg_failed = yes; then
30808 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30809 _pkg_short_errors_supported=yes
30811 _pkg_short_errors_supported=no
30813 if test $_pkg_short_errors_supported = yes; then
30814 VORBIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
30816 VORBIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
30818 # Put the nasty error message in config.log where it belongs
30819 echo "$VORBIS_PKG_ERRORS" >&5
30821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30822 $as_echo "no" >&6; }
30825 if test "x$required" = "xyes"; then
30826 as_fn_error $? "$VORBIS_PKG_ERRORS" "$LINENO" 5
30828 { $as_echo "$as_me:${as_lineno-$LINENO}: $VORBIS_PKG_ERRORS" >&5
30829 $as_echo "$as_me: $VORBIS_PKG_ERRORS" >&6;}
30832 elif test $pkg_failed = untried; then
30835 if test "x$required" = "xyes"; then
30836 as_fn_error $? "$VORBIS_PKG_ERRORS" "$LINENO" 5
30838 { $as_echo "$as_me:${as_lineno-$LINENO}: $VORBIS_PKG_ERRORS" >&5
30839 $as_echo "$as_me: $VORBIS_PKG_ERRORS" >&6;}
30843 VORBIS_CFLAGS=$pkg_cv_VORBIS_CFLAGS
30844 VORBIS_LIBS=$pkg_cv_VORBIS_LIBS
30845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30846 $as_echo "yes" >&6; }
30853 if test $HAVE_VORBIS = no
30856 # Check whether --with-vorbis was given.
30857 if test "${with_vorbis+set}" = set; then :
30858 withval=$with_vorbis; vorbis_prefix="$withval"
30864 # Check whether --with-vorbis-libraries was given.
30865 if test "${with_vorbis_libraries+set}" = set; then :
30866 withval=$with_vorbis_libraries; vorbis_libraries="$withval"
30868 vorbis_libraries=""
30872 # Check whether --with-vorbis-includes was given.
30873 if test "${with_vorbis_includes+set}" = set; then :
30874 withval=$with_vorbis_includes; vorbis_includes="$withval"
30879 # Check whether --enable-vorbistest was given.
30880 if test "${enable_vorbistest+set}" = set; then :
30881 enableval=$enable_vorbistest;
30883 enable_vorbistest=yes
30887 if test "x$vorbis_libraries" != "x" ; then
30888 VORBIS_LIBS="-L$vorbis_libraries"
30889 elif test "x$vorbis_prefix" != "x" ; then
30890 VORBIS_LIBS="-L$vorbis_prefix/lib"
30891 elif test "x$prefix" != "xNONE"; then
30892 VORBIS_LIBS="-L$prefix/lib"
30895 VORBIS_LIBS="$VORBIS_LIBS -lvorbis -lm"
30896 VORBISFILE_LIBS="-lvorbisfile"
30897 VORBISENC_LIBS="-lvorbisenc"
30899 if test "x$vorbis_includes" != "x" ; then
30900 VORBIS_CFLAGS="-I$vorbis_includes"
30901 elif test "x$vorbis_prefix" != "x" ; then
30902 VORBIS_CFLAGS="-I$vorbis_prefix/include"
30903 elif test "x$prefix" != "xNONE"; then
30904 VORBIS_CFLAGS="-I$prefix/include"
30908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Vorbis" >&5
30909 $as_echo_n "checking for Vorbis... " >&6; }
30913 if test "x$enable_vorbistest" = "xyes" ; then
30914 ac_save_CFLAGS="$CFLAGS"
30915 ac_save_LIBS="$LIBS"
30916 CFLAGS="$CFLAGS $VORBIS_CFLAGS $OGG_CFLAGS"
30917 LIBS="$LIBS $VORBIS_LIBS $VORBISENC_LIBS $OGG_LIBS"
30918 rm -f conf.vorbistest
30919 if test "$cross_compiling" = yes; then :
30920 echo $ac_n "cross compiling; assumed OK... $ac_c"
30922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30923 /* end confdefs.h. */
30926 #include <stdlib.h>
30927 #include <string.h>
30928 #include <vorbis/codec.h>
30929 #include <vorbis/vorbisenc.h>
30934 vorbis_dsp_state vd;
30937 vorbis_info_init (&vi);
30938 vorbis_encode_init (&vi, 2, 44100, -1, 128000, -1);
30939 vorbis_analysis_init (&vd, &vi);
30940 vorbis_block_init (&vd, &vb);
30941 /* this function was added in 1.0rc3, so this is what we're testing for */
30942 vorbis_bitrate_addblock (&vb);
30944 /* this define was added in 1.0 final */
30945 #ifdef OV_ECTL_RATEMANAGE_SET
30946 system("touch conf.vorbistest");
30955 if ac_fn_c_try_run "$LINENO"; then :
30960 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30961 conftest.$ac_objext conftest.beam conftest.$ac_ext
30964 CFLAGS="$ac_save_CFLAGS"
30965 LIBS="$ac_save_LIBS"
30968 if test "x$no_vorbis" = "x" ; then
30969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30970 $as_echo "yes" >&6; }
30973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30974 $as_echo "no" >&6; }
30975 if test -f conf.vorbistest ; then
30978 echo "*** Could not run Vorbis test program, checking why..."
30979 CFLAGS="$CFLAGS $VORBIS_CFLAGS"
30980 LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS"
30981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30982 /* end confdefs.h. */
30985 #include <vorbis/codec.h>
30995 if ac_fn_c_try_link "$LINENO"; then :
30996 echo "*** The test program compiled, but did not run. This usually means"
30997 echo "*** that the run-time linker is not finding Vorbis or finding the wrong"
30998 echo "*** version of Vorbis. If it is not finding Vorbis, you'll need to set your"
30999 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31000 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31001 echo "*** is required on your system"
31003 echo "*** If you have an old version installed, it is best to remove it, although"
31004 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31006 echo "*** The test program failed to compile or link. See the file config.log for the"
31007 echo "*** exact error that occured. This usually means Vorbis was incorrectly installed"
31008 echo "*** or that you have moved Vorbis since it was installed."
31010 rm -f core conftest.err conftest.$ac_objext \
31011 conftest$ac_exeext conftest.$ac_ext
31012 CFLAGS="$ac_save_CFLAGS"
31013 LIBS="$ac_save_LIBS"
31025 rm -f conf.vorbistest
31028 GIVEN_CFLAGS=$VORBIS_CFLAGS
31029 INCLUDE_DIRS=`echo | cpp -v 2>&1`
31031 INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
31032 for dir in $INCLUDE_DIRS; do
31033 GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
31035 VORBIS_CFLAGS=$GIVEN_CFLAGS
31040 LIBS=$gst_check_save_LIBS
31041 LDFLAGS=$gst_check_save_LDFLAGS
31042 CFLAGS=$gst_check_save_CFLAGS
31043 CPPFLAGS=$gst_check_save_CPPFLAGS
31044 CXXFLAGS=$gst_check_save_CXXFLAGS
31046 if test x$HAVE_VORBIS = xno; then
31049 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: vorbis" >&5
31050 $as_echo "$as_me: *** These plugins will be built: vorbis" >&6;}
31053 if test x$USE_VORBIS = xyes; then
31055 if test "xvorbis" != "x"; then
31056 GST_PLUGINS_YES="\tvorbis\n$GST_PLUGINS_YES"
31059 $as_echo "#define HAVE_VORBIS /**/" >>confdefs.h
31062 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: vorbis" >&5
31063 $as_echo "$as_me: *** These plugins will not be built: vorbis" >&6;}
31064 if test "xvorbis" != "x"; then
31065 GST_PLUGINS_NO="\tvorbis\n$GST_PLUGINS_NO"
31069 if test x$USE_VORBIS = xyes; then
31071 USE_VORBIS_FALSE='#'
31073 USE_VORBIS_TRUE='#'
31079 if test "x$HAVE_VORBIS" = "xyes"; then
31080 ac_cflags_save="$CFLAGS"
31081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31082 /* end confdefs.h. */
31084 #include <vorbis/codec.h>
31090 vorbis_dsp_state *v;
31092 vorbis_synthesis_restart (v);
31098 if ac_fn_c_try_compile "$LINENO"; then :
31103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31104 if test "x$HAVE_VSR" = "xyes"; then
31106 cat >>confdefs.h <<_ACEOF
31107 #define HAVE_VORBIS_SYNTHESIS_RESTART 1
31111 CFLAGS="$ac_cflags_save"
31125 USE_CDPARANOIA_TRUE=
31126 USE_CDPARANOIA_FALSE='#'
31128 USE_CDPARANOIA_TRUE='#'
31129 USE_CDPARANOIA_FALSE=
31141 USE_GNOME_VFS_TRUE=
31142 USE_GNOME_VFS_FALSE='#'
31144 USE_GNOME_VFS_TRUE='#'
31145 USE_GNOME_VFS_FALSE=
31150 USE_IVORBIS_FALSE='#'
31152 USE_IVORBIS_TRUE='#'
31157 USE_LIBVISUAL_TRUE=
31158 USE_LIBVISUAL_FALSE='#'
31160 USE_LIBVISUAL_TRUE='#'
31161 USE_LIBVISUAL_FALSE=
31174 USE_PANGO_FALSE='#'
31182 USE_THEORA_FALSE='#'
31184 USE_THEORA_TRUE='#'
31190 USE_VORBIS_FALSE='#'
31192 USE_VORBIS_TRUE='#'
31200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FT2" >&5
31201 $as_echo_n "checking for FT2... " >&6; }
31203 if test -n "$PKG_CONFIG"; then
31204 if test -n "$FT2_CFLAGS"; then
31205 pkg_cv_FT2_CFLAGS="$FT2_CFLAGS"
31207 if test -n "$PKG_CONFIG" && \
31208 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.0.9\""; } >&5
31209 ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.0.9") 2>&5
31211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31212 test $ac_status = 0; }; then
31213 pkg_cv_FT2_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 2.0.9" 2>/dev/null`
31221 if test -n "$PKG_CONFIG"; then
31222 if test -n "$FT2_LIBS"; then
31223 pkg_cv_FT2_LIBS="$FT2_LIBS"
31225 if test -n "$PKG_CONFIG" && \
31226 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.0.9\""; } >&5
31227 ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.0.9") 2>&5
31229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31230 test $ac_status = 0; }; then
31231 pkg_cv_FT2_LIBS=`$PKG_CONFIG --libs "freetype2 >= 2.0.9" 2>/dev/null`
31242 if test $pkg_failed = yes; then
31244 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31245 _pkg_short_errors_supported=yes
31247 _pkg_short_errors_supported=no
31249 if test $_pkg_short_errors_supported = yes; then
31250 FT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "freetype2 >= 2.0.9"`
31252 FT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2 >= 2.0.9"`
31254 # Put the nasty error message in config.log where it belongs
31255 echo "$FT2_PKG_ERRORS" >&5
31257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31258 $as_echo "no" >&6; }
31261 # Check whether --with-ft-prefix was given.
31262 if test "${with_ft_prefix+set}" = set; then :
31263 withval=$with_ft_prefix; ft_config_prefix="$withval"
31265 ft_config_prefix=""
31269 # Check whether --with-ft-exec-prefix was given.
31270 if test "${with_ft_exec_prefix+set}" = set; then :
31271 withval=$with_ft_exec_prefix; ft_config_exec_prefix="$withval"
31273 ft_config_exec_prefix=""
31276 # Check whether --enable-freetypetest was given.
31277 if test "${enable_freetypetest+set}" = set; then :
31278 enableval=$enable_freetypetest;
31284 if test x$ft_config_exec_prefix != x ; then
31285 ft_config_args="$ft_config_args --exec-prefix=$ft_config_exec_prefix"
31286 if test x${FT2_CONFIG+set} != xset ; then
31287 FT2_CONFIG=$ft_config_exec_prefix/bin/freetype-config
31290 if test x$ft_config_prefix != x ; then
31291 ft_config_args="$ft_config_args --prefix=$ft_config_prefix"
31292 if test x${FT2_CONFIG+set} != xset ; then
31293 FT2_CONFIG=$ft_config_prefix/bin/freetype-config
31296 # Extract the first word of "freetype-config", so it can be a program name with args.
31297 set dummy freetype-config; ac_word=$2
31298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31299 $as_echo_n "checking for $ac_word... " >&6; }
31300 if ${ac_cv_path_FT2_CONFIG+:} false; then :
31301 $as_echo_n "(cached) " >&6
31303 case $FT2_CONFIG in
31305 ac_cv_path_FT2_CONFIG="$FT2_CONFIG" # Let the user override the test with a path.
31308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31309 for as_dir in $PATH
31312 test -z "$as_dir" && as_dir=.
31313 for ac_exec_ext in '' $ac_executable_extensions; do
31314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31315 ac_cv_path_FT2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
31323 test -z "$ac_cv_path_FT2_CONFIG" && ac_cv_path_FT2_CONFIG="no"
31327 FT2_CONFIG=$ac_cv_path_FT2_CONFIG
31328 if test -n "$FT2_CONFIG"; then
31329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FT2_CONFIG" >&5
31330 $as_echo "$FT2_CONFIG" >&6; }
31332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31333 $as_echo "no" >&6; }
31338 min_ft_version=2.0.9
31339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FreeType - version >= $min_ft_version" >&5
31340 $as_echo_n "checking for FreeType - version >= $min_ft_version... " >&6; }
31342 if test "$FT2_CONFIG" = "no" ; then
31345 FT2_CFLAGS=`$FT2_CONFIG $ft_config_args --cflags`
31346 FT2_LIBS=`$FT2_CONFIG $ft_config_args --libs`
31347 ft_config_major_version=`$FT2_CONFIG $ft_config_args --version | \
31348 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31349 ft_config_minor_version=`$FT2_CONFIG $ft_config_args --version | \
31350 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31351 ft_config_micro_version=`$FT2_CONFIG $ft_config_args --version | \
31352 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31353 ft_min_major_version=`echo $min_ft_version | \
31354 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31355 ft_min_minor_version=`echo $min_ft_version | \
31356 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31357 ft_min_micro_version=`echo $min_ft_version | \
31358 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31359 if test x$enable_fttest = xyes ; then
31361 if test $ft_config_major_version -lt $ft_min_major_version ; then
31362 ft_config_is_lt=yes
31364 if test $ft_config_major_version -eq $ft_min_major_version ; then
31365 if test $ft_config_minor_version -lt $ft_min_minor_version ; then
31366 ft_config_is_lt=yes
31368 if test $ft_config_minor_version -eq $ft_min_minor_version ; then
31369 if test $ft_config_micro_version -lt $ft_min_micro_version ; then
31370 ft_config_is_lt=yes
31376 if test x$ft_config_is_lt = xyes ; then
31379 ac_save_CFLAGS="$CFLAGS"
31380 ac_save_LIBS="$LIBS"
31381 CFLAGS="$CFLAGS $FT2_CFLAGS"
31382 LIBS="$FT2_LIBS $LIBS"
31383 if test "$cross_compiling" = yes; then :
31384 echo $ac_n "cross compiling; assumed OK... $ac_c"
31386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31387 /* end confdefs.h. */
31389 #include <ft2build.h>
31390 #include FT_FREETYPE_H
31392 #include <stdlib.h>
31397 FT_Library library;
31400 error = FT_Init_FreeType(&library);
31406 FT_Done_FreeType(library);
31412 if ac_fn_c_try_run "$LINENO"; then :
31417 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31418 conftest.$ac_objext conftest.beam conftest.$ac_ext
31421 CFLAGS="$ac_save_CFLAGS"
31422 LIBS="$ac_save_LIBS"
31423 fi # test $ft_config_version -lt $ft_min_version
31424 fi # test x$enable_fttest = xyes
31425 fi # test "$FT2_CONFIG" = "no"
31426 if test x$no_ft = x ; then
31427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31428 $as_echo "yes" >&6; }
31431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31432 $as_echo "no" >&6; }
31433 if test "$FT2_CONFIG" = "no" ; then
31434 echo "*** The freetype-config script installed by FreeType 2 could not be found."
31435 echo "*** If FreeType 2 was installed in PREFIX, make sure PREFIX/bin is in"
31436 echo "*** your path, or set the FT2_CONFIG environment variable to the"
31437 echo "*** full path to freetype-config."
31439 if test x$ft_config_is_lt = xyes ; then
31440 echo "*** Your installed version of the FreeType 2 library is too old."
31441 echo "*** If you have different versions of FreeType 2, make sure that"
31442 echo "*** correct values for --with-ft-prefix or --with-ft-exec-prefix"
31443 echo "*** are used, or set the FT2_CONFIG environment variable to the"
31444 echo "*** full path to freetype-config."
31446 echo "*** The FreeType test program failed to run. If your system uses"
31447 echo "*** shared libraries and they are installed outside the normal"
31448 echo "*** system library path, make sure the variable LD_LIBRARY_PATH"
31449 echo "*** (or whatever is appropriate for your system) is correctly set."
31460 elif test $pkg_failed = untried; then
31463 # Check whether --with-ft-prefix was given.
31464 if test "${with_ft_prefix+set}" = set; then :
31465 withval=$with_ft_prefix; ft_config_prefix="$withval"
31467 ft_config_prefix=""
31471 # Check whether --with-ft-exec-prefix was given.
31472 if test "${with_ft_exec_prefix+set}" = set; then :
31473 withval=$with_ft_exec_prefix; ft_config_exec_prefix="$withval"
31475 ft_config_exec_prefix=""
31478 # Check whether --enable-freetypetest was given.
31479 if test "${enable_freetypetest+set}" = set; then :
31480 enableval=$enable_freetypetest;
31486 if test x$ft_config_exec_prefix != x ; then
31487 ft_config_args="$ft_config_args --exec-prefix=$ft_config_exec_prefix"
31488 if test x${FT2_CONFIG+set} != xset ; then
31489 FT2_CONFIG=$ft_config_exec_prefix/bin/freetype-config
31492 if test x$ft_config_prefix != x ; then
31493 ft_config_args="$ft_config_args --prefix=$ft_config_prefix"
31494 if test x${FT2_CONFIG+set} != xset ; then
31495 FT2_CONFIG=$ft_config_prefix/bin/freetype-config
31498 # Extract the first word of "freetype-config", so it can be a program name with args.
31499 set dummy freetype-config; ac_word=$2
31500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31501 $as_echo_n "checking for $ac_word... " >&6; }
31502 if ${ac_cv_path_FT2_CONFIG+:} false; then :
31503 $as_echo_n "(cached) " >&6
31505 case $FT2_CONFIG in
31507 ac_cv_path_FT2_CONFIG="$FT2_CONFIG" # Let the user override the test with a path.
31510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31511 for as_dir in $PATH
31514 test -z "$as_dir" && as_dir=.
31515 for ac_exec_ext in '' $ac_executable_extensions; do
31516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31517 ac_cv_path_FT2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
31525 test -z "$ac_cv_path_FT2_CONFIG" && ac_cv_path_FT2_CONFIG="no"
31529 FT2_CONFIG=$ac_cv_path_FT2_CONFIG
31530 if test -n "$FT2_CONFIG"; then
31531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FT2_CONFIG" >&5
31532 $as_echo "$FT2_CONFIG" >&6; }
31534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31535 $as_echo "no" >&6; }
31540 min_ft_version=2.0.9
31541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FreeType - version >= $min_ft_version" >&5
31542 $as_echo_n "checking for FreeType - version >= $min_ft_version... " >&6; }
31544 if test "$FT2_CONFIG" = "no" ; then
31547 FT2_CFLAGS=`$FT2_CONFIG $ft_config_args --cflags`
31548 FT2_LIBS=`$FT2_CONFIG $ft_config_args --libs`
31549 ft_config_major_version=`$FT2_CONFIG $ft_config_args --version | \
31550 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31551 ft_config_minor_version=`$FT2_CONFIG $ft_config_args --version | \
31552 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31553 ft_config_micro_version=`$FT2_CONFIG $ft_config_args --version | \
31554 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31555 ft_min_major_version=`echo $min_ft_version | \
31556 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31557 ft_min_minor_version=`echo $min_ft_version | \
31558 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31559 ft_min_micro_version=`echo $min_ft_version | \
31560 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31561 if test x$enable_fttest = xyes ; then
31563 if test $ft_config_major_version -lt $ft_min_major_version ; then
31564 ft_config_is_lt=yes
31566 if test $ft_config_major_version -eq $ft_min_major_version ; then
31567 if test $ft_config_minor_version -lt $ft_min_minor_version ; then
31568 ft_config_is_lt=yes
31570 if test $ft_config_minor_version -eq $ft_min_minor_version ; then
31571 if test $ft_config_micro_version -lt $ft_min_micro_version ; then
31572 ft_config_is_lt=yes
31578 if test x$ft_config_is_lt = xyes ; then
31581 ac_save_CFLAGS="$CFLAGS"
31582 ac_save_LIBS="$LIBS"
31583 CFLAGS="$CFLAGS $FT2_CFLAGS"
31584 LIBS="$FT2_LIBS $LIBS"
31585 if test "$cross_compiling" = yes; then :
31586 echo $ac_n "cross compiling; assumed OK... $ac_c"
31588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31589 /* end confdefs.h. */
31591 #include <ft2build.h>
31592 #include FT_FREETYPE_H
31594 #include <stdlib.h>
31599 FT_Library library;
31602 error = FT_Init_FreeType(&library);
31608 FT_Done_FreeType(library);
31614 if ac_fn_c_try_run "$LINENO"; then :
31619 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31620 conftest.$ac_objext conftest.beam conftest.$ac_ext
31623 CFLAGS="$ac_save_CFLAGS"
31624 LIBS="$ac_save_LIBS"
31625 fi # test $ft_config_version -lt $ft_min_version
31626 fi # test x$enable_fttest = xyes
31627 fi # test "$FT2_CONFIG" = "no"
31628 if test x$no_ft = x ; then
31629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31630 $as_echo "yes" >&6; }
31633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31634 $as_echo "no" >&6; }
31635 if test "$FT2_CONFIG" = "no" ; then
31636 echo "*** The freetype-config script installed by FreeType 2 could not be found."
31637 echo "*** If FreeType 2 was installed in PREFIX, make sure PREFIX/bin is in"
31638 echo "*** your path, or set the FT2_CONFIG environment variable to the"
31639 echo "*** full path to freetype-config."
31641 if test x$ft_config_is_lt = xyes ; then
31642 echo "*** Your installed version of the FreeType 2 library is too old."
31643 echo "*** If you have different versions of FreeType 2, make sure that"
31644 echo "*** correct values for --with-ft-prefix or --with-ft-exec-prefix"
31645 echo "*** are used, or set the FT2_CONFIG environment variable to the"
31646 echo "*** full path to freetype-config."
31648 echo "*** The FreeType test program failed to run. If your system uses"
31649 echo "*** shared libraries and they are installed outside the normal"
31650 echo "*** system library path, make sure the variable LD_LIBRARY_PATH"
31651 echo "*** (or whatever is appropriate for your system) is correctly set."
31663 FT2_CFLAGS=$pkg_cv_FT2_CFLAGS
31664 FT2_LIBS=$pkg_cv_FT2_LIBS
31665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31666 $as_echo "yes" >&6; }
31669 if test "x$HAVE_FT2" = "xyes"; then
31682 if test "x$USE_DEBUG" = xyes; then
31683 PROFILE_CFLAGS="-g"
31687 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
31688 DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
31690 DEPRECATED_CFLAGS=""
31694 GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
31695 GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
31701 GST_PLUGINS_BASE_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs"
31704 GST_CXXFLAGS="$GLIB_CFLAGS $GST_CFLAGS \$(GLIB_EXTRA_CFLAGS) \$(GST_OPTION_CXXFLAGS)"
31705 GST_CFLAGS="$GLIB_CFLAGS $GST_CFLAGS \$(GLIB_EXTRA_CFLAGS) \$(GST_OPTION_CFLAGS)"
31708 GST_LIBS="$GST_LIBS \$(GCOV_LIBS)"
31711 GST_ALL_LDFLAGS="-no-undefined"
31712 if test "x${enable_Bsymbolic}" = "xyes"; then
31713 GST_ALL_LDFLAGS="$GST_ALL_LDFLAGS -Wl,-Bsymbolic-functions"
31717 GST_LIB_LDFLAGS="-export-symbols-regex ^_?\(gst_\|Gst\|GST_\).*"
31720 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_desc.*' $GST_ALL_LDFLAGS"
31724 ac_config_files="$ac_config_files Makefile gst-plugins-base.spec gst/Makefile gst/adder/Makefile gst/app/Makefile gst/audioconvert/Makefile gst/audiorate/Makefile gst/audiotestsrc/Makefile gst/encoding/Makefile gst/ffmpegcolorspace/Makefile gst/gdp/Makefile gst/playback/Makefile gst/audioresample/Makefile gst/subparse/Makefile gst/tcp/Makefile gst/typefind/Makefile gst/videotestsrc/Makefile gst/videorate/Makefile gst/videoscale/Makefile gst/volume/Makefile sys/Makefile sys/ximage/Makefile sys/xvimage/Makefile sys/v4l/Makefile ext/Makefile ext/alsa/Makefile ext/cdparanoia/Makefile ext/gnomevfs/Makefile ext/gio/Makefile ext/libvisual/Makefile ext/ogg/Makefile ext/pango/Makefile ext/theora/Makefile ext/vorbis/Makefile gst-libs/Makefile gst-libs/gst/Makefile gst-libs/gst/audio/Makefile gst-libs/gst/app/Makefile gst-libs/gst/cdda/Makefile gst-libs/gst/fft/Makefile gst-libs/gst/floatcast/Makefile gst-libs/gst/interfaces/Makefile gst-libs/gst/netbuffer/Makefile gst-libs/gst/riff/Makefile gst-libs/gst/rtp/Makefile gst-libs/gst/rtsp/Makefile gst-libs/gst/sdp/Makefile gst-libs/gst/tag/Makefile gst-libs/gst/pbutils/Makefile gst-libs/gst/pbutils/gstpluginsbaseversion.h gst-libs/gst/video/Makefile tools/Makefile pkgconfig/Makefile pkgconfig/gstreamer-audio.pc pkgconfig/gstreamer-audio-uninstalled.pc pkgconfig/gstreamer-app.pc pkgconfig/gstreamer-app-uninstalled.pc pkgconfig/gstreamer-cdda.pc pkgconfig/gstreamer-cdda-uninstalled.pc pkgconfig/gstreamer-fft.pc pkgconfig/gstreamer-fft-uninstalled.pc pkgconfig/gstreamer-floatcast.pc pkgconfig/gstreamer-floatcast-uninstalled.pc pkgconfig/gstreamer-interfaces.pc pkgconfig/gstreamer-interfaces-uninstalled.pc pkgconfig/gstreamer-netbuffer.pc pkgconfig/gstreamer-netbuffer-uninstalled.pc pkgconfig/gstreamer-pbutils.pc pkgconfig/gstreamer-pbutils-uninstalled.pc pkgconfig/gstreamer-riff.pc pkgconfig/gstreamer-riff-uninstalled.pc pkgconfig/gstreamer-rtp.pc pkgconfig/gstreamer-rtp-uninstalled.pc pkgconfig/gstreamer-rtsp.pc pkgconfig/gstreamer-rtsp-uninstalled.pc pkgconfig/gstreamer-sdp.pc pkgconfig/gstreamer-sdp-uninstalled.pc pkgconfig/gstreamer-tag.pc pkgconfig/gstreamer-tag-uninstalled.pc pkgconfig/gstreamer-video.pc pkgconfig/gstreamer-video-uninstalled.pc pkgconfig/gstreamer-plugins-base.pc pkgconfig/gstreamer-plugins-base-uninstalled.pc tests/Makefile tests/check/Makefile tests/examples/Makefile tests/examples/app/Makefile tests/examples/audio/Makefile tests/examples/dynamic/Makefile tests/examples/encoding/Makefile tests/examples/fft/Makefile tests/examples/gio/Makefile tests/examples/overlay/Makefile tests/examples/seek/Makefile tests/examples/snapshot/Makefile tests/examples/playrec/Makefile tests/examples/v4l/Makefile tests/files/Makefile tests/icles/Makefile tests/icles/playback/Makefile docs/Makefile docs/design/Makefile docs/libs/Makefile docs/plugins/Makefile docs/version.entities po/Makefile.in common/Makefile common/m4/Makefile m4/Makefile"
31728 -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"/' \
31729 -e 's/.* GST_INSTALL_PLUGINS_HELPER/#define GST_INSTALL_PLUGINS_HELPER PREFIX "\\\\libexec\\\\gst-install-plugins-helper.exe"/' \
31730 -e 's/.* GETTEXT_PACKAGE$/#define GETTEXT_PACKAGE "'$GETTEXT_PACKAGE'"/' \
31731 -e 's/.* GST_DATADIR$/#define GST_DATADIR PREFIX "\\\\share"/' \
31732 -e 's/.* GST_LEVEL_DEFAULT$/#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR/' \
31733 -e 's/.* GST_LICENSE$/#define GST_LICENSE "'$GST_LICENSE'"/' \
31734 -e 's/.* GST_MAJORMINOR$/#define GST_MAJORMINOR "'$GST_MAJORMINOR'"/' \
31735 -e "s,.* GST_PACKAGE_NAME$,#define GST_PACKAGE_NAME \"${GST_PACKAGE_NAME}\"," \
31736 -e 's/.* GST_PACKAGE_ORIGIN$/#define GST_PACKAGE_ORIGIN "Unknown package origin"/' \
31737 -e "s,.* GST_PACKAGE_RELEASE_DATETIME$,#define GST_PACKAGE_RELEASE_DATETIME \"${GST_PACKAGE_RELEASE_DATETIME}\"," \
31738 -e 's/.* HAVE_CPU_I386$/#define HAVE_CPU_I386 1/' \
31739 -e 's/.* HAVE_FGETPOS$/#define HAVE_FGETPOS 1/' \
31740 -e 's/.* HAVE_FSETPOS$/#define HAVE_FSETPOS 1/' \
31741 -e 's/.* HAVE_ISO_CODES$/#undef HAVE_ISO_CODES/' \
31742 -e 's/.* HAVE_LIBXML2$/#define HAVE_LIBXML2 1/' \
31743 -e 's/.* HAVE_PROCESS_H$/#define HAVE_PROCESS_H 1/' \
31744 -e 's/.* HAVE_STDLIB_H$/#define HAVE_STDLIB_H 1/' \
31745 -e 's/.* HAVE_STRING_H$/#define HAVE_STRING_H 1/' \
31746 -e 's/.* HAVE_SYS_STAT_H$/#define HAVE_SYS_STAT_H 1/' \
31747 -e 's/.* HAVE_SYS_TYPES_H$/#define HAVE_SYS_TYPES_H 1/' \
31748 -e 's/.* HAVE_WIN32$/#define HAVE_WIN32 1/' \
31749 -e 's/.* HAVE_WINSOCK2_H$/#define HAVE_WINSOCK2_H 1/' \
31750 -e 's/.* HOST_CPU$/#define HOST_CPU "i686"/' \
31751 -e 's/.* ISO_CODES_PREFIX$/#undef ISO_CODES_PREFIX/' \
31752 -e 's/.* ISO_CODES_VERSION$/#undef ISO_CODES_VERSION/' \
31753 -e 's/.* LIBDIR$/#ifdef _DEBUG\n# define LIBDIR PREFIX "\\\\debug\\\\lib"\n#else\n# define LIBDIR PREFIX "\\\\lib"\n#endif/' \
31754 -e 's/.* LOCALEDIR$/#define LOCALEDIR PREFIX "\\\\share\\\\locale"/' \
31755 -e "s/.* PACKAGE$/#define PACKAGE \"$PACKAGE\"/" \
31756 -e 's/.* PACKAGE_BUGREPORT$/#define PACKAGE_BUGREPORT "http:\/\/bugzilla.gnome.org\/enter_bug.cgi?product=GStreamer"/' \
31757 -e "s/.* PACKAGE_NAME$/#define PACKAGE_NAME \"$PACKAGE_NAME\"/" \
31758 -e "s/.* PACKAGE_STRING$/#define PACKAGE_STRING \"$PACKAGE_STRING\"/" \
31759 -e 's/.* PACKAGE_TARNAME$/#define PACKAGE_TARNAME "'$PACKAGE_TARNAME'"/' \
31760 -e 's/.* PACKAGE_VERSION$/#define PACKAGE_VERSION "'$PACKAGE_VERSION'"/' \
31761 -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/' \
31762 -e 's/.* USE_BINARY_REGISTRY$/#define USE_BINARY_REGISTRY/' \
31763 -e 's/.* VERSION$/#define VERSION "'$VERSION'"/' \
31764 -e "s/.* DEFAULT_AUDIOSINK$/#define DEFAULT_AUDIOSINK \"directsoundsink\"/" \
31765 -e "s/.* DEFAULT_VIDEOSINK$/#define DEFAULT_VIDEOSINK \"directdrawsink\"/" \
31766 -e "s/.* DEFAULT_VISUALIZER$/#define DEFAULT_VISUALIZER \"goom\"/" \
31767 config.h.in >win32/common/config.h-new
31771 cat >confcache <<\_ACEOF
31772 # This file is a shell script that caches the results of configure
31773 # tests run on this system so they can be shared between configure
31774 # scripts and configure runs, see configure's option --config-cache.
31775 # It is not useful on other systems. If it contains results you don't
31776 # want to keep, you may remove or edit it.
31778 # config.status only pays attention to the cache file if you give it
31779 # the --recheck option to rerun configure.
31781 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31782 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31783 # following values.
31787 # The following way of writing the cache mishandles newlines in values,
31788 # but we know of no workaround that is simple, portable, and efficient.
31789 # So, we kill variables containing newlines.
31790 # Ultrix sh set writes to stderr and can't be redirected directly,
31791 # and sets the high bit in the cache file unless we assign to the vars.
31793 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31794 eval ac_val=\$$ac_var
31798 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31799 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31802 _ | IFS | as_nl) ;; #(
31803 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31804 *) { eval $ac_var=; unset $ac_var;} ;;
31810 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31811 *${as_nl}ac_space=\ *)
31812 # `set' does not quote correctly, so add quotes: double-quote
31813 # substitution turns \\\\ into \\, and sed turns \\ into \.
31816 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31819 # `set' quotes correctly as required by POSIX, so do not add quotes.
31820 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31829 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31831 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31833 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31834 if test -w "$cache_file"; then
31835 if test "x$cache_file" != "x/dev/null"; then
31836 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31837 $as_echo "$as_me: updating cache $cache_file" >&6;}
31838 if test ! -f "$cache_file" || test -h "$cache_file"; then
31839 cat confcache >"$cache_file"
31841 case $cache_file in #(
31843 mv -f confcache "$cache_file"$$ &&
31844 mv -f "$cache_file"$$ "$cache_file" ;; #(
31846 mv -f confcache "$cache_file" ;;
31851 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31852 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31857 test "x$prefix" = xNONE && prefix=$ac_default_prefix
31858 # Let make expand exec_prefix.
31859 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
31861 DEFS=-DHAVE_CONFIG_H
31866 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
31867 # 1. Remove the extension, and $U if already installed.
31868 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
31869 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
31870 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31871 # will be set to the directory where LIBOBJS objects are built.
31872 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31873 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
31875 LIBOBJS=$ac_libobjs
31877 LTLIBOBJS=$ac_ltlibobjs
31880 if test -n "$EXEEXT"; then
31882 am__EXEEXT_FALSE='#'
31884 am__EXEEXT_TRUE='#'
31888 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31889 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
31890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31892 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31893 as_fn_error $? "conditional \"AMDEP\" was never defined.
31894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31896 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31897 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31900 if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
31901 as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
31902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31904 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
31905 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
31906 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31908 if test -z "${USE_EXTERNAL_TRUE}" && test -z "${USE_EXTERNAL_FALSE}"; then
31909 as_fn_error $? "conditional \"USE_EXTERNAL\" was never defined.
31910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31912 if test -z "${BUILD_EXTERNAL_TRUE}" && test -z "${BUILD_EXTERNAL_FALSE}"; then
31913 as_fn_error $? "conditional \"BUILD_EXTERNAL\" was never defined.
31914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31916 if test -z "${USE_EXPERIMENTAL_TRUE}" && test -z "${USE_EXPERIMENTAL_FALSE}"; then
31917 as_fn_error $? "conditional \"USE_EXPERIMENTAL\" was never defined.
31918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31920 if test -z "${BUILD_EXPERIMENTAL_TRUE}" && test -z "${BUILD_EXPERIMENTAL_FALSE}"; then
31921 as_fn_error $? "conditional \"BUILD_EXPERIMENTAL\" was never defined.
31922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31925 if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then
31926 as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined.
31927 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31929 if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then
31930 as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined.
31931 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31933 if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then
31934 as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined.
31935 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31937 if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then
31938 as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined.
31939 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31941 if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then
31942 as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined.
31943 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31945 if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then
31946 as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined.
31947 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31949 if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then
31950 as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined.
31951 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31953 if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then
31954 as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined.
31955 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31957 if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then
31958 as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined.
31959 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31961 if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then
31962 as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined.
31963 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31965 if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then
31966 as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined.
31967 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31969 if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then
31970 as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined.
31971 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31973 if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then
31974 as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined.
31975 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31977 if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then
31978 as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined.
31979 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31981 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31982 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31983 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31985 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
31986 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
31987 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31989 if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then
31990 as_fn_error $? "conditional \"HAVE_CXX\" was never defined.
31991 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31993 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
31994 as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
31995 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31997 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
31998 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
31999 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32001 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
32002 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
32003 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32005 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
32006 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
32007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32009 if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
32010 as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
32011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32013 if test -z "${HAVE_LIBXML_HTML_TRUE}" && test -z "${HAVE_LIBXML_HTML_FALSE}"; then
32014 as_fn_error $? "conditional \"HAVE_LIBXML_HTML\" was never defined.
32015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32017 if test -z "${HAVE_SYS_SOCKET_H_TRUE}" && test -z "${HAVE_SYS_SOCKET_H_FALSE}"; then
32018 as_fn_error $? "conditional \"HAVE_SYS_SOCKET_H\" was never defined.
32019 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32021 if test -z "${HAVE_ORC_TRUE}" && test -z "${HAVE_ORC_FALSE}"; then
32022 as_fn_error $? "conditional \"HAVE_ORC\" was never defined.
32023 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32025 if test -z "${HAVE_ORCC_TRUE}" && test -z "${HAVE_ORCC_FALSE}"; then
32026 as_fn_error $? "conditional \"HAVE_ORCC\" was never defined.
32027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32029 if test -z "${HAVE_GST_CHECK_TRUE}" && test -z "${HAVE_GST_CHECK_FALSE}"; then
32030 as_fn_error $? "conditional \"HAVE_GST_CHECK\" was never defined.
32031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32033 if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
32034 as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
32035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32037 if test -z "${HAVE_GTK_X11_TRUE}" && test -z "${HAVE_GTK_X11_FALSE}"; then
32038 as_fn_error $? "conditional \"HAVE_GTK_X11\" was never defined.
32039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32041 if test -z "${HAVE_QT_TRUE}" && test -z "${HAVE_QT_FALSE}"; then
32042 as_fn_error $? "conditional \"HAVE_QT\" was never defined.
32043 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32045 if test -z "${HAVE_QT_GV_TRUE}" && test -z "${HAVE_QT_GV_FALSE}"; then
32046 as_fn_error $? "conditional \"HAVE_QT_GV\" was never defined.
32047 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32049 if test -z "${HAVE_LINUX_JOYSTICK_HEADERS_TRUE}" && test -z "${HAVE_LINUX_JOYSTICK_HEADERS_FALSE}"; then
32050 as_fn_error $? "conditional \"HAVE_LINUX_JOYSTICK_HEADERS\" was never defined.
32051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32053 if test -z "${USE_PLUGIN_ADDER_TRUE}" && test -z "${USE_PLUGIN_ADDER_FALSE}"; then
32054 as_fn_error $? "conditional \"USE_PLUGIN_ADDER\" was never defined.
32055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32057 if test -z "${USE_PLUGIN_APP_TRUE}" && test -z "${USE_PLUGIN_APP_FALSE}"; then
32058 as_fn_error $? "conditional \"USE_PLUGIN_APP\" was never defined.
32059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32061 if test -z "${USE_PLUGIN_AUDIOCONVERT_TRUE}" && test -z "${USE_PLUGIN_AUDIOCONVERT_FALSE}"; then
32062 as_fn_error $? "conditional \"USE_PLUGIN_AUDIOCONVERT\" was never defined.
32063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32065 if test -z "${USE_PLUGIN_AUDIORATE_TRUE}" && test -z "${USE_PLUGIN_AUDIORATE_FALSE}"; then
32066 as_fn_error $? "conditional \"USE_PLUGIN_AUDIORATE\" was never defined.
32067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32069 if test -z "${USE_PLUGIN_AUDIOTESTSRC_TRUE}" && test -z "${USE_PLUGIN_AUDIOTESTSRC_FALSE}"; then
32070 as_fn_error $? "conditional \"USE_PLUGIN_AUDIOTESTSRC\" was never defined.
32071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32073 if test -z "${USE_PLUGIN_ENCODING_TRUE}" && test -z "${USE_PLUGIN_ENCODING_FALSE}"; then
32074 as_fn_error $? "conditional \"USE_PLUGIN_ENCODING\" was never defined.
32075 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32077 if test -z "${USE_PLUGIN_FFMPEGCOLORSPACE_TRUE}" && test -z "${USE_PLUGIN_FFMPEGCOLORSPACE_FALSE}"; then
32078 as_fn_error $? "conditional \"USE_PLUGIN_FFMPEGCOLORSPACE\" was never defined.
32079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32081 if test -z "${USE_PLUGIN_GDP_TRUE}" && test -z "${USE_PLUGIN_GDP_FALSE}"; then
32082 as_fn_error $? "conditional \"USE_PLUGIN_GDP\" was never defined.
32083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32085 if test -z "${USE_PLUGIN_PLAYBACK_TRUE}" && test -z "${USE_PLUGIN_PLAYBACK_FALSE}"; then
32086 as_fn_error $? "conditional \"USE_PLUGIN_PLAYBACK\" was never defined.
32087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32089 if test -z "${USE_PLUGIN_AUDIORESAMPLE_TRUE}" && test -z "${USE_PLUGIN_AUDIORESAMPLE_FALSE}"; then
32090 as_fn_error $? "conditional \"USE_PLUGIN_AUDIORESAMPLE\" was never defined.
32091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32093 if test -z "${USE_PLUGIN_SUBPARSE_TRUE}" && test -z "${USE_PLUGIN_SUBPARSE_FALSE}"; then
32094 as_fn_error $? "conditional \"USE_PLUGIN_SUBPARSE\" was never defined.
32095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32097 if test -z "${USE_PLUGIN_TCP_TRUE}" && test -z "${USE_PLUGIN_TCP_FALSE}"; then
32098 as_fn_error $? "conditional \"USE_PLUGIN_TCP\" was never defined.
32099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32101 if test -z "${USE_PLUGIN_TYPEFIND_TRUE}" && test -z "${USE_PLUGIN_TYPEFIND_FALSE}"; then
32102 as_fn_error $? "conditional \"USE_PLUGIN_TYPEFIND\" was never defined.
32103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32105 if test -z "${USE_PLUGIN_VIDEOTESTSRC_TRUE}" && test -z "${USE_PLUGIN_VIDEOTESTSRC_FALSE}"; then
32106 as_fn_error $? "conditional \"USE_PLUGIN_VIDEOTESTSRC\" was never defined.
32107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32109 if test -z "${USE_PLUGIN_VIDEORATE_TRUE}" && test -z "${USE_PLUGIN_VIDEORATE_FALSE}"; then
32110 as_fn_error $? "conditional \"USE_PLUGIN_VIDEORATE\" was never defined.
32111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32113 if test -z "${USE_PLUGIN_VIDEOSCALE_TRUE}" && test -z "${USE_PLUGIN_VIDEOSCALE_FALSE}"; then
32114 as_fn_error $? "conditional \"USE_PLUGIN_VIDEOSCALE\" was never defined.
32115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32117 if test -z "${USE_PLUGIN_VOLUME_TRUE}" && test -z "${USE_PLUGIN_VOLUME_FALSE}"; then
32118 as_fn_error $? "conditional \"USE_PLUGIN_VOLUME\" was never defined.
32119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32121 if test -z "${USE_XML_TRUE}" && test -z "${USE_XML_FALSE}"; then
32122 as_fn_error $? "conditional \"USE_XML\" was never defined.
32123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32125 if test -z "${USE_PLUGIN_SUBPARSE_TRUE}" && test -z "${USE_PLUGIN_SUBPARSE_FALSE}"; then
32126 as_fn_error $? "conditional \"USE_PLUGIN_SUBPARSE\" was never defined.
32127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32129 if test -z "${USE_PLUGIN_TCP_TRUE}" && test -z "${USE_PLUGIN_TCP_FALSE}"; then
32130 as_fn_error $? "conditional \"USE_PLUGIN_TCP\" was never defined.
32131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32133 if test -z "${USE_ISO_CODES_TRUE}" && test -z "${USE_ISO_CODES_FALSE}"; then
32134 as_fn_error $? "conditional \"USE_ISO_CODES\" was never defined.
32135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32137 if test -z "${USE_ISO_CODES_TRUE}" && test -z "${USE_ISO_CODES_FALSE}"; then
32138 as_fn_error $? "conditional \"USE_ISO_CODES\" was never defined.
32139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32141 if test -z "${USE_ZLIB_TRUE}" && test -z "${USE_ZLIB_FALSE}"; then
32142 as_fn_error $? "conditional \"USE_ZLIB\" was never defined.
32143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32145 if test -z "${USE_X_TRUE}" && test -z "${USE_X_FALSE}"; then
32146 as_fn_error $? "conditional \"USE_X\" was never defined.
32147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32149 if test -z "${USE_XVIDEO_TRUE}" && test -z "${USE_XVIDEO_FALSE}"; then
32150 as_fn_error $? "conditional \"USE_XVIDEO\" was never defined.
32151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32153 if test -z "${USE_XSHM_TRUE}" && test -z "${USE_XSHM_FALSE}"; then
32154 as_fn_error $? "conditional \"USE_XSHM\" was never defined.
32155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32157 if test -z "${USE_GST_V4L_TRUE}" && test -z "${USE_GST_V4L_FALSE}"; then
32158 as_fn_error $? "conditional \"USE_GST_V4L\" was never defined.
32159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32161 if test -z "${USE_ALSA_TRUE}" && test -z "${USE_ALSA_FALSE}"; then
32162 as_fn_error $? "conditional \"USE_ALSA\" was never defined.
32163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32165 if test -z "${USE_CDPARANOIA_TRUE}" && test -z "${USE_CDPARANOIA_FALSE}"; then
32166 as_fn_error $? "conditional \"USE_CDPARANOIA\" was never defined.
32167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32169 if test -z "${USE_GNOME_VFS_TRUE}" && test -z "${USE_GNOME_VFS_FALSE}"; then
32170 as_fn_error $? "conditional \"USE_GNOME_VFS\" was never defined.
32171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32173 if test -z "${USE_IVORBIS_TRUE}" && test -z "${USE_IVORBIS_FALSE}"; then
32174 as_fn_error $? "conditional \"USE_IVORBIS\" was never defined.
32175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32177 if test -z "${USE_GIO_TRUE}" && test -z "${USE_GIO_FALSE}"; then
32178 as_fn_error $? "conditional \"USE_GIO\" was never defined.
32179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32181 if test -z "${USE_LIBVISUAL_TRUE}" && test -z "${USE_LIBVISUAL_FALSE}"; then
32182 as_fn_error $? "conditional \"USE_LIBVISUAL\" was never defined.
32183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32185 if test -z "${USE_OGG_TRUE}" && test -z "${USE_OGG_FALSE}"; then
32186 as_fn_error $? "conditional \"USE_OGG\" was never defined.
32187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32189 if test -z "${USE_PANGO_TRUE}" && test -z "${USE_PANGO_FALSE}"; then
32190 as_fn_error $? "conditional \"USE_PANGO\" was never defined.
32191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32193 if test -z "${USE_THEORA_TRUE}" && test -z "${USE_THEORA_FALSE}"; then
32194 as_fn_error $? "conditional \"USE_THEORA\" was never defined.
32195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32197 if test -z "${USE_VORBIS_TRUE}" && test -z "${USE_VORBIS_FALSE}"; then
32198 as_fn_error $? "conditional \"USE_VORBIS\" was never defined.
32199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32201 if test -z "${USE_ALSA_TRUE}" && test -z "${USE_ALSA_FALSE}"; then
32202 as_fn_error $? "conditional \"USE_ALSA\" was never defined.
32203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32205 if test -z "${USE_CDPARANOIA_TRUE}" && test -z "${USE_CDPARANOIA_FALSE}"; then
32206 as_fn_error $? "conditional \"USE_CDPARANOIA\" was never defined.
32207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32209 if test -z "${USE_GIO_TRUE}" && test -z "${USE_GIO_FALSE}"; then
32210 as_fn_error $? "conditional \"USE_GIO\" was never defined.
32211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32213 if test -z "${USE_GNOME_VFS_TRUE}" && test -z "${USE_GNOME_VFS_FALSE}"; then
32214 as_fn_error $? "conditional \"USE_GNOME_VFS\" was never defined.
32215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32217 if test -z "${USE_IVORBIS_TRUE}" && test -z "${USE_IVORBIS_FALSE}"; then
32218 as_fn_error $? "conditional \"USE_IVORBIS\" was never defined.
32219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32221 if test -z "${USE_LIBVISUAL_TRUE}" && test -z "${USE_LIBVISUAL_FALSE}"; then
32222 as_fn_error $? "conditional \"USE_LIBVISUAL\" was never defined.
32223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32225 if test -z "${USE_OGG_TRUE}" && test -z "${USE_OGG_FALSE}"; then
32226 as_fn_error $? "conditional \"USE_OGG\" was never defined.
32227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32229 if test -z "${USE_PANGO_TRUE}" && test -z "${USE_PANGO_FALSE}"; then
32230 as_fn_error $? "conditional \"USE_PANGO\" was never defined.
32231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32233 if test -z "${USE_THEORA_TRUE}" && test -z "${USE_THEORA_FALSE}"; then
32234 as_fn_error $? "conditional \"USE_THEORA\" was never defined.
32235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32237 if test -z "${USE_VORBIS_TRUE}" && test -z "${USE_VORBIS_FALSE}"; then
32238 as_fn_error $? "conditional \"USE_VORBIS\" was never defined.
32239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32241 if test -z "${HAVE_FT2_TRUE}" && test -z "${HAVE_FT2_FALSE}"; then
32242 as_fn_error $? "conditional \"HAVE_FT2\" was never defined.
32243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
32246 : "${CONFIG_STATUS=./config.status}"
32248 ac_clean_files_save=$ac_clean_files
32249 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
32250 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
32251 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
32253 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
32255 # Generated by $as_me.
32256 # Run this file to recreate the current configuration.
32257 # Compiler output produced by configure, useful for debugging
32258 # configure, is in config.log if it exists.
32261 ac_cs_recheck=false
32264 SHELL=\${CONFIG_SHELL-$SHELL}
32267 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
32268 ## -------------------- ##
32269 ## M4sh Initialization. ##
32270 ## -------------------- ##
32272 # Be more Bourne compatible
32273 DUALCASE=1; export DUALCASE # for MKS sh
32274 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
32277 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
32278 # is contrary to our usage. Disable this feature.
32279 alias -g '${1+"$@"}'='"$@"'
32280 setopt NO_GLOB_SUBST
32282 case `(set -o) 2>/dev/null` in #(
32294 # Printing a long string crashes Solaris 7 /usr/bin/printf.
32295 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
32296 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
32297 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
32298 # Prefer a ksh shell builtin over an external printf program on Solaris,
32299 # but without wasting forks for bash or zsh.
32300 if test -z "$BASH_VERSION$ZSH_VERSION" \
32301 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
32302 as_echo='print -r --'
32303 as_echo_n='print -rn --'
32304 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
32305 as_echo='printf %s\n'
32306 as_echo_n='printf %s'
32308 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
32309 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
32310 as_echo_n='/usr/ucb/echo -n'
32312 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
32313 as_echo_n_body='eval
32317 expr "X$arg" : "X\\(.*\\)$as_nl";
32318 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
32320 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
32322 export as_echo_n_body
32323 as_echo_n='sh -c $as_echo_n_body as_echo'
32325 export as_echo_body
32326 as_echo='sh -c $as_echo_body as_echo'
32329 # The user is always right.
32330 if test "${PATH_SEPARATOR+set}" != set; then
32332 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
32333 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
32340 # We need space, tab and new line, in precisely that order. Quoting is
32341 # there to prevent editors from complaining about space-tab.
32342 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
32343 # splitting by setting IFS to empty value.)
32346 # Find who we are. Look in the path if we contain no directory separator.
32349 *[\\/]* ) as_myself=$0 ;;
32350 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32351 for as_dir in $PATH
32354 test -z "$as_dir" && as_dir=.
32355 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
32361 # We did not find ourselves, most probably we were run as `sh COMMAND'
32362 # in which case we are not to be found in the path.
32363 if test "x$as_myself" = x; then
32366 if test ! -f "$as_myself"; then
32367 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
32371 # Unset variables that we do not need and which cause bugs (e.g. in
32372 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
32373 # suppresses any "Segmentation fault" message there. '((' could
32374 # trigger a bug in pdksh 5.2.14.
32375 for as_var in BASH_ENV ENV MAIL MAILPATH
32376 do eval test x\${$as_var+set} = xset \
32377 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
32390 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32393 # as_fn_error STATUS ERROR [LINENO LOG_FD]
32394 # ----------------------------------------
32395 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
32396 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
32397 # script with STATUS, using 1 if that was 0.
32400 as_status=$1; test $as_status -eq 0 && as_status=1
32402 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
32403 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
32405 $as_echo "$as_me: error: $2" >&2
32406 as_fn_exit $as_status
32410 # as_fn_set_status STATUS
32411 # -----------------------
32412 # Set $? to STATUS, without forking.
32413 as_fn_set_status ()
32416 } # as_fn_set_status
32418 # as_fn_exit STATUS
32419 # -----------------
32420 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
32424 as_fn_set_status $1
32430 # Portably unset VAR.
32433 { eval $1=; unset $1;}
32435 as_unset=as_fn_unset
32436 # as_fn_append VAR VALUE
32437 # ----------------------
32438 # Append the text in VALUE to the end of the definition contained in VAR. Take
32439 # advantage of any shell optimizations that allow amortized linear growth over
32440 # repeated appends, instead of the typical quadratic growth present in naive
32442 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
32443 eval 'as_fn_append ()
32454 # as_fn_arith ARG...
32455 # ------------------
32456 # Perform arithmetic evaluation on the ARGs, and store the result in the
32457 # global $as_val. Take advantage of shells that can avoid forks. The arguments
32458 # must be portable across $(()) and expr.
32459 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
32460 eval 'as_fn_arith ()
32467 as_val=`expr "$@" || test $? -eq 1`
32472 if expr a : '\(a\)' >/dev/null 2>&1 &&
32473 test "X`expr 00001 : '.*\(...\)'`" = X001; then
32479 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
32480 as_basename=basename
32485 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
32491 as_me=`$as_basename -- "$0" ||
32492 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
32493 X"$0" : 'X\(//\)$' \| \
32494 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
32496 sed '/^.*\/\([^/][^/]*\)\/*$/{
32510 # Avoid depending upon Character Ranges.
32511 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
32512 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32513 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
32514 as_cr_digits='0123456789'
32515 as_cr_alnum=$as_cr_Letters$as_cr_digits
32517 ECHO_C= ECHO_N= ECHO_T=
32518 case `echo -n x` in #(((((
32520 case `echo 'xy\c'` in
32521 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
32523 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
32530 rm -f conf$$ conf$$.exe conf$$.file
32531 if test -d conf$$.dir; then
32532 rm -f conf$$.dir/conf$$.file
32535 mkdir conf$$.dir 2>/dev/null
32537 if (echo >conf$$.file) 2>/dev/null; then
32538 if ln -s conf$$.file conf$$ 2>/dev/null; then
32540 # ... but there are two gotchas:
32541 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
32542 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
32543 # In both cases, we have to default to `cp -p'.
32544 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
32546 elif ln conf$$.file conf$$ 2>/dev/null; then
32554 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
32555 rmdir conf$$.dir 2>/dev/null
32560 # Create "$as_dir" as a directory, including parents if necessary.
32565 -*) as_dir=./$as_dir;;
32567 test -d "$as_dir" || eval $as_mkdir_p || {
32571 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
32572 *) as_qdir=$as_dir;;
32574 as_dirs="'$as_qdir' $as_dirs"
32575 as_dir=`$as_dirname -- "$as_dir" ||
32576 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32577 X"$as_dir" : 'X\(//\)[^/]' \| \
32578 X"$as_dir" : 'X\(//\)$' \| \
32579 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
32580 $as_echo X"$as_dir" |
32581 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32585 /^X\(\/\/\)[^/].*/{
32598 test -d "$as_dir" && break
32600 test -z "$as_dirs" || eval "mkdir $as_dirs"
32601 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
32605 if mkdir -p . 2>/dev/null; then
32606 as_mkdir_p='mkdir -p "$as_dir"'
32608 test -d ./-p && rmdir ./-p
32612 if test -x / >/dev/null 2>&1; then
32613 as_test_x='test -x'
32615 if ls -dL / >/dev/null 2>&1; then
32622 if test -d "$1"; then
32628 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
32629 ???[sx]*):;;*)false;;esac;fi
32633 as_executable_p=$as_test_x
32635 # Sed expression to map a string onto a valid CPP name.
32636 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
32638 # Sed expression to map a string onto a valid variable name.
32639 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32643 ## ----------------------------------- ##
32644 ## Main body of $CONFIG_STATUS script. ##
32645 ## ----------------------------------- ##
32647 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
32649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32650 # Save the log message, to keep $0 and so on meaningful, and to
32651 # report actual input values of CONFIG_FILES etc. instead of their
32652 # values after options handling.
32654 This file was extended by GStreamer Base Plug-ins $as_me 0.10.36, which was
32655 generated by GNU Autoconf 2.68. Invocation command line was
32657 CONFIG_FILES = $CONFIG_FILES
32658 CONFIG_HEADERS = $CONFIG_HEADERS
32659 CONFIG_LINKS = $CONFIG_LINKS
32660 CONFIG_COMMANDS = $CONFIG_COMMANDS
32663 on `(hostname || uname -n) 2>/dev/null | sed 1q`
32668 case $ac_config_files in *"
32669 "*) set x $ac_config_files; shift; ac_config_files=$*;;
32672 case $ac_config_headers in *"
32673 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
32677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32678 # Files that config.status was made for.
32679 config_files="$ac_config_files"
32680 config_headers="$ac_config_headers"
32681 config_commands="$ac_config_commands"
32685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32687 \`$as_me' instantiates files and other configuration actions
32688 from templates according to the current configuration. Unless the files
32689 and actions are specified as TAGs, all are instantiated by default.
32691 Usage: $0 [OPTION]... [TAG]...
32693 -h, --help print this help, then exit
32694 -V, --version print version number and configuration settings, then exit
32695 --config print configuration, then exit
32696 -q, --quiet, --silent
32697 do not print progress messages
32698 -d, --debug don't remove temporary files
32699 --recheck update $as_me by reconfiguring in the same conditions
32700 --file=FILE[:TEMPLATE]
32701 instantiate the configuration file FILE
32702 --header=FILE[:TEMPLATE]
32703 instantiate the configuration header FILE
32705 Configuration files:
32708 Configuration headers:
32711 Configuration commands:
32714 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
32717 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32718 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32720 GStreamer Base Plug-ins config.status 0.10.36
32721 configured by $0, generated by GNU Autoconf 2.68,
32722 with options \\"\$ac_cs_config\\"
32724 Copyright (C) 2010 Free Software Foundation, Inc.
32725 This config.status script is free software; the Free Software Foundation
32726 gives unlimited permission to copy, distribute and modify it."
32733 test -n "\$AWK" || AWK=awk
32736 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32737 # The default lists apply if the user does not specify any file.
32743 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32744 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
32748 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32760 # Handling of the options.
32761 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32763 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
32764 $as_echo "$ac_cs_version"; exit ;;
32765 --config | --confi | --conf | --con | --co | --c )
32766 $as_echo "$ac_cs_config"; exit ;;
32767 --debug | --debu | --deb | --de | --d | -d )
32769 --file | --fil | --fi | --f )
32772 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32773 '') as_fn_error $? "missing file argument" ;;
32775 as_fn_append CONFIG_FILES " '$ac_optarg'"
32776 ac_need_defaults=false;;
32777 --header | --heade | --head | --hea )
32780 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32782 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
32783 ac_need_defaults=false;;
32785 # Conflict between --help and --header
32786 as_fn_error $? "ambiguous option: \`$1'
32787 Try \`$0 --help' for more information.";;
32788 --help | --hel | -h )
32789 $as_echo "$ac_cs_usage"; exit ;;
32790 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
32791 | -silent | --silent | --silen | --sile | --sil | --si | --s)
32794 # This is an error.
32795 -*) as_fn_error $? "unrecognized option: \`$1'
32796 Try \`$0 --help' for more information." ;;
32798 *) as_fn_append ac_config_targets " $1"
32799 ac_need_defaults=false ;;
32805 ac_configure_extra_args=
32807 if $ac_cs_silent; then
32809 ac_configure_extra_args="$ac_configure_extra_args --silent"
32813 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32814 if \$ac_cs_recheck; then
32815 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32817 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32818 CONFIG_SHELL='$SHELL'
32819 export CONFIG_SHELL
32824 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32828 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32829 ## Running $as_me. ##
32835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32839 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32842 # The HP-UX ksh and POSIX shell print the target directory to stdout
32843 # if CDPATH is set.
32844 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32846 sed_quote_subst='$sed_quote_subst'
32847 double_quote_subst='$double_quote_subst'
32848 delay_variable_subst='$delay_variable_subst'
32849 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
32850 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
32851 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
32852 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
32853 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
32854 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
32855 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
32856 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
32857 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
32858 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
32859 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
32860 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
32861 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
32862 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
32863 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
32864 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
32865 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
32866 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
32867 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
32868 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
32869 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
32870 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
32871 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
32872 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
32873 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
32874 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
32875 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
32876 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
32877 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
32878 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32879 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32880 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
32881 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
32882 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
32883 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32884 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32885 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32886 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
32887 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
32888 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
32889 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
32890 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32891 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
32892 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
32893 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32894 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32895 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32896 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32897 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
32898 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
32899 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
32900 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
32901 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
32902 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
32903 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
32904 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32905 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32906 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"`'
32907 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
32908 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
32909 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32910 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32911 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
32912 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32913 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32914 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32915 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32916 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
32917 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
32918 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32919 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32920 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32921 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
32922 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
32923 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
32924 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
32925 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32926 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
32927 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
32928 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
32929 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
32930 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
32931 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
32932 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32933 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
32934 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32935 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
32936 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32937 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
32938 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
32939 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
32940 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
32941 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
32942 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
32943 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
32944 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
32945 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
32946 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32947 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32948 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32949 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32950 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32951 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32952 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32953 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
32954 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
32955 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32956 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32957 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32958 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
32959 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
32960 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
32961 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
32962 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
32963 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
32964 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
32965 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
32966 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
32967 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32968 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32969 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
32970 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
32971 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
32972 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
32973 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
32974 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
32975 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
32976 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
32977 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
32978 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
32979 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
32980 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
32981 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
32982 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
32983 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
32984 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
32985 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
32986 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
32987 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
32988 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
32989 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
32990 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
32991 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
32992 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
32993 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
32994 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
32995 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
32996 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
32997 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
32998 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
32999 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
33000 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
33001 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
33002 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33003 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33004 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33005 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33006 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33007 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33008 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
33009 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
33010 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
33011 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
33012 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
33013 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
33014 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
33015 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
33016 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
33017 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
33018 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
33019 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
33020 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
33021 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33022 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
33023 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
33024 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33025 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
33026 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
33027 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
33028 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
33029 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
33030 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
33031 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
33032 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
33033 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
33036 LTCFLAGS='$LTCFLAGS'
33037 compiler='$compiler_DEFAULT'
33039 # A function that is used when there is no print builtin or printf.
33040 func_fallback_echo ()
33042 eval 'cat <<_LTECHO_EOF
33047 # Quote evaled strings.
33064 deplibs_check_method \
33068 sharedlib_from_linklib_cmd \
33071 archiver_list_spec \
33077 lt_cv_sys_global_symbol_pipe \
33078 lt_cv_sys_global_symbol_to_cdecl \
33079 lt_cv_sys_global_symbol_to_c_name_address \
33080 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
33081 nm_file_list_spec \
33082 lt_prog_compiler_no_builtin_flag \
33083 lt_prog_compiler_pic \
33084 lt_prog_compiler_wl \
33085 lt_prog_compiler_static \
33086 lt_cv_prog_compiler_c_o \
33095 export_dynamic_flag_spec \
33096 whole_archive_flag_spec \
33097 compiler_needs_object \
33099 allow_undefined_flag \
33100 no_undefined_flag \
33101 hardcode_libdir_flag_spec \
33102 hardcode_libdir_separator \
33106 variables_saved_for_relink \
33108 library_names_spec \
33110 install_override_mode \
33114 compiler_lib_search_dirs \
33119 compiler_lib_search_path \
33123 lt_prog_compiler_no_builtin_flag_CXX \
33124 lt_prog_compiler_pic_CXX \
33125 lt_prog_compiler_wl_CXX \
33126 lt_prog_compiler_static_CXX \
33127 lt_cv_prog_compiler_c_o_CXX \
33128 export_dynamic_flag_spec_CXX \
33129 whole_archive_flag_spec_CXX \
33130 compiler_needs_object_CXX \
33132 allow_undefined_flag_CXX \
33133 no_undefined_flag_CXX \
33134 hardcode_libdir_flag_spec_CXX \
33135 hardcode_libdir_separator_CXX \
33136 exclude_expsyms_CXX \
33137 include_expsyms_CXX \
33138 file_list_spec_CXX \
33139 compiler_lib_search_dirs_CXX \
33140 predep_objects_CXX \
33141 postdep_objects_CXX \
33144 compiler_lib_search_path_CXX; do
33145 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
33146 *[\\\\\\\`\\"\\\$]*)
33147 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
33150 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33155 # Double-quote double-evaled strings.
33156 for var in reload_cmds \
33157 old_postinstall_cmds \
33158 old_postuninstall_cmds \
33160 extract_expsyms_cmds \
33161 old_archive_from_new_cmds \
33162 old_archive_from_expsyms_cmds \
33164 archive_expsym_cmds \
33166 module_expsym_cmds \
33167 export_symbols_cmds \
33171 postuninstall_cmds \
33173 sys_lib_search_path_spec \
33174 sys_lib_dlsearch_path_spec \
33176 old_archive_cmds_CXX \
33177 old_archive_from_new_cmds_CXX \
33178 old_archive_from_expsyms_cmds_CXX \
33180 archive_expsym_cmds_CXX \
33182 module_expsym_cmds_CXX \
33183 export_symbols_cmds_CXX \
33185 postlink_cmds_CXX; do
33186 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
33187 *[\\\\\\\`\\"\\\$]*)
33188 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
33191 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33196 ac_aux_dir='$ac_aux_dir'
33197 xsi_shell='$xsi_shell'
33198 lt_shell_append='$lt_shell_append'
33200 # See if we are running on zsh, and set the options which allow our
33201 # commands through without removal of \ escapes INIT.
33202 if test -n "\${ZSH_VERSION+set}" ; then
33203 setopt NO_GLOB_SUBST
33209 TIMESTAMP='$TIMESTAMP'
33217 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
33218 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
33219 # from automake < 1.5.
33220 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
33221 # Capture the value of LINGUAS because we need it to compute CATALOGS.
33222 LINGUAS="${LINGUAS-%UNSET%}"
33224 # variables for create stdint.h replacement
33227 ac_stdint_h="$ac_stdint_h"
33228 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
33229 ac_cv_stdint_message="$ac_cv_stdint_message"
33230 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
33231 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
33232 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
33233 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
33234 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
33235 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
33236 ac_cv_char_data_model="$ac_cv_char_data_model"
33237 ac_cv_long_data_model="$ac_cv_long_data_model"
33238 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
33239 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
33240 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
33245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33247 # Handling of arguments.
33248 for ac_config_target in $ac_config_targets
33250 case $ac_config_target in
33251 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
33252 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33253 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
33254 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
33255 "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
33256 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33257 "gst-plugins-base.spec") CONFIG_FILES="$CONFIG_FILES gst-plugins-base.spec" ;;
33258 "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
33259 "gst/adder/Makefile") CONFIG_FILES="$CONFIG_FILES gst/adder/Makefile" ;;
33260 "gst/app/Makefile") CONFIG_FILES="$CONFIG_FILES gst/app/Makefile" ;;
33261 "gst/audioconvert/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audioconvert/Makefile" ;;
33262 "gst/audiorate/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audiorate/Makefile" ;;
33263 "gst/audiotestsrc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audiotestsrc/Makefile" ;;
33264 "gst/encoding/Makefile") CONFIG_FILES="$CONFIG_FILES gst/encoding/Makefile" ;;
33265 "gst/ffmpegcolorspace/Makefile") CONFIG_FILES="$CONFIG_FILES gst/ffmpegcolorspace/Makefile" ;;
33266 "gst/gdp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/gdp/Makefile" ;;
33267 "gst/playback/Makefile") CONFIG_FILES="$CONFIG_FILES gst/playback/Makefile" ;;
33268 "gst/audioresample/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audioresample/Makefile" ;;
33269 "gst/subparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/subparse/Makefile" ;;
33270 "gst/tcp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/tcp/Makefile" ;;
33271 "gst/typefind/Makefile") CONFIG_FILES="$CONFIG_FILES gst/typefind/Makefile" ;;
33272 "gst/videotestsrc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videotestsrc/Makefile" ;;
33273 "gst/videorate/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videorate/Makefile" ;;
33274 "gst/videoscale/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videoscale/Makefile" ;;
33275 "gst/volume/Makefile") CONFIG_FILES="$CONFIG_FILES gst/volume/Makefile" ;;
33276 "sys/Makefile") CONFIG_FILES="$CONFIG_FILES sys/Makefile" ;;
33277 "sys/ximage/Makefile") CONFIG_FILES="$CONFIG_FILES sys/ximage/Makefile" ;;
33278 "sys/xvimage/Makefile") CONFIG_FILES="$CONFIG_FILES sys/xvimage/Makefile" ;;
33279 "sys/v4l/Makefile") CONFIG_FILES="$CONFIG_FILES sys/v4l/Makefile" ;;
33280 "ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
33281 "ext/alsa/Makefile") CONFIG_FILES="$CONFIG_FILES ext/alsa/Makefile" ;;
33282 "ext/cdparanoia/Makefile") CONFIG_FILES="$CONFIG_FILES ext/cdparanoia/Makefile" ;;
33283 "ext/gnomevfs/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gnomevfs/Makefile" ;;
33284 "ext/gio/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gio/Makefile" ;;
33285 "ext/libvisual/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libvisual/Makefile" ;;
33286 "ext/ogg/Makefile") CONFIG_FILES="$CONFIG_FILES ext/ogg/Makefile" ;;
33287 "ext/pango/Makefile") CONFIG_FILES="$CONFIG_FILES ext/pango/Makefile" ;;
33288 "ext/theora/Makefile") CONFIG_FILES="$CONFIG_FILES ext/theora/Makefile" ;;
33289 "ext/vorbis/Makefile") CONFIG_FILES="$CONFIG_FILES ext/vorbis/Makefile" ;;
33290 "gst-libs/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/Makefile" ;;
33291 "gst-libs/gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/Makefile" ;;
33292 "gst-libs/gst/audio/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/audio/Makefile" ;;
33293 "gst-libs/gst/app/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/app/Makefile" ;;
33294 "gst-libs/gst/cdda/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/cdda/Makefile" ;;
33295 "gst-libs/gst/fft/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/fft/Makefile" ;;
33296 "gst-libs/gst/floatcast/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/floatcast/Makefile" ;;
33297 "gst-libs/gst/interfaces/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/interfaces/Makefile" ;;
33298 "gst-libs/gst/netbuffer/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/netbuffer/Makefile" ;;
33299 "gst-libs/gst/riff/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/riff/Makefile" ;;
33300 "gst-libs/gst/rtp/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/rtp/Makefile" ;;
33301 "gst-libs/gst/rtsp/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/rtsp/Makefile" ;;
33302 "gst-libs/gst/sdp/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/sdp/Makefile" ;;
33303 "gst-libs/gst/tag/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/tag/Makefile" ;;
33304 "gst-libs/gst/pbutils/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/pbutils/Makefile" ;;
33305 "gst-libs/gst/pbutils/gstpluginsbaseversion.h") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/pbutils/gstpluginsbaseversion.h" ;;
33306 "gst-libs/gst/video/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/video/Makefile" ;;
33307 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
33308 "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
33309 "pkgconfig/gstreamer-audio.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-audio.pc" ;;
33310 "pkgconfig/gstreamer-audio-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-audio-uninstalled.pc" ;;
33311 "pkgconfig/gstreamer-app.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-app.pc" ;;
33312 "pkgconfig/gstreamer-app-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-app-uninstalled.pc" ;;
33313 "pkgconfig/gstreamer-cdda.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-cdda.pc" ;;
33314 "pkgconfig/gstreamer-cdda-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-cdda-uninstalled.pc" ;;
33315 "pkgconfig/gstreamer-fft.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-fft.pc" ;;
33316 "pkgconfig/gstreamer-fft-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-fft-uninstalled.pc" ;;
33317 "pkgconfig/gstreamer-floatcast.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-floatcast.pc" ;;
33318 "pkgconfig/gstreamer-floatcast-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-floatcast-uninstalled.pc" ;;
33319 "pkgconfig/gstreamer-interfaces.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-interfaces.pc" ;;
33320 "pkgconfig/gstreamer-interfaces-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-interfaces-uninstalled.pc" ;;
33321 "pkgconfig/gstreamer-netbuffer.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-netbuffer.pc" ;;
33322 "pkgconfig/gstreamer-netbuffer-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-netbuffer-uninstalled.pc" ;;
33323 "pkgconfig/gstreamer-pbutils.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-pbutils.pc" ;;
33324 "pkgconfig/gstreamer-pbutils-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-pbutils-uninstalled.pc" ;;
33325 "pkgconfig/gstreamer-riff.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-riff.pc" ;;
33326 "pkgconfig/gstreamer-riff-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-riff-uninstalled.pc" ;;
33327 "pkgconfig/gstreamer-rtp.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtp.pc" ;;
33328 "pkgconfig/gstreamer-rtp-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtp-uninstalled.pc" ;;
33329 "pkgconfig/gstreamer-rtsp.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtsp.pc" ;;
33330 "pkgconfig/gstreamer-rtsp-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtsp-uninstalled.pc" ;;
33331 "pkgconfig/gstreamer-sdp.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-sdp.pc" ;;
33332 "pkgconfig/gstreamer-sdp-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-sdp-uninstalled.pc" ;;
33333 "pkgconfig/gstreamer-tag.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-tag.pc" ;;
33334 "pkgconfig/gstreamer-tag-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-tag-uninstalled.pc" ;;
33335 "pkgconfig/gstreamer-video.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-video.pc" ;;
33336 "pkgconfig/gstreamer-video-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-video-uninstalled.pc" ;;
33337 "pkgconfig/gstreamer-plugins-base.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-plugins-base.pc" ;;
33338 "pkgconfig/gstreamer-plugins-base-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-plugins-base-uninstalled.pc" ;;
33339 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
33340 "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
33341 "tests/examples/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/Makefile" ;;
33342 "tests/examples/app/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/app/Makefile" ;;
33343 "tests/examples/audio/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/audio/Makefile" ;;
33344 "tests/examples/dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/dynamic/Makefile" ;;
33345 "tests/examples/encoding/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/encoding/Makefile" ;;
33346 "tests/examples/fft/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/fft/Makefile" ;;
33347 "tests/examples/gio/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/gio/Makefile" ;;
33348 "tests/examples/overlay/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/overlay/Makefile" ;;
33349 "tests/examples/seek/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/seek/Makefile" ;;
33350 "tests/examples/snapshot/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/snapshot/Makefile" ;;
33351 "tests/examples/playrec/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/playrec/Makefile" ;;
33352 "tests/examples/v4l/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/v4l/Makefile" ;;
33353 "tests/files/Makefile") CONFIG_FILES="$CONFIG_FILES tests/files/Makefile" ;;
33354 "tests/icles/Makefile") CONFIG_FILES="$CONFIG_FILES tests/icles/Makefile" ;;
33355 "tests/icles/playback/Makefile") CONFIG_FILES="$CONFIG_FILES tests/icles/playback/Makefile" ;;
33356 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
33357 "docs/design/Makefile") CONFIG_FILES="$CONFIG_FILES docs/design/Makefile" ;;
33358 "docs/libs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libs/Makefile" ;;
33359 "docs/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES docs/plugins/Makefile" ;;
33360 "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
33361 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
33362 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
33363 "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
33364 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
33366 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
33371 # If the user did not use the arguments to specify the items to instantiate,
33372 # then the envvar interface is used. Set only those that are not.
33373 # We use the long form for the default assignment because of an extremely
33374 # bizarre bug on SunOS 4.1.3.
33375 if $ac_need_defaults; then
33376 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
33377 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
33378 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
33381 # Have a temporary directory for convenience. Make it in the build tree
33382 # simply because there is no reason against having it here, and in addition,
33383 # creating and moving files from /tmp can sometimes cause problems.
33384 # Hook for its removal unless debugging.
33385 # Note that there is a small window in which the directory will not be cleaned:
33386 # after its creation but before its name has been assigned to `$tmp'.
33390 trap 'exit_status=$?
33391 : "${ac_tmp:=$tmp}"
33392 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
33394 trap 'as_fn_exit 1' 1 2 13 15
33396 # Create a (secure) tmp directory for tmp files.
33399 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
33403 tmp=./conf$$-$RANDOM
33404 (umask 077 && mkdir "$tmp")
33405 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
33408 # Set up the scripts for CONFIG_FILES section.
33409 # No need to generate them if there are no CONFIG_FILES.
33410 # This happens for instance with `./config.status config.h'.
33411 if test -n "$CONFIG_FILES"; then
33414 ac_cr=`echo X | tr X '\015'`
33415 # On cygwin, bash can eat \r inside `` if the user requested igncr.
33416 # But we know of no other shell where ac_cr would be empty at this
33417 # point, so we can use a bashism as a fallback.
33418 if test "x$ac_cr" = x; then
33419 eval ac_cr=\$\'\\r\'
33421 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
33422 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
33425 ac_cs_awk_cr=$ac_cr
33428 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
33433 echo "cat >conf$$subs.awk <<_ACEOF" &&
33434 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
33436 } >conf$$subs.sh ||
33437 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
33438 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
33440 for ac_last_try in false false false false false :; do
33441 . ./conf$$subs.sh ||
33442 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
33444 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
33445 if test $ac_delim_n = $ac_delim_num; then
33447 elif $ac_last_try; then
33448 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
33450 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33453 rm -f conf$$subs.sh
33455 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33456 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
33460 s/^/S["/; s/!.*/"]=/
33470 s/\(.\{148\}\)..*/\1/
33472 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
33477 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
33484 s/\(.\{148\}\)..*/\1/
33486 s/["\\]/\\&/g; s/^/"/; s/$/"/
33490 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
33495 ' <conf$$subs.awk | sed '
33500 ' >>$CONFIG_STATUS || ac_write_fail=1
33501 rm -f conf$$subs.awk
33502 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33504 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
33505 for (key in S) S_is_set[key] = 1
33511 nfields = split(line, field, "@")
33513 len = length(field[1])
33514 for (i = 2; i < nfields; i++) {
33516 keylen = length(key)
33517 if (S_is_set[key]) {
33519 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
33520 len += length(value) + length(field[++i])
33531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33532 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
33533 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
33536 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
33537 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
33540 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
33541 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
33542 # trailing colons and then remove the whole line if VPATH becomes empty
33543 # (actually we leave an empty line to preserve line numbers).
33544 if test "x$srcdir" = x.; then
33545 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
33563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33564 fi # test -n "$CONFIG_FILES"
33566 # Set up the scripts for CONFIG_HEADERS section.
33567 # No need to generate them if there are no CONFIG_HEADERS.
33568 # This happens for instance with `./config.status Makefile'.
33569 if test -n "$CONFIG_HEADERS"; then
33570 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
33574 # Transform confdefs.h into an awk script `defines.awk', embedded as
33575 # here-document in config.status, that substitutes the proper values into
33576 # config.h.in to produce config.h.
33578 # Create a delimiter string that does not exist in confdefs.h, to ease
33579 # handling of long lines.
33581 for ac_last_try in false false :; do
33582 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
33583 if test -z "$ac_tt"; then
33585 elif $ac_last_try; then
33586 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
33588 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
33592 # For the awk script, D is an array of macro values keyed by name,
33593 # likewise P contains macro parameters if any. Preserve backslash
33594 # newline sequences.
33596 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
33598 s/.\{148\}/&'"$ac_delim"'/g
33601 s/^[ ]*#[ ]*define[ ][ ]*/ /
33608 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
33610 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
33614 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
33615 D["\1"]=" \3\\\\\\n"\\/p
33617 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
33622 s/.\{148\}/&'"$ac_delim"'/g
33627 s/["\\]/\\&/g; s/^/"/; s/$/"/p
33630 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
33632 ' <confdefs.h | sed '
33633 s/'"$ac_delim"'/"\\\
33634 "/g' >>$CONFIG_STATUS || ac_write_fail=1
33636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33637 for (key in D) D_is_set[key] = 1
33640 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
33642 split(line, arg, " ")
33643 if (arg[1] == "#") {
33647 defundef = substr(arg[1], 2)
33650 split(mac1, mac2, "(") #)
33652 prefix = substr(line, 1, index(line, defundef) - 1)
33653 if (D_is_set[macro]) {
33654 # Preserve the white space surrounding the "#".
33655 print prefix "define", macro P[macro] D[macro]
33658 # Replace #undef with comments. This is necessary, for example,
33659 # in the case of _POSIX_SOURCE, which is predefined and required
33660 # on some systems where configure will not decide to define it.
33661 if (defundef == "undef") {
33662 print "/*", prefix defundef, macro, "*/"
33670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33671 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
33672 fi # test -n "$CONFIG_HEADERS"
33675 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
33680 :[FHLC]) ac_mode=$ac_tag; continue;;
33682 case $ac_mode$ac_tag in
33684 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
33685 :[FH]-) ac_tag=-:-;;
33686 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
33703 -) ac_f="$ac_tmp/stdin";;
33704 *) # Look for the file first in the build tree, then in the source tree
33705 # (if the path is not absolute). The absolute path cannot be DOS-style,
33706 # because $ac_f cannot contain `:'.
33710 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
33712 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
33714 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
33715 as_fn_append ac_file_inputs " '$ac_f'"
33718 # Let's still pretend it is `configure' which instantiates (i.e., don't
33719 # use $as_me), people would be surprised to read:
33720 # /* config.h. Generated by config.status. */
33721 configure_input='Generated from '`
33722 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
33724 if test x"$ac_file" != x-; then
33725 configure_input="$ac_file. $configure_input"
33726 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
33727 $as_echo "$as_me: creating $ac_file" >&6;}
33729 # Neutralize special characters interpreted by sed in replacement strings.
33730 case $configure_input in #(
33731 *\&* | *\|* | *\\* )
33732 ac_sed_conf_input=`$as_echo "$configure_input" |
33733 sed 's/[\\\\&|]/\\\\&/g'`;; #(
33734 *) ac_sed_conf_input=$configure_input;;
33738 *:-:* | *:-) cat >"$ac_tmp/stdin" \
33739 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
33744 ac_dir=`$as_dirname -- "$ac_file" ||
33745 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33746 X"$ac_file" : 'X\(//\)[^/]' \| \
33747 X"$ac_file" : 'X\(//\)$' \| \
33748 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
33749 $as_echo X"$ac_file" |
33750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33754 /^X\(\/\/\)[^/].*/{
33767 as_dir="$ac_dir"; as_fn_mkdir_p
33771 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
33773 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
33774 # A ".." for each directory in $ac_dir_suffix.
33775 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
33776 case $ac_top_builddir_sub in
33777 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
33778 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
33781 ac_abs_top_builddir=$ac_pwd
33782 ac_abs_builddir=$ac_pwd$ac_dir_suffix
33783 # for backward compatibility:
33784 ac_top_builddir=$ac_top_build_prefix
33787 .) # We are building in place.
33789 ac_top_srcdir=$ac_top_builddir_sub
33790 ac_abs_top_srcdir=$ac_pwd ;;
33791 [\\/]* | ?:[\\/]* ) # Absolute name.
33792 ac_srcdir=$srcdir$ac_dir_suffix;
33793 ac_top_srcdir=$srcdir
33794 ac_abs_top_srcdir=$srcdir ;;
33795 *) # Relative name.
33796 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
33797 ac_top_srcdir=$ac_top_build_prefix$srcdir
33798 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
33800 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
33810 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
33811 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
33813 ac_MKDIR_P=$MKDIR_P
33815 [\\/$]* | ?:[\\/]* ) ;;
33816 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
33820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33821 # If the template does not know about datarootdir, expand it.
33822 # FIXME: This hack should be removed a few years after 2.60.
33823 ac_datarootdir_hack=; ac_datarootdir_seen=
33834 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33835 *datarootdir*) ac_datarootdir_seen=yes;;
33836 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
33837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33838 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33840 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33841 ac_datarootdir_hack='
33842 s&@datadir@&$datadir&g
33843 s&@docdir@&$docdir&g
33844 s&@infodir@&$infodir&g
33845 s&@localedir@&$localedir&g
33846 s&@mandir@&$mandir&g
33847 s&\\\${datarootdir}&$datarootdir&g' ;;
33851 # Neutralize VPATH when `$srcdir' = `.'.
33852 # Shell code in configure.ac might set extrasub.
33853 # FIXME: do we really want to maintain this feature?
33854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33855 ac_sed_extra="$ac_vpsub
33858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33860 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33861 s|@configure_input@|$ac_sed_conf_input|;t t
33862 s&@top_builddir@&$ac_top_builddir_sub&;t t
33863 s&@top_build_prefix@&$ac_top_build_prefix&;t t
33864 s&@srcdir@&$ac_srcdir&;t t
33865 s&@abs_srcdir@&$ac_abs_srcdir&;t t
33866 s&@top_srcdir@&$ac_top_srcdir&;t t
33867 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
33868 s&@builddir@&$ac_builddir&;t t
33869 s&@abs_builddir@&$ac_abs_builddir&;t t
33870 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
33871 s&@INSTALL@&$ac_INSTALL&;t t
33872 s&@MKDIR_P@&$ac_MKDIR_P&;t t
33873 $ac_datarootdir_hack
33875 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
33876 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33878 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33879 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
33880 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
33881 "$ac_tmp/out"`; test -z "$ac_out"; } &&
33882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33883 which seems to be undefined. Please make sure it is defined" >&5
33884 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33885 which seems to be undefined. Please make sure it is defined" >&2;}
33887 rm -f "$ac_tmp/stdin"
33889 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33890 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33892 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33898 if test x"$ac_file" != x-; then
33900 $as_echo "/* $configure_input */" \
33901 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33902 } >"$ac_tmp/config.h" \
33903 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33904 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33905 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33906 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33909 mv "$ac_tmp/config.h" "$ac_file" \
33910 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33913 $as_echo "/* $configure_input */" \
33914 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33915 || as_fn_error $? "could not create -" "$LINENO" 5
33917 # Compute "$ac_file"'s index in $config_headers.
33920 for _am_header in $config_headers :; do
33921 case $_am_header in
33922 $_am_arg | $_am_arg:* )
33925 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
33928 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33929 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33930 X"$_am_arg" : 'X\(//\)[^/]' \| \
33931 X"$_am_arg" : 'X\(//\)$' \| \
33932 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33933 $as_echo X"$_am_arg" |
33934 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33938 /^X\(\/\/\)[^/].*/{
33950 s/.*/./; q'`/stamp-h$_am_stamp_count
33953 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33954 $as_echo "$as_me: executing $ac_file commands" >&6;}
33959 case $ac_file$ac_mode in
33960 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
33961 # Autoconf 2.62 quotes --file arguments for eval, but not when files
33962 # are listed without --file. Let's play safe and only enable the eval
33963 # if we detect the quoting.
33964 case $CONFIG_FILES in
33965 *\'*) eval set x "$CONFIG_FILES" ;;
33966 *) set x $CONFIG_FILES ;;
33971 # Strip MF so we end up with the name of the file.
33972 mf=`echo "$mf" | sed -e 's/:.*$//'`
33973 # Check whether this is an Automake generated Makefile or not.
33974 # We used to match only the files named `Makefile.in', but
33975 # some people rename them; so instead we look at the file content.
33976 # Grep'ing the first line is not enough: some people post-process
33977 # each Makefile.in and add a new line on top of each file to say so.
33978 # Grep'ing the whole file is not good either: AIX grep has a line
33979 # limit of 2048, but all sed's we know have understand at least 4000.
33980 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
33981 dirpart=`$as_dirname -- "$mf" ||
33982 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33983 X"$mf" : 'X\(//\)[^/]' \| \
33984 X"$mf" : 'X\(//\)$' \| \
33985 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33991 /^X\(\/\/\)[^/].*/{
34007 # Extract the definition of DEPDIR, am__include, and am__quote
34008 # from the Makefile without running `make'.
34009 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34010 test -z "$DEPDIR" && continue
34011 am__include=`sed -n 's/^am__include = //p' < "$mf"`
34012 test -z "am__include" && continue
34013 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34014 # When using ansi2knr, U may be empty or an underscore; expand it
34015 U=`sed -n 's/^U = //p' < "$mf"`
34016 # Find all dependency output files, they are included files with
34017 # $(DEPDIR) in their names. We invoke sed twice because it is the
34018 # simplest approach to changing $(DEPDIR) to its actual value in the
34020 for file in `sed -n "
34021 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34022 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34023 # Make sure the directory exists.
34024 test -f "$dirpart/$file" && continue
34025 fdir=`$as_dirname -- "$file" ||
34026 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34027 X"$file" : 'X\(//\)[^/]' \| \
34028 X"$file" : 'X\(//\)$' \| \
34029 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
34030 $as_echo X"$file" |
34031 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34035 /^X\(\/\/\)[^/].*/{
34048 as_dir=$dirpart/$fdir; as_fn_mkdir_p
34049 # echo "creating $dirpart/$file"
34050 echo '# dummy' > "$dirpart/$file"
34057 # See if we are running on zsh, and set the options which allow our
34058 # commands through without removal of \ escapes.
34059 if test -n "${ZSH_VERSION+set}" ; then
34060 setopt NO_GLOB_SUBST
34063 cfgfile="${ofile}T"
34064 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
34067 cat <<_LT_EOF >> "$cfgfile"
34070 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
34071 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
34072 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
34073 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
34075 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
34076 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
34078 # Written by Gordon Matzigkeit, 1996
34080 # This file is part of GNU Libtool.
34082 # GNU Libtool is free software; you can redistribute it and/or
34083 # modify it under the terms of the GNU General Public License as
34084 # published by the Free Software Foundation; either version 2 of
34085 # the License, or (at your option) any later version.
34087 # As a special exception to the GNU General Public License,
34088 # if you distribute this file as part of a program or library that
34089 # is built using GNU Libtool, you may include this file under the
34090 # same distribution terms that you use for the rest of that program.
34092 # GNU Libtool is distributed in the hope that it will be useful,
34093 # but WITHOUT ANY WARRANTY; without even the implied warranty of
34094 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34095 # GNU General Public License for more details.
34097 # You should have received a copy of the GNU General Public License
34098 # along with GNU Libtool; see the file COPYING. If not, a copy
34099 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
34100 # obtained by writing to the Free Software Foundation, Inc.,
34101 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
34104 # The names of the tagged configurations supported by this script.
34105 available_tags="CXX "
34107 # ### BEGIN LIBTOOL CONFIG
34109 # Assembler program.
34112 # DLL creation program.
34113 DLLTOOL=$lt_DLLTOOL
34115 # Object dumper program.
34116 OBJDUMP=$lt_OBJDUMP
34118 # Which release of libtool.m4 was used?
34119 macro_version=$macro_version
34120 macro_revision=$macro_revision
34122 # Whether or not to build shared libraries.
34123 build_libtool_libs=$enable_shared
34125 # Whether or not to build static libraries.
34126 build_old_libs=$enable_static
34128 # What type of objects to build.
34131 # Whether or not to optimize for fast installation.
34132 fast_install=$enable_fast_install
34134 # Shell to use when invoking shell scripts.
34137 # An echo program that protects backslashes.
34140 # The PATH separator for the build system.
34141 PATH_SEPARATOR=$lt_PATH_SEPARATOR
34144 host_alias=$host_alias
34148 # The build system.
34149 build_alias=$build_alias
34153 # A sed program that does not truncate output.
34156 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
34157 Xsed="\$SED -e 1s/^X//"
34159 # A grep program that handles long lines.
34165 # A literal string matcher.
34168 # A BSD- or MS-compatible name lister.
34171 # Whether we need soft or hard links.
34174 # What is the maximum length of a command?
34175 max_cmd_len=$max_cmd_len
34177 # Object file suffix (normally "o").
34180 # Executable file suffix (normally "").
34183 # whether the shell understands "unset".
34186 # turn spaces into newlines.
34189 # turn newlines into spaces.
34192 # convert \$build file names to \$host format.
34193 to_host_file_cmd=$lt_cv_to_host_file_cmd
34195 # convert \$build files to toolchain format.
34196 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
34198 # Method to check whether dependent libraries are shared objects.
34199 deplibs_check_method=$lt_deplibs_check_method
34201 # Command to use when deplibs_check_method = "file_magic".
34202 file_magic_cmd=$lt_file_magic_cmd
34204 # How to find potential files when deplibs_check_method = "file_magic".
34205 file_magic_glob=$lt_file_magic_glob
34207 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
34208 want_nocaseglob=$lt_want_nocaseglob
34210 # Command to associate shared and link libraries.
34211 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
34216 # Flags to create an archive.
34217 AR_FLAGS=$lt_AR_FLAGS
34219 # How to feed a file listing to the archiver.
34220 archiver_list_spec=$lt_archiver_list_spec
34222 # A symbol stripping program.
34225 # Commands used to install an old-style archive.
34227 old_postinstall_cmds=$lt_old_postinstall_cmds
34228 old_postuninstall_cmds=$lt_old_postuninstall_cmds
34230 # Whether to use a lock for old archive extraction.
34231 lock_old_archive_extraction=$lock_old_archive_extraction
34236 # LTCC compiler flags.
34237 LTCFLAGS=$lt_CFLAGS
34239 # Take the output of nm and produce a listing of raw symbols and C names.
34240 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
34242 # Transform the output of nm in a proper C declaration.
34243 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
34245 # Transform the output of nm in a C name address pair.
34246 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
34248 # Transform the output of nm in a C name address pair when lib prefix is needed.
34249 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
34251 # Specify filename containing input files for \$NM.
34252 nm_file_list_spec=$lt_nm_file_list_spec
34254 # The root where to search for dependent libraries,and in which our libraries should be installed.
34255 lt_sysroot=$lt_sysroot
34257 # The name of the directory that contains temporary libtool files.
34260 # Used to examine libraries when file_magic_cmd begins with "file".
34261 MAGIC_CMD=$MAGIC_CMD
34263 # Must we lock files when doing compilation?
34264 need_locks=$lt_need_locks
34267 MANIFEST_TOOL=$lt_MANIFEST_TOOL
34269 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
34270 DSYMUTIL=$lt_DSYMUTIL
34272 # Tool to change global to local symbols on Mac OS X.
34275 # Tool to manipulate fat objects and archives on Mac OS X.
34278 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
34281 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
34282 OTOOL64=$lt_OTOOL64
34284 # Old archive suffix (normally "a").
34287 # Shared library suffix (normally ".so").
34288 shrext_cmds=$lt_shrext_cmds
34290 # The commands to extract the exported symbol list from a shared archive.
34291 extract_expsyms_cmds=$lt_extract_expsyms_cmds
34293 # Variables whose values should be saved in libtool wrapper scripts and
34294 # restored at link time.
34295 variables_saved_for_relink=$lt_variables_saved_for_relink
34297 # Do we need the "lib" prefix for modules?
34298 need_lib_prefix=$need_lib_prefix
34300 # Do we need a version for libraries?
34301 need_version=$need_version
34303 # Library versioning type.
34304 version_type=$version_type
34306 # Shared library runtime path variable.
34307 runpath_var=$runpath_var
34309 # Shared library path variable.
34310 shlibpath_var=$shlibpath_var
34312 # Is shlibpath searched before the hard-coded library search path?
34313 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
34315 # Format of library name prefix.
34316 libname_spec=$lt_libname_spec
34318 # List of archive names. First name is the real one, the rest are links.
34319 # The last name is the one that the linker finds with -lNAME
34320 library_names_spec=$lt_library_names_spec
34322 # The coded name of the library, if different from the real name.
34323 soname_spec=$lt_soname_spec
34325 # Permission mode override for installation of shared libraries.
34326 install_override_mode=$lt_install_override_mode
34328 # Command to use after installation of a shared archive.
34329 postinstall_cmds=$lt_postinstall_cmds
34331 # Command to use after uninstallation of a shared archive.
34332 postuninstall_cmds=$lt_postuninstall_cmds
34334 # Commands used to finish a libtool library installation in a directory.
34335 finish_cmds=$lt_finish_cmds
34337 # As "finish_cmds", except a single script fragment to be evaled but
34339 finish_eval=$lt_finish_eval
34341 # Whether we should hardcode library paths into libraries.
34342 hardcode_into_libs=$hardcode_into_libs
34344 # Compile-time system search path for libraries.
34345 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
34347 # Run-time system search path for libraries.
34348 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
34350 # Whether dlopen is supported.
34351 dlopen_support=$enable_dlopen
34353 # Whether dlopen of programs is supported.
34354 dlopen_self=$enable_dlopen_self
34356 # Whether dlopen of statically linked programs is supported.
34357 dlopen_self_static=$enable_dlopen_self_static
34359 # Commands to strip libraries.
34360 old_striplib=$lt_old_striplib
34361 striplib=$lt_striplib
34364 # The linker used to build libraries.
34367 # How to create reloadable object files.
34368 reload_flag=$lt_reload_flag
34369 reload_cmds=$lt_reload_cmds
34371 # Commands used to build an old-style archive.
34372 old_archive_cmds=$lt_old_archive_cmds
34374 # A language specific compiler.
34377 # Is the compiler the GNU compiler?
34380 # Compiler flag to turn off builtin functions.
34381 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
34383 # Additional compiler flags for building library objects.
34384 pic_flag=$lt_lt_prog_compiler_pic
34386 # How to pass a linker flag through the compiler.
34387 wl=$lt_lt_prog_compiler_wl
34389 # Compiler flag to prevent dynamic linking.
34390 link_static_flag=$lt_lt_prog_compiler_static
34392 # Does compiler simultaneously support -c and -o options?
34393 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
34395 # Whether or not to add -lc for building shared libraries.
34396 build_libtool_need_lc=$archive_cmds_need_lc
34398 # Whether or not to disallow shared libs when runtime libs are static.
34399 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
34401 # Compiler flag to allow reflexive dlopens.
34402 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
34404 # Compiler flag to generate shared objects directly from archives.
34405 whole_archive_flag_spec=$lt_whole_archive_flag_spec
34407 # Whether the compiler copes with passing no objects directly.
34408 compiler_needs_object=$lt_compiler_needs_object
34410 # Create an old-style archive from a shared archive.
34411 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
34413 # Create a temporary old-style archive to link instead of a shared archive.
34414 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
34416 # Commands used to build a shared archive.
34417 archive_cmds=$lt_archive_cmds
34418 archive_expsym_cmds=$lt_archive_expsym_cmds
34420 # Commands used to build a loadable module if different from building
34421 # a shared archive.
34422 module_cmds=$lt_module_cmds
34423 module_expsym_cmds=$lt_module_expsym_cmds
34425 # Whether we are building with GNU ld or not.
34426 with_gnu_ld=$lt_with_gnu_ld
34428 # Flag that allows shared libraries with undefined symbols to be built.
34429 allow_undefined_flag=$lt_allow_undefined_flag
34431 # Flag that enforces no undefined symbols.
34432 no_undefined_flag=$lt_no_undefined_flag
34434 # Flag to hardcode \$libdir into a binary during linking.
34435 # This must work even if \$libdir does not exist
34436 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
34438 # Whether we need a single "-rpath" flag with a separated argument.
34439 hardcode_libdir_separator=$lt_hardcode_libdir_separator
34441 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34442 # DIR into the resulting binary.
34443 hardcode_direct=$hardcode_direct
34445 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34446 # DIR into the resulting binary and the resulting library dependency is
34447 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34448 # library is relocated.
34449 hardcode_direct_absolute=$hardcode_direct_absolute
34451 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34452 # into the resulting binary.
34453 hardcode_minus_L=$hardcode_minus_L
34455 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34456 # into the resulting binary.
34457 hardcode_shlibpath_var=$hardcode_shlibpath_var
34459 # Set to "yes" if building a shared library automatically hardcodes DIR
34460 # into the library and all subsequent libraries and executables linked
34462 hardcode_automatic=$hardcode_automatic
34464 # Set to yes if linker adds runtime paths of dependent libraries
34465 # to runtime path list.
34466 inherit_rpath=$inherit_rpath
34468 # Whether libtool must link a program against all its dependency libraries.
34469 link_all_deplibs=$link_all_deplibs
34471 # Set to "yes" if exported symbols are required.
34472 always_export_symbols=$always_export_symbols
34474 # The commands to list exported symbols.
34475 export_symbols_cmds=$lt_export_symbols_cmds
34477 # Symbols that should not be listed in the preloaded symbols.
34478 exclude_expsyms=$lt_exclude_expsyms
34480 # Symbols that must always be exported.
34481 include_expsyms=$lt_include_expsyms
34483 # Commands necessary for linking programs (against libraries) with templates.
34484 prelink_cmds=$lt_prelink_cmds
34486 # Commands necessary for finishing linking programs.
34487 postlink_cmds=$lt_postlink_cmds
34489 # Specify filename containing input files.
34490 file_list_spec=$lt_file_list_spec
34492 # How to hardcode a shared library path into an executable.
34493 hardcode_action=$hardcode_action
34495 # The directories searched by this compiler when creating a shared library.
34496 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
34498 # Dependencies to place before and after the objects being linked to
34499 # create a shared library.
34500 predep_objects=$lt_predep_objects
34501 postdep_objects=$lt_postdep_objects
34502 predeps=$lt_predeps
34503 postdeps=$lt_postdeps
34505 # The library search path used internally by the compiler when linking
34506 # a shared library.
34507 compiler_lib_search_path=$lt_compiler_lib_search_path
34509 # ### END LIBTOOL CONFIG
34515 cat <<\_LT_EOF >> "$cfgfile"
34516 # AIX sometimes has problems with the GCC collect2 program. For some
34517 # reason, if we set the COLLECT_NAMES environment variable, the problems
34518 # vanish in a puff of smoke.
34519 if test "X${COLLECT_NAMES+set}" != Xset; then
34521 export COLLECT_NAMES
34528 ltmain="$ac_aux_dir/ltmain.sh"
34531 # We use sed instead of cat because bash on DJGPP gets confused if
34532 # if finds mixed CR/LF and LF-only lines. Since sed operates in
34533 # text mode, it properly converts lines to CR/LF. This bash problem
34534 # is reportedly fixed, but why not run on old versions too?
34535 sed '$q' "$ltmain" >> "$cfgfile" \
34536 || (rm -f "$cfgfile"; exit 1)
34538 if test x"$xsi_shell" = xyes; then
34539 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
34543 \ */*) func_dirname_result="${1%/*}${2}" ;;\
34544 \ * ) func_dirname_result="${3}" ;;\
34546 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
34547 && mv -f "$cfgfile.tmp" "$cfgfile" \
34548 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34549 test 0 -eq $? || _lt_function_replace_fail=:
34552 sed -e '/^func_basename ()$/,/^} # func_basename /c\
34555 \ func_basename_result="${1##*/}"\
34556 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
34557 && mv -f "$cfgfile.tmp" "$cfgfile" \
34558 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34559 test 0 -eq $? || _lt_function_replace_fail=:
34562 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
34563 func_dirname_and_basename ()\
34566 \ */*) func_dirname_result="${1%/*}${2}" ;;\
34567 \ * ) func_dirname_result="${3}" ;;\
34569 \ func_basename_result="${1##*/}"\
34570 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
34571 && mv -f "$cfgfile.tmp" "$cfgfile" \
34572 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34573 test 0 -eq $? || _lt_function_replace_fail=:
34576 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
34579 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
34580 \ # positional parameters, so assign one to ordinary parameter first.\
34581 \ func_stripname_result=${3}\
34582 \ func_stripname_result=${func_stripname_result#"${1}"}\
34583 \ func_stripname_result=${func_stripname_result%"${2}"}\
34584 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
34585 && mv -f "$cfgfile.tmp" "$cfgfile" \
34586 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34587 test 0 -eq $? || _lt_function_replace_fail=:
34590 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
34591 func_split_long_opt ()\
34593 \ func_split_long_opt_name=${1%%=*}\
34594 \ func_split_long_opt_arg=${1#*=}\
34595 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
34596 && mv -f "$cfgfile.tmp" "$cfgfile" \
34597 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34598 test 0 -eq $? || _lt_function_replace_fail=:
34601 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
34602 func_split_short_opt ()\
34604 \ func_split_short_opt_arg=${1#??}\
34605 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
34606 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
34607 && mv -f "$cfgfile.tmp" "$cfgfile" \
34608 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34609 test 0 -eq $? || _lt_function_replace_fail=:
34612 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
34616 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
34617 \ *) func_lo2o_result=${1} ;;\
34619 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
34620 && mv -f "$cfgfile.tmp" "$cfgfile" \
34621 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34622 test 0 -eq $? || _lt_function_replace_fail=:
34625 sed -e '/^func_xform ()$/,/^} # func_xform /c\
34628 func_xform_result=${1%.*}.lo\
34629 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
34630 && mv -f "$cfgfile.tmp" "$cfgfile" \
34631 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34632 test 0 -eq $? || _lt_function_replace_fail=:
34635 sed -e '/^func_arith ()$/,/^} # func_arith /c\
34638 func_arith_result=$(( $* ))\
34639 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
34640 && mv -f "$cfgfile.tmp" "$cfgfile" \
34641 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34642 test 0 -eq $? || _lt_function_replace_fail=:
34645 sed -e '/^func_len ()$/,/^} # func_len /c\
34648 func_len_result=${#1}\
34649 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
34650 && mv -f "$cfgfile.tmp" "$cfgfile" \
34651 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34652 test 0 -eq $? || _lt_function_replace_fail=:
34656 if test x"$lt_shell_append" = xyes; then
34657 sed -e '/^func_append ()$/,/^} # func_append /c\
34660 eval "${1}+=\\${2}"\
34661 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
34662 && mv -f "$cfgfile.tmp" "$cfgfile" \
34663 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34664 test 0 -eq $? || _lt_function_replace_fail=:
34667 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
34668 func_append_quoted ()\
34670 \ func_quote_for_eval "${2}"\
34671 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
34672 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
34673 && mv -f "$cfgfile.tmp" "$cfgfile" \
34674 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34675 test 0 -eq $? || _lt_function_replace_fail=:
34678 # Save a `func_append' function call where possible by direct use of '+='
34679 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
34680 && mv -f "$cfgfile.tmp" "$cfgfile" \
34681 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34682 test 0 -eq $? || _lt_function_replace_fail=:
34684 # Save a `func_append' function call even when '+=' is not available
34685 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
34686 && mv -f "$cfgfile.tmp" "$cfgfile" \
34687 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
34688 test 0 -eq $? || _lt_function_replace_fail=:
34691 if test x"$_lt_function_replace_fail" = x":"; then
34692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
34693 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
34697 mv -f "$cfgfile" "$ofile" ||
34698 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
34702 cat <<_LT_EOF >> "$ofile"
34704 # ### BEGIN LIBTOOL TAG CONFIG: CXX
34706 # The linker used to build libraries.
34709 # How to create reloadable object files.
34710 reload_flag=$lt_reload_flag_CXX
34711 reload_cmds=$lt_reload_cmds_CXX
34713 # Commands used to build an old-style archive.
34714 old_archive_cmds=$lt_old_archive_cmds_CXX
34716 # A language specific compiler.
34717 CC=$lt_compiler_CXX
34719 # Is the compiler the GNU compiler?
34722 # Compiler flag to turn off builtin functions.
34723 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
34725 # Additional compiler flags for building library objects.
34726 pic_flag=$lt_lt_prog_compiler_pic_CXX
34728 # How to pass a linker flag through the compiler.
34729 wl=$lt_lt_prog_compiler_wl_CXX
34731 # Compiler flag to prevent dynamic linking.
34732 link_static_flag=$lt_lt_prog_compiler_static_CXX
34734 # Does compiler simultaneously support -c and -o options?
34735 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
34737 # Whether or not to add -lc for building shared libraries.
34738 build_libtool_need_lc=$archive_cmds_need_lc_CXX
34740 # Whether or not to disallow shared libs when runtime libs are static.
34741 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
34743 # Compiler flag to allow reflexive dlopens.
34744 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
34746 # Compiler flag to generate shared objects directly from archives.
34747 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
34749 # Whether the compiler copes with passing no objects directly.
34750 compiler_needs_object=$lt_compiler_needs_object_CXX
34752 # Create an old-style archive from a shared archive.
34753 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
34755 # Create a temporary old-style archive to link instead of a shared archive.
34756 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
34758 # Commands used to build a shared archive.
34759 archive_cmds=$lt_archive_cmds_CXX
34760 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
34762 # Commands used to build a loadable module if different from building
34763 # a shared archive.
34764 module_cmds=$lt_module_cmds_CXX
34765 module_expsym_cmds=$lt_module_expsym_cmds_CXX
34767 # Whether we are building with GNU ld or not.
34768 with_gnu_ld=$lt_with_gnu_ld_CXX
34770 # Flag that allows shared libraries with undefined symbols to be built.
34771 allow_undefined_flag=$lt_allow_undefined_flag_CXX
34773 # Flag that enforces no undefined symbols.
34774 no_undefined_flag=$lt_no_undefined_flag_CXX
34776 # Flag to hardcode \$libdir into a binary during linking.
34777 # This must work even if \$libdir does not exist
34778 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
34780 # Whether we need a single "-rpath" flag with a separated argument.
34781 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
34783 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34784 # DIR into the resulting binary.
34785 hardcode_direct=$hardcode_direct_CXX
34787 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34788 # DIR into the resulting binary and the resulting library dependency is
34789 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34790 # library is relocated.
34791 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
34793 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34794 # into the resulting binary.
34795 hardcode_minus_L=$hardcode_minus_L_CXX
34797 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34798 # into the resulting binary.
34799 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
34801 # Set to "yes" if building a shared library automatically hardcodes DIR
34802 # into the library and all subsequent libraries and executables linked
34804 hardcode_automatic=$hardcode_automatic_CXX
34806 # Set to yes if linker adds runtime paths of dependent libraries
34807 # to runtime path list.
34808 inherit_rpath=$inherit_rpath_CXX
34810 # Whether libtool must link a program against all its dependency libraries.
34811 link_all_deplibs=$link_all_deplibs_CXX
34813 # Set to "yes" if exported symbols are required.
34814 always_export_symbols=$always_export_symbols_CXX
34816 # The commands to list exported symbols.
34817 export_symbols_cmds=$lt_export_symbols_cmds_CXX
34819 # Symbols that should not be listed in the preloaded symbols.
34820 exclude_expsyms=$lt_exclude_expsyms_CXX
34822 # Symbols that must always be exported.
34823 include_expsyms=$lt_include_expsyms_CXX
34825 # Commands necessary for linking programs (against libraries) with templates.
34826 prelink_cmds=$lt_prelink_cmds_CXX
34828 # Commands necessary for finishing linking programs.
34829 postlink_cmds=$lt_postlink_cmds_CXX
34831 # Specify filename containing input files.
34832 file_list_spec=$lt_file_list_spec_CXX
34834 # How to hardcode a shared library path into an executable.
34835 hardcode_action=$hardcode_action_CXX
34837 # The directories searched by this compiler when creating a shared library.
34838 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
34840 # Dependencies to place before and after the objects being linked to
34841 # create a shared library.
34842 predep_objects=$lt_predep_objects_CXX
34843 postdep_objects=$lt_postdep_objects_CXX
34844 predeps=$lt_predeps_CXX
34845 postdeps=$lt_postdeps_CXX
34847 # The library search path used internally by the compiler when linking
34848 # a shared library.
34849 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
34851 # ### END LIBTOOL TAG CONFIG: CXX
34855 "po-directories":C)
34856 for ac_file in $CONFIG_FILES; do
34857 # Support "outfile[:infile[:infile...]]"
34859 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
34861 # PO directories have a Makefile.in generated from Makefile.in.in.
34862 case "$ac_file" in */Makefile.in)
34863 # Adjust a relative srcdir.
34864 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
34865 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
34866 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
34867 # In autoconf-2.13 it is called $ac_given_srcdir.
34868 # In autoconf-2.50 it is called $srcdir.
34869 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
34870 case "$ac_given_srcdir" in
34871 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
34872 /*) top_srcdir="$ac_given_srcdir" ;;
34873 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
34875 # Treat a directory as a PO directory if and only if it has a
34876 # POTFILES.in file. This allows packages to have multiple PO
34877 # directories under different names or in different locations.
34878 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
34879 rm -f "$ac_dir/POTFILES"
34880 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
34881 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
34882 POMAKEFILEDEPS="POTFILES.in"
34883 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
34884 # on $ac_dir but don't depend on user-specified configuration
34886 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
34887 # The LINGUAS file contains the set of available languages.
34888 if test -n "$OBSOLETE_ALL_LINGUAS"; then
34889 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
34891 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
34892 # Hide the ALL_LINGUAS assigment from automake < 1.5.
34893 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
34894 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
34896 # The set of available languages was given in configure.in.
34897 # Hide the ALL_LINGUAS assigment from automake < 1.5.
34898 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
34901 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
34902 # Compute UPDATEPOFILES
34903 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
34904 # Compute DUMMYPOFILES
34905 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
34907 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
34908 case "$ac_given_srcdir" in
34910 *) srcdirpre='$(srcdir)/' ;;
34916 for lang in $ALL_LINGUAS; do
34917 POFILES="$POFILES $srcdirpre$lang.po"
34918 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
34919 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
34920 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
34922 # CATALOGS depends on both $ac_dir and the user's LINGUAS
34923 # environment variable.
34925 if test -n "$ALL_LINGUAS"; then
34926 for presentlang in $ALL_LINGUAS; do
34928 if test "%UNSET%" != "$LINGUAS"; then
34929 desiredlanguages="$LINGUAS"
34931 desiredlanguages="$ALL_LINGUAS"
34933 for desiredlang in $desiredlanguages; do
34934 # Use the presentlang catalog if desiredlang is
34935 # a. equal to presentlang, or
34936 # b. a variant of presentlang (because in this case,
34937 # presentlang can be used as a fallback for messages
34938 # which are not translated in the desiredlang catalog).
34939 case "$desiredlang" in
34940 "$presentlang"*) useit=yes;;
34943 if test $useit = yes; then
34944 INST_LINGUAS="$INST_LINGUAS $presentlang"
34949 if test -n "$INST_LINGUAS"; then
34950 for lang in $INST_LINGUAS; do
34951 CATALOGS="$CATALOGS $lang.gmo"
34954 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
34955 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"
34956 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
34957 if test -f "$f"; then
34959 *.orig | *.bak | *~) ;;
34960 *) cat "$f" >> "$ac_dir/Makefile" ;;
34969 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
34970 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
34971 ac_stdint=$tmp/_stdint.h
34973 echo "#ifndef" $_ac_stdint_h >$ac_stdint
34974 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
34975 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
34976 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
34977 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
34978 if test "_$ac_cv_header_stdint_t" != "_" ; then
34979 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
34980 echo "#include <stdint.h>" >>$ac_stdint
34981 echo "#endif" >>$ac_stdint
34982 echo "#endif" >>$ac_stdint
34985 cat >>$ac_stdint <<STDINT_EOF
34987 /* ................... shortcircuit part ........................... */
34989 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
34990 #include <stdint.h>
34992 #include <stddef.h>
34994 /* .................... configured part ............................ */
34998 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
34999 if test "_$ac_cv_header_stdint_x" != "_" ; then
35000 ac_header="$ac_cv_header_stdint_x"
35001 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
35003 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
35006 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
35007 if test "_$ac_cv_header_stdint_o" != "_" ; then
35008 ac_header="$ac_cv_header_stdint_o"
35009 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
35011 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
35014 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
35015 if test "_$ac_cv_header_stdint_u" != "_" ; then
35016 ac_header="$ac_cv_header_stdint_u"
35017 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
35019 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
35022 echo "" >>$ac_stdint
35024 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
35025 echo "#include <$ac_header>" >>$ac_stdint
35026 echo "" >>$ac_stdint
35029 echo "/* which 64bit typedef has been found */" >>$ac_stdint
35030 if test "$ac_cv_type_uint64_t" = "yes" ; then
35031 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
35033 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
35035 if test "$ac_cv_type_u_int64_t" = "yes" ; then
35036 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
35038 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
35040 echo "" >>$ac_stdint
35042 echo "/* which type model has been detected */" >>$ac_stdint
35043 if test "_$ac_cv_char_data_model" != "_" ; then
35044 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
35045 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
35047 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
35048 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
35050 echo "" >>$ac_stdint
35052 echo "/* whether int_least types were detected */" >>$ac_stdint
35053 if test "$ac_cv_type_int_least32_t" = "yes"; then
35054 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
35056 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
35058 echo "/* whether int_fast types were detected */" >>$ac_stdint
35059 if test "$ac_cv_type_int_fast32_t" = "yes"; then
35060 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
35062 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
35064 echo "/* whether intmax_t type was detected */" >>$ac_stdint
35065 if test "$ac_cv_type_intmax_t" = "yes"; then
35066 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
35068 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
35070 echo "" >>$ac_stdint
35072 cat >>$ac_stdint <<STDINT_EOF
35073 /* .................... detections part ............................ */
35075 /* whether we need to define bitspecific types from compiler base types */
35076 #ifndef _STDINT_HEADER_INTPTR
35077 #ifndef _STDINT_HEADER_UINT32
35078 #ifndef _STDINT_HEADER_U_INT32
35079 #define _STDINT_NEED_INT_MODEL_T
35081 #define _STDINT_HAVE_U_INT_TYPES
35086 #ifdef _STDINT_HAVE_U_INT_TYPES
35087 #undef _STDINT_NEED_INT_MODEL_T
35090 #ifdef _STDINT_CHAR_MODEL
35091 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
35092 #ifndef _STDINT_BYTE_MODEL
35093 #define _STDINT_BYTE_MODEL 12
35098 #ifndef _STDINT_HAVE_INT_LEAST32_T
35099 #define _STDINT_NEED_INT_LEAST_T
35102 #ifndef _STDINT_HAVE_INT_FAST32_T
35103 #define _STDINT_NEED_INT_FAST_T
35106 #ifndef _STDINT_HEADER_INTPTR
35107 #define _STDINT_NEED_INTPTR_T
35108 #ifndef _STDINT_HAVE_INTMAX_T
35109 #define _STDINT_NEED_INTMAX_T
35114 /* .................... definition part ............................ */
35116 /* some system headers have good uint64_t */
35117 #ifndef _HAVE_UINT64_T
35118 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
35119 #define _HAVE_UINT64_T
35120 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
35121 #define _HAVE_UINT64_T
35122 typedef u_int64_t uint64_t;
35126 #ifndef _HAVE_UINT64_T
35127 /* .. here are some common heuristics using compiler runtime specifics */
35128 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
35129 #define _HAVE_UINT64_T
35130 #define _HAVE_LONGLONG_UINT64_T
35131 typedef long long int64_t;
35132 typedef unsigned long long uint64_t;
35134 #elif !defined __STRICT_ANSI__
35135 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
35136 #define _HAVE_UINT64_T
35137 typedef __int64 int64_t;
35138 typedef unsigned __int64 uint64_t;
35140 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
35141 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
35142 #if !defined _NO_LONGLONG
35143 #define _HAVE_UINT64_T
35144 #define _HAVE_LONGLONG_UINT64_T
35145 typedef long long int64_t;
35146 typedef unsigned long long uint64_t;
35149 #elif defined __alpha || (defined __mips && defined _ABIN32)
35150 #if !defined _NO_LONGLONG
35151 typedef long int64_t;
35152 typedef unsigned long uint64_t;
35154 /* compiler/cpu type to define int64_t */
35159 #if defined _STDINT_HAVE_U_INT_TYPES
35160 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
35161 typedef u_int8_t uint8_t;
35162 typedef u_int16_t uint16_t;
35163 typedef u_int32_t uint32_t;
35165 /* glibc compatibility */
35166 #ifndef __int8_t_defined
35167 #define __int8_t_defined
35171 #ifdef _STDINT_NEED_INT_MODEL_T
35172 /* we must guess all the basic types. Apart from byte-adressable system, */
35173 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
35174 /* (btw, those nibble-addressable systems are way off, or so we assume) */
35177 #if defined _STDINT_BYTE_MODEL
35178 #if _STDINT_LONG_MODEL+0 == 242
35179 /* 2:4:2 = IP16 = a normal 16-bit system */
35180 typedef unsigned char uint8_t;
35181 typedef unsigned short uint16_t;
35182 typedef unsigned long uint32_t;
35183 #ifndef __int8_t_defined
35184 #define __int8_t_defined
35185 typedef char int8_t;
35186 typedef short int16_t;
35187 typedef long int32_t;
35189 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
35190 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
35191 /* 4:4:4 = ILP32 = a normal 32-bit system */
35192 typedef unsigned char uint8_t;
35193 typedef unsigned short uint16_t;
35194 typedef unsigned int uint32_t;
35195 #ifndef __int8_t_defined
35196 #define __int8_t_defined
35197 typedef char int8_t;
35198 typedef short int16_t;
35199 typedef int int32_t;
35201 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
35202 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
35203 /* 4:8:8 = LP64 = a normal 64-bit system */
35204 typedef unsigned char uint8_t;
35205 typedef unsigned short uint16_t;
35206 typedef unsigned int uint32_t;
35207 #ifndef __int8_t_defined
35208 #define __int8_t_defined
35209 typedef char int8_t;
35210 typedef short int16_t;
35211 typedef int int32_t;
35213 /* this system has a "long" of 64bit */
35214 #ifndef _HAVE_UINT64_T
35215 #define _HAVE_UINT64_T
35216 typedef unsigned long uint64_t;
35217 typedef long int64_t;
35219 #elif _STDINT_LONG_MODEL+0 == 448
35220 /* LLP64 a 64-bit system derived from a 32-bit system */
35221 typedef unsigned char uint8_t;
35222 typedef unsigned short uint16_t;
35223 typedef unsigned int uint32_t;
35224 #ifndef __int8_t_defined
35225 #define __int8_t_defined
35226 typedef char int8_t;
35227 typedef short int16_t;
35228 typedef int int32_t;
35230 /* assuming the system has a "long long" */
35231 #ifndef _HAVE_UINT64_T
35232 #define _HAVE_UINT64_T
35233 #define _HAVE_LONGLONG_UINT64_T
35234 typedef unsigned long long uint64_t;
35235 typedef long long int64_t;
35238 #define _STDINT_NO_INT32_T
35241 #define _STDINT_NO_INT8_T
35242 #define _STDINT_NO_INT32_T
35247 * quote from SunOS-5.8 sys/inttypes.h:
35248 * Use at your own risk. As of February 1996, the committee is squarely
35249 * behind the fixed sized types; the "least" and "fast" types are still being
35250 * discussed. The probability that the "fast" types may be removed before
35251 * the standard is finalized is high enough that they are not currently
35255 #if defined _STDINT_NEED_INT_LEAST_T
35256 typedef int8_t int_least8_t;
35257 typedef int16_t int_least16_t;
35258 typedef int32_t int_least32_t;
35259 #ifdef _HAVE_UINT64_T
35260 typedef int64_t int_least64_t;
35263 typedef uint8_t uint_least8_t;
35264 typedef uint16_t uint_least16_t;
35265 typedef uint32_t uint_least32_t;
35266 #ifdef _HAVE_UINT64_T
35267 typedef uint64_t uint_least64_t;
35272 #if defined _STDINT_NEED_INT_FAST_T
35273 typedef int8_t int_fast8_t;
35274 typedef int int_fast16_t;
35275 typedef int32_t int_fast32_t;
35276 #ifdef _HAVE_UINT64_T
35277 typedef int64_t int_fast64_t;
35280 typedef uint8_t uint_fast8_t;
35281 typedef unsigned uint_fast16_t;
35282 typedef uint32_t uint_fast32_t;
35283 #ifdef _HAVE_UINT64_T
35284 typedef uint64_t uint_fast64_t;
35289 #ifdef _STDINT_NEED_INTMAX_T
35290 #ifdef _HAVE_UINT64_T
35291 typedef int64_t intmax_t;
35292 typedef uint64_t uintmax_t;
35294 typedef long intmax_t;
35295 typedef unsigned long uintmax_t;
35299 #ifdef _STDINT_NEED_INTPTR_T
35300 #ifndef __intptr_t_defined
35301 #define __intptr_t_defined
35302 /* we encourage using "long" to store pointer values, never use "int" ! */
35303 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
35304 typedef unsigned int uintptr_t;
35305 typedef int intptr_t;
35306 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
35307 typedef unsigned long uintptr_t;
35308 typedef long intptr_t;
35309 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
35310 typedef uint64_t uintptr_t;
35311 typedef int64_t intptr_t;
35312 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
35313 typedef unsigned long uintptr_t;
35314 typedef long intptr_t;
35319 /* The ISO C99 standard specifies that in C++ implementations these
35320 should only be defined if explicitly requested. */
35321 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
35325 # define INT8_C(c) c
35326 # define INT16_C(c) c
35327 # define INT32_C(c) c
35328 # ifdef _HAVE_LONGLONG_UINT64_T
35329 # define INT64_C(c) c ## L
35331 # define INT64_C(c) c ## LL
35335 # define UINT8_C(c) c ## U
35336 # define UINT16_C(c) c ## U
35337 # define UINT32_C(c) c ## U
35338 # ifdef _HAVE_LONGLONG_UINT64_T
35339 # define UINT64_C(c) c ## UL
35341 # define UINT64_C(c) c ## ULL
35344 /* Maximal type. */
35345 # ifdef _HAVE_LONGLONG_UINT64_T
35346 # define INTMAX_C(c) c ## L
35347 # define UINTMAX_C(c) c ## UL
35349 # define INTMAX_C(c) c ## LL
35350 # define UINTMAX_C(c) c ## ULL
35353 /* literalnumbers */
35357 /* These limits are merily those of a two complement byte-oriented system */
35359 /* Minimum of signed integral types. */
35360 # define INT8_MIN (-128)
35361 # define INT16_MIN (-32767-1)
35362 # define INT32_MIN (-2147483647-1)
35363 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
35364 /* Maximum of signed integral types. */
35365 # define INT8_MAX (127)
35366 # define INT16_MAX (32767)
35367 # define INT32_MAX (2147483647)
35368 # define INT64_MAX (__INT64_C(9223372036854775807))
35370 /* Maximum of unsigned integral types. */
35371 # define UINT8_MAX (255)
35372 # define UINT16_MAX (65535)
35373 # define UINT32_MAX (4294967295U)
35374 # define UINT64_MAX (__UINT64_C(18446744073709551615))
35376 /* Minimum of signed integral types having a minimum size. */
35377 # define INT_LEAST8_MIN INT8_MIN
35378 # define INT_LEAST16_MIN INT16_MIN
35379 # define INT_LEAST32_MIN INT32_MIN
35380 # define INT_LEAST64_MIN INT64_MIN
35381 /* Maximum of signed integral types having a minimum size. */
35382 # define INT_LEAST8_MAX INT8_MAX
35383 # define INT_LEAST16_MAX INT16_MAX
35384 # define INT_LEAST32_MAX INT32_MAX
35385 # define INT_LEAST64_MAX INT64_MAX
35387 /* Maximum of unsigned integral types having a minimum size. */
35388 # define UINT_LEAST8_MAX UINT8_MAX
35389 # define UINT_LEAST16_MAX UINT16_MAX
35390 # define UINT_LEAST32_MAX UINT32_MAX
35391 # define UINT_LEAST64_MAX UINT64_MAX
35400 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
35401 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
35402 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
35404 ac_dir=`$as_dirname -- "$ac_stdint_h" ||
35405 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35406 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
35407 X"$ac_stdint_h" : 'X\(//\)$' \| \
35408 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
35409 $as_echo X"$ac_stdint_h" |
35410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
35414 /^X\(\/\/\)[^/].*/{
35427 as_dir="$ac_dir"; as_fn_mkdir_p
35429 mv $ac_stdint $ac_stdint_h
35439 ac_clean_files=$ac_clean_files_save
35441 test $ac_write_fail = 0 ||
35442 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
35445 # configure is writing to config.log, and then calls config.status.
35446 # config.status does its own redirection, appending to config.log.
35447 # Unfortunately, on DOS this fails, as config.log is still kept open
35448 # by configure, so config.status won't be able to write to it; its
35449 # output is simply discarded. So we exec the FD to /dev/null,
35450 # effectively closing config.log, so it can be properly (re)opened and
35451 # appended to by config.status. When coming back to configure, we
35452 # need to make the FD available again.
35453 if test "$no_create" != yes; then
35455 ac_config_status_args=
35456 test "$silent" = yes &&
35457 ac_config_status_args="$ac_config_status_args --quiet"
35459 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
35461 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35462 # would make configure fail if this is the last instruction.
35463 $ac_cs_success || as_fn_exit 1
35465 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
35466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
35467 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
35473 printf "configure: *** Plug-ins without external dependencies that will be built:\n"
35474 ( for i in $GST_PLUGINS_SELECTED; do printf '\t'$i'\n'; done ) | sort
35477 printf "configure: *** Plug-ins without external dependencies that will NOT be built:\n"
35478 ( for i in $GST_PLUGINS_ALL; do
35479 case " $GST_PLUGINS_SELECTED " in
35489 if test "x$BUILD_EXTERNAL" = "xno"; then
35490 printf "configure: *** No plug-ins with external dependencies will be built\n"
35492 printf "configure: *** Plug-ins with dependencies that will be built:"
35493 printf "$GST_PLUGINS_YES\n" | sort
35495 printf "configure: *** Plug-ins with dependencies that will NOT be built:"
35496 printf "$GST_PLUGINS_NO\n" | sort
35501 if test "$HAVE_ORC" = yes ; then
35502 printf "configure: *** Orc acceleration enabled.\n"
35504 if test "x$enable_orc" = "xno" ; then
35505 printf "configure: *** Orc acceleration disabled by --disable-orc. Slower code paths\n"
35506 printf " will be used.\n"
35508 printf "configure: *** Orc acceleration disabled. Requires Orc >= $ORC_REQ, which was\n"
35509 printf " not found. Slower code paths will be used.\n"