2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for GStreamer Good Plug-ins 0.10.31.
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 Good Plug-ins'
573 PACKAGE_TARNAME='gst-plugins-good'
574 PACKAGE_VERSION='0.10.31'
575 PACKAGE_STRING='GStreamer Good Plug-ins 0.10.31'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
579 ac_unique_file="gst/law/alaw.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
618 ac_subst_vars='am__EXEEXT_FALSE
660 USE_LIBIEC61883_FALSE
724 USE_CAIRO_GOBJECT_FALSE
725 USE_CAIRO_GOBJECT_TRUE
776 USE_DIRECTSOUND_FALSE
785 USE_PLUGIN_WAVPARSE_FALSE
786 USE_PLUGIN_WAVPARSE_TRUE
787 USE_PLUGIN_WAVENC_FALSE
788 USE_PLUGIN_WAVENC_TRUE
789 USE_PLUGIN_VIDEOMIXER_FALSE
790 USE_PLUGIN_VIDEOMIXER_TRUE
791 USE_PLUGIN_VIDEOCROP_FALSE
792 USE_PLUGIN_VIDEOCROP_TRUE
793 USE_PLUGIN_VIDEOBOX_FALSE
794 USE_PLUGIN_VIDEOBOX_TRUE
797 USE_PLUGIN_SPECTRUM_FALSE
798 USE_PLUGIN_SPECTRUM_TRUE
799 USE_PLUGIN_SMPTE_FALSE
800 USE_PLUGIN_SMPTE_TRUE
801 USE_PLUGIN_SHAPEWIPE_FALSE
802 USE_PLUGIN_SHAPEWIPE_TRUE
803 USE_PLUGIN_RTSP_FALSE
805 USE_PLUGIN_RTPMANAGER_FALSE
806 USE_PLUGIN_RTPMANAGER_TRUE
809 USE_PLUGIN_REPLAYGAIN_FALSE
810 USE_PLUGIN_REPLAYGAIN_TRUE
811 USE_PLUGIN_MULTIPART_FALSE
812 USE_PLUGIN_MULTIPART_TRUE
813 USE_PLUGIN_MULTIFILE_FALSE
814 USE_PLUGIN_MULTIFILE_TRUE
815 USE_PLUGIN_MONOSCOPE_FALSE
816 USE_PLUGIN_MONOSCOPE_TRUE
817 USE_PLUGIN_MATROSKA_FALSE
818 USE_PLUGIN_MATROSKA_TRUE
819 USE_PLUGIN_LEVEL_FALSE
820 USE_PLUGIN_LEVEL_TRUE
823 USE_PLUGIN_ISOMP4_FALSE
824 USE_PLUGIN_ISOMP4_TRUE
825 USE_PLUGIN_IMAGEFREEZE_FALSE
826 USE_PLUGIN_IMAGEFREEZE_TRUE
827 USE_PLUGIN_GOOM2K1_FALSE
828 USE_PLUGIN_GOOM2K1_TRUE
829 USE_PLUGIN_GOOM_FALSE
833 USE_PLUGIN_INTERLEAVE_FALSE
834 USE_PLUGIN_INTERLEAVE_TRUE
835 USE_PLUGIN_ICYDEMUX_FALSE
836 USE_PLUGIN_ICYDEMUX_TRUE
837 USE_PLUGIN_ID3DEMUX_FALSE
838 USE_PLUGIN_ID3DEMUX_TRUE
841 USE_PLUGIN_EQUALIZER_FALSE
842 USE_PLUGIN_EQUALIZER_TRUE
843 USE_PLUGIN_EFFECTV_FALSE
844 USE_PLUGIN_EFFECTV_TRUE
845 USE_PLUGIN_DEINTERLACE_FALSE
846 USE_PLUGIN_DEINTERLACE_TRUE
847 USE_PLUGIN_DEBUGUTILS_FALSE
848 USE_PLUGIN_DEBUGUTILS_TRUE
849 USE_PLUGIN_CUTTER_FALSE
850 USE_PLUGIN_CUTTER_TRUE
853 USE_PLUGIN_AUTODETECT_FALSE
854 USE_PLUGIN_AUTODETECT_TRUE
855 USE_PLUGIN_AUPARSE_FALSE
856 USE_PLUGIN_AUPARSE_TRUE
857 USE_PLUGIN_AUDIOPARSERS_FALSE
858 USE_PLUGIN_AUDIOPARSERS_TRUE
859 USE_PLUGIN_AUDIOFX_FALSE
860 USE_PLUGIN_AUDIOFX_TRUE
861 USE_PLUGIN_APETAG_FALSE
862 USE_PLUGIN_APETAG_TRUE
863 USE_PLUGIN_ALPHA_FALSE
864 USE_PLUGIN_ALPHA_TRUE
865 USE_PLUGIN_VIDEOFILTER_FALSE
866 USE_PLUGIN_VIDEOFILTER_TRUE
899 GST_PLUGINS_BASE_LIBS
900 GST_PLUGINS_BASE_CFLAGS
904 GST_CONTROLLER_CFLAGS
931 HAVE_WINSOCK2_H_FALSE
934 ENABLE_PLUGIN_DOCS_FALSE
935 ENABLE_PLUGIN_DOCS_TRUE
945 GTK_DOC_USE_LIBTOOL_FALSE
946 GTK_DOC_USE_LIBTOOL_TRUE
951 GCONF_SCHEMAS_INSTALL_FALSE
952 GCONF_SCHEMAS_INSTALL_TRUE
953 GCONF_SCHEMA_FILE_DIR
954 GCONF_SCHEMA_CONFIG_SOURCE
958 am__fastdepCCAS_FALSE
962 am__fastdepOBJC_FALSE
975 HAVE_CPU_CRISV32_FALSE
976 HAVE_CPU_CRISV32_TRUE
979 HAVE_CPU_X86_64_FALSE
1003 BUILD_EXPERIMENTAL_FALSE
1004 BUILD_EXPERIMENTAL_TRUE
1005 USE_EXPERIMENTAL_FALSE
1006 USE_EXPERIMENTAL_TRUE
1007 BUILD_EXTERNAL_FALSE
1011 GST_PLUGINS_SELECTED
1015 BUILD_EXAMPLES_FALSE
1017 GST_GCOV_ENABLED_FALSE
1018 GST_GCOV_ENABLED_TRUE
1037 XGETTEXT_EXTRA_OPTIONS
1045 GETTEXT_MACRO_VERSION
1090 AM_DEFAULT_VERBOSITY
1102 MAINTAINER_MODE_FALSE
1103 MAINTAINER_MODE_TRUE
1104 PACKAGE_VERSION_RELEASE
1105 PACKAGE_VERSION_NANO
1106 PACKAGE_VERSION_MICRO
1107 PACKAGE_VERSION_MINOR
1108 PACKAGE_VERSION_MAJOR
1117 INSTALL_STRIP_PROGRAM
1159 program_transform_name
1172 enable_option_checking
1173 enable_maintainer_mode
1179 enable_dependency_tracking
1189 with_libiconv_prefix
1196 with_pkg_config_path
1203 with_gconf_schema_file_dir
1204 enable_schemas_install
1207 enable_gobject_cast_checks
1212 with_default_audiosink
1213 with_default_audiosrc
1214 with_default_videosink
1215 with_default_videosrc
1216 with_default_visualizer
1274 with_aalib_exec_prefix
1278 enable_cairo_gobject
1281 with_esd_exec_prefix
1303 ac_precious_vars='build_alias
1333 GST_CONTROLLER_CFLAGS
1337 GST_PLUGINS_BASE_CFLAGS
1338 GST_PLUGINS_BASE_LIBS
1356 CAIRO_GOBJECT_CFLAGS
1402 # Initialize some variables set by options.
1404 ac_init_version=false
1405 ac_unrecognized_opts=
1406 ac_unrecognized_sep=
1407 # The variables have the same names as the options, with
1408 # dashes changed to underlines.
1409 cache_file=/dev/null
1416 program_transform_name=s,x,x,
1424 # Installation directory options.
1425 # These are left unexpanded so users can "make install exec_prefix=/foo"
1426 # and all the variables that are supposed to be based on exec_prefix
1427 # by default will actually change.
1428 # Use braces instead of parens because sh, perl, etc. also accept them.
1429 # (The list follows the same order as the GNU Coding Standards.)
1430 bindir='${exec_prefix}/bin'
1431 sbindir='${exec_prefix}/sbin'
1432 libexecdir='${exec_prefix}/libexec'
1433 datarootdir='${prefix}/share'
1434 datadir='${datarootdir}'
1435 sysconfdir='${prefix}/etc'
1436 sharedstatedir='${prefix}/com'
1437 localstatedir='${prefix}/var'
1438 includedir='${prefix}/include'
1439 oldincludedir='/usr/include'
1440 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1441 infodir='${datarootdir}/info'
1446 libdir='${exec_prefix}/lib'
1447 localedir='${datarootdir}/locale'
1448 mandir='${datarootdir}/man'
1454 # If the previous option needs an argument, assign it.
1455 if test -n "$ac_prev"; then
1456 eval $ac_prev=\$ac_option
1462 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1467 # Accept the important Cygnus configure options, so we can diagnose typos.
1469 case $ac_dashdash$ac_option in
1473 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1475 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1476 bindir=$ac_optarg ;;
1478 -build | --build | --buil | --bui | --bu)
1479 ac_prev=build_alias ;;
1480 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1481 build_alias=$ac_optarg ;;
1483 -cache-file | --cache-file | --cache-fil | --cache-fi \
1484 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1485 ac_prev=cache_file ;;
1486 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1487 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1488 cache_file=$ac_optarg ;;
1490 --config-cache | -C)
1491 cache_file=config.cache ;;
1493 -datadir | --datadir | --datadi | --datad)
1495 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1496 datadir=$ac_optarg ;;
1498 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1499 | --dataroo | --dataro | --datar)
1500 ac_prev=datarootdir ;;
1501 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1502 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1503 datarootdir=$ac_optarg ;;
1505 -disable-* | --disable-*)
1506 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1507 # Reject names that are not valid shell variable names.
1508 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1509 as_fn_error $? "invalid feature name: $ac_useropt"
1510 ac_useropt_orig=$ac_useropt
1511 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1512 case $ac_user_opts in
1514 "enable_$ac_useropt"
1516 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1517 ac_unrecognized_sep=', ';;
1519 eval enable_$ac_useropt=no ;;
1521 -docdir | --docdir | --docdi | --doc | --do)
1523 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1524 docdir=$ac_optarg ;;
1526 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1528 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1529 dvidir=$ac_optarg ;;
1531 -enable-* | --enable-*)
1532 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1533 # Reject names that are not valid shell variable names.
1534 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1535 as_fn_error $? "invalid feature name: $ac_useropt"
1536 ac_useropt_orig=$ac_useropt
1537 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1538 case $ac_user_opts in
1540 "enable_$ac_useropt"
1542 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1543 ac_unrecognized_sep=', ';;
1545 eval enable_$ac_useropt=\$ac_optarg ;;
1547 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1548 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1549 | --exec | --exe | --ex)
1550 ac_prev=exec_prefix ;;
1551 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1552 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1553 | --exec=* | --exe=* | --ex=*)
1554 exec_prefix=$ac_optarg ;;
1556 -gas | --gas | --ga | --g)
1557 # Obsolete; use --with-gas.
1560 -help | --help | --hel | --he | -h)
1561 ac_init_help=long ;;
1562 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1563 ac_init_help=recursive ;;
1564 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1565 ac_init_help=short ;;
1567 -host | --host | --hos | --ho)
1568 ac_prev=host_alias ;;
1569 -host=* | --host=* | --hos=* | --ho=*)
1570 host_alias=$ac_optarg ;;
1572 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1574 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1576 htmldir=$ac_optarg ;;
1578 -includedir | --includedir | --includedi | --included | --include \
1579 | --includ | --inclu | --incl | --inc)
1580 ac_prev=includedir ;;
1581 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1582 | --includ=* | --inclu=* | --incl=* | --inc=*)
1583 includedir=$ac_optarg ;;
1585 -infodir | --infodir | --infodi | --infod | --info | --inf)
1587 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1588 infodir=$ac_optarg ;;
1590 -libdir | --libdir | --libdi | --libd)
1592 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1593 libdir=$ac_optarg ;;
1595 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1596 | --libexe | --libex | --libe)
1597 ac_prev=libexecdir ;;
1598 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1599 | --libexe=* | --libex=* | --libe=*)
1600 libexecdir=$ac_optarg ;;
1602 -localedir | --localedir | --localedi | --localed | --locale)
1603 ac_prev=localedir ;;
1604 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1605 localedir=$ac_optarg ;;
1607 -localstatedir | --localstatedir | --localstatedi | --localstated \
1608 | --localstate | --localstat | --localsta | --localst | --locals)
1609 ac_prev=localstatedir ;;
1610 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1611 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1612 localstatedir=$ac_optarg ;;
1614 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1616 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1617 mandir=$ac_optarg ;;
1619 -nfp | --nfp | --nf)
1620 # Obsolete; use --without-fp.
1623 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1624 | --no-cr | --no-c | -n)
1627 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1628 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1631 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1632 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1633 | --oldin | --oldi | --old | --ol | --o)
1634 ac_prev=oldincludedir ;;
1635 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1636 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1637 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1638 oldincludedir=$ac_optarg ;;
1640 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1642 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1643 prefix=$ac_optarg ;;
1645 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1646 | --program-pre | --program-pr | --program-p)
1647 ac_prev=program_prefix ;;
1648 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1649 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1650 program_prefix=$ac_optarg ;;
1652 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1653 | --program-suf | --program-su | --program-s)
1654 ac_prev=program_suffix ;;
1655 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1656 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1657 program_suffix=$ac_optarg ;;
1659 -program-transform-name | --program-transform-name \
1660 | --program-transform-nam | --program-transform-na \
1661 | --program-transform-n | --program-transform- \
1662 | --program-transform | --program-transfor \
1663 | --program-transfo | --program-transf \
1664 | --program-trans | --program-tran \
1665 | --progr-tra | --program-tr | --program-t)
1666 ac_prev=program_transform_name ;;
1667 -program-transform-name=* | --program-transform-name=* \
1668 | --program-transform-nam=* | --program-transform-na=* \
1669 | --program-transform-n=* | --program-transform-=* \
1670 | --program-transform=* | --program-transfor=* \
1671 | --program-transfo=* | --program-transf=* \
1672 | --program-trans=* | --program-tran=* \
1673 | --progr-tra=* | --program-tr=* | --program-t=*)
1674 program_transform_name=$ac_optarg ;;
1676 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1678 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1679 pdfdir=$ac_optarg ;;
1681 -psdir | --psdir | --psdi | --psd | --ps)
1683 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1687 | -silent | --silent | --silen | --sile | --sil)
1690 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1692 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1694 sbindir=$ac_optarg ;;
1696 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1697 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1698 | --sharedst | --shareds | --shared | --share | --shar \
1700 ac_prev=sharedstatedir ;;
1701 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1702 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1703 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1705 sharedstatedir=$ac_optarg ;;
1707 -site | --site | --sit)
1709 -site=* | --site=* | --sit=*)
1712 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1714 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1715 srcdir=$ac_optarg ;;
1717 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1718 | --syscon | --sysco | --sysc | --sys | --sy)
1719 ac_prev=sysconfdir ;;
1720 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1721 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1722 sysconfdir=$ac_optarg ;;
1724 -target | --target | --targe | --targ | --tar | --ta | --t)
1725 ac_prev=target_alias ;;
1726 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1727 target_alias=$ac_optarg ;;
1729 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1732 -version | --version | --versio | --versi | --vers | -V)
1733 ac_init_version=: ;;
1736 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1737 # Reject names that are not valid shell variable names.
1738 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1739 as_fn_error $? "invalid package name: $ac_useropt"
1740 ac_useropt_orig=$ac_useropt
1741 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1742 case $ac_user_opts in
1746 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1747 ac_unrecognized_sep=', ';;
1749 eval with_$ac_useropt=\$ac_optarg ;;
1751 -without-* | --without-*)
1752 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1753 # Reject names that are not valid shell variable names.
1754 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1755 as_fn_error $? "invalid package name: $ac_useropt"
1756 ac_useropt_orig=$ac_useropt
1757 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1758 case $ac_user_opts in
1762 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1763 ac_unrecognized_sep=', ';;
1765 eval with_$ac_useropt=no ;;
1768 # Obsolete; use --with-x.
1771 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1772 | --x-incl | --x-inc | --x-in | --x-i)
1773 ac_prev=x_includes ;;
1774 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1775 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1776 x_includes=$ac_optarg ;;
1778 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1779 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1780 ac_prev=x_libraries ;;
1781 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1782 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1783 x_libraries=$ac_optarg ;;
1785 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1786 Try \`$0 --help' for more information"
1790 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1791 # Reject names that are not valid shell variable names.
1792 case $ac_envvar in #(
1793 '' | [0-9]* | *[!_$as_cr_alnum]* )
1794 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1796 eval $ac_envvar=\$ac_optarg
1797 export $ac_envvar ;;
1800 # FIXME: should be removed in autoconf 3.0.
1801 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1802 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1803 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1804 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1810 if test -n "$ac_prev"; then
1811 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1812 as_fn_error $? "missing argument to $ac_option"
1815 if test -n "$ac_unrecognized_opts"; then
1816 case $enable_option_checking in
1818 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1819 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1823 # Check all directory arguments for consistency.
1824 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1825 datadir sysconfdir sharedstatedir localstatedir includedir \
1826 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1827 libdir localedir mandir
1829 eval ac_val=\$$ac_var
1830 # Remove trailing slashes.
1833 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1834 eval $ac_var=\$ac_val;;
1836 # Be sure to have absolute directory names.
1838 [\\/$]* | ?:[\\/]* ) continue;;
1839 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1841 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1844 # There might be people who depend on the old broken behavior: `$host'
1845 # used to hold the argument of --host etc.
1846 # FIXME: To remove some day.
1849 target=$target_alias
1851 # FIXME: To remove some day.
1852 if test "x$host_alias" != x; then
1853 if test "x$build_alias" = x; then
1854 cross_compiling=maybe
1855 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1856 If a cross compiler is detected then cross compile mode will be used" >&2
1857 elif test "x$build_alias" != "x$host_alias"; then
1863 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1865 test "$silent" = yes && exec 6>/dev/null
1868 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1869 ac_ls_di=`ls -di .` &&
1870 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1871 as_fn_error $? "working directory cannot be determined"
1872 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1873 as_fn_error $? "pwd does not report name of working directory"
1876 # Find the source files, if location was not specified.
1877 if test -z "$srcdir"; then
1878 ac_srcdir_defaulted=yes
1879 # Try the directory containing this script, then the parent directory.
1880 ac_confdir=`$as_dirname -- "$as_myself" ||
1881 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1882 X"$as_myself" : 'X\(//\)[^/]' \| \
1883 X"$as_myself" : 'X\(//\)$' \| \
1884 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1885 $as_echo X"$as_myself" |
1886 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1904 if test ! -r "$srcdir/$ac_unique_file"; then
1908 ac_srcdir_defaulted=no
1910 if test ! -r "$srcdir/$ac_unique_file"; then
1911 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1912 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1914 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1916 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1918 # When building in place, set srcdir=.
1919 if test "$ac_abs_confdir" = "$ac_pwd"; then
1922 # Remove unnecessary trailing slashes from srcdir.
1923 # Double slashes in file names in object file debugging info
1924 # mess up M-x gdb in Emacs.
1926 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1928 for ac_var in $ac_precious_vars; do
1929 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1930 eval ac_env_${ac_var}_value=\$${ac_var}
1931 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1932 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1936 # Report the --help message.
1938 if test "$ac_init_help" = "long"; then
1939 # Omit some internal or obsolete options to make the list less imposing.
1940 # This message is too long to be a string in the A/UX 3.1 sh.
1942 \`configure' configures GStreamer Good Plug-ins 0.10.31 to adapt to many kinds of systems.
1944 Usage: $0 [OPTION]... [VAR=VALUE]...
1946 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1947 VAR=VALUE. See below for descriptions of some of the useful variables.
1949 Defaults for the options are specified in brackets.
1952 -h, --help display this help and exit
1953 --help=short display options specific to this package
1954 --help=recursive display the short help of all the included packages
1955 -V, --version display version information and exit
1956 -q, --quiet, --silent do not print \`checking ...' messages
1957 --cache-file=FILE cache test results in FILE [disabled]
1958 -C, --config-cache alias for \`--cache-file=config.cache'
1959 -n, --no-create do not create output files
1960 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1962 Installation directories:
1963 --prefix=PREFIX install architecture-independent files in PREFIX
1964 [$ac_default_prefix]
1965 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1968 By default, \`make install' will install all the files in
1969 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1970 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1971 for instance \`--prefix=\$HOME'.
1973 For better control, use the options below.
1975 Fine tuning of the installation directories:
1976 --bindir=DIR user executables [EPREFIX/bin]
1977 --sbindir=DIR system admin executables [EPREFIX/sbin]
1978 --libexecdir=DIR program executables [EPREFIX/libexec]
1979 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1980 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1981 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1982 --libdir=DIR object code libraries [EPREFIX/lib]
1983 --includedir=DIR C header files [PREFIX/include]
1984 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1985 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1986 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1987 --infodir=DIR info documentation [DATAROOTDIR/info]
1988 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1989 --mandir=DIR man documentation [DATAROOTDIR/man]
1990 --docdir=DIR documentation root
1991 [DATAROOTDIR/doc/gst-plugins-good]
1992 --htmldir=DIR html documentation [DOCDIR]
1993 --dvidir=DIR dvi documentation [DOCDIR]
1994 --pdfdir=DIR pdf documentation [DOCDIR]
1995 --psdir=DIR ps documentation [DOCDIR]
2001 --program-prefix=PREFIX prepend PREFIX to installed program names
2002 --program-suffix=SUFFIX append SUFFIX to installed program names
2003 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
2006 --x-includes=DIR X include files are in DIR
2007 --x-libraries=DIR X library files are in DIR
2010 --build=BUILD configure for building on BUILD [guessed]
2011 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2015 if test -n "$ac_init_help"; then
2016 case $ac_init_help in
2017 short | recursive ) echo "Configuration of GStreamer Good Plug-ins 0.10.31:";;
2022 --disable-option-checking ignore unrecognized --enable/--with options
2023 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2024 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2025 --enable-maintainer-mode enable make rules and dependencies not useful
2026 (and sometimes confusing) to the casual installer
2027 --enable-silent-rules less verbose build output (undo: `make V=1')
2028 --disable-silent-rules verbose build output (undo: `make V=0')
2029 --enable-shared[=PKGS] build shared libraries [default=yes]
2030 --enable-static[=PKGS] build static libraries [default=yes]
2031 --enable-fast-install[=PKGS]
2032 optimize for fast installation [default=yes]
2033 --disable-dependency-tracking speeds up one-time build
2034 --enable-dependency-tracking do not reject slow dependency extractors
2035 --disable-libtool-lock avoid locking (might break parallel builds)
2036 --disable-nls do not use Native Language Support
2037 --disable-rpath do not hardcode runtime library paths
2038 --disable-debug disable addition of -g debugging info
2039 --enable-profiling adds -pg to compiler commandline, for profiling
2040 --disable-valgrind disable run-time valgrind detection
2041 --enable-gcov compile with coverage profiling instrumentation (gcc
2043 --disable-examples disable building examples
2044 --disable-external disable building of plug-ins with external deps
2045 --enable-experimental enable building of experimental plug-ins
2046 --disable-schemas-install Disable the schemas installation
2047 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
2048 --enable-gobject-cast-checks=[no/auto/yes]
2049 Enable GObject cast checks
2050 --enable-glib-asserts=[no/auto/yes]
2051 Enable GLib assertion
2052 --enable-orc use Orc if installed
2053 --disable-gconftool disable GConf schemas
2054 --disable-videofilter disable dependency-less videofilter plugin
2055 --disable-alpha disable dependency-less alpha plugin
2056 --disable-apetag disable dependency-less apetag plugin
2057 --disable-audiofx disable dependency-less audiofx plugin
2058 --disable-audioparsers disable dependency-less audioparsers plugin
2059 --disable-auparse disable dependency-less auparse plugin
2060 --disable-autodetect disable dependency-less autodetect plugin
2061 --disable-avi disable dependency-less avi plugin
2062 --disable-cutter disable dependency-less cutter plugin
2063 --disable-debugutils disable dependency-less debugutils plugin
2064 --disable-deinterlace disable dependency-less deinterlace plugin
2065 --disable-effectv disable dependency-less effectv plugin
2066 --disable-equalizer disable dependency-less equalizer plugin
2067 --disable-flv disable dependency-less flv plugin
2068 --disable-id3demux disable dependency-less id3demux plugin
2069 --disable-icydemux disable dependency-less icydemux plugin
2070 --disable-interleave disable dependency-less interleave plugin
2071 --disable-flx disable dependency-less flx plugin
2072 --disable-goom disable dependency-less goom plugin
2073 --disable-goom2k1 disable dependency-less goom2k1 plugin
2074 --disable-imagefreeze disable dependency-less imagefreeze plugin
2075 --disable-isomp4 disable dependency-less isomp4 plugin
2076 --disable-law disable dependency-less law plugin
2077 --disable-level disable dependency-less level plugin
2078 --disable-matroska disable dependency-less matroska plugin
2079 --disable-monoscope disable dependency-less monoscope plugin
2080 --disable-multifile disable dependency-less multifile plugin
2081 --disable-multipart disable dependency-less multipart plugin
2082 --disable-replaygain disable dependency-less replaygain plugin
2083 --disable-rtp disable dependency-less rtp plugin
2084 --disable-rtpmanager disable dependency-less rtpmanager plugin
2085 --disable-rtsp disable dependency-less rtsp plugin
2086 --disable-shapewipe disable dependency-less shapewipe plugin
2087 --disable-smpte disable dependency-less smpte plugin
2088 --disable-spectrum disable dependency-less spectrum plugin
2089 --disable-udp disable dependency-less udp plugin
2090 --disable-videobox disable dependency-less videobox plugin
2091 --disable-videocrop disable dependency-less videocrop plugin
2092 --disable-videomixer disable dependency-less videomixer plugin
2093 --disable-wavenc disable dependency-less wavenc plugin
2094 --disable-wavparse disable dependency-less wavparse plugin
2095 --disable-y4m disable dependency-less y4m plugin
2096 --disable-directsound disable DirectSound plug-in: directsoundsink
2097 --disable-oss disable OSS audio: ossaudio
2098 --disable-oss4 disable Open Sound System 4: oss4
2099 --disable-sunaudio disable Sun Audio: sunaudio
2100 --disable-osx_audio disable OSX audio: osxaudio
2101 --disable-osx_video disable OSX video: osxvideosink
2102 --disable-gst_v4l2 disable Video 4 Linux 2: v4l2src
2103 --disable-x disable X libraries and plugins: ximagesrc
2104 --disable-xshm disable X Shared Memory extension
2105 --disable-xvideo disable X11 XVideo extensions
2106 --disable-aalib disable aalib ASCII Art library: aasink
2107 --disable-aalibtest do not try to compile and run a test AALIB program
2108 --disable-annodex disable XML library: annodex
2109 --disable-cairo disable Cairo graphics rendering: cairo
2110 --disable-cairo_gobject disable Cairo graphics rendering gobject bindings: cairooverlay
2111 --disable-esd disable ESounD sound daemon: esdsink
2112 --disable-esdtest do not try to compile and run a test ESD program
2113 --disable-flac disable FLAC lossless audio: flac
2114 --disable-gconf disable GConf libraries: gconfelements
2115 --disable-gdk_pixbuf disable GDK pixbuf: gdkpixbuf
2116 --disable-hal disable HAL libraries: halelements
2117 --disable-jack disable Jack: jack
2118 --disable-jpeg disable jpeg library: jpeg
2119 --disable-libcaca disable libcaca coloured ASCII art: cacasink
2120 --disable-libdv disable libdv DV demuxer/decoder: dv
2121 --disable-libpng disable Portable Network Graphics library: png
2122 --disable-pulse disable pulseaudio plug-in: pulseaudio
2123 --disable-dv1394 disable raw1394 and avc1394 library: 1394
2124 --disable-shout2 disable Shoutcast/Icecast client library: shout2
2125 --disable-soup disable soup http client plugin (2.4): souphttpsrc
2126 --disable-speex disable speex speech codec: speex
2127 --disable-taglib disable taglib tagging library: taglib
2128 --disable-wavpack disable wavpack plug-in: wavpack
2129 --disable-zlib disable zlib support for qtdemux/matroska
2130 --disable-bz2 disable bz2 library for matroska
2133 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2134 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2135 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
2137 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2138 --with-sysroot=DIR Search for dependent libraries within DIR
2139 (or the compiler's sysroot if not specified).
2140 --with-autoconf use a different autoconf for regeneration of
2142 --with-autoheader use a different autoheader for regeneration of
2144 --with-automake use a different automake for regeneration of
2146 --with-aclocal use a different aclocal for regeneration of
2148 --with-gnu-ld assume the C compiler uses GNU ld default=no
2149 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
2150 --without-libiconv-prefix don't search for libiconv in includedir and libdir
2151 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
2152 --without-libintl-prefix don't search for libintl in includedir and libdir
2153 --with-pkg-config-path colon-separated list of pkg-config(1) dirs
2154 --with-package-name specify package name to use in plugins
2155 --with-package-origin specify package origin URL to use in plugins
2156 --with-plugins comma-separated list of dependencyless plug-ins to
2158 --with-gconf-source=sourceaddress Config database for installing schema files.
2159 --with-gconf-schema-file-dir=dir Directory for installing schema files.
2160 --with-html-dir=PATH path to installed docs
2161 --with-gtk=3.0|2.0 which gtk+ version to compile against (default: 2.0)
2162 --with-default-audiosink
2163 specify default audio sink
2164 --with-default-audiosrc specify default audio source
2165 --with-default-videosink
2166 specify default video sink
2167 --with-default-videosrc specify default video source
2168 --with-default-visualizer
2169 specify default visualizer
2170 --with-gudev device detection with gudev
2171 --with-libv4l2 support video buffer conversion using libv4l2
2172 --with-x use the X Window System
2173 --with-aalib-prefix=PFX prefix where AALIB is installed (optional)
2174 --with-aalib-exec-prefix=PFX
2175 exec prefix where AALIB is installed (optional)
2176 --with-esd-prefix=PFX prefix where ESD is installed (optional)
2177 --with-esd-exec-prefix=PFX
2178 exec prefix where ESD is installed (optional)
2179 --with-jpeg-mmx, path to MMX'ified JPEG library
2181 Some influential environment variables:
2182 CC C compiler command
2183 CFLAGS C compiler flags
2184 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2185 nonstandard directory <lib dir>
2186 LIBS libraries to pass to the linker, e.g. -l<library>
2187 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2188 you have headers in a nonstandard directory <include dir>
2190 PKG_CONFIG path to pkg-config utility
2192 C compiler flags for VALGRIND, overriding pkg-config
2194 linker flags for VALGRIND, overriding pkg-config
2195 CXX C++ compiler command
2196 CXXFLAGS C++ compiler flags
2197 CXXCPP C++ preprocessor
2198 CCAS assembler compiler command (defaults to CC)
2199 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
2200 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
2201 GLIB_LIBS linker flags for GLIB, overriding pkg-config
2202 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
2203 GIO_LIBS linker flags for GIO, overriding pkg-config
2204 ORC_CFLAGS C compiler flags for ORC, overriding pkg-config
2205 ORC_LIBS linker flags for ORC, overriding pkg-config
2206 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2207 GST_LIBS linker flags for GST, overriding pkg-config
2209 C compiler flags for GST_BASE, overriding pkg-config
2211 linker flags for GST_BASE, overriding pkg-config
2213 C compiler flags for GST_GDP, overriding pkg-config
2215 linker flags for GST_GDP, overriding pkg-config
2216 GST_CONTROLLER_CFLAGS
2217 C compiler flags for GST_CONTROLLER, overriding pkg-config
2219 linker flags for GST_CONTROLLER, overriding pkg-config
2221 C compiler flags for GST_CHECK, overriding pkg-config
2223 linker flags for GST_CHECK, overriding pkg-config
2224 GST_PLUGINS_BASE_CFLAGS
2225 C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
2226 GST_PLUGINS_BASE_LIBS
2227 linker flags for GST_PLUGINS_BASE, overriding pkg-config
2228 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
2229 GTK_LIBS linker flags for GTK, overriding pkg-config
2231 C compiler flags for GTK_X11, overriding pkg-config
2233 linker flags for GTK_X11, overriding pkg-config
2235 C compiler flags for GUDEV, overriding pkg-config
2236 GUDEV_LIBS linker flags for GUDEV, overriding pkg-config
2238 C compiler flags for LIBV4L2, overriding pkg-config
2240 linker flags for LIBV4L2, overriding pkg-config
2241 XMKMF Path to xmkmf, Makefile generator for X Window System
2243 C compiler flags for XFIXES, overriding pkg-config
2244 XFIXES_LIBS linker flags for XFIXES, overriding pkg-config
2246 C compiler flags for XDAMAGE, overriding pkg-config
2248 linker flags for XDAMAGE, overriding pkg-config
2250 C compiler flags for ANNODEX, overriding pkg-config
2252 linker flags for ANNODEX, overriding pkg-config
2254 C compiler flags for CAIRO, overriding pkg-config
2255 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2256 CAIRO_GOBJECT_CFLAGS
2257 C compiler flags for CAIRO_GOBJECT, overriding pkg-config
2259 linker flags for CAIRO_GOBJECT, overriding pkg-config
2260 ESD_CFLAGS C compiler flags for ESD, overriding pkg-config
2261 ESD_LIBS linker flags for ESD, overriding pkg-config
2262 FLAC_CFLAGS C compiler flags for FLAC, overriding pkg-config
2263 FLAC_LIBS linker flags for FLAC, overriding pkg-config
2265 C compiler flags for GCONF, overriding pkg-config
2266 GCONF_LIBS linker flags for GCONF, overriding pkg-config
2268 C compiler flags for GDK_PIXBUF, overriding pkg-config
2270 linker flags for GDK_PIXBUF, overriding pkg-config
2271 HAL_CFLAGS C compiler flags for HAL, overriding pkg-config
2272 HAL_LIBS linker flags for HAL, overriding pkg-config
2273 JACK_CFLAGS C compiler flags for JACK, overriding pkg-config
2274 JACK_LIBS linker flags for JACK, overriding pkg-config
2276 C compiler flags for JACK_0_120_1, overriding pkg-config
2278 linker flags for JACK_0_120_1, overriding pkg-config
2280 C compiler flags for JACK_1_9_7, overriding pkg-config
2282 linker flags for JACK_1_9_7, overriding pkg-config
2284 C compiler flags for LIBCACA, overriding pkg-config
2286 linker flags for LIBCACA, overriding pkg-config
2288 C compiler flags for LIBDV, overriding pkg-config
2289 LIBDV_LIBS linker flags for LIBDV, overriding pkg-config
2291 C compiler flags for LIBPNG, overriding pkg-config
2292 LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
2294 C compiler flags for PULSE, overriding pkg-config
2295 PULSE_LIBS linker flags for PULSE, overriding pkg-config
2297 C compiler flags for PULSE_0_9_20, overriding pkg-config
2299 linker flags for PULSE_0_9_20, overriding pkg-config
2301 C compiler flags for PULSE_1_0, overriding pkg-config
2303 linker flags for PULSE_1_0, overriding pkg-config
2305 C compiler flags for RAW1394, overriding pkg-config
2307 linker flags for RAW1394, overriding pkg-config
2309 C compiler flags for LIBIEC61883, overriding pkg-config
2311 linker flags for LIBIEC61883, overriding pkg-config
2313 C compiler flags for SHOUT2, overriding pkg-config
2314 SHOUT2_LIBS linker flags for SHOUT2, overriding pkg-config
2315 SOUP_CFLAGS C compiler flags for SOUP, overriding pkg-config
2316 SOUP_LIBS linker flags for SOUP, overriding pkg-config
2318 C compiler flags for SPEEX, overriding pkg-config
2319 SPEEX_LIBS linker flags for SPEEX, overriding pkg-config
2321 C compiler flags for TAGLIB, overriding pkg-config
2322 TAGLIB_LIBS linker flags for TAGLIB, overriding pkg-config
2324 C compiler flags for WAVPACK, overriding pkg-config
2326 linker flags for WAVPACK, overriding pkg-config
2328 Use these variables to override the choices made by `configure' or to help
2329 it to find libraries and programs with nonstandard names/locations.
2331 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
2336 if test "$ac_init_help" = "recursive"; then
2337 # If there are subdirs, report their specific --help.
2338 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2339 test -d "$ac_dir" ||
2340 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2345 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2347 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2348 # A ".." for each directory in $ac_dir_suffix.
2349 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2350 case $ac_top_builddir_sub in
2351 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2352 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2355 ac_abs_top_builddir=$ac_pwd
2356 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2357 # for backward compatibility:
2358 ac_top_builddir=$ac_top_build_prefix
2361 .) # We are building in place.
2363 ac_top_srcdir=$ac_top_builddir_sub
2364 ac_abs_top_srcdir=$ac_pwd ;;
2365 [\\/]* | ?:[\\/]* ) # Absolute name.
2366 ac_srcdir=$srcdir$ac_dir_suffix;
2367 ac_top_srcdir=$srcdir
2368 ac_abs_top_srcdir=$srcdir ;;
2370 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2371 ac_top_srcdir=$ac_top_build_prefix$srcdir
2372 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2374 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2376 cd "$ac_dir" || { ac_status=$?; continue; }
2377 # Check for guested configure.
2378 if test -f "$ac_srcdir/configure.gnu"; then
2380 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2381 elif test -f "$ac_srcdir/configure"; then
2383 $SHELL "$ac_srcdir/configure" --help=recursive
2385 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2387 cd "$ac_pwd" || { ac_status=$?; break; }
2391 test -n "$ac_init_help" && exit $ac_status
2392 if $ac_init_version; then
2394 GStreamer Good Plug-ins configure 0.10.31
2395 generated by GNU Autoconf 2.68
2397 Copyright (C) 2010 Free Software Foundation, Inc.
2398 This configure script is free software; the Free Software Foundation
2399 gives unlimited permission to copy, distribute and modify it.
2404 ## ------------------------ ##
2405 ## Autoconf initialization. ##
2406 ## ------------------------ ##
2408 # ac_fn_c_try_compile LINENO
2409 # --------------------------
2410 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2411 ac_fn_c_try_compile ()
2413 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2414 rm -f conftest.$ac_objext
2415 if { { ac_try="$ac_compile"
2417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2418 *) ac_try_echo=$ac_try;;
2420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2421 $as_echo "$ac_try_echo"; } >&5
2422 (eval "$ac_compile") 2>conftest.err
2424 if test -s conftest.err; then
2425 grep -v '^ *+' conftest.err >conftest.er1
2426 cat conftest.er1 >&5
2427 mv -f conftest.er1 conftest.err
2429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2430 test $ac_status = 0; } && {
2431 test -z "$ac_c_werror_flag" ||
2432 test ! -s conftest.err
2433 } && test -s conftest.$ac_objext; then :
2436 $as_echo "$as_me: failed program was:" >&5
2437 sed 's/^/| /' conftest.$ac_ext >&5
2441 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2442 as_fn_set_status $ac_retval
2444 } # ac_fn_c_try_compile
2446 # ac_fn_c_try_link LINENO
2447 # -----------------------
2448 # Try to link conftest.$ac_ext, and return whether this succeeded.
2451 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2452 rm -f conftest.$ac_objext conftest$ac_exeext
2453 if { { ac_try="$ac_link"
2455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2456 *) ac_try_echo=$ac_try;;
2458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2459 $as_echo "$ac_try_echo"; } >&5
2460 (eval "$ac_link") 2>conftest.err
2462 if test -s conftest.err; then
2463 grep -v '^ *+' conftest.err >conftest.er1
2464 cat conftest.er1 >&5
2465 mv -f conftest.er1 conftest.err
2467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2468 test $ac_status = 0; } && {
2469 test -z "$ac_c_werror_flag" ||
2470 test ! -s conftest.err
2471 } && test -s conftest$ac_exeext && {
2472 test "$cross_compiling" = yes ||
2473 $as_test_x conftest$ac_exeext
2477 $as_echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.$ac_ext >&5
2482 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2483 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2484 # interfere with the next link command; also delete a directory that is
2485 # left behind by Apple's compiler. We do this before executing the actions.
2486 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2487 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2488 as_fn_set_status $ac_retval
2490 } # ac_fn_c_try_link
2492 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2493 # -------------------------------------------------------
2494 # Tests whether HEADER exists and can be compiled using the include files in
2495 # INCLUDES, setting the cache variable VAR accordingly.
2496 ac_fn_c_check_header_compile ()
2498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2500 $as_echo_n "checking for $2... " >&6; }
2501 if eval \${$3+:} false; then :
2502 $as_echo_n "(cached) " >&6
2504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2505 /* end confdefs.h. */
2509 if ac_fn_c_try_compile "$LINENO"; then :
2514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2518 $as_echo "$ac_res" >&6; }
2519 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2521 } # ac_fn_c_check_header_compile
2523 # ac_fn_c_try_cpp LINENO
2524 # ----------------------
2525 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2528 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2529 if { { ac_try="$ac_cpp conftest.$ac_ext"
2531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2532 *) ac_try_echo=$ac_try;;
2534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2535 $as_echo "$ac_try_echo"; } >&5
2536 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2538 if test -s conftest.err; then
2539 grep -v '^ *+' conftest.err >conftest.er1
2540 cat conftest.er1 >&5
2541 mv -f conftest.er1 conftest.err
2543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2544 test $ac_status = 0; } > conftest.i && {
2545 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2546 test ! -s conftest.err
2550 $as_echo "$as_me: failed program was:" >&5
2551 sed 's/^/| /' conftest.$ac_ext >&5
2555 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2556 as_fn_set_status $ac_retval
2560 # ac_fn_c_try_run LINENO
2561 # ----------------------
2562 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2563 # that executables *can* be run.
2566 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2567 if { { ac_try="$ac_link"
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_link") 2>&5
2576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2577 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2578 { { case "(($ac_try" in
2579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580 *) ac_try_echo=$ac_try;;
2582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2583 $as_echo "$ac_try_echo"; } >&5
2584 (eval "$ac_try") 2>&5
2586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2587 test $ac_status = 0; }; }; then :
2590 $as_echo "$as_me: program exited with status $ac_status" >&5
2591 $as_echo "$as_me: failed program was:" >&5
2592 sed 's/^/| /' conftest.$ac_ext >&5
2594 ac_retval=$ac_status
2596 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2597 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2598 as_fn_set_status $ac_retval
2602 # ac_fn_c_check_func LINENO FUNC VAR
2603 # ----------------------------------
2604 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2605 ac_fn_c_check_func ()
2607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2609 $as_echo_n "checking for $2... " >&6; }
2610 if eval \${$3+:} false; then :
2611 $as_echo_n "(cached) " >&6
2613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2614 /* end confdefs.h. */
2615 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2617 #define $2 innocuous_$2
2619 /* System header to define __stub macros and hopefully few prototypes,
2620 which can conflict with char $2 (); below.
2621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2622 <limits.h> exists even on freestanding compilers. */
2625 # include <limits.h>
2627 # include <assert.h>
2632 /* Override any GCC internal prototype to avoid an error.
2633 Use char because int might match the return type of a GCC
2634 builtin and then its argument prototype would still apply. */
2639 /* The GNU C library defines this for functions which it implements
2640 to always fail with ENOSYS. Some functions are actually named
2641 something starting with __ and the normal name is an alias. */
2642 #if defined __stub_$2 || defined __stub___$2
2654 if ac_fn_c_try_link "$LINENO"; then :
2659 rm -f core conftest.err conftest.$ac_objext \
2660 conftest$ac_exeext conftest.$ac_ext
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2664 $as_echo "$ac_res" >&6; }
2665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2667 } # ac_fn_c_check_func
2669 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2670 # ---------------------------------------------
2671 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2673 ac_fn_c_check_decl ()
2675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2676 as_decl_name=`echo $2|sed 's/ *(.*//'`
2677 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2679 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2680 if eval \${$3+:} false; then :
2681 $as_echo_n "(cached) " >&6
2683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h. */
2689 #ifndef $as_decl_name
2691 (void) $as_decl_use;
2693 (void) $as_decl_name;
2701 if ac_fn_c_try_compile "$LINENO"; then :
2706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2710 $as_echo "$ac_res" >&6; }
2711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2713 } # ac_fn_c_check_decl
2715 # ac_fn_cxx_try_compile LINENO
2716 # ----------------------------
2717 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2718 ac_fn_cxx_try_compile ()
2720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2721 rm -f conftest.$ac_objext
2722 if { { ac_try="$ac_compile"
2724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2725 *) ac_try_echo=$ac_try;;
2727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2728 $as_echo "$ac_try_echo"; } >&5
2729 (eval "$ac_compile") 2>conftest.err
2731 if test -s conftest.err; then
2732 grep -v '^ *+' conftest.err >conftest.er1
2733 cat conftest.er1 >&5
2734 mv -f conftest.er1 conftest.err
2736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2737 test $ac_status = 0; } && {
2738 test -z "$ac_cxx_werror_flag" ||
2739 test ! -s conftest.err
2740 } && test -s conftest.$ac_objext; then :
2743 $as_echo "$as_me: failed program was:" >&5
2744 sed 's/^/| /' conftest.$ac_ext >&5
2748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2749 as_fn_set_status $ac_retval
2751 } # ac_fn_cxx_try_compile
2753 # ac_fn_cxx_try_cpp LINENO
2754 # ------------------------
2755 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2756 ac_fn_cxx_try_cpp ()
2758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2759 if { { ac_try="$ac_cpp conftest.$ac_ext"
2761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2762 *) ac_try_echo=$ac_try;;
2764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2765 $as_echo "$ac_try_echo"; } >&5
2766 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2768 if test -s conftest.err; then
2769 grep -v '^ *+' conftest.err >conftest.er1
2770 cat conftest.er1 >&5
2771 mv -f conftest.er1 conftest.err
2773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2774 test $ac_status = 0; } > conftest.i && {
2775 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2776 test ! -s conftest.err
2780 $as_echo "$as_me: failed program was:" >&5
2781 sed 's/^/| /' conftest.$ac_ext >&5
2785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2786 as_fn_set_status $ac_retval
2788 } # ac_fn_cxx_try_cpp
2790 # ac_fn_cxx_try_link LINENO
2791 # -------------------------
2792 # Try to link conftest.$ac_ext, and return whether this succeeded.
2793 ac_fn_cxx_try_link ()
2795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2796 rm -f conftest.$ac_objext conftest$ac_exeext
2797 if { { ac_try="$ac_link"
2799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2800 *) ac_try_echo=$ac_try;;
2802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2803 $as_echo "$ac_try_echo"; } >&5
2804 (eval "$ac_link") 2>conftest.err
2806 if test -s conftest.err; then
2807 grep -v '^ *+' conftest.err >conftest.er1
2808 cat conftest.er1 >&5
2809 mv -f conftest.er1 conftest.err
2811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2812 test $ac_status = 0; } && {
2813 test -z "$ac_cxx_werror_flag" ||
2814 test ! -s conftest.err
2815 } && test -s conftest$ac_exeext && {
2816 test "$cross_compiling" = yes ||
2817 $as_test_x conftest$ac_exeext
2821 $as_echo "$as_me: failed program was:" >&5
2822 sed 's/^/| /' conftest.$ac_ext >&5
2826 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2827 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2828 # interfere with the next link command; also delete a directory that is
2829 # left behind by Apple's compiler. We do this before executing the actions.
2830 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2832 as_fn_set_status $ac_retval
2834 } # ac_fn_cxx_try_link
2836 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2837 # -------------------------------------------
2838 # Tests whether TYPE exists after having included INCLUDES, setting cache
2839 # variable VAR accordingly.
2840 ac_fn_c_check_type ()
2842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2844 $as_echo_n "checking for $2... " >&6; }
2845 if eval \${$3+:} false; then :
2846 $as_echo_n "(cached) " >&6
2849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2850 /* end confdefs.h. */
2861 if ac_fn_c_try_compile "$LINENO"; then :
2862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2863 /* end confdefs.h. */
2874 if ac_fn_c_try_compile "$LINENO"; then :
2879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2885 $as_echo "$ac_res" >&6; }
2886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2888 } # ac_fn_c_check_type
2890 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2891 # --------------------------------------------
2892 # Tries to find the compile-time value of EXPR in a program that includes
2893 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2895 ac_fn_c_compute_int ()
2897 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2898 if test "$cross_compiling" = yes; then
2899 # Depending upon the size, compute the lo and hi bounds.
2900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2901 /* end confdefs.h. */
2906 static int test_array [1 - 2 * !(($2) >= 0)];
2913 if ac_fn_c_try_compile "$LINENO"; then :
2916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2917 /* end confdefs.h. */
2922 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2929 if ac_fn_c_try_compile "$LINENO"; then :
2930 ac_hi=$ac_mid; break
2932 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2933 if test $ac_lo -le $ac_mid; then
2937 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2943 /* end confdefs.h. */
2948 static int test_array [1 - 2 * !(($2) < 0)];
2955 if ac_fn_c_try_compile "$LINENO"; then :
2958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2959 /* end confdefs.h. */
2964 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2971 if ac_fn_c_try_compile "$LINENO"; then :
2972 ac_lo=$ac_mid; break
2974 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2975 if test $ac_mid -le $ac_hi; then
2979 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2989 # Binary search between lo and hi bounds.
2990 while test "x$ac_lo" != "x$ac_hi"; do
2991 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2993 /* end confdefs.h. */
2998 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3005 if ac_fn_c_try_compile "$LINENO"; then :
3008 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
3010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3013 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
3017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3018 /* end confdefs.h. */
3020 static long int longval () { return $2; }
3021 static unsigned long int ulongval () { return $2; }
3028 FILE *f = fopen ("conftest.val", "w");
3033 long int i = longval ();
3036 fprintf (f, "%ld", i);
3040 unsigned long int i = ulongval ();
3043 fprintf (f, "%lu", i);
3045 /* Do not output a trailing newline, as this causes \r\n confusion
3046 on some platforms. */
3047 return ferror (f) || fclose (f) != 0;
3053 if ac_fn_c_try_run "$LINENO"; then :
3054 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3058 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3059 conftest.$ac_objext conftest.beam conftest.$ac_ext
3063 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3064 as_fn_set_status $ac_retval
3066 } # ac_fn_c_compute_int
3068 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3069 # -------------------------------------------------------
3070 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3071 # the include files in INCLUDES and setting the cache variable VAR
3073 ac_fn_c_check_header_mongrel ()
3075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3076 if eval \${$3+:} false; then :
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3078 $as_echo_n "checking for $2... " >&6; }
3079 if eval \${$3+:} false; then :
3080 $as_echo_n "(cached) " >&6
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3084 $as_echo "$ac_res" >&6; }
3086 # Is the header compilable?
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3088 $as_echo_n "checking $2 usability... " >&6; }
3089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3090 /* end confdefs.h. */
3094 if ac_fn_c_try_compile "$LINENO"; then :
3095 ac_header_compiler=yes
3097 ac_header_compiler=no
3099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3101 $as_echo "$ac_header_compiler" >&6; }
3103 # Is the header present?
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3105 $as_echo_n "checking $2 presence... " >&6; }
3106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3107 /* end confdefs.h. */
3110 if ac_fn_c_try_cpp "$LINENO"; then :
3111 ac_header_preproc=yes
3113 ac_header_preproc=no
3115 rm -f conftest.err conftest.i conftest.$ac_ext
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3117 $as_echo "$ac_header_preproc" >&6; }
3119 # So? What about this header?
3120 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3123 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3125 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3129 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3131 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3133 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3135 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3137 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3138 ( $as_echo "## ------------------------------------------------------------------------ ##
3139 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
3140 ## ------------------------------------------------------------------------ ##"
3141 ) | sed "s/^/$as_me: WARNING: /" >&2
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3145 $as_echo_n "checking for $2... " >&6; }
3146 if eval \${$3+:} false; then :
3147 $as_echo_n "(cached) " >&6
3149 eval "$3=\$ac_header_compiler"
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3153 $as_echo "$ac_res" >&6; }
3155 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3157 } # ac_fn_c_check_header_mongrel
3158 cat >config.log <<_ACEOF
3159 This file contains any messages produced by compilers while
3160 running configure, to aid debugging if configure makes a mistake.
3162 It was created by GStreamer Good Plug-ins $as_me 0.10.31, which was
3163 generated by GNU Autoconf 2.68. Invocation command line was
3175 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3176 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3177 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3178 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3179 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3181 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3182 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3184 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3185 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3186 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3187 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3188 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3189 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3190 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 test -z "$as_dir" && as_dir=.
3199 $as_echo "PATH: $as_dir"
3215 # Keep a trace of the command line.
3216 # Strip out --no-create and --no-recursion so they do not pile up.
3217 # Strip out --silent because we don't want to record it for future runs.
3218 # Also quote any args containing shell meta-characters.
3219 # Make two passes to allow for proper duplicate-argument suppression.
3223 ac_must_keep_next=false
3229 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3230 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3231 | -silent | --silent | --silen | --sile | --sil)
3234 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3237 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3239 as_fn_append ac_configure_args1 " '$ac_arg'"
3240 if test $ac_must_keep_next = true; then
3241 ac_must_keep_next=false # Got value, back to normal.
3244 *=* | --config-cache | -C | -disable-* | --disable-* \
3245 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3246 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3247 | -with-* | --with-* | -without-* | --without-* | --x)
3248 case "$ac_configure_args0 " in
3249 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3252 -* ) ac_must_keep_next=true ;;
3255 as_fn_append ac_configure_args " '$ac_arg'"
3260 { ac_configure_args0=; unset ac_configure_args0;}
3261 { ac_configure_args1=; unset ac_configure_args1;}
3263 # When interrupted or exit'd, cleanup temporary files, and complete
3264 # config.log. We remove comments because anyway the quotes in there
3265 # would cause problems or look ugly.
3266 # WARNING: Use '\'' to represent an apostrophe within the trap.
3267 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3268 trap 'exit_status=$?
3269 # Save into config.log some information that might help in debugging.
3273 $as_echo "## ---------------- ##
3274 ## Cache variables. ##
3275 ## ---------------- ##"
3277 # The following way of writing the cache mishandles newlines in values,
3279 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3280 eval ac_val=\$$ac_var
3284 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3285 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3288 _ | IFS | as_nl) ;; #(
3289 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3290 *) { eval $ac_var=; unset $ac_var;} ;;
3295 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3296 *${as_nl}ac_space=\ *)
3298 "s/'\''/'\''\\\\'\'''\''/g;
3299 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3302 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3309 $as_echo "## ----------------- ##
3310 ## Output variables. ##
3311 ## ----------------- ##"
3313 for ac_var in $ac_subst_vars
3315 eval ac_val=\$$ac_var
3317 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3319 $as_echo "$ac_var='\''$ac_val'\''"
3323 if test -n "$ac_subst_files"; then
3324 $as_echo "## ------------------- ##
3325 ## File substitutions. ##
3326 ## ------------------- ##"
3328 for ac_var in $ac_subst_files
3330 eval ac_val=\$$ac_var
3332 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3334 $as_echo "$ac_var='\''$ac_val'\''"
3339 if test -s confdefs.h; then
3340 $as_echo "## ----------- ##
3347 test "$ac_signal" != 0 &&
3348 $as_echo "$as_me: caught signal $ac_signal"
3349 $as_echo "$as_me: exit $exit_status"
3351 rm -f core *.core core.conftest.* &&
3352 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3355 for ac_signal in 1 2 13 15; do
3356 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3360 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3361 rm -f -r conftest* confdefs.h
3363 $as_echo "/* confdefs.h */" > confdefs.h
3365 # Predefined preprocessor variables.
3367 cat >>confdefs.h <<_ACEOF
3368 #define PACKAGE_NAME "$PACKAGE_NAME"
3371 cat >>confdefs.h <<_ACEOF
3372 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3375 cat >>confdefs.h <<_ACEOF
3376 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3379 cat >>confdefs.h <<_ACEOF
3380 #define PACKAGE_STRING "$PACKAGE_STRING"
3383 cat >>confdefs.h <<_ACEOF
3384 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3387 cat >>confdefs.h <<_ACEOF
3388 #define PACKAGE_URL "$PACKAGE_URL"
3392 # Let the site file select an alternate cache file if it wants to.
3393 # Prefer an explicitly selected file to automatically selected ones.
3396 if test -n "$CONFIG_SITE"; then
3397 # We do not want a PATH search for config.site.
3398 case $CONFIG_SITE in #((
3399 -*) ac_site_file1=./$CONFIG_SITE;;
3400 */*) ac_site_file1=$CONFIG_SITE;;
3401 *) ac_site_file1=./$CONFIG_SITE;;
3403 elif test "x$prefix" != xNONE; then
3404 ac_site_file1=$prefix/share/config.site
3405 ac_site_file2=$prefix/etc/config.site
3407 ac_site_file1=$ac_default_prefix/share/config.site
3408 ac_site_file2=$ac_default_prefix/etc/config.site
3410 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3412 test "x$ac_site_file" = xNONE && continue
3413 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3415 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3416 sed 's/^/| /' "$ac_site_file" >&5
3418 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3420 as_fn_error $? "failed to load site script $ac_site_file
3421 See \`config.log' for more details" "$LINENO" 5; }
3425 if test -r "$cache_file"; then
3426 # Some versions of bash will fail to source /dev/null (special files
3427 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3428 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3429 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3430 $as_echo "$as_me: loading cache $cache_file" >&6;}
3432 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3433 *) . "./$cache_file";;
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3438 $as_echo "$as_me: creating cache $cache_file" >&6;}
3442 gt_needs="$gt_needs "
3443 as_fn_append ac_header_list " stdlib.h"
3444 as_fn_append ac_header_list " unistd.h"
3445 as_fn_append ac_header_list " sys/param.h"
3446 # Check that the precious variables saved in the cache have kept the same
3448 ac_cache_corrupted=false
3449 for ac_var in $ac_precious_vars; do
3450 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3451 eval ac_new_set=\$ac_env_${ac_var}_set
3452 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3453 eval ac_new_val=\$ac_env_${ac_var}_value
3454 case $ac_old_set,$ac_new_set in
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3457 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3458 ac_cache_corrupted=: ;;
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3461 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3462 ac_cache_corrupted=: ;;
3465 if test "x$ac_old_val" != "x$ac_new_val"; then
3466 # differences in whitespace do not lead to failure.
3467 ac_old_val_w=`echo x $ac_old_val`
3468 ac_new_val_w=`echo x $ac_new_val`
3469 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3471 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3472 ac_cache_corrupted=:
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3475 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3476 eval $ac_var=\$ac_old_val
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3479 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3481 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3484 # Pass precious variables to config.status.
3485 if test "$ac_new_set" = set; then
3487 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3488 *) ac_arg=$ac_var=$ac_new_val ;;
3490 case " $ac_configure_args " in
3491 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3492 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3496 if $ac_cache_corrupted; then
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3500 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3501 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3503 ## -------------------- ##
3504 ## Main body of script. ##
3505 ## -------------------- ##
3508 ac_cpp='$CPP $CPPFLAGS'
3509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3519 am__api_version='1.11'
3522 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3523 if test -f "$ac_dir/install-sh"; then
3525 ac_install_sh="$ac_aux_dir/install-sh -c"
3527 elif test -f "$ac_dir/install.sh"; then
3529 ac_install_sh="$ac_aux_dir/install.sh -c"
3531 elif test -f "$ac_dir/shtool"; then
3533 ac_install_sh="$ac_aux_dir/shtool install -c"
3537 if test -z "$ac_aux_dir"; then
3538 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3541 # These three variables are undocumented and unsupported,
3542 # and are intended to be withdrawn in a future Autoconf release.
3543 # They can cause serious problems if a builder's source tree is in a directory
3544 # whose full name contains unusual characters.
3545 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3546 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3547 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3550 # Find a good install program. We prefer a C program (faster),
3551 # so one script is as good as another. But avoid the broken or
3552 # incompatible versions:
3553 # SysV /etc/install, /usr/sbin/install
3554 # SunOS /usr/etc/install
3555 # IRIX /sbin/install
3557 # AmigaOS /C/install, which installs bootblocks on floppy discs
3558 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3559 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3560 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3561 # OS/2's system install, which has a completely different semantic
3562 # ./install, which can be erroneously created by make from ./install.sh.
3563 # Reject install programs that cannot install multiple files.
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3565 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3566 if test -z "$INSTALL"; then
3567 if ${ac_cv_path_install+:} false; then :
3568 $as_echo_n "(cached) " >&6
3570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3574 test -z "$as_dir" && as_dir=.
3575 # Account for people who put trailing slashes in PATH elements.
3576 case $as_dir/ in #((
3577 ./ | .// | /[cC]/* | \
3578 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3579 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3582 # OSF1 and SCO ODT 3.0 have their own names for install.
3583 # Don't use installbsd from OSF since it installs stuff as root
3585 for ac_prog in ginstall scoinst install; do
3586 for ac_exec_ext in '' $ac_executable_extensions; do
3587 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3588 if test $ac_prog = install &&
3589 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3590 # AIX install. It has an incompatible calling convention.
3592 elif test $ac_prog = install &&
3593 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3594 # program-specific install script used by HP pwplus--don't use.
3597 rm -rf conftest.one conftest.two conftest.dir
3598 echo one > conftest.one
3599 echo two > conftest.two
3601 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3602 test -s conftest.one && test -s conftest.two &&
3603 test -s conftest.dir/conftest.one &&
3604 test -s conftest.dir/conftest.two
3606 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3619 rm -rf conftest.one conftest.two conftest.dir
3622 if test "${ac_cv_path_install+set}" = set; then
3623 INSTALL=$ac_cv_path_install
3625 # As a last resort, use the slow shell script. Don't cache a
3626 # value for INSTALL within a source directory, because that will
3627 # break other packages using the cache if that directory is
3628 # removed, or if the value is a relative name.
3629 INSTALL=$ac_install_sh
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3633 $as_echo "$INSTALL" >&6; }
3635 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3636 # It thinks the first close brace ends the variable substitution.
3637 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3639 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3641 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3644 $as_echo_n "checking whether build environment is sane... " >&6; }
3647 echo timestamp > conftest.file
3648 # Reject unsafe characters in $srcdir or the absolute working directory
3649 # name. Accept space and tab only in the latter.
3653 *[\\\"\#\$\&\'\`$am_lf]*)
3654 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3657 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3658 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3661 # Do `set' in a subshell so we don't clobber the current shell's
3662 # arguments. Must try -L first in case configure is actually a
3663 # symlink; some systems play weird games with the mod time of symlinks
3664 # (eg FreeBSD returns the mod time of the symlink's containing
3667 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3668 if test "$*" = "X"; then
3670 set X `ls -t "$srcdir/configure" conftest.file`
3673 if test "$*" != "X $srcdir/configure conftest.file" \
3674 && test "$*" != "X conftest.file $srcdir/configure"; then
3676 # If neither matched, then we have a broken ls. This can happen
3677 # if, for instance, CONFIG_SHELL is bash and it inherits a
3678 # broken ls alias from the environment. This has actually
3679 # happened. Such a system could not be considered "sane".
3680 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3681 alias in your environment" "$LINENO" 5
3684 test "$2" = conftest.file
3690 as_fn_error $? "newly created file is older than distributed files!
3691 Check your system clock" "$LINENO" 5
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3694 $as_echo "yes" >&6; }
3695 test "$program_prefix" != NONE &&
3696 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3697 # Use a double $ so make ignores it.
3698 test "$program_suffix" != NONE &&
3699 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3700 # Double any \ or $.
3701 # By default was `s,x,x', remove it if useless.
3702 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3703 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3705 # expand $ac_aux_dir to an absolute path
3706 am_aux_dir=`cd $ac_aux_dir && pwd`
3708 if test x"${MISSING+set}" != xset; then
3711 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3713 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3716 # Use eval to expand $SHELL
3717 if eval "$MISSING --run true"; then
3718 am_missing_run="$MISSING --run "
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3722 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3725 if test x"${install_sh}" != xset; then
3728 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3730 install_sh="\${SHELL} $am_aux_dir/install-sh"
3734 # Installed binaries are usually stripped using `strip' when the user
3735 # run `make install-strip'. However `strip' might not be the right
3736 # tool to use in cross-compilation environments, therefore Automake
3737 # will honor the `STRIP' environment variable to overrule this program.
3738 if test "$cross_compiling" != no; then
3739 if test -n "$ac_tool_prefix"; then
3740 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3741 set dummy ${ac_tool_prefix}strip; ac_word=$2
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3743 $as_echo_n "checking for $ac_word... " >&6; }
3744 if ${ac_cv_prog_STRIP+:} false; then :
3745 $as_echo_n "(cached) " >&6
3747 if test -n "$STRIP"; then
3748 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3754 test -z "$as_dir" && as_dir=.
3755 for ac_exec_ext in '' $ac_executable_extensions; do
3756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3757 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3767 STRIP=$ac_cv_prog_STRIP
3768 if test -n "$STRIP"; then
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3770 $as_echo "$STRIP" >&6; }
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3773 $as_echo "no" >&6; }
3778 if test -z "$ac_cv_prog_STRIP"; then
3780 # Extract the first word of "strip", so it can be a program name with args.
3781 set dummy strip; ac_word=$2
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3783 $as_echo_n "checking for $ac_word... " >&6; }
3784 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3785 $as_echo_n "(cached) " >&6
3787 if test -n "$ac_ct_STRIP"; then
3788 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3794 test -z "$as_dir" && as_dir=.
3795 for ac_exec_ext in '' $ac_executable_extensions; do
3796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3797 ac_cv_prog_ac_ct_STRIP="strip"
3798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3807 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3808 if test -n "$ac_ct_STRIP"; then
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3810 $as_echo "$ac_ct_STRIP" >&6; }
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3813 $as_echo "no" >&6; }
3816 if test "x$ac_ct_STRIP" = x; then
3819 case $cross_compiling:$ac_tool_warned in
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3823 ac_tool_warned=yes ;;
3828 STRIP="$ac_cv_prog_STRIP"
3832 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3835 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3836 if test -z "$MKDIR_P"; then
3837 if ${ac_cv_path_mkdir+:} false; then :
3838 $as_echo_n "(cached) " >&6
3840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3841 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3844 test -z "$as_dir" && as_dir=.
3845 for ac_prog in mkdir gmkdir; do
3846 for ac_exec_ext in '' $ac_executable_extensions; do
3847 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3848 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3849 'mkdir (GNU coreutils) '* | \
3850 'mkdir (coreutils) '* | \
3851 'mkdir (fileutils) '4.1*)
3852 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3862 test -d ./--version && rmdir ./--version
3863 if test "${ac_cv_path_mkdir+set}" = set; then
3864 MKDIR_P="$ac_cv_path_mkdir -p"
3866 # As a last resort, use the slow shell script. Don't cache a
3867 # value for MKDIR_P within a source directory, because that will
3868 # break other packages using the cache if that directory is
3869 # removed, or if the value is a relative name.
3870 MKDIR_P="$ac_install_sh -d"
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3874 $as_echo "$MKDIR_P" >&6; }
3878 [\\/$]* | ?:[\\/]*) ;;
3879 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3882 for ac_prog in gawk mawk nawk awk
3884 # Extract the first word of "$ac_prog", so it can be a program name with args.
3885 set dummy $ac_prog; ac_word=$2
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3887 $as_echo_n "checking for $ac_word... " >&6; }
3888 if ${ac_cv_prog_AWK+:} false; then :
3889 $as_echo_n "(cached) " >&6
3891 if test -n "$AWK"; then
3892 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3898 test -z "$as_dir" && as_dir=.
3899 for ac_exec_ext in '' $ac_executable_extensions; do
3900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3901 ac_cv_prog_AWK="$ac_prog"
3902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3912 if test -n "$AWK"; then
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3914 $as_echo "$AWK" >&6; }
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3917 $as_echo "no" >&6; }
3921 test -n "$AWK" && break
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3925 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3927 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3928 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3929 $as_echo_n "(cached) " >&6
3931 cat >conftest.make <<\_ACEOF
3934 @echo '@@@%%%=$(MAKE)=@@@%%%'
3936 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3937 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3939 eval ac_cv_prog_make_${ac_make}_set=yes;;
3941 eval ac_cv_prog_make_${ac_make}_set=no;;
3945 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3947 $as_echo "yes" >&6; }
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3951 $as_echo "no" >&6; }
3952 SET_MAKE="MAKE=${MAKE-make}"
3955 rm -rf .tst 2>/dev/null
3956 mkdir .tst 2>/dev/null
3957 if test -d .tst; then
3962 rmdir .tst 2>/dev/null
3964 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3965 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3966 # is not polluted with repeated "-I."
3967 am__isrc=' -I$(srcdir)'
3968 # test to see if srcdir already configured
3969 if test -f $srcdir/config.status; then
3970 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3974 # test whether we have cygpath
3975 if test -z "$CYGPATH_W"; then
3976 if (cygpath --version) >/dev/null 2>/dev/null; then
3977 CYGPATH_W='cygpath -w'
3984 # Define the identity of the package.
3985 PACKAGE='gst-plugins-good'
3989 cat >>confdefs.h <<_ACEOF
3990 #define PACKAGE "$PACKAGE"
3994 cat >>confdefs.h <<_ACEOF
3995 #define VERSION "$VERSION"
3998 # Some tools Automake needs.
4000 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4003 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4006 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4009 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4012 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4014 # We need awk for the "check" target. The system "awk" is bad on
4016 # Always define AMTAR for backward compatibility. Yes, it's still used
4017 # in the wild :-( We should find a proper way to deprecate it ...
4020 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4028 PACKAGE_VERSION_MAJOR=$(echo 0.10.31 | cut -d'.' -f1)
4029 PACKAGE_VERSION_MINOR=$(echo 0.10.31 | cut -d'.' -f2)
4030 PACKAGE_VERSION_MICRO=$(echo 0.10.31 | cut -d'.' -f3)
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
4039 $as_echo_n "checking nano version... " >&6; }
4041 NANO=$(echo 0.10.31 | cut -d'.' -f4)
4043 if test x"$NANO" = x || test "x$NANO" = "x0" ; then
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
4045 $as_echo "0 (release)" >&6; }
4047 PACKAGE_VERSION_RELEASE=1
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
4051 $as_echo "$NANO" >&6; }
4052 PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
4053 if test "x$NANO" != "x1" ; then
4059 PACKAGE_VERSION_NANO=$NANO
4066 ac_config_headers="$ac_config_headers config.h"
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4071 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4072 # Check whether --enable-maintainer-mode was given.
4073 if test "${enable_maintainer_mode+set}" = set; then :
4074 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4076 USE_MAINTAINER_MODE=no
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4080 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4081 if test $USE_MAINTAINER_MODE = yes; then
4082 MAINTAINER_MODE_TRUE=
4083 MAINTAINER_MODE_FALSE='#'
4085 MAINTAINER_MODE_TRUE='#'
4086 MAINTAINER_MODE_FALSE=
4089 MAINT=$MAINTAINER_MODE_TRUE
4093 # Make sure we can run config.sub.
4094 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4095 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4098 $as_echo_n "checking build system type... " >&6; }
4099 if ${ac_cv_build+:} false; then :
4100 $as_echo_n "(cached) " >&6
4102 ac_build_alias=$build_alias
4103 test "x$ac_build_alias" = x &&
4104 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4105 test "x$ac_build_alias" = x &&
4106 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4107 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4108 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4112 $as_echo "$ac_cv_build" >&6; }
4113 case $ac_cv_build in
4115 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4118 ac_save_IFS=$IFS; IFS='-'
4124 # Remember, the first character of IFS is used to create $*,
4125 # except with old shells:
4128 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4132 $as_echo_n "checking host system type... " >&6; }
4133 if ${ac_cv_host+:} false; then :
4134 $as_echo_n "(cached) " >&6
4136 if test "x$host_alias" = x; then
4137 ac_cv_host=$ac_cv_build
4139 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4140 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4145 $as_echo "$ac_cv_host" >&6; }
4148 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4151 ac_save_IFS=$IFS; IFS='-'
4157 # Remember, the first character of IFS is used to create $*,
4158 # except with old shells:
4161 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4165 # Check whether --enable-silent-rules was given.
4166 if test "${enable_silent_rules+set}" = set; then :
4167 enableval=$enable_silent_rules;
4170 case $enable_silent_rules in
4171 yes) AM_DEFAULT_VERBOSITY=0;;
4172 no) AM_DEFAULT_VERBOSITY=1;;
4173 *) AM_DEFAULT_VERBOSITY=0;;
4175 am_make=${MAKE-make}
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4177 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4178 if ${am_cv_make_support_nested_variables+:} false; then :
4179 $as_echo_n "(cached) " >&6
4181 if $as_echo 'TRUE=$(BAR$(V))
4187 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4188 am_cv_make_support_nested_variables=yes
4190 am_cv_make_support_nested_variables=no
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4194 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4195 if test $am_cv_make_support_nested_variables = yes; then
4197 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4199 AM_V=$AM_DEFAULT_VERBOSITY
4200 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4205 GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
4212 lt_cv_deplibs_check_method=pass_all
4218 enable_win32_dll=yes
4221 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4222 if test -n "$ac_tool_prefix"; then
4223 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4224 set dummy ${ac_tool_prefix}as; ac_word=$2
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4226 $as_echo_n "checking for $ac_word... " >&6; }
4227 if ${ac_cv_prog_AS+:} false; then :
4228 $as_echo_n "(cached) " >&6
4230 if test -n "$AS"; then
4231 ac_cv_prog_AS="$AS" # Let the user override the test.
4233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4237 test -z "$as_dir" && as_dir=.
4238 for ac_exec_ext in '' $ac_executable_extensions; do
4239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4240 ac_cv_prog_AS="${ac_tool_prefix}as"
4241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4251 if test -n "$AS"; then
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4253 $as_echo "$AS" >&6; }
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256 $as_echo "no" >&6; }
4261 if test -z "$ac_cv_prog_AS"; then
4263 # Extract the first word of "as", so it can be a program name with args.
4264 set dummy as; ac_word=$2
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4266 $as_echo_n "checking for $ac_word... " >&6; }
4267 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4268 $as_echo_n "(cached) " >&6
4270 if test -n "$ac_ct_AS"; then
4271 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4277 test -z "$as_dir" && as_dir=.
4278 for ac_exec_ext in '' $ac_executable_extensions; do
4279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4280 ac_cv_prog_ac_ct_AS="as"
4281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4290 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4291 if test -n "$ac_ct_AS"; then
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4293 $as_echo "$ac_ct_AS" >&6; }
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4296 $as_echo "no" >&6; }
4299 if test "x$ac_ct_AS" = x; then
4302 case $cross_compiling:$ac_tool_warned in
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4306 ac_tool_warned=yes ;;
4314 if test -n "$ac_tool_prefix"; then
4315 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4316 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4318 $as_echo_n "checking for $ac_word... " >&6; }
4319 if ${ac_cv_prog_DLLTOOL+:} false; then :
4320 $as_echo_n "(cached) " >&6
4322 if test -n "$DLLTOOL"; then
4323 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4329 test -z "$as_dir" && as_dir=.
4330 for ac_exec_ext in '' $ac_executable_extensions; do
4331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4332 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4333 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4342 DLLTOOL=$ac_cv_prog_DLLTOOL
4343 if test -n "$DLLTOOL"; then
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4345 $as_echo "$DLLTOOL" >&6; }
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4348 $as_echo "no" >&6; }
4353 if test -z "$ac_cv_prog_DLLTOOL"; then
4354 ac_ct_DLLTOOL=$DLLTOOL
4355 # Extract the first word of "dlltool", so it can be a program name with args.
4356 set dummy dlltool; ac_word=$2
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4358 $as_echo_n "checking for $ac_word... " >&6; }
4359 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4360 $as_echo_n "(cached) " >&6
4362 if test -n "$ac_ct_DLLTOOL"; then
4363 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4369 test -z "$as_dir" && as_dir=.
4370 for ac_exec_ext in '' $ac_executable_extensions; do
4371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4372 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4382 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4383 if test -n "$ac_ct_DLLTOOL"; then
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4385 $as_echo "$ac_ct_DLLTOOL" >&6; }
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4388 $as_echo "no" >&6; }
4391 if test "x$ac_ct_DLLTOOL" = x; then
4394 case $cross_compiling:$ac_tool_warned in
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4397 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4398 ac_tool_warned=yes ;;
4400 DLLTOOL=$ac_ct_DLLTOOL
4403 DLLTOOL="$ac_cv_prog_DLLTOOL"
4406 if test -n "$ac_tool_prefix"; then
4407 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4408 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4410 $as_echo_n "checking for $ac_word... " >&6; }
4411 if ${ac_cv_prog_OBJDUMP+:} false; then :
4412 $as_echo_n "(cached) " >&6
4414 if test -n "$OBJDUMP"; then
4415 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4421 test -z "$as_dir" && as_dir=.
4422 for ac_exec_ext in '' $ac_executable_extensions; do
4423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4424 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4434 OBJDUMP=$ac_cv_prog_OBJDUMP
4435 if test -n "$OBJDUMP"; then
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4437 $as_echo "$OBJDUMP" >&6; }
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4440 $as_echo "no" >&6; }
4445 if test -z "$ac_cv_prog_OBJDUMP"; then
4446 ac_ct_OBJDUMP=$OBJDUMP
4447 # Extract the first word of "objdump", so it can be a program name with args.
4448 set dummy objdump; ac_word=$2
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4450 $as_echo_n "checking for $ac_word... " >&6; }
4451 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4452 $as_echo_n "(cached) " >&6
4454 if test -n "$ac_ct_OBJDUMP"; then
4455 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4461 test -z "$as_dir" && as_dir=.
4462 for ac_exec_ext in '' $ac_executable_extensions; do
4463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4464 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4474 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4475 if test -n "$ac_ct_OBJDUMP"; then
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4477 $as_echo "$ac_ct_OBJDUMP" >&6; }
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4480 $as_echo "no" >&6; }
4483 if test "x$ac_ct_OBJDUMP" = x; then
4486 case $cross_compiling:$ac_tool_warned in
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4490 ac_tool_warned=yes ;;
4492 OBJDUMP=$ac_ct_OBJDUMP
4495 OBJDUMP="$ac_cv_prog_OBJDUMP"
4501 test -z "$AS" && AS=as
4507 test -z "$DLLTOOL" && DLLTOOL=dlltool
4513 test -z "$OBJDUMP" && OBJDUMP=objdump
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4524 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4529 macro_version='2.4.2'
4530 macro_revision='1.3337'
4544 ltmain="$ac_aux_dir/ltmain.sh"
4546 # Backslashify metacharacters that are still active within
4547 # double-quoted strings.
4548 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4550 # Same as above, but do not quote variable references.
4551 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4553 # Sed substitution to delay expansion of an escaped shell variable in a
4554 # double_quote_subst'ed string.
4555 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4557 # Sed substitution to delay expansion of an escaped single quote.
4558 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4560 # Sed substitution to avoid accidental globbing in evaled expressions
4561 no_glob_subst='s/\*/\\\*/g'
4563 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4564 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4565 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4568 $as_echo_n "checking how to print strings... " >&6; }
4569 # Test print first, because it will be a builtin if present.
4570 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4571 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4573 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4576 # Use this function as a fallback that always works.
4577 func_fallback_echo ()
4579 eval 'cat <<_LTECHO_EOF
4583 ECHO='func_fallback_echo'
4586 # func_echo_all arg...
4587 # Invoke $ECHO with all args, space-separated.
4594 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4595 $as_echo "printf" >&6; } ;;
4596 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4597 $as_echo "print -r" >&6; } ;;
4598 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4599 $as_echo "cat" >&6; } ;;
4615 DEPDIR="${am__leading_dot}deps"
4617 ac_config_commands="$ac_config_commands depfiles"
4620 am_make=${MAKE-make}
4621 cat > confinc << 'END'
4623 @echo this is the am__doit target
4626 # If we don't find an include directive, just comment out the code.
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4628 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4632 # First try GNU make style include.
4633 echo "include confinc" > confmf
4634 # Ignore all kinds of additional output from `make'.
4635 case `$am_make -s -f confmf 2> /dev/null` in #(
4636 *the\ am__doit\ target*)
4642 # Now try BSD make style include.
4643 if test "$am__include" = "#"; then
4644 echo '.include "confinc"' > confmf
4645 case `$am_make -s -f confmf 2> /dev/null` in #(
4646 *the\ am__doit\ target*)
4647 am__include=.include
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4656 $as_echo "$_am_result" >&6; }
4657 rm -f confinc confmf
4659 # Check whether --enable-dependency-tracking was given.
4660 if test "${enable_dependency_tracking+set}" = set; then :
4661 enableval=$enable_dependency_tracking;
4664 if test "x$enable_dependency_tracking" != xno; then
4665 am_depcomp="$ac_aux_dir/depcomp"
4669 if test "x$enable_dependency_tracking" != xno; then
4679 ac_cpp='$CPP $CPPFLAGS'
4680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4683 if test -n "$ac_tool_prefix"; then
4684 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4685 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4687 $as_echo_n "checking for $ac_word... " >&6; }
4688 if ${ac_cv_prog_CC+:} false; then :
4689 $as_echo_n "(cached) " >&6
4691 if test -n "$CC"; then
4692 ac_cv_prog_CC="$CC" # Let the user override the test.
4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4698 test -z "$as_dir" && as_dir=.
4699 for ac_exec_ext in '' $ac_executable_extensions; do
4700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4701 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4712 if test -n "$CC"; then
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4714 $as_echo "$CC" >&6; }
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4717 $as_echo "no" >&6; }
4722 if test -z "$ac_cv_prog_CC"; then
4724 # Extract the first word of "gcc", so it can be a program name with args.
4725 set dummy gcc; ac_word=$2
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4727 $as_echo_n "checking for $ac_word... " >&6; }
4728 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4729 $as_echo_n "(cached) " >&6
4731 if test -n "$ac_ct_CC"; then
4732 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4738 test -z "$as_dir" && as_dir=.
4739 for ac_exec_ext in '' $ac_executable_extensions; do
4740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4741 ac_cv_prog_ac_ct_CC="gcc"
4742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4751 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4752 if test -n "$ac_ct_CC"; then
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4754 $as_echo "$ac_ct_CC" >&6; }
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4757 $as_echo "no" >&6; }
4760 if test "x$ac_ct_CC" = x; then
4763 case $cross_compiling:$ac_tool_warned in
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4766 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4767 ac_tool_warned=yes ;;
4775 if test -z "$CC"; then
4776 if test -n "$ac_tool_prefix"; then
4777 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4778 set dummy ${ac_tool_prefix}cc; ac_word=$2
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4780 $as_echo_n "checking for $ac_word... " >&6; }
4781 if ${ac_cv_prog_CC+:} false; then :
4782 $as_echo_n "(cached) " >&6
4784 if test -n "$CC"; then
4785 ac_cv_prog_CC="$CC" # Let the user override the test.
4787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4791 test -z "$as_dir" && as_dir=.
4792 for ac_exec_ext in '' $ac_executable_extensions; do
4793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4794 ac_cv_prog_CC="${ac_tool_prefix}cc"
4795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4805 if test -n "$CC"; then
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4807 $as_echo "$CC" >&6; }
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4810 $as_echo "no" >&6; }
4816 if test -z "$CC"; then
4817 # Extract the first word of "cc", so it can be a program name with args.
4818 set dummy cc; ac_word=$2
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4820 $as_echo_n "checking for $ac_word... " >&6; }
4821 if ${ac_cv_prog_CC+:} false; then :
4822 $as_echo_n "(cached) " >&6
4824 if test -n "$CC"; then
4825 ac_cv_prog_CC="$CC" # Let the user override the test.
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 test -z "$as_dir" && as_dir=.
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4835 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4836 ac_prog_rejected=yes
4840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4847 if test $ac_prog_rejected = yes; then
4848 # We found a bogon in the path, so make sure we never use it.
4849 set dummy $ac_cv_prog_CC
4851 if test $# != 0; then
4852 # We chose a different compiler from the bogus one.
4853 # However, it has the same basename, so the bogon will be chosen
4854 # first if we set CC to just the basename; use the full file name.
4856 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4862 if test -n "$CC"; then
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4864 $as_echo "$CC" >&6; }
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4867 $as_echo "no" >&6; }
4872 if test -z "$CC"; then
4873 if test -n "$ac_tool_prefix"; then
4874 for ac_prog in cl.exe
4876 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4877 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4879 $as_echo_n "checking for $ac_word... " >&6; }
4880 if ${ac_cv_prog_CC+:} false; then :
4881 $as_echo_n "(cached) " >&6
4883 if test -n "$CC"; then
4884 ac_cv_prog_CC="$CC" # Let the user override the test.
4886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4890 test -z "$as_dir" && as_dir=.
4891 for ac_exec_ext in '' $ac_executable_extensions; do
4892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4893 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4904 if test -n "$CC"; then
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4906 $as_echo "$CC" >&6; }
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4909 $as_echo "no" >&6; }
4913 test -n "$CC" && break
4916 if test -z "$CC"; then
4918 for ac_prog in cl.exe
4920 # Extract the first word of "$ac_prog", so it can be a program name with args.
4921 set dummy $ac_prog; ac_word=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4925 $as_echo_n "(cached) " >&6
4927 if test -n "$ac_ct_CC"; then
4928 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4934 test -z "$as_dir" && as_dir=.
4935 for ac_exec_ext in '' $ac_executable_extensions; do
4936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4937 ac_cv_prog_ac_ct_CC="$ac_prog"
4938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4947 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4948 if test -n "$ac_ct_CC"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4950 $as_echo "$ac_ct_CC" >&6; }
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4957 test -n "$ac_ct_CC" && break
4960 if test "x$ac_ct_CC" = x; then
4963 case $cross_compiling:$ac_tool_warned in
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4967 ac_tool_warned=yes ;;
4976 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4978 as_fn_error $? "no acceptable C compiler found in \$PATH
4979 See \`config.log' for more details" "$LINENO" 5; }
4981 # Provide some information about the compiler.
4982 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4985 for ac_option in --version -v -V -qversion; do
4986 { { ac_try="$ac_compiler $ac_option >&5"
4988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4989 *) ac_try_echo=$ac_try;;
4991 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4992 $as_echo "$ac_try_echo"; } >&5
4993 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4995 if test -s conftest.err; then
4997 ... rest of stderr output deleted ...
4998 10q' conftest.err >conftest.er1
4999 cat conftest.er1 >&5
5001 rm -f conftest.er1 conftest.err
5002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5003 test $ac_status = 0; }
5006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5007 /* end confdefs.h. */
5017 ac_clean_files_save=$ac_clean_files
5018 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5019 # Try to create an executable without -o first, disregard a.out.
5020 # It will help us diagnose broken compilers, and finding out an intuition
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5023 $as_echo_n "checking whether the C compiler works... " >&6; }
5024 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5026 # The possible output files:
5027 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5030 for ac_file in $ac_files
5033 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5034 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5039 if { { ac_try="$ac_link_default"
5041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5042 *) ac_try_echo=$ac_try;;
5044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5045 $as_echo "$ac_try_echo"; } >&5
5046 (eval "$ac_link_default") 2>&5
5048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5049 test $ac_status = 0; }; then :
5050 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5051 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5052 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5053 # so that the user can short-circuit this test for compilers unknown to
5055 for ac_file in $ac_files ''
5057 test -f "$ac_file" || continue
5059 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5062 # We found the default executable, but exeext='' is most
5066 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
5068 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5070 # We set ac_cv_exeext here because the later test for it is not
5071 # safe: cross compilers may not add the suffix if given an `-o'
5072 # argument, so we may need to know it at that point already.
5073 # Even if this section looks crufty: it has the advantage of
5080 test "$ac_cv_exeext" = no && ac_cv_exeext=
5085 if test -z "$ac_file"; then :
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5087 $as_echo "no" >&6; }
5088 $as_echo "$as_me: failed program was:" >&5
5089 sed 's/^/| /' conftest.$ac_ext >&5
5091 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5093 as_fn_error 77 "C compiler cannot create executables
5094 See \`config.log' for more details" "$LINENO" 5; }
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5097 $as_echo "yes" >&6; }
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5100 $as_echo_n "checking for C compiler default output file name... " >&6; }
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5102 $as_echo "$ac_file" >&6; }
5103 ac_exeext=$ac_cv_exeext
5105 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5106 ac_clean_files=$ac_clean_files_save
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5108 $as_echo_n "checking for suffix of executables... " >&6; }
5109 if { { ac_try="$ac_link"
5111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5112 *) ac_try_echo=$ac_try;;
5114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5115 $as_echo "$ac_try_echo"; } >&5
5116 (eval "$ac_link") 2>&5
5118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5119 test $ac_status = 0; }; then :
5120 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5121 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5122 # work properly (i.e., refer to `conftest.exe'), while it won't with
5124 for ac_file in conftest.exe conftest conftest.*; do
5125 test -f "$ac_file" || continue
5127 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5128 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5134 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5136 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5137 See \`config.log' for more details" "$LINENO" 5; }
5139 rm -f conftest conftest$ac_cv_exeext
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5141 $as_echo "$ac_cv_exeext" >&6; }
5143 rm -f conftest.$ac_ext
5144 EXEEXT=$ac_cv_exeext
5146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5147 /* end confdefs.h. */
5152 FILE *f = fopen ("conftest.out", "w");
5153 return ferror (f) || fclose (f) != 0;
5159 ac_clean_files="$ac_clean_files conftest.out"
5160 # Check that the compiler produces executables we can run. If not, either
5161 # the compiler is broken, or we cross compile.
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5163 $as_echo_n "checking whether we are cross compiling... " >&6; }
5164 if test "$cross_compiling" != yes; then
5165 { { ac_try="$ac_link"
5167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5168 *) ac_try_echo=$ac_try;;
5170 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5171 $as_echo "$ac_try_echo"; } >&5
5172 (eval "$ac_link") 2>&5
5174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5175 test $ac_status = 0; }
5176 if { ac_try='./conftest$ac_cv_exeext'
5177 { { case "(($ac_try" in
5178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5179 *) ac_try_echo=$ac_try;;
5181 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5182 $as_echo "$ac_try_echo"; } >&5
5183 (eval "$ac_try") 2>&5
5185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5186 test $ac_status = 0; }; }; then
5189 if test "$cross_compiling" = maybe; then
5192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5194 as_fn_error $? "cannot run C compiled programs.
5195 If you meant to cross compile, use \`--host'.
5196 See \`config.log' for more details" "$LINENO" 5; }
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5201 $as_echo "$cross_compiling" >&6; }
5203 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5204 ac_clean_files=$ac_clean_files_save
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5206 $as_echo_n "checking for suffix of object files... " >&6; }
5207 if ${ac_cv_objext+:} false; then :
5208 $as_echo_n "(cached) " >&6
5210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5211 /* end confdefs.h. */
5221 rm -f conftest.o conftest.obj
5222 if { { ac_try="$ac_compile"
5224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5225 *) ac_try_echo=$ac_try;;
5227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5228 $as_echo "$ac_try_echo"; } >&5
5229 (eval "$ac_compile") 2>&5
5231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5232 test $ac_status = 0; }; then :
5233 for ac_file in conftest.o conftest.obj conftest.*; do
5234 test -f "$ac_file" || continue;
5236 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5237 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5242 $as_echo "$as_me: failed program was:" >&5
5243 sed 's/^/| /' conftest.$ac_ext >&5
5245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5246 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5247 as_fn_error $? "cannot compute suffix of object files: cannot compile
5248 See \`config.log' for more details" "$LINENO" 5; }
5250 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5253 $as_echo "$ac_cv_objext" >&6; }
5254 OBJEXT=$ac_cv_objext
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5257 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5258 if ${ac_cv_c_compiler_gnu+:} false; then :
5259 $as_echo_n "(cached) " >&6
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5275 if ac_fn_c_try_compile "$LINENO"; then :
5280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5281 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5285 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5286 if test $ac_compiler_gnu = yes; then
5291 ac_test_CFLAGS=${CFLAGS+set}
5292 ac_save_CFLAGS=$CFLAGS
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5294 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5295 if ${ac_cv_prog_cc_g+:} false; then :
5296 $as_echo_n "(cached) " >&6
5298 ac_save_c_werror_flag=$ac_c_werror_flag
5299 ac_c_werror_flag=yes
5302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h. */
5313 if ac_fn_c_try_compile "$LINENO"; then :
5317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5318 /* end confdefs.h. */
5328 if ac_fn_c_try_compile "$LINENO"; then :
5331 ac_c_werror_flag=$ac_save_c_werror_flag
5333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5334 /* end confdefs.h. */
5344 if ac_fn_c_try_compile "$LINENO"; then :
5347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5352 ac_c_werror_flag=$ac_save_c_werror_flag
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5355 $as_echo "$ac_cv_prog_cc_g" >&6; }
5356 if test "$ac_test_CFLAGS" = set; then
5357 CFLAGS=$ac_save_CFLAGS
5358 elif test $ac_cv_prog_cc_g = yes; then
5359 if test "$GCC" = yes; then
5365 if test "$GCC" = yes; then
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5372 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5373 if ${ac_cv_prog_cc_c89+:} false; then :
5374 $as_echo_n "(cached) " >&6
5376 ac_cv_prog_cc_c89=no
5378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5379 /* end confdefs.h. */
5382 #include <sys/types.h>
5383 #include <sys/stat.h>
5384 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5385 struct buf { int x; };
5386 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5387 static char *e (p, i)
5393 static char *f (char * (*g) (char **, int), char **p, ...)
5398 s = g (p, va_arg (v,int));
5403 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5404 function prototypes and stuff, but not '\xHH' hex character constants.
5405 These don't provoke an error unfortunately, instead are silently treated
5406 as 'x'. The following induces an error, until -std is added to get
5407 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5408 array size at least. It's necessary to write '\x00'==0 to get something
5409 that's true only with -std. */
5410 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5412 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5413 inside strings and character constants. */
5415 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5417 int test (int i, double x);
5418 struct s1 {int (*f) (int a);};
5419 struct s2 {int (*f) (double a);};
5420 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5426 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5431 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5432 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5434 CC="$ac_save_CC $ac_arg"
5435 if ac_fn_c_try_compile "$LINENO"; then :
5436 ac_cv_prog_cc_c89=$ac_arg
5438 rm -f core conftest.err conftest.$ac_objext
5439 test "x$ac_cv_prog_cc_c89" != "xno" && break
5441 rm -f conftest.$ac_ext
5446 case "x$ac_cv_prog_cc_c89" in
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5449 $as_echo "none needed" >&6; } ;;
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5452 $as_echo "unsupported" >&6; } ;;
5454 CC="$CC $ac_cv_prog_cc_c89"
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5456 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5458 if test "x$ac_cv_prog_cc_c89" != xno; then :
5463 ac_cpp='$CPP $CPPFLAGS'
5464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5468 depcc="$CC" am_compiler_list=
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5471 $as_echo_n "checking dependency style of $depcc... " >&6; }
5472 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5473 $as_echo_n "(cached) " >&6
5475 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5476 # We make a subdir and do the tests there. Otherwise we can end up
5477 # making bogus files that we don't know about and never remove. For
5478 # instance it was reported that on HP-UX the gcc test will end up
5479 # making a dummy file named `D' -- because `-MD' means `put the output
5483 # Copy depcomp to subdir because otherwise we won't find it if we're
5484 # using a relative directory.
5485 cp "$am_depcomp" conftest.dir
5487 # We will build objects and dependencies in a subdirectory because
5488 # it helps to detect inapplicable dependency modes. For instance
5489 # both Tru64's cc and ICC support -MD to output dependencies as a
5490 # side effect of compilation, but ICC will put the dependencies in
5491 # the current directory while Tru64 will put them in the object
5495 am_cv_CC_dependencies_compiler_type=none
5496 if test "$am_compiler_list" = ""; then
5497 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5500 case " $depcc " in #(
5501 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5504 for depmode in $am_compiler_list; do
5505 # Setup a source with many dependencies, because some compilers
5506 # like to wrap large dependency lists on column 80 (with \), and
5507 # we should not choose a depcomp mode which is confused by this.
5509 # We need to recreate these files for each test, as the compiler may
5510 # overwrite some of them when testing with obscure command lines.
5511 # This happens at least with the AIX C compiler.
5513 for i in 1 2 3 4 5 6; do
5514 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5515 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5516 # Solaris 8's {/usr,}/bin/sh.
5517 touch sub/conftst$i.h
5519 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5521 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5522 # mode. It turns out that the SunPro C++ compiler does not properly
5523 # handle `-M -o', and we need to detect this. Also, some Intel
5524 # versions had trouble with output in subdirs
5525 am__obj=sub/conftest.${OBJEXT-o}
5526 am__minus_obj="-o $am__obj"
5529 # This depmode causes a compiler race in universal mode.
5530 test "$am__universal" = false || continue
5533 # after this tag, mechanisms are not by side-effect, so they'll
5534 # only be used when explicitly requested
5535 if test "x$enable_dependency_tracking" = xyes; then
5541 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5542 # This compiler won't grok `-c -o', but also, the minuso test has
5543 # not run yet. These depmodes are late enough in the game, and
5544 # so weak that their functioning should not be impacted.
5545 am__obj=conftest.${OBJEXT-o}
5550 if depmode=$depmode \
5551 source=sub/conftest.c object=$am__obj \
5552 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5553 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5554 >/dev/null 2>conftest.err &&
5555 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5556 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5557 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5558 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5559 # icc doesn't choke on unknown options, it will just issue warnings
5560 # or remarks (even with -Werror). So we grep stderr for any message
5561 # that says an option was ignored or not supported.
5562 # When given -MP, icc 7.0 and 7.1 complain thusly:
5563 # icc: Command line warning: ignoring option '-M'; no argument required
5564 # The diagnosis changed in icc 8.0:
5565 # icc: Command line remark: option '-MP' not supported
5566 if (grep 'ignoring option' conftest.err ||
5567 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5568 am_cv_CC_dependencies_compiler_type=$depmode
5577 am_cv_CC_dependencies_compiler_type=none
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5582 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5583 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5586 test "x$enable_dependency_tracking" != xno \
5587 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5589 am__fastdepCC_FALSE='#'
5591 am__fastdepCC_TRUE='#'
5592 am__fastdepCC_FALSE=
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5597 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5598 if ${ac_cv_path_SED+:} false; then :
5599 $as_echo_n "(cached) " >&6
5601 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5602 for ac_i in 1 2 3 4 5 6 7; do
5603 ac_script="$ac_script$as_nl$ac_script"
5605 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5606 { ac_script=; unset ac_script;}
5607 if test -z "$SED"; then
5608 ac_path_SED_found=false
5609 # Loop through the user's path and test for each of PROGNAME-LIST
5610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5614 test -z "$as_dir" && as_dir=.
5615 for ac_prog in sed gsed; do
5616 for ac_exec_ext in '' $ac_executable_extensions; do
5617 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5618 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5619 # Check for GNU ac_path_SED and select it if it is found.
5620 # Check for GNU $ac_path_SED
5621 case `"$ac_path_SED" --version 2>&1` in
5623 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5626 $as_echo_n 0123456789 >"conftest.in"
5629 cat "conftest.in" "conftest.in" >"conftest.tmp"
5630 mv "conftest.tmp" "conftest.in"
5631 cp "conftest.in" "conftest.nl"
5632 $as_echo '' >> "conftest.nl"
5633 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5634 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5635 as_fn_arith $ac_count + 1 && ac_count=$as_val
5636 if test $ac_count -gt ${ac_path_SED_max-0}; then
5637 # Best one so far, save it but keep looking for a better one
5638 ac_cv_path_SED="$ac_path_SED"
5639 ac_path_SED_max=$ac_count
5641 # 10*(2^10) chars as input seems more than enough
5642 test $ac_count -gt 10 && break
5644 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5647 $ac_path_SED_found && break 3
5652 if test -z "$ac_cv_path_SED"; then
5653 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5661 $as_echo "$ac_cv_path_SED" >&6; }
5662 SED="$ac_cv_path_SED"
5665 test -z "$SED" && SED=sed
5666 Xsed="$SED -e 1s/^X//"
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5679 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5680 if ${ac_cv_path_GREP+:} false; then :
5681 $as_echo_n "(cached) " >&6
5683 if test -z "$GREP"; then
5684 ac_path_GREP_found=false
5685 # Loop through the user's path and test for each of PROGNAME-LIST
5686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5687 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5690 test -z "$as_dir" && as_dir=.
5691 for ac_prog in grep ggrep; do
5692 for ac_exec_ext in '' $ac_executable_extensions; do
5693 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5694 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5695 # Check for GNU ac_path_GREP and select it if it is found.
5696 # Check for GNU $ac_path_GREP
5697 case `"$ac_path_GREP" --version 2>&1` in
5699 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5702 $as_echo_n 0123456789 >"conftest.in"
5705 cat "conftest.in" "conftest.in" >"conftest.tmp"
5706 mv "conftest.tmp" "conftest.in"
5707 cp "conftest.in" "conftest.nl"
5708 $as_echo 'GREP' >> "conftest.nl"
5709 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5710 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5711 as_fn_arith $ac_count + 1 && ac_count=$as_val
5712 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5713 # Best one so far, save it but keep looking for a better one
5714 ac_cv_path_GREP="$ac_path_GREP"
5715 ac_path_GREP_max=$ac_count
5717 # 10*(2^10) chars as input seems more than enough
5718 test $ac_count -gt 10 && break
5720 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5723 $ac_path_GREP_found && break 3
5728 if test -z "$ac_cv_path_GREP"; then
5729 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5732 ac_cv_path_GREP=$GREP
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5737 $as_echo "$ac_cv_path_GREP" >&6; }
5738 GREP="$ac_cv_path_GREP"
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5742 $as_echo_n "checking for egrep... " >&6; }
5743 if ${ac_cv_path_EGREP+:} false; then :
5744 $as_echo_n "(cached) " >&6
5746 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5747 then ac_cv_path_EGREP="$GREP -E"
5749 if test -z "$EGREP"; then
5750 ac_path_EGREP_found=false
5751 # Loop through the user's path and test for each of PROGNAME-LIST
5752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5756 test -z "$as_dir" && as_dir=.
5757 for ac_prog in egrep; do
5758 for ac_exec_ext in '' $ac_executable_extensions; do
5759 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5760 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5761 # Check for GNU ac_path_EGREP and select it if it is found.
5762 # Check for GNU $ac_path_EGREP
5763 case `"$ac_path_EGREP" --version 2>&1` in
5765 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5768 $as_echo_n 0123456789 >"conftest.in"
5771 cat "conftest.in" "conftest.in" >"conftest.tmp"
5772 mv "conftest.tmp" "conftest.in"
5773 cp "conftest.in" "conftest.nl"
5774 $as_echo 'EGREP' >> "conftest.nl"
5775 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5776 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5777 as_fn_arith $ac_count + 1 && ac_count=$as_val
5778 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5779 # Best one so far, save it but keep looking for a better one
5780 ac_cv_path_EGREP="$ac_path_EGREP"
5781 ac_path_EGREP_max=$ac_count
5783 # 10*(2^10) chars as input seems more than enough
5784 test $ac_count -gt 10 && break
5786 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5789 $ac_path_EGREP_found && break 3
5794 if test -z "$ac_cv_path_EGREP"; then
5795 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5798 ac_cv_path_EGREP=$EGREP
5803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5804 $as_echo "$ac_cv_path_EGREP" >&6; }
5805 EGREP="$ac_cv_path_EGREP"
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5809 $as_echo_n "checking for fgrep... " >&6; }
5810 if ${ac_cv_path_FGREP+:} false; then :
5811 $as_echo_n "(cached) " >&6
5813 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5814 then ac_cv_path_FGREP="$GREP -F"
5816 if test -z "$FGREP"; then
5817 ac_path_FGREP_found=false
5818 # Loop through the user's path and test for each of PROGNAME-LIST
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5823 test -z "$as_dir" && as_dir=.
5824 for ac_prog in fgrep; do
5825 for ac_exec_ext in '' $ac_executable_extensions; do
5826 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5827 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5828 # Check for GNU ac_path_FGREP and select it if it is found.
5829 # Check for GNU $ac_path_FGREP
5830 case `"$ac_path_FGREP" --version 2>&1` in
5832 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5835 $as_echo_n 0123456789 >"conftest.in"
5838 cat "conftest.in" "conftest.in" >"conftest.tmp"
5839 mv "conftest.tmp" "conftest.in"
5840 cp "conftest.in" "conftest.nl"
5841 $as_echo 'FGREP' >> "conftest.nl"
5842 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5843 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5844 as_fn_arith $ac_count + 1 && ac_count=$as_val
5845 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5846 # Best one so far, save it but keep looking for a better one
5847 ac_cv_path_FGREP="$ac_path_FGREP"
5848 ac_path_FGREP_max=$ac_count
5850 # 10*(2^10) chars as input seems more than enough
5851 test $ac_count -gt 10 && break
5853 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5856 $ac_path_FGREP_found && break 3
5861 if test -z "$ac_cv_path_FGREP"; then
5862 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5865 ac_cv_path_FGREP=$FGREP
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5871 $as_echo "$ac_cv_path_FGREP" >&6; }
5872 FGREP="$ac_cv_path_FGREP"
5875 test -z "$GREP" && GREP=grep
5895 # Check whether --with-gnu-ld was given.
5896 if test "${with_gnu_ld+set}" = set; then :
5897 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5903 if test "$GCC" = yes; then
5904 # Check if gcc -print-prog-name=ld gives a path.
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5906 $as_echo_n "checking for ld used by $CC... " >&6; }
5909 # gcc leaves a trailing carriage return which upsets mingw
5910 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5912 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5915 # Accept absolute paths.
5917 re_direlt='/[^/][^/]*/\.\./'
5918 # Canonicalize the pathname of ld
5919 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5920 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5921 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5923 test -z "$LD" && LD="$ac_prog"
5926 # If it fails, then pretend we aren't using GCC.
5930 # If it is relative, then search for the first ld in PATH.
5934 elif test "$with_gnu_ld" = yes; then
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5936 $as_echo_n "checking for GNU ld... " >&6; }
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5939 $as_echo_n "checking for non-GNU ld... " >&6; }
5941 if ${lt_cv_path_LD+:} false; then :
5942 $as_echo_n "(cached) " >&6
5944 if test -z "$LD"; then
5945 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5946 for ac_dir in $PATH; do
5948 test -z "$ac_dir" && ac_dir=.
5949 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5950 lt_cv_path_LD="$ac_dir/$ac_prog"
5951 # Check to see if the program is GNU ld. I'd rather use --version,
5952 # but apparently some variants of GNU ld only accept -v.
5953 # Break only if it was the GNU/non-GNU ld that we prefer.
5954 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5955 *GNU* | *'with BFD'*)
5956 test "$with_gnu_ld" != no && break
5959 test "$with_gnu_ld" != yes && break
5966 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5971 if test -n "$LD"; then
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5973 $as_echo "$LD" >&6; }
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5976 $as_echo "no" >&6; }
5978 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5980 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5981 if ${lt_cv_prog_gnu_ld+:} false; then :
5982 $as_echo_n "(cached) " >&6
5984 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5985 case `$LD -v 2>&1 </dev/null` in
5986 *GNU* | *'with BFD'*)
5987 lt_cv_prog_gnu_ld=yes
5990 lt_cv_prog_gnu_ld=no
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5995 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5996 with_gnu_ld=$lt_cv_prog_gnu_ld
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6007 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6008 if ${lt_cv_path_NM+:} false; then :
6009 $as_echo_n "(cached) " >&6
6011 if test -n "$NM"; then
6012 # Let the user override the test.
6015 lt_nm_to_check="${ac_tool_prefix}nm"
6016 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6017 lt_nm_to_check="$lt_nm_to_check nm"
6019 for lt_tmp_nm in $lt_nm_to_check; do
6020 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6021 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6023 test -z "$ac_dir" && ac_dir=.
6024 tmp_nm="$ac_dir/$lt_tmp_nm"
6025 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6026 # Check to see if the nm accepts a BSD-compat flag.
6027 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6028 # nm: unknown option "B" ignored
6029 # Tru64's nm complains that /dev/null is an invalid object file
6030 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6031 */dev/null* | *'Invalid file or object type'*)
6032 lt_cv_path_NM="$tmp_nm -B"
6036 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6038 lt_cv_path_NM="$tmp_nm -p"
6042 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6043 continue # so that we can try to find one that supports BSD flags
6052 : ${lt_cv_path_NM=no}
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6056 $as_echo "$lt_cv_path_NM" >&6; }
6057 if test "$lt_cv_path_NM" != "no"; then
6060 # Didn't find any BSD compatible name lister, look for dumpbin.
6061 if test -n "$DUMPBIN"; then :
6062 # Let the user override the test.
6064 if test -n "$ac_tool_prefix"; then
6065 for ac_prog in dumpbin "link -dump"
6067 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6068 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6070 $as_echo_n "checking for $ac_word... " >&6; }
6071 if ${ac_cv_prog_DUMPBIN+:} false; then :
6072 $as_echo_n "(cached) " >&6
6074 if test -n "$DUMPBIN"; then
6075 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6081 test -z "$as_dir" && as_dir=.
6082 for ac_exec_ext in '' $ac_executable_extensions; do
6083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6084 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6094 DUMPBIN=$ac_cv_prog_DUMPBIN
6095 if test -n "$DUMPBIN"; then
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6097 $as_echo "$DUMPBIN" >&6; }
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6100 $as_echo "no" >&6; }
6104 test -n "$DUMPBIN" && break
6107 if test -z "$DUMPBIN"; then
6108 ac_ct_DUMPBIN=$DUMPBIN
6109 for ac_prog in dumpbin "link -dump"
6111 # Extract the first word of "$ac_prog", so it can be a program name with args.
6112 set dummy $ac_prog; ac_word=$2
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114 $as_echo_n "checking for $ac_word... " >&6; }
6115 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6116 $as_echo_n "(cached) " >&6
6118 if test -n "$ac_ct_DUMPBIN"; then
6119 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125 test -z "$as_dir" && as_dir=.
6126 for ac_exec_ext in '' $ac_executable_extensions; do
6127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6128 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6138 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6139 if test -n "$ac_ct_DUMPBIN"; then
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6141 $as_echo "$ac_ct_DUMPBIN" >&6; }
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6144 $as_echo "no" >&6; }
6148 test -n "$ac_ct_DUMPBIN" && break
6151 if test "x$ac_ct_DUMPBIN" = x; then
6154 case $cross_compiling:$ac_tool_warned in
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6158 ac_tool_warned=yes ;;
6160 DUMPBIN=$ac_ct_DUMPBIN
6164 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6166 DUMPBIN="$DUMPBIN -symbols"
6174 if test "$DUMPBIN" != ":"; then
6178 test -z "$NM" && NM=nm
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6186 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6187 if ${lt_cv_nm_interface+:} false; then :
6188 $as_echo_n "(cached) " >&6
6190 lt_cv_nm_interface="BSD nm"
6191 echo "int some_variable = 0;" > conftest.$ac_ext
6192 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6193 (eval "$ac_compile" 2>conftest.err)
6194 cat conftest.err >&5
6195 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6196 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6197 cat conftest.err >&5
6198 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6199 cat conftest.out >&5
6200 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6201 lt_cv_nm_interface="MS dumpbin"
6205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6206 $as_echo "$lt_cv_nm_interface" >&6; }
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6209 $as_echo_n "checking whether ln -s works... " >&6; }
6211 if test "$LN_S" = "ln -s"; then
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6213 $as_echo "yes" >&6; }
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6216 $as_echo "no, using $LN_S" >&6; }
6219 # find the maximum length of command line arguments
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6221 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6222 if ${lt_cv_sys_max_cmd_len+:} false; then :
6223 $as_echo_n "(cached) " >&6
6230 # On DJGPP, this test can blow up pretty badly due to problems in libc
6231 # (any single argument exceeding 2000 bytes causes a buffer overrun
6232 # during glob expansion). Even if it were fixed, the result of this
6233 # check would be larger than it should be.
6234 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6238 # Under GNU Hurd, this test is not required because there is
6239 # no limit to the length of command line arguments.
6240 # Libtool will interpret -1 as no limit whatsoever
6241 lt_cv_sys_max_cmd_len=-1;
6244 cygwin* | mingw* | cegcc*)
6245 # On Win9x/ME, this test blows up -- it succeeds, but takes
6246 # about 5 minutes as the teststring grows exponentially.
6247 # Worse, since 9x/ME are not pre-emptively multitasking,
6248 # you end up with a "frozen" computer, even though with patience
6249 # the test eventually succeeds (with a max line length of 256k).
6250 # Instead, let's just punt: use the minimum linelength reported by
6251 # all of the supported platforms: 8192 (on NT/2K/XP).
6252 lt_cv_sys_max_cmd_len=8192;
6256 # On MiNT this can take a long time and run out of memory.
6257 lt_cv_sys_max_cmd_len=8192;
6261 # On AmigaOS with pdksh, this test takes hours, literally.
6262 # So we just punt and use a minimum line length of 8192.
6263 lt_cv_sys_max_cmd_len=8192;
6266 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6267 # This has been around since 386BSD, at least. Likely further.
6268 if test -x /sbin/sysctl; then
6269 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6270 elif test -x /usr/sbin/sysctl; then
6271 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6273 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6275 # And add a safety zone
6276 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6277 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6281 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6282 lt_cv_sys_max_cmd_len=196608
6286 # The test takes a long time on OS/2.
6287 lt_cv_sys_max_cmd_len=8192
6291 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6292 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6293 # nice to cause kernel panics so lets avoid the loop below.
6294 # First set a reasonable default.
6295 lt_cv_sys_max_cmd_len=16384
6297 if test -x /sbin/sysconfig; then
6298 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6299 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6304 lt_cv_sys_max_cmd_len=102400
6306 sysv5* | sco5v6* | sysv4.2uw2*)
6307 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6308 if test -n "$kargmax"; then
6309 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6311 lt_cv_sys_max_cmd_len=32768
6315 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6316 if test -n "$lt_cv_sys_max_cmd_len"; then
6317 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6318 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6320 # Make teststring a little bigger before we do anything with it.
6321 # a 1K string should be a reasonable start.
6322 for i in 1 2 3 4 5 6 7 8 ; do
6323 teststring=$teststring$teststring
6325 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6326 # If test is not a shell built-in, we'll probably end up computing a
6327 # maximum length that is only half of the actual maximum length, but
6329 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6330 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6331 test $i != 17 # 1/2 MB should be enough
6334 teststring=$teststring$teststring
6336 # Only check the string length outside the loop.
6337 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6339 # Add a significant safety factor because C++ compilers can tack on
6340 # massive amounts of additional arguments before passing them to the
6341 # linker. It appears as though 1/2 is a usable value.
6342 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6349 if test -n $lt_cv_sys_max_cmd_len ; then
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6351 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6354 $as_echo "none" >&6; }
6356 max_cmd_len=$lt_cv_sys_max_cmd_len
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6368 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6369 # Try some XSI features
6372 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6374 && eval 'test $(( 1 + 1 )) -eq 2 \
6375 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6378 $as_echo "$xsi_shell" >&6; }
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6382 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6384 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6386 && lt_shell_append=yes
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6388 $as_echo "$lt_shell_append" >&6; }
6391 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6401 # test EBCDIC or ASCII
6402 case `echo X|tr X '\101'` in
6403 A) # ASCII based system
6404 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6405 lt_SP2NL='tr \040 \012'
6406 lt_NL2SP='tr \015\012 \040\040'
6408 *) # EBCDIC based system
6409 lt_SP2NL='tr \100 \n'
6410 lt_NL2SP='tr \r\n \100\100'
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6423 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6424 if ${lt_cv_to_host_file_cmd+:} false; then :
6425 $as_echo_n "(cached) " >&6
6430 *-*-mingw* ) # actually msys
6431 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6434 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6436 * ) # otherwise, assume *nix
6437 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6443 *-*-mingw* ) # actually msys
6444 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6447 lt_cv_to_host_file_cmd=func_convert_file_noop
6449 * ) # otherwise, assume *nix
6450 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6454 * ) # unhandled hosts (and "normal" native builds)
6455 lt_cv_to_host_file_cmd=func_convert_file_noop
6461 to_host_file_cmd=$lt_cv_to_host_file_cmd
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6463 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6470 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6471 if ${lt_cv_to_tool_file_cmd+:} false; then :
6472 $as_echo_n "(cached) " >&6
6474 #assume ordinary cross tools, or native build.
6475 lt_cv_to_tool_file_cmd=func_convert_file_noop
6479 *-*-mingw* ) # actually msys
6480 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6488 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6490 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6497 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6498 if ${lt_cv_ld_reload_flag+:} false; then :
6499 $as_echo_n "(cached) " >&6
6501 lt_cv_ld_reload_flag='-r'
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6504 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6505 reload_flag=$lt_cv_ld_reload_flag
6506 case $reload_flag in
6508 *) reload_flag=" $reload_flag" ;;
6510 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6512 cygwin* | mingw* | pw32* | cegcc*)
6513 if test "$GCC" != yes; then
6518 if test "$GCC" = yes; then
6519 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6521 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6534 if test -n "$ac_tool_prefix"; then
6535 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6536 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6538 $as_echo_n "checking for $ac_word... " >&6; }
6539 if ${ac_cv_prog_OBJDUMP+:} false; then :
6540 $as_echo_n "(cached) " >&6
6542 if test -n "$OBJDUMP"; then
6543 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6549 test -z "$as_dir" && as_dir=.
6550 for ac_exec_ext in '' $ac_executable_extensions; do
6551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6552 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6562 OBJDUMP=$ac_cv_prog_OBJDUMP
6563 if test -n "$OBJDUMP"; then
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6565 $as_echo "$OBJDUMP" >&6; }
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6568 $as_echo "no" >&6; }
6573 if test -z "$ac_cv_prog_OBJDUMP"; then
6574 ac_ct_OBJDUMP=$OBJDUMP
6575 # Extract the first word of "objdump", so it can be a program name with args.
6576 set dummy objdump; ac_word=$2
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6578 $as_echo_n "checking for $ac_word... " >&6; }
6579 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6580 $as_echo_n "(cached) " >&6
6582 if test -n "$ac_ct_OBJDUMP"; then
6583 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6589 test -z "$as_dir" && as_dir=.
6590 for ac_exec_ext in '' $ac_executable_extensions; do
6591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6592 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6602 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6603 if test -n "$ac_ct_OBJDUMP"; then
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6605 $as_echo "$ac_ct_OBJDUMP" >&6; }
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6608 $as_echo "no" >&6; }
6611 if test "x$ac_ct_OBJDUMP" = x; then
6614 case $cross_compiling:$ac_tool_warned in
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6618 ac_tool_warned=yes ;;
6620 OBJDUMP=$ac_ct_OBJDUMP
6623 OBJDUMP="$ac_cv_prog_OBJDUMP"
6626 test -z "$OBJDUMP" && OBJDUMP=objdump
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6634 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6635 if ${lt_cv_deplibs_check_method+:} false; then :
6636 $as_echo_n "(cached) " >&6
6638 lt_cv_file_magic_cmd='$MAGIC_CMD'
6639 lt_cv_file_magic_test_file=
6640 lt_cv_deplibs_check_method='unknown'
6641 # Need to set the preceding variable on all platforms that support
6642 # interlibrary dependencies.
6643 # 'none' -- dependencies not supported.
6644 # `unknown' -- same as none, but documents that we really don't know.
6645 # 'pass_all' -- all dependencies passed with no checks.
6646 # 'test_compile' -- check by making test program.
6647 # 'file_magic [[regex]]' -- check by looking for files in library path
6648 # which responds to the $file_magic_cmd with a given extended regex.
6649 # If you have `file' or equivalent on your system and you're not sure
6650 # whether `pass_all' will *always* work, you probably want this one.
6654 lt_cv_deplibs_check_method=pass_all
6658 lt_cv_deplibs_check_method=pass_all
6662 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6663 lt_cv_file_magic_cmd='/usr/bin/file -L'
6664 lt_cv_file_magic_test_file=/shlib/libc.so
6668 # func_win32_libid is a shell function defined in ltmain.sh
6669 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6670 lt_cv_file_magic_cmd='func_win32_libid'
6674 # Base MSYS/MinGW do not provide the 'file' command needed by
6675 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6676 # unless we find 'file', for example because we are cross-compiling.
6677 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6678 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6679 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6680 lt_cv_file_magic_cmd='func_win32_libid'
6682 # Keep this pattern in sync with the one in func_win32_libid.
6683 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6684 lt_cv_file_magic_cmd='$OBJDUMP -f'
6689 # use the weaker test based on 'objdump'. See mingw*.
6690 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6691 lt_cv_file_magic_cmd='$OBJDUMP -f'
6694 darwin* | rhapsody*)
6695 lt_cv_deplibs_check_method=pass_all
6698 freebsd* | dragonfly*)
6699 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6702 # Not sure whether the presence of OpenBSD here was a mistake.
6703 # Let's accept both of them until this is cleared up.
6704 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6705 lt_cv_file_magic_cmd=/usr/bin/file
6706 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6710 lt_cv_deplibs_check_method=pass_all
6715 lt_cv_deplibs_check_method=pass_all
6719 lt_cv_deplibs_check_method=pass_all
6722 hpux10.20* | hpux11*)
6723 lt_cv_file_magic_cmd=/usr/bin/file
6726 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6727 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6730 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]'
6731 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6734 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6735 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6741 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6742 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6745 irix5* | irix6* | nonstopux*)
6747 *-32|*"-32 ") libmagic=32-bit;;
6748 *-n32|*"-n32 ") libmagic=N32;;
6749 *-64|*"-64 ") libmagic=64-bit;;
6750 *) libmagic=never-match;;
6752 lt_cv_deplibs_check_method=pass_all
6755 # This must be glibc/ELF.
6756 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6757 lt_cv_deplibs_check_method=pass_all
6760 netbsd* | netbsdelf*-gnu)
6761 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6762 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6764 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6769 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6770 lt_cv_file_magic_cmd=/usr/bin/file
6771 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6775 lt_cv_deplibs_check_method=pass_all
6779 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6780 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6782 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6786 osf3* | osf4* | osf5*)
6787 lt_cv_deplibs_check_method=pass_all
6791 lt_cv_deplibs_check_method=pass_all
6795 lt_cv_deplibs_check_method=pass_all
6798 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6799 lt_cv_deplibs_check_method=pass_all
6803 case $host_vendor in
6805 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]'
6806 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6809 lt_cv_deplibs_check_method=pass_all
6812 lt_cv_file_magic_cmd='/bin/file'
6813 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6816 lt_cv_file_magic_cmd='/bin/file'
6817 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6818 lt_cv_file_magic_test_file=/lib/libc.so
6821 lt_cv_deplibs_check_method=pass_all
6824 lt_cv_deplibs_check_method=pass_all
6830 lt_cv_deplibs_check_method=pass_all
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6836 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6840 if test "$build" = "$host"; then
6843 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6846 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6852 file_magic_cmd=$lt_cv_file_magic_cmd
6853 deplibs_check_method=$lt_cv_deplibs_check_method
6854 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6877 if test -n "$ac_tool_prefix"; then
6878 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6879 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6881 $as_echo_n "checking for $ac_word... " >&6; }
6882 if ${ac_cv_prog_DLLTOOL+:} false; then :
6883 $as_echo_n "(cached) " >&6
6885 if test -n "$DLLTOOL"; then
6886 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6892 test -z "$as_dir" && as_dir=.
6893 for ac_exec_ext in '' $ac_executable_extensions; do
6894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6895 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6905 DLLTOOL=$ac_cv_prog_DLLTOOL
6906 if test -n "$DLLTOOL"; then
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6908 $as_echo "$DLLTOOL" >&6; }
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911 $as_echo "no" >&6; }
6916 if test -z "$ac_cv_prog_DLLTOOL"; then
6917 ac_ct_DLLTOOL=$DLLTOOL
6918 # Extract the first word of "dlltool", so it can be a program name with args.
6919 set dummy dlltool; ac_word=$2
6920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6921 $as_echo_n "checking for $ac_word... " >&6; }
6922 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6923 $as_echo_n "(cached) " >&6
6925 if test -n "$ac_ct_DLLTOOL"; then
6926 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6932 test -z "$as_dir" && as_dir=.
6933 for ac_exec_ext in '' $ac_executable_extensions; do
6934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6935 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6945 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6946 if test -n "$ac_ct_DLLTOOL"; then
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6948 $as_echo "$ac_ct_DLLTOOL" >&6; }
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6951 $as_echo "no" >&6; }
6954 if test "x$ac_ct_DLLTOOL" = x; then
6957 case $cross_compiling:$ac_tool_warned in
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6961 ac_tool_warned=yes ;;
6963 DLLTOOL=$ac_ct_DLLTOOL
6966 DLLTOOL="$ac_cv_prog_DLLTOOL"
6969 test -z "$DLLTOOL" && DLLTOOL=dlltool
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6978 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6979 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6980 $as_echo_n "(cached) " >&6
6982 lt_cv_sharedlib_from_linklib_cmd='unknown'
6985 cygwin* | mingw* | pw32* | cegcc*)
6986 # two different shell functions defined in ltmain.sh
6987 # decide which to use based on capabilities of $DLLTOOL
6988 case `$DLLTOOL --help 2>&1` in
6989 *--identify-strict*)
6990 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6993 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6998 # fallback: assume linklib IS sharedlib
6999 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7005 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7006 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7007 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7016 if test -n "$ac_tool_prefix"; then
7019 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7020 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7022 $as_echo_n "checking for $ac_word... " >&6; }
7023 if ${ac_cv_prog_AR+:} false; then :
7024 $as_echo_n "(cached) " >&6
7026 if test -n "$AR"; then
7027 ac_cv_prog_AR="$AR" # Let the user override the test.
7029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7033 test -z "$as_dir" && as_dir=.
7034 for ac_exec_ext in '' $ac_executable_extensions; do
7035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7036 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7047 if test -n "$AR"; then
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7049 $as_echo "$AR" >&6; }
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7052 $as_echo "no" >&6; }
7056 test -n "$AR" && break
7059 if test -z "$AR"; then
7063 # Extract the first word of "$ac_prog", so it can be a program name with args.
7064 set dummy $ac_prog; ac_word=$2
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 $as_echo_n "checking for $ac_word... " >&6; }
7067 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7068 $as_echo_n "(cached) " >&6
7070 if test -n "$ac_ct_AR"; then
7071 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077 test -z "$as_dir" && as_dir=.
7078 for ac_exec_ext in '' $ac_executable_extensions; do
7079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7080 ac_cv_prog_ac_ct_AR="$ac_prog"
7081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7090 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7091 if test -n "$ac_ct_AR"; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7093 $as_echo "$ac_ct_AR" >&6; }
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7096 $as_echo "no" >&6; }
7100 test -n "$ac_ct_AR" && break
7103 if test "x$ac_ct_AR" = x; then
7106 case $cross_compiling:$ac_tool_warned in
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7110 ac_tool_warned=yes ;;
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7130 $as_echo_n "checking for archiver @FILE support... " >&6; }
7131 if ${lt_cv_ar_at_file+:} false; then :
7132 $as_echo_n "(cached) " >&6
7135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7136 /* end confdefs.h. */
7146 if ac_fn_c_try_compile "$LINENO"; then :
7147 echo conftest.$ac_objext > conftest.lst
7148 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7149 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7150 (eval $lt_ar_try) 2>&5
7152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7153 test $ac_status = 0; }
7154 if test "$ac_status" -eq 0; then
7155 # Ensure the archiver fails upon bogus file names.
7156 rm -f conftest.$ac_objext libconftest.a
7157 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7158 (eval $lt_ar_try) 2>&5
7160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7161 test $ac_status = 0; }
7162 if test "$ac_status" -ne 0; then
7166 rm -f conftest.* libconftest.a
7169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7173 $as_echo "$lt_cv_ar_at_file" >&6; }
7175 if test "x$lt_cv_ar_at_file" = xno; then
7178 archiver_list_spec=$lt_cv_ar_at_file
7187 if test -n "$ac_tool_prefix"; then
7188 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7189 set dummy ${ac_tool_prefix}strip; ac_word=$2
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7191 $as_echo_n "checking for $ac_word... " >&6; }
7192 if ${ac_cv_prog_STRIP+:} false; then :
7193 $as_echo_n "(cached) " >&6
7195 if test -n "$STRIP"; then
7196 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202 test -z "$as_dir" && as_dir=.
7203 for ac_exec_ext in '' $ac_executable_extensions; do
7204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7205 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7215 STRIP=$ac_cv_prog_STRIP
7216 if test -n "$STRIP"; then
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7218 $as_echo "$STRIP" >&6; }
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7221 $as_echo "no" >&6; }
7226 if test -z "$ac_cv_prog_STRIP"; then
7228 # Extract the first word of "strip", so it can be a program name with args.
7229 set dummy strip; ac_word=$2
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7231 $as_echo_n "checking for $ac_word... " >&6; }
7232 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7233 $as_echo_n "(cached) " >&6
7235 if test -n "$ac_ct_STRIP"; then
7236 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242 test -z "$as_dir" && as_dir=.
7243 for ac_exec_ext in '' $ac_executable_extensions; do
7244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7245 ac_cv_prog_ac_ct_STRIP="strip"
7246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7255 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7256 if test -n "$ac_ct_STRIP"; then
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7258 $as_echo "$ac_ct_STRIP" >&6; }
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261 $as_echo "no" >&6; }
7264 if test "x$ac_ct_STRIP" = x; then
7267 case $cross_compiling:$ac_tool_warned in
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7271 ac_tool_warned=yes ;;
7276 STRIP="$ac_cv_prog_STRIP"
7279 test -z "$STRIP" && STRIP=:
7286 if test -n "$ac_tool_prefix"; then
7287 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7288 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7290 $as_echo_n "checking for $ac_word... " >&6; }
7291 if ${ac_cv_prog_RANLIB+:} false; then :
7292 $as_echo_n "(cached) " >&6
7294 if test -n "$RANLIB"; then
7295 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7301 test -z "$as_dir" && as_dir=.
7302 for ac_exec_ext in '' $ac_executable_extensions; do
7303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7304 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314 RANLIB=$ac_cv_prog_RANLIB
7315 if test -n "$RANLIB"; then
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7317 $as_echo "$RANLIB" >&6; }
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7320 $as_echo "no" >&6; }
7325 if test -z "$ac_cv_prog_RANLIB"; then
7326 ac_ct_RANLIB=$RANLIB
7327 # Extract the first word of "ranlib", so it can be a program name with args.
7328 set dummy ranlib; ac_word=$2
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7330 $as_echo_n "checking for $ac_word... " >&6; }
7331 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7332 $as_echo_n "(cached) " >&6
7334 if test -n "$ac_ct_RANLIB"; then
7335 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7341 test -z "$as_dir" && as_dir=.
7342 for ac_exec_ext in '' $ac_executable_extensions; do
7343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7344 ac_cv_prog_ac_ct_RANLIB="ranlib"
7345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7354 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7355 if test -n "$ac_ct_RANLIB"; then
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7357 $as_echo "$ac_ct_RANLIB" >&6; }
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7360 $as_echo "no" >&6; }
7363 if test "x$ac_ct_RANLIB" = x; then
7366 case $cross_compiling:$ac_tool_warned in
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7370 ac_tool_warned=yes ;;
7372 RANLIB=$ac_ct_RANLIB
7375 RANLIB="$ac_cv_prog_RANLIB"
7378 test -z "$RANLIB" && RANLIB=:
7385 # Determine commands to create old-style static archives.
7386 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7387 old_postinstall_cmds='chmod 644 $oldlib'
7388 old_postuninstall_cmds=
7390 if test -n "$RANLIB"; then
7393 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7396 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7399 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7404 lock_old_archive_extraction=yes ;;
7406 lock_old_archive_extraction=no ;;
7447 # If no C compiler was specified, use CC.
7450 # If no C compiler flags were specified, use CFLAGS.
7451 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7453 # Allow CC to be a program name with arguments.
7457 # Check for command to grab the raw symbol name followed by C symbol from nm.
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7459 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7460 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7461 $as_echo_n "(cached) " >&6
7464 # These are sane defaults that work on at least a few old systems.
7465 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7467 # Character class describing NM global symbol codes.
7468 symcode='[BCDEGRST]'
7470 # Regexp to match symbols that can be accessed directly from C.
7471 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7473 # Define system-specific variables.
7478 cygwin* | mingw* | pw32* | cegcc*)
7479 symcode='[ABCDGISTW]'
7482 if test "$host_cpu" = ia64; then
7483 symcode='[ABCDEGRST]'
7487 symcode='[BCDEGRST]'
7490 symcode='[BCDEGQRST]'
7501 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7509 # If we're using GNU nm, then use its standard symbol codes.
7510 case `$NM -V 2>&1` in
7511 *GNU* | *'with BFD'*)
7512 symcode='[ABCDGIRSTW]' ;;
7515 # Transform an extracted symbol line into a proper C declaration.
7516 # Some systems (esp. on ia64) link data and code symbols differently,
7517 # so use this general approach.
7518 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7520 # Transform an extracted symbol line into symbol name and symbol address
7521 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7522 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'"
7524 # Handle CRLF in mingw tool chain
7528 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7532 # Try without a prefix underscore, then with it.
7533 for ac_symprfx in "" "_"; do
7535 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7536 symxfrm="\\1 $ac_symprfx\\2 \\2"
7538 # Write the raw and C identifiers.
7539 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7540 # Fake it for dumpbin and say T for any non-static function
7541 # and D for any global variable.
7542 # Also find C++ and __fastcall symbols from MSVC++,
7543 # which start with @ or ?.
7544 lt_cv_sys_global_symbol_pipe="$AWK '"\
7545 " {last_section=section; section=\$ 3};"\
7546 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7547 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7548 " \$ 0!~/External *\|/{next};"\
7549 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7550 " {if(hide[section]) next};"\
7551 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7552 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7553 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7554 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7555 " ' prfx=^$ac_symprfx"
7557 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7559 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7561 # Check to see that the pipe works correctly.
7565 cat > conftest.$ac_ext <<_LT_EOF
7570 void nm_test_func(void);
7571 void nm_test_func(void){}
7575 int main(){nm_test_var='a';nm_test_func();return(0);}
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 # Now try to grab the symbols.
7585 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7586 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7589 test $ac_status = 0; } && test -s "$nlist"; then
7590 # Try sorting and uniquifying the output.
7591 if sort "$nlist" | uniq > "$nlist"T; then
7592 mv -f "$nlist"T "$nlist"
7597 # Make sure that we snagged all the symbols we need.
7598 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7599 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7600 cat <<_LT_EOF > conftest.$ac_ext
7601 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7602 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7603 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7604 relocations are performed -- see ld's documentation on pseudo-relocs. */
7605 # define LT_DLSYM_CONST
7606 #elif defined(__osf__)
7607 /* This system does not cope well with relocations in const data. */
7608 # define LT_DLSYM_CONST
7610 # define LT_DLSYM_CONST const
7618 # Now generate the symbol file.
7619 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7621 cat <<_LT_EOF >> conftest.$ac_ext
7623 /* The mapping between symbol names and symbols. */
7624 LT_DLSYM_CONST struct {
7628 lt__PROGRAM__LTX_preloaded_symbols[] =
7630 { "@PROGRAM@", (void *) 0 },
7632 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7633 cat <<\_LT_EOF >> conftest.$ac_ext
7637 /* This works around a problem in FreeBSD linker */
7638 #ifdef FREEBSD_WORKAROUND
7639 static const void *lt_preloaded_setup() {
7640 return lt__PROGRAM__LTX_preloaded_symbols;
7648 # Now try linking the two files.
7649 mv conftest.$ac_objext conftstm.$ac_objext
7650 lt_globsym_save_LIBS=$LIBS
7651 lt_globsym_save_CFLAGS=$CFLAGS
7652 LIBS="conftstm.$ac_objext"
7653 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7654 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7655 (eval $ac_link) 2>&5
7657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7658 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7661 LIBS=$lt_globsym_save_LIBS
7662 CFLAGS=$lt_globsym_save_CFLAGS
7664 echo "cannot find nm_test_func in $nlist" >&5
7667 echo "cannot find nm_test_var in $nlist" >&5
7670 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7673 echo "$progname: failed program was:" >&5
7674 cat conftest.$ac_ext >&5
7676 rm -rf conftest* conftst*
7678 # Do not use the global_symbol_pipe unless it works.
7679 if test "$pipe_works" = yes; then
7682 lt_cv_sys_global_symbol_pipe=
7688 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7689 lt_cv_sys_global_symbol_to_cdecl=
7691 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7693 $as_echo "failed" >&6; }
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7696 $as_echo "ok" >&6; }
7699 # Response file support.
7700 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7701 nm_file_list_spec='@'
7702 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7703 nm_file_list_spec='@'
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7733 $as_echo_n "checking for sysroot... " >&6; }
7735 # Check whether --with-sysroot was given.
7736 if test "${with_sysroot+set}" = set; then :
7737 withval=$with_sysroot;
7744 case ${with_sysroot} in #(
7746 if test "$GCC" = yes; then
7747 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7751 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7757 $as_echo "${with_sysroot}" >&6; }
7758 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7763 $as_echo "${lt_sysroot:-no}" >&6; }
7769 # Check whether --enable-libtool-lock was given.
7770 if test "${enable_libtool_lock+set}" = set; then :
7771 enableval=$enable_libtool_lock;
7774 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7776 # Some flags need to be propagated to the compiler or linker for good
7780 # Find out which ABI we are using.
7781 echo 'int i;' > conftest.$ac_ext
7782 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7783 (eval $ac_compile) 2>&5
7785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7786 test $ac_status = 0; }; then
7787 case `/usr/bin/file conftest.$ac_objext` in
7799 # Find out which ABI we are using.
7800 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7801 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7802 (eval $ac_compile) 2>&5
7804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7805 test $ac_status = 0; }; then
7806 if test "$lt_cv_prog_gnu_ld" = yes; then
7807 case `/usr/bin/file conftest.$ac_objext` in
7809 LD="${LD-ld} -melf32bsmip"
7812 LD="${LD-ld} -melf32bmipn32"
7815 LD="${LD-ld} -melf64bmip"
7819 case `/usr/bin/file conftest.$ac_objext` in
7835 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7836 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7837 # Find out which ABI we are using.
7838 echo 'int i;' > conftest.$ac_ext
7839 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7840 (eval $ac_compile) 2>&5
7842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7843 test $ac_status = 0; }; then
7844 case `/usr/bin/file conftest.o` in
7847 x86_64-*kfreebsd*-gnu)
7848 LD="${LD-ld} -m elf_i386_fbsd"
7851 LD="${LD-ld} -m elf_i386"
7853 ppc64-*linux*|powerpc64-*linux*)
7854 LD="${LD-ld} -m elf32ppclinux"
7857 LD="${LD-ld} -m elf_s390"
7860 LD="${LD-ld} -m elf32_sparc"
7866 x86_64-*kfreebsd*-gnu)
7867 LD="${LD-ld} -m elf_x86_64_fbsd"
7870 LD="${LD-ld} -m elf_x86_64"
7872 ppc*-*linux*|powerpc*-*linux*)
7873 LD="${LD-ld} -m elf64ppc"
7875 s390*-*linux*|s390*-*tpf*)
7876 LD="${LD-ld} -m elf64_s390"
7879 LD="${LD-ld} -m elf64_sparc"
7889 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7890 SAVE_CFLAGS="$CFLAGS"
7891 CFLAGS="$CFLAGS -belf"
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7893 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7894 if ${lt_cv_cc_needs_belf+:} false; then :
7895 $as_echo_n "(cached) " >&6
7898 ac_cpp='$CPP $CPPFLAGS'
7899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7904 /* end confdefs.h. */
7914 if ac_fn_c_try_link "$LINENO"; then :
7915 lt_cv_cc_needs_belf=yes
7917 lt_cv_cc_needs_belf=no
7919 rm -f core conftest.err conftest.$ac_objext \
7920 conftest$ac_exeext conftest.$ac_ext
7922 ac_cpp='$CPP $CPPFLAGS'
7923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7929 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7930 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7931 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7932 CFLAGS="$SAVE_CFLAGS"
7936 # Find out which ABI we are using.
7937 echo 'int i;' > conftest.$ac_ext
7938 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7939 (eval $ac_compile) 2>&5
7941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7942 test $ac_status = 0; }; then
7943 case `/usr/bin/file conftest.o` in
7945 case $lt_cv_prog_gnu_ld in
7949 LD="${LD-ld} -m elf_x86_64"
7952 LD="${LD-ld} -m elf64_sparc"
7955 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7956 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7961 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7973 need_locks="$enable_libtool_lock"
7975 if test -n "$ac_tool_prefix"; then
7976 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7977 set dummy ${ac_tool_prefix}mt; ac_word=$2
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7979 $as_echo_n "checking for $ac_word... " >&6; }
7980 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7981 $as_echo_n "(cached) " >&6
7983 if test -n "$MANIFEST_TOOL"; then
7984 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7990 test -z "$as_dir" && as_dir=.
7991 for ac_exec_ext in '' $ac_executable_extensions; do
7992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7993 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8003 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8004 if test -n "$MANIFEST_TOOL"; then
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8006 $as_echo "$MANIFEST_TOOL" >&6; }
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8009 $as_echo "no" >&6; }
8014 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8015 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8016 # Extract the first word of "mt", so it can be a program name with args.
8017 set dummy mt; ac_word=$2
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8019 $as_echo_n "checking for $ac_word... " >&6; }
8020 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8021 $as_echo_n "(cached) " >&6
8023 if test -n "$ac_ct_MANIFEST_TOOL"; then
8024 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8030 test -z "$as_dir" && as_dir=.
8031 for ac_exec_ext in '' $ac_executable_extensions; do
8032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8033 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8043 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8044 if test -n "$ac_ct_MANIFEST_TOOL"; then
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8046 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8049 $as_echo "no" >&6; }
8052 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8055 case $cross_compiling:$ac_tool_warned in
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8059 ac_tool_warned=yes ;;
8061 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8064 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8067 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8069 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8070 if ${lt_cv_path_mainfest_tool+:} false; then :
8071 $as_echo_n "(cached) " >&6
8073 lt_cv_path_mainfest_tool=no
8074 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8075 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8076 cat conftest.err >&5
8077 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8078 lt_cv_path_mainfest_tool=yes
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8083 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8084 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8094 rhapsody* | darwin*)
8095 if test -n "$ac_tool_prefix"; then
8096 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8097 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8099 $as_echo_n "checking for $ac_word... " >&6; }
8100 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8101 $as_echo_n "(cached) " >&6
8103 if test -n "$DSYMUTIL"; then
8104 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8110 test -z "$as_dir" && as_dir=.
8111 for ac_exec_ext in '' $ac_executable_extensions; do
8112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8113 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8123 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8124 if test -n "$DSYMUTIL"; then
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8126 $as_echo "$DSYMUTIL" >&6; }
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8129 $as_echo "no" >&6; }
8134 if test -z "$ac_cv_prog_DSYMUTIL"; then
8135 ac_ct_DSYMUTIL=$DSYMUTIL
8136 # Extract the first word of "dsymutil", so it can be a program name with args.
8137 set dummy dsymutil; ac_word=$2
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8139 $as_echo_n "checking for $ac_word... " >&6; }
8140 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8141 $as_echo_n "(cached) " >&6
8143 if test -n "$ac_ct_DSYMUTIL"; then
8144 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8150 test -z "$as_dir" && as_dir=.
8151 for ac_exec_ext in '' $ac_executable_extensions; do
8152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8153 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8163 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8164 if test -n "$ac_ct_DSYMUTIL"; then
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8166 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8169 $as_echo "no" >&6; }
8172 if test "x$ac_ct_DSYMUTIL" = x; then
8175 case $cross_compiling:$ac_tool_warned in
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8179 ac_tool_warned=yes ;;
8181 DSYMUTIL=$ac_ct_DSYMUTIL
8184 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8187 if test -n "$ac_tool_prefix"; then
8188 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8189 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8191 $as_echo_n "checking for $ac_word... " >&6; }
8192 if ${ac_cv_prog_NMEDIT+:} false; then :
8193 $as_echo_n "(cached) " >&6
8195 if test -n "$NMEDIT"; then
8196 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8202 test -z "$as_dir" && as_dir=.
8203 for ac_exec_ext in '' $ac_executable_extensions; do
8204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8205 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8215 NMEDIT=$ac_cv_prog_NMEDIT
8216 if test -n "$NMEDIT"; then
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8218 $as_echo "$NMEDIT" >&6; }
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8221 $as_echo "no" >&6; }
8226 if test -z "$ac_cv_prog_NMEDIT"; then
8227 ac_ct_NMEDIT=$NMEDIT
8228 # Extract the first word of "nmedit", so it can be a program name with args.
8229 set dummy nmedit; ac_word=$2
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8231 $as_echo_n "checking for $ac_word... " >&6; }
8232 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8233 $as_echo_n "(cached) " >&6
8235 if test -n "$ac_ct_NMEDIT"; then
8236 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8242 test -z "$as_dir" && as_dir=.
8243 for ac_exec_ext in '' $ac_executable_extensions; do
8244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8245 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8255 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8256 if test -n "$ac_ct_NMEDIT"; then
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8258 $as_echo "$ac_ct_NMEDIT" >&6; }
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8261 $as_echo "no" >&6; }
8264 if test "x$ac_ct_NMEDIT" = x; then
8267 case $cross_compiling:$ac_tool_warned in
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8271 ac_tool_warned=yes ;;
8273 NMEDIT=$ac_ct_NMEDIT
8276 NMEDIT="$ac_cv_prog_NMEDIT"
8279 if test -n "$ac_tool_prefix"; then
8280 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8281 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8283 $as_echo_n "checking for $ac_word... " >&6; }
8284 if ${ac_cv_prog_LIPO+:} false; then :
8285 $as_echo_n "(cached) " >&6
8287 if test -n "$LIPO"; then
8288 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8294 test -z "$as_dir" && as_dir=.
8295 for ac_exec_ext in '' $ac_executable_extensions; do
8296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8297 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8307 LIPO=$ac_cv_prog_LIPO
8308 if test -n "$LIPO"; then
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8310 $as_echo "$LIPO" >&6; }
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8313 $as_echo "no" >&6; }
8318 if test -z "$ac_cv_prog_LIPO"; then
8320 # Extract the first word of "lipo", so it can be a program name with args.
8321 set dummy lipo; ac_word=$2
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8323 $as_echo_n "checking for $ac_word... " >&6; }
8324 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8325 $as_echo_n "(cached) " >&6
8327 if test -n "$ac_ct_LIPO"; then
8328 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8334 test -z "$as_dir" && as_dir=.
8335 for ac_exec_ext in '' $ac_executable_extensions; do
8336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8337 ac_cv_prog_ac_ct_LIPO="lipo"
8338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8347 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8348 if test -n "$ac_ct_LIPO"; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8350 $as_echo "$ac_ct_LIPO" >&6; }
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8353 $as_echo "no" >&6; }
8356 if test "x$ac_ct_LIPO" = x; then
8359 case $cross_compiling:$ac_tool_warned in
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8362 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8363 ac_tool_warned=yes ;;
8368 LIPO="$ac_cv_prog_LIPO"
8371 if test -n "$ac_tool_prefix"; then
8372 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8373 set dummy ${ac_tool_prefix}otool; ac_word=$2
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8375 $as_echo_n "checking for $ac_word... " >&6; }
8376 if ${ac_cv_prog_OTOOL+:} false; then :
8377 $as_echo_n "(cached) " >&6
8379 if test -n "$OTOOL"; then
8380 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8386 test -z "$as_dir" && as_dir=.
8387 for ac_exec_ext in '' $ac_executable_extensions; do
8388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8389 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8399 OTOOL=$ac_cv_prog_OTOOL
8400 if test -n "$OTOOL"; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8402 $as_echo "$OTOOL" >&6; }
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8405 $as_echo "no" >&6; }
8410 if test -z "$ac_cv_prog_OTOOL"; then
8412 # Extract the first word of "otool", so it can be a program name with args.
8413 set dummy otool; ac_word=$2
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8415 $as_echo_n "checking for $ac_word... " >&6; }
8416 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8417 $as_echo_n "(cached) " >&6
8419 if test -n "$ac_ct_OTOOL"; then
8420 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8426 test -z "$as_dir" && as_dir=.
8427 for ac_exec_ext in '' $ac_executable_extensions; do
8428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8429 ac_cv_prog_ac_ct_OTOOL="otool"
8430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8439 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8440 if test -n "$ac_ct_OTOOL"; then
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8442 $as_echo "$ac_ct_OTOOL" >&6; }
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8445 $as_echo "no" >&6; }
8448 if test "x$ac_ct_OTOOL" = x; then
8451 case $cross_compiling:$ac_tool_warned in
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8455 ac_tool_warned=yes ;;
8460 OTOOL="$ac_cv_prog_OTOOL"
8463 if test -n "$ac_tool_prefix"; then
8464 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8465 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8467 $as_echo_n "checking for $ac_word... " >&6; }
8468 if ${ac_cv_prog_OTOOL64+:} false; then :
8469 $as_echo_n "(cached) " >&6
8471 if test -n "$OTOOL64"; then
8472 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8478 test -z "$as_dir" && as_dir=.
8479 for ac_exec_ext in '' $ac_executable_extensions; do
8480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8481 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8491 OTOOL64=$ac_cv_prog_OTOOL64
8492 if test -n "$OTOOL64"; then
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8494 $as_echo "$OTOOL64" >&6; }
8496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8497 $as_echo "no" >&6; }
8502 if test -z "$ac_cv_prog_OTOOL64"; then
8503 ac_ct_OTOOL64=$OTOOL64
8504 # Extract the first word of "otool64", so it can be a program name with args.
8505 set dummy otool64; ac_word=$2
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8507 $as_echo_n "checking for $ac_word... " >&6; }
8508 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8509 $as_echo_n "(cached) " >&6
8511 if test -n "$ac_ct_OTOOL64"; then
8512 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8518 test -z "$as_dir" && as_dir=.
8519 for ac_exec_ext in '' $ac_executable_extensions; do
8520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8521 ac_cv_prog_ac_ct_OTOOL64="otool64"
8522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8531 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8532 if test -n "$ac_ct_OTOOL64"; then
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8534 $as_echo "$ac_ct_OTOOL64" >&6; }
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8537 $as_echo "no" >&6; }
8540 if test "x$ac_ct_OTOOL64" = x; then
8543 case $cross_compiling:$ac_tool_warned in
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8547 ac_tool_warned=yes ;;
8549 OTOOL64=$ac_ct_OTOOL64
8552 OTOOL64="$ac_cv_prog_OTOOL64"
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8582 $as_echo_n "checking for -single_module linker flag... " >&6; }
8583 if ${lt_cv_apple_cc_single_mod+:} false; then :
8584 $as_echo_n "(cached) " >&6
8586 lt_cv_apple_cc_single_mod=no
8587 if test -z "${LT_MULTI_MODULE}"; then
8588 # By default we will add the -single_module flag. You can override
8589 # by either setting the environment variable LT_MULTI_MODULE
8590 # non-empty at configure time, or by adding -multi_module to the
8592 rm -rf libconftest.dylib*
8593 echo "int foo(void){return 1;}" > conftest.c
8594 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8595 -dynamiclib -Wl,-single_module conftest.c" >&5
8596 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8597 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8599 # If there is a non-empty error log, and "single_module"
8600 # appears in it, assume the flag caused a linker warning
8601 if test -s conftest.err && $GREP single_module conftest.err; then
8602 cat conftest.err >&5
8603 # Otherwise, if the output was created with a 0 exit code from
8604 # the compiler, it worked.
8605 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8606 lt_cv_apple_cc_single_mod=yes
8608 cat conftest.err >&5
8610 rm -rf libconftest.dylib*
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8615 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8618 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8619 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8620 $as_echo_n "(cached) " >&6
8622 lt_cv_ld_exported_symbols_list=no
8623 save_LDFLAGS=$LDFLAGS
8624 echo "_main" > conftest.sym
8625 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8627 /* end confdefs.h. */
8637 if ac_fn_c_try_link "$LINENO"; then :
8638 lt_cv_ld_exported_symbols_list=yes
8640 lt_cv_ld_exported_symbols_list=no
8642 rm -f core conftest.err conftest.$ac_objext \
8643 conftest$ac_exeext conftest.$ac_ext
8644 LDFLAGS="$save_LDFLAGS"
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8648 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8651 $as_echo_n "checking for -force_load linker flag... " >&6; }
8652 if ${lt_cv_ld_force_load+:} false; then :
8653 $as_echo_n "(cached) " >&6
8655 lt_cv_ld_force_load=no
8656 cat > conftest.c << _LT_EOF
8657 int forced_loaded() { return 2;}
8659 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8660 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8661 echo "$AR cru libconftest.a conftest.o" >&5
8662 $AR cru libconftest.a conftest.o 2>&5
8663 echo "$RANLIB libconftest.a" >&5
8664 $RANLIB libconftest.a 2>&5
8665 cat > conftest.c << _LT_EOF
8666 int main() { return 0;}
8668 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8669 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8671 if test -s conftest.err && $GREP force_load conftest.err; then
8672 cat conftest.err >&5
8673 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8674 lt_cv_ld_force_load=yes
8676 cat conftest.err >&5
8678 rm -f conftest.err libconftest.a conftest conftest.c
8679 rm -rf conftest.dSYM
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8683 $as_echo "$lt_cv_ld_force_load" >&6; }
8685 rhapsody* | darwin1.[012])
8686 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8688 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8689 darwin*) # darwin 5.x on
8690 # if running on 10.5 or later, the deployment target defaults
8691 # to the OS version, if on x86, and 10.4, the deployment
8692 # target defaults to 10.4. Don't you love it?
8693 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8694 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8695 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8697 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8699 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8703 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8704 _lt_dar_single_mod='$single_module'
8706 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8707 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8709 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8711 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8712 _lt_dsymutil='~$DSYMUTIL $lib || :'
8720 ac_cpp='$CPP $CPPFLAGS'
8721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8725 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8726 # On Suns, sometimes $CPP names a directory.
8727 if test -n "$CPP" && test -d "$CPP"; then
8730 if test -z "$CPP"; then
8731 if ${ac_cv_prog_CPP+:} false; then :
8732 $as_echo_n "(cached) " >&6
8734 # Double quotes because CPP needs to be expanded
8735 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8738 for ac_c_preproc_warn_flag in '' yes
8740 # Use a header file that comes with gcc, so configuring glibc
8741 # with a fresh cross-compiler works.
8742 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8743 # <limits.h> exists even on freestanding compilers.
8744 # On the NeXT, cc -E runs the code through the compiler's parser,
8745 # not just through cpp. "Syntax error" is here to catch this case.
8746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8747 /* end confdefs.h. */
8749 # include <limits.h>
8751 # include <assert.h>
8755 if ac_fn_c_try_cpp "$LINENO"; then :
8758 # Broken: fails on valid input.
8761 rm -f conftest.err conftest.i conftest.$ac_ext
8763 # OK, works on sane cases. Now check whether nonexistent headers
8764 # can be detected and how.
8765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8766 /* end confdefs.h. */
8767 #include <ac_nonexistent.h>
8769 if ac_fn_c_try_cpp "$LINENO"; then :
8770 # Broken: success on invalid input.
8773 # Passes both tests.
8777 rm -f conftest.err conftest.i conftest.$ac_ext
8780 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8781 rm -f conftest.i conftest.err conftest.$ac_ext
8782 if $ac_preproc_ok; then :
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8795 $as_echo "$CPP" >&6; }
8797 for ac_c_preproc_warn_flag in '' yes
8799 # Use a header file that comes with gcc, so configuring glibc
8800 # with a fresh cross-compiler works.
8801 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8802 # <limits.h> exists even on freestanding compilers.
8803 # On the NeXT, cc -E runs the code through the compiler's parser,
8804 # not just through cpp. "Syntax error" is here to catch this case.
8805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8806 /* end confdefs.h. */
8808 # include <limits.h>
8810 # include <assert.h>
8814 if ac_fn_c_try_cpp "$LINENO"; then :
8817 # Broken: fails on valid input.
8820 rm -f conftest.err conftest.i conftest.$ac_ext
8822 # OK, works on sane cases. Now check whether nonexistent headers
8823 # can be detected and how.
8824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8825 /* end confdefs.h. */
8826 #include <ac_nonexistent.h>
8828 if ac_fn_c_try_cpp "$LINENO"; then :
8829 # Broken: success on invalid input.
8832 # Passes both tests.
8836 rm -f conftest.err conftest.i conftest.$ac_ext
8839 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8840 rm -f conftest.i conftest.err conftest.$ac_ext
8841 if $ac_preproc_ok; then :
8844 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8846 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8847 See \`config.log' for more details" "$LINENO" 5; }
8851 ac_cpp='$CPP $CPPFLAGS'
8852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8858 $as_echo_n "checking for ANSI C header files... " >&6; }
8859 if ${ac_cv_header_stdc+:} false; then :
8860 $as_echo_n "(cached) " >&6
8862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8863 /* end confdefs.h. */
8877 if ac_fn_c_try_compile "$LINENO"; then :
8878 ac_cv_header_stdc=yes
8880 ac_cv_header_stdc=no
8882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8884 if test $ac_cv_header_stdc = yes; then
8885 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8887 /* end confdefs.h. */
8891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8892 $EGREP "memchr" >/dev/null 2>&1; then :
8895 ac_cv_header_stdc=no
8901 if test $ac_cv_header_stdc = yes; then
8902 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8904 /* end confdefs.h. */
8908 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8909 $EGREP "free" >/dev/null 2>&1; then :
8912 ac_cv_header_stdc=no
8918 if test $ac_cv_header_stdc = yes; then
8919 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8920 if test "$cross_compiling" = yes; then :
8923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8924 /* end confdefs.h. */
8927 #if ((' ' & 0x0FF) == 0x020)
8928 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8929 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8931 # define ISLOWER(c) \
8932 (('a' <= (c) && (c) <= 'i') \
8933 || ('j' <= (c) && (c) <= 'r') \
8934 || ('s' <= (c) && (c) <= 'z'))
8935 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8938 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8943 for (i = 0; i < 256; i++)
8944 if (XOR (islower (i), ISLOWER (i))
8945 || toupper (i) != TOUPPER (i))
8950 if ac_fn_c_try_run "$LINENO"; then :
8953 ac_cv_header_stdc=no
8955 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8956 conftest.$ac_objext conftest.beam conftest.$ac_ext
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8962 $as_echo "$ac_cv_header_stdc" >&6; }
8963 if test $ac_cv_header_stdc = yes; then
8965 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8969 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8970 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8971 inttypes.h stdint.h unistd.h
8973 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8974 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8976 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8977 cat >>confdefs.h <<_ACEOF
8978 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8986 for ac_header in dlfcn.h
8988 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8990 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8991 cat >>confdefs.h <<_ACEOF
8992 #define HAVE_DLFCN_H 1
9011 # Check whether --enable-shared was given.
9012 if test "${enable_shared+set}" = set; then :
9013 enableval=$enable_shared; p=${PACKAGE-default}
9015 yes) enable_shared=yes ;;
9016 no) enable_shared=no ;;
9019 # Look at the argument we got. We use all the common list separators.
9020 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9021 for pkg in $enableval; do
9023 if test "X$pkg" = "X$p"; then
9042 # Check whether --enable-static was given.
9043 if test "${enable_static+set}" = set; then :
9044 enableval=$enable_static; p=${PACKAGE-default}
9046 yes) enable_static=yes ;;
9047 no) enable_static=no ;;
9050 # Look at the argument we got. We use all the common list separators.
9051 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9052 for pkg in $enableval; do
9054 if test "X$pkg" = "X$p"; then
9074 # Check whether --with-pic was given.
9075 if test "${with_pic+set}" = set; then :
9076 withval=$with_pic; lt_p=${PACKAGE-default}
9078 yes|no) pic_mode=$withval ;;
9081 # Look at the argument we got. We use all the common list separators.
9082 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9083 for lt_pkg in $withval; do
9085 if test "X$lt_pkg" = "X$lt_p"; then
9097 test -z "$pic_mode" && pic_mode=default
9105 # Check whether --enable-fast-install was given.
9106 if test "${enable_fast_install+set}" = set; then :
9107 enableval=$enable_fast_install; p=${PACKAGE-default}
9109 yes) enable_fast_install=yes ;;
9110 no) enable_fast_install=no ;;
9112 enable_fast_install=no
9113 # Look at the argument we got. We use all the common list separators.
9114 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9115 for pkg in $enableval; do
9117 if test "X$pkg" = "X$p"; then
9118 enable_fast_install=yes
9125 enable_fast_install=yes
9138 # This can be used to rebuild libtool when needed
9139 LIBTOOL_DEPS="$ltmain"
9141 # Always use our own libtool.
9142 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9173 test -z "$LN_S" && LN_S="ln -s"
9188 if test -n "${ZSH_VERSION+set}" ; then
9189 setopt NO_GLOB_SUBST
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9193 $as_echo_n "checking for objdir... " >&6; }
9194 if ${lt_cv_objdir+:} false; then :
9195 $as_echo_n "(cached) " >&6
9197 rm -f .libs 2>/dev/null
9198 mkdir .libs 2>/dev/null
9199 if test -d .libs; then
9202 # MS-DOS does not allow filenames that begin with a dot.
9205 rmdir .libs 2>/dev/null
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9208 $as_echo "$lt_cv_objdir" >&6; }
9209 objdir=$lt_cv_objdir
9215 cat >>confdefs.h <<_ACEOF
9216 #define LT_OBJDIR "$lt_cv_objdir/"
9224 # AIX sometimes has problems with the GCC collect2 program. For some
9225 # reason, if we set the COLLECT_NAMES environment variable, the problems
9226 # vanish in a puff of smoke.
9227 if test "X${COLLECT_NAMES+set}" != Xset; then
9229 export COLLECT_NAMES
9236 can_build_shared=yes
9238 # All known linkers require a `.a' archive for static linking (except MSVC,
9239 # which needs '.lib').
9242 with_gnu_ld="$lt_cv_prog_gnu_ld"
9245 old_CFLAGS="$CFLAGS"
9247 # Set sane defaults for various variables
9248 test -z "$CC" && CC=cc
9249 test -z "$LTCC" && LTCC=$CC
9250 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9251 test -z "$LD" && LD=ld
9252 test -z "$ac_objext" && ac_objext=o
9254 for cc_temp in $compiler""; do
9256 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9257 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9262 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9265 # Only perform the check for file, if the check method requires it
9266 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9267 case $deplibs_check_method in
9269 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9271 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9272 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9273 $as_echo_n "(cached) " >&6
9277 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9280 lt_save_MAGIC_CMD="$MAGIC_CMD"
9281 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9282 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9283 for ac_dir in $ac_dummy; do
9285 test -z "$ac_dir" && ac_dir=.
9286 if test -f $ac_dir/${ac_tool_prefix}file; then
9287 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9288 if test -n "$file_magic_test_file"; then
9289 case $deplibs_check_method in
9291 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9292 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9293 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9294 $EGREP "$file_magic_regex" > /dev/null; then
9299 *** Warning: the command libtool uses to detect shared libraries,
9300 *** $file_magic_cmd, produces output that libtool cannot recognize.
9301 *** The result is that libtool may fail to recognize shared libraries
9302 *** as such. This will affect the creation of libtool libraries that
9303 *** depend on shared libraries, but programs linked with such libtool
9304 *** libraries will work regardless of this problem. Nevertheless, you
9305 *** may want to report the problem to your system manager and/or to
9306 *** bug-libtool@gnu.org
9316 MAGIC_CMD="$lt_save_MAGIC_CMD"
9321 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9322 if test -n "$MAGIC_CMD"; then
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9324 $as_echo "$MAGIC_CMD" >&6; }
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9327 $as_echo "no" >&6; }
9334 if test -z "$lt_cv_path_MAGIC_CMD"; then
9335 if test -n "$ac_tool_prefix"; then
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9337 $as_echo_n "checking for file... " >&6; }
9338 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9339 $as_echo_n "(cached) " >&6
9343 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9346 lt_save_MAGIC_CMD="$MAGIC_CMD"
9347 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9348 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9349 for ac_dir in $ac_dummy; do
9351 test -z "$ac_dir" && ac_dir=.
9352 if test -f $ac_dir/file; then
9353 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9354 if test -n "$file_magic_test_file"; then
9355 case $deplibs_check_method in
9357 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9358 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9359 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9360 $EGREP "$file_magic_regex" > /dev/null; then
9365 *** Warning: the command libtool uses to detect shared libraries,
9366 *** $file_magic_cmd, produces output that libtool cannot recognize.
9367 *** The result is that libtool may fail to recognize shared libraries
9368 *** as such. This will affect the creation of libtool libraries that
9369 *** depend on shared libraries, but programs linked with such libtool
9370 *** libraries will work regardless of this problem. Nevertheless, you
9371 *** may want to report the problem to your system manager and/or to
9372 *** bug-libtool@gnu.org
9382 MAGIC_CMD="$lt_save_MAGIC_CMD"
9387 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9388 if test -n "$MAGIC_CMD"; then
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9390 $as_echo "$MAGIC_CMD" >&6; }
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9393 $as_echo "no" >&6; }
9406 # Use C for the default configuration in the libtool script
9410 ac_cpp='$CPP $CPPFLAGS'
9411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9416 # Source file extension for C test sources.
9419 # Object file extension for compiled C test sources.
9423 # Code to be used in simple compile tests
9424 lt_simple_compile_test_code="int some_variable = 0;"
9426 # Code to be used in simple link tests
9427 lt_simple_link_test_code='int main(){return(0);}'
9435 # If no C compiler was specified, use CC.
9438 # If no C compiler flags were specified, use CFLAGS.
9439 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9441 # Allow CC to be a program name with arguments.
9444 # Save the default compiler, since it gets overwritten when the other
9445 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9446 compiler_DEFAULT=$CC
9448 # save warnings/boilerplate of simple test code
9449 ac_outfile=conftest.$ac_objext
9450 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9451 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9452 _lt_compiler_boilerplate=`cat conftest.err`
9455 ac_outfile=conftest.$ac_objext
9456 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9457 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9458 _lt_linker_boilerplate=`cat conftest.err`
9463 ## There is no encapsulation within the following macros, do not change
9464 ## the running order or otherwise move them around unless you know exactly
9465 ## what you are doing...
9466 if test -n "$compiler"; then
9468 lt_prog_compiler_no_builtin_flag=
9470 if test "$GCC" = yes; then
9471 case $cc_basename in
9473 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9475 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9479 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9480 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9481 $as_echo_n "(cached) " >&6
9483 lt_cv_prog_compiler_rtti_exceptions=no
9484 ac_outfile=conftest.$ac_objext
9485 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9486 lt_compiler_flag="-fno-rtti -fno-exceptions"
9487 # Insert the option either (1) after the last *FLAGS variable, or
9488 # (2) before a word containing "conftest.", or (3) at the end.
9489 # Note that $ac_compile itself does not contain backslashes and begins
9490 # with a dollar sign (not a hyphen), so the echo should work correctly.
9491 # The option is referenced via a variable to avoid confusing sed.
9492 lt_compile=`echo "$ac_compile" | $SED \
9493 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9494 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9495 -e 's:$: $lt_compiler_flag:'`
9496 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9497 (eval "$lt_compile" 2>conftest.err)
9499 cat conftest.err >&5
9500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9501 if (exit $ac_status) && test -s "$ac_outfile"; then
9502 # The compiler can only warn and ignore the option if not recognized
9503 # So say no if there are warnings other than the usual output.
9504 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9505 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9506 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9507 lt_cv_prog_compiler_rtti_exceptions=yes
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9514 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9516 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9517 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9529 lt_prog_compiler_wl=
9530 lt_prog_compiler_pic=
9531 lt_prog_compiler_static=
9534 if test "$GCC" = yes; then
9535 lt_prog_compiler_wl='-Wl,'
9536 lt_prog_compiler_static='-static'
9540 # All AIX code is PIC.
9541 if test "$host_cpu" = ia64; then
9542 # AIX 5 now supports IA64 processor
9543 lt_prog_compiler_static='-Bstatic'
9550 # see comment about AmigaOS4 .so support
9551 lt_prog_compiler_pic='-fPIC'
9554 # FIXME: we need at least 68020 code to build shared libraries, but
9555 # adding the `-m68020' flag to GCC prevents building anything better,
9557 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9562 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9563 # PIC is the default for these OSes.
9566 mingw* | cygwin* | pw32* | os2* | cegcc*)
9567 # This hack is so that the source file can tell whether it is being
9568 # built for inclusion in a dll (and should export symbols for example).
9569 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9570 # (--disable-auto-import) libraries
9571 lt_prog_compiler_pic='-DDLL_EXPORT'
9574 darwin* | rhapsody*)
9575 # PIC is the default on this platform
9576 # Common symbols not allowed in MH_DYLIB files
9577 lt_prog_compiler_pic='-fno-common'
9581 # PIC is the default for Haiku.
9582 # The "-static" flag exists, but is broken.
9583 lt_prog_compiler_static=
9587 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9588 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9589 # sets the default TLS model and affects inlining.
9595 lt_prog_compiler_pic='-fPIC'
9601 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9602 # Instead, we relocate shared libraries at runtime.
9606 # Just because we use GCC doesn't mean we suddenly get shared libraries
9607 # on systems that don't support them.
9608 lt_prog_compiler_can_build_shared=no
9613 # QNX uses GNU C++, but need to define -shared option too, otherwise
9615 lt_prog_compiler_pic='-fPIC -shared'
9619 if test -d /usr/nec; then
9620 lt_prog_compiler_pic=-Kconform_pic
9625 lt_prog_compiler_pic='-fPIC'
9629 case $cc_basename in
9630 nvcc*) # Cuda Compiler Driver 2.2
9631 lt_prog_compiler_wl='-Xlinker '
9632 if test -n "$lt_prog_compiler_pic"; then
9633 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9638 # PORTME Check for flag to pass linker flags through the system compiler.
9641 lt_prog_compiler_wl='-Wl,'
9642 if test "$host_cpu" = ia64; then
9643 # AIX 5 now supports IA64 processor
9644 lt_prog_compiler_static='-Bstatic'
9646 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9650 mingw* | cygwin* | pw32* | os2* | cegcc*)
9651 # This hack is so that the source file can tell whether it is being
9652 # built for inclusion in a dll (and should export symbols for example).
9653 lt_prog_compiler_pic='-DDLL_EXPORT'
9656 hpux9* | hpux10* | hpux11*)
9657 lt_prog_compiler_wl='-Wl,'
9658 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9665 lt_prog_compiler_pic='+Z'
9668 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9669 lt_prog_compiler_static='${wl}-a ${wl}archive'
9672 irix5* | irix6* | nonstopux*)
9673 lt_prog_compiler_wl='-Wl,'
9674 # PIC (with -KPIC) is the default.
9675 lt_prog_compiler_static='-non_shared'
9678 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9679 case $cc_basename in
9680 # old Intel for x86_64 which still supported -KPIC.
9682 lt_prog_compiler_wl='-Wl,'
9683 lt_prog_compiler_pic='-KPIC'
9684 lt_prog_compiler_static='-static'
9686 # icc used to be incompatible with GCC.
9687 # ICC 10 doesn't accept -KPIC any more.
9689 lt_prog_compiler_wl='-Wl,'
9690 lt_prog_compiler_pic='-fPIC'
9691 lt_prog_compiler_static='-static'
9693 # Lahey Fortran 8.1.
9695 lt_prog_compiler_wl='-Wl,'
9696 lt_prog_compiler_pic='--shared'
9697 lt_prog_compiler_static='--static'
9700 # NAG Fortran compiler
9701 lt_prog_compiler_wl='-Wl,-Wl,,'
9702 lt_prog_compiler_pic='-PIC'
9703 lt_prog_compiler_static='-Bstatic'
9705 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9706 # Portland Group compilers (*not* the Pentium gcc compiler,
9707 # which looks to be a dead project)
9708 lt_prog_compiler_wl='-Wl,'
9709 lt_prog_compiler_pic='-fpic'
9710 lt_prog_compiler_static='-Bstatic'
9713 lt_prog_compiler_wl='-Wl,'
9714 # All Alpha code is PIC.
9715 lt_prog_compiler_static='-non_shared'
9717 xl* | bgxl* | bgf* | mpixl*)
9718 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9719 lt_prog_compiler_wl='-Wl,'
9720 lt_prog_compiler_pic='-qpic'
9721 lt_prog_compiler_static='-qstaticlink'
9724 case `$CC -V 2>&1 | sed 5q` in
9725 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9726 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9727 lt_prog_compiler_pic='-KPIC'
9728 lt_prog_compiler_static='-Bstatic'
9729 lt_prog_compiler_wl=''
9731 *Sun\ F* | *Sun*Fortran*)
9732 lt_prog_compiler_pic='-KPIC'
9733 lt_prog_compiler_static='-Bstatic'
9734 lt_prog_compiler_wl='-Qoption ld '
9738 lt_prog_compiler_pic='-KPIC'
9739 lt_prog_compiler_static='-Bstatic'
9740 lt_prog_compiler_wl='-Wl,'
9742 *Intel*\ [CF]*Compiler*)
9743 lt_prog_compiler_wl='-Wl,'
9744 lt_prog_compiler_pic='-fPIC'
9745 lt_prog_compiler_static='-static'
9748 lt_prog_compiler_wl='-Wl,'
9749 lt_prog_compiler_pic='-fpic'
9750 lt_prog_compiler_static='-Bstatic'
9758 lt_prog_compiler_pic='-KPIC'
9759 lt_prog_compiler_static='-Bstatic'
9763 # QNX uses GNU C++, but need to define -shared option too, otherwise
9765 lt_prog_compiler_pic='-fPIC -shared'
9768 osf3* | osf4* | osf5*)
9769 lt_prog_compiler_wl='-Wl,'
9770 # All OSF/1 code is PIC.
9771 lt_prog_compiler_static='-non_shared'
9775 lt_prog_compiler_static='-non_shared'
9779 lt_prog_compiler_pic='-KPIC'
9780 lt_prog_compiler_static='-Bstatic'
9781 case $cc_basename in
9782 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9783 lt_prog_compiler_wl='-Qoption ld ';;
9785 lt_prog_compiler_wl='-Wl,';;
9790 lt_prog_compiler_wl='-Qoption ld '
9791 lt_prog_compiler_pic='-PIC'
9792 lt_prog_compiler_static='-Bstatic'
9795 sysv4 | sysv4.2uw2* | sysv4.3*)
9796 lt_prog_compiler_wl='-Wl,'
9797 lt_prog_compiler_pic='-KPIC'
9798 lt_prog_compiler_static='-Bstatic'
9802 if test -d /usr/nec ;then
9803 lt_prog_compiler_pic='-Kconform_pic'
9804 lt_prog_compiler_static='-Bstatic'
9808 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9809 lt_prog_compiler_wl='-Wl,'
9810 lt_prog_compiler_pic='-KPIC'
9811 lt_prog_compiler_static='-Bstatic'
9815 lt_prog_compiler_wl='-Wl,'
9816 lt_prog_compiler_can_build_shared=no
9820 lt_prog_compiler_pic='-pic'
9821 lt_prog_compiler_static='-Bstatic'
9825 lt_prog_compiler_can_build_shared=no
9831 # For platforms which do not support PIC, -DPIC is meaningless:
9833 lt_prog_compiler_pic=
9836 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9841 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9842 if ${lt_cv_prog_compiler_pic+:} false; then :
9843 $as_echo_n "(cached) " >&6
9845 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9848 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9849 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9852 # Check to make sure the PIC flag actually works.
9854 if test -n "$lt_prog_compiler_pic"; then
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9856 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9857 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9858 $as_echo_n "(cached) " >&6
9860 lt_cv_prog_compiler_pic_works=no
9861 ac_outfile=conftest.$ac_objext
9862 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9863 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9864 # Insert the option either (1) after the last *FLAGS variable, or
9865 # (2) before a word containing "conftest.", or (3) at the end.
9866 # Note that $ac_compile itself does not contain backslashes and begins
9867 # with a dollar sign (not a hyphen), so the echo should work correctly.
9868 # The option is referenced via a variable to avoid confusing sed.
9869 lt_compile=`echo "$ac_compile" | $SED \
9870 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9871 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9872 -e 's:$: $lt_compiler_flag:'`
9873 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9874 (eval "$lt_compile" 2>conftest.err)
9876 cat conftest.err >&5
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 if (exit $ac_status) && test -s "$ac_outfile"; then
9879 # The compiler can only warn and ignore the option if not recognized
9880 # So say no if there are warnings other than the usual output.
9881 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9882 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9883 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9884 lt_cv_prog_compiler_pic_works=yes
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9891 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9893 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9894 case $lt_prog_compiler_pic in
9896 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9899 lt_prog_compiler_pic=
9900 lt_prog_compiler_can_build_shared=no
9916 # Check to make sure the static flag actually works.
9918 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9920 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9921 if ${lt_cv_prog_compiler_static_works+:} false; then :
9922 $as_echo_n "(cached) " >&6
9924 lt_cv_prog_compiler_static_works=no
9925 save_LDFLAGS="$LDFLAGS"
9926 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9927 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9928 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9929 # The linker can only warn and ignore the option if not recognized
9930 # So say no if there are warnings
9931 if test -s conftest.err; then
9932 # Append any errors to the config.log.
9933 cat conftest.err 1>&5
9934 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9935 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9936 if diff conftest.exp conftest.er2 >/dev/null; then
9937 lt_cv_prog_compiler_static_works=yes
9940 lt_cv_prog_compiler_static_works=yes
9944 LDFLAGS="$save_LDFLAGS"
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9948 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9950 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9953 lt_prog_compiler_static=
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9963 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9964 if ${lt_cv_prog_compiler_c_o+:} false; then :
9965 $as_echo_n "(cached) " >&6
9967 lt_cv_prog_compiler_c_o=no
9968 $RM -r conftest 2>/dev/null
9972 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9974 lt_compiler_flag="-o out/conftest2.$ac_objext"
9975 # Insert the option either (1) after the last *FLAGS variable, or
9976 # (2) before a word containing "conftest.", or (3) at the end.
9977 # Note that $ac_compile itself does not contain backslashes and begins
9978 # with a dollar sign (not a hyphen), so the echo should work correctly.
9979 lt_compile=`echo "$ac_compile" | $SED \
9980 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9981 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9982 -e 's:$: $lt_compiler_flag:'`
9983 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9984 (eval "$lt_compile" 2>out/conftest.err)
9986 cat out/conftest.err >&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9990 # The compiler can only warn and ignore the option if not recognized
9991 # So say no if there are warnings
9992 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9993 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9994 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9995 lt_cv_prog_compiler_c_o=yes
10000 # SGI C++ compiler will create directory out/ii_files/ for
10001 # template instantiation
10002 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10003 $RM out/* && rmdir out
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10010 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10018 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10019 if ${lt_cv_prog_compiler_c_o+:} false; then :
10020 $as_echo_n "(cached) " >&6
10022 lt_cv_prog_compiler_c_o=no
10023 $RM -r conftest 2>/dev/null
10027 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10029 lt_compiler_flag="-o out/conftest2.$ac_objext"
10030 # Insert the option either (1) after the last *FLAGS variable, or
10031 # (2) before a word containing "conftest.", or (3) at the end.
10032 # Note that $ac_compile itself does not contain backslashes and begins
10033 # with a dollar sign (not a hyphen), so the echo should work correctly.
10034 lt_compile=`echo "$ac_compile" | $SED \
10035 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10036 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10037 -e 's:$: $lt_compiler_flag:'`
10038 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10039 (eval "$lt_compile" 2>out/conftest.err)
10041 cat out/conftest.err >&5
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10045 # The compiler can only warn and ignore the option if not recognized
10046 # So say no if there are warnings
10047 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10048 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10049 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10050 lt_cv_prog_compiler_c_o=yes
10055 # SGI C++ compiler will create directory out/ii_files/ for
10056 # template instantiation
10057 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10058 $RM out/* && rmdir out
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10065 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10070 hard_links="nottested"
10071 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10072 # do not overwrite the value of need_locks provided by the user
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10074 $as_echo_n "checking if we can lock with hard links... " >&6; }
10077 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10079 ln conftest.a conftest.b 2>&5 || hard_links=no
10080 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10082 $as_echo "$hard_links" >&6; }
10083 if test "$hard_links" = no; then
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10085 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10098 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10101 allow_undefined_flag=
10102 always_export_symbols=no
10104 archive_expsym_cmds=
10105 compiler_needs_object=no
10106 enable_shared_with_static_runtimes=no
10107 export_dynamic_flag_spec=
10108 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10109 hardcode_automatic=no
10111 hardcode_direct_absolute=no
10112 hardcode_libdir_flag_spec=
10113 hardcode_libdir_separator=
10114 hardcode_minus_L=no
10115 hardcode_shlibpath_var=unsupported
10117 link_all_deplibs=unknown
10119 module_expsym_cmds=
10120 old_archive_from_new_cmds=
10121 old_archive_from_expsyms_cmds=
10122 thread_safe_flag_spec=
10123 whole_archive_flag_spec=
10124 # include_expsyms should be a list of space-separated symbols to be *always*
10125 # included in the symbol list
10127 # exclude_expsyms can be an extended regexp of symbols to exclude
10128 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10129 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10130 # as well as any symbol that contains `d'.
10131 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10132 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10133 # platforms (ab)use it in PIC code, but their linkers get confused if
10134 # the symbol is explicitly referenced. Since portable code cannot
10135 # rely on this symbol name, it's probably fine to never include it in
10136 # preloaded symbol tables.
10137 # Exclude shared library initialization/finalization symbols.
10138 extract_expsyms_cmds=
10141 cygwin* | mingw* | pw32* | cegcc*)
10142 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10143 # When not using gcc, we currently assume that we are using
10144 # Microsoft Visual C++.
10145 if test "$GCC" != yes; then
10150 # we just hope/assume this is gcc and not c89 (= MSVC++)
10156 linux* | k*bsd*-gnu | gnu*)
10157 link_all_deplibs=no
10163 # On some targets, GNU ld is compatible enough with the native linker
10164 # that we're better off using the native interface for both.
10165 lt_use_gnu_ld_interface=no
10166 if test "$with_gnu_ld" = yes; then
10169 # The AIX port of GNU ld has always aspired to compatibility
10170 # with the native linker. However, as the warning in the GNU ld
10171 # block says, versions before 2.19.5* couldn't really create working
10172 # shared libraries, regardless of the interface used.
10173 case `$LD -v 2>&1` in
10174 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10175 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10176 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10178 lt_use_gnu_ld_interface=yes
10183 lt_use_gnu_ld_interface=yes
10188 if test "$lt_use_gnu_ld_interface" = yes; then
10189 # If archive_cmds runs LD, not CC, wlarc should be empty
10192 # Set some defaults for GNU ld with shared library support. These
10193 # are reset later if shared libraries are not supported. Putting them
10194 # here allows them to be overridden if necessary.
10195 runpath_var=LD_RUN_PATH
10196 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10197 export_dynamic_flag_spec='${wl}--export-dynamic'
10198 # ancient GNU ld didn't support --whole-archive et. al.
10199 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10200 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10202 whole_archive_flag_spec=
10204 supports_anon_versioning=no
10205 case `$LD -v 2>&1` in
10206 *GNU\ gold*) supports_anon_versioning=yes ;;
10207 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10208 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10209 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10210 *\ 2.11.*) ;; # other 2.11 versions
10211 *) supports_anon_versioning=yes ;;
10214 # See if GNU ld supports shared libraries.
10217 # On AIX/PPC, the GNU linker is very broken
10218 if test "$host_cpu" != ia64; then
10222 *** Warning: the GNU linker, at least up to release 2.19, is reported
10223 *** to be unable to reliably create shared libraries on AIX.
10224 *** Therefore, libtool is disabling shared libraries support. If you
10225 *** really care for shared libraries, you may want to install binutils
10226 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10227 *** You will then need to restart the configuration process.
10236 # see comment about AmigaOS4 .so support
10237 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10238 archive_expsym_cmds=''
10241 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)'
10242 hardcode_libdir_flag_spec='-L$libdir'
10243 hardcode_minus_L=yes
10249 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10250 allow_undefined_flag=unsupported
10251 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10252 # support --undefined. This deserves some investigation. FIXME
10253 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10259 cygwin* | mingw* | pw32* | cegcc*)
10260 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10261 # as there is no search path for DLLs.
10262 hardcode_libdir_flag_spec='-L$libdir'
10263 export_dynamic_flag_spec='${wl}--export-all-symbols'
10264 allow_undefined_flag=unsupported
10265 always_export_symbols=no
10266 enable_shared_with_static_runtimes=yes
10267 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'
10268 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10270 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10271 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10272 # If the export-symbols file already is a .def file (1st line
10273 # is EXPORTS), use it as is; otherwise, prepend...
10274 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10275 cp $export_symbols $output_objdir/$soname.def;
10277 echo EXPORTS > $output_objdir/$soname.def;
10278 cat $export_symbols >> $output_objdir/$soname.def;
10280 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10287 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10288 link_all_deplibs=yes
10293 hardcode_shlibpath_var=no
10294 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10295 export_dynamic_flag_spec='${wl}-E'
10296 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10297 # Instead, shared libraries are loaded at an image base (0x10000000 by
10298 # default) and relocated if they conflict, which is a slow very memory
10299 # consuming and fragmenting process. To avoid this, we pick a random,
10300 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10301 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10302 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10303 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'
10306 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10308 if test "$host_os" = linux-dietlibc; then
10309 case $cc_basename in
10310 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10313 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10314 && test "$tmp_diet" = no
10316 tmp_addflag=' $pic_flag'
10317 tmp_sharedflag='-shared'
10318 case $cc_basename,$host_cpu in
10319 pgcc*) # Portland Group C compiler
10320 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'
10321 tmp_addflag=' $pic_flag'
10323 pgf77* | pgf90* | pgf95* | pgfortran*)
10324 # Portland Group f77 and f90 compilers
10325 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'
10326 tmp_addflag=' $pic_flag -Mnomain' ;;
10327 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10328 tmp_addflag=' -i_dynamic' ;;
10329 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10330 tmp_addflag=' -i_dynamic -nofor_main' ;;
10331 ifc* | ifort*) # Intel Fortran compiler
10332 tmp_addflag=' -nofor_main' ;;
10333 lf95*) # Lahey Fortran 8.1
10334 whole_archive_flag_spec=
10335 tmp_sharedflag='--shared' ;;
10336 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10337 tmp_sharedflag='-qmkshrobj'
10339 nvcc*) # Cuda Compiler Driver 2.2
10340 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'
10341 compiler_needs_object=yes
10344 case `$CC -V 2>&1 | sed 5q` in
10345 *Sun\ C*) # Sun C 5.9
10346 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'
10347 compiler_needs_object=yes
10348 tmp_sharedflag='-G' ;;
10349 *Sun\ F*) # Sun Fortran 8.3
10350 tmp_sharedflag='-G' ;;
10352 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10354 if test "x$supports_anon_versioning" = xyes; then
10355 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10356 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10357 echo "local: *; };" >> $output_objdir/$libname.ver~
10358 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10361 case $cc_basename in
10362 xlf* | bgf* | bgxlf* | mpixlf*)
10363 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10364 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10365 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10366 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10367 if test "x$supports_anon_versioning" = xyes; then
10368 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10369 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10370 echo "local: *; };" >> $output_objdir/$libname.ver~
10371 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10380 netbsd* | netbsdelf*-gnu)
10381 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10382 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10385 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10386 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10391 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10395 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10396 *** create shared libraries on Solaris systems. Therefore, libtool
10397 *** is disabling shared libraries support. We urge you to upgrade GNU
10398 *** binutils to release 2.9.1 or newer. Another option is to modify
10399 *** your PATH or compiler configuration so that the native linker is
10400 *** used, and then restart.
10403 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10404 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10405 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10411 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10412 case `$LD -v 2>&1` in
10413 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10417 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10418 *** reliably create shared libraries on SCO systems. Therefore, libtool
10419 *** is disabling shared libraries support. We urge you to upgrade GNU
10420 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10421 *** your PATH or compiler configuration so that the native linker is
10422 *** used, and then restart.
10427 # For security reasons, it is highly recommended that you always
10428 # use absolute paths for naming shared libraries, and exclude the
10429 # DT_RUNPATH tag from executables and libraries. But doing so
10430 # requires that you compile everything twice, which is a pain.
10431 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10432 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10433 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10434 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10443 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10445 hardcode_direct=yes
10446 hardcode_shlibpath_var=no
10450 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10451 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10452 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10459 if test "$ld_shlibs" = no; then
10461 hardcode_libdir_flag_spec=
10462 export_dynamic_flag_spec=
10463 whole_archive_flag_spec=
10466 # PORTME fill in a description of your system's linker (not GNU ld)
10469 allow_undefined_flag=unsupported
10470 always_export_symbols=yes
10471 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'
10472 # Note: this linker hardcodes the directories in LIBPATH if there
10473 # are no directories specified by -L.
10474 hardcode_minus_L=yes
10475 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10476 # Neither direct hardcoding nor static linking is supported with a
10478 hardcode_direct=unsupported
10483 if test "$host_cpu" = ia64; then
10484 # On IA64, the linker does run time linking by default, so we don't
10485 # have to do anything special.
10486 aix_use_runtimelinking=no
10487 exp_sym_flag='-Bexport'
10490 # If we're using GNU nm, then we don't want the "-C" option.
10491 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10492 # Also, AIX nm treats weak defined symbols like other global
10493 # defined symbols, whereas GNU nm marks them as "W".
10494 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10495 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'
10497 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'
10499 aix_use_runtimelinking=no
10501 # Test if we are trying to use run time linking or normal
10502 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10503 # need to do runtime linking.
10504 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10505 for ld_flag in $LDFLAGS; do
10506 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10507 aix_use_runtimelinking=yes
10514 exp_sym_flag='-bexport'
10515 no_entry_flag='-bnoentry'
10518 # When large executables or shared objects are built, AIX ld can
10519 # have problems creating the table of contents. If linking a library
10520 # or program results in "error TOC overflow" add -mminimal-toc to
10521 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10522 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10525 hardcode_direct=yes
10526 hardcode_direct_absolute=yes
10527 hardcode_libdir_separator=':'
10528 link_all_deplibs=yes
10529 file_list_spec='${wl}-f,'
10531 if test "$GCC" = yes; then
10532 case $host_os in aix4.[012]|aix4.[012].*)
10533 # We only want to do this on AIX 4.2 and lower, the check
10534 # below for broken collect2 doesn't work under 4.3+
10535 collect2name=`${CC} -print-prog-name=collect2`
10536 if test -f "$collect2name" &&
10537 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10539 # We have reworked collect2
10542 # We have old collect2
10543 hardcode_direct=unsupported
10544 # It fails to find uninstalled libraries when the uninstalled
10545 # path is not listed in the libpath. Setting hardcode_minus_L
10546 # to unsupported forces relinking
10547 hardcode_minus_L=yes
10548 hardcode_libdir_flag_spec='-L$libdir'
10549 hardcode_libdir_separator=
10553 shared_flag='-shared'
10554 if test "$aix_use_runtimelinking" = yes; then
10555 shared_flag="$shared_flag "'${wl}-G'
10557 link_all_deplibs=no
10560 if test "$host_cpu" = ia64; then
10561 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10562 # chokes on -Wl,-G. The following line is correct:
10565 if test "$aix_use_runtimelinking" = yes; then
10566 shared_flag='${wl}-G'
10568 shared_flag='${wl}-bM:SRE'
10573 export_dynamic_flag_spec='${wl}-bexpall'
10574 # It seems that -bexpall does not export symbols beginning with
10575 # underscore (_), so it is better to generate a list of symbols to export.
10576 always_export_symbols=yes
10577 if test "$aix_use_runtimelinking" = yes; then
10578 # Warning - without using the other runtime loading flags (-brtl),
10579 # -berok will link without error, but may produce a broken library.
10580 allow_undefined_flag='-berok'
10581 # Determine the default libpath from the value encoded in an
10582 # empty executable.
10583 if test "${lt_cv_aix_libpath+set}" = set; then
10584 aix_libpath=$lt_cv_aix_libpath
10586 if ${lt_cv_aix_libpath_+:} false; then :
10587 $as_echo_n "(cached) " >&6
10589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10590 /* end confdefs.h. */
10600 if ac_fn_c_try_link "$LINENO"; then :
10602 lt_aix_libpath_sed='
10603 /Import File Strings/,/^$/ {
10605 s/^0 *\([^ ]*\) *$/\1/
10609 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10610 # Check for a 64-bit object if we didn't find anything.
10611 if test -z "$lt_cv_aix_libpath_"; then
10612 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10615 rm -f core conftest.err conftest.$ac_objext \
10616 conftest$ac_exeext conftest.$ac_ext
10617 if test -z "$lt_cv_aix_libpath_"; then
10618 lt_cv_aix_libpath_="/usr/lib:/lib"
10623 aix_libpath=$lt_cv_aix_libpath_
10626 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10627 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"
10629 if test "$host_cpu" = ia64; then
10630 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10631 allow_undefined_flag="-z nodefs"
10632 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"
10634 # Determine the default libpath from the value encoded in an
10635 # empty executable.
10636 if test "${lt_cv_aix_libpath+set}" = set; then
10637 aix_libpath=$lt_cv_aix_libpath
10639 if ${lt_cv_aix_libpath_+:} false; then :
10640 $as_echo_n "(cached) " >&6
10642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10643 /* end confdefs.h. */
10653 if ac_fn_c_try_link "$LINENO"; then :
10655 lt_aix_libpath_sed='
10656 /Import File Strings/,/^$/ {
10658 s/^0 *\([^ ]*\) *$/\1/
10662 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10663 # Check for a 64-bit object if we didn't find anything.
10664 if test -z "$lt_cv_aix_libpath_"; then
10665 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10668 rm -f core conftest.err conftest.$ac_objext \
10669 conftest$ac_exeext conftest.$ac_ext
10670 if test -z "$lt_cv_aix_libpath_"; then
10671 lt_cv_aix_libpath_="/usr/lib:/lib"
10676 aix_libpath=$lt_cv_aix_libpath_
10679 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10680 # Warning - without using the other run time loading flags,
10681 # -berok will link without error, but may produce a broken library.
10682 no_undefined_flag=' ${wl}-bernotok'
10683 allow_undefined_flag=' ${wl}-berok'
10684 if test "$with_gnu_ld" = yes; then
10685 # We only use this code for GNU lds that support --whole-archive.
10686 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10688 # Exported symbols can be pulled into shared objects from archives
10689 whole_archive_flag_spec='$convenience'
10691 archive_cmds_need_lc=yes
10692 # This is similar to how AIX traditionally builds its shared libraries.
10693 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'
10701 # see comment about AmigaOS4 .so support
10702 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10703 archive_expsym_cmds=''
10706 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)'
10707 hardcode_libdir_flag_spec='-L$libdir'
10708 hardcode_minus_L=yes
10714 export_dynamic_flag_spec=-rdynamic
10717 cygwin* | mingw* | pw32* | cegcc*)
10718 # When not using gcc, we currently assume that we are using
10719 # Microsoft Visual C++.
10720 # hardcode_libdir_flag_spec is actually meaningless, as there is
10721 # no search path for DLLs.
10722 case $cc_basename in
10725 hardcode_libdir_flag_spec=' '
10726 allow_undefined_flag=unsupported
10727 always_export_symbols=yes
10729 # Tell ltmain to make .lib files, not .a files.
10731 # Tell ltmain to make .dll files, not .so files.
10733 # FIXME: Setting linknames here is a bad hack.
10734 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10735 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10736 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10738 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10740 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10742 # The linker will not automatically build a static lib if we build a DLL.
10743 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10744 enable_shared_with_static_runtimes=yes
10745 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10746 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10748 old_postinstall_cmds='chmod 644 $oldlib'
10749 postlink_cmds='lt_outputfile="@OUTPUT@"~
10750 lt_tool_outputfile="@TOOL_OUTPUT@"~
10751 case $lt_outputfile in
10754 lt_outputfile="$lt_outputfile.exe"
10755 lt_tool_outputfile="$lt_tool_outputfile.exe"
10758 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10759 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10760 $RM "$lt_outputfile.manifest";
10764 # Assume MSVC wrapper
10765 hardcode_libdir_flag_spec=' '
10766 allow_undefined_flag=unsupported
10767 # Tell ltmain to make .lib files, not .a files.
10769 # Tell ltmain to make .dll files, not .so files.
10771 # FIXME: Setting linknames here is a bad hack.
10772 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10773 # The linker will automatically build a .lib file if we build a DLL.
10774 old_archive_from_new_cmds='true'
10775 # FIXME: Should let the user specify the lib program.
10776 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10777 enable_shared_with_static_runtimes=yes
10782 darwin* | rhapsody*)
10785 archive_cmds_need_lc=no
10787 hardcode_automatic=yes
10788 hardcode_shlibpath_var=unsupported
10789 if test "$lt_cv_ld_force_load" = "yes"; then
10790 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\"`'
10793 whole_archive_flag_spec=''
10795 link_all_deplibs=yes
10796 allow_undefined_flag="$_lt_dar_allow_undefined"
10797 case $cc_basename in
10798 ifort*) _lt_dar_can_shared=yes ;;
10799 *) _lt_dar_can_shared=$GCC ;;
10801 if test "$_lt_dar_can_shared" = "yes"; then
10802 output_verbose_link_cmd=func_echo_all
10803 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10804 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10805 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}"
10806 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}"
10815 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10816 hardcode_libdir_flag_spec='-L$libdir'
10817 hardcode_shlibpath_var=no
10820 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10821 # support. Future versions do this automatically, but an explicit c++rt0.o
10822 # does not break anything, and helps significantly (at the cost of a little
10825 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10826 hardcode_libdir_flag_spec='-R$libdir'
10827 hardcode_direct=yes
10828 hardcode_shlibpath_var=no
10831 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10833 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10834 hardcode_direct=yes
10835 hardcode_minus_L=yes
10836 hardcode_shlibpath_var=no
10839 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10840 freebsd* | dragonfly*)
10841 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10842 hardcode_libdir_flag_spec='-R$libdir'
10843 hardcode_direct=yes
10844 hardcode_shlibpath_var=no
10848 if test "$GCC" = yes; then
10849 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'
10851 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'
10853 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10854 hardcode_libdir_separator=:
10855 hardcode_direct=yes
10857 # hardcode_minus_L: Not really in the search PATH,
10858 # but as the default location of the library.
10859 hardcode_minus_L=yes
10860 export_dynamic_flag_spec='${wl}-E'
10864 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10865 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10867 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10869 if test "$with_gnu_ld" = no; then
10870 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10871 hardcode_libdir_separator=:
10872 hardcode_direct=yes
10873 hardcode_direct_absolute=yes
10874 export_dynamic_flag_spec='${wl}-E'
10875 # hardcode_minus_L: Not really in the search PATH,
10876 # but as the default location of the library.
10877 hardcode_minus_L=yes
10882 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10885 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10888 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10891 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10897 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10900 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10904 # Older versions of the 11.00 compiler do not understand -b yet
10905 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10907 $as_echo_n "checking if $CC understands -b... " >&6; }
10908 if ${lt_cv_prog_compiler__b+:} false; then :
10909 $as_echo_n "(cached) " >&6
10911 lt_cv_prog_compiler__b=no
10912 save_LDFLAGS="$LDFLAGS"
10913 LDFLAGS="$LDFLAGS -b"
10914 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10915 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10916 # The linker can only warn and ignore the option if not recognized
10917 # So say no if there are warnings
10918 if test -s conftest.err; then
10919 # Append any errors to the config.log.
10920 cat conftest.err 1>&5
10921 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10922 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10923 if diff conftest.exp conftest.er2 >/dev/null; then
10924 lt_cv_prog_compiler__b=yes
10927 lt_cv_prog_compiler__b=yes
10931 LDFLAGS="$save_LDFLAGS"
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10935 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10937 if test x"$lt_cv_prog_compiler__b" = xyes; then
10938 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10940 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10946 if test "$with_gnu_ld" = no; then
10947 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10948 hardcode_libdir_separator=:
10953 hardcode_shlibpath_var=no
10956 hardcode_direct=yes
10957 hardcode_direct_absolute=yes
10958 export_dynamic_flag_spec='${wl}-E'
10960 # hardcode_minus_L: Not really in the search PATH,
10961 # but as the default location of the library.
10962 hardcode_minus_L=yes
10968 irix5* | irix6* | nonstopux*)
10969 if test "$GCC" = yes; then
10970 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'
10971 # Try to use the -exported_symbol ld option, if it does not
10972 # work, assume that -exports_file does not work either and
10973 # implicitly export all symbols.
10974 # This should be the same for all languages, so no per-tag cache variable.
10975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10976 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10977 if ${lt_cv_irix_exported_symbol+:} false; then :
10978 $as_echo_n "(cached) " >&6
10980 save_LDFLAGS="$LDFLAGS"
10981 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10983 /* end confdefs.h. */
10984 int foo (void) { return 0; }
10986 if ac_fn_c_try_link "$LINENO"; then :
10987 lt_cv_irix_exported_symbol=yes
10989 lt_cv_irix_exported_symbol=no
10991 rm -f core conftest.err conftest.$ac_objext \
10992 conftest$ac_exeext conftest.$ac_ext
10993 LDFLAGS="$save_LDFLAGS"
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10996 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10997 if test "$lt_cv_irix_exported_symbol" = yes; then
10998 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'
11001 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'
11002 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'
11004 archive_cmds_need_lc='no'
11005 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11006 hardcode_libdir_separator=:
11008 link_all_deplibs=yes
11011 netbsd* | netbsdelf*-gnu)
11012 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11013 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11015 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11017 hardcode_libdir_flag_spec='-R$libdir'
11018 hardcode_direct=yes
11019 hardcode_shlibpath_var=no
11023 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11024 hardcode_direct=yes
11025 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11026 hardcode_libdir_separator=:
11027 hardcode_shlibpath_var=no
11034 if test -f /usr/libexec/ld.so; then
11035 hardcode_direct=yes
11036 hardcode_shlibpath_var=no
11037 hardcode_direct_absolute=yes
11038 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11039 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11040 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11041 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11042 export_dynamic_flag_spec='${wl}-E'
11045 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11046 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11047 hardcode_libdir_flag_spec='-R$libdir'
11050 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11051 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11061 hardcode_libdir_flag_spec='-L$libdir'
11062 hardcode_minus_L=yes
11063 allow_undefined_flag=unsupported
11064 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'
11065 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11069 if test "$GCC" = yes; then
11070 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11071 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'
11073 allow_undefined_flag=' -expect_unresolved \*'
11074 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'
11076 archive_cmds_need_lc='no'
11077 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11078 hardcode_libdir_separator=:
11081 osf4* | osf5*) # as osf3* with the addition of -msym flag
11082 if test "$GCC" = yes; then
11083 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11084 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'
11085 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11087 allow_undefined_flag=' -expect_unresolved \*'
11088 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'
11089 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~
11090 $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'
11092 # Both c and cxx compiler support -rpath directly
11093 hardcode_libdir_flag_spec='-rpath $libdir'
11095 archive_cmds_need_lc='no'
11096 hardcode_libdir_separator=:
11100 no_undefined_flag=' -z defs'
11101 if test "$GCC" = yes; then
11103 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11104 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11105 $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'
11107 case `$CC -V 2>&1` in
11110 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11111 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11112 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11116 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11117 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11118 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11122 hardcode_libdir_flag_spec='-R$libdir'
11123 hardcode_shlibpath_var=no
11125 solaris2.[0-5] | solaris2.[0-5].*) ;;
11127 # The compiler driver will combine and reorder linker options,
11128 # but understands `-z linker_flag'. GCC discards it without `$wl',
11129 # but is careful enough not to reorder.
11130 # Supported since Solaris 2.6 (maybe 2.5.1?)
11131 if test "$GCC" = yes; then
11132 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11134 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11138 link_all_deplibs=yes
11142 if test "x$host_vendor" = xsequent; then
11143 # Use $CC to link under sequent, because it throws in some extra .o
11144 # files that make .init and .fini sections work.
11145 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11147 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11149 hardcode_libdir_flag_spec='-L$libdir'
11150 hardcode_direct=yes
11151 hardcode_minus_L=yes
11152 hardcode_shlibpath_var=no
11156 case $host_vendor in
11158 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11159 hardcode_direct=yes # is this really true???
11162 ## LD is ld it makes a PLAMLIB
11163 ## CC just makes a GrossModule.
11164 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11165 reload_cmds='$CC -r -o $output$reload_objs'
11169 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11170 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11173 runpath_var='LD_RUN_PATH'
11174 hardcode_shlibpath_var=no
11178 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11179 hardcode_shlibpath_var=no
11180 export_dynamic_flag_spec='-Bexport'
11184 if test -d /usr/nec; then
11185 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11186 hardcode_shlibpath_var=no
11187 runpath_var=LD_RUN_PATH
11188 hardcode_runpath_var=yes
11193 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11194 no_undefined_flag='${wl}-z,text'
11195 archive_cmds_need_lc=no
11196 hardcode_shlibpath_var=no
11197 runpath_var='LD_RUN_PATH'
11199 if test "$GCC" = yes; then
11200 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11201 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11203 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11204 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11208 sysv5* | sco3.2v5* | sco5v6*)
11209 # Note: We can NOT use -z defs as we might desire, because we do not
11210 # link with -lc, and that would cause any symbols used from libc to
11211 # always be unresolved, which means just about no library would
11212 # ever link correctly. If we're not using GNU ld we use -z text
11213 # though, which does catch some bad symbols but isn't as heavy-handed
11215 no_undefined_flag='${wl}-z,text'
11216 allow_undefined_flag='${wl}-z,nodefs'
11217 archive_cmds_need_lc=no
11218 hardcode_shlibpath_var=no
11219 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11220 hardcode_libdir_separator=':'
11221 link_all_deplibs=yes
11222 export_dynamic_flag_spec='${wl}-Bexport'
11223 runpath_var='LD_RUN_PATH'
11225 if test "$GCC" = yes; then
11226 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11227 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11229 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11230 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11235 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11236 hardcode_libdir_flag_spec='-L$libdir'
11237 hardcode_shlibpath_var=no
11245 if test x$host_vendor = xsni; then
11247 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11248 export_dynamic_flag_spec='${wl}-Blargedynsym'
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11255 $as_echo "$ld_shlibs" >&6; }
11256 test "$ld_shlibs" = no && can_build_shared=no
11258 with_gnu_ld=$with_gnu_ld
11275 # Do we need to explicitly link libc?
11277 case "x$archive_cmds_need_lc" in
11279 # Assume -lc should be added
11280 archive_cmds_need_lc=yes
11282 if test "$enable_shared" = yes && test "$GCC" = yes; then
11283 case $archive_cmds in
11285 # FIXME: we may have to deal with multi-command sequences.
11288 # Test whether the compiler implicitly links with -lc since on some
11289 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11290 # to ld, don't add -lc before -lgcc.
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11292 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11293 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11294 $as_echo_n "(cached) " >&6
11297 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11299 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11300 (eval $ac_compile) 2>&5
11302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11303 test $ac_status = 0; } 2>conftest.err; then
11306 libobjs=conftest.$ac_objext
11308 wl=$lt_prog_compiler_wl
11309 pic_flag=$lt_prog_compiler_pic
11315 lt_save_allow_undefined_flag=$allow_undefined_flag
11316 allow_undefined_flag=
11317 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11318 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11321 test $ac_status = 0; }
11323 lt_cv_archive_cmds_need_lc=no
11325 lt_cv_archive_cmds_need_lc=yes
11327 allow_undefined_flag=$lt_save_allow_undefined_flag
11329 cat conftest.err 1>&5
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11335 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11336 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11495 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11497 if test "$GCC" = yes; then
11499 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11500 *) lt_awk_arg="/^libraries:/" ;;
11503 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11504 *) lt_sed_strip_eq="s,=/,/,g" ;;
11506 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11507 case $lt_search_path_spec in
11509 # if the path contains ";" then we assume it to be the separator
11510 # otherwise default to the standard path separator (i.e. ":") - it is
11511 # assumed that no part of a normal pathname contains ";" but that should
11512 # okay in the real world where ";" in dirpaths is itself problematic.
11513 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11516 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11519 # Ok, now we have the path, separated by spaces, we can step through it
11520 # and add multilib dir if necessary.
11521 lt_tmp_lt_search_path_spec=
11522 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11523 for lt_sys_path in $lt_search_path_spec; do
11524 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11525 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11527 test -d "$lt_sys_path" && \
11528 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11531 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11532 BEGIN {RS=" "; FS="/|\n";} {
11535 for (lt_i = NF; lt_i > 0; lt_i--) {
11536 if ($lt_i != "" && $lt_i != ".") {
11537 if ($lt_i == "..") {
11540 if (lt_count == 0) {
11541 lt_foo="/" $lt_i lt_foo;
11548 if (lt_foo != "") { lt_freq[lt_foo]++; }
11549 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11551 # AWK program above erroneously prepends '/' to C:/dos/paths
11554 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11555 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11557 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11559 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11561 library_names_spec=
11562 libname_spec='lib$name'
11566 postuninstall_cmds=
11570 shlibpath_overrides_runpath=unknown
11572 dynamic_linker="$host_os ld.so"
11573 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11574 need_lib_prefix=unknown
11575 hardcode_into_libs=no
11577 # when you set need_version to no, make sure it does not cause -set_version
11578 # flags to be left without arguments
11579 need_version=unknown
11583 version_type=linux # correct to gnu/linux during the next big refactor
11584 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11585 shlibpath_var=LIBPATH
11587 # AIX 3 has no versioning support, so we append a major version to the name.
11588 soname_spec='${libname}${release}${shared_ext}$major'
11592 version_type=linux # correct to gnu/linux during the next big refactor
11595 hardcode_into_libs=yes
11596 if test "$host_cpu" = ia64; then
11597 # AIX 5 supports IA64
11598 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11599 shlibpath_var=LD_LIBRARY_PATH
11601 # With GCC up to 2.95.x, collect2 would create an import file
11602 # for dependence libraries. The import file would start with
11603 # the line `#! .'. This would cause the generated library to
11604 # depend on `.', always an invalid library. This was fixed in
11605 # development snapshots of GCC prior to 3.0.
11607 aix4 | aix4.[01] | aix4.[01].*)
11608 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11610 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11613 can_build_shared=no
11617 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11618 # soname into executable. Probably we can add versioning support to
11619 # collect2, so additional links can be useful in future.
11620 if test "$aix_use_runtimelinking" = yes; then
11621 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11622 # instead of lib<name>.a to let people know that these are not
11623 # typical AIX shared libraries.
11624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11626 # We preserve .a as extension for shared libraries through AIX4.2
11627 # and later when we are not doing run time linking.
11628 library_names_spec='${libname}${release}.a $libname.a'
11629 soname_spec='${libname}${release}${shared_ext}$major'
11631 shlibpath_var=LIBPATH
11638 # Since July 2007 AmigaOS4 officially supports .so libraries.
11639 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11643 library_names_spec='$libname.ixlibrary $libname.a'
11644 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11645 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'
11651 library_names_spec='${libname}${shared_ext}'
11652 dynamic_linker="$host_os ld.so"
11653 shlibpath_var=LIBRARY_PATH
11657 version_type=linux # correct to gnu/linux during the next big refactor
11659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11660 soname_spec='${libname}${release}${shared_ext}$major'
11661 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11662 shlibpath_var=LD_LIBRARY_PATH
11663 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11664 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11665 # the default ld.so.conf also contains /usr/contrib/lib and
11666 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11667 # libtool to hard-code these into programs
11670 cygwin* | mingw* | pw32* | cegcc*)
11671 version_type=windows
11676 case $GCC,$cc_basename in
11679 library_names_spec='$libname.dll.a'
11680 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11681 postinstall_cmds='base_file=`basename \${file}`~
11682 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11683 dldir=$destdir/`dirname \$dlpath`~
11684 test -d \$dldir || mkdir -p \$dldir~
11685 $install_prog $dir/$dlname \$dldir/$dlname~
11686 chmod a+x \$dldir/$dlname~
11687 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11688 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11690 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11691 dlpath=$dir/\$dldll~
11693 shlibpath_overrides_runpath=yes
11697 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11698 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11700 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11703 # MinGW DLLs use traditional 'lib' prefix
11704 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11707 # pw32 DLLs use 'pw' prefix rather than 'lib'
11708 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11711 dynamic_linker='Win32 ld.exe'
11716 libname_spec='$name'
11717 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11718 library_names_spec='${libname}.dll.lib'
11722 sys_lib_search_path_spec=
11725 for lt_path in $LIB
11728 # Let DOS variable expansion print the short 8.3 style file name.
11729 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11730 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11733 # Convert to MSYS style.
11734 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11737 # Convert to unix form, then to dos form, then back to unix form
11738 # but this time dos style (no spaces!) so that the unix form looks
11739 # like /cygdrive/c/PROGRA~1:/cygdr...
11740 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11741 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11742 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11745 sys_lib_search_path_spec="$LIB"
11746 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11747 # It is most probably a Windows format PATH.
11748 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11750 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11752 # FIXME: find the short name or the path components, as spaces are
11753 # common. (e.g. "Program Files" -> "PROGRA~1")
11757 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11758 postinstall_cmds='base_file=`basename \${file}`~
11759 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11760 dldir=$destdir/`dirname \$dlpath`~
11761 test -d \$dldir || mkdir -p \$dldir~
11762 $install_prog $dir/$dlname \$dldir/$dlname'
11763 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11764 dlpath=$dir/\$dldll~
11766 shlibpath_overrides_runpath=yes
11767 dynamic_linker='Win32 link.exe'
11771 # Assume MSVC wrapper
11772 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11773 dynamic_linker='Win32 ld.exe'
11776 # FIXME: first we should search . and the directory the executable is in
11780 darwin* | rhapsody*)
11781 dynamic_linker="$host_os dyld"
11782 version_type=darwin
11785 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11786 soname_spec='${libname}${release}${major}$shared_ext'
11787 shlibpath_overrides_runpath=yes
11788 shlibpath_var=DYLD_LIBRARY_PATH
11789 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11791 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11792 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11796 version_type=linux # correct to gnu/linux during the next big refactor
11799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11800 soname_spec='${libname}${release}${shared_ext}$major'
11801 shlibpath_var=LD_LIBRARY_PATH
11804 freebsd* | dragonfly*)
11805 # DragonFly does not have aout. When/if they implement a new
11806 # versioning mechanism, adjust this.
11807 if test -x /usr/bin/objformat; then
11808 objformat=`/usr/bin/objformat`
11811 freebsd[23].*) objformat=aout ;;
11812 *) objformat=elf ;;
11815 version_type=freebsd-$objformat
11816 case $version_type in
11818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11823 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11827 shlibpath_var=LD_LIBRARY_PATH
11830 shlibpath_overrides_runpath=yes
11832 freebsd3.[01]* | freebsdelf3.[01]*)
11833 shlibpath_overrides_runpath=yes
11834 hardcode_into_libs=yes
11836 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11837 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11838 shlibpath_overrides_runpath=no
11839 hardcode_into_libs=yes
11841 *) # from 4.6 on, and DragonFly
11842 shlibpath_overrides_runpath=yes
11843 hardcode_into_libs=yes
11849 version_type=linux # correct to gnu/linux during the next big refactor
11852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11853 soname_spec='${libname}${release}${shared_ext}$major'
11854 shlibpath_var=LD_LIBRARY_PATH
11855 shlibpath_overrides_runpath=no
11856 hardcode_into_libs=yes
11860 version_type=linux # correct to gnu/linux during the next big refactor
11863 dynamic_linker="$host_os runtime_loader"
11864 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11865 soname_spec='${libname}${release}${shared_ext}$major'
11866 shlibpath_var=LIBRARY_PATH
11867 shlibpath_overrides_runpath=yes
11868 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11869 hardcode_into_libs=yes
11872 hpux9* | hpux10* | hpux11*)
11873 # Give a soname corresponding to the major version so that dld.sl refuses to
11874 # link against other versions.
11881 hardcode_into_libs=yes
11882 dynamic_linker="$host_os dld.so"
11883 shlibpath_var=LD_LIBRARY_PATH
11884 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11886 soname_spec='${libname}${release}${shared_ext}$major'
11887 if test "X$HPUX_IA64_MODE" = X32; then
11888 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11890 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11892 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11896 hardcode_into_libs=yes
11897 dynamic_linker="$host_os dld.sl"
11898 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11899 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11901 soname_spec='${libname}${release}${shared_ext}$major'
11902 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11903 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11907 dynamic_linker="$host_os dld.sl"
11908 shlibpath_var=SHLIB_PATH
11909 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11911 soname_spec='${libname}${release}${shared_ext}$major'
11914 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11915 postinstall_cmds='chmod 555 $lib'
11916 # or fails outright, so override atomically:
11917 install_override_mode=555
11921 version_type=linux # correct to gnu/linux during the next big refactor
11924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11925 soname_spec='${libname}${release}${shared_ext}$major'
11926 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11927 shlibpath_var=LD_LIBRARY_PATH
11928 shlibpath_overrides_runpath=no
11929 hardcode_into_libs=yes
11932 irix5* | irix6* | nonstopux*)
11934 nonstopux*) version_type=nonstopux ;;
11936 if test "$lt_cv_prog_gnu_ld" = yes; then
11937 version_type=linux # correct to gnu/linux during the next big refactor
11944 soname_spec='${libname}${release}${shared_ext}$major'
11945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11947 irix5* | nonstopux*)
11948 libsuff= shlibsuff=
11951 case $LD in # libtool.m4 will add one of these switches to LD
11952 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11953 libsuff= shlibsuff= libmagic=32-bit;;
11954 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11955 libsuff=32 shlibsuff=N32 libmagic=N32;;
11956 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11957 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11958 *) libsuff= shlibsuff= libmagic=never-match;;
11962 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11963 shlibpath_overrides_runpath=no
11964 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11965 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11966 hardcode_into_libs=yes
11969 # No shared lib support for Linux oldld, aout, or coff.
11970 linux*oldld* | linux*aout* | linux*coff*)
11974 # This must be glibc/ELF.
11975 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11976 version_type=linux # correct to gnu/linux during the next big refactor
11979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11980 soname_spec='${libname}${release}${shared_ext}$major'
11981 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11982 shlibpath_var=LD_LIBRARY_PATH
11983 shlibpath_overrides_runpath=no
11985 # Some binutils ld are patched to set DT_RUNPATH
11986 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11987 $as_echo_n "(cached) " >&6
11989 lt_cv_shlibpath_overrides_runpath=no
11990 save_LDFLAGS=$LDFLAGS
11991 save_libdir=$libdir
11992 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11993 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11995 /* end confdefs.h. */
12005 if ac_fn_c_try_link "$LINENO"; then :
12006 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12007 lt_cv_shlibpath_overrides_runpath=yes
12010 rm -f core conftest.err conftest.$ac_objext \
12011 conftest$ac_exeext conftest.$ac_ext
12012 LDFLAGS=$save_LDFLAGS
12013 libdir=$save_libdir
12017 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12019 # This implies no fast_install, which is unacceptable.
12020 # Some rework will be needed to allow for fast_install
12021 # before this can be enabled.
12022 hardcode_into_libs=yes
12024 # Append ld.so.conf contents to the search path
12025 if test -f /etc/ld.so.conf; then
12026 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' ' '`
12027 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12030 # We used to test for /lib/ld.so.1 and disable shared libraries on
12031 # powerpc, because MkLinux only supported shared libraries with the
12032 # GNU dynamic linker. Since this was broken with cross compilers,
12033 # most powerpc-linux boxes support dynamic linking these days and
12034 # people can always --disable-shared, the test was removed, and we
12035 # assume the GNU/Linux dynamic linker is in use.
12036 dynamic_linker='GNU/Linux ld.so'
12043 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12044 soname_spec='${libname}${release}${shared_ext}$major'
12045 shlibpath_var=LD_LIBRARY_PATH
12046 shlibpath_overrides_runpath=no
12047 hardcode_into_libs=yes
12048 dynamic_linker='NetBSD ld.elf_so'
12055 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12057 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12058 dynamic_linker='NetBSD (a.out) ld.so'
12060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12061 soname_spec='${libname}${release}${shared_ext}$major'
12062 dynamic_linker='NetBSD ld.elf_so'
12064 shlibpath_var=LD_LIBRARY_PATH
12065 shlibpath_overrides_runpath=yes
12066 hardcode_into_libs=yes
12070 version_type=linux # correct to gnu/linux during the next big refactor
12071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12072 shlibpath_var=LD_LIBRARY_PATH
12073 shlibpath_overrides_runpath=yes
12080 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12081 soname_spec='${libname}${release}${shared_ext}$major'
12082 shlibpath_var=LD_LIBRARY_PATH
12083 shlibpath_overrides_runpath=no
12084 hardcode_into_libs=yes
12085 dynamic_linker='ldqnx.so'
12090 sys_lib_dlsearch_path_spec="/usr/lib"
12092 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12094 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12095 *) need_version=no ;;
12097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12098 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12099 shlibpath_var=LD_LIBRARY_PATH
12100 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12102 openbsd2.[89] | openbsd2.[89].*)
12103 shlibpath_overrides_runpath=no
12106 shlibpath_overrides_runpath=yes
12110 shlibpath_overrides_runpath=yes
12115 libname_spec='$name'
12118 library_names_spec='$libname${shared_ext} $libname.a'
12119 dynamic_linker='OS/2 ld.exe'
12120 shlibpath_var=LIBPATH
12123 osf3* | osf4* | osf5*)
12127 soname_spec='${libname}${release}${shared_ext}$major'
12128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12129 shlibpath_var=LD_LIBRARY_PATH
12130 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12131 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12139 version_type=linux # correct to gnu/linux during the next big refactor
12142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12143 soname_spec='${libname}${release}${shared_ext}$major'
12144 shlibpath_var=LD_LIBRARY_PATH
12145 shlibpath_overrides_runpath=yes
12146 hardcode_into_libs=yes
12147 # ldd complains unless libraries are executable
12148 postinstall_cmds='chmod +x $lib'
12153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12154 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12155 shlibpath_var=LD_LIBRARY_PATH
12156 shlibpath_overrides_runpath=yes
12157 if test "$with_gnu_ld" = yes; then
12164 version_type=linux # correct to gnu/linux during the next big refactor
12165 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12166 soname_spec='${libname}${release}${shared_ext}$major'
12167 shlibpath_var=LD_LIBRARY_PATH
12168 case $host_vendor in
12170 shlibpath_overrides_runpath=no
12172 runpath_var=LD_RUN_PATH
12180 shlibpath_overrides_runpath=no
12181 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12187 if test -d /usr/nec ;then
12188 version_type=linux # correct to gnu/linux during the next big refactor
12189 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12190 soname_spec='$libname${shared_ext}.$major'
12191 shlibpath_var=LD_LIBRARY_PATH
12195 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12196 version_type=freebsd-elf
12199 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12200 soname_spec='${libname}${release}${shared_ext}$major'
12201 shlibpath_var=LD_LIBRARY_PATH
12202 shlibpath_overrides_runpath=yes
12203 hardcode_into_libs=yes
12204 if test "$with_gnu_ld" = yes; then
12205 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12207 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12210 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12214 sys_lib_dlsearch_path_spec='/usr/lib'
12218 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12219 version_type=linux # correct to gnu/linux during the next big refactor
12222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12223 shlibpath_var=LD_LIBRARY_PATH
12224 shlibpath_overrides_runpath=no
12225 hardcode_into_libs=yes
12229 version_type=linux # correct to gnu/linux during the next big refactor
12230 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12231 soname_spec='${libname}${release}${shared_ext}$major'
12232 shlibpath_var=LD_LIBRARY_PATH
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12240 $as_echo "$dynamic_linker" >&6; }
12241 test "$dynamic_linker" = no && can_build_shared=no
12243 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12244 if test "$GCC" = yes; then
12245 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12248 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12249 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12251 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12252 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12347 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12349 if test -n "$hardcode_libdir_flag_spec" ||
12350 test -n "$runpath_var" ||
12351 test "X$hardcode_automatic" = "Xyes" ; then
12353 # We can hardcode non-existent directories.
12354 if test "$hardcode_direct" != no &&
12355 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12356 # have to relink, otherwise we might link with an installed library
12357 # when we should be linking with a yet-to-be-installed one
12358 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12359 test "$hardcode_minus_L" != no; then
12360 # Linking always hardcodes the temporary library directory.
12361 hardcode_action=relink
12363 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12364 hardcode_action=immediate
12367 # We cannot hardcode anything, or else we can only hardcode existing
12369 hardcode_action=unsupported
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12372 $as_echo "$hardcode_action" >&6; }
12374 if test "$hardcode_action" = relink ||
12375 test "$inherit_rpath" = yes; then
12376 # Fast installation is not supported
12377 enable_fast_install=no
12378 elif test "$shlibpath_overrides_runpath" = yes ||
12379 test "$enable_shared" = no; then
12380 # Fast installation is not necessary
12381 enable_fast_install=needless
12389 if test "x$enable_dlopen" != xyes; then
12390 enable_dlopen=unknown
12391 enable_dlopen_self=unknown
12392 enable_dlopen_self_static=unknown
12399 lt_cv_dlopen="load_add_on"
12401 lt_cv_dlopen_self=yes
12404 mingw* | pw32* | cegcc*)
12405 lt_cv_dlopen="LoadLibrary"
12410 lt_cv_dlopen="dlopen"
12415 # if libdl is installed we need to link against it
12416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12417 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12418 if ${ac_cv_lib_dl_dlopen+:} false; then :
12419 $as_echo_n "(cached) " >&6
12421 ac_check_lib_save_LIBS=$LIBS
12423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h. */
12426 /* Override any GCC internal prototype to avoid an error.
12427 Use char because int might match the return type of a GCC
12428 builtin and then its argument prototype would still apply. */
12441 if ac_fn_c_try_link "$LINENO"; then :
12442 ac_cv_lib_dl_dlopen=yes
12444 ac_cv_lib_dl_dlopen=no
12446 rm -f core conftest.err conftest.$ac_objext \
12447 conftest$ac_exeext conftest.$ac_ext
12448 LIBS=$ac_check_lib_save_LIBS
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12451 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12452 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12453 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12456 lt_cv_dlopen="dyld"
12458 lt_cv_dlopen_self=yes
12465 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12466 if test "x$ac_cv_func_shl_load" = xyes; then :
12467 lt_cv_dlopen="shl_load"
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12470 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12471 if ${ac_cv_lib_dld_shl_load+:} false; then :
12472 $as_echo_n "(cached) " >&6
12474 ac_check_lib_save_LIBS=$LIBS
12476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12477 /* end confdefs.h. */
12479 /* Override any GCC internal prototype to avoid an error.
12480 Use char because int might match the return type of a GCC
12481 builtin and then its argument prototype would still apply. */
12489 return shl_load ();
12494 if ac_fn_c_try_link "$LINENO"; then :
12495 ac_cv_lib_dld_shl_load=yes
12497 ac_cv_lib_dld_shl_load=no
12499 rm -f core conftest.err conftest.$ac_objext \
12500 conftest$ac_exeext conftest.$ac_ext
12501 LIBS=$ac_check_lib_save_LIBS
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12504 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12505 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12506 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12508 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12509 if test "x$ac_cv_func_dlopen" = xyes; then :
12510 lt_cv_dlopen="dlopen"
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12513 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12514 if ${ac_cv_lib_dl_dlopen+:} false; then :
12515 $as_echo_n "(cached) " >&6
12517 ac_check_lib_save_LIBS=$LIBS
12519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12520 /* end confdefs.h. */
12522 /* Override any GCC internal prototype to avoid an error.
12523 Use char because int might match the return type of a GCC
12524 builtin and then its argument prototype would still apply. */
12537 if ac_fn_c_try_link "$LINENO"; then :
12538 ac_cv_lib_dl_dlopen=yes
12540 ac_cv_lib_dl_dlopen=no
12542 rm -f core conftest.err conftest.$ac_objext \
12543 conftest$ac_exeext conftest.$ac_ext
12544 LIBS=$ac_check_lib_save_LIBS
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12547 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12548 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12549 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12552 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12553 if ${ac_cv_lib_svld_dlopen+:} false; then :
12554 $as_echo_n "(cached) " >&6
12556 ac_check_lib_save_LIBS=$LIBS
12557 LIBS="-lsvld $LIBS"
12558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12561 /* Override any GCC internal prototype to avoid an error.
12562 Use char because int might match the return type of a GCC
12563 builtin and then its argument prototype would still apply. */
12576 if ac_fn_c_try_link "$LINENO"; then :
12577 ac_cv_lib_svld_dlopen=yes
12579 ac_cv_lib_svld_dlopen=no
12581 rm -f core conftest.err conftest.$ac_objext \
12582 conftest$ac_exeext conftest.$ac_ext
12583 LIBS=$ac_check_lib_save_LIBS
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12586 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12587 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12588 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12591 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12592 if ${ac_cv_lib_dld_dld_link+:} false; then :
12593 $as_echo_n "(cached) " >&6
12595 ac_check_lib_save_LIBS=$LIBS
12597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12598 /* end confdefs.h. */
12600 /* Override any GCC internal prototype to avoid an error.
12601 Use char because int might match the return type of a GCC
12602 builtin and then its argument prototype would still apply. */
12610 return dld_link ();
12615 if ac_fn_c_try_link "$LINENO"; then :
12616 ac_cv_lib_dld_dld_link=yes
12618 ac_cv_lib_dld_dld_link=no
12620 rm -f core conftest.err conftest.$ac_objext \
12621 conftest$ac_exeext conftest.$ac_ext
12622 LIBS=$ac_check_lib_save_LIBS
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12625 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12626 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12627 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12648 if test "x$lt_cv_dlopen" != xno; then
12654 case $lt_cv_dlopen in
12656 save_CPPFLAGS="$CPPFLAGS"
12657 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12659 save_LDFLAGS="$LDFLAGS"
12660 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12663 LIBS="$lt_cv_dlopen_libs $LIBS"
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12666 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12667 if ${lt_cv_dlopen_self+:} false; then :
12668 $as_echo_n "(cached) " >&6
12670 if test "$cross_compiling" = yes; then :
12671 lt_cv_dlopen_self=cross
12673 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12674 lt_status=$lt_dlunknown
12675 cat > conftest.$ac_ext <<_LT_EOF
12676 #line $LINENO "configure"
12677 #include "confdefs.h"
12686 # define LT_DLGLOBAL RTLD_GLOBAL
12689 # define LT_DLGLOBAL DL_GLOBAL
12691 # define LT_DLGLOBAL 0
12695 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12696 find out it does not work in some platform. */
12697 #ifndef LT_DLLAZY_OR_NOW
12699 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12702 # define LT_DLLAZY_OR_NOW DL_LAZY
12705 # define LT_DLLAZY_OR_NOW RTLD_NOW
12708 # define LT_DLLAZY_OR_NOW DL_NOW
12710 # define LT_DLLAZY_OR_NOW 0
12717 /* When -fvisbility=hidden is used, assume the code has been annotated
12718 correspondingly for the symbols needed. */
12719 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12720 int fnord () __attribute__((visibility("default")));
12723 int fnord () { return 42; }
12726 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12727 int status = $lt_dlunknown;
12731 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12734 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12735 else puts (dlerror ());
12737 /* dlclose (self); */
12745 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12746 (eval $ac_link) 2>&5
12748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12749 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12750 (./conftest; exit; ) >&5 2>/dev/null
12752 case x$lt_status in
12753 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12754 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12755 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12758 # compilation failed
12759 lt_cv_dlopen_self=no
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12767 $as_echo "$lt_cv_dlopen_self" >&6; }
12769 if test "x$lt_cv_dlopen_self" = xyes; then
12770 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12772 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12773 if ${lt_cv_dlopen_self_static+:} false; then :
12774 $as_echo_n "(cached) " >&6
12776 if test "$cross_compiling" = yes; then :
12777 lt_cv_dlopen_self_static=cross
12779 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12780 lt_status=$lt_dlunknown
12781 cat > conftest.$ac_ext <<_LT_EOF
12782 #line $LINENO "configure"
12783 #include "confdefs.h"
12792 # define LT_DLGLOBAL RTLD_GLOBAL
12795 # define LT_DLGLOBAL DL_GLOBAL
12797 # define LT_DLGLOBAL 0
12801 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12802 find out it does not work in some platform. */
12803 #ifndef LT_DLLAZY_OR_NOW
12805 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12808 # define LT_DLLAZY_OR_NOW DL_LAZY
12811 # define LT_DLLAZY_OR_NOW RTLD_NOW
12814 # define LT_DLLAZY_OR_NOW DL_NOW
12816 # define LT_DLLAZY_OR_NOW 0
12823 /* When -fvisbility=hidden is used, assume the code has been annotated
12824 correspondingly for the symbols needed. */
12825 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12826 int fnord () __attribute__((visibility("default")));
12829 int fnord () { return 42; }
12832 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12833 int status = $lt_dlunknown;
12837 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12840 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12841 else puts (dlerror ());
12843 /* dlclose (self); */
12851 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12852 (eval $ac_link) 2>&5
12854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12855 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12856 (./conftest; exit; ) >&5 2>/dev/null
12858 case x$lt_status in
12859 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12860 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12861 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12864 # compilation failed
12865 lt_cv_dlopen_self_static=no
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12873 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12876 CPPFLAGS="$save_CPPFLAGS"
12877 LDFLAGS="$save_LDFLAGS"
12882 case $lt_cv_dlopen_self in
12883 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12884 *) enable_dlopen_self=unknown ;;
12887 case $lt_cv_dlopen_self_static in
12888 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12889 *) enable_dlopen_self_static=unknown ;;
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12912 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12913 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12914 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12915 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12917 $as_echo "yes" >&6; }
12919 # FIXME - insert some real tests, host_os isn't really good enough
12922 if test -n "$STRIP" ; then
12923 striplib="$STRIP -x"
12924 old_striplib="$STRIP -S"
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12926 $as_echo "yes" >&6; }
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12929 $as_echo "no" >&6; }
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12934 $as_echo "no" >&6; }
12950 # Report which library types will actually be built
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12952 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12954 $as_echo "$can_build_shared" >&6; }
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12957 $as_echo_n "checking whether to build shared libraries... " >&6; }
12958 test "$can_build_shared" = "no" && enable_shared=no
12960 # On AIX, shared libraries and static libraries use the same namespace, and
12961 # are all built from PIC.
12964 test "$enable_shared" = yes && enable_static=no
12965 if test -n "$RANLIB"; then
12966 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12967 postinstall_cmds='$RANLIB $lib'
12972 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12973 test "$enable_shared" = yes && enable_static=no
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12978 $as_echo "$enable_shared" >&6; }
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12981 $as_echo_n "checking whether to build static libraries... " >&6; }
12982 # Make sure either enable_shared or enable_static is yes.
12983 test "$enable_shared" = yes || enable_static=yes
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12985 $as_echo "$enable_static" >&6; }
12992 ac_cpp='$CPP $CPPFLAGS'
12993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13013 ac_config_commands="$ac_config_commands libtool"
13018 # Only expand once:
13028 # Check whether --with-autoconf was given.
13029 if test "${with_autoconf+set}" = set; then :
13030 withval=$with_autoconf;
13033 AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
13036 $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
13042 # Check whether --with-autoheader was given.
13043 if test "${with_autoheader+set}" = set; then :
13044 withval=$with_autoheader;
13047 AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
13050 $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
13056 # Check whether --with-automake was given.
13057 if test "${with_automake+set}" = set; then :
13058 withval=$with_automake;
13061 AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
13064 $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
13070 # Check whether --with-aclocal was given.
13071 if test "${with_aclocal+set}" = set; then :
13072 withval=$with_aclocal;
13075 ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
13078 $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
13084 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13090 $as_echo_n "checking whether NLS is requested... " >&6; }
13091 # Check whether --enable-nls was given.
13092 if test "${enable_nls+set}" = set; then :
13093 enableval=$enable_nls; USE_NLS=$enableval
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13099 $as_echo "$USE_NLS" >&6; }
13104 GETTEXT_MACRO_VERSION=0.17
13109 # Prepare PATH_SEPARATOR.
13110 # The user is always right.
13111 if test "${PATH_SEPARATOR+set}" != set; then
13112 echo "#! /bin/sh" >conf$$.sh
13113 echo "exit 0" >>conf$$.sh
13115 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13123 # Find out how to test for executable files. Don't use a zero-byte file,
13124 # as systems may use methods other than mode bits to determine executability.
13125 cat >conf$$.file <<_ASEOF
13129 chmod +x conf$$.file
13130 if test -x conf$$.file >/dev/null 2>&1; then
13131 ac_executable_p="test -x"
13133 ac_executable_p="test -f"
13137 # Extract the first word of "msgfmt", so it can be a program name with args.
13138 set dummy msgfmt; ac_word=$2
13139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13140 $as_echo_n "checking for $ac_word... " >&6; }
13141 if ${ac_cv_path_MSGFMT+:} false; then :
13142 $as_echo_n "(cached) " >&6
13146 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13149 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13150 for ac_dir in $PATH; do
13152 test -z "$ac_dir" && ac_dir=.
13153 for ac_exec_ext in '' $ac_executable_extensions; do
13154 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13155 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13156 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
13157 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13158 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13165 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13169 MSGFMT="$ac_cv_path_MSGFMT"
13170 if test "$MSGFMT" != ":"; then
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13172 $as_echo "$MSGFMT" >&6; }
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13175 $as_echo "no" >&6; }
13178 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13179 set dummy gmsgfmt; ac_word=$2
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13181 $as_echo_n "checking for $ac_word... " >&6; }
13182 if ${ac_cv_path_GMSGFMT+:} false; then :
13183 $as_echo_n "(cached) " >&6
13187 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13191 for as_dir in $PATH
13194 test -z "$as_dir" && as_dir=.
13195 for ac_exec_ext in '' $ac_executable_extensions; do
13196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13197 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13205 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13209 GMSGFMT=$ac_cv_path_GMSGFMT
13210 if test -n "$GMSGFMT"; then
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13212 $as_echo "$GMSGFMT" >&6; }
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13215 $as_echo "no" >&6; }
13220 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13221 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
13222 *) MSGFMT_015=$MSGFMT ;;
13225 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13226 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
13227 *) GMSGFMT_015=$GMSGFMT ;;
13232 # Prepare PATH_SEPARATOR.
13233 # The user is always right.
13234 if test "${PATH_SEPARATOR+set}" != set; then
13235 echo "#! /bin/sh" >conf$$.sh
13236 echo "exit 0" >>conf$$.sh
13238 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13246 # Find out how to test for executable files. Don't use a zero-byte file,
13247 # as systems may use methods other than mode bits to determine executability.
13248 cat >conf$$.file <<_ASEOF
13252 chmod +x conf$$.file
13253 if test -x conf$$.file >/dev/null 2>&1; then
13254 ac_executable_p="test -x"
13256 ac_executable_p="test -f"
13260 # Extract the first word of "xgettext", so it can be a program name with args.
13261 set dummy xgettext; ac_word=$2
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13263 $as_echo_n "checking for $ac_word... " >&6; }
13264 if ${ac_cv_path_XGETTEXT+:} false; then :
13265 $as_echo_n "(cached) " >&6
13267 case "$XGETTEXT" in
13269 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13272 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13273 for ac_dir in $PATH; do
13275 test -z "$ac_dir" && ac_dir=.
13276 for ac_exec_ext in '' $ac_executable_extensions; do
13277 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13278 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13279 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
13280 (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
13281 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13288 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13292 XGETTEXT="$ac_cv_path_XGETTEXT"
13293 if test "$XGETTEXT" != ":"; then
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13295 $as_echo "$XGETTEXT" >&6; }
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13298 $as_echo "no" >&6; }
13303 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13304 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
13305 *) XGETTEXT_015=$XGETTEXT ;;
13310 # Prepare PATH_SEPARATOR.
13311 # The user is always right.
13312 if test "${PATH_SEPARATOR+set}" != set; then
13313 echo "#! /bin/sh" >conf$$.sh
13314 echo "exit 0" >>conf$$.sh
13316 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13324 # Find out how to test for executable files. Don't use a zero-byte file,
13325 # as systems may use methods other than mode bits to determine executability.
13326 cat >conf$$.file <<_ASEOF
13330 chmod +x conf$$.file
13331 if test -x conf$$.file >/dev/null 2>&1; then
13332 ac_executable_p="test -x"
13334 ac_executable_p="test -f"
13338 # Extract the first word of "msgmerge", so it can be a program name with args.
13339 set dummy msgmerge; ac_word=$2
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13341 $as_echo_n "checking for $ac_word... " >&6; }
13342 if ${ac_cv_path_MSGMERGE+:} false; then :
13343 $as_echo_n "(cached) " >&6
13345 case "$MSGMERGE" in
13347 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13350 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13351 for ac_dir in $PATH; do
13353 test -z "$ac_dir" && ac_dir=.
13354 for ac_exec_ext in '' $ac_executable_extensions; do
13355 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13356 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13357 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
13358 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13365 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13369 MSGMERGE="$ac_cv_path_MSGMERGE"
13370 if test "$MSGMERGE" != ":"; then
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13372 $as_echo "$MSGMERGE" >&6; }
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13375 $as_echo "no" >&6; }
13379 test -n "$localedir" || localedir='${datadir}/locale'
13382 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
13385 ac_config_commands="$ac_config_commands po-directories"
13389 if test "X$prefix" = "XNONE"; then
13390 acl_final_prefix="$ac_default_prefix"
13392 acl_final_prefix="$prefix"
13394 if test "X$exec_prefix" = "XNONE"; then
13395 acl_final_exec_prefix='${prefix}'
13397 acl_final_exec_prefix="$exec_prefix"
13399 acl_save_prefix="$prefix"
13400 prefix="$acl_final_prefix"
13401 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
13402 prefix="$acl_save_prefix"
13405 # Check whether --with-gnu-ld was given.
13406 if test "${with_gnu_ld+set}" = set; then :
13407 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13412 # Prepare PATH_SEPARATOR.
13413 # The user is always right.
13414 if test "${PATH_SEPARATOR+set}" != set; then
13415 echo "#! /bin/sh" >conf$$.sh
13416 echo "exit 0" >>conf$$.sh
13418 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13426 if test "$GCC" = yes; then
13427 # Check if gcc -print-prog-name=ld gives a path.
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13429 $as_echo_n "checking for ld used by GCC... " >&6; }
13432 # gcc leaves a trailing carriage return which upsets mingw
13433 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13435 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13438 # Accept absolute paths.
13439 [\\/]* | [A-Za-z]:[\\/]*)
13440 re_direlt='/[^/][^/]*/\.\./'
13441 # Canonicalize the path of ld
13442 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
13443 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13444 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
13446 test -z "$LD" && LD="$ac_prog"
13449 # If it fails, then pretend we aren't using GCC.
13453 # If it is relative, then search for the first ld in PATH.
13454 with_gnu_ld=unknown
13457 elif test "$with_gnu_ld" = yes; then
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13459 $as_echo_n "checking for GNU ld... " >&6; }
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13462 $as_echo_n "checking for non-GNU ld... " >&6; }
13464 if ${acl_cv_path_LD+:} false; then :
13465 $as_echo_n "(cached) " >&6
13467 if test -z "$LD"; then
13468 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13469 for ac_dir in $PATH; do
13470 test -z "$ac_dir" && ac_dir=.
13471 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13472 acl_cv_path_LD="$ac_dir/$ac_prog"
13473 # Check to see if the program is GNU ld. I'd rather use --version,
13474 # but apparently some GNU ld's only accept -v.
13475 # Break only if it was the GNU/non-GNU ld that we prefer.
13476 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13477 *GNU* | *'with BFD'*)
13478 test "$with_gnu_ld" != no && break ;;
13480 test "$with_gnu_ld" != yes && break ;;
13486 acl_cv_path_LD="$LD" # Let the user override the test with a path.
13490 LD="$acl_cv_path_LD"
13491 if test -n "$LD"; then
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13493 $as_echo "$LD" >&6; }
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13496 $as_echo "no" >&6; }
13498 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13500 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13501 if ${acl_cv_prog_gnu_ld+:} false; then :
13502 $as_echo_n "(cached) " >&6
13504 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13505 case `$LD -v 2>&1 </dev/null` in
13506 *GNU* | *'with BFD'*)
13507 acl_cv_prog_gnu_ld=yes ;;
13509 acl_cv_prog_gnu_ld=no ;;
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13513 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13514 with_gnu_ld=$acl_cv_prog_gnu_ld
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13520 $as_echo_n "checking for shared library run path origin... " >&6; }
13521 if ${acl_cv_rpath+:} false; then :
13522 $as_echo_n "(cached) " >&6
13525 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
13526 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13528 rm -f ./conftest.sh
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13533 $as_echo "$acl_cv_rpath" >&6; }
13535 acl_libext="$acl_cv_libext"
13536 acl_shlibext="$acl_cv_shlibext"
13537 acl_libname_spec="$acl_cv_libname_spec"
13538 acl_library_names_spec="$acl_cv_library_names_spec"
13539 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
13540 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
13541 acl_hardcode_direct="$acl_cv_hardcode_direct"
13542 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
13543 # Check whether --enable-rpath was given.
13544 if test "${enable_rpath+set}" = set; then :
13545 enableval=$enable_rpath; :
13553 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13554 if test -n "$searchpath"; then
13555 acl_save_IFS="${IFS= }"; IFS=":"
13556 for searchdir in $searchpath; do
13557 if test -d "$searchdir"; then
13558 case "$searchdir" in
13559 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
13560 *) searchdir=`cd "$searchdir" && pwd`
13561 case "$searchdir" in
13562 */lib64 ) acl_libdirstem=lib64 ;;
13567 IFS="$acl_save_IFS"
13580 acl_save_prefix="$prefix"
13581 prefix="$acl_final_prefix"
13582 acl_save_exec_prefix="$exec_prefix"
13583 exec_prefix="$acl_final_exec_prefix"
13585 eval additional_includedir=\"$includedir\"
13586 eval additional_libdir=\"$libdir\"
13588 exec_prefix="$acl_save_exec_prefix"
13589 prefix="$acl_save_prefix"
13592 # Check whether --with-libiconv-prefix was given.
13593 if test "${with_libiconv_prefix+set}" = set; then :
13594 withval=$with_libiconv_prefix;
13595 if test "X$withval" = "Xno"; then
13598 if test "X$withval" = "X"; then
13600 acl_save_prefix="$prefix"
13601 prefix="$acl_final_prefix"
13602 acl_save_exec_prefix="$exec_prefix"
13603 exec_prefix="$acl_final_exec_prefix"
13605 eval additional_includedir=\"$includedir\"
13606 eval additional_libdir=\"$libdir\"
13608 exec_prefix="$acl_save_exec_prefix"
13609 prefix="$acl_save_prefix"
13612 additional_includedir="$withval/include"
13613 additional_libdir="$withval/$acl_libdirstem"
13625 names_already_handled=
13626 names_next_round='iconv '
13627 while test -n "$names_next_round"; do
13628 names_this_round="$names_next_round"
13630 for name in $names_this_round; do
13632 for n in $names_already_handled; do
13633 if test "$n" = "$name"; then
13634 already_handled=yes
13638 if test -z "$already_handled"; then
13639 names_already_handled="$names_already_handled $name"
13640 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13641 eval value=\"\$HAVE_LIB$uppername\"
13642 if test -n "$value"; then
13643 if test "$value" = yes; then
13644 eval value=\"\$LIB$uppername\"
13645 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13646 eval value=\"\$LTLIB$uppername\"
13647 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
13656 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13657 if test -n "$acl_shlibext"; then
13658 shrext=".$acl_shlibext" # typically: shrext=.so
13662 if test $use_additional = yes; then
13663 dir="$additional_libdir"
13664 if test -n "$acl_shlibext"; then
13665 if test -f "$dir/$libname$shrext"; then
13667 found_so="$dir/$libname$shrext"
13669 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13670 ver=`(cd "$dir" && \
13671 for f in "$libname$shrext".*; do echo "$f"; done \
13672 | sed -e "s,^$libname$shrext\\\\.,," \
13673 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13674 | sed 1q ) 2>/dev/null`
13675 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13677 found_so="$dir/$libname$shrext.$ver"
13680 eval library_names=\"$acl_library_names_spec\"
13681 for f in $library_names; do
13682 if test -f "$dir/$f"; then
13691 if test "X$found_dir" = "X"; then
13692 if test -f "$dir/$libname.$acl_libext"; then
13694 found_a="$dir/$libname.$acl_libext"
13697 if test "X$found_dir" != "X"; then
13698 if test -f "$dir/$libname.la"; then
13699 found_la="$dir/$libname.la"
13703 if test "X$found_dir" = "X"; then
13704 for x in $LDFLAGS $LTLIBICONV; do
13706 acl_save_prefix="$prefix"
13707 prefix="$acl_final_prefix"
13708 acl_save_exec_prefix="$exec_prefix"
13709 exec_prefix="$acl_final_exec_prefix"
13711 exec_prefix="$acl_save_exec_prefix"
13712 prefix="$acl_save_prefix"
13716 dir=`echo "X$x" | sed -e 's/^X-L//'`
13717 if test -n "$acl_shlibext"; then
13718 if test -f "$dir/$libname$shrext"; then
13720 found_so="$dir/$libname$shrext"
13722 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13723 ver=`(cd "$dir" && \
13724 for f in "$libname$shrext".*; do echo "$f"; done \
13725 | sed -e "s,^$libname$shrext\\\\.,," \
13726 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13727 | sed 1q ) 2>/dev/null`
13728 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13730 found_so="$dir/$libname$shrext.$ver"
13733 eval library_names=\"$acl_library_names_spec\"
13734 for f in $library_names; do
13735 if test -f "$dir/$f"; then
13744 if test "X$found_dir" = "X"; then
13745 if test -f "$dir/$libname.$acl_libext"; then
13747 found_a="$dir/$libname.$acl_libext"
13750 if test "X$found_dir" != "X"; then
13751 if test -f "$dir/$libname.la"; then
13752 found_la="$dir/$libname.la"
13757 if test "X$found_dir" != "X"; then
13762 if test "X$found_dir" != "X"; then
13763 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13764 if test "X$found_so" != "X"; then
13765 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13766 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13769 for x in $ltrpathdirs; do
13770 if test "X$x" = "X$found_dir"; then
13775 if test -z "$haveit"; then
13776 ltrpathdirs="$ltrpathdirs $found_dir"
13778 if test "$acl_hardcode_direct" = yes; then
13779 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13781 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13782 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13784 for x in $rpathdirs; do
13785 if test "X$x" = "X$found_dir"; then
13790 if test -z "$haveit"; then
13791 rpathdirs="$rpathdirs $found_dir"
13795 for x in $LDFLAGS $LIBICONV; do
13797 acl_save_prefix="$prefix"
13798 prefix="$acl_final_prefix"
13799 acl_save_exec_prefix="$exec_prefix"
13800 exec_prefix="$acl_final_exec_prefix"
13802 exec_prefix="$acl_save_exec_prefix"
13803 prefix="$acl_save_prefix"
13805 if test "X$x" = "X-L$found_dir"; then
13810 if test -z "$haveit"; then
13811 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13813 if test "$acl_hardcode_minus_L" != no; then
13814 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13816 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13822 if test "X$found_a" != "X"; then
13823 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
13825 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13828 additional_includedir=
13829 case "$found_dir" in
13830 */$acl_libdirstem | */$acl_libdirstem/)
13831 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13832 LIBICONV_PREFIX="$basedir"
13833 additional_includedir="$basedir/include"
13836 if test "X$additional_includedir" != "X"; then
13837 if test "X$additional_includedir" != "X/usr/include"; then
13839 if test "X$additional_includedir" = "X/usr/local/include"; then
13840 if test -n "$GCC"; then
13842 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13846 if test -z "$haveit"; then
13847 for x in $CPPFLAGS $INCICONV; do
13849 acl_save_prefix="$prefix"
13850 prefix="$acl_final_prefix"
13851 acl_save_exec_prefix="$exec_prefix"
13852 exec_prefix="$acl_final_exec_prefix"
13854 exec_prefix="$acl_save_exec_prefix"
13855 prefix="$acl_save_prefix"
13857 if test "X$x" = "X-I$additional_includedir"; then
13862 if test -z "$haveit"; then
13863 if test -d "$additional_includedir"; then
13864 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13870 if test -n "$found_la"; then
13871 save_libdir="$libdir"
13872 case "$found_la" in
13873 */* | *\\*) . "$found_la" ;;
13874 *) . "./$found_la" ;;
13876 libdir="$save_libdir"
13877 for dep in $dependency_libs; do
13880 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13881 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13883 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13884 if test -n "$GCC"; then
13886 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13890 if test -z "$haveit"; then
13892 for x in $LDFLAGS $LIBICONV; do
13894 acl_save_prefix="$prefix"
13895 prefix="$acl_final_prefix"
13896 acl_save_exec_prefix="$exec_prefix"
13897 exec_prefix="$acl_final_exec_prefix"
13899 exec_prefix="$acl_save_exec_prefix"
13900 prefix="$acl_save_prefix"
13902 if test "X$x" = "X-L$additional_libdir"; then
13907 if test -z "$haveit"; then
13908 if test -d "$additional_libdir"; then
13909 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13913 for x in $LDFLAGS $LTLIBICONV; do
13915 acl_save_prefix="$prefix"
13916 prefix="$acl_final_prefix"
13917 acl_save_exec_prefix="$exec_prefix"
13918 exec_prefix="$acl_final_exec_prefix"
13920 exec_prefix="$acl_save_exec_prefix"
13921 prefix="$acl_save_prefix"
13923 if test "X$x" = "X-L$additional_libdir"; then
13928 if test -z "$haveit"; then
13929 if test -d "$additional_libdir"; then
13930 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13937 dir=`echo "X$dep" | sed -e 's/^X-R//'`
13938 if test "$enable_rpath" != no; then
13940 for x in $rpathdirs; do
13941 if test "X$x" = "X$dir"; then
13946 if test -z "$haveit"; then
13947 rpathdirs="$rpathdirs $dir"
13950 for x in $ltrpathdirs; do
13951 if test "X$x" = "X$dir"; then
13956 if test -z "$haveit"; then
13957 ltrpathdirs="$ltrpathdirs $dir"
13962 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13965 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13968 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13969 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13975 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13976 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13982 if test "X$rpathdirs" != "X"; then
13983 if test -n "$acl_hardcode_libdir_separator"; then
13985 for found_dir in $rpathdirs; do
13986 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13988 acl_save_libdir="$libdir"
13990 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13991 libdir="$acl_save_libdir"
13992 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13994 for found_dir in $rpathdirs; do
13995 acl_save_libdir="$libdir"
13996 libdir="$found_dir"
13997 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13998 libdir="$acl_save_libdir"
13999 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14003 if test "X$ltrpathdirs" != "X"; then
14004 for found_dir in $ltrpathdirs; do
14005 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14034 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14035 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
14036 $as_echo_n "(cached) " >&6
14038 gt_save_LIBS="$LIBS"
14039 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14041 /* end confdefs.h. */
14042 #include <CoreFoundation/CFPreferences.h>
14046 CFPreferencesCopyAppValue(NULL, NULL)
14051 if ac_fn_c_try_link "$LINENO"; then :
14052 gt_cv_func_CFPreferencesCopyAppValue=yes
14054 gt_cv_func_CFPreferencesCopyAppValue=no
14056 rm -f core conftest.err conftest.$ac_objext \
14057 conftest$ac_exeext conftest.$ac_ext
14058 LIBS="$gt_save_LIBS"
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14061 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14062 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14064 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14068 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14069 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
14070 $as_echo_n "(cached) " >&6
14072 gt_save_LIBS="$LIBS"
14073 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14075 /* end confdefs.h. */
14076 #include <CoreFoundation/CFLocale.h>
14080 CFLocaleCopyCurrent();
14085 if ac_fn_c_try_link "$LINENO"; then :
14086 gt_cv_func_CFLocaleCopyCurrent=yes
14088 gt_cv_func_CFLocaleCopyCurrent=no
14090 rm -f core conftest.err conftest.$ac_objext \
14091 conftest$ac_exeext conftest.$ac_ext
14092 LIBS="$gt_save_LIBS"
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14095 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14096 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14098 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14102 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14103 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
14115 case " $gt_needs " in
14116 *" need-formatstring-macros "*) gt_api_version=3 ;;
14117 *" need-ngettext "*) gt_api_version=2 ;;
14118 *) gt_api_version=1 ;;
14120 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
14121 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
14123 if test "$USE_NLS" = "yes"; then
14124 gt_use_preinstalled_gnugettext=no
14127 if test $gt_api_version -ge 3; then
14128 gt_revision_test_code='
14129 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14130 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14132 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14135 gt_revision_test_code=
14137 if test $gt_api_version -ge 2; then
14138 gt_expression_test_code=' + * ngettext ("", "", 0)'
14140 gt_expression_test_code=
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14144 $as_echo_n "checking for GNU gettext in libc... " >&6; }
14145 if eval \${$gt_func_gnugettext_libc+:} false; then :
14146 $as_echo_n "(cached) " >&6
14148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14149 /* end confdefs.h. */
14150 #include <libintl.h>
14151 $gt_revision_test_code
14152 extern int _nl_msg_cat_cntr;
14153 extern int *_nl_domain_bindings;
14157 bindtextdomain ("", "");
14158 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
14163 if ac_fn_c_try_link "$LINENO"; then :
14164 eval "$gt_func_gnugettext_libc=yes"
14166 eval "$gt_func_gnugettext_libc=no"
14168 rm -f core conftest.err conftest.$ac_objext \
14169 conftest$ac_exeext conftest.$ac_ext
14171 eval ac_res=\$$gt_func_gnugettext_libc
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14173 $as_echo "$ac_res" >&6; }
14175 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
14181 am_save_CPPFLAGS="$CPPFLAGS"
14183 for element in $INCICONV; do
14185 for x in $CPPFLAGS; do
14187 acl_save_prefix="$prefix"
14188 prefix="$acl_final_prefix"
14189 acl_save_exec_prefix="$exec_prefix"
14190 exec_prefix="$acl_final_exec_prefix"
14192 exec_prefix="$acl_save_exec_prefix"
14193 prefix="$acl_save_prefix"
14195 if test "X$x" = "X$element"; then
14200 if test -z "$haveit"; then
14201 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14207 $as_echo_n "checking for iconv... " >&6; }
14208 if ${am_cv_func_iconv+:} false; then :
14209 $as_echo_n "(cached) " >&6
14212 am_cv_func_iconv="no, consider installing GNU libiconv"
14214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14215 /* end confdefs.h. */
14216 #include <stdlib.h>
14221 iconv_t cd = iconv_open("","");
14222 iconv(cd,NULL,NULL,NULL,NULL);
14228 if ac_fn_c_try_link "$LINENO"; then :
14229 am_cv_func_iconv=yes
14231 rm -f core conftest.err conftest.$ac_objext \
14232 conftest$ac_exeext conftest.$ac_ext
14233 if test "$am_cv_func_iconv" != yes; then
14234 am_save_LIBS="$LIBS"
14235 LIBS="$LIBS $LIBICONV"
14236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14237 /* end confdefs.h. */
14238 #include <stdlib.h>
14243 iconv_t cd = iconv_open("","");
14244 iconv(cd,NULL,NULL,NULL,NULL);
14250 if ac_fn_c_try_link "$LINENO"; then :
14251 am_cv_lib_iconv=yes
14252 am_cv_func_iconv=yes
14254 rm -f core conftest.err conftest.$ac_objext \
14255 conftest$ac_exeext conftest.$ac_ext
14256 LIBS="$am_save_LIBS"
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14261 $as_echo "$am_cv_func_iconv" >&6; }
14262 if test "$am_cv_func_iconv" = yes; then
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
14264 $as_echo_n "checking for working iconv... " >&6; }
14265 if ${am_cv_func_iconv_works+:} false; then :
14266 $as_echo_n "(cached) " >&6
14269 am_save_LIBS="$LIBS"
14270 if test $am_cv_lib_iconv = yes; then
14271 LIBS="$LIBS $LIBICONV"
14273 if test "$cross_compiling" = yes; then :
14275 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
14276 *) am_cv_func_iconv_works="guessing yes" ;;
14279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14280 /* end confdefs.h. */
14283 #include <string.h>
14286 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
14289 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
14290 if (cd_utf8_to_88591 != (iconv_t)(-1))
14292 static const char input[] = "\342\202\254"; /* EURO SIGN */
14294 const char *inptr = input;
14295 size_t inbytesleft = strlen (input);
14296 char *outptr = buf;
14297 size_t outbytesleft = sizeof (buf);
14298 size_t res = iconv (cd_utf8_to_88591,
14299 (char **) &inptr, &inbytesleft,
14300 &outptr, &outbytesleft);
14305 #if 0 /* This bug could be worked around by the caller. */
14306 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
14308 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
14309 if (cd_88591_to_utf8 != (iconv_t)(-1))
14311 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
14313 const char *inptr = input;
14314 size_t inbytesleft = strlen (input);
14315 char *outptr = buf;
14316 size_t outbytesleft = sizeof (buf);
14317 size_t res = iconv (cd_88591_to_utf8,
14318 (char **) &inptr, &inbytesleft,
14319 &outptr, &outbytesleft);
14325 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
14327 if (/* Try standardized names. */
14328 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
14329 /* Try IRIX, OSF/1 names. */
14330 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
14331 /* Try AIX names. */
14332 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
14333 /* Try HP-UX names. */
14334 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
14339 if ac_fn_c_try_run "$LINENO"; then :
14340 am_cv_func_iconv_works=yes
14342 am_cv_func_iconv_works=no
14344 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14345 conftest.$ac_objext conftest.beam conftest.$ac_ext
14348 LIBS="$am_save_LIBS"
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
14352 $as_echo "$am_cv_func_iconv_works" >&6; }
14353 case "$am_cv_func_iconv_works" in
14354 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
14355 *) am_func_iconv=yes ;;
14358 am_func_iconv=no am_cv_lib_iconv=no
14360 if test "$am_func_iconv" = yes; then
14362 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14365 if test "$am_cv_lib_iconv" = yes; then
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14367 $as_echo_n "checking how to link with libiconv... " >&6; }
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14369 $as_echo "$LIBICONV" >&6; }
14371 CPPFLAGS="$am_save_CPPFLAGS"
14385 acl_save_prefix="$prefix"
14386 prefix="$acl_final_prefix"
14387 acl_save_exec_prefix="$exec_prefix"
14388 exec_prefix="$acl_final_exec_prefix"
14390 eval additional_includedir=\"$includedir\"
14391 eval additional_libdir=\"$libdir\"
14393 exec_prefix="$acl_save_exec_prefix"
14394 prefix="$acl_save_prefix"
14397 # Check whether --with-libintl-prefix was given.
14398 if test "${with_libintl_prefix+set}" = set; then :
14399 withval=$with_libintl_prefix;
14400 if test "X$withval" = "Xno"; then
14403 if test "X$withval" = "X"; then
14405 acl_save_prefix="$prefix"
14406 prefix="$acl_final_prefix"
14407 acl_save_exec_prefix="$exec_prefix"
14408 exec_prefix="$acl_final_exec_prefix"
14410 eval additional_includedir=\"$includedir\"
14411 eval additional_libdir=\"$libdir\"
14413 exec_prefix="$acl_save_exec_prefix"
14414 prefix="$acl_save_prefix"
14417 additional_includedir="$withval/include"
14418 additional_libdir="$withval/$acl_libdirstem"
14430 names_already_handled=
14431 names_next_round='intl '
14432 while test -n "$names_next_round"; do
14433 names_this_round="$names_next_round"
14435 for name in $names_this_round; do
14437 for n in $names_already_handled; do
14438 if test "$n" = "$name"; then
14439 already_handled=yes
14443 if test -z "$already_handled"; then
14444 names_already_handled="$names_already_handled $name"
14445 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14446 eval value=\"\$HAVE_LIB$uppername\"
14447 if test -n "$value"; then
14448 if test "$value" = yes; then
14449 eval value=\"\$LIB$uppername\"
14450 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
14451 eval value=\"\$LTLIB$uppername\"
14452 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
14461 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14462 if test -n "$acl_shlibext"; then
14463 shrext=".$acl_shlibext" # typically: shrext=.so
14467 if test $use_additional = yes; then
14468 dir="$additional_libdir"
14469 if test -n "$acl_shlibext"; then
14470 if test -f "$dir/$libname$shrext"; then
14472 found_so="$dir/$libname$shrext"
14474 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14475 ver=`(cd "$dir" && \
14476 for f in "$libname$shrext".*; do echo "$f"; done \
14477 | sed -e "s,^$libname$shrext\\\\.,," \
14478 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14479 | sed 1q ) 2>/dev/null`
14480 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14482 found_so="$dir/$libname$shrext.$ver"
14485 eval library_names=\"$acl_library_names_spec\"
14486 for f in $library_names; do
14487 if test -f "$dir/$f"; then
14496 if test "X$found_dir" = "X"; then
14497 if test -f "$dir/$libname.$acl_libext"; then
14499 found_a="$dir/$libname.$acl_libext"
14502 if test "X$found_dir" != "X"; then
14503 if test -f "$dir/$libname.la"; then
14504 found_la="$dir/$libname.la"
14508 if test "X$found_dir" = "X"; then
14509 for x in $LDFLAGS $LTLIBINTL; do
14511 acl_save_prefix="$prefix"
14512 prefix="$acl_final_prefix"
14513 acl_save_exec_prefix="$exec_prefix"
14514 exec_prefix="$acl_final_exec_prefix"
14516 exec_prefix="$acl_save_exec_prefix"
14517 prefix="$acl_save_prefix"
14521 dir=`echo "X$x" | sed -e 's/^X-L//'`
14522 if test -n "$acl_shlibext"; then
14523 if test -f "$dir/$libname$shrext"; then
14525 found_so="$dir/$libname$shrext"
14527 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14528 ver=`(cd "$dir" && \
14529 for f in "$libname$shrext".*; do echo "$f"; done \
14530 | sed -e "s,^$libname$shrext\\\\.,," \
14531 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14532 | sed 1q ) 2>/dev/null`
14533 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14535 found_so="$dir/$libname$shrext.$ver"
14538 eval library_names=\"$acl_library_names_spec\"
14539 for f in $library_names; do
14540 if test -f "$dir/$f"; then
14549 if test "X$found_dir" = "X"; then
14550 if test -f "$dir/$libname.$acl_libext"; then
14552 found_a="$dir/$libname.$acl_libext"
14555 if test "X$found_dir" != "X"; then
14556 if test -f "$dir/$libname.la"; then
14557 found_la="$dir/$libname.la"
14562 if test "X$found_dir" != "X"; then
14567 if test "X$found_dir" != "X"; then
14568 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14569 if test "X$found_so" != "X"; then
14570 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14571 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14574 for x in $ltrpathdirs; do
14575 if test "X$x" = "X$found_dir"; then
14580 if test -z "$haveit"; then
14581 ltrpathdirs="$ltrpathdirs $found_dir"
14583 if test "$acl_hardcode_direct" = yes; then
14584 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14586 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14587 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14589 for x in $rpathdirs; do
14590 if test "X$x" = "X$found_dir"; then
14595 if test -z "$haveit"; then
14596 rpathdirs="$rpathdirs $found_dir"
14600 for x in $LDFLAGS $LIBINTL; do
14602 acl_save_prefix="$prefix"
14603 prefix="$acl_final_prefix"
14604 acl_save_exec_prefix="$exec_prefix"
14605 exec_prefix="$acl_final_exec_prefix"
14607 exec_prefix="$acl_save_exec_prefix"
14608 prefix="$acl_save_prefix"
14610 if test "X$x" = "X-L$found_dir"; then
14615 if test -z "$haveit"; then
14616 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14618 if test "$acl_hardcode_minus_L" != no; then
14619 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14621 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14627 if test "X$found_a" != "X"; then
14628 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
14630 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14633 additional_includedir=
14634 case "$found_dir" in
14635 */$acl_libdirstem | */$acl_libdirstem/)
14636 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14637 LIBINTL_PREFIX="$basedir"
14638 additional_includedir="$basedir/include"
14641 if test "X$additional_includedir" != "X"; then
14642 if test "X$additional_includedir" != "X/usr/include"; then
14644 if test "X$additional_includedir" = "X/usr/local/include"; then
14645 if test -n "$GCC"; then
14647 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14651 if test -z "$haveit"; then
14652 for x in $CPPFLAGS $INCINTL; do
14654 acl_save_prefix="$prefix"
14655 prefix="$acl_final_prefix"
14656 acl_save_exec_prefix="$exec_prefix"
14657 exec_prefix="$acl_final_exec_prefix"
14659 exec_prefix="$acl_save_exec_prefix"
14660 prefix="$acl_save_prefix"
14662 if test "X$x" = "X-I$additional_includedir"; then
14667 if test -z "$haveit"; then
14668 if test -d "$additional_includedir"; then
14669 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14675 if test -n "$found_la"; then
14676 save_libdir="$libdir"
14677 case "$found_la" in
14678 */* | *\\*) . "$found_la" ;;
14679 *) . "./$found_la" ;;
14681 libdir="$save_libdir"
14682 for dep in $dependency_libs; do
14685 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14686 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14688 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14689 if test -n "$GCC"; then
14691 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14695 if test -z "$haveit"; then
14697 for x in $LDFLAGS $LIBINTL; do
14699 acl_save_prefix="$prefix"
14700 prefix="$acl_final_prefix"
14701 acl_save_exec_prefix="$exec_prefix"
14702 exec_prefix="$acl_final_exec_prefix"
14704 exec_prefix="$acl_save_exec_prefix"
14705 prefix="$acl_save_prefix"
14707 if test "X$x" = "X-L$additional_libdir"; then
14712 if test -z "$haveit"; then
14713 if test -d "$additional_libdir"; then
14714 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14718 for x in $LDFLAGS $LTLIBINTL; do
14720 acl_save_prefix="$prefix"
14721 prefix="$acl_final_prefix"
14722 acl_save_exec_prefix="$exec_prefix"
14723 exec_prefix="$acl_final_exec_prefix"
14725 exec_prefix="$acl_save_exec_prefix"
14726 prefix="$acl_save_prefix"
14728 if test "X$x" = "X-L$additional_libdir"; then
14733 if test -z "$haveit"; then
14734 if test -d "$additional_libdir"; then
14735 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14742 dir=`echo "X$dep" | sed -e 's/^X-R//'`
14743 if test "$enable_rpath" != no; then
14745 for x in $rpathdirs; do
14746 if test "X$x" = "X$dir"; then
14751 if test -z "$haveit"; then
14752 rpathdirs="$rpathdirs $dir"
14755 for x in $ltrpathdirs; do
14756 if test "X$x" = "X$dir"; then
14761 if test -z "$haveit"; then
14762 ltrpathdirs="$ltrpathdirs $dir"
14767 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14770 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14773 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
14774 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14780 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14781 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14787 if test "X$rpathdirs" != "X"; then
14788 if test -n "$acl_hardcode_libdir_separator"; then
14790 for found_dir in $rpathdirs; do
14791 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14793 acl_save_libdir="$libdir"
14795 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14796 libdir="$acl_save_libdir"
14797 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14799 for found_dir in $rpathdirs; do
14800 acl_save_libdir="$libdir"
14801 libdir="$found_dir"
14802 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14803 libdir="$acl_save_libdir"
14804 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14808 if test "X$ltrpathdirs" != "X"; then
14809 for found_dir in $ltrpathdirs; do
14810 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14815 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
14816 if eval \${$gt_func_gnugettext_libintl+:} false; then :
14817 $as_echo_n "(cached) " >&6
14819 gt_save_CPPFLAGS="$CPPFLAGS"
14820 CPPFLAGS="$CPPFLAGS $INCINTL"
14821 gt_save_LIBS="$LIBS"
14822 LIBS="$LIBS $LIBINTL"
14823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14824 /* end confdefs.h. */
14825 #include <libintl.h>
14826 $gt_revision_test_code
14827 extern int _nl_msg_cat_cntr;
14832 const char *_nl_expand_alias (const char *);
14836 bindtextdomain ("", "");
14837 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14842 if ac_fn_c_try_link "$LINENO"; then :
14843 eval "$gt_func_gnugettext_libintl=yes"
14845 eval "$gt_func_gnugettext_libintl=no"
14847 rm -f core conftest.err conftest.$ac_objext \
14848 conftest$ac_exeext conftest.$ac_ext
14849 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14850 LIBS="$LIBS $LIBICONV"
14851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14852 /* end confdefs.h. */
14853 #include <libintl.h>
14854 $gt_revision_test_code
14855 extern int _nl_msg_cat_cntr;
14860 const char *_nl_expand_alias (const char *);
14864 bindtextdomain ("", "");
14865 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14870 if ac_fn_c_try_link "$LINENO"; then :
14871 LIBINTL="$LIBINTL $LIBICONV"
14872 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
14873 eval "$gt_func_gnugettext_libintl=yes"
14876 rm -f core conftest.err conftest.$ac_objext \
14877 conftest$ac_exeext conftest.$ac_ext
14879 CPPFLAGS="$gt_save_CPPFLAGS"
14880 LIBS="$gt_save_LIBS"
14882 eval ac_res=\$$gt_func_gnugettext_libintl
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14884 $as_echo "$ac_res" >&6; }
14887 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14888 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14889 && test "$PACKAGE" != gettext-runtime \
14890 && test "$PACKAGE" != gettext-tools; }; then
14891 gt_use_preinstalled_gnugettext=yes
14900 if test -n "$INTL_MACOSX_LIBS"; then
14901 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14902 || test "$nls_cv_use_gnu_gettext" = "yes"; then
14903 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
14904 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
14908 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14909 || test "$nls_cv_use_gnu_gettext" = "yes"; then
14911 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14919 $as_echo_n "checking whether to use NLS... " >&6; }
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14921 $as_echo "$USE_NLS" >&6; }
14922 if test "$USE_NLS" = "yes"; then
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14924 $as_echo_n "checking where the gettext function comes from... " >&6; }
14925 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14926 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14927 gt_source="external libintl"
14932 gt_source="included intl directory"
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14935 $as_echo "$gt_source" >&6; }
14938 if test "$USE_NLS" = "yes"; then
14940 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14941 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14943 $as_echo_n "checking how to link with libintl... " >&6; }
14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14945 $as_echo "$LIBINTL" >&6; }
14947 for element in $INCINTL; do
14949 for x in $CPPFLAGS; do
14951 acl_save_prefix="$prefix"
14952 prefix="$acl_final_prefix"
14953 acl_save_exec_prefix="$exec_prefix"
14954 exec_prefix="$acl_final_exec_prefix"
14956 exec_prefix="$acl_save_exec_prefix"
14957 prefix="$acl_save_prefix"
14959 if test "X$x" = "X$element"; then
14964 if test -z "$haveit"; then
14965 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14972 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14975 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14984 INTLLIBS="$LIBINTL"
14992 if test "$USE_NLS" = "yes"; then
14993 GETTEXT_PACKAGE=gst-plugins-good-$GST_MAJORMINOR
14995 GETTEXT_PACKAGE=NULL
14999 cat >>confdefs.h <<_ACEOF
15000 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15006 FROM_VAR=$datadir/locale
15008 prefix_save=$prefix
15009 exec_prefix_save=$exec_prefix
15011 if test "x$prefix" = "xNONE"; then
15012 prefix="$ac_default_prefix"
15014 if test "x$exec_prefix" = "xNONE"; then
15015 exec_prefix=$prefix
15018 full_var="$FROM_VAR"
15020 new_full_var="`eval echo $full_var`"
15021 if test "x$new_full_var" = "x$full_var"; then break; fi
15022 full_var=$new_full_var
15025 full_var=$new_full_var
15026 LOCALEDIR="$full_var"
15029 prefix=$prefix_save
15030 exec_prefix=$exec_prefix_save
15033 cat >>confdefs.h <<_ACEOF
15034 #define LOCALEDIR "$LOCALEDIR"
15041 # Check whether --enable-debug was given.
15042 if test "${enable_debug+set}" = set; then :
15043 enableval=$enable_debug;
15044 case "${enableval}" in
15045 yes) USE_DEBUG=yes ;;
15046 no) USE_DEBUG=no ;;
15047 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
15055 # Check whether --enable-profiling was given.
15056 if test "${enable_profiling+set}" = set; then :
15057 enableval=$enable_profiling;
15058 case "${enableval}" in
15059 yes) USE_PROFILING=yes ;;
15060 no) USE_PROFILING=no ;;
15061 *) as_fn_error $? "bad value ${enableval} for --enable-profiling" "$LINENO" 5 ;;
15070 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15071 if test -n "$ac_tool_prefix"; then
15072 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15073 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15075 $as_echo_n "checking for $ac_word... " >&6; }
15076 if ${ac_cv_path_PKG_CONFIG+:} false; then :
15077 $as_echo_n "(cached) " >&6
15079 case $PKG_CONFIG in
15081 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15085 for as_dir in $PATH
15088 test -z "$as_dir" && as_dir=.
15089 for ac_exec_ext in '' $ac_executable_extensions; do
15090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15091 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15102 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15103 if test -n "$PKG_CONFIG"; then
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15105 $as_echo "$PKG_CONFIG" >&6; }
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15108 $as_echo "no" >&6; }
15113 if test -z "$ac_cv_path_PKG_CONFIG"; then
15114 ac_pt_PKG_CONFIG=$PKG_CONFIG
15115 # Extract the first word of "pkg-config", so it can be a program name with args.
15116 set dummy pkg-config; ac_word=$2
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15118 $as_echo_n "checking for $ac_word... " >&6; }
15119 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15120 $as_echo_n "(cached) " >&6
15122 case $ac_pt_PKG_CONFIG in
15124 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15128 for as_dir in $PATH
15131 test -z "$as_dir" && as_dir=.
15132 for ac_exec_ext in '' $ac_executable_extensions; do
15133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15134 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15145 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15146 if test -n "$ac_pt_PKG_CONFIG"; then
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15148 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15151 $as_echo "no" >&6; }
15154 if test "x$ac_pt_PKG_CONFIG" = x; then
15157 case $cross_compiling:$ac_tool_warned in
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15161 ac_tool_warned=yes ;;
15163 PKG_CONFIG=$ac_pt_PKG_CONFIG
15166 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15170 if test -n "$PKG_CONFIG"; then
15171 _pkg_min_version=0.9.0
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15173 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15174 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15176 $as_echo "yes" >&6; }
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15179 $as_echo "no" >&6; }
15185 # Check whether --enable-valgrind was given.
15186 if test "${enable_valgrind+set}" = set; then :
15187 enableval=$enable_valgrind;
15188 case "${enableval}" in
15189 yes) USE_VALGRIND="$USE_DEBUG" ;;
15190 no) USE_VALGRIND=no ;;
15191 *) as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
15195 USE_VALGRIND="$USE_DEBUG"
15198 if test "x$USE_VALGRIND" = xyes; then
15201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
15202 $as_echo_n "checking for VALGRIND... " >&6; }
15204 if test -n "$PKG_CONFIG"; then
15205 if test -n "$VALGRIND_CFLAGS"; then
15206 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
15208 if test -n "$PKG_CONFIG" && \
15209 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
15210 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
15212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15213 test $ac_status = 0; }; then
15214 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
15222 if test -n "$PKG_CONFIG"; then
15223 if test -n "$VALGRIND_LIBS"; then
15224 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
15226 if test -n "$PKG_CONFIG" && \
15227 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
15228 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
15230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15231 test $ac_status = 0; }; then
15232 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
15243 if test $pkg_failed = yes; then
15245 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15246 _pkg_short_errors_supported=yes
15248 _pkg_short_errors_supported=no
15250 if test $_pkg_short_errors_supported = yes; then
15251 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
15253 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
15255 # Put the nasty error message in config.log where it belongs
15256 echo "$VALGRIND_PKG_ERRORS" >&5
15258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15259 $as_echo "no" >&6; }
15261 elif test $pkg_failed = untried; then
15264 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
15265 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15267 $as_echo "yes" >&6; }
15271 if test "x$USE_VALGRIND" = xyes; then
15273 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
15276 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
15280 # Check whether --enable-gcov was given.
15281 if test "${enable_gcov+set}" = set; then :
15282 enableval=$enable_gcov; enable_gcov=$enableval
15287 if test x$enable_gcov = xyes ; then
15288 if test "x$GCC" != "xyes"
15290 as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
15295 $as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
15297 save_CFLAGS="$CFLAGS"
15298 CFLAGS="$CFLAGS "-fprofile-arcs""
15300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15301 /* end confdefs.h. */
15311 if ac_fn_c_try_compile "$LINENO"; then :
15316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15317 CFLAGS="$save_CFLAGS"
15319 if test "X$flag_ok" = Xyes ; then
15320 GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15327 $as_echo "$flag_ok" >&6; }
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
15331 $as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
15333 save_CFLAGS="$CFLAGS"
15334 CFLAGS="$CFLAGS "-ftest-coverage""
15336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15337 /* end confdefs.h. */
15347 if ac_fn_c_try_compile "$LINENO"; then :
15352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15353 CFLAGS="$save_CFLAGS"
15355 if test "X$flag_ok" = Xyes ; then
15356 GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15363 $as_echo "$flag_ok" >&6; }
15365 GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
15369 GCOV=`echo $CC | sed s/gcc/gcov/g`
15372 GST_GCOV_ENABLED=yes
15374 cat >>confdefs.h <<_ACEOF
15375 #define GST_GCOV_ENABLED 1
15378 if test "x$GST_GCOV_ENABLED" = "xyes"
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
15389 $as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
15392 if test x$enable_gcov = xyes; then
15393 GST_GCOV_ENABLED_TRUE=
15394 GST_GCOV_ENABLED_FALSE='#'
15396 GST_GCOV_ENABLED_TRUE='#'
15397 GST_GCOV_ENABLED_FALSE=
15403 # Check whether --enable-examples was given.
15404 if test "${enable_examples+set}" = set; then :
15405 enableval=$enable_examples;
15406 case "${enableval}" in
15407 yes) BUILD_EXAMPLES=yes ;;
15408 no) BUILD_EXAMPLES=no ;;
15409 *) as_fn_error $? "bad value ${enableval} for --disable-examples" "$LINENO" 5 ;;
15415 if test "x$BUILD_EXAMPLES" = "xyes"; then
15416 BUILD_EXAMPLES_TRUE=
15417 BUILD_EXAMPLES_FALSE='#'
15419 BUILD_EXAMPLES_TRUE='#'
15420 BUILD_EXAMPLES_FALSE=
15427 # Check whether --with-pkg-config-path was given.
15428 if test "${with_pkg_config_path+set}" = set; then :
15429 withval=$with_pkg_config_path;
15430 export PKG_CONFIG_PATH=${withval}
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
15432 $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
15439 # Check whether --with-package-name was given.
15440 if test "${with_package_name+set}" = set; then :
15441 withval=$with_package_name;
15442 case "${withval}" in
15443 yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
15444 no) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
15445 *) GST_PACKAGE_NAME="${withval}" ;;
15451 if test "x$P" = "x"
15456 if test "x$PACKAGE_VERSION_NANO" = "x0"
15458 GST_PACKAGE_NAME="$P source release"
15460 if test "x$PACKAGE_VERSION_NANO" = "x1"
15462 GST_PACKAGE_NAME="$P git"
15464 GST_PACKAGE_NAME="$P prerelease"
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
15472 $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
15474 cat >>confdefs.h <<_ACEOF
15475 #define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
15482 # Check whether --with-package-origin was given.
15483 if test "${with_package_origin+set}" = set; then :
15484 withval=$with_package_origin;
15485 case "${withval}" in
15486 yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
15487 no) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
15488 *) GST_PACKAGE_ORIGIN="${withval}" ;;
15492 GST_PACKAGE_ORIGIN="Unknown package origin"
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
15496 $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
15498 cat >>confdefs.h <<_ACEOF
15499 #define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
15507 # Check whether --with-plugins was given.
15508 if test "${with_plugins+set}" = set; then :
15509 withval=$with_plugins; WITH_PLUGINS=$withval
15516 GST_PLUGINS_SELECTED=""
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of plug-ins with external deps ***" >&5
15525 $as_echo "$as_me: *** checking feature: building of plug-ins with external deps ***" >&6;}
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
15529 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
15532 if test "x$USE_EXTERNAL" = "xno"; then
15535 # Check whether --enable-external was given.
15536 if test "${enable_external+set}" = set; then :
15537 enableval=$enable_external; case "${enableval}" in
15538 yes) USE_EXTERNAL=yes;;
15539 no) USE_EXTERNAL=no;;
15540 *) as_fn_error $? "bad value ${enableval} for --enable-external" "$LINENO" 5 ;;
15546 if test "x$NOUSE" = "xyes"; then
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
15549 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
15554 if test x$USE_EXTERNAL = xyes; then
15556 gst_check_save_LIBS=$LIBS
15557 gst_check_save_LDFLAGS=$LDFLAGS
15558 gst_check_save_CFLAGS=$CFLAGS
15559 gst_check_save_CPPFLAGS=$CPPFLAGS
15560 gst_check_save_CXXFLAGS=$CXXFLAGS
15565 LIBS=$gst_check_save_LIBS
15566 LDFLAGS=$gst_check_save_LDFLAGS
15567 CFLAGS=$gst_check_save_CFLAGS
15568 CPPFLAGS=$gst_check_save_CPPFLAGS
15569 CXXFLAGS=$gst_check_save_CXXFLAGS
15571 if test x$HAVE_EXTERNAL = xno; then
15577 if test x$USE_EXTERNAL = xyes; then
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: building external plug-ins" >&5
15580 $as_echo "$as_me: building external plug-ins" >&6;}
15581 BUILD_EXTERNAL="yes"
15583 if test "x" != "x"; then
15584 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
15587 $as_echo "#define HAVE_EXTERNAL /**/" >>confdefs.h
15591 if test "x" != "x"; then
15592 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: all plug-ins with external dependencies will not be built" >&5
15596 $as_echo "$as_me: WARNING: all plug-ins with external dependencies will not be built" >&2;}
15597 BUILD_EXTERNAL="no"
15600 if test x$USE_EXTERNAL = xyes; then
15602 USE_EXTERNAL_FALSE='#'
15604 USE_EXTERNAL_TRUE='#'
15605 USE_EXTERNAL_FALSE=
15609 # make BUILD_EXTERNAL available to Makefile.am
15610 if test "x$BUILD_EXTERNAL" = "xyes"; then
15611 BUILD_EXTERNAL_TRUE=
15612 BUILD_EXTERNAL_FALSE='#'
15614 BUILD_EXTERNAL_TRUE='#'
15615 BUILD_EXTERNAL_FALSE=
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of experimental plug-ins ***" >&5
15623 $as_echo "$as_me: *** checking feature: building of experimental plug-ins ***" >&6;}
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
15627 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
15630 if test "x$USE_EXPERIMENTAL" = "xno"; then
15633 # Check whether --enable-experimental was given.
15634 if test "${enable_experimental+set}" = set; then :
15635 enableval=$enable_experimental; case "${enableval}" in
15636 yes) USE_EXPERIMENTAL=yes;;
15637 no) USE_EXPERIMENTAL=no;;
15638 *) as_fn_error $? "bad value ${enableval} for --enable-experimental" "$LINENO" 5 ;;
15641 USE_EXPERIMENTAL=no
15644 if test "x$NOUSE" = "xyes"; then
15645 USE_EXPERIMENTAL="no"
15646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
15647 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
15652 if test x$USE_EXPERIMENTAL = xyes; then
15654 gst_check_save_LIBS=$LIBS
15655 gst_check_save_LDFLAGS=$LDFLAGS
15656 gst_check_save_CFLAGS=$CFLAGS
15657 gst_check_save_CPPFLAGS=$CPPFLAGS
15658 gst_check_save_CXXFLAGS=$CXXFLAGS
15660 HAVE_EXPERIMENTAL=no
15661 HAVE_EXPERIMENTAL=yes
15663 LIBS=$gst_check_save_LIBS
15664 LDFLAGS=$gst_check_save_LDFLAGS
15665 CFLAGS=$gst_check_save_CFLAGS
15666 CPPFLAGS=$gst_check_save_CPPFLAGS
15667 CXXFLAGS=$gst_check_save_CXXFLAGS
15669 if test x$HAVE_EXPERIMENTAL = xno; then
15670 USE_EXPERIMENTAL=no
15675 if test x$USE_EXPERIMENTAL = xyes; then
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: building experimental plug-ins" >&5
15678 $as_echo "$as_me: WARNING: building experimental plug-ins" >&2;}
15679 BUILD_EXPERIMENTAL="yes"
15681 if test "x" != "x"; then
15682 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
15685 $as_echo "#define HAVE_EXPERIMENTAL /**/" >>confdefs.h
15689 if test "x" != "x"; then
15690 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: not building experimental plug-ins" >&5
15694 $as_echo "$as_me: not building experimental plug-ins" >&6;}
15695 BUILD_EXPERIMENTAL="no"
15698 if test x$USE_EXPERIMENTAL = xyes; then
15699 USE_EXPERIMENTAL_TRUE=
15700 USE_EXPERIMENTAL_FALSE='#'
15702 USE_EXPERIMENTAL_TRUE='#'
15703 USE_EXPERIMENTAL_FALSE=
15707 # make BUILD_EXPERIMENTAL available to Makefile.am
15708 if test "x$BUILD_EXPERIMENTAL" = "xyes"; then
15709 BUILD_EXPERIMENTAL_TRUE=
15710 BUILD_EXPERIMENTAL_FALSE='#'
15712 BUILD_EXPERIMENTAL_TRUE='#'
15713 BUILD_EXPERIMENTAL_FALSE=
15722 case "x${host_cpu}" in
15723 xi?86 | xk? | xi?86_64)
15726 ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default"
15727 if test "x$ac_cv_have_decl___i386" = xyes; then :
15733 ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
15734 if test "x$ac_cv_have_decl___amd64" = xyes; then :
15741 if test "x$I386_ABI" = "xyes" ; then
15744 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
15747 if test "x$AMD64_ABI" = "xyes" ; then
15748 HAVE_CPU_X86_64=yes
15750 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
15757 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
15760 case "x${host_cpu}" in
15764 $as_echo "#define HAVE_RDTSC 1" >>confdefs.h
15773 $as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h
15778 $as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h
15783 $as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h
15788 $as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h
15793 $as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h
15798 $as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h
15803 $as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h
15808 $as_echo "#define HAVE_CPU_S390 1" >>confdefs.h
15813 $as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h
15818 $as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h
15821 HAVE_CPU_X86_64=yes
15823 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
15828 $as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h
15831 HAVE_CPU_CRISV32=yes
15833 $as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15838 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15839 if ${ac_cv_c_bigendian+:} false; then :
15840 $as_echo_n "(cached) " >&6
15842 ac_cv_c_bigendian=unknown
15843 # See if we're dealing with a universal compiler.
15844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15845 /* end confdefs.h. */
15846 #ifndef __APPLE_CC__
15847 not a universal capable compiler
15852 if ac_fn_c_try_compile "$LINENO"; then :
15854 # Check for potential -arch flags. It is not universal unless
15855 # there are at least two -arch flags with different values.
15858 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15859 if test -n "$ac_prev"; then
15861 i?86 | x86_64 | ppc | ppc64)
15862 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15865 ac_cv_c_bigendian=universal
15871 elif test "x$ac_word" = "x-arch"; then
15876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15877 if test $ac_cv_c_bigendian = unknown; then
15878 # See if sys/param.h defines the BYTE_ORDER macro.
15879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15880 /* end confdefs.h. */
15881 #include <sys/types.h>
15882 #include <sys/param.h>
15887 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15888 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15890 bogus endian macros
15897 if ac_fn_c_try_compile "$LINENO"; then :
15898 # It does; now see whether it defined to BIG_ENDIAN or not.
15899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15901 #include <sys/types.h>
15902 #include <sys/param.h>
15907 #if BYTE_ORDER != BIG_ENDIAN
15915 if ac_fn_c_try_compile "$LINENO"; then :
15916 ac_cv_c_bigendian=yes
15918 ac_cv_c_bigendian=no
15920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15924 if test $ac_cv_c_bigendian = unknown; then
15925 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15927 /* end confdefs.h. */
15928 #include <limits.h>
15933 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15934 bogus endian macros
15941 if ac_fn_c_try_compile "$LINENO"; then :
15942 # It does; now see whether it defined to _BIG_ENDIAN or not.
15943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15944 /* end confdefs.h. */
15945 #include <limits.h>
15950 #ifndef _BIG_ENDIAN
15958 if ac_fn_c_try_compile "$LINENO"; then :
15959 ac_cv_c_bigendian=yes
15961 ac_cv_c_bigendian=no
15963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15967 if test $ac_cv_c_bigendian = unknown; then
15968 # Compile a test program.
15969 if test "$cross_compiling" = yes; then :
15970 # Try to guess by grepping values from an object file.
15971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15972 /* end confdefs.h. */
15973 short int ascii_mm[] =
15974 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15975 short int ascii_ii[] =
15976 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15977 int use_ascii (int i) {
15978 return ascii_mm[i] + ascii_ii[i];
15980 short int ebcdic_ii[] =
15981 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15982 short int ebcdic_mm[] =
15983 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15984 int use_ebcdic (int i) {
15985 return ebcdic_mm[i] + ebcdic_ii[i];
15992 return use_ascii (foo) == use_ebcdic (foo);
15997 if ac_fn_c_try_compile "$LINENO"; then :
15998 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
15999 ac_cv_c_bigendian=yes
16001 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
16002 if test "$ac_cv_c_bigendian" = unknown; then
16003 ac_cv_c_bigendian=no
16005 # finding both strings is unlikely to happen, but who knows?
16006 ac_cv_c_bigendian=unknown
16010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16013 /* end confdefs.h. */
16014 $ac_includes_default
16019 /* Are we little or big endian? From Harbison&Steele. */
16023 char c[sizeof (long int)];
16026 return u.c[sizeof (long int) - 1] == 1;
16032 if ac_fn_c_try_run "$LINENO"; then :
16033 ac_cv_c_bigendian=no
16035 ac_cv_c_bigendian=yes
16037 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16038 conftest.$ac_objext conftest.beam conftest.$ac_ext
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16044 $as_echo "$ac_cv_c_bigendian" >&6; }
16045 case $ac_cv_c_bigendian in #(
16047 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16053 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16057 as_fn_error $? "unknown endianness
16058 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16062 if test "x$HAVE_CPU_I386" = "xyes"; then
16063 HAVE_CPU_I386_TRUE=
16064 HAVE_CPU_I386_FALSE='#'
16066 HAVE_CPU_I386_TRUE='#'
16067 HAVE_CPU_I386_FALSE=
16070 if test "x$HAVE_CPU_PPC" = "xyes"; then
16072 HAVE_CPU_PPC_FALSE='#'
16074 HAVE_CPU_PPC_TRUE='#'
16075 HAVE_CPU_PPC_FALSE=
16078 if test "x$HAVE_CPU_PPC64" = "xyes"; then
16079 HAVE_CPU_PPC64_TRUE=
16080 HAVE_CPU_PPC64_FALSE='#'
16082 HAVE_CPU_PPC64_TRUE='#'
16083 HAVE_CPU_PPC64_FALSE=
16086 if test "x$HAVE_CPU_ALPHA" = "xyes"; then
16087 HAVE_CPU_ALPHA_TRUE=
16088 HAVE_CPU_ALPHA_FALSE='#'
16090 HAVE_CPU_ALPHA_TRUE='#'
16091 HAVE_CPU_ALPHA_FALSE=
16094 if test "x$HAVE_CPU_ARM" = "xyes"; then
16096 HAVE_CPU_ARM_FALSE='#'
16098 HAVE_CPU_ARM_TRUE='#'
16099 HAVE_CPU_ARM_FALSE=
16102 if test "x$HAVE_CPU_SPARC" = "xyes"; then
16103 HAVE_CPU_SPARC_TRUE=
16104 HAVE_CPU_SPARC_FALSE='#'
16106 HAVE_CPU_SPARC_TRUE='#'
16107 HAVE_CPU_SPARC_FALSE=
16110 if test "x$HAVE_CPU_HPPA" = "xyes"; then
16111 HAVE_CPU_HPPA_TRUE=
16112 HAVE_CPU_HPPA_FALSE='#'
16114 HAVE_CPU_HPPA_TRUE='#'
16115 HAVE_CPU_HPPA_FALSE=
16118 if test "x$HAVE_CPU_MIPS" = "xyes"; then
16119 HAVE_CPU_MIPS_TRUE=
16120 HAVE_CPU_MIPS_FALSE='#'
16122 HAVE_CPU_MIPS_TRUE='#'
16123 HAVE_CPU_MIPS_FALSE=
16126 if test "x$HAVE_CPU_S390" = "xyes"; then
16127 HAVE_CPU_S390_TRUE=
16128 HAVE_CPU_S390_FALSE='#'
16130 HAVE_CPU_S390_TRUE='#'
16131 HAVE_CPU_S390_FALSE=
16134 if test "x$HAVE_CPU_IA64" = "xyes"; then
16135 HAVE_CPU_IA64_TRUE=
16136 HAVE_CPU_IA64_FALSE='#'
16138 HAVE_CPU_IA64_TRUE='#'
16139 HAVE_CPU_IA64_FALSE=
16142 if test "x$HAVE_CPU_M68K" = "xyes"; then
16143 HAVE_CPU_M68K_TRUE=
16144 HAVE_CPU_M68K_FALSE='#'
16146 HAVE_CPU_M68K_TRUE='#'
16147 HAVE_CPU_M68K_FALSE=
16150 if test "x$HAVE_CPU_X86_64" = "xyes"; then
16151 HAVE_CPU_X86_64_TRUE=
16152 HAVE_CPU_X86_64_FALSE='#'
16154 HAVE_CPU_X86_64_TRUE='#'
16155 HAVE_CPU_X86_64_FALSE=
16158 if test "x$HAVE_CPU_CRIS" = "xyes"; then
16159 HAVE_CPU_CRIS_TRUE=
16160 HAVE_CPU_CRIS_FALSE='#'
16162 HAVE_CPU_CRIS_TRUE='#'
16163 HAVE_CPU_CRIS_FALSE=
16166 if test "x$HAVE_CPU_CRISV32" = "xyes"; then
16167 HAVE_CPU_CRISV32_TRUE=
16168 HAVE_CPU_CRISV32_FALSE='#'
16170 HAVE_CPU_CRISV32_TRUE='#'
16171 HAVE_CPU_CRISV32_FALSE=
16176 cat >>confdefs.h <<_ACEOF
16177 #define HOST_CPU "$host_cpu"
16182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16183 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16184 if ${ac_cv_c_bigendian+:} false; then :
16185 $as_echo_n "(cached) " >&6
16187 ac_cv_c_bigendian=unknown
16188 # See if we're dealing with a universal compiler.
16189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16190 /* end confdefs.h. */
16191 #ifndef __APPLE_CC__
16192 not a universal capable compiler
16197 if ac_fn_c_try_compile "$LINENO"; then :
16199 # Check for potential -arch flags. It is not universal unless
16200 # there are at least two -arch flags with different values.
16203 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
16204 if test -n "$ac_prev"; then
16206 i?86 | x86_64 | ppc | ppc64)
16207 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
16210 ac_cv_c_bigendian=universal
16216 elif test "x$ac_word" = "x-arch"; then
16221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16222 if test $ac_cv_c_bigendian = unknown; then
16223 # See if sys/param.h defines the BYTE_ORDER macro.
16224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16225 /* end confdefs.h. */
16226 #include <sys/types.h>
16227 #include <sys/param.h>
16232 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16233 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16235 bogus endian macros
16242 if ac_fn_c_try_compile "$LINENO"; then :
16243 # It does; now see whether it defined to BIG_ENDIAN or not.
16244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16245 /* end confdefs.h. */
16246 #include <sys/types.h>
16247 #include <sys/param.h>
16252 #if BYTE_ORDER != BIG_ENDIAN
16260 if ac_fn_c_try_compile "$LINENO"; then :
16261 ac_cv_c_bigendian=yes
16263 ac_cv_c_bigendian=no
16265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16269 if test $ac_cv_c_bigendian = unknown; then
16270 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16272 /* end confdefs.h. */
16273 #include <limits.h>
16278 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16279 bogus endian macros
16286 if ac_fn_c_try_compile "$LINENO"; then :
16287 # It does; now see whether it defined to _BIG_ENDIAN or not.
16288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16289 /* end confdefs.h. */
16290 #include <limits.h>
16295 #ifndef _BIG_ENDIAN
16303 if ac_fn_c_try_compile "$LINENO"; then :
16304 ac_cv_c_bigendian=yes
16306 ac_cv_c_bigendian=no
16308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16312 if test $ac_cv_c_bigendian = unknown; then
16313 # Compile a test program.
16314 if test "$cross_compiling" = yes; then :
16315 # Try to guess by grepping values from an object file.
16316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16317 /* end confdefs.h. */
16318 short int ascii_mm[] =
16319 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16320 short int ascii_ii[] =
16321 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16322 int use_ascii (int i) {
16323 return ascii_mm[i] + ascii_ii[i];
16325 short int ebcdic_ii[] =
16326 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16327 short int ebcdic_mm[] =
16328 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16329 int use_ebcdic (int i) {
16330 return ebcdic_mm[i] + ebcdic_ii[i];
16337 return use_ascii (foo) == use_ebcdic (foo);
16342 if ac_fn_c_try_compile "$LINENO"; then :
16343 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
16344 ac_cv_c_bigendian=yes
16346 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
16347 if test "$ac_cv_c_bigendian" = unknown; then
16348 ac_cv_c_bigendian=no
16350 # finding both strings is unlikely to happen, but who knows?
16351 ac_cv_c_bigendian=unknown
16355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16358 /* end confdefs.h. */
16359 $ac_includes_default
16364 /* Are we little or big endian? From Harbison&Steele. */
16368 char c[sizeof (long int)];
16371 return u.c[sizeof (long int) - 1] == 1;
16377 if ac_fn_c_try_run "$LINENO"; then :
16378 ac_cv_c_bigendian=no
16380 ac_cv_c_bigendian=yes
16382 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16383 conftest.$ac_objext conftest.beam conftest.$ac_ext
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16389 $as_echo "$ac_cv_c_bigendian" >&6; }
16390 case $ac_cv_c_bigendian in #(
16392 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16398 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16402 as_fn_error $? "unknown endianness
16403 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16409 ac_cpp='$CPP $CPPFLAGS'
16410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16413 if test -n "$ac_tool_prefix"; then
16414 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16415 set dummy ${ac_tool_prefix}gcc; 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 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16425 for as_dir in $PATH
16428 test -z "$as_dir" && as_dir=.
16429 for ac_exec_ext in '' $ac_executable_extensions; do
16430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16431 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16442 if test -n "$CC"; then
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16444 $as_echo "$CC" >&6; }
16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16447 $as_echo "no" >&6; }
16452 if test -z "$ac_cv_prog_CC"; then
16454 # Extract the first word of "gcc", so it can be a program name with args.
16455 set dummy gcc; ac_word=$2
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16457 $as_echo_n "checking for $ac_word... " >&6; }
16458 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16459 $as_echo_n "(cached) " >&6
16461 if test -n "$ac_ct_CC"; then
16462 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16465 for as_dir in $PATH
16468 test -z "$as_dir" && as_dir=.
16469 for ac_exec_ext in '' $ac_executable_extensions; do
16470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16471 ac_cv_prog_ac_ct_CC="gcc"
16472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16481 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16482 if test -n "$ac_ct_CC"; then
16483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16484 $as_echo "$ac_ct_CC" >&6; }
16486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16487 $as_echo "no" >&6; }
16490 if test "x$ac_ct_CC" = x; then
16493 case $cross_compiling:$ac_tool_warned in
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16497 ac_tool_warned=yes ;;
16502 CC="$ac_cv_prog_CC"
16505 if test -z "$CC"; then
16506 if test -n "$ac_tool_prefix"; then
16507 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16508 set dummy ${ac_tool_prefix}cc; ac_word=$2
16509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16510 $as_echo_n "checking for $ac_word... " >&6; }
16511 if ${ac_cv_prog_CC+:} false; then :
16512 $as_echo_n "(cached) " >&6
16514 if test -n "$CC"; then
16515 ac_cv_prog_CC="$CC" # Let the user override the test.
16517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16518 for as_dir in $PATH
16521 test -z "$as_dir" && as_dir=.
16522 for ac_exec_ext in '' $ac_executable_extensions; do
16523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16524 ac_cv_prog_CC="${ac_tool_prefix}cc"
16525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16535 if test -n "$CC"; then
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16537 $as_echo "$CC" >&6; }
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16540 $as_echo "no" >&6; }
16546 if test -z "$CC"; then
16547 # Extract the first word of "cc", so it can be a program name with args.
16548 set dummy cc; ac_word=$2
16549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16550 $as_echo_n "checking for $ac_word... " >&6; }
16551 if ${ac_cv_prog_CC+:} false; then :
16552 $as_echo_n "(cached) " >&6
16554 if test -n "$CC"; then
16555 ac_cv_prog_CC="$CC" # Let the user override the test.
16557 ac_prog_rejected=no
16558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16559 for as_dir in $PATH
16562 test -z "$as_dir" && as_dir=.
16563 for ac_exec_ext in '' $ac_executable_extensions; do
16564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16565 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16566 ac_prog_rejected=yes
16570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16577 if test $ac_prog_rejected = yes; then
16578 # We found a bogon in the path, so make sure we never use it.
16579 set dummy $ac_cv_prog_CC
16581 if test $# != 0; then
16582 # We chose a different compiler from the bogus one.
16583 # However, it has the same basename, so the bogon will be chosen
16584 # first if we set CC to just the basename; use the full file name.
16586 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16592 if test -n "$CC"; then
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16594 $as_echo "$CC" >&6; }
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16597 $as_echo "no" >&6; }
16602 if test -z "$CC"; then
16603 if test -n "$ac_tool_prefix"; then
16604 for ac_prog in cl.exe
16606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16607 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16609 $as_echo_n "checking for $ac_word... " >&6; }
16610 if ${ac_cv_prog_CC+:} false; then :
16611 $as_echo_n "(cached) " >&6
16613 if test -n "$CC"; then
16614 ac_cv_prog_CC="$CC" # Let the user override the test.
16616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16617 for as_dir in $PATH
16620 test -z "$as_dir" && as_dir=.
16621 for ac_exec_ext in '' $ac_executable_extensions; do
16622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16623 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16634 if test -n "$CC"; then
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16636 $as_echo "$CC" >&6; }
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16639 $as_echo "no" >&6; }
16643 test -n "$CC" && break
16646 if test -z "$CC"; then
16648 for ac_prog in cl.exe
16650 # Extract the first word of "$ac_prog", so it can be a program name with args.
16651 set dummy $ac_prog; ac_word=$2
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16653 $as_echo_n "checking for $ac_word... " >&6; }
16654 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16655 $as_echo_n "(cached) " >&6
16657 if test -n "$ac_ct_CC"; then
16658 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16661 for as_dir in $PATH
16664 test -z "$as_dir" && as_dir=.
16665 for ac_exec_ext in '' $ac_executable_extensions; do
16666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16667 ac_cv_prog_ac_ct_CC="$ac_prog"
16668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16677 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16678 if test -n "$ac_ct_CC"; then
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16680 $as_echo "$ac_ct_CC" >&6; }
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16683 $as_echo "no" >&6; }
16687 test -n "$ac_ct_CC" && break
16690 if test "x$ac_ct_CC" = x; then
16693 case $cross_compiling:$ac_tool_warned in
16695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16697 ac_tool_warned=yes ;;
16706 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16708 as_fn_error $? "no acceptable C compiler found in \$PATH
16709 See \`config.log' for more details" "$LINENO" 5; }
16711 # Provide some information about the compiler.
16712 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16715 for ac_option in --version -v -V -qversion; do
16716 { { ac_try="$ac_compiler $ac_option >&5"
16717 case "(($ac_try" in
16718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16719 *) ac_try_echo=$ac_try;;
16721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16722 $as_echo "$ac_try_echo"; } >&5
16723 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16725 if test -s conftest.err; then
16727 ... rest of stderr output deleted ...
16728 10q' conftest.err >conftest.er1
16729 cat conftest.er1 >&5
16731 rm -f conftest.er1 conftest.err
16732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16733 test $ac_status = 0; }
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16737 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16738 if ${ac_cv_c_compiler_gnu+:} false; then :
16739 $as_echo_n "(cached) " >&6
16741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16742 /* end confdefs.h. */
16755 if ac_fn_c_try_compile "$LINENO"; then :
16756 ac_compiler_gnu=yes
16760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16761 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16765 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16766 if test $ac_compiler_gnu = yes; then
16771 ac_test_CFLAGS=${CFLAGS+set}
16772 ac_save_CFLAGS=$CFLAGS
16773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16774 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16775 if ${ac_cv_prog_cc_g+:} false; then :
16776 $as_echo_n "(cached) " >&6
16778 ac_save_c_werror_flag=$ac_c_werror_flag
16779 ac_c_werror_flag=yes
16782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16783 /* end confdefs.h. */
16793 if ac_fn_c_try_compile "$LINENO"; then :
16794 ac_cv_prog_cc_g=yes
16797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16798 /* end confdefs.h. */
16808 if ac_fn_c_try_compile "$LINENO"; then :
16811 ac_c_werror_flag=$ac_save_c_werror_flag
16813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16814 /* end confdefs.h. */
16824 if ac_fn_c_try_compile "$LINENO"; then :
16825 ac_cv_prog_cc_g=yes
16827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16832 ac_c_werror_flag=$ac_save_c_werror_flag
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16835 $as_echo "$ac_cv_prog_cc_g" >&6; }
16836 if test "$ac_test_CFLAGS" = set; then
16837 CFLAGS=$ac_save_CFLAGS
16838 elif test $ac_cv_prog_cc_g = yes; then
16839 if test "$GCC" = yes; then
16845 if test "$GCC" = yes; then
16851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16852 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16853 if ${ac_cv_prog_cc_c89+:} false; then :
16854 $as_echo_n "(cached) " >&6
16856 ac_cv_prog_cc_c89=no
16858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16859 /* end confdefs.h. */
16860 #include <stdarg.h>
16862 #include <sys/types.h>
16863 #include <sys/stat.h>
16864 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16865 struct buf { int x; };
16866 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16867 static char *e (p, i)
16873 static char *f (char * (*g) (char **, int), char **p, ...)
16878 s = g (p, va_arg (v,int));
16883 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16884 function prototypes and stuff, but not '\xHH' hex character constants.
16885 These don't provoke an error unfortunately, instead are silently treated
16886 as 'x'. The following induces an error, until -std is added to get
16887 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16888 array size at least. It's necessary to write '\x00'==0 to get something
16889 that's true only with -std. */
16890 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16892 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16893 inside strings and character constants. */
16895 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16897 int test (int i, double x);
16898 struct s1 {int (*f) (int a);};
16899 struct s2 {int (*f) (double a);};
16900 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16906 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16911 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16912 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16914 CC="$ac_save_CC $ac_arg"
16915 if ac_fn_c_try_compile "$LINENO"; then :
16916 ac_cv_prog_cc_c89=$ac_arg
16918 rm -f core conftest.err conftest.$ac_objext
16919 test "x$ac_cv_prog_cc_c89" != "xno" && break
16921 rm -f conftest.$ac_ext
16926 case "x$ac_cv_prog_cc_c89" in
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16929 $as_echo "none needed" >&6; } ;;
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16932 $as_echo "unsupported" >&6; } ;;
16934 CC="$CC $ac_cv_prog_cc_c89"
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16936 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16938 if test "x$ac_cv_prog_cc_c89" != xno; then :
16943 ac_cpp='$CPP $CPPFLAGS'
16944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16948 depcc="$CC" am_compiler_list=
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16951 $as_echo_n "checking dependency style of $depcc... " >&6; }
16952 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
16953 $as_echo_n "(cached) " >&6
16955 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16956 # We make a subdir and do the tests there. Otherwise we can end up
16957 # making bogus files that we don't know about and never remove. For
16958 # instance it was reported that on HP-UX the gcc test will end up
16959 # making a dummy file named `D' -- because `-MD' means `put the output
16961 rm -rf conftest.dir
16963 # Copy depcomp to subdir because otherwise we won't find it if we're
16964 # using a relative directory.
16965 cp "$am_depcomp" conftest.dir
16967 # We will build objects and dependencies in a subdirectory because
16968 # it helps to detect inapplicable dependency modes. For instance
16969 # both Tru64's cc and ICC support -MD to output dependencies as a
16970 # side effect of compilation, but ICC will put the dependencies in
16971 # the current directory while Tru64 will put them in the object
16975 am_cv_CC_dependencies_compiler_type=none
16976 if test "$am_compiler_list" = ""; then
16977 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16979 am__universal=false
16980 case " $depcc " in #(
16981 *\ -arch\ *\ -arch\ *) am__universal=true ;;
16984 for depmode in $am_compiler_list; do
16985 # Setup a source with many dependencies, because some compilers
16986 # like to wrap large dependency lists on column 80 (with \), and
16987 # we should not choose a depcomp mode which is confused by this.
16989 # We need to recreate these files for each test, as the compiler may
16990 # overwrite some of them when testing with obscure command lines.
16991 # This happens at least with the AIX C compiler.
16993 for i in 1 2 3 4 5 6; do
16994 echo '#include "conftst'$i'.h"' >> sub/conftest.c
16995 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16996 # Solaris 8's {/usr,}/bin/sh.
16997 touch sub/conftst$i.h
16999 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17001 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17002 # mode. It turns out that the SunPro C++ compiler does not properly
17003 # handle `-M -o', and we need to detect this. Also, some Intel
17004 # versions had trouble with output in subdirs
17005 am__obj=sub/conftest.${OBJEXT-o}
17006 am__minus_obj="-o $am__obj"
17009 # This depmode causes a compiler race in universal mode.
17010 test "$am__universal" = false || continue
17013 # after this tag, mechanisms are not by side-effect, so they'll
17014 # only be used when explicitly requested
17015 if test "x$enable_dependency_tracking" = xyes; then
17021 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17022 # This compiler won't grok `-c -o', but also, the minuso test has
17023 # not run yet. These depmodes are late enough in the game, and
17024 # so weak that their functioning should not be impacted.
17025 am__obj=conftest.${OBJEXT-o}
17030 if depmode=$depmode \
17031 source=sub/conftest.c object=$am__obj \
17032 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17033 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17034 >/dev/null 2>conftest.err &&
17035 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17036 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17037 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17038 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17039 # icc doesn't choke on unknown options, it will just issue warnings
17040 # or remarks (even with -Werror). So we grep stderr for any message
17041 # that says an option was ignored or not supported.
17042 # When given -MP, icc 7.0 and 7.1 complain thusly:
17043 # icc: Command line warning: ignoring option '-M'; no argument required
17044 # The diagnosis changed in icc 8.0:
17045 # icc: Command line remark: option '-MP' not supported
17046 if (grep 'ignoring option' conftest.err ||
17047 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17048 am_cv_CC_dependencies_compiler_type=$depmode
17055 rm -rf conftest.dir
17057 am_cv_CC_dependencies_compiler_type=none
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
17062 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
17063 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
17066 test "x$enable_dependency_tracking" != xno \
17067 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
17068 am__fastdepCC_TRUE=
17069 am__fastdepCC_FALSE='#'
17071 am__fastdepCC_TRUE='#'
17072 am__fastdepCC_FALSE=
17076 case $ac_cv_prog_cc_stdc in #(
17078 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
17080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
17081 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
17082 if ${ac_cv_prog_cc_c99+:} false; then :
17083 $as_echo_n "(cached) " >&6
17085 ac_cv_prog_cc_c99=no
17087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17088 /* end confdefs.h. */
17089 #include <stdarg.h>
17090 #include <stdbool.h>
17091 #include <stdlib.h>
17095 // Check varargs macros. These examples are taken from C99 6.10.3.5.
17096 #define debug(...) fprintf (stderr, __VA_ARGS__)
17097 #define showlist(...) puts (#__VA_ARGS__)
17098 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
17100 test_varargs_macros (void)
17105 debug ("X = %d\n", x);
17106 showlist (The first, second, and third items.);
17107 report (x>y, "x is %d but y is %d", x, y);
17110 // Check long long types.
17111 #define BIG64 18446744073709551615ull
17112 #define BIG32 4294967295ul
17113 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
17115 your preprocessor is broken;
17119 your preprocessor is broken;
17121 static long long int bignum = -9223372036854775807LL;
17122 static unsigned long long int ubignum = BIG64;
17124 struct incomplete_array
17130 struct named_init {
17132 const wchar_t *name;
17136 typedef const char *ccp;
17139 test_restrict (ccp restrict text)
17141 // See if C++-style comments work.
17142 // Iterate through items via the restricted pointer.
17143 // Also check for declarations in for loops.
17144 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
17149 // Check varargs and va_copy.
17151 test_varargs (const char *format, ...)
17154 va_start (args, format);
17156 va_copy (args_copy, args);
17166 case 's': // string
17167 str = va_arg (args_copy, const char *);
17170 number = va_arg (args_copy, int);
17173 fnumber = va_arg (args_copy, double);
17179 va_end (args_copy);
17188 _Bool success = false;
17191 if (test_restrict ("String literal") == 0)
17193 char *restrict newvar = "Another string";
17196 test_varargs ("s, d' f .", "string", 65, 34.234);
17197 test_varargs_macros ();
17199 // Check flexible array members.
17200 struct incomplete_array *ia =
17201 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
17203 for (int i = 0; i < ia->datasize; ++i)
17204 ia->data[i] = i * 1.234;
17206 // Check named initializers.
17207 struct named_init ni = {
17209 .name = L"Test wide string",
17210 .average = 543.34343,
17215 int dynamic_array[ni.number];
17216 dynamic_array[ni.number - 1] = 543;
17218 // work around unused variable warnings
17219 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
17220 || dynamic_array[ni.number - 1] != 543);
17226 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
17228 CC="$ac_save_CC $ac_arg"
17229 if ac_fn_c_try_compile "$LINENO"; then :
17230 ac_cv_prog_cc_c99=$ac_arg
17232 rm -f core conftest.err conftest.$ac_objext
17233 test "x$ac_cv_prog_cc_c99" != "xno" && break
17235 rm -f conftest.$ac_ext
17240 case "x$ac_cv_prog_cc_c99" in
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17243 $as_echo "none needed" >&6; } ;;
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17246 $as_echo "unsupported" >&6; } ;;
17248 CC="$CC $ac_cv_prog_cc_c99"
17249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
17250 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
17252 if test "x$ac_cv_prog_cc_c99" != xno; then :
17253 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17256 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17257 if ${ac_cv_prog_cc_c89+:} false; then :
17258 $as_echo_n "(cached) " >&6
17260 ac_cv_prog_cc_c89=no
17262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17263 /* end confdefs.h. */
17264 #include <stdarg.h>
17266 #include <sys/types.h>
17267 #include <sys/stat.h>
17268 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17269 struct buf { int x; };
17270 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17271 static char *e (p, i)
17277 static char *f (char * (*g) (char **, int), char **p, ...)
17282 s = g (p, va_arg (v,int));
17287 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17288 function prototypes and stuff, but not '\xHH' hex character constants.
17289 These don't provoke an error unfortunately, instead are silently treated
17290 as 'x'. The following induces an error, until -std is added to get
17291 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17292 array size at least. It's necessary to write '\x00'==0 to get something
17293 that's true only with -std. */
17294 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17296 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17297 inside strings and character constants. */
17299 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17301 int test (int i, double x);
17302 struct s1 {int (*f) (int a);};
17303 struct s2 {int (*f) (double a);};
17304 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17310 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17315 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17316 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17318 CC="$ac_save_CC $ac_arg"
17319 if ac_fn_c_try_compile "$LINENO"; then :
17320 ac_cv_prog_cc_c89=$ac_arg
17322 rm -f core conftest.err conftest.$ac_objext
17323 test "x$ac_cv_prog_cc_c89" != "xno" && break
17325 rm -f conftest.$ac_ext
17330 case "x$ac_cv_prog_cc_c89" in
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17333 $as_echo "none needed" >&6; } ;;
17335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17336 $as_echo "unsupported" >&6; } ;;
17338 CC="$CC $ac_cv_prog_cc_c89"
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17340 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17342 if test "x$ac_cv_prog_cc_c89" != xno; then :
17343 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
17345 ac_cv_prog_cc_stdc=no
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
17352 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
17353 if ${ac_cv_prog_cc_stdc+:} false; then :
17354 $as_echo_n "(cached) " >&6
17357 case $ac_cv_prog_cc_stdc in #(
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17360 $as_echo "unsupported" >&6; } ;; #(
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17363 $as_echo "none needed" >&6; } ;; #(
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
17366 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
17371 ac_cpp='$CXXCPP $CPPFLAGS'
17372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17375 if test -z "$CXX"; then
17376 if test -n "$CCC"; then
17379 if test -n "$ac_tool_prefix"; then
17380 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17382 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17383 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17385 $as_echo_n "checking for $ac_word... " >&6; }
17386 if ${ac_cv_prog_CXX+:} false; then :
17387 $as_echo_n "(cached) " >&6
17389 if test -n "$CXX"; then
17390 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17393 for as_dir in $PATH
17396 test -z "$as_dir" && as_dir=.
17397 for ac_exec_ext in '' $ac_executable_extensions; do
17398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17399 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17409 CXX=$ac_cv_prog_CXX
17410 if test -n "$CXX"; then
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
17412 $as_echo "$CXX" >&6; }
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17415 $as_echo "no" >&6; }
17419 test -n "$CXX" && break
17422 if test -z "$CXX"; then
17424 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17426 # Extract the first word of "$ac_prog", so it can be a program name with args.
17427 set dummy $ac_prog; ac_word=$2
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17429 $as_echo_n "checking for $ac_word... " >&6; }
17430 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
17431 $as_echo_n "(cached) " >&6
17433 if test -n "$ac_ct_CXX"; then
17434 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17437 for as_dir in $PATH
17440 test -z "$as_dir" && as_dir=.
17441 for ac_exec_ext in '' $ac_executable_extensions; do
17442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17443 ac_cv_prog_ac_ct_CXX="$ac_prog"
17444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17453 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17454 if test -n "$ac_ct_CXX"; then
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
17456 $as_echo "$ac_ct_CXX" >&6; }
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17459 $as_echo "no" >&6; }
17463 test -n "$ac_ct_CXX" && break
17466 if test "x$ac_ct_CXX" = x; then
17469 case $cross_compiling:$ac_tool_warned in
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17472 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17473 ac_tool_warned=yes ;;
17481 # Provide some information about the compiler.
17482 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
17485 for ac_option in --version -v -V -qversion; do
17486 { { ac_try="$ac_compiler $ac_option >&5"
17487 case "(($ac_try" in
17488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17489 *) ac_try_echo=$ac_try;;
17491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17492 $as_echo "$ac_try_echo"; } >&5
17493 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17495 if test -s conftest.err; then
17497 ... rest of stderr output deleted ...
17498 10q' conftest.err >conftest.er1
17499 cat conftest.er1 >&5
17501 rm -f conftest.er1 conftest.err
17502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17503 test $ac_status = 0; }
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
17507 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
17508 if ${ac_cv_cxx_compiler_gnu+:} false; then :
17509 $as_echo_n "(cached) " >&6
17511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17512 /* end confdefs.h. */
17525 if ac_fn_cxx_try_compile "$LINENO"; then :
17526 ac_compiler_gnu=yes
17530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17531 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
17535 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
17536 if test $ac_compiler_gnu = yes; then
17541 ac_test_CXXFLAGS=${CXXFLAGS+set}
17542 ac_save_CXXFLAGS=$CXXFLAGS
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
17544 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
17545 if ${ac_cv_prog_cxx_g+:} false; then :
17546 $as_echo_n "(cached) " >&6
17548 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17549 ac_cxx_werror_flag=yes
17550 ac_cv_prog_cxx_g=no
17552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17553 /* end confdefs.h. */
17563 if ac_fn_cxx_try_compile "$LINENO"; then :
17564 ac_cv_prog_cxx_g=yes
17567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17568 /* end confdefs.h. */
17578 if ac_fn_cxx_try_compile "$LINENO"; then :
17581 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17594 if ac_fn_cxx_try_compile "$LINENO"; then :
17595 ac_cv_prog_cxx_g=yes
17597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17602 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
17605 $as_echo "$ac_cv_prog_cxx_g" >&6; }
17606 if test "$ac_test_CXXFLAGS" = set; then
17607 CXXFLAGS=$ac_save_CXXFLAGS
17608 elif test $ac_cv_prog_cxx_g = yes; then
17609 if test "$GXX" = yes; then
17615 if test "$GXX" = yes; then
17622 ac_cpp='$CPP $CPPFLAGS'
17623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17627 depcc="$CXX" am_compiler_list=
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17630 $as_echo_n "checking dependency style of $depcc... " >&6; }
17631 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
17632 $as_echo_n "(cached) " >&6
17634 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17635 # We make a subdir and do the tests there. Otherwise we can end up
17636 # making bogus files that we don't know about and never remove. For
17637 # instance it was reported that on HP-UX the gcc test will end up
17638 # making a dummy file named `D' -- because `-MD' means `put the output
17640 rm -rf conftest.dir
17642 # Copy depcomp to subdir because otherwise we won't find it if we're
17643 # using a relative directory.
17644 cp "$am_depcomp" conftest.dir
17646 # We will build objects and dependencies in a subdirectory because
17647 # it helps to detect inapplicable dependency modes. For instance
17648 # both Tru64's cc and ICC support -MD to output dependencies as a
17649 # side effect of compilation, but ICC will put the dependencies in
17650 # the current directory while Tru64 will put them in the object
17654 am_cv_CXX_dependencies_compiler_type=none
17655 if test "$am_compiler_list" = ""; then
17656 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17658 am__universal=false
17659 case " $depcc " in #(
17660 *\ -arch\ *\ -arch\ *) am__universal=true ;;
17663 for depmode in $am_compiler_list; do
17664 # Setup a source with many dependencies, because some compilers
17665 # like to wrap large dependency lists on column 80 (with \), and
17666 # we should not choose a depcomp mode which is confused by this.
17668 # We need to recreate these files for each test, as the compiler may
17669 # overwrite some of them when testing with obscure command lines.
17670 # This happens at least with the AIX C compiler.
17672 for i in 1 2 3 4 5 6; do
17673 echo '#include "conftst'$i'.h"' >> sub/conftest.c
17674 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17675 # Solaris 8's {/usr,}/bin/sh.
17676 touch sub/conftst$i.h
17678 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17680 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17681 # mode. It turns out that the SunPro C++ compiler does not properly
17682 # handle `-M -o', and we need to detect this. Also, some Intel
17683 # versions had trouble with output in subdirs
17684 am__obj=sub/conftest.${OBJEXT-o}
17685 am__minus_obj="-o $am__obj"
17688 # This depmode causes a compiler race in universal mode.
17689 test "$am__universal" = false || continue
17692 # after this tag, mechanisms are not by side-effect, so they'll
17693 # only be used when explicitly requested
17694 if test "x$enable_dependency_tracking" = xyes; then
17700 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17701 # This compiler won't grok `-c -o', but also, the minuso test has
17702 # not run yet. These depmodes are late enough in the game, and
17703 # so weak that their functioning should not be impacted.
17704 am__obj=conftest.${OBJEXT-o}
17709 if depmode=$depmode \
17710 source=sub/conftest.c object=$am__obj \
17711 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17712 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17713 >/dev/null 2>conftest.err &&
17714 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17715 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17716 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17717 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17718 # icc doesn't choke on unknown options, it will just issue warnings
17719 # or remarks (even with -Werror). So we grep stderr for any message
17720 # that says an option was ignored or not supported.
17721 # When given -MP, icc 7.0 and 7.1 complain thusly:
17722 # icc: Command line warning: ignoring option '-M'; no argument required
17723 # The diagnosis changed in icc 8.0:
17724 # icc: Command line remark: option '-MP' not supported
17725 if (grep 'ignoring option' conftest.err ||
17726 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17727 am_cv_CXX_dependencies_compiler_type=$depmode
17734 rm -rf conftest.dir
17736 am_cv_CXX_dependencies_compiler_type=none
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
17741 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
17742 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
17745 test "x$enable_dependency_tracking" != xno \
17746 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
17747 am__fastdepCXX_TRUE=
17748 am__fastdepCXX_FALSE='#'
17750 am__fastdepCXX_TRUE='#'
17751 am__fastdepCXX_FALSE=
17757 func_stripname_cnf ()
17760 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17761 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17763 } # func_stripname_cnf
17765 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
17766 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
17767 (test "X$CXX" != "Xg++"))) ; then
17769 ac_cpp='$CXXCPP $CPPFLAGS'
17770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
17774 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
17775 if test -z "$CXXCPP"; then
17776 if ${ac_cv_prog_CXXCPP+:} false; then :
17777 $as_echo_n "(cached) " >&6
17779 # Double quotes because CXXCPP needs to be expanded
17780 for CXXCPP in "$CXX -E" "/lib/cpp"
17782 ac_preproc_ok=false
17783 for ac_cxx_preproc_warn_flag in '' yes
17785 # Use a header file that comes with gcc, so configuring glibc
17786 # with a fresh cross-compiler works.
17787 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17788 # <limits.h> exists even on freestanding compilers.
17789 # On the NeXT, cc -E runs the code through the compiler's parser,
17790 # not just through cpp. "Syntax error" is here to catch this case.
17791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17792 /* end confdefs.h. */
17794 # include <limits.h>
17796 # include <assert.h>
17800 if ac_fn_cxx_try_cpp "$LINENO"; then :
17803 # Broken: fails on valid input.
17806 rm -f conftest.err conftest.i conftest.$ac_ext
17808 # OK, works on sane cases. Now check whether nonexistent headers
17809 # can be detected and how.
17810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17811 /* end confdefs.h. */
17812 #include <ac_nonexistent.h>
17814 if ac_fn_cxx_try_cpp "$LINENO"; then :
17815 # Broken: success on invalid input.
17818 # Passes both tests.
17822 rm -f conftest.err conftest.i conftest.$ac_ext
17825 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17826 rm -f conftest.i conftest.err conftest.$ac_ext
17827 if $ac_preproc_ok; then :
17832 ac_cv_prog_CXXCPP=$CXXCPP
17835 CXXCPP=$ac_cv_prog_CXXCPP
17837 ac_cv_prog_CXXCPP=$CXXCPP
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
17840 $as_echo "$CXXCPP" >&6; }
17841 ac_preproc_ok=false
17842 for ac_cxx_preproc_warn_flag in '' yes
17844 # Use a header file that comes with gcc, so configuring glibc
17845 # with a fresh cross-compiler works.
17846 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17847 # <limits.h> exists even on freestanding compilers.
17848 # On the NeXT, cc -E runs the code through the compiler's parser,
17849 # not just through cpp. "Syntax error" is here to catch this case.
17850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h. */
17853 # include <limits.h>
17855 # include <assert.h>
17859 if ac_fn_cxx_try_cpp "$LINENO"; then :
17862 # Broken: fails on valid input.
17865 rm -f conftest.err conftest.i conftest.$ac_ext
17867 # OK, works on sane cases. Now check whether nonexistent headers
17868 # can be detected and how.
17869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17870 /* end confdefs.h. */
17871 #include <ac_nonexistent.h>
17873 if ac_fn_cxx_try_cpp "$LINENO"; then :
17874 # Broken: success on invalid input.
17877 # Passes both tests.
17881 rm -f conftest.err conftest.i conftest.$ac_ext
17884 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17885 rm -f conftest.i conftest.err conftest.$ac_ext
17886 if $ac_preproc_ok; then :
17889 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17890 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17891 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
17892 See \`config.log' for more details" "$LINENO" 5; }
17896 ac_cpp='$CPP $CPPFLAGS'
17897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17902 _lt_caught_CXX_error=yes
17906 ac_cpp='$CXXCPP $CPPFLAGS'
17907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17911 archive_cmds_need_lc_CXX=no
17912 allow_undefined_flag_CXX=
17913 always_export_symbols_CXX=no
17914 archive_expsym_cmds_CXX=
17915 compiler_needs_object_CXX=no
17916 export_dynamic_flag_spec_CXX=
17917 hardcode_direct_CXX=no
17918 hardcode_direct_absolute_CXX=no
17919 hardcode_libdir_flag_spec_CXX=
17920 hardcode_libdir_separator_CXX=
17921 hardcode_minus_L_CXX=no
17922 hardcode_shlibpath_var_CXX=unsupported
17923 hardcode_automatic_CXX=no
17924 inherit_rpath_CXX=no
17926 module_expsym_cmds_CXX=
17927 link_all_deplibs_CXX=unknown
17928 old_archive_cmds_CXX=$old_archive_cmds
17929 reload_flag_CXX=$reload_flag
17930 reload_cmds_CXX=$reload_cmds
17931 no_undefined_flag_CXX=
17932 whole_archive_flag_spec_CXX=
17933 enable_shared_with_static_runtimes_CXX=no
17935 # Source file extension for C++ test sources.
17938 # Object file extension for compiled C++ test sources.
17942 # No sense in running all these tests if we already determined that
17943 # the CXX compiler isn't working. Some variables (like enable_shared)
17944 # are currently assumed to apply to all compilers on this platform,
17945 # and will be corrupted by setting them based on a non-working compiler.
17946 if test "$_lt_caught_CXX_error" != yes; then
17947 # Code to be used in simple compile tests
17948 lt_simple_compile_test_code="int some_variable = 0;"
17950 # Code to be used in simple link tests
17951 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
17953 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17960 # If no C compiler was specified, use CC.
17963 # If no C compiler flags were specified, use CFLAGS.
17964 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17966 # Allow CC to be a program name with arguments.
17970 # save warnings/boilerplate of simple test code
17971 ac_outfile=conftest.$ac_objext
17972 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17973 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17974 _lt_compiler_boilerplate=`cat conftest.err`
17977 ac_outfile=conftest.$ac_objext
17978 echo "$lt_simple_link_test_code" >conftest.$ac_ext
17979 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17980 _lt_linker_boilerplate=`cat conftest.err`
17984 # Allow CC to be a program name with arguments.
17986 lt_save_CFLAGS=$CFLAGS
17990 lt_save_with_gnu_ld=$with_gnu_ld
17991 lt_save_path_LD=$lt_cv_path_LD
17992 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
17993 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
17995 $as_unset lt_cv_prog_gnu_ld
17997 if test -n "${lt_cv_path_LDCXX+set}"; then
17998 lt_cv_path_LD=$lt_cv_path_LDCXX
18000 $as_unset lt_cv_path_LD
18002 test -z "${LDCXX+set}" || LD=$LDCXX
18007 for cc_temp in $compiler""; do
18009 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18010 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18015 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18018 if test -n "$compiler"; then
18019 # We don't want -fno-exception when compiling C++ code, so set the
18020 # no_builtin_flag separately
18021 if test "$GXX" = yes; then
18022 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18024 lt_prog_compiler_no_builtin_flag_CXX=
18027 if test "$GXX" = yes; then
18028 # Set up default GNU C++ configuration
18032 # Check whether --with-gnu-ld was given.
18033 if test "${with_gnu_ld+set}" = set; then :
18034 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18040 if test "$GCC" = yes; then
18041 # Check if gcc -print-prog-name=ld gives a path.
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
18043 $as_echo_n "checking for ld used by $CC... " >&6; }
18046 # gcc leaves a trailing carriage return which upsets mingw
18047 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18049 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18052 # Accept absolute paths.
18054 re_direlt='/[^/][^/]*/\.\./'
18055 # Canonicalize the pathname of ld
18056 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18057 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18058 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18060 test -z "$LD" && LD="$ac_prog"
18063 # If it fails, then pretend we aren't using GCC.
18067 # If it is relative, then search for the first ld in PATH.
18068 with_gnu_ld=unknown
18071 elif test "$with_gnu_ld" = yes; then
18072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
18073 $as_echo_n "checking for GNU ld... " >&6; }
18075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
18076 $as_echo_n "checking for non-GNU ld... " >&6; }
18078 if ${lt_cv_path_LD+:} false; then :
18079 $as_echo_n "(cached) " >&6
18081 if test -z "$LD"; then
18082 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18083 for ac_dir in $PATH; do
18085 test -z "$ac_dir" && ac_dir=.
18086 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18087 lt_cv_path_LD="$ac_dir/$ac_prog"
18088 # Check to see if the program is GNU ld. I'd rather use --version,
18089 # but apparently some variants of GNU ld only accept -v.
18090 # Break only if it was the GNU/non-GNU ld that we prefer.
18091 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18092 *GNU* | *'with BFD'*)
18093 test "$with_gnu_ld" != no && break
18096 test "$with_gnu_ld" != yes && break
18103 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18107 LD="$lt_cv_path_LD"
18108 if test -n "$LD"; then
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
18110 $as_echo "$LD" >&6; }
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18113 $as_echo "no" >&6; }
18115 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
18117 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18118 if ${lt_cv_prog_gnu_ld+:} false; then :
18119 $as_echo_n "(cached) " >&6
18121 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18122 case `$LD -v 2>&1 </dev/null` in
18123 *GNU* | *'with BFD'*)
18124 lt_cv_prog_gnu_ld=yes
18127 lt_cv_prog_gnu_ld=no
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
18132 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
18133 with_gnu_ld=$lt_cv_prog_gnu_ld
18141 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18142 # archiving commands below assume that GNU ld is being used.
18143 if test "$with_gnu_ld" = yes; then
18144 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18145 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'
18147 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18148 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18150 # If archive_cmds runs LD, not CC, wlarc should be empty
18151 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18152 # investigate it a little bit more. (MM)
18155 # ancient GNU ld didn't support --whole-archive et. al.
18156 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
18157 $GREP 'no-whole-archive' > /dev/null; then
18158 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18160 whole_archive_flag_spec_CXX=
18166 # A generic and very simple default shared library creation
18167 # command for GNU C++ for the case where it uses the native
18168 # linker, instead of GNU ld. If possible, this setting should
18169 # overridden to take advantage of the native linker features on
18170 # the platform it is being used on.
18171 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18174 # Commands to make compiler produce verbose output that lists
18175 # what "hidden" libraries, object files and flags are used when
18176 # linking a shared library.
18177 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
18185 # PORTME: fill in a description of your system's C++ link characteristics
18186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18187 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18191 # FIXME: insert proper C++ library support
18195 if test "$host_cpu" = ia64; then
18196 # On IA64, the linker does run time linking by default, so we don't
18197 # have to do anything special.
18198 aix_use_runtimelinking=no
18199 exp_sym_flag='-Bexport'
18202 aix_use_runtimelinking=no
18204 # Test if we are trying to use run time linking or normal
18205 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18206 # need to do runtime linking.
18207 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18208 for ld_flag in $LDFLAGS; do
18211 aix_use_runtimelinking=yes
18219 exp_sym_flag='-bexport'
18220 no_entry_flag='-bnoentry'
18223 # When large executables or shared objects are built, AIX ld can
18224 # have problems creating the table of contents. If linking a library
18225 # or program results in "error TOC overflow" add -mminimal-toc to
18226 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18227 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18229 archive_cmds_CXX=''
18230 hardcode_direct_CXX=yes
18231 hardcode_direct_absolute_CXX=yes
18232 hardcode_libdir_separator_CXX=':'
18233 link_all_deplibs_CXX=yes
18234 file_list_spec_CXX='${wl}-f,'
18236 if test "$GXX" = yes; then
18237 case $host_os in aix4.[012]|aix4.[012].*)
18238 # We only want to do this on AIX 4.2 and lower, the check
18239 # below for broken collect2 doesn't work under 4.3+
18240 collect2name=`${CC} -print-prog-name=collect2`
18241 if test -f "$collect2name" &&
18242 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
18244 # We have reworked collect2
18247 # We have old collect2
18248 hardcode_direct_CXX=unsupported
18249 # It fails to find uninstalled libraries when the uninstalled
18250 # path is not listed in the libpath. Setting hardcode_minus_L
18251 # to unsupported forces relinking
18252 hardcode_minus_L_CXX=yes
18253 hardcode_libdir_flag_spec_CXX='-L$libdir'
18254 hardcode_libdir_separator_CXX=
18257 shared_flag='-shared'
18258 if test "$aix_use_runtimelinking" = yes; then
18259 shared_flag="$shared_flag "'${wl}-G'
18263 if test "$host_cpu" = ia64; then
18264 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18265 # chokes on -Wl,-G. The following line is correct:
18268 if test "$aix_use_runtimelinking" = yes; then
18269 shared_flag='${wl}-G'
18271 shared_flag='${wl}-bM:SRE'
18276 export_dynamic_flag_spec_CXX='${wl}-bexpall'
18277 # It seems that -bexpall does not export symbols beginning with
18278 # underscore (_), so it is better to generate a list of symbols to
18280 always_export_symbols_CXX=yes
18281 if test "$aix_use_runtimelinking" = yes; then
18282 # Warning - without using the other runtime loading flags (-brtl),
18283 # -berok will link without error, but may produce a broken library.
18284 allow_undefined_flag_CXX='-berok'
18285 # Determine the default libpath from the value encoded in an empty
18287 if test "${lt_cv_aix_libpath+set}" = set; then
18288 aix_libpath=$lt_cv_aix_libpath
18290 if ${lt_cv_aix_libpath__CXX+:} false; then :
18291 $as_echo_n "(cached) " >&6
18293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18294 /* end confdefs.h. */
18304 if ac_fn_cxx_try_link "$LINENO"; then :
18306 lt_aix_libpath_sed='
18307 /Import File Strings/,/^$/ {
18309 s/^0 *\([^ ]*\) *$/\1/
18313 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18314 # Check for a 64-bit object if we didn't find anything.
18315 if test -z "$lt_cv_aix_libpath__CXX"; then
18316 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18319 rm -f core conftest.err conftest.$ac_objext \
18320 conftest$ac_exeext conftest.$ac_ext
18321 if test -z "$lt_cv_aix_libpath__CXX"; then
18322 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
18327 aix_libpath=$lt_cv_aix_libpath__CXX
18330 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18332 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"
18334 if test "$host_cpu" = ia64; then
18335 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
18336 allow_undefined_flag_CXX="-z nodefs"
18337 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"
18339 # Determine the default libpath from the value encoded in an
18340 # empty executable.
18341 if test "${lt_cv_aix_libpath+set}" = set; then
18342 aix_libpath=$lt_cv_aix_libpath
18344 if ${lt_cv_aix_libpath__CXX+:} false; then :
18345 $as_echo_n "(cached) " >&6
18347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h. */
18358 if ac_fn_cxx_try_link "$LINENO"; then :
18360 lt_aix_libpath_sed='
18361 /Import File Strings/,/^$/ {
18363 s/^0 *\([^ ]*\) *$/\1/
18367 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18368 # Check for a 64-bit object if we didn't find anything.
18369 if test -z "$lt_cv_aix_libpath__CXX"; then
18370 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
18373 rm -f core conftest.err conftest.$ac_objext \
18374 conftest$ac_exeext conftest.$ac_ext
18375 if test -z "$lt_cv_aix_libpath__CXX"; then
18376 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
18381 aix_libpath=$lt_cv_aix_libpath__CXX
18384 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18385 # Warning - without using the other run time loading flags,
18386 # -berok will link without error, but may produce a broken library.
18387 no_undefined_flag_CXX=' ${wl}-bernotok'
18388 allow_undefined_flag_CXX=' ${wl}-berok'
18389 if test "$with_gnu_ld" = yes; then
18390 # We only use this code for GNU lds that support --whole-archive.
18391 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18393 # Exported symbols can be pulled into shared objects from archives
18394 whole_archive_flag_spec_CXX='$convenience'
18396 archive_cmds_need_lc_CXX=yes
18397 # This is similar to how AIX traditionally builds its shared
18399 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'
18405 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18406 allow_undefined_flag_CXX=unsupported
18407 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18408 # support --undefined. This deserves some investigation. FIXME
18409 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18416 case $cc_basename in
18418 # FIXME: insert proper C++ library support
18424 cygwin* | mingw* | pw32* | cegcc*)
18425 case $GXX,$cc_basename in
18428 # hardcode_libdir_flag_spec is actually meaningless, as there is
18429 # no search path for DLLs.
18430 hardcode_libdir_flag_spec_CXX=' '
18431 allow_undefined_flag_CXX=unsupported
18432 always_export_symbols_CXX=yes
18433 file_list_spec_CXX='@'
18434 # Tell ltmain to make .lib files, not .a files.
18436 # Tell ltmain to make .dll files, not .so files.
18438 # FIXME: Setting linknames here is a bad hack.
18439 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
18440 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18441 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
18443 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
18445 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
18447 # The linker will not automatically build a static lib if we build a DLL.
18448 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
18449 enable_shared_with_static_runtimes_CXX=yes
18451 old_postinstall_cmds_CXX='chmod 644 $oldlib'
18452 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
18453 lt_tool_outputfile="@TOOL_OUTPUT@"~
18454 case $lt_outputfile in
18457 lt_outputfile="$lt_outputfile.exe"
18458 lt_tool_outputfile="$lt_tool_outputfile.exe"
18461 func_to_tool_file "$lt_outputfile"~
18462 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
18463 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
18464 $RM "$lt_outputfile.manifest";
18469 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18470 # as there is no search path for DLLs.
18471 hardcode_libdir_flag_spec_CXX='-L$libdir'
18472 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
18473 allow_undefined_flag_CXX=unsupported
18474 always_export_symbols_CXX=no
18475 enable_shared_with_static_runtimes_CXX=yes
18477 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
18478 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'
18479 # If the export-symbols file already is a .def file (1st line
18480 # is EXPORTS), use it as is; otherwise, prepend...
18481 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18482 cp $export_symbols $output_objdir/$soname.def;
18484 echo EXPORTS > $output_objdir/$soname.def;
18485 cat $export_symbols >> $output_objdir/$soname.def;
18487 $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'
18494 darwin* | rhapsody*)
18497 archive_cmds_need_lc_CXX=no
18498 hardcode_direct_CXX=no
18499 hardcode_automatic_CXX=yes
18500 hardcode_shlibpath_var_CXX=unsupported
18501 if test "$lt_cv_ld_force_load" = "yes"; then
18502 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\"`'
18505 whole_archive_flag_spec_CXX=''
18507 link_all_deplibs_CXX=yes
18508 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
18509 case $cc_basename in
18510 ifort*) _lt_dar_can_shared=yes ;;
18511 *) _lt_dar_can_shared=$GCC ;;
18513 if test "$_lt_dar_can_shared" = "yes"; then
18514 output_verbose_link_cmd=func_echo_all
18515 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}"
18516 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18517 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}"
18518 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}"
18519 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
18520 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}"
18521 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}"
18531 case $cc_basename in
18533 # FIXME: insert proper C++ library support
18537 # Green Hills C++ Compiler
18538 # FIXME: insert proper C++ library support
18542 # FIXME: insert proper C++ library support
18549 # C++ shared libraries reported to be fairly broken before
18555 archive_cmds_need_lc_CXX=no
18558 freebsd* | dragonfly*)
18559 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18568 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18569 link_all_deplibs_CXX=yes
18573 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18574 hardcode_libdir_separator_CXX=:
18575 export_dynamic_flag_spec_CXX='${wl}-E'
18576 hardcode_direct_CXX=yes
18577 hardcode_minus_L_CXX=yes # Not in the search PATH,
18578 # but as the default
18579 # location of the library.
18581 case $cc_basename in
18583 # FIXME: insert proper C++ library support
18587 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'
18588 # Commands to make compiler produce verbose output that lists
18589 # what "hidden" libraries, object files and flags are used when
18590 # linking a shared library.
18592 # There doesn't appear to be a way to prevent this compiler from
18593 # explicitly linking system object files so we need to strip them
18594 # from the output so that they don't get included in the library
18596 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"'
18599 if test "$GXX" = yes; then
18600 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'
18602 # FIXME: insert proper C++ library support
18610 if test $with_gnu_ld = no; then
18611 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18612 hardcode_libdir_separator_CXX=:
18618 export_dynamic_flag_spec_CXX='${wl}-E'
18624 hardcode_direct_CXX=no
18625 hardcode_shlibpath_var_CXX=no
18628 hardcode_direct_CXX=yes
18629 hardcode_direct_absolute_CXX=yes
18630 hardcode_minus_L_CXX=yes # Not in the search PATH,
18631 # but as the default
18632 # location of the library.
18636 case $cc_basename in
18638 # FIXME: insert proper C++ library support
18644 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18647 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18650 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18653 # Commands to make compiler produce verbose output that lists
18654 # what "hidden" libraries, object files and flags are used when
18655 # linking a shared library.
18657 # There doesn't appear to be a way to prevent this compiler from
18658 # explicitly linking system object files so we need to strip them
18659 # from the output so that they don't get included in the library
18661 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"'
18664 if test "$GXX" = yes; then
18665 if test $with_gnu_ld = no; then
18668 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18671 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18674 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'
18679 # FIXME: insert proper C++ library support
18687 hardcode_direct_CXX=no
18688 hardcode_shlibpath_var_CXX=no
18689 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18690 export_dynamic_flag_spec_CXX='${wl}-E'
18691 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18692 # Instead, shared libraries are loaded at an image base (0x10000000 by
18693 # default) and relocated if they conflict, which is a slow very memory
18694 # consuming and fragmenting process. To avoid this, we pick a random,
18695 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18696 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18697 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'
18698 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'
18701 case $cc_basename in
18704 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'
18706 # Archives containing C++ object files must be created using
18707 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18708 # necessary to make sure instantiated templates are included
18710 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18713 if test "$GXX" = yes; then
18714 if test "$with_gnu_ld" = no; then
18715 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'
18717 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'
18720 link_all_deplibs_CXX=yes
18723 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18724 hardcode_libdir_separator_CXX=:
18725 inherit_rpath_CXX=yes
18728 linux* | k*bsd*-gnu | kopensolaris*-gnu)
18729 case $cc_basename in
18731 # Kuck and Associates, Inc. (KAI) C++ Compiler
18733 # KCC will only create a shared library if the output file
18734 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18735 # to its proper name (with version) after linking.
18736 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'
18737 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'
18738 # Commands to make compiler produce verbose output that lists
18739 # what "hidden" libraries, object files and flags are used when
18740 # linking a shared library.
18742 # There doesn't appear to be a way to prevent this compiler from
18743 # explicitly linking system object files so we need to strip them
18744 # from the output so that they don't get included in the library
18746 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"'
18748 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18749 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18751 # Archives containing C++ object files must be created using
18752 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18753 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18758 # version 8.0 and above of icpc choke on multiply defined symbols
18759 # if we add $predep_objects and $postdep_objects, however 7.1 and
18760 # earlier do not add the objects themselves.
18761 case `$CC -V 2>&1` in
18763 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18764 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'
18766 *) # Version 8.0 or newer
18769 ia64*) tmp_idyn=' -i_dynamic';;
18771 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18772 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'
18775 archive_cmds_need_lc_CXX=no
18776 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18777 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18778 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18781 # Portland Group C++ compiler
18783 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
18784 prelink_cmds_CXX='tpldir=Template.dir~
18786 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
18787 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
18788 old_archive_cmds_CXX='tpldir=Template.dir~
18790 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
18791 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
18793 archive_cmds_CXX='tpldir=Template.dir~
18795 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18796 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18797 archive_expsym_cmds_CXX='tpldir=Template.dir~
18799 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18800 $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'
18802 *) # Version 6 and above use weak symbols
18803 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18804 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'
18808 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18809 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18810 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'
18814 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18815 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'
18817 runpath_var=LD_RUN_PATH
18818 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18819 hardcode_libdir_separator_CXX=:
18821 # Commands to make compiler produce verbose output that lists
18822 # what "hidden" libraries, object files and flags are used when
18823 # linking a shared library.
18825 # There doesn't appear to be a way to prevent this compiler from
18826 # explicitly linking system object files so we need to strip them
18827 # from the output so that they don't get included in the library
18829 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'
18831 xl* | mpixl* | bgxl*)
18832 # IBM XL 8.0 on PPC, with GNU ld
18833 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18834 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18835 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18836 if test "x$supports_anon_versioning" = xyes; then
18837 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
18838 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18839 echo "local: *; };" >> $output_objdir/$libname.ver~
18840 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18844 case `$CC -V 2>&1 | sed 5q` in
18847 no_undefined_flag_CXX=' -zdefs'
18848 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18849 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'
18850 hardcode_libdir_flag_spec_CXX='-R$libdir'
18851 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'
18852 compiler_needs_object_CXX=yes
18854 # Not sure whether something based on
18855 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
18857 output_verbose_link_cmd='func_echo_all'
18859 # Archives containing C++ object files must be created using
18860 # "CC -xar", where "CC" is the Sun C++ compiler. This is
18861 # necessary to make sure instantiated templates are included
18863 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18871 # FIXME: insert proper C++ library support
18876 # FIXME: insert proper C++ library support
18881 case $cc_basename in
18883 # FIXME: insert proper C++ library support
18887 # FIXME: insert proper C++ library support
18894 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18895 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18897 hardcode_libdir_flag_spec_CXX='-R$libdir'
18898 hardcode_direct_CXX=yes
18899 hardcode_shlibpath_var_CXX=no
18901 # Workaround some broken pre-1.5 toolchains
18902 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18910 # C++ shared libraries are fairly broken
18915 if test -f /usr/libexec/ld.so; then
18916 hardcode_direct_CXX=yes
18917 hardcode_shlibpath_var_CXX=no
18918 hardcode_direct_absolute_CXX=yes
18919 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18920 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18921 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18922 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18923 export_dynamic_flag_spec_CXX='${wl}-E'
18924 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18926 output_verbose_link_cmd=func_echo_all
18932 osf3* | osf4* | osf5*)
18933 case $cc_basename in
18935 # Kuck and Associates, Inc. (KAI) C++ Compiler
18937 # KCC will only create a shared library if the output file
18938 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18939 # to its proper name (with version) after linking.
18940 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'
18942 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18943 hardcode_libdir_separator_CXX=:
18945 # Archives containing C++ object files must be created using
18946 # the KAI C++ compiler.
18948 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
18949 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
18953 # Rational C++ 2.4.1
18954 # FIXME: insert proper C++ library support
18960 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18961 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'
18962 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18965 allow_undefined_flag_CXX=' -expect_unresolved \*'
18966 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'
18967 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18968 echo "-hidden">> $lib.exp~
18969 $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~
18971 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18975 hardcode_libdir_separator_CXX=:
18977 # Commands to make compiler produce verbose output that lists
18978 # what "hidden" libraries, object files and flags are used when
18979 # linking a shared library.
18981 # There doesn't appear to be a way to prevent this compiler from
18982 # explicitly linking system object files so we need to strip them
18983 # from the output so that they don't get included in the library
18985 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"'
18988 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18989 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18992 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'
18995 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'
18999 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19000 hardcode_libdir_separator_CXX=:
19002 # Commands to make compiler produce verbose output that lists
19003 # what "hidden" libraries, object files and flags are used when
19004 # linking a shared library.
19005 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19008 # FIXME: insert proper C++ library support
19016 # FIXME: insert proper C++ library support
19021 case $cc_basename in
19024 # FIXME: insert proper C++ library support
19029 # FIXME: insert proper C++ library support
19033 # FIXME: insert proper C++ library support
19040 case $cc_basename in
19042 # Sun C++ 4.2, 5.x and Centerline C++
19043 archive_cmds_need_lc_CXX=yes
19044 no_undefined_flag_CXX=' -zdefs'
19045 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19046 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19047 $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'
19049 hardcode_libdir_flag_spec_CXX='-R$libdir'
19050 hardcode_shlibpath_var_CXX=no
19052 solaris2.[0-5] | solaris2.[0-5].*) ;;
19054 # The compiler driver will combine and reorder linker options,
19055 # but understands `-z linker_flag'.
19056 # Supported since Solaris 2.6 (maybe 2.5.1?)
19057 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
19060 link_all_deplibs_CXX=yes
19062 output_verbose_link_cmd='func_echo_all'
19064 # Archives containing C++ object files must be created using
19065 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19066 # necessary to make sure instantiated templates are included
19068 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19071 # Green Hills C++ Compiler
19072 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19074 # The C++ compiler must be used to create the archive.
19075 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19078 # GNU C++ compiler with Solaris linker
19079 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19080 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
19081 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
19082 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19083 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19084 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19086 # Commands to make compiler produce verbose output that lists
19087 # what "hidden" libraries, object files and flags are used when
19088 # linking a shared library.
19089 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19091 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19093 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19094 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19095 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19097 # Commands to make compiler produce verbose output that lists
19098 # what "hidden" libraries, object files and flags are used when
19099 # linking a shared library.
19100 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19103 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
19105 solaris2.[0-5] | solaris2.[0-5].*) ;;
19107 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19115 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19116 no_undefined_flag_CXX='${wl}-z,text'
19117 archive_cmds_need_lc_CXX=no
19118 hardcode_shlibpath_var_CXX=no
19119 runpath_var='LD_RUN_PATH'
19121 case $cc_basename in
19123 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19124 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19127 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19128 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19133 sysv5* | sco3.2v5* | sco5v6*)
19134 # Note: We can NOT use -z defs as we might desire, because we do not
19135 # link with -lc, and that would cause any symbols used from libc to
19136 # always be unresolved, which means just about no library would
19137 # ever link correctly. If we're not using GNU ld we use -z text
19138 # though, which does catch some bad symbols but isn't as heavy-handed
19140 no_undefined_flag_CXX='${wl}-z,text'
19141 allow_undefined_flag_CXX='${wl}-z,nodefs'
19142 archive_cmds_need_lc_CXX=no
19143 hardcode_shlibpath_var_CXX=no
19144 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
19145 hardcode_libdir_separator_CXX=':'
19146 link_all_deplibs_CXX=yes
19147 export_dynamic_flag_spec_CXX='${wl}-Bexport'
19148 runpath_var='LD_RUN_PATH'
19150 case $cc_basename in
19152 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19153 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19154 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
19155 '"$old_archive_cmds_CXX"
19156 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
19157 '"$reload_cmds_CXX"
19160 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19161 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19167 case $cc_basename in
19169 # NonStop-UX NCC 3.20
19170 # FIXME: insert proper C++ library support
19174 # FIXME: insert proper C++ library support
19181 # FIXME: insert proper C++ library support
19186 # FIXME: insert proper C++ library support
19191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
19192 $as_echo "$ld_shlibs_CXX" >&6; }
19193 test "$ld_shlibs_CXX" = no && can_build_shared=no
19199 ## There is no encapsulation within the following macros, do not change
19200 ## the running order or otherwise move them around unless you know exactly
19201 ## what you are doing...
19202 # Dependencies to place before and after the object being linked:
19203 predep_objects_CXX=
19204 postdep_objects_CXX=
19207 compiler_lib_search_path_CXX=
19209 cat > conftest.$ac_ext <<_LT_EOF
19213 Foo (void) { a = 0; }
19220 _lt_libdeps_save_CFLAGS=$CFLAGS
19221 case "$CC $CFLAGS " in #(
19222 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
19223 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
19224 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
19227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19228 (eval $ac_compile) 2>&5
19230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19231 test $ac_status = 0; }; then
19232 # Parse the compiler output and extract the necessary
19233 # objects, libraries and library flags.
19235 # Sentinel used to keep track of whether or not we are before
19236 # the conftest object file.
19237 pre_test_object_deps_done=no
19239 for p in `eval "$output_verbose_link_cmd"`; do
19240 case ${prev}${p} in
19243 # Some compilers place space between "-{L,R}" and the path.
19244 # Remove the space.
19245 if test $p = "-L" ||
19246 test $p = "-R"; then
19251 # Expand the sysroot to ease extracting the directories later.
19252 if test -z "$prev"; then
19254 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
19255 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
19256 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
19260 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
19262 if test "$pre_test_object_deps_done" = no; then
19265 # Internal compiler library paths should come after those
19266 # provided the user. The postdeps already come after the
19267 # user supplied libs so there is no need to process them.
19268 if test -z "$compiler_lib_search_path_CXX"; then
19269 compiler_lib_search_path_CXX="${prev}${p}"
19271 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
19274 # The "-l" case would never come before the object being
19275 # linked, so don't bother handling this case.
19278 if test -z "$postdeps_CXX"; then
19279 postdeps_CXX="${prev}${p}"
19281 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
19287 *.lto.$objext) ;; # Ignore GCC LTO objects
19289 # This assumes that the test object file only shows up
19290 # once in the compiler output.
19291 if test "$p" = "conftest.$objext"; then
19292 pre_test_object_deps_done=yes
19296 if test "$pre_test_object_deps_done" = no; then
19297 if test -z "$predep_objects_CXX"; then
19298 predep_objects_CXX="$p"
19300 predep_objects_CXX="$predep_objects_CXX $p"
19303 if test -z "$postdep_objects_CXX"; then
19304 postdep_objects_CXX="$p"
19306 postdep_objects_CXX="$postdep_objects_CXX $p"
19311 *) ;; # Ignore the rest.
19319 echo "libtool.m4: error: problem compiling CXX test program"
19322 $RM -f confest.$objext
19323 CFLAGS=$_lt_libdeps_save_CFLAGS
19325 # PORTME: override above test on systems where it is broken
19328 # Interix 3.5 installs completely hosed .la files for C++, so rather than
19329 # hack all around it, let's just trust "g++" to DTRT.
19330 predep_objects_CXX=
19331 postdep_objects_CXX=
19336 case `$CC -V 2>&1 | sed 5q` in
19340 # The more standards-conforming stlport4 library is
19341 # incompatible with the Cstd library. Avoid specifying
19342 # it if it's in CXXFLAGS. Ignore libCrun as
19343 # -library=stlport4 depends on it.
19344 case " $CXX $CXXFLAGS " in
19345 *" -library=stlport4 "*)
19346 solaris_use_stlport4=yes
19350 if test "$solaris_use_stlport4" != yes; then
19351 postdeps_CXX='-library=Cstd -library=Crun'
19358 case $cc_basename in
19360 # The more standards-conforming stlport4 library is
19361 # incompatible with the Cstd library. Avoid specifying
19362 # it if it's in CXXFLAGS. Ignore libCrun as
19363 # -library=stlport4 depends on it.
19364 case " $CXX $CXXFLAGS " in
19365 *" -library=stlport4 "*)
19366 solaris_use_stlport4=yes
19370 # Adding this requires a known-good setup of shared libraries for
19371 # Sun compiler versions before 5.6, else PIC objects from an old
19372 # archive will be linked into the output, leading to subtle bugs.
19373 if test "$solaris_use_stlport4" != yes; then
19374 postdeps_CXX='-library=Cstd -library=Crun'
19382 case " $postdeps_CXX " in
19383 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
19385 compiler_lib_search_dirs_CXX=
19386 if test -n "${compiler_lib_search_path_CXX}"; then
19387 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
19420 lt_prog_compiler_wl_CXX=
19421 lt_prog_compiler_pic_CXX=
19422 lt_prog_compiler_static_CXX=
19425 # C++ specific cases for pic, static, wl, etc.
19426 if test "$GXX" = yes; then
19427 lt_prog_compiler_wl_CXX='-Wl,'
19428 lt_prog_compiler_static_CXX='-static'
19432 # All AIX code is PIC.
19433 if test "$host_cpu" = ia64; then
19434 # AIX 5 now supports IA64 processor
19435 lt_prog_compiler_static_CXX='-Bstatic'
19442 # see comment about AmigaOS4 .so support
19443 lt_prog_compiler_pic_CXX='-fPIC'
19446 # FIXME: we need at least 68020 code to build shared libraries, but
19447 # adding the `-m68020' flag to GCC prevents building anything better,
19449 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
19454 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19455 # PIC is the default for these OSes.
19457 mingw* | cygwin* | os2* | pw32* | cegcc*)
19458 # This hack is so that the source file can tell whether it is being
19459 # built for inclusion in a dll (and should export symbols for example).
19460 # Although the cygwin gcc ignores -fPIC, still need this for old-style
19461 # (--disable-auto-import) libraries
19462 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19464 darwin* | rhapsody*)
19465 # PIC is the default on this platform
19466 # Common symbols not allowed in MH_DYLIB files
19467 lt_prog_compiler_pic_CXX='-fno-common'
19470 # DJGPP does not support shared libraries at all
19471 lt_prog_compiler_pic_CXX=
19474 # PIC is the default for Haiku.
19475 # The "-static" flag exists, but is broken.
19476 lt_prog_compiler_static_CXX=
19479 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19480 # Instead, we relocate shared libraries at runtime.
19483 if test -d /usr/nec; then
19484 lt_prog_compiler_pic_CXX=-Kconform_pic
19488 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
19489 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
19490 # sets the default TLS model and affects inlining.
19495 lt_prog_compiler_pic_CXX='-fPIC'
19500 # QNX uses GNU C++, but need to define -shared option too, otherwise
19501 # it will coredump.
19502 lt_prog_compiler_pic_CXX='-fPIC -shared'
19505 lt_prog_compiler_pic_CXX='-fPIC'
19511 # All AIX code is PIC.
19512 if test "$host_cpu" = ia64; then
19513 # AIX 5 now supports IA64 processor
19514 lt_prog_compiler_static_CXX='-Bstatic'
19516 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
19520 case $cc_basename in
19522 # Green Hills C++ Compiler
19523 # _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"
19527 mingw* | cygwin* | os2* | pw32* | cegcc*)
19528 # This hack is so that the source file can tell whether it is being
19529 # built for inclusion in a dll (and should export symbols for example).
19530 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19533 case $cc_basename in
19535 lt_prog_compiler_pic_CXX='-KPIC'
19538 # Green Hills C++ Compiler
19539 lt_prog_compiler_pic_CXX='-pic'
19545 freebsd* | dragonfly*)
19546 # FreeBSD uses GNU C++
19548 hpux9* | hpux10* | hpux11*)
19549 case $cc_basename in
19551 lt_prog_compiler_wl_CXX='-Wl,'
19552 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19553 if test "$host_cpu" != ia64; then
19554 lt_prog_compiler_pic_CXX='+Z'
19558 lt_prog_compiler_wl_CXX='-Wl,'
19559 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19565 lt_prog_compiler_pic_CXX='+Z'
19574 # This is c89, which is MS Visual C++ (no shared libs)
19575 # Anyone wants to do a port?
19577 irix5* | irix6* | nonstopux*)
19578 case $cc_basename in
19580 lt_prog_compiler_wl_CXX='-Wl,'
19581 lt_prog_compiler_static_CXX='-non_shared'
19582 # CC pic flag -KPIC is the default.
19588 linux* | k*bsd*-gnu | kopensolaris*-gnu)
19589 case $cc_basename in
19592 lt_prog_compiler_wl_CXX='--backend -Wl,'
19593 lt_prog_compiler_pic_CXX='-fPIC'
19596 # old Intel C++ for x86_64 which still supported -KPIC.
19597 lt_prog_compiler_wl_CXX='-Wl,'
19598 lt_prog_compiler_pic_CXX='-KPIC'
19599 lt_prog_compiler_static_CXX='-static'
19602 # Intel C++, used to be incompatible with GCC.
19603 # ICC 10 doesn't accept -KPIC any more.
19604 lt_prog_compiler_wl_CXX='-Wl,'
19605 lt_prog_compiler_pic_CXX='-fPIC'
19606 lt_prog_compiler_static_CXX='-static'
19609 # Portland Group C++ compiler
19610 lt_prog_compiler_wl_CXX='-Wl,'
19611 lt_prog_compiler_pic_CXX='-fpic'
19612 lt_prog_compiler_static_CXX='-Bstatic'
19616 # Make sure the PIC flag is empty. It appears that all Alpha
19617 # Linux and Compaq Tru64 Unix objects are PIC.
19618 lt_prog_compiler_pic_CXX=
19619 lt_prog_compiler_static_CXX='-non_shared'
19621 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
19622 # IBM XL 8.0, 9.0 on PPC and BlueGene
19623 lt_prog_compiler_wl_CXX='-Wl,'
19624 lt_prog_compiler_pic_CXX='-qpic'
19625 lt_prog_compiler_static_CXX='-qstaticlink'
19628 case `$CC -V 2>&1 | sed 5q` in
19631 lt_prog_compiler_pic_CXX='-KPIC'
19632 lt_prog_compiler_static_CXX='-Bstatic'
19633 lt_prog_compiler_wl_CXX='-Qoption ld '
19644 case $cc_basename in
19646 lt_prog_compiler_pic_CXX='-W c,exportall'
19652 netbsd* | netbsdelf*-gnu)
19655 # QNX uses GNU C++, but need to define -shared option too, otherwise
19656 # it will coredump.
19657 lt_prog_compiler_pic_CXX='-fPIC -shared'
19659 osf3* | osf4* | osf5*)
19660 case $cc_basename in
19662 lt_prog_compiler_wl_CXX='--backend -Wl,'
19665 # Rational C++ 2.4.1
19666 lt_prog_compiler_pic_CXX='-pic'
19669 # Digital/Compaq C++
19670 lt_prog_compiler_wl_CXX='-Wl,'
19671 # Make sure the PIC flag is empty. It appears that all Alpha
19672 # Linux and Compaq Tru64 Unix objects are PIC.
19673 lt_prog_compiler_pic_CXX=
19674 lt_prog_compiler_static_CXX='-non_shared'
19683 case $cc_basename in
19685 # Sun C++ 4.2, 5.x and Centerline C++
19686 lt_prog_compiler_pic_CXX='-KPIC'
19687 lt_prog_compiler_static_CXX='-Bstatic'
19688 lt_prog_compiler_wl_CXX='-Qoption ld '
19691 # Green Hills C++ Compiler
19692 lt_prog_compiler_pic_CXX='-PIC'
19699 case $cc_basename in
19702 lt_prog_compiler_pic_CXX='-pic'
19703 lt_prog_compiler_static_CXX='-Bstatic'
19707 lt_prog_compiler_pic_CXX='-pic'
19713 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19714 case $cc_basename in
19716 lt_prog_compiler_wl_CXX='-Wl,'
19717 lt_prog_compiler_pic_CXX='-KPIC'
19718 lt_prog_compiler_static_CXX='-Bstatic'
19723 case $cc_basename in
19725 # NonStop-UX NCC 3.20
19726 lt_prog_compiler_pic_CXX='-KPIC'
19735 lt_prog_compiler_can_build_shared_CXX=no
19741 # For platforms which do not support PIC, -DPIC is meaningless:
19743 lt_prog_compiler_pic_CXX=
19746 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
19751 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
19752 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
19753 $as_echo_n "(cached) " >&6
19755 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
19757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
19758 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
19759 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
19762 # Check to make sure the PIC flag actually works.
19764 if test -n "$lt_prog_compiler_pic_CXX"; then
19765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19766 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
19767 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
19768 $as_echo_n "(cached) " >&6
19770 lt_cv_prog_compiler_pic_works_CXX=no
19771 ac_outfile=conftest.$ac_objext
19772 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19773 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19774 # Insert the option either (1) after the last *FLAGS variable, or
19775 # (2) before a word containing "conftest.", or (3) at the end.
19776 # Note that $ac_compile itself does not contain backslashes and begins
19777 # with a dollar sign (not a hyphen), so the echo should work correctly.
19778 # The option is referenced via a variable to avoid confusing sed.
19779 lt_compile=`echo "$ac_compile" | $SED \
19780 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19781 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19782 -e 's:$: $lt_compiler_flag:'`
19783 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19784 (eval "$lt_compile" 2>conftest.err)
19786 cat conftest.err >&5
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 if (exit $ac_status) && test -s "$ac_outfile"; then
19789 # The compiler can only warn and ignore the option if not recognized
19790 # So say no if there are warnings other than the usual output.
19791 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
19792 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19793 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19794 lt_cv_prog_compiler_pic_works_CXX=yes
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
19801 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
19803 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
19804 case $lt_prog_compiler_pic_CXX in
19806 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
19809 lt_prog_compiler_pic_CXX=
19810 lt_prog_compiler_can_build_shared_CXX=no
19820 # Check to make sure the static flag actually works.
19822 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19824 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
19825 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
19826 $as_echo_n "(cached) " >&6
19828 lt_cv_prog_compiler_static_works_CXX=no
19829 save_LDFLAGS="$LDFLAGS"
19830 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19831 echo "$lt_simple_link_test_code" > conftest.$ac_ext
19832 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19833 # The linker can only warn and ignore the option if not recognized
19834 # So say no if there are warnings
19835 if test -s conftest.err; then
19836 # Append any errors to the config.log.
19837 cat conftest.err 1>&5
19838 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
19839 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19840 if diff conftest.exp conftest.er2 >/dev/null; then
19841 lt_cv_prog_compiler_static_works_CXX=yes
19844 lt_cv_prog_compiler_static_works_CXX=yes
19848 LDFLAGS="$save_LDFLAGS"
19851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
19852 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
19854 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
19857 lt_prog_compiler_static_CXX=
19863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19864 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19865 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
19866 $as_echo_n "(cached) " >&6
19868 lt_cv_prog_compiler_c_o_CXX=no
19869 $RM -r conftest 2>/dev/null
19873 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19875 lt_compiler_flag="-o out/conftest2.$ac_objext"
19876 # Insert the option either (1) after the last *FLAGS variable, or
19877 # (2) before a word containing "conftest.", or (3) at the end.
19878 # Note that $ac_compile itself does not contain backslashes and begins
19879 # with a dollar sign (not a hyphen), so the echo should work correctly.
19880 lt_compile=`echo "$ac_compile" | $SED \
19881 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19882 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19883 -e 's:$: $lt_compiler_flag:'`
19884 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19885 (eval "$lt_compile" 2>out/conftest.err)
19887 cat out/conftest.err >&5
19888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19889 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19891 # The compiler can only warn and ignore the option if not recognized
19892 # So say no if there are warnings
19893 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
19894 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19895 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19896 lt_cv_prog_compiler_c_o_CXX=yes
19901 # SGI C++ compiler will create directory out/ii_files/ for
19902 # template instantiation
19903 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19904 $RM out/* && rmdir out
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19911 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19916 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19917 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
19918 $as_echo_n "(cached) " >&6
19920 lt_cv_prog_compiler_c_o_CXX=no
19921 $RM -r conftest 2>/dev/null
19925 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19927 lt_compiler_flag="-o out/conftest2.$ac_objext"
19928 # Insert the option either (1) after the last *FLAGS variable, or
19929 # (2) before a word containing "conftest.", or (3) at the end.
19930 # Note that $ac_compile itself does not contain backslashes and begins
19931 # with a dollar sign (not a hyphen), so the echo should work correctly.
19932 lt_compile=`echo "$ac_compile" | $SED \
19933 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19934 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19935 -e 's:$: $lt_compiler_flag:'`
19936 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19937 (eval "$lt_compile" 2>out/conftest.err)
19939 cat out/conftest.err >&5
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19943 # The compiler can only warn and ignore the option if not recognized
19944 # So say no if there are warnings
19945 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
19946 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19947 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19948 lt_cv_prog_compiler_c_o_CXX=yes
19953 # SGI C++ compiler will create directory out/ii_files/ for
19954 # template instantiation
19955 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19956 $RM out/* && rmdir out
19962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19963 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19968 hard_links="nottested"
19969 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
19970 # do not overwrite the value of need_locks provided by the user
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
19972 $as_echo_n "checking if we can lock with hard links... " >&6; }
19975 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19977 ln conftest.a conftest.b 2>&5 || hard_links=no
19978 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
19980 $as_echo "$hard_links" >&6; }
19981 if test "$hard_links" = no; then
19982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19983 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19993 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19995 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19996 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19999 # If we're using GNU nm, then we don't want the "-C" option.
20000 # -C means demangle to AIX nm, but means don't demangle with GNU nm
20001 # Also, AIX nm treats weak defined symbols like other global defined
20002 # symbols, whereas GNU nm marks them as "W".
20003 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
20004 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'
20006 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'
20010 export_symbols_cmds_CXX="$ltdll_cmds"
20012 cygwin* | mingw* | cegcc*)
20013 case $cc_basename in
20015 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
20018 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'
20019 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
20023 linux* | k*bsd*-gnu | gnu*)
20024 link_all_deplibs_CXX=no
20027 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
20032 $as_echo "$ld_shlibs_CXX" >&6; }
20033 test "$ld_shlibs_CXX" = no && can_build_shared=no
20035 with_gnu_ld_CXX=$with_gnu_ld
20043 # Do we need to explicitly link libc?
20045 case "x$archive_cmds_need_lc_CXX" in
20047 # Assume -lc should be added
20048 archive_cmds_need_lc_CXX=yes
20050 if test "$enable_shared" = yes && test "$GCC" = yes; then
20051 case $archive_cmds_CXX in
20053 # FIXME: we may have to deal with multi-command sequences.
20056 # Test whether the compiler implicitly links with -lc since on some
20057 # systems, -lgcc has to come before -lc. If gcc already passes -lc
20058 # to ld, don't add -lc before -lgcc.
20059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
20060 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
20061 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
20062 $as_echo_n "(cached) " >&6
20065 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20067 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
20068 (eval $ac_compile) 2>&5
20070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20071 test $ac_status = 0; } 2>conftest.err; then
20074 libobjs=conftest.$ac_objext
20076 wl=$lt_prog_compiler_wl_CXX
20077 pic_flag=$lt_prog_compiler_pic_CXX
20083 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
20084 allow_undefined_flag_CXX=
20085 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
20086 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
20088 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20089 test $ac_status = 0; }
20091 lt_cv_archive_cmds_need_lc_CXX=no
20093 lt_cv_archive_cmds_need_lc_CXX=yes
20095 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
20097 cat conftest.err 1>&5
20102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
20103 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
20104 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
20172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
20173 $as_echo_n "checking dynamic linker characteristics... " >&6; }
20175 library_names_spec=
20176 libname_spec='lib$name'
20180 postuninstall_cmds=
20184 shlibpath_overrides_runpath=unknown
20186 dynamic_linker="$host_os ld.so"
20187 sys_lib_dlsearch_path_spec="/lib /usr/lib"
20188 need_lib_prefix=unknown
20189 hardcode_into_libs=no
20191 # when you set need_version to no, make sure it does not cause -set_version
20192 # flags to be left without arguments
20193 need_version=unknown
20197 version_type=linux # correct to gnu/linux during the next big refactor
20198 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20199 shlibpath_var=LIBPATH
20201 # AIX 3 has no versioning support, so we append a major version to the name.
20202 soname_spec='${libname}${release}${shared_ext}$major'
20206 version_type=linux # correct to gnu/linux during the next big refactor
20209 hardcode_into_libs=yes
20210 if test "$host_cpu" = ia64; then
20211 # AIX 5 supports IA64
20212 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20213 shlibpath_var=LD_LIBRARY_PATH
20215 # With GCC up to 2.95.x, collect2 would create an import file
20216 # for dependence libraries. The import file would start with
20217 # the line `#! .'. This would cause the generated library to
20218 # depend on `.', always an invalid library. This was fixed in
20219 # development snapshots of GCC prior to 3.0.
20221 aix4 | aix4.[01] | aix4.[01].*)
20222 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20224 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
20227 can_build_shared=no
20231 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20232 # soname into executable. Probably we can add versioning support to
20233 # collect2, so additional links can be useful in future.
20234 if test "$aix_use_runtimelinking" = yes; then
20235 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20236 # instead of lib<name>.a to let people know that these are not
20237 # typical AIX shared libraries.
20238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20240 # We preserve .a as extension for shared libraries through AIX4.2
20241 # and later when we are not doing run time linking.
20242 library_names_spec='${libname}${release}.a $libname.a'
20243 soname_spec='${libname}${release}${shared_ext}$major'
20245 shlibpath_var=LIBPATH
20252 # Since July 2007 AmigaOS4 officially supports .so libraries.
20253 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
20254 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20257 library_names_spec='$libname.ixlibrary $libname.a'
20258 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20259 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'
20265 library_names_spec='${libname}${shared_ext}'
20266 dynamic_linker="$host_os ld.so"
20267 shlibpath_var=LIBRARY_PATH
20271 version_type=linux # correct to gnu/linux during the next big refactor
20273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20274 soname_spec='${libname}${release}${shared_ext}$major'
20275 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20276 shlibpath_var=LD_LIBRARY_PATH
20277 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20278 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20279 # the default ld.so.conf also contains /usr/contrib/lib and
20280 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
20281 # libtool to hard-code these into programs
20284 cygwin* | mingw* | pw32* | cegcc*)
20285 version_type=windows
20290 case $GCC,$cc_basename in
20293 library_names_spec='$libname.dll.a'
20294 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20295 postinstall_cmds='base_file=`basename \${file}`~
20296 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
20297 dldir=$destdir/`dirname \$dlpath`~
20298 test -d \$dldir || mkdir -p \$dldir~
20299 $install_prog $dir/$dlname \$dldir/$dlname~
20300 chmod a+x \$dldir/$dlname~
20301 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
20302 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
20304 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20305 dlpath=$dir/\$dldll~
20307 shlibpath_overrides_runpath=yes
20311 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
20312 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20316 # MinGW DLLs use traditional 'lib' prefix
20317 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20320 # pw32 DLLs use 'pw' prefix rather than 'lib'
20321 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20324 dynamic_linker='Win32 ld.exe'
20329 libname_spec='$name'
20330 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
20331 library_names_spec='${libname}.dll.lib'
20335 sys_lib_search_path_spec=
20338 for lt_path in $LIB
20341 # Let DOS variable expansion print the short 8.3 style file name.
20342 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
20343 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
20346 # Convert to MSYS style.
20347 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
20350 # Convert to unix form, then to dos form, then back to unix form
20351 # but this time dos style (no spaces!) so that the unix form looks
20352 # like /cygdrive/c/PROGRA~1:/cygdr...
20353 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
20354 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
20355 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20358 sys_lib_search_path_spec="$LIB"
20359 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
20360 # It is most probably a Windows format PATH.
20361 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
20363 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
20365 # FIXME: find the short name or the path components, as spaces are
20366 # common. (e.g. "Program Files" -> "PROGRA~1")
20370 # DLL is installed to $(libdir)/../bin by postinstall_cmds
20371 postinstall_cmds='base_file=`basename \${file}`~
20372 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
20373 dldir=$destdir/`dirname \$dlpath`~
20374 test -d \$dldir || mkdir -p \$dldir~
20375 $install_prog $dir/$dlname \$dldir/$dlname'
20376 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
20377 dlpath=$dir/\$dldll~
20379 shlibpath_overrides_runpath=yes
20380 dynamic_linker='Win32 link.exe'
20384 # Assume MSVC wrapper
20385 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20386 dynamic_linker='Win32 ld.exe'
20389 # FIXME: first we should search . and the directory the executable is in
20393 darwin* | rhapsody*)
20394 dynamic_linker="$host_os dyld"
20395 version_type=darwin
20398 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20399 soname_spec='${libname}${release}${major}$shared_ext'
20400 shlibpath_overrides_runpath=yes
20401 shlibpath_var=DYLD_LIBRARY_PATH
20402 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20404 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20408 version_type=linux # correct to gnu/linux during the next big refactor
20411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20412 soname_spec='${libname}${release}${shared_ext}$major'
20413 shlibpath_var=LD_LIBRARY_PATH
20416 freebsd* | dragonfly*)
20417 # DragonFly does not have aout. When/if they implement a new
20418 # versioning mechanism, adjust this.
20419 if test -x /usr/bin/objformat; then
20420 objformat=`/usr/bin/objformat`
20423 freebsd[23].*) objformat=aout ;;
20424 *) objformat=elf ;;
20427 version_type=freebsd-$objformat
20428 case $version_type in
20430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20435 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20439 shlibpath_var=LD_LIBRARY_PATH
20442 shlibpath_overrides_runpath=yes
20444 freebsd3.[01]* | freebsdelf3.[01]*)
20445 shlibpath_overrides_runpath=yes
20446 hardcode_into_libs=yes
20448 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20449 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20450 shlibpath_overrides_runpath=no
20451 hardcode_into_libs=yes
20453 *) # from 4.6 on, and DragonFly
20454 shlibpath_overrides_runpath=yes
20455 hardcode_into_libs=yes
20461 version_type=linux # correct to gnu/linux during the next big refactor
20464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20465 soname_spec='${libname}${release}${shared_ext}$major'
20466 shlibpath_var=LD_LIBRARY_PATH
20467 shlibpath_overrides_runpath=no
20468 hardcode_into_libs=yes
20472 version_type=linux # correct to gnu/linux during the next big refactor
20475 dynamic_linker="$host_os runtime_loader"
20476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20477 soname_spec='${libname}${release}${shared_ext}$major'
20478 shlibpath_var=LIBRARY_PATH
20479 shlibpath_overrides_runpath=yes
20480 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
20481 hardcode_into_libs=yes
20484 hpux9* | hpux10* | hpux11*)
20485 # Give a soname corresponding to the major version so that dld.sl refuses to
20486 # link against other versions.
20493 hardcode_into_libs=yes
20494 dynamic_linker="$host_os dld.so"
20495 shlibpath_var=LD_LIBRARY_PATH
20496 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20498 soname_spec='${libname}${release}${shared_ext}$major'
20499 if test "X$HPUX_IA64_MODE" = X32; then
20500 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20502 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20504 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20508 hardcode_into_libs=yes
20509 dynamic_linker="$host_os dld.sl"
20510 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20511 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20513 soname_spec='${libname}${release}${shared_ext}$major'
20514 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20515 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20519 dynamic_linker="$host_os dld.sl"
20520 shlibpath_var=SHLIB_PATH
20521 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20523 soname_spec='${libname}${release}${shared_ext}$major'
20526 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
20527 postinstall_cmds='chmod 555 $lib'
20528 # or fails outright, so override atomically:
20529 install_override_mode=555
20533 version_type=linux # correct to gnu/linux during the next big refactor
20536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20537 soname_spec='${libname}${release}${shared_ext}$major'
20538 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20539 shlibpath_var=LD_LIBRARY_PATH
20540 shlibpath_overrides_runpath=no
20541 hardcode_into_libs=yes
20544 irix5* | irix6* | nonstopux*)
20546 nonstopux*) version_type=nonstopux ;;
20548 if test "$lt_cv_prog_gnu_ld" = yes; then
20549 version_type=linux # correct to gnu/linux during the next big refactor
20556 soname_spec='${libname}${release}${shared_ext}$major'
20557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20559 irix5* | nonstopux*)
20560 libsuff= shlibsuff=
20563 case $LD in # libtool.m4 will add one of these switches to LD
20564 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20565 libsuff= shlibsuff= libmagic=32-bit;;
20566 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20567 libsuff=32 shlibsuff=N32 libmagic=N32;;
20568 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20569 libsuff=64 shlibsuff=64 libmagic=64-bit;;
20570 *) libsuff= shlibsuff= libmagic=never-match;;
20574 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20575 shlibpath_overrides_runpath=no
20576 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20577 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20578 hardcode_into_libs=yes
20581 # No shared lib support for Linux oldld, aout, or coff.
20582 linux*oldld* | linux*aout* | linux*coff*)
20586 # This must be glibc/ELF.
20587 linux* | k*bsd*-gnu | kopensolaris*-gnu)
20588 version_type=linux # correct to gnu/linux during the next big refactor
20591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20592 soname_spec='${libname}${release}${shared_ext}$major'
20593 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20594 shlibpath_var=LD_LIBRARY_PATH
20595 shlibpath_overrides_runpath=no
20597 # Some binutils ld are patched to set DT_RUNPATH
20598 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
20599 $as_echo_n "(cached) " >&6
20601 lt_cv_shlibpath_overrides_runpath=no
20602 save_LDFLAGS=$LDFLAGS
20603 save_libdir=$libdir
20604 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
20605 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
20606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20607 /* end confdefs.h. */
20617 if ac_fn_cxx_try_link "$LINENO"; then :
20618 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
20619 lt_cv_shlibpath_overrides_runpath=yes
20622 rm -f core conftest.err conftest.$ac_objext \
20623 conftest$ac_exeext conftest.$ac_ext
20624 LDFLAGS=$save_LDFLAGS
20625 libdir=$save_libdir
20629 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
20631 # This implies no fast_install, which is unacceptable.
20632 # Some rework will be needed to allow for fast_install
20633 # before this can be enabled.
20634 hardcode_into_libs=yes
20636 # Append ld.so.conf contents to the search path
20637 if test -f /etc/ld.so.conf; then
20638 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' ' '`
20639 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20642 # We used to test for /lib/ld.so.1 and disable shared libraries on
20643 # powerpc, because MkLinux only supported shared libraries with the
20644 # GNU dynamic linker. Since this was broken with cross compilers,
20645 # most powerpc-linux boxes support dynamic linking these days and
20646 # people can always --disable-shared, the test was removed, and we
20647 # assume the GNU/Linux dynamic linker is in use.
20648 dynamic_linker='GNU/Linux ld.so'
20655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20656 soname_spec='${libname}${release}${shared_ext}$major'
20657 shlibpath_var=LD_LIBRARY_PATH
20658 shlibpath_overrides_runpath=no
20659 hardcode_into_libs=yes
20660 dynamic_linker='NetBSD ld.elf_so'
20667 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
20668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20669 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20670 dynamic_linker='NetBSD (a.out) ld.so'
20672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20673 soname_spec='${libname}${release}${shared_ext}$major'
20674 dynamic_linker='NetBSD ld.elf_so'
20676 shlibpath_var=LD_LIBRARY_PATH
20677 shlibpath_overrides_runpath=yes
20678 hardcode_into_libs=yes
20682 version_type=linux # correct to gnu/linux during the next big refactor
20683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20684 shlibpath_var=LD_LIBRARY_PATH
20685 shlibpath_overrides_runpath=yes
20692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20693 soname_spec='${libname}${release}${shared_ext}$major'
20694 shlibpath_var=LD_LIBRARY_PATH
20695 shlibpath_overrides_runpath=no
20696 hardcode_into_libs=yes
20697 dynamic_linker='ldqnx.so'
20702 sys_lib_dlsearch_path_spec="/usr/lib"
20704 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20706 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20707 *) need_version=no ;;
20709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20710 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20711 shlibpath_var=LD_LIBRARY_PATH
20712 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20714 openbsd2.[89] | openbsd2.[89].*)
20715 shlibpath_overrides_runpath=no
20718 shlibpath_overrides_runpath=yes
20722 shlibpath_overrides_runpath=yes
20727 libname_spec='$name'
20730 library_names_spec='$libname${shared_ext} $libname.a'
20731 dynamic_linker='OS/2 ld.exe'
20732 shlibpath_var=LIBPATH
20735 osf3* | osf4* | osf5*)
20739 soname_spec='${libname}${release}${shared_ext}$major'
20740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20741 shlibpath_var=LD_LIBRARY_PATH
20742 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20743 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20751 version_type=linux # correct to gnu/linux during the next big refactor
20754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20755 soname_spec='${libname}${release}${shared_ext}$major'
20756 shlibpath_var=LD_LIBRARY_PATH
20757 shlibpath_overrides_runpath=yes
20758 hardcode_into_libs=yes
20759 # ldd complains unless libraries are executable
20760 postinstall_cmds='chmod +x $lib'
20765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20766 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20767 shlibpath_var=LD_LIBRARY_PATH
20768 shlibpath_overrides_runpath=yes
20769 if test "$with_gnu_ld" = yes; then
20776 version_type=linux # correct to gnu/linux during the next big refactor
20777 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20778 soname_spec='${libname}${release}${shared_ext}$major'
20779 shlibpath_var=LD_LIBRARY_PATH
20780 case $host_vendor in
20782 shlibpath_overrides_runpath=no
20784 runpath_var=LD_RUN_PATH
20792 shlibpath_overrides_runpath=no
20793 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20799 if test -d /usr/nec ;then
20800 version_type=linux # correct to gnu/linux during the next big refactor
20801 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20802 soname_spec='$libname${shared_ext}.$major'
20803 shlibpath_var=LD_LIBRARY_PATH
20807 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20808 version_type=freebsd-elf
20811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20812 soname_spec='${libname}${release}${shared_ext}$major'
20813 shlibpath_var=LD_LIBRARY_PATH
20814 shlibpath_overrides_runpath=yes
20815 hardcode_into_libs=yes
20816 if test "$with_gnu_ld" = yes; then
20817 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20819 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20822 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20826 sys_lib_dlsearch_path_spec='/usr/lib'
20830 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
20831 version_type=linux # correct to gnu/linux during the next big refactor
20834 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20835 shlibpath_var=LD_LIBRARY_PATH
20836 shlibpath_overrides_runpath=no
20837 hardcode_into_libs=yes
20841 version_type=linux # correct to gnu/linux during the next big refactor
20842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20843 soname_spec='${libname}${release}${shared_ext}$major'
20844 shlibpath_var=LD_LIBRARY_PATH
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
20852 $as_echo "$dynamic_linker" >&6; }
20853 test "$dynamic_linker" = no && can_build_shared=no
20855 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20856 if test "$GCC" = yes; then
20857 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20860 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20861 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20863 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20864 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
20905 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20906 hardcode_action_CXX=
20907 if test -n "$hardcode_libdir_flag_spec_CXX" ||
20908 test -n "$runpath_var_CXX" ||
20909 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20911 # We can hardcode non-existent directories.
20912 if test "$hardcode_direct_CXX" != no &&
20913 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20914 # have to relink, otherwise we might link with an installed library
20915 # when we should be linking with a yet-to-be-installed one
20916 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20917 test "$hardcode_minus_L_CXX" != no; then
20918 # Linking always hardcodes the temporary library directory.
20919 hardcode_action_CXX=relink
20921 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20922 hardcode_action_CXX=immediate
20925 # We cannot hardcode anything, or else we can only hardcode existing
20927 hardcode_action_CXX=unsupported
20929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
20930 $as_echo "$hardcode_action_CXX" >&6; }
20932 if test "$hardcode_action_CXX" = relink ||
20933 test "$inherit_rpath_CXX" = yes; then
20934 # Fast installation is not supported
20935 enable_fast_install=no
20936 elif test "$shlibpath_overrides_runpath" = yes ||
20937 test "$enable_shared" = no; then
20938 # Fast installation is not necessary
20939 enable_fast_install=needless
20948 fi # test -n "$compiler"
20951 CFLAGS=$lt_save_CFLAGS
20955 with_gnu_ld=$lt_save_with_gnu_ld
20956 lt_cv_path_LDCXX=$lt_cv_path_LD
20957 lt_cv_path_LD=$lt_save_path_LD
20958 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
20959 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
20960 fi # test "$_lt_caught_CXX_error" != yes
20963 ac_cpp='$CPP $CPPFLAGS'
20964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20969 # Extract the first word of "$CXX", so it can be a program name with args.
20970 set dummy $CXX; ac_word=$2
20971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20972 $as_echo_n "checking for $ac_word... " >&6; }
20973 if ${ac_cv_prog_HAVE_CXX+:} false; then :
20974 $as_echo_n "(cached) " >&6
20976 if test -n "$HAVE_CXX"; then
20977 ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
20979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20980 for as_dir in $PATH
20983 test -z "$as_dir" && as_dir=.
20984 for ac_exec_ext in '' $ac_executable_extensions; do
20985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20986 ac_cv_prog_HAVE_CXX="yes"
20987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20994 test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
20997 HAVE_CXX=$ac_cv_prog_HAVE_CXX
20998 if test -n "$HAVE_CXX"; then
20999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CXX" >&5
21000 $as_echo "$HAVE_CXX" >&6; }
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21003 $as_echo "no" >&6; }
21009 ac_cpp='$CXXCPP $CPPFLAGS'
21010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
21014 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
21015 if test -z "$CXXCPP"; then
21016 if ${ac_cv_prog_CXXCPP+:} false; then :
21017 $as_echo_n "(cached) " >&6
21019 # Double quotes because CXXCPP needs to be expanded
21020 for CXXCPP in "$CXX -E" "/lib/cpp"
21022 ac_preproc_ok=false
21023 for ac_cxx_preproc_warn_flag in '' yes
21025 # Use a header file that comes with gcc, so configuring glibc
21026 # with a fresh cross-compiler works.
21027 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21028 # <limits.h> exists even on freestanding compilers.
21029 # On the NeXT, cc -E runs the code through the compiler's parser,
21030 # not just through cpp. "Syntax error" is here to catch this case.
21031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21032 /* end confdefs.h. */
21034 # include <limits.h>
21036 # include <assert.h>
21040 if ac_fn_cxx_try_cpp "$LINENO"; then :
21043 # Broken: fails on valid input.
21046 rm -f conftest.err conftest.i conftest.$ac_ext
21048 # OK, works on sane cases. Now check whether nonexistent headers
21049 # can be detected and how.
21050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21051 /* end confdefs.h. */
21052 #include <ac_nonexistent.h>
21054 if ac_fn_cxx_try_cpp "$LINENO"; then :
21055 # Broken: success on invalid input.
21058 # Passes both tests.
21062 rm -f conftest.err conftest.i conftest.$ac_ext
21065 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21066 rm -f conftest.i conftest.err conftest.$ac_ext
21067 if $ac_preproc_ok; then :
21072 ac_cv_prog_CXXCPP=$CXXCPP
21075 CXXCPP=$ac_cv_prog_CXXCPP
21077 ac_cv_prog_CXXCPP=$CXXCPP
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
21080 $as_echo "$CXXCPP" >&6; }
21081 ac_preproc_ok=false
21082 for ac_cxx_preproc_warn_flag in '' yes
21084 # Use a header file that comes with gcc, so configuring glibc
21085 # with a fresh cross-compiler works.
21086 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21087 # <limits.h> exists even on freestanding compilers.
21088 # On the NeXT, cc -E runs the code through the compiler's parser,
21089 # not just through cpp. "Syntax error" is here to catch this case.
21090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21091 /* end confdefs.h. */
21093 # include <limits.h>
21095 # include <assert.h>
21099 if ac_fn_cxx_try_cpp "$LINENO"; then :
21102 # Broken: fails on valid input.
21105 rm -f conftest.err conftest.i conftest.$ac_ext
21107 # OK, works on sane cases. Now check whether nonexistent headers
21108 # can be detected and how.
21109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21110 /* end confdefs.h. */
21111 #include <ac_nonexistent.h>
21113 if ac_fn_cxx_try_cpp "$LINENO"; then :
21114 # Broken: success on invalid input.
21117 # Passes both tests.
21121 rm -f conftest.err conftest.i conftest.$ac_ext
21124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
21125 rm -f conftest.i conftest.err conftest.$ac_ext
21126 if $ac_preproc_ok; then :
21129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21131 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
21132 See \`config.log' for more details" "$LINENO" 5; }
21136 ac_cpp='$CPP $CPPFLAGS'
21137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21143 if test -n "$ac_tool_prefix"; then
21144 for ac_prog in objcc objc gcc cc CC
21146 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21147 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21149 $as_echo_n "checking for $ac_word... " >&6; }
21150 if ${ac_cv_prog_OBJC+:} false; then :
21151 $as_echo_n "(cached) " >&6
21153 if test -n "$OBJC"; then
21154 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
21156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21157 for as_dir in $PATH
21160 test -z "$as_dir" && as_dir=.
21161 for ac_exec_ext in '' $ac_executable_extensions; do
21162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21163 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
21164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21173 OBJC=$ac_cv_prog_OBJC
21174 if test -n "$OBJC"; then
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
21176 $as_echo "$OBJC" >&6; }
21178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21179 $as_echo "no" >&6; }
21183 test -n "$OBJC" && break
21186 if test -z "$OBJC"; then
21188 for ac_prog in objcc objc gcc cc CC
21190 # Extract the first word of "$ac_prog", so it can be a program name with args.
21191 set dummy $ac_prog; ac_word=$2
21192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21193 $as_echo_n "checking for $ac_word... " >&6; }
21194 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
21195 $as_echo_n "(cached) " >&6
21197 if test -n "$ac_ct_OBJC"; then
21198 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
21200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21201 for as_dir in $PATH
21204 test -z "$as_dir" && as_dir=.
21205 for ac_exec_ext in '' $ac_executable_extensions; do
21206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21207 ac_cv_prog_ac_ct_OBJC="$ac_prog"
21208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21217 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
21218 if test -n "$ac_ct_OBJC"; then
21219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
21220 $as_echo "$ac_ct_OBJC" >&6; }
21222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21223 $as_echo "no" >&6; }
21227 test -n "$ac_ct_OBJC" && break
21230 if test "x$ac_ct_OBJC" = x; then
21233 case $cross_compiling:$ac_tool_warned in
21235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21237 ac_tool_warned=yes ;;
21244 OBJC_LDFLAGS="-lobjc"
21246 if test "x$OBJC" != xnone ; then
21248 depcc="$OBJC" am_compiler_list='gcc3 gcc'
21250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
21251 $as_echo_n "checking dependency style of $depcc... " >&6; }
21252 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
21253 $as_echo_n "(cached) " >&6
21255 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
21256 # We make a subdir and do the tests there. Otherwise we can end up
21257 # making bogus files that we don't know about and never remove. For
21258 # instance it was reported that on HP-UX the gcc test will end up
21259 # making a dummy file named `D' -- because `-MD' means `put the output
21261 rm -rf conftest.dir
21263 # Copy depcomp to subdir because otherwise we won't find it if we're
21264 # using a relative directory.
21265 cp "$am_depcomp" conftest.dir
21267 # We will build objects and dependencies in a subdirectory because
21268 # it helps to detect inapplicable dependency modes. For instance
21269 # both Tru64's cc and ICC support -MD to output dependencies as a
21270 # side effect of compilation, but ICC will put the dependencies in
21271 # the current directory while Tru64 will put them in the object
21275 am_cv_OBJC_dependencies_compiler_type=none
21276 if test "$am_compiler_list" = ""; then
21277 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
21279 am__universal=false
21282 for depmode in $am_compiler_list; do
21283 # Setup a source with many dependencies, because some compilers
21284 # like to wrap large dependency lists on column 80 (with \), and
21285 # we should not choose a depcomp mode which is confused by this.
21287 # We need to recreate these files for each test, as the compiler may
21288 # overwrite some of them when testing with obscure command lines.
21289 # This happens at least with the AIX C compiler.
21291 for i in 1 2 3 4 5 6; do
21292 echo '#include "conftst'$i'.h"' >> sub/conftest.c
21293 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
21294 # Solaris 8's {/usr,}/bin/sh.
21295 touch sub/conftst$i.h
21297 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
21299 # We check with `-c' and `-o' for the sake of the "dashmstdout"
21300 # mode. It turns out that the SunPro C++ compiler does not properly
21301 # handle `-M -o', and we need to detect this. Also, some Intel
21302 # versions had trouble with output in subdirs
21303 am__obj=sub/conftest.${OBJEXT-o}
21304 am__minus_obj="-o $am__obj"
21307 # This depmode causes a compiler race in universal mode.
21308 test "$am__universal" = false || continue
21311 # after this tag, mechanisms are not by side-effect, so they'll
21312 # only be used when explicitly requested
21313 if test "x$enable_dependency_tracking" = xyes; then
21319 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
21320 # This compiler won't grok `-c -o', but also, the minuso test has
21321 # not run yet. These depmodes are late enough in the game, and
21322 # so weak that their functioning should not be impacted.
21323 am__obj=conftest.${OBJEXT-o}
21328 if depmode=$depmode \
21329 source=sub/conftest.c object=$am__obj \
21330 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
21331 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
21332 >/dev/null 2>conftest.err &&
21333 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
21334 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
21335 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
21336 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
21337 # icc doesn't choke on unknown options, it will just issue warnings
21338 # or remarks (even with -Werror). So we grep stderr for any message
21339 # that says an option was ignored or not supported.
21340 # When given -MP, icc 7.0 and 7.1 complain thusly:
21341 # icc: Command line warning: ignoring option '-M'; no argument required
21342 # The diagnosis changed in icc 8.0:
21343 # icc: Command line remark: option '-MP' not supported
21344 if (grep 'ignoring option' conftest.err ||
21345 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
21346 am_cv_OBJC_dependencies_compiler_type=$depmode
21353 rm -rf conftest.dir
21355 am_cv_OBJC_dependencies_compiler_type=none
21359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
21360 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
21361 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
21364 test "x$enable_dependency_tracking" != xno \
21365 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
21366 am__fastdepOBJC_TRUE=
21367 am__fastdepOBJC_FALSE='#'
21369 am__fastdepOBJC_TRUE='#'
21370 am__fastdepOBJC_FALSE=
21374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Objective C compiler works" >&5
21375 $as_echo_n "checking if Objective C compiler works... " >&6; }
21376 cat >>conftest.m <<EOF
21377 #include <objc/Object.h>
21378 @interface Moo:Object
21385 @implementation Moo
21400 ${OBJC} conftest.m ${OBJC_LDFLAGS} >&5 2>&5
21401 if test -f a.out -o -f a.exe ; then
21405 echo failed program is: >&5
21408 rm -f conftest.m a.out a.exe
21409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
21410 $as_echo "$result" >&6; }
21413 depcc="$OBJC" am_compiler_list='gcc3 gcc'
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
21416 $as_echo_n "checking dependency style of $depcc... " >&6; }
21417 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
21418 $as_echo_n "(cached) " >&6
21420 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
21421 # We make a subdir and do the tests there. Otherwise we can end up
21422 # making bogus files that we don't know about and never remove. For
21423 # instance it was reported that on HP-UX the gcc test will end up
21424 # making a dummy file named `D' -- because `-MD' means `put the output
21426 rm -rf conftest.dir
21428 # Copy depcomp to subdir because otherwise we won't find it if we're
21429 # using a relative directory.
21430 cp "$am_depcomp" conftest.dir
21432 # We will build objects and dependencies in a subdirectory because
21433 # it helps to detect inapplicable dependency modes. For instance
21434 # both Tru64's cc and ICC support -MD to output dependencies as a
21435 # side effect of compilation, but ICC will put the dependencies in
21436 # the current directory while Tru64 will put them in the object
21440 am_cv_OBJC_dependencies_compiler_type=none
21441 if test "$am_compiler_list" = ""; then
21442 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
21444 am__universal=false
21447 for depmode in $am_compiler_list; do
21448 # Setup a source with many dependencies, because some compilers
21449 # like to wrap large dependency lists on column 80 (with \), and
21450 # we should not choose a depcomp mode which is confused by this.
21452 # We need to recreate these files for each test, as the compiler may
21453 # overwrite some of them when testing with obscure command lines.
21454 # This happens at least with the AIX C compiler.
21456 for i in 1 2 3 4 5 6; do
21457 echo '#include "conftst'$i'.h"' >> sub/conftest.c
21458 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
21459 # Solaris 8's {/usr,}/bin/sh.
21460 touch sub/conftst$i.h
21462 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
21464 # We check with `-c' and `-o' for the sake of the "dashmstdout"
21465 # mode. It turns out that the SunPro C++ compiler does not properly
21466 # handle `-M -o', and we need to detect this. Also, some Intel
21467 # versions had trouble with output in subdirs
21468 am__obj=sub/conftest.${OBJEXT-o}
21469 am__minus_obj="-o $am__obj"
21472 # This depmode causes a compiler race in universal mode.
21473 test "$am__universal" = false || continue
21476 # after this tag, mechanisms are not by side-effect, so they'll
21477 # only be used when explicitly requested
21478 if test "x$enable_dependency_tracking" = xyes; then
21484 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
21485 # This compiler won't grok `-c -o', but also, the minuso test has
21486 # not run yet. These depmodes are late enough in the game, and
21487 # so weak that their functioning should not be impacted.
21488 am__obj=conftest.${OBJEXT-o}
21493 if depmode=$depmode \
21494 source=sub/conftest.c object=$am__obj \
21495 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
21496 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
21497 >/dev/null 2>conftest.err &&
21498 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
21499 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
21500 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
21501 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
21502 # icc doesn't choke on unknown options, it will just issue warnings
21503 # or remarks (even with -Werror). So we grep stderr for any message
21504 # that says an option was ignored or not supported.
21505 # When given -MP, icc 7.0 and 7.1 complain thusly:
21506 # icc: Command line warning: ignoring option '-M'; no argument required
21507 # The diagnosis changed in icc 8.0:
21508 # icc: Command line remark: option '-MP' not supported
21509 if (grep 'ignoring option' conftest.err ||
21510 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
21511 am_cv_OBJC_dependencies_compiler_type=$depmode
21518 rm -rf conftest.dir
21520 am_cv_OBJC_dependencies_compiler_type=none
21524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
21525 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
21526 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
21529 test "x$enable_dependency_tracking" != xno \
21530 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
21531 am__fastdepOBJC_TRUE=
21532 am__fastdepOBJC_FALSE='#'
21534 am__fastdepOBJC_TRUE='#'
21535 am__fastdepOBJC_FALSE=
21543 if test "x$CC" != xcc; then
21544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
21545 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
21547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
21548 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
21550 set dummy $CC; ac_cc=`$as_echo "$2" |
21551 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
21552 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
21553 $as_echo_n "(cached) " >&6
21555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21556 /* end confdefs.h. */
21566 # Make sure it works both with $CC and with simple cc.
21567 # We do the test twice because some compilers refuse to overwrite an
21568 # existing .o file with -o, though they will create one.
21569 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
21571 if { { case "(($ac_try" in
21572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21573 *) ac_try_echo=$ac_try;;
21575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21576 $as_echo "$ac_try_echo"; } >&5
21577 (eval "$ac_try") 2>&5
21579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21580 test $ac_status = 0; } &&
21581 test -f conftest2.$ac_objext && { { case "(($ac_try" in
21582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21583 *) ac_try_echo=$ac_try;;
21585 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21586 $as_echo "$ac_try_echo"; } >&5
21587 (eval "$ac_try") 2>&5
21589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21590 test $ac_status = 0; };
21592 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
21593 if test "x$CC" != xcc; then
21594 # Test first that cc exists at all.
21595 if { ac_try='cc -c conftest.$ac_ext >&5'
21596 { { case "(($ac_try" in
21597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21598 *) ac_try_echo=$ac_try;;
21600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21601 $as_echo "$ac_try_echo"; } >&5
21602 (eval "$ac_try") 2>&5
21604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21605 test $ac_status = 0; }; }; then
21606 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
21608 if { { case "(($ac_try" in
21609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21610 *) ac_try_echo=$ac_try;;
21612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21613 $as_echo "$ac_try_echo"; } >&5
21614 (eval "$ac_try") 2>&5
21616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21617 test $ac_status = 0; } &&
21618 test -f conftest2.$ac_objext && { { case "(($ac_try" in
21619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21620 *) ac_try_echo=$ac_try;;
21622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
21623 $as_echo "$ac_try_echo"; } >&5
21624 (eval "$ac_try") 2>&5
21626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21627 test $ac_status = 0; };
21632 # cc exists but doesn't like -o.
21633 eval ac_cv_prog_cc_${ac_cc}_c_o=no
21638 eval ac_cv_prog_cc_${ac_cc}_c_o=no
21640 rm -f core conftest*
21643 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
21644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21645 $as_echo "yes" >&6; }
21647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21648 $as_echo "no" >&6; }
21650 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
21654 # FIXME: we rely on the cache variable name because
21655 # there is no other way.
21657 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
21658 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
21659 if test "$am_t" != yes; then
21660 # Losing compiler, so override with the script.
21661 # FIXME: It is wrong to rewrite CC.
21662 # But if we don't then we get into trouble of one sort or another.
21663 # A longer-term fix would be to have automake use am__CC in this case,
21664 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
21665 CC="$am_aux_dir/compile $CC"
21670 # By default we simply use the C compiler to build assembly code.
21672 test "${CCAS+set}" = set || CCAS=$CC
21673 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
21677 depcc="$CCAS" am_compiler_list=
21679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
21680 $as_echo_n "checking dependency style of $depcc... " >&6; }
21681 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
21682 $as_echo_n "(cached) " >&6
21684 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
21685 # We make a subdir and do the tests there. Otherwise we can end up
21686 # making bogus files that we don't know about and never remove. For
21687 # instance it was reported that on HP-UX the gcc test will end up
21688 # making a dummy file named `D' -- because `-MD' means `put the output
21690 rm -rf conftest.dir
21692 # Copy depcomp to subdir because otherwise we won't find it if we're
21693 # using a relative directory.
21694 cp "$am_depcomp" conftest.dir
21696 # We will build objects and dependencies in a subdirectory because
21697 # it helps to detect inapplicable dependency modes. For instance
21698 # both Tru64's cc and ICC support -MD to output dependencies as a
21699 # side effect of compilation, but ICC will put the dependencies in
21700 # the current directory while Tru64 will put them in the object
21704 am_cv_CCAS_dependencies_compiler_type=none
21705 if test "$am_compiler_list" = ""; then
21706 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
21708 am__universal=false
21711 for depmode in $am_compiler_list; do
21712 # Setup a source with many dependencies, because some compilers
21713 # like to wrap large dependency lists on column 80 (with \), and
21714 # we should not choose a depcomp mode which is confused by this.
21716 # We need to recreate these files for each test, as the compiler may
21717 # overwrite some of them when testing with obscure command lines.
21718 # This happens at least with the AIX C compiler.
21720 for i in 1 2 3 4 5 6; do
21721 echo '#include "conftst'$i'.h"' >> sub/conftest.c
21722 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
21723 # Solaris 8's {/usr,}/bin/sh.
21724 touch sub/conftst$i.h
21726 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
21728 # We check with `-c' and `-o' for the sake of the "dashmstdout"
21729 # mode. It turns out that the SunPro C++ compiler does not properly
21730 # handle `-M -o', and we need to detect this. Also, some Intel
21731 # versions had trouble with output in subdirs
21732 am__obj=sub/conftest.${OBJEXT-o}
21733 am__minus_obj="-o $am__obj"
21736 # This depmode causes a compiler race in universal mode.
21737 test "$am__universal" = false || continue
21740 # after this tag, mechanisms are not by side-effect, so they'll
21741 # only be used when explicitly requested
21742 if test "x$enable_dependency_tracking" = xyes; then
21748 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
21749 # This compiler won't grok `-c -o', but also, the minuso test has
21750 # not run yet. These depmodes are late enough in the game, and
21751 # so weak that their functioning should not be impacted.
21752 am__obj=conftest.${OBJEXT-o}
21757 if depmode=$depmode \
21758 source=sub/conftest.c object=$am__obj \
21759 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
21760 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
21761 >/dev/null 2>conftest.err &&
21762 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
21763 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
21764 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
21765 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
21766 # icc doesn't choke on unknown options, it will just issue warnings
21767 # or remarks (even with -Werror). So we grep stderr for any message
21768 # that says an option was ignored or not supported.
21769 # When given -MP, icc 7.0 and 7.1 complain thusly:
21770 # icc: Command line warning: ignoring option '-M'; no argument required
21771 # The diagnosis changed in icc 8.0:
21772 # icc: Command line remark: option '-MP' not supported
21773 if (grep 'ignoring option' conftest.err ||
21774 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
21775 am_cv_CCAS_dependencies_compiler_type=$depmode
21782 rm -rf conftest.dir
21784 am_cv_CCAS_dependencies_compiler_type=none
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
21789 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
21790 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
21793 test "x$enable_dependency_tracking" != xno \
21794 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
21795 am__fastdepCCAS_TRUE=
21796 am__fastdepCCAS_FALSE='#'
21798 am__fastdepCCAS_TRUE='#'
21799 am__fastdepCCAS_FALSE=
21806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working do while(0) macros" >&5
21807 $as_echo_n "checking for working do while(0) macros... " >&6; }
21808 if ${_cv_g_support_dowhile_macros+:} false; then :
21809 $as_echo_n "(cached) " >&6
21812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21813 /* end confdefs.h. */
21819 #define STMT_START do
21820 #define STMT_END while(0)
21821 #define STMT_TEST STMT_START { i = 0; } STMT_END
21822 int main(void) { int i = 1; STMT_TEST; return i; }
21827 if ac_fn_c_try_compile "$LINENO"; then :
21828 _cv_g_support_dowhile_macros=yes
21830 _cv_g_support_dowhile_macros=no
21832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_g_support_dowhile_macros" >&5
21836 $as_echo "$_cv_g_support_dowhile_macros" >&6; }
21837 if test x$_cv_g_support_dowhile_macros = xyes; then
21839 $as_echo "#define HAVE_DOWHILE_MACROS 1" >>confdefs.h
21844 # Extract the first word of "valgrind", so it can be a program name with args.
21845 set dummy valgrind; ac_word=$2
21846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21847 $as_echo_n "checking for $ac_word... " >&6; }
21848 if ${ac_cv_path_VALGRIND_PATH+:} false; then :
21849 $as_echo_n "(cached) " >&6
21851 case $VALGRIND_PATH in
21853 ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
21856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21857 for as_dir in $PATH
21860 test -z "$as_dir" && as_dir=.
21861 for ac_exec_ext in '' $ac_executable_extensions; do
21862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21863 ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
21864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21871 test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
21875 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
21876 if test -n "$VALGRIND_PATH"; then
21877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
21878 $as_echo "$VALGRIND_PATH" >&6; }
21880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21881 $as_echo "no" >&6; }
21885 if test ! "x$VALGRIND_PATH" = "xno"; then
21886 HAVE_VALGRIND_TRUE=
21887 HAVE_VALGRIND_FALSE='#'
21889 HAVE_VALGRIND_TRUE='#'
21890 HAVE_VALGRIND_FALSE=
21895 if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
21896 GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
21898 GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
21902 # Check whether --with-gconf-source was given.
21903 if test "${with_gconf_source+set}" = set; then :
21904 withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
21909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
21910 $as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
21912 if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
21913 GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
21917 # Check whether --with-gconf-schema-file-dir was given.
21918 if test "${with_gconf_schema_file_dir+set}" = set; then :
21919 withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
21924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
21925 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
21927 # Check whether --enable-schemas-install was given.
21928 if test "${enable_schemas_install+set}" = set; then :
21929 enableval=$enable_schemas_install; case "${enableval}" in
21930 yes) schemas_install=true ;;
21931 no) schemas_install=false ;;
21932 *) as_fn_error $? "bad value ${enableval} for --disable-schemas-install" "$LINENO" 5 ;;
21935 schemas_install=true
21938 if test x$schemas_install = xtrue; then
21939 GCONF_SCHEMAS_INSTALL_TRUE=
21940 GCONF_SCHEMAS_INSTALL_FALSE='#'
21942 GCONF_SCHEMAS_INSTALL_TRUE='#'
21943 GCONF_SCHEMAS_INSTALL_FALSE=
21950 # Check whether --with-html-dir was given.
21951 if test "${with_html_dir+set}" = set; then :
21952 withval=$with_html_dir;
21954 with_html_dir='${datadir}/gtk-doc/html'
21957 HTML_DIR="$with_html_dir"
21960 # Check whether --enable-gtk-doc was given.
21961 if test "${enable_gtk_doc+set}" = set; then :
21962 enableval=$enable_gtk_doc;
21968 if test x$enable_gtk_doc = xyes; then
21969 if test -n "$PKG_CONFIG" && \
21970 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5
21971 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5
21973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21974 test $ac_status = 0; }; then
21977 as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build gtk-doc" "$LINENO" 5
21979 if test -z "$SED"; then
21980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
21981 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
21982 if ${ac_cv_path_SED+:} false; then :
21983 $as_echo_n "(cached) " >&6
21985 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
21986 for ac_i in 1 2 3 4 5 6 7; do
21987 ac_script="$ac_script$as_nl$ac_script"
21989 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
21990 { ac_script=; unset ac_script;}
21991 if test -z "$SED"; then
21992 ac_path_SED_found=false
21993 # Loop through the user's path and test for each of PROGNAME-LIST
21994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21995 for as_dir in $PATH
21998 test -z "$as_dir" && as_dir=.
21999 for ac_prog in sed gsed; do
22000 for ac_exec_ext in '' $ac_executable_extensions; do
22001 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
22002 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
22003 # Check for GNU ac_path_SED and select it if it is found.
22004 # Check for GNU $ac_path_SED
22005 case `"$ac_path_SED" --version 2>&1` in
22007 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
22010 $as_echo_n 0123456789 >"conftest.in"
22013 cat "conftest.in" "conftest.in" >"conftest.tmp"
22014 mv "conftest.tmp" "conftest.in"
22015 cp "conftest.in" "conftest.nl"
22016 $as_echo '' >> "conftest.nl"
22017 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
22018 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
22019 as_fn_arith $ac_count + 1 && ac_count=$as_val
22020 if test $ac_count -gt ${ac_path_SED_max-0}; then
22021 # Best one so far, save it but keep looking for a better one
22022 ac_cv_path_SED="$ac_path_SED"
22023 ac_path_SED_max=$ac_count
22025 # 10*(2^10) chars as input seems more than enough
22026 test $ac_count -gt 10 && break
22028 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
22031 $ac_path_SED_found && break 3
22036 if test -z "$ac_cv_path_SED"; then
22037 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
22040 ac_cv_path_SED=$SED
22044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
22045 $as_echo "$ac_cv_path_SED" >&6; }
22046 SED="$ac_cv_path_SED"
22052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
22053 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
22054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
22055 $as_echo "$enable_gtk_doc" >&6; }
22057 for ac_prog in gtkdoc-check
22059 # Extract the first word of "$ac_prog", so it can be a program name with args.
22060 set dummy $ac_prog; ac_word=$2
22061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22062 $as_echo_n "checking for $ac_word... " >&6; }
22063 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
22064 $as_echo_n "(cached) " >&6
22066 case $GTKDOC_CHECK in
22068 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
22071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22072 for as_dir in $PATH
22075 test -z "$as_dir" && as_dir=.
22076 for ac_exec_ext in '' $ac_executable_extensions; do
22077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22078 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
22079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22089 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
22090 if test -n "$GTKDOC_CHECK"; then
22091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
22092 $as_echo "$GTKDOC_CHECK" >&6; }
22094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22095 $as_echo "no" >&6; }
22099 test -n "$GTKDOC_CHECK" && break
22103 if test x$enable_gtk_doc = xyes; then
22104 ENABLE_GTK_DOC_TRUE=
22105 ENABLE_GTK_DOC_FALSE='#'
22107 ENABLE_GTK_DOC_TRUE='#'
22108 ENABLE_GTK_DOC_FALSE=
22111 if test -n "$LIBTOOL"; then
22112 GTK_DOC_USE_LIBTOOL_TRUE=
22113 GTK_DOC_USE_LIBTOOL_FALSE='#'
22115 GTK_DOC_USE_LIBTOOL_TRUE='#'
22116 GTK_DOC_USE_LIBTOOL_FALSE=
22122 PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
22123 python1.6 python1.5"
22125 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5
22126 $as_echo "$as_me: Looking for Python version >= 2.1" >&6;}
22130 # split string by '.' and convert to numeric
22131 minver_info = map(string.atoi, string.split(minver, '.'))
22132 # we can now do comparisons on the two lists:
22133 if sys.version_info >= tuple(minver_info):
22139 for python_candidate in $PYTHON_CANDIDATES; do
22141 # Extract the first word of "$python_candidate", so it can be a program name with args.
22142 set dummy $python_candidate; ac_word=$2
22143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22144 $as_echo_n "checking for $ac_word... " >&6; }
22145 if ${ac_cv_path_PYTHON+:} false; then :
22146 $as_echo_n "(cached) " >&6
22150 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
22153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22154 for as_dir in $PATH
22157 test -z "$as_dir" && as_dir=.
22158 for ac_exec_ext in '' $ac_executable_extensions; do
22159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22160 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
22161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22171 PYTHON=$ac_cv_path_PYTHON
22172 if test -n "$PYTHON"; then
22173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
22174 $as_echo "$PYTHON" >&6; }
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22177 $as_echo "no" >&6; }
22180 1> /dev/null 2> /dev/null
22182 if test "x$PYTHON" = "x"; then continue; fi
22184 if $PYTHON -c "$prog" 1>&5 2>&5; then
22185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5
22186 $as_echo_n "checking \"$PYTHON\":... " >&6; }
22187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
22188 $as_echo "okay" >&6; }
22192 unset ac_cv_path_PYTHON
22197 if test "$python_good" != "true"; then
22198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5
22199 $as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
22203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5
22204 $as_echo_n "checking local Python configuration... " >&6; }
22208 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
22213 PYTHON_PREFIX='${prefix}'
22216 PYTHON_EXEC_PREFIX='${exec_prefix}'
22220 PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
22226 pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
22230 pkgpythondir=\${pythondir}/$PACKAGE
22234 pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
22238 pkgpyexecdir=\${pyexecdir}/$PACKAGE
22240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5
22241 $as_echo "looks good" >&6; }
22247 build_plugin_docs=no
22248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5
22249 $as_echo_n "checking whether to build plugin documentation... " >&6; }
22250 if test x$enable_gtk_doc = xyes; then
22251 build_plugin_docs=yes
22252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22253 $as_echo "yes" >&6; }
22255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5
22256 $as_echo "no (gtk-doc disabled or not available)" >&6; }
22259 if test x$build_plugin_docs = xyes; then
22260 ENABLE_PLUGIN_DOCS_TRUE=
22261 ENABLE_PLUGIN_DOCS_FALSE='#'
22263 ENABLE_PLUGIN_DOCS_TRUE='#'
22264 ENABLE_PLUGIN_DOCS_FALSE=
22272 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
22273 # These system don't have libm, or don't need it
22276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
22277 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
22278 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
22279 $as_echo_n "(cached) " >&6
22281 ac_check_lib_save_LIBS=$LIBS
22283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22284 /* end confdefs.h. */
22286 /* Override any GCC internal prototype to avoid an error.
22287 Use char because int might match the return type of a GCC
22288 builtin and then its argument prototype would still apply. */
22292 char _mwvalidcheckl ();
22296 return _mwvalidcheckl ();
22301 if ac_fn_c_try_link "$LINENO"; then :
22302 ac_cv_lib_mw__mwvalidcheckl=yes
22304 ac_cv_lib_mw__mwvalidcheckl=no
22306 rm -f core conftest.err conftest.$ac_objext \
22307 conftest$ac_exeext conftest.$ac_ext
22308 LIBS=$ac_check_lib_save_LIBS
22310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
22311 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
22312 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
22316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
22317 $as_echo_n "checking for cos in -lm... " >&6; }
22318 if ${ac_cv_lib_m_cos+:} false; then :
22319 $as_echo_n "(cached) " >&6
22321 ac_check_lib_save_LIBS=$LIBS
22323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22324 /* end confdefs.h. */
22326 /* Override any GCC internal prototype to avoid an error.
22327 Use char because int might match the return type of a GCC
22328 builtin and then its argument prototype would still apply. */
22341 if ac_fn_c_try_link "$LINENO"; then :
22342 ac_cv_lib_m_cos=yes
22346 rm -f core conftest.err conftest.$ac_objext \
22347 conftest$ac_exeext conftest.$ac_ext
22348 LIBS=$ac_check_lib_save_LIBS
22350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
22351 $as_echo "$ac_cv_lib_m_cos" >&6; }
22352 if test "x$ac_cv_lib_m_cos" = xyes; then :
22358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
22359 $as_echo_n "checking for cos in -lm... " >&6; }
22360 if ${ac_cv_lib_m_cos+:} false; then :
22361 $as_echo_n "(cached) " >&6
22363 ac_check_lib_save_LIBS=$LIBS
22365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22366 /* end confdefs.h. */
22368 /* Override any GCC internal prototype to avoid an error.
22369 Use char because int might match the return type of a GCC
22370 builtin and then its argument prototype would still apply. */
22383 if ac_fn_c_try_link "$LINENO"; then :
22384 ac_cv_lib_m_cos=yes
22388 rm -f core conftest.err conftest.$ac_objext \
22389 conftest$ac_exeext conftest.$ac_ext
22390 LIBS=$ac_check_lib_save_LIBS
22392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
22393 $as_echo "$ac_cv_lib_m_cos" >&6; }
22394 if test "x$ac_cv_lib_m_cos" = xyes; then :
22405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
22406 $as_echo_n "checking for ANSI C header files... " >&6; }
22407 if ${ac_cv_header_stdc+:} false; then :
22408 $as_echo_n "(cached) " >&6
22410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22411 /* end confdefs.h. */
22412 #include <stdlib.h>
22413 #include <stdarg.h>
22414 #include <string.h>
22425 if ac_fn_c_try_compile "$LINENO"; then :
22426 ac_cv_header_stdc=yes
22428 ac_cv_header_stdc=no
22430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22432 if test $ac_cv_header_stdc = yes; then
22433 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
22434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22435 /* end confdefs.h. */
22436 #include <string.h>
22439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22440 $EGREP "memchr" >/dev/null 2>&1; then :
22443 ac_cv_header_stdc=no
22449 if test $ac_cv_header_stdc = yes; then
22450 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
22451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22452 /* end confdefs.h. */
22453 #include <stdlib.h>
22456 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22457 $EGREP "free" >/dev/null 2>&1; then :
22460 ac_cv_header_stdc=no
22466 if test $ac_cv_header_stdc = yes; then
22467 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
22468 if test "$cross_compiling" = yes; then :
22471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22472 /* end confdefs.h. */
22474 #include <stdlib.h>
22475 #if ((' ' & 0x0FF) == 0x020)
22476 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
22477 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
22479 # define ISLOWER(c) \
22480 (('a' <= (c) && (c) <= 'i') \
22481 || ('j' <= (c) && (c) <= 'r') \
22482 || ('s' <= (c) && (c) <= 'z'))
22483 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
22486 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
22491 for (i = 0; i < 256; i++)
22492 if (XOR (islower (i), ISLOWER (i))
22493 || toupper (i) != TOUPPER (i))
22498 if ac_fn_c_try_run "$LINENO"; then :
22501 ac_cv_header_stdc=no
22503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22504 conftest.$ac_objext conftest.beam conftest.$ac_ext
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
22510 $as_echo "$ac_cv_header_stdc" >&6; }
22511 if test $ac_cv_header_stdc = yes; then
22513 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
22518 # ------ AX CREATE STDINT H -------------------------------------
22519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
22520 $as_echo_n "checking for stdint types... " >&6; }
22521 ac_stdint_h=`echo _stdint.h`
22522 # try to shortcircuit - if the default include path of the compiler
22523 # can find a "stdint.h" header then we assume that all compilers can.
22524 if ${ac_cv_header_stdint_t+:} false; then :
22525 $as_echo_n "(cached) " >&6
22528 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
22529 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
22530 old_CFLAGS="$CFLAGS" ; CFLAGS=""
22531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22532 /* end confdefs.h. */
22533 #include <stdint.h>
22537 int_least32_t v = 0;
22542 if ac_fn_c_try_compile "$LINENO"; then :
22543 ac_cv_stdint_result="(assuming C99 compatible system)"
22544 ac_cv_header_stdint_t="stdint.h";
22546 ac_cv_header_stdint_t=""
22548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22549 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
22551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22552 /* end confdefs.h. */
22553 #include <stdint.h>
22557 int_least32_t v = 0;
22562 if ac_fn_c_try_compile "$LINENO"; then :
22563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
22564 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
22566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22568 CXXFLAGS="$old_CXXFLAGS"
22569 CPPFLAGS="$old_CPPFLAGS"
22570 CFLAGS="$old_CFLAGS"
22574 v="... $ac_cv_header_stdint_h"
22575 if test "$ac_stdint_h" = "stdint.h" ; then
22576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
22577 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
22578 elif test "$ac_stdint_h" = "inttypes.h" ; then
22579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
22580 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
22581 elif test "_$ac_cv_header_stdint_t" = "_" ; then
22582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
22583 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
22585 ac_cv_header_stdint="$ac_cv_header_stdint_t"
22586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
22587 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
22590 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
22593 inttype_headers=`echo | sed -e 's/,/ /g'`
22595 ac_cv_stdint_result="(no helpful system typedefs seen)"
22597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
22598 $as_echo_n "checking for stdint uintptr_t... " >&6; }
22599 if ${ac_cv_header_stdint_x+:} false; then :
22600 $as_echo_n "(cached) " >&6
22603 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
22604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
22605 $as_echo "(..)" >&6; }
22606 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers
22608 unset ac_cv_type_uintptr_t
22609 unset ac_cv_type_uint64_t
22610 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
22612 if test "x$ac_cv_type_uintptr_t" = xyes; then :
22613 ac_cv_header_stdint_x=$i
22618 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
22620 if test "x$ac_cv_type_uint64_t" = xyes; then :
22626 ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
22630 $as_echo_n "checking for stdint uintptr_t... " >&6; }
22633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
22634 $as_echo "$ac_cv_header_stdint_x" >&6; }
22637 if test "_$ac_cv_header_stdint_x" = "_" ; then
22639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
22640 $as_echo_n "checking for stdint uint32_t... " >&6; }
22641 if ${ac_cv_header_stdint_o+:} false; then :
22642 $as_echo_n "(cached) " >&6
22645 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
22646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
22647 $as_echo "(..)" >&6; }
22648 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers
22650 unset ac_cv_type_uint32_t
22651 unset ac_cv_type_uint64_t
22652 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
22654 if test "x$ac_cv_type_uint32_t" = xyes; then :
22655 ac_cv_header_stdint_o=$i
22660 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
22662 if test "x$ac_cv_type_uint64_t" = xyes; then :
22668 ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
22672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
22673 $as_echo_n "checking for stdint uint32_t... " >&6; }
22676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
22677 $as_echo "$ac_cv_header_stdint_o" >&6; }
22681 if test "_$ac_cv_header_stdint_x" = "_" ; then
22682 if test "_$ac_cv_header_stdint_o" = "_" ; then
22684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
22685 $as_echo_n "checking for stdint u_int32_t... " >&6; }
22686 if ${ac_cv_header_stdint_u+:} false; then :
22687 $as_echo_n "(cached) " >&6
22690 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
22691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
22692 $as_echo "(..)" >&6; }
22693 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
22694 unset ac_cv_type_u_int32_t
22695 unset ac_cv_type_u_int64_t
22696 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
22698 if test "x$ac_cv_type_u_int32_t" = xyes; then :
22699 ac_cv_header_stdint_u=$i
22704 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
22706 if test "x$ac_cv_type_u_int64_t" = xyes; then :
22712 ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
22716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
22717 $as_echo_n "checking for stdint u_int32_t... " >&6; }
22720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
22721 $as_echo "$ac_cv_header_stdint_u" >&6; }
22725 if test "_$ac_cv_header_stdint_x" = "_" ; then
22726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
22727 $as_echo_n "checking for stdint datatype model... " >&6; }
22728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
22729 $as_echo "(..)" >&6; }
22731 # The cast to long int works around a bug in the HP C Compiler
22732 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22733 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22734 # This bug is HP SR number 8606223364.
22735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
22736 $as_echo_n "checking size of char... " >&6; }
22737 if ${ac_cv_sizeof_char+:} false; then :
22738 $as_echo_n "(cached) " >&6
22740 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
22743 if test "$ac_cv_type_char" = yes; then
22744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22746 as_fn_error 77 "cannot compute sizeof (char)
22747 See \`config.log' for more details" "$LINENO" 5; }
22749 ac_cv_sizeof_char=0
22754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
22755 $as_echo "$ac_cv_sizeof_char" >&6; }
22759 cat >>confdefs.h <<_ACEOF
22760 #define SIZEOF_CHAR $ac_cv_sizeof_char
22764 # The cast to long int works around a bug in the HP C Compiler
22765 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22766 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22767 # This bug is HP SR number 8606223364.
22768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
22769 $as_echo_n "checking size of short... " >&6; }
22770 if ${ac_cv_sizeof_short+:} false; then :
22771 $as_echo_n "(cached) " >&6
22773 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
22776 if test "$ac_cv_type_short" = yes; then
22777 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22779 as_fn_error 77 "cannot compute sizeof (short)
22780 See \`config.log' for more details" "$LINENO" 5; }
22782 ac_cv_sizeof_short=0
22787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
22788 $as_echo "$ac_cv_sizeof_short" >&6; }
22792 cat >>confdefs.h <<_ACEOF
22793 #define SIZEOF_SHORT $ac_cv_sizeof_short
22797 # The cast to long int works around a bug in the HP C Compiler
22798 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22799 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22800 # This bug is HP SR number 8606223364.
22801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
22802 $as_echo_n "checking size of int... " >&6; }
22803 if ${ac_cv_sizeof_int+:} false; then :
22804 $as_echo_n "(cached) " >&6
22806 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
22809 if test "$ac_cv_type_int" = yes; then
22810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22812 as_fn_error 77 "cannot compute sizeof (int)
22813 See \`config.log' for more details" "$LINENO" 5; }
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
22821 $as_echo "$ac_cv_sizeof_int" >&6; }
22825 cat >>confdefs.h <<_ACEOF
22826 #define SIZEOF_INT $ac_cv_sizeof_int
22830 # The cast to long int works around a bug in the HP C Compiler
22831 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22832 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22833 # This bug is HP SR number 8606223364.
22834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
22835 $as_echo_n "checking size of long... " >&6; }
22836 if ${ac_cv_sizeof_long+:} false; then :
22837 $as_echo_n "(cached) " >&6
22839 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
22842 if test "$ac_cv_type_long" = yes; then
22843 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22845 as_fn_error 77 "cannot compute sizeof (long)
22846 See \`config.log' for more details" "$LINENO" 5; }
22848 ac_cv_sizeof_long=0
22853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
22854 $as_echo "$ac_cv_sizeof_long" >&6; }
22858 cat >>confdefs.h <<_ACEOF
22859 #define SIZEOF_LONG $ac_cv_sizeof_long
22863 # The cast to long int works around a bug in the HP C Compiler
22864 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22865 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22866 # This bug is HP SR number 8606223364.
22867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
22868 $as_echo_n "checking size of void*... " >&6; }
22869 if ${ac_cv_sizeof_voidp+:} false; then :
22870 $as_echo_n "(cached) " >&6
22872 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
22875 if test "$ac_cv_type_voidp" = yes; then
22876 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22877 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22878 as_fn_error 77 "cannot compute sizeof (void*)
22879 See \`config.log' for more details" "$LINENO" 5; }
22881 ac_cv_sizeof_voidp=0
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
22887 $as_echo "$ac_cv_sizeof_voidp" >&6; }
22891 cat >>confdefs.h <<_ACEOF
22892 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
22896 ac_cv_char_data_model=""
22897 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
22898 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
22899 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
22900 ac_cv_long_data_model=""
22901 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
22902 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
22903 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
22904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
22905 $as_echo_n "checking data model... " >&6; }
22906 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
22907 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
22908 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
22909 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
22910 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
22911 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
22912 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
22913 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
22914 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
22915 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
22916 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
22917 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
22918 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
22919 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
22920 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
22921 222/*|333/*|444/*|666/*|888/*) :
22922 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
22923 *) ac_cv_data_model="none" ; n="very unusual model" ;;
22925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
22926 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
22930 if test "_$ac_cv_header_stdint_x" != "_" ; then
22931 ac_cv_header_stdint="$ac_cv_header_stdint_x"
22932 elif test "_$ac_cv_header_stdint_o" != "_" ; then
22933 ac_cv_header_stdint="$ac_cv_header_stdint_o"
22934 elif test "_$ac_cv_header_stdint_u" != "_" ; then
22935 ac_cv_header_stdint="$ac_cv_header_stdint_u"
22937 ac_cv_header_stdint="stddef.h"
22940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
22941 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
22942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
22943 $as_echo "($ac_cv_header_stdint)" >&6; }
22944 unset ac_cv_type_int_least32_t
22945 unset ac_cv_type_int_fast32_t
22946 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
22948 if test "x$ac_cv_type_int_least32_t" = xyes; then :
22952 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
22954 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
22958 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
22960 if test "x$ac_cv_type_intmax_t" = xyes; then :
22965 fi # shortcircut to system "stdint.h"
22966 # ------------------ PREPARE VARIABLES ------------------------------
22967 if test "$GCC" = "yes" ; then
22968 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
22970 ac_cv_stdint_message="using $CC"
22973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
22974 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
22976 # ----------------- DONE inttypes.h checks START header -------------
22977 ac_config_commands="$ac_config_commands $ac_stdint_h"
22981 for ac_header in netinet/in.h
22983 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
22984 if test "x$ac_cv_header_netinet_in_h" = xyes; then :
22985 cat >>confdefs.h <<_ACEOF
22986 #define HAVE_NETINET_IN_H 1
22993 for ac_header in winsock2.h
22995 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
22996 if test "x$ac_cv_header_winsock2_h" = xyes; then :
22997 cat >>confdefs.h <<_ACEOF
22998 #define HAVE_WINSOCK2_H 1
23000 HAVE_WINSOCK2_H=yes
23005 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
23006 HAVE_WINSOCK2_H_TRUE=
23007 HAVE_WINSOCK2_H_FALSE='#'
23009 HAVE_WINSOCK2_H_TRUE='#'
23010 HAVE_WINSOCK2_H_FALSE=
23014 for ac_header in sys/time.h
23016 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
23017 if test "x$ac_cv_header_sys_time_h" = xyes; then :
23018 cat >>confdefs.h <<_ACEOF
23019 #define HAVE_SYS_TIME_H 1
23030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/ioctl.h" >&5
23031 $as_echo_n "checking for FIONREAD in sys/ioctl.h... " >&6; }
23032 if ${_cv_gst_fionread_in_sys_ioctl+:} false; then :
23033 $as_echo_n "(cached) " >&6
23036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23037 /* end confdefs.h. */
23039 #include <sys/types.h>
23040 #include <sys/ioctl.h>
23054 if ac_fn_c_try_compile "$LINENO"; then :
23055 _cv_gst_fionread_in_sys_ioctl="yes"
23057 _cv_gst_fionread_in_sys_ioctl="no"
23059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_ioctl" >&5
23065 $as_echo "$_cv_gst_fionread_in_sys_ioctl" >&6; }
23067 if test "$_cv_gst_fionread_in_sys_ioctl" = "yes"; then
23069 $as_echo "#define HAVE_FIONREAD_IN_SYS_IOCTL 1" >>confdefs.h
23074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/filio.h" >&5
23075 $as_echo_n "checking for FIONREAD in sys/filio.h... " >&6; }
23076 if ${_cv_gst_fionread_in_sys_filio+:} false; then :
23077 $as_echo_n "(cached) " >&6
23080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23081 /* end confdefs.h. */
23083 #include <sys/types.h>
23084 #include <sys/filio.h>
23098 if ac_fn_c_try_compile "$LINENO"; then :
23099 _cv_gst_fionread_in_sys_filio="yes"
23101 _cv_gst_fionread_in_sys_filio="no"
23103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_filio" >&5
23109 $as_echo "$_cv_gst_fionread_in_sys_filio" >&6; }
23111 if test "$_cv_gst_fionread_in_sys_filio" = "yes"; then
23113 $as_echo "#define HAVE_FIONREAD_IN_SYS_FILIO 1" >>confdefs.h
23124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports gcc-style inline assembly" >&5
23125 $as_echo_n "checking if compiler supports gcc-style inline assembly... " >&6; }
23127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23128 /* end confdefs.h. */
23134 #ifdef __GNUC_MINOR__
23135 #if (__GNUC__ * 1000 + __GNUC_MINOR__) < 3004
23136 #error GCC before 3.4 has critical bugs compiling inline assembly
23144 if ac_fn_c_try_compile "$LINENO"; then :
23149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23151 if test "X$flag_ok" = Xyes ; then
23158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23159 $as_echo "$flag_ok" >&6; }
23161 if test x$HAVE_GCC_ASM = xyes ; then
23163 $as_echo "#define HAVE_GCC_ASM 1" >>confdefs.h
23166 if test "x$HAVE_GCC_ASM" = "xyes"; then
23168 HAVE_GCC_ASM_FALSE='#'
23170 HAVE_GCC_ASM_TRUE='#'
23171 HAVE_GCC_ASM_FALSE=
23178 for ac_func in rint sinh cosh asinh fpclass
23180 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23181 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23182 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23183 cat >>confdefs.h <<_ACEOF
23184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
23193 $as_echo_n "checking for isinf... " >&6; }
23194 if ${ac_cv_have_isinf+:} false; then :
23195 $as_echo_n "(cached) " >&6
23197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23198 /* end confdefs.h. */
23203 float f = 0.0; int i=isinf(f)
23208 if ac_fn_c_try_link "$LINENO"; then :
23209 ac_cv_have_isinf="yes"
23211 ac_cv_have_isinf="no"
23213 rm -f core conftest.err conftest.$ac_objext \
23214 conftest$ac_exeext conftest.$ac_ext
23216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
23217 $as_echo "$ac_cv_have_isinf" >&6; }
23218 if test "$ac_cv_have_isinf" = "yes"
23221 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
23228 for ac_header in $ac_header_list
23230 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
23231 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
23233 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
23234 cat >>confdefs.h <<_ACEOF
23235 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
23249 for ac_func in getpagesize
23251 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
23252 if test "x$ac_cv_func_getpagesize" = xyes; then :
23253 cat >>confdefs.h <<_ACEOF
23254 #define HAVE_GETPAGESIZE 1
23260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
23261 $as_echo_n "checking for working mmap... " >&6; }
23262 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
23263 $as_echo_n "(cached) " >&6
23265 if test "$cross_compiling" = yes; then :
23266 ac_cv_func_mmap_fixed_mapped=no
23268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23269 /* end confdefs.h. */
23270 $ac_includes_default
23271 /* malloc might have been renamed as rpl_malloc. */
23274 /* Thanks to Mike Haertel and Jim Avera for this test.
23275 Here is a matrix of mmap possibilities:
23276 mmap private not fixed
23277 mmap private fixed at somewhere currently unmapped
23278 mmap private fixed at somewhere already mapped
23279 mmap shared not fixed
23280 mmap shared fixed at somewhere currently unmapped
23281 mmap shared fixed at somewhere already mapped
23282 For private mappings, we should verify that changes cannot be read()
23283 back from the file, nor mmap's back from the file at a different
23284 address. (There have been systems where private was not correctly
23285 implemented like the infamous i386 svr4.0, and systems where the
23286 VM page cache was not coherent with the file system buffer cache
23287 like early versions of FreeBSD and possibly contemporary NetBSD.)
23288 For shared mappings, we should conversely verify that changes get
23289 propagated back to all the places they're supposed to be.
23291 Grep wants private fixed already mapped.
23292 The main things grep needs to know about mmap are:
23293 * does it exist and is it safe to write into the mmap'd area
23294 * how to use it (BSD variants) */
23297 #include <sys/mman.h>
23299 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
23303 /* This mess was copied from the GNU getpagesize.h. */
23304 #ifndef HAVE_GETPAGESIZE
23305 # ifdef _SC_PAGESIZE
23306 # define getpagesize() sysconf(_SC_PAGESIZE)
23307 # else /* no _SC_PAGESIZE */
23308 # ifdef HAVE_SYS_PARAM_H
23309 # include <sys/param.h>
23310 # ifdef EXEC_PAGESIZE
23311 # define getpagesize() EXEC_PAGESIZE
23312 # else /* no EXEC_PAGESIZE */
23314 # define getpagesize() NBPG * CLSIZE
23317 # endif /* no CLSIZE */
23318 # else /* no NBPG */
23320 # define getpagesize() NBPC
23321 # else /* no NBPC */
23323 # define getpagesize() PAGESIZE
23324 # endif /* PAGESIZE */
23325 # endif /* no NBPC */
23326 # endif /* no NBPG */
23327 # endif /* no EXEC_PAGESIZE */
23328 # else /* no HAVE_SYS_PARAM_H */
23329 # define getpagesize() 8192 /* punt totally */
23330 # endif /* no HAVE_SYS_PARAM_H */
23331 # endif /* no _SC_PAGESIZE */
23333 #endif /* no HAVE_GETPAGESIZE */
23338 char *data, *data2, *data3;
23339 const char *cdata2;
23343 pagesize = getpagesize ();
23345 /* First, make a file with some known garbage in it. */
23346 data = (char *) malloc (pagesize);
23349 for (i = 0; i < pagesize; ++i)
23350 *(data + i) = rand ();
23352 fd = creat ("conftest.mmap", 0600);
23355 if (write (fd, data, pagesize) != pagesize)
23359 /* Next, check that the tail of a page is zero-filled. File must have
23360 non-zero length, otherwise we risk SIGBUS for entire page. */
23361 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
23365 if (write (fd2, cdata2, 1) != 1)
23367 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
23368 if (data2 == MAP_FAILED)
23370 for (i = 0; i < pagesize; ++i)
23374 if (munmap (data2, pagesize))
23377 /* Next, try to mmap the file at a fixed address which already has
23378 something else allocated at it. If we can, also make sure that
23379 we see the same garbage. */
23380 fd = open ("conftest.mmap", O_RDWR);
23383 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
23384 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23386 for (i = 0; i < pagesize; ++i)
23387 if (*(data + i) != *(data2 + i))
23390 /* Finally, make sure that changes to the mapped area do not
23391 percolate back to the file as seen by read(). (This is a bug on
23392 some variants of i386 svr4.0.) */
23393 for (i = 0; i < pagesize; ++i)
23394 *(data2 + i) = *(data2 + i) + 1;
23395 data3 = (char *) malloc (pagesize);
23398 if (read (fd, data3, pagesize) != pagesize)
23400 for (i = 0; i < pagesize; ++i)
23401 if (*(data + i) != *(data3 + i))
23407 if ac_fn_c_try_run "$LINENO"; then :
23408 ac_cv_func_mmap_fixed_mapped=yes
23410 ac_cv_func_mmap_fixed_mapped=no
23412 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23413 conftest.$ac_objext conftest.beam conftest.$ac_ext
23417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
23418 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
23419 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23421 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
23424 rm -f conftest.mmap conftest.txt
23426 if test "x$ac_cv_func_mmap_fixed_mapped" = "xyes"; then
23427 GST_HAVE_MMAP_TRUE=
23428 GST_HAVE_MMAP_FALSE='#'
23430 GST_HAVE_MMAP_TRUE='#'
23431 GST_HAVE_MMAP_FALSE=
23436 ac_fn_c_check_type "$LINENO" "struct ip_mreqn" "ac_cv_type_struct_ip_mreqn" "#include <netinet/in.h>
23438 if test "x$ac_cv_type_struct_ip_mreqn" = xyes; then :
23441 $as_echo "#define HAVE_IP_MREQN /**/" >>confdefs.h
23451 if test "x$GLIB_REQ" = "x"
23453 as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5
23458 which="glib-2.0 >= $GLIB_REQ gobject-2.0 gthread-2.0 gmodule-no-export-2.0"
23463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
23464 $as_echo_n "checking for GLIB... " >&6; }
23466 if test -n "$PKG_CONFIG"; then
23467 if test -n "$GLIB_CFLAGS"; then
23468 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
23470 if test -n "$PKG_CONFIG" && \
23471 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
23472 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
23474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23475 test $ac_status = 0; }; then
23476 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
23484 if test -n "$PKG_CONFIG"; then
23485 if test -n "$GLIB_LIBS"; then
23486 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
23488 if test -n "$PKG_CONFIG" && \
23489 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
23490 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
23492 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23493 test $ac_status = 0; }; then
23494 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
23505 if test $pkg_failed = yes; then
23507 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23508 _pkg_short_errors_supported=yes
23510 _pkg_short_errors_supported=no
23512 if test $_pkg_short_errors_supported = yes; then
23513 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
23515 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
23517 # Put the nasty error message in config.log where it belongs
23518 echo "$GLIB_PKG_ERRORS" >&5
23520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23521 $as_echo "no" >&6; }
23524 if test "x$required" = "xyes"; then
23525 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
23527 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
23528 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
23531 elif test $pkg_failed = untried; then
23534 if test "x$required" = "xyes"; then
23535 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
23537 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
23538 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
23542 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
23543 GLIB_LIBS=$pkg_cv_GLIB_LIBS
23544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23545 $as_echo "yes" >&6; }
23553 if test "x$HAVE_GLIB" = "xno"; then
23554 as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5
23557 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY"
23559 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23560 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED"
23563 # Check whether --enable-gobject-cast-checks was given.
23564 if test "${enable_gobject_cast_checks+set}" = set; then :
23565 enableval=$enable_gobject_cast_checks;
23567 enable_gobject_cast_checks=auto
23571 if test "x$enable_gobject_cast_checks" = "xauto"; then
23572 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23573 enable_gobject_cast_checks=yes
23575 enable_gobject_cast_checks=no
23579 if test "x$enable_gobject_cast_checks" = "xno"; then
23580 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS"
23583 # Check whether --enable-glib-asserts was given.
23584 if test "${enable_glib_asserts+set}" = set; then :
23585 enableval=$enable_glib_asserts;
23587 enable_glib_assertions=auto
23591 if test "x$enable_glib_assertions" = "xauto"; then
23592 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23593 enable_glib_assertions=yes
23595 enable_glib_assertions=no
23599 if test "x$enable_glib_assertions" = "xno"; then
23600 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT"
23604 GIVEN_CFLAGS=$GLIB_CFLAGS
23605 INCLUDE_DIRS=`echo | cpp -v 2>&1`
23607 INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
23608 for dir in $INCLUDE_DIRS; do
23609 GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
23611 GLIB_CFLAGS=$GIVEN_CFLAGS
23618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
23619 $as_echo_n "checking for GIO... " >&6; }
23621 if test -n "$PKG_CONFIG"; then
23622 if test -n "$GIO_CFLAGS"; then
23623 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
23625 if test -n "$PKG_CONFIG" && \
23626 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gio-2.0 >= 2.20 \""; } >&5
23627 ($PKG_CONFIG --exists --print-errors " gio-2.0 >= 2.20 ") 2>&5
23629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23630 test $ac_status = 0; }; then
23631 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags " gio-2.0 >= 2.20 " 2>/dev/null`
23639 if test -n "$PKG_CONFIG"; then
23640 if test -n "$GIO_LIBS"; then
23641 pkg_cv_GIO_LIBS="$GIO_LIBS"
23643 if test -n "$PKG_CONFIG" && \
23644 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gio-2.0 >= 2.20 \""; } >&5
23645 ($PKG_CONFIG --exists --print-errors " gio-2.0 >= 2.20 ") 2>&5
23647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23648 test $ac_status = 0; }; then
23649 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs " gio-2.0 >= 2.20 " 2>/dev/null`
23660 if test $pkg_failed = yes; then
23662 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23663 _pkg_short_errors_supported=yes
23665 _pkg_short_errors_supported=no
23667 if test $_pkg_short_errors_supported = yes; then
23668 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " gio-2.0 >= 2.20 "`
23670 GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " gio-2.0 >= 2.20 "`
23672 # Put the nasty error message in config.log where it belongs
23673 echo "$GIO_PKG_ERRORS" >&5
23675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23676 $as_echo "no" >&6; }
23677 as_fn_error $? "gio is required" "$LINENO" 5
23678 elif test $pkg_failed = untried; then
23679 as_fn_error $? "gio is required" "$LINENO" 5
23681 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
23682 GIO_LIBS=$pkg_cv_GIO_LIBS
23683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23684 $as_echo "yes" >&6; }
23691 # Check whether --enable-orc was given.
23692 if test "${enable_orc+set}" = set; then :
23693 enableval=$enable_orc; case "${enableval}" in
23694 auto) enable_orc=auto ;;
23695 yes) enable_orc=yes ;;
23696 no) enable_orc=no ;;
23697 *) as_fn_error $? "bad value ${enableval} for --enable-orc" "$LINENO" 5 ;;
23704 if test "x$enable_orc" != "xno" ; then
23707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ORC" >&5
23708 $as_echo_n "checking for ORC... " >&6; }
23710 if test -n "$PKG_CONFIG"; then
23711 if test -n "$ORC_CFLAGS"; then
23712 pkg_cv_ORC_CFLAGS="$ORC_CFLAGS"
23714 if test -n "$PKG_CONFIG" && \
23715 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
23716 ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
23718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23719 test $ac_status = 0; }; then
23720 pkg_cv_ORC_CFLAGS=`$PKG_CONFIG --cflags "orc-0.4 >= $ORC_REQ" 2>/dev/null`
23728 if test -n "$PKG_CONFIG"; then
23729 if test -n "$ORC_LIBS"; then
23730 pkg_cv_ORC_LIBS="$ORC_LIBS"
23732 if test -n "$PKG_CONFIG" && \
23733 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
23734 ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
23736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23737 test $ac_status = 0; }; then
23738 pkg_cv_ORC_LIBS=`$PKG_CONFIG --libs "orc-0.4 >= $ORC_REQ" 2>/dev/null`
23749 if test $pkg_failed = yes; then
23751 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23752 _pkg_short_errors_supported=yes
23754 _pkg_short_errors_supported=no
23756 if test $_pkg_short_errors_supported = yes; then
23757 ORC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
23759 ORC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
23761 # Put the nasty error message in config.log where it belongs
23762 echo "$ORC_PKG_ERRORS" >&5
23764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23765 $as_echo "no" >&6; }
23767 if test "x$enable_orc" = "xyes" ; then
23768 as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
23771 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
23776 elif test $pkg_failed = untried; then
23778 if test "x$enable_orc" = "xyes" ; then
23779 as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
23782 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
23788 ORC_CFLAGS=$pkg_cv_ORC_CFLAGS
23789 ORC_LIBS=$pkg_cv_ORC_LIBS
23790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23791 $as_echo "yes" >&6; }
23794 $as_echo "#define HAVE_ORC 1" >>confdefs.h
23797 if test "x$ORCC" = "x" ; then
23798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable orcc" >&5
23799 $as_echo_n "checking for usable orcc... " >&6; }
23800 ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
23801 if $ORCC --version 1> /dev/null 2> /dev/null; then :
23806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ORCC" >&5
23807 $as_echo "$ORCC" >&6; }
23810 ORCC_FLAGS="--compat $ORC_REQ"
23812 if test "x$ORCC" = "x"; then :
23821 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
23826 if test "x$HAVE_ORC" = "xyes"; then
23834 if test "x$HAVE_ORCC" = "xyes"; then
23836 HAVE_ORCC_FALSE='#'
23847 module=gstreamer-$GST_MAJORMINOR
23853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
23854 $as_echo_n "checking for GST... " >&6; }
23856 if test -n "$PKG_CONFIG"; then
23857 if test -n "$GST_CFLAGS"; then
23858 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
23860 if test -n "$PKG_CONFIG" && \
23861 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23862 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23865 test $ac_status = 0; }; then
23866 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23874 if test -n "$PKG_CONFIG"; then
23875 if test -n "$GST_LIBS"; then
23876 pkg_cv_GST_LIBS="$GST_LIBS"
23878 if test -n "$PKG_CONFIG" && \
23879 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23880 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23883 test $ac_status = 0; }; then
23884 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23895 if test $pkg_failed = yes; then
23897 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23898 _pkg_short_errors_supported=yes
23900 _pkg_short_errors_supported=no
23902 if test $_pkg_short_errors_supported = yes; then
23903 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23905 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23907 # Put the nasty error message in config.log where it belongs
23908 echo "$GST_PKG_ERRORS" >&5
23910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23911 $as_echo "no" >&6; }
23914 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
23915 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
23916 if test "x$required" = "xyes"; then
23917 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23919 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23920 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23923 elif test $pkg_failed = untried; then
23926 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
23927 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
23928 if test "x$required" = "xyes"; then
23929 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23931 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23932 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23936 GST_CFLAGS=$pkg_cv_GST_CFLAGS
23937 GST_LIBS=$pkg_cv_GST_LIBS
23938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23939 $as_echo "yes" >&6; }
23946 if test -z $GST_TOOLS_DIR; then
23947 GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
23948 if test -z $GST_TOOLS_DIR; then
23949 as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
23952 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5
23953 $as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;}
23956 if test -z $GST_PLUGINS_DIR; then
23957 GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_MAJORMINOR`
23958 if test -z $GST_PLUGINS_DIR; then
23959 as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
23962 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5
23963 $as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;}
23968 module=gstreamer-base-$GST_MAJORMINOR
23970 name="GStreamer Base Libraries"
23974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
23975 $as_echo_n "checking for GST_BASE... " >&6; }
23977 if test -n "$PKG_CONFIG"; then
23978 if test -n "$GST_BASE_CFLAGS"; then
23979 pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
23981 if test -n "$PKG_CONFIG" && \
23982 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23983 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23986 test $ac_status = 0; }; then
23987 pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23995 if test -n "$PKG_CONFIG"; then
23996 if test -n "$GST_BASE_LIBS"; then
23997 pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
23999 if test -n "$PKG_CONFIG" && \
24000 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24001 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24004 test $ac_status = 0; }; then
24005 pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24016 if test $pkg_failed = yes; then
24018 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24019 _pkg_short_errors_supported=yes
24021 _pkg_short_errors_supported=no
24023 if test $_pkg_short_errors_supported = yes; then
24024 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24026 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24028 # Put the nasty error message in config.log where it belongs
24029 echo "$GST_BASE_PKG_ERRORS" >&5
24031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24032 $as_echo "no" >&6; }
24035 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
24036 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
24037 if test "x$required" = "xyes"; then
24038 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24040 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24041 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24044 elif test $pkg_failed = untried; then
24047 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
24048 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
24049 if test "x$required" = "xyes"; then
24050 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24052 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24053 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24057 GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
24058 GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
24059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24060 $as_echo "yes" >&6; }
24062 HAVE_GST_BASE="yes"
24070 module=gstreamer-dataprotocol-$GST_MAJORMINOR
24072 name="GStreamer Data Protocol Library"
24076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_GDP" >&5
24077 $as_echo_n "checking for GST_GDP... " >&6; }
24079 if test -n "$PKG_CONFIG"; then
24080 if test -n "$GST_GDP_CFLAGS"; then
24081 pkg_cv_GST_GDP_CFLAGS="$GST_GDP_CFLAGS"
24083 if test -n "$PKG_CONFIG" && \
24084 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24085 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24088 test $ac_status = 0; }; then
24089 pkg_cv_GST_GDP_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24097 if test -n "$PKG_CONFIG"; then
24098 if test -n "$GST_GDP_LIBS"; then
24099 pkg_cv_GST_GDP_LIBS="$GST_GDP_LIBS"
24101 if test -n "$PKG_CONFIG" && \
24102 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24103 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24106 test $ac_status = 0; }; then
24107 pkg_cv_GST_GDP_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24118 if test $pkg_failed = yes; then
24120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24121 _pkg_short_errors_supported=yes
24123 _pkg_short_errors_supported=no
24125 if test $_pkg_short_errors_supported = yes; then
24126 GST_GDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24128 GST_GDP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24130 # Put the nasty error message in config.log where it belongs
24131 echo "$GST_GDP_PKG_ERRORS" >&5
24133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24134 $as_echo "no" >&6; }
24137 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5
24138 $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;}
24139 if test "x$required" = "xyes"; then
24140 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24142 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24143 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24146 elif test $pkg_failed = untried; then
24149 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5
24150 $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;}
24151 if test "x$required" = "xyes"; then
24152 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24154 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24155 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24159 GST_GDP_CFLAGS=$pkg_cv_GST_GDP_CFLAGS
24160 GST_GDP_LIBS=$pkg_cv_GST_GDP_LIBS
24161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24162 $as_echo "yes" >&6; }
24172 module=gstreamer-controller-$GST_MAJORMINOR
24174 name="GStreamer Controller Library"
24178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CONTROLLER" >&5
24179 $as_echo_n "checking for GST_CONTROLLER... " >&6; }
24181 if test -n "$PKG_CONFIG"; then
24182 if test -n "$GST_CONTROLLER_CFLAGS"; then
24183 pkg_cv_GST_CONTROLLER_CFLAGS="$GST_CONTROLLER_CFLAGS"
24185 if test -n "$PKG_CONFIG" && \
24186 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24187 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24190 test $ac_status = 0; }; then
24191 pkg_cv_GST_CONTROLLER_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24199 if test -n "$PKG_CONFIG"; then
24200 if test -n "$GST_CONTROLLER_LIBS"; then
24201 pkg_cv_GST_CONTROLLER_LIBS="$GST_CONTROLLER_LIBS"
24203 if test -n "$PKG_CONFIG" && \
24204 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24205 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24208 test $ac_status = 0; }; then
24209 pkg_cv_GST_CONTROLLER_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24220 if test $pkg_failed = yes; then
24222 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24223 _pkg_short_errors_supported=yes
24225 _pkg_short_errors_supported=no
24227 if test $_pkg_short_errors_supported = yes; then
24228 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24230 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24232 # Put the nasty error message in config.log where it belongs
24233 echo "$GST_CONTROLLER_PKG_ERRORS" >&5
24235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24236 $as_echo "no" >&6; }
24238 HAVE_GST_CONTROLLER="no"
24239 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
24240 $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
24241 if test "x$required" = "xyes"; then
24242 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24244 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24245 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24248 elif test $pkg_failed = untried; then
24250 HAVE_GST_CONTROLLER="no"
24251 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
24252 $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
24253 if test "x$required" = "xyes"; then
24254 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24256 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24257 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24261 GST_CONTROLLER_CFLAGS=$pkg_cv_GST_CONTROLLER_CFLAGS
24262 GST_CONTROLLER_LIBS=$pkg_cv_GST_CONTROLLER_LIBS
24263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24264 $as_echo "yes" >&6; }
24266 HAVE_GST_CONTROLLER="yes"
24274 module=gstreamer-check-$GST_MAJORMINOR
24276 name="GStreamer Check unittest Library"
24280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5
24281 $as_echo_n "checking for GST_CHECK... " >&6; }
24283 if test -n "$PKG_CONFIG"; then
24284 if test -n "$GST_CHECK_CFLAGS"; then
24285 pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS"
24287 if test -n "$PKG_CONFIG" && \
24288 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24289 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24292 test $ac_status = 0; }; then
24293 pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24301 if test -n "$PKG_CONFIG"; then
24302 if test -n "$GST_CHECK_LIBS"; then
24303 pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS"
24305 if test -n "$PKG_CONFIG" && \
24306 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24307 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24310 test $ac_status = 0; }; then
24311 pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24322 if test $pkg_failed = yes; then
24324 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24325 _pkg_short_errors_supported=yes
24327 _pkg_short_errors_supported=no
24329 if test $_pkg_short_errors_supported = yes; then
24330 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24332 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24334 # Put the nasty error message in config.log where it belongs
24335 echo "$GST_CHECK_PKG_ERRORS" >&5
24337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24338 $as_echo "no" >&6; }
24340 HAVE_GST_CHECK="no"
24341 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
24342 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
24343 if test "x$required" = "xyes"; then
24344 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24346 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24347 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24350 elif test $pkg_failed = untried; then
24352 HAVE_GST_CHECK="no"
24353 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
24354 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
24355 if test "x$required" = "xyes"; then
24356 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24358 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24359 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24363 GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
24364 GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
24365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24366 $as_echo "yes" >&6; }
24368 HAVE_GST_CHECK="yes"
24376 module=gstreamer-plugins-base-$GST_MAJORMINOR
24378 name="GStreamer Base Plugins"
24382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BASE" >&5
24383 $as_echo_n "checking for GST_PLUGINS_BASE... " >&6; }
24385 if test -n "$PKG_CONFIG"; then
24386 if test -n "$GST_PLUGINS_BASE_CFLAGS"; then
24387 pkg_cv_GST_PLUGINS_BASE_CFLAGS="$GST_PLUGINS_BASE_CFLAGS"
24389 if test -n "$PKG_CONFIG" && \
24390 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24391 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24394 test $ac_status = 0; }; then
24395 pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24403 if test -n "$PKG_CONFIG"; then
24404 if test -n "$GST_PLUGINS_BASE_LIBS"; then
24405 pkg_cv_GST_PLUGINS_BASE_LIBS="$GST_PLUGINS_BASE_LIBS"
24407 if test -n "$PKG_CONFIG" && \
24408 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24409 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24412 test $ac_status = 0; }; then
24413 pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24424 if test $pkg_failed = yes; then
24426 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24427 _pkg_short_errors_supported=yes
24429 _pkg_short_errors_supported=no
24431 if test $_pkg_short_errors_supported = yes; then
24432 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24434 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24436 # Put the nasty error message in config.log where it belongs
24437 echo "$GST_PLUGINS_BASE_PKG_ERRORS" >&5
24439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24440 $as_echo "no" >&6; }
24442 HAVE_GST_PLUGINS_BASE="no"
24443 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
24444 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
24445 if test "x$required" = "xyes"; then
24446 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24448 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24449 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24452 elif test $pkg_failed = untried; then
24454 HAVE_GST_PLUGINS_BASE="no"
24455 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
24456 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
24457 if test "x$required" = "xyes"; then
24458 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24460 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24461 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24465 GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
24466 GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
24467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24468 $as_echo "yes" >&6; }
24470 HAVE_GST_PLUGINS_BASE="yes"
24476 if test "x$HAVE_GST_PLUGINS_BASE" = "xyes"; then
24477 if test -z $GSTPB_PLUGINS_DIR; then
24478 GSTPB_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-base-$GST_MAJORMINOR`
24479 if test -z $GSTPB_PLUGINS_DIR; then
24480 as_fn_error $? "no pluginsdir set in GStreamer Base Plugins pkg-config file" "$LINENO" 5
24483 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
24484 $as_echo "$as_me: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
24485 GST_PLUGINS_BASE_DIR="$GSTPB_PLUGINS_DIR/gst:$GSTPB_PLUGINS_DIR/sys:$GSTPB_PLUGINS_DIR/ext"
24491 GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
24492 if test -z $GST_TOOLS_DIR; then
24493 as_fn_error $? "no tools dir defined in GStreamer pkg-config file; core upgrade needed." "$LINENO" 5
24497 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Core Plugins in $GST_PLUGINS_DIR" >&5
24498 $as_echo "$as_me: Using GStreamer Core Plugins in $GST_PLUGINS_DIR" >&6;}
24499 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
24500 $as_echo "$as_me: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
24502 if test "x$HAVE_GST_CHECK" = "xyes"; then
24503 HAVE_GST_CHECK_TRUE=
24504 HAVE_GST_CHECK_FALSE='#'
24506 HAVE_GST_CHECK_TRUE='#'
24507 HAVE_GST_CHECK_FALSE=
24511 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
24512 GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`"
24513 GSTPB_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-plugins-base-$GST_MAJORMINOR`"
24521 if test "x$BUILD_EXAMPLES" = "xyes"; then
24522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which gtk+ version to compile examples against (optional)" >&5
24523 $as_echo_n "checking which gtk+ version to compile examples against (optional)... " >&6; }
24525 # Check whether --with-gtk was given.
24526 if test "${with_gtk+set}" = set; then :
24527 withval=$with_gtk; case "$with_gtk" in
24528 2.0) GTK_REQ=$GTK2_REQ ;;
24529 3.0) GTK_REQ=$GTK3_REQ ;;
24530 *) as_fn_error $? "invalid gtk+ version specified" "$LINENO" 5;;
24537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gtk (>= $GTK_REQ)" >&5
24538 $as_echo "$with_gtk (>= $GTK_REQ)" >&6; }
24541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
24542 $as_echo_n "checking for GTK... " >&6; }
24544 if test -n "$PKG_CONFIG"; then
24545 if test -n "$GTK_CFLAGS"; then
24546 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
24548 if test -n "$PKG_CONFIG" && \
24549 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$with_gtk >= \$GTK_REQ\""; } >&5
24550 ($PKG_CONFIG --exists --print-errors "gtk+-$with_gtk >= $GTK_REQ") 2>&5
24552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24553 test $ac_status = 0; }; then
24554 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$with_gtk >= $GTK_REQ" 2>/dev/null`
24562 if test -n "$PKG_CONFIG"; then
24563 if test -n "$GTK_LIBS"; then
24564 pkg_cv_GTK_LIBS="$GTK_LIBS"
24566 if test -n "$PKG_CONFIG" && \
24567 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$with_gtk >= \$GTK_REQ\""; } >&5
24568 ($PKG_CONFIG --exists --print-errors "gtk+-$with_gtk >= $GTK_REQ") 2>&5
24570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24571 test $ac_status = 0; }; then
24572 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-$with_gtk >= $GTK_REQ" 2>/dev/null`
24583 if test $pkg_failed = yes; then
24585 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24586 _pkg_short_errors_supported=yes
24588 _pkg_short_errors_supported=no
24590 if test $_pkg_short_errors_supported = yes; then
24591 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-$with_gtk >= $GTK_REQ"`
24593 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-$with_gtk >= $GTK_REQ"`
24595 # Put the nasty error message in config.log where it belongs
24596 echo "$GTK_PKG_ERRORS" >&5
24598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24599 $as_echo "no" >&6; }
24601 elif test $pkg_failed = untried; then
24604 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
24605 GTK_LIBS=$pkg_cv_GTK_LIBS
24606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24607 $as_echo "yes" >&6; }
24612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_X11" >&5
24613 $as_echo_n "checking for GTK_X11... " >&6; }
24615 if test -n "$PKG_CONFIG"; then
24616 if test -n "$GTK_X11_CFLAGS"; then
24617 pkg_cv_GTK_X11_CFLAGS="$GTK_X11_CFLAGS"
24619 if test -n "$PKG_CONFIG" && \
24620 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-\$with_gtk >= \$GTK_REQ\""; } >&5
24621 ($PKG_CONFIG --exists --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ") 2>&5
24623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24624 test $ac_status = 0; }; then
24625 pkg_cv_GTK_X11_CFLAGS=`$PKG_CONFIG --cflags "gtk+-x11-$with_gtk >= $GTK_REQ" 2>/dev/null`
24633 if test -n "$PKG_CONFIG"; then
24634 if test -n "$GTK_X11_LIBS"; then
24635 pkg_cv_GTK_X11_LIBS="$GTK_X11_LIBS"
24637 if test -n "$PKG_CONFIG" && \
24638 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-\$with_gtk >= \$GTK_REQ\""; } >&5
24639 ($PKG_CONFIG --exists --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ") 2>&5
24641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24642 test $ac_status = 0; }; then
24643 pkg_cv_GTK_X11_LIBS=`$PKG_CONFIG --libs "gtk+-x11-$with_gtk >= $GTK_REQ" 2>/dev/null`
24654 if test $pkg_failed = yes; then
24656 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24657 _pkg_short_errors_supported=yes
24659 _pkg_short_errors_supported=no
24661 if test $_pkg_short_errors_supported = yes; then
24662 GTK_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ"`
24664 GTK_X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ"`
24666 # Put the nasty error message in config.log where it belongs
24667 echo "$GTK_X11_PKG_ERRORS" >&5
24669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24670 $as_echo "no" >&6; }
24672 elif test $pkg_failed = untried; then
24675 GTK_X11_CFLAGS=$pkg_cv_GTK_X11_CFLAGS
24676 GTK_X11_LIBS=$pkg_cv_GTK_X11_LIBS
24677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24678 $as_echo "yes" >&6; }
24684 if test "x$HAVE_GTK" = "xyes"; then
24692 if test "x$HAVE_GTK_X11" = "xyes"; then
24694 HAVE_GTK_X11_FALSE='#'
24696 HAVE_GTK_X11_TRUE='#'
24697 HAVE_GTK_X11_FALSE=
24702 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GConf schemas ***" >&5
24703 $as_echo "$as_me: *** checking feature: GConf schemas ***" >&6;}
24706 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
24707 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
24710 if test "x$USE_GCONFTOOL" = "xno"; then
24713 # Check whether --enable-gconftool was given.
24714 if test "${enable_gconftool+set}" = set; then :
24715 enableval=$enable_gconftool; case "${enableval}" in
24716 yes) USE_GCONFTOOL=yes;;
24717 no) USE_GCONFTOOL=no;;
24718 *) as_fn_error $? "bad value ${enableval} for --enable-gconftool" "$LINENO" 5 ;;
24724 if test "x$NOUSE" = "xyes"; then
24726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
24727 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
24732 if test x$USE_GCONFTOOL = xyes; then
24734 gst_check_save_LIBS=$LIBS
24735 gst_check_save_LDFLAGS=$LDFLAGS
24736 gst_check_save_CFLAGS=$CFLAGS
24737 gst_check_save_CPPFLAGS=$CPPFLAGS
24738 gst_check_save_CXXFLAGS=$CXXFLAGS
24742 # Extract the first word of "gconftool-2", so it can be a program name with args.
24743 set dummy gconftool-2; ac_word=$2
24744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24745 $as_echo_n "checking for $ac_word... " >&6; }
24746 if ${ac_cv_path_GCONFTOOL+:} false; then :
24747 $as_echo_n "(cached) " >&6
24751 ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
24754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24755 for as_dir in $PATH
24758 test -z "$as_dir" && as_dir=.
24759 for ac_exec_ext in '' $ac_executable_extensions; do
24760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24761 ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
24762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24769 test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
24773 GCONFTOOL=$ac_cv_path_GCONFTOOL
24774 if test -n "$GCONFTOOL"; then
24775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
24776 $as_echo "$GCONFTOOL" >&6; }
24778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24779 $as_echo "no" >&6; }
24783 if test x$GCONFTOOL = xno; then
24784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not installing GConf schemas" >&5
24785 $as_echo "$as_me: WARNING: Not installing GConf schemas" >&2;}
24786 HAVE_GCONFTOOL="no"
24788 HAVE_GCONFTOOL="yes"
24793 LIBS=$gst_check_save_LIBS
24794 LDFLAGS=$gst_check_save_LDFLAGS
24795 CFLAGS=$gst_check_save_CFLAGS
24796 CPPFLAGS=$gst_check_save_CPPFLAGS
24797 CXXFLAGS=$gst_check_save_CXXFLAGS
24799 if test x$HAVE_GCONFTOOL = xno; then
24805 if test x$USE_GCONFTOOL = xyes; then
24807 if test "x" != "x"; then
24808 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
24811 $as_echo "#define HAVE_GCONFTOOL /**/" >>confdefs.h
24815 if test "x" != "x"; then
24816 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
24820 if test x$USE_GCONFTOOL = xyes; then
24821 USE_GCONFTOOL_TRUE=
24822 USE_GCONFTOOL_FALSE='#'
24824 USE_GCONFTOOL_TRUE='#'
24825 USE_GCONFTOOL_FALSE=
24833 cat >>confdefs.h <<_ACEOF
24834 #define GST_LICENSE "$GST_LICENSE"
24842 FROM_VAR=${libdir}/gstreamer-$GST_MAJORMINOR
24844 prefix_save=$prefix
24845 exec_prefix_save=$exec_prefix
24847 if test "x$prefix" = "xNONE"; then
24848 prefix="$ac_default_prefix"
24850 if test "x$exec_prefix" = "xNONE"; then
24851 exec_prefix=$prefix
24854 full_var="$FROM_VAR"
24856 new_full_var="`eval echo $full_var`"
24857 if test "x$new_full_var" = "x$full_var"; then break; fi
24858 full_var=$new_full_var
24861 full_var=$new_full_var
24862 PLUGINDIR="$full_var"
24865 prefix=$prefix_save
24866 exec_prefix=$exec_prefix_save
24869 cat >>confdefs.h <<_ACEOF
24870 #define PLUGINDIR "$PLUGINDIR"
24873 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
24874 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
24876 plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
24881 if test "x$PACKAGE_VERSION_NANO" = "x0"; then
24883 if test "xyes" = "xno" -o "xyes" = "x"; then
24884 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
24885 elif test "xyes" = "xyes"; then
24886 if ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24887 GST_PACKAGE_RELEASE_DATETIME=yes
24889 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO "${srcdir}/gst-plugins-good.doap" `;
24890 if test "x$YYYY_MM_DD" != "x"; then
24891 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
24893 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
24894 release date for release version $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO from \"${srcdir}/gst-plugins-good.doap\" " "$LINENO" 5
24895 GST_PACKAGE_RELEASE_DATETIME=""
24898 elif ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24899 GST_PACKAGE_RELEASE_DATETIME=yes
24901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
24902 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
24903 GST_PACKAGE_RELEASE_DATETIME=""
24906 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
24907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
24908 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
24910 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
24911 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
24914 cat >>confdefs.h <<_ACEOF
24915 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
24922 if test "xno" = "xno" -o "xno" = "x"; then
24923 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
24924 elif test "xno" = "xyes"; then
24925 if ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24926 GST_PACKAGE_RELEASE_DATETIME=no
24928 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" `;
24929 if test "x$YYYY_MM_DD" != "x"; then
24930 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
24932 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
24933 release date for release version from " "$LINENO" 5
24934 GST_PACKAGE_RELEASE_DATETIME=""
24937 elif ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24938 GST_PACKAGE_RELEASE_DATETIME=no
24940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
24941 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
24942 GST_PACKAGE_RELEASE_DATETIME=""
24945 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
24946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
24947 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
24949 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
24950 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
24953 cat >>confdefs.h <<_ACEOF
24954 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
24962 if test "x$HAVE_OSX_VIDEO" != "xyes"; then
24971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
24972 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
24974 save_CFLAGS="$CFLAGS"
24975 CFLAGS="$CFLAGS -Wall"
24977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24978 /* end confdefs.h. */
24988 if ac_fn_c_try_compile "$LINENO"; then :
24993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24994 CFLAGS="$save_CFLAGS"
24996 if test "X$flag_ok" = Xyes ; then
24997 WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
25003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25004 $as_echo "$flag_ok" >&6; }
25008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
25009 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
25011 save_CFLAGS="$CFLAGS"
25012 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
25014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25015 /* end confdefs.h. */
25025 if ac_fn_c_try_compile "$LINENO"; then :
25030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25031 CFLAGS="$save_CFLAGS"
25033 if test "X$flag_ok" = Xyes ; then
25034 WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
25040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25041 $as_echo "$flag_ok" >&6; }
25045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
25046 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
25048 save_CFLAGS="$CFLAGS"
25049 CFLAGS="$CFLAGS -Wvla"
25051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25052 /* end confdefs.h. */
25062 if ac_fn_c_try_compile "$LINENO"; then :
25067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25068 CFLAGS="$save_CFLAGS"
25070 if test "X$flag_ok" = Xyes ; then
25071 WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25078 $as_echo "$flag_ok" >&6; }
25082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
25083 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
25085 save_CFLAGS="$CFLAGS"
25086 CFLAGS="$CFLAGS -Wpointer-arith"
25088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25089 /* end confdefs.h. */
25099 if ac_fn_c_try_compile "$LINENO"; then :
25104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25105 CFLAGS="$save_CFLAGS"
25107 if test "X$flag_ok" = Xyes ; then
25108 WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
25114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25115 $as_echo "$flag_ok" >&6; }
25118 if test "x$GST_GIT" != "xno"
25121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
25122 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
25124 save_CFLAGS="$CFLAGS"
25125 CFLAGS="$CFLAGS -Werror"
25127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25128 /* end confdefs.h. */
25138 if ac_fn_c_try_compile "$LINENO"; then :
25143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25144 CFLAGS="$save_CFLAGS"
25146 if test "X$flag_ok" = Xyes ; then
25147 ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
25153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25154 $as_echo "$flag_ok" >&6; }
25157 if test "x$ERROR_CFLAGS" = "x"
25160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
25161 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
25163 save_CFLAGS="$CFLAGS"
25164 CFLAGS="$CFLAGS -errwarn=%all"
25166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25167 /* end confdefs.h. */
25177 if ac_fn_c_try_compile "$LINENO"; then :
25182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25183 CFLAGS="$save_CFLAGS"
25185 if test "X$flag_ok" = Xyes ; then
25187 ERROR_CFLAGS="-errwarn=%all"
25188 for f in 'no%E_EMPTY_DECLARATION' \
25189 'no%E_STATEMENT_NOT_REACHED' \
25190 'no%E_ARGUEMENT_MISMATCH' \
25191 'no%E_MACRO_REDEFINED' \
25192 'no%E_LOOP_NOT_ENTERED_AT_TOP'
25195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
25196 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
25198 save_CFLAGS="$CFLAGS"
25199 CFLAGS="$CFLAGS -errwarn=%all,$f"
25201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25202 /* end confdefs.h. */
25212 if ac_fn_c_try_compile "$LINENO"; then :
25217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25218 CFLAGS="$save_CFLAGS"
25220 if test "X$flag_ok" = Xyes ; then
25222 ERROR_CFLAGS="$ERROR_CFLAGS,$f"
25229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25230 $as_echo "$flag_ok" >&6; }
25239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25240 $as_echo "$flag_ok" >&6; }
25243 if test -n "$PKG_CONFIG" && \
25244 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
25245 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
25247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25248 test $ac_status = 0; }; then
25251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
25252 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
25254 save_CFLAGS="$CFLAGS"
25255 CFLAGS="$CFLAGS -fno-strict-aliasing"
25257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25258 /* end confdefs.h. */
25268 if ac_fn_c_try_compile "$LINENO"; then :
25273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25274 CFLAGS="$save_CFLAGS"
25276 if test "X$flag_ok" = Xyes ; then
25277 ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
25283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25284 $as_echo "$flag_ok" >&6; }
25292 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
25293 -Wwrite-strings -Wold-style-definition -Waggregate-return
25294 -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
25295 -Wnested-externs " != "x"
25299 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
25300 -Wwrite-strings -Wold-style-definition -Waggregate-return
25301 -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
25306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
25307 $as_echo_n "checking to see if compiler understands $each... " >&6; }
25309 save_CFLAGS="$CFLAGS"
25310 CFLAGS="$CFLAGS $each"
25312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25313 /* end confdefs.h. */
25323 if ac_fn_c_try_compile "$LINENO"; then :
25328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25329 CFLAGS="$save_CFLAGS"
25331 if test "X$flag_ok" = Xyes ; then
25332 WARNING_CFLAGS="$WARNING_CFLAGS $each"
25335 UNSUPPORTED="$UNSUPPORTED $each"
25338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25339 $as_echo "$flag_ok" >&6; }
25342 if test "X$UNSUPPORTED" != X ; then
25343 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
25344 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
25350 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
25351 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
25352 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
25353 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
25364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
25365 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
25367 save_CFLAGS="$CFLAGS"
25368 CFLAGS="$CFLAGS -Wall"
25370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25371 /* end confdefs.h. */
25381 if ac_fn_c_try_compile "$LINENO"; then :
25386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25387 CFLAGS="$save_CFLAGS"
25389 if test "X$flag_ok" = Xyes ; then
25390 WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
25396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25397 $as_echo "$flag_ok" >&6; }
25401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
25402 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
25404 save_CFLAGS="$CFLAGS"
25405 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
25407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25408 /* end confdefs.h. */
25418 if ac_fn_c_try_compile "$LINENO"; then :
25423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25424 CFLAGS="$save_CFLAGS"
25426 if test "X$flag_ok" = Xyes ; then
25427 WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
25433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25434 $as_echo "$flag_ok" >&6; }
25438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
25439 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
25441 save_CFLAGS="$CFLAGS"
25442 CFLAGS="$CFLAGS -Wvla"
25444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25445 /* end confdefs.h. */
25455 if ac_fn_c_try_compile "$LINENO"; then :
25460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25461 CFLAGS="$save_CFLAGS"
25463 if test "X$flag_ok" = Xyes ; then
25464 WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
25470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25471 $as_echo "$flag_ok" >&6; }
25475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
25476 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
25478 save_CFLAGS="$CFLAGS"
25479 CFLAGS="$CFLAGS -Wpointer-arith"
25481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25482 /* end confdefs.h. */
25492 if ac_fn_c_try_compile "$LINENO"; then :
25497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25498 CFLAGS="$save_CFLAGS"
25500 if test "X$flag_ok" = Xyes ; then
25501 WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
25507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25508 $as_echo "$flag_ok" >&6; }
25511 if test "x$GST_GIT" != "xno"
25514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
25515 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
25517 save_CFLAGS="$CFLAGS"
25518 CFLAGS="$CFLAGS -Werror"
25520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25521 /* end confdefs.h. */
25531 if ac_fn_c_try_compile "$LINENO"; then :
25536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25537 CFLAGS="$save_CFLAGS"
25539 if test "X$flag_ok" = Xyes ; then
25540 ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
25546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25547 $as_echo "$flag_ok" >&6; }
25550 if test "x$ERROR_CFLAGS" = "x"
25553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
25554 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
25556 save_CFLAGS="$CFLAGS"
25557 CFLAGS="$CFLAGS -errwarn=%all"
25559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25560 /* end confdefs.h. */
25570 if ac_fn_c_try_compile "$LINENO"; then :
25575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25576 CFLAGS="$save_CFLAGS"
25578 if test "X$flag_ok" = Xyes ; then
25580 ERROR_CFLAGS="-errwarn=%all"
25581 for f in 'no%E_EMPTY_DECLARATION' \
25582 'no%E_STATEMENT_NOT_REACHED' \
25583 'no%E_ARGUEMENT_MISMATCH' \
25584 'no%E_MACRO_REDEFINED' \
25585 'no%E_LOOP_NOT_ENTERED_AT_TOP'
25588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
25589 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
25591 save_CFLAGS="$CFLAGS"
25592 CFLAGS="$CFLAGS -errwarn=%all,$f"
25594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25595 /* end confdefs.h. */
25605 if ac_fn_c_try_compile "$LINENO"; then :
25610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25611 CFLAGS="$save_CFLAGS"
25613 if test "X$flag_ok" = Xyes ; then
25615 ERROR_CFLAGS="$ERROR_CFLAGS,$f"
25622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25623 $as_echo "$flag_ok" >&6; }
25632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25633 $as_echo "$flag_ok" >&6; }
25636 if test -n "$PKG_CONFIG" && \
25637 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
25638 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
25640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25641 test $ac_status = 0; }; then
25644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
25645 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
25647 save_CFLAGS="$CFLAGS"
25648 CFLAGS="$CFLAGS -fno-strict-aliasing"
25650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25651 /* end confdefs.h. */
25661 if ac_fn_c_try_compile "$LINENO"; then :
25666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25667 CFLAGS="$save_CFLAGS"
25669 if test "X$flag_ok" = Xyes ; then
25670 ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
25676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25677 $as_echo "$flag_ok" >&6; }
25685 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
25686 -Wwrite-strings -Wold-style-definition
25687 -Winit-self -Wmissing-include-dirs -Wno-multichar
25688 -Wnested-externs " != "x"
25692 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
25693 -Wwrite-strings -Wold-style-definition
25694 -Winit-self -Wmissing-include-dirs -Wno-multichar
25699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
25700 $as_echo_n "checking to see if compiler understands $each... " >&6; }
25702 save_CFLAGS="$CFLAGS"
25703 CFLAGS="$CFLAGS $each"
25705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25706 /* end confdefs.h. */
25716 if ac_fn_c_try_compile "$LINENO"; then :
25721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25722 CFLAGS="$save_CFLAGS"
25724 if test "X$flag_ok" = Xyes ; then
25725 WARNING_CFLAGS="$WARNING_CFLAGS $each"
25728 UNSUPPORTED="$UNSUPPORTED $each"
25731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25732 $as_echo "$flag_ok" >&6; }
25735 if test "X$UNSUPPORTED" != X ; then
25736 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
25737 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
25743 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
25744 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
25745 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
25746 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
25753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands " >&5
25754 $as_echo_n "checking to see if c++ compiler understands ... " >&6; }
25756 save_CPPFLAGS="$CPPFLAGS"
25757 CPPFLAGS="$CPPFLAGS "
25760 ac_cpp='$CXXCPP $CPPFLAGS'
25761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25767 /* end confdefs.h. */
25777 if ac_fn_cxx_try_compile "$LINENO"; then :
25782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25783 CPPFLAGS="$save_CPPFLAGS"
25785 if test "X$flag_ok" = Xyes ; then
25794 ac_cpp='$CPP $CPPFLAGS'
25795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25801 $as_echo "$flag_ok" >&6; }
25808 WARNING_CXXFLAGS=""
25813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wall" >&5
25814 $as_echo_n "checking to see if c++ compiler understands -Wall... " >&6; }
25816 save_CPPFLAGS="$CPPFLAGS"
25817 CPPFLAGS="$CPPFLAGS -Wall"
25820 ac_cpp='$CXXCPP $CPPFLAGS'
25821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25827 /* end confdefs.h. */
25837 if ac_fn_cxx_try_compile "$LINENO"; then :
25842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25843 CPPFLAGS="$save_CPPFLAGS"
25845 if test "X$flag_ok" = Xyes ; then
25846 WARNING_CXXFLAGS="$WARNING_CXXFLAGS -Wall"
25854 ac_cpp='$CPP $CPPFLAGS'
25855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25861 $as_echo "$flag_ok" >&6; }
25864 if test "x$GST_GIT" != "xno"
25869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Werror" >&5
25870 $as_echo_n "checking to see if c++ compiler understands -Werror... " >&6; }
25872 save_CPPFLAGS="$CPPFLAGS"
25873 CPPFLAGS="$CPPFLAGS -Werror"
25876 ac_cpp='$CXXCPP $CPPFLAGS'
25877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25883 /* end confdefs.h. */
25893 if ac_fn_cxx_try_compile "$LINENO"; then :
25898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25899 CPPFLAGS="$save_CPPFLAGS"
25901 if test "X$flag_ok" = Xyes ; then
25902 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror"
25910 ac_cpp='$CPP $CPPFLAGS'
25911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25917 $as_echo "$flag_ok" >&6; }
25920 if test "x$ERROR_CXXFLAGS" != "x"
25925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wno-non-virtual-dtor" >&5
25926 $as_echo_n "checking to see if c++ compiler understands -Wno-non-virtual-dtor... " >&6; }
25928 save_CPPFLAGS="$CPPFLAGS"
25929 CPPFLAGS="$CPPFLAGS -Wno-non-virtual-dtor"
25932 ac_cpp='$CXXCPP $CPPFLAGS'
25933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25939 /* end confdefs.h. */
25949 if ac_fn_cxx_try_compile "$LINENO"; then :
25954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25955 CPPFLAGS="$save_CPPFLAGS"
25957 if test "X$flag_ok" = Xyes ; then
25958 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Wno-non-virtual-dtor"
25966 ac_cpp='$CPP $CPPFLAGS'
25967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25973 $as_echo "$flag_ok" >&6; }
25976 if test -n "$PKG_CONFIG" && \
25977 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
25978 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
25980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25981 test $ac_status = 0; }; then
25986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -fno-strict-aliasing" >&5
25987 $as_echo_n "checking to see if c++ compiler understands -fno-strict-aliasing... " >&6; }
25989 save_CPPFLAGS="$CPPFLAGS"
25990 CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
25993 ac_cpp='$CXXCPP $CPPFLAGS'
25994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26000 /* end confdefs.h. */
26010 if ac_fn_cxx_try_compile "$LINENO"; then :
26015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26016 CPPFLAGS="$save_CPPFLAGS"
26018 if test "X$flag_ok" = Xyes ; then
26019 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -fno-strict-aliasing"
26027 ac_cpp='$CPP $CPPFLAGS'
26028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26034 $as_echo "$flag_ok" >&6; }
26042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all" >&5
26043 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all... " >&6; }
26045 save_CPPFLAGS="$CPPFLAGS"
26046 CPPFLAGS="$CPPFLAGS -errwarn=%all"
26049 ac_cpp='$CXXCPP $CPPFLAGS'
26050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26056 /* end confdefs.h. */
26066 if ac_fn_cxx_try_compile "$LINENO"; then :
26071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26072 CPPFLAGS="$save_CPPFLAGS"
26074 if test "X$flag_ok" = Xyes ; then
26075 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -errwarn=%all"
26083 ac_cpp='$CPP $CPPFLAGS'
26084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26090 $as_echo "$flag_ok" >&6; }
26092 if test "x$ERROR_CXXFLAGS" != "x"; then
26093 for f in 'no%E_EMPTY_DECLARATION' \
26094 'no%E_STATEMENT_NOT_REACHED' \
26095 'no%E_ARGUEMENT_MISMATCH' \
26096 'no%E_MACRO_REDEFINED' \
26097 'no%E_LOOP_NOT_ENTERED_AT_TOP'
26102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all,$f" >&5
26103 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all,$f... " >&6; }
26105 save_CPPFLAGS="$CPPFLAGS"
26106 CPPFLAGS="$CPPFLAGS -errwarn=%all,$f"
26109 ac_cpp='$CXXCPP $CPPFLAGS'
26110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26116 /* end confdefs.h. */
26126 if ac_fn_cxx_try_compile "$LINENO"; then :
26131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26132 CPPFLAGS="$save_CPPFLAGS"
26134 if test "X$flag_ok" = Xyes ; then
26135 ERROR_CXXFLAGS="$ERROR_CXXFLAGS
26143 ac_cpp='$CPP $CPPFLAGS'
26144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26150 $as_echo "$flag_ok" >&6; }
26158 -Wmissing-declarations -Wredundant-decls
26160 -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar " != "x"
26164 -Wmissing-declarations -Wredundant-decls
26166 -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar "
26172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands $each" >&5
26173 $as_echo_n "checking to see if c++ compiler understands $each... " >&6; }
26175 save_CPPFLAGS="$CPPFLAGS"
26176 CPPFLAGS="$CPPFLAGS $each"
26179 ac_cpp='$CXXCPP $CPPFLAGS'
26180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26186 /* end confdefs.h. */
26196 if ac_fn_cxx_try_compile "$LINENO"; then :
26201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26202 CPPFLAGS="$save_CPPFLAGS"
26204 if test "X$flag_ok" = Xyes ; then
26205 WARNING_CXXFLAGS="$WARNING_CXXFLAGS $each"
26208 UNSUPPORTED="$UNSUPPORTED $each"
26213 ac_cpp='$CPP $CPPFLAGS'
26214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26220 $as_echo "$flag_ok" >&6; }
26223 if test "X$UNSUPPORTED" != X ; then
26224 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
26225 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
26231 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&5
26232 $as_echo "$as_me: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&6;}
26233 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&5
26234 $as_echo "$as_me: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&6;}
26238 if test "x$GST_GIT" = "xyes"; then
26239 GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
26241 GST_LEVEL_DEFAULT=GST_LEVEL_NONE
26244 cat >>confdefs.h <<_ACEOF
26245 #define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
26252 DEFAULT_AUDIOSINK="autoaudiosink"
26253 DEFAULT_VIDEOSINK="autovideosink"
26254 DEFAULT_AUDIOSRC="alsasrc"
26255 DEFAULT_VIDEOSRC="v4l2src"
26256 DEFAULT_VISUALIZER="goom"
26258 *-sun-* | *pc-solaris* )
26259 DEFAULT_AUDIOSRC="sunaudiosrc"
26262 DEFAULT_AUDIOSRC="osxaudiosrc"
26267 # Check whether --with-default-audiosink was given.
26268 if test "${with_default_audiosink+set}" = set; then :
26269 withval=$with_default_audiosink;
26270 case "${withval}" in
26271 yes) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
26272 no) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
26273 *) DEFAULT_AUDIOSINK="${withval}" ;;
26278 DEFAULT_AUDIOSINK="$DEFAULT_AUDIOSINK"
26282 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSINK as default audio sink" >&5
26283 $as_echo "$as_me: Using $DEFAULT_AUDIOSINK as default audio sink" >&6;}
26286 cat >>confdefs.h <<_ACEOF
26287 #define DEFAULT_AUDIOSINK "$DEFAULT_AUDIOSINK"
26292 # Check whether --with-default-audiosrc was given.
26293 if test "${with_default_audiosrc+set}" = set; then :
26294 withval=$with_default_audiosrc;
26295 case "${withval}" in
26296 yes) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
26297 no) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
26298 *) DEFAULT_AUDIOSRC="${withval}" ;;
26303 DEFAULT_AUDIOSRC="$DEFAULT_AUDIOSRC"
26307 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSRC as default audio source" >&5
26308 $as_echo "$as_me: Using $DEFAULT_AUDIOSRC as default audio source" >&6;}
26311 cat >>confdefs.h <<_ACEOF
26312 #define DEFAULT_AUDIOSRC "$DEFAULT_AUDIOSRC"
26317 # Check whether --with-default-videosink was given.
26318 if test "${with_default_videosink+set}" = set; then :
26319 withval=$with_default_videosink;
26320 case "${withval}" in
26321 yes) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
26322 no) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
26323 *) DEFAULT_VIDEOSINK="${withval}" ;;
26328 DEFAULT_VIDEOSINK="$DEFAULT_VIDEOSINK"
26332 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSINK as default video sink" >&5
26333 $as_echo "$as_me: Using $DEFAULT_VIDEOSINK as default video sink" >&6;}
26336 cat >>confdefs.h <<_ACEOF
26337 #define DEFAULT_VIDEOSINK "$DEFAULT_VIDEOSINK"
26342 # Check whether --with-default-videosrc was given.
26343 if test "${with_default_videosrc+set}" = set; then :
26344 withval=$with_default_videosrc;
26345 case "${withval}" in
26346 yes) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
26347 no) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
26348 *) DEFAULT_VIDEOSRC="${withval}" ;;
26353 DEFAULT_VIDEOSRC="$DEFAULT_VIDEOSRC"
26357 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSRC as default video source" >&5
26358 $as_echo "$as_me: Using $DEFAULT_VIDEOSRC as default video source" >&6;}
26361 cat >>confdefs.h <<_ACEOF
26362 #define DEFAULT_VIDEOSRC "$DEFAULT_VIDEOSRC"
26367 # Check whether --with-default-visualizer was given.
26368 if test "${with_default_visualizer+set}" = set; then :
26369 withval=$with_default_visualizer;
26370 case "${withval}" in
26371 yes) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
26372 no) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
26373 *) DEFAULT_VISUALIZER="${withval}" ;;
26378 DEFAULT_VISUALIZER="$DEFAULT_VISUALIZER"
26382 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VISUALIZER as default visualizer" >&5
26383 $as_echo "$as_me: Using $DEFAULT_VISUALIZER as default visualizer" >&6;}
26386 cat >>confdefs.h <<_ACEOF
26387 #define DEFAULT_VISUALIZER "$DEFAULT_VISUALIZER"
26394 GST_PLUGINS_ALL="$GST_PLUGINS_ALL videofilter"
26398 # Check whether --enable-videofilter was given.
26399 if test "${enable_videofilter+set}" = set; then :
26400 enableval=$enable_videofilter;
26401 case "${enableval}" in
26402 yes) gst_use_videofilter=yes ;;
26403 no) gst_use_videofilter=no ;;
26404 *) as_fn_error $? "bad value ${enableval} for --enable-videofilter" "$LINENO" 5 ;;
26408 gst_use_videofilter=yes
26411 if test x$gst_use_videofilter = xno; then
26412 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videofilter" >&5
26413 $as_echo "$as_me: disabling dependency-less plugin videofilter" >&6;}
26414 WITHOUT_PLUGINS="$WITHOUT_PLUGINS videofilter"
26418 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videofilter " > /dev/null; then
26419 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videofilter"
26421 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videofilter " > /dev/null; then
26422 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videofilter / /'`
26424 if echo " $GST_PLUGINS_SELECTED " | grep -i " videofilter " > /dev/null; then
26425 USE_PLUGIN_VIDEOFILTER_TRUE=
26426 USE_PLUGIN_VIDEOFILTER_FALSE='#'
26428 USE_PLUGIN_VIDEOFILTER_TRUE='#'
26429 USE_PLUGIN_VIDEOFILTER_FALSE=
26434 GST_PLUGINS_ALL="$GST_PLUGINS_ALL alpha"
26438 # Check whether --enable-alpha was given.
26439 if test "${enable_alpha+set}" = set; then :
26440 enableval=$enable_alpha;
26441 case "${enableval}" in
26442 yes) gst_use_alpha=yes ;;
26443 no) gst_use_alpha=no ;;
26444 *) as_fn_error $? "bad value ${enableval} for --enable-alpha" "$LINENO" 5 ;;
26451 if test x$gst_use_alpha = xno; then
26452 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin alpha" >&5
26453 $as_echo "$as_me: disabling dependency-less plugin alpha" >&6;}
26454 WITHOUT_PLUGINS="$WITHOUT_PLUGINS alpha"
26458 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " alpha " > /dev/null; then
26459 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED alpha"
26461 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " alpha " > /dev/null; then
26462 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ alpha / /'`
26464 if echo " $GST_PLUGINS_SELECTED " | grep -i " alpha " > /dev/null; then
26465 USE_PLUGIN_ALPHA_TRUE=
26466 USE_PLUGIN_ALPHA_FALSE='#'
26468 USE_PLUGIN_ALPHA_TRUE='#'
26469 USE_PLUGIN_ALPHA_FALSE=
26474 GST_PLUGINS_ALL="$GST_PLUGINS_ALL apetag"
26478 # Check whether --enable-apetag was given.
26479 if test "${enable_apetag+set}" = set; then :
26480 enableval=$enable_apetag;
26481 case "${enableval}" in
26482 yes) gst_use_apetag=yes ;;
26483 no) gst_use_apetag=no ;;
26484 *) as_fn_error $? "bad value ${enableval} for --enable-apetag" "$LINENO" 5 ;;
26491 if test x$gst_use_apetag = xno; then
26492 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin apetag" >&5
26493 $as_echo "$as_me: disabling dependency-less plugin apetag" >&6;}
26494 WITHOUT_PLUGINS="$WITHOUT_PLUGINS apetag"
26498 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " apetag " > /dev/null; then
26499 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED apetag"
26501 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " apetag " > /dev/null; then
26502 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ apetag / /'`
26504 if echo " $GST_PLUGINS_SELECTED " | grep -i " apetag " > /dev/null; then
26505 USE_PLUGIN_APETAG_TRUE=
26506 USE_PLUGIN_APETAG_FALSE='#'
26508 USE_PLUGIN_APETAG_TRUE='#'
26509 USE_PLUGIN_APETAG_FALSE=
26514 GST_PLUGINS_ALL="$GST_PLUGINS_ALL audiofx"
26518 # Check whether --enable-audiofx was given.
26519 if test "${enable_audiofx+set}" = set; then :
26520 enableval=$enable_audiofx;
26521 case "${enableval}" in
26522 yes) gst_use_audiofx=yes ;;
26523 no) gst_use_audiofx=no ;;
26524 *) as_fn_error $? "bad value ${enableval} for --enable-audiofx" "$LINENO" 5 ;;
26528 gst_use_audiofx=yes
26531 if test x$gst_use_audiofx = xno; then
26532 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audiofx" >&5
26533 $as_echo "$as_me: disabling dependency-less plugin audiofx" >&6;}
26534 WITHOUT_PLUGINS="$WITHOUT_PLUGINS audiofx"
26538 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audiofx " > /dev/null; then
26539 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audiofx"
26541 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audiofx " > /dev/null; then
26542 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audiofx / /'`
26544 if echo " $GST_PLUGINS_SELECTED " | grep -i " audiofx " > /dev/null; then
26545 USE_PLUGIN_AUDIOFX_TRUE=
26546 USE_PLUGIN_AUDIOFX_FALSE='#'
26548 USE_PLUGIN_AUDIOFX_TRUE='#'
26549 USE_PLUGIN_AUDIOFX_FALSE=
26554 GST_PLUGINS_ALL="$GST_PLUGINS_ALL audioparsers"
26558 # Check whether --enable-audioparsers was given.
26559 if test "${enable_audioparsers+set}" = set; then :
26560 enableval=$enable_audioparsers;
26561 case "${enableval}" in
26562 yes) gst_use_audioparsers=yes ;;
26563 no) gst_use_audioparsers=no ;;
26564 *) as_fn_error $? "bad value ${enableval} for --enable-audioparsers" "$LINENO" 5 ;;
26568 gst_use_audioparsers=yes
26571 if test x$gst_use_audioparsers = xno; then
26572 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audioparsers" >&5
26573 $as_echo "$as_me: disabling dependency-less plugin audioparsers" >&6;}
26574 WITHOUT_PLUGINS="$WITHOUT_PLUGINS audioparsers"
26578 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audioparsers " > /dev/null; then
26579 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audioparsers"
26581 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audioparsers " > /dev/null; then
26582 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audioparsers / /'`
26584 if echo " $GST_PLUGINS_SELECTED " | grep -i " audioparsers " > /dev/null; then
26585 USE_PLUGIN_AUDIOPARSERS_TRUE=
26586 USE_PLUGIN_AUDIOPARSERS_FALSE='#'
26588 USE_PLUGIN_AUDIOPARSERS_TRUE='#'
26589 USE_PLUGIN_AUDIOPARSERS_FALSE=
26594 GST_PLUGINS_ALL="$GST_PLUGINS_ALL auparse"
26598 # Check whether --enable-auparse was given.
26599 if test "${enable_auparse+set}" = set; then :
26600 enableval=$enable_auparse;
26601 case "${enableval}" in
26602 yes) gst_use_auparse=yes ;;
26603 no) gst_use_auparse=no ;;
26604 *) as_fn_error $? "bad value ${enableval} for --enable-auparse" "$LINENO" 5 ;;
26608 gst_use_auparse=yes
26611 if test x$gst_use_auparse = xno; then
26612 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin auparse" >&5
26613 $as_echo "$as_me: disabling dependency-less plugin auparse" >&6;}
26614 WITHOUT_PLUGINS="$WITHOUT_PLUGINS auparse"
26618 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " auparse " > /dev/null; then
26619 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED auparse"
26621 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " auparse " > /dev/null; then
26622 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ auparse / /'`
26624 if echo " $GST_PLUGINS_SELECTED " | grep -i " auparse " > /dev/null; then
26625 USE_PLUGIN_AUPARSE_TRUE=
26626 USE_PLUGIN_AUPARSE_FALSE='#'
26628 USE_PLUGIN_AUPARSE_TRUE='#'
26629 USE_PLUGIN_AUPARSE_FALSE=
26634 GST_PLUGINS_ALL="$GST_PLUGINS_ALL autodetect"
26638 # Check whether --enable-autodetect was given.
26639 if test "${enable_autodetect+set}" = set; then :
26640 enableval=$enable_autodetect;
26641 case "${enableval}" in
26642 yes) gst_use_autodetect=yes ;;
26643 no) gst_use_autodetect=no ;;
26644 *) as_fn_error $? "bad value ${enableval} for --enable-autodetect" "$LINENO" 5 ;;
26648 gst_use_autodetect=yes
26651 if test x$gst_use_autodetect = xno; then
26652 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin autodetect" >&5
26653 $as_echo "$as_me: disabling dependency-less plugin autodetect" >&6;}
26654 WITHOUT_PLUGINS="$WITHOUT_PLUGINS autodetect"
26658 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " autodetect " > /dev/null; then
26659 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED autodetect"
26661 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " autodetect " > /dev/null; then
26662 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ autodetect / /'`
26664 if echo " $GST_PLUGINS_SELECTED " | grep -i " autodetect " > /dev/null; then
26665 USE_PLUGIN_AUTODETECT_TRUE=
26666 USE_PLUGIN_AUTODETECT_FALSE='#'
26668 USE_PLUGIN_AUTODETECT_TRUE='#'
26669 USE_PLUGIN_AUTODETECT_FALSE=
26674 GST_PLUGINS_ALL="$GST_PLUGINS_ALL avi"
26678 # Check whether --enable-avi was given.
26679 if test "${enable_avi+set}" = set; then :
26680 enableval=$enable_avi;
26681 case "${enableval}" in
26682 yes) gst_use_avi=yes ;;
26683 no) gst_use_avi=no ;;
26684 *) as_fn_error $? "bad value ${enableval} for --enable-avi" "$LINENO" 5 ;;
26691 if test x$gst_use_avi = xno; then
26692 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin avi" >&5
26693 $as_echo "$as_me: disabling dependency-less plugin avi" >&6;}
26694 WITHOUT_PLUGINS="$WITHOUT_PLUGINS avi"
26698 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " avi " > /dev/null; then
26699 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED avi"
26701 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " avi " > /dev/null; then
26702 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ avi / /'`
26704 if echo " $GST_PLUGINS_SELECTED " | grep -i " avi " > /dev/null; then
26705 USE_PLUGIN_AVI_TRUE=
26706 USE_PLUGIN_AVI_FALSE='#'
26708 USE_PLUGIN_AVI_TRUE='#'
26709 USE_PLUGIN_AVI_FALSE=
26714 GST_PLUGINS_ALL="$GST_PLUGINS_ALL cutter"
26718 # Check whether --enable-cutter was given.
26719 if test "${enable_cutter+set}" = set; then :
26720 enableval=$enable_cutter;
26721 case "${enableval}" in
26722 yes) gst_use_cutter=yes ;;
26723 no) gst_use_cutter=no ;;
26724 *) as_fn_error $? "bad value ${enableval} for --enable-cutter" "$LINENO" 5 ;;
26731 if test x$gst_use_cutter = xno; then
26732 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin cutter" >&5
26733 $as_echo "$as_me: disabling dependency-less plugin cutter" >&6;}
26734 WITHOUT_PLUGINS="$WITHOUT_PLUGINS cutter"
26738 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " cutter " > /dev/null; then
26739 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED cutter"
26741 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " cutter " > /dev/null; then
26742 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ cutter / /'`
26744 if echo " $GST_PLUGINS_SELECTED " | grep -i " cutter " > /dev/null; then
26745 USE_PLUGIN_CUTTER_TRUE=
26746 USE_PLUGIN_CUTTER_FALSE='#'
26748 USE_PLUGIN_CUTTER_TRUE='#'
26749 USE_PLUGIN_CUTTER_FALSE=
26754 GST_PLUGINS_ALL="$GST_PLUGINS_ALL debugutils"
26758 # Check whether --enable-debugutils was given.
26759 if test "${enable_debugutils+set}" = set; then :
26760 enableval=$enable_debugutils;
26761 case "${enableval}" in
26762 yes) gst_use_debugutils=yes ;;
26763 no) gst_use_debugutils=no ;;
26764 *) as_fn_error $? "bad value ${enableval} for --enable-debugutils" "$LINENO" 5 ;;
26768 gst_use_debugutils=yes
26771 if test x$gst_use_debugutils = xno; then
26772 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin debugutils" >&5
26773 $as_echo "$as_me: disabling dependency-less plugin debugutils" >&6;}
26774 WITHOUT_PLUGINS="$WITHOUT_PLUGINS debugutils"
26778 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " debugutils " > /dev/null; then
26779 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED debugutils"
26781 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " debugutils " > /dev/null; then
26782 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ debugutils / /'`
26784 if echo " $GST_PLUGINS_SELECTED " | grep -i " debugutils " > /dev/null; then
26785 USE_PLUGIN_DEBUGUTILS_TRUE=
26786 USE_PLUGIN_DEBUGUTILS_FALSE='#'
26788 USE_PLUGIN_DEBUGUTILS_TRUE='#'
26789 USE_PLUGIN_DEBUGUTILS_FALSE=
26794 GST_PLUGINS_ALL="$GST_PLUGINS_ALL deinterlace"
26798 # Check whether --enable-deinterlace was given.
26799 if test "${enable_deinterlace+set}" = set; then :
26800 enableval=$enable_deinterlace;
26801 case "${enableval}" in
26802 yes) gst_use_deinterlace=yes ;;
26803 no) gst_use_deinterlace=no ;;
26804 *) as_fn_error $? "bad value ${enableval} for --enable-deinterlace" "$LINENO" 5 ;;
26808 gst_use_deinterlace=yes
26811 if test x$gst_use_deinterlace = xno; then
26812 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin deinterlace" >&5
26813 $as_echo "$as_me: disabling dependency-less plugin deinterlace" >&6;}
26814 WITHOUT_PLUGINS="$WITHOUT_PLUGINS deinterlace"
26818 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " deinterlace " > /dev/null; then
26819 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED deinterlace"
26821 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " deinterlace " > /dev/null; then
26822 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ deinterlace / /'`
26824 if echo " $GST_PLUGINS_SELECTED " | grep -i " deinterlace " > /dev/null; then
26825 USE_PLUGIN_DEINTERLACE_TRUE=
26826 USE_PLUGIN_DEINTERLACE_FALSE='#'
26828 USE_PLUGIN_DEINTERLACE_TRUE='#'
26829 USE_PLUGIN_DEINTERLACE_FALSE=
26834 GST_PLUGINS_ALL="$GST_PLUGINS_ALL effectv"
26838 # Check whether --enable-effectv was given.
26839 if test "${enable_effectv+set}" = set; then :
26840 enableval=$enable_effectv;
26841 case "${enableval}" in
26842 yes) gst_use_effectv=yes ;;
26843 no) gst_use_effectv=no ;;
26844 *) as_fn_error $? "bad value ${enableval} for --enable-effectv" "$LINENO" 5 ;;
26848 gst_use_effectv=yes
26851 if test x$gst_use_effectv = xno; then
26852 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin effectv" >&5
26853 $as_echo "$as_me: disabling dependency-less plugin effectv" >&6;}
26854 WITHOUT_PLUGINS="$WITHOUT_PLUGINS effectv"
26858 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " effectv " > /dev/null; then
26859 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED effectv"
26861 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " effectv " > /dev/null; then
26862 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ effectv / /'`
26864 if echo " $GST_PLUGINS_SELECTED " | grep -i " effectv " > /dev/null; then
26865 USE_PLUGIN_EFFECTV_TRUE=
26866 USE_PLUGIN_EFFECTV_FALSE='#'
26868 USE_PLUGIN_EFFECTV_TRUE='#'
26869 USE_PLUGIN_EFFECTV_FALSE=
26874 GST_PLUGINS_ALL="$GST_PLUGINS_ALL equalizer"
26878 # Check whether --enable-equalizer was given.
26879 if test "${enable_equalizer+set}" = set; then :
26880 enableval=$enable_equalizer;
26881 case "${enableval}" in
26882 yes) gst_use_equalizer=yes ;;
26883 no) gst_use_equalizer=no ;;
26884 *) as_fn_error $? "bad value ${enableval} for --enable-equalizer" "$LINENO" 5 ;;
26888 gst_use_equalizer=yes
26891 if test x$gst_use_equalizer = xno; then
26892 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin equalizer" >&5
26893 $as_echo "$as_me: disabling dependency-less plugin equalizer" >&6;}
26894 WITHOUT_PLUGINS="$WITHOUT_PLUGINS equalizer"
26898 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " equalizer " > /dev/null; then
26899 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED equalizer"
26901 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " equalizer " > /dev/null; then
26902 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ equalizer / /'`
26904 if echo " $GST_PLUGINS_SELECTED " | grep -i " equalizer " > /dev/null; then
26905 USE_PLUGIN_EQUALIZER_TRUE=
26906 USE_PLUGIN_EQUALIZER_FALSE='#'
26908 USE_PLUGIN_EQUALIZER_TRUE='#'
26909 USE_PLUGIN_EQUALIZER_FALSE=
26914 GST_PLUGINS_ALL="$GST_PLUGINS_ALL flv"
26918 # Check whether --enable-flv was given.
26919 if test "${enable_flv+set}" = set; then :
26920 enableval=$enable_flv;
26921 case "${enableval}" in
26922 yes) gst_use_flv=yes ;;
26923 no) gst_use_flv=no ;;
26924 *) as_fn_error $? "bad value ${enableval} for --enable-flv" "$LINENO" 5 ;;
26931 if test x$gst_use_flv = xno; then
26932 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin flv" >&5
26933 $as_echo "$as_me: disabling dependency-less plugin flv" >&6;}
26934 WITHOUT_PLUGINS="$WITHOUT_PLUGINS flv"
26938 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " flv " > /dev/null; then
26939 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED flv"
26941 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " flv " > /dev/null; then
26942 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ flv / /'`
26944 if echo " $GST_PLUGINS_SELECTED " | grep -i " flv " > /dev/null; then
26945 USE_PLUGIN_FLV_TRUE=
26946 USE_PLUGIN_FLV_FALSE='#'
26948 USE_PLUGIN_FLV_TRUE='#'
26949 USE_PLUGIN_FLV_FALSE=
26954 GST_PLUGINS_ALL="$GST_PLUGINS_ALL id3demux"
26958 # Check whether --enable-id3demux was given.
26959 if test "${enable_id3demux+set}" = set; then :
26960 enableval=$enable_id3demux;
26961 case "${enableval}" in
26962 yes) gst_use_id3demux=yes ;;
26963 no) gst_use_id3demux=no ;;
26964 *) as_fn_error $? "bad value ${enableval} for --enable-id3demux" "$LINENO" 5 ;;
26968 gst_use_id3demux=yes
26971 if test x$gst_use_id3demux = xno; then
26972 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin id3demux" >&5
26973 $as_echo "$as_me: disabling dependency-less plugin id3demux" >&6;}
26974 WITHOUT_PLUGINS="$WITHOUT_PLUGINS id3demux"
26978 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " id3demux " > /dev/null; then
26979 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED id3demux"
26981 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " id3demux " > /dev/null; then
26982 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ id3demux / /'`
26984 if echo " $GST_PLUGINS_SELECTED " | grep -i " id3demux " > /dev/null; then
26985 USE_PLUGIN_ID3DEMUX_TRUE=
26986 USE_PLUGIN_ID3DEMUX_FALSE='#'
26988 USE_PLUGIN_ID3DEMUX_TRUE='#'
26989 USE_PLUGIN_ID3DEMUX_FALSE=
26994 GST_PLUGINS_ALL="$GST_PLUGINS_ALL icydemux"
26998 # Check whether --enable-icydemux was given.
26999 if test "${enable_icydemux+set}" = set; then :
27000 enableval=$enable_icydemux;
27001 case "${enableval}" in
27002 yes) gst_use_icydemux=yes ;;
27003 no) gst_use_icydemux=no ;;
27004 *) as_fn_error $? "bad value ${enableval} for --enable-icydemux" "$LINENO" 5 ;;
27008 gst_use_icydemux=yes
27011 if test x$gst_use_icydemux = xno; then
27012 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin icydemux" >&5
27013 $as_echo "$as_me: disabling dependency-less plugin icydemux" >&6;}
27014 WITHOUT_PLUGINS="$WITHOUT_PLUGINS icydemux"
27018 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " icydemux " > /dev/null; then
27019 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED icydemux"
27021 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " icydemux " > /dev/null; then
27022 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ icydemux / /'`
27024 if echo " $GST_PLUGINS_SELECTED " | grep -i " icydemux " > /dev/null; then
27025 USE_PLUGIN_ICYDEMUX_TRUE=
27026 USE_PLUGIN_ICYDEMUX_FALSE='#'
27028 USE_PLUGIN_ICYDEMUX_TRUE='#'
27029 USE_PLUGIN_ICYDEMUX_FALSE=
27034 GST_PLUGINS_ALL="$GST_PLUGINS_ALL interleave"
27038 # Check whether --enable-interleave was given.
27039 if test "${enable_interleave+set}" = set; then :
27040 enableval=$enable_interleave;
27041 case "${enableval}" in
27042 yes) gst_use_interleave=yes ;;
27043 no) gst_use_interleave=no ;;
27044 *) as_fn_error $? "bad value ${enableval} for --enable-interleave" "$LINENO" 5 ;;
27048 gst_use_interleave=yes
27051 if test x$gst_use_interleave = xno; then
27052 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin interleave" >&5
27053 $as_echo "$as_me: disabling dependency-less plugin interleave" >&6;}
27054 WITHOUT_PLUGINS="$WITHOUT_PLUGINS interleave"
27058 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " interleave " > /dev/null; then
27059 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED interleave"
27061 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " interleave " > /dev/null; then
27062 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ interleave / /'`
27064 if echo " $GST_PLUGINS_SELECTED " | grep -i " interleave " > /dev/null; then
27065 USE_PLUGIN_INTERLEAVE_TRUE=
27066 USE_PLUGIN_INTERLEAVE_FALSE='#'
27068 USE_PLUGIN_INTERLEAVE_TRUE='#'
27069 USE_PLUGIN_INTERLEAVE_FALSE=
27074 GST_PLUGINS_ALL="$GST_PLUGINS_ALL flx"
27078 # Check whether --enable-flx was given.
27079 if test "${enable_flx+set}" = set; then :
27080 enableval=$enable_flx;
27081 case "${enableval}" in
27082 yes) gst_use_flx=yes ;;
27083 no) gst_use_flx=no ;;
27084 *) as_fn_error $? "bad value ${enableval} for --enable-flx" "$LINENO" 5 ;;
27091 if test x$gst_use_flx = xno; then
27092 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin flx" >&5
27093 $as_echo "$as_me: disabling dependency-less plugin flx" >&6;}
27094 WITHOUT_PLUGINS="$WITHOUT_PLUGINS flx"
27098 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " flx " > /dev/null; then
27099 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED flx"
27101 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " flx " > /dev/null; then
27102 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ flx / /'`
27104 if echo " $GST_PLUGINS_SELECTED " | grep -i " flx " > /dev/null; then
27105 USE_PLUGIN_FLX_TRUE=
27106 USE_PLUGIN_FLX_FALSE='#'
27108 USE_PLUGIN_FLX_TRUE='#'
27109 USE_PLUGIN_FLX_FALSE=
27114 GST_PLUGINS_ALL="$GST_PLUGINS_ALL goom"
27118 # Check whether --enable-goom was given.
27119 if test "${enable_goom+set}" = set; then :
27120 enableval=$enable_goom;
27121 case "${enableval}" in
27122 yes) gst_use_goom=yes ;;
27123 no) gst_use_goom=no ;;
27124 *) as_fn_error $? "bad value ${enableval} for --enable-goom" "$LINENO" 5 ;;
27131 if test x$gst_use_goom = xno; then
27132 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin goom" >&5
27133 $as_echo "$as_me: disabling dependency-less plugin goom" >&6;}
27134 WITHOUT_PLUGINS="$WITHOUT_PLUGINS goom"
27138 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " goom " > /dev/null; then
27139 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED goom"
27141 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " goom " > /dev/null; then
27142 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ goom / /'`
27144 if echo " $GST_PLUGINS_SELECTED " | grep -i " goom " > /dev/null; then
27145 USE_PLUGIN_GOOM_TRUE=
27146 USE_PLUGIN_GOOM_FALSE='#'
27148 USE_PLUGIN_GOOM_TRUE='#'
27149 USE_PLUGIN_GOOM_FALSE=
27154 GST_PLUGINS_ALL="$GST_PLUGINS_ALL goom2k1"
27158 # Check whether --enable-goom2k1 was given.
27159 if test "${enable_goom2k1+set}" = set; then :
27160 enableval=$enable_goom2k1;
27161 case "${enableval}" in
27162 yes) gst_use_goom2k1=yes ;;
27163 no) gst_use_goom2k1=no ;;
27164 *) as_fn_error $? "bad value ${enableval} for --enable-goom2k1" "$LINENO" 5 ;;
27168 gst_use_goom2k1=yes
27171 if test x$gst_use_goom2k1 = xno; then
27172 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin goom2k1" >&5
27173 $as_echo "$as_me: disabling dependency-less plugin goom2k1" >&6;}
27174 WITHOUT_PLUGINS="$WITHOUT_PLUGINS goom2k1"
27178 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " goom2k1 " > /dev/null; then
27179 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED goom2k1"
27181 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " goom2k1 " > /dev/null; then
27182 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ goom2k1 / /'`
27184 if echo " $GST_PLUGINS_SELECTED " | grep -i " goom2k1 " > /dev/null; then
27185 USE_PLUGIN_GOOM2K1_TRUE=
27186 USE_PLUGIN_GOOM2K1_FALSE='#'
27188 USE_PLUGIN_GOOM2K1_TRUE='#'
27189 USE_PLUGIN_GOOM2K1_FALSE=
27194 GST_PLUGINS_ALL="$GST_PLUGINS_ALL imagefreeze"
27198 # Check whether --enable-imagefreeze was given.
27199 if test "${enable_imagefreeze+set}" = set; then :
27200 enableval=$enable_imagefreeze;
27201 case "${enableval}" in
27202 yes) gst_use_imagefreeze=yes ;;
27203 no) gst_use_imagefreeze=no ;;
27204 *) as_fn_error $? "bad value ${enableval} for --enable-imagefreeze" "$LINENO" 5 ;;
27208 gst_use_imagefreeze=yes
27211 if test x$gst_use_imagefreeze = xno; then
27212 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin imagefreeze" >&5
27213 $as_echo "$as_me: disabling dependency-less plugin imagefreeze" >&6;}
27214 WITHOUT_PLUGINS="$WITHOUT_PLUGINS imagefreeze"
27218 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " imagefreeze " > /dev/null; then
27219 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED imagefreeze"
27221 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " imagefreeze " > /dev/null; then
27222 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ imagefreeze / /'`
27224 if echo " $GST_PLUGINS_SELECTED " | grep -i " imagefreeze " > /dev/null; then
27225 USE_PLUGIN_IMAGEFREEZE_TRUE=
27226 USE_PLUGIN_IMAGEFREEZE_FALSE='#'
27228 USE_PLUGIN_IMAGEFREEZE_TRUE='#'
27229 USE_PLUGIN_IMAGEFREEZE_FALSE=
27234 GST_PLUGINS_ALL="$GST_PLUGINS_ALL isomp4"
27238 # Check whether --enable-isomp4 was given.
27239 if test "${enable_isomp4+set}" = set; then :
27240 enableval=$enable_isomp4;
27241 case "${enableval}" in
27242 yes) gst_use_isomp4=yes ;;
27243 no) gst_use_isomp4=no ;;
27244 *) as_fn_error $? "bad value ${enableval} for --enable-isomp4" "$LINENO" 5 ;;
27251 if test x$gst_use_isomp4 = xno; then
27252 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin isomp4" >&5
27253 $as_echo "$as_me: disabling dependency-less plugin isomp4" >&6;}
27254 WITHOUT_PLUGINS="$WITHOUT_PLUGINS isomp4"
27258 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " isomp4 " > /dev/null; then
27259 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED isomp4"
27261 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " isomp4 " > /dev/null; then
27262 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ isomp4 / /'`
27264 if echo " $GST_PLUGINS_SELECTED " | grep -i " isomp4 " > /dev/null; then
27265 USE_PLUGIN_ISOMP4_TRUE=
27266 USE_PLUGIN_ISOMP4_FALSE='#'
27268 USE_PLUGIN_ISOMP4_TRUE='#'
27269 USE_PLUGIN_ISOMP4_FALSE=
27274 GST_PLUGINS_ALL="$GST_PLUGINS_ALL law"
27278 # Check whether --enable-law was given.
27279 if test "${enable_law+set}" = set; then :
27280 enableval=$enable_law;
27281 case "${enableval}" in
27282 yes) gst_use_law=yes ;;
27283 no) gst_use_law=no ;;
27284 *) as_fn_error $? "bad value ${enableval} for --enable-law" "$LINENO" 5 ;;
27291 if test x$gst_use_law = xno; then
27292 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin law" >&5
27293 $as_echo "$as_me: disabling dependency-less plugin law" >&6;}
27294 WITHOUT_PLUGINS="$WITHOUT_PLUGINS law"
27298 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " law " > /dev/null; then
27299 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED law"
27301 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " law " > /dev/null; then
27302 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ law / /'`
27304 if echo " $GST_PLUGINS_SELECTED " | grep -i " law " > /dev/null; then
27305 USE_PLUGIN_LAW_TRUE=
27306 USE_PLUGIN_LAW_FALSE='#'
27308 USE_PLUGIN_LAW_TRUE='#'
27309 USE_PLUGIN_LAW_FALSE=
27314 GST_PLUGINS_ALL="$GST_PLUGINS_ALL level"
27318 # Check whether --enable-level was given.
27319 if test "${enable_level+set}" = set; then :
27320 enableval=$enable_level;
27321 case "${enableval}" in
27322 yes) gst_use_level=yes ;;
27323 no) gst_use_level=no ;;
27324 *) as_fn_error $? "bad value ${enableval} for --enable-level" "$LINENO" 5 ;;
27331 if test x$gst_use_level = xno; then
27332 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin level" >&5
27333 $as_echo "$as_me: disabling dependency-less plugin level" >&6;}
27334 WITHOUT_PLUGINS="$WITHOUT_PLUGINS level"
27338 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " level " > /dev/null; then
27339 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED level"
27341 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " level " > /dev/null; then
27342 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ level / /'`
27344 if echo " $GST_PLUGINS_SELECTED " | grep -i " level " > /dev/null; then
27345 USE_PLUGIN_LEVEL_TRUE=
27346 USE_PLUGIN_LEVEL_FALSE='#'
27348 USE_PLUGIN_LEVEL_TRUE='#'
27349 USE_PLUGIN_LEVEL_FALSE=
27354 GST_PLUGINS_ALL="$GST_PLUGINS_ALL matroska"
27358 # Check whether --enable-matroska was given.
27359 if test "${enable_matroska+set}" = set; then :
27360 enableval=$enable_matroska;
27361 case "${enableval}" in
27362 yes) gst_use_matroska=yes ;;
27363 no) gst_use_matroska=no ;;
27364 *) as_fn_error $? "bad value ${enableval} for --enable-matroska" "$LINENO" 5 ;;
27368 gst_use_matroska=yes
27371 if test x$gst_use_matroska = xno; then
27372 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin matroska" >&5
27373 $as_echo "$as_me: disabling dependency-less plugin matroska" >&6;}
27374 WITHOUT_PLUGINS="$WITHOUT_PLUGINS matroska"
27378 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " matroska " > /dev/null; then
27379 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED matroska"
27381 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " matroska " > /dev/null; then
27382 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ matroska / /'`
27384 if echo " $GST_PLUGINS_SELECTED " | grep -i " matroska " > /dev/null; then
27385 USE_PLUGIN_MATROSKA_TRUE=
27386 USE_PLUGIN_MATROSKA_FALSE='#'
27388 USE_PLUGIN_MATROSKA_TRUE='#'
27389 USE_PLUGIN_MATROSKA_FALSE=
27394 GST_PLUGINS_ALL="$GST_PLUGINS_ALL monoscope"
27398 # Check whether --enable-monoscope was given.
27399 if test "${enable_monoscope+set}" = set; then :
27400 enableval=$enable_monoscope;
27401 case "${enableval}" in
27402 yes) gst_use_monoscope=yes ;;
27403 no) gst_use_monoscope=no ;;
27404 *) as_fn_error $? "bad value ${enableval} for --enable-monoscope" "$LINENO" 5 ;;
27408 gst_use_monoscope=yes
27411 if test x$gst_use_monoscope = xno; then
27412 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin monoscope" >&5
27413 $as_echo "$as_me: disabling dependency-less plugin monoscope" >&6;}
27414 WITHOUT_PLUGINS="$WITHOUT_PLUGINS monoscope"
27418 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " monoscope " > /dev/null; then
27419 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED monoscope"
27421 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " monoscope " > /dev/null; then
27422 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ monoscope / /'`
27424 if echo " $GST_PLUGINS_SELECTED " | grep -i " monoscope " > /dev/null; then
27425 USE_PLUGIN_MONOSCOPE_TRUE=
27426 USE_PLUGIN_MONOSCOPE_FALSE='#'
27428 USE_PLUGIN_MONOSCOPE_TRUE='#'
27429 USE_PLUGIN_MONOSCOPE_FALSE=
27434 GST_PLUGINS_ALL="$GST_PLUGINS_ALL multifile"
27438 # Check whether --enable-multifile was given.
27439 if test "${enable_multifile+set}" = set; then :
27440 enableval=$enable_multifile;
27441 case "${enableval}" in
27442 yes) gst_use_multifile=yes ;;
27443 no) gst_use_multifile=no ;;
27444 *) as_fn_error $? "bad value ${enableval} for --enable-multifile" "$LINENO" 5 ;;
27448 gst_use_multifile=yes
27451 if test x$gst_use_multifile = xno; then
27452 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin multifile" >&5
27453 $as_echo "$as_me: disabling dependency-less plugin multifile" >&6;}
27454 WITHOUT_PLUGINS="$WITHOUT_PLUGINS multifile"
27458 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " multifile " > /dev/null; then
27459 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED multifile"
27461 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " multifile " > /dev/null; then
27462 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ multifile / /'`
27464 if echo " $GST_PLUGINS_SELECTED " | grep -i " multifile " > /dev/null; then
27465 USE_PLUGIN_MULTIFILE_TRUE=
27466 USE_PLUGIN_MULTIFILE_FALSE='#'
27468 USE_PLUGIN_MULTIFILE_TRUE='#'
27469 USE_PLUGIN_MULTIFILE_FALSE=
27474 GST_PLUGINS_ALL="$GST_PLUGINS_ALL multipart"
27478 # Check whether --enable-multipart was given.
27479 if test "${enable_multipart+set}" = set; then :
27480 enableval=$enable_multipart;
27481 case "${enableval}" in
27482 yes) gst_use_multipart=yes ;;
27483 no) gst_use_multipart=no ;;
27484 *) as_fn_error $? "bad value ${enableval} for --enable-multipart" "$LINENO" 5 ;;
27488 gst_use_multipart=yes
27491 if test x$gst_use_multipart = xno; then
27492 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin multipart" >&5
27493 $as_echo "$as_me: disabling dependency-less plugin multipart" >&6;}
27494 WITHOUT_PLUGINS="$WITHOUT_PLUGINS multipart"
27498 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " multipart " > /dev/null; then
27499 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED multipart"
27501 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " multipart " > /dev/null; then
27502 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ multipart / /'`
27504 if echo " $GST_PLUGINS_SELECTED " | grep -i " multipart " > /dev/null; then
27505 USE_PLUGIN_MULTIPART_TRUE=
27506 USE_PLUGIN_MULTIPART_FALSE='#'
27508 USE_PLUGIN_MULTIPART_TRUE='#'
27509 USE_PLUGIN_MULTIPART_FALSE=
27514 GST_PLUGINS_ALL="$GST_PLUGINS_ALL replaygain"
27518 # Check whether --enable-replaygain was given.
27519 if test "${enable_replaygain+set}" = set; then :
27520 enableval=$enable_replaygain;
27521 case "${enableval}" in
27522 yes) gst_use_replaygain=yes ;;
27523 no) gst_use_replaygain=no ;;
27524 *) as_fn_error $? "bad value ${enableval} for --enable-replaygain" "$LINENO" 5 ;;
27528 gst_use_replaygain=yes
27531 if test x$gst_use_replaygain = xno; then
27532 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin replaygain" >&5
27533 $as_echo "$as_me: disabling dependency-less plugin replaygain" >&6;}
27534 WITHOUT_PLUGINS="$WITHOUT_PLUGINS replaygain"
27538 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " replaygain " > /dev/null; then
27539 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED replaygain"
27541 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " replaygain " > /dev/null; then
27542 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ replaygain / /'`
27544 if echo " $GST_PLUGINS_SELECTED " | grep -i " replaygain " > /dev/null; then
27545 USE_PLUGIN_REPLAYGAIN_TRUE=
27546 USE_PLUGIN_REPLAYGAIN_FALSE='#'
27548 USE_PLUGIN_REPLAYGAIN_TRUE='#'
27549 USE_PLUGIN_REPLAYGAIN_FALSE=
27554 GST_PLUGINS_ALL="$GST_PLUGINS_ALL rtp"
27558 # Check whether --enable-rtp was given.
27559 if test "${enable_rtp+set}" = set; then :
27560 enableval=$enable_rtp;
27561 case "${enableval}" in
27562 yes) gst_use_rtp=yes ;;
27563 no) gst_use_rtp=no ;;
27564 *) as_fn_error $? "bad value ${enableval} for --enable-rtp" "$LINENO" 5 ;;
27571 if test x$gst_use_rtp = xno; then
27572 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rtp" >&5
27573 $as_echo "$as_me: disabling dependency-less plugin rtp" >&6;}
27574 WITHOUT_PLUGINS="$WITHOUT_PLUGINS rtp"
27578 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " rtp " > /dev/null; then
27579 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED rtp"
27581 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " rtp " > /dev/null; then
27582 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtp / /'`
27584 if echo " $GST_PLUGINS_SELECTED " | grep -i " rtp " > /dev/null; then
27585 USE_PLUGIN_RTP_TRUE=
27586 USE_PLUGIN_RTP_FALSE='#'
27588 USE_PLUGIN_RTP_TRUE='#'
27589 USE_PLUGIN_RTP_FALSE=
27594 GST_PLUGINS_ALL="$GST_PLUGINS_ALL rtpmanager"
27598 # Check whether --enable-rtpmanager was given.
27599 if test "${enable_rtpmanager+set}" = set; then :
27600 enableval=$enable_rtpmanager;
27601 case "${enableval}" in
27602 yes) gst_use_rtpmanager=yes ;;
27603 no) gst_use_rtpmanager=no ;;
27604 *) as_fn_error $? "bad value ${enableval} for --enable-rtpmanager" "$LINENO" 5 ;;
27608 gst_use_rtpmanager=yes
27611 if test x$gst_use_rtpmanager = xno; then
27612 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rtpmanager" >&5
27613 $as_echo "$as_me: disabling dependency-less plugin rtpmanager" >&6;}
27614 WITHOUT_PLUGINS="$WITHOUT_PLUGINS rtpmanager"
27618 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " rtpmanager " > /dev/null; then
27619 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED rtpmanager"
27621 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " rtpmanager " > /dev/null; then
27622 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtpmanager / /'`
27624 if echo " $GST_PLUGINS_SELECTED " | grep -i " rtpmanager " > /dev/null; then
27625 USE_PLUGIN_RTPMANAGER_TRUE=
27626 USE_PLUGIN_RTPMANAGER_FALSE='#'
27628 USE_PLUGIN_RTPMANAGER_TRUE='#'
27629 USE_PLUGIN_RTPMANAGER_FALSE=
27634 GST_PLUGINS_ALL="$GST_PLUGINS_ALL rtsp"
27638 # Check whether --enable-rtsp was given.
27639 if test "${enable_rtsp+set}" = set; then :
27640 enableval=$enable_rtsp;
27641 case "${enableval}" in
27642 yes) gst_use_rtsp=yes ;;
27643 no) gst_use_rtsp=no ;;
27644 *) as_fn_error $? "bad value ${enableval} for --enable-rtsp" "$LINENO" 5 ;;
27651 if test x$gst_use_rtsp = xno; then
27652 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rtsp" >&5
27653 $as_echo "$as_me: disabling dependency-less plugin rtsp" >&6;}
27654 WITHOUT_PLUGINS="$WITHOUT_PLUGINS rtsp"
27658 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " rtsp " > /dev/null; then
27659 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED rtsp"
27661 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " rtsp " > /dev/null; then
27662 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtsp / /'`
27664 if echo " $GST_PLUGINS_SELECTED " | grep -i " rtsp " > /dev/null; then
27665 USE_PLUGIN_RTSP_TRUE=
27666 USE_PLUGIN_RTSP_FALSE='#'
27668 USE_PLUGIN_RTSP_TRUE='#'
27669 USE_PLUGIN_RTSP_FALSE=
27674 GST_PLUGINS_ALL="$GST_PLUGINS_ALL shapewipe"
27678 # Check whether --enable-shapewipe was given.
27679 if test "${enable_shapewipe+set}" = set; then :
27680 enableval=$enable_shapewipe;
27681 case "${enableval}" in
27682 yes) gst_use_shapewipe=yes ;;
27683 no) gst_use_shapewipe=no ;;
27684 *) as_fn_error $? "bad value ${enableval} for --enable-shapewipe" "$LINENO" 5 ;;
27688 gst_use_shapewipe=yes
27691 if test x$gst_use_shapewipe = xno; then
27692 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin shapewipe" >&5
27693 $as_echo "$as_me: disabling dependency-less plugin shapewipe" >&6;}
27694 WITHOUT_PLUGINS="$WITHOUT_PLUGINS shapewipe"
27698 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " shapewipe " > /dev/null; then
27699 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED shapewipe"
27701 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " shapewipe " > /dev/null; then
27702 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ shapewipe / /'`
27704 if echo " $GST_PLUGINS_SELECTED " | grep -i " shapewipe " > /dev/null; then
27705 USE_PLUGIN_SHAPEWIPE_TRUE=
27706 USE_PLUGIN_SHAPEWIPE_FALSE='#'
27708 USE_PLUGIN_SHAPEWIPE_TRUE='#'
27709 USE_PLUGIN_SHAPEWIPE_FALSE=
27714 GST_PLUGINS_ALL="$GST_PLUGINS_ALL smpte"
27718 # Check whether --enable-smpte was given.
27719 if test "${enable_smpte+set}" = set; then :
27720 enableval=$enable_smpte;
27721 case "${enableval}" in
27722 yes) gst_use_smpte=yes ;;
27723 no) gst_use_smpte=no ;;
27724 *) as_fn_error $? "bad value ${enableval} for --enable-smpte" "$LINENO" 5 ;;
27731 if test x$gst_use_smpte = xno; then
27732 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin smpte" >&5
27733 $as_echo "$as_me: disabling dependency-less plugin smpte" >&6;}
27734 WITHOUT_PLUGINS="$WITHOUT_PLUGINS smpte"
27738 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " smpte " > /dev/null; then
27739 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED smpte"
27741 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " smpte " > /dev/null; then
27742 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ smpte / /'`
27744 if echo " $GST_PLUGINS_SELECTED " | grep -i " smpte " > /dev/null; then
27745 USE_PLUGIN_SMPTE_TRUE=
27746 USE_PLUGIN_SMPTE_FALSE='#'
27748 USE_PLUGIN_SMPTE_TRUE='#'
27749 USE_PLUGIN_SMPTE_FALSE=
27754 GST_PLUGINS_ALL="$GST_PLUGINS_ALL spectrum"
27758 # Check whether --enable-spectrum was given.
27759 if test "${enable_spectrum+set}" = set; then :
27760 enableval=$enable_spectrum;
27761 case "${enableval}" in
27762 yes) gst_use_spectrum=yes ;;
27763 no) gst_use_spectrum=no ;;
27764 *) as_fn_error $? "bad value ${enableval} for --enable-spectrum" "$LINENO" 5 ;;
27768 gst_use_spectrum=yes
27771 if test x$gst_use_spectrum = xno; then
27772 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin spectrum" >&5
27773 $as_echo "$as_me: disabling dependency-less plugin spectrum" >&6;}
27774 WITHOUT_PLUGINS="$WITHOUT_PLUGINS spectrum"
27778 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " spectrum " > /dev/null; then
27779 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED spectrum"
27781 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " spectrum " > /dev/null; then
27782 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ spectrum / /'`
27784 if echo " $GST_PLUGINS_SELECTED " | grep -i " spectrum " > /dev/null; then
27785 USE_PLUGIN_SPECTRUM_TRUE=
27786 USE_PLUGIN_SPECTRUM_FALSE='#'
27788 USE_PLUGIN_SPECTRUM_TRUE='#'
27789 USE_PLUGIN_SPECTRUM_FALSE=
27794 GST_PLUGINS_ALL="$GST_PLUGINS_ALL udp"
27798 # Check whether --enable-udp was given.
27799 if test "${enable_udp+set}" = set; then :
27800 enableval=$enable_udp;
27801 case "${enableval}" in
27802 yes) gst_use_udp=yes ;;
27803 no) gst_use_udp=no ;;
27804 *) as_fn_error $? "bad value ${enableval} for --enable-udp" "$LINENO" 5 ;;
27811 if test x$gst_use_udp = xno; then
27812 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin udp" >&5
27813 $as_echo "$as_me: disabling dependency-less plugin udp" >&6;}
27814 WITHOUT_PLUGINS="$WITHOUT_PLUGINS udp"
27818 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " udp " > /dev/null; then
27819 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED udp"
27821 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " udp " > /dev/null; then
27822 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ udp / /'`
27824 if echo " $GST_PLUGINS_SELECTED " | grep -i " udp " > /dev/null; then
27825 USE_PLUGIN_UDP_TRUE=
27826 USE_PLUGIN_UDP_FALSE='#'
27828 USE_PLUGIN_UDP_TRUE='#'
27829 USE_PLUGIN_UDP_FALSE=
27834 GST_PLUGINS_ALL="$GST_PLUGINS_ALL videobox"
27838 # Check whether --enable-videobox was given.
27839 if test "${enable_videobox+set}" = set; then :
27840 enableval=$enable_videobox;
27841 case "${enableval}" in
27842 yes) gst_use_videobox=yes ;;
27843 no) gst_use_videobox=no ;;
27844 *) as_fn_error $? "bad value ${enableval} for --enable-videobox" "$LINENO" 5 ;;
27848 gst_use_videobox=yes
27851 if test x$gst_use_videobox = xno; then
27852 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videobox" >&5
27853 $as_echo "$as_me: disabling dependency-less plugin videobox" >&6;}
27854 WITHOUT_PLUGINS="$WITHOUT_PLUGINS videobox"
27858 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videobox " > /dev/null; then
27859 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videobox"
27861 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videobox " > /dev/null; then
27862 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videobox / /'`
27864 if echo " $GST_PLUGINS_SELECTED " | grep -i " videobox " > /dev/null; then
27865 USE_PLUGIN_VIDEOBOX_TRUE=
27866 USE_PLUGIN_VIDEOBOX_FALSE='#'
27868 USE_PLUGIN_VIDEOBOX_TRUE='#'
27869 USE_PLUGIN_VIDEOBOX_FALSE=
27874 GST_PLUGINS_ALL="$GST_PLUGINS_ALL videocrop"
27878 # Check whether --enable-videocrop was given.
27879 if test "${enable_videocrop+set}" = set; then :
27880 enableval=$enable_videocrop;
27881 case "${enableval}" in
27882 yes) gst_use_videocrop=yes ;;
27883 no) gst_use_videocrop=no ;;
27884 *) as_fn_error $? "bad value ${enableval} for --enable-videocrop" "$LINENO" 5 ;;
27888 gst_use_videocrop=yes
27891 if test x$gst_use_videocrop = xno; then
27892 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videocrop" >&5
27893 $as_echo "$as_me: disabling dependency-less plugin videocrop" >&6;}
27894 WITHOUT_PLUGINS="$WITHOUT_PLUGINS videocrop"
27898 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videocrop " > /dev/null; then
27899 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videocrop"
27901 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videocrop " > /dev/null; then
27902 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videocrop / /'`
27904 if echo " $GST_PLUGINS_SELECTED " | grep -i " videocrop " > /dev/null; then
27905 USE_PLUGIN_VIDEOCROP_TRUE=
27906 USE_PLUGIN_VIDEOCROP_FALSE='#'
27908 USE_PLUGIN_VIDEOCROP_TRUE='#'
27909 USE_PLUGIN_VIDEOCROP_FALSE=
27914 GST_PLUGINS_ALL="$GST_PLUGINS_ALL videomixer"
27918 # Check whether --enable-videomixer was given.
27919 if test "${enable_videomixer+set}" = set; then :
27920 enableval=$enable_videomixer;
27921 case "${enableval}" in
27922 yes) gst_use_videomixer=yes ;;
27923 no) gst_use_videomixer=no ;;
27924 *) as_fn_error $? "bad value ${enableval} for --enable-videomixer" "$LINENO" 5 ;;
27928 gst_use_videomixer=yes
27931 if test x$gst_use_videomixer = xno; then
27932 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videomixer" >&5
27933 $as_echo "$as_me: disabling dependency-less plugin videomixer" >&6;}
27934 WITHOUT_PLUGINS="$WITHOUT_PLUGINS videomixer"
27938 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videomixer " > /dev/null; then
27939 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videomixer"
27941 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videomixer " > /dev/null; then
27942 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videomixer / /'`
27944 if echo " $GST_PLUGINS_SELECTED " | grep -i " videomixer " > /dev/null; then
27945 USE_PLUGIN_VIDEOMIXER_TRUE=
27946 USE_PLUGIN_VIDEOMIXER_FALSE='#'
27948 USE_PLUGIN_VIDEOMIXER_TRUE='#'
27949 USE_PLUGIN_VIDEOMIXER_FALSE=
27954 GST_PLUGINS_ALL="$GST_PLUGINS_ALL wavenc"
27958 # Check whether --enable-wavenc was given.
27959 if test "${enable_wavenc+set}" = set; then :
27960 enableval=$enable_wavenc;
27961 case "${enableval}" in
27962 yes) gst_use_wavenc=yes ;;
27963 no) gst_use_wavenc=no ;;
27964 *) as_fn_error $? "bad value ${enableval} for --enable-wavenc" "$LINENO" 5 ;;
27971 if test x$gst_use_wavenc = xno; then
27972 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin wavenc" >&5
27973 $as_echo "$as_me: disabling dependency-less plugin wavenc" >&6;}
27974 WITHOUT_PLUGINS="$WITHOUT_PLUGINS wavenc"
27978 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " wavenc " > /dev/null; then
27979 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED wavenc"
27981 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " wavenc " > /dev/null; then
27982 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ wavenc / /'`
27984 if echo " $GST_PLUGINS_SELECTED " | grep -i " wavenc " > /dev/null; then
27985 USE_PLUGIN_WAVENC_TRUE=
27986 USE_PLUGIN_WAVENC_FALSE='#'
27988 USE_PLUGIN_WAVENC_TRUE='#'
27989 USE_PLUGIN_WAVENC_FALSE=
27994 GST_PLUGINS_ALL="$GST_PLUGINS_ALL wavparse"
27998 # Check whether --enable-wavparse was given.
27999 if test "${enable_wavparse+set}" = set; then :
28000 enableval=$enable_wavparse;
28001 case "${enableval}" in
28002 yes) gst_use_wavparse=yes ;;
28003 no) gst_use_wavparse=no ;;
28004 *) as_fn_error $? "bad value ${enableval} for --enable-wavparse" "$LINENO" 5 ;;
28008 gst_use_wavparse=yes
28011 if test x$gst_use_wavparse = xno; then
28012 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin wavparse" >&5
28013 $as_echo "$as_me: disabling dependency-less plugin wavparse" >&6;}
28014 WITHOUT_PLUGINS="$WITHOUT_PLUGINS wavparse"
28018 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " wavparse " > /dev/null; then
28019 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED wavparse"
28021 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " wavparse " > /dev/null; then
28022 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ wavparse / /'`
28024 if echo " $GST_PLUGINS_SELECTED " | grep -i " wavparse " > /dev/null; then
28025 USE_PLUGIN_WAVPARSE_TRUE=
28026 USE_PLUGIN_WAVPARSE_FALSE='#'
28028 USE_PLUGIN_WAVPARSE_TRUE='#'
28029 USE_PLUGIN_WAVPARSE_FALSE=
28034 GST_PLUGINS_ALL="$GST_PLUGINS_ALL y4m"
28038 # Check whether --enable-y4m was given.
28039 if test "${enable_y4m+set}" = set; then :
28040 enableval=$enable_y4m;
28041 case "${enableval}" in
28042 yes) gst_use_y4m=yes ;;
28043 no) gst_use_y4m=no ;;
28044 *) as_fn_error $? "bad value ${enableval} for --enable-y4m" "$LINENO" 5 ;;
28051 if test x$gst_use_y4m = xno; then
28052 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin y4m" >&5
28053 $as_echo "$as_me: disabling dependency-less plugin y4m" >&6;}
28054 WITHOUT_PLUGINS="$WITHOUT_PLUGINS y4m"
28058 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " y4m " > /dev/null; then
28059 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED y4m"
28061 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " y4m " > /dev/null; then
28062 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ y4m / /'`
28064 if echo " $GST_PLUGINS_SELECTED " | grep -i " y4m " > /dev/null; then
28065 USE_PLUGIN_Y4M_TRUE=
28066 USE_PLUGIN_Y4M_FALSE='#'
28068 USE_PLUGIN_Y4M_TRUE='#'
28069 USE_PLUGIN_Y4M_FALSE=
28074 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
28075 if test "x$ac_cv_func_socket" = xyes; then :
28078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
28079 $as_echo_n "checking for socket in -lsocket... " >&6; }
28080 if ${ac_cv_lib_socket_socket+:} false; then :
28081 $as_echo_n "(cached) " >&6
28083 ac_check_lib_save_LIBS=$LIBS
28084 LIBS="-lsocket $LIBS"
28085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28086 /* end confdefs.h. */
28088 /* Override any GCC internal prototype to avoid an error.
28089 Use char because int might match the return type of a GCC
28090 builtin and then its argument prototype would still apply. */
28103 if ac_fn_c_try_link "$LINENO"; then :
28104 ac_cv_lib_socket_socket=yes
28106 ac_cv_lib_socket_socket=no
28108 rm -f core conftest.err conftest.$ac_objext \
28109 conftest$ac_exeext conftest.$ac_ext
28110 LIBS=$ac_check_lib_save_LIBS
28112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
28113 $as_echo "$ac_cv_lib_socket_socket" >&6; }
28114 if test "x$ac_cv_lib_socket_socket" = xyes; then :
28115 cat >>confdefs.h <<_ACEOF
28116 #define HAVE_LIBSOCKET 1
28119 LIBS="-lsocket $LIBS"
28126 for ac_header in sys/socket.h
28128 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
28129 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
28130 cat >>confdefs.h <<_ACEOF
28131 #define HAVE_SYS_SOCKET_H 1
28133 HAVE_SYS_SOCKET_H=yes
28138 for ac_header in winsock2.h
28140 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
28141 if test "x$ac_cv_header_winsock2_h" = xyes; then :
28142 cat >>confdefs.h <<_ACEOF
28143 #define HAVE_WINSOCK2_H 1
28145 HAVE_WINSOCK2_H=yes
28151 if test "x$HAVE_SYS_SOCKET_H" != "xyes" -a "x$HAVE_WINSOCK2_H" != "xyes"; then
28153 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ udp / /'`
28155 USE_PLUGIN_UDP_TRUE=
28156 USE_PLUGIN_UDP_FALSE='#'
28158 USE_PLUGIN_UDP_TRUE='#'
28159 USE_PLUGIN_UDP_FALSE=
28164 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtsp / /'`
28166 USE_PLUGIN_RTSP_TRUE=
28167 USE_PLUGIN_RTSP_FALSE='#'
28169 USE_PLUGIN_RTSP_TRUE='#'
28170 USE_PLUGIN_RTSP_FALSE=
28176 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
28177 WIN32_LIBS="-lws2_32"
28181 if test "x$BUILD_EXPERIMENTAL" != "xyes"; then
28183 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ monoscope / /'`
28185 USE_PLUGIN_MONOSCOPE_TRUE=
28186 USE_PLUGIN_MONOSCOPE_FALSE='#'
28188 USE_PLUGIN_MONOSCOPE_TRUE='#'
28189 USE_PLUGIN_MONOSCOPE_FALSE=
28197 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking libraries for plugins in sys/" >&5
28198 $as_echo "$as_me: Checking libraries for plugins in sys/" >&6;}
28202 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: DirectSound plug-in ***" >&5
28203 $as_echo "$as_me: *** checking feature: DirectSound plug-in ***" >&6;}
28204 if test "xdirectsoundsink" != "x"
28206 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: directsoundsink ***" >&5
28207 $as_echo "$as_me: *** for plug-ins: directsoundsink ***" >&6;}
28210 if test "x$USE_DIRECTSOUND" = "xno"; then
28213 # Check whether --enable-directsound was given.
28214 if test "${enable_directsound+set}" = set; then :
28215 enableval=$enable_directsound; case "${enableval}" in
28216 yes) USE_DIRECTSOUND=yes;;
28217 no) USE_DIRECTSOUND=no;;
28218 *) as_fn_error $? "bad value ${enableval} for --enable-directsound" "$LINENO" 5 ;;
28221 USE_DIRECTSOUND=yes
28224 if test "x$NOUSE" = "xyes"; then
28225 USE_DIRECTSOUND="no"
28226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** directsoundsink pre-configured not to be built" >&5
28227 $as_echo "$as_me: WARNING: *** directsoundsink pre-configured not to be built" >&2;}
28232 if test x$USE_DIRECTSOUND = xyes; then
28234 gst_check_save_LIBS=$LIBS
28235 gst_check_save_LDFLAGS=$LDFLAGS
28236 gst_check_save_CFLAGS=$CFLAGS
28237 gst_check_save_CPPFLAGS=$CPPFLAGS
28238 gst_check_save_CXXFLAGS=$CXXFLAGS
28240 HAVE_DIRECTSOUND=no
28242 HAVE_DIRECTSOUND="no"
28243 save_CFLAGS="$CFLAGS"
28244 save_LDFLAGS="$LDFLAGS"
28246 CFLAGS="$CFLAGS $DIRECTSOUND_CFLAGS"
28247 LDFLAGS="$LDFLAGS $DIRECTSOUND_LDFLAGS"
28248 LIBS="$LIBS -ldsound -ldxerr9 -luser32"
28249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DirectSound LDFLAGS" >&5
28250 $as_echo_n "checking for DirectSound LDFLAGS... " >&6; }
28251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28252 /* end confdefs.h. */
28254 #include <windows.h>
28255 #include <dxerr9.h>
28256 #include <dsound.h>
28260 DXGetErrorString9 (0);
28261 DirectSoundCreate(NULL, NULL, NULL);
28267 if ac_fn_c_try_link "$LINENO"; then :
28268 HAVE_DIRECTSOUND="yes"
28270 HAVE_DIRECTSOUND="no"
28272 rm -f core conftest.err conftest.$ac_objext \
28273 conftest$ac_exeext conftest.$ac_ext
28274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DIRECTSOUND" >&5
28275 $as_echo "$HAVE_DIRECTSOUND" >&6; }
28276 CFLAGS=$save_CFLAGS
28277 LDFLAGS=$save_LDFLAGS
28280 if test "x$HAVE_DIRECTSOUND" = "xyes"; then
28281 DIRECTSOUND_LIBS="-ldsound -ldxerr9 -luser32"
28289 LIBS=$gst_check_save_LIBS
28290 LDFLAGS=$gst_check_save_LDFLAGS
28291 CFLAGS=$gst_check_save_CFLAGS
28292 CPPFLAGS=$gst_check_save_CPPFLAGS
28293 CXXFLAGS=$gst_check_save_CXXFLAGS
28295 if test x$HAVE_DIRECTSOUND = xno; then
28298 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: directsoundsink" >&5
28299 $as_echo "$as_me: *** These plugins will be built: directsoundsink" >&6;}
28302 if test x$USE_DIRECTSOUND = xyes; then
28304 if test "xdirectsoundsink" != "x"; then
28305 GST_PLUGINS_YES="\tdirectsoundsink\n$GST_PLUGINS_YES"
28308 $as_echo "#define HAVE_DIRECTSOUND /**/" >>confdefs.h
28311 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: directsoundsink" >&5
28312 $as_echo "$as_me: *** These plugins will not be built: directsoundsink" >&6;}
28313 if test "xdirectsoundsink" != "x"; then
28314 GST_PLUGINS_NO="\tdirectsoundsink\n$GST_PLUGINS_NO"
28318 if test x$USE_DIRECTSOUND = xyes; then
28319 USE_DIRECTSOUND_TRUE=
28320 USE_DIRECTSOUND_FALSE='#'
28322 USE_DIRECTSOUND_TRUE='#'
28323 USE_DIRECTSOUND_FALSE=
28329 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: OSS audio ***" >&5
28330 $as_echo "$as_me: *** checking feature: OSS audio ***" >&6;}
28331 if test "xossaudio" != "x"
28333 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ossaudio ***" >&5
28334 $as_echo "$as_me: *** for plug-ins: ossaudio ***" >&6;}
28337 if test "x$USE_OSS" = "xno"; then
28340 # Check whether --enable-oss was given.
28341 if test "${enable_oss+set}" = set; then :
28342 enableval=$enable_oss; case "${enableval}" in
28345 *) as_fn_error $? "bad value ${enableval} for --enable-oss" "$LINENO" 5 ;;
28351 if test "x$NOUSE" = "xyes"; then
28353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ossaudio pre-configured not to be built" >&5
28354 $as_echo "$as_me: WARNING: *** ossaudio pre-configured not to be built" >&2;}
28359 if test x$USE_OSS = xyes; then
28361 gst_check_save_LIBS=$LIBS
28362 gst_check_save_LDFLAGS=$LDFLAGS
28363 gst_check_save_CFLAGS=$CFLAGS
28364 gst_check_save_CPPFLAGS=$CPPFLAGS
28365 gst_check_save_CXXFLAGS=$CXXFLAGS
28370 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
28371 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
28374 $as_echo "#define HAVE_OSS_INCLUDE_IN_SYS /**/" >>confdefs.h
28379 ac_fn_c_check_header_mongrel "$LINENO" "soundcard.h" "ac_cv_header_soundcard_h" "$ac_includes_default"
28380 if test "x$ac_cv_header_soundcard_h" = xyes; then :
28383 $as_echo "#define HAVE_OSS_INCLUDE_IN_ROOT /**/" >>confdefs.h
28388 ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default"
28389 if test "x$ac_cv_header_machine_soundcard_h" = xyes; then :
28392 $as_echo "#define HAVE_OSS_INCLUDE_IN_MACHINE /**/" >>confdefs.h
28412 LIBS=$gst_check_save_LIBS
28413 LDFLAGS=$gst_check_save_LDFLAGS
28414 CFLAGS=$gst_check_save_CFLAGS
28415 CPPFLAGS=$gst_check_save_CPPFLAGS
28416 CXXFLAGS=$gst_check_save_CXXFLAGS
28418 if test x$HAVE_OSS = xno; then
28421 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ossaudio" >&5
28422 $as_echo "$as_me: *** These plugins will be built: ossaudio" >&6;}
28425 if test x$USE_OSS = xyes; then
28427 if test "xossaudio" != "x"; then
28428 GST_PLUGINS_YES="\tossaudio\n$GST_PLUGINS_YES"
28431 $as_echo "#define HAVE_OSS /**/" >>confdefs.h
28434 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ossaudio" >&5
28435 $as_echo "$as_me: *** These plugins will not be built: ossaudio" >&6;}
28436 if test "xossaudio" != "x"; then
28437 GST_PLUGINS_NO="\tossaudio\n$GST_PLUGINS_NO"
28441 if test x$USE_OSS = xyes; then
28452 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Open Sound System 4 ***" >&5
28453 $as_echo "$as_me: *** checking feature: Open Sound System 4 ***" >&6;}
28454 if test "xoss4" != "x"
28456 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: oss4 ***" >&5
28457 $as_echo "$as_me: *** for plug-ins: oss4 ***" >&6;}
28460 if test "x$USE_OSS4" = "xno"; then
28463 # Check whether --enable-oss4 was given.
28464 if test "${enable_oss4+set}" = set; then :
28465 enableval=$enable_oss4; case "${enableval}" in
28466 yes) USE_OSS4=yes;;
28468 *) as_fn_error $? "bad value ${enableval} for --enable-oss4" "$LINENO" 5 ;;
28474 if test "x$NOUSE" = "xyes"; then
28476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** oss4 pre-configured not to be built" >&5
28477 $as_echo "$as_me: WARNING: *** oss4 pre-configured not to be built" >&2;}
28482 if test x$USE_OSS4 = xyes; then
28484 gst_check_save_LIBS=$LIBS
28485 gst_check_save_LDFLAGS=$LDFLAGS
28486 gst_check_save_CFLAGS=$CFLAGS
28487 gst_check_save_CPPFLAGS=$CPPFLAGS
28488 gst_check_save_CXXFLAGS=$CXXFLAGS
28492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking if we can build the OSS4 elements" >&5
28493 $as_echo_n "checking Checking if we can build the OSS4 elements... " >&6; }
28494 for ac_header in fcntl.h sys/ioctl.h sys/stat.h sys/types.h
28496 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
28497 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
28498 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
28499 cat >>confdefs.h <<_ACEOF
28500 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
28502 test -z "$OSS4_MISSING_HEADER" && HAVE_OSS4="yes"
28504 OSS4_MISSING_HEADER="yes";HAVE_OSS4="no"
28511 LIBS=$gst_check_save_LIBS
28512 LDFLAGS=$gst_check_save_LDFLAGS
28513 CFLAGS=$gst_check_save_CFLAGS
28514 CPPFLAGS=$gst_check_save_CPPFLAGS
28515 CXXFLAGS=$gst_check_save_CXXFLAGS
28517 if test x$HAVE_OSS4 = xno; then
28520 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: oss4" >&5
28521 $as_echo "$as_me: *** These plugins will be built: oss4" >&6;}
28524 if test x$USE_OSS4 = xyes; then
28526 if test "xoss4" != "x"; then
28527 GST_PLUGINS_YES="\toss4\n$GST_PLUGINS_YES"
28530 $as_echo "#define HAVE_OSS4 /**/" >>confdefs.h
28533 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: oss4" >&5
28534 $as_echo "$as_me: *** These plugins will not be built: oss4" >&6;}
28535 if test "xoss4" != "x"; then
28536 GST_PLUGINS_NO="\toss4\n$GST_PLUGINS_NO"
28540 if test x$USE_OSS4 = xyes; then
28551 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Sun Audio ***" >&5
28552 $as_echo "$as_me: *** checking feature: Sun Audio ***" >&6;}
28553 if test "xsunaudio" != "x"
28555 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: sunaudio ***" >&5
28556 $as_echo "$as_me: *** for plug-ins: sunaudio ***" >&6;}
28559 if test "x$USE_SUNAUDIO" = "xno"; then
28562 # Check whether --enable-sunaudio was given.
28563 if test "${enable_sunaudio+set}" = set; then :
28564 enableval=$enable_sunaudio; case "${enableval}" in
28565 yes) USE_SUNAUDIO=yes;;
28566 no) USE_SUNAUDIO=no;;
28567 *) as_fn_error $? "bad value ${enableval} for --enable-sunaudio" "$LINENO" 5 ;;
28573 if test "x$NOUSE" = "xyes"; then
28575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** sunaudio pre-configured not to be built" >&5
28576 $as_echo "$as_me: WARNING: *** sunaudio pre-configured not to be built" >&2;}
28581 if test x$USE_SUNAUDIO = xyes; then
28583 gst_check_save_LIBS=$LIBS
28584 gst_check_save_LDFLAGS=$LDFLAGS
28585 gst_check_save_CFLAGS=$CFLAGS
28586 gst_check_save_CPPFLAGS=$CPPFLAGS
28587 gst_check_save_CXXFLAGS=$CXXFLAGS
28591 ac_fn_c_check_header_mongrel "$LINENO" "sys/audioio.h" "ac_cv_header_sys_audioio_h" "$ac_includes_default"
28592 if test "x$ac_cv_header_sys_audioio_h" = xyes; then :
28593 HAVE_SUNAUDIO="yes"
28601 LIBS=$gst_check_save_LIBS
28602 LDFLAGS=$gst_check_save_LDFLAGS
28603 CFLAGS=$gst_check_save_CFLAGS
28604 CPPFLAGS=$gst_check_save_CPPFLAGS
28605 CXXFLAGS=$gst_check_save_CXXFLAGS
28607 if test x$HAVE_SUNAUDIO = xno; then
28610 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: sunaudio" >&5
28611 $as_echo "$as_me: *** These plugins will be built: sunaudio" >&6;}
28614 if test x$USE_SUNAUDIO = xyes; then
28616 if test "xsunaudio" != "x"; then
28617 GST_PLUGINS_YES="\tsunaudio\n$GST_PLUGINS_YES"
28620 $as_echo "#define HAVE_SUNAUDIO /**/" >>confdefs.h
28623 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: sunaudio" >&5
28624 $as_echo "$as_me: *** These plugins will not be built: sunaudio" >&6;}
28625 if test "xsunaudio" != "x"; then
28626 GST_PLUGINS_NO="\tsunaudio\n$GST_PLUGINS_NO"
28630 if test x$USE_SUNAUDIO = xyes; then
28632 USE_SUNAUDIO_FALSE='#'
28634 USE_SUNAUDIO_TRUE='#'
28635 USE_SUNAUDIO_FALSE=
28641 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: OSX audio ***" >&5
28642 $as_echo "$as_me: *** checking feature: OSX audio ***" >&6;}
28643 if test "xosxaudio" != "x"
28645 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: osxaudio ***" >&5
28646 $as_echo "$as_me: *** for plug-ins: osxaudio ***" >&6;}
28649 if test "x$USE_OSX_AUDIO" = "xno"; then
28652 # Check whether --enable-osx_audio was given.
28653 if test "${enable_osx_audio+set}" = set; then :
28654 enableval=$enable_osx_audio; case "${enableval}" in
28655 yes) USE_OSX_AUDIO=yes;;
28656 no) USE_OSX_AUDIO=no;;
28657 *) as_fn_error $? "bad value ${enableval} for --enable-osx_audio" "$LINENO" 5 ;;
28663 if test "x$NOUSE" = "xyes"; then
28665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** osxaudio pre-configured not to be built" >&5
28666 $as_echo "$as_me: WARNING: *** osxaudio pre-configured not to be built" >&2;}
28671 if test x$USE_OSX_AUDIO = xyes; then
28673 gst_check_save_LIBS=$LIBS
28674 gst_check_save_LDFLAGS=$LDFLAGS
28675 gst_check_save_CFLAGS=$CFLAGS
28676 gst_check_save_CPPFLAGS=$CPPFLAGS
28677 gst_check_save_CXXFLAGS=$CXXFLAGS
28681 ac_fn_c_check_header_mongrel "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
28682 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes; then :
28683 HAVE_OSX_AUDIO="yes"
28685 HAVE_OSX_AUDIO="no"
28691 LIBS=$gst_check_save_LIBS
28692 LDFLAGS=$gst_check_save_LDFLAGS
28693 CFLAGS=$gst_check_save_CFLAGS
28694 CPPFLAGS=$gst_check_save_CPPFLAGS
28695 CXXFLAGS=$gst_check_save_CXXFLAGS
28697 if test x$HAVE_OSX_AUDIO = xno; then
28700 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: osxaudio" >&5
28701 $as_echo "$as_me: *** These plugins will be built: osxaudio" >&6;}
28704 if test x$USE_OSX_AUDIO = xyes; then
28706 if test "xosxaudio" != "x"; then
28707 GST_PLUGINS_YES="\tosxaudio\n$GST_PLUGINS_YES"
28710 $as_echo "#define HAVE_OSX_AUDIO /**/" >>confdefs.h
28713 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: osxaudio" >&5
28714 $as_echo "$as_me: *** These plugins will not be built: osxaudio" >&6;}
28715 if test "xosxaudio" != "x"; then
28716 GST_PLUGINS_NO="\tosxaudio\n$GST_PLUGINS_NO"
28720 if test x$USE_OSX_AUDIO = xyes; then
28721 USE_OSX_AUDIO_TRUE=
28722 USE_OSX_AUDIO_FALSE='#'
28724 USE_OSX_AUDIO_TRUE='#'
28725 USE_OSX_AUDIO_FALSE=
28730 HAVE_OSX_VIDEO="no"
28732 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: OSX video ***" >&5
28733 $as_echo "$as_me: *** checking feature: OSX video ***" >&6;}
28734 if test "xosxvideosink" != "x"
28736 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: osxvideosink ***" >&5
28737 $as_echo "$as_me: *** for plug-ins: osxvideosink ***" >&6;}
28740 if test "x$USE_OSX_VIDEO" = "xno"; then
28743 # Check whether --enable-osx_video was given.
28744 if test "${enable_osx_video+set}" = set; then :
28745 enableval=$enable_osx_video; case "${enableval}" in
28746 yes) USE_OSX_VIDEO=yes;;
28747 no) USE_OSX_VIDEO=no;;
28748 *) as_fn_error $? "bad value ${enableval} for --enable-osx_video" "$LINENO" 5 ;;
28754 if test "x$NOUSE" = "xyes"; then
28756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** osxvideosink pre-configured not to be built" >&5
28757 $as_echo "$as_me: WARNING: *** osxvideosink pre-configured not to be built" >&2;}
28762 if test x$USE_OSX_VIDEO = xyes; then
28764 gst_check_save_LIBS=$LIBS
28765 gst_check_save_LDFLAGS=$LDFLAGS
28766 gst_check_save_CFLAGS=$CFLAGS
28767 gst_check_save_CPPFLAGS=$CPPFLAGS
28768 gst_check_save_CXXFLAGS=$CXXFLAGS
28772 ac_fn_c_check_header_mongrel "$LINENO" "OpenGL/gl.h" "ac_cv_header_OpenGL_gl_h" "$ac_includes_default"
28773 if test "x$ac_cv_header_OpenGL_gl_h" = xyes; then :
28774 HAVE_OSX_VIDEO="yes"
28776 HAVE_OSX_VIDEO="no"
28782 LIBS=$gst_check_save_LIBS
28783 LDFLAGS=$gst_check_save_LDFLAGS
28784 CFLAGS=$gst_check_save_CFLAGS
28785 CPPFLAGS=$gst_check_save_CPPFLAGS
28786 CXXFLAGS=$gst_check_save_CXXFLAGS
28788 if test x$HAVE_OSX_VIDEO = xno; then
28791 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: osxvideosink" >&5
28792 $as_echo "$as_me: *** These plugins will be built: osxvideosink" >&6;}
28795 if test x$USE_OSX_VIDEO = xyes; then
28797 if test "xosxvideosink" != "x"; then
28798 GST_PLUGINS_YES="\tosxvideosink\n$GST_PLUGINS_YES"
28801 $as_echo "#define HAVE_OSX_VIDEO /**/" >>confdefs.h
28804 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: osxvideosink" >&5
28805 $as_echo "$as_me: *** These plugins will not be built: osxvideosink" >&6;}
28806 if test "xosxvideosink" != "x"; then
28807 GST_PLUGINS_NO="\tosxvideosink\n$GST_PLUGINS_NO"
28811 if test x$USE_OSX_VIDEO = xyes; then
28812 USE_OSX_VIDEO_TRUE=
28813 USE_OSX_VIDEO_FALSE='#'
28815 USE_OSX_VIDEO_TRUE='#'
28816 USE_OSX_VIDEO_FALSE=
28824 HAVE_OSX_VIDEO="no"
28830 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Video 4 Linux 2 ***" >&5
28831 $as_echo "$as_me: *** checking feature: Video 4 Linux 2 ***" >&6;}
28832 if test "xv4l2src" != "x"
28834 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: v4l2src ***" >&5
28835 $as_echo "$as_me: *** for plug-ins: v4l2src ***" >&6;}
28838 if test "x$USE_GST_V4L2" = "xno"; then
28841 # Check whether --enable-gst_v4l2 was given.
28842 if test "${enable_gst_v4l2+set}" = set; then :
28843 enableval=$enable_gst_v4l2; case "${enableval}" in
28844 yes) USE_GST_V4L2=yes;;
28845 no) USE_GST_V4L2=no;;
28846 *) as_fn_error $? "bad value ${enableval} for --enable-gst_v4l2" "$LINENO" 5 ;;
28852 if test "x$NOUSE" = "xyes"; then
28854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** v4l2src pre-configured not to be built" >&5
28855 $as_echo "$as_me: WARNING: *** v4l2src pre-configured not to be built" >&2;}
28860 if test x$USE_GST_V4L2 = xyes; then
28862 gst_check_save_LIBS=$LIBS
28863 gst_check_save_LDFLAGS=$LDFLAGS
28864 gst_check_save_CFLAGS=$CFLAGS
28865 gst_check_save_CPPFLAGS=$CPPFLAGS
28866 gst_check_save_CXXFLAGS=$CXXFLAGS
28870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for up to date v4l2 installation" >&5
28871 $as_echo_n "checking Checking for up to date v4l2 installation... " >&6; }
28872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28873 /* end confdefs.h. */
28875 #include <sys/types.h>
28876 #ifdef __sun /* Solaris */
28877 #include <sys/types.h>
28878 #include <sys/videodev2.h>
28880 #include <linux/types.h>
28881 #define _LINUX_TIME_H
28883 #include <linux/videodev2.h>
28885 #if defined(V4L2_MAJOR_VERSION) || defined(V4L2_MINOR_VERSION)
28886 #error too early v4l2 version or no v4l2 at all
28899 if ac_fn_c_try_compile "$LINENO"; then :
28901 HAVE_GST_V4L2="yes"
28902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28903 $as_echo "yes" >&6; }
28908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28909 $as_echo "no" >&6; }
28912 ac_fn_c_check_header_mongrel "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "$ac_includes_default"
28913 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
28917 ac_fn_c_check_header_mongrel "$LINENO" "sys/videodev2.h" "ac_cv_header_sys_videodev2_h" "$ac_includes_default"
28918 if test "x$ac_cv_header_sys_videodev2_h" = xyes; then :
28928 if test "x$HAVE_VIDEODEV" = "xyes"; then
28929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: video4linux2 headers were found, but they're old." >&5
28930 $as_echo "$as_me: WARNING: video4linux2 headers were found, but they're old." >&2;}
28931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please update v4l2 to compile the v4l2 plugins" >&5
28932 $as_echo "$as_me: WARNING: Please update v4l2 to compile the v4l2 plugins" >&2;}
28934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: video4linux2 was not found" >&5
28935 $as_echo "$as_me: WARNING: video4linux2 was not found" >&2;}
28939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28941 if test x$HAVE_GST_V4L2 = xyes ; then
28943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking struct v4l2_buffer declaration" >&5
28944 $as_echo_n "checking struct v4l2_buffer declaration... " >&6; }
28945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28946 /* end confdefs.h. */
28948 #include <sys/types.h>
28949 #ifdef __sun /* Solaris */
28950 #include <sys/types.h>
28951 #include <sys/videodev2.h>
28953 #include <linux/types.h>
28954 #define _LINUX_TIME_H
28956 #include <linux/videodev2.h>
28963 struct v4l2_buffer buf;
28971 if ac_fn_c_try_compile "$LINENO"; then :
28972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28973 $as_echo "yes" >&6; }
28975 MISSING_DECL=1 && { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28976 $as_echo "no" >&6; }
28978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28979 if test x$MISSING_DECL = x1 ; then
28981 $as_echo "#define GST_V4L2_MISSING_BUFDECL 1" >>confdefs.h
28986 if test x$HAVE_X = xyes; then
28987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv_pic" >&5
28988 $as_echo_n "checking for XvQueryExtension in -lXv_pic... " >&6; }
28989 if ${ac_cv_lib_Xv_pic_XvQueryExtension+:} false; then :
28990 $as_echo_n "(cached) " >&6
28992 ac_check_lib_save_LIBS=$LIBS
28993 LIBS="-lXv_pic $X_LIBS -lXext $LIBS"
28994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28995 /* end confdefs.h. */
28997 /* Override any GCC internal prototype to avoid an error.
28998 Use char because int might match the return type of a GCC
28999 builtin and then its argument prototype would still apply. */
29003 char XvQueryExtension ();
29007 return XvQueryExtension ();
29012 if ac_fn_c_try_link "$LINENO"; then :
29013 ac_cv_lib_Xv_pic_XvQueryExtension=yes
29015 ac_cv_lib_Xv_pic_XvQueryExtension=no
29017 rm -f core conftest.err conftest.$ac_objext \
29018 conftest$ac_exeext conftest.$ac_ext
29019 LIBS=$ac_check_lib_save_LIBS
29021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_pic_XvQueryExtension" >&5
29022 $as_echo "$ac_cv_lib_Xv_pic_XvQueryExtension" >&6; }
29023 if test "x$ac_cv_lib_Xv_pic_XvQueryExtension" = xyes; then :
29030 if test x$HAVE_XVIDEO = xyes; then
29031 XVIDEO_LIBS="-lXv_pic -lXext"
29034 if test x$HAVE_XVIDEO = xno; then
29035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv" >&5
29036 $as_echo_n "checking for XvQueryExtension in -lXv... " >&6; }
29037 if ${ac_cv_lib_Xv_XvQueryExtension+:} false; then :
29038 $as_echo_n "(cached) " >&6
29040 ac_check_lib_save_LIBS=$LIBS
29041 LIBS="-lXv $X_LIBS -lXext $LIBS"
29042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29043 /* end confdefs.h. */
29045 /* Override any GCC internal prototype to avoid an error.
29046 Use char because int might match the return type of a GCC
29047 builtin and then its argument prototype would still apply. */
29051 char XvQueryExtension ();
29055 return XvQueryExtension ();
29060 if ac_fn_c_try_link "$LINENO"; then :
29061 ac_cv_lib_Xv_XvQueryExtension=yes
29063 ac_cv_lib_Xv_XvQueryExtension=no
29065 rm -f core conftest.err conftest.$ac_objext \
29066 conftest$ac_exeext conftest.$ac_ext
29067 LIBS=$ac_check_lib_save_LIBS
29069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_XvQueryExtension" >&5
29070 $as_echo "$ac_cv_lib_Xv_XvQueryExtension" >&6; }
29071 if test "x$ac_cv_lib_Xv_XvQueryExtension" = xyes; then :
29078 if test x$HAVE_XVIDEO = xyes; then
29079 XVIDEO_LIBS="-lXv -lXext"
29089 LIBS=$gst_check_save_LIBS
29090 LDFLAGS=$gst_check_save_LDFLAGS
29091 CFLAGS=$gst_check_save_CFLAGS
29092 CPPFLAGS=$gst_check_save_CPPFLAGS
29093 CXXFLAGS=$gst_check_save_CXXFLAGS
29095 if test x$HAVE_GST_V4L2 = xno; then
29098 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: v4l2src" >&5
29099 $as_echo "$as_me: *** These plugins will be built: v4l2src" >&6;}
29102 if test x$USE_GST_V4L2 = xyes; then
29104 if test "xv4l2src" != "x"; then
29105 GST_PLUGINS_YES="\tv4l2src\n$GST_PLUGINS_YES"
29108 $as_echo "#define HAVE_GST_V4L2 /**/" >>confdefs.h
29111 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: v4l2src" >&5
29112 $as_echo "$as_me: *** These plugins will not be built: v4l2src" >&6;}
29113 if test "xv4l2src" != "x"; then
29114 GST_PLUGINS_NO="\tv4l2src\n$GST_PLUGINS_NO"
29118 if test x$USE_GST_V4L2 = xyes; then
29120 USE_GST_V4L2_FALSE='#'
29122 USE_GST_V4L2_TRUE='#'
29123 USE_GST_V4L2_FALSE=
29128 # Optional gudev for device probing
29130 # Check whether --with-gudev was given.
29131 if test "${with_gudev+set}" = set; then :
29132 withval=$with_gudev;
29137 if test x$HAVE_GST_V4L2 = xyes; then
29138 if test x$with_gudev != xno; then
29141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUDEV" >&5
29142 $as_echo_n "checking for GUDEV... " >&6; }
29144 if test -n "$PKG_CONFIG"; then
29145 if test -n "$GUDEV_CFLAGS"; then
29146 pkg_cv_GUDEV_CFLAGS="$GUDEV_CFLAGS"
29148 if test -n "$PKG_CONFIG" && \
29149 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gudev-1.0 >= 143 \""; } >&5
29150 ($PKG_CONFIG --exists --print-errors " gudev-1.0 >= 143 ") 2>&5
29152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29153 test $ac_status = 0; }; then
29154 pkg_cv_GUDEV_CFLAGS=`$PKG_CONFIG --cflags " gudev-1.0 >= 143 " 2>/dev/null`
29162 if test -n "$PKG_CONFIG"; then
29163 if test -n "$GUDEV_LIBS"; then
29164 pkg_cv_GUDEV_LIBS="$GUDEV_LIBS"
29166 if test -n "$PKG_CONFIG" && \
29167 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gudev-1.0 >= 143 \""; } >&5
29168 ($PKG_CONFIG --exists --print-errors " gudev-1.0 >= 143 ") 2>&5
29170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29171 test $ac_status = 0; }; then
29172 pkg_cv_GUDEV_LIBS=`$PKG_CONFIG --libs " gudev-1.0 >= 143 " 2>/dev/null`
29183 if test $pkg_failed = yes; then
29185 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29186 _pkg_short_errors_supported=yes
29188 _pkg_short_errors_supported=no
29190 if test $_pkg_short_errors_supported = yes; then
29191 GUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " gudev-1.0 >= 143 "`
29193 GUDEV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " gudev-1.0 >= 143 "`
29195 # Put the nasty error message in config.log where it belongs
29196 echo "$GUDEV_PKG_ERRORS" >&5
29198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29199 $as_echo "no" >&6; }
29203 elif test $pkg_failed = untried; then
29208 GUDEV_CFLAGS=$pkg_cv_GUDEV_CFLAGS
29209 GUDEV_LIBS=$pkg_cv_GUDEV_LIBS
29210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29211 $as_echo "yes" >&6; }
29214 $as_echo "#define HAVE_GUDEV 1" >>confdefs.h
29217 $as_echo "#define G_UDEV_API_IS_SUBJECT_TO_CHANGE 1" >>confdefs.h
29228 # Make libv4l2 non-automagic
29230 # Check whether --with-libv4l2 was given.
29231 if test "${with_libv4l2+set}" = set; then :
29232 withval=$with_libv4l2;
29237 if test x$HAVE_GST_V4L2 = xyes; then
29238 if test x$with_libv4l2 != xno; then
29241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBV4L2" >&5
29242 $as_echo_n "checking for LIBV4L2... " >&6; }
29244 if test -n "$PKG_CONFIG"; then
29245 if test -n "$LIBV4L2_CFLAGS"; then
29246 pkg_cv_LIBV4L2_CFLAGS="$LIBV4L2_CFLAGS"
29248 if test -n "$PKG_CONFIG" && \
29249 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libv4l2\""; } >&5
29250 ($PKG_CONFIG --exists --print-errors "libv4l2") 2>&5
29252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29253 test $ac_status = 0; }; then
29254 pkg_cv_LIBV4L2_CFLAGS=`$PKG_CONFIG --cflags "libv4l2" 2>/dev/null`
29262 if test -n "$PKG_CONFIG"; then
29263 if test -n "$LIBV4L2_LIBS"; then
29264 pkg_cv_LIBV4L2_LIBS="$LIBV4L2_LIBS"
29266 if test -n "$PKG_CONFIG" && \
29267 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libv4l2\""; } >&5
29268 ($PKG_CONFIG --exists --print-errors "libv4l2") 2>&5
29270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29271 test $ac_status = 0; }; then
29272 pkg_cv_LIBV4L2_LIBS=`$PKG_CONFIG --libs "libv4l2" 2>/dev/null`
29283 if test $pkg_failed = yes; then
29285 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29286 _pkg_short_errors_supported=yes
29288 _pkg_short_errors_supported=no
29290 if test $_pkg_short_errors_supported = yes; then
29291 LIBV4L2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libv4l2"`
29293 LIBV4L2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libv4l2"`
29295 # Put the nasty error message in config.log where it belongs
29296 echo "$LIBV4L2_PKG_ERRORS" >&5
29298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29299 $as_echo "no" >&6; }
29303 elif test $pkg_failed = untried; then
29308 LIBV4L2_CFLAGS=$pkg_cv_LIBV4L2_CFLAGS
29309 LIBV4L2_LIBS=$pkg_cv_LIBV4L2_LIBS
29310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29311 $as_echo "yes" >&6; }
29314 $as_echo "#define HAVE_LIBV4L2 1" >>confdefs.h
29323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
29324 $as_echo_n "checking for X... " >&6; }
29327 # Check whether --with-x was given.
29328 if test "${with_x+set}" = set; then :
29332 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29333 if test "x$with_x" = xno; then
29334 # The user explicitly disabled X.
29337 case $x_includes,$x_libraries in #(
29338 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
29339 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
29340 $as_echo_n "(cached) " >&6
29342 # One or both of the vars are not set, and there is no cached value.
29343 ac_x_includes=no ac_x_libraries=no
29344 rm -f -r conftest.dir
29345 if mkdir conftest.dir; then
29347 cat >Imakefile <<'_ACEOF'
29349 @echo incroot='${INCROOT}'
29351 @echo usrlibdir='${USRLIBDIR}'
29353 @echo libdir='${LIBDIR}'
29355 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29356 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
29357 for ac_var in incroot usrlibdir libdir; do
29358 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29360 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29361 for ac_extension in a so sl dylib la dll; do
29362 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29363 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29364 ac_im_usrlibdir=$ac_im_libdir; break
29367 # Screen out bogus values from the imake configuration. They are
29368 # bogus both because they are the default anyway, and because
29369 # using them would break gcc on systems where it needs fixed includes.
29370 case $ac_im_incroot in
29371 /usr/include) ac_x_includes= ;;
29372 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29374 case $ac_im_usrlibdir in
29375 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
29376 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29380 rm -f -r conftest.dir
29383 # Standard set of common directories for X headers.
29384 # Check X11 before X11Rn because it is often a symlink to the current release.
29398 /usr/local/X11/include
29399 /usr/local/X11R7/include
29400 /usr/local/X11R6/include
29401 /usr/local/X11R5/include
29402 /usr/local/X11R4/include
29404 /usr/local/include/X11
29405 /usr/local/include/X11R7
29406 /usr/local/include/X11R6
29407 /usr/local/include/X11R5
29408 /usr/local/include/X11R4
29412 /usr/XFree86/include/X11
29416 /usr/unsupported/include
29417 /usr/athena/include
29418 /usr/local/x11r5/include
29419 /usr/lpp/Xamples/include
29421 /usr/openwin/include
29422 /usr/openwin/share/include'
29424 if test "$ac_x_includes" = no; then
29425 # Guess where to find include files, by looking for Xlib.h.
29426 # First, try using that file with no special directory specified.
29427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29428 /* end confdefs.h. */
29429 #include <X11/Xlib.h>
29431 if ac_fn_c_try_cpp "$LINENO"; then :
29432 # We can compile using X headers with no special include directory.
29435 for ac_dir in $ac_x_header_dirs; do
29436 if test -r "$ac_dir/X11/Xlib.h"; then
29437 ac_x_includes=$ac_dir
29442 rm -f conftest.err conftest.i conftest.$ac_ext
29443 fi # $ac_x_includes = no
29445 if test "$ac_x_libraries" = no; then
29446 # Check for the libraries.
29447 # See if we find them without any special options.
29448 # Don't add to $LIBS permanently.
29451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29452 /* end confdefs.h. */
29453 #include <X11/Xlib.h>
29462 if ac_fn_c_try_link "$LINENO"; then :
29464 # We can link X programs with no special library path.
29468 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29470 # Don't even attempt the hair of trying to link an X program!
29471 for ac_extension in a so sl dylib la dll; do
29472 if test -r "$ac_dir/libX11.$ac_extension"; then
29473 ac_x_libraries=$ac_dir
29479 rm -f core conftest.err conftest.$ac_objext \
29480 conftest$ac_exeext conftest.$ac_ext
29481 fi # $ac_x_libraries = no
29483 case $ac_x_includes,$ac_x_libraries in #(
29484 no,* | *,no | *\'*)
29485 # Didn't find X, or a directory has "'" in its name.
29486 ac_cv_have_x="have_x=no";; #(
29488 # Record where we found X for the cache.
29489 ac_cv_have_x="have_x=yes\
29490 ac_x_includes='$ac_x_includes'\
29491 ac_x_libraries='$ac_x_libraries'"
29497 eval "$ac_cv_have_x"
29500 if test "$have_x" != yes; then
29501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
29502 $as_echo "$have_x" >&6; }
29505 # If each of the values was on the command line, it overrides each guess.
29506 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29507 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29508 # Update the cache value to reflect the command line values.
29509 ac_cv_have_x="have_x=yes\
29510 ac_x_includes='$x_includes'\
29511 ac_x_libraries='$x_libraries'"
29512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
29513 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
29517 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X libraries and plugins ***" >&5
29518 $as_echo "$as_me: *** checking feature: X libraries and plugins ***" >&6;}
29519 if test "xximagesrc" != "x"
29521 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ximagesrc ***" >&5
29522 $as_echo "$as_me: *** for plug-ins: ximagesrc ***" >&6;}
29525 if test "x$USE_X" = "xno"; then
29528 # Check whether --enable-x was given.
29529 if test "${enable_x+set}" = set; then :
29530 enableval=$enable_x; case "${enableval}" in
29533 *) as_fn_error $? "bad value ${enableval} for --enable-x" "$LINENO" 5 ;;
29539 if test "x$NOUSE" = "xyes"; then
29541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ximagesrc pre-configured not to be built" >&5
29542 $as_echo "$as_me: WARNING: *** ximagesrc pre-configured not to be built" >&2;}
29547 if test x$USE_X = xyes; then
29549 gst_check_save_LIBS=$LIBS
29550 gst_check_save_LDFLAGS=$LDFLAGS
29551 gst_check_save_CFLAGS=$CFLAGS
29552 gst_check_save_CPPFLAGS=$CPPFLAGS
29553 gst_check_save_CXXFLAGS=$CXXFLAGS
29557 if test "$no_x" = yes; then
29558 # Not all programs may use this symbol, but it does not hurt to define it.
29560 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
29562 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29564 if test -n "$x_includes"; then
29565 X_CFLAGS="$X_CFLAGS -I$x_includes"
29568 # It would also be nice to do this for all -L options, not just this one.
29569 if test -n "$x_libraries"; then
29570 X_LIBS="$X_LIBS -L$x_libraries"
29571 # For Solaris; some versions of Sun CC require a space after -R and
29572 # others require no space. Words are not sufficient . . . .
29573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
29574 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
29575 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29576 ac_xsave_c_werror_flag=$ac_c_werror_flag
29577 ac_c_werror_flag=yes
29578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29579 /* end confdefs.h. */
29589 if ac_fn_c_try_link "$LINENO"; then :
29590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29591 $as_echo "no" >&6; }
29592 X_LIBS="$X_LIBS -R$x_libraries"
29594 LIBS="$ac_xsave_LIBS -R $x_libraries"
29595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29596 /* end confdefs.h. */
29606 if ac_fn_c_try_link "$LINENO"; then :
29607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29608 $as_echo "yes" >&6; }
29609 X_LIBS="$X_LIBS -R $x_libraries"
29611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
29612 $as_echo "neither works" >&6; }
29614 rm -f core conftest.err conftest.$ac_objext \
29615 conftest$ac_exeext conftest.$ac_ext
29617 rm -f core conftest.err conftest.$ac_objext \
29618 conftest$ac_exeext conftest.$ac_ext
29619 ac_c_werror_flag=$ac_xsave_c_werror_flag
29620 LIBS=$ac_xsave_LIBS
29623 # Check for system-dependent libraries X programs must link with.
29624 # Do this before checking for the system-independent R6 libraries
29625 # (-lICE), since we may need -lsocket or whatever for X linking.
29627 if test "$ISC" = yes; then
29628 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29630 # Martyn Johnson says this is needed for Ultrix, if the X
29631 # libraries were built with DECnet support. And Karl Berry says
29632 # the Alpha needs dnet_stub (dnet does not exist).
29633 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29635 /* end confdefs.h. */
29637 /* Override any GCC internal prototype to avoid an error.
29638 Use char because int might match the return type of a GCC
29639 builtin and then its argument prototype would still apply. */
29643 char XOpenDisplay ();
29647 return XOpenDisplay ();
29652 if ac_fn_c_try_link "$LINENO"; then :
29655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
29656 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
29657 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
29658 $as_echo_n "(cached) " >&6
29660 ac_check_lib_save_LIBS=$LIBS
29661 LIBS="-ldnet $LIBS"
29662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29663 /* end confdefs.h. */
29665 /* Override any GCC internal prototype to avoid an error.
29666 Use char because int might match the return type of a GCC
29667 builtin and then its argument prototype would still apply. */
29675 return dnet_ntoa ();
29680 if ac_fn_c_try_link "$LINENO"; then :
29681 ac_cv_lib_dnet_dnet_ntoa=yes
29683 ac_cv_lib_dnet_dnet_ntoa=no
29685 rm -f core conftest.err conftest.$ac_objext \
29686 conftest$ac_exeext conftest.$ac_ext
29687 LIBS=$ac_check_lib_save_LIBS
29689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29690 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29691 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
29692 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29695 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
29697 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
29698 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
29699 $as_echo_n "(cached) " >&6
29701 ac_check_lib_save_LIBS=$LIBS
29702 LIBS="-ldnet_stub $LIBS"
29703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29704 /* end confdefs.h. */
29706 /* Override any GCC internal prototype to avoid an error.
29707 Use char because int might match the return type of a GCC
29708 builtin and then its argument prototype would still apply. */
29716 return dnet_ntoa ();
29721 if ac_fn_c_try_link "$LINENO"; then :
29722 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29724 ac_cv_lib_dnet_stub_dnet_ntoa=no
29726 rm -f core conftest.err conftest.$ac_objext \
29727 conftest$ac_exeext conftest.$ac_ext
29728 LIBS=$ac_check_lib_save_LIBS
29730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29731 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29732 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
29733 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29738 rm -f core conftest.err conftest.$ac_objext \
29739 conftest$ac_exeext conftest.$ac_ext
29740 LIBS="$ac_xsave_LIBS"
29742 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29743 # to get the SysV transport functions.
29744 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29746 # The nsl library prevents programs from opening the X display
29747 # on Irix 5.2, according to T.E. Dickey.
29748 # The functions gethostbyname, getservbyname, and inet_addr are
29749 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29750 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
29751 if test "x$ac_cv_func_gethostbyname" = xyes; then :
29755 if test $ac_cv_func_gethostbyname = no; then
29756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
29757 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
29758 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
29759 $as_echo_n "(cached) " >&6
29761 ac_check_lib_save_LIBS=$LIBS
29763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29764 /* end confdefs.h. */
29766 /* Override any GCC internal prototype to avoid an error.
29767 Use char because int might match the return type of a GCC
29768 builtin and then its argument prototype would still apply. */
29772 char gethostbyname ();
29776 return gethostbyname ();
29781 if ac_fn_c_try_link "$LINENO"; then :
29782 ac_cv_lib_nsl_gethostbyname=yes
29784 ac_cv_lib_nsl_gethostbyname=no
29786 rm -f core conftest.err conftest.$ac_objext \
29787 conftest$ac_exeext conftest.$ac_ext
29788 LIBS=$ac_check_lib_save_LIBS
29790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
29791 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
29792 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
29793 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29796 if test $ac_cv_lib_nsl_gethostbyname = no; then
29797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
29798 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
29799 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
29800 $as_echo_n "(cached) " >&6
29802 ac_check_lib_save_LIBS=$LIBS
29804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29805 /* end confdefs.h. */
29807 /* Override any GCC internal prototype to avoid an error.
29808 Use char because int might match the return type of a GCC
29809 builtin and then its argument prototype would still apply. */
29813 char gethostbyname ();
29817 return gethostbyname ();
29822 if ac_fn_c_try_link "$LINENO"; then :
29823 ac_cv_lib_bsd_gethostbyname=yes
29825 ac_cv_lib_bsd_gethostbyname=no
29827 rm -f core conftest.err conftest.$ac_objext \
29828 conftest$ac_exeext conftest.$ac_ext
29829 LIBS=$ac_check_lib_save_LIBS
29831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
29832 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
29833 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
29834 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29840 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29841 # socket/setsockopt and other routines are undefined under SCO ODT
29842 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29843 # on later versions), says Simon Leinen: it contains gethostby*
29844 # variants that don't use the name server (or something). -lsocket
29845 # must be given before -lnsl if both are needed. We assume that
29846 # if connect needs -lnsl, so does gethostbyname.
29847 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
29848 if test "x$ac_cv_func_connect" = xyes; then :
29852 if test $ac_cv_func_connect = no; then
29853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
29854 $as_echo_n "checking for connect in -lsocket... " >&6; }
29855 if ${ac_cv_lib_socket_connect+:} false; then :
29856 $as_echo_n "(cached) " >&6
29858 ac_check_lib_save_LIBS=$LIBS
29859 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29861 /* end confdefs.h. */
29863 /* Override any GCC internal prototype to avoid an error.
29864 Use char because int might match the return type of a GCC
29865 builtin and then its argument prototype would still apply. */
29878 if ac_fn_c_try_link "$LINENO"; then :
29879 ac_cv_lib_socket_connect=yes
29881 ac_cv_lib_socket_connect=no
29883 rm -f core conftest.err conftest.$ac_objext \
29884 conftest$ac_exeext conftest.$ac_ext
29885 LIBS=$ac_check_lib_save_LIBS
29887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
29888 $as_echo "$ac_cv_lib_socket_connect" >&6; }
29889 if test "x$ac_cv_lib_socket_connect" = xyes; then :
29890 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29895 # Guillermo Gomez says -lposix is necessary on A/UX.
29896 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
29897 if test "x$ac_cv_func_remove" = xyes; then :
29901 if test $ac_cv_func_remove = no; then
29902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
29903 $as_echo_n "checking for remove in -lposix... " >&6; }
29904 if ${ac_cv_lib_posix_remove+:} false; then :
29905 $as_echo_n "(cached) " >&6
29907 ac_check_lib_save_LIBS=$LIBS
29908 LIBS="-lposix $LIBS"
29909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29910 /* end confdefs.h. */
29912 /* Override any GCC internal prototype to avoid an error.
29913 Use char because int might match the return type of a GCC
29914 builtin and then its argument prototype would still apply. */
29927 if ac_fn_c_try_link "$LINENO"; then :
29928 ac_cv_lib_posix_remove=yes
29930 ac_cv_lib_posix_remove=no
29932 rm -f core conftest.err conftest.$ac_objext \
29933 conftest$ac_exeext conftest.$ac_ext
29934 LIBS=$ac_check_lib_save_LIBS
29936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
29937 $as_echo "$ac_cv_lib_posix_remove" >&6; }
29938 if test "x$ac_cv_lib_posix_remove" = xyes; then :
29939 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29944 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29945 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
29946 if test "x$ac_cv_func_shmat" = xyes; then :
29950 if test $ac_cv_func_shmat = no; then
29951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
29952 $as_echo_n "checking for shmat in -lipc... " >&6; }
29953 if ${ac_cv_lib_ipc_shmat+:} false; then :
29954 $as_echo_n "(cached) " >&6
29956 ac_check_lib_save_LIBS=$LIBS
29958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29959 /* end confdefs.h. */
29961 /* Override any GCC internal prototype to avoid an error.
29962 Use char because int might match the return type of a GCC
29963 builtin and then its argument prototype would still apply. */
29976 if ac_fn_c_try_link "$LINENO"; then :
29977 ac_cv_lib_ipc_shmat=yes
29979 ac_cv_lib_ipc_shmat=no
29981 rm -f core conftest.err conftest.$ac_objext \
29982 conftest$ac_exeext conftest.$ac_ext
29983 LIBS=$ac_check_lib_save_LIBS
29985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
29986 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
29987 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
29988 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29994 # Check for libraries that X11R6 Xt/Xaw programs need.
29995 ac_save_LDFLAGS=$LDFLAGS
29996 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29997 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29998 # check for ICE first), but we must link in the order -lSM -lICE or
29999 # we get undefined symbols. So assume we have SM if we have ICE.
30000 # These have to be linked with before -lX11, unlike the other
30001 # libraries we check for below, so use a different variable.
30002 # John Interrante, Karl Berry
30003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
30004 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
30005 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
30006 $as_echo_n "(cached) " >&6
30008 ac_check_lib_save_LIBS=$LIBS
30009 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30011 /* end confdefs.h. */
30013 /* Override any GCC internal prototype to avoid an error.
30014 Use char because int might match the return type of a GCC
30015 builtin and then its argument prototype would still apply. */
30019 char IceConnectionNumber ();
30023 return IceConnectionNumber ();
30028 if ac_fn_c_try_link "$LINENO"; then :
30029 ac_cv_lib_ICE_IceConnectionNumber=yes
30031 ac_cv_lib_ICE_IceConnectionNumber=no
30033 rm -f core conftest.err conftest.$ac_objext \
30034 conftest$ac_exeext conftest.$ac_ext
30035 LIBS=$ac_check_lib_save_LIBS
30037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30038 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30039 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
30040 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30043 LDFLAGS=$ac_save_LDFLAGS
30048 ac_cflags_save="$CFLAGS"
30049 ac_cppflags_save="$CPPFLAGS"
30050 CFLAGS="$CFLAGS $X_CFLAGS"
30051 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
30052 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "$ac_includes_default"
30053 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
30061 if test "x$HAVE_X" = "xno"
30063 { $as_echo "$as_me:${as_lineno-$LINENO}: cannot find X11 development files" >&5
30064 $as_echo "$as_me: cannot find X11 development files" >&6;}
30066 X_LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS"
30067 X_LIBS="$X_LIBS -lX11"
30073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFIXES" >&5
30074 $as_echo_n "checking for XFIXES... " >&6; }
30076 if test -n "$PKG_CONFIG"; then
30077 if test -n "$XFIXES_CFLAGS"; then
30078 pkg_cv_XFIXES_CFLAGS="$XFIXES_CFLAGS"
30080 if test -n "$PKG_CONFIG" && \
30081 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes\""; } >&5
30082 ($PKG_CONFIG --exists --print-errors "xfixes") 2>&5
30084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30085 test $ac_status = 0; }; then
30086 pkg_cv_XFIXES_CFLAGS=`$PKG_CONFIG --cflags "xfixes" 2>/dev/null`
30094 if test -n "$PKG_CONFIG"; then
30095 if test -n "$XFIXES_LIBS"; then
30096 pkg_cv_XFIXES_LIBS="$XFIXES_LIBS"
30098 if test -n "$PKG_CONFIG" && \
30099 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes\""; } >&5
30100 ($PKG_CONFIG --exists --print-errors "xfixes") 2>&5
30102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30103 test $ac_status = 0; }; then
30104 pkg_cv_XFIXES_LIBS=`$PKG_CONFIG --libs "xfixes" 2>/dev/null`
30115 if test $pkg_failed = yes; then
30117 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30118 _pkg_short_errors_supported=yes
30120 _pkg_short_errors_supported=no
30122 if test $_pkg_short_errors_supported = yes; then
30123 XFIXES_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xfixes"`
30125 XFIXES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xfixes"`
30127 # Put the nasty error message in config.log where it belongs
30128 echo "$XFIXES_PKG_ERRORS" >&5
30130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30131 $as_echo "no" >&6; }
30133 elif test $pkg_failed = untried; then
30136 XFIXES_CFLAGS=$pkg_cv_XFIXES_CFLAGS
30137 XFIXES_LIBS=$pkg_cv_XFIXES_LIBS
30138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30139 $as_echo "yes" >&6; }
30142 if test "x$HAVE_XFIXES" = "xyes"
30144 XFIXES_CFLAGS="-DHAVE_XFIXES $XFIXES_CFLAGS"
30151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDAMAGE" >&5
30152 $as_echo_n "checking for XDAMAGE... " >&6; }
30154 if test -n "$PKG_CONFIG"; then
30155 if test -n "$XDAMAGE_CFLAGS"; then
30156 pkg_cv_XDAMAGE_CFLAGS="$XDAMAGE_CFLAGS"
30158 if test -n "$PKG_CONFIG" && \
30159 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdamage\""; } >&5
30160 ($PKG_CONFIG --exists --print-errors "xdamage") 2>&5
30162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30163 test $ac_status = 0; }; then
30164 pkg_cv_XDAMAGE_CFLAGS=`$PKG_CONFIG --cflags "xdamage" 2>/dev/null`
30172 if test -n "$PKG_CONFIG"; then
30173 if test -n "$XDAMAGE_LIBS"; then
30174 pkg_cv_XDAMAGE_LIBS="$XDAMAGE_LIBS"
30176 if test -n "$PKG_CONFIG" && \
30177 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdamage\""; } >&5
30178 ($PKG_CONFIG --exists --print-errors "xdamage") 2>&5
30180 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30181 test $ac_status = 0; }; then
30182 pkg_cv_XDAMAGE_LIBS=`$PKG_CONFIG --libs "xdamage" 2>/dev/null`
30193 if test $pkg_failed = yes; then
30195 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30196 _pkg_short_errors_supported=yes
30198 _pkg_short_errors_supported=no
30200 if test $_pkg_short_errors_supported = yes; then
30201 XDAMAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xdamage"`
30203 XDAMAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xdamage"`
30205 # Put the nasty error message in config.log where it belongs
30206 echo "$XDAMAGE_PKG_ERRORS" >&5
30208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30209 $as_echo "no" >&6; }
30211 elif test $pkg_failed = untried; then
30214 XDAMAGE_CFLAGS=$pkg_cv_XDAMAGE_CFLAGS
30215 XDAMAGE_LIBS=$pkg_cv_XDAMAGE_LIBS
30216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30217 $as_echo "yes" >&6; }
30220 if test "x$HAVE_XDAMAGE" = "xyes"
30222 XDAMAGE_CFLAGS="-DHAVE_XDAMAGE $XDAMAGE_CFLAGS"
30228 CFLAGS="$ac_cflags_save"
30229 CPPFLAGS="$ac_cppflags_save"
30232 LIBS=$gst_check_save_LIBS
30233 LDFLAGS=$gst_check_save_LDFLAGS
30234 CFLAGS=$gst_check_save_CFLAGS
30235 CPPFLAGS=$gst_check_save_CPPFLAGS
30236 CXXFLAGS=$gst_check_save_CXXFLAGS
30238 if test x$HAVE_X = xno; then
30241 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ximagesrc" >&5
30242 $as_echo "$as_me: *** These plugins will be built: ximagesrc" >&6;}
30245 if test x$USE_X = xyes; then
30247 if test "xximagesrc" != "x"; then
30248 GST_PLUGINS_YES="\tximagesrc\n$GST_PLUGINS_YES"
30251 $as_echo "#define HAVE_X /**/" >>confdefs.h
30254 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ximagesrc" >&5
30255 $as_echo "$as_me: *** These plugins will not be built: ximagesrc" >&6;}
30256 if test "xximagesrc" != "x"; then
30257 GST_PLUGINS_NO="\tximagesrc\n$GST_PLUGINS_NO"
30261 if test x$USE_X = xyes; then
30272 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X Shared Memory extension ***" >&5
30273 $as_echo "$as_me: *** checking feature: X Shared Memory extension ***" >&6;}
30276 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
30277 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
30280 if test "x$USE_XSHM" = "xno"; then
30283 # Check whether --enable-xshm was given.
30284 if test "${enable_xshm+set}" = set; then :
30285 enableval=$enable_xshm; case "${enableval}" in
30286 yes) USE_XSHM=yes;;
30288 *) as_fn_error $? "bad value ${enableval} for --enable-xshm" "$LINENO" 5 ;;
30294 if test "x$NOUSE" = "xyes"; then
30296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
30297 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
30302 if test x$USE_XSHM = xyes; then
30304 gst_check_save_LIBS=$LIBS
30305 gst_check_save_LDFLAGS=$LDFLAGS
30306 gst_check_save_CFLAGS=$CFLAGS
30307 gst_check_save_CPPFLAGS=$CPPFLAGS
30308 gst_check_save_CXXFLAGS=$CXXFLAGS
30312 if test x$HAVE_X = xyes; then
30313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmAttach in -lXext" >&5
30314 $as_echo_n "checking for XShmAttach in -lXext... " >&6; }
30315 if ${ac_cv_lib_Xext_XShmAttach+:} false; then :
30316 $as_echo_n "(cached) " >&6
30318 ac_check_lib_save_LIBS=$LIBS
30319 LIBS="-lXext $X_LIBS $LIBS"
30320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30321 /* end confdefs.h. */
30323 /* Override any GCC internal prototype to avoid an error.
30324 Use char because int might match the return type of a GCC
30325 builtin and then its argument prototype would still apply. */
30329 char XShmAttach ();
30333 return XShmAttach ();
30338 if ac_fn_c_try_link "$LINENO"; then :
30339 ac_cv_lib_Xext_XShmAttach=yes
30341 ac_cv_lib_Xext_XShmAttach=no
30343 rm -f core conftest.err conftest.$ac_objext \
30344 conftest$ac_exeext conftest.$ac_ext
30345 LIBS=$ac_check_lib_save_LIBS
30347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmAttach" >&5
30348 $as_echo "$ac_cv_lib_Xext_XShmAttach" >&6; }
30349 if test "x$ac_cv_lib_Xext_XShmAttach" = xyes; then :
30355 if test "x$HAVE_XSHM" = "xyes"; then
30358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmAttach in -lXextSam" >&5
30359 $as_echo_n "checking for XShmAttach in -lXextSam... " >&6; }
30360 if ${ac_cv_lib_XextSam_XShmAttach+:} false; then :
30361 $as_echo_n "(cached) " >&6
30363 ac_check_lib_save_LIBS=$LIBS
30364 LIBS="-lXextSam $X_LIBS $LIBS"
30365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30366 /* end confdefs.h. */
30368 /* Override any GCC internal prototype to avoid an error.
30369 Use char because int might match the return type of a GCC
30370 builtin and then its argument prototype would still apply. */
30374 char XShmAttach ();
30378 return XShmAttach ();
30383 if ac_fn_c_try_link "$LINENO"; then :
30384 ac_cv_lib_XextSam_XShmAttach=yes
30386 ac_cv_lib_XextSam_XShmAttach=no
30388 rm -f core conftest.err conftest.$ac_objext \
30389 conftest$ac_exeext conftest.$ac_ext
30390 LIBS=$ac_check_lib_save_LIBS
30392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XextSam_XShmAttach" >&5
30393 $as_echo "$ac_cv_lib_XextSam_XShmAttach" >&6; }
30394 if test "x$ac_cv_lib_XextSam_XShmAttach" = xyes; then :
30400 if test "x$HAVE_XSHM" = "xyes"; then
30401 XSHM_LIBS="-lXext -lXextSam"
30407 LIBS=$gst_check_save_LIBS
30408 LDFLAGS=$gst_check_save_LDFLAGS
30409 CFLAGS=$gst_check_save_CFLAGS
30410 CPPFLAGS=$gst_check_save_CPPFLAGS
30411 CXXFLAGS=$gst_check_save_CXXFLAGS
30413 if test x$HAVE_XSHM = xno; then
30419 if test x$USE_XSHM = xyes; then
30424 if test "x" != "x"; then
30425 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
30428 $as_echo "#define HAVE_XSHM /**/" >>confdefs.h
30432 if test "x" != "x"; then
30433 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
30437 if test x$USE_XSHM = xyes; then
30448 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X11 XVideo extensions ***" >&5
30449 $as_echo "$as_me: *** checking feature: X11 XVideo extensions ***" >&6;}
30452 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
30453 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
30456 if test "x$USE_XVIDEO" = "xno"; then
30459 # Check whether --enable-xvideo was given.
30460 if test "${enable_xvideo+set}" = set; then :
30461 enableval=$enable_xvideo; case "${enableval}" in
30462 yes) USE_XVIDEO=yes;;
30463 no) USE_XVIDEO=no;;
30464 *) as_fn_error $? "bad value ${enableval} for --enable-xvideo" "$LINENO" 5 ;;
30470 if test "x$NOUSE" = "xyes"; then
30472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
30473 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
30478 if test x$USE_XVIDEO = xyes; then
30480 gst_check_save_LIBS=$LIBS
30481 gst_check_save_LDFLAGS=$LDFLAGS
30482 gst_check_save_CFLAGS=$CFLAGS
30483 gst_check_save_CPPFLAGS=$CPPFLAGS
30484 gst_check_save_CXXFLAGS=$CXXFLAGS
30489 if test x$HAVE_X = xyes; then
30490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv_pic" >&5
30491 $as_echo_n "checking for XvQueryExtension in -lXv_pic... " >&6; }
30492 if ${ac_cv_lib_Xv_pic_XvQueryExtension+:} false; then :
30493 $as_echo_n "(cached) " >&6
30495 ac_check_lib_save_LIBS=$LIBS
30496 LIBS="-lXv_pic $X_LIBS -lXext $LIBS"
30497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30498 /* end confdefs.h. */
30500 /* Override any GCC internal prototype to avoid an error.
30501 Use char because int might match the return type of a GCC
30502 builtin and then its argument prototype would still apply. */
30506 char XvQueryExtension ();
30510 return XvQueryExtension ();
30515 if ac_fn_c_try_link "$LINENO"; then :
30516 ac_cv_lib_Xv_pic_XvQueryExtension=yes
30518 ac_cv_lib_Xv_pic_XvQueryExtension=no
30520 rm -f core conftest.err conftest.$ac_objext \
30521 conftest$ac_exeext conftest.$ac_ext
30522 LIBS=$ac_check_lib_save_LIBS
30524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_pic_XvQueryExtension" >&5
30525 $as_echo "$ac_cv_lib_Xv_pic_XvQueryExtension" >&6; }
30526 if test "x$ac_cv_lib_Xv_pic_XvQueryExtension" = xyes; then :
30533 if test x$HAVE_XVIDEO = xyes; then
30534 XVIDEO_LIBS="-lXv_pic -lXext"
30537 if test x$HAVE_XVIDEO = xno; then
30538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv" >&5
30539 $as_echo_n "checking for XvQueryExtension in -lXv... " >&6; }
30540 if ${ac_cv_lib_Xv_XvQueryExtension+:} false; then :
30541 $as_echo_n "(cached) " >&6
30543 ac_check_lib_save_LIBS=$LIBS
30544 LIBS="-lXv $X_LIBS -lXext $LIBS"
30545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30546 /* end confdefs.h. */
30548 /* Override any GCC internal prototype to avoid an error.
30549 Use char because int might match the return type of a GCC
30550 builtin and then its argument prototype would still apply. */
30554 char XvQueryExtension ();
30558 return XvQueryExtension ();
30563 if ac_fn_c_try_link "$LINENO"; then :
30564 ac_cv_lib_Xv_XvQueryExtension=yes
30566 ac_cv_lib_Xv_XvQueryExtension=no
30568 rm -f core conftest.err conftest.$ac_objext \
30569 conftest$ac_exeext conftest.$ac_ext
30570 LIBS=$ac_check_lib_save_LIBS
30572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_XvQueryExtension" >&5
30573 $as_echo "$ac_cv_lib_Xv_XvQueryExtension" >&6; }
30574 if test "x$ac_cv_lib_Xv_XvQueryExtension" = xyes; then :
30581 if test x$HAVE_XVIDEO = xyes; then
30582 XVIDEO_LIBS="-lXv -lXext"
30591 LIBS=$gst_check_save_LIBS
30592 LDFLAGS=$gst_check_save_LDFLAGS
30593 CFLAGS=$gst_check_save_CFLAGS
30594 CPPFLAGS=$gst_check_save_CPPFLAGS
30595 CXXFLAGS=$gst_check_save_CXXFLAGS
30597 if test x$HAVE_XVIDEO = xno; then
30603 if test x$USE_XVIDEO = xyes; then
30605 if test "x" != "x"; then
30606 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
30609 $as_echo "#define HAVE_XVIDEO /**/" >>confdefs.h
30613 if test "x" != "x"; then
30614 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
30618 if test x$USE_XVIDEO = xyes; then
30620 USE_XVIDEO_FALSE='#'
30622 USE_XVIDEO_TRUE='#'
30629 if test "x$BUILD_EXTERNAL" = "xyes"; then
30632 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking libraries for plugins in ext/" >&5
30633 $as_echo "$as_me: Checking libraries for plugins in ext/" >&6;}
30637 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: aalib ASCII Art library ***" >&5
30638 $as_echo "$as_me: *** checking feature: aalib ASCII Art library ***" >&6;}
30639 if test "xaasink" != "x"
30641 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: aasink ***" >&5
30642 $as_echo "$as_me: *** for plug-ins: aasink ***" >&6;}
30645 if test "x$USE_AALIB" = "xno"; then
30648 # Check whether --enable-aalib was given.
30649 if test "${enable_aalib+set}" = set; then :
30650 enableval=$enable_aalib; case "${enableval}" in
30651 yes) USE_AALIB=yes;;
30653 *) as_fn_error $? "bad value ${enableval} for --enable-aalib" "$LINENO" 5 ;;
30659 if test "x$NOUSE" = "xyes"; then
30661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** aasink pre-configured not to be built" >&5
30662 $as_echo "$as_me: WARNING: *** aasink pre-configured not to be built" >&2;}
30667 if test x$USE_AALIB = xyes; then
30669 gst_check_save_LIBS=$LIBS
30670 gst_check_save_LDFLAGS=$LDFLAGS
30671 gst_check_save_CFLAGS=$CFLAGS
30672 gst_check_save_CPPFLAGS=$CPPFLAGS
30673 gst_check_save_CXXFLAGS=$CXXFLAGS
30678 # Check whether --with-aalib-prefix was given.
30679 if test "${with_aalib_prefix+set}" = set; then :
30680 withval=$with_aalib_prefix; aalib_prefix="$withval"
30687 # Check whether --with-aalib-exec-prefix was given.
30688 if test "${with_aalib_exec_prefix+set}" = set; then :
30689 withval=$with_aalib_exec_prefix; aalib_exec_prefix="$withval"
30691 aalib_exec_prefix=""
30695 # Check whether --enable-aalibtest was given.
30696 if test "${enable_aalibtest+set}" = set; then :
30697 enableval=$enable_aalibtest;
30699 enable_aalibtest=yes
30703 if test x$aalib_exec_prefix != x ; then
30704 aalib_args="$aalib_args --exec-prefix=$aalib_exec_prefix"
30705 if test x${AALIB_CONFIG+set} != xset ; then
30706 AALIB_CONFIG=$aalib_exec_prefix/bin/aalib-config
30709 if test x$aalib_prefix != x ; then
30710 aalib_args="$aalib_args --prefix=$aalib_prefix"
30711 if test x${AALIB_CONFIG+set} != xset ; then
30712 AALIB_CONFIG=$aalib_prefix/bin/aalib-config
30716 # Extract the first word of "aalib-config", so it can be a program name with args.
30717 set dummy aalib-config; ac_word=$2
30718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30719 $as_echo_n "checking for $ac_word... " >&6; }
30720 if ${ac_cv_path_AALIB_CONFIG+:} false; then :
30721 $as_echo_n "(cached) " >&6
30723 case $AALIB_CONFIG in
30725 ac_cv_path_AALIB_CONFIG="$AALIB_CONFIG" # Let the user override the test with a path.
30728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30729 for as_dir in $PATH
30732 test -z "$as_dir" && as_dir=.
30733 for ac_exec_ext in '' $ac_executable_extensions; do
30734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30735 ac_cv_path_AALIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30743 test -z "$ac_cv_path_AALIB_CONFIG" && ac_cv_path_AALIB_CONFIG="no"
30747 AALIB_CONFIG=$ac_cv_path_AALIB_CONFIG
30748 if test -n "$AALIB_CONFIG"; then
30749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AALIB_CONFIG" >&5
30750 $as_echo "$AALIB_CONFIG" >&6; }
30752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30753 $as_echo "no" >&6; }
30757 min_aalib_version=0.11.0
30758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AALIB - version >= $min_aalib_version" >&5
30759 $as_echo_n "checking for AALIB - version >= $min_aalib_version... " >&6; }
30761 if test "$AALIB_CONFIG" = "no" ; then
30764 AALIB_CFLAGS=`$AALIB_CONFIG $aalibconf_args --cflags`
30765 AALIB_LIBS=`$AALIB_CONFIG $aalibconf_args --libs`
30767 aalib_major_version=`$AALIB_CONFIG $aalib_args --version | \
30768 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30769 aalib_minor_version=`$AALIB_CONFIG $aalib_args --version | \
30770 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30771 aalib_micro_version=`$AALIB_CONFIG $aalib_config_args --version | \
30772 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30773 if test "x$enable_aalibtest" = "xyes" ; then
30774 ac_save_CFLAGS="$CFLAGS"
30775 ac_save_LIBS="$LIBS"
30776 CFLAGS="$CFLAGS $AALIB_CFLAGS"
30777 LIBS="$LIBS $AALIB_LIBS"
30778 rm -f conf.aalibtest
30779 if test "$cross_compiling" = yes; then :
30780 echo $ac_n "cross compiling; assumed OK... $ac_c"
30782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30783 /* end confdefs.h. */
30786 #include <stdlib.h>
30787 #include <string.h>
30791 my_strdup (char *str)
30797 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
30798 strcpy (new_str, str);
30806 int main (int argc, char *argv[])
30808 int major, minor, micro;
30811 /* This hangs on some systems (?)
30812 system ("touch conf.aalibtest");
30814 { FILE *fp = fopen("conf.aalibtest", "a"); if ( fp ) fclose(fp); }
30816 /* HP/UX 9 (%@#!) writes to sscanf strings */
30817 tmp_version = my_strdup("$min_aalib_version");
30818 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30819 printf("%s, bad version string\n", "$min_aalib_version");
30823 if (($aalib_major_version > major) ||
30824 (($aalib_major_version == major) && ($aalib_minor_version > minor)) ||
30825 (($aalib_major_version == major) && ($aalib_minor_version == minor) && ($aalib_micro_version >= micro)))
30831 printf("\n*** 'aalib-config --version' returned %d.%d.%d, but the minimum version\n", $aalib_major_version, $aalib_minor_version, $aalib_micro_version);
30832 printf("*** of AALIB required is %d.%d.%d. If aalib-config is correct, then it is\n", major, minor, micro);
30833 printf("*** best to upgrade to the required version.\n");
30834 printf("*** If aalib-config was wrong, set the environment variable AALIB_CONFIG\n");
30835 printf("*** to point to the correct copy of aalib-config, and remove the file\n");
30836 printf("*** config.cache before re-running configure\n");
30843 if ac_fn_c_try_run "$LINENO"; then :
30848 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30849 conftest.$ac_objext conftest.beam conftest.$ac_ext
30852 CFLAGS="$ac_save_CFLAGS"
30853 LIBS="$ac_save_LIBS"
30856 if test "x$no_aalib" = x ; then
30857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30858 $as_echo "yes" >&6; }
30861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30862 $as_echo "no" >&6; }
30863 if test "$AALIB_CONFIG" = "no" ; then
30864 echo "*** The aalib-config script installed by AALIB could not be found"
30865 echo "*** If AALIB was installed in PREFIX, make sure PREFIX/bin is in"
30866 echo "*** your path, or set the AALIB_CONFIG environment variable to the"
30867 echo "*** full path to aalib-config."
30869 if test -f conf.aalibtest ; then
30872 echo "*** Could not run AALIB test program, checking why..."
30873 CFLAGS="$CFLAGS $AALIB_CFLAGS"
30874 LIBS="$LIBS $AALIB_LIBS"
30875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30876 /* end confdefs.h. */
30889 if ac_fn_c_try_link "$LINENO"; then :
30890 echo "*** The test program compiled, but did not run. This usually means"
30891 echo "*** that the run-time linker is not finding AALIB or finding the wrong"
30892 echo "*** version of AALIB. If it is not finding AALIB, you'll need to set your"
30893 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30894 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30895 echo "*** is required on your system"
30897 echo "*** If you have an old version installed, it is best to remove it, although"
30898 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30900 echo "*** The test program failed to compile or link. See the file config.log for the"
30901 echo "*** exact error that occured. This usually means AALIB was incorrectly installed"
30902 echo "*** or that you have moved AALIB since it was installed. In the latter case, you"
30903 echo "*** may want to edit the aalib-config script: $AALIB_CONFIG"
30905 rm -f core conftest.err conftest.$ac_objext \
30906 conftest$ac_exeext conftest.$ac_ext
30907 CFLAGS="$ac_save_CFLAGS"
30908 LIBS="$ac_save_LIBS"
30917 rm -f conf.aalibtest
30920 GIVEN_CFLAGS=$AALIB_CFLAGS
30921 INCLUDE_DIRS=`echo | cpp -v 2>&1`
30923 INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
30924 for dir in $INCLUDE_DIRS; do
30925 GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
30927 AALIB_CFLAGS=$GIVEN_CFLAGS
30931 LIBS=$gst_check_save_LIBS
30932 LDFLAGS=$gst_check_save_LDFLAGS
30933 CFLAGS=$gst_check_save_CFLAGS
30934 CPPFLAGS=$gst_check_save_CPPFLAGS
30935 CXXFLAGS=$gst_check_save_CXXFLAGS
30937 if test x$HAVE_AALIB = xno; then
30940 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: aasink" >&5
30941 $as_echo "$as_me: *** These plugins will be built: aasink" >&6;}
30944 if test x$USE_AALIB = xyes; then
30946 if test "xaasink" != "x"; then
30947 GST_PLUGINS_YES="\taasink\n$GST_PLUGINS_YES"
30950 $as_echo "#define HAVE_AALIB /**/" >>confdefs.h
30953 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: aasink" >&5
30954 $as_echo "$as_me: *** These plugins will not be built: aasink" >&6;}
30955 if test "xaasink" != "x"; then
30956 GST_PLUGINS_NO="\taasink\n$GST_PLUGINS_NO"
30960 if test x$USE_AALIB = xyes; then
30962 USE_AALIB_FALSE='#'
30971 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: XML library ***" >&5
30972 $as_echo "$as_me: *** checking feature: XML library ***" >&6;}
30973 if test "xannodex" != "x"
30975 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: annodex ***" >&5
30976 $as_echo "$as_me: *** for plug-ins: annodex ***" >&6;}
30979 if test "x$USE_ANNODEX" = "xno"; then
30982 # Check whether --enable-annodex was given.
30983 if test "${enable_annodex+set}" = set; then :
30984 enableval=$enable_annodex; case "${enableval}" in
30985 yes) USE_ANNODEX=yes;;
30986 no) USE_ANNODEX=no;;
30987 *) as_fn_error $? "bad value ${enableval} for --enable-annodex" "$LINENO" 5 ;;
30993 if test "x$NOUSE" = "xyes"; then
30995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** annodex pre-configured not to be built" >&5
30996 $as_echo "$as_me: WARNING: *** annodex pre-configured not to be built" >&2;}
31001 if test x$USE_ANNODEX = xyes; then
31003 gst_check_save_LIBS=$LIBS
31004 gst_check_save_LDFLAGS=$LDFLAGS
31005 gst_check_save_CFLAGS=$CFLAGS
31006 gst_check_save_CPPFLAGS=$CPPFLAGS
31007 gst_check_save_CXXFLAGS=$CXXFLAGS
31012 which="libxml-2.0 >= 2.4.9"
31017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANNODEX" >&5
31018 $as_echo_n "checking for ANNODEX... " >&6; }
31020 if test -n "$PKG_CONFIG"; then
31021 if test -n "$ANNODEX_CFLAGS"; then
31022 pkg_cv_ANNODEX_CFLAGS="$ANNODEX_CFLAGS"
31024 if test -n "$PKG_CONFIG" && \
31025 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31026 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31029 test $ac_status = 0; }; then
31030 pkg_cv_ANNODEX_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
31038 if test -n "$PKG_CONFIG"; then
31039 if test -n "$ANNODEX_LIBS"; then
31040 pkg_cv_ANNODEX_LIBS="$ANNODEX_LIBS"
31042 if test -n "$PKG_CONFIG" && \
31043 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31044 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31047 test $ac_status = 0; }; then
31048 pkg_cv_ANNODEX_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
31059 if test $pkg_failed = yes; then
31061 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31062 _pkg_short_errors_supported=yes
31064 _pkg_short_errors_supported=no
31066 if test $_pkg_short_errors_supported = yes; then
31067 ANNODEX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
31069 ANNODEX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
31071 # Put the nasty error message in config.log where it belongs
31072 echo "$ANNODEX_PKG_ERRORS" >&5
31074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31075 $as_echo "no" >&6; }
31078 if test "x$required" = "xyes"; then
31079 as_fn_error $? "$ANNODEX_PKG_ERRORS" "$LINENO" 5
31081 { $as_echo "$as_me:${as_lineno-$LINENO}: $ANNODEX_PKG_ERRORS" >&5
31082 $as_echo "$as_me: $ANNODEX_PKG_ERRORS" >&6;}
31085 elif test $pkg_failed = untried; then
31088 if test "x$required" = "xyes"; then
31089 as_fn_error $? "$ANNODEX_PKG_ERRORS" "$LINENO" 5
31091 { $as_echo "$as_me:${as_lineno-$LINENO}: $ANNODEX_PKG_ERRORS" >&5
31092 $as_echo "$as_me: $ANNODEX_PKG_ERRORS" >&6;}
31096 ANNODEX_CFLAGS=$pkg_cv_ANNODEX_CFLAGS
31097 ANNODEX_LIBS=$pkg_cv_ANNODEX_LIBS
31098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31099 $as_echo "yes" >&6; }
31108 LIBS=$gst_check_save_LIBS
31109 LDFLAGS=$gst_check_save_LDFLAGS
31110 CFLAGS=$gst_check_save_CFLAGS
31111 CPPFLAGS=$gst_check_save_CPPFLAGS
31112 CXXFLAGS=$gst_check_save_CXXFLAGS
31114 if test x$HAVE_ANNODEX = xno; then
31117 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: annodex" >&5
31118 $as_echo "$as_me: *** These plugins will be built: annodex" >&6;}
31121 if test x$USE_ANNODEX = xyes; then
31123 if test "xannodex" != "x"; then
31124 GST_PLUGINS_YES="\tannodex\n$GST_PLUGINS_YES"
31127 $as_echo "#define HAVE_ANNODEX /**/" >>confdefs.h
31130 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: annodex" >&5
31131 $as_echo "$as_me: *** These plugins will not be built: annodex" >&6;}
31132 if test "xannodex" != "x"; then
31133 GST_PLUGINS_NO="\tannodex\n$GST_PLUGINS_NO"
31137 if test x$USE_ANNODEX = xyes; then
31139 USE_ANNODEX_FALSE='#'
31141 USE_ANNODEX_TRUE='#'
31148 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Cairo graphics rendering ***" >&5
31149 $as_echo "$as_me: *** checking feature: Cairo graphics rendering ***" >&6;}
31150 if test "xcairo" != "x"
31152 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cairo ***" >&5
31153 $as_echo "$as_me: *** for plug-ins: cairo ***" >&6;}
31156 if test "x$USE_CAIRO" = "xno"; then
31159 # Check whether --enable-cairo was given.
31160 if test "${enable_cairo+set}" = set; then :
31161 enableval=$enable_cairo; case "${enableval}" in
31162 yes) USE_CAIRO=yes;;
31164 *) as_fn_error $? "bad value ${enableval} for --enable-cairo" "$LINENO" 5 ;;
31170 if test "x$NOUSE" = "xyes"; then
31172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cairo pre-configured not to be built" >&5
31173 $as_echo "$as_me: WARNING: *** cairo pre-configured not to be built" >&2;}
31178 if test x$USE_CAIRO = xyes; then
31180 gst_check_save_LIBS=$LIBS
31181 gst_check_save_LDFLAGS=$LDFLAGS
31182 gst_check_save_CFLAGS=$CFLAGS
31183 gst_check_save_CPPFLAGS=$CPPFLAGS
31184 gst_check_save_CXXFLAGS=$CXXFLAGS
31189 which="cairo >= 1.0.0"
31194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
31195 $as_echo_n "checking for CAIRO... " >&6; }
31197 if test -n "$PKG_CONFIG"; then
31198 if test -n "$CAIRO_CFLAGS"; then
31199 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
31201 if test -n "$PKG_CONFIG" && \
31202 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31203 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31206 test $ac_status = 0; }; then
31207 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
31215 if test -n "$PKG_CONFIG"; then
31216 if test -n "$CAIRO_LIBS"; then
31217 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
31219 if test -n "$PKG_CONFIG" && \
31220 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31221 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31224 test $ac_status = 0; }; then
31225 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
31236 if test $pkg_failed = yes; then
31238 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31239 _pkg_short_errors_supported=yes
31241 _pkg_short_errors_supported=no
31243 if test $_pkg_short_errors_supported = yes; then
31244 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
31246 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
31248 # Put the nasty error message in config.log where it belongs
31249 echo "$CAIRO_PKG_ERRORS" >&5
31251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31252 $as_echo "no" >&6; }
31255 if test "x$required" = "xyes"; then
31256 as_fn_error $? "$CAIRO_PKG_ERRORS" "$LINENO" 5
31258 { $as_echo "$as_me:${as_lineno-$LINENO}: $CAIRO_PKG_ERRORS" >&5
31259 $as_echo "$as_me: $CAIRO_PKG_ERRORS" >&6;}
31262 elif test $pkg_failed = untried; then
31265 if test "x$required" = "xyes"; then
31266 as_fn_error $? "$CAIRO_PKG_ERRORS" "$LINENO" 5
31268 { $as_echo "$as_me:${as_lineno-$LINENO}: $CAIRO_PKG_ERRORS" >&5
31269 $as_echo "$as_me: $CAIRO_PKG_ERRORS" >&6;}
31273 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
31274 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
31275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31276 $as_echo "yes" >&6; }
31285 LIBS=$gst_check_save_LIBS
31286 LDFLAGS=$gst_check_save_LDFLAGS
31287 CFLAGS=$gst_check_save_CFLAGS
31288 CPPFLAGS=$gst_check_save_CPPFLAGS
31289 CXXFLAGS=$gst_check_save_CXXFLAGS
31291 if test x$HAVE_CAIRO = xno; then
31294 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cairo" >&5
31295 $as_echo "$as_me: *** These plugins will be built: cairo" >&6;}
31298 if test x$USE_CAIRO = xyes; then
31300 if test "xcairo" != "x"; then
31301 GST_PLUGINS_YES="\tcairo\n$GST_PLUGINS_YES"
31304 $as_echo "#define HAVE_CAIRO /**/" >>confdefs.h
31307 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cairo" >&5
31308 $as_echo "$as_me: *** These plugins will not be built: cairo" >&6;}
31309 if test "xcairo" != "x"; then
31310 GST_PLUGINS_NO="\tcairo\n$GST_PLUGINS_NO"
31314 if test x$USE_CAIRO = xyes; then
31316 USE_CAIRO_FALSE='#'
31325 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Cairo graphics rendering gobject bindings ***" >&5
31326 $as_echo "$as_me: *** checking feature: Cairo graphics rendering gobject bindings ***" >&6;}
31327 if test "xcairooverlay" != "x"
31329 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cairooverlay ***" >&5
31330 $as_echo "$as_me: *** for plug-ins: cairooverlay ***" >&6;}
31333 if test "x$USE_CAIRO_GOBJECT" = "xno"; then
31336 # Check whether --enable-cairo_gobject was given.
31337 if test "${enable_cairo_gobject+set}" = set; then :
31338 enableval=$enable_cairo_gobject; case "${enableval}" in
31339 yes) USE_CAIRO_GOBJECT=yes;;
31340 no) USE_CAIRO_GOBJECT=no;;
31341 *) as_fn_error $? "bad value ${enableval} for --enable-cairo_gobject" "$LINENO" 5 ;;
31344 USE_CAIRO_GOBJECT=yes
31347 if test "x$NOUSE" = "xyes"; then
31348 USE_CAIRO_GOBJECT="no"
31349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cairooverlay pre-configured not to be built" >&5
31350 $as_echo "$as_me: WARNING: *** cairooverlay pre-configured not to be built" >&2;}
31355 if test x$USE_CAIRO_GOBJECT = xyes; then
31357 gst_check_save_LIBS=$LIBS
31358 gst_check_save_LDFLAGS=$LDFLAGS
31359 gst_check_save_CFLAGS=$CFLAGS
31360 gst_check_save_CPPFLAGS=$CPPFLAGS
31361 gst_check_save_CXXFLAGS=$CXXFLAGS
31363 HAVE_CAIRO_GOBJECT=no
31366 which="cairo-gobject >= 1.10.0"
31371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_GOBJECT" >&5
31372 $as_echo_n "checking for CAIRO_GOBJECT... " >&6; }
31374 if test -n "$PKG_CONFIG"; then
31375 if test -n "$CAIRO_GOBJECT_CFLAGS"; then
31376 pkg_cv_CAIRO_GOBJECT_CFLAGS="$CAIRO_GOBJECT_CFLAGS"
31378 if test -n "$PKG_CONFIG" && \
31379 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31380 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31383 test $ac_status = 0; }; then
31384 pkg_cv_CAIRO_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
31392 if test -n "$PKG_CONFIG"; then
31393 if test -n "$CAIRO_GOBJECT_LIBS"; then
31394 pkg_cv_CAIRO_GOBJECT_LIBS="$CAIRO_GOBJECT_LIBS"
31396 if test -n "$PKG_CONFIG" && \
31397 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31398 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31401 test $ac_status = 0; }; then
31402 pkg_cv_CAIRO_GOBJECT_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
31413 if test $pkg_failed = yes; then
31415 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31416 _pkg_short_errors_supported=yes
31418 _pkg_short_errors_supported=no
31420 if test $_pkg_short_errors_supported = yes; then
31421 CAIRO_GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
31423 CAIRO_GOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
31425 # Put the nasty error message in config.log where it belongs
31426 echo "$CAIRO_GOBJECT_PKG_ERRORS" >&5
31428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31429 $as_echo "no" >&6; }
31431 HAVE_CAIRO_GOBJECT="no"
31432 if test "x$required" = "xyes"; then
31433 as_fn_error $? "$CAIRO_GOBJECT_PKG_ERRORS" "$LINENO" 5
31435 { $as_echo "$as_me:${as_lineno-$LINENO}: $CAIRO_GOBJECT_PKG_ERRORS" >&5
31436 $as_echo "$as_me: $CAIRO_GOBJECT_PKG_ERRORS" >&6;}
31439 elif test $pkg_failed = untried; then
31441 HAVE_CAIRO_GOBJECT="no"
31442 if test "x$required" = "xyes"; then
31443 as_fn_error $? "$CAIRO_GOBJECT_PKG_ERRORS" "$LINENO" 5
31445 { $as_echo "$as_me:${as_lineno-$LINENO}: $CAIRO_GOBJECT_PKG_ERRORS" >&5
31446 $as_echo "$as_me: $CAIRO_GOBJECT_PKG_ERRORS" >&6;}
31450 CAIRO_GOBJECT_CFLAGS=$pkg_cv_CAIRO_GOBJECT_CFLAGS
31451 CAIRO_GOBJECT_LIBS=$pkg_cv_CAIRO_GOBJECT_LIBS
31452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31453 $as_echo "yes" >&6; }
31455 HAVE_CAIRO_GOBJECT="yes"
31462 LIBS=$gst_check_save_LIBS
31463 LDFLAGS=$gst_check_save_LDFLAGS
31464 CFLAGS=$gst_check_save_CFLAGS
31465 CPPFLAGS=$gst_check_save_CPPFLAGS
31466 CXXFLAGS=$gst_check_save_CXXFLAGS
31468 if test x$HAVE_CAIRO_GOBJECT = xno; then
31469 USE_CAIRO_GOBJECT=no
31471 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cairooverlay" >&5
31472 $as_echo "$as_me: *** These plugins will be built: cairooverlay" >&6;}
31475 if test x$USE_CAIRO_GOBJECT = xyes; then
31477 if test "xcairooverlay" != "x"; then
31478 GST_PLUGINS_YES="\tcairooverlay\n$GST_PLUGINS_YES"
31481 $as_echo "#define HAVE_CAIRO_GOBJECT /**/" >>confdefs.h
31484 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cairooverlay" >&5
31485 $as_echo "$as_me: *** These plugins will not be built: cairooverlay" >&6;}
31486 if test "xcairooverlay" != "x"; then
31487 GST_PLUGINS_NO="\tcairooverlay\n$GST_PLUGINS_NO"
31491 if test x$USE_CAIRO_GOBJECT = xyes; then
31492 USE_CAIRO_GOBJECT_TRUE=
31493 USE_CAIRO_GOBJECT_FALSE='#'
31495 USE_CAIRO_GOBJECT_TRUE='#'
31496 USE_CAIRO_GOBJECT_FALSE=
31502 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: ESounD sound daemon ***" >&5
31503 $as_echo "$as_me: *** checking feature: ESounD sound daemon ***" >&6;}
31504 if test "xesdsink" != "x"
31506 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: esdsink ***" >&5
31507 $as_echo "$as_me: *** for plug-ins: esdsink ***" >&6;}
31510 if test "x$USE_ESD" = "xno"; then
31513 # Check whether --enable-esd was given.
31514 if test "${enable_esd+set}" = set; then :
31515 enableval=$enable_esd; case "${enableval}" in
31518 *) as_fn_error $? "bad value ${enableval} for --enable-esd" "$LINENO" 5 ;;
31524 if test "x$NOUSE" = "xyes"; then
31526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** esdsink pre-configured not to be built" >&5
31527 $as_echo "$as_me: WARNING: *** esdsink pre-configured not to be built" >&2;}
31532 if test x$USE_ESD = xyes; then
31534 gst_check_save_LIBS=$LIBS
31535 gst_check_save_LDFLAGS=$LDFLAGS
31536 gst_check_save_CFLAGS=$CFLAGS
31537 gst_check_save_CPPFLAGS=$CPPFLAGS
31538 gst_check_save_CXXFLAGS=$CXXFLAGS
31543 which="esound >= 0.2.12"
31548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ESD" >&5
31549 $as_echo_n "checking for ESD... " >&6; }
31551 if test -n "$PKG_CONFIG"; then
31552 if test -n "$ESD_CFLAGS"; then
31553 pkg_cv_ESD_CFLAGS="$ESD_CFLAGS"
31555 if test -n "$PKG_CONFIG" && \
31556 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31557 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31560 test $ac_status = 0; }; then
31561 pkg_cv_ESD_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
31569 if test -n "$PKG_CONFIG"; then
31570 if test -n "$ESD_LIBS"; then
31571 pkg_cv_ESD_LIBS="$ESD_LIBS"
31573 if test -n "$PKG_CONFIG" && \
31574 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31575 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31578 test $ac_status = 0; }; then
31579 pkg_cv_ESD_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
31590 if test $pkg_failed = yes; then
31592 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31593 _pkg_short_errors_supported=yes
31595 _pkg_short_errors_supported=no
31597 if test $_pkg_short_errors_supported = yes; then
31598 ESD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
31600 ESD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
31602 # Put the nasty error message in config.log where it belongs
31603 echo "$ESD_PKG_ERRORS" >&5
31605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31606 $as_echo "no" >&6; }
31609 if test "x$required" = "xyes"; then
31610 as_fn_error $? "$ESD_PKG_ERRORS" "$LINENO" 5
31612 { $as_echo "$as_me:${as_lineno-$LINENO}: $ESD_PKG_ERRORS" >&5
31613 $as_echo "$as_me: $ESD_PKG_ERRORS" >&6;}
31616 elif test $pkg_failed = untried; then
31619 if test "x$required" = "xyes"; then
31620 as_fn_error $? "$ESD_PKG_ERRORS" "$LINENO" 5
31622 { $as_echo "$as_me:${as_lineno-$LINENO}: $ESD_PKG_ERRORS" >&5
31623 $as_echo "$as_me: $ESD_PKG_ERRORS" >&6;}
31627 ESD_CFLAGS=$pkg_cv_ESD_CFLAGS
31628 ESD_LIBS=$pkg_cv_ESD_LIBS
31629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31630 $as_echo "yes" >&6; }
31637 if test $HAVE_ESD = no
31640 # Check whether --with-esd-prefix was given.
31641 if test "${with_esd_prefix+set}" = set; then :
31642 withval=$with_esd_prefix; esd_prefix="$withval"
31649 # Check whether --with-esd-exec-prefix was given.
31650 if test "${with_esd_exec_prefix+set}" = set; then :
31651 withval=$with_esd_exec_prefix; esd_exec_prefix="$withval"
31657 # Check whether --enable-esdtest was given.
31658 if test "${enable_esdtest+set}" = set; then :
31659 enableval=$enable_esdtest;
31665 if test x$esd_exec_prefix != x ; then
31666 esd_args="$esd_args --exec-prefix=$esd_exec_prefix"
31667 if test x${ESD_CONFIG+set} != xset ; then
31668 ESD_CONFIG=$esd_exec_prefix/bin/esd-config
31671 if test x$esd_prefix != x ; then
31672 esd_args="$esd_args --prefix=$esd_prefix"
31673 if test x${ESD_CONFIG+set} != xset ; then
31674 ESD_CONFIG=$esd_prefix/bin/esd-config
31678 # Extract the first word of "esd-config", so it can be a program name with args.
31679 set dummy esd-config; ac_word=$2
31680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31681 $as_echo_n "checking for $ac_word... " >&6; }
31682 if ${ac_cv_path_ESD_CONFIG+:} false; then :
31683 $as_echo_n "(cached) " >&6
31685 case $ESD_CONFIG in
31687 ac_cv_path_ESD_CONFIG="$ESD_CONFIG" # Let the user override the test with a path.
31690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31691 for as_dir in $PATH
31694 test -z "$as_dir" && as_dir=.
31695 for ac_exec_ext in '' $ac_executable_extensions; do
31696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31697 ac_cv_path_ESD_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
31705 test -z "$ac_cv_path_ESD_CONFIG" && ac_cv_path_ESD_CONFIG="no"
31709 ESD_CONFIG=$ac_cv_path_ESD_CONFIG
31710 if test -n "$ESD_CONFIG"; then
31711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ESD_CONFIG" >&5
31712 $as_echo "$ESD_CONFIG" >&6; }
31714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31715 $as_echo "no" >&6; }
31719 min_esd_version=0.2.12
31720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ESD - version >= $min_esd_version" >&5
31721 $as_echo_n "checking for ESD - version >= $min_esd_version... " >&6; }
31723 if test "$ESD_CONFIG" = "no" ; then
31728 ac_cpp='$CPP $CPPFLAGS'
31729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31733 ESD_CFLAGS=`$ESD_CONFIG $esdconf_args --cflags`
31734 ESD_LIBS=`$ESD_CONFIG $esdconf_args --libs`
31736 esd_major_version=`$ESD_CONFIG $esd_args --version | \
31737 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31738 esd_minor_version=`$ESD_CONFIG $esd_args --version | \
31739 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31740 esd_micro_version=`$ESD_CONFIG $esd_config_args --version | \
31741 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31742 if test "x$enable_esdtest" = "xyes" ; then
31743 ac_save_CFLAGS="$CFLAGS"
31744 ac_save_LIBS="$LIBS"
31745 CFLAGS="$CFLAGS $ESD_CFLAGS"
31746 LIBS="$LIBS $ESD_LIBS"
31748 if test "$cross_compiling" = yes; then :
31749 echo $ac_n "cross compiling; assumed OK... $ac_c"
31751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31752 /* end confdefs.h. */
31755 #include <stdlib.h>
31756 #include <string.h>
31760 my_strdup (char *str)
31766 new_str = malloc ((strlen (str) + 1) * sizeof(char));
31767 strcpy (new_str, str);
31777 int major, minor, micro;
31780 system ("touch conf.esdtest");
31782 /* HP/UX 9 (%@#!) writes to sscanf strings */
31783 tmp_version = my_strdup("$min_esd_version");
31784 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31785 printf("%s, bad version string\n", "$min_esd_version");
31789 if (($esd_major_version > major) ||
31790 (($esd_major_version == major) && ($esd_minor_version > minor)) ||
31791 (($esd_major_version == major) && ($esd_minor_version == minor) && ($esd_micro_version >= micro)))
31797 printf("\n*** 'esd-config --version' returned %d.%d.%d, but the minimum version\n", $esd_major_version, $esd_minor_version, $esd_micro_version);
31798 printf("*** of ESD required is %d.%d.%d. If esd-config is correct, then it is\n", major, minor, micro);
31799 printf("*** best to upgrade to the required version.\n");
31800 printf("*** If esd-config was wrong, set the environment variable ESD_CONFIG\n");
31801 printf("*** to point to the correct copy of esd-config, and remove the file\n");
31802 printf("*** config.cache before re-running configure\n");
31809 if ac_fn_c_try_run "$LINENO"; then :
31814 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31815 conftest.$ac_objext conftest.beam conftest.$ac_ext
31818 CFLAGS="$ac_save_CFLAGS"
31819 LIBS="$ac_save_LIBS"
31821 ac_cpp='$CPP $CPPFLAGS'
31822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31828 if test "x$no_esd" = x ; then
31829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31830 $as_echo "yes" >&6; }
31833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31834 $as_echo "no" >&6; }
31835 if test "$ESD_CONFIG" = "no" ; then
31836 echo "*** The esd-config script installed by ESD could not be found"
31837 echo "*** If ESD was installed in PREFIX, make sure PREFIX/bin is in"
31838 echo "*** your path, or set the ESD_CONFIG environment variable to the"
31839 echo "*** full path to esd-config."
31841 if test -f conf.esdtest ; then
31844 echo "*** Could not run ESD test program, checking why..."
31845 CFLAGS="$CFLAGS $ESD_CFLAGS"
31846 LIBS="$LIBS $ESD_LIBS"
31849 ac_cpp='$CPP $CPPFLAGS'
31850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31855 /* end confdefs.h. */
31868 if ac_fn_c_try_link "$LINENO"; then :
31869 echo "*** The test program compiled, but did not run. This usually means"
31870 echo "*** that the run-time linker is not finding ESD or finding the wrong"
31871 echo "*** version of ESD. If it is not finding ESD, you'll need to set your"
31872 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31873 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31874 echo "*** is required on your system"
31876 echo "*** If you have an old version installed, it is best to remove it, although"
31877 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31879 echo "*** The test program failed to compile or link. See the file config.log for the"
31880 echo "*** exact error that occured. This usually means ESD was incorrectly installed"
31881 echo "*** or that you have moved ESD since it was installed. In the latter case, you"
31882 echo "*** may want to edit the esd-config script: $ESD_CONFIG"
31884 rm -f core conftest.err conftest.$ac_objext \
31885 conftest$ac_exeext conftest.$ac_ext
31886 CFLAGS="$ac_save_CFLAGS"
31887 LIBS="$ac_save_LIBS"
31889 ac_cpp='$CPP $CPPFLAGS'
31890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31905 GIVEN_CFLAGS=$ESD_CFLAGS
31906 INCLUDE_DIRS=`echo | cpp -v 2>&1`
31908 INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
31909 for dir in $INCLUDE_DIRS; do
31910 GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
31912 ESD_CFLAGS=$GIVEN_CFLAGS
31917 LIBS=$gst_check_save_LIBS
31918 LDFLAGS=$gst_check_save_LDFLAGS
31919 CFLAGS=$gst_check_save_CFLAGS
31920 CPPFLAGS=$gst_check_save_CPPFLAGS
31921 CXXFLAGS=$gst_check_save_CXXFLAGS
31923 if test x$HAVE_ESD = xno; then
31926 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: esdsink" >&5
31927 $as_echo "$as_me: *** These plugins will be built: esdsink" >&6;}
31930 if test x$USE_ESD = xyes; then
31932 if test "xesdsink" != "x"; then
31933 GST_PLUGINS_YES="\tesdsink\n$GST_PLUGINS_YES"
31936 $as_echo "#define HAVE_ESD /**/" >>confdefs.h
31939 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: esdsink" >&5
31940 $as_echo "$as_me: *** These plugins will not be built: esdsink" >&6;}
31941 if test "xesdsink" != "x"; then
31942 GST_PLUGINS_NO="\tesdsink\n$GST_PLUGINS_NO"
31946 if test x$USE_ESD = xyes; then
31957 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: FLAC lossless audio ***" >&5
31958 $as_echo "$as_me: *** checking feature: FLAC lossless audio ***" >&6;}
31959 if test "xflac" != "x"
31961 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: flac ***" >&5
31962 $as_echo "$as_me: *** for plug-ins: flac ***" >&6;}
31965 if test "x$USE_FLAC" = "xno"; then
31968 # Check whether --enable-flac was given.
31969 if test "${enable_flac+set}" = set; then :
31970 enableval=$enable_flac; case "${enableval}" in
31971 yes) USE_FLAC=yes;;
31973 *) as_fn_error $? "bad value ${enableval} for --enable-flac" "$LINENO" 5 ;;
31979 if test "x$NOUSE" = "xyes"; then
31981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** flac pre-configured not to be built" >&5
31982 $as_echo "$as_me: WARNING: *** flac pre-configured not to be built" >&2;}
31987 if test x$USE_FLAC = xyes; then
31989 gst_check_save_LIBS=$LIBS
31990 gst_check_save_LDFLAGS=$LDFLAGS
31991 gst_check_save_CFLAGS=$CFLAGS
31992 gst_check_save_CPPFLAGS=$CPPFLAGS
31993 gst_check_save_CXXFLAGS=$CXXFLAGS
31998 which="flac >= 1.1.4"
32003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5
32004 $as_echo_n "checking for FLAC... " >&6; }
32006 if test -n "$PKG_CONFIG"; then
32007 if test -n "$FLAC_CFLAGS"; then
32008 pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS"
32010 if test -n "$PKG_CONFIG" && \
32011 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32012 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32015 test $ac_status = 0; }; then
32016 pkg_cv_FLAC_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32024 if test -n "$PKG_CONFIG"; then
32025 if test -n "$FLAC_LIBS"; then
32026 pkg_cv_FLAC_LIBS="$FLAC_LIBS"
32028 if test -n "$PKG_CONFIG" && \
32029 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32030 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32032 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32033 test $ac_status = 0; }; then
32034 pkg_cv_FLAC_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
32045 if test $pkg_failed = yes; then
32047 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32048 _pkg_short_errors_supported=yes
32050 _pkg_short_errors_supported=no
32052 if test $_pkg_short_errors_supported = yes; then
32053 FLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
32055 FLAC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
32057 # Put the nasty error message in config.log where it belongs
32058 echo "$FLAC_PKG_ERRORS" >&5
32060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32061 $as_echo "no" >&6; }
32064 if test "x$required" = "xyes"; then
32065 as_fn_error $? "$FLAC_PKG_ERRORS" "$LINENO" 5
32067 { $as_echo "$as_me:${as_lineno-$LINENO}: $FLAC_PKG_ERRORS" >&5
32068 $as_echo "$as_me: $FLAC_PKG_ERRORS" >&6;}
32071 elif test $pkg_failed = untried; then
32074 if test "x$required" = "xyes"; then
32075 as_fn_error $? "$FLAC_PKG_ERRORS" "$LINENO" 5
32077 { $as_echo "$as_me:${as_lineno-$LINENO}: $FLAC_PKG_ERRORS" >&5
32078 $as_echo "$as_me: $FLAC_PKG_ERRORS" >&6;}
32082 FLAC_CFLAGS=$pkg_cv_FLAC_CFLAGS
32083 FLAC_LIBS=$pkg_cv_FLAC_LIBS
32084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32085 $as_echo "yes" >&6; }
32094 LIBS=$gst_check_save_LIBS
32095 LDFLAGS=$gst_check_save_LDFLAGS
32096 CFLAGS=$gst_check_save_CFLAGS
32097 CPPFLAGS=$gst_check_save_CPPFLAGS
32098 CXXFLAGS=$gst_check_save_CXXFLAGS
32100 if test x$HAVE_FLAC = xno; then
32103 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: flac" >&5
32104 $as_echo "$as_me: *** These plugins will be built: flac" >&6;}
32107 if test x$USE_FLAC = xyes; then
32109 if test "xflac" != "x"; then
32110 GST_PLUGINS_YES="\tflac\n$GST_PLUGINS_YES"
32113 $as_echo "#define HAVE_FLAC /**/" >>confdefs.h
32116 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: flac" >&5
32117 $as_echo "$as_me: *** These plugins will not be built: flac" >&6;}
32118 if test "xflac" != "x"; then
32119 GST_PLUGINS_NO="\tflac\n$GST_PLUGINS_NO"
32123 if test x$USE_FLAC = xyes; then
32134 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GConf libraries ***" >&5
32135 $as_echo "$as_me: *** checking feature: GConf libraries ***" >&6;}
32136 if test "xgconfelements" != "x"
32138 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gconfelements ***" >&5
32139 $as_echo "$as_me: *** for plug-ins: gconfelements ***" >&6;}
32142 if test "x$USE_GCONF" = "xno"; then
32145 # Check whether --enable-gconf was given.
32146 if test "${enable_gconf+set}" = set; then :
32147 enableval=$enable_gconf; case "${enableval}" in
32148 yes) USE_GCONF=yes;;
32150 *) as_fn_error $? "bad value ${enableval} for --enable-gconf" "$LINENO" 5 ;;
32156 if test "x$NOUSE" = "xyes"; then
32158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gconfelements pre-configured not to be built" >&5
32159 $as_echo "$as_me: WARNING: *** gconfelements pre-configured not to be built" >&2;}
32164 if test x$USE_GCONF = xyes; then
32166 gst_check_save_LIBS=$LIBS
32167 gst_check_save_LDFLAGS=$LDFLAGS
32168 gst_check_save_CFLAGS=$CFLAGS
32169 gst_check_save_CPPFLAGS=$CPPFLAGS
32170 gst_check_save_CXXFLAGS=$CXXFLAGS
32180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
32181 $as_echo_n "checking for GCONF... " >&6; }
32183 if test -n "$PKG_CONFIG"; then
32184 if test -n "$GCONF_CFLAGS"; then
32185 pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
32187 if test -n "$PKG_CONFIG" && \
32188 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32189 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32192 test $ac_status = 0; }; then
32193 pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32201 if test -n "$PKG_CONFIG"; then
32202 if test -n "$GCONF_LIBS"; then
32203 pkg_cv_GCONF_LIBS="$GCONF_LIBS"
32205 if test -n "$PKG_CONFIG" && \
32206 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32207 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32210 test $ac_status = 0; }; then
32211 pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
32222 if test $pkg_failed = yes; then
32224 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32225 _pkg_short_errors_supported=yes
32227 _pkg_short_errors_supported=no
32229 if test $_pkg_short_errors_supported = yes; then
32230 GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
32232 GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
32234 # Put the nasty error message in config.log where it belongs
32235 echo "$GCONF_PKG_ERRORS" >&5
32237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32238 $as_echo "no" >&6; }
32241 if test "x$required" = "xyes"; then
32242 as_fn_error $? "$GCONF_PKG_ERRORS" "$LINENO" 5
32244 { $as_echo "$as_me:${as_lineno-$LINENO}: $GCONF_PKG_ERRORS" >&5
32245 $as_echo "$as_me: $GCONF_PKG_ERRORS" >&6;}
32248 elif test $pkg_failed = untried; then
32251 if test "x$required" = "xyes"; then
32252 as_fn_error $? "$GCONF_PKG_ERRORS" "$LINENO" 5
32254 { $as_echo "$as_me:${as_lineno-$LINENO}: $GCONF_PKG_ERRORS" >&5
32255 $as_echo "$as_me: $GCONF_PKG_ERRORS" >&6;}
32259 GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
32260 GCONF_LIBS=$pkg_cv_GCONF_LIBS
32261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32262 $as_echo "yes" >&6; }
32271 LIBS=$gst_check_save_LIBS
32272 LDFLAGS=$gst_check_save_LDFLAGS
32273 CFLAGS=$gst_check_save_CFLAGS
32274 CPPFLAGS=$gst_check_save_CPPFLAGS
32275 CXXFLAGS=$gst_check_save_CXXFLAGS
32277 if test x$HAVE_GCONF = xno; then
32280 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gconfelements" >&5
32281 $as_echo "$as_me: *** These plugins will be built: gconfelements" >&6;}
32284 if test x$USE_GCONF = xyes; then
32286 if test "xgconfelements" != "x"; then
32287 GST_PLUGINS_YES="\tgconfelements\n$GST_PLUGINS_YES"
32290 $as_echo "#define HAVE_GCONF /**/" >>confdefs.h
32293 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gconfelements" >&5
32294 $as_echo "$as_me: *** These plugins will not be built: gconfelements" >&6;}
32295 if test "xgconfelements" != "x"; then
32296 GST_PLUGINS_NO="\tgconfelements\n$GST_PLUGINS_NO"
32300 if test x$USE_GCONF = xyes; then
32302 USE_GCONF_FALSE='#'
32311 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GDK pixbuf ***" >&5
32312 $as_echo "$as_me: *** checking feature: GDK pixbuf ***" >&6;}
32313 if test "xgdkpixbuf" != "x"
32315 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gdkpixbuf ***" >&5
32316 $as_echo "$as_me: *** for plug-ins: gdkpixbuf ***" >&6;}
32319 if test "x$USE_GDK_PIXBUF" = "xno"; then
32322 # Check whether --enable-gdk_pixbuf was given.
32323 if test "${enable_gdk_pixbuf+set}" = set; then :
32324 enableval=$enable_gdk_pixbuf; case "${enableval}" in
32325 yes) USE_GDK_PIXBUF=yes;;
32326 no) USE_GDK_PIXBUF=no;;
32327 *) as_fn_error $? "bad value ${enableval} for --enable-gdk_pixbuf" "$LINENO" 5 ;;
32333 if test "x$NOUSE" = "xyes"; then
32334 USE_GDK_PIXBUF="no"
32335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gdkpixbuf pre-configured not to be built" >&5
32336 $as_echo "$as_me: WARNING: *** gdkpixbuf pre-configured not to be built" >&2;}
32341 if test x$USE_GDK_PIXBUF = xyes; then
32343 gst_check_save_LIBS=$LIBS
32344 gst_check_save_LDFLAGS=$LDFLAGS
32345 gst_check_save_CFLAGS=$CFLAGS
32346 gst_check_save_CPPFLAGS=$CPPFLAGS
32347 gst_check_save_CXXFLAGS=$CXXFLAGS
32352 which="gdk-pixbuf-2.0 >= 2.8.0"
32357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5
32358 $as_echo_n "checking for GDK_PIXBUF... " >&6; }
32360 if test -n "$PKG_CONFIG"; then
32361 if test -n "$GDK_PIXBUF_CFLAGS"; then
32362 pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS"
32364 if test -n "$PKG_CONFIG" && \
32365 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32366 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32369 test $ac_status = 0; }; then
32370 pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32378 if test -n "$PKG_CONFIG"; then
32379 if test -n "$GDK_PIXBUF_LIBS"; then
32380 pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS"
32382 if test -n "$PKG_CONFIG" && \
32383 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32384 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32387 test $ac_status = 0; }; then
32388 pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
32399 if test $pkg_failed = yes; then
32401 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32402 _pkg_short_errors_supported=yes
32404 _pkg_short_errors_supported=no
32406 if test $_pkg_short_errors_supported = yes; then
32407 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
32409 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
32411 # Put the nasty error message in config.log where it belongs
32412 echo "$GDK_PIXBUF_PKG_ERRORS" >&5
32414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32415 $as_echo "no" >&6; }
32417 HAVE_GDK_PIXBUF="no"
32418 if test "x$required" = "xyes"; then
32419 as_fn_error $? "$GDK_PIXBUF_PKG_ERRORS" "$LINENO" 5
32421 { $as_echo "$as_me:${as_lineno-$LINENO}: $GDK_PIXBUF_PKG_ERRORS" >&5
32422 $as_echo "$as_me: $GDK_PIXBUF_PKG_ERRORS" >&6;}
32425 elif test $pkg_failed = untried; then
32427 HAVE_GDK_PIXBUF="no"
32428 if test "x$required" = "xyes"; then
32429 as_fn_error $? "$GDK_PIXBUF_PKG_ERRORS" "$LINENO" 5
32431 { $as_echo "$as_me:${as_lineno-$LINENO}: $GDK_PIXBUF_PKG_ERRORS" >&5
32432 $as_echo "$as_me: $GDK_PIXBUF_PKG_ERRORS" >&6;}
32436 GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS
32437 GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS
32438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32439 $as_echo "yes" >&6; }
32441 HAVE_GDK_PIXBUF="yes"
32448 LIBS=$gst_check_save_LIBS
32449 LDFLAGS=$gst_check_save_LDFLAGS
32450 CFLAGS=$gst_check_save_CFLAGS
32451 CPPFLAGS=$gst_check_save_CPPFLAGS
32452 CXXFLAGS=$gst_check_save_CXXFLAGS
32454 if test x$HAVE_GDK_PIXBUF = xno; then
32457 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gdkpixbuf" >&5
32458 $as_echo "$as_me: *** These plugins will be built: gdkpixbuf" >&6;}
32461 if test x$USE_GDK_PIXBUF = xyes; then
32463 if test "xgdkpixbuf" != "x"; then
32464 GST_PLUGINS_YES="\tgdkpixbuf\n$GST_PLUGINS_YES"
32467 $as_echo "#define HAVE_GDK_PIXBUF /**/" >>confdefs.h
32470 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gdkpixbuf" >&5
32471 $as_echo "$as_me: *** These plugins will not be built: gdkpixbuf" >&6;}
32472 if test "xgdkpixbuf" != "x"; then
32473 GST_PLUGINS_NO="\tgdkpixbuf\n$GST_PLUGINS_NO"
32477 if test x$USE_GDK_PIXBUF = xyes; then
32478 USE_GDK_PIXBUF_TRUE=
32479 USE_GDK_PIXBUF_FALSE='#'
32481 USE_GDK_PIXBUF_TRUE='#'
32482 USE_GDK_PIXBUF_FALSE=
32488 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: HAL libraries ***" >&5
32489 $as_echo "$as_me: *** checking feature: HAL libraries ***" >&6;}
32490 if test "xhalelements" != "x"
32492 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: halelements ***" >&5
32493 $as_echo "$as_me: *** for plug-ins: halelements ***" >&6;}
32496 if test "x$USE_HAL" = "xno"; then
32499 # Check whether --enable-hal was given.
32500 if test "${enable_hal+set}" = set; then :
32501 enableval=$enable_hal; case "${enableval}" in
32504 *) as_fn_error $? "bad value ${enableval} for --enable-hal" "$LINENO" 5 ;;
32510 if test "x$NOUSE" = "xyes"; then
32512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** halelements pre-configured not to be built" >&5
32513 $as_echo "$as_me: WARNING: *** halelements pre-configured not to be built" >&2;}
32518 if test x$USE_HAL = xyes; then
32520 gst_check_save_LIBS=$LIBS
32521 gst_check_save_LDFLAGS=$LDFLAGS
32522 gst_check_save_CFLAGS=$CFLAGS
32523 gst_check_save_CPPFLAGS=$CPPFLAGS
32524 gst_check_save_CXXFLAGS=$CXXFLAGS
32529 which="hal >= 0.5.6, dbus-1 >= 0.32"
32534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HAL" >&5
32535 $as_echo_n "checking for HAL... " >&6; }
32537 if test -n "$PKG_CONFIG"; then
32538 if test -n "$HAL_CFLAGS"; then
32539 pkg_cv_HAL_CFLAGS="$HAL_CFLAGS"
32541 if test -n "$PKG_CONFIG" && \
32542 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32543 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32546 test $ac_status = 0; }; then
32547 pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32555 if test -n "$PKG_CONFIG"; then
32556 if test -n "$HAL_LIBS"; then
32557 pkg_cv_HAL_LIBS="$HAL_LIBS"
32559 if test -n "$PKG_CONFIG" && \
32560 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32561 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32564 test $ac_status = 0; }; then
32565 pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
32576 if test $pkg_failed = yes; then
32578 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32579 _pkg_short_errors_supported=yes
32581 _pkg_short_errors_supported=no
32583 if test $_pkg_short_errors_supported = yes; then
32584 HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
32586 HAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
32588 # Put the nasty error message in config.log where it belongs
32589 echo "$HAL_PKG_ERRORS" >&5
32591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32592 $as_echo "no" >&6; }
32595 if test "x$required" = "xyes"; then
32596 as_fn_error $? "$HAL_PKG_ERRORS" "$LINENO" 5
32598 { $as_echo "$as_me:${as_lineno-$LINENO}: $HAL_PKG_ERRORS" >&5
32599 $as_echo "$as_me: $HAL_PKG_ERRORS" >&6;}
32602 elif test $pkg_failed = untried; then
32605 if test "x$required" = "xyes"; then
32606 as_fn_error $? "$HAL_PKG_ERRORS" "$LINENO" 5
32608 { $as_echo "$as_me:${as_lineno-$LINENO}: $HAL_PKG_ERRORS" >&5
32609 $as_echo "$as_me: $HAL_PKG_ERRORS" >&6;}
32613 HAL_CFLAGS=$pkg_cv_HAL_CFLAGS
32614 HAL_LIBS=$pkg_cv_HAL_LIBS
32615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32616 $as_echo "yes" >&6; }
32625 LIBS=$gst_check_save_LIBS
32626 LDFLAGS=$gst_check_save_LDFLAGS
32627 CFLAGS=$gst_check_save_CFLAGS
32628 CPPFLAGS=$gst_check_save_CPPFLAGS
32629 CXXFLAGS=$gst_check_save_CXXFLAGS
32631 if test x$HAVE_HAL = xno; then
32634 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: halelements" >&5
32635 $as_echo "$as_me: *** These plugins will be built: halelements" >&6;}
32638 if test x$USE_HAL = xyes; then
32640 if test "xhalelements" != "x"; then
32641 GST_PLUGINS_YES="\thalelements\n$GST_PLUGINS_YES"
32644 $as_echo "#define HAVE_HAL /**/" >>confdefs.h
32647 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: halelements" >&5
32648 $as_echo "$as_me: *** These plugins will not be built: halelements" >&6;}
32649 if test "xhalelements" != "x"; then
32650 GST_PLUGINS_NO="\thalelements\n$GST_PLUGINS_NO"
32654 if test x$USE_HAL = xyes; then
32665 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Jack ***" >&5
32666 $as_echo "$as_me: *** checking feature: Jack ***" >&6;}
32667 if test "xjack" != "x"
32669 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: jack ***" >&5
32670 $as_echo "$as_me: *** for plug-ins: jack ***" >&6;}
32673 if test "x$USE_JACK" = "xno"; then
32676 # Check whether --enable-jack was given.
32677 if test "${enable_jack+set}" = set; then :
32678 enableval=$enable_jack; case "${enableval}" in
32679 yes) USE_JACK=yes;;
32681 *) as_fn_error $? "bad value ${enableval} for --enable-jack" "$LINENO" 5 ;;
32687 if test "x$NOUSE" = "xyes"; then
32689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** jack pre-configured not to be built" >&5
32690 $as_echo "$as_me: WARNING: *** jack pre-configured not to be built" >&2;}
32695 if test x$USE_JACK = xyes; then
32697 gst_check_save_LIBS=$LIBS
32698 gst_check_save_LDFLAGS=$LDFLAGS
32699 gst_check_save_CFLAGS=$CFLAGS
32700 gst_check_save_CPPFLAGS=$CPPFLAGS
32701 gst_check_save_CXXFLAGS=$CXXFLAGS
32707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5
32708 $as_echo_n "checking for JACK... " >&6; }
32710 if test -n "$PKG_CONFIG"; then
32711 if test -n "$JACK_CFLAGS"; then
32712 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS"
32714 if test -n "$PKG_CONFIG" && \
32715 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.10\""; } >&5
32716 ($PKG_CONFIG --exists --print-errors "jack >= 0.99.10") 2>&5
32718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32719 test $ac_status = 0; }; then
32720 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack >= 0.99.10" 2>/dev/null`
32728 if test -n "$PKG_CONFIG"; then
32729 if test -n "$JACK_LIBS"; then
32730 pkg_cv_JACK_LIBS="$JACK_LIBS"
32732 if test -n "$PKG_CONFIG" && \
32733 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.10\""; } >&5
32734 ($PKG_CONFIG --exists --print-errors "jack >= 0.99.10") 2>&5
32736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32737 test $ac_status = 0; }; then
32738 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack >= 0.99.10" 2>/dev/null`
32749 if test $pkg_failed = yes; then
32751 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32752 _pkg_short_errors_supported=yes
32754 _pkg_short_errors_supported=no
32756 if test $_pkg_short_errors_supported = yes; then
32757 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "jack >= 0.99.10"`
32759 JACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "jack >= 0.99.10"`
32761 # Put the nasty error message in config.log where it belongs
32762 echo "$JACK_PKG_ERRORS" >&5
32764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32765 $as_echo "no" >&6; }
32767 elif test $pkg_failed = untried; then
32770 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
32771 JACK_LIBS=$pkg_cv_JACK_LIBS
32772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32773 $as_echo "yes" >&6; }
32780 which="jack >= 0.120.1 jack < 1.0"
32785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK_0_120_1" >&5
32786 $as_echo_n "checking for JACK_0_120_1... " >&6; }
32788 if test -n "$PKG_CONFIG"; then
32789 if test -n "$JACK_0_120_1_CFLAGS"; then
32790 pkg_cv_JACK_0_120_1_CFLAGS="$JACK_0_120_1_CFLAGS"
32792 if test -n "$PKG_CONFIG" && \
32793 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32794 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32797 test $ac_status = 0; }; then
32798 pkg_cv_JACK_0_120_1_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32806 if test -n "$PKG_CONFIG"; then
32807 if test -n "$JACK_0_120_1_LIBS"; then
32808 pkg_cv_JACK_0_120_1_LIBS="$JACK_0_120_1_LIBS"
32810 if test -n "$PKG_CONFIG" && \
32811 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32812 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32815 test $ac_status = 0; }; then
32816 pkg_cv_JACK_0_120_1_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
32827 if test $pkg_failed = yes; then
32829 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32830 _pkg_short_errors_supported=yes
32832 _pkg_short_errors_supported=no
32834 if test $_pkg_short_errors_supported = yes; then
32835 JACK_0_120_1_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
32837 JACK_0_120_1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
32839 # Put the nasty error message in config.log where it belongs
32840 echo "$JACK_0_120_1_PKG_ERRORS" >&5
32842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32843 $as_echo "no" >&6; }
32845 HAVE_JACK_0_120_1="no"
32846 if test "x$required" = "xyes"; then
32847 as_fn_error $? "$JACK_0_120_1_PKG_ERRORS" "$LINENO" 5
32849 { $as_echo "$as_me:${as_lineno-$LINENO}: $JACK_0_120_1_PKG_ERRORS" >&5
32850 $as_echo "$as_me: $JACK_0_120_1_PKG_ERRORS" >&6;}
32853 elif test $pkg_failed = untried; then
32855 HAVE_JACK_0_120_1="no"
32856 if test "x$required" = "xyes"; then
32857 as_fn_error $? "$JACK_0_120_1_PKG_ERRORS" "$LINENO" 5
32859 { $as_echo "$as_me:${as_lineno-$LINENO}: $JACK_0_120_1_PKG_ERRORS" >&5
32860 $as_echo "$as_me: $JACK_0_120_1_PKG_ERRORS" >&6;}
32864 JACK_0_120_1_CFLAGS=$pkg_cv_JACK_0_120_1_CFLAGS
32865 JACK_0_120_1_LIBS=$pkg_cv_JACK_0_120_1_LIBS
32866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32867 $as_echo "yes" >&6; }
32869 HAVE_JACK_0_120_1="yes"
32874 if test x$HAVE_JACK_0_120_1 = xyes; then
32876 $as_echo "#define HAVE_JACK_0_120_1 1" >>confdefs.h
32880 which="jack >= 1.9.7"
32885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK_1_9_7" >&5
32886 $as_echo_n "checking for JACK_1_9_7... " >&6; }
32888 if test -n "$PKG_CONFIG"; then
32889 if test -n "$JACK_1_9_7_CFLAGS"; then
32890 pkg_cv_JACK_1_9_7_CFLAGS="$JACK_1_9_7_CFLAGS"
32892 if test -n "$PKG_CONFIG" && \
32893 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32894 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32897 test $ac_status = 0; }; then
32898 pkg_cv_JACK_1_9_7_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32906 if test -n "$PKG_CONFIG"; then
32907 if test -n "$JACK_1_9_7_LIBS"; then
32908 pkg_cv_JACK_1_9_7_LIBS="$JACK_1_9_7_LIBS"
32910 if test -n "$PKG_CONFIG" && \
32911 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32912 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32915 test $ac_status = 0; }; then
32916 pkg_cv_JACK_1_9_7_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
32927 if test $pkg_failed = yes; then
32929 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32930 _pkg_short_errors_supported=yes
32932 _pkg_short_errors_supported=no
32934 if test $_pkg_short_errors_supported = yes; then
32935 JACK_1_9_7_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
32937 JACK_1_9_7_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
32939 # Put the nasty error message in config.log where it belongs
32940 echo "$JACK_1_9_7_PKG_ERRORS" >&5
32942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32943 $as_echo "no" >&6; }
32945 HAVE_JACK_1_9_7="no"
32946 if test "x$required" = "xyes"; then
32947 as_fn_error $? "$JACK_1_9_7_PKG_ERRORS" "$LINENO" 5
32949 { $as_echo "$as_me:${as_lineno-$LINENO}: $JACK_1_9_7_PKG_ERRORS" >&5
32950 $as_echo "$as_me: $JACK_1_9_7_PKG_ERRORS" >&6;}
32953 elif test $pkg_failed = untried; then
32955 HAVE_JACK_1_9_7="no"
32956 if test "x$required" = "xyes"; then
32957 as_fn_error $? "$JACK_1_9_7_PKG_ERRORS" "$LINENO" 5
32959 { $as_echo "$as_me:${as_lineno-$LINENO}: $JACK_1_9_7_PKG_ERRORS" >&5
32960 $as_echo "$as_me: $JACK_1_9_7_PKG_ERRORS" >&6;}
32964 JACK_1_9_7_CFLAGS=$pkg_cv_JACK_1_9_7_CFLAGS
32965 JACK_1_9_7_LIBS=$pkg_cv_JACK_1_9_7_LIBS
32966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32967 $as_echo "yes" >&6; }
32969 HAVE_JACK_1_9_7="yes"
32974 if test x$HAVE_JACK_1_9_7 = xyes; then
32976 $as_echo "#define HAVE_JACK_1_9_7 1" >>confdefs.h
32982 LIBS=$gst_check_save_LIBS
32983 LDFLAGS=$gst_check_save_LDFLAGS
32984 CFLAGS=$gst_check_save_CFLAGS
32985 CPPFLAGS=$gst_check_save_CPPFLAGS
32986 CXXFLAGS=$gst_check_save_CXXFLAGS
32988 if test x$HAVE_JACK = xno; then
32991 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: jack" >&5
32992 $as_echo "$as_me: *** These plugins will be built: jack" >&6;}
32995 if test x$USE_JACK = xyes; then
32997 if test "xjack" != "x"; then
32998 GST_PLUGINS_YES="\tjack\n$GST_PLUGINS_YES"
33001 $as_echo "#define HAVE_JACK /**/" >>confdefs.h
33004 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: jack" >&5
33005 $as_echo "$as_me: *** These plugins will not be built: jack" >&6;}
33006 if test "xjack" != "x"; then
33007 GST_PLUGINS_NO="\tjack\n$GST_PLUGINS_NO"
33011 if test x$USE_JACK = xyes; then
33022 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: jpeg library ***" >&5
33023 $as_echo "$as_me: *** checking feature: jpeg library ***" >&6;}
33024 if test "xjpeg" != "x"
33026 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: jpeg ***" >&5
33027 $as_echo "$as_me: *** for plug-ins: jpeg ***" >&6;}
33030 if test "x$USE_JPEG" = "xno"; then
33033 # Check whether --enable-jpeg was given.
33034 if test "${enable_jpeg+set}" = set; then :
33035 enableval=$enable_jpeg; case "${enableval}" in
33036 yes) USE_JPEG=yes;;
33038 *) as_fn_error $? "bad value ${enableval} for --enable-jpeg" "$LINENO" 5 ;;
33044 if test "x$NOUSE" = "xyes"; then
33046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** jpeg pre-configured not to be built" >&5
33047 $as_echo "$as_me: WARNING: *** jpeg pre-configured not to be built" >&2;}
33052 if test x$USE_JPEG = xyes; then
33054 gst_check_save_LIBS=$LIBS
33055 gst_check_save_LDFLAGS=$LDFLAGS
33056 gst_check_save_CFLAGS=$CFLAGS
33057 gst_check_save_CPPFLAGS=$CPPFLAGS
33058 gst_check_save_CXXFLAGS=$CXXFLAGS
33063 # Check whether --with-jpeg-mmx was given.
33064 if test "${with_jpeg_mmx+set}" = set; then :
33065 withval=$with_jpeg_mmx;
33069 if test x$with_jpeg_mmx != x; then
33070 LIBS="$LIBS -L$with_jpeg_mmx"
33072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_set_defaults in -ljpeg-mmx" >&5
33073 $as_echo_n "checking for jpeg_set_defaults in -ljpeg-mmx... " >&6; }
33074 if ${ac_cv_lib_jpeg_mmx_jpeg_set_defaults+:} false; then :
33075 $as_echo_n "(cached) " >&6
33077 ac_check_lib_save_LIBS=$LIBS
33078 LIBS="-ljpeg-mmx $LIBS"
33079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33080 /* end confdefs.h. */
33082 /* Override any GCC internal prototype to avoid an error.
33083 Use char because int might match the return type of a GCC
33084 builtin and then its argument prototype would still apply. */
33088 char jpeg_set_defaults ();
33092 return jpeg_set_defaults ();
33097 if ac_fn_c_try_link "$LINENO"; then :
33098 ac_cv_lib_jpeg_mmx_jpeg_set_defaults=yes
33100 ac_cv_lib_jpeg_mmx_jpeg_set_defaults=no
33102 rm -f core conftest.err conftest.$ac_objext \
33103 conftest$ac_exeext conftest.$ac_ext
33104 LIBS=$ac_check_lib_save_LIBS
33106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_mmx_jpeg_set_defaults" >&5
33107 $as_echo "$ac_cv_lib_jpeg_mmx_jpeg_set_defaults" >&6; }
33108 if test "x$ac_cv_lib_jpeg_mmx_jpeg_set_defaults" = xyes; then :
33114 JPEG_LIBS="$LIBS -ljpeg-mmx"
33116 if test x$HAVE_JPEG != xyes; then
33117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_set_defaults in -ljpeg" >&5
33118 $as_echo_n "checking for jpeg_set_defaults in -ljpeg... " >&6; }
33119 if ${ac_cv_lib_jpeg_jpeg_set_defaults+:} false; then :
33120 $as_echo_n "(cached) " >&6
33122 ac_check_lib_save_LIBS=$LIBS
33123 LIBS="-ljpeg $LIBS"
33124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33125 /* end confdefs.h. */
33127 /* Override any GCC internal prototype to avoid an error.
33128 Use char because int might match the return type of a GCC
33129 builtin and then its argument prototype would still apply. */
33133 char jpeg_set_defaults ();
33137 return jpeg_set_defaults ();
33142 if ac_fn_c_try_link "$LINENO"; then :
33143 ac_cv_lib_jpeg_jpeg_set_defaults=yes
33145 ac_cv_lib_jpeg_jpeg_set_defaults=no
33147 rm -f core conftest.err conftest.$ac_objext \
33148 conftest$ac_exeext conftest.$ac_ext
33149 LIBS=$ac_check_lib_save_LIBS
33151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_set_defaults" >&5
33152 $as_echo "$ac_cv_lib_jpeg_jpeg_set_defaults" >&6; }
33153 if test "x$ac_cv_lib_jpeg_jpeg_set_defaults" = xyes; then :
33164 LIBS=$gst_check_save_LIBS
33165 LDFLAGS=$gst_check_save_LDFLAGS
33166 CFLAGS=$gst_check_save_CFLAGS
33167 CPPFLAGS=$gst_check_save_CPPFLAGS
33168 CXXFLAGS=$gst_check_save_CXXFLAGS
33170 if test x$HAVE_JPEG = xno; then
33173 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: jpeg" >&5
33174 $as_echo "$as_me: *** These plugins will be built: jpeg" >&6;}
33177 if test x$USE_JPEG = xyes; then
33179 if test "xjpeg" != "x"; then
33180 GST_PLUGINS_YES="\tjpeg\n$GST_PLUGINS_YES"
33183 $as_echo "#define HAVE_JPEG /**/" >>confdefs.h
33186 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: jpeg" >&5
33187 $as_echo "$as_me: *** These plugins will not be built: jpeg" >&6;}
33188 if test "xjpeg" != "x"; then
33189 GST_PLUGINS_NO="\tjpeg\n$GST_PLUGINS_NO"
33193 if test x$USE_JPEG = xyes; then
33204 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libcaca coloured ASCII art ***" >&5
33205 $as_echo "$as_me: *** checking feature: libcaca coloured ASCII art ***" >&6;}
33206 if test "xcacasink" != "x"
33208 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cacasink ***" >&5
33209 $as_echo "$as_me: *** for plug-ins: cacasink ***" >&6;}
33212 if test "x$USE_LIBCACA" = "xno"; then
33215 # Check whether --enable-libcaca was given.
33216 if test "${enable_libcaca+set}" = set; then :
33217 enableval=$enable_libcaca; case "${enableval}" in
33218 yes) USE_LIBCACA=yes;;
33219 no) USE_LIBCACA=no;;
33220 *) as_fn_error $? "bad value ${enableval} for --enable-libcaca" "$LINENO" 5 ;;
33226 if test "x$NOUSE" = "xyes"; then
33228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cacasink pre-configured not to be built" >&5
33229 $as_echo "$as_me: WARNING: *** cacasink pre-configured not to be built" >&2;}
33234 if test x$USE_LIBCACA = xyes; then
33236 gst_check_save_LIBS=$LIBS
33237 gst_check_save_LDFLAGS=$LDFLAGS
33238 gst_check_save_CFLAGS=$CFLAGS
33239 gst_check_save_CPPFLAGS=$CPPFLAGS
33240 gst_check_save_CXXFLAGS=$CXXFLAGS
33250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCACA" >&5
33251 $as_echo_n "checking for LIBCACA... " >&6; }
33253 if test -n "$PKG_CONFIG"; then
33254 if test -n "$LIBCACA_CFLAGS"; then
33255 pkg_cv_LIBCACA_CFLAGS="$LIBCACA_CFLAGS"
33257 if test -n "$PKG_CONFIG" && \
33258 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33259 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33261 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33262 test $ac_status = 0; }; then
33263 pkg_cv_LIBCACA_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33271 if test -n "$PKG_CONFIG"; then
33272 if test -n "$LIBCACA_LIBS"; then
33273 pkg_cv_LIBCACA_LIBS="$LIBCACA_LIBS"
33275 if test -n "$PKG_CONFIG" && \
33276 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33277 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33280 test $ac_status = 0; }; then
33281 pkg_cv_LIBCACA_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33292 if test $pkg_failed = yes; then
33294 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33295 _pkg_short_errors_supported=yes
33297 _pkg_short_errors_supported=no
33299 if test $_pkg_short_errors_supported = yes; then
33300 LIBCACA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33302 LIBCACA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33304 # Put the nasty error message in config.log where it belongs
33305 echo "$LIBCACA_PKG_ERRORS" >&5
33307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33308 $as_echo "no" >&6; }
33311 if test "x$required" = "xyes"; then
33312 as_fn_error $? "$LIBCACA_PKG_ERRORS" "$LINENO" 5
33314 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBCACA_PKG_ERRORS" >&5
33315 $as_echo "$as_me: $LIBCACA_PKG_ERRORS" >&6;}
33318 elif test $pkg_failed = untried; then
33321 if test "x$required" = "xyes"; then
33322 as_fn_error $? "$LIBCACA_PKG_ERRORS" "$LINENO" 5
33324 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBCACA_PKG_ERRORS" >&5
33325 $as_echo "$as_me: $LIBCACA_PKG_ERRORS" >&6;}
33329 LIBCACA_CFLAGS=$pkg_cv_LIBCACA_CFLAGS
33330 LIBCACA_LIBS=$pkg_cv_LIBCACA_LIBS
33331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33332 $as_echo "yes" >&6; }
33341 LIBS=$gst_check_save_LIBS
33342 LDFLAGS=$gst_check_save_LDFLAGS
33343 CFLAGS=$gst_check_save_CFLAGS
33344 CPPFLAGS=$gst_check_save_CPPFLAGS
33345 CXXFLAGS=$gst_check_save_CXXFLAGS
33347 if test x$HAVE_LIBCACA = xno; then
33350 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cacasink" >&5
33351 $as_echo "$as_me: *** These plugins will be built: cacasink" >&6;}
33354 if test x$USE_LIBCACA = xyes; then
33356 if test "xcacasink" != "x"; then
33357 GST_PLUGINS_YES="\tcacasink\n$GST_PLUGINS_YES"
33360 $as_echo "#define HAVE_LIBCACA /**/" >>confdefs.h
33363 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cacasink" >&5
33364 $as_echo "$as_me: *** These plugins will not be built: cacasink" >&6;}
33365 if test "xcacasink" != "x"; then
33366 GST_PLUGINS_NO="\tcacasink\n$GST_PLUGINS_NO"
33370 if test x$USE_LIBCACA = xyes; then
33372 USE_LIBCACA_FALSE='#'
33374 USE_LIBCACA_TRUE='#'
33381 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libdv DV demuxer/decoder ***" >&5
33382 $as_echo "$as_me: *** checking feature: libdv DV demuxer/decoder ***" >&6;}
33383 if test "xdv" != "x"
33385 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dv ***" >&5
33386 $as_echo "$as_me: *** for plug-ins: dv ***" >&6;}
33389 if test "x$USE_LIBDV" = "xno"; then
33392 # Check whether --enable-libdv was given.
33393 if test "${enable_libdv+set}" = set; then :
33394 enableval=$enable_libdv; case "${enableval}" in
33395 yes) USE_LIBDV=yes;;
33397 *) as_fn_error $? "bad value ${enableval} for --enable-libdv" "$LINENO" 5 ;;
33403 if test "x$NOUSE" = "xyes"; then
33405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dv pre-configured not to be built" >&5
33406 $as_echo "$as_me: WARNING: *** dv pre-configured not to be built" >&2;}
33411 if test x$USE_LIBDV = xyes; then
33413 gst_check_save_LIBS=$LIBS
33414 gst_check_save_LDFLAGS=$LDFLAGS
33415 gst_check_save_CFLAGS=$CFLAGS
33416 gst_check_save_CPPFLAGS=$CPPFLAGS
33417 gst_check_save_CXXFLAGS=$CXXFLAGS
33422 which="libdv >= 0.100"
33427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDV" >&5
33428 $as_echo_n "checking for LIBDV... " >&6; }
33430 if test -n "$PKG_CONFIG"; then
33431 if test -n "$LIBDV_CFLAGS"; then
33432 pkg_cv_LIBDV_CFLAGS="$LIBDV_CFLAGS"
33434 if test -n "$PKG_CONFIG" && \
33435 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33436 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33439 test $ac_status = 0; }; then
33440 pkg_cv_LIBDV_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33448 if test -n "$PKG_CONFIG"; then
33449 if test -n "$LIBDV_LIBS"; then
33450 pkg_cv_LIBDV_LIBS="$LIBDV_LIBS"
33452 if test -n "$PKG_CONFIG" && \
33453 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33454 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33457 test $ac_status = 0; }; then
33458 pkg_cv_LIBDV_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33469 if test $pkg_failed = yes; then
33471 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33472 _pkg_short_errors_supported=yes
33474 _pkg_short_errors_supported=no
33476 if test $_pkg_short_errors_supported = yes; then
33477 LIBDV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33479 LIBDV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33481 # Put the nasty error message in config.log where it belongs
33482 echo "$LIBDV_PKG_ERRORS" >&5
33484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33485 $as_echo "no" >&6; }
33488 if test "x$required" = "xyes"; then
33489 as_fn_error $? "$LIBDV_PKG_ERRORS" "$LINENO" 5
33491 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBDV_PKG_ERRORS" >&5
33492 $as_echo "$as_me: $LIBDV_PKG_ERRORS" >&6;}
33495 elif test $pkg_failed = untried; then
33498 if test "x$required" = "xyes"; then
33499 as_fn_error $? "$LIBDV_PKG_ERRORS" "$LINENO" 5
33501 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBDV_PKG_ERRORS" >&5
33502 $as_echo "$as_me: $LIBDV_PKG_ERRORS" >&6;}
33506 LIBDV_CFLAGS=$pkg_cv_LIBDV_CFLAGS
33507 LIBDV_LIBS=$pkg_cv_LIBDV_LIBS
33508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33509 $as_echo "yes" >&6; }
33518 LIBS=$gst_check_save_LIBS
33519 LDFLAGS=$gst_check_save_LDFLAGS
33520 CFLAGS=$gst_check_save_CFLAGS
33521 CPPFLAGS=$gst_check_save_CPPFLAGS
33522 CXXFLAGS=$gst_check_save_CXXFLAGS
33524 if test x$HAVE_LIBDV = xno; then
33527 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dv" >&5
33528 $as_echo "$as_me: *** These plugins will be built: dv" >&6;}
33531 if test x$USE_LIBDV = xyes; then
33533 if test "xdv" != "x"; then
33534 GST_PLUGINS_YES="\tdv\n$GST_PLUGINS_YES"
33537 $as_echo "#define HAVE_LIBDV /**/" >>confdefs.h
33540 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dv" >&5
33541 $as_echo "$as_me: *** These plugins will not be built: dv" >&6;}
33542 if test "xdv" != "x"; then
33543 GST_PLUGINS_NO="\tdv\n$GST_PLUGINS_NO"
33547 if test x$USE_LIBDV = xyes; then
33549 USE_LIBDV_FALSE='#'
33558 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Portable Network Graphics library ***" >&5
33559 $as_echo "$as_me: *** checking feature: Portable Network Graphics library ***" >&6;}
33560 if test "xpng" != "x"
33562 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: png ***" >&5
33563 $as_echo "$as_me: *** for plug-ins: png ***" >&6;}
33566 if test "x$USE_LIBPNG" = "xno"; then
33569 # Check whether --enable-libpng was given.
33570 if test "${enable_libpng+set}" = set; then :
33571 enableval=$enable_libpng; case "${enableval}" in
33572 yes) USE_LIBPNG=yes;;
33573 no) USE_LIBPNG=no;;
33574 *) as_fn_error $? "bad value ${enableval} for --enable-libpng" "$LINENO" 5 ;;
33580 if test "x$NOUSE" = "xyes"; then
33582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** png pre-configured not to be built" >&5
33583 $as_echo "$as_me: WARNING: *** png pre-configured not to be built" >&2;}
33588 if test x$USE_LIBPNG = xyes; then
33590 gst_check_save_LIBS=$LIBS
33591 gst_check_save_LDFLAGS=$LDFLAGS
33592 gst_check_save_CFLAGS=$CFLAGS
33593 gst_check_save_CPPFLAGS=$CPPFLAGS
33594 gst_check_save_CXXFLAGS=$CXXFLAGS
33599 which="libpng >= 1.2"
33604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPNG" >&5
33605 $as_echo_n "checking for LIBPNG... " >&6; }
33607 if test -n "$PKG_CONFIG"; then
33608 if test -n "$LIBPNG_CFLAGS"; then
33609 pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
33611 if test -n "$PKG_CONFIG" && \
33612 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33613 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33615 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33616 test $ac_status = 0; }; then
33617 pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33625 if test -n "$PKG_CONFIG"; then
33626 if test -n "$LIBPNG_LIBS"; then
33627 pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
33629 if test -n "$PKG_CONFIG" && \
33630 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33631 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33634 test $ac_status = 0; }; then
33635 pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33646 if test $pkg_failed = yes; then
33648 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33649 _pkg_short_errors_supported=yes
33651 _pkg_short_errors_supported=no
33653 if test $_pkg_short_errors_supported = yes; then
33654 LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33656 LIBPNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33658 # Put the nasty error message in config.log where it belongs
33659 echo "$LIBPNG_PKG_ERRORS" >&5
33661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33662 $as_echo "no" >&6; }
33665 if test "x$required" = "xyes"; then
33666 as_fn_error $? "$LIBPNG_PKG_ERRORS" "$LINENO" 5
33668 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBPNG_PKG_ERRORS" >&5
33669 $as_echo "$as_me: $LIBPNG_PKG_ERRORS" >&6;}
33672 elif test $pkg_failed = untried; then
33675 if test "x$required" = "xyes"; then
33676 as_fn_error $? "$LIBPNG_PKG_ERRORS" "$LINENO" 5
33678 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBPNG_PKG_ERRORS" >&5
33679 $as_echo "$as_me: $LIBPNG_PKG_ERRORS" >&6;}
33683 LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
33684 LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
33685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33686 $as_echo "yes" >&6; }
33695 LIBS=$gst_check_save_LIBS
33696 LDFLAGS=$gst_check_save_LDFLAGS
33697 CFLAGS=$gst_check_save_CFLAGS
33698 CPPFLAGS=$gst_check_save_CPPFLAGS
33699 CXXFLAGS=$gst_check_save_CXXFLAGS
33701 if test x$HAVE_LIBPNG = xno; then
33704 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: png" >&5
33705 $as_echo "$as_me: *** These plugins will be built: png" >&6;}
33708 if test x$USE_LIBPNG = xyes; then
33710 if test "xpng" != "x"; then
33711 GST_PLUGINS_YES="\tpng\n$GST_PLUGINS_YES"
33714 $as_echo "#define HAVE_LIBPNG /**/" >>confdefs.h
33717 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: png" >&5
33718 $as_echo "$as_me: *** These plugins will not be built: png" >&6;}
33719 if test "xpng" != "x"; then
33720 GST_PLUGINS_NO="\tpng\n$GST_PLUGINS_NO"
33724 if test x$USE_LIBPNG = xyes; then
33726 USE_LIBPNG_FALSE='#'
33728 USE_LIBPNG_TRUE='#'
33735 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: pulseaudio plug-in ***" >&5
33736 $as_echo "$as_me: *** checking feature: pulseaudio plug-in ***" >&6;}
33737 if test "xpulseaudio" != "x"
33739 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: pulseaudio ***" >&5
33740 $as_echo "$as_me: *** for plug-ins: pulseaudio ***" >&6;}
33743 if test "x$USE_PULSE" = "xno"; then
33746 # Check whether --enable-pulse was given.
33747 if test "${enable_pulse+set}" = set; then :
33748 enableval=$enable_pulse; case "${enableval}" in
33749 yes) USE_PULSE=yes;;
33751 *) as_fn_error $? "bad value ${enableval} for --enable-pulse" "$LINENO" 5 ;;
33757 if test "x$NOUSE" = "xyes"; then
33759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pulseaudio pre-configured not to be built" >&5
33760 $as_echo "$as_me: WARNING: *** pulseaudio pre-configured not to be built" >&2;}
33765 if test x$USE_PULSE = xyes; then
33767 gst_check_save_LIBS=$LIBS
33768 gst_check_save_LDFLAGS=$LDFLAGS
33769 gst_check_save_CFLAGS=$CFLAGS
33770 gst_check_save_CPPFLAGS=$CPPFLAGS
33771 gst_check_save_CXXFLAGS=$CXXFLAGS
33776 for ac_header in process.h
33778 ac_fn_c_check_header_mongrel "$LINENO" "process.h" "ac_cv_header_process_h" "$ac_includes_default"
33779 if test "x$ac_cv_header_process_h" = xyes; then :
33780 cat >>confdefs.h <<_ACEOF
33781 #define HAVE_PROCESS_H 1
33790 which="libpulse >= 0.9.16"
33795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSE" >&5
33796 $as_echo_n "checking for PULSE... " >&6; }
33798 if test -n "$PKG_CONFIG"; then
33799 if test -n "$PULSE_CFLAGS"; then
33800 pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS"
33802 if test -n "$PKG_CONFIG" && \
33803 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33804 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33807 test $ac_status = 0; }; then
33808 pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33816 if test -n "$PKG_CONFIG"; then
33817 if test -n "$PULSE_LIBS"; then
33818 pkg_cv_PULSE_LIBS="$PULSE_LIBS"
33820 if test -n "$PKG_CONFIG" && \
33821 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33822 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33825 test $ac_status = 0; }; then
33826 pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33837 if test $pkg_failed = yes; then
33839 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33840 _pkg_short_errors_supported=yes
33842 _pkg_short_errors_supported=no
33844 if test $_pkg_short_errors_supported = yes; then
33845 PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33847 PULSE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33849 # Put the nasty error message in config.log where it belongs
33850 echo "$PULSE_PKG_ERRORS" >&5
33852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33853 $as_echo "no" >&6; }
33856 if test "x$required" = "xyes"; then
33857 as_fn_error $? "$PULSE_PKG_ERRORS" "$LINENO" 5
33859 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_PKG_ERRORS" >&5
33860 $as_echo "$as_me: $PULSE_PKG_ERRORS" >&6;}
33863 elif test $pkg_failed = untried; then
33866 if test "x$required" = "xyes"; then
33867 as_fn_error $? "$PULSE_PKG_ERRORS" "$LINENO" 5
33869 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_PKG_ERRORS" >&5
33870 $as_echo "$as_me: $PULSE_PKG_ERRORS" >&6;}
33874 PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS
33875 PULSE_LIBS=$pkg_cv_PULSE_LIBS
33876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33877 $as_echo "yes" >&6; }
33885 which="libpulse >= 0.9.20"
33890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSE_0_9_20" >&5
33891 $as_echo_n "checking for PULSE_0_9_20... " >&6; }
33893 if test -n "$PKG_CONFIG"; then
33894 if test -n "$PULSE_0_9_20_CFLAGS"; then
33895 pkg_cv_PULSE_0_9_20_CFLAGS="$PULSE_0_9_20_CFLAGS"
33897 if test -n "$PKG_CONFIG" && \
33898 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33899 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33902 test $ac_status = 0; }; then
33903 pkg_cv_PULSE_0_9_20_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33911 if test -n "$PKG_CONFIG"; then
33912 if test -n "$PULSE_0_9_20_LIBS"; then
33913 pkg_cv_PULSE_0_9_20_LIBS="$PULSE_0_9_20_LIBS"
33915 if test -n "$PKG_CONFIG" && \
33916 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33917 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33920 test $ac_status = 0; }; then
33921 pkg_cv_PULSE_0_9_20_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33932 if test $pkg_failed = yes; then
33934 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33935 _pkg_short_errors_supported=yes
33937 _pkg_short_errors_supported=no
33939 if test $_pkg_short_errors_supported = yes; then
33940 PULSE_0_9_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33942 PULSE_0_9_20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33944 # Put the nasty error message in config.log where it belongs
33945 echo "$PULSE_0_9_20_PKG_ERRORS" >&5
33947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33948 $as_echo "no" >&6; }
33950 HAVE_PULSE_0_9_20="no"
33951 if test "x$required" = "xyes"; then
33952 as_fn_error $? "$PULSE_0_9_20_PKG_ERRORS" "$LINENO" 5
33954 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_0_9_20_PKG_ERRORS" >&5
33955 $as_echo "$as_me: $PULSE_0_9_20_PKG_ERRORS" >&6;}
33958 elif test $pkg_failed = untried; then
33960 HAVE_PULSE_0_9_20="no"
33961 if test "x$required" = "xyes"; then
33962 as_fn_error $? "$PULSE_0_9_20_PKG_ERRORS" "$LINENO" 5
33964 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_0_9_20_PKG_ERRORS" >&5
33965 $as_echo "$as_me: $PULSE_0_9_20_PKG_ERRORS" >&6;}
33969 PULSE_0_9_20_CFLAGS=$pkg_cv_PULSE_0_9_20_CFLAGS
33970 PULSE_0_9_20_LIBS=$pkg_cv_PULSE_0_9_20_LIBS
33971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33972 $as_echo "yes" >&6; }
33974 HAVE_PULSE_0_9_20="yes"
33979 if test x$HAVE_PULSE_0_9_20 = xyes; then
33981 $as_echo "#define HAVE_PULSE_0_9_20 1" >>confdefs.h
33985 which="libpulse >= 0.98"
33990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSE_1_0" >&5
33991 $as_echo_n "checking for PULSE_1_0... " >&6; }
33993 if test -n "$PKG_CONFIG"; then
33994 if test -n "$PULSE_1_0_CFLAGS"; then
33995 pkg_cv_PULSE_1_0_CFLAGS="$PULSE_1_0_CFLAGS"
33997 if test -n "$PKG_CONFIG" && \
33998 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33999 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34002 test $ac_status = 0; }; then
34003 pkg_cv_PULSE_1_0_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
34011 if test -n "$PKG_CONFIG"; then
34012 if test -n "$PULSE_1_0_LIBS"; then
34013 pkg_cv_PULSE_1_0_LIBS="$PULSE_1_0_LIBS"
34015 if test -n "$PKG_CONFIG" && \
34016 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34017 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34020 test $ac_status = 0; }; then
34021 pkg_cv_PULSE_1_0_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
34032 if test $pkg_failed = yes; then
34034 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34035 _pkg_short_errors_supported=yes
34037 _pkg_short_errors_supported=no
34039 if test $_pkg_short_errors_supported = yes; then
34040 PULSE_1_0_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
34042 PULSE_1_0_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
34044 # Put the nasty error message in config.log where it belongs
34045 echo "$PULSE_1_0_PKG_ERRORS" >&5
34047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34048 $as_echo "no" >&6; }
34050 HAVE_PULSE_1_0="no"
34051 if test "x$required" = "xyes"; then
34052 as_fn_error $? "$PULSE_1_0_PKG_ERRORS" "$LINENO" 5
34054 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_1_0_PKG_ERRORS" >&5
34055 $as_echo "$as_me: $PULSE_1_0_PKG_ERRORS" >&6;}
34058 elif test $pkg_failed = untried; then
34060 HAVE_PULSE_1_0="no"
34061 if test "x$required" = "xyes"; then
34062 as_fn_error $? "$PULSE_1_0_PKG_ERRORS" "$LINENO" 5
34064 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_1_0_PKG_ERRORS" >&5
34065 $as_echo "$as_me: $PULSE_1_0_PKG_ERRORS" >&6;}
34069 PULSE_1_0_CFLAGS=$pkg_cv_PULSE_1_0_CFLAGS
34070 PULSE_1_0_LIBS=$pkg_cv_PULSE_1_0_LIBS
34071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34072 $as_echo "yes" >&6; }
34074 HAVE_PULSE_1_0="yes"
34079 if test x$HAVE_PULSE_1_0 = xyes; then
34081 $as_echo "#define HAVE_PULSE_1_0 1" >>confdefs.h
34086 LIBS=$gst_check_save_LIBS
34087 LDFLAGS=$gst_check_save_LDFLAGS
34088 CFLAGS=$gst_check_save_CFLAGS
34089 CPPFLAGS=$gst_check_save_CPPFLAGS
34090 CXXFLAGS=$gst_check_save_CXXFLAGS
34092 if test x$HAVE_PULSE = xno; then
34095 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: pulseaudio" >&5
34096 $as_echo "$as_me: *** These plugins will be built: pulseaudio" >&6;}
34099 if test x$USE_PULSE = xyes; then
34101 if test "xpulseaudio" != "x"; then
34102 GST_PLUGINS_YES="\tpulseaudio\n$GST_PLUGINS_YES"
34105 $as_echo "#define HAVE_PULSE /**/" >>confdefs.h
34108 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: pulseaudio" >&5
34109 $as_echo "$as_me: *** These plugins will not be built: pulseaudio" >&6;}
34110 if test "xpulseaudio" != "x"; then
34111 GST_PLUGINS_NO="\tpulseaudio\n$GST_PLUGINS_NO"
34115 if test x$USE_PULSE = xyes; then
34117 USE_PULSE_FALSE='#'
34126 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: raw1394 and avc1394 library ***" >&5
34127 $as_echo "$as_me: *** checking feature: raw1394 and avc1394 library ***" >&6;}
34128 if test "x1394" != "x"
34130 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: 1394 ***" >&5
34131 $as_echo "$as_me: *** for plug-ins: 1394 ***" >&6;}
34134 if test "x$USE_DV1394" = "xno"; then
34137 # Check whether --enable-dv1394 was given.
34138 if test "${enable_dv1394+set}" = set; then :
34139 enableval=$enable_dv1394; case "${enableval}" in
34140 yes) USE_DV1394=yes;;
34141 no) USE_DV1394=no;;
34142 *) as_fn_error $? "bad value ${enableval} for --enable-dv1394" "$LINENO" 5 ;;
34148 if test "x$NOUSE" = "xyes"; then
34150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** 1394 pre-configured not to be built" >&5
34151 $as_echo "$as_me: WARNING: *** 1394 pre-configured not to be built" >&2;}
34156 if test x$USE_DV1394 = xyes; then
34158 gst_check_save_LIBS=$LIBS
34159 gst_check_save_LDFLAGS=$LDFLAGS
34160 gst_check_save_CFLAGS=$CFLAGS
34161 gst_check_save_CPPFLAGS=$CPPFLAGS
34162 gst_check_save_CXXFLAGS=$CXXFLAGS
34167 which="libraw1394 >= 2.0.0"
34172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAW1394" >&5
34173 $as_echo_n "checking for RAW1394... " >&6; }
34175 if test -n "$PKG_CONFIG"; then
34176 if test -n "$RAW1394_CFLAGS"; then
34177 pkg_cv_RAW1394_CFLAGS="$RAW1394_CFLAGS"
34179 if test -n "$PKG_CONFIG" && \
34180 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34181 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34184 test $ac_status = 0; }; then
34185 pkg_cv_RAW1394_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
34193 if test -n "$PKG_CONFIG"; then
34194 if test -n "$RAW1394_LIBS"; then
34195 pkg_cv_RAW1394_LIBS="$RAW1394_LIBS"
34197 if test -n "$PKG_CONFIG" && \
34198 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34199 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34202 test $ac_status = 0; }; then
34203 pkg_cv_RAW1394_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
34214 if test $pkg_failed = yes; then
34216 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34217 _pkg_short_errors_supported=yes
34219 _pkg_short_errors_supported=no
34221 if test $_pkg_short_errors_supported = yes; then
34222 RAW1394_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
34224 RAW1394_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
34226 # Put the nasty error message in config.log where it belongs
34227 echo "$RAW1394_PKG_ERRORS" >&5
34229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34230 $as_echo "no" >&6; }
34233 if test "x$required" = "xyes"; then
34234 as_fn_error $? "$RAW1394_PKG_ERRORS" "$LINENO" 5
34236 { $as_echo "$as_me:${as_lineno-$LINENO}: $RAW1394_PKG_ERRORS" >&5
34237 $as_echo "$as_me: $RAW1394_PKG_ERRORS" >&6;}
34240 elif test $pkg_failed = untried; then
34243 if test "x$required" = "xyes"; then
34244 as_fn_error $? "$RAW1394_PKG_ERRORS" "$LINENO" 5
34246 { $as_echo "$as_me:${as_lineno-$LINENO}: $RAW1394_PKG_ERRORS" >&5
34247 $as_echo "$as_me: $RAW1394_PKG_ERRORS" >&6;}
34251 RAW1394_CFLAGS=$pkg_cv_RAW1394_CFLAGS
34252 RAW1394_LIBS=$pkg_cv_RAW1394_LIBS
34253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34254 $as_echo "yes" >&6; }
34262 which="libiec61883 >= 1.0.0"
34267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBIEC61883" >&5
34268 $as_echo_n "checking for LIBIEC61883... " >&6; }
34270 if test -n "$PKG_CONFIG"; then
34271 if test -n "$LIBIEC61883_CFLAGS"; then
34272 pkg_cv_LIBIEC61883_CFLAGS="$LIBIEC61883_CFLAGS"
34274 if test -n "$PKG_CONFIG" && \
34275 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34276 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34279 test $ac_status = 0; }; then
34280 pkg_cv_LIBIEC61883_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
34288 if test -n "$PKG_CONFIG"; then
34289 if test -n "$LIBIEC61883_LIBS"; then
34290 pkg_cv_LIBIEC61883_LIBS="$LIBIEC61883_LIBS"
34292 if test -n "$PKG_CONFIG" && \
34293 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34294 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34297 test $ac_status = 0; }; then
34298 pkg_cv_LIBIEC61883_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
34309 if test $pkg_failed = yes; then
34311 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34312 _pkg_short_errors_supported=yes
34314 _pkg_short_errors_supported=no
34316 if test $_pkg_short_errors_supported = yes; then
34317 LIBIEC61883_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
34319 LIBIEC61883_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
34321 # Put the nasty error message in config.log where it belongs
34322 echo "$LIBIEC61883_PKG_ERRORS" >&5
34324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34325 $as_echo "no" >&6; }
34327 HAVE_LIBIEC61883="no"
34328 if test "x$required" = "xyes"; then
34329 as_fn_error $? "$LIBIEC61883_PKG_ERRORS" "$LINENO" 5
34331 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBIEC61883_PKG_ERRORS" >&5
34332 $as_echo "$as_me: $LIBIEC61883_PKG_ERRORS" >&6;}
34335 elif test $pkg_failed = untried; then
34337 HAVE_LIBIEC61883="no"
34338 if test "x$required" = "xyes"; then
34339 as_fn_error $? "$LIBIEC61883_PKG_ERRORS" "$LINENO" 5
34341 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBIEC61883_PKG_ERRORS" >&5
34342 $as_echo "$as_me: $LIBIEC61883_PKG_ERRORS" >&6;}
34346 LIBIEC61883_CFLAGS=$pkg_cv_LIBIEC61883_CFLAGS
34347 LIBIEC61883_LIBS=$pkg_cv_LIBIEC61883_LIBS
34348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34349 $as_echo "yes" >&6; }
34351 HAVE_LIBIEC61883="yes"
34356 if test x$HAVE_RAW1394 = xyes && \
34357 test x$HAVE_LIBIEC61883 = xyes; then
34359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avc1394_send_command in -lavc1394" >&5
34360 $as_echo_n "checking for avc1394_send_command in -lavc1394... " >&6; }
34361 if ${ac_cv_lib_avc1394_avc1394_send_command+:} false; then :
34362 $as_echo_n "(cached) " >&6
34364 ac_check_lib_save_LIBS=$LIBS
34365 LIBS="-lavc1394 $RAW1394_LIBS $LIBS"
34366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34367 /* end confdefs.h. */
34369 /* Override any GCC internal prototype to avoid an error.
34370 Use char because int might match the return type of a GCC
34371 builtin and then its argument prototype would still apply. */
34375 char avc1394_send_command ();
34379 return avc1394_send_command ();
34384 if ac_fn_c_try_link "$LINENO"; then :
34385 ac_cv_lib_avc1394_avc1394_send_command=yes
34387 ac_cv_lib_avc1394_avc1394_send_command=no
34389 rm -f core conftest.err conftest.$ac_objext \
34390 conftest$ac_exeext conftest.$ac_ext
34391 LIBS=$ac_check_lib_save_LIBS
34393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avc1394_avc1394_send_command" >&5
34394 $as_echo "$ac_cv_lib_avc1394_avc1394_send_command" >&6; }
34395 if test "x$ac_cv_lib_avc1394_avc1394_send_command" = xyes; then :
34401 if test "x$HAVE_AVC1394" = "xyes"; then
34402 ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/avc1394.h" "ac_cv_header_libavc1394_avc1394_h" "$ac_includes_default"
34403 if test "x$ac_cv_header_libavc1394_avc1394_h" = xyes; then :
34410 if test "x$HAVE_AVC1394" = "xyes"; then
34411 AVC1394_LIBS="-lavc1394"
34422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rom1394_free_directory in -lrom1394" >&5
34423 $as_echo_n "checking for rom1394_free_directory in -lrom1394... " >&6; }
34424 if ${ac_cv_lib_rom1394_rom1394_free_directory+:} false; then :
34425 $as_echo_n "(cached) " >&6
34427 ac_check_lib_save_LIBS=$LIBS
34428 LIBS="-lrom1394 $RAW1394_LIBS $LIBS"
34429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34430 /* end confdefs.h. */
34432 /* Override any GCC internal prototype to avoid an error.
34433 Use char because int might match the return type of a GCC
34434 builtin and then its argument prototype would still apply. */
34438 char rom1394_free_directory ();
34442 return rom1394_free_directory ();
34447 if ac_fn_c_try_link "$LINENO"; then :
34448 ac_cv_lib_rom1394_rom1394_free_directory=yes
34450 ac_cv_lib_rom1394_rom1394_free_directory=no
34452 rm -f core conftest.err conftest.$ac_objext \
34453 conftest$ac_exeext conftest.$ac_ext
34454 LIBS=$ac_check_lib_save_LIBS
34456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rom1394_rom1394_free_directory" >&5
34457 $as_echo "$ac_cv_lib_rom1394_rom1394_free_directory" >&6; }
34458 if test "x$ac_cv_lib_rom1394_rom1394_free_directory" = xyes; then :
34464 if test "x$HAVE_ROM1394" = "xyes"; then
34465 ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/rom1394.h" "ac_cv_header_libavc1394_rom1394_h" "$ac_includes_default"
34466 if test "x$ac_cv_header_libavc1394_rom1394_h" = xyes; then :
34473 if test "x$HAVE_ROM1394" = "xyes"; then
34474 ROM1394_LIBS="-lrom1394"
34484 if test x$HAVE_AVC1394 = xyes && \
34485 test x$HAVE_AVC1394 = xyes && \
34486 test x$HAVE_ROM1394 = xyes; then
34488 DV1394_LIBS="$RAW1394_LIBS $AVC1394_LIBS $ROM1394_LIBS $LIBIEC61883_LIBS"
34489 DV1394_CFLAGS="$RAW1394_CFLAGS $LIBIEC61883_CFLAGS -DHAVE_LIBIEC61883"
34494 if test x$HAVE_RAW1394 = xno; then
34496 which="libraw1394 >= 1.1.0"
34501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAW1394" >&5
34502 $as_echo_n "checking for RAW1394... " >&6; }
34504 if test -n "$PKG_CONFIG"; then
34505 if test -n "$RAW1394_CFLAGS"; then
34506 pkg_cv_RAW1394_CFLAGS="$RAW1394_CFLAGS"
34508 if test -n "$PKG_CONFIG" && \
34509 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34510 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34513 test $ac_status = 0; }; then
34514 pkg_cv_RAW1394_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
34522 if test -n "$PKG_CONFIG"; then
34523 if test -n "$RAW1394_LIBS"; then
34524 pkg_cv_RAW1394_LIBS="$RAW1394_LIBS"
34526 if test -n "$PKG_CONFIG" && \
34527 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34528 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34531 test $ac_status = 0; }; then
34532 pkg_cv_RAW1394_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
34543 if test $pkg_failed = yes; then
34545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34546 _pkg_short_errors_supported=yes
34548 _pkg_short_errors_supported=no
34550 if test $_pkg_short_errors_supported = yes; then
34551 RAW1394_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
34553 RAW1394_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
34555 # Put the nasty error message in config.log where it belongs
34556 echo "$RAW1394_PKG_ERRORS" >&5
34558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34559 $as_echo "no" >&6; }
34562 if test "x$required" = "xyes"; then
34563 as_fn_error $? "$RAW1394_PKG_ERRORS" "$LINENO" 5
34565 { $as_echo "$as_me:${as_lineno-$LINENO}: $RAW1394_PKG_ERRORS" >&5
34566 $as_echo "$as_me: $RAW1394_PKG_ERRORS" >&6;}
34569 elif test $pkg_failed = untried; then
34572 if test "x$required" = "xyes"; then
34573 as_fn_error $? "$RAW1394_PKG_ERRORS" "$LINENO" 5
34575 { $as_echo "$as_me:${as_lineno-$LINENO}: $RAW1394_PKG_ERRORS" >&5
34576 $as_echo "$as_me: $RAW1394_PKG_ERRORS" >&6;}
34580 RAW1394_CFLAGS=$pkg_cv_RAW1394_CFLAGS
34581 RAW1394_LIBS=$pkg_cv_RAW1394_LIBS
34582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34583 $as_echo "yes" >&6; }
34591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avc1394_send_command in -lavc1394" >&5
34592 $as_echo_n "checking for avc1394_send_command in -lavc1394... " >&6; }
34593 if ${ac_cv_lib_avc1394_avc1394_send_command+:} false; then :
34594 $as_echo_n "(cached) " >&6
34596 ac_check_lib_save_LIBS=$LIBS
34597 LIBS="-lavc1394 $RAW1394_LIBS $LIBS"
34598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34599 /* end confdefs.h. */
34601 /* Override any GCC internal prototype to avoid an error.
34602 Use char because int might match the return type of a GCC
34603 builtin and then its argument prototype would still apply. */
34607 char avc1394_send_command ();
34611 return avc1394_send_command ();
34616 if ac_fn_c_try_link "$LINENO"; then :
34617 ac_cv_lib_avc1394_avc1394_send_command=yes
34619 ac_cv_lib_avc1394_avc1394_send_command=no
34621 rm -f core conftest.err conftest.$ac_objext \
34622 conftest$ac_exeext conftest.$ac_ext
34623 LIBS=$ac_check_lib_save_LIBS
34625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avc1394_avc1394_send_command" >&5
34626 $as_echo "$ac_cv_lib_avc1394_avc1394_send_command" >&6; }
34627 if test "x$ac_cv_lib_avc1394_avc1394_send_command" = xyes; then :
34633 if test "x$HAVE_AVC1394" = "xyes"; then
34634 ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/avc1394.h" "ac_cv_header_libavc1394_avc1394_h" "$ac_includes_default"
34635 if test "x$ac_cv_header_libavc1394_avc1394_h" = xyes; then :
34642 if test "x$HAVE_AVC1394" = "xyes"; then
34643 AVC1394_LIBS="-lavc1394"
34654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rom1394_free_directory in -lrom1394" >&5
34655 $as_echo_n "checking for rom1394_free_directory in -lrom1394... " >&6; }
34656 if ${ac_cv_lib_rom1394_rom1394_free_directory+:} false; then :
34657 $as_echo_n "(cached) " >&6
34659 ac_check_lib_save_LIBS=$LIBS
34660 LIBS="-lrom1394 $RAW1394_LIBS $LIBS"
34661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34662 /* end confdefs.h. */
34664 /* Override any GCC internal prototype to avoid an error.
34665 Use char because int might match the return type of a GCC
34666 builtin and then its argument prototype would still apply. */
34670 char rom1394_free_directory ();
34674 return rom1394_free_directory ();
34679 if ac_fn_c_try_link "$LINENO"; then :
34680 ac_cv_lib_rom1394_rom1394_free_directory=yes
34682 ac_cv_lib_rom1394_rom1394_free_directory=no
34684 rm -f core conftest.err conftest.$ac_objext \
34685 conftest$ac_exeext conftest.$ac_ext
34686 LIBS=$ac_check_lib_save_LIBS
34688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rom1394_rom1394_free_directory" >&5
34689 $as_echo "$ac_cv_lib_rom1394_rom1394_free_directory" >&6; }
34690 if test "x$ac_cv_lib_rom1394_rom1394_free_directory" = xyes; then :
34696 if test "x$HAVE_ROM1394" = "xyes"; then
34697 ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/rom1394.h" "ac_cv_header_libavc1394_rom1394_h" "$ac_includes_default"
34698 if test "x$ac_cv_header_libavc1394_rom1394_h" = xyes; then :
34705 if test "x$HAVE_ROM1394" = "xyes"; then
34706 ROM1394_LIBS="-lrom1394"
34716 if test x$HAVE_RAW1394 = xyes && \
34717 test x$HAVE_AVC1394 = xyes && \
34718 test x$HAVE_ROM1394 = xyes; then
34720 DV1394_LIBS="$RAW1394_LIBS $AVC1394_LIBS $ROM1394_LIBS"
34721 DV1394_CFLAGS="$RAW1394_CFLAGS"
34722 if test x$HAVE_LIBIEC61883 = xyes; then
34723 DV1394_CFLAGS="$RAW1394_CFLAGS $LIBIEC61883_CFLAGS -DHAVE_LIBIEC61883"
34724 DV1394_LIBS="$DV1394_LIBS $LIBIEC61883_LIBS"
34733 LIBS=$gst_check_save_LIBS
34734 LDFLAGS=$gst_check_save_LDFLAGS
34735 CFLAGS=$gst_check_save_CFLAGS
34736 CPPFLAGS=$gst_check_save_CPPFLAGS
34737 CXXFLAGS=$gst_check_save_CXXFLAGS
34739 if test x$HAVE_DV1394 = xno; then
34742 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: 1394" >&5
34743 $as_echo "$as_me: *** These plugins will be built: 1394" >&6;}
34746 if test x$USE_DV1394 = xyes; then
34748 if test "x1394" != "x"; then
34749 GST_PLUGINS_YES="\t1394\n$GST_PLUGINS_YES"
34752 $as_echo "#define HAVE_DV1394 /**/" >>confdefs.h
34755 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: 1394" >&5
34756 $as_echo "$as_me: *** These plugins will not be built: 1394" >&6;}
34757 if test "x1394" != "x"; then
34758 GST_PLUGINS_NO="\t1394\n$GST_PLUGINS_NO"
34762 if test x$USE_DV1394 = xyes; then
34764 USE_DV1394_FALSE='#'
34766 USE_DV1394_TRUE='#'
34771 if test "x${HAVE_LIBIEC61883}" = xyes ; then
34772 USE_LIBIEC61883_TRUE=
34773 USE_LIBIEC61883_FALSE='#'
34775 USE_LIBIEC61883_TRUE='#'
34776 USE_LIBIEC61883_FALSE=
34781 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Shoutcast/Icecast client library ***" >&5
34782 $as_echo "$as_me: *** checking feature: Shoutcast/Icecast client library ***" >&6;}
34783 if test "xshout2" != "x"
34785 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: shout2 ***" >&5
34786 $as_echo "$as_me: *** for plug-ins: shout2 ***" >&6;}
34789 if test "x$USE_SHOUT2" = "xno"; then
34792 # Check whether --enable-shout2 was given.
34793 if test "${enable_shout2+set}" = set; then :
34794 enableval=$enable_shout2; case "${enableval}" in
34795 yes) USE_SHOUT2=yes;;
34796 no) USE_SHOUT2=no;;
34797 *) as_fn_error $? "bad value ${enableval} for --enable-shout2" "$LINENO" 5 ;;
34803 if test "x$NOUSE" = "xyes"; then
34805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** shout2 pre-configured not to be built" >&5
34806 $as_echo "$as_me: WARNING: *** shout2 pre-configured not to be built" >&2;}
34811 if test x$USE_SHOUT2 = xyes; then
34813 gst_check_save_LIBS=$LIBS
34814 gst_check_save_LDFLAGS=$LDFLAGS
34815 gst_check_save_CFLAGS=$CFLAGS
34816 gst_check_save_CPPFLAGS=$CPPFLAGS
34817 gst_check_save_CXXFLAGS=$CXXFLAGS
34822 which="shout >= 2.0"
34827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHOUT2" >&5
34828 $as_echo_n "checking for SHOUT2... " >&6; }
34830 if test -n "$PKG_CONFIG"; then
34831 if test -n "$SHOUT2_CFLAGS"; then
34832 pkg_cv_SHOUT2_CFLAGS="$SHOUT2_CFLAGS"
34834 if test -n "$PKG_CONFIG" && \
34835 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34836 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34839 test $ac_status = 0; }; then
34840 pkg_cv_SHOUT2_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
34848 if test -n "$PKG_CONFIG"; then
34849 if test -n "$SHOUT2_LIBS"; then
34850 pkg_cv_SHOUT2_LIBS="$SHOUT2_LIBS"
34852 if test -n "$PKG_CONFIG" && \
34853 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34854 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34857 test $ac_status = 0; }; then
34858 pkg_cv_SHOUT2_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
34869 if test $pkg_failed = yes; then
34871 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34872 _pkg_short_errors_supported=yes
34874 _pkg_short_errors_supported=no
34876 if test $_pkg_short_errors_supported = yes; then
34877 SHOUT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
34879 SHOUT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
34881 # Put the nasty error message in config.log where it belongs
34882 echo "$SHOUT2_PKG_ERRORS" >&5
34884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34885 $as_echo "no" >&6; }
34888 if test "x$required" = "xyes"; then
34889 as_fn_error $? "$SHOUT2_PKG_ERRORS" "$LINENO" 5
34891 { $as_echo "$as_me:${as_lineno-$LINENO}: $SHOUT2_PKG_ERRORS" >&5
34892 $as_echo "$as_me: $SHOUT2_PKG_ERRORS" >&6;}
34895 elif test $pkg_failed = untried; then
34898 if test "x$required" = "xyes"; then
34899 as_fn_error $? "$SHOUT2_PKG_ERRORS" "$LINENO" 5
34901 { $as_echo "$as_me:${as_lineno-$LINENO}: $SHOUT2_PKG_ERRORS" >&5
34902 $as_echo "$as_me: $SHOUT2_PKG_ERRORS" >&6;}
34906 SHOUT2_CFLAGS=$pkg_cv_SHOUT2_CFLAGS
34907 SHOUT2_LIBS=$pkg_cv_SHOUT2_LIBS
34908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34909 $as_echo "yes" >&6; }
34918 LIBS=$gst_check_save_LIBS
34919 LDFLAGS=$gst_check_save_LDFLAGS
34920 CFLAGS=$gst_check_save_CFLAGS
34921 CPPFLAGS=$gst_check_save_CPPFLAGS
34922 CXXFLAGS=$gst_check_save_CXXFLAGS
34924 if test x$HAVE_SHOUT2 = xno; then
34927 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: shout2" >&5
34928 $as_echo "$as_me: *** These plugins will be built: shout2" >&6;}
34931 if test x$USE_SHOUT2 = xyes; then
34933 if test "xshout2" != "x"; then
34934 GST_PLUGINS_YES="\tshout2\n$GST_PLUGINS_YES"
34937 $as_echo "#define HAVE_SHOUT2 /**/" >>confdefs.h
34940 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: shout2" >&5
34941 $as_echo "$as_me: *** These plugins will not be built: shout2" >&6;}
34942 if test "xshout2" != "x"; then
34943 GST_PLUGINS_NO="\tshout2\n$GST_PLUGINS_NO"
34947 if test x$USE_SHOUT2 = xyes; then
34949 USE_SHOUT2_FALSE='#'
34951 USE_SHOUT2_TRUE='#'
34958 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: soup http client plugin (2.4) ***" >&5
34959 $as_echo "$as_me: *** checking feature: soup http client plugin (2.4) ***" >&6;}
34960 if test "xsouphttpsrc" != "x"
34962 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: souphttpsrc ***" >&5
34963 $as_echo "$as_me: *** for plug-ins: souphttpsrc ***" >&6;}
34966 if test "x$USE_SOUP" = "xno"; then
34969 # Check whether --enable-soup was given.
34970 if test "${enable_soup+set}" = set; then :
34971 enableval=$enable_soup; case "${enableval}" in
34972 yes) USE_SOUP=yes;;
34974 *) as_fn_error $? "bad value ${enableval} for --enable-soup" "$LINENO" 5 ;;
34980 if test "x$NOUSE" = "xyes"; then
34982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** souphttpsrc pre-configured not to be built" >&5
34983 $as_echo "$as_me: WARNING: *** souphttpsrc pre-configured not to be built" >&2;}
34988 if test x$USE_SOUP = xyes; then
34990 gst_check_save_LIBS=$LIBS
34991 gst_check_save_LDFLAGS=$LDFLAGS
34992 gst_check_save_CFLAGS=$CFLAGS
34993 gst_check_save_CPPFLAGS=$CPPFLAGS
34994 gst_check_save_CXXFLAGS=$CXXFLAGS
35000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
35001 $as_echo_n "checking for SOUP... " >&6; }
35003 if test -n "$PKG_CONFIG"; then
35004 if test -n "$SOUP_CFLAGS"; then
35005 pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
35007 if test -n "$PKG_CONFIG" && \
35008 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4 >= 2.3.2\""; } >&5
35009 ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4 >= 2.3.2") 2>&5
35011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35012 test $ac_status = 0; }; then
35013 pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-gnome-2.4 >= 2.3.2" 2>/dev/null`
35021 if test -n "$PKG_CONFIG"; then
35022 if test -n "$SOUP_LIBS"; then
35023 pkg_cv_SOUP_LIBS="$SOUP_LIBS"
35025 if test -n "$PKG_CONFIG" && \
35026 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4 >= 2.3.2\""; } >&5
35027 ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4 >= 2.3.2") 2>&5
35029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35030 test $ac_status = 0; }; then
35031 pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-gnome-2.4 >= 2.3.2" 2>/dev/null`
35042 if test $pkg_failed = yes; then
35044 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35045 _pkg_short_errors_supported=yes
35047 _pkg_short_errors_supported=no
35049 if test $_pkg_short_errors_supported = yes; then
35050 SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-gnome-2.4 >= 2.3.2"`
35052 SOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-gnome-2.4 >= 2.3.2"`
35054 # Put the nasty error message in config.log where it belongs
35055 echo "$SOUP_PKG_ERRORS" >&5
35057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35058 $as_echo "no" >&6; }
35062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
35063 $as_echo_n "checking for SOUP... " >&6; }
35065 if test -n "$PKG_CONFIG"; then
35066 if test -n "$SOUP_CFLAGS"; then
35067 pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
35069 if test -n "$PKG_CONFIG" && \
35070 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
35071 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
35073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35074 test $ac_status = 0; }; then
35075 pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.26" 2>/dev/null`
35083 if test -n "$PKG_CONFIG"; then
35084 if test -n "$SOUP_LIBS"; then
35085 pkg_cv_SOUP_LIBS="$SOUP_LIBS"
35087 if test -n "$PKG_CONFIG" && \
35088 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
35089 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
35091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35092 test $ac_status = 0; }; then
35093 pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.26" 2>/dev/null`
35104 if test $pkg_failed = yes; then
35106 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35107 _pkg_short_errors_supported=yes
35109 _pkg_short_errors_supported=no
35111 if test $_pkg_short_errors_supported = yes; then
35112 SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4 >= 2.26"`
35114 SOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4 >= 2.26"`
35116 # Put the nasty error message in config.log where it belongs
35117 echo "$SOUP_PKG_ERRORS" >&5
35119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35120 $as_echo "no" >&6; }
35124 elif test $pkg_failed = untried; then
35129 SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
35130 SOUP_LIBS=$pkg_cv_SOUP_LIBS
35131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35132 $as_echo "yes" >&6; }
35136 elif test $pkg_failed = untried; then
35140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
35141 $as_echo_n "checking for SOUP... " >&6; }
35143 if test -n "$PKG_CONFIG"; then
35144 if test -n "$SOUP_CFLAGS"; then
35145 pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
35147 if test -n "$PKG_CONFIG" && \
35148 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
35149 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
35151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35152 test $ac_status = 0; }; then
35153 pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.26" 2>/dev/null`
35161 if test -n "$PKG_CONFIG"; then
35162 if test -n "$SOUP_LIBS"; then
35163 pkg_cv_SOUP_LIBS="$SOUP_LIBS"
35165 if test -n "$PKG_CONFIG" && \
35166 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
35167 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
35169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35170 test $ac_status = 0; }; then
35171 pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.26" 2>/dev/null`
35182 if test $pkg_failed = yes; then
35184 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35185 _pkg_short_errors_supported=yes
35187 _pkg_short_errors_supported=no
35189 if test $_pkg_short_errors_supported = yes; then
35190 SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4 >= 2.26"`
35192 SOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4 >= 2.26"`
35194 # Put the nasty error message in config.log where it belongs
35195 echo "$SOUP_PKG_ERRORS" >&5
35197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35198 $as_echo "no" >&6; }
35202 elif test $pkg_failed = untried; then
35207 SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
35208 SOUP_LIBS=$pkg_cv_SOUP_LIBS
35209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35210 $as_echo "yes" >&6; }
35215 SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
35216 SOUP_LIBS=$pkg_cv_SOUP_LIBS
35217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35218 $as_echo "yes" >&6; }
35222 $as_echo "#define HAVE_LIBSOUP_GNOME 1" >>confdefs.h
35230 LIBS=$gst_check_save_LIBS
35231 LDFLAGS=$gst_check_save_LDFLAGS
35232 CFLAGS=$gst_check_save_CFLAGS
35233 CPPFLAGS=$gst_check_save_CPPFLAGS
35234 CXXFLAGS=$gst_check_save_CXXFLAGS
35236 if test x$HAVE_SOUP = xno; then
35239 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: souphttpsrc" >&5
35240 $as_echo "$as_me: *** These plugins will be built: souphttpsrc" >&6;}
35243 if test x$USE_SOUP = xyes; then
35245 if test "xsouphttpsrc" != "x"; then
35246 GST_PLUGINS_YES="\tsouphttpsrc\n$GST_PLUGINS_YES"
35249 $as_echo "#define HAVE_SOUP /**/" >>confdefs.h
35252 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: souphttpsrc" >&5
35253 $as_echo "$as_me: *** These plugins will not be built: souphttpsrc" >&6;}
35254 if test "xsouphttpsrc" != "x"; then
35255 GST_PLUGINS_NO="\tsouphttpsrc\n$GST_PLUGINS_NO"
35259 if test x$USE_SOUP = xyes; then
35270 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: speex speech codec ***" >&5
35271 $as_echo "$as_me: *** checking feature: speex speech codec ***" >&6;}
35272 if test "xspeex" != "x"
35274 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: speex ***" >&5
35275 $as_echo "$as_me: *** for plug-ins: speex ***" >&6;}
35278 if test "x$USE_SPEEX" = "xno"; then
35281 # Check whether --enable-speex was given.
35282 if test "${enable_speex+set}" = set; then :
35283 enableval=$enable_speex; case "${enableval}" in
35284 yes) USE_SPEEX=yes;;
35286 *) as_fn_error $? "bad value ${enableval} for --enable-speex" "$LINENO" 5 ;;
35292 if test "x$NOUSE" = "xyes"; then
35294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** speex pre-configured not to be built" >&5
35295 $as_echo "$as_me: WARNING: *** speex pre-configured not to be built" >&2;}
35300 if test x$USE_SPEEX = xyes; then
35302 gst_check_save_LIBS=$LIBS
35303 gst_check_save_LDFLAGS=$LDFLAGS
35304 gst_check_save_CFLAGS=$CFLAGS
35305 gst_check_save_CPPFLAGS=$CPPFLAGS
35306 gst_check_save_CXXFLAGS=$CXXFLAGS
35311 which="speex >= 1.1.6"
35316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPEEX" >&5
35317 $as_echo_n "checking for SPEEX... " >&6; }
35319 if test -n "$PKG_CONFIG"; then
35320 if test -n "$SPEEX_CFLAGS"; then
35321 pkg_cv_SPEEX_CFLAGS="$SPEEX_CFLAGS"
35323 if test -n "$PKG_CONFIG" && \
35324 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
35325 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
35327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35328 test $ac_status = 0; }; then
35329 pkg_cv_SPEEX_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
35337 if test -n "$PKG_CONFIG"; then
35338 if test -n "$SPEEX_LIBS"; then
35339 pkg_cv_SPEEX_LIBS="$SPEEX_LIBS"
35341 if test -n "$PKG_CONFIG" && \
35342 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
35343 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
35345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35346 test $ac_status = 0; }; then
35347 pkg_cv_SPEEX_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
35358 if test $pkg_failed = yes; then
35360 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35361 _pkg_short_errors_supported=yes
35363 _pkg_short_errors_supported=no
35365 if test $_pkg_short_errors_supported = yes; then
35366 SPEEX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
35368 SPEEX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
35370 # Put the nasty error message in config.log where it belongs
35371 echo "$SPEEX_PKG_ERRORS" >&5
35373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35374 $as_echo "no" >&6; }
35377 if test "x$required" = "xyes"; then
35378 as_fn_error $? "$SPEEX_PKG_ERRORS" "$LINENO" 5
35380 { $as_echo "$as_me:${as_lineno-$LINENO}: $SPEEX_PKG_ERRORS" >&5
35381 $as_echo "$as_me: $SPEEX_PKG_ERRORS" >&6;}
35384 elif test $pkg_failed = untried; then
35387 if test "x$required" = "xyes"; then
35388 as_fn_error $? "$SPEEX_PKG_ERRORS" "$LINENO" 5
35390 { $as_echo "$as_me:${as_lineno-$LINENO}: $SPEEX_PKG_ERRORS" >&5
35391 $as_echo "$as_me: $SPEEX_PKG_ERRORS" >&6;}
35395 SPEEX_CFLAGS=$pkg_cv_SPEEX_CFLAGS
35396 SPEEX_LIBS=$pkg_cv_SPEEX_LIBS
35397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35398 $as_echo "yes" >&6; }
35405 if test $HAVE_SPEEX = no
35408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speex_bits_init in -lspeex" >&5
35409 $as_echo_n "checking for speex_bits_init in -lspeex... " >&6; }
35410 if ${ac_cv_lib_speex_speex_bits_init+:} false; then :
35411 $as_echo_n "(cached) " >&6
35413 ac_check_lib_save_LIBS=$LIBS
35414 LIBS="-lspeex $LIBS"
35415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35416 /* end confdefs.h. */
35418 /* Override any GCC internal prototype to avoid an error.
35419 Use char because int might match the return type of a GCC
35420 builtin and then its argument prototype would still apply. */
35424 char speex_bits_init ();
35428 return speex_bits_init ();
35433 if ac_fn_c_try_link "$LINENO"; then :
35434 ac_cv_lib_speex_speex_bits_init=yes
35436 ac_cv_lib_speex_speex_bits_init=no
35438 rm -f core conftest.err conftest.$ac_objext \
35439 conftest$ac_exeext conftest.$ac_ext
35440 LIBS=$ac_check_lib_save_LIBS
35442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_speex_speex_bits_init" >&5
35443 $as_echo "$ac_cv_lib_speex_speex_bits_init" >&6; }
35444 if test "x$ac_cv_lib_speex_speex_bits_init" = xyes; then :
35450 if test "x$HAVE_SPEEX" = "xyes"; then
35451 ac_fn_c_check_header_mongrel "$LINENO" "speex/speex.h" "ac_cv_header_speex_speex_h" "$ac_includes_default"
35452 if test "x$ac_cv_header_speex_speex_h" = xyes; then :
35459 if test "x$HAVE_SPEEX" = "xyes"; then
35461 ac_fn_c_check_header_mongrel "$LINENO" "speex/speex_jitter.h" "ac_cv_header_speex_speex_jitter_h" "$ac_includes_default"
35462 if test "x$ac_cv_header_speex_speex_jitter_h" = xyes; then :
35465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speex_encode_int in -lspeex" >&5
35466 $as_echo_n "checking for speex_encode_int in -lspeex... " >&6; }
35467 if ${ac_cv_lib_speex_speex_encode_int+:} false; then :
35468 $as_echo_n "(cached) " >&6
35470 ac_check_lib_save_LIBS=$LIBS
35471 LIBS="-lspeex $LIBS"
35472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35473 /* end confdefs.h. */
35475 /* Override any GCC internal prototype to avoid an error.
35476 Use char because int might match the return type of a GCC
35477 builtin and then its argument prototype would still apply. */
35481 char speex_encode_int ();
35485 return speex_encode_int ();
35490 if ac_fn_c_try_link "$LINENO"; then :
35491 ac_cv_lib_speex_speex_encode_int=yes
35493 ac_cv_lib_speex_speex_encode_int=no
35495 rm -f core conftest.err conftest.$ac_objext \
35496 conftest$ac_exeext conftest.$ac_ext
35497 LIBS=$ac_check_lib_save_LIBS
35499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_speex_speex_encode_int" >&5
35500 $as_echo "$ac_cv_lib_speex_speex_encode_int" >&6; }
35501 if test "x$ac_cv_lib_speex_speex_encode_int" = xyes; then :
35507 if test "x$HAVE_SPEEX" = "xyes"; then
35508 ac_fn_c_check_header_mongrel "$LINENO" "speex/speex.h" "ac_cv_header_speex_speex_h" "$ac_includes_default"
35509 if test "x$ac_cv_header_speex_speex_h" = xyes; then :
35516 if test "x$HAVE_SPEEX" = "xyes"; then
35519 SPEEX_LIBS="-lspeex"
35539 ac_fn_c_check_decl "$LINENO" "SPEEX_GET_LOOKAHEAD" "ac_cv_have_decl_SPEEX_GET_LOOKAHEAD" "
35540 #include <speex/speex.h>
35543 if test "x$ac_cv_have_decl_SPEEX_GET_LOOKAHEAD" = xyes; then :
35546 SPEEX_LIBS="-lspeex"
35551 cat >>confdefs.h <<_ACEOF
35552 #define SPEEX_1_0 1
35559 { $as_echo "$as_me:${as_lineno-$LINENO}: You need at least 1.0.4 to compile the speex plugin" >&5
35560 $as_echo "$as_me: You need at least 1.0.4 to compile the speex plugin" >&6;}
35581 LIBS=$gst_check_save_LIBS
35582 LDFLAGS=$gst_check_save_LDFLAGS
35583 CFLAGS=$gst_check_save_CFLAGS
35584 CPPFLAGS=$gst_check_save_CPPFLAGS
35585 CXXFLAGS=$gst_check_save_CXXFLAGS
35587 if test x$HAVE_SPEEX = xno; then
35590 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: speex" >&5
35591 $as_echo "$as_me: *** These plugins will be built: speex" >&6;}
35594 if test x$USE_SPEEX = xyes; then
35596 if test "xspeex" != "x"; then
35597 GST_PLUGINS_YES="\tspeex\n$GST_PLUGINS_YES"
35600 $as_echo "#define HAVE_SPEEX /**/" >>confdefs.h
35603 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: speex" >&5
35604 $as_echo "$as_me: *** These plugins will not be built: speex" >&6;}
35605 if test "xspeex" != "x"; then
35606 GST_PLUGINS_NO="\tspeex\n$GST_PLUGINS_NO"
35610 if test x$USE_SPEEX = xyes; then
35612 USE_SPEEX_FALSE='#'
35621 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: taglib tagging library ***" >&5
35622 $as_echo "$as_me: *** checking feature: taglib tagging library ***" >&6;}
35623 if test "xtaglib" != "x"
35625 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: taglib ***" >&5
35626 $as_echo "$as_me: *** for plug-ins: taglib ***" >&6;}
35629 if test "x$USE_TAGLIB" = "xno"; then
35632 # Check whether --enable-taglib was given.
35633 if test "${enable_taglib+set}" = set; then :
35634 enableval=$enable_taglib; case "${enableval}" in
35635 yes) USE_TAGLIB=yes;;
35636 no) USE_TAGLIB=no;;
35637 *) as_fn_error $? "bad value ${enableval} for --enable-taglib" "$LINENO" 5 ;;
35643 if test "x$NOUSE" = "xyes"; then
35645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** taglib pre-configured not to be built" >&5
35646 $as_echo "$as_me: WARNING: *** taglib pre-configured not to be built" >&2;}
35651 if test x$USE_TAGLIB = xyes; then
35653 gst_check_save_LIBS=$LIBS
35654 gst_check_save_LDFLAGS=$LDFLAGS
35655 gst_check_save_CFLAGS=$CFLAGS
35656 gst_check_save_CPPFLAGS=$CPPFLAGS
35657 gst_check_save_CXXFLAGS=$CXXFLAGS
35662 which="taglib >= 1.5"
35667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TAGLIB" >&5
35668 $as_echo_n "checking for TAGLIB... " >&6; }
35670 if test -n "$PKG_CONFIG"; then
35671 if test -n "$TAGLIB_CFLAGS"; then
35672 pkg_cv_TAGLIB_CFLAGS="$TAGLIB_CFLAGS"
35674 if test -n "$PKG_CONFIG" && \
35675 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
35676 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
35678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35679 test $ac_status = 0; }; then
35680 pkg_cv_TAGLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
35688 if test -n "$PKG_CONFIG"; then
35689 if test -n "$TAGLIB_LIBS"; then
35690 pkg_cv_TAGLIB_LIBS="$TAGLIB_LIBS"
35692 if test -n "$PKG_CONFIG" && \
35693 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
35694 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
35696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35697 test $ac_status = 0; }; then
35698 pkg_cv_TAGLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
35709 if test $pkg_failed = yes; then
35711 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35712 _pkg_short_errors_supported=yes
35714 _pkg_short_errors_supported=no
35716 if test $_pkg_short_errors_supported = yes; then
35717 TAGLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
35719 TAGLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
35721 # Put the nasty error message in config.log where it belongs
35722 echo "$TAGLIB_PKG_ERRORS" >&5
35724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35725 $as_echo "no" >&6; }
35728 if test "x$required" = "xyes"; then
35729 as_fn_error $? "$TAGLIB_PKG_ERRORS" "$LINENO" 5
35731 { $as_echo "$as_me:${as_lineno-$LINENO}: $TAGLIB_PKG_ERRORS" >&5
35732 $as_echo "$as_me: $TAGLIB_PKG_ERRORS" >&6;}
35735 elif test $pkg_failed = untried; then
35738 if test "x$required" = "xyes"; then
35739 as_fn_error $? "$TAGLIB_PKG_ERRORS" "$LINENO" 5
35741 { $as_echo "$as_me:${as_lineno-$LINENO}: $TAGLIB_PKG_ERRORS" >&5
35742 $as_echo "$as_me: $TAGLIB_PKG_ERRORS" >&6;}
35746 TAGLIB_CFLAGS=$pkg_cv_TAGLIB_CFLAGS
35747 TAGLIB_LIBS=$pkg_cv_TAGLIB_LIBS
35748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35749 $as_echo "yes" >&6; }
35756 if test "x$HAVE_CXX" != "xyes"; then
35758 { $as_echo "$as_me:${as_lineno-$LINENO}: Not building taglib plugin: no C++ compiler found" >&5
35759 $as_echo "$as_me: Not building taglib plugin: no C++ compiler found" >&6;}
35764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wno-attributes" >&5
35765 $as_echo_n "checking to see if c++ compiler understands -Wno-attributes... " >&6; }
35767 save_CPPFLAGS="$CPPFLAGS"
35768 CPPFLAGS="$CPPFLAGS -Wno-attributes"
35771 ac_cpp='$CXXCPP $CPPFLAGS'
35772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35778 /* end confdefs.h. */
35788 if ac_fn_cxx_try_compile "$LINENO"; then :
35793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35794 CPPFLAGS="$save_CPPFLAGS"
35796 if test "X$flag_ok" = Xyes ; then
35798 TAGLIB_CXXFLAGS="$TAGLIB_CFLAGS -Wno-attributes"
35803 TAGLIB_CXXFLAGS="$TAGLIB_CFLAGS"
35809 ac_cpp='$CPP $CPPFLAGS'
35810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
35816 $as_echo "$flag_ok" >&6; }
35822 LIBS=$gst_check_save_LIBS
35823 LDFLAGS=$gst_check_save_LDFLAGS
35824 CFLAGS=$gst_check_save_CFLAGS
35825 CPPFLAGS=$gst_check_save_CPPFLAGS
35826 CXXFLAGS=$gst_check_save_CXXFLAGS
35828 if test x$HAVE_TAGLIB = xno; then
35831 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: taglib" >&5
35832 $as_echo "$as_me: *** These plugins will be built: taglib" >&6;}
35835 if test x$USE_TAGLIB = xyes; then
35837 if test "xtaglib" != "x"; then
35838 GST_PLUGINS_YES="\ttaglib\n$GST_PLUGINS_YES"
35841 $as_echo "#define HAVE_TAGLIB /**/" >>confdefs.h
35844 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: taglib" >&5
35845 $as_echo "$as_me: *** These plugins will not be built: taglib" >&6;}
35846 if test "xtaglib" != "x"; then
35847 GST_PLUGINS_NO="\ttaglib\n$GST_PLUGINS_NO"
35851 if test x$USE_TAGLIB = xyes; then
35853 USE_TAGLIB_FALSE='#'
35855 USE_TAGLIB_TRUE='#'
35862 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: wavpack plug-in ***" >&5
35863 $as_echo "$as_me: *** checking feature: wavpack plug-in ***" >&6;}
35864 if test "xwavpack" != "x"
35866 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: wavpack ***" >&5
35867 $as_echo "$as_me: *** for plug-ins: wavpack ***" >&6;}
35870 if test "x$USE_WAVPACK" = "xno"; then
35873 # Check whether --enable-wavpack was given.
35874 if test "${enable_wavpack+set}" = set; then :
35875 enableval=$enable_wavpack; case "${enableval}" in
35876 yes) USE_WAVPACK=yes;;
35877 no) USE_WAVPACK=no;;
35878 *) as_fn_error $? "bad value ${enableval} for --enable-wavpack" "$LINENO" 5 ;;
35884 if test "x$NOUSE" = "xyes"; then
35886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** wavpack pre-configured not to be built" >&5
35887 $as_echo "$as_me: WARNING: *** wavpack pre-configured not to be built" >&2;}
35892 if test x$USE_WAVPACK = xyes; then
35894 gst_check_save_LIBS=$LIBS
35895 gst_check_save_LDFLAGS=$LDFLAGS
35896 gst_check_save_CFLAGS=$CFLAGS
35897 gst_check_save_CPPFLAGS=$CPPFLAGS
35898 gst_check_save_CXXFLAGS=$CXXFLAGS
35904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAVPACK" >&5
35905 $as_echo_n "checking for WAVPACK... " >&6; }
35907 if test -n "$PKG_CONFIG"; then
35908 if test -n "$WAVPACK_CFLAGS"; then
35909 pkg_cv_WAVPACK_CFLAGS="$WAVPACK_CFLAGS"
35911 if test -n "$PKG_CONFIG" && \
35912 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.40.0\""; } >&5
35913 ($PKG_CONFIG --exists --print-errors "wavpack >= 4.40.0") 2>&5
35915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35916 test $ac_status = 0; }; then
35917 pkg_cv_WAVPACK_CFLAGS=`$PKG_CONFIG --cflags "wavpack >= 4.40.0" 2>/dev/null`
35925 if test -n "$PKG_CONFIG"; then
35926 if test -n "$WAVPACK_LIBS"; then
35927 pkg_cv_WAVPACK_LIBS="$WAVPACK_LIBS"
35929 if test -n "$PKG_CONFIG" && \
35930 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.40.0\""; } >&5
35931 ($PKG_CONFIG --exists --print-errors "wavpack >= 4.40.0") 2>&5
35933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35934 test $ac_status = 0; }; then
35935 pkg_cv_WAVPACK_LIBS=`$PKG_CONFIG --libs "wavpack >= 4.40.0" 2>/dev/null`
35946 if test $pkg_failed = yes; then
35948 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35949 _pkg_short_errors_supported=yes
35951 _pkg_short_errors_supported=no
35953 if test $_pkg_short_errors_supported = yes; then
35954 WAVPACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "wavpack >= 4.40.0"`
35956 WAVPACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "wavpack >= 4.40.0"`
35958 # Put the nasty error message in config.log where it belongs
35959 echo "$WAVPACK_PKG_ERRORS" >&5
35961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35962 $as_echo "no" >&6; }
35966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAVPACK" >&5
35967 $as_echo_n "checking for WAVPACK... " >&6; }
35969 if test -n "$PKG_CONFIG"; then
35970 if test -n "$WAVPACK_CFLAGS"; then
35971 pkg_cv_WAVPACK_CFLAGS="$WAVPACK_CFLAGS"
35973 if test -n "$PKG_CONFIG" && \
35974 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.20\""; } >&5
35975 ($PKG_CONFIG --exists --print-errors "wavpack >= 4.20") 2>&5
35977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35978 test $ac_status = 0; }; then
35979 pkg_cv_WAVPACK_CFLAGS=`$PKG_CONFIG --cflags "wavpack >= 4.20" 2>/dev/null`
35987 if test -n "$PKG_CONFIG"; then
35988 if test -n "$WAVPACK_LIBS"; then
35989 pkg_cv_WAVPACK_LIBS="$WAVPACK_LIBS"
35991 if test -n "$PKG_CONFIG" && \
35992 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.20\""; } >&5
35993 ($PKG_CONFIG --exists --print-errors "wavpack >= 4.20") 2>&5
35995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35996 test $ac_status = 0; }; then
35997 pkg_cv_WAVPACK_LIBS=`$PKG_CONFIG --libs "wavpack >= 4.20" 2>/dev/null`
36008 if test $pkg_failed = yes; then
36010 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36011 _pkg_short_errors_supported=yes
36013 _pkg_short_errors_supported=no
36015 if test $_pkg_short_errors_supported = yes; then
36016 WAVPACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "wavpack >= 4.20"`
36018 WAVPACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "wavpack >= 4.20"`
36020 # Put the nasty error message in config.log where it belongs
36021 echo "$WAVPACK_PKG_ERRORS" >&5
36023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36024 $as_echo "no" >&6; }
36028 elif test $pkg_failed = untried; then
36033 WAVPACK_CFLAGS=$pkg_cv_WAVPACK_CFLAGS
36034 WAVPACK_LIBS=$pkg_cv_WAVPACK_LIBS
36035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36036 $as_echo "yes" >&6; }
36040 $as_echo "#define WAVPACK_OLD_API 1" >>confdefs.h
36045 elif test $pkg_failed = untried; then
36049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAVPACK" >&5
36050 $as_echo_n "checking for WAVPACK... " >&6; }
36052 if test -n "$PKG_CONFIG"; then
36053 if test -n "$WAVPACK_CFLAGS"; then
36054 pkg_cv_WAVPACK_CFLAGS="$WAVPACK_CFLAGS"
36056 if test -n "$PKG_CONFIG" && \
36057 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.20\""; } >&5
36058 ($PKG_CONFIG --exists --print-errors "wavpack >= 4.20") 2>&5
36060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36061 test $ac_status = 0; }; then
36062 pkg_cv_WAVPACK_CFLAGS=`$PKG_CONFIG --cflags "wavpack >= 4.20" 2>/dev/null`
36070 if test -n "$PKG_CONFIG"; then
36071 if test -n "$WAVPACK_LIBS"; then
36072 pkg_cv_WAVPACK_LIBS="$WAVPACK_LIBS"
36074 if test -n "$PKG_CONFIG" && \
36075 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.20\""; } >&5
36076 ($PKG_CONFIG --exists --print-errors "wavpack >= 4.20") 2>&5
36078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36079 test $ac_status = 0; }; then
36080 pkg_cv_WAVPACK_LIBS=`$PKG_CONFIG --libs "wavpack >= 4.20" 2>/dev/null`
36091 if test $pkg_failed = yes; then
36093 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36094 _pkg_short_errors_supported=yes
36096 _pkg_short_errors_supported=no
36098 if test $_pkg_short_errors_supported = yes; then
36099 WAVPACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "wavpack >= 4.20"`
36101 WAVPACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "wavpack >= 4.20"`
36103 # Put the nasty error message in config.log where it belongs
36104 echo "$WAVPACK_PKG_ERRORS" >&5
36106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36107 $as_echo "no" >&6; }
36111 elif test $pkg_failed = untried; then
36116 WAVPACK_CFLAGS=$pkg_cv_WAVPACK_CFLAGS
36117 WAVPACK_LIBS=$pkg_cv_WAVPACK_LIBS
36118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36119 $as_echo "yes" >&6; }
36123 $as_echo "#define WAVPACK_OLD_API 1" >>confdefs.h
36129 WAVPACK_CFLAGS=$pkg_cv_WAVPACK_CFLAGS
36130 WAVPACK_LIBS=$pkg_cv_WAVPACK_LIBS
36131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36132 $as_echo "yes" >&6; }
36139 LIBS=$gst_check_save_LIBS
36140 LDFLAGS=$gst_check_save_LDFLAGS
36141 CFLAGS=$gst_check_save_CFLAGS
36142 CPPFLAGS=$gst_check_save_CPPFLAGS
36143 CXXFLAGS=$gst_check_save_CXXFLAGS
36145 if test x$HAVE_WAVPACK = xno; then
36148 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: wavpack" >&5
36149 $as_echo "$as_me: *** These plugins will be built: wavpack" >&6;}
36152 if test x$USE_WAVPACK = xyes; then
36154 if test "xwavpack" != "x"; then
36155 GST_PLUGINS_YES="\twavpack\n$GST_PLUGINS_YES"
36158 $as_echo "#define HAVE_WAVPACK /**/" >>confdefs.h
36161 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: wavpack" >&5
36162 $as_echo "$as_me: *** These plugins will not be built: wavpack" >&6;}
36163 if test "xwavpack" != "x"; then
36164 GST_PLUGINS_NO="\twavpack\n$GST_PLUGINS_NO"
36168 if test x$USE_WAVPACK = xyes; then
36170 USE_WAVPACK_FALSE='#'
36172 USE_WAVPACK_TRUE='#'
36179 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: zlib support for qtdemux/matroska ***" >&5
36180 $as_echo "$as_me: *** checking feature: zlib support for qtdemux/matroska ***" >&6;}
36183 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
36184 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
36187 if test "x$USE_ZLIB" = "xno"; then
36190 # Check whether --enable-zlib was given.
36191 if test "${enable_zlib+set}" = set; then :
36192 enableval=$enable_zlib; case "${enableval}" in
36193 yes) USE_ZLIB=yes;;
36195 *) as_fn_error $? "bad value ${enableval} for --enable-zlib" "$LINENO" 5 ;;
36201 if test "x$NOUSE" = "xyes"; then
36203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
36204 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
36209 if test x$USE_ZLIB = xyes; then
36211 gst_check_save_LIBS=$LIBS
36212 gst_check_save_LDFLAGS=$LDFLAGS
36213 gst_check_save_CFLAGS=$CFLAGS
36214 gst_check_save_CPPFLAGS=$CPPFLAGS
36215 gst_check_save_CXXFLAGS=$CXXFLAGS
36220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uncompress in -lz" >&5
36221 $as_echo_n "checking for uncompress in -lz... " >&6; }
36222 if ${ac_cv_lib_z_uncompress+:} false; then :
36223 $as_echo_n "(cached) " >&6
36225 ac_check_lib_save_LIBS=$LIBS
36227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36228 /* end confdefs.h. */
36230 /* Override any GCC internal prototype to avoid an error.
36231 Use char because int might match the return type of a GCC
36232 builtin and then its argument prototype would still apply. */
36236 char uncompress ();
36240 return uncompress ();
36245 if ac_fn_c_try_link "$LINENO"; then :
36246 ac_cv_lib_z_uncompress=yes
36248 ac_cv_lib_z_uncompress=no
36250 rm -f core conftest.err conftest.$ac_objext \
36251 conftest$ac_exeext conftest.$ac_ext
36252 LIBS=$ac_check_lib_save_LIBS
36254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_uncompress" >&5
36255 $as_echo "$ac_cv_lib_z_uncompress" >&6; }
36256 if test "x$ac_cv_lib_z_uncompress" = xyes; then :
36262 if test "x$HAVE_ZLIB" = "xyes"; then
36263 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
36264 if test "x$ac_cv_header_zlib_h" = xyes; then :
36271 if test "x$HAVE_ZLIB" = "xyes"; then
36288 LIBS=$gst_check_save_LIBS
36289 LDFLAGS=$gst_check_save_LDFLAGS
36290 CFLAGS=$gst_check_save_CFLAGS
36291 CPPFLAGS=$gst_check_save_CPPFLAGS
36292 CXXFLAGS=$gst_check_save_CXXFLAGS
36294 if test x$HAVE_ZLIB = xno; then
36300 if test x$USE_ZLIB = xyes; then
36302 if test "x" != "x"; then
36303 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
36306 $as_echo "#define HAVE_ZLIB /**/" >>confdefs.h
36310 if test "x" != "x"; then
36311 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
36315 if test x$USE_ZLIB = xyes; then
36326 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: bz2 library for matroska ***" >&5
36327 $as_echo "$as_me: *** checking feature: bz2 library for matroska ***" >&6;}
36330 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
36331 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
36334 if test "x$USE_BZ2" = "xno"; then
36337 # Check whether --enable-bz2 was given.
36338 if test "${enable_bz2+set}" = set; then :
36339 enableval=$enable_bz2; case "${enableval}" in
36342 *) as_fn_error $? "bad value ${enableval} for --enable-bz2" "$LINENO" 5 ;;
36348 if test "x$NOUSE" = "xyes"; then
36350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
36351 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
36356 if test x$USE_BZ2 = xyes; then
36358 gst_check_save_LIBS=$LIBS
36359 gst_check_save_LDFLAGS=$LDFLAGS
36360 gst_check_save_CFLAGS=$CFLAGS
36361 gst_check_save_CPPFLAGS=$CPPFLAGS
36362 gst_check_save_CXXFLAGS=$CXXFLAGS
36367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzCompress in -lbz2" >&5
36368 $as_echo_n "checking for BZ2_bzCompress in -lbz2... " >&6; }
36369 if ${ac_cv_lib_bz2_BZ2_bzCompress+:} false; then :
36370 $as_echo_n "(cached) " >&6
36372 ac_check_lib_save_LIBS=$LIBS
36374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36375 /* end confdefs.h. */
36377 /* Override any GCC internal prototype to avoid an error.
36378 Use char because int might match the return type of a GCC
36379 builtin and then its argument prototype would still apply. */
36383 char BZ2_bzCompress ();
36387 return BZ2_bzCompress ();
36392 if ac_fn_c_try_link "$LINENO"; then :
36393 ac_cv_lib_bz2_BZ2_bzCompress=yes
36395 ac_cv_lib_bz2_BZ2_bzCompress=no
36397 rm -f core conftest.err conftest.$ac_objext \
36398 conftest$ac_exeext conftest.$ac_ext
36399 LIBS=$ac_check_lib_save_LIBS
36401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzCompress" >&5
36402 $as_echo "$ac_cv_lib_bz2_BZ2_bzCompress" >&6; }
36403 if test "x$ac_cv_lib_bz2_BZ2_bzCompress" = xyes; then :
36409 if test "x$HAVE_BZ2" = "xyes"; then
36410 ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
36411 if test "x$ac_cv_header_bzlib_h" = xyes; then :
36418 if test "x$HAVE_BZ2" = "xyes"; then
36432 LIBS=$gst_check_save_LIBS
36433 LDFLAGS=$gst_check_save_LDFLAGS
36434 CFLAGS=$gst_check_save_CFLAGS
36435 CPPFLAGS=$gst_check_save_CPPFLAGS
36436 CXXFLAGS=$gst_check_save_CXXFLAGS
36438 if test x$HAVE_BZ2 = xno; then
36444 if test x$USE_BZ2 = xyes; then
36446 if test "x" != "x"; then
36447 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
36450 $as_echo "#define HAVE_BZ2 /**/" >>confdefs.h
36454 if test "x" != "x"; then
36455 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
36459 if test x$USE_BZ2 = xyes; then
36473 USE_AALIB_FALSE='#'
36481 USE_ANNODEX_FALSE='#'
36483 USE_ANNODEX_TRUE='#'
36497 USE_CAIRO_FALSE='#'
36504 USE_CAIRO_GOBJECT_TRUE=
36505 USE_CAIRO_GOBJECT_FALSE='#'
36507 USE_CAIRO_GOBJECT_TRUE='#'
36508 USE_CAIRO_GOBJECT_FALSE=
36512 USE_DIRECTSOUND_TRUE=
36513 USE_DIRECTSOUND_FALSE='#'
36515 USE_DIRECTSOUND_TRUE='#'
36516 USE_DIRECTSOUND_FALSE=
36521 USE_DV1394_FALSE='#'
36523 USE_DV1394_TRUE='#'
36545 USE_GCONF_FALSE='#'
36552 USE_GCONFTOOL_TRUE=
36553 USE_GCONFTOOL_FALSE='#'
36555 USE_GCONFTOOL_TRUE='#'
36556 USE_GCONFTOOL_FALSE=
36560 USE_GDK_PIXBUF_TRUE=
36561 USE_GDK_PIXBUF_FALSE='#'
36563 USE_GDK_PIXBUF_TRUE='#'
36564 USE_GDK_PIXBUF_FALSE=
36569 USE_GST_V4L2_FALSE='#'
36571 USE_GST_V4L2_TRUE='#'
36572 USE_GST_V4L2_FALSE=
36601 USE_LIBCACA_FALSE='#'
36603 USE_LIBCACA_TRUE='#'
36609 USE_LIBDV_FALSE='#'
36616 USE_LIBIEC61883_TRUE=
36617 USE_LIBIEC61883_FALSE='#'
36619 USE_LIBIEC61883_TRUE='#'
36620 USE_LIBIEC61883_FALSE=
36625 USE_LIBPNG_FALSE='#'
36627 USE_LIBPNG_TRUE='#'
36648 USE_OSX_AUDIO_TRUE=
36649 USE_OSX_AUDIO_FALSE='#'
36651 USE_OSX_AUDIO_TRUE='#'
36652 USE_OSX_AUDIO_FALSE=
36656 USE_OSX_VIDEO_TRUE=
36657 USE_OSX_VIDEO_FALSE='#'
36659 USE_OSX_VIDEO_TRUE='#'
36660 USE_OSX_VIDEO_FALSE=
36665 USE_PULSE_FALSE='#'
36673 USE_SHOUT2_FALSE='#'
36675 USE_SHOUT2_TRUE='#'
36689 USE_SPEEX_FALSE='#'
36697 USE_SUNAUDIO_FALSE='#'
36699 USE_SUNAUDIO_TRUE='#'
36700 USE_SUNAUDIO_FALSE=
36705 USE_TAGLIB_FALSE='#'
36707 USE_TAGLIB_TRUE='#'
36713 USE_WAVPACK_FALSE='#'
36715 USE_WAVPACK_TRUE='#'
36737 USE_XVIDEO_FALSE='#'
36739 USE_XVIDEO_TRUE='#'
36755 if test "x$USE_DEBUG" = xyes; then
36756 PROFILE_CFLAGS="-g"
36760 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
36761 DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
36763 DEPRECATED_CFLAGS=""
36767 GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
36768 GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
36774 GST_CXXFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CXXFLAGS)"
36775 GST_CFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CFLAGS)"
36780 GST_ALL_LDFLAGS="-no-undefined"
36783 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_desc.*' $GST_ALL_LDFLAGS"
36787 ac_config_files="$ac_config_files Makefile gst/Makefile gst/alpha/Makefile gst/apetag/Makefile gst/audiofx/Makefile gst/audioparsers/Makefile gst/auparse/Makefile gst/autodetect/Makefile gst/avi/Makefile gst/cutter/Makefile gst/deinterlace/Makefile gst/debugutils/Makefile gst/effectv/Makefile gst/equalizer/Makefile gst/flv/Makefile gst/goom/Makefile gst/goom2k1/Makefile gst/id3demux/Makefile gst/icydemux/Makefile gst/imagefreeze/Makefile gst/interleave/Makefile gst/isomp4/Makefile gst/law/Makefile gst/level/Makefile gst/matroska/Makefile gst/monoscope/Makefile gst/multifile/Makefile gst/multipart/Makefile gst/replaygain/Makefile gst/rtp/Makefile gst/rtpmanager/Makefile gst/rtsp/Makefile gst/shapewipe/Makefile gst/smpte/Makefile gst/spectrum/Makefile gst/udp/Makefile gst/videobox/Makefile gst/videocrop/Makefile gst/videofilter/Makefile gst/videomixer/Makefile gst/wavenc/Makefile gst/wavparse/Makefile gst/flx/Makefile gst/y4m/Makefile ext/Makefile ext/aalib/Makefile ext/annodex/Makefile ext/cairo/Makefile ext/dv/Makefile ext/esd/Makefile ext/flac/Makefile ext/gconf/Makefile ext/gdk_pixbuf/Makefile ext/hal/Makefile ext/jack/Makefile ext/jpeg/Makefile ext/libcaca/Makefile ext/libpng/Makefile ext/pulse/Makefile ext/raw1394/Makefile ext/shout2/Makefile ext/soup/Makefile ext/speex/Makefile ext/taglib/Makefile ext/wavpack/Makefile sys/Makefile sys/directsound/Makefile sys/oss/Makefile sys/oss4/Makefile sys/osxaudio/Makefile sys/osxvideo/Makefile sys/sunaudio/Makefile sys/v4l2/Makefile sys/waveform/Makefile sys/ximage/Makefile po/Makefile.in tests/Makefile tests/check/Makefile tests/examples/Makefile tests/examples/audiofx/Makefile tests/examples/cairo/Makefile tests/examples/equalizer/Makefile tests/examples/jack/Makefile tests/examples/level/Makefile tests/examples/pulse/Makefile tests/examples/rtp/Makefile tests/examples/shapewipe/Makefile tests/examples/spectrum/Makefile tests/examples/v4l2/Makefile tests/files/Makefile tests/icles/Makefile gconf/Makefile gconf/gstreamer.schemas common/Makefile common/m4/Makefile m4/Makefile docs/Makefile docs/plugins/Makefile docs/version.entities pkgconfig/Makefile pkgconfig/gstreamer-plugins-good-uninstalled.pc gst-plugins-good.spec"
36791 -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"\n\n#define GST_INSTALL_PLUGINS_HELPER PREFIX "\\\\libexec\\\\gst-install-plugins-helper.exe"/' \
36792 -e 's/.* GETTEXT_PACKAGE$/#define GETTEXT_PACKAGE "'$GETTEXT_PACKAGE'"/' \
36793 -e 's/.* GST_DATADIR$/#define GST_DATADIR PREFIX "\\\\share"/' \
36794 -e 's/.* GST_LEVEL_DEFAULT$/#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR/' \
36795 -e 's/.* GST_LICENSE$/#define GST_LICENSE "'$GST_LICENSE'"/' \
36796 -e 's/.* GST_MAJORMINOR$/#define GST_MAJORMINOR "'$GST_MAJORMINOR'"/' \
36797 -e "s,.* GST_PACKAGE_NAME$,#define GST_PACKAGE_NAME \"${GST_PACKAGE_NAME}\"," \
36798 -e 's/.* GST_PACKAGE_ORIGIN$/#define GST_PACKAGE_ORIGIN "Unknown package origin"/' \
36799 -e "s,.* GST_PACKAGE_RELEASE_DATETIME$,#define GST_PACKAGE_RELEASE_DATETIME \"${GST_PACKAGE_RELEASE_DATETIME}\"," \
36800 -e 's/.* HAVE_CPU_I386$/#define HAVE_CPU_I386 1/' \
36801 -e 's/.* HAVE_FGETPOS$/#define HAVE_FGETPOS 1/' \
36802 -e 's/.* HAVE_FSETPOS$/#define HAVE_FSETPOS 1/' \
36803 -e 's/.* HAVE_LIBXML2$/#define HAVE_LIBXML2 1/' \
36804 -e 's/.* HAVE_PROCESS_H$/#define HAVE_PROCESS_H 1/' \
36805 -e 's/.* HAVE_STDLIB_H$/#define HAVE_STDLIB_H 1/' \
36806 -e 's/.* HAVE_STRING_H$/#define HAVE_STRING_H 1/' \
36807 -e 's/.* HAVE_SYS_STAT_H$/#define HAVE_SYS_STAT_H 1/' \
36808 -e 's/.* HAVE_SYS_TYPES_H$/#define HAVE_SYS_TYPES_H 1/' \
36809 -e 's/.* HAVE_WIN32$/#define HAVE_WIN32 1/' \
36810 -e 's/.* HAVE_WINSOCK2_H$/#define HAVE_WINSOCK2_H 1/' \
36811 -e 's/.* HOST_CPU$/#define HOST_CPU "i686"/' \
36812 -e 's/.* LIBDIR$/#ifdef _DEBUG\n# define LIBDIR PREFIX "\\\\debug\\\\lib"\n#else\n# define LIBDIR PREFIX "\\\\lib"\n#endif/' \
36813 -e 's/.* LOCALEDIR$/#define LOCALEDIR PREFIX "\\\\share\\\\locale"/' \
36814 -e "s/.* PACKAGE$/#define PACKAGE \"$PACKAGE\"/" \
36815 -e 's/.* PACKAGE_BUGREPORT$/#define PACKAGE_BUGREPORT "http:\/\/bugzilla.gnome.org\/enter_bug.cgi?product=GStreamer"/' \
36816 -e "s/.* PACKAGE_NAME$/#define PACKAGE_NAME \"$PACKAGE_NAME\"/" \
36817 -e "s/.* PACKAGE_STRING$/#define PACKAGE_STRING \"$PACKAGE_STRING\"/" \
36818 -e 's/.* PACKAGE_TARNAME$/#define PACKAGE_TARNAME "'$PACKAGE_TARNAME'"/' \
36819 -e 's/.* PACKAGE_VERSION$/#define PACKAGE_VERSION "'$PACKAGE_VERSION'"/' \
36820 -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/' \
36821 -e 's/.* USE_BINARY_REGISTRY$/#define USE_BINARY_REGISTRY/' \
36822 -e 's/.* VERSION$/#define VERSION "'$VERSION'"/' \
36823 -e "s/.* DEFAULT_AUDIOSINK$/#define DEFAULT_AUDIOSINK \"directsoundsink\"/" \
36824 -e "s/.* DEFAULT_AUDIOSRC$/#define DEFAULT_AUDIOSRC \"audiotestsrc\"/" \
36825 -e "s/.* DEFAULT_VIDEOSRC$/#define DEFAULT_VIDEOSRC \"videotestsrc\"/" \
36826 -e "s/.* DEFAULT_VISUALIZER$/#define DEFAULT_VISUALIZER \"goom\"/" \
36827 config.h.in >win32/common/config.h-new
36829 cat >confcache <<\_ACEOF
36830 # This file is a shell script that caches the results of configure
36831 # tests run on this system so they can be shared between configure
36832 # scripts and configure runs, see configure's option --config-cache.
36833 # It is not useful on other systems. If it contains results you don't
36834 # want to keep, you may remove or edit it.
36836 # config.status only pays attention to the cache file if you give it
36837 # the --recheck option to rerun configure.
36839 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36840 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36841 # following values.
36845 # The following way of writing the cache mishandles newlines in values,
36846 # but we know of no workaround that is simple, portable, and efficient.
36847 # So, we kill variables containing newlines.
36848 # Ultrix sh set writes to stderr and can't be redirected directly,
36849 # and sets the high bit in the cache file unless we assign to the vars.
36851 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
36852 eval ac_val=\$$ac_var
36856 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
36857 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
36860 _ | IFS | as_nl) ;; #(
36861 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
36862 *) { eval $ac_var=; unset $ac_var;} ;;
36868 case $as_nl`(ac_space=' '; set) 2>&1` in #(
36869 *${as_nl}ac_space=\ *)
36870 # `set' does not quote correctly, so add quotes: double-quote
36871 # substitution turns \\\\ into \\, and sed turns \\ into \.
36874 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36877 # `set' quotes correctly as required by POSIX, so do not add quotes.
36878 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
36887 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36889 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36891 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
36892 if test -w "$cache_file"; then
36893 if test "x$cache_file" != "x/dev/null"; then
36894 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
36895 $as_echo "$as_me: updating cache $cache_file" >&6;}
36896 if test ! -f "$cache_file" || test -h "$cache_file"; then
36897 cat confcache >"$cache_file"
36899 case $cache_file in #(
36901 mv -f confcache "$cache_file"$$ &&
36902 mv -f "$cache_file"$$ "$cache_file" ;; #(
36904 mv -f confcache "$cache_file" ;;
36909 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
36910 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
36915 test "x$prefix" = xNONE && prefix=$ac_default_prefix
36916 # Let make expand exec_prefix.
36917 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
36919 DEFS=-DHAVE_CONFIG_H
36924 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
36925 # 1. Remove the extension, and $U if already installed.
36926 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
36927 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
36928 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
36929 # will be set to the directory where LIBOBJS objects are built.
36930 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
36931 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
36933 LIBOBJS=$ac_libobjs
36935 LTLIBOBJS=$ac_ltlibobjs
36938 if test -n "$EXEEXT"; then
36940 am__EXEEXT_FALSE='#'
36942 am__EXEEXT_TRUE='#'
36946 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
36947 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
36948 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36950 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
36951 as_fn_error $? "conditional \"AMDEP\" was never defined.
36952 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36954 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
36955 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
36956 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36958 if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
36959 as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
36960 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36962 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
36963 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
36964 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36966 if test -z "${USE_EXTERNAL_TRUE}" && test -z "${USE_EXTERNAL_FALSE}"; then
36967 as_fn_error $? "conditional \"USE_EXTERNAL\" was never defined.
36968 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36970 if test -z "${BUILD_EXTERNAL_TRUE}" && test -z "${BUILD_EXTERNAL_FALSE}"; then
36971 as_fn_error $? "conditional \"BUILD_EXTERNAL\" was never defined.
36972 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36974 if test -z "${USE_EXPERIMENTAL_TRUE}" && test -z "${USE_EXPERIMENTAL_FALSE}"; then
36975 as_fn_error $? "conditional \"USE_EXPERIMENTAL\" was never defined.
36976 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36978 if test -z "${BUILD_EXPERIMENTAL_TRUE}" && test -z "${BUILD_EXPERIMENTAL_FALSE}"; then
36979 as_fn_error $? "conditional \"BUILD_EXPERIMENTAL\" was never defined.
36980 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36983 if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then
36984 as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined.
36985 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36987 if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then
36988 as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined.
36989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36991 if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then
36992 as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined.
36993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36995 if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then
36996 as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined.
36997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36999 if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then
37000 as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined.
37001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37003 if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then
37004 as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined.
37005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37007 if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then
37008 as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined.
37009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37011 if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then
37012 as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined.
37013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37015 if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then
37016 as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined.
37017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37019 if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then
37020 as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined.
37021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37023 if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then
37024 as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined.
37025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37027 if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then
37028 as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined.
37029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37031 if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then
37032 as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined.
37033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37035 if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then
37036 as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined.
37037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37040 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
37041 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
37042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37044 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
37045 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
37046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37048 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
37049 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
37050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37052 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
37053 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
37054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37056 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
37057 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
37058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37060 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
37061 as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
37062 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37064 if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
37065 as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
37066 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37068 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
37069 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
37070 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37072 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
37073 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
37074 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37076 if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
37077 as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
37078 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37080 if test -z "${HAVE_WINSOCK2_H_TRUE}" && test -z "${HAVE_WINSOCK2_H_FALSE}"; then
37081 as_fn_error $? "conditional \"HAVE_WINSOCK2_H\" was never defined.
37082 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37084 if test -z "${HAVE_GCC_ASM_TRUE}" && test -z "${HAVE_GCC_ASM_FALSE}"; then
37085 as_fn_error $? "conditional \"HAVE_GCC_ASM\" was never defined.
37086 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37088 if test -z "${GST_HAVE_MMAP_TRUE}" && test -z "${GST_HAVE_MMAP_FALSE}"; then
37089 as_fn_error $? "conditional \"GST_HAVE_MMAP\" was never defined.
37090 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37092 if test -z "${HAVE_ORC_TRUE}" && test -z "${HAVE_ORC_FALSE}"; then
37093 as_fn_error $? "conditional \"HAVE_ORC\" was never defined.
37094 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37096 if test -z "${HAVE_ORCC_TRUE}" && test -z "${HAVE_ORCC_FALSE}"; then
37097 as_fn_error $? "conditional \"HAVE_ORCC\" was never defined.
37098 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37100 if test -z "${HAVE_GST_CHECK_TRUE}" && test -z "${HAVE_GST_CHECK_FALSE}"; then
37101 as_fn_error $? "conditional \"HAVE_GST_CHECK\" was never defined.
37102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37104 if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
37105 as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
37106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37108 if test -z "${HAVE_GTK_X11_TRUE}" && test -z "${HAVE_GTK_X11_FALSE}"; then
37109 as_fn_error $? "conditional \"HAVE_GTK_X11\" was never defined.
37110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37112 if test -z "${USE_GCONFTOOL_TRUE}" && test -z "${USE_GCONFTOOL_FALSE}"; then
37113 as_fn_error $? "conditional \"USE_GCONFTOOL\" was never defined.
37114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37116 if test -z "${USE_PLUGIN_VIDEOFILTER_TRUE}" && test -z "${USE_PLUGIN_VIDEOFILTER_FALSE}"; then
37117 as_fn_error $? "conditional \"USE_PLUGIN_VIDEOFILTER\" was never defined.
37118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37120 if test -z "${USE_PLUGIN_ALPHA_TRUE}" && test -z "${USE_PLUGIN_ALPHA_FALSE}"; then
37121 as_fn_error $? "conditional \"USE_PLUGIN_ALPHA\" was never defined.
37122 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37124 if test -z "${USE_PLUGIN_APETAG_TRUE}" && test -z "${USE_PLUGIN_APETAG_FALSE}"; then
37125 as_fn_error $? "conditional \"USE_PLUGIN_APETAG\" was never defined.
37126 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37128 if test -z "${USE_PLUGIN_AUDIOFX_TRUE}" && test -z "${USE_PLUGIN_AUDIOFX_FALSE}"; then
37129 as_fn_error $? "conditional \"USE_PLUGIN_AUDIOFX\" was never defined.
37130 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37132 if test -z "${USE_PLUGIN_AUDIOPARSERS_TRUE}" && test -z "${USE_PLUGIN_AUDIOPARSERS_FALSE}"; then
37133 as_fn_error $? "conditional \"USE_PLUGIN_AUDIOPARSERS\" was never defined.
37134 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37136 if test -z "${USE_PLUGIN_AUPARSE_TRUE}" && test -z "${USE_PLUGIN_AUPARSE_FALSE}"; then
37137 as_fn_error $? "conditional \"USE_PLUGIN_AUPARSE\" was never defined.
37138 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37140 if test -z "${USE_PLUGIN_AUTODETECT_TRUE}" && test -z "${USE_PLUGIN_AUTODETECT_FALSE}"; then
37141 as_fn_error $? "conditional \"USE_PLUGIN_AUTODETECT\" was never defined.
37142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37144 if test -z "${USE_PLUGIN_AVI_TRUE}" && test -z "${USE_PLUGIN_AVI_FALSE}"; then
37145 as_fn_error $? "conditional \"USE_PLUGIN_AVI\" was never defined.
37146 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37148 if test -z "${USE_PLUGIN_CUTTER_TRUE}" && test -z "${USE_PLUGIN_CUTTER_FALSE}"; then
37149 as_fn_error $? "conditional \"USE_PLUGIN_CUTTER\" was never defined.
37150 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37152 if test -z "${USE_PLUGIN_DEBUGUTILS_TRUE}" && test -z "${USE_PLUGIN_DEBUGUTILS_FALSE}"; then
37153 as_fn_error $? "conditional \"USE_PLUGIN_DEBUGUTILS\" was never defined.
37154 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37156 if test -z "${USE_PLUGIN_DEINTERLACE_TRUE}" && test -z "${USE_PLUGIN_DEINTERLACE_FALSE}"; then
37157 as_fn_error $? "conditional \"USE_PLUGIN_DEINTERLACE\" was never defined.
37158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37160 if test -z "${USE_PLUGIN_EFFECTV_TRUE}" && test -z "${USE_PLUGIN_EFFECTV_FALSE}"; then
37161 as_fn_error $? "conditional \"USE_PLUGIN_EFFECTV\" was never defined.
37162 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37164 if test -z "${USE_PLUGIN_EQUALIZER_TRUE}" && test -z "${USE_PLUGIN_EQUALIZER_FALSE}"; then
37165 as_fn_error $? "conditional \"USE_PLUGIN_EQUALIZER\" was never defined.
37166 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37168 if test -z "${USE_PLUGIN_FLV_TRUE}" && test -z "${USE_PLUGIN_FLV_FALSE}"; then
37169 as_fn_error $? "conditional \"USE_PLUGIN_FLV\" was never defined.
37170 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37172 if test -z "${USE_PLUGIN_ID3DEMUX_TRUE}" && test -z "${USE_PLUGIN_ID3DEMUX_FALSE}"; then
37173 as_fn_error $? "conditional \"USE_PLUGIN_ID3DEMUX\" was never defined.
37174 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37176 if test -z "${USE_PLUGIN_ICYDEMUX_TRUE}" && test -z "${USE_PLUGIN_ICYDEMUX_FALSE}"; then
37177 as_fn_error $? "conditional \"USE_PLUGIN_ICYDEMUX\" was never defined.
37178 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37180 if test -z "${USE_PLUGIN_INTERLEAVE_TRUE}" && test -z "${USE_PLUGIN_INTERLEAVE_FALSE}"; then
37181 as_fn_error $? "conditional \"USE_PLUGIN_INTERLEAVE\" was never defined.
37182 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37184 if test -z "${USE_PLUGIN_FLX_TRUE}" && test -z "${USE_PLUGIN_FLX_FALSE}"; then
37185 as_fn_error $? "conditional \"USE_PLUGIN_FLX\" was never defined.
37186 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37188 if test -z "${USE_PLUGIN_GOOM_TRUE}" && test -z "${USE_PLUGIN_GOOM_FALSE}"; then
37189 as_fn_error $? "conditional \"USE_PLUGIN_GOOM\" was never defined.
37190 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37192 if test -z "${USE_PLUGIN_GOOM2K1_TRUE}" && test -z "${USE_PLUGIN_GOOM2K1_FALSE}"; then
37193 as_fn_error $? "conditional \"USE_PLUGIN_GOOM2K1\" was never defined.
37194 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37196 if test -z "${USE_PLUGIN_IMAGEFREEZE_TRUE}" && test -z "${USE_PLUGIN_IMAGEFREEZE_FALSE}"; then
37197 as_fn_error $? "conditional \"USE_PLUGIN_IMAGEFREEZE\" was never defined.
37198 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37200 if test -z "${USE_PLUGIN_ISOMP4_TRUE}" && test -z "${USE_PLUGIN_ISOMP4_FALSE}"; then
37201 as_fn_error $? "conditional \"USE_PLUGIN_ISOMP4\" was never defined.
37202 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37204 if test -z "${USE_PLUGIN_LAW_TRUE}" && test -z "${USE_PLUGIN_LAW_FALSE}"; then
37205 as_fn_error $? "conditional \"USE_PLUGIN_LAW\" was never defined.
37206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37208 if test -z "${USE_PLUGIN_LEVEL_TRUE}" && test -z "${USE_PLUGIN_LEVEL_FALSE}"; then
37209 as_fn_error $? "conditional \"USE_PLUGIN_LEVEL\" was never defined.
37210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37212 if test -z "${USE_PLUGIN_MATROSKA_TRUE}" && test -z "${USE_PLUGIN_MATROSKA_FALSE}"; then
37213 as_fn_error $? "conditional \"USE_PLUGIN_MATROSKA\" was never defined.
37214 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37216 if test -z "${USE_PLUGIN_MONOSCOPE_TRUE}" && test -z "${USE_PLUGIN_MONOSCOPE_FALSE}"; then
37217 as_fn_error $? "conditional \"USE_PLUGIN_MONOSCOPE\" was never defined.
37218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37220 if test -z "${USE_PLUGIN_MULTIFILE_TRUE}" && test -z "${USE_PLUGIN_MULTIFILE_FALSE}"; then
37221 as_fn_error $? "conditional \"USE_PLUGIN_MULTIFILE\" was never defined.
37222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37224 if test -z "${USE_PLUGIN_MULTIPART_TRUE}" && test -z "${USE_PLUGIN_MULTIPART_FALSE}"; then
37225 as_fn_error $? "conditional \"USE_PLUGIN_MULTIPART\" was never defined.
37226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37228 if test -z "${USE_PLUGIN_REPLAYGAIN_TRUE}" && test -z "${USE_PLUGIN_REPLAYGAIN_FALSE}"; then
37229 as_fn_error $? "conditional \"USE_PLUGIN_REPLAYGAIN\" was never defined.
37230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37232 if test -z "${USE_PLUGIN_RTP_TRUE}" && test -z "${USE_PLUGIN_RTP_FALSE}"; then
37233 as_fn_error $? "conditional \"USE_PLUGIN_RTP\" was never defined.
37234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37236 if test -z "${USE_PLUGIN_RTPMANAGER_TRUE}" && test -z "${USE_PLUGIN_RTPMANAGER_FALSE}"; then
37237 as_fn_error $? "conditional \"USE_PLUGIN_RTPMANAGER\" was never defined.
37238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37240 if test -z "${USE_PLUGIN_RTSP_TRUE}" && test -z "${USE_PLUGIN_RTSP_FALSE}"; then
37241 as_fn_error $? "conditional \"USE_PLUGIN_RTSP\" was never defined.
37242 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37244 if test -z "${USE_PLUGIN_SHAPEWIPE_TRUE}" && test -z "${USE_PLUGIN_SHAPEWIPE_FALSE}"; then
37245 as_fn_error $? "conditional \"USE_PLUGIN_SHAPEWIPE\" was never defined.
37246 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37248 if test -z "${USE_PLUGIN_SMPTE_TRUE}" && test -z "${USE_PLUGIN_SMPTE_FALSE}"; then
37249 as_fn_error $? "conditional \"USE_PLUGIN_SMPTE\" was never defined.
37250 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37252 if test -z "${USE_PLUGIN_SPECTRUM_TRUE}" && test -z "${USE_PLUGIN_SPECTRUM_FALSE}"; then
37253 as_fn_error $? "conditional \"USE_PLUGIN_SPECTRUM\" was never defined.
37254 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37256 if test -z "${USE_PLUGIN_UDP_TRUE}" && test -z "${USE_PLUGIN_UDP_FALSE}"; then
37257 as_fn_error $? "conditional \"USE_PLUGIN_UDP\" was never defined.
37258 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37260 if test -z "${USE_PLUGIN_VIDEOBOX_TRUE}" && test -z "${USE_PLUGIN_VIDEOBOX_FALSE}"; then
37261 as_fn_error $? "conditional \"USE_PLUGIN_VIDEOBOX\" was never defined.
37262 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37264 if test -z "${USE_PLUGIN_VIDEOCROP_TRUE}" && test -z "${USE_PLUGIN_VIDEOCROP_FALSE}"; then
37265 as_fn_error $? "conditional \"USE_PLUGIN_VIDEOCROP\" was never defined.
37266 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37268 if test -z "${USE_PLUGIN_VIDEOMIXER_TRUE}" && test -z "${USE_PLUGIN_VIDEOMIXER_FALSE}"; then
37269 as_fn_error $? "conditional \"USE_PLUGIN_VIDEOMIXER\" was never defined.
37270 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37272 if test -z "${USE_PLUGIN_WAVENC_TRUE}" && test -z "${USE_PLUGIN_WAVENC_FALSE}"; then
37273 as_fn_error $? "conditional \"USE_PLUGIN_WAVENC\" was never defined.
37274 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37276 if test -z "${USE_PLUGIN_WAVPARSE_TRUE}" && test -z "${USE_PLUGIN_WAVPARSE_FALSE}"; then
37277 as_fn_error $? "conditional \"USE_PLUGIN_WAVPARSE\" was never defined.
37278 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37280 if test -z "${USE_PLUGIN_Y4M_TRUE}" && test -z "${USE_PLUGIN_Y4M_FALSE}"; then
37281 as_fn_error $? "conditional \"USE_PLUGIN_Y4M\" was never defined.
37282 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37284 if test -z "${USE_PLUGIN_UDP_TRUE}" && test -z "${USE_PLUGIN_UDP_FALSE}"; then
37285 as_fn_error $? "conditional \"USE_PLUGIN_UDP\" was never defined.
37286 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37288 if test -z "${USE_PLUGIN_RTSP_TRUE}" && test -z "${USE_PLUGIN_RTSP_FALSE}"; then
37289 as_fn_error $? "conditional \"USE_PLUGIN_RTSP\" was never defined.
37290 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37292 if test -z "${USE_PLUGIN_MONOSCOPE_TRUE}" && test -z "${USE_PLUGIN_MONOSCOPE_FALSE}"; then
37293 as_fn_error $? "conditional \"USE_PLUGIN_MONOSCOPE\" was never defined.
37294 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37296 if test -z "${USE_DIRECTSOUND_TRUE}" && test -z "${USE_DIRECTSOUND_FALSE}"; then
37297 as_fn_error $? "conditional \"USE_DIRECTSOUND\" was never defined.
37298 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37300 if test -z "${USE_OSS_TRUE}" && test -z "${USE_OSS_FALSE}"; then
37301 as_fn_error $? "conditional \"USE_OSS\" was never defined.
37302 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37304 if test -z "${USE_OSS4_TRUE}" && test -z "${USE_OSS4_FALSE}"; then
37305 as_fn_error $? "conditional \"USE_OSS4\" was never defined.
37306 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37308 if test -z "${USE_SUNAUDIO_TRUE}" && test -z "${USE_SUNAUDIO_FALSE}"; then
37309 as_fn_error $? "conditional \"USE_SUNAUDIO\" was never defined.
37310 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37312 if test -z "${USE_OSX_AUDIO_TRUE}" && test -z "${USE_OSX_AUDIO_FALSE}"; then
37313 as_fn_error $? "conditional \"USE_OSX_AUDIO\" was never defined.
37314 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37316 if test -z "${USE_OSX_VIDEO_TRUE}" && test -z "${USE_OSX_VIDEO_FALSE}"; then
37317 as_fn_error $? "conditional \"USE_OSX_VIDEO\" was never defined.
37318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37320 if test -z "${USE_GST_V4L2_TRUE}" && test -z "${USE_GST_V4L2_FALSE}"; then
37321 as_fn_error $? "conditional \"USE_GST_V4L2\" was never defined.
37322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37324 if test -z "${USE_X_TRUE}" && test -z "${USE_X_FALSE}"; then
37325 as_fn_error $? "conditional \"USE_X\" was never defined.
37326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37328 if test -z "${USE_XSHM_TRUE}" && test -z "${USE_XSHM_FALSE}"; then
37329 as_fn_error $? "conditional \"USE_XSHM\" was never defined.
37330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37332 if test -z "${USE_XVIDEO_TRUE}" && test -z "${USE_XVIDEO_FALSE}"; then
37333 as_fn_error $? "conditional \"USE_XVIDEO\" was never defined.
37334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37336 if test -z "${USE_AALIB_TRUE}" && test -z "${USE_AALIB_FALSE}"; then
37337 as_fn_error $? "conditional \"USE_AALIB\" was never defined.
37338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37340 if test -z "${USE_ANNODEX_TRUE}" && test -z "${USE_ANNODEX_FALSE}"; then
37341 as_fn_error $? "conditional \"USE_ANNODEX\" was never defined.
37342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37344 if test -z "${USE_CAIRO_TRUE}" && test -z "${USE_CAIRO_FALSE}"; then
37345 as_fn_error $? "conditional \"USE_CAIRO\" was never defined.
37346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37348 if test -z "${USE_CAIRO_GOBJECT_TRUE}" && test -z "${USE_CAIRO_GOBJECT_FALSE}"; then
37349 as_fn_error $? "conditional \"USE_CAIRO_GOBJECT\" was never defined.
37350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37352 if test -z "${USE_ESD_TRUE}" && test -z "${USE_ESD_FALSE}"; then
37353 as_fn_error $? "conditional \"USE_ESD\" was never defined.
37354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37356 if test -z "${USE_FLAC_TRUE}" && test -z "${USE_FLAC_FALSE}"; then
37357 as_fn_error $? "conditional \"USE_FLAC\" was never defined.
37358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37360 if test -z "${USE_GCONF_TRUE}" && test -z "${USE_GCONF_FALSE}"; then
37361 as_fn_error $? "conditional \"USE_GCONF\" was never defined.
37362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37364 if test -z "${USE_GDK_PIXBUF_TRUE}" && test -z "${USE_GDK_PIXBUF_FALSE}"; then
37365 as_fn_error $? "conditional \"USE_GDK_PIXBUF\" was never defined.
37366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37368 if test -z "${USE_HAL_TRUE}" && test -z "${USE_HAL_FALSE}"; then
37369 as_fn_error $? "conditional \"USE_HAL\" was never defined.
37370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37372 if test -z "${USE_JACK_TRUE}" && test -z "${USE_JACK_FALSE}"; then
37373 as_fn_error $? "conditional \"USE_JACK\" was never defined.
37374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37376 if test -z "${USE_JPEG_TRUE}" && test -z "${USE_JPEG_FALSE}"; then
37377 as_fn_error $? "conditional \"USE_JPEG\" was never defined.
37378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37380 if test -z "${USE_LIBCACA_TRUE}" && test -z "${USE_LIBCACA_FALSE}"; then
37381 as_fn_error $? "conditional \"USE_LIBCACA\" was never defined.
37382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37384 if test -z "${USE_LIBDV_TRUE}" && test -z "${USE_LIBDV_FALSE}"; then
37385 as_fn_error $? "conditional \"USE_LIBDV\" was never defined.
37386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37388 if test -z "${USE_LIBPNG_TRUE}" && test -z "${USE_LIBPNG_FALSE}"; then
37389 as_fn_error $? "conditional \"USE_LIBPNG\" was never defined.
37390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37392 if test -z "${USE_PULSE_TRUE}" && test -z "${USE_PULSE_FALSE}"; then
37393 as_fn_error $? "conditional \"USE_PULSE\" was never defined.
37394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37396 if test -z "${USE_DV1394_TRUE}" && test -z "${USE_DV1394_FALSE}"; then
37397 as_fn_error $? "conditional \"USE_DV1394\" was never defined.
37398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37400 if test -z "${USE_LIBIEC61883_TRUE}" && test -z "${USE_LIBIEC61883_FALSE}"; then
37401 as_fn_error $? "conditional \"USE_LIBIEC61883\" was never defined.
37402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37404 if test -z "${USE_SHOUT2_TRUE}" && test -z "${USE_SHOUT2_FALSE}"; then
37405 as_fn_error $? "conditional \"USE_SHOUT2\" was never defined.
37406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37408 if test -z "${USE_SOUP_TRUE}" && test -z "${USE_SOUP_FALSE}"; then
37409 as_fn_error $? "conditional \"USE_SOUP\" was never defined.
37410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37412 if test -z "${USE_SPEEX_TRUE}" && test -z "${USE_SPEEX_FALSE}"; then
37413 as_fn_error $? "conditional \"USE_SPEEX\" was never defined.
37414 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37416 if test -z "${USE_TAGLIB_TRUE}" && test -z "${USE_TAGLIB_FALSE}"; then
37417 as_fn_error $? "conditional \"USE_TAGLIB\" was never defined.
37418 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37420 if test -z "${USE_WAVPACK_TRUE}" && test -z "${USE_WAVPACK_FALSE}"; then
37421 as_fn_error $? "conditional \"USE_WAVPACK\" was never defined.
37422 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37424 if test -z "${USE_ZLIB_TRUE}" && test -z "${USE_ZLIB_FALSE}"; then
37425 as_fn_error $? "conditional \"USE_ZLIB\" was never defined.
37426 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37428 if test -z "${USE_BZ2_TRUE}" && test -z "${USE_BZ2_FALSE}"; then
37429 as_fn_error $? "conditional \"USE_BZ2\" was never defined.
37430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37432 if test -z "${USE_AALIB_TRUE}" && test -z "${USE_AALIB_FALSE}"; then
37433 as_fn_error $? "conditional \"USE_AALIB\" was never defined.
37434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37436 if test -z "${USE_ANNODEX_TRUE}" && test -z "${USE_ANNODEX_FALSE}"; then
37437 as_fn_error $? "conditional \"USE_ANNODEX\" was never defined.
37438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37440 if test -z "${USE_BZ2_TRUE}" && test -z "${USE_BZ2_FALSE}"; then
37441 as_fn_error $? "conditional \"USE_BZ2\" was never defined.
37442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37444 if test -z "${USE_CAIRO_TRUE}" && test -z "${USE_CAIRO_FALSE}"; then
37445 as_fn_error $? "conditional \"USE_CAIRO\" was never defined.
37446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37448 if test -z "${USE_CAIRO_GOBJECT_TRUE}" && test -z "${USE_CAIRO_GOBJECT_FALSE}"; then
37449 as_fn_error $? "conditional \"USE_CAIRO_GOBJECT\" was never defined.
37450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37452 if test -z "${USE_DIRECTSOUND_TRUE}" && test -z "${USE_DIRECTSOUND_FALSE}"; then
37453 as_fn_error $? "conditional \"USE_DIRECTSOUND\" was never defined.
37454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37456 if test -z "${USE_DV1394_TRUE}" && test -z "${USE_DV1394_FALSE}"; then
37457 as_fn_error $? "conditional \"USE_DV1394\" was never defined.
37458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37460 if test -z "${USE_ESD_TRUE}" && test -z "${USE_ESD_FALSE}"; then
37461 as_fn_error $? "conditional \"USE_ESD\" was never defined.
37462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37464 if test -z "${USE_FLAC_TRUE}" && test -z "${USE_FLAC_FALSE}"; then
37465 as_fn_error $? "conditional \"USE_FLAC\" was never defined.
37466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37468 if test -z "${USE_GCONF_TRUE}" && test -z "${USE_GCONF_FALSE}"; then
37469 as_fn_error $? "conditional \"USE_GCONF\" was never defined.
37470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37472 if test -z "${USE_GCONFTOOL_TRUE}" && test -z "${USE_GCONFTOOL_FALSE}"; then
37473 as_fn_error $? "conditional \"USE_GCONFTOOL\" was never defined.
37474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37476 if test -z "${USE_GDK_PIXBUF_TRUE}" && test -z "${USE_GDK_PIXBUF_FALSE}"; then
37477 as_fn_error $? "conditional \"USE_GDK_PIXBUF\" was never defined.
37478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37480 if test -z "${USE_GST_V4L2_TRUE}" && test -z "${USE_GST_V4L2_FALSE}"; then
37481 as_fn_error $? "conditional \"USE_GST_V4L2\" was never defined.
37482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37484 if test -z "${USE_HAL_TRUE}" && test -z "${USE_HAL_FALSE}"; then
37485 as_fn_error $? "conditional \"USE_HAL\" was never defined.
37486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37488 if test -z "${USE_JACK_TRUE}" && test -z "${USE_JACK_FALSE}"; then
37489 as_fn_error $? "conditional \"USE_JACK\" was never defined.
37490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37492 if test -z "${USE_JPEG_TRUE}" && test -z "${USE_JPEG_FALSE}"; then
37493 as_fn_error $? "conditional \"USE_JPEG\" was never defined.
37494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37496 if test -z "${USE_LIBCACA_TRUE}" && test -z "${USE_LIBCACA_FALSE}"; then
37497 as_fn_error $? "conditional \"USE_LIBCACA\" was never defined.
37498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37500 if test -z "${USE_LIBDV_TRUE}" && test -z "${USE_LIBDV_FALSE}"; then
37501 as_fn_error $? "conditional \"USE_LIBDV\" was never defined.
37502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37504 if test -z "${USE_LIBIEC61883_TRUE}" && test -z "${USE_LIBIEC61883_FALSE}"; then
37505 as_fn_error $? "conditional \"USE_LIBIEC61883\" was never defined.
37506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37508 if test -z "${USE_LIBPNG_TRUE}" && test -z "${USE_LIBPNG_FALSE}"; then
37509 as_fn_error $? "conditional \"USE_LIBPNG\" was never defined.
37510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37512 if test -z "${USE_OSS_TRUE}" && test -z "${USE_OSS_FALSE}"; then
37513 as_fn_error $? "conditional \"USE_OSS\" was never defined.
37514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37516 if test -z "${USE_OSS4_TRUE}" && test -z "${USE_OSS4_FALSE}"; then
37517 as_fn_error $? "conditional \"USE_OSS4\" was never defined.
37518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37520 if test -z "${USE_OSX_AUDIO_TRUE}" && test -z "${USE_OSX_AUDIO_FALSE}"; then
37521 as_fn_error $? "conditional \"USE_OSX_AUDIO\" was never defined.
37522 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37524 if test -z "${USE_OSX_VIDEO_TRUE}" && test -z "${USE_OSX_VIDEO_FALSE}"; then
37525 as_fn_error $? "conditional \"USE_OSX_VIDEO\" was never defined.
37526 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37528 if test -z "${USE_PULSE_TRUE}" && test -z "${USE_PULSE_FALSE}"; then
37529 as_fn_error $? "conditional \"USE_PULSE\" was never defined.
37530 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37532 if test -z "${USE_SHOUT2_TRUE}" && test -z "${USE_SHOUT2_FALSE}"; then
37533 as_fn_error $? "conditional \"USE_SHOUT2\" was never defined.
37534 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37536 if test -z "${USE_SOUP_TRUE}" && test -z "${USE_SOUP_FALSE}"; then
37537 as_fn_error $? "conditional \"USE_SOUP\" was never defined.
37538 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37540 if test -z "${USE_SPEEX_TRUE}" && test -z "${USE_SPEEX_FALSE}"; then
37541 as_fn_error $? "conditional \"USE_SPEEX\" was never defined.
37542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37544 if test -z "${USE_SUNAUDIO_TRUE}" && test -z "${USE_SUNAUDIO_FALSE}"; then
37545 as_fn_error $? "conditional \"USE_SUNAUDIO\" was never defined.
37546 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37548 if test -z "${USE_TAGLIB_TRUE}" && test -z "${USE_TAGLIB_FALSE}"; then
37549 as_fn_error $? "conditional \"USE_TAGLIB\" was never defined.
37550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37552 if test -z "${USE_WAVPACK_TRUE}" && test -z "${USE_WAVPACK_FALSE}"; then
37553 as_fn_error $? "conditional \"USE_WAVPACK\" was never defined.
37554 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37556 if test -z "${USE_X_TRUE}" && test -z "${USE_X_FALSE}"; then
37557 as_fn_error $? "conditional \"USE_X\" was never defined.
37558 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37560 if test -z "${USE_XSHM_TRUE}" && test -z "${USE_XSHM_FALSE}"; then
37561 as_fn_error $? "conditional \"USE_XSHM\" was never defined.
37562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37564 if test -z "${USE_XVIDEO_TRUE}" && test -z "${USE_XVIDEO_FALSE}"; then
37565 as_fn_error $? "conditional \"USE_XVIDEO\" was never defined.
37566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37568 if test -z "${USE_ZLIB_TRUE}" && test -z "${USE_ZLIB_FALSE}"; then
37569 as_fn_error $? "conditional \"USE_ZLIB\" was never defined.
37570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37573 : "${CONFIG_STATUS=./config.status}"
37575 ac_clean_files_save=$ac_clean_files
37576 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
37577 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
37578 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
37580 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
37582 # Generated by $as_me.
37583 # Run this file to recreate the current configuration.
37584 # Compiler output produced by configure, useful for debugging
37585 # configure, is in config.log if it exists.
37588 ac_cs_recheck=false
37591 SHELL=\${CONFIG_SHELL-$SHELL}
37594 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
37595 ## -------------------- ##
37596 ## M4sh Initialization. ##
37597 ## -------------------- ##
37599 # Be more Bourne compatible
37600 DUALCASE=1; export DUALCASE # for MKS sh
37601 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
37604 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
37605 # is contrary to our usage. Disable this feature.
37606 alias -g '${1+"$@"}'='"$@"'
37607 setopt NO_GLOB_SUBST
37609 case `(set -o) 2>/dev/null` in #(
37621 # Printing a long string crashes Solaris 7 /usr/bin/printf.
37622 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
37623 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
37624 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
37625 # Prefer a ksh shell builtin over an external printf program on Solaris,
37626 # but without wasting forks for bash or zsh.
37627 if test -z "$BASH_VERSION$ZSH_VERSION" \
37628 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
37629 as_echo='print -r --'
37630 as_echo_n='print -rn --'
37631 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
37632 as_echo='printf %s\n'
37633 as_echo_n='printf %s'
37635 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
37636 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
37637 as_echo_n='/usr/ucb/echo -n'
37639 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
37640 as_echo_n_body='eval
37644 expr "X$arg" : "X\\(.*\\)$as_nl";
37645 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
37647 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
37649 export as_echo_n_body
37650 as_echo_n='sh -c $as_echo_n_body as_echo'
37652 export as_echo_body
37653 as_echo='sh -c $as_echo_body as_echo'
37656 # The user is always right.
37657 if test "${PATH_SEPARATOR+set}" != set; then
37659 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
37660 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
37667 # We need space, tab and new line, in precisely that order. Quoting is
37668 # there to prevent editors from complaining about space-tab.
37669 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
37670 # splitting by setting IFS to empty value.)
37673 # Find who we are. Look in the path if we contain no directory separator.
37676 *[\\/]* ) as_myself=$0 ;;
37677 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37678 for as_dir in $PATH
37681 test -z "$as_dir" && as_dir=.
37682 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
37688 # We did not find ourselves, most probably we were run as `sh COMMAND'
37689 # in which case we are not to be found in the path.
37690 if test "x$as_myself" = x; then
37693 if test ! -f "$as_myself"; then
37694 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
37698 # Unset variables that we do not need and which cause bugs (e.g. in
37699 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
37700 # suppresses any "Segmentation fault" message there. '((' could
37701 # trigger a bug in pdksh 5.2.14.
37702 for as_var in BASH_ENV ENV MAIL MAILPATH
37703 do eval test x\${$as_var+set} = xset \
37704 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
37717 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
37720 # as_fn_error STATUS ERROR [LINENO LOG_FD]
37721 # ----------------------------------------
37722 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
37723 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
37724 # script with STATUS, using 1 if that was 0.
37727 as_status=$1; test $as_status -eq 0 && as_status=1
37729 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
37730 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
37732 $as_echo "$as_me: error: $2" >&2
37733 as_fn_exit $as_status
37737 # as_fn_set_status STATUS
37738 # -----------------------
37739 # Set $? to STATUS, without forking.
37740 as_fn_set_status ()
37743 } # as_fn_set_status
37745 # as_fn_exit STATUS
37746 # -----------------
37747 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
37751 as_fn_set_status $1
37757 # Portably unset VAR.
37760 { eval $1=; unset $1;}
37762 as_unset=as_fn_unset
37763 # as_fn_append VAR VALUE
37764 # ----------------------
37765 # Append the text in VALUE to the end of the definition contained in VAR. Take
37766 # advantage of any shell optimizations that allow amortized linear growth over
37767 # repeated appends, instead of the typical quadratic growth present in naive
37769 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
37770 eval 'as_fn_append ()
37781 # as_fn_arith ARG...
37782 # ------------------
37783 # Perform arithmetic evaluation on the ARGs, and store the result in the
37784 # global $as_val. Take advantage of shells that can avoid forks. The arguments
37785 # must be portable across $(()) and expr.
37786 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
37787 eval 'as_fn_arith ()
37794 as_val=`expr "$@" || test $? -eq 1`
37799 if expr a : '\(a\)' >/dev/null 2>&1 &&
37800 test "X`expr 00001 : '.*\(...\)'`" = X001; then
37806 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
37807 as_basename=basename
37812 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
37818 as_me=`$as_basename -- "$0" ||
37819 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
37820 X"$0" : 'X\(//\)$' \| \
37821 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
37823 sed '/^.*\/\([^/][^/]*\)\/*$/{
37837 # Avoid depending upon Character Ranges.
37838 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37839 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37840 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37841 as_cr_digits='0123456789'
37842 as_cr_alnum=$as_cr_Letters$as_cr_digits
37844 ECHO_C= ECHO_N= ECHO_T=
37845 case `echo -n x` in #(((((
37847 case `echo 'xy\c'` in
37848 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
37850 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
37857 rm -f conf$$ conf$$.exe conf$$.file
37858 if test -d conf$$.dir; then
37859 rm -f conf$$.dir/conf$$.file
37862 mkdir conf$$.dir 2>/dev/null
37864 if (echo >conf$$.file) 2>/dev/null; then
37865 if ln -s conf$$.file conf$$ 2>/dev/null; then
37867 # ... but there are two gotchas:
37868 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
37869 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
37870 # In both cases, we have to default to `cp -p'.
37871 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
37873 elif ln conf$$.file conf$$ 2>/dev/null; then
37881 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
37882 rmdir conf$$.dir 2>/dev/null
37887 # Create "$as_dir" as a directory, including parents if necessary.
37892 -*) as_dir=./$as_dir;;
37894 test -d "$as_dir" || eval $as_mkdir_p || {
37898 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
37899 *) as_qdir=$as_dir;;
37901 as_dirs="'$as_qdir' $as_dirs"
37902 as_dir=`$as_dirname -- "$as_dir" ||
37903 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37904 X"$as_dir" : 'X\(//\)[^/]' \| \
37905 X"$as_dir" : 'X\(//\)$' \| \
37906 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
37907 $as_echo X"$as_dir" |
37908 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
37912 /^X\(\/\/\)[^/].*/{
37925 test -d "$as_dir" && break
37927 test -z "$as_dirs" || eval "mkdir $as_dirs"
37928 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
37932 if mkdir -p . 2>/dev/null; then
37933 as_mkdir_p='mkdir -p "$as_dir"'
37935 test -d ./-p && rmdir ./-p
37939 if test -x / >/dev/null 2>&1; then
37940 as_test_x='test -x'
37942 if ls -dL / >/dev/null 2>&1; then
37949 if test -d "$1"; then
37955 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
37956 ???[sx]*):;;*)false;;esac;fi
37960 as_executable_p=$as_test_x
37962 # Sed expression to map a string onto a valid CPP name.
37963 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
37965 # Sed expression to map a string onto a valid variable name.
37966 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
37970 ## ----------------------------------- ##
37971 ## Main body of $CONFIG_STATUS script. ##
37972 ## ----------------------------------- ##
37974 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
37976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
37977 # Save the log message, to keep $0 and so on meaningful, and to
37978 # report actual input values of CONFIG_FILES etc. instead of their
37979 # values after options handling.
37981 This file was extended by GStreamer Good Plug-ins $as_me 0.10.31, which was
37982 generated by GNU Autoconf 2.68. Invocation command line was
37984 CONFIG_FILES = $CONFIG_FILES
37985 CONFIG_HEADERS = $CONFIG_HEADERS
37986 CONFIG_LINKS = $CONFIG_LINKS
37987 CONFIG_COMMANDS = $CONFIG_COMMANDS
37990 on `(hostname || uname -n) 2>/dev/null | sed 1q`
37995 case $ac_config_files in *"
37996 "*) set x $ac_config_files; shift; ac_config_files=$*;;
37999 case $ac_config_headers in *"
38000 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
38004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38005 # Files that config.status was made for.
38006 config_files="$ac_config_files"
38007 config_headers="$ac_config_headers"
38008 config_commands="$ac_config_commands"
38012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38014 \`$as_me' instantiates files and other configuration actions
38015 from templates according to the current configuration. Unless the files
38016 and actions are specified as TAGs, all are instantiated by default.
38018 Usage: $0 [OPTION]... [TAG]...
38020 -h, --help print this help, then exit
38021 -V, --version print version number and configuration settings, then exit
38022 --config print configuration, then exit
38023 -q, --quiet, --silent
38024 do not print progress messages
38025 -d, --debug don't remove temporary files
38026 --recheck update $as_me by reconfiguring in the same conditions
38027 --file=FILE[:TEMPLATE]
38028 instantiate the configuration file FILE
38029 --header=FILE[:TEMPLATE]
38030 instantiate the configuration header FILE
38032 Configuration files:
38035 Configuration headers:
38038 Configuration commands:
38041 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
38044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38045 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
38047 GStreamer Good Plug-ins config.status 0.10.31
38048 configured by $0, generated by GNU Autoconf 2.68,
38049 with options \\"\$ac_cs_config\\"
38051 Copyright (C) 2010 Free Software Foundation, Inc.
38052 This config.status script is free software; the Free Software Foundation
38053 gives unlimited permission to copy, distribute and modify it."
38060 test -n "\$AWK" || AWK=awk
38063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38064 # The default lists apply if the user does not specify any file.
38070 ac_option=`expr "X$1" : 'X\([^=]*\)='`
38071 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
38075 ac_option=`expr "X$1" : 'X\([^=]*\)='`
38087 # Handling of the options.
38088 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
38090 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
38091 $as_echo "$ac_cs_version"; exit ;;
38092 --config | --confi | --conf | --con | --co | --c )
38093 $as_echo "$ac_cs_config"; exit ;;
38094 --debug | --debu | --deb | --de | --d | -d )
38096 --file | --fil | --fi | --f )
38099 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
38100 '') as_fn_error $? "missing file argument" ;;
38102 as_fn_append CONFIG_FILES " '$ac_optarg'"
38103 ac_need_defaults=false;;
38104 --header | --heade | --head | --hea )
38107 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
38109 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
38110 ac_need_defaults=false;;
38112 # Conflict between --help and --header
38113 as_fn_error $? "ambiguous option: \`$1'
38114 Try \`$0 --help' for more information.";;
38115 --help | --hel | -h )
38116 $as_echo "$ac_cs_usage"; exit ;;
38117 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
38118 | -silent | --silent | --silen | --sile | --sil | --si | --s)
38121 # This is an error.
38122 -*) as_fn_error $? "unrecognized option: \`$1'
38123 Try \`$0 --help' for more information." ;;
38125 *) as_fn_append ac_config_targets " $1"
38126 ac_need_defaults=false ;;
38132 ac_configure_extra_args=
38134 if $ac_cs_silent; then
38136 ac_configure_extra_args="$ac_configure_extra_args --silent"
38140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38141 if \$ac_cs_recheck; then
38142 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
38144 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
38145 CONFIG_SHELL='$SHELL'
38146 export CONFIG_SHELL
38151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38155 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
38156 ## Running $as_me. ##
38162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38166 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
38169 # The HP-UX ksh and POSIX shell print the target directory to stdout
38170 # if CDPATH is set.
38171 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
38173 sed_quote_subst='$sed_quote_subst'
38174 double_quote_subst='$double_quote_subst'
38175 delay_variable_subst='$delay_variable_subst'
38176 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
38177 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
38178 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
38179 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
38180 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
38181 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
38182 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
38183 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
38184 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
38185 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
38186 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
38187 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
38188 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
38189 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
38190 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
38191 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
38192 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
38193 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
38194 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
38195 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
38196 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
38197 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
38198 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
38199 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
38200 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
38201 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
38202 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
38203 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
38204 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
38205 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
38206 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
38207 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
38208 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
38209 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
38210 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
38211 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
38212 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
38213 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
38214 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
38215 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
38216 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
38217 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
38218 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
38219 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
38220 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
38221 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
38222 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
38223 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
38224 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
38225 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
38226 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
38227 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
38228 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
38229 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
38230 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
38231 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
38232 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
38233 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"`'
38234 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
38235 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
38236 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
38237 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
38238 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
38239 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
38240 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
38241 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
38242 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
38243 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
38244 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
38245 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
38246 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
38247 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
38248 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
38249 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
38250 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
38251 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
38252 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
38253 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
38254 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
38255 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
38256 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
38257 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
38258 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
38259 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
38260 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
38261 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
38262 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
38263 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
38264 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
38265 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
38266 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
38267 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
38268 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
38269 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
38270 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
38271 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
38272 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
38273 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
38274 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
38275 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
38276 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
38277 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
38278 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
38279 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
38280 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
38281 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
38282 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
38283 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
38284 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
38285 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
38286 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
38287 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
38288 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
38289 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
38290 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
38291 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
38292 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
38293 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
38294 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
38295 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
38296 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
38297 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
38298 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
38299 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
38300 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
38301 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
38302 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
38303 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
38304 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
38305 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
38306 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
38307 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
38308 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
38309 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
38310 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
38311 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
38312 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
38313 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
38314 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
38315 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38316 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38317 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
38318 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
38319 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
38320 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
38321 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
38322 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
38323 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
38324 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
38325 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
38326 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
38327 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
38328 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
38329 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38330 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38331 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38332 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38333 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38334 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38335 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
38336 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
38337 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
38338 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
38339 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
38340 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
38341 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
38342 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
38343 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
38344 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
38345 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
38346 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
38347 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
38348 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38349 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
38350 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
38351 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38352 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
38353 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
38354 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
38355 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
38356 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
38357 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
38358 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
38359 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
38360 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
38363 LTCFLAGS='$LTCFLAGS'
38364 compiler='$compiler_DEFAULT'
38366 # A function that is used when there is no print builtin or printf.
38367 func_fallback_echo ()
38369 eval 'cat <<_LTECHO_EOF
38374 # Quote evaled strings.
38391 deplibs_check_method \
38395 sharedlib_from_linklib_cmd \
38398 archiver_list_spec \
38404 lt_cv_sys_global_symbol_pipe \
38405 lt_cv_sys_global_symbol_to_cdecl \
38406 lt_cv_sys_global_symbol_to_c_name_address \
38407 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
38408 nm_file_list_spec \
38409 lt_prog_compiler_no_builtin_flag \
38410 lt_prog_compiler_pic \
38411 lt_prog_compiler_wl \
38412 lt_prog_compiler_static \
38413 lt_cv_prog_compiler_c_o \
38422 export_dynamic_flag_spec \
38423 whole_archive_flag_spec \
38424 compiler_needs_object \
38426 allow_undefined_flag \
38427 no_undefined_flag \
38428 hardcode_libdir_flag_spec \
38429 hardcode_libdir_separator \
38433 variables_saved_for_relink \
38435 library_names_spec \
38437 install_override_mode \
38441 compiler_lib_search_dirs \
38446 compiler_lib_search_path \
38450 lt_prog_compiler_no_builtin_flag_CXX \
38451 lt_prog_compiler_pic_CXX \
38452 lt_prog_compiler_wl_CXX \
38453 lt_prog_compiler_static_CXX \
38454 lt_cv_prog_compiler_c_o_CXX \
38455 export_dynamic_flag_spec_CXX \
38456 whole_archive_flag_spec_CXX \
38457 compiler_needs_object_CXX \
38459 allow_undefined_flag_CXX \
38460 no_undefined_flag_CXX \
38461 hardcode_libdir_flag_spec_CXX \
38462 hardcode_libdir_separator_CXX \
38463 exclude_expsyms_CXX \
38464 include_expsyms_CXX \
38465 file_list_spec_CXX \
38466 compiler_lib_search_dirs_CXX \
38467 predep_objects_CXX \
38468 postdep_objects_CXX \
38471 compiler_lib_search_path_CXX; do
38472 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
38473 *[\\\\\\\`\\"\\\$]*)
38474 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
38477 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
38482 # Double-quote double-evaled strings.
38483 for var in reload_cmds \
38484 old_postinstall_cmds \
38485 old_postuninstall_cmds \
38487 extract_expsyms_cmds \
38488 old_archive_from_new_cmds \
38489 old_archive_from_expsyms_cmds \
38491 archive_expsym_cmds \
38493 module_expsym_cmds \
38494 export_symbols_cmds \
38498 postuninstall_cmds \
38500 sys_lib_search_path_spec \
38501 sys_lib_dlsearch_path_spec \
38503 old_archive_cmds_CXX \
38504 old_archive_from_new_cmds_CXX \
38505 old_archive_from_expsyms_cmds_CXX \
38507 archive_expsym_cmds_CXX \
38509 module_expsym_cmds_CXX \
38510 export_symbols_cmds_CXX \
38512 postlink_cmds_CXX; do
38513 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
38514 *[\\\\\\\`\\"\\\$]*)
38515 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
38518 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
38523 ac_aux_dir='$ac_aux_dir'
38524 xsi_shell='$xsi_shell'
38525 lt_shell_append='$lt_shell_append'
38527 # See if we are running on zsh, and set the options which allow our
38528 # commands through without removal of \ escapes INIT.
38529 if test -n "\${ZSH_VERSION+set}" ; then
38530 setopt NO_GLOB_SUBST
38536 TIMESTAMP='$TIMESTAMP'
38544 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
38545 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
38546 # from automake < 1.5.
38547 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
38548 # Capture the value of LINGUAS because we need it to compute CATALOGS.
38549 LINGUAS="${LINGUAS-%UNSET%}"
38551 # variables for create stdint.h replacement
38554 ac_stdint_h="$ac_stdint_h"
38555 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
38556 ac_cv_stdint_message="$ac_cv_stdint_message"
38557 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
38558 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
38559 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
38560 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
38561 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
38562 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
38563 ac_cv_char_data_model="$ac_cv_char_data_model"
38564 ac_cv_long_data_model="$ac_cv_long_data_model"
38565 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
38566 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
38567 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
38572 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38574 # Handling of arguments.
38575 for ac_config_target in $ac_config_targets
38577 case $ac_config_target in
38578 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
38579 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
38580 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
38581 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
38582 "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
38583 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
38584 "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
38585 "gst/alpha/Makefile") CONFIG_FILES="$CONFIG_FILES gst/alpha/Makefile" ;;
38586 "gst/apetag/Makefile") CONFIG_FILES="$CONFIG_FILES gst/apetag/Makefile" ;;
38587 "gst/audiofx/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audiofx/Makefile" ;;
38588 "gst/audioparsers/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audioparsers/Makefile" ;;
38589 "gst/auparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/auparse/Makefile" ;;
38590 "gst/autodetect/Makefile") CONFIG_FILES="$CONFIG_FILES gst/autodetect/Makefile" ;;
38591 "gst/avi/Makefile") CONFIG_FILES="$CONFIG_FILES gst/avi/Makefile" ;;
38592 "gst/cutter/Makefile") CONFIG_FILES="$CONFIG_FILES gst/cutter/Makefile" ;;
38593 "gst/deinterlace/Makefile") CONFIG_FILES="$CONFIG_FILES gst/deinterlace/Makefile" ;;
38594 "gst/debugutils/Makefile") CONFIG_FILES="$CONFIG_FILES gst/debugutils/Makefile" ;;
38595 "gst/effectv/Makefile") CONFIG_FILES="$CONFIG_FILES gst/effectv/Makefile" ;;
38596 "gst/equalizer/Makefile") CONFIG_FILES="$CONFIG_FILES gst/equalizer/Makefile" ;;
38597 "gst/flv/Makefile") CONFIG_FILES="$CONFIG_FILES gst/flv/Makefile" ;;
38598 "gst/goom/Makefile") CONFIG_FILES="$CONFIG_FILES gst/goom/Makefile" ;;
38599 "gst/goom2k1/Makefile") CONFIG_FILES="$CONFIG_FILES gst/goom2k1/Makefile" ;;
38600 "gst/id3demux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/id3demux/Makefile" ;;
38601 "gst/icydemux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/icydemux/Makefile" ;;
38602 "gst/imagefreeze/Makefile") CONFIG_FILES="$CONFIG_FILES gst/imagefreeze/Makefile" ;;
38603 "gst/interleave/Makefile") CONFIG_FILES="$CONFIG_FILES gst/interleave/Makefile" ;;
38604 "gst/isomp4/Makefile") CONFIG_FILES="$CONFIG_FILES gst/isomp4/Makefile" ;;
38605 "gst/law/Makefile") CONFIG_FILES="$CONFIG_FILES gst/law/Makefile" ;;
38606 "gst/level/Makefile") CONFIG_FILES="$CONFIG_FILES gst/level/Makefile" ;;
38607 "gst/matroska/Makefile") CONFIG_FILES="$CONFIG_FILES gst/matroska/Makefile" ;;
38608 "gst/monoscope/Makefile") CONFIG_FILES="$CONFIG_FILES gst/monoscope/Makefile" ;;
38609 "gst/multifile/Makefile") CONFIG_FILES="$CONFIG_FILES gst/multifile/Makefile" ;;
38610 "gst/multipart/Makefile") CONFIG_FILES="$CONFIG_FILES gst/multipart/Makefile" ;;
38611 "gst/replaygain/Makefile") CONFIG_FILES="$CONFIG_FILES gst/replaygain/Makefile" ;;
38612 "gst/rtp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rtp/Makefile" ;;
38613 "gst/rtpmanager/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rtpmanager/Makefile" ;;
38614 "gst/rtsp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rtsp/Makefile" ;;
38615 "gst/shapewipe/Makefile") CONFIG_FILES="$CONFIG_FILES gst/shapewipe/Makefile" ;;
38616 "gst/smpte/Makefile") CONFIG_FILES="$CONFIG_FILES gst/smpte/Makefile" ;;
38617 "gst/spectrum/Makefile") CONFIG_FILES="$CONFIG_FILES gst/spectrum/Makefile" ;;
38618 "gst/udp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/udp/Makefile" ;;
38619 "gst/videobox/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videobox/Makefile" ;;
38620 "gst/videocrop/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videocrop/Makefile" ;;
38621 "gst/videofilter/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videofilter/Makefile" ;;
38622 "gst/videomixer/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videomixer/Makefile" ;;
38623 "gst/wavenc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/wavenc/Makefile" ;;
38624 "gst/wavparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/wavparse/Makefile" ;;
38625 "gst/flx/Makefile") CONFIG_FILES="$CONFIG_FILES gst/flx/Makefile" ;;
38626 "gst/y4m/Makefile") CONFIG_FILES="$CONFIG_FILES gst/y4m/Makefile" ;;
38627 "ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
38628 "ext/aalib/Makefile") CONFIG_FILES="$CONFIG_FILES ext/aalib/Makefile" ;;
38629 "ext/annodex/Makefile") CONFIG_FILES="$CONFIG_FILES ext/annodex/Makefile" ;;
38630 "ext/cairo/Makefile") CONFIG_FILES="$CONFIG_FILES ext/cairo/Makefile" ;;
38631 "ext/dv/Makefile") CONFIG_FILES="$CONFIG_FILES ext/dv/Makefile" ;;
38632 "ext/esd/Makefile") CONFIG_FILES="$CONFIG_FILES ext/esd/Makefile" ;;
38633 "ext/flac/Makefile") CONFIG_FILES="$CONFIG_FILES ext/flac/Makefile" ;;
38634 "ext/gconf/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gconf/Makefile" ;;
38635 "ext/gdk_pixbuf/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gdk_pixbuf/Makefile" ;;
38636 "ext/hal/Makefile") CONFIG_FILES="$CONFIG_FILES ext/hal/Makefile" ;;
38637 "ext/jack/Makefile") CONFIG_FILES="$CONFIG_FILES ext/jack/Makefile" ;;
38638 "ext/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES ext/jpeg/Makefile" ;;
38639 "ext/libcaca/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libcaca/Makefile" ;;
38640 "ext/libpng/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libpng/Makefile" ;;
38641 "ext/pulse/Makefile") CONFIG_FILES="$CONFIG_FILES ext/pulse/Makefile" ;;
38642 "ext/raw1394/Makefile") CONFIG_FILES="$CONFIG_FILES ext/raw1394/Makefile" ;;
38643 "ext/shout2/Makefile") CONFIG_FILES="$CONFIG_FILES ext/shout2/Makefile" ;;
38644 "ext/soup/Makefile") CONFIG_FILES="$CONFIG_FILES ext/soup/Makefile" ;;
38645 "ext/speex/Makefile") CONFIG_FILES="$CONFIG_FILES ext/speex/Makefile" ;;
38646 "ext/taglib/Makefile") CONFIG_FILES="$CONFIG_FILES ext/taglib/Makefile" ;;
38647 "ext/wavpack/Makefile") CONFIG_FILES="$CONFIG_FILES ext/wavpack/Makefile" ;;
38648 "sys/Makefile") CONFIG_FILES="$CONFIG_FILES sys/Makefile" ;;
38649 "sys/directsound/Makefile") CONFIG_FILES="$CONFIG_FILES sys/directsound/Makefile" ;;
38650 "sys/oss/Makefile") CONFIG_FILES="$CONFIG_FILES sys/oss/Makefile" ;;
38651 "sys/oss4/Makefile") CONFIG_FILES="$CONFIG_FILES sys/oss4/Makefile" ;;
38652 "sys/osxaudio/Makefile") CONFIG_FILES="$CONFIG_FILES sys/osxaudio/Makefile" ;;
38653 "sys/osxvideo/Makefile") CONFIG_FILES="$CONFIG_FILES sys/osxvideo/Makefile" ;;
38654 "sys/sunaudio/Makefile") CONFIG_FILES="$CONFIG_FILES sys/sunaudio/Makefile" ;;
38655 "sys/v4l2/Makefile") CONFIG_FILES="$CONFIG_FILES sys/v4l2/Makefile" ;;
38656 "sys/waveform/Makefile") CONFIG_FILES="$CONFIG_FILES sys/waveform/Makefile" ;;
38657 "sys/ximage/Makefile") CONFIG_FILES="$CONFIG_FILES sys/ximage/Makefile" ;;
38658 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
38659 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
38660 "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
38661 "tests/examples/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/Makefile" ;;
38662 "tests/examples/audiofx/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/audiofx/Makefile" ;;
38663 "tests/examples/cairo/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/cairo/Makefile" ;;
38664 "tests/examples/equalizer/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/equalizer/Makefile" ;;
38665 "tests/examples/jack/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/jack/Makefile" ;;
38666 "tests/examples/level/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/level/Makefile" ;;
38667 "tests/examples/pulse/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/pulse/Makefile" ;;
38668 "tests/examples/rtp/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/rtp/Makefile" ;;
38669 "tests/examples/shapewipe/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/shapewipe/Makefile" ;;
38670 "tests/examples/spectrum/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/spectrum/Makefile" ;;
38671 "tests/examples/v4l2/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/v4l2/Makefile" ;;
38672 "tests/files/Makefile") CONFIG_FILES="$CONFIG_FILES tests/files/Makefile" ;;
38673 "tests/icles/Makefile") CONFIG_FILES="$CONFIG_FILES tests/icles/Makefile" ;;
38674 "gconf/Makefile") CONFIG_FILES="$CONFIG_FILES gconf/Makefile" ;;
38675 "gconf/gstreamer.schemas") CONFIG_FILES="$CONFIG_FILES gconf/gstreamer.schemas" ;;
38676 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
38677 "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
38678 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
38679 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
38680 "docs/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES docs/plugins/Makefile" ;;
38681 "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
38682 "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
38683 "pkgconfig/gstreamer-plugins-good-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-plugins-good-uninstalled.pc" ;;
38684 "gst-plugins-good.spec") CONFIG_FILES="$CONFIG_FILES gst-plugins-good.spec" ;;
38686 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
38691 # If the user did not use the arguments to specify the items to instantiate,
38692 # then the envvar interface is used. Set only those that are not.
38693 # We use the long form for the default assignment because of an extremely
38694 # bizarre bug on SunOS 4.1.3.
38695 if $ac_need_defaults; then
38696 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
38697 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
38698 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
38701 # Have a temporary directory for convenience. Make it in the build tree
38702 # simply because there is no reason against having it here, and in addition,
38703 # creating and moving files from /tmp can sometimes cause problems.
38704 # Hook for its removal unless debugging.
38705 # Note that there is a small window in which the directory will not be cleaned:
38706 # after its creation but before its name has been assigned to `$tmp'.
38710 trap 'exit_status=$?
38711 : "${ac_tmp:=$tmp}"
38712 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
38714 trap 'as_fn_exit 1' 1 2 13 15
38716 # Create a (secure) tmp directory for tmp files.
38719 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
38723 tmp=./conf$$-$RANDOM
38724 (umask 077 && mkdir "$tmp")
38725 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
38728 # Set up the scripts for CONFIG_FILES section.
38729 # No need to generate them if there are no CONFIG_FILES.
38730 # This happens for instance with `./config.status config.h'.
38731 if test -n "$CONFIG_FILES"; then
38734 ac_cr=`echo X | tr X '\015'`
38735 # On cygwin, bash can eat \r inside `` if the user requested igncr.
38736 # But we know of no other shell where ac_cr would be empty at this
38737 # point, so we can use a bashism as a fallback.
38738 if test "x$ac_cr" = x; then
38739 eval ac_cr=\$\'\\r\'
38741 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
38742 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
38745 ac_cs_awk_cr=$ac_cr
38748 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
38753 echo "cat >conf$$subs.awk <<_ACEOF" &&
38754 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
38756 } >conf$$subs.sh ||
38757 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
38758 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
38760 for ac_last_try in false false false false false :; do
38761 . ./conf$$subs.sh ||
38762 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
38764 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
38765 if test $ac_delim_n = $ac_delim_num; then
38767 elif $ac_last_try; then
38768 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
38770 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
38773 rm -f conf$$subs.sh
38775 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38776 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
38780 s/^/S["/; s/!.*/"]=/
38790 s/\(.\{148\}\)..*/\1/
38792 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
38797 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
38804 s/\(.\{148\}\)..*/\1/
38806 s/["\\]/\\&/g; s/^/"/; s/$/"/
38810 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
38815 ' <conf$$subs.awk | sed '
38820 ' >>$CONFIG_STATUS || ac_write_fail=1
38821 rm -f conf$$subs.awk
38822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38824 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
38825 for (key in S) S_is_set[key] = 1
38831 nfields = split(line, field, "@")
38833 len = length(field[1])
38834 for (i = 2; i < nfields; i++) {
38836 keylen = length(key)
38837 if (S_is_set[key]) {
38839 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
38840 len += length(value) + length(field[++i])
38851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38852 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
38853 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
38856 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
38857 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
38860 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
38861 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
38862 # trailing colons and then remove the whole line if VPATH becomes empty
38863 # (actually we leave an empty line to preserve line numbers).
38864 if test "x$srcdir" = x.; then
38865 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
38883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38884 fi # test -n "$CONFIG_FILES"
38886 # Set up the scripts for CONFIG_HEADERS section.
38887 # No need to generate them if there are no CONFIG_HEADERS.
38888 # This happens for instance with `./config.status Makefile'.
38889 if test -n "$CONFIG_HEADERS"; then
38890 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
38894 # Transform confdefs.h into an awk script `defines.awk', embedded as
38895 # here-document in config.status, that substitutes the proper values into
38896 # config.h.in to produce config.h.
38898 # Create a delimiter string that does not exist in confdefs.h, to ease
38899 # handling of long lines.
38901 for ac_last_try in false false :; do
38902 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
38903 if test -z "$ac_tt"; then
38905 elif $ac_last_try; then
38906 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
38908 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
38912 # For the awk script, D is an array of macro values keyed by name,
38913 # likewise P contains macro parameters if any. Preserve backslash
38914 # newline sequences.
38916 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
38918 s/.\{148\}/&'"$ac_delim"'/g
38921 s/^[ ]*#[ ]*define[ ][ ]*/ /
38928 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
38930 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
38934 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
38935 D["\1"]=" \3\\\\\\n"\\/p
38937 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
38942 s/.\{148\}/&'"$ac_delim"'/g
38947 s/["\\]/\\&/g; s/^/"/; s/$/"/p
38950 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
38952 ' <confdefs.h | sed '
38953 s/'"$ac_delim"'/"\\\
38954 "/g' >>$CONFIG_STATUS || ac_write_fail=1
38956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38957 for (key in D) D_is_set[key] = 1
38960 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
38962 split(line, arg, " ")
38963 if (arg[1] == "#") {
38967 defundef = substr(arg[1], 2)
38970 split(mac1, mac2, "(") #)
38972 prefix = substr(line, 1, index(line, defundef) - 1)
38973 if (D_is_set[macro]) {
38974 # Preserve the white space surrounding the "#".
38975 print prefix "define", macro P[macro] D[macro]
38978 # Replace #undef with comments. This is necessary, for example,
38979 # in the case of _POSIX_SOURCE, which is predefined and required
38980 # on some systems where configure will not decide to define it.
38981 if (defundef == "undef") {
38982 print "/*", prefix defundef, macro, "*/"
38990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38991 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
38992 fi # test -n "$CONFIG_HEADERS"
38995 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
39000 :[FHLC]) ac_mode=$ac_tag; continue;;
39002 case $ac_mode$ac_tag in
39004 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
39005 :[FH]-) ac_tag=-:-;;
39006 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
39023 -) ac_f="$ac_tmp/stdin";;
39024 *) # Look for the file first in the build tree, then in the source tree
39025 # (if the path is not absolute). The absolute path cannot be DOS-style,
39026 # because $ac_f cannot contain `:'.
39030 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
39032 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
39034 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
39035 as_fn_append ac_file_inputs " '$ac_f'"
39038 # Let's still pretend it is `configure' which instantiates (i.e., don't
39039 # use $as_me), people would be surprised to read:
39040 # /* config.h. Generated by config.status. */
39041 configure_input='Generated from '`
39042 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
39044 if test x"$ac_file" != x-; then
39045 configure_input="$ac_file. $configure_input"
39046 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
39047 $as_echo "$as_me: creating $ac_file" >&6;}
39049 # Neutralize special characters interpreted by sed in replacement strings.
39050 case $configure_input in #(
39051 *\&* | *\|* | *\\* )
39052 ac_sed_conf_input=`$as_echo "$configure_input" |
39053 sed 's/[\\\\&|]/\\\\&/g'`;; #(
39054 *) ac_sed_conf_input=$configure_input;;
39058 *:-:* | *:-) cat >"$ac_tmp/stdin" \
39059 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
39064 ac_dir=`$as_dirname -- "$ac_file" ||
39065 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39066 X"$ac_file" : 'X\(//\)[^/]' \| \
39067 X"$ac_file" : 'X\(//\)$' \| \
39068 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
39069 $as_echo X"$ac_file" |
39070 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39074 /^X\(\/\/\)[^/].*/{
39087 as_dir="$ac_dir"; as_fn_mkdir_p
39091 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
39093 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
39094 # A ".." for each directory in $ac_dir_suffix.
39095 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
39096 case $ac_top_builddir_sub in
39097 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
39098 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
39101 ac_abs_top_builddir=$ac_pwd
39102 ac_abs_builddir=$ac_pwd$ac_dir_suffix
39103 # for backward compatibility:
39104 ac_top_builddir=$ac_top_build_prefix
39107 .) # We are building in place.
39109 ac_top_srcdir=$ac_top_builddir_sub
39110 ac_abs_top_srcdir=$ac_pwd ;;
39111 [\\/]* | ?:[\\/]* ) # Absolute name.
39112 ac_srcdir=$srcdir$ac_dir_suffix;
39113 ac_top_srcdir=$srcdir
39114 ac_abs_top_srcdir=$srcdir ;;
39115 *) # Relative name.
39116 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
39117 ac_top_srcdir=$ac_top_build_prefix$srcdir
39118 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
39120 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
39130 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
39131 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
39133 ac_MKDIR_P=$MKDIR_P
39135 [\\/$]* | ?:[\\/]* ) ;;
39136 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
39140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
39141 # If the template does not know about datarootdir, expand it.
39142 # FIXME: This hack should be removed a few years after 2.60.
39143 ac_datarootdir_hack=; ac_datarootdir_seen=
39154 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
39155 *datarootdir*) ac_datarootdir_seen=yes;;
39156 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
39157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
39158 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
39160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
39161 ac_datarootdir_hack='
39162 s&@datadir@&$datadir&g
39163 s&@docdir@&$docdir&g
39164 s&@infodir@&$infodir&g
39165 s&@localedir@&$localedir&g
39166 s&@mandir@&$mandir&g
39167 s&\\\${datarootdir}&$datarootdir&g' ;;
39171 # Neutralize VPATH when `$srcdir' = `.'.
39172 # Shell code in configure.ac might set extrasub.
39173 # FIXME: do we really want to maintain this feature?
39174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
39175 ac_sed_extra="$ac_vpsub
39178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
39180 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
39181 s|@configure_input@|$ac_sed_conf_input|;t t
39182 s&@top_builddir@&$ac_top_builddir_sub&;t t
39183 s&@top_build_prefix@&$ac_top_build_prefix&;t t
39184 s&@srcdir@&$ac_srcdir&;t t
39185 s&@abs_srcdir@&$ac_abs_srcdir&;t t
39186 s&@top_srcdir@&$ac_top_srcdir&;t t
39187 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
39188 s&@builddir@&$ac_builddir&;t t
39189 s&@abs_builddir@&$ac_abs_builddir&;t t
39190 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
39191 s&@INSTALL@&$ac_INSTALL&;t t
39192 s&@MKDIR_P@&$ac_MKDIR_P&;t t
39193 $ac_datarootdir_hack
39195 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
39196 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
39198 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
39199 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
39200 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
39201 "$ac_tmp/out"`; test -z "$ac_out"; } &&
39202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
39203 which seems to be undefined. Please make sure it is defined" >&5
39204 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
39205 which seems to be undefined. Please make sure it is defined" >&2;}
39207 rm -f "$ac_tmp/stdin"
39209 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
39210 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
39212 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
39218 if test x"$ac_file" != x-; then
39220 $as_echo "/* $configure_input */" \
39221 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
39222 } >"$ac_tmp/config.h" \
39223 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
39224 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
39225 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
39226 $as_echo "$as_me: $ac_file is unchanged" >&6;}
39229 mv "$ac_tmp/config.h" "$ac_file" \
39230 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
39233 $as_echo "/* $configure_input */" \
39234 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
39235 || as_fn_error $? "could not create -" "$LINENO" 5
39237 # Compute "$ac_file"'s index in $config_headers.
39240 for _am_header in $config_headers :; do
39241 case $_am_header in
39242 $_am_arg | $_am_arg:* )
39245 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
39248 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
39249 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39250 X"$_am_arg" : 'X\(//\)[^/]' \| \
39251 X"$_am_arg" : 'X\(//\)$' \| \
39252 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
39253 $as_echo X"$_am_arg" |
39254 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39258 /^X\(\/\/\)[^/].*/{
39270 s/.*/./; q'`/stamp-h$_am_stamp_count
39273 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
39274 $as_echo "$as_me: executing $ac_file commands" >&6;}
39279 case $ac_file$ac_mode in
39280 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
39281 # Autoconf 2.62 quotes --file arguments for eval, but not when files
39282 # are listed without --file. Let's play safe and only enable the eval
39283 # if we detect the quoting.
39284 case $CONFIG_FILES in
39285 *\'*) eval set x "$CONFIG_FILES" ;;
39286 *) set x $CONFIG_FILES ;;
39291 # Strip MF so we end up with the name of the file.
39292 mf=`echo "$mf" | sed -e 's/:.*$//'`
39293 # Check whether this is an Automake generated Makefile or not.
39294 # We used to match only the files named `Makefile.in', but
39295 # some people rename them; so instead we look at the file content.
39296 # Grep'ing the first line is not enough: some people post-process
39297 # each Makefile.in and add a new line on top of each file to say so.
39298 # Grep'ing the whole file is not good either: AIX grep has a line
39299 # limit of 2048, but all sed's we know have understand at least 4000.
39300 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
39301 dirpart=`$as_dirname -- "$mf" ||
39302 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39303 X"$mf" : 'X\(//\)[^/]' \| \
39304 X"$mf" : 'X\(//\)$' \| \
39305 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
39307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39311 /^X\(\/\/\)[^/].*/{
39327 # Extract the definition of DEPDIR, am__include, and am__quote
39328 # from the Makefile without running `make'.
39329 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
39330 test -z "$DEPDIR" && continue
39331 am__include=`sed -n 's/^am__include = //p' < "$mf"`
39332 test -z "am__include" && continue
39333 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
39334 # When using ansi2knr, U may be empty or an underscore; expand it
39335 U=`sed -n 's/^U = //p' < "$mf"`
39336 # Find all dependency output files, they are included files with
39337 # $(DEPDIR) in their names. We invoke sed twice because it is the
39338 # simplest approach to changing $(DEPDIR) to its actual value in the
39340 for file in `sed -n "
39341 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
39342 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
39343 # Make sure the directory exists.
39344 test -f "$dirpart/$file" && continue
39345 fdir=`$as_dirname -- "$file" ||
39346 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39347 X"$file" : 'X\(//\)[^/]' \| \
39348 X"$file" : 'X\(//\)$' \| \
39349 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
39350 $as_echo X"$file" |
39351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39355 /^X\(\/\/\)[^/].*/{
39368 as_dir=$dirpart/$fdir; as_fn_mkdir_p
39369 # echo "creating $dirpart/$file"
39370 echo '# dummy' > "$dirpart/$file"
39377 # See if we are running on zsh, and set the options which allow our
39378 # commands through without removal of \ escapes.
39379 if test -n "${ZSH_VERSION+set}" ; then
39380 setopt NO_GLOB_SUBST
39383 cfgfile="${ofile}T"
39384 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
39387 cat <<_LT_EOF >> "$cfgfile"
39390 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
39391 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
39392 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
39393 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
39395 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
39396 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
39398 # Written by Gordon Matzigkeit, 1996
39400 # This file is part of GNU Libtool.
39402 # GNU Libtool is free software; you can redistribute it and/or
39403 # modify it under the terms of the GNU General Public License as
39404 # published by the Free Software Foundation; either version 2 of
39405 # the License, or (at your option) any later version.
39407 # As a special exception to the GNU General Public License,
39408 # if you distribute this file as part of a program or library that
39409 # is built using GNU Libtool, you may include this file under the
39410 # same distribution terms that you use for the rest of that program.
39412 # GNU Libtool is distributed in the hope that it will be useful,
39413 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39414 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39415 # GNU General Public License for more details.
39417 # You should have received a copy of the GNU General Public License
39418 # along with GNU Libtool; see the file COPYING. If not, a copy
39419 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
39420 # obtained by writing to the Free Software Foundation, Inc.,
39421 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
39424 # The names of the tagged configurations supported by this script.
39425 available_tags="CXX "
39427 # ### BEGIN LIBTOOL CONFIG
39429 # Assembler program.
39432 # DLL creation program.
39433 DLLTOOL=$lt_DLLTOOL
39435 # Object dumper program.
39436 OBJDUMP=$lt_OBJDUMP
39438 # Which release of libtool.m4 was used?
39439 macro_version=$macro_version
39440 macro_revision=$macro_revision
39442 # Whether or not to build shared libraries.
39443 build_libtool_libs=$enable_shared
39445 # Whether or not to build static libraries.
39446 build_old_libs=$enable_static
39448 # What type of objects to build.
39451 # Whether or not to optimize for fast installation.
39452 fast_install=$enable_fast_install
39454 # Shell to use when invoking shell scripts.
39457 # An echo program that protects backslashes.
39460 # The PATH separator for the build system.
39461 PATH_SEPARATOR=$lt_PATH_SEPARATOR
39464 host_alias=$host_alias
39468 # The build system.
39469 build_alias=$build_alias
39473 # A sed program that does not truncate output.
39476 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
39477 Xsed="\$SED -e 1s/^X//"
39479 # A grep program that handles long lines.
39485 # A literal string matcher.
39488 # A BSD- or MS-compatible name lister.
39491 # Whether we need soft or hard links.
39494 # What is the maximum length of a command?
39495 max_cmd_len=$max_cmd_len
39497 # Object file suffix (normally "o").
39500 # Executable file suffix (normally "").
39503 # whether the shell understands "unset".
39506 # turn spaces into newlines.
39509 # turn newlines into spaces.
39512 # convert \$build file names to \$host format.
39513 to_host_file_cmd=$lt_cv_to_host_file_cmd
39515 # convert \$build files to toolchain format.
39516 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
39518 # Method to check whether dependent libraries are shared objects.
39519 deplibs_check_method=$lt_deplibs_check_method
39521 # Command to use when deplibs_check_method = "file_magic".
39522 file_magic_cmd=$lt_file_magic_cmd
39524 # How to find potential files when deplibs_check_method = "file_magic".
39525 file_magic_glob=$lt_file_magic_glob
39527 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
39528 want_nocaseglob=$lt_want_nocaseglob
39530 # Command to associate shared and link libraries.
39531 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
39536 # Flags to create an archive.
39537 AR_FLAGS=$lt_AR_FLAGS
39539 # How to feed a file listing to the archiver.
39540 archiver_list_spec=$lt_archiver_list_spec
39542 # A symbol stripping program.
39545 # Commands used to install an old-style archive.
39547 old_postinstall_cmds=$lt_old_postinstall_cmds
39548 old_postuninstall_cmds=$lt_old_postuninstall_cmds
39550 # Whether to use a lock for old archive extraction.
39551 lock_old_archive_extraction=$lock_old_archive_extraction
39556 # LTCC compiler flags.
39557 LTCFLAGS=$lt_CFLAGS
39559 # Take the output of nm and produce a listing of raw symbols and C names.
39560 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
39562 # Transform the output of nm in a proper C declaration.
39563 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
39565 # Transform the output of nm in a C name address pair.
39566 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
39568 # Transform the output of nm in a C name address pair when lib prefix is needed.
39569 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
39571 # Specify filename containing input files for \$NM.
39572 nm_file_list_spec=$lt_nm_file_list_spec
39574 # The root where to search for dependent libraries,and in which our libraries should be installed.
39575 lt_sysroot=$lt_sysroot
39577 # The name of the directory that contains temporary libtool files.
39580 # Used to examine libraries when file_magic_cmd begins with "file".
39581 MAGIC_CMD=$MAGIC_CMD
39583 # Must we lock files when doing compilation?
39584 need_locks=$lt_need_locks
39587 MANIFEST_TOOL=$lt_MANIFEST_TOOL
39589 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
39590 DSYMUTIL=$lt_DSYMUTIL
39592 # Tool to change global to local symbols on Mac OS X.
39595 # Tool to manipulate fat objects and archives on Mac OS X.
39598 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
39601 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
39602 OTOOL64=$lt_OTOOL64
39604 # Old archive suffix (normally "a").
39607 # Shared library suffix (normally ".so").
39608 shrext_cmds=$lt_shrext_cmds
39610 # The commands to extract the exported symbol list from a shared archive.
39611 extract_expsyms_cmds=$lt_extract_expsyms_cmds
39613 # Variables whose values should be saved in libtool wrapper scripts and
39614 # restored at link time.
39615 variables_saved_for_relink=$lt_variables_saved_for_relink
39617 # Do we need the "lib" prefix for modules?
39618 need_lib_prefix=$need_lib_prefix
39620 # Do we need a version for libraries?
39621 need_version=$need_version
39623 # Library versioning type.
39624 version_type=$version_type
39626 # Shared library runtime path variable.
39627 runpath_var=$runpath_var
39629 # Shared library path variable.
39630 shlibpath_var=$shlibpath_var
39632 # Is shlibpath searched before the hard-coded library search path?
39633 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
39635 # Format of library name prefix.
39636 libname_spec=$lt_libname_spec
39638 # List of archive names. First name is the real one, the rest are links.
39639 # The last name is the one that the linker finds with -lNAME
39640 library_names_spec=$lt_library_names_spec
39642 # The coded name of the library, if different from the real name.
39643 soname_spec=$lt_soname_spec
39645 # Permission mode override for installation of shared libraries.
39646 install_override_mode=$lt_install_override_mode
39648 # Command to use after installation of a shared archive.
39649 postinstall_cmds=$lt_postinstall_cmds
39651 # Command to use after uninstallation of a shared archive.
39652 postuninstall_cmds=$lt_postuninstall_cmds
39654 # Commands used to finish a libtool library installation in a directory.
39655 finish_cmds=$lt_finish_cmds
39657 # As "finish_cmds", except a single script fragment to be evaled but
39659 finish_eval=$lt_finish_eval
39661 # Whether we should hardcode library paths into libraries.
39662 hardcode_into_libs=$hardcode_into_libs
39664 # Compile-time system search path for libraries.
39665 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
39667 # Run-time system search path for libraries.
39668 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
39670 # Whether dlopen is supported.
39671 dlopen_support=$enable_dlopen
39673 # Whether dlopen of programs is supported.
39674 dlopen_self=$enable_dlopen_self
39676 # Whether dlopen of statically linked programs is supported.
39677 dlopen_self_static=$enable_dlopen_self_static
39679 # Commands to strip libraries.
39680 old_striplib=$lt_old_striplib
39681 striplib=$lt_striplib
39684 # The linker used to build libraries.
39687 # How to create reloadable object files.
39688 reload_flag=$lt_reload_flag
39689 reload_cmds=$lt_reload_cmds
39691 # Commands used to build an old-style archive.
39692 old_archive_cmds=$lt_old_archive_cmds
39694 # A language specific compiler.
39697 # Is the compiler the GNU compiler?
39700 # Compiler flag to turn off builtin functions.
39701 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
39703 # Additional compiler flags for building library objects.
39704 pic_flag=$lt_lt_prog_compiler_pic
39706 # How to pass a linker flag through the compiler.
39707 wl=$lt_lt_prog_compiler_wl
39709 # Compiler flag to prevent dynamic linking.
39710 link_static_flag=$lt_lt_prog_compiler_static
39712 # Does compiler simultaneously support -c and -o options?
39713 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
39715 # Whether or not to add -lc for building shared libraries.
39716 build_libtool_need_lc=$archive_cmds_need_lc
39718 # Whether or not to disallow shared libs when runtime libs are static.
39719 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
39721 # Compiler flag to allow reflexive dlopens.
39722 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
39724 # Compiler flag to generate shared objects directly from archives.
39725 whole_archive_flag_spec=$lt_whole_archive_flag_spec
39727 # Whether the compiler copes with passing no objects directly.
39728 compiler_needs_object=$lt_compiler_needs_object
39730 # Create an old-style archive from a shared archive.
39731 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
39733 # Create a temporary old-style archive to link instead of a shared archive.
39734 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
39736 # Commands used to build a shared archive.
39737 archive_cmds=$lt_archive_cmds
39738 archive_expsym_cmds=$lt_archive_expsym_cmds
39740 # Commands used to build a loadable module if different from building
39741 # a shared archive.
39742 module_cmds=$lt_module_cmds
39743 module_expsym_cmds=$lt_module_expsym_cmds
39745 # Whether we are building with GNU ld or not.
39746 with_gnu_ld=$lt_with_gnu_ld
39748 # Flag that allows shared libraries with undefined symbols to be built.
39749 allow_undefined_flag=$lt_allow_undefined_flag
39751 # Flag that enforces no undefined symbols.
39752 no_undefined_flag=$lt_no_undefined_flag
39754 # Flag to hardcode \$libdir into a binary during linking.
39755 # This must work even if \$libdir does not exist
39756 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
39758 # Whether we need a single "-rpath" flag with a separated argument.
39759 hardcode_libdir_separator=$lt_hardcode_libdir_separator
39761 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
39762 # DIR into the resulting binary.
39763 hardcode_direct=$hardcode_direct
39765 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
39766 # DIR into the resulting binary and the resulting library dependency is
39767 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
39768 # library is relocated.
39769 hardcode_direct_absolute=$hardcode_direct_absolute
39771 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
39772 # into the resulting binary.
39773 hardcode_minus_L=$hardcode_minus_L
39775 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
39776 # into the resulting binary.
39777 hardcode_shlibpath_var=$hardcode_shlibpath_var
39779 # Set to "yes" if building a shared library automatically hardcodes DIR
39780 # into the library and all subsequent libraries and executables linked
39782 hardcode_automatic=$hardcode_automatic
39784 # Set to yes if linker adds runtime paths of dependent libraries
39785 # to runtime path list.
39786 inherit_rpath=$inherit_rpath
39788 # Whether libtool must link a program against all its dependency libraries.
39789 link_all_deplibs=$link_all_deplibs
39791 # Set to "yes" if exported symbols are required.
39792 always_export_symbols=$always_export_symbols
39794 # The commands to list exported symbols.
39795 export_symbols_cmds=$lt_export_symbols_cmds
39797 # Symbols that should not be listed in the preloaded symbols.
39798 exclude_expsyms=$lt_exclude_expsyms
39800 # Symbols that must always be exported.
39801 include_expsyms=$lt_include_expsyms
39803 # Commands necessary for linking programs (against libraries) with templates.
39804 prelink_cmds=$lt_prelink_cmds
39806 # Commands necessary for finishing linking programs.
39807 postlink_cmds=$lt_postlink_cmds
39809 # Specify filename containing input files.
39810 file_list_spec=$lt_file_list_spec
39812 # How to hardcode a shared library path into an executable.
39813 hardcode_action=$hardcode_action
39815 # The directories searched by this compiler when creating a shared library.
39816 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
39818 # Dependencies to place before and after the objects being linked to
39819 # create a shared library.
39820 predep_objects=$lt_predep_objects
39821 postdep_objects=$lt_postdep_objects
39822 predeps=$lt_predeps
39823 postdeps=$lt_postdeps
39825 # The library search path used internally by the compiler when linking
39826 # a shared library.
39827 compiler_lib_search_path=$lt_compiler_lib_search_path
39829 # ### END LIBTOOL CONFIG
39835 cat <<\_LT_EOF >> "$cfgfile"
39836 # AIX sometimes has problems with the GCC collect2 program. For some
39837 # reason, if we set the COLLECT_NAMES environment variable, the problems
39838 # vanish in a puff of smoke.
39839 if test "X${COLLECT_NAMES+set}" != Xset; then
39841 export COLLECT_NAMES
39848 ltmain="$ac_aux_dir/ltmain.sh"
39851 # We use sed instead of cat because bash on DJGPP gets confused if
39852 # if finds mixed CR/LF and LF-only lines. Since sed operates in
39853 # text mode, it properly converts lines to CR/LF. This bash problem
39854 # is reportedly fixed, but why not run on old versions too?
39855 sed '$q' "$ltmain" >> "$cfgfile" \
39856 || (rm -f "$cfgfile"; exit 1)
39858 if test x"$xsi_shell" = xyes; then
39859 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
39863 \ */*) func_dirname_result="${1%/*}${2}" ;;\
39864 \ * ) func_dirname_result="${3}" ;;\
39866 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
39867 && mv -f "$cfgfile.tmp" "$cfgfile" \
39868 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39869 test 0 -eq $? || _lt_function_replace_fail=:
39872 sed -e '/^func_basename ()$/,/^} # func_basename /c\
39875 \ func_basename_result="${1##*/}"\
39876 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
39877 && mv -f "$cfgfile.tmp" "$cfgfile" \
39878 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39879 test 0 -eq $? || _lt_function_replace_fail=:
39882 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
39883 func_dirname_and_basename ()\
39886 \ */*) func_dirname_result="${1%/*}${2}" ;;\
39887 \ * ) func_dirname_result="${3}" ;;\
39889 \ func_basename_result="${1##*/}"\
39890 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
39891 && mv -f "$cfgfile.tmp" "$cfgfile" \
39892 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39893 test 0 -eq $? || _lt_function_replace_fail=:
39896 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
39899 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
39900 \ # positional parameters, so assign one to ordinary parameter first.\
39901 \ func_stripname_result=${3}\
39902 \ func_stripname_result=${func_stripname_result#"${1}"}\
39903 \ func_stripname_result=${func_stripname_result%"${2}"}\
39904 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
39905 && mv -f "$cfgfile.tmp" "$cfgfile" \
39906 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39907 test 0 -eq $? || _lt_function_replace_fail=:
39910 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
39911 func_split_long_opt ()\
39913 \ func_split_long_opt_name=${1%%=*}\
39914 \ func_split_long_opt_arg=${1#*=}\
39915 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
39916 && mv -f "$cfgfile.tmp" "$cfgfile" \
39917 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39918 test 0 -eq $? || _lt_function_replace_fail=:
39921 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
39922 func_split_short_opt ()\
39924 \ func_split_short_opt_arg=${1#??}\
39925 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
39926 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
39927 && mv -f "$cfgfile.tmp" "$cfgfile" \
39928 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39929 test 0 -eq $? || _lt_function_replace_fail=:
39932 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
39936 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
39937 \ *) func_lo2o_result=${1} ;;\
39939 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
39940 && mv -f "$cfgfile.tmp" "$cfgfile" \
39941 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39942 test 0 -eq $? || _lt_function_replace_fail=:
39945 sed -e '/^func_xform ()$/,/^} # func_xform /c\
39948 func_xform_result=${1%.*}.lo\
39949 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
39950 && mv -f "$cfgfile.tmp" "$cfgfile" \
39951 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39952 test 0 -eq $? || _lt_function_replace_fail=:
39955 sed -e '/^func_arith ()$/,/^} # func_arith /c\
39958 func_arith_result=$(( $* ))\
39959 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
39960 && mv -f "$cfgfile.tmp" "$cfgfile" \
39961 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39962 test 0 -eq $? || _lt_function_replace_fail=:
39965 sed -e '/^func_len ()$/,/^} # func_len /c\
39968 func_len_result=${#1}\
39969 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
39970 && mv -f "$cfgfile.tmp" "$cfgfile" \
39971 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39972 test 0 -eq $? || _lt_function_replace_fail=:
39976 if test x"$lt_shell_append" = xyes; then
39977 sed -e '/^func_append ()$/,/^} # func_append /c\
39980 eval "${1}+=\\${2}"\
39981 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
39982 && mv -f "$cfgfile.tmp" "$cfgfile" \
39983 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39984 test 0 -eq $? || _lt_function_replace_fail=:
39987 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
39988 func_append_quoted ()\
39990 \ func_quote_for_eval "${2}"\
39991 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
39992 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
39993 && mv -f "$cfgfile.tmp" "$cfgfile" \
39994 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
39995 test 0 -eq $? || _lt_function_replace_fail=:
39998 # Save a `func_append' function call where possible by direct use of '+='
39999 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
40000 && mv -f "$cfgfile.tmp" "$cfgfile" \
40001 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
40002 test 0 -eq $? || _lt_function_replace_fail=:
40004 # Save a `func_append' function call even when '+=' is not available
40005 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
40006 && mv -f "$cfgfile.tmp" "$cfgfile" \
40007 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
40008 test 0 -eq $? || _lt_function_replace_fail=:
40011 if test x"$_lt_function_replace_fail" = x":"; then
40012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
40013 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
40017 mv -f "$cfgfile" "$ofile" ||
40018 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
40022 cat <<_LT_EOF >> "$ofile"
40024 # ### BEGIN LIBTOOL TAG CONFIG: CXX
40026 # The linker used to build libraries.
40029 # How to create reloadable object files.
40030 reload_flag=$lt_reload_flag_CXX
40031 reload_cmds=$lt_reload_cmds_CXX
40033 # Commands used to build an old-style archive.
40034 old_archive_cmds=$lt_old_archive_cmds_CXX
40036 # A language specific compiler.
40037 CC=$lt_compiler_CXX
40039 # Is the compiler the GNU compiler?
40042 # Compiler flag to turn off builtin functions.
40043 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
40045 # Additional compiler flags for building library objects.
40046 pic_flag=$lt_lt_prog_compiler_pic_CXX
40048 # How to pass a linker flag through the compiler.
40049 wl=$lt_lt_prog_compiler_wl_CXX
40051 # Compiler flag to prevent dynamic linking.
40052 link_static_flag=$lt_lt_prog_compiler_static_CXX
40054 # Does compiler simultaneously support -c and -o options?
40055 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
40057 # Whether or not to add -lc for building shared libraries.
40058 build_libtool_need_lc=$archive_cmds_need_lc_CXX
40060 # Whether or not to disallow shared libs when runtime libs are static.
40061 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
40063 # Compiler flag to allow reflexive dlopens.
40064 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
40066 # Compiler flag to generate shared objects directly from archives.
40067 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
40069 # Whether the compiler copes with passing no objects directly.
40070 compiler_needs_object=$lt_compiler_needs_object_CXX
40072 # Create an old-style archive from a shared archive.
40073 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
40075 # Create a temporary old-style archive to link instead of a shared archive.
40076 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
40078 # Commands used to build a shared archive.
40079 archive_cmds=$lt_archive_cmds_CXX
40080 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
40082 # Commands used to build a loadable module if different from building
40083 # a shared archive.
40084 module_cmds=$lt_module_cmds_CXX
40085 module_expsym_cmds=$lt_module_expsym_cmds_CXX
40087 # Whether we are building with GNU ld or not.
40088 with_gnu_ld=$lt_with_gnu_ld_CXX
40090 # Flag that allows shared libraries with undefined symbols to be built.
40091 allow_undefined_flag=$lt_allow_undefined_flag_CXX
40093 # Flag that enforces no undefined symbols.
40094 no_undefined_flag=$lt_no_undefined_flag_CXX
40096 # Flag to hardcode \$libdir into a binary during linking.
40097 # This must work even if \$libdir does not exist
40098 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
40100 # Whether we need a single "-rpath" flag with a separated argument.
40101 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
40103 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
40104 # DIR into the resulting binary.
40105 hardcode_direct=$hardcode_direct_CXX
40107 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
40108 # DIR into the resulting binary and the resulting library dependency is
40109 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
40110 # library is relocated.
40111 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
40113 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
40114 # into the resulting binary.
40115 hardcode_minus_L=$hardcode_minus_L_CXX
40117 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
40118 # into the resulting binary.
40119 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
40121 # Set to "yes" if building a shared library automatically hardcodes DIR
40122 # into the library and all subsequent libraries and executables linked
40124 hardcode_automatic=$hardcode_automatic_CXX
40126 # Set to yes if linker adds runtime paths of dependent libraries
40127 # to runtime path list.
40128 inherit_rpath=$inherit_rpath_CXX
40130 # Whether libtool must link a program against all its dependency libraries.
40131 link_all_deplibs=$link_all_deplibs_CXX
40133 # Set to "yes" if exported symbols are required.
40134 always_export_symbols=$always_export_symbols_CXX
40136 # The commands to list exported symbols.
40137 export_symbols_cmds=$lt_export_symbols_cmds_CXX
40139 # Symbols that should not be listed in the preloaded symbols.
40140 exclude_expsyms=$lt_exclude_expsyms_CXX
40142 # Symbols that must always be exported.
40143 include_expsyms=$lt_include_expsyms_CXX
40145 # Commands necessary for linking programs (against libraries) with templates.
40146 prelink_cmds=$lt_prelink_cmds_CXX
40148 # Commands necessary for finishing linking programs.
40149 postlink_cmds=$lt_postlink_cmds_CXX
40151 # Specify filename containing input files.
40152 file_list_spec=$lt_file_list_spec_CXX
40154 # How to hardcode a shared library path into an executable.
40155 hardcode_action=$hardcode_action_CXX
40157 # The directories searched by this compiler when creating a shared library.
40158 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
40160 # Dependencies to place before and after the objects being linked to
40161 # create a shared library.
40162 predep_objects=$lt_predep_objects_CXX
40163 postdep_objects=$lt_postdep_objects_CXX
40164 predeps=$lt_predeps_CXX
40165 postdeps=$lt_postdeps_CXX
40167 # The library search path used internally by the compiler when linking
40168 # a shared library.
40169 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
40171 # ### END LIBTOOL TAG CONFIG: CXX
40175 "po-directories":C)
40176 for ac_file in $CONFIG_FILES; do
40177 # Support "outfile[:infile[:infile...]]"
40179 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
40181 # PO directories have a Makefile.in generated from Makefile.in.in.
40182 case "$ac_file" in */Makefile.in)
40183 # Adjust a relative srcdir.
40184 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
40185 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
40186 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
40187 # In autoconf-2.13 it is called $ac_given_srcdir.
40188 # In autoconf-2.50 it is called $srcdir.
40189 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
40190 case "$ac_given_srcdir" in
40191 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
40192 /*) top_srcdir="$ac_given_srcdir" ;;
40193 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
40195 # Treat a directory as a PO directory if and only if it has a
40196 # POTFILES.in file. This allows packages to have multiple PO
40197 # directories under different names or in different locations.
40198 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
40199 rm -f "$ac_dir/POTFILES"
40200 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
40201 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
40202 POMAKEFILEDEPS="POTFILES.in"
40203 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
40204 # on $ac_dir but don't depend on user-specified configuration
40206 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
40207 # The LINGUAS file contains the set of available languages.
40208 if test -n "$OBSOLETE_ALL_LINGUAS"; then
40209 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
40211 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
40212 # Hide the ALL_LINGUAS assigment from automake < 1.5.
40213 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
40214 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
40216 # The set of available languages was given in configure.in.
40217 # Hide the ALL_LINGUAS assigment from automake < 1.5.
40218 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
40221 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
40222 # Compute UPDATEPOFILES
40223 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
40224 # Compute DUMMYPOFILES
40225 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
40227 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
40228 case "$ac_given_srcdir" in
40230 *) srcdirpre='$(srcdir)/' ;;
40236 for lang in $ALL_LINGUAS; do
40237 POFILES="$POFILES $srcdirpre$lang.po"
40238 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
40239 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
40240 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
40242 # CATALOGS depends on both $ac_dir and the user's LINGUAS
40243 # environment variable.
40245 if test -n "$ALL_LINGUAS"; then
40246 for presentlang in $ALL_LINGUAS; do
40248 if test "%UNSET%" != "$LINGUAS"; then
40249 desiredlanguages="$LINGUAS"
40251 desiredlanguages="$ALL_LINGUAS"
40253 for desiredlang in $desiredlanguages; do
40254 # Use the presentlang catalog if desiredlang is
40255 # a. equal to presentlang, or
40256 # b. a variant of presentlang (because in this case,
40257 # presentlang can be used as a fallback for messages
40258 # which are not translated in the desiredlang catalog).
40259 case "$desiredlang" in
40260 "$presentlang"*) useit=yes;;
40263 if test $useit = yes; then
40264 INST_LINGUAS="$INST_LINGUAS $presentlang"
40269 if test -n "$INST_LINGUAS"; then
40270 for lang in $INST_LINGUAS; do
40271 CATALOGS="$CATALOGS $lang.gmo"
40274 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
40275 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"
40276 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
40277 if test -f "$f"; then
40279 *.orig | *.bak | *~) ;;
40280 *) cat "$f" >> "$ac_dir/Makefile" ;;
40289 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
40290 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
40291 ac_stdint=$tmp/_stdint.h
40293 echo "#ifndef" $_ac_stdint_h >$ac_stdint
40294 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
40295 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
40296 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
40297 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
40298 if test "_$ac_cv_header_stdint_t" != "_" ; then
40299 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
40300 echo "#include <stdint.h>" >>$ac_stdint
40301 echo "#endif" >>$ac_stdint
40302 echo "#endif" >>$ac_stdint
40305 cat >>$ac_stdint <<STDINT_EOF
40307 /* ................... shortcircuit part ........................... */
40309 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
40310 #include <stdint.h>
40312 #include <stddef.h>
40314 /* .................... configured part ............................ */
40318 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
40319 if test "_$ac_cv_header_stdint_x" != "_" ; then
40320 ac_header="$ac_cv_header_stdint_x"
40321 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
40323 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
40326 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
40327 if test "_$ac_cv_header_stdint_o" != "_" ; then
40328 ac_header="$ac_cv_header_stdint_o"
40329 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
40331 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
40334 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
40335 if test "_$ac_cv_header_stdint_u" != "_" ; then
40336 ac_header="$ac_cv_header_stdint_u"
40337 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
40339 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
40342 echo "" >>$ac_stdint
40344 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
40345 echo "#include <$ac_header>" >>$ac_stdint
40346 echo "" >>$ac_stdint
40349 echo "/* which 64bit typedef has been found */" >>$ac_stdint
40350 if test "$ac_cv_type_uint64_t" = "yes" ; then
40351 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
40353 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
40355 if test "$ac_cv_type_u_int64_t" = "yes" ; then
40356 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
40358 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
40360 echo "" >>$ac_stdint
40362 echo "/* which type model has been detected */" >>$ac_stdint
40363 if test "_$ac_cv_char_data_model" != "_" ; then
40364 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
40365 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
40367 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
40368 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
40370 echo "" >>$ac_stdint
40372 echo "/* whether int_least types were detected */" >>$ac_stdint
40373 if test "$ac_cv_type_int_least32_t" = "yes"; then
40374 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
40376 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
40378 echo "/* whether int_fast types were detected */" >>$ac_stdint
40379 if test "$ac_cv_type_int_fast32_t" = "yes"; then
40380 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
40382 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
40384 echo "/* whether intmax_t type was detected */" >>$ac_stdint
40385 if test "$ac_cv_type_intmax_t" = "yes"; then
40386 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
40388 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
40390 echo "" >>$ac_stdint
40392 cat >>$ac_stdint <<STDINT_EOF
40393 /* .................... detections part ............................ */
40395 /* whether we need to define bitspecific types from compiler base types */
40396 #ifndef _STDINT_HEADER_INTPTR
40397 #ifndef _STDINT_HEADER_UINT32
40398 #ifndef _STDINT_HEADER_U_INT32
40399 #define _STDINT_NEED_INT_MODEL_T
40401 #define _STDINT_HAVE_U_INT_TYPES
40406 #ifdef _STDINT_HAVE_U_INT_TYPES
40407 #undef _STDINT_NEED_INT_MODEL_T
40410 #ifdef _STDINT_CHAR_MODEL
40411 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
40412 #ifndef _STDINT_BYTE_MODEL
40413 #define _STDINT_BYTE_MODEL 12
40418 #ifndef _STDINT_HAVE_INT_LEAST32_T
40419 #define _STDINT_NEED_INT_LEAST_T
40422 #ifndef _STDINT_HAVE_INT_FAST32_T
40423 #define _STDINT_NEED_INT_FAST_T
40426 #ifndef _STDINT_HEADER_INTPTR
40427 #define _STDINT_NEED_INTPTR_T
40428 #ifndef _STDINT_HAVE_INTMAX_T
40429 #define _STDINT_NEED_INTMAX_T
40434 /* .................... definition part ............................ */
40436 /* some system headers have good uint64_t */
40437 #ifndef _HAVE_UINT64_T
40438 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
40439 #define _HAVE_UINT64_T
40440 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
40441 #define _HAVE_UINT64_T
40442 typedef u_int64_t uint64_t;
40446 #ifndef _HAVE_UINT64_T
40447 /* .. here are some common heuristics using compiler runtime specifics */
40448 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
40449 #define _HAVE_UINT64_T
40450 #define _HAVE_LONGLONG_UINT64_T
40451 typedef long long int64_t;
40452 typedef unsigned long long uint64_t;
40454 #elif !defined __STRICT_ANSI__
40455 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
40456 #define _HAVE_UINT64_T
40457 typedef __int64 int64_t;
40458 typedef unsigned __int64 uint64_t;
40460 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
40461 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
40462 #if !defined _NO_LONGLONG
40463 #define _HAVE_UINT64_T
40464 #define _HAVE_LONGLONG_UINT64_T
40465 typedef long long int64_t;
40466 typedef unsigned long long uint64_t;
40469 #elif defined __alpha || (defined __mips && defined _ABIN32)
40470 #if !defined _NO_LONGLONG
40471 typedef long int64_t;
40472 typedef unsigned long uint64_t;
40474 /* compiler/cpu type to define int64_t */
40479 #if defined _STDINT_HAVE_U_INT_TYPES
40480 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
40481 typedef u_int8_t uint8_t;
40482 typedef u_int16_t uint16_t;
40483 typedef u_int32_t uint32_t;
40485 /* glibc compatibility */
40486 #ifndef __int8_t_defined
40487 #define __int8_t_defined
40491 #ifdef _STDINT_NEED_INT_MODEL_T
40492 /* we must guess all the basic types. Apart from byte-adressable system, */
40493 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
40494 /* (btw, those nibble-addressable systems are way off, or so we assume) */
40497 #if defined _STDINT_BYTE_MODEL
40498 #if _STDINT_LONG_MODEL+0 == 242
40499 /* 2:4:2 = IP16 = a normal 16-bit system */
40500 typedef unsigned char uint8_t;
40501 typedef unsigned short uint16_t;
40502 typedef unsigned long uint32_t;
40503 #ifndef __int8_t_defined
40504 #define __int8_t_defined
40505 typedef char int8_t;
40506 typedef short int16_t;
40507 typedef long int32_t;
40509 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
40510 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
40511 /* 4:4:4 = ILP32 = a normal 32-bit system */
40512 typedef unsigned char uint8_t;
40513 typedef unsigned short uint16_t;
40514 typedef unsigned int uint32_t;
40515 #ifndef __int8_t_defined
40516 #define __int8_t_defined
40517 typedef char int8_t;
40518 typedef short int16_t;
40519 typedef int int32_t;
40521 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
40522 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
40523 /* 4:8:8 = LP64 = a normal 64-bit system */
40524 typedef unsigned char uint8_t;
40525 typedef unsigned short uint16_t;
40526 typedef unsigned int uint32_t;
40527 #ifndef __int8_t_defined
40528 #define __int8_t_defined
40529 typedef char int8_t;
40530 typedef short int16_t;
40531 typedef int int32_t;
40533 /* this system has a "long" of 64bit */
40534 #ifndef _HAVE_UINT64_T
40535 #define _HAVE_UINT64_T
40536 typedef unsigned long uint64_t;
40537 typedef long int64_t;
40539 #elif _STDINT_LONG_MODEL+0 == 448
40540 /* LLP64 a 64-bit system derived from a 32-bit system */
40541 typedef unsigned char uint8_t;
40542 typedef unsigned short uint16_t;
40543 typedef unsigned int uint32_t;
40544 #ifndef __int8_t_defined
40545 #define __int8_t_defined
40546 typedef char int8_t;
40547 typedef short int16_t;
40548 typedef int int32_t;
40550 /* assuming the system has a "long long" */
40551 #ifndef _HAVE_UINT64_T
40552 #define _HAVE_UINT64_T
40553 #define _HAVE_LONGLONG_UINT64_T
40554 typedef unsigned long long uint64_t;
40555 typedef long long int64_t;
40558 #define _STDINT_NO_INT32_T
40561 #define _STDINT_NO_INT8_T
40562 #define _STDINT_NO_INT32_T
40567 * quote from SunOS-5.8 sys/inttypes.h:
40568 * Use at your own risk. As of February 1996, the committee is squarely
40569 * behind the fixed sized types; the "least" and "fast" types are still being
40570 * discussed. The probability that the "fast" types may be removed before
40571 * the standard is finalized is high enough that they are not currently
40575 #if defined _STDINT_NEED_INT_LEAST_T
40576 typedef int8_t int_least8_t;
40577 typedef int16_t int_least16_t;
40578 typedef int32_t int_least32_t;
40579 #ifdef _HAVE_UINT64_T
40580 typedef int64_t int_least64_t;
40583 typedef uint8_t uint_least8_t;
40584 typedef uint16_t uint_least16_t;
40585 typedef uint32_t uint_least32_t;
40586 #ifdef _HAVE_UINT64_T
40587 typedef uint64_t uint_least64_t;
40592 #if defined _STDINT_NEED_INT_FAST_T
40593 typedef int8_t int_fast8_t;
40594 typedef int int_fast16_t;
40595 typedef int32_t int_fast32_t;
40596 #ifdef _HAVE_UINT64_T
40597 typedef int64_t int_fast64_t;
40600 typedef uint8_t uint_fast8_t;
40601 typedef unsigned uint_fast16_t;
40602 typedef uint32_t uint_fast32_t;
40603 #ifdef _HAVE_UINT64_T
40604 typedef uint64_t uint_fast64_t;
40609 #ifdef _STDINT_NEED_INTMAX_T
40610 #ifdef _HAVE_UINT64_T
40611 typedef int64_t intmax_t;
40612 typedef uint64_t uintmax_t;
40614 typedef long intmax_t;
40615 typedef unsigned long uintmax_t;
40619 #ifdef _STDINT_NEED_INTPTR_T
40620 #ifndef __intptr_t_defined
40621 #define __intptr_t_defined
40622 /* we encourage using "long" to store pointer values, never use "int" ! */
40623 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
40624 typedef unsigned int uintptr_t;
40625 typedef int intptr_t;
40626 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
40627 typedef unsigned long uintptr_t;
40628 typedef long intptr_t;
40629 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
40630 typedef uint64_t uintptr_t;
40631 typedef int64_t intptr_t;
40632 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
40633 typedef unsigned long uintptr_t;
40634 typedef long intptr_t;
40639 /* The ISO C99 standard specifies that in C++ implementations these
40640 should only be defined if explicitly requested. */
40641 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
40645 # define INT8_C(c) c
40646 # define INT16_C(c) c
40647 # define INT32_C(c) c
40648 # ifdef _HAVE_LONGLONG_UINT64_T
40649 # define INT64_C(c) c ## L
40651 # define INT64_C(c) c ## LL
40655 # define UINT8_C(c) c ## U
40656 # define UINT16_C(c) c ## U
40657 # define UINT32_C(c) c ## U
40658 # ifdef _HAVE_LONGLONG_UINT64_T
40659 # define UINT64_C(c) c ## UL
40661 # define UINT64_C(c) c ## ULL
40664 /* Maximal type. */
40665 # ifdef _HAVE_LONGLONG_UINT64_T
40666 # define INTMAX_C(c) c ## L
40667 # define UINTMAX_C(c) c ## UL
40669 # define INTMAX_C(c) c ## LL
40670 # define UINTMAX_C(c) c ## ULL
40673 /* literalnumbers */
40677 /* These limits are merily those of a two complement byte-oriented system */
40679 /* Minimum of signed integral types. */
40680 # define INT8_MIN (-128)
40681 # define INT16_MIN (-32767-1)
40682 # define INT32_MIN (-2147483647-1)
40683 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
40684 /* Maximum of signed integral types. */
40685 # define INT8_MAX (127)
40686 # define INT16_MAX (32767)
40687 # define INT32_MAX (2147483647)
40688 # define INT64_MAX (__INT64_C(9223372036854775807))
40690 /* Maximum of unsigned integral types. */
40691 # define UINT8_MAX (255)
40692 # define UINT16_MAX (65535)
40693 # define UINT32_MAX (4294967295U)
40694 # define UINT64_MAX (__UINT64_C(18446744073709551615))
40696 /* Minimum of signed integral types having a minimum size. */
40697 # define INT_LEAST8_MIN INT8_MIN
40698 # define INT_LEAST16_MIN INT16_MIN
40699 # define INT_LEAST32_MIN INT32_MIN
40700 # define INT_LEAST64_MIN INT64_MIN
40701 /* Maximum of signed integral types having a minimum size. */
40702 # define INT_LEAST8_MAX INT8_MAX
40703 # define INT_LEAST16_MAX INT16_MAX
40704 # define INT_LEAST32_MAX INT32_MAX
40705 # define INT_LEAST64_MAX INT64_MAX
40707 /* Maximum of unsigned integral types having a minimum size. */
40708 # define UINT_LEAST8_MAX UINT8_MAX
40709 # define UINT_LEAST16_MAX UINT16_MAX
40710 # define UINT_LEAST32_MAX UINT32_MAX
40711 # define UINT_LEAST64_MAX UINT64_MAX
40720 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
40721 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
40722 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
40724 ac_dir=`$as_dirname -- "$ac_stdint_h" ||
40725 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40726 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
40727 X"$ac_stdint_h" : 'X\(//\)$' \| \
40728 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
40729 $as_echo X"$ac_stdint_h" |
40730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
40734 /^X\(\/\/\)[^/].*/{
40747 as_dir="$ac_dir"; as_fn_mkdir_p
40749 mv $ac_stdint $ac_stdint_h
40759 ac_clean_files=$ac_clean_files_save
40761 test $ac_write_fail = 0 ||
40762 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
40765 # configure is writing to config.log, and then calls config.status.
40766 # config.status does its own redirection, appending to config.log.
40767 # Unfortunately, on DOS this fails, as config.log is still kept open
40768 # by configure, so config.status won't be able to write to it; its
40769 # output is simply discarded. So we exec the FD to /dev/null,
40770 # effectively closing config.log, so it can be properly (re)opened and
40771 # appended to by config.status. When coming back to configure, we
40772 # need to make the FD available again.
40773 if test "$no_create" != yes; then
40775 ac_config_status_args=
40776 test "$silent" = yes &&
40777 ac_config_status_args="$ac_config_status_args --quiet"
40779 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
40781 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
40782 # would make configure fail if this is the last instruction.
40783 $ac_cs_success || as_fn_exit 1
40785 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
40786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
40787 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
40793 printf "configure: *** Plug-ins without external dependencies that will be built:\n"
40794 ( for i in $GST_PLUGINS_SELECTED; do printf '\t'$i'\n'; done ) | sort
40797 printf "configure: *** Plug-ins without external dependencies that will NOT be built:\n"
40798 ( for i in $GST_PLUGINS_ALL; do
40799 case " $GST_PLUGINS_SELECTED " in
40809 if test "x$BUILD_EXTERNAL" = "xno"; then
40810 printf "configure: *** No plug-ins with external dependencies will be built\n"
40812 printf "configure: *** Plug-ins with dependencies that will be built:"
40813 printf "$GST_PLUGINS_YES\n" | sort
40815 printf "configure: *** Plug-ins with dependencies that will NOT be built:"
40816 printf "$GST_PLUGINS_NO\n" | sort
40821 if test "$HAVE_ORC" = yes ; then
40822 printf "configure: *** Orc acceleration enabled.\n"
40824 if test "x$enable_orc" = "xno" ; then
40825 printf "configure: *** Orc acceleration disabled by --disable-orc. Slower code paths\n"
40826 printf " will be used.\n"
40828 printf "configure: *** Orc acceleration disabled. Requires Orc >= $ORC_REQ, which was\n"
40829 printf " not found. Slower code paths will be used.\n"