2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for GStreamer Bad Plug-ins 0.10.23.
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 Bad Plug-ins'
573 PACKAGE_TARNAME='gst-plugins-bad'
574 PACKAGE_VERSION='0.10.23'
575 PACKAGE_STRING='GStreamer Bad Plug-ins 0.10.23'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
579 ac_unique_file="docs/plugins/gst-plugins-bad-plugins-docs.sgml"
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
625 GST_PLUGINS_BAD_CXXFLAGS
626 GST_PLUGINS_BAD_CFLAGS
637 GSETTINGS_DISABLE_SCHEMAS_COMPILE
703 USE_TELETEXTDEC_FALSE
754 USE_MUSICBRAINZ_FALSE
908 USE_APPLE_MEDIA_FALSE
918 USE_DIRECTSOUND_FALSE
926 HAVE_WINSOCK2_H_FALSE
933 USE_PLUGIN_VMNC_FALSE
935 USE_PLUGIN_VIDEOSIGNAL_FALSE
936 USE_PLUGIN_VIDEOSIGNAL_TRUE
937 USE_PLUGIN_VIDEOPARSERS_FALSE
938 USE_PLUGIN_VIDEOPARSERS_TRUE
939 USE_PLUGIN_VIDEOMEASURE_FALSE
940 USE_PLUGIN_VIDEOMEASURE_TRUE
941 USE_PLUGIN_VIDEOMAXRATE_FALSE
942 USE_PLUGIN_VIDEOMAXRATE_TRUE
943 USE_PLUGIN_VIDEOFILTERS_FALSE
944 USE_PLUGIN_VIDEOFILTERS_TRUE
947 USE_PLUGIN_STEREO_FALSE
948 USE_PLUGIN_STEREO_TRUE
949 USE_PLUGIN_SUBENC_FALSE
950 USE_PLUGIN_SUBENC_TRUE
951 USE_PLUGIN_SPEED_FALSE
952 USE_PLUGIN_SPEED_TRUE
953 USE_PLUGIN_SMOOTH_FALSE
954 USE_PLUGIN_SMOOTH_TRUE
955 USE_PLUGIN_SIREN_FALSE
956 USE_PLUGIN_SIREN_TRUE
957 USE_PLUGIN_SEGMENTCLIP_FALSE
958 USE_PLUGIN_SEGMENTCLIP_TRUE
963 USE_PLUGIN_SCALETEMPO_FALSE
964 USE_PLUGIN_SCALETEMPO_TRUE
965 USE_PLUGIN_RTPVP8_FALSE
966 USE_PLUGIN_RTPVP8_TRUE
967 USE_PLUGIN_RTPMUX_FALSE
968 USE_PLUGIN_RTPMUX_TRUE
969 USE_PLUGIN_REMOVESILENCE_FALSE
970 USE_PLUGIN_REMOVESILENCE_TRUE
971 USE_PLUGIN_REAL_FALSE
973 USE_PLUGIN_RAWPARSE_FALSE
974 USE_PLUGIN_RAWPARSE_TRUE
977 USE_PLUGIN_PCAPPARSE_FALSE
978 USE_PLUGIN_PCAPPARSE_TRUE
979 USE_PLUGIN_PATCHDETECT_FALSE
980 USE_PLUGIN_PATCHDETECT_TRUE
981 USE_PLUGIN_NUVDEMUX_FALSE
982 USE_PLUGIN_NUVDEMUX_TRUE
989 USE_PLUGIN_MPEGVIDEOPARSE_FALSE
990 USE_PLUGIN_MPEGVIDEOPARSE_TRUE
991 USE_PLUGIN_MPEGPSMUX_FALSE
992 USE_PLUGIN_MPEGPSMUX_TRUE
993 USE_PLUGIN_MPEGTSMUX_FALSE
994 USE_PLUGIN_MPEGTSMUX_TRUE
995 USE_PLUGIN_MPEGTSDEMUX_FALSE
996 USE_PLUGIN_MPEGTSDEMUX_TRUE
997 USE_PLUGIN_MPEGDEMUX_FALSE
998 USE_PLUGIN_MPEGDEMUX_TRUE
999 USE_PLUGIN_LIVEADDER_FALSE
1000 USE_PLUGIN_LIVEADDER_TRUE
1001 USE_PLUGIN_LIBRFB_FALSE
1002 USE_PLUGIN_LIBRFB_TRUE
1003 USE_PLUGIN_LEGACYRESAMPLE_FALSE
1004 USE_PLUGIN_LEGACYRESAMPLE_TRUE
1005 USE_PLUGIN_JPEGFORMAT_FALSE
1006 USE_PLUGIN_JPEGFORMAT_TRUE
1007 USE_PLUGIN_JP2KDECIMATOR_FALSE
1008 USE_PLUGIN_JP2KDECIMATOR_TRUE
1009 USE_PLUGIN_IVFPARSE_FALSE
1010 USE_PLUGIN_IVFPARSE_TRUE
1011 USE_PLUGIN_INTERLACE_FALSE
1012 USE_PLUGIN_INTERLACE_TRUE
1013 USE_PLUGIN_INTER_FALSE
1014 USE_PLUGIN_INTER_TRUE
1015 USE_PLUGIN_ID3TAG_FALSE
1016 USE_PLUGIN_ID3TAG_TRUE
1017 USE_PLUGIN_HLS_FALSE
1019 USE_PLUGIN_HDVPARSE_FALSE
1020 USE_PLUGIN_HDVPARSE_TRUE
1021 USE_PLUGIN_H264PARSE_FALSE
1022 USE_PLUGIN_H264PARSE_TRUE
1023 USE_PLUGIN_GEOMETRICTRANSFORM_FALSE
1024 USE_PLUGIN_GEOMETRICTRANSFORM_TRUE
1025 USE_PLUGIN_GAUDIEFFECTS_FALSE
1026 USE_PLUGIN_GAUDIEFFECTS_TRUE
1027 USE_PLUGIN_FREI0R_FALSE
1028 USE_PLUGIN_FREI0R_TRUE
1029 USE_PLUGIN_FREEVERB_FALSE
1030 USE_PLUGIN_FREEVERB_TRUE
1031 USE_PLUGIN_FREEZE_FALSE
1032 USE_PLUGIN_FREEZE_TRUE
1033 USE_PLUGIN_FIELDANALYSIS_FALSE
1034 USE_PLUGIN_FIELDANALYSIS_TRUE
1035 USE_PLUGIN_FESTIVAL_FALSE
1036 USE_PLUGIN_FESTIVAL_TRUE
1037 USE_PLUGIN_FACEOVERLAY_FALSE
1038 USE_PLUGIN_FACEOVERLAY_TRUE
1039 USE_PLUGIN_DVDSPU_FALSE
1040 USE_PLUGIN_DVDSPU_TRUE
1041 USE_PLUGIN_DVBSUBOVERLAY_FALSE
1042 USE_PLUGIN_DVBSUBOVERLAY_TRUE
1043 USE_PLUGIN_DTMF_FALSE
1044 USE_PLUGIN_DTMF_TRUE
1045 USE_PLUGIN_DEBUGUTILS_FALSE
1046 USE_PLUGIN_DEBUGUTILS_TRUE
1047 USE_PLUGIN_DCCP_FALSE
1048 USE_PLUGIN_DCCP_TRUE
1049 USE_PLUGIN_DATAURISRC_FALSE
1050 USE_PLUGIN_DATAURISRC_TRUE
1051 USE_PLUGIN_COLORSPACE_FALSE
1052 USE_PLUGIN_COLORSPACE_TRUE
1053 USE_PLUGIN_COLOREFFECTS_FALSE
1054 USE_PLUGIN_COLOREFFECTS_TRUE
1055 USE_PLUGIN_CDXAPARSE_FALSE
1056 USE_PLUGIN_CDXAPARSE_TRUE
1057 USE_PLUGIN_CAMERABIN2_FALSE
1058 USE_PLUGIN_CAMERABIN2_TRUE
1059 USE_PLUGIN_CAMERABIN_FALSE
1060 USE_PLUGIN_CAMERABIN_TRUE
1061 USE_PLUGIN_BAYER_FALSE
1062 USE_PLUGIN_BAYER_TRUE
1063 USE_PLUGIN_AUTOCONVERT_FALSE
1064 USE_PLUGIN_AUTOCONVERT_TRUE
1065 USE_PLUGIN_AUDIOVISUALIZERS_FALSE
1066 USE_PLUGIN_AUDIOVISUALIZERS_TRUE
1067 USE_PLUGIN_ASFMUX_FALSE
1068 USE_PLUGIN_ASFMUX_TRUE
1069 USE_PLUGIN_AIFF_FALSE
1070 USE_PLUGIN_AIFF_TRUE
1071 USE_PLUGIN_ADPCMENC_FALSE
1072 USE_PLUGIN_ADPCMENC_TRUE
1073 USE_PLUGIN_ADPCMDEC_FALSE
1074 USE_PLUGIN_ADPCMDEC_TRUE
1107 GMODULE_EXPORT_CFLAGS
1115 GST_PLUGINS_FFMPEG_DIR
1116 GST_PLUGINS_FFMPEG_LIBS
1117 GST_PLUGINS_FFMPEG_CFLAGS
1118 GST_PLUGINS_UGLY_DIR
1119 GST_PLUGINS_UGLY_LIBS
1120 GST_PLUGINS_UGLY_CFLAGS
1121 GST_PLUGINS_GOOD_DIR
1122 GST_PLUGINS_GOOD_LIBS
1123 GST_PLUGINS_GOOD_CFLAGS
1125 GST_PLUGINS_BASE_DIR
1126 GST_PLUGINS_BASE_LIBS
1127 GST_PLUGINS_BASE_CFLAGS
1128 HAVE_GST_CHECK_FALSE
1131 GST_CONTROLLER_CFLAGS
1146 HAVE_PTHREAD_H_FALSE
1151 ENABLE_PLUGIN_DOCS_FALSE
1152 ENABLE_PLUGIN_DOCS_TRUE
1162 GTK_DOC_USE_LIBTOOL_FALSE
1163 GTK_DOC_USE_LIBTOOL_TRUE
1164 ENABLE_GTK_DOC_FALSE
1171 am__fastdepOBJC_FALSE
1172 am__fastdepOBJC_TRUE
1179 am__fastdepCXX_FALSE
1184 HAVE_CPU_CRISV32_FALSE
1185 HAVE_CPU_CRISV32_TRUE
1188 HAVE_CPU_X86_64_FALSE
1189 HAVE_CPU_X86_64_TRUE
1200 HAVE_CPU_SPARC_FALSE
1204 HAVE_CPU_ALPHA_FALSE
1206 HAVE_CPU_PPC64_FALSE
1212 BUILD_EXPERIMENTAL_FALSE
1213 BUILD_EXPERIMENTAL_TRUE
1214 USE_EXPERIMENTAL_FALSE
1215 USE_EXPERIMENTAL_TRUE
1216 BUILD_EXTERNAL_FALSE
1220 GST_PLUGINS_SELECTED
1224 BUILD_EXAMPLES_FALSE
1226 GST_GCOV_ENABLED_FALSE
1227 GST_GCOV_ENABLED_TRUE
1246 XGETTEXT_EXTRA_OPTIONS
1254 GETTEXT_MACRO_VERSION
1304 AM_DEFAULT_VERBOSITY
1316 MAINTAINER_MODE_FALSE
1317 MAINTAINER_MODE_TRUE
1318 PACKAGE_VERSION_RELEASE
1319 PACKAGE_VERSION_NANO
1320 PACKAGE_VERSION_MICRO
1321 PACKAGE_VERSION_MINOR
1322 PACKAGE_VERSION_MAJOR
1331 INSTALL_STRIP_PROGRAM
1373 program_transform_name
1386 enable_option_checking
1387 enable_maintainer_mode
1393 enable_dependency_tracking
1403 with_libiconv_prefix
1410 with_pkg_config_path
1418 enable_gobject_cast_checks
1422 with_default_audiosink
1423 with_default_audiosrc
1424 with_default_videosink
1425 with_default_videosrc
1426 with_default_visualizer
1431 enable_audiovisualizers
1443 enable_dvbsuboverlay
1447 enable_fieldanalysis
1452 enable_geometrictransform
1460 enable_jp2kdecimator
1462 enable_legacyresample
1469 enable_mpegvideoparse
1479 enable_removesilence
1550 with_pvr_external_headers
1557 with_sdl_exec_prefix
1575 enable_schemas_compile
1577 ac_precious_vars='build_alias
1603 GST_CONTROLLER_CFLAGS
1605 GST_PLUGINS_BASE_CFLAGS
1606 GST_PLUGINS_BASE_LIBS
1607 GST_PLUGINS_GOOD_CFLAGS
1608 GST_PLUGINS_GOOD_LIBS
1609 GST_PLUGINS_UGLY_CFLAGS
1610 GST_PLUGINS_UGLY_LIBS
1611 GST_PLUGINS_FFMPEG_CFLAGS
1612 GST_PLUGINS_FFMPEG_LIBS
1615 GMODULE_EXPORT_CFLAGS
1718 # Initialize some variables set by options.
1720 ac_init_version=false
1721 ac_unrecognized_opts=
1722 ac_unrecognized_sep=
1723 # The variables have the same names as the options, with
1724 # dashes changed to underlines.
1725 cache_file=/dev/null
1732 program_transform_name=s,x,x,
1740 # Installation directory options.
1741 # These are left unexpanded so users can "make install exec_prefix=/foo"
1742 # and all the variables that are supposed to be based on exec_prefix
1743 # by default will actually change.
1744 # Use braces instead of parens because sh, perl, etc. also accept them.
1745 # (The list follows the same order as the GNU Coding Standards.)
1746 bindir='${exec_prefix}/bin'
1747 sbindir='${exec_prefix}/sbin'
1748 libexecdir='${exec_prefix}/libexec'
1749 datarootdir='${prefix}/share'
1750 datadir='${datarootdir}'
1751 sysconfdir='${prefix}/etc'
1752 sharedstatedir='${prefix}/com'
1753 localstatedir='${prefix}/var'
1754 includedir='${prefix}/include'
1755 oldincludedir='/usr/include'
1756 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1757 infodir='${datarootdir}/info'
1762 libdir='${exec_prefix}/lib'
1763 localedir='${datarootdir}/locale'
1764 mandir='${datarootdir}/man'
1770 # If the previous option needs an argument, assign it.
1771 if test -n "$ac_prev"; then
1772 eval $ac_prev=\$ac_option
1778 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1783 # Accept the important Cygnus configure options, so we can diagnose typos.
1785 case $ac_dashdash$ac_option in
1789 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1791 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1792 bindir=$ac_optarg ;;
1794 -build | --build | --buil | --bui | --bu)
1795 ac_prev=build_alias ;;
1796 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1797 build_alias=$ac_optarg ;;
1799 -cache-file | --cache-file | --cache-fil | --cache-fi \
1800 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1801 ac_prev=cache_file ;;
1802 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1803 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1804 cache_file=$ac_optarg ;;
1806 --config-cache | -C)
1807 cache_file=config.cache ;;
1809 -datadir | --datadir | --datadi | --datad)
1811 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1812 datadir=$ac_optarg ;;
1814 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1815 | --dataroo | --dataro | --datar)
1816 ac_prev=datarootdir ;;
1817 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1818 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1819 datarootdir=$ac_optarg ;;
1821 -disable-* | --disable-*)
1822 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1823 # Reject names that are not valid shell variable names.
1824 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1825 as_fn_error $? "invalid feature name: $ac_useropt"
1826 ac_useropt_orig=$ac_useropt
1827 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1828 case $ac_user_opts in
1830 "enable_$ac_useropt"
1832 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1833 ac_unrecognized_sep=', ';;
1835 eval enable_$ac_useropt=no ;;
1837 -docdir | --docdir | --docdi | --doc | --do)
1839 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1840 docdir=$ac_optarg ;;
1842 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1844 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1845 dvidir=$ac_optarg ;;
1847 -enable-* | --enable-*)
1848 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1849 # Reject names that are not valid shell variable names.
1850 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1851 as_fn_error $? "invalid feature name: $ac_useropt"
1852 ac_useropt_orig=$ac_useropt
1853 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1854 case $ac_user_opts in
1856 "enable_$ac_useropt"
1858 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1859 ac_unrecognized_sep=', ';;
1861 eval enable_$ac_useropt=\$ac_optarg ;;
1863 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1864 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1865 | --exec | --exe | --ex)
1866 ac_prev=exec_prefix ;;
1867 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1868 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1869 | --exec=* | --exe=* | --ex=*)
1870 exec_prefix=$ac_optarg ;;
1872 -gas | --gas | --ga | --g)
1873 # Obsolete; use --with-gas.
1876 -help | --help | --hel | --he | -h)
1877 ac_init_help=long ;;
1878 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1879 ac_init_help=recursive ;;
1880 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1881 ac_init_help=short ;;
1883 -host | --host | --hos | --ho)
1884 ac_prev=host_alias ;;
1885 -host=* | --host=* | --hos=* | --ho=*)
1886 host_alias=$ac_optarg ;;
1888 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1890 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1892 htmldir=$ac_optarg ;;
1894 -includedir | --includedir | --includedi | --included | --include \
1895 | --includ | --inclu | --incl | --inc)
1896 ac_prev=includedir ;;
1897 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1898 | --includ=* | --inclu=* | --incl=* | --inc=*)
1899 includedir=$ac_optarg ;;
1901 -infodir | --infodir | --infodi | --infod | --info | --inf)
1903 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1904 infodir=$ac_optarg ;;
1906 -libdir | --libdir | --libdi | --libd)
1908 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1909 libdir=$ac_optarg ;;
1911 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1912 | --libexe | --libex | --libe)
1913 ac_prev=libexecdir ;;
1914 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1915 | --libexe=* | --libex=* | --libe=*)
1916 libexecdir=$ac_optarg ;;
1918 -localedir | --localedir | --localedi | --localed | --locale)
1919 ac_prev=localedir ;;
1920 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1921 localedir=$ac_optarg ;;
1923 -localstatedir | --localstatedir | --localstatedi | --localstated \
1924 | --localstate | --localstat | --localsta | --localst | --locals)
1925 ac_prev=localstatedir ;;
1926 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1927 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1928 localstatedir=$ac_optarg ;;
1930 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1932 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1933 mandir=$ac_optarg ;;
1935 -nfp | --nfp | --nf)
1936 # Obsolete; use --without-fp.
1939 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1940 | --no-cr | --no-c | -n)
1943 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1944 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1947 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1948 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1949 | --oldin | --oldi | --old | --ol | --o)
1950 ac_prev=oldincludedir ;;
1951 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1952 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1953 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1954 oldincludedir=$ac_optarg ;;
1956 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1958 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1959 prefix=$ac_optarg ;;
1961 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1962 | --program-pre | --program-pr | --program-p)
1963 ac_prev=program_prefix ;;
1964 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1965 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1966 program_prefix=$ac_optarg ;;
1968 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1969 | --program-suf | --program-su | --program-s)
1970 ac_prev=program_suffix ;;
1971 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1972 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1973 program_suffix=$ac_optarg ;;
1975 -program-transform-name | --program-transform-name \
1976 | --program-transform-nam | --program-transform-na \
1977 | --program-transform-n | --program-transform- \
1978 | --program-transform | --program-transfor \
1979 | --program-transfo | --program-transf \
1980 | --program-trans | --program-tran \
1981 | --progr-tra | --program-tr | --program-t)
1982 ac_prev=program_transform_name ;;
1983 -program-transform-name=* | --program-transform-name=* \
1984 | --program-transform-nam=* | --program-transform-na=* \
1985 | --program-transform-n=* | --program-transform-=* \
1986 | --program-transform=* | --program-transfor=* \
1987 | --program-transfo=* | --program-transf=* \
1988 | --program-trans=* | --program-tran=* \
1989 | --progr-tra=* | --program-tr=* | --program-t=*)
1990 program_transform_name=$ac_optarg ;;
1992 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1994 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1995 pdfdir=$ac_optarg ;;
1997 -psdir | --psdir | --psdi | --psd | --ps)
1999 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2002 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2003 | -silent | --silent | --silen | --sile | --sil)
2006 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2008 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2010 sbindir=$ac_optarg ;;
2012 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2013 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2014 | --sharedst | --shareds | --shared | --share | --shar \
2016 ac_prev=sharedstatedir ;;
2017 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2018 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2019 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2021 sharedstatedir=$ac_optarg ;;
2023 -site | --site | --sit)
2025 -site=* | --site=* | --sit=*)
2028 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2030 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2031 srcdir=$ac_optarg ;;
2033 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2034 | --syscon | --sysco | --sysc | --sys | --sy)
2035 ac_prev=sysconfdir ;;
2036 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2037 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2038 sysconfdir=$ac_optarg ;;
2040 -target | --target | --targe | --targ | --tar | --ta | --t)
2041 ac_prev=target_alias ;;
2042 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2043 target_alias=$ac_optarg ;;
2045 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2048 -version | --version | --versio | --versi | --vers | -V)
2049 ac_init_version=: ;;
2052 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2053 # Reject names that are not valid shell variable names.
2054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2055 as_fn_error $? "invalid package name: $ac_useropt"
2056 ac_useropt_orig=$ac_useropt
2057 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2058 case $ac_user_opts in
2062 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2063 ac_unrecognized_sep=', ';;
2065 eval with_$ac_useropt=\$ac_optarg ;;
2067 -without-* | --without-*)
2068 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2069 # Reject names that are not valid shell variable names.
2070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2071 as_fn_error $? "invalid package name: $ac_useropt"
2072 ac_useropt_orig=$ac_useropt
2073 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2074 case $ac_user_opts in
2078 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2079 ac_unrecognized_sep=', ';;
2081 eval with_$ac_useropt=no ;;
2084 # Obsolete; use --with-x.
2087 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2088 | --x-incl | --x-inc | --x-in | --x-i)
2089 ac_prev=x_includes ;;
2090 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2091 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2092 x_includes=$ac_optarg ;;
2094 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2095 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2096 ac_prev=x_libraries ;;
2097 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2098 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2099 x_libraries=$ac_optarg ;;
2101 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2102 Try \`$0 --help' for more information"
2106 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2107 # Reject names that are not valid shell variable names.
2108 case $ac_envvar in #(
2109 '' | [0-9]* | *[!_$as_cr_alnum]* )
2110 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2112 eval $ac_envvar=\$ac_optarg
2113 export $ac_envvar ;;
2116 # FIXME: should be removed in autoconf 3.0.
2117 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2118 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2119 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2120 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2126 if test -n "$ac_prev"; then
2127 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2128 as_fn_error $? "missing argument to $ac_option"
2131 if test -n "$ac_unrecognized_opts"; then
2132 case $enable_option_checking in
2134 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2135 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2139 # Check all directory arguments for consistency.
2140 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2141 datadir sysconfdir sharedstatedir localstatedir includedir \
2142 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2143 libdir localedir mandir
2145 eval ac_val=\$$ac_var
2146 # Remove trailing slashes.
2149 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2150 eval $ac_var=\$ac_val;;
2152 # Be sure to have absolute directory names.
2154 [\\/$]* | ?:[\\/]* ) continue;;
2155 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2157 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2160 # There might be people who depend on the old broken behavior: `$host'
2161 # used to hold the argument of --host etc.
2162 # FIXME: To remove some day.
2165 target=$target_alias
2167 # FIXME: To remove some day.
2168 if test "x$host_alias" != x; then
2169 if test "x$build_alias" = x; then
2170 cross_compiling=maybe
2171 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
2172 If a cross compiler is detected then cross compile mode will be used" >&2
2173 elif test "x$build_alias" != "x$host_alias"; then
2179 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2181 test "$silent" = yes && exec 6>/dev/null
2184 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2185 ac_ls_di=`ls -di .` &&
2186 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2187 as_fn_error $? "working directory cannot be determined"
2188 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2189 as_fn_error $? "pwd does not report name of working directory"
2192 # Find the source files, if location was not specified.
2193 if test -z "$srcdir"; then
2194 ac_srcdir_defaulted=yes
2195 # Try the directory containing this script, then the parent directory.
2196 ac_confdir=`$as_dirname -- "$as_myself" ||
2197 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2198 X"$as_myself" : 'X\(//\)[^/]' \| \
2199 X"$as_myself" : 'X\(//\)$' \| \
2200 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2201 $as_echo X"$as_myself" |
2202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2220 if test ! -r "$srcdir/$ac_unique_file"; then
2224 ac_srcdir_defaulted=no
2226 if test ! -r "$srcdir/$ac_unique_file"; then
2227 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2228 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2230 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2232 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2234 # When building in place, set srcdir=.
2235 if test "$ac_abs_confdir" = "$ac_pwd"; then
2238 # Remove unnecessary trailing slashes from srcdir.
2239 # Double slashes in file names in object file debugging info
2240 # mess up M-x gdb in Emacs.
2242 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2244 for ac_var in $ac_precious_vars; do
2245 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2246 eval ac_env_${ac_var}_value=\$${ac_var}
2247 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2248 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2252 # Report the --help message.
2254 if test "$ac_init_help" = "long"; then
2255 # Omit some internal or obsolete options to make the list less imposing.
2256 # This message is too long to be a string in the A/UX 3.1 sh.
2258 \`configure' configures GStreamer Bad Plug-ins 0.10.23 to adapt to many kinds of systems.
2260 Usage: $0 [OPTION]... [VAR=VALUE]...
2262 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2263 VAR=VALUE. See below for descriptions of some of the useful variables.
2265 Defaults for the options are specified in brackets.
2268 -h, --help display this help and exit
2269 --help=short display options specific to this package
2270 --help=recursive display the short help of all the included packages
2271 -V, --version display version information and exit
2272 -q, --quiet, --silent do not print \`checking ...' messages
2273 --cache-file=FILE cache test results in FILE [disabled]
2274 -C, --config-cache alias for \`--cache-file=config.cache'
2275 -n, --no-create do not create output files
2276 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2278 Installation directories:
2279 --prefix=PREFIX install architecture-independent files in PREFIX
2280 [$ac_default_prefix]
2281 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2284 By default, \`make install' will install all the files in
2285 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2286 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2287 for instance \`--prefix=\$HOME'.
2289 For better control, use the options below.
2291 Fine tuning of the installation directories:
2292 --bindir=DIR user executables [EPREFIX/bin]
2293 --sbindir=DIR system admin executables [EPREFIX/sbin]
2294 --libexecdir=DIR program executables [EPREFIX/libexec]
2295 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2296 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2297 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2298 --libdir=DIR object code libraries [EPREFIX/lib]
2299 --includedir=DIR C header files [PREFIX/include]
2300 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2301 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2302 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2303 --infodir=DIR info documentation [DATAROOTDIR/info]
2304 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2305 --mandir=DIR man documentation [DATAROOTDIR/man]
2306 --docdir=DIR documentation root [DATAROOTDIR/doc/gst-plugins-bad]
2307 --htmldir=DIR html documentation [DOCDIR]
2308 --dvidir=DIR dvi documentation [DOCDIR]
2309 --pdfdir=DIR pdf documentation [DOCDIR]
2310 --psdir=DIR ps documentation [DOCDIR]
2316 --program-prefix=PREFIX prepend PREFIX to installed program names
2317 --program-suffix=SUFFIX append SUFFIX to installed program names
2318 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
2321 --x-includes=DIR X include files are in DIR
2322 --x-libraries=DIR X library files are in DIR
2325 --build=BUILD configure for building on BUILD [guessed]
2326 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2330 if test -n "$ac_init_help"; then
2331 case $ac_init_help in
2332 short | recursive ) echo "Configuration of GStreamer Bad Plug-ins 0.10.23:";;
2337 --disable-option-checking ignore unrecognized --enable/--with options
2338 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2339 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2340 --enable-maintainer-mode enable make rules and dependencies not useful
2341 (and sometimes confusing) to the casual installer
2342 --enable-silent-rules less verbose build output (undo: `make V=1')
2343 --disable-silent-rules verbose build output (undo: `make V=0')
2344 --enable-shared[=PKGS] build shared libraries [default=yes]
2345 --enable-static[=PKGS] build static libraries [default=yes]
2346 --enable-fast-install[=PKGS]
2347 optimize for fast installation [default=yes]
2348 --disable-dependency-tracking speeds up one-time build
2349 --enable-dependency-tracking do not reject slow dependency extractors
2350 --disable-libtool-lock avoid locking (might break parallel builds)
2351 --disable-nls do not use Native Language Support
2352 --disable-rpath do not hardcode runtime library paths
2353 --disable-debug disable addition of -g debugging info
2354 --enable-profiling adds -pg to compiler commandline, for profiling
2355 --disable-valgrind disable run-time valgrind detection
2356 --enable-gcov compile with coverage profiling instrumentation (gcc
2358 --disable-examples disable building examples
2359 --disable-external disable building of plug-ins with external deps
2360 --enable-experimental enable building of experimental plug-ins
2361 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
2362 --enable-gobject-cast-checks=[no/auto/yes]
2363 Enable GObject cast checks
2364 --enable-glib-asserts=[no/auto/yes]
2365 Enable GLib assertion
2366 --enable-orc use Orc if installed
2367 --disable-adpcmdec disable dependency-less adpcmdec plugin
2368 --disable-adpcmenc disable dependency-less adpcmenc plugin
2369 --disable-aiff disable dependency-less aiff plugin
2370 --disable-asfmux disable dependency-less asfmux plugin
2371 --disable-audiovisualizers
2372 disable dependency-less audiovisualizers plugin
2373 --disable-autoconvert disable dependency-less autoconvert plugin
2374 --disable-bayer disable dependency-less bayer plugin
2375 --disable-camerabin disable dependency-less camerabin plugin
2376 --disable-camerabin2 disable dependency-less camerabin2 plugin
2377 --disable-cdxaparse disable dependency-less cdxaparse plugin
2378 --disable-coloreffects disable dependency-less coloreffects plugin
2379 --disable-colorspace disable dependency-less colorspace plugin
2380 --disable-dataurisrc disable dependency-less dataurisrc plugin
2381 --disable-dccp disable dependency-less dccp plugin
2382 --disable-debugutils disable dependency-less debugutils plugin
2383 --disable-dtmf disable dependency-less dtmf plugin
2384 --disable-dvbsuboverlay disable dependency-less dvbsuboverlay plugin
2385 --disable-dvdspu disable dependency-less dvdspu plugin
2386 --disable-faceoverlay disable dependency-less faceoverlay plugin
2387 --disable-festival disable dependency-less festival plugin
2388 --disable-fieldanalysis disable dependency-less fieldanalysis plugin
2389 --disable-freeze disable dependency-less freeze plugin
2390 --disable-freeverb disable dependency-less freeverb plugin
2391 --disable-frei0r disable dependency-less frei0r plugin
2392 --disable-gaudieffects disable dependency-less gaudieffects plugin
2393 --disable-geometrictransform
2394 disable dependency-less geometrictransform plugin
2395 --disable-h264parse disable dependency-less h264parse plugin
2396 --disable-hdvparse disable dependency-less hdvparse plugin
2397 --disable-hls disable dependency-less hls plugin
2398 --disable-id3tag disable dependency-less id3tag plugin
2399 --disable-inter disable dependency-less inter plugin
2400 --disable-interlace disable dependency-less interlace plugin
2401 --disable-ivfparse disable dependency-less ivfparse plugin
2402 --disable-jp2kdecimator disable dependency-less jp2kdecimator plugin
2403 --disable-jpegformat disable dependency-less jpegformat plugin
2404 --disable-legacyresample
2405 disable dependency-less legacyresample plugin
2406 --disable-librfb disable dependency-less librfb plugin
2407 --disable-liveadder disable dependency-less liveadder plugin
2408 --disable-mpegdemux disable dependency-less mpegdemux plugin
2409 --disable-mpegtsdemux disable dependency-less mpegtsdemux plugin
2410 --disable-mpegtsmux disable dependency-less mpegtsmux plugin
2411 --disable-mpegpsmux disable dependency-less mpegpsmux plugin
2412 --disable-mpegvideoparse
2413 disable dependency-less mpegvideoparse plugin
2414 --disable-mve disable dependency-less mve plugin
2415 --disable-mxf disable dependency-less mxf plugin
2416 --disable-nsf disable dependency-less nsf plugin
2417 --disable-nuvdemux disable dependency-less nuvdemux plugin
2418 --disable-patchdetect disable dependency-less patchdetect plugin
2419 --disable-pcapparse disable dependency-less pcapparse plugin
2420 --disable-pnm disable dependency-less pnm plugin
2421 --disable-rawparse disable dependency-less rawparse plugin
2422 --disable-real disable dependency-less real plugin
2423 --disable-removesilence disable dependency-less removesilence plugin
2424 --disable-rtpmux disable dependency-less rtpmux plugin
2425 --disable-rtpvp8 disable dependency-less rtpvp8 plugin
2426 --disable-scaletempo disable dependency-less scaletempo plugin
2427 --disable-sdi disable dependency-less sdi plugin
2428 --disable-sdp disable dependency-less sdp plugin
2429 --disable-segmentclip disable dependency-less segmentclip plugin
2430 --disable-siren disable dependency-less siren plugin
2431 --disable-smooth disable dependency-less smooth plugin
2432 --disable-speed disable dependency-less speed plugin
2433 --disable-subenc disable dependency-less subenc plugin
2434 --disable-stereo disable dependency-less stereo plugin
2435 --disable-tta disable dependency-less tta plugin
2436 --disable-videofilters disable dependency-less videofilters plugin
2437 --disable-videomaxrate disable dependency-less videomaxrate plugin
2438 --disable-videomeasure disable dependency-less videomeasure plugin
2439 --disable-videoparsers disable dependency-less videoparsers plugin
2440 --disable-videosignal disable dependency-less videosignal plugin
2441 --disable-vmnc disable dependency-less vmnc plugin
2442 --disable-y4m disable dependency-less y4m plugin
2443 --disable-directsound disable DirectSound: directsoundsrc
2444 --disable-direct3d disable Direct3D plug-in: direct3dsink
2445 --disable-directdraw disable DirectDraw plug-in: directdrawsink
2446 --disable-apple_media disable Apple video: applemedia
2447 --disable-osx_video disable OSX video: osxvideosrc
2448 --disable-avc disable AVC Video Services: avcsrc
2449 --disable-quicktime disable QuickTime wrapper: qtwrapper
2450 --disable-shm disable POSIX shared memory source and sink: shm
2451 --disable-vcd disable Video CD: vcdsrc
2452 --disable-assrender disable ASS/SSA renderer: assrender
2453 --disable-voamrwbenc disable vo-amrwbenc library: vo-amrwbenc
2454 --disable-voaacenc disable vo-aacenc library: vo-aacenc
2455 --disable-apexsink disable AirPort Express Wireless sink: apexsink
2456 --disable-bz2 disable bz2 library: bz2
2457 --disable-cdaudio disable cdaudio: cdaudio
2458 --disable-celt disable celt: celt
2459 --disable-cog disable Cog plugin: cog
2460 --disable-curl disable Curl plugin: curl
2461 --disable-dc1394 disable libdc1394: dc1394
2462 --disable-decklink disable decklink: decklink
2463 --disable-directfb disable directfb: dfbvideosink
2464 --disable-dirac disable dirac: dirac
2465 --disable-dts disable dts library: dtsdec
2466 --disable-divx disable divx plugins: divx
2467 --disable-resindvd disable resindvd plugin: resindvd
2468 --disable-faac disable AAC encoder plug-in: faac
2469 --disable-faad disable AAC decoder plug-in: faad
2470 --disable-fbdev disable linux framebuffer: fbdevsink
2471 --disable-flite disable Flite plugin: flite
2472 --disable-gsm disable GSM library: gsmenc gsmdec
2473 --disable-jp2k disable jp2k: jp2kdec jp2kenc
2474 --disable-kate disable Kate: kate
2475 --disable-ladspa disable ladspa: ladspa
2476 --disable-lv2 disable lv2: lv2
2477 --disable-libmms disable mms protocol library: libmms
2478 --disable-linsys disable Linear Systems SDI plugin: linsys
2479 --disable-modplug disable modplug: modplug
2480 --disable-mimic disable libmimic library: mimic
2481 --disable-mpeg2enc disable mpeg2enc: mpeg2enc
2482 --disable-mplex disable mplex: mplex
2483 --disable-musepack disable musepackdec: musepack
2484 --disable-musicbrainz disable musicbrainz tag generation: musicbrainz
2485 --disable-mythtv disable MythTV client plugins: mythtvsrc
2486 --disable-nas disable nas plug-in: nassink
2487 --disable-neon disable neon http client plugins: neonhttpsrc
2488 --disable-ofa disable ofa plugins: ofa
2489 --disable-openal disable OpenAL plugin: openal
2490 --disable-opencv disable opencv plugins: opencv
2491 --disable-opus disable opus: opus
2492 --disable-pvr disable pvrvideosink: pvr
2493 --disable-rsvg disable rsvg decoder: rsvg
2494 --disable-timidity disable timidity midi soft synth plugin: timidity
2495 --disable-teletextdec disable Teletext decoder: teletextdec
2496 --disable-wildmidi disable wildmidi midi soft synth plugin: wildmidi
2497 --disable-sdl disable SDL plug-in: sdlvideosink sdlaudiosink
2498 --disable-sdltest do not try to compile and run a test SDL program
2499 --disable-sndfile disable sndfile plug-in: sfsrc sfsink
2500 --disable-soundtouch disable soundtouch plug-in: soundtouch
2501 --disable-spc disable spc decoder: spc
2502 --disable-gme disable gme decoder: gme
2503 --disable-swfdec disable swfdec plug-in: swfdec
2504 --disable-xvid disable xvid plugins: xvid
2505 --disable-dvb disable DVB Source: dvb
2506 --disable-wininet disable Windows internet library: wininet
2507 --disable-acm disable Windows ACM library: acm
2508 --disable-vdpau disable VDPAU: vdpau
2509 --disable-schro disable Schroedinger video codec: schro
2510 --disable-zbar disable ZBar barcode detector: zbar
2511 --disable-vp8 disable VP8 decoder: vp8
2512 --disable-rtmp disable rtmp library: rtmp
2513 --disable-spandsp disable Spandsp: spandsp
2514 --disable-gsettings disable GSettings plugin: gsettings
2515 --disable-schemas-compile
2516 Disable regeneration of gschemas.compiled on install
2519 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2520 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2521 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
2523 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2524 --with-sysroot=DIR Search for dependent libraries within DIR
2525 (or the compiler's sysroot if not specified).
2526 --with-autoconf use a different autoconf for regeneration of
2528 --with-autoheader use a different autoheader for regeneration of
2530 --with-automake use a different automake for regeneration of
2532 --with-aclocal use a different aclocal for regeneration of
2534 --with-gnu-ld assume the C compiler uses GNU ld default=no
2535 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
2536 --without-libiconv-prefix don't search for libiconv in includedir and libdir
2537 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
2538 --without-libintl-prefix don't search for libintl in includedir and libdir
2539 --with-pkg-config-path colon-separated list of pkg-config(1) dirs
2540 --with-package-name specify package name to use in plugins
2541 --with-package-origin specify package origin URL to use in plugins
2542 --with-plugins comma-separated list of dependencyless plug-ins to
2544 --with-html-dir=PATH path to installed docs
2545 --with-gtk=3.0|2.0 which gtk+ version to compile against (default: 2.0)
2546 --with-default-audiosink
2547 specify default audio sink
2548 --with-default-audiosrc specify default audio source
2549 --with-default-videosink
2550 specify default video sink
2551 --with-default-videosrc specify default video source
2552 --with-default-visualizer
2553 specify default visualizer
2554 --with-x use the X Window System
2555 --with-pvr-external-headers
2556 Use system installed PVR2D headers
2557 --with-sdl-prefix=PFX prefix where SDL is installed (optional)
2558 --with-sdl-exec-prefix=PFX
2559 exec prefix where SDL is installed (optional)
2561 Some influential environment variables:
2562 CC C compiler command
2563 CFLAGS C compiler flags
2564 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2565 nonstandard directory <lib dir>
2566 LIBS libraries to pass to the linker, e.g. -l<library>
2567 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2568 you have headers in a nonstandard directory <include dir>
2570 PKG_CONFIG path to pkg-config utility
2572 C compiler flags for VALGRIND, overriding pkg-config
2574 linker flags for VALGRIND, overriding pkg-config
2575 CXX C++ compiler command
2576 CXXFLAGS C++ compiler flags
2577 CXXCPP C++ preprocessor
2578 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
2579 GLIB_LIBS linker flags for GLIB, overriding pkg-config
2580 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2581 GST_LIBS linker flags for GST, overriding pkg-config
2583 C compiler flags for GST_BASE, overriding pkg-config
2585 linker flags for GST_BASE, overriding pkg-config
2587 C compiler flags for GST_GDP, overriding pkg-config
2589 linker flags for GST_GDP, overriding pkg-config
2591 C compiler flags for GST_CHECK, overriding pkg-config
2593 linker flags for GST_CHECK, overriding pkg-config
2594 GST_CONTROLLER_CFLAGS
2595 C compiler flags for GST_CONTROLLER, overriding pkg-config
2597 linker flags for GST_CONTROLLER, overriding pkg-config
2598 GST_PLUGINS_BASE_CFLAGS
2599 C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
2600 GST_PLUGINS_BASE_LIBS
2601 linker flags for GST_PLUGINS_BASE, overriding pkg-config
2602 GST_PLUGINS_GOOD_CFLAGS
2603 C compiler flags for GST_PLUGINS_GOOD, overriding pkg-config
2604 GST_PLUGINS_GOOD_LIBS
2605 linker flags for GST_PLUGINS_GOOD, overriding pkg-config
2606 GST_PLUGINS_UGLY_CFLAGS
2607 C compiler flags for GST_PLUGINS_UGLY, overriding pkg-config
2608 GST_PLUGINS_UGLY_LIBS
2609 linker flags for GST_PLUGINS_UGLY, overriding pkg-config
2610 GST_PLUGINS_FFMPEG_CFLAGS
2611 C compiler flags for GST_PLUGINS_FFMPEG, overriding pkg-config
2612 GST_PLUGINS_FFMPEG_LIBS
2613 linker flags for GST_PLUGINS_FFMPEG, overriding pkg-config
2614 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
2615 GTK_LIBS linker flags for GTK, overriding pkg-config
2616 GMODULE_EXPORT_CFLAGS
2617 C compiler flags for GMODULE_EXPORT, overriding pkg-config
2619 linker flags for GMODULE_EXPORT, overriding pkg-config
2620 X11_CFLAGS C compiler flags for X11, overriding pkg-config
2621 X11_LIBS linker flags for X11, overriding pkg-config
2622 EXIF_CFLAGS C compiler flags for EXIF, overriding pkg-config
2623 EXIF_LIBS linker flags for EXIF, overriding pkg-config
2624 ORC_CFLAGS C compiler flags for ORC, overriding pkg-config
2625 ORC_LIBS linker flags for ORC, overriding pkg-config
2626 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
2627 GIO_LIBS linker flags for GIO, overriding pkg-config
2629 C compiler flags for ASSRENDER, overriding pkg-config
2631 linker flags for ASSRENDER, overriding pkg-config
2633 C compiler flags for VOAMRWBENC, overriding pkg-config
2635 linker flags for VOAMRWBENC, overriding pkg-config
2637 C compiler flags for VOAACENC, overriding pkg-config
2639 linker flags for VOAACENC, overriding pkg-config
2641 C compiler flags for APEXSINK, overriding pkg-config
2643 linker flags for APEXSINK, overriding pkg-config
2645 C compiler flags for CDAUDIO, overriding pkg-config
2647 linker flags for CDAUDIO, overriding pkg-config
2648 CELT_CFLAGS C compiler flags for CELT, overriding pkg-config
2649 CELT_LIBS linker flags for CELT, overriding pkg-config
2651 C compiler flags for CELT_0_7, overriding pkg-config
2653 linker flags for CELT_0_7, overriding pkg-config
2655 C compiler flags for CELT_0_8, overriding pkg-config
2657 linker flags for CELT_0_8, overriding pkg-config
2659 C compiler flags for CELT_0_11, overriding pkg-config
2661 linker flags for CELT_0_11, overriding pkg-config
2662 COG_CFLAGS C compiler flags for COG, overriding pkg-config
2663 COG_LIBS linker flags for COG, overriding pkg-config
2664 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
2665 CURL_LIBS linker flags for CURL, overriding pkg-config
2667 C compiler flags for LIBDC1394, overriding pkg-config
2669 linker flags for LIBDC1394, overriding pkg-config
2671 C compiler flags for DIRECTFB, overriding pkg-config
2673 linker flags for DIRECTFB, overriding pkg-config
2675 C compiler flags for DIRAC, overriding pkg-config
2676 DIRAC_LIBS linker flags for DIRAC, overriding pkg-config
2678 C compiler flags for DVDNAV, overriding pkg-config
2679 DVDNAV_LIBS linker flags for DVDNAV, overriding pkg-config
2680 KATE_CFLAGS C compiler flags for KATE, overriding pkg-config
2681 KATE_LIBS linker flags for KATE, overriding pkg-config
2683 C compiler flags for TIGER, overriding pkg-config
2684 TIGER_LIBS linker flags for TIGER, overriding pkg-config
2685 LRDF_CFLAGS C compiler flags for LRDF, overriding pkg-config
2686 LRDF_LIBS linker flags for LRDF, overriding pkg-config
2687 SLV2_CFLAGS C compiler flags for SLV2, overriding pkg-config
2688 SLV2_LIBS linker flags for SLV2, overriding pkg-config
2690 C compiler flags for LIBMMS, overriding pkg-config
2691 LIBMMS_LIBS linker flags for LIBMMS, overriding pkg-config
2693 C compiler flags for MODPLUG, overriding pkg-config
2695 linker flags for MODPLUG, overriding pkg-config
2697 C compiler flags for MIMIC, overriding pkg-config
2698 MIMIC_LIBS linker flags for MIMIC, overriding pkg-config
2700 C compiler flags for MJPEG, overriding pkg-config
2701 MJPEG_LIBS linker flags for MJPEG, overriding pkg-config
2703 C compiler flags for MPEG2ENC, overriding pkg-config
2705 linker flags for MPEG2ENC, overriding pkg-config
2707 C compiler flags for MPLEX, overriding pkg-config
2708 MPLEX_LIBS linker flags for MPLEX, overriding pkg-config
2710 C compiler flags for MUSICBRAINZ, overriding pkg-config
2712 linker flags for MUSICBRAINZ, overriding pkg-config
2714 C compiler flags for GMYTH, overriding pkg-config
2715 GMYTH_LIBS linker flags for GMYTH, overriding pkg-config
2716 XMKMF Path to xmkmf, Makefile generator for X Window System
2717 NEON_CFLAGS C compiler flags for NEON, overriding pkg-config
2718 NEON_LIBS linker flags for NEON, overriding pkg-config
2719 OFA_CFLAGS C compiler flags for OFA, overriding pkg-config
2720 OFA_LIBS linker flags for OFA, overriding pkg-config
2722 C compiler flags for OPENAL, overriding pkg-config
2723 OPENAL_LIBS linker flags for OPENAL, overriding pkg-config
2725 C compiler flags for OPENCV, overriding pkg-config
2726 OPENCV_LIBS linker flags for OPENCV, overriding pkg-config
2727 OPUS_CFLAGS C compiler flags for OPUS, overriding pkg-config
2728 OPUS_LIBS linker flags for OPUS, overriding pkg-config
2729 PVR_CFLAGS C compiler flags for PVR, overriding pkg-config
2730 PVR_LIBS linker flags for PVR, overriding pkg-config
2731 RSVG_CFLAGS C compiler flags for RSVG, overriding pkg-config
2732 RSVG_LIBS linker flags for RSVG, overriding pkg-config
2734 C compiler flags for TIMIDITY, overriding pkg-config
2736 linker flags for TIMIDITY, overriding pkg-config
2738 C compiler flags for TELETEXTDEC, overriding pkg-config
2740 linker flags for TELETEXTDEC, overriding pkg-config
2742 C compiler flags for SNDFILE, overriding pkg-config
2744 linker flags for SNDFILE, overriding pkg-config
2746 C compiler flags for SOUNDTOUCH, overriding pkg-config
2748 linker flags for SOUNDTOUCH, overriding pkg-config
2750 C compiler flags for SWFDEC, overriding pkg-config
2751 SWFDEC_LIBS linker flags for SWFDEC, overriding pkg-config
2753 C compiler flags for VDPAU, overriding pkg-config
2754 VDPAU_LIBS linker flags for VDPAU, overriding pkg-config
2756 C compiler flags for SCHRO, overriding pkg-config
2757 SCHRO_LIBS linker flags for SCHRO, overriding pkg-config
2758 ZBAR_CFLAGS C compiler flags for ZBAR, overriding pkg-config
2759 ZBAR_LIBS linker flags for ZBAR, overriding pkg-config
2760 RTMP_CFLAGS C compiler flags for RTMP, overriding pkg-config
2761 RTMP_LIBS linker flags for RTMP, overriding pkg-config
2763 C compiler flags for SPANDSP, overriding pkg-config
2765 linker flags for SPANDSP, overriding pkg-config
2767 C compiler flags for GSETTINGS, overriding pkg-config
2769 linker flags for GSETTINGS, overriding pkg-config
2771 Use these variables to override the choices made by `configure' or to help
2772 it to find libraries and programs with nonstandard names/locations.
2774 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
2779 if test "$ac_init_help" = "recursive"; then
2780 # If there are subdirs, report their specific --help.
2781 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2782 test -d "$ac_dir" ||
2783 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2788 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2790 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2791 # A ".." for each directory in $ac_dir_suffix.
2792 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2793 case $ac_top_builddir_sub in
2794 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2795 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2798 ac_abs_top_builddir=$ac_pwd
2799 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2800 # for backward compatibility:
2801 ac_top_builddir=$ac_top_build_prefix
2804 .) # We are building in place.
2806 ac_top_srcdir=$ac_top_builddir_sub
2807 ac_abs_top_srcdir=$ac_pwd ;;
2808 [\\/]* | ?:[\\/]* ) # Absolute name.
2809 ac_srcdir=$srcdir$ac_dir_suffix;
2810 ac_top_srcdir=$srcdir
2811 ac_abs_top_srcdir=$srcdir ;;
2813 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2814 ac_top_srcdir=$ac_top_build_prefix$srcdir
2815 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2817 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2819 cd "$ac_dir" || { ac_status=$?; continue; }
2820 # Check for guested configure.
2821 if test -f "$ac_srcdir/configure.gnu"; then
2823 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2824 elif test -f "$ac_srcdir/configure"; then
2826 $SHELL "$ac_srcdir/configure" --help=recursive
2828 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2830 cd "$ac_pwd" || { ac_status=$?; break; }
2834 test -n "$ac_init_help" && exit $ac_status
2835 if $ac_init_version; then
2837 GStreamer Bad Plug-ins configure 0.10.23
2838 generated by GNU Autoconf 2.68
2840 Copyright (C) 2010 Free Software Foundation, Inc.
2841 This configure script is free software; the Free Software Foundation
2842 gives unlimited permission to copy, distribute and modify it.
2847 ## ------------------------ ##
2848 ## Autoconf initialization. ##
2849 ## ------------------------ ##
2851 # ac_fn_c_try_compile LINENO
2852 # --------------------------
2853 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2854 ac_fn_c_try_compile ()
2856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2857 rm -f conftest.$ac_objext
2858 if { { ac_try="$ac_compile"
2860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2861 *) ac_try_echo=$ac_try;;
2863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2864 $as_echo "$ac_try_echo"; } >&5
2865 (eval "$ac_compile") 2>conftest.err
2867 if test -s conftest.err; then
2868 grep -v '^ *+' conftest.err >conftest.er1
2869 cat conftest.er1 >&5
2870 mv -f conftest.er1 conftest.err
2872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2873 test $ac_status = 0; } && {
2874 test -z "$ac_c_werror_flag" ||
2875 test ! -s conftest.err
2876 } && test -s conftest.$ac_objext; then :
2879 $as_echo "$as_me: failed program was:" >&5
2880 sed 's/^/| /' conftest.$ac_ext >&5
2884 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2885 as_fn_set_status $ac_retval
2887 } # ac_fn_c_try_compile
2889 # ac_fn_c_try_link LINENO
2890 # -----------------------
2891 # Try to link conftest.$ac_ext, and return whether this succeeded.
2894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2895 rm -f conftest.$ac_objext conftest$ac_exeext
2896 if { { ac_try="$ac_link"
2898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2899 *) ac_try_echo=$ac_try;;
2901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2902 $as_echo "$ac_try_echo"; } >&5
2903 (eval "$ac_link") 2>conftest.err
2905 if test -s conftest.err; then
2906 grep -v '^ *+' conftest.err >conftest.er1
2907 cat conftest.er1 >&5
2908 mv -f conftest.er1 conftest.err
2910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2911 test $ac_status = 0; } && {
2912 test -z "$ac_c_werror_flag" ||
2913 test ! -s conftest.err
2914 } && test -s conftest$ac_exeext && {
2915 test "$cross_compiling" = yes ||
2916 $as_test_x conftest$ac_exeext
2920 $as_echo "$as_me: failed program was:" >&5
2921 sed 's/^/| /' conftest.$ac_ext >&5
2925 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2926 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2927 # interfere with the next link command; also delete a directory that is
2928 # left behind by Apple's compiler. We do this before executing the actions.
2929 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2931 as_fn_set_status $ac_retval
2933 } # ac_fn_c_try_link
2935 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2936 # -------------------------------------------------------
2937 # Tests whether HEADER exists and can be compiled using the include files in
2938 # INCLUDES, setting the cache variable VAR accordingly.
2939 ac_fn_c_check_header_compile ()
2941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2943 $as_echo_n "checking for $2... " >&6; }
2944 if eval \${$3+:} false; then :
2945 $as_echo_n "(cached) " >&6
2947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2948 /* end confdefs.h. */
2952 if ac_fn_c_try_compile "$LINENO"; then :
2957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2961 $as_echo "$ac_res" >&6; }
2962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2964 } # ac_fn_c_check_header_compile
2966 # ac_fn_c_try_cpp LINENO
2967 # ----------------------
2968 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2971 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2972 if { { ac_try="$ac_cpp conftest.$ac_ext"
2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2978 $as_echo "$ac_try_echo"; } >&5
2979 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2981 if test -s conftest.err; then
2982 grep -v '^ *+' conftest.err >conftest.er1
2983 cat conftest.er1 >&5
2984 mv -f conftest.er1 conftest.err
2986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2987 test $ac_status = 0; } > conftest.i && {
2988 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2989 test ! -s conftest.err
2993 $as_echo "$as_me: failed program was:" >&5
2994 sed 's/^/| /' conftest.$ac_ext >&5
2998 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2999 as_fn_set_status $ac_retval
3003 # ac_fn_c_try_run LINENO
3004 # ----------------------
3005 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3006 # that executables *can* be run.
3009 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3010 if { { ac_try="$ac_link"
3012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3013 *) ac_try_echo=$ac_try;;
3015 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3016 $as_echo "$ac_try_echo"; } >&5
3017 (eval "$ac_link") 2>&5
3019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3020 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3021 { { case "(($ac_try" in
3022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3023 *) ac_try_echo=$ac_try;;
3025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3026 $as_echo "$ac_try_echo"; } >&5
3027 (eval "$ac_try") 2>&5
3029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3030 test $ac_status = 0; }; }; then :
3033 $as_echo "$as_me: program exited with status $ac_status" >&5
3034 $as_echo "$as_me: failed program was:" >&5
3035 sed 's/^/| /' conftest.$ac_ext >&5
3037 ac_retval=$ac_status
3039 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3040 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3041 as_fn_set_status $ac_retval
3045 # ac_fn_c_check_func LINENO FUNC VAR
3046 # ----------------------------------
3047 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3048 ac_fn_c_check_func ()
3050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3052 $as_echo_n "checking for $2... " >&6; }
3053 if eval \${$3+:} false; then :
3054 $as_echo_n "(cached) " >&6
3056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3057 /* end confdefs.h. */
3058 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3060 #define $2 innocuous_$2
3062 /* System header to define __stub macros and hopefully few prototypes,
3063 which can conflict with char $2 (); below.
3064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3065 <limits.h> exists even on freestanding compilers. */
3068 # include <limits.h>
3070 # include <assert.h>
3075 /* Override any GCC internal prototype to avoid an error.
3076 Use char because int might match the return type of a GCC
3077 builtin and then its argument prototype would still apply. */
3082 /* The GNU C library defines this for functions which it implements
3083 to always fail with ENOSYS. Some functions are actually named
3084 something starting with __ and the normal name is an alias. */
3085 #if defined __stub_$2 || defined __stub___$2
3097 if ac_fn_c_try_link "$LINENO"; then :
3102 rm -f core conftest.err conftest.$ac_objext \
3103 conftest$ac_exeext conftest.$ac_ext
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3107 $as_echo "$ac_res" >&6; }
3108 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3110 } # ac_fn_c_check_func
3112 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
3113 # ---------------------------------------------
3114 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
3116 ac_fn_c_check_decl ()
3118 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3119 as_decl_name=`echo $2|sed 's/ *(.*//'`
3120 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
3122 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
3123 if eval \${$3+:} false; then :
3124 $as_echo_n "(cached) " >&6
3126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3127 /* end confdefs.h. */
3132 #ifndef $as_decl_name
3134 (void) $as_decl_use;
3136 (void) $as_decl_name;
3144 if ac_fn_c_try_compile "$LINENO"; then :
3149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3153 $as_echo "$ac_res" >&6; }
3154 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3156 } # ac_fn_c_check_decl
3158 # ac_fn_cxx_try_compile LINENO
3159 # ----------------------------
3160 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3161 ac_fn_cxx_try_compile ()
3163 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3164 rm -f conftest.$ac_objext
3165 if { { ac_try="$ac_compile"
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3170 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3171 $as_echo "$ac_try_echo"; } >&5
3172 (eval "$ac_compile") 2>conftest.err
3174 if test -s conftest.err; then
3175 grep -v '^ *+' conftest.err >conftest.er1
3176 cat conftest.er1 >&5
3177 mv -f conftest.er1 conftest.err
3179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3180 test $ac_status = 0; } && {
3181 test -z "$ac_cxx_werror_flag" ||
3182 test ! -s conftest.err
3183 } && test -s conftest.$ac_objext; then :
3186 $as_echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.$ac_ext >&5
3191 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3192 as_fn_set_status $ac_retval
3194 } # ac_fn_cxx_try_compile
3196 # ac_fn_cxx_try_cpp LINENO
3197 # ------------------------
3198 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3199 ac_fn_cxx_try_cpp ()
3201 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3202 if { { ac_try="$ac_cpp conftest.$ac_ext"
3204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205 *) ac_try_echo=$ac_try;;
3207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3208 $as_echo "$ac_try_echo"; } >&5
3209 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3211 if test -s conftest.err; then
3212 grep -v '^ *+' conftest.err >conftest.er1
3213 cat conftest.er1 >&5
3214 mv -f conftest.er1 conftest.err
3216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3217 test $ac_status = 0; } > conftest.i && {
3218 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
3219 test ! -s conftest.err
3223 $as_echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3228 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3229 as_fn_set_status $ac_retval
3231 } # ac_fn_cxx_try_cpp
3233 # ac_fn_cxx_try_link LINENO
3234 # -------------------------
3235 # Try to link conftest.$ac_ext, and return whether this succeeded.
3236 ac_fn_cxx_try_link ()
3238 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3239 rm -f conftest.$ac_objext conftest$ac_exeext
3240 if { { ac_try="$ac_link"
3242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3243 *) ac_try_echo=$ac_try;;
3245 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3246 $as_echo "$ac_try_echo"; } >&5
3247 (eval "$ac_link") 2>conftest.err
3249 if test -s conftest.err; then
3250 grep -v '^ *+' conftest.err >conftest.er1
3251 cat conftest.er1 >&5
3252 mv -f conftest.er1 conftest.err
3254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3255 test $ac_status = 0; } && {
3256 test -z "$ac_cxx_werror_flag" ||
3257 test ! -s conftest.err
3258 } && test -s conftest$ac_exeext && {
3259 test "$cross_compiling" = yes ||
3260 $as_test_x conftest$ac_exeext
3264 $as_echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.$ac_ext >&5
3269 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
3270 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
3271 # interfere with the next link command; also delete a directory that is
3272 # left behind by Apple's compiler. We do this before executing the actions.
3273 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3274 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3275 as_fn_set_status $ac_retval
3277 } # ac_fn_cxx_try_link
3279 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3280 # -------------------------------------------------------
3281 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3282 # the include files in INCLUDES and setting the cache variable VAR
3284 ac_fn_c_check_header_mongrel ()
3286 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3287 if eval \${$3+:} false; then :
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3289 $as_echo_n "checking for $2... " >&6; }
3290 if eval \${$3+:} false; then :
3291 $as_echo_n "(cached) " >&6
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3295 $as_echo "$ac_res" >&6; }
3297 # Is the header compilable?
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3299 $as_echo_n "checking $2 usability... " >&6; }
3300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3301 /* end confdefs.h. */
3305 if ac_fn_c_try_compile "$LINENO"; then :
3306 ac_header_compiler=yes
3308 ac_header_compiler=no
3310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3312 $as_echo "$ac_header_compiler" >&6; }
3314 # Is the header present?
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3316 $as_echo_n "checking $2 presence... " >&6; }
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3321 if ac_fn_c_try_cpp "$LINENO"; then :
3322 ac_header_preproc=yes
3324 ac_header_preproc=no
3326 rm -f conftest.err conftest.i conftest.$ac_ext
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3328 $as_echo "$ac_header_preproc" >&6; }
3330 # So? What about this header?
3331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3334 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3336 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3340 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3342 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3344 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3346 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3348 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3349 ( $as_echo "## ------------------------------------------------------------------------ ##
3350 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
3351 ## ------------------------------------------------------------------------ ##"
3352 ) | sed "s/^/$as_me: WARNING: /" >&2
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3356 $as_echo_n "checking for $2... " >&6; }
3357 if eval \${$3+:} false; then :
3358 $as_echo_n "(cached) " >&6
3360 eval "$3=\$ac_header_compiler"
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3364 $as_echo "$ac_res" >&6; }
3366 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3368 } # ac_fn_c_check_header_mongrel
3370 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3371 # -------------------------------------------
3372 # Tests whether TYPE exists after having included INCLUDES, setting cache
3373 # variable VAR accordingly.
3374 ac_fn_c_check_type ()
3376 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3378 $as_echo_n "checking for $2... " >&6; }
3379 if eval \${$3+:} false; then :
3380 $as_echo_n "(cached) " >&6
3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3395 if ac_fn_c_try_compile "$LINENO"; then :
3396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3397 /* end confdefs.h. */
3408 if ac_fn_c_try_compile "$LINENO"; then :
3413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3419 $as_echo "$ac_res" >&6; }
3420 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3422 } # ac_fn_c_check_type
3424 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
3425 # --------------------------------------------
3426 # Tries to find the compile-time value of EXPR in a program that includes
3427 # INCLUDES, setting VAR accordingly. Returns whether the value could be
3429 ac_fn_c_compute_int ()
3431 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3432 if test "$cross_compiling" = yes; then
3433 # Depending upon the size, compute the lo and hi bounds.
3434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3435 /* end confdefs.h. */
3440 static int test_array [1 - 2 * !(($2) >= 0)];
3447 if ac_fn_c_try_compile "$LINENO"; then :
3450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3451 /* end confdefs.h. */
3456 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3463 if ac_fn_c_try_compile "$LINENO"; then :
3464 ac_hi=$ac_mid; break
3466 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
3467 if test $ac_lo -le $ac_mid; then
3471 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
3473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3477 /* end confdefs.h. */
3482 static int test_array [1 - 2 * !(($2) < 0)];
3489 if ac_fn_c_try_compile "$LINENO"; then :
3492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3493 /* end confdefs.h. */
3498 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
3505 if ac_fn_c_try_compile "$LINENO"; then :
3506 ac_lo=$ac_mid; break
3508 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
3509 if test $ac_mid -le $ac_hi; then
3513 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
3515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523 # Binary search between lo and hi bounds.
3524 while test "x$ac_lo" != "x$ac_hi"; do
3525 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
3526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527 /* end confdefs.h. */
3532 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3539 if ac_fn_c_try_compile "$LINENO"; then :
3542 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
3544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3547 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
3551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3552 /* end confdefs.h. */
3554 static long int longval () { return $2; }
3555 static unsigned long int ulongval () { return $2; }
3562 FILE *f = fopen ("conftest.val", "w");
3567 long int i = longval ();
3570 fprintf (f, "%ld", i);
3574 unsigned long int i = ulongval ();
3577 fprintf (f, "%lu", i);
3579 /* Do not output a trailing newline, as this causes \r\n confusion
3580 on some platforms. */
3581 return ferror (f) || fclose (f) != 0;
3587 if ac_fn_c_try_run "$LINENO"; then :
3588 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3593 conftest.$ac_objext conftest.beam conftest.$ac_ext
3597 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3598 as_fn_set_status $ac_retval
3600 } # ac_fn_c_compute_int
3602 # ac_fn_c_check_header_preproc LINENO HEADER VAR
3603 # ----------------------------------------------
3604 # Tests whether HEADER is present, setting the cache variable VAR accordingly.
3605 ac_fn_c_check_header_preproc ()
3607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3609 $as_echo_n "checking for $2... " >&6; }
3610 if eval \${$3+:} false; then :
3611 $as_echo_n "(cached) " >&6
3613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614 /* end confdefs.h. */
3617 if ac_fn_c_try_cpp "$LINENO"; then :
3622 rm -f conftest.err conftest.i conftest.$ac_ext
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3626 $as_echo "$ac_res" >&6; }
3627 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3629 } # ac_fn_c_check_header_preproc
3631 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
3632 # ---------------------------------------------------------
3633 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3634 # the include files in INCLUDES and setting the cache variable VAR
3636 ac_fn_cxx_check_header_mongrel ()
3638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3639 if eval \${$3+:} false; then :
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3641 $as_echo_n "checking for $2... " >&6; }
3642 if eval \${$3+:} false; then :
3643 $as_echo_n "(cached) " >&6
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3647 $as_echo "$ac_res" >&6; }
3649 # Is the header compilable?
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3651 $as_echo_n "checking $2 usability... " >&6; }
3652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3653 /* end confdefs.h. */
3657 if ac_fn_cxx_try_compile "$LINENO"; then :
3658 ac_header_compiler=yes
3660 ac_header_compiler=no
3662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3664 $as_echo "$ac_header_compiler" >&6; }
3666 # Is the header present?
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3668 $as_echo_n "checking $2 presence... " >&6; }
3669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3670 /* end confdefs.h. */
3673 if ac_fn_cxx_try_cpp "$LINENO"; then :
3674 ac_header_preproc=yes
3676 ac_header_preproc=no
3678 rm -f conftest.err conftest.i conftest.$ac_ext
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3680 $as_echo "$ac_header_preproc" >&6; }
3682 # So? What about this header?
3683 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3686 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3688 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3692 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3694 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3696 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3698 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3700 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3701 ( $as_echo "## ------------------------------------------------------------------------ ##
3702 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
3703 ## ------------------------------------------------------------------------ ##"
3704 ) | sed "s/^/$as_me: WARNING: /" >&2
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3708 $as_echo_n "checking for $2... " >&6; }
3709 if eval \${$3+:} false; then :
3710 $as_echo_n "(cached) " >&6
3712 eval "$3=\$ac_header_compiler"
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3716 $as_echo "$ac_res" >&6; }
3718 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3720 } # ac_fn_cxx_check_header_mongrel
3722 # ac_fn_cxx_try_run LINENO
3723 # ------------------------
3724 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3725 # that executables *can* be run.
3726 ac_fn_cxx_try_run ()
3728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3729 if { { ac_try="$ac_link"
3731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3732 *) ac_try_echo=$ac_try;;
3734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3735 $as_echo "$ac_try_echo"; } >&5
3736 (eval "$ac_link") 2>&5
3738 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3739 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3740 { { case "(($ac_try" in
3741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3742 *) ac_try_echo=$ac_try;;
3744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3745 $as_echo "$ac_try_echo"; } >&5
3746 (eval "$ac_try") 2>&5
3748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3749 test $ac_status = 0; }; }; then :
3752 $as_echo "$as_me: program exited with status $ac_status" >&5
3753 $as_echo "$as_me: failed program was:" >&5
3754 sed 's/^/| /' conftest.$ac_ext >&5
3756 ac_retval=$ac_status
3758 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3760 as_fn_set_status $ac_retval
3762 } # ac_fn_cxx_try_run
3763 cat >config.log <<_ACEOF
3764 This file contains any messages produced by compilers while
3765 running configure, to aid debugging if configure makes a mistake.
3767 It was created by GStreamer Bad Plug-ins $as_me 0.10.23, which was
3768 generated by GNU Autoconf 2.68. Invocation command line was
3780 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3781 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3782 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3783 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3784 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3786 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3787 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3789 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3790 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3791 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3792 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3793 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3794 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3795 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3803 test -z "$as_dir" && as_dir=.
3804 $as_echo "PATH: $as_dir"
3820 # Keep a trace of the command line.
3821 # Strip out --no-create and --no-recursion so they do not pile up.
3822 # Strip out --silent because we don't want to record it for future runs.
3823 # Also quote any args containing shell meta-characters.
3824 # Make two passes to allow for proper duplicate-argument suppression.
3828 ac_must_keep_next=false
3834 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3835 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3836 | -silent | --silent | --silen | --sile | --sil)
3839 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3842 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3844 as_fn_append ac_configure_args1 " '$ac_arg'"
3845 if test $ac_must_keep_next = true; then
3846 ac_must_keep_next=false # Got value, back to normal.
3849 *=* | --config-cache | -C | -disable-* | --disable-* \
3850 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3851 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3852 | -with-* | --with-* | -without-* | --without-* | --x)
3853 case "$ac_configure_args0 " in
3854 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3857 -* ) ac_must_keep_next=true ;;
3860 as_fn_append ac_configure_args " '$ac_arg'"
3865 { ac_configure_args0=; unset ac_configure_args0;}
3866 { ac_configure_args1=; unset ac_configure_args1;}
3868 # When interrupted or exit'd, cleanup temporary files, and complete
3869 # config.log. We remove comments because anyway the quotes in there
3870 # would cause problems or look ugly.
3871 # WARNING: Use '\'' to represent an apostrophe within the trap.
3872 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3873 trap 'exit_status=$?
3874 # Save into config.log some information that might help in debugging.
3878 $as_echo "## ---------------- ##
3879 ## Cache variables. ##
3880 ## ---------------- ##"
3882 # The following way of writing the cache mishandles newlines in values,
3884 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3885 eval ac_val=\$$ac_var
3889 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3890 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3893 _ | IFS | as_nl) ;; #(
3894 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3895 *) { eval $ac_var=; unset $ac_var;} ;;
3900 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3901 *${as_nl}ac_space=\ *)
3903 "s/'\''/'\''\\\\'\'''\''/g;
3904 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3907 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3914 $as_echo "## ----------------- ##
3915 ## Output variables. ##
3916 ## ----------------- ##"
3918 for ac_var in $ac_subst_vars
3920 eval ac_val=\$$ac_var
3922 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3924 $as_echo "$ac_var='\''$ac_val'\''"
3928 if test -n "$ac_subst_files"; then
3929 $as_echo "## ------------------- ##
3930 ## File substitutions. ##
3931 ## ------------------- ##"
3933 for ac_var in $ac_subst_files
3935 eval ac_val=\$$ac_var
3937 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3939 $as_echo "$ac_var='\''$ac_val'\''"
3944 if test -s confdefs.h; then
3945 $as_echo "## ----------- ##
3952 test "$ac_signal" != 0 &&
3953 $as_echo "$as_me: caught signal $ac_signal"
3954 $as_echo "$as_me: exit $exit_status"
3956 rm -f core *.core core.conftest.* &&
3957 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3960 for ac_signal in 1 2 13 15; do
3961 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3965 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3966 rm -f -r conftest* confdefs.h
3968 $as_echo "/* confdefs.h */" > confdefs.h
3970 # Predefined preprocessor variables.
3972 cat >>confdefs.h <<_ACEOF
3973 #define PACKAGE_NAME "$PACKAGE_NAME"
3976 cat >>confdefs.h <<_ACEOF
3977 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3980 cat >>confdefs.h <<_ACEOF
3981 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3984 cat >>confdefs.h <<_ACEOF
3985 #define PACKAGE_STRING "$PACKAGE_STRING"
3988 cat >>confdefs.h <<_ACEOF
3989 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3992 cat >>confdefs.h <<_ACEOF
3993 #define PACKAGE_URL "$PACKAGE_URL"
3997 # Let the site file select an alternate cache file if it wants to.
3998 # Prefer an explicitly selected file to automatically selected ones.
4001 if test -n "$CONFIG_SITE"; then
4002 # We do not want a PATH search for config.site.
4003 case $CONFIG_SITE in #((
4004 -*) ac_site_file1=./$CONFIG_SITE;;
4005 */*) ac_site_file1=$CONFIG_SITE;;
4006 *) ac_site_file1=./$CONFIG_SITE;;
4008 elif test "x$prefix" != xNONE; then
4009 ac_site_file1=$prefix/share/config.site
4010 ac_site_file2=$prefix/etc/config.site
4012 ac_site_file1=$ac_default_prefix/share/config.site
4013 ac_site_file2=$ac_default_prefix/etc/config.site
4015 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
4017 test "x$ac_site_file" = xNONE && continue
4018 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
4020 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
4021 sed 's/^/| /' "$ac_site_file" >&5
4023 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4025 as_fn_error $? "failed to load site script $ac_site_file
4026 See \`config.log' for more details" "$LINENO" 5; }
4030 if test -r "$cache_file"; then
4031 # Some versions of bash will fail to source /dev/null (special files
4032 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
4033 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
4035 $as_echo "$as_me: loading cache $cache_file" >&6;}
4037 [\\/]* | ?:[\\/]* ) . "$cache_file";;
4038 *) . "./$cache_file";;
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
4043 $as_echo "$as_me: creating cache $cache_file" >&6;}
4047 gt_needs="$gt_needs "
4048 as_fn_append ac_header_list " stdlib.h"
4049 as_fn_append ac_header_list " unistd.h"
4050 as_fn_append ac_header_list " sys/param.h"
4051 # Check that the precious variables saved in the cache have kept the same
4053 ac_cache_corrupted=false
4054 for ac_var in $ac_precious_vars; do
4055 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4056 eval ac_new_set=\$ac_env_${ac_var}_set
4057 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4058 eval ac_new_val=\$ac_env_${ac_var}_value
4059 case $ac_old_set,$ac_new_set in
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4062 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4063 ac_cache_corrupted=: ;;
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4066 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4067 ac_cache_corrupted=: ;;
4070 if test "x$ac_old_val" != "x$ac_new_val"; then
4071 # differences in whitespace do not lead to failure.
4072 ac_old_val_w=`echo x $ac_old_val`
4073 ac_new_val_w=`echo x $ac_new_val`
4074 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4076 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4077 ac_cache_corrupted=:
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4080 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4081 eval $ac_var=\$ac_old_val
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4084 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4086 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
4089 # Pass precious variables to config.status.
4090 if test "$ac_new_set" = set; then
4092 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4093 *) ac_arg=$ac_var=$ac_new_val ;;
4095 case " $ac_configure_args " in
4096 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4097 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4101 if $ac_cache_corrupted; then
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4105 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
4106 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
4108 ## -------------------- ##
4109 ## Main body of script. ##
4110 ## -------------------- ##
4113 ac_cpp='$CPP $CPPFLAGS'
4114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4124 am__api_version='1.11'
4127 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
4128 if test -f "$ac_dir/install-sh"; then
4130 ac_install_sh="$ac_aux_dir/install-sh -c"
4132 elif test -f "$ac_dir/install.sh"; then
4134 ac_install_sh="$ac_aux_dir/install.sh -c"
4136 elif test -f "$ac_dir/shtool"; then
4138 ac_install_sh="$ac_aux_dir/shtool install -c"
4142 if test -z "$ac_aux_dir"; then
4143 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
4146 # These three variables are undocumented and unsupported,
4147 # and are intended to be withdrawn in a future Autoconf release.
4148 # They can cause serious problems if a builder's source tree is in a directory
4149 # whose full name contains unusual characters.
4150 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
4151 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
4152 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
4155 # Find a good install program. We prefer a C program (faster),
4156 # so one script is as good as another. But avoid the broken or
4157 # incompatible versions:
4158 # SysV /etc/install, /usr/sbin/install
4159 # SunOS /usr/etc/install
4160 # IRIX /sbin/install
4162 # AmigaOS /C/install, which installs bootblocks on floppy discs
4163 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4164 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4165 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4166 # OS/2's system install, which has a completely different semantic
4167 # ./install, which can be erroneously created by make from ./install.sh.
4168 # Reject install programs that cannot install multiple files.
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4170 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4171 if test -z "$INSTALL"; then
4172 if ${ac_cv_path_install+:} false; then :
4173 $as_echo_n "(cached) " >&6
4175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4179 test -z "$as_dir" && as_dir=.
4180 # Account for people who put trailing slashes in PATH elements.
4181 case $as_dir/ in #((
4182 ./ | .// | /[cC]/* | \
4183 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4184 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4187 # OSF1 and SCO ODT 3.0 have their own names for install.
4188 # Don't use installbsd from OSF since it installs stuff as root
4190 for ac_prog in ginstall scoinst install; do
4191 for ac_exec_ext in '' $ac_executable_extensions; do
4192 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4193 if test $ac_prog = install &&
4194 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4195 # AIX install. It has an incompatible calling convention.
4197 elif test $ac_prog = install &&
4198 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4199 # program-specific install script used by HP pwplus--don't use.
4202 rm -rf conftest.one conftest.two conftest.dir
4203 echo one > conftest.one
4204 echo two > conftest.two
4206 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4207 test -s conftest.one && test -s conftest.two &&
4208 test -s conftest.dir/conftest.one &&
4209 test -s conftest.dir/conftest.two
4211 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4224 rm -rf conftest.one conftest.two conftest.dir
4227 if test "${ac_cv_path_install+set}" = set; then
4228 INSTALL=$ac_cv_path_install
4230 # As a last resort, use the slow shell script. Don't cache a
4231 # value for INSTALL within a source directory, because that will
4232 # break other packages using the cache if that directory is
4233 # removed, or if the value is a relative name.
4234 INSTALL=$ac_install_sh
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4238 $as_echo "$INSTALL" >&6; }
4240 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4241 # It thinks the first close brace ends the variable substitution.
4242 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4244 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4246 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4249 $as_echo_n "checking whether build environment is sane... " >&6; }
4252 echo timestamp > conftest.file
4253 # Reject unsafe characters in $srcdir or the absolute working directory
4254 # name. Accept space and tab only in the latter.
4258 *[\\\"\#\$\&\'\`$am_lf]*)
4259 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4262 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4263 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4266 # Do `set' in a subshell so we don't clobber the current shell's
4267 # arguments. Must try -L first in case configure is actually a
4268 # symlink; some systems play weird games with the mod time of symlinks
4269 # (eg FreeBSD returns the mod time of the symlink's containing
4272 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4273 if test "$*" = "X"; then
4275 set X `ls -t "$srcdir/configure" conftest.file`
4278 if test "$*" != "X $srcdir/configure conftest.file" \
4279 && test "$*" != "X conftest.file $srcdir/configure"; then
4281 # If neither matched, then we have a broken ls. This can happen
4282 # if, for instance, CONFIG_SHELL is bash and it inherits a
4283 # broken ls alias from the environment. This has actually
4284 # happened. Such a system could not be considered "sane".
4285 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4286 alias in your environment" "$LINENO" 5
4289 test "$2" = conftest.file
4295 as_fn_error $? "newly created file is older than distributed files!
4296 Check your system clock" "$LINENO" 5
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4299 $as_echo "yes" >&6; }
4300 test "$program_prefix" != NONE &&
4301 program_transform_name="s&^&$program_prefix&;$program_transform_name"
4302 # Use a double $ so make ignores it.
4303 test "$program_suffix" != NONE &&
4304 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4305 # Double any \ or $.
4306 # By default was `s,x,x', remove it if useless.
4307 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4308 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4310 # expand $ac_aux_dir to an absolute path
4311 am_aux_dir=`cd $ac_aux_dir && pwd`
4313 if test x"${MISSING+set}" != xset; then
4316 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4318 MISSING="\${SHELL} $am_aux_dir/missing" ;;
4321 # Use eval to expand $SHELL
4322 if eval "$MISSING --run true"; then
4323 am_missing_run="$MISSING --run "
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4327 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4330 if test x"${install_sh}" != xset; then
4333 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4335 install_sh="\${SHELL} $am_aux_dir/install-sh"
4339 # Installed binaries are usually stripped using `strip' when the user
4340 # run `make install-strip'. However `strip' might not be the right
4341 # tool to use in cross-compilation environments, therefore Automake
4342 # will honor the `STRIP' environment variable to overrule this program.
4343 if test "$cross_compiling" != no; then
4344 if test -n "$ac_tool_prefix"; then
4345 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4346 set dummy ${ac_tool_prefix}strip; ac_word=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if ${ac_cv_prog_STRIP+:} false; then :
4350 $as_echo_n "(cached) " >&6
4352 if test -n "$STRIP"; then
4353 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4359 test -z "$as_dir" && as_dir=.
4360 for ac_exec_ext in '' $ac_executable_extensions; do
4361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4362 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4372 STRIP=$ac_cv_prog_STRIP
4373 if test -n "$STRIP"; then
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4375 $as_echo "$STRIP" >&6; }
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4383 if test -z "$ac_cv_prog_STRIP"; then
4385 # Extract the first word of "strip", so it can be a program name with args.
4386 set dummy strip; ac_word=$2
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388 $as_echo_n "checking for $ac_word... " >&6; }
4389 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4390 $as_echo_n "(cached) " >&6
4392 if test -n "$ac_ct_STRIP"; then
4393 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4399 test -z "$as_dir" && as_dir=.
4400 for ac_exec_ext in '' $ac_executable_extensions; do
4401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4402 ac_cv_prog_ac_ct_STRIP="strip"
4403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4412 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4413 if test -n "$ac_ct_STRIP"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4415 $as_echo "$ac_ct_STRIP" >&6; }
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4421 if test "x$ac_ct_STRIP" = x; then
4424 case $cross_compiling:$ac_tool_warned in
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4428 ac_tool_warned=yes ;;
4433 STRIP="$ac_cv_prog_STRIP"
4437 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4440 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4441 if test -z "$MKDIR_P"; then
4442 if ${ac_cv_path_mkdir+:} false; then :
4443 $as_echo_n "(cached) " >&6
4445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4449 test -z "$as_dir" && as_dir=.
4450 for ac_prog in mkdir gmkdir; do
4451 for ac_exec_ext in '' $ac_executable_extensions; do
4452 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
4453 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4454 'mkdir (GNU coreutils) '* | \
4455 'mkdir (coreutils) '* | \
4456 'mkdir (fileutils) '4.1*)
4457 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4467 test -d ./--version && rmdir ./--version
4468 if test "${ac_cv_path_mkdir+set}" = set; then
4469 MKDIR_P="$ac_cv_path_mkdir -p"
4471 # As a last resort, use the slow shell script. Don't cache a
4472 # value for MKDIR_P within a source directory, because that will
4473 # break other packages using the cache if that directory is
4474 # removed, or if the value is a relative name.
4475 MKDIR_P="$ac_install_sh -d"
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4479 $as_echo "$MKDIR_P" >&6; }
4483 [\\/$]* | ?:[\\/]*) ;;
4484 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4487 for ac_prog in gawk mawk nawk awk
4489 # Extract the first word of "$ac_prog", so it can be a program name with args.
4490 set dummy $ac_prog; ac_word=$2
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4492 $as_echo_n "checking for $ac_word... " >&6; }
4493 if ${ac_cv_prog_AWK+:} false; then :
4494 $as_echo_n "(cached) " >&6
4496 if test -n "$AWK"; then
4497 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4503 test -z "$as_dir" && as_dir=.
4504 for ac_exec_ext in '' $ac_executable_extensions; do
4505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4506 ac_cv_prog_AWK="$ac_prog"
4507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4517 if test -n "$AWK"; then
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4519 $as_echo "$AWK" >&6; }
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4522 $as_echo "no" >&6; }
4526 test -n "$AWK" && break
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4530 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4532 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4533 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4534 $as_echo_n "(cached) " >&6
4536 cat >conftest.make <<\_ACEOF
4539 @echo '@@@%%%=$(MAKE)=@@@%%%'
4541 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4542 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4544 eval ac_cv_prog_make_${ac_make}_set=yes;;
4546 eval ac_cv_prog_make_${ac_make}_set=no;;
4550 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4552 $as_echo "yes" >&6; }
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4556 $as_echo "no" >&6; }
4557 SET_MAKE="MAKE=${MAKE-make}"
4560 rm -rf .tst 2>/dev/null
4561 mkdir .tst 2>/dev/null
4562 if test -d .tst; then
4567 rmdir .tst 2>/dev/null
4569 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4570 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4571 # is not polluted with repeated "-I."
4572 am__isrc=' -I$(srcdir)'
4573 # test to see if srcdir already configured
4574 if test -f $srcdir/config.status; then
4575 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4579 # test whether we have cygpath
4580 if test -z "$CYGPATH_W"; then
4581 if (cygpath --version) >/dev/null 2>/dev/null; then
4582 CYGPATH_W='cygpath -w'
4589 # Define the identity of the package.
4590 PACKAGE='gst-plugins-bad'
4594 cat >>confdefs.h <<_ACEOF
4595 #define PACKAGE "$PACKAGE"
4599 cat >>confdefs.h <<_ACEOF
4600 #define VERSION "$VERSION"
4603 # Some tools Automake needs.
4605 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4608 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4611 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4614 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4617 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4619 # We need awk for the "check" target. The system "awk" is bad on
4621 # Always define AMTAR for backward compatibility. Yes, it's still used
4622 # in the wild :-( We should find a proper way to deprecate it ...
4625 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
4633 PACKAGE_VERSION_MAJOR=$(echo 0.10.23 | cut -d'.' -f1)
4634 PACKAGE_VERSION_MINOR=$(echo 0.10.23 | cut -d'.' -f2)
4635 PACKAGE_VERSION_MICRO=$(echo 0.10.23 | cut -d'.' -f3)
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
4644 $as_echo_n "checking nano version... " >&6; }
4646 NANO=$(echo 0.10.23 | cut -d'.' -f4)
4648 if test x"$NANO" = x || test "x$NANO" = "x0" ; then
4649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
4650 $as_echo "0 (release)" >&6; }
4652 PACKAGE_VERSION_RELEASE=1
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
4656 $as_echo "$NANO" >&6; }
4657 PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
4658 if test "x$NANO" != "x1" ; then
4664 PACKAGE_VERSION_NANO=$NANO
4671 ac_config_headers="$ac_config_headers config.h"
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4676 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4677 # Check whether --enable-maintainer-mode was given.
4678 if test "${enable_maintainer_mode+set}" = set; then :
4679 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4681 USE_MAINTAINER_MODE=no
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4685 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4686 if test $USE_MAINTAINER_MODE = yes; then
4687 MAINTAINER_MODE_TRUE=
4688 MAINTAINER_MODE_FALSE='#'
4690 MAINTAINER_MODE_TRUE='#'
4691 MAINTAINER_MODE_FALSE=
4694 MAINT=$MAINTAINER_MODE_TRUE
4698 # Make sure we can run config.sub.
4699 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4700 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4703 $as_echo_n "checking build system type... " >&6; }
4704 if ${ac_cv_build+:} false; then :
4705 $as_echo_n "(cached) " >&6
4707 ac_build_alias=$build_alias
4708 test "x$ac_build_alias" = x &&
4709 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4710 test "x$ac_build_alias" = x &&
4711 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4712 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4713 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4717 $as_echo "$ac_cv_build" >&6; }
4718 case $ac_cv_build in
4720 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4723 ac_save_IFS=$IFS; IFS='-'
4729 # Remember, the first character of IFS is used to create $*,
4730 # except with old shells:
4733 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4737 $as_echo_n "checking host system type... " >&6; }
4738 if ${ac_cv_host+:} false; then :
4739 $as_echo_n "(cached) " >&6
4741 if test "x$host_alias" = x; then
4742 ac_cv_host=$ac_cv_build
4744 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4745 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4750 $as_echo "$ac_cv_host" >&6; }
4753 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4756 ac_save_IFS=$IFS; IFS='-'
4762 # Remember, the first character of IFS is used to create $*,
4763 # except with old shells:
4766 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4770 # Check whether --enable-silent-rules was given.
4771 if test "${enable_silent_rules+set}" = set; then :
4772 enableval=$enable_silent_rules;
4775 case $enable_silent_rules in
4776 yes) AM_DEFAULT_VERBOSITY=0;;
4777 no) AM_DEFAULT_VERBOSITY=1;;
4778 *) AM_DEFAULT_VERBOSITY=0;;
4780 am_make=${MAKE-make}
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
4782 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
4783 if ${am_cv_make_support_nested_variables+:} false; then :
4784 $as_echo_n "(cached) " >&6
4786 if $as_echo 'TRUE=$(BAR$(V))
4792 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
4793 am_cv_make_support_nested_variables=yes
4795 am_cv_make_support_nested_variables=no
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
4799 $as_echo "$am_cv_make_support_nested_variables" >&6; }
4800 if test $am_cv_make_support_nested_variables = yes; then
4802 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
4804 AM_V=$AM_DEFAULT_VERBOSITY
4805 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
4810 GST_MAJORMINOR=$GST_PLUGINS_BAD_VERSION_MAJOR.$GST_PLUGINS_BAD_VERSION_MINOR
4818 GST_LIBVERSION=23:0:0
4824 GST_LT_LDFLAGS="$GST_LT_LDFLAGS -version-info $GST_LIBVERSION"
4827 GST_LT_LDFLAGS="$GST_LT_LDFLAGS -release "
4840 lt_cv_deplibs_check_method=pass_all
4846 enable_win32_dll=yes
4849 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4850 if test -n "$ac_tool_prefix"; then
4851 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4852 set dummy ${ac_tool_prefix}as; ac_word=$2
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4854 $as_echo_n "checking for $ac_word... " >&6; }
4855 if ${ac_cv_prog_AS+:} false; then :
4856 $as_echo_n "(cached) " >&6
4858 if test -n "$AS"; then
4859 ac_cv_prog_AS="$AS" # Let the user override the test.
4861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4865 test -z "$as_dir" && as_dir=.
4866 for ac_exec_ext in '' $ac_executable_extensions; do
4867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4868 ac_cv_prog_AS="${ac_tool_prefix}as"
4869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4879 if test -n "$AS"; then
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4881 $as_echo "$AS" >&6; }
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 $as_echo "no" >&6; }
4889 if test -z "$ac_cv_prog_AS"; then
4891 # Extract the first word of "as", so it can be a program name with args.
4892 set dummy as; ac_word=$2
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4894 $as_echo_n "checking for $ac_word... " >&6; }
4895 if ${ac_cv_prog_ac_ct_AS+:} false; then :
4896 $as_echo_n "(cached) " >&6
4898 if test -n "$ac_ct_AS"; then
4899 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4905 test -z "$as_dir" && as_dir=.
4906 for ac_exec_ext in '' $ac_executable_extensions; do
4907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4908 ac_cv_prog_ac_ct_AS="as"
4909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4918 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4919 if test -n "$ac_ct_AS"; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4921 $as_echo "$ac_ct_AS" >&6; }
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4924 $as_echo "no" >&6; }
4927 if test "x$ac_ct_AS" = x; then
4930 case $cross_compiling:$ac_tool_warned in
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4933 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4934 ac_tool_warned=yes ;;
4942 if test -n "$ac_tool_prefix"; then
4943 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4944 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if ${ac_cv_prog_DLLTOOL+:} false; then :
4948 $as_echo_n "(cached) " >&6
4950 if test -n "$DLLTOOL"; then
4951 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4970 DLLTOOL=$ac_cv_prog_DLLTOOL
4971 if test -n "$DLLTOOL"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4973 $as_echo "$DLLTOOL" >&6; }
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4981 if test -z "$ac_cv_prog_DLLTOOL"; then
4982 ac_ct_DLLTOOL=$DLLTOOL
4983 # Extract the first word of "dlltool", so it can be a program name with args.
4984 set dummy dlltool; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4988 $as_echo_n "(cached) " >&6
4990 if test -n "$ac_ct_DLLTOOL"; then
4991 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5010 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5011 if test -n "$ac_ct_DLLTOOL"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5013 $as_echo "$ac_ct_DLLTOOL" >&6; }
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5019 if test "x$ac_ct_DLLTOOL" = x; then
5022 case $cross_compiling:$ac_tool_warned in
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5026 ac_tool_warned=yes ;;
5028 DLLTOOL=$ac_ct_DLLTOOL
5031 DLLTOOL="$ac_cv_prog_DLLTOOL"
5034 if test -n "$ac_tool_prefix"; then
5035 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5036 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if ${ac_cv_prog_OBJDUMP+:} false; then :
5040 $as_echo_n "(cached) " >&6
5042 if test -n "$OBJDUMP"; then
5043 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5049 test -z "$as_dir" && as_dir=.
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5052 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5062 OBJDUMP=$ac_cv_prog_OBJDUMP
5063 if test -n "$OBJDUMP"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5065 $as_echo "$OBJDUMP" >&6; }
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5073 if test -z "$ac_cv_prog_OBJDUMP"; then
5074 ac_ct_OBJDUMP=$OBJDUMP
5075 # Extract the first word of "objdump", so it can be a program name with args.
5076 set dummy objdump; ac_word=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5080 $as_echo_n "(cached) " >&6
5082 if test -n "$ac_ct_OBJDUMP"; then
5083 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 test -z "$as_dir" && as_dir=.
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5092 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5102 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5103 if test -n "$ac_ct_OBJDUMP"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5105 $as_echo "$ac_ct_OBJDUMP" >&6; }
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5111 if test "x$ac_ct_OBJDUMP" = x; then
5114 case $cross_compiling:$ac_tool_warned in
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5118 ac_tool_warned=yes ;;
5120 OBJDUMP=$ac_ct_OBJDUMP
5123 OBJDUMP="$ac_cv_prog_OBJDUMP"
5129 test -z "$AS" && AS=as
5135 test -z "$DLLTOOL" && DLLTOOL=dlltool
5141 test -z "$OBJDUMP" && OBJDUMP=objdump
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5152 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5157 macro_version='2.4.2'
5158 macro_revision='1.3337'
5172 ltmain="$ac_aux_dir/ltmain.sh"
5174 # Backslashify metacharacters that are still active within
5175 # double-quoted strings.
5176 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5178 # Same as above, but do not quote variable references.
5179 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5181 # Sed substitution to delay expansion of an escaped shell variable in a
5182 # double_quote_subst'ed string.
5183 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5185 # Sed substitution to delay expansion of an escaped single quote.
5186 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5188 # Sed substitution to avoid accidental globbing in evaled expressions
5189 no_glob_subst='s/\*/\\\*/g'
5191 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5192 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5193 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5196 $as_echo_n "checking how to print strings... " >&6; }
5197 # Test print first, because it will be a builtin if present.
5198 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5199 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5201 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5204 # Use this function as a fallback that always works.
5205 func_fallback_echo ()
5207 eval 'cat <<_LTECHO_EOF
5211 ECHO='func_fallback_echo'
5214 # func_echo_all arg...
5215 # Invoke $ECHO with all args, space-separated.
5222 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5223 $as_echo "printf" >&6; } ;;
5224 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5225 $as_echo "print -r" >&6; } ;;
5226 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5227 $as_echo "cat" >&6; } ;;
5243 DEPDIR="${am__leading_dot}deps"
5245 ac_config_commands="$ac_config_commands depfiles"
5248 am_make=${MAKE-make}
5249 cat > confinc << 'END'
5251 @echo this is the am__doit target
5254 # If we don't find an include directive, just comment out the code.
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
5256 $as_echo_n "checking for style of include used by $am_make... " >&6; }
5260 # First try GNU make style include.
5261 echo "include confinc" > confmf
5262 # Ignore all kinds of additional output from `make'.
5263 case `$am_make -s -f confmf 2> /dev/null` in #(
5264 *the\ am__doit\ target*)
5270 # Now try BSD make style include.
5271 if test "$am__include" = "#"; then
5272 echo '.include "confinc"' > confmf
5273 case `$am_make -s -f confmf 2> /dev/null` in #(
5274 *the\ am__doit\ target*)
5275 am__include=.include
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
5284 $as_echo "$_am_result" >&6; }
5285 rm -f confinc confmf
5287 # Check whether --enable-dependency-tracking was given.
5288 if test "${enable_dependency_tracking+set}" = set; then :
5289 enableval=$enable_dependency_tracking;
5292 if test "x$enable_dependency_tracking" != xno; then
5293 am_depcomp="$ac_aux_dir/depcomp"
5297 if test "x$enable_dependency_tracking" != xno; then
5307 ac_cpp='$CPP $CPPFLAGS'
5308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5311 if test -n "$ac_tool_prefix"; then
5312 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5313 set dummy ${ac_tool_prefix}gcc; ac_word=$2
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5315 $as_echo_n "checking for $ac_word... " >&6; }
5316 if ${ac_cv_prog_CC+:} false; then :
5317 $as_echo_n "(cached) " >&6
5319 if test -n "$CC"; then
5320 ac_cv_prog_CC="$CC" # Let the user override the test.
5322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5326 test -z "$as_dir" && as_dir=.
5327 for ac_exec_ext in '' $ac_executable_extensions; do
5328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5329 ac_cv_prog_CC="${ac_tool_prefix}gcc"
5330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5340 if test -n "$CC"; then
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5342 $as_echo "$CC" >&6; }
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5345 $as_echo "no" >&6; }
5350 if test -z "$ac_cv_prog_CC"; then
5352 # Extract the first word of "gcc", so it can be a program name with args.
5353 set dummy gcc; ac_word=$2
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5355 $as_echo_n "checking for $ac_word... " >&6; }
5356 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5357 $as_echo_n "(cached) " >&6
5359 if test -n "$ac_ct_CC"; then
5360 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 test -z "$as_dir" && as_dir=.
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5369 ac_cv_prog_ac_ct_CC="gcc"
5370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5380 if test -n "$ac_ct_CC"; then
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5382 $as_echo "$ac_ct_CC" >&6; }
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5388 if test "x$ac_ct_CC" = x; then
5391 case $cross_compiling:$ac_tool_warned in
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5395 ac_tool_warned=yes ;;
5403 if test -z "$CC"; then
5404 if test -n "$ac_tool_prefix"; then
5405 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5406 set dummy ${ac_tool_prefix}cc; ac_word=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408 $as_echo_n "checking for $ac_word... " >&6; }
5409 if ${ac_cv_prog_CC+:} false; then :
5410 $as_echo_n "(cached) " >&6
5412 if test -n "$CC"; then
5413 ac_cv_prog_CC="$CC" # Let the user override the test.
5415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5419 test -z "$as_dir" && as_dir=.
5420 for ac_exec_ext in '' $ac_executable_extensions; do
5421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5422 ac_cv_prog_CC="${ac_tool_prefix}cc"
5423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 if test -n "$CC"; then
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5435 $as_echo "$CC" >&6; }
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5438 $as_echo "no" >&6; }
5444 if test -z "$CC"; then
5445 # Extract the first word of "cc", so it can be a program name with args.
5446 set dummy cc; ac_word=$2
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5448 $as_echo_n "checking for $ac_word... " >&6; }
5449 if ${ac_cv_prog_CC+:} false; then :
5450 $as_echo_n "(cached) " >&6
5452 if test -n "$CC"; then
5453 ac_cv_prog_CC="$CC" # Let the user override the test.
5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5460 test -z "$as_dir" && as_dir=.
5461 for ac_exec_ext in '' $ac_executable_extensions; do
5462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5463 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5464 ac_prog_rejected=yes
5468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5475 if test $ac_prog_rejected = yes; then
5476 # We found a bogon in the path, so make sure we never use it.
5477 set dummy $ac_cv_prog_CC
5479 if test $# != 0; then
5480 # We chose a different compiler from the bogus one.
5481 # However, it has the same basename, so the bogon will be chosen
5482 # first if we set CC to just the basename; use the full file name.
5484 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5490 if test -n "$CC"; then
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5492 $as_echo "$CC" >&6; }
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5495 $as_echo "no" >&6; }
5500 if test -z "$CC"; then
5501 if test -n "$ac_tool_prefix"; then
5502 for ac_prog in cl.exe
5504 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5505 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5507 $as_echo_n "checking for $ac_word... " >&6; }
5508 if ${ac_cv_prog_CC+:} false; then :
5509 $as_echo_n "(cached) " >&6
5511 if test -n "$CC"; then
5512 ac_cv_prog_CC="$CC" # Let the user override the test.
5514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5518 test -z "$as_dir" && as_dir=.
5519 for ac_exec_ext in '' $ac_executable_extensions; do
5520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5521 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5532 if test -n "$CC"; then
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5534 $as_echo "$CC" >&6; }
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5537 $as_echo "no" >&6; }
5541 test -n "$CC" && break
5544 if test -z "$CC"; then
5546 for ac_prog in cl.exe
5548 # Extract the first word of "$ac_prog", so it can be a program name with args.
5549 set dummy $ac_prog; ac_word=$2
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5551 $as_echo_n "checking for $ac_word... " >&6; }
5552 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5553 $as_echo_n "(cached) " >&6
5555 if test -n "$ac_ct_CC"; then
5556 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 test -z "$as_dir" && as_dir=.
5563 for ac_exec_ext in '' $ac_executable_extensions; do
5564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5565 ac_cv_prog_ac_ct_CC="$ac_prog"
5566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5575 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5576 if test -n "$ac_ct_CC"; then
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5578 $as_echo "$ac_ct_CC" >&6; }
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5581 $as_echo "no" >&6; }
5585 test -n "$ac_ct_CC" && break
5588 if test "x$ac_ct_CC" = x; then
5591 case $cross_compiling:$ac_tool_warned in
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5595 ac_tool_warned=yes ;;
5604 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5606 as_fn_error $? "no acceptable C compiler found in \$PATH
5607 See \`config.log' for more details" "$LINENO" 5; }
5609 # Provide some information about the compiler.
5610 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5613 for ac_option in --version -v -V -qversion; do
5614 { { ac_try="$ac_compiler $ac_option >&5"
5616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5617 *) ac_try_echo=$ac_try;;
5619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5620 $as_echo "$ac_try_echo"; } >&5
5621 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5623 if test -s conftest.err; then
5625 ... rest of stderr output deleted ...
5626 10q' conftest.err >conftest.er1
5627 cat conftest.er1 >&5
5629 rm -f conftest.er1 conftest.err
5630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5631 test $ac_status = 0; }
5634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5635 /* end confdefs.h. */
5645 ac_clean_files_save=$ac_clean_files
5646 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5647 # Try to create an executable without -o first, disregard a.out.
5648 # It will help us diagnose broken compilers, and finding out an intuition
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5651 $as_echo_n "checking whether the C compiler works... " >&6; }
5652 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5654 # The possible output files:
5655 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5658 for ac_file in $ac_files
5661 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5662 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5667 if { { ac_try="$ac_link_default"
5669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5670 *) ac_try_echo=$ac_try;;
5672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5673 $as_echo "$ac_try_echo"; } >&5
5674 (eval "$ac_link_default") 2>&5
5676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5677 test $ac_status = 0; }; then :
5678 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5679 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5680 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5681 # so that the user can short-circuit this test for compilers unknown to
5683 for ac_file in $ac_files ''
5685 test -f "$ac_file" || continue
5687 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5690 # We found the default executable, but exeext='' is most
5694 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
5696 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5698 # We set ac_cv_exeext here because the later test for it is not
5699 # safe: cross compilers may not add the suffix if given an `-o'
5700 # argument, so we may need to know it at that point already.
5701 # Even if this section looks crufty: it has the advantage of
5708 test "$ac_cv_exeext" = no && ac_cv_exeext=
5713 if test -z "$ac_file"; then :
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5715 $as_echo "no" >&6; }
5716 $as_echo "$as_me: failed program was:" >&5
5717 sed 's/^/| /' conftest.$ac_ext >&5
5719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5721 as_fn_error 77 "C compiler cannot create executables
5722 See \`config.log' for more details" "$LINENO" 5; }
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5725 $as_echo "yes" >&6; }
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5728 $as_echo_n "checking for C compiler default output file name... " >&6; }
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5730 $as_echo "$ac_file" >&6; }
5731 ac_exeext=$ac_cv_exeext
5733 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5734 ac_clean_files=$ac_clean_files_save
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5736 $as_echo_n "checking for suffix of executables... " >&6; }
5737 if { { ac_try="$ac_link"
5739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5740 *) ac_try_echo=$ac_try;;
5742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5743 $as_echo "$ac_try_echo"; } >&5
5744 (eval "$ac_link") 2>&5
5746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5747 test $ac_status = 0; }; then :
5748 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5749 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5750 # work properly (i.e., refer to `conftest.exe'), while it won't with
5752 for ac_file in conftest.exe conftest conftest.*; do
5753 test -f "$ac_file" || continue
5755 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5756 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5762 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5763 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5764 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5765 See \`config.log' for more details" "$LINENO" 5; }
5767 rm -f conftest conftest$ac_cv_exeext
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5769 $as_echo "$ac_cv_exeext" >&6; }
5771 rm -f conftest.$ac_ext
5772 EXEEXT=$ac_cv_exeext
5774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5775 /* end confdefs.h. */
5780 FILE *f = fopen ("conftest.out", "w");
5781 return ferror (f) || fclose (f) != 0;
5787 ac_clean_files="$ac_clean_files conftest.out"
5788 # Check that the compiler produces executables we can run. If not, either
5789 # the compiler is broken, or we cross compile.
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5791 $as_echo_n "checking whether we are cross compiling... " >&6; }
5792 if test "$cross_compiling" != yes; then
5793 { { ac_try="$ac_link"
5795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5796 *) ac_try_echo=$ac_try;;
5798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5799 $as_echo "$ac_try_echo"; } >&5
5800 (eval "$ac_link") 2>&5
5802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5803 test $ac_status = 0; }
5804 if { ac_try='./conftest$ac_cv_exeext'
5805 { { case "(($ac_try" in
5806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5807 *) ac_try_echo=$ac_try;;
5809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5810 $as_echo "$ac_try_echo"; } >&5
5811 (eval "$ac_try") 2>&5
5813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5814 test $ac_status = 0; }; }; then
5817 if test "$cross_compiling" = maybe; then
5820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5822 as_fn_error $? "cannot run C compiled programs.
5823 If you meant to cross compile, use \`--host'.
5824 See \`config.log' for more details" "$LINENO" 5; }
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5829 $as_echo "$cross_compiling" >&6; }
5831 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5832 ac_clean_files=$ac_clean_files_save
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5834 $as_echo_n "checking for suffix of object files... " >&6; }
5835 if ${ac_cv_objext+:} false; then :
5836 $as_echo_n "(cached) " >&6
5838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5839 /* end confdefs.h. */
5849 rm -f conftest.o conftest.obj
5850 if { { ac_try="$ac_compile"
5852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5853 *) ac_try_echo=$ac_try;;
5855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5856 $as_echo "$ac_try_echo"; } >&5
5857 (eval "$ac_compile") 2>&5
5859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5860 test $ac_status = 0; }; then :
5861 for ac_file in conftest.o conftest.obj conftest.*; do
5862 test -f "$ac_file" || continue;
5864 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5865 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5870 $as_echo "$as_me: failed program was:" >&5
5871 sed 's/^/| /' conftest.$ac_ext >&5
5873 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5875 as_fn_error $? "cannot compute suffix of object files: cannot compile
5876 See \`config.log' for more details" "$LINENO" 5; }
5878 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5881 $as_echo "$ac_cv_objext" >&6; }
5882 OBJEXT=$ac_cv_objext
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5885 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5886 if ${ac_cv_c_compiler_gnu+:} false; then :
5887 $as_echo_n "(cached) " >&6
5889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5890 /* end confdefs.h. */
5903 if ac_fn_c_try_compile "$LINENO"; then :
5908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5909 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5913 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5914 if test $ac_compiler_gnu = yes; then
5919 ac_test_CFLAGS=${CFLAGS+set}
5920 ac_save_CFLAGS=$CFLAGS
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5922 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5923 if ${ac_cv_prog_cc_g+:} false; then :
5924 $as_echo_n "(cached) " >&6
5926 ac_save_c_werror_flag=$ac_c_werror_flag
5927 ac_c_werror_flag=yes
5930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5931 /* end confdefs.h. */
5941 if ac_fn_c_try_compile "$LINENO"; then :
5945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5946 /* end confdefs.h. */
5956 if ac_fn_c_try_compile "$LINENO"; then :
5959 ac_c_werror_flag=$ac_save_c_werror_flag
5961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5962 /* end confdefs.h. */
5972 if ac_fn_c_try_compile "$LINENO"; then :
5975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5980 ac_c_werror_flag=$ac_save_c_werror_flag
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5983 $as_echo "$ac_cv_prog_cc_g" >&6; }
5984 if test "$ac_test_CFLAGS" = set; then
5985 CFLAGS=$ac_save_CFLAGS
5986 elif test $ac_cv_prog_cc_g = yes; then
5987 if test "$GCC" = yes; then
5993 if test "$GCC" = yes; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6000 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6001 if ${ac_cv_prog_cc_c89+:} false; then :
6002 $as_echo_n "(cached) " >&6
6004 ac_cv_prog_cc_c89=no
6006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6007 /* end confdefs.h. */
6010 #include <sys/types.h>
6011 #include <sys/stat.h>
6012 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6013 struct buf { int x; };
6014 FILE * (*rcsopen) (struct buf *, struct stat *, int);
6015 static char *e (p, i)
6021 static char *f (char * (*g) (char **, int), char **p, ...)
6026 s = g (p, va_arg (v,int));
6031 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6032 function prototypes and stuff, but not '\xHH' hex character constants.
6033 These don't provoke an error unfortunately, instead are silently treated
6034 as 'x'. The following induces an error, until -std is added to get
6035 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6036 array size at least. It's necessary to write '\x00'==0 to get something
6037 that's true only with -std. */
6038 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6040 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6041 inside strings and character constants. */
6043 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6045 int test (int i, double x);
6046 struct s1 {int (*f) (int a);};
6047 struct s2 {int (*f) (double a);};
6048 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6054 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6059 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6060 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6062 CC="$ac_save_CC $ac_arg"
6063 if ac_fn_c_try_compile "$LINENO"; then :
6064 ac_cv_prog_cc_c89=$ac_arg
6066 rm -f core conftest.err conftest.$ac_objext
6067 test "x$ac_cv_prog_cc_c89" != "xno" && break
6069 rm -f conftest.$ac_ext
6074 case "x$ac_cv_prog_cc_c89" in
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6077 $as_echo "none needed" >&6; } ;;
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6080 $as_echo "unsupported" >&6; } ;;
6082 CC="$CC $ac_cv_prog_cc_c89"
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6084 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6086 if test "x$ac_cv_prog_cc_c89" != xno; then :
6091 ac_cpp='$CPP $CPPFLAGS'
6092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6096 depcc="$CC" am_compiler_list=
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6099 $as_echo_n "checking dependency style of $depcc... " >&6; }
6100 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
6101 $as_echo_n "(cached) " >&6
6103 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6104 # We make a subdir and do the tests there. Otherwise we can end up
6105 # making bogus files that we don't know about and never remove. For
6106 # instance it was reported that on HP-UX the gcc test will end up
6107 # making a dummy file named `D' -- because `-MD' means `put the output
6111 # Copy depcomp to subdir because otherwise we won't find it if we're
6112 # using a relative directory.
6113 cp "$am_depcomp" conftest.dir
6115 # We will build objects and dependencies in a subdirectory because
6116 # it helps to detect inapplicable dependency modes. For instance
6117 # both Tru64's cc and ICC support -MD to output dependencies as a
6118 # side effect of compilation, but ICC will put the dependencies in
6119 # the current directory while Tru64 will put them in the object
6123 am_cv_CC_dependencies_compiler_type=none
6124 if test "$am_compiler_list" = ""; then
6125 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6128 case " $depcc " in #(
6129 *\ -arch\ *\ -arch\ *) am__universal=true ;;
6132 for depmode in $am_compiler_list; do
6133 # Setup a source with many dependencies, because some compilers
6134 # like to wrap large dependency lists on column 80 (with \), and
6135 # we should not choose a depcomp mode which is confused by this.
6137 # We need to recreate these files for each test, as the compiler may
6138 # overwrite some of them when testing with obscure command lines.
6139 # This happens at least with the AIX C compiler.
6141 for i in 1 2 3 4 5 6; do
6142 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6143 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6144 # Solaris 8's {/usr,}/bin/sh.
6145 touch sub/conftst$i.h
6147 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6149 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6150 # mode. It turns out that the SunPro C++ compiler does not properly
6151 # handle `-M -o', and we need to detect this. Also, some Intel
6152 # versions had trouble with output in subdirs
6153 am__obj=sub/conftest.${OBJEXT-o}
6154 am__minus_obj="-o $am__obj"
6157 # This depmode causes a compiler race in universal mode.
6158 test "$am__universal" = false || continue
6161 # after this tag, mechanisms are not by side-effect, so they'll
6162 # only be used when explicitly requested
6163 if test "x$enable_dependency_tracking" = xyes; then
6169 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6170 # This compiler won't grok `-c -o', but also, the minuso test has
6171 # not run yet. These depmodes are late enough in the game, and
6172 # so weak that their functioning should not be impacted.
6173 am__obj=conftest.${OBJEXT-o}
6178 if depmode=$depmode \
6179 source=sub/conftest.c object=$am__obj \
6180 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6181 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6182 >/dev/null 2>conftest.err &&
6183 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6184 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6185 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6186 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6187 # icc doesn't choke on unknown options, it will just issue warnings
6188 # or remarks (even with -Werror). So we grep stderr for any message
6189 # that says an option was ignored or not supported.
6190 # When given -MP, icc 7.0 and 7.1 complain thusly:
6191 # icc: Command line warning: ignoring option '-M'; no argument required
6192 # The diagnosis changed in icc 8.0:
6193 # icc: Command line remark: option '-MP' not supported
6194 if (grep 'ignoring option' conftest.err ||
6195 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6196 am_cv_CC_dependencies_compiler_type=$depmode
6205 am_cv_CC_dependencies_compiler_type=none
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6210 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6211 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6214 test "x$enable_dependency_tracking" != xno \
6215 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6217 am__fastdepCC_FALSE='#'
6219 am__fastdepCC_TRUE='#'
6220 am__fastdepCC_FALSE=
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6225 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6226 if ${ac_cv_path_SED+:} false; then :
6227 $as_echo_n "(cached) " >&6
6229 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6230 for ac_i in 1 2 3 4 5 6 7; do
6231 ac_script="$ac_script$as_nl$ac_script"
6233 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6234 { ac_script=; unset ac_script;}
6235 if test -z "$SED"; then
6236 ac_path_SED_found=false
6237 # Loop through the user's path and test for each of PROGNAME-LIST
6238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6242 test -z "$as_dir" && as_dir=.
6243 for ac_prog in sed gsed; do
6244 for ac_exec_ext in '' $ac_executable_extensions; do
6245 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6246 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6247 # Check for GNU ac_path_SED and select it if it is found.
6248 # Check for GNU $ac_path_SED
6249 case `"$ac_path_SED" --version 2>&1` in
6251 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6254 $as_echo_n 0123456789 >"conftest.in"
6257 cat "conftest.in" "conftest.in" >"conftest.tmp"
6258 mv "conftest.tmp" "conftest.in"
6259 cp "conftest.in" "conftest.nl"
6260 $as_echo '' >> "conftest.nl"
6261 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6262 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6263 as_fn_arith $ac_count + 1 && ac_count=$as_val
6264 if test $ac_count -gt ${ac_path_SED_max-0}; then
6265 # Best one so far, save it but keep looking for a better one
6266 ac_cv_path_SED="$ac_path_SED"
6267 ac_path_SED_max=$ac_count
6269 # 10*(2^10) chars as input seems more than enough
6270 test $ac_count -gt 10 && break
6272 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6275 $ac_path_SED_found && break 3
6280 if test -z "$ac_cv_path_SED"; then
6281 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6289 $as_echo "$ac_cv_path_SED" >&6; }
6290 SED="$ac_cv_path_SED"
6293 test -z "$SED" && SED=sed
6294 Xsed="$SED -e 1s/^X//"
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6307 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6308 if ${ac_cv_path_GREP+:} false; then :
6309 $as_echo_n "(cached) " >&6
6311 if test -z "$GREP"; then
6312 ac_path_GREP_found=false
6313 # Loop through the user's path and test for each of PROGNAME-LIST
6314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6318 test -z "$as_dir" && as_dir=.
6319 for ac_prog in grep ggrep; do
6320 for ac_exec_ext in '' $ac_executable_extensions; do
6321 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6322 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6323 # Check for GNU ac_path_GREP and select it if it is found.
6324 # Check for GNU $ac_path_GREP
6325 case `"$ac_path_GREP" --version 2>&1` in
6327 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6330 $as_echo_n 0123456789 >"conftest.in"
6333 cat "conftest.in" "conftest.in" >"conftest.tmp"
6334 mv "conftest.tmp" "conftest.in"
6335 cp "conftest.in" "conftest.nl"
6336 $as_echo 'GREP' >> "conftest.nl"
6337 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6338 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6339 as_fn_arith $ac_count + 1 && ac_count=$as_val
6340 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6341 # Best one so far, save it but keep looking for a better one
6342 ac_cv_path_GREP="$ac_path_GREP"
6343 ac_path_GREP_max=$ac_count
6345 # 10*(2^10) chars as input seems more than enough
6346 test $ac_count -gt 10 && break
6348 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6351 $ac_path_GREP_found && break 3
6356 if test -z "$ac_cv_path_GREP"; then
6357 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6360 ac_cv_path_GREP=$GREP
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6365 $as_echo "$ac_cv_path_GREP" >&6; }
6366 GREP="$ac_cv_path_GREP"
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6370 $as_echo_n "checking for egrep... " >&6; }
6371 if ${ac_cv_path_EGREP+:} false; then :
6372 $as_echo_n "(cached) " >&6
6374 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6375 then ac_cv_path_EGREP="$GREP -E"
6377 if test -z "$EGREP"; then
6378 ac_path_EGREP_found=false
6379 # Loop through the user's path and test for each of PROGNAME-LIST
6380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6381 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6384 test -z "$as_dir" && as_dir=.
6385 for ac_prog in egrep; do
6386 for ac_exec_ext in '' $ac_executable_extensions; do
6387 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6388 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6389 # Check for GNU ac_path_EGREP and select it if it is found.
6390 # Check for GNU $ac_path_EGREP
6391 case `"$ac_path_EGREP" --version 2>&1` in
6393 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6396 $as_echo_n 0123456789 >"conftest.in"
6399 cat "conftest.in" "conftest.in" >"conftest.tmp"
6400 mv "conftest.tmp" "conftest.in"
6401 cp "conftest.in" "conftest.nl"
6402 $as_echo 'EGREP' >> "conftest.nl"
6403 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6404 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6405 as_fn_arith $ac_count + 1 && ac_count=$as_val
6406 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6407 # Best one so far, save it but keep looking for a better one
6408 ac_cv_path_EGREP="$ac_path_EGREP"
6409 ac_path_EGREP_max=$ac_count
6411 # 10*(2^10) chars as input seems more than enough
6412 test $ac_count -gt 10 && break
6414 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6417 $ac_path_EGREP_found && break 3
6422 if test -z "$ac_cv_path_EGREP"; then
6423 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6426 ac_cv_path_EGREP=$EGREP
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6432 $as_echo "$ac_cv_path_EGREP" >&6; }
6433 EGREP="$ac_cv_path_EGREP"
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6437 $as_echo_n "checking for fgrep... " >&6; }
6438 if ${ac_cv_path_FGREP+:} false; then :
6439 $as_echo_n "(cached) " >&6
6441 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6442 then ac_cv_path_FGREP="$GREP -F"
6444 if test -z "$FGREP"; then
6445 ac_path_FGREP_found=false
6446 # Loop through the user's path and test for each of PROGNAME-LIST
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6451 test -z "$as_dir" && as_dir=.
6452 for ac_prog in fgrep; do
6453 for ac_exec_ext in '' $ac_executable_extensions; do
6454 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6455 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6456 # Check for GNU ac_path_FGREP and select it if it is found.
6457 # Check for GNU $ac_path_FGREP
6458 case `"$ac_path_FGREP" --version 2>&1` in
6460 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6463 $as_echo_n 0123456789 >"conftest.in"
6466 cat "conftest.in" "conftest.in" >"conftest.tmp"
6467 mv "conftest.tmp" "conftest.in"
6468 cp "conftest.in" "conftest.nl"
6469 $as_echo 'FGREP' >> "conftest.nl"
6470 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6471 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6472 as_fn_arith $ac_count + 1 && ac_count=$as_val
6473 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6474 # Best one so far, save it but keep looking for a better one
6475 ac_cv_path_FGREP="$ac_path_FGREP"
6476 ac_path_FGREP_max=$ac_count
6478 # 10*(2^10) chars as input seems more than enough
6479 test $ac_count -gt 10 && break
6481 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6484 $ac_path_FGREP_found && break 3
6489 if test -z "$ac_cv_path_FGREP"; then
6490 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6493 ac_cv_path_FGREP=$FGREP
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6499 $as_echo "$ac_cv_path_FGREP" >&6; }
6500 FGREP="$ac_cv_path_FGREP"
6503 test -z "$GREP" && GREP=grep
6523 # Check whether --with-gnu-ld was given.
6524 if test "${with_gnu_ld+set}" = set; then :
6525 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6531 if test "$GCC" = yes; then
6532 # Check if gcc -print-prog-name=ld gives a path.
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6534 $as_echo_n "checking for ld used by $CC... " >&6; }
6537 # gcc leaves a trailing carriage return which upsets mingw
6538 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6540 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6543 # Accept absolute paths.
6545 re_direlt='/[^/][^/]*/\.\./'
6546 # Canonicalize the pathname of ld
6547 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6548 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6549 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6551 test -z "$LD" && LD="$ac_prog"
6554 # If it fails, then pretend we aren't using GCC.
6558 # If it is relative, then search for the first ld in PATH.
6562 elif test "$with_gnu_ld" = yes; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6564 $as_echo_n "checking for GNU ld... " >&6; }
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6567 $as_echo_n "checking for non-GNU ld... " >&6; }
6569 if ${lt_cv_path_LD+:} false; then :
6570 $as_echo_n "(cached) " >&6
6572 if test -z "$LD"; then
6573 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6574 for ac_dir in $PATH; do
6576 test -z "$ac_dir" && ac_dir=.
6577 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6578 lt_cv_path_LD="$ac_dir/$ac_prog"
6579 # Check to see if the program is GNU ld. I'd rather use --version,
6580 # but apparently some variants of GNU ld only accept -v.
6581 # Break only if it was the GNU/non-GNU ld that we prefer.
6582 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6583 *GNU* | *'with BFD'*)
6584 test "$with_gnu_ld" != no && break
6587 test "$with_gnu_ld" != yes && break
6594 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6599 if test -n "$LD"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6601 $as_echo "$LD" >&6; }
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 $as_echo "no" >&6; }
6606 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6608 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6609 if ${lt_cv_prog_gnu_ld+:} false; then :
6610 $as_echo_n "(cached) " >&6
6612 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6613 case `$LD -v 2>&1 </dev/null` in
6614 *GNU* | *'with BFD'*)
6615 lt_cv_prog_gnu_ld=yes
6618 lt_cv_prog_gnu_ld=no
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6623 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6624 with_gnu_ld=$lt_cv_prog_gnu_ld
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6635 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6636 if ${lt_cv_path_NM+:} false; then :
6637 $as_echo_n "(cached) " >&6
6639 if test -n "$NM"; then
6640 # Let the user override the test.
6643 lt_nm_to_check="${ac_tool_prefix}nm"
6644 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6645 lt_nm_to_check="$lt_nm_to_check nm"
6647 for lt_tmp_nm in $lt_nm_to_check; do
6648 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6649 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6651 test -z "$ac_dir" && ac_dir=.
6652 tmp_nm="$ac_dir/$lt_tmp_nm"
6653 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6654 # Check to see if the nm accepts a BSD-compat flag.
6655 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6656 # nm: unknown option "B" ignored
6657 # Tru64's nm complains that /dev/null is an invalid object file
6658 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6659 */dev/null* | *'Invalid file or object type'*)
6660 lt_cv_path_NM="$tmp_nm -B"
6664 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6666 lt_cv_path_NM="$tmp_nm -p"
6670 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6671 continue # so that we can try to find one that supports BSD flags
6680 : ${lt_cv_path_NM=no}
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6684 $as_echo "$lt_cv_path_NM" >&6; }
6685 if test "$lt_cv_path_NM" != "no"; then
6688 # Didn't find any BSD compatible name lister, look for dumpbin.
6689 if test -n "$DUMPBIN"; then :
6690 # Let the user override the test.
6692 if test -n "$ac_tool_prefix"; then
6693 for ac_prog in dumpbin "link -dump"
6695 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6696 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6698 $as_echo_n "checking for $ac_word... " >&6; }
6699 if ${ac_cv_prog_DUMPBIN+:} false; then :
6700 $as_echo_n "(cached) " >&6
6702 if test -n "$DUMPBIN"; then
6703 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6709 test -z "$as_dir" && as_dir=.
6710 for ac_exec_ext in '' $ac_executable_extensions; do
6711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6712 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6722 DUMPBIN=$ac_cv_prog_DUMPBIN
6723 if test -n "$DUMPBIN"; then
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6725 $as_echo "$DUMPBIN" >&6; }
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6728 $as_echo "no" >&6; }
6732 test -n "$DUMPBIN" && break
6735 if test -z "$DUMPBIN"; then
6736 ac_ct_DUMPBIN=$DUMPBIN
6737 for ac_prog in dumpbin "link -dump"
6739 # Extract the first word of "$ac_prog", so it can be a program name with args.
6740 set dummy $ac_prog; ac_word=$2
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6742 $as_echo_n "checking for $ac_word... " >&6; }
6743 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6744 $as_echo_n "(cached) " >&6
6746 if test -n "$ac_ct_DUMPBIN"; then
6747 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6753 test -z "$as_dir" && as_dir=.
6754 for ac_exec_ext in '' $ac_executable_extensions; do
6755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6756 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6767 if test -n "$ac_ct_DUMPBIN"; then
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6769 $as_echo "$ac_ct_DUMPBIN" >&6; }
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6772 $as_echo "no" >&6; }
6776 test -n "$ac_ct_DUMPBIN" && break
6779 if test "x$ac_ct_DUMPBIN" = x; then
6782 case $cross_compiling:$ac_tool_warned in
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6786 ac_tool_warned=yes ;;
6788 DUMPBIN=$ac_ct_DUMPBIN
6792 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6794 DUMPBIN="$DUMPBIN -symbols"
6802 if test "$DUMPBIN" != ":"; then
6806 test -z "$NM" && NM=nm
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6814 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6815 if ${lt_cv_nm_interface+:} false; then :
6816 $as_echo_n "(cached) " >&6
6818 lt_cv_nm_interface="BSD nm"
6819 echo "int some_variable = 0;" > conftest.$ac_ext
6820 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6821 (eval "$ac_compile" 2>conftest.err)
6822 cat conftest.err >&5
6823 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6824 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6825 cat conftest.err >&5
6826 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6827 cat conftest.out >&5
6828 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6829 lt_cv_nm_interface="MS dumpbin"
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6834 $as_echo "$lt_cv_nm_interface" >&6; }
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6837 $as_echo_n "checking whether ln -s works... " >&6; }
6839 if test "$LN_S" = "ln -s"; then
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6841 $as_echo "yes" >&6; }
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6844 $as_echo "no, using $LN_S" >&6; }
6847 # find the maximum length of command line arguments
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6849 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6850 if ${lt_cv_sys_max_cmd_len+:} false; then :
6851 $as_echo_n "(cached) " >&6
6858 # On DJGPP, this test can blow up pretty badly due to problems in libc
6859 # (any single argument exceeding 2000 bytes causes a buffer overrun
6860 # during glob expansion). Even if it were fixed, the result of this
6861 # check would be larger than it should be.
6862 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6866 # Under GNU Hurd, this test is not required because there is
6867 # no limit to the length of command line arguments.
6868 # Libtool will interpret -1 as no limit whatsoever
6869 lt_cv_sys_max_cmd_len=-1;
6872 cygwin* | mingw* | cegcc*)
6873 # On Win9x/ME, this test blows up -- it succeeds, but takes
6874 # about 5 minutes as the teststring grows exponentially.
6875 # Worse, since 9x/ME are not pre-emptively multitasking,
6876 # you end up with a "frozen" computer, even though with patience
6877 # the test eventually succeeds (with a max line length of 256k).
6878 # Instead, let's just punt: use the minimum linelength reported by
6879 # all of the supported platforms: 8192 (on NT/2K/XP).
6880 lt_cv_sys_max_cmd_len=8192;
6884 # On MiNT this can take a long time and run out of memory.
6885 lt_cv_sys_max_cmd_len=8192;
6889 # On AmigaOS with pdksh, this test takes hours, literally.
6890 # So we just punt and use a minimum line length of 8192.
6891 lt_cv_sys_max_cmd_len=8192;
6894 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6895 # This has been around since 386BSD, at least. Likely further.
6896 if test -x /sbin/sysctl; then
6897 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6898 elif test -x /usr/sbin/sysctl; then
6899 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6901 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6903 # And add a safety zone
6904 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6905 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6909 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6910 lt_cv_sys_max_cmd_len=196608
6914 # The test takes a long time on OS/2.
6915 lt_cv_sys_max_cmd_len=8192
6919 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6920 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6921 # nice to cause kernel panics so lets avoid the loop below.
6922 # First set a reasonable default.
6923 lt_cv_sys_max_cmd_len=16384
6925 if test -x /sbin/sysconfig; then
6926 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6927 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6932 lt_cv_sys_max_cmd_len=102400
6934 sysv5* | sco5v6* | sysv4.2uw2*)
6935 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6936 if test -n "$kargmax"; then
6937 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6939 lt_cv_sys_max_cmd_len=32768
6943 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6944 if test -n "$lt_cv_sys_max_cmd_len"; then
6945 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6946 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6948 # Make teststring a little bigger before we do anything with it.
6949 # a 1K string should be a reasonable start.
6950 for i in 1 2 3 4 5 6 7 8 ; do
6951 teststring=$teststring$teststring
6953 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6954 # If test is not a shell built-in, we'll probably end up computing a
6955 # maximum length that is only half of the actual maximum length, but
6957 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6958 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6959 test $i != 17 # 1/2 MB should be enough
6962 teststring=$teststring$teststring
6964 # Only check the string length outside the loop.
6965 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6967 # Add a significant safety factor because C++ compilers can tack on
6968 # massive amounts of additional arguments before passing them to the
6969 # linker. It appears as though 1/2 is a usable value.
6970 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6977 if test -n $lt_cv_sys_max_cmd_len ; then
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6979 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6982 $as_echo "none" >&6; }
6984 max_cmd_len=$lt_cv_sys_max_cmd_len
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6996 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6997 # Try some XSI features
7000 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
7002 && eval 'test $(( 1 + 1 )) -eq 2 \
7003 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7006 $as_echo "$xsi_shell" >&6; }
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7010 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7012 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7014 && lt_shell_append=yes
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7016 $as_echo "$lt_shell_append" >&6; }
7019 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7029 # test EBCDIC or ASCII
7030 case `echo X|tr X '\101'` in
7031 A) # ASCII based system
7032 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7033 lt_SP2NL='tr \040 \012'
7034 lt_NL2SP='tr \015\012 \040\040'
7036 *) # EBCDIC based system
7037 lt_SP2NL='tr \100 \n'
7038 lt_NL2SP='tr \r\n \100\100'
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7051 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7052 if ${lt_cv_to_host_file_cmd+:} false; then :
7053 $as_echo_n "(cached) " >&6
7058 *-*-mingw* ) # actually msys
7059 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7062 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7064 * ) # otherwise, assume *nix
7065 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7071 *-*-mingw* ) # actually msys
7072 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7075 lt_cv_to_host_file_cmd=func_convert_file_noop
7077 * ) # otherwise, assume *nix
7078 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7082 * ) # unhandled hosts (and "normal" native builds)
7083 lt_cv_to_host_file_cmd=func_convert_file_noop
7089 to_host_file_cmd=$lt_cv_to_host_file_cmd
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7091 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7098 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7099 if ${lt_cv_to_tool_file_cmd+:} false; then :
7100 $as_echo_n "(cached) " >&6
7102 #assume ordinary cross tools, or native build.
7103 lt_cv_to_tool_file_cmd=func_convert_file_noop
7107 *-*-mingw* ) # actually msys
7108 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7116 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7118 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7125 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7126 if ${lt_cv_ld_reload_flag+:} false; then :
7127 $as_echo_n "(cached) " >&6
7129 lt_cv_ld_reload_flag='-r'
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7132 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7133 reload_flag=$lt_cv_ld_reload_flag
7134 case $reload_flag in
7136 *) reload_flag=" $reload_flag" ;;
7138 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7140 cygwin* | mingw* | pw32* | cegcc*)
7141 if test "$GCC" != yes; then
7146 if test "$GCC" = yes; then
7147 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7149 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7162 if test -n "$ac_tool_prefix"; then
7163 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7164 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7166 $as_echo_n "checking for $ac_word... " >&6; }
7167 if ${ac_cv_prog_OBJDUMP+:} false; then :
7168 $as_echo_n "(cached) " >&6
7170 if test -n "$OBJDUMP"; then
7171 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7177 test -z "$as_dir" && as_dir=.
7178 for ac_exec_ext in '' $ac_executable_extensions; do
7179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7180 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7190 OBJDUMP=$ac_cv_prog_OBJDUMP
7191 if test -n "$OBJDUMP"; then
7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7193 $as_echo "$OBJDUMP" >&6; }
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7196 $as_echo "no" >&6; }
7201 if test -z "$ac_cv_prog_OBJDUMP"; then
7202 ac_ct_OBJDUMP=$OBJDUMP
7203 # Extract the first word of "objdump", so it can be a program name with args.
7204 set dummy objdump; ac_word=$2
7205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7206 $as_echo_n "checking for $ac_word... " >&6; }
7207 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7208 $as_echo_n "(cached) " >&6
7210 if test -n "$ac_ct_OBJDUMP"; then
7211 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7217 test -z "$as_dir" && as_dir=.
7218 for ac_exec_ext in '' $ac_executable_extensions; do
7219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7220 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7230 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7231 if test -n "$ac_ct_OBJDUMP"; then
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7233 $as_echo "$ac_ct_OBJDUMP" >&6; }
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7236 $as_echo "no" >&6; }
7239 if test "x$ac_ct_OBJDUMP" = x; then
7242 case $cross_compiling:$ac_tool_warned in
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7246 ac_tool_warned=yes ;;
7248 OBJDUMP=$ac_ct_OBJDUMP
7251 OBJDUMP="$ac_cv_prog_OBJDUMP"
7254 test -z "$OBJDUMP" && OBJDUMP=objdump
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7262 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7263 if ${lt_cv_deplibs_check_method+:} false; then :
7264 $as_echo_n "(cached) " >&6
7266 lt_cv_file_magic_cmd='$MAGIC_CMD'
7267 lt_cv_file_magic_test_file=
7268 lt_cv_deplibs_check_method='unknown'
7269 # Need to set the preceding variable on all platforms that support
7270 # interlibrary dependencies.
7271 # 'none' -- dependencies not supported.
7272 # `unknown' -- same as none, but documents that we really don't know.
7273 # 'pass_all' -- all dependencies passed with no checks.
7274 # 'test_compile' -- check by making test program.
7275 # 'file_magic [[regex]]' -- check by looking for files in library path
7276 # which responds to the $file_magic_cmd with a given extended regex.
7277 # If you have `file' or equivalent on your system and you're not sure
7278 # whether `pass_all' will *always* work, you probably want this one.
7282 lt_cv_deplibs_check_method=pass_all
7286 lt_cv_deplibs_check_method=pass_all
7290 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7291 lt_cv_file_magic_cmd='/usr/bin/file -L'
7292 lt_cv_file_magic_test_file=/shlib/libc.so
7296 # func_win32_libid is a shell function defined in ltmain.sh
7297 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7298 lt_cv_file_magic_cmd='func_win32_libid'
7302 # Base MSYS/MinGW do not provide the 'file' command needed by
7303 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7304 # unless we find 'file', for example because we are cross-compiling.
7305 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7306 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7307 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7308 lt_cv_file_magic_cmd='func_win32_libid'
7310 # Keep this pattern in sync with the one in func_win32_libid.
7311 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7312 lt_cv_file_magic_cmd='$OBJDUMP -f'
7317 # use the weaker test based on 'objdump'. See mingw*.
7318 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7319 lt_cv_file_magic_cmd='$OBJDUMP -f'
7322 darwin* | rhapsody*)
7323 lt_cv_deplibs_check_method=pass_all
7326 freebsd* | dragonfly*)
7327 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7330 # Not sure whether the presence of OpenBSD here was a mistake.
7331 # Let's accept both of them until this is cleared up.
7332 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7333 lt_cv_file_magic_cmd=/usr/bin/file
7334 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7338 lt_cv_deplibs_check_method=pass_all
7343 lt_cv_deplibs_check_method=pass_all
7347 lt_cv_deplibs_check_method=pass_all
7350 hpux10.20* | hpux11*)
7351 lt_cv_file_magic_cmd=/usr/bin/file
7354 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7355 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7358 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]'
7359 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7362 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7363 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7369 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7370 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7373 irix5* | irix6* | nonstopux*)
7375 *-32|*"-32 ") libmagic=32-bit;;
7376 *-n32|*"-n32 ") libmagic=N32;;
7377 *-64|*"-64 ") libmagic=64-bit;;
7378 *) libmagic=never-match;;
7380 lt_cv_deplibs_check_method=pass_all
7383 # This must be glibc/ELF.
7384 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7385 lt_cv_deplibs_check_method=pass_all
7388 netbsd* | netbsdelf*-gnu)
7389 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7390 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7392 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7397 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7398 lt_cv_file_magic_cmd=/usr/bin/file
7399 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7403 lt_cv_deplibs_check_method=pass_all
7407 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7408 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7410 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7414 osf3* | osf4* | osf5*)
7415 lt_cv_deplibs_check_method=pass_all
7419 lt_cv_deplibs_check_method=pass_all
7423 lt_cv_deplibs_check_method=pass_all
7426 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7427 lt_cv_deplibs_check_method=pass_all
7431 case $host_vendor in
7433 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]'
7434 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7437 lt_cv_deplibs_check_method=pass_all
7440 lt_cv_file_magic_cmd='/bin/file'
7441 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7444 lt_cv_file_magic_cmd='/bin/file'
7445 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7446 lt_cv_file_magic_test_file=/lib/libc.so
7449 lt_cv_deplibs_check_method=pass_all
7452 lt_cv_deplibs_check_method=pass_all
7458 lt_cv_deplibs_check_method=pass_all
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7464 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7468 if test "$build" = "$host"; then
7471 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7474 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7480 file_magic_cmd=$lt_cv_file_magic_cmd
7481 deplibs_check_method=$lt_cv_deplibs_check_method
7482 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7505 if test -n "$ac_tool_prefix"; then
7506 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7507 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7509 $as_echo_n "checking for $ac_word... " >&6; }
7510 if ${ac_cv_prog_DLLTOOL+:} false; then :
7511 $as_echo_n "(cached) " >&6
7513 if test -n "$DLLTOOL"; then
7514 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7520 test -z "$as_dir" && as_dir=.
7521 for ac_exec_ext in '' $ac_executable_extensions; do
7522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7523 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7533 DLLTOOL=$ac_cv_prog_DLLTOOL
7534 if test -n "$DLLTOOL"; then
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7536 $as_echo "$DLLTOOL" >&6; }
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7539 $as_echo "no" >&6; }
7544 if test -z "$ac_cv_prog_DLLTOOL"; then
7545 ac_ct_DLLTOOL=$DLLTOOL
7546 # Extract the first word of "dlltool", so it can be a program name with args.
7547 set dummy dlltool; ac_word=$2
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7549 $as_echo_n "checking for $ac_word... " >&6; }
7550 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7551 $as_echo_n "(cached) " >&6
7553 if test -n "$ac_ct_DLLTOOL"; then
7554 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560 test -z "$as_dir" && as_dir=.
7561 for ac_exec_ext in '' $ac_executable_extensions; do
7562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7563 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7573 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7574 if test -n "$ac_ct_DLLTOOL"; then
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7576 $as_echo "$ac_ct_DLLTOOL" >&6; }
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7579 $as_echo "no" >&6; }
7582 if test "x$ac_ct_DLLTOOL" = x; then
7585 case $cross_compiling:$ac_tool_warned in
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7589 ac_tool_warned=yes ;;
7591 DLLTOOL=$ac_ct_DLLTOOL
7594 DLLTOOL="$ac_cv_prog_DLLTOOL"
7597 test -z "$DLLTOOL" && DLLTOOL=dlltool
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7606 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7607 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7608 $as_echo_n "(cached) " >&6
7610 lt_cv_sharedlib_from_linklib_cmd='unknown'
7613 cygwin* | mingw* | pw32* | cegcc*)
7614 # two different shell functions defined in ltmain.sh
7615 # decide which to use based on capabilities of $DLLTOOL
7616 case `$DLLTOOL --help 2>&1` in
7617 *--identify-strict*)
7618 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7621 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7626 # fallback: assume linklib IS sharedlib
7627 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7633 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7634 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7635 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7644 if test -n "$ac_tool_prefix"; then
7647 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7648 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7650 $as_echo_n "checking for $ac_word... " >&6; }
7651 if ${ac_cv_prog_AR+:} false; then :
7652 $as_echo_n "(cached) " >&6
7654 if test -n "$AR"; then
7655 ac_cv_prog_AR="$AR" # Let the user override the test.
7657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7661 test -z "$as_dir" && as_dir=.
7662 for ac_exec_ext in '' $ac_executable_extensions; do
7663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7664 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7675 if test -n "$AR"; then
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7677 $as_echo "$AR" >&6; }
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7680 $as_echo "no" >&6; }
7684 test -n "$AR" && break
7687 if test -z "$AR"; then
7691 # Extract the first word of "$ac_prog", so it can be a program name with args.
7692 set dummy $ac_prog; ac_word=$2
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7694 $as_echo_n "checking for $ac_word... " >&6; }
7695 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7696 $as_echo_n "(cached) " >&6
7698 if test -n "$ac_ct_AR"; then
7699 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7705 test -z "$as_dir" && as_dir=.
7706 for ac_exec_ext in '' $ac_executable_extensions; do
7707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7708 ac_cv_prog_ac_ct_AR="$ac_prog"
7709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7718 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7719 if test -n "$ac_ct_AR"; then
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7721 $as_echo "$ac_ct_AR" >&6; }
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7724 $as_echo "no" >&6; }
7728 test -n "$ac_ct_AR" && break
7731 if test "x$ac_ct_AR" = x; then
7734 case $cross_compiling:$ac_tool_warned in
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7738 ac_tool_warned=yes ;;
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7758 $as_echo_n "checking for archiver @FILE support... " >&6; }
7759 if ${lt_cv_ar_at_file+:} false; then :
7760 $as_echo_n "(cached) " >&6
7763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7764 /* end confdefs.h. */
7774 if ac_fn_c_try_compile "$LINENO"; then :
7775 echo conftest.$ac_objext > conftest.lst
7776 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7777 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7778 (eval $lt_ar_try) 2>&5
7780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7781 test $ac_status = 0; }
7782 if test "$ac_status" -eq 0; then
7783 # Ensure the archiver fails upon bogus file names.
7784 rm -f conftest.$ac_objext libconftest.a
7785 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7786 (eval $lt_ar_try) 2>&5
7788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7789 test $ac_status = 0; }
7790 if test "$ac_status" -ne 0; then
7794 rm -f conftest.* libconftest.a
7797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7801 $as_echo "$lt_cv_ar_at_file" >&6; }
7803 if test "x$lt_cv_ar_at_file" = xno; then
7806 archiver_list_spec=$lt_cv_ar_at_file
7815 if test -n "$ac_tool_prefix"; then
7816 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7817 set dummy ${ac_tool_prefix}strip; ac_word=$2
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7819 $as_echo_n "checking for $ac_word... " >&6; }
7820 if ${ac_cv_prog_STRIP+:} false; then :
7821 $as_echo_n "(cached) " >&6
7823 if test -n "$STRIP"; then
7824 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7830 test -z "$as_dir" && as_dir=.
7831 for ac_exec_ext in '' $ac_executable_extensions; do
7832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7833 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7843 STRIP=$ac_cv_prog_STRIP
7844 if test -n "$STRIP"; then
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7846 $as_echo "$STRIP" >&6; }
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7849 $as_echo "no" >&6; }
7854 if test -z "$ac_cv_prog_STRIP"; then
7856 # Extract the first word of "strip", so it can be a program name with args.
7857 set dummy strip; ac_word=$2
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7859 $as_echo_n "checking for $ac_word... " >&6; }
7860 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7861 $as_echo_n "(cached) " >&6
7863 if test -n "$ac_ct_STRIP"; then
7864 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7870 test -z "$as_dir" && as_dir=.
7871 for ac_exec_ext in '' $ac_executable_extensions; do
7872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7873 ac_cv_prog_ac_ct_STRIP="strip"
7874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7883 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7884 if test -n "$ac_ct_STRIP"; then
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7886 $as_echo "$ac_ct_STRIP" >&6; }
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7889 $as_echo "no" >&6; }
7892 if test "x$ac_ct_STRIP" = x; then
7895 case $cross_compiling:$ac_tool_warned in
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7899 ac_tool_warned=yes ;;
7904 STRIP="$ac_cv_prog_STRIP"
7907 test -z "$STRIP" && STRIP=:
7914 if test -n "$ac_tool_prefix"; then
7915 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7916 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7918 $as_echo_n "checking for $ac_word... " >&6; }
7919 if ${ac_cv_prog_RANLIB+:} false; then :
7920 $as_echo_n "(cached) " >&6
7922 if test -n "$RANLIB"; then
7923 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7929 test -z "$as_dir" && as_dir=.
7930 for ac_exec_ext in '' $ac_executable_extensions; do
7931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7932 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7942 RANLIB=$ac_cv_prog_RANLIB
7943 if test -n "$RANLIB"; then
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7945 $as_echo "$RANLIB" >&6; }
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7948 $as_echo "no" >&6; }
7953 if test -z "$ac_cv_prog_RANLIB"; then
7954 ac_ct_RANLIB=$RANLIB
7955 # Extract the first word of "ranlib", so it can be a program name with args.
7956 set dummy ranlib; ac_word=$2
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7958 $as_echo_n "checking for $ac_word... " >&6; }
7959 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7960 $as_echo_n "(cached) " >&6
7962 if test -n "$ac_ct_RANLIB"; then
7963 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7969 test -z "$as_dir" && as_dir=.
7970 for ac_exec_ext in '' $ac_executable_extensions; do
7971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7972 ac_cv_prog_ac_ct_RANLIB="ranlib"
7973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7982 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7983 if test -n "$ac_ct_RANLIB"; then
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7985 $as_echo "$ac_ct_RANLIB" >&6; }
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7988 $as_echo "no" >&6; }
7991 if test "x$ac_ct_RANLIB" = x; then
7994 case $cross_compiling:$ac_tool_warned in
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7998 ac_tool_warned=yes ;;
8000 RANLIB=$ac_ct_RANLIB
8003 RANLIB="$ac_cv_prog_RANLIB"
8006 test -z "$RANLIB" && RANLIB=:
8013 # Determine commands to create old-style static archives.
8014 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8015 old_postinstall_cmds='chmod 644 $oldlib'
8016 old_postuninstall_cmds=
8018 if test -n "$RANLIB"; then
8021 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8024 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8027 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8032 lock_old_archive_extraction=yes ;;
8034 lock_old_archive_extraction=no ;;
8075 # If no C compiler was specified, use CC.
8078 # If no C compiler flags were specified, use CFLAGS.
8079 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8081 # Allow CC to be a program name with arguments.
8085 # Check for command to grab the raw symbol name followed by C symbol from nm.
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8087 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8088 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8089 $as_echo_n "(cached) " >&6
8092 # These are sane defaults that work on at least a few old systems.
8093 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8095 # Character class describing NM global symbol codes.
8096 symcode='[BCDEGRST]'
8098 # Regexp to match symbols that can be accessed directly from C.
8099 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8101 # Define system-specific variables.
8106 cygwin* | mingw* | pw32* | cegcc*)
8107 symcode='[ABCDGISTW]'
8110 if test "$host_cpu" = ia64; then
8111 symcode='[ABCDEGRST]'
8115 symcode='[BCDEGRST]'
8118 symcode='[BCDEGQRST]'
8129 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8137 # If we're using GNU nm, then use its standard symbol codes.
8138 case `$NM -V 2>&1` in
8139 *GNU* | *'with BFD'*)
8140 symcode='[ABCDGIRSTW]' ;;
8143 # Transform an extracted symbol line into a proper C declaration.
8144 # Some systems (esp. on ia64) link data and code symbols differently,
8145 # so use this general approach.
8146 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8148 # Transform an extracted symbol line into symbol name and symbol address
8149 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8150 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'"
8152 # Handle CRLF in mingw tool chain
8156 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8160 # Try without a prefix underscore, then with it.
8161 for ac_symprfx in "" "_"; do
8163 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8164 symxfrm="\\1 $ac_symprfx\\2 \\2"
8166 # Write the raw and C identifiers.
8167 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8168 # Fake it for dumpbin and say T for any non-static function
8169 # and D for any global variable.
8170 # Also find C++ and __fastcall symbols from MSVC++,
8171 # which start with @ or ?.
8172 lt_cv_sys_global_symbol_pipe="$AWK '"\
8173 " {last_section=section; section=\$ 3};"\
8174 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8175 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8176 " \$ 0!~/External *\|/{next};"\
8177 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8178 " {if(hide[section]) next};"\
8179 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8180 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8181 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8182 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8183 " ' prfx=^$ac_symprfx"
8185 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8187 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8189 # Check to see that the pipe works correctly.
8193 cat > conftest.$ac_ext <<_LT_EOF
8198 void nm_test_func(void);
8199 void nm_test_func(void){}
8203 int main(){nm_test_var='a';nm_test_func();return(0);}
8206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8207 (eval $ac_compile) 2>&5
8209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8210 test $ac_status = 0; }; then
8211 # Now try to grab the symbols.
8213 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8214 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8217 test $ac_status = 0; } && test -s "$nlist"; then
8218 # Try sorting and uniquifying the output.
8219 if sort "$nlist" | uniq > "$nlist"T; then
8220 mv -f "$nlist"T "$nlist"
8225 # Make sure that we snagged all the symbols we need.
8226 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8227 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8228 cat <<_LT_EOF > conftest.$ac_ext
8229 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8230 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8231 /* DATA imports from DLLs on WIN32 con't be const, because runtime
8232 relocations are performed -- see ld's documentation on pseudo-relocs. */
8233 # define LT_DLSYM_CONST
8234 #elif defined(__osf__)
8235 /* This system does not cope well with relocations in const data. */
8236 # define LT_DLSYM_CONST
8238 # define LT_DLSYM_CONST const
8246 # Now generate the symbol file.
8247 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8249 cat <<_LT_EOF >> conftest.$ac_ext
8251 /* The mapping between symbol names and symbols. */
8252 LT_DLSYM_CONST struct {
8256 lt__PROGRAM__LTX_preloaded_symbols[] =
8258 { "@PROGRAM@", (void *) 0 },
8260 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8261 cat <<\_LT_EOF >> conftest.$ac_ext
8265 /* This works around a problem in FreeBSD linker */
8266 #ifdef FREEBSD_WORKAROUND
8267 static const void *lt_preloaded_setup() {
8268 return lt__PROGRAM__LTX_preloaded_symbols;
8276 # Now try linking the two files.
8277 mv conftest.$ac_objext conftstm.$ac_objext
8278 lt_globsym_save_LIBS=$LIBS
8279 lt_globsym_save_CFLAGS=$CFLAGS
8280 LIBS="conftstm.$ac_objext"
8281 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8282 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8283 (eval $ac_link) 2>&5
8285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8286 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8289 LIBS=$lt_globsym_save_LIBS
8290 CFLAGS=$lt_globsym_save_CFLAGS
8292 echo "cannot find nm_test_func in $nlist" >&5
8295 echo "cannot find nm_test_var in $nlist" >&5
8298 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8301 echo "$progname: failed program was:" >&5
8302 cat conftest.$ac_ext >&5
8304 rm -rf conftest* conftst*
8306 # Do not use the global_symbol_pipe unless it works.
8307 if test "$pipe_works" = yes; then
8310 lt_cv_sys_global_symbol_pipe=
8316 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8317 lt_cv_sys_global_symbol_to_cdecl=
8319 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8321 $as_echo "failed" >&6; }
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8324 $as_echo "ok" >&6; }
8327 # Response file support.
8328 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8329 nm_file_list_spec='@'
8330 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8331 nm_file_list_spec='@'
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8361 $as_echo_n "checking for sysroot... " >&6; }
8363 # Check whether --with-sysroot was given.
8364 if test "${with_sysroot+set}" = set; then :
8365 withval=$with_sysroot;
8372 case ${with_sysroot} in #(
8374 if test "$GCC" = yes; then
8375 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8379 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8385 $as_echo "${with_sysroot}" >&6; }
8386 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8391 $as_echo "${lt_sysroot:-no}" >&6; }
8397 # Check whether --enable-libtool-lock was given.
8398 if test "${enable_libtool_lock+set}" = set; then :
8399 enableval=$enable_libtool_lock;
8402 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8404 # Some flags need to be propagated to the compiler or linker for good
8408 # Find out which ABI we are using.
8409 echo 'int i;' > conftest.$ac_ext
8410 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8411 (eval $ac_compile) 2>&5
8413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8414 test $ac_status = 0; }; then
8415 case `/usr/bin/file conftest.$ac_objext` in
8427 # Find out which ABI we are using.
8428 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8429 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8430 (eval $ac_compile) 2>&5
8432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8433 test $ac_status = 0; }; then
8434 if test "$lt_cv_prog_gnu_ld" = yes; then
8435 case `/usr/bin/file conftest.$ac_objext` in
8437 LD="${LD-ld} -melf32bsmip"
8440 LD="${LD-ld} -melf32bmipn32"
8443 LD="${LD-ld} -melf64bmip"
8447 case `/usr/bin/file conftest.$ac_objext` in
8463 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8464 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8465 # Find out which ABI we are using.
8466 echo 'int i;' > conftest.$ac_ext
8467 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8468 (eval $ac_compile) 2>&5
8470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8471 test $ac_status = 0; }; then
8472 case `/usr/bin/file conftest.o` in
8475 x86_64-*kfreebsd*-gnu)
8476 LD="${LD-ld} -m elf_i386_fbsd"
8479 LD="${LD-ld} -m elf_i386"
8481 ppc64-*linux*|powerpc64-*linux*)
8482 LD="${LD-ld} -m elf32ppclinux"
8485 LD="${LD-ld} -m elf_s390"
8488 LD="${LD-ld} -m elf32_sparc"
8494 x86_64-*kfreebsd*-gnu)
8495 LD="${LD-ld} -m elf_x86_64_fbsd"
8498 LD="${LD-ld} -m elf_x86_64"
8500 ppc*-*linux*|powerpc*-*linux*)
8501 LD="${LD-ld} -m elf64ppc"
8503 s390*-*linux*|s390*-*tpf*)
8504 LD="${LD-ld} -m elf64_s390"
8507 LD="${LD-ld} -m elf64_sparc"
8517 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8518 SAVE_CFLAGS="$CFLAGS"
8519 CFLAGS="$CFLAGS -belf"
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8521 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8522 if ${lt_cv_cc_needs_belf+:} false; then :
8523 $as_echo_n "(cached) " >&6
8526 ac_cpp='$CPP $CPPFLAGS'
8527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8532 /* end confdefs.h. */
8542 if ac_fn_c_try_link "$LINENO"; then :
8543 lt_cv_cc_needs_belf=yes
8545 lt_cv_cc_needs_belf=no
8547 rm -f core conftest.err conftest.$ac_objext \
8548 conftest$ac_exeext conftest.$ac_ext
8550 ac_cpp='$CPP $CPPFLAGS'
8551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8557 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8558 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8559 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8560 CFLAGS="$SAVE_CFLAGS"
8564 # Find out which ABI we are using.
8565 echo 'int i;' > conftest.$ac_ext
8566 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8567 (eval $ac_compile) 2>&5
8569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8570 test $ac_status = 0; }; then
8571 case `/usr/bin/file conftest.o` in
8573 case $lt_cv_prog_gnu_ld in
8577 LD="${LD-ld} -m elf_x86_64"
8580 LD="${LD-ld} -m elf64_sparc"
8583 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8584 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8589 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8601 need_locks="$enable_libtool_lock"
8603 if test -n "$ac_tool_prefix"; then
8604 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8605 set dummy ${ac_tool_prefix}mt; ac_word=$2
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8607 $as_echo_n "checking for $ac_word... " >&6; }
8608 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8609 $as_echo_n "(cached) " >&6
8611 if test -n "$MANIFEST_TOOL"; then
8612 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8618 test -z "$as_dir" && as_dir=.
8619 for ac_exec_ext in '' $ac_executable_extensions; do
8620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8621 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8631 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8632 if test -n "$MANIFEST_TOOL"; then
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8634 $as_echo "$MANIFEST_TOOL" >&6; }
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8637 $as_echo "no" >&6; }
8642 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8643 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8644 # Extract the first word of "mt", so it can be a program name with args.
8645 set dummy mt; ac_word=$2
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8647 $as_echo_n "checking for $ac_word... " >&6; }
8648 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8649 $as_echo_n "(cached) " >&6
8651 if test -n "$ac_ct_MANIFEST_TOOL"; then
8652 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8658 test -z "$as_dir" && as_dir=.
8659 for ac_exec_ext in '' $ac_executable_extensions; do
8660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8661 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8671 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8672 if test -n "$ac_ct_MANIFEST_TOOL"; then
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8674 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8677 $as_echo "no" >&6; }
8680 if test "x$ac_ct_MANIFEST_TOOL" = x; then
8683 case $cross_compiling:$ac_tool_warned in
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8687 ac_tool_warned=yes ;;
8689 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8692 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8695 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
8697 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
8698 if ${lt_cv_path_mainfest_tool+:} false; then :
8699 $as_echo_n "(cached) " >&6
8701 lt_cv_path_mainfest_tool=no
8702 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8703 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8704 cat conftest.err >&5
8705 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8706 lt_cv_path_mainfest_tool=yes
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
8711 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8712 if test "x$lt_cv_path_mainfest_tool" != xyes; then
8722 rhapsody* | darwin*)
8723 if test -n "$ac_tool_prefix"; then
8724 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8725 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8727 $as_echo_n "checking for $ac_word... " >&6; }
8728 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8729 $as_echo_n "(cached) " >&6
8731 if test -n "$DSYMUTIL"; then
8732 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8738 test -z "$as_dir" && as_dir=.
8739 for ac_exec_ext in '' $ac_executable_extensions; do
8740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8741 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8751 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8752 if test -n "$DSYMUTIL"; then
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8754 $as_echo "$DSYMUTIL" >&6; }
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8757 $as_echo "no" >&6; }
8762 if test -z "$ac_cv_prog_DSYMUTIL"; then
8763 ac_ct_DSYMUTIL=$DSYMUTIL
8764 # Extract the first word of "dsymutil", so it can be a program name with args.
8765 set dummy dsymutil; ac_word=$2
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8767 $as_echo_n "checking for $ac_word... " >&6; }
8768 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8769 $as_echo_n "(cached) " >&6
8771 if test -n "$ac_ct_DSYMUTIL"; then
8772 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8778 test -z "$as_dir" && as_dir=.
8779 for ac_exec_ext in '' $ac_executable_extensions; do
8780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8781 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8791 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8792 if test -n "$ac_ct_DSYMUTIL"; then
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8794 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8797 $as_echo "no" >&6; }
8800 if test "x$ac_ct_DSYMUTIL" = x; then
8803 case $cross_compiling:$ac_tool_warned in
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8807 ac_tool_warned=yes ;;
8809 DSYMUTIL=$ac_ct_DSYMUTIL
8812 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8815 if test -n "$ac_tool_prefix"; then
8816 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8817 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8819 $as_echo_n "checking for $ac_word... " >&6; }
8820 if ${ac_cv_prog_NMEDIT+:} false; then :
8821 $as_echo_n "(cached) " >&6
8823 if test -n "$NMEDIT"; then
8824 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8830 test -z "$as_dir" && as_dir=.
8831 for ac_exec_ext in '' $ac_executable_extensions; do
8832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8833 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8843 NMEDIT=$ac_cv_prog_NMEDIT
8844 if test -n "$NMEDIT"; then
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8846 $as_echo "$NMEDIT" >&6; }
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8849 $as_echo "no" >&6; }
8854 if test -z "$ac_cv_prog_NMEDIT"; then
8855 ac_ct_NMEDIT=$NMEDIT
8856 # Extract the first word of "nmedit", so it can be a program name with args.
8857 set dummy nmedit; ac_word=$2
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8859 $as_echo_n "checking for $ac_word... " >&6; }
8860 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8861 $as_echo_n "(cached) " >&6
8863 if test -n "$ac_ct_NMEDIT"; then
8864 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8870 test -z "$as_dir" && as_dir=.
8871 for ac_exec_ext in '' $ac_executable_extensions; do
8872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8873 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8883 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8884 if test -n "$ac_ct_NMEDIT"; then
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8886 $as_echo "$ac_ct_NMEDIT" >&6; }
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8889 $as_echo "no" >&6; }
8892 if test "x$ac_ct_NMEDIT" = x; then
8895 case $cross_compiling:$ac_tool_warned in
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8899 ac_tool_warned=yes ;;
8901 NMEDIT=$ac_ct_NMEDIT
8904 NMEDIT="$ac_cv_prog_NMEDIT"
8907 if test -n "$ac_tool_prefix"; then
8908 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8909 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8911 $as_echo_n "checking for $ac_word... " >&6; }
8912 if ${ac_cv_prog_LIPO+:} false; then :
8913 $as_echo_n "(cached) " >&6
8915 if test -n "$LIPO"; then
8916 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8922 test -z "$as_dir" && as_dir=.
8923 for ac_exec_ext in '' $ac_executable_extensions; do
8924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8925 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8935 LIPO=$ac_cv_prog_LIPO
8936 if test -n "$LIPO"; then
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8938 $as_echo "$LIPO" >&6; }
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8941 $as_echo "no" >&6; }
8946 if test -z "$ac_cv_prog_LIPO"; then
8948 # Extract the first word of "lipo", so it can be a program name with args.
8949 set dummy lipo; ac_word=$2
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8951 $as_echo_n "checking for $ac_word... " >&6; }
8952 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8953 $as_echo_n "(cached) " >&6
8955 if test -n "$ac_ct_LIPO"; then
8956 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8962 test -z "$as_dir" && as_dir=.
8963 for ac_exec_ext in '' $ac_executable_extensions; do
8964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8965 ac_cv_prog_ac_ct_LIPO="lipo"
8966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8975 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8976 if test -n "$ac_ct_LIPO"; then
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8978 $as_echo "$ac_ct_LIPO" >&6; }
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8981 $as_echo "no" >&6; }
8984 if test "x$ac_ct_LIPO" = x; then
8987 case $cross_compiling:$ac_tool_warned in
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8991 ac_tool_warned=yes ;;
8996 LIPO="$ac_cv_prog_LIPO"
8999 if test -n "$ac_tool_prefix"; then
9000 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9001 set dummy ${ac_tool_prefix}otool; ac_word=$2
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9003 $as_echo_n "checking for $ac_word... " >&6; }
9004 if ${ac_cv_prog_OTOOL+:} false; then :
9005 $as_echo_n "(cached) " >&6
9007 if test -n "$OTOOL"; then
9008 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9014 test -z "$as_dir" && as_dir=.
9015 for ac_exec_ext in '' $ac_executable_extensions; do
9016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9017 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9027 OTOOL=$ac_cv_prog_OTOOL
9028 if test -n "$OTOOL"; then
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9030 $as_echo "$OTOOL" >&6; }
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9033 $as_echo "no" >&6; }
9038 if test -z "$ac_cv_prog_OTOOL"; then
9040 # Extract the first word of "otool", so it can be a program name with args.
9041 set dummy otool; ac_word=$2
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9043 $as_echo_n "checking for $ac_word... " >&6; }
9044 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9045 $as_echo_n "(cached) " >&6
9047 if test -n "$ac_ct_OTOOL"; then
9048 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9054 test -z "$as_dir" && as_dir=.
9055 for ac_exec_ext in '' $ac_executable_extensions; do
9056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9057 ac_cv_prog_ac_ct_OTOOL="otool"
9058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9067 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9068 if test -n "$ac_ct_OTOOL"; then
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9070 $as_echo "$ac_ct_OTOOL" >&6; }
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9073 $as_echo "no" >&6; }
9076 if test "x$ac_ct_OTOOL" = x; then
9079 case $cross_compiling:$ac_tool_warned in
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9083 ac_tool_warned=yes ;;
9088 OTOOL="$ac_cv_prog_OTOOL"
9091 if test -n "$ac_tool_prefix"; then
9092 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9093 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9095 $as_echo_n "checking for $ac_word... " >&6; }
9096 if ${ac_cv_prog_OTOOL64+:} false; then :
9097 $as_echo_n "(cached) " >&6
9099 if test -n "$OTOOL64"; then
9100 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9106 test -z "$as_dir" && as_dir=.
9107 for ac_exec_ext in '' $ac_executable_extensions; do
9108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9109 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9119 OTOOL64=$ac_cv_prog_OTOOL64
9120 if test -n "$OTOOL64"; then
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9122 $as_echo "$OTOOL64" >&6; }
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9125 $as_echo "no" >&6; }
9130 if test -z "$ac_cv_prog_OTOOL64"; then
9131 ac_ct_OTOOL64=$OTOOL64
9132 # Extract the first word of "otool64", so it can be a program name with args.
9133 set dummy otool64; ac_word=$2
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9135 $as_echo_n "checking for $ac_word... " >&6; }
9136 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9137 $as_echo_n "(cached) " >&6
9139 if test -n "$ac_ct_OTOOL64"; then
9140 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9146 test -z "$as_dir" && as_dir=.
9147 for ac_exec_ext in '' $ac_executable_extensions; do
9148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9149 ac_cv_prog_ac_ct_OTOOL64="otool64"
9150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9159 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9160 if test -n "$ac_ct_OTOOL64"; then
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9162 $as_echo "$ac_ct_OTOOL64" >&6; }
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9165 $as_echo "no" >&6; }
9168 if test "x$ac_ct_OTOOL64" = x; then
9171 case $cross_compiling:$ac_tool_warned in
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9175 ac_tool_warned=yes ;;
9177 OTOOL64=$ac_ct_OTOOL64
9180 OTOOL64="$ac_cv_prog_OTOOL64"
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9210 $as_echo_n "checking for -single_module linker flag... " >&6; }
9211 if ${lt_cv_apple_cc_single_mod+:} false; then :
9212 $as_echo_n "(cached) " >&6
9214 lt_cv_apple_cc_single_mod=no
9215 if test -z "${LT_MULTI_MODULE}"; then
9216 # By default we will add the -single_module flag. You can override
9217 # by either setting the environment variable LT_MULTI_MODULE
9218 # non-empty at configure time, or by adding -multi_module to the
9220 rm -rf libconftest.dylib*
9221 echo "int foo(void){return 1;}" > conftest.c
9222 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9223 -dynamiclib -Wl,-single_module conftest.c" >&5
9224 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9225 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9227 # If there is a non-empty error log, and "single_module"
9228 # appears in it, assume the flag caused a linker warning
9229 if test -s conftest.err && $GREP single_module conftest.err; then
9230 cat conftest.err >&5
9231 # Otherwise, if the output was created with a 0 exit code from
9232 # the compiler, it worked.
9233 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
9234 lt_cv_apple_cc_single_mod=yes
9236 cat conftest.err >&5
9238 rm -rf libconftest.dylib*
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9243 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9246 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9247 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9248 $as_echo_n "(cached) " >&6
9250 lt_cv_ld_exported_symbols_list=no
9251 save_LDFLAGS=$LDFLAGS
9252 echo "_main" > conftest.sym
9253 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9255 /* end confdefs.h. */
9265 if ac_fn_c_try_link "$LINENO"; then :
9266 lt_cv_ld_exported_symbols_list=yes
9268 lt_cv_ld_exported_symbols_list=no
9270 rm -f core conftest.err conftest.$ac_objext \
9271 conftest$ac_exeext conftest.$ac_ext
9272 LDFLAGS="$save_LDFLAGS"
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9276 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9279 $as_echo_n "checking for -force_load linker flag... " >&6; }
9280 if ${lt_cv_ld_force_load+:} false; then :
9281 $as_echo_n "(cached) " >&6
9283 lt_cv_ld_force_load=no
9284 cat > conftest.c << _LT_EOF
9285 int forced_loaded() { return 2;}
9287 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9288 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9289 echo "$AR cru libconftest.a conftest.o" >&5
9290 $AR cru libconftest.a conftest.o 2>&5
9291 echo "$RANLIB libconftest.a" >&5
9292 $RANLIB libconftest.a 2>&5
9293 cat > conftest.c << _LT_EOF
9294 int main() { return 0;}
9296 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9297 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9299 if test -s conftest.err && $GREP force_load conftest.err; then
9300 cat conftest.err >&5
9301 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9302 lt_cv_ld_force_load=yes
9304 cat conftest.err >&5
9306 rm -f conftest.err libconftest.a conftest conftest.c
9307 rm -rf conftest.dSYM
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9311 $as_echo "$lt_cv_ld_force_load" >&6; }
9313 rhapsody* | darwin1.[012])
9314 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9316 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9317 darwin*) # darwin 5.x on
9318 # if running on 10.5 or later, the deployment target defaults
9319 # to the OS version, if on x86, and 10.4, the deployment
9320 # target defaults to 10.4. Don't you love it?
9321 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9322 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9323 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9325 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9327 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9331 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9332 _lt_dar_single_mod='$single_module'
9334 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9335 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9337 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9339 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9340 _lt_dsymutil='~$DSYMUTIL $lib || :'
9348 ac_cpp='$CPP $CPPFLAGS'
9349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
9353 $as_echo_n "checking how to run the C preprocessor... " >&6; }
9354 # On Suns, sometimes $CPP names a directory.
9355 if test -n "$CPP" && test -d "$CPP"; then
9358 if test -z "$CPP"; then
9359 if ${ac_cv_prog_CPP+:} false; then :
9360 $as_echo_n "(cached) " >&6
9362 # Double quotes because CPP needs to be expanded
9363 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
9366 for ac_c_preproc_warn_flag in '' yes
9368 # Use a header file that comes with gcc, so configuring glibc
9369 # with a fresh cross-compiler works.
9370 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9371 # <limits.h> exists even on freestanding compilers.
9372 # On the NeXT, cc -E runs the code through the compiler's parser,
9373 # not just through cpp. "Syntax error" is here to catch this case.
9374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9375 /* end confdefs.h. */
9377 # include <limits.h>
9379 # include <assert.h>
9383 if ac_fn_c_try_cpp "$LINENO"; then :
9386 # Broken: fails on valid input.
9389 rm -f conftest.err conftest.i conftest.$ac_ext
9391 # OK, works on sane cases. Now check whether nonexistent headers
9392 # can be detected and how.
9393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9394 /* end confdefs.h. */
9395 #include <ac_nonexistent.h>
9397 if ac_fn_c_try_cpp "$LINENO"; then :
9398 # Broken: success on invalid input.
9401 # Passes both tests.
9405 rm -f conftest.err conftest.i conftest.$ac_ext
9408 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9409 rm -f conftest.i conftest.err conftest.$ac_ext
9410 if $ac_preproc_ok; then :
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
9423 $as_echo "$CPP" >&6; }
9425 for ac_c_preproc_warn_flag in '' yes
9427 # Use a header file that comes with gcc, so configuring glibc
9428 # with a fresh cross-compiler works.
9429 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9430 # <limits.h> exists even on freestanding compilers.
9431 # On the NeXT, cc -E runs the code through the compiler's parser,
9432 # not just through cpp. "Syntax error" is here to catch this case.
9433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9434 /* end confdefs.h. */
9436 # include <limits.h>
9438 # include <assert.h>
9442 if ac_fn_c_try_cpp "$LINENO"; then :
9445 # Broken: fails on valid input.
9448 rm -f conftest.err conftest.i conftest.$ac_ext
9450 # OK, works on sane cases. Now check whether nonexistent headers
9451 # can be detected and how.
9452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9453 /* end confdefs.h. */
9454 #include <ac_nonexistent.h>
9456 if ac_fn_c_try_cpp "$LINENO"; then :
9457 # Broken: success on invalid input.
9460 # Passes both tests.
9464 rm -f conftest.err conftest.i conftest.$ac_ext
9467 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
9468 rm -f conftest.i conftest.err conftest.$ac_ext
9469 if $ac_preproc_ok; then :
9472 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
9473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
9474 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
9475 See \`config.log' for more details" "$LINENO" 5; }
9479 ac_cpp='$CPP $CPPFLAGS'
9480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9486 $as_echo_n "checking for ANSI C header files... " >&6; }
9487 if ${ac_cv_header_stdc+:} false; then :
9488 $as_echo_n "(cached) " >&6
9490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9491 /* end confdefs.h. */
9505 if ac_fn_c_try_compile "$LINENO"; then :
9506 ac_cv_header_stdc=yes
9508 ac_cv_header_stdc=no
9510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9512 if test $ac_cv_header_stdc = yes; then
9513 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9515 /* end confdefs.h. */
9519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9520 $EGREP "memchr" >/dev/null 2>&1; then :
9523 ac_cv_header_stdc=no
9529 if test $ac_cv_header_stdc = yes; then
9530 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9532 /* end confdefs.h. */
9536 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9537 $EGREP "free" >/dev/null 2>&1; then :
9540 ac_cv_header_stdc=no
9546 if test $ac_cv_header_stdc = yes; then
9547 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9548 if test "$cross_compiling" = yes; then :
9551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9552 /* end confdefs.h. */
9555 #if ((' ' & 0x0FF) == 0x020)
9556 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9557 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9559 # define ISLOWER(c) \
9560 (('a' <= (c) && (c) <= 'i') \
9561 || ('j' <= (c) && (c) <= 'r') \
9562 || ('s' <= (c) && (c) <= 'z'))
9563 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9566 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9571 for (i = 0; i < 256; i++)
9572 if (XOR (islower (i), ISLOWER (i))
9573 || toupper (i) != TOUPPER (i))
9578 if ac_fn_c_try_run "$LINENO"; then :
9581 ac_cv_header_stdc=no
9583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9584 conftest.$ac_objext conftest.beam conftest.$ac_ext
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
9590 $as_echo "$ac_cv_header_stdc" >&6; }
9591 if test $ac_cv_header_stdc = yes; then
9593 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9597 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9598 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9599 inttypes.h stdint.h unistd.h
9601 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9602 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9604 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9605 cat >>confdefs.h <<_ACEOF
9606 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9614 for ac_header in dlfcn.h
9616 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9618 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9619 cat >>confdefs.h <<_ACEOF
9620 #define HAVE_DLFCN_H 1
9637 # Check whether --enable-shared was given.
9638 if test "${enable_shared+set}" = set; then :
9639 enableval=$enable_shared; p=${PACKAGE-default}
9641 yes) enable_shared=yes ;;
9642 no) enable_shared=no ;;
9645 # Look at the argument we got. We use all the common list separators.
9646 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9647 for pkg in $enableval; do
9649 if test "X$pkg" = "X$p"; then
9668 # Check whether --enable-static was given.
9669 if test "${enable_static+set}" = set; then :
9670 enableval=$enable_static; p=${PACKAGE-default}
9672 yes) enable_static=yes ;;
9673 no) enable_static=no ;;
9676 # Look at the argument we got. We use all the common list separators.
9677 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9678 for pkg in $enableval; do
9680 if test "X$pkg" = "X$p"; then
9700 # Check whether --with-pic was given.
9701 if test "${with_pic+set}" = set; then :
9702 withval=$with_pic; lt_p=${PACKAGE-default}
9704 yes|no) pic_mode=$withval ;;
9707 # Look at the argument we got. We use all the common list separators.
9708 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9709 for lt_pkg in $withval; do
9711 if test "X$lt_pkg" = "X$lt_p"; then
9723 test -z "$pic_mode" && pic_mode=default
9731 # Check whether --enable-fast-install was given.
9732 if test "${enable_fast_install+set}" = set; then :
9733 enableval=$enable_fast_install; p=${PACKAGE-default}
9735 yes) enable_fast_install=yes ;;
9736 no) enable_fast_install=no ;;
9738 enable_fast_install=no
9739 # Look at the argument we got. We use all the common list separators.
9740 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9741 for pkg in $enableval; do
9743 if test "X$pkg" = "X$p"; then
9744 enable_fast_install=yes
9751 enable_fast_install=yes
9764 # This can be used to rebuild libtool when needed
9765 LIBTOOL_DEPS="$ltmain"
9767 # Always use our own libtool.
9768 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9799 test -z "$LN_S" && LN_S="ln -s"
9814 if test -n "${ZSH_VERSION+set}" ; then
9815 setopt NO_GLOB_SUBST
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9819 $as_echo_n "checking for objdir... " >&6; }
9820 if ${lt_cv_objdir+:} false; then :
9821 $as_echo_n "(cached) " >&6
9823 rm -f .libs 2>/dev/null
9824 mkdir .libs 2>/dev/null
9825 if test -d .libs; then
9828 # MS-DOS does not allow filenames that begin with a dot.
9831 rmdir .libs 2>/dev/null
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9834 $as_echo "$lt_cv_objdir" >&6; }
9835 objdir=$lt_cv_objdir
9841 cat >>confdefs.h <<_ACEOF
9842 #define LT_OBJDIR "$lt_cv_objdir/"
9850 # AIX sometimes has problems with the GCC collect2 program. For some
9851 # reason, if we set the COLLECT_NAMES environment variable, the problems
9852 # vanish in a puff of smoke.
9853 if test "X${COLLECT_NAMES+set}" != Xset; then
9855 export COLLECT_NAMES
9862 can_build_shared=yes
9864 # All known linkers require a `.a' archive for static linking (except MSVC,
9865 # which needs '.lib').
9868 with_gnu_ld="$lt_cv_prog_gnu_ld"
9871 old_CFLAGS="$CFLAGS"
9873 # Set sane defaults for various variables
9874 test -z "$CC" && CC=cc
9875 test -z "$LTCC" && LTCC=$CC
9876 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9877 test -z "$LD" && LD=ld
9878 test -z "$ac_objext" && ac_objext=o
9880 for cc_temp in $compiler""; do
9882 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9883 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9888 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9891 # Only perform the check for file, if the check method requires it
9892 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9893 case $deplibs_check_method in
9895 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9897 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9898 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9899 $as_echo_n "(cached) " >&6
9903 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9906 lt_save_MAGIC_CMD="$MAGIC_CMD"
9907 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9908 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9909 for ac_dir in $ac_dummy; do
9911 test -z "$ac_dir" && ac_dir=.
9912 if test -f $ac_dir/${ac_tool_prefix}file; then
9913 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9914 if test -n "$file_magic_test_file"; then
9915 case $deplibs_check_method in
9917 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9918 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9919 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9920 $EGREP "$file_magic_regex" > /dev/null; then
9925 *** Warning: the command libtool uses to detect shared libraries,
9926 *** $file_magic_cmd, produces output that libtool cannot recognize.
9927 *** The result is that libtool may fail to recognize shared libraries
9928 *** as such. This will affect the creation of libtool libraries that
9929 *** depend on shared libraries, but programs linked with such libtool
9930 *** libraries will work regardless of this problem. Nevertheless, you
9931 *** may want to report the problem to your system manager and/or to
9932 *** bug-libtool@gnu.org
9942 MAGIC_CMD="$lt_save_MAGIC_CMD"
9947 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9948 if test -n "$MAGIC_CMD"; then
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9950 $as_echo "$MAGIC_CMD" >&6; }
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9953 $as_echo "no" >&6; }
9960 if test -z "$lt_cv_path_MAGIC_CMD"; then
9961 if test -n "$ac_tool_prefix"; then
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9963 $as_echo_n "checking for file... " >&6; }
9964 if ${lt_cv_path_MAGIC_CMD+:} false; then :
9965 $as_echo_n "(cached) " >&6
9969 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9972 lt_save_MAGIC_CMD="$MAGIC_CMD"
9973 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9974 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9975 for ac_dir in $ac_dummy; do
9977 test -z "$ac_dir" && ac_dir=.
9978 if test -f $ac_dir/file; then
9979 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9980 if test -n "$file_magic_test_file"; then
9981 case $deplibs_check_method in
9983 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9984 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9985 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9986 $EGREP "$file_magic_regex" > /dev/null; then
9991 *** Warning: the command libtool uses to detect shared libraries,
9992 *** $file_magic_cmd, produces output that libtool cannot recognize.
9993 *** The result is that libtool may fail to recognize shared libraries
9994 *** as such. This will affect the creation of libtool libraries that
9995 *** depend on shared libraries, but programs linked with such libtool
9996 *** libraries will work regardless of this problem. Nevertheless, you
9997 *** may want to report the problem to your system manager and/or to
9998 *** bug-libtool@gnu.org
10008 MAGIC_CMD="$lt_save_MAGIC_CMD"
10013 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10014 if test -n "$MAGIC_CMD"; then
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10016 $as_echo "$MAGIC_CMD" >&6; }
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10019 $as_echo "no" >&6; }
10032 # Use C for the default configuration in the libtool script
10036 ac_cpp='$CPP $CPPFLAGS'
10037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10042 # Source file extension for C test sources.
10045 # Object file extension for compiled C test sources.
10049 # Code to be used in simple compile tests
10050 lt_simple_compile_test_code="int some_variable = 0;"
10052 # Code to be used in simple link tests
10053 lt_simple_link_test_code='int main(){return(0);}'
10061 # If no C compiler was specified, use CC.
10064 # If no C compiler flags were specified, use CFLAGS.
10065 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10067 # Allow CC to be a program name with arguments.
10070 # Save the default compiler, since it gets overwritten when the other
10071 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10072 compiler_DEFAULT=$CC
10074 # save warnings/boilerplate of simple test code
10075 ac_outfile=conftest.$ac_objext
10076 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10077 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10078 _lt_compiler_boilerplate=`cat conftest.err`
10081 ac_outfile=conftest.$ac_objext
10082 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10083 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10084 _lt_linker_boilerplate=`cat conftest.err`
10089 ## There is no encapsulation within the following macros, do not change
10090 ## the running order or otherwise move them around unless you know exactly
10091 ## what you are doing...
10092 if test -n "$compiler"; then
10094 lt_prog_compiler_no_builtin_flag=
10096 if test "$GCC" = yes; then
10097 case $cc_basename in
10099 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10101 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10105 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10106 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10107 $as_echo_n "(cached) " >&6
10109 lt_cv_prog_compiler_rtti_exceptions=no
10110 ac_outfile=conftest.$ac_objext
10111 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10112 lt_compiler_flag="-fno-rtti -fno-exceptions"
10113 # Insert the option either (1) after the last *FLAGS variable, or
10114 # (2) before a word containing "conftest.", or (3) at the end.
10115 # Note that $ac_compile itself does not contain backslashes and begins
10116 # with a dollar sign (not a hyphen), so the echo should work correctly.
10117 # The option is referenced via a variable to avoid confusing sed.
10118 lt_compile=`echo "$ac_compile" | $SED \
10119 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10120 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10121 -e 's:$: $lt_compiler_flag:'`
10122 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10123 (eval "$lt_compile" 2>conftest.err)
10125 cat conftest.err >&5
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 if (exit $ac_status) && test -s "$ac_outfile"; then
10128 # The compiler can only warn and ignore the option if not recognized
10129 # So say no if there are warnings other than the usual output.
10130 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10131 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10132 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10133 lt_cv_prog_compiler_rtti_exceptions=yes
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10140 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10142 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10143 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10155 lt_prog_compiler_wl=
10156 lt_prog_compiler_pic=
10157 lt_prog_compiler_static=
10160 if test "$GCC" = yes; then
10161 lt_prog_compiler_wl='-Wl,'
10162 lt_prog_compiler_static='-static'
10166 # All AIX code is PIC.
10167 if test "$host_cpu" = ia64; then
10168 # AIX 5 now supports IA64 processor
10169 lt_prog_compiler_static='-Bstatic'
10176 # see comment about AmigaOS4 .so support
10177 lt_prog_compiler_pic='-fPIC'
10180 # FIXME: we need at least 68020 code to build shared libraries, but
10181 # adding the `-m68020' flag to GCC prevents building anything better,
10183 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10188 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10189 # PIC is the default for these OSes.
10192 mingw* | cygwin* | pw32* | os2* | cegcc*)
10193 # This hack is so that the source file can tell whether it is being
10194 # built for inclusion in a dll (and should export symbols for example).
10195 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10196 # (--disable-auto-import) libraries
10197 lt_prog_compiler_pic='-DDLL_EXPORT'
10200 darwin* | rhapsody*)
10201 # PIC is the default on this platform
10202 # Common symbols not allowed in MH_DYLIB files
10203 lt_prog_compiler_pic='-fno-common'
10207 # PIC is the default for Haiku.
10208 # The "-static" flag exists, but is broken.
10209 lt_prog_compiler_static=
10213 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10214 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10215 # sets the default TLS model and affects inlining.
10221 lt_prog_compiler_pic='-fPIC'
10227 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10228 # Instead, we relocate shared libraries at runtime.
10232 # Just because we use GCC doesn't mean we suddenly get shared libraries
10233 # on systems that don't support them.
10234 lt_prog_compiler_can_build_shared=no
10239 # QNX uses GNU C++, but need to define -shared option too, otherwise
10240 # it will coredump.
10241 lt_prog_compiler_pic='-fPIC -shared'
10245 if test -d /usr/nec; then
10246 lt_prog_compiler_pic=-Kconform_pic
10251 lt_prog_compiler_pic='-fPIC'
10255 case $cc_basename in
10256 nvcc*) # Cuda Compiler Driver 2.2
10257 lt_prog_compiler_wl='-Xlinker '
10258 if test -n "$lt_prog_compiler_pic"; then
10259 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10264 # PORTME Check for flag to pass linker flags through the system compiler.
10267 lt_prog_compiler_wl='-Wl,'
10268 if test "$host_cpu" = ia64; then
10269 # AIX 5 now supports IA64 processor
10270 lt_prog_compiler_static='-Bstatic'
10272 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10276 mingw* | cygwin* | pw32* | os2* | cegcc*)
10277 # This hack is so that the source file can tell whether it is being
10278 # built for inclusion in a dll (and should export symbols for example).
10279 lt_prog_compiler_pic='-DDLL_EXPORT'
10282 hpux9* | hpux10* | hpux11*)
10283 lt_prog_compiler_wl='-Wl,'
10284 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10285 # not for PA HP-UX.
10291 lt_prog_compiler_pic='+Z'
10294 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10295 lt_prog_compiler_static='${wl}-a ${wl}archive'
10298 irix5* | irix6* | nonstopux*)
10299 lt_prog_compiler_wl='-Wl,'
10300 # PIC (with -KPIC) is the default.
10301 lt_prog_compiler_static='-non_shared'
10304 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10305 case $cc_basename in
10306 # old Intel for x86_64 which still supported -KPIC.
10308 lt_prog_compiler_wl='-Wl,'
10309 lt_prog_compiler_pic='-KPIC'
10310 lt_prog_compiler_static='-static'
10312 # icc used to be incompatible with GCC.
10313 # ICC 10 doesn't accept -KPIC any more.
10315 lt_prog_compiler_wl='-Wl,'
10316 lt_prog_compiler_pic='-fPIC'
10317 lt_prog_compiler_static='-static'
10319 # Lahey Fortran 8.1.
10321 lt_prog_compiler_wl='-Wl,'
10322 lt_prog_compiler_pic='--shared'
10323 lt_prog_compiler_static='--static'
10326 # NAG Fortran compiler
10327 lt_prog_compiler_wl='-Wl,-Wl,,'
10328 lt_prog_compiler_pic='-PIC'
10329 lt_prog_compiler_static='-Bstatic'
10331 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10332 # Portland Group compilers (*not* the Pentium gcc compiler,
10333 # which looks to be a dead project)
10334 lt_prog_compiler_wl='-Wl,'
10335 lt_prog_compiler_pic='-fpic'
10336 lt_prog_compiler_static='-Bstatic'
10339 lt_prog_compiler_wl='-Wl,'
10340 # All Alpha code is PIC.
10341 lt_prog_compiler_static='-non_shared'
10343 xl* | bgxl* | bgf* | mpixl*)
10344 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10345 lt_prog_compiler_wl='-Wl,'
10346 lt_prog_compiler_pic='-qpic'
10347 lt_prog_compiler_static='-qstaticlink'
10350 case `$CC -V 2>&1 | sed 5q` in
10351 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10352 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10353 lt_prog_compiler_pic='-KPIC'
10354 lt_prog_compiler_static='-Bstatic'
10355 lt_prog_compiler_wl=''
10357 *Sun\ F* | *Sun*Fortran*)
10358 lt_prog_compiler_pic='-KPIC'
10359 lt_prog_compiler_static='-Bstatic'
10360 lt_prog_compiler_wl='-Qoption ld '
10364 lt_prog_compiler_pic='-KPIC'
10365 lt_prog_compiler_static='-Bstatic'
10366 lt_prog_compiler_wl='-Wl,'
10368 *Intel*\ [CF]*Compiler*)
10369 lt_prog_compiler_wl='-Wl,'
10370 lt_prog_compiler_pic='-fPIC'
10371 lt_prog_compiler_static='-static'
10374 lt_prog_compiler_wl='-Wl,'
10375 lt_prog_compiler_pic='-fpic'
10376 lt_prog_compiler_static='-Bstatic'
10384 lt_prog_compiler_pic='-KPIC'
10385 lt_prog_compiler_static='-Bstatic'
10389 # QNX uses GNU C++, but need to define -shared option too, otherwise
10390 # it will coredump.
10391 lt_prog_compiler_pic='-fPIC -shared'
10394 osf3* | osf4* | osf5*)
10395 lt_prog_compiler_wl='-Wl,'
10396 # All OSF/1 code is PIC.
10397 lt_prog_compiler_static='-non_shared'
10401 lt_prog_compiler_static='-non_shared'
10405 lt_prog_compiler_pic='-KPIC'
10406 lt_prog_compiler_static='-Bstatic'
10407 case $cc_basename in
10408 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10409 lt_prog_compiler_wl='-Qoption ld ';;
10411 lt_prog_compiler_wl='-Wl,';;
10416 lt_prog_compiler_wl='-Qoption ld '
10417 lt_prog_compiler_pic='-PIC'
10418 lt_prog_compiler_static='-Bstatic'
10421 sysv4 | sysv4.2uw2* | sysv4.3*)
10422 lt_prog_compiler_wl='-Wl,'
10423 lt_prog_compiler_pic='-KPIC'
10424 lt_prog_compiler_static='-Bstatic'
10428 if test -d /usr/nec ;then
10429 lt_prog_compiler_pic='-Kconform_pic'
10430 lt_prog_compiler_static='-Bstatic'
10434 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10435 lt_prog_compiler_wl='-Wl,'
10436 lt_prog_compiler_pic='-KPIC'
10437 lt_prog_compiler_static='-Bstatic'
10441 lt_prog_compiler_wl='-Wl,'
10442 lt_prog_compiler_can_build_shared=no
10446 lt_prog_compiler_pic='-pic'
10447 lt_prog_compiler_static='-Bstatic'
10451 lt_prog_compiler_can_build_shared=no
10457 # For platforms which do not support PIC, -DPIC is meaningless:
10459 lt_prog_compiler_pic=
10462 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10467 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10468 if ${lt_cv_prog_compiler_pic+:} false; then :
10469 $as_echo_n "(cached) " >&6
10471 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10474 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10475 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10478 # Check to make sure the PIC flag actually works.
10480 if test -n "$lt_prog_compiler_pic"; then
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10482 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10483 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10484 $as_echo_n "(cached) " >&6
10486 lt_cv_prog_compiler_pic_works=no
10487 ac_outfile=conftest.$ac_objext
10488 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10489 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10490 # Insert the option either (1) after the last *FLAGS variable, or
10491 # (2) before a word containing "conftest.", or (3) at the end.
10492 # Note that $ac_compile itself does not contain backslashes and begins
10493 # with a dollar sign (not a hyphen), so the echo should work correctly.
10494 # The option is referenced via a variable to avoid confusing sed.
10495 lt_compile=`echo "$ac_compile" | $SED \
10496 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10497 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10498 -e 's:$: $lt_compiler_flag:'`
10499 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10500 (eval "$lt_compile" 2>conftest.err)
10502 cat conftest.err >&5
10503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504 if (exit $ac_status) && test -s "$ac_outfile"; then
10505 # The compiler can only warn and ignore the option if not recognized
10506 # So say no if there are warnings other than the usual output.
10507 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10508 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10509 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10510 lt_cv_prog_compiler_pic_works=yes
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10517 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10519 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10520 case $lt_prog_compiler_pic in
10522 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10525 lt_prog_compiler_pic=
10526 lt_prog_compiler_can_build_shared=no
10542 # Check to make sure the static flag actually works.
10544 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10546 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10547 if ${lt_cv_prog_compiler_static_works+:} false; then :
10548 $as_echo_n "(cached) " >&6
10550 lt_cv_prog_compiler_static_works=no
10551 save_LDFLAGS="$LDFLAGS"
10552 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10553 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10554 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10555 # The linker can only warn and ignore the option if not recognized
10556 # So say no if there are warnings
10557 if test -s conftest.err; then
10558 # Append any errors to the config.log.
10559 cat conftest.err 1>&5
10560 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10561 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10562 if diff conftest.exp conftest.er2 >/dev/null; then
10563 lt_cv_prog_compiler_static_works=yes
10566 lt_cv_prog_compiler_static_works=yes
10570 LDFLAGS="$save_LDFLAGS"
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10574 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10576 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10579 lt_prog_compiler_static=
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10589 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10590 if ${lt_cv_prog_compiler_c_o+:} false; then :
10591 $as_echo_n "(cached) " >&6
10593 lt_cv_prog_compiler_c_o=no
10594 $RM -r conftest 2>/dev/null
10598 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10600 lt_compiler_flag="-o out/conftest2.$ac_objext"
10601 # Insert the option either (1) after the last *FLAGS variable, or
10602 # (2) before a word containing "conftest.", or (3) at the end.
10603 # Note that $ac_compile itself does not contain backslashes and begins
10604 # with a dollar sign (not a hyphen), so the echo should work correctly.
10605 lt_compile=`echo "$ac_compile" | $SED \
10606 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10607 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10608 -e 's:$: $lt_compiler_flag:'`
10609 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10610 (eval "$lt_compile" 2>out/conftest.err)
10612 cat out/conftest.err >&5
10613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10616 # The compiler can only warn and ignore the option if not recognized
10617 # So say no if there are warnings
10618 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10619 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10620 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10621 lt_cv_prog_compiler_c_o=yes
10626 # SGI C++ compiler will create directory out/ii_files/ for
10627 # template instantiation
10628 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10629 $RM out/* && rmdir out
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10636 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10644 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10645 if ${lt_cv_prog_compiler_c_o+:} false; then :
10646 $as_echo_n "(cached) " >&6
10648 lt_cv_prog_compiler_c_o=no
10649 $RM -r conftest 2>/dev/null
10653 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10655 lt_compiler_flag="-o out/conftest2.$ac_objext"
10656 # Insert the option either (1) after the last *FLAGS variable, or
10657 # (2) before a word containing "conftest.", or (3) at the end.
10658 # Note that $ac_compile itself does not contain backslashes and begins
10659 # with a dollar sign (not a hyphen), so the echo should work correctly.
10660 lt_compile=`echo "$ac_compile" | $SED \
10661 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10662 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10663 -e 's:$: $lt_compiler_flag:'`
10664 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10665 (eval "$lt_compile" 2>out/conftest.err)
10667 cat out/conftest.err >&5
10668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10669 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10671 # The compiler can only warn and ignore the option if not recognized
10672 # So say no if there are warnings
10673 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10674 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10675 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10676 lt_cv_prog_compiler_c_o=yes
10681 # SGI C++ compiler will create directory out/ii_files/ for
10682 # template instantiation
10683 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10684 $RM out/* && rmdir out
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10691 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10696 hard_links="nottested"
10697 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10698 # do not overwrite the value of need_locks provided by the user
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10700 $as_echo_n "checking if we can lock with hard links... " >&6; }
10703 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10705 ln conftest.a conftest.b 2>&5 || hard_links=no
10706 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10708 $as_echo "$hard_links" >&6; }
10709 if test "$hard_links" = no; then
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10711 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10724 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10727 allow_undefined_flag=
10728 always_export_symbols=no
10730 archive_expsym_cmds=
10731 compiler_needs_object=no
10732 enable_shared_with_static_runtimes=no
10733 export_dynamic_flag_spec=
10734 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10735 hardcode_automatic=no
10737 hardcode_direct_absolute=no
10738 hardcode_libdir_flag_spec=
10739 hardcode_libdir_separator=
10740 hardcode_minus_L=no
10741 hardcode_shlibpath_var=unsupported
10743 link_all_deplibs=unknown
10745 module_expsym_cmds=
10746 old_archive_from_new_cmds=
10747 old_archive_from_expsyms_cmds=
10748 thread_safe_flag_spec=
10749 whole_archive_flag_spec=
10750 # include_expsyms should be a list of space-separated symbols to be *always*
10751 # included in the symbol list
10753 # exclude_expsyms can be an extended regexp of symbols to exclude
10754 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10755 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10756 # as well as any symbol that contains `d'.
10757 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10758 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10759 # platforms (ab)use it in PIC code, but their linkers get confused if
10760 # the symbol is explicitly referenced. Since portable code cannot
10761 # rely on this symbol name, it's probably fine to never include it in
10762 # preloaded symbol tables.
10763 # Exclude shared library initialization/finalization symbols.
10764 extract_expsyms_cmds=
10767 cygwin* | mingw* | pw32* | cegcc*)
10768 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10769 # When not using gcc, we currently assume that we are using
10770 # Microsoft Visual C++.
10771 if test "$GCC" != yes; then
10776 # we just hope/assume this is gcc and not c89 (= MSVC++)
10782 linux* | k*bsd*-gnu | gnu*)
10783 link_all_deplibs=no
10789 # On some targets, GNU ld is compatible enough with the native linker
10790 # that we're better off using the native interface for both.
10791 lt_use_gnu_ld_interface=no
10792 if test "$with_gnu_ld" = yes; then
10795 # The AIX port of GNU ld has always aspired to compatibility
10796 # with the native linker. However, as the warning in the GNU ld
10797 # block says, versions before 2.19.5* couldn't really create working
10798 # shared libraries, regardless of the interface used.
10799 case `$LD -v 2>&1` in
10800 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10801 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10802 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10804 lt_use_gnu_ld_interface=yes
10809 lt_use_gnu_ld_interface=yes
10814 if test "$lt_use_gnu_ld_interface" = yes; then
10815 # If archive_cmds runs LD, not CC, wlarc should be empty
10818 # Set some defaults for GNU ld with shared library support. These
10819 # are reset later if shared libraries are not supported. Putting them
10820 # here allows them to be overridden if necessary.
10821 runpath_var=LD_RUN_PATH
10822 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10823 export_dynamic_flag_spec='${wl}--export-dynamic'
10824 # ancient GNU ld didn't support --whole-archive et. al.
10825 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10826 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10828 whole_archive_flag_spec=
10830 supports_anon_versioning=no
10831 case `$LD -v 2>&1` in
10832 *GNU\ gold*) supports_anon_versioning=yes ;;
10833 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10834 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10835 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10836 *\ 2.11.*) ;; # other 2.11 versions
10837 *) supports_anon_versioning=yes ;;
10840 # See if GNU ld supports shared libraries.
10843 # On AIX/PPC, the GNU linker is very broken
10844 if test "$host_cpu" != ia64; then
10848 *** Warning: the GNU linker, at least up to release 2.19, is reported
10849 *** to be unable to reliably create shared libraries on AIX.
10850 *** Therefore, libtool is disabling shared libraries support. If you
10851 *** really care for shared libraries, you may want to install binutils
10852 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10853 *** You will then need to restart the configuration process.
10862 # see comment about AmigaOS4 .so support
10863 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10864 archive_expsym_cmds=''
10867 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)'
10868 hardcode_libdir_flag_spec='-L$libdir'
10869 hardcode_minus_L=yes
10875 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10876 allow_undefined_flag=unsupported
10877 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10878 # support --undefined. This deserves some investigation. FIXME
10879 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10885 cygwin* | mingw* | pw32* | cegcc*)
10886 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10887 # as there is no search path for DLLs.
10888 hardcode_libdir_flag_spec='-L$libdir'
10889 export_dynamic_flag_spec='${wl}--export-all-symbols'
10890 allow_undefined_flag=unsupported
10891 always_export_symbols=no
10892 enable_shared_with_static_runtimes=yes
10893 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'
10894 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10896 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10897 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10898 # If the export-symbols file already is a .def file (1st line
10899 # is EXPORTS), use it as is; otherwise, prepend...
10900 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10901 cp $export_symbols $output_objdir/$soname.def;
10903 echo EXPORTS > $output_objdir/$soname.def;
10904 cat $export_symbols >> $output_objdir/$soname.def;
10906 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10913 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10914 link_all_deplibs=yes
10919 hardcode_shlibpath_var=no
10920 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10921 export_dynamic_flag_spec='${wl}-E'
10922 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10923 # Instead, shared libraries are loaded at an image base (0x10000000 by
10924 # default) and relocated if they conflict, which is a slow very memory
10925 # consuming and fragmenting process. To avoid this, we pick a random,
10926 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10927 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10928 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10929 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'
10932 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10934 if test "$host_os" = linux-dietlibc; then
10935 case $cc_basename in
10936 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
10939 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10940 && test "$tmp_diet" = no
10942 tmp_addflag=' $pic_flag'
10943 tmp_sharedflag='-shared'
10944 case $cc_basename,$host_cpu in
10945 pgcc*) # Portland Group C compiler
10946 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'
10947 tmp_addflag=' $pic_flag'
10949 pgf77* | pgf90* | pgf95* | pgfortran*)
10950 # Portland Group f77 and f90 compilers
10951 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'
10952 tmp_addflag=' $pic_flag -Mnomain' ;;
10953 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
10954 tmp_addflag=' -i_dynamic' ;;
10955 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
10956 tmp_addflag=' -i_dynamic -nofor_main' ;;
10957 ifc* | ifort*) # Intel Fortran compiler
10958 tmp_addflag=' -nofor_main' ;;
10959 lf95*) # Lahey Fortran 8.1
10960 whole_archive_flag_spec=
10961 tmp_sharedflag='--shared' ;;
10962 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10963 tmp_sharedflag='-qmkshrobj'
10965 nvcc*) # Cuda Compiler Driver 2.2
10966 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'
10967 compiler_needs_object=yes
10970 case `$CC -V 2>&1 | sed 5q` in
10971 *Sun\ C*) # Sun C 5.9
10972 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'
10973 compiler_needs_object=yes
10974 tmp_sharedflag='-G' ;;
10975 *Sun\ F*) # Sun Fortran 8.3
10976 tmp_sharedflag='-G' ;;
10978 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10980 if test "x$supports_anon_versioning" = xyes; then
10981 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10982 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10983 echo "local: *; };" >> $output_objdir/$libname.ver~
10984 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10987 case $cc_basename in
10988 xlf* | bgf* | bgxlf* | mpixlf*)
10989 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10990 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10991 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10992 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10993 if test "x$supports_anon_versioning" = xyes; then
10994 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10995 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10996 echo "local: *; };" >> $output_objdir/$libname.ver~
10997 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11006 netbsd* | netbsdelf*-gnu)
11007 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11008 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11011 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11012 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11017 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11021 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11022 *** create shared libraries on Solaris systems. Therefore, libtool
11023 *** is disabling shared libraries support. We urge you to upgrade GNU
11024 *** binutils to release 2.9.1 or newer. Another option is to modify
11025 *** your PATH or compiler configuration so that the native linker is
11026 *** used, and then restart.
11029 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11030 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11031 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11037 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11038 case `$LD -v 2>&1` in
11039 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11043 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11044 *** reliably create shared libraries on SCO systems. Therefore, libtool
11045 *** is disabling shared libraries support. We urge you to upgrade GNU
11046 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11047 *** your PATH or compiler configuration so that the native linker is
11048 *** used, and then restart.
11053 # For security reasons, it is highly recommended that you always
11054 # use absolute paths for naming shared libraries, and exclude the
11055 # DT_RUNPATH tag from executables and libraries. But doing so
11056 # requires that you compile everything twice, which is a pain.
11057 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11058 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11059 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11060 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11069 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11071 hardcode_direct=yes
11072 hardcode_shlibpath_var=no
11076 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11077 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11078 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11085 if test "$ld_shlibs" = no; then
11087 hardcode_libdir_flag_spec=
11088 export_dynamic_flag_spec=
11089 whole_archive_flag_spec=
11092 # PORTME fill in a description of your system's linker (not GNU ld)
11095 allow_undefined_flag=unsupported
11096 always_export_symbols=yes
11097 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'
11098 # Note: this linker hardcodes the directories in LIBPATH if there
11099 # are no directories specified by -L.
11100 hardcode_minus_L=yes
11101 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11102 # Neither direct hardcoding nor static linking is supported with a
11104 hardcode_direct=unsupported
11109 if test "$host_cpu" = ia64; then
11110 # On IA64, the linker does run time linking by default, so we don't
11111 # have to do anything special.
11112 aix_use_runtimelinking=no
11113 exp_sym_flag='-Bexport'
11116 # If we're using GNU nm, then we don't want the "-C" option.
11117 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11118 # Also, AIX nm treats weak defined symbols like other global
11119 # defined symbols, whereas GNU nm marks them as "W".
11120 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11121 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'
11123 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'
11125 aix_use_runtimelinking=no
11127 # Test if we are trying to use run time linking or normal
11128 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11129 # need to do runtime linking.
11130 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11131 for ld_flag in $LDFLAGS; do
11132 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11133 aix_use_runtimelinking=yes
11140 exp_sym_flag='-bexport'
11141 no_entry_flag='-bnoentry'
11144 # When large executables or shared objects are built, AIX ld can
11145 # have problems creating the table of contents. If linking a library
11146 # or program results in "error TOC overflow" add -mminimal-toc to
11147 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11148 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11151 hardcode_direct=yes
11152 hardcode_direct_absolute=yes
11153 hardcode_libdir_separator=':'
11154 link_all_deplibs=yes
11155 file_list_spec='${wl}-f,'
11157 if test "$GCC" = yes; then
11158 case $host_os in aix4.[012]|aix4.[012].*)
11159 # We only want to do this on AIX 4.2 and lower, the check
11160 # below for broken collect2 doesn't work under 4.3+
11161 collect2name=`${CC} -print-prog-name=collect2`
11162 if test -f "$collect2name" &&
11163 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11165 # We have reworked collect2
11168 # We have old collect2
11169 hardcode_direct=unsupported
11170 # It fails to find uninstalled libraries when the uninstalled
11171 # path is not listed in the libpath. Setting hardcode_minus_L
11172 # to unsupported forces relinking
11173 hardcode_minus_L=yes
11174 hardcode_libdir_flag_spec='-L$libdir'
11175 hardcode_libdir_separator=
11179 shared_flag='-shared'
11180 if test "$aix_use_runtimelinking" = yes; then
11181 shared_flag="$shared_flag "'${wl}-G'
11183 link_all_deplibs=no
11186 if test "$host_cpu" = ia64; then
11187 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11188 # chokes on -Wl,-G. The following line is correct:
11191 if test "$aix_use_runtimelinking" = yes; then
11192 shared_flag='${wl}-G'
11194 shared_flag='${wl}-bM:SRE'
11199 export_dynamic_flag_spec='${wl}-bexpall'
11200 # It seems that -bexpall does not export symbols beginning with
11201 # underscore (_), so it is better to generate a list of symbols to export.
11202 always_export_symbols=yes
11203 if test "$aix_use_runtimelinking" = yes; then
11204 # Warning - without using the other runtime loading flags (-brtl),
11205 # -berok will link without error, but may produce a broken library.
11206 allow_undefined_flag='-berok'
11207 # Determine the default libpath from the value encoded in an
11208 # empty executable.
11209 if test "${lt_cv_aix_libpath+set}" = set; then
11210 aix_libpath=$lt_cv_aix_libpath
11212 if ${lt_cv_aix_libpath_+:} false; then :
11213 $as_echo_n "(cached) " >&6
11215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11216 /* end confdefs.h. */
11226 if ac_fn_c_try_link "$LINENO"; then :
11228 lt_aix_libpath_sed='
11229 /Import File Strings/,/^$/ {
11231 s/^0 *\([^ ]*\) *$/\1/
11235 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11236 # Check for a 64-bit object if we didn't find anything.
11237 if test -z "$lt_cv_aix_libpath_"; then
11238 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11241 rm -f core conftest.err conftest.$ac_objext \
11242 conftest$ac_exeext conftest.$ac_ext
11243 if test -z "$lt_cv_aix_libpath_"; then
11244 lt_cv_aix_libpath_="/usr/lib:/lib"
11249 aix_libpath=$lt_cv_aix_libpath_
11252 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11253 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"
11255 if test "$host_cpu" = ia64; then
11256 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11257 allow_undefined_flag="-z nodefs"
11258 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"
11260 # Determine the default libpath from the value encoded in an
11261 # empty executable.
11262 if test "${lt_cv_aix_libpath+set}" = set; then
11263 aix_libpath=$lt_cv_aix_libpath
11265 if ${lt_cv_aix_libpath_+:} false; then :
11266 $as_echo_n "(cached) " >&6
11268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11269 /* end confdefs.h. */
11279 if ac_fn_c_try_link "$LINENO"; then :
11281 lt_aix_libpath_sed='
11282 /Import File Strings/,/^$/ {
11284 s/^0 *\([^ ]*\) *$/\1/
11288 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11289 # Check for a 64-bit object if we didn't find anything.
11290 if test -z "$lt_cv_aix_libpath_"; then
11291 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11294 rm -f core conftest.err conftest.$ac_objext \
11295 conftest$ac_exeext conftest.$ac_ext
11296 if test -z "$lt_cv_aix_libpath_"; then
11297 lt_cv_aix_libpath_="/usr/lib:/lib"
11302 aix_libpath=$lt_cv_aix_libpath_
11305 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11306 # Warning - without using the other run time loading flags,
11307 # -berok will link without error, but may produce a broken library.
11308 no_undefined_flag=' ${wl}-bernotok'
11309 allow_undefined_flag=' ${wl}-berok'
11310 if test "$with_gnu_ld" = yes; then
11311 # We only use this code for GNU lds that support --whole-archive.
11312 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11314 # Exported symbols can be pulled into shared objects from archives
11315 whole_archive_flag_spec='$convenience'
11317 archive_cmds_need_lc=yes
11318 # This is similar to how AIX traditionally builds its shared libraries.
11319 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'
11327 # see comment about AmigaOS4 .so support
11328 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11329 archive_expsym_cmds=''
11332 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)'
11333 hardcode_libdir_flag_spec='-L$libdir'
11334 hardcode_minus_L=yes
11340 export_dynamic_flag_spec=-rdynamic
11343 cygwin* | mingw* | pw32* | cegcc*)
11344 # When not using gcc, we currently assume that we are using
11345 # Microsoft Visual C++.
11346 # hardcode_libdir_flag_spec is actually meaningless, as there is
11347 # no search path for DLLs.
11348 case $cc_basename in
11351 hardcode_libdir_flag_spec=' '
11352 allow_undefined_flag=unsupported
11353 always_export_symbols=yes
11355 # Tell ltmain to make .lib files, not .a files.
11357 # Tell ltmain to make .dll files, not .so files.
11359 # FIXME: Setting linknames here is a bad hack.
11360 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11361 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11362 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11364 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11366 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11368 # The linker will not automatically build a static lib if we build a DLL.
11369 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11370 enable_shared_with_static_runtimes=yes
11371 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11372 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11374 old_postinstall_cmds='chmod 644 $oldlib'
11375 postlink_cmds='lt_outputfile="@OUTPUT@"~
11376 lt_tool_outputfile="@TOOL_OUTPUT@"~
11377 case $lt_outputfile in
11380 lt_outputfile="$lt_outputfile.exe"
11381 lt_tool_outputfile="$lt_tool_outputfile.exe"
11384 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11385 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11386 $RM "$lt_outputfile.manifest";
11390 # Assume MSVC wrapper
11391 hardcode_libdir_flag_spec=' '
11392 allow_undefined_flag=unsupported
11393 # Tell ltmain to make .lib files, not .a files.
11395 # Tell ltmain to make .dll files, not .so files.
11397 # FIXME: Setting linknames here is a bad hack.
11398 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11399 # The linker will automatically build a .lib file if we build a DLL.
11400 old_archive_from_new_cmds='true'
11401 # FIXME: Should let the user specify the lib program.
11402 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11403 enable_shared_with_static_runtimes=yes
11408 darwin* | rhapsody*)
11411 archive_cmds_need_lc=no
11413 hardcode_automatic=yes
11414 hardcode_shlibpath_var=unsupported
11415 if test "$lt_cv_ld_force_load" = "yes"; then
11416 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\"`'
11419 whole_archive_flag_spec=''
11421 link_all_deplibs=yes
11422 allow_undefined_flag="$_lt_dar_allow_undefined"
11423 case $cc_basename in
11424 ifort*) _lt_dar_can_shared=yes ;;
11425 *) _lt_dar_can_shared=$GCC ;;
11427 if test "$_lt_dar_can_shared" = "yes"; then
11428 output_verbose_link_cmd=func_echo_all
11429 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11430 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11431 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}"
11432 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}"
11441 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11442 hardcode_libdir_flag_spec='-L$libdir'
11443 hardcode_shlibpath_var=no
11446 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11447 # support. Future versions do this automatically, but an explicit c++rt0.o
11448 # does not break anything, and helps significantly (at the cost of a little
11451 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11452 hardcode_libdir_flag_spec='-R$libdir'
11453 hardcode_direct=yes
11454 hardcode_shlibpath_var=no
11457 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11459 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11460 hardcode_direct=yes
11461 hardcode_minus_L=yes
11462 hardcode_shlibpath_var=no
11465 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11466 freebsd* | dragonfly*)
11467 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11468 hardcode_libdir_flag_spec='-R$libdir'
11469 hardcode_direct=yes
11470 hardcode_shlibpath_var=no
11474 if test "$GCC" = yes; then
11475 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'
11477 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'
11479 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11480 hardcode_libdir_separator=:
11481 hardcode_direct=yes
11483 # hardcode_minus_L: Not really in the search PATH,
11484 # but as the default location of the library.
11485 hardcode_minus_L=yes
11486 export_dynamic_flag_spec='${wl}-E'
11490 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11491 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11493 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11495 if test "$with_gnu_ld" = no; then
11496 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11497 hardcode_libdir_separator=:
11498 hardcode_direct=yes
11499 hardcode_direct_absolute=yes
11500 export_dynamic_flag_spec='${wl}-E'
11501 # hardcode_minus_L: Not really in the search PATH,
11502 # but as the default location of the library.
11503 hardcode_minus_L=yes
11508 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11511 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11514 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11517 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11523 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11526 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11530 # Older versions of the 11.00 compiler do not understand -b yet
11531 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11533 $as_echo_n "checking if $CC understands -b... " >&6; }
11534 if ${lt_cv_prog_compiler__b+:} false; then :
11535 $as_echo_n "(cached) " >&6
11537 lt_cv_prog_compiler__b=no
11538 save_LDFLAGS="$LDFLAGS"
11539 LDFLAGS="$LDFLAGS -b"
11540 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11541 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11542 # The linker can only warn and ignore the option if not recognized
11543 # So say no if there are warnings
11544 if test -s conftest.err; then
11545 # Append any errors to the config.log.
11546 cat conftest.err 1>&5
11547 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11548 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11549 if diff conftest.exp conftest.er2 >/dev/null; then
11550 lt_cv_prog_compiler__b=yes
11553 lt_cv_prog_compiler__b=yes
11557 LDFLAGS="$save_LDFLAGS"
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11561 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11563 if test x"$lt_cv_prog_compiler__b" = xyes; then
11564 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11566 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11572 if test "$with_gnu_ld" = no; then
11573 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11574 hardcode_libdir_separator=:
11579 hardcode_shlibpath_var=no
11582 hardcode_direct=yes
11583 hardcode_direct_absolute=yes
11584 export_dynamic_flag_spec='${wl}-E'
11586 # hardcode_minus_L: Not really in the search PATH,
11587 # but as the default location of the library.
11588 hardcode_minus_L=yes
11594 irix5* | irix6* | nonstopux*)
11595 if test "$GCC" = yes; then
11596 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'
11597 # Try to use the -exported_symbol ld option, if it does not
11598 # work, assume that -exports_file does not work either and
11599 # implicitly export all symbols.
11600 # This should be the same for all languages, so no per-tag cache variable.
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11602 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11603 if ${lt_cv_irix_exported_symbol+:} false; then :
11604 $as_echo_n "(cached) " >&6
11606 save_LDFLAGS="$LDFLAGS"
11607 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11609 /* end confdefs.h. */
11610 int foo (void) { return 0; }
11612 if ac_fn_c_try_link "$LINENO"; then :
11613 lt_cv_irix_exported_symbol=yes
11615 lt_cv_irix_exported_symbol=no
11617 rm -f core conftest.err conftest.$ac_objext \
11618 conftest$ac_exeext conftest.$ac_ext
11619 LDFLAGS="$save_LDFLAGS"
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11622 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11623 if test "$lt_cv_irix_exported_symbol" = yes; then
11624 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'
11627 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'
11628 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'
11630 archive_cmds_need_lc='no'
11631 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11632 hardcode_libdir_separator=:
11634 link_all_deplibs=yes
11637 netbsd* | netbsdelf*-gnu)
11638 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11639 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11641 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11643 hardcode_libdir_flag_spec='-R$libdir'
11644 hardcode_direct=yes
11645 hardcode_shlibpath_var=no
11649 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11650 hardcode_direct=yes
11651 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11652 hardcode_libdir_separator=:
11653 hardcode_shlibpath_var=no
11660 if test -f /usr/libexec/ld.so; then
11661 hardcode_direct=yes
11662 hardcode_shlibpath_var=no
11663 hardcode_direct_absolute=yes
11664 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11665 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11666 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11667 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11668 export_dynamic_flag_spec='${wl}-E'
11671 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11672 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11673 hardcode_libdir_flag_spec='-R$libdir'
11676 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11677 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11687 hardcode_libdir_flag_spec='-L$libdir'
11688 hardcode_minus_L=yes
11689 allow_undefined_flag=unsupported
11690 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'
11691 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11695 if test "$GCC" = yes; then
11696 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11697 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'
11699 allow_undefined_flag=' -expect_unresolved \*'
11700 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'
11702 archive_cmds_need_lc='no'
11703 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11704 hardcode_libdir_separator=:
11707 osf4* | osf5*) # as osf3* with the addition of -msym flag
11708 if test "$GCC" = yes; then
11709 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11710 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'
11711 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11713 allow_undefined_flag=' -expect_unresolved \*'
11714 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'
11715 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~
11716 $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'
11718 # Both c and cxx compiler support -rpath directly
11719 hardcode_libdir_flag_spec='-rpath $libdir'
11721 archive_cmds_need_lc='no'
11722 hardcode_libdir_separator=:
11726 no_undefined_flag=' -z defs'
11727 if test "$GCC" = yes; then
11729 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11730 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11731 $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'
11733 case `$CC -V 2>&1` in
11736 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11737 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11738 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11742 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11743 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11744 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11748 hardcode_libdir_flag_spec='-R$libdir'
11749 hardcode_shlibpath_var=no
11751 solaris2.[0-5] | solaris2.[0-5].*) ;;
11753 # The compiler driver will combine and reorder linker options,
11754 # but understands `-z linker_flag'. GCC discards it without `$wl',
11755 # but is careful enough not to reorder.
11756 # Supported since Solaris 2.6 (maybe 2.5.1?)
11757 if test "$GCC" = yes; then
11758 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11760 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11764 link_all_deplibs=yes
11768 if test "x$host_vendor" = xsequent; then
11769 # Use $CC to link under sequent, because it throws in some extra .o
11770 # files that make .init and .fini sections work.
11771 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11773 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11775 hardcode_libdir_flag_spec='-L$libdir'
11776 hardcode_direct=yes
11777 hardcode_minus_L=yes
11778 hardcode_shlibpath_var=no
11782 case $host_vendor in
11784 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11785 hardcode_direct=yes # is this really true???
11788 ## LD is ld it makes a PLAMLIB
11789 ## CC just makes a GrossModule.
11790 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11791 reload_cmds='$CC -r -o $output$reload_objs'
11795 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11796 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11799 runpath_var='LD_RUN_PATH'
11800 hardcode_shlibpath_var=no
11804 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11805 hardcode_shlibpath_var=no
11806 export_dynamic_flag_spec='-Bexport'
11810 if test -d /usr/nec; then
11811 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11812 hardcode_shlibpath_var=no
11813 runpath_var=LD_RUN_PATH
11814 hardcode_runpath_var=yes
11819 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11820 no_undefined_flag='${wl}-z,text'
11821 archive_cmds_need_lc=no
11822 hardcode_shlibpath_var=no
11823 runpath_var='LD_RUN_PATH'
11825 if test "$GCC" = yes; then
11826 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11827 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11829 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11830 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11834 sysv5* | sco3.2v5* | sco5v6*)
11835 # Note: We can NOT use -z defs as we might desire, because we do not
11836 # link with -lc, and that would cause any symbols used from libc to
11837 # always be unresolved, which means just about no library would
11838 # ever link correctly. If we're not using GNU ld we use -z text
11839 # though, which does catch some bad symbols but isn't as heavy-handed
11841 no_undefined_flag='${wl}-z,text'
11842 allow_undefined_flag='${wl}-z,nodefs'
11843 archive_cmds_need_lc=no
11844 hardcode_shlibpath_var=no
11845 hardcode_libdir_flag_spec='${wl}-R,$libdir'
11846 hardcode_libdir_separator=':'
11847 link_all_deplibs=yes
11848 export_dynamic_flag_spec='${wl}-Bexport'
11849 runpath_var='LD_RUN_PATH'
11851 if test "$GCC" = yes; then
11852 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11853 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11855 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11856 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11861 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11862 hardcode_libdir_flag_spec='-L$libdir'
11863 hardcode_shlibpath_var=no
11871 if test x$host_vendor = xsni; then
11873 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11874 export_dynamic_flag_spec='${wl}-Blargedynsym'
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11881 $as_echo "$ld_shlibs" >&6; }
11882 test "$ld_shlibs" = no && can_build_shared=no
11884 with_gnu_ld=$with_gnu_ld
11901 # Do we need to explicitly link libc?
11903 case "x$archive_cmds_need_lc" in
11905 # Assume -lc should be added
11906 archive_cmds_need_lc=yes
11908 if test "$enable_shared" = yes && test "$GCC" = yes; then
11909 case $archive_cmds in
11911 # FIXME: we may have to deal with multi-command sequences.
11914 # Test whether the compiler implicitly links with -lc since on some
11915 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11916 # to ld, don't add -lc before -lgcc.
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11918 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11919 if ${lt_cv_archive_cmds_need_lc+:} false; then :
11920 $as_echo_n "(cached) " >&6
11923 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11926 (eval $ac_compile) 2>&5
11928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11929 test $ac_status = 0; } 2>conftest.err; then
11932 libobjs=conftest.$ac_objext
11934 wl=$lt_prog_compiler_wl
11935 pic_flag=$lt_prog_compiler_pic
11941 lt_save_allow_undefined_flag=$allow_undefined_flag
11942 allow_undefined_flag=
11943 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11944 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11947 test $ac_status = 0; }
11949 lt_cv_archive_cmds_need_lc=no
11951 lt_cv_archive_cmds_need_lc=yes
11953 allow_undefined_flag=$lt_save_allow_undefined_flag
11955 cat conftest.err 1>&5
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11961 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11962 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12121 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12123 if test "$GCC" = yes; then
12125 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12126 *) lt_awk_arg="/^libraries:/" ;;
12129 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
12130 *) lt_sed_strip_eq="s,=/,/,g" ;;
12132 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12133 case $lt_search_path_spec in
12135 # if the path contains ";" then we assume it to be the separator
12136 # otherwise default to the standard path separator (i.e. ":") - it is
12137 # assumed that no part of a normal pathname contains ";" but that should
12138 # okay in the real world where ";" in dirpaths is itself problematic.
12139 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12142 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12145 # Ok, now we have the path, separated by spaces, we can step through it
12146 # and add multilib dir if necessary.
12147 lt_tmp_lt_search_path_spec=
12148 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12149 for lt_sys_path in $lt_search_path_spec; do
12150 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12151 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12153 test -d "$lt_sys_path" && \
12154 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12157 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12158 BEGIN {RS=" "; FS="/|\n";} {
12161 for (lt_i = NF; lt_i > 0; lt_i--) {
12162 if ($lt_i != "" && $lt_i != ".") {
12163 if ($lt_i == "..") {
12166 if (lt_count == 0) {
12167 lt_foo="/" $lt_i lt_foo;
12174 if (lt_foo != "") { lt_freq[lt_foo]++; }
12175 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12177 # AWK program above erroneously prepends '/' to C:/dos/paths
12180 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12181 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12183 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12185 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12187 library_names_spec=
12188 libname_spec='lib$name'
12192 postuninstall_cmds=
12196 shlibpath_overrides_runpath=unknown
12198 dynamic_linker="$host_os ld.so"
12199 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12200 need_lib_prefix=unknown
12201 hardcode_into_libs=no
12203 # when you set need_version to no, make sure it does not cause -set_version
12204 # flags to be left without arguments
12205 need_version=unknown
12209 version_type=linux # correct to gnu/linux during the next big refactor
12210 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12211 shlibpath_var=LIBPATH
12213 # AIX 3 has no versioning support, so we append a major version to the name.
12214 soname_spec='${libname}${release}${shared_ext}$major'
12218 version_type=linux # correct to gnu/linux during the next big refactor
12221 hardcode_into_libs=yes
12222 if test "$host_cpu" = ia64; then
12223 # AIX 5 supports IA64
12224 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12225 shlibpath_var=LD_LIBRARY_PATH
12227 # With GCC up to 2.95.x, collect2 would create an import file
12228 # for dependence libraries. The import file would start with
12229 # the line `#! .'. This would cause the generated library to
12230 # depend on `.', always an invalid library. This was fixed in
12231 # development snapshots of GCC prior to 3.0.
12233 aix4 | aix4.[01] | aix4.[01].*)
12234 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12236 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12239 can_build_shared=no
12243 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12244 # soname into executable. Probably we can add versioning support to
12245 # collect2, so additional links can be useful in future.
12246 if test "$aix_use_runtimelinking" = yes; then
12247 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12248 # instead of lib<name>.a to let people know that these are not
12249 # typical AIX shared libraries.
12250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12252 # We preserve .a as extension for shared libraries through AIX4.2
12253 # and later when we are not doing run time linking.
12254 library_names_spec='${libname}${release}.a $libname.a'
12255 soname_spec='${libname}${release}${shared_ext}$major'
12257 shlibpath_var=LIBPATH
12264 # Since July 2007 AmigaOS4 officially supports .so libraries.
12265 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12269 library_names_spec='$libname.ixlibrary $libname.a'
12270 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12271 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'
12277 library_names_spec='${libname}${shared_ext}'
12278 dynamic_linker="$host_os ld.so"
12279 shlibpath_var=LIBRARY_PATH
12283 version_type=linux # correct to gnu/linux during the next big refactor
12285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12286 soname_spec='${libname}${release}${shared_ext}$major'
12287 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12288 shlibpath_var=LD_LIBRARY_PATH
12289 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12290 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12291 # the default ld.so.conf also contains /usr/contrib/lib and
12292 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12293 # libtool to hard-code these into programs
12296 cygwin* | mingw* | pw32* | cegcc*)
12297 version_type=windows
12302 case $GCC,$cc_basename in
12305 library_names_spec='$libname.dll.a'
12306 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12307 postinstall_cmds='base_file=`basename \${file}`~
12308 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12309 dldir=$destdir/`dirname \$dlpath`~
12310 test -d \$dldir || mkdir -p \$dldir~
12311 $install_prog $dir/$dlname \$dldir/$dlname~
12312 chmod a+x \$dldir/$dlname~
12313 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12314 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12316 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12317 dlpath=$dir/\$dldll~
12319 shlibpath_overrides_runpath=yes
12323 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12324 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12326 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12329 # MinGW DLLs use traditional 'lib' prefix
12330 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12333 # pw32 DLLs use 'pw' prefix rather than 'lib'
12334 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12337 dynamic_linker='Win32 ld.exe'
12342 libname_spec='$name'
12343 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12344 library_names_spec='${libname}.dll.lib'
12348 sys_lib_search_path_spec=
12351 for lt_path in $LIB
12354 # Let DOS variable expansion print the short 8.3 style file name.
12355 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12356 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12359 # Convert to MSYS style.
12360 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12363 # Convert to unix form, then to dos form, then back to unix form
12364 # but this time dos style (no spaces!) so that the unix form looks
12365 # like /cygdrive/c/PROGRA~1:/cygdr...
12366 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12367 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12368 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12371 sys_lib_search_path_spec="$LIB"
12372 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12373 # It is most probably a Windows format PATH.
12374 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12376 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12378 # FIXME: find the short name or the path components, as spaces are
12379 # common. (e.g. "Program Files" -> "PROGRA~1")
12383 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12384 postinstall_cmds='base_file=`basename \${file}`~
12385 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12386 dldir=$destdir/`dirname \$dlpath`~
12387 test -d \$dldir || mkdir -p \$dldir~
12388 $install_prog $dir/$dlname \$dldir/$dlname'
12389 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12390 dlpath=$dir/\$dldll~
12392 shlibpath_overrides_runpath=yes
12393 dynamic_linker='Win32 link.exe'
12397 # Assume MSVC wrapper
12398 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12399 dynamic_linker='Win32 ld.exe'
12402 # FIXME: first we should search . and the directory the executable is in
12406 darwin* | rhapsody*)
12407 dynamic_linker="$host_os dyld"
12408 version_type=darwin
12411 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12412 soname_spec='${libname}${release}${major}$shared_ext'
12413 shlibpath_overrides_runpath=yes
12414 shlibpath_var=DYLD_LIBRARY_PATH
12415 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12417 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12418 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12422 version_type=linux # correct to gnu/linux during the next big refactor
12425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12426 soname_spec='${libname}${release}${shared_ext}$major'
12427 shlibpath_var=LD_LIBRARY_PATH
12430 freebsd* | dragonfly*)
12431 # DragonFly does not have aout. When/if they implement a new
12432 # versioning mechanism, adjust this.
12433 if test -x /usr/bin/objformat; then
12434 objformat=`/usr/bin/objformat`
12437 freebsd[23].*) objformat=aout ;;
12438 *) objformat=elf ;;
12441 version_type=freebsd-$objformat
12442 case $version_type in
12444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12449 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12453 shlibpath_var=LD_LIBRARY_PATH
12456 shlibpath_overrides_runpath=yes
12458 freebsd3.[01]* | freebsdelf3.[01]*)
12459 shlibpath_overrides_runpath=yes
12460 hardcode_into_libs=yes
12462 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12463 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12464 shlibpath_overrides_runpath=no
12465 hardcode_into_libs=yes
12467 *) # from 4.6 on, and DragonFly
12468 shlibpath_overrides_runpath=yes
12469 hardcode_into_libs=yes
12475 version_type=linux # correct to gnu/linux during the next big refactor
12478 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12479 soname_spec='${libname}${release}${shared_ext}$major'
12480 shlibpath_var=LD_LIBRARY_PATH
12481 shlibpath_overrides_runpath=no
12482 hardcode_into_libs=yes
12486 version_type=linux # correct to gnu/linux during the next big refactor
12489 dynamic_linker="$host_os runtime_loader"
12490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12491 soname_spec='${libname}${release}${shared_ext}$major'
12492 shlibpath_var=LIBRARY_PATH
12493 shlibpath_overrides_runpath=yes
12494 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12495 hardcode_into_libs=yes
12498 hpux9* | hpux10* | hpux11*)
12499 # Give a soname corresponding to the major version so that dld.sl refuses to
12500 # link against other versions.
12507 hardcode_into_libs=yes
12508 dynamic_linker="$host_os dld.so"
12509 shlibpath_var=LD_LIBRARY_PATH
12510 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12512 soname_spec='${libname}${release}${shared_ext}$major'
12513 if test "X$HPUX_IA64_MODE" = X32; then
12514 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12516 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12518 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12522 hardcode_into_libs=yes
12523 dynamic_linker="$host_os dld.sl"
12524 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12525 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12527 soname_spec='${libname}${release}${shared_ext}$major'
12528 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12529 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12533 dynamic_linker="$host_os dld.sl"
12534 shlibpath_var=SHLIB_PATH
12535 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12537 soname_spec='${libname}${release}${shared_ext}$major'
12540 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12541 postinstall_cmds='chmod 555 $lib'
12542 # or fails outright, so override atomically:
12543 install_override_mode=555
12547 version_type=linux # correct to gnu/linux during the next big refactor
12550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12551 soname_spec='${libname}${release}${shared_ext}$major'
12552 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12553 shlibpath_var=LD_LIBRARY_PATH
12554 shlibpath_overrides_runpath=no
12555 hardcode_into_libs=yes
12558 irix5* | irix6* | nonstopux*)
12560 nonstopux*) version_type=nonstopux ;;
12562 if test "$lt_cv_prog_gnu_ld" = yes; then
12563 version_type=linux # correct to gnu/linux during the next big refactor
12570 soname_spec='${libname}${release}${shared_ext}$major'
12571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12573 irix5* | nonstopux*)
12574 libsuff= shlibsuff=
12577 case $LD in # libtool.m4 will add one of these switches to LD
12578 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12579 libsuff= shlibsuff= libmagic=32-bit;;
12580 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12581 libsuff=32 shlibsuff=N32 libmagic=N32;;
12582 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12583 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12584 *) libsuff= shlibsuff= libmagic=never-match;;
12588 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12589 shlibpath_overrides_runpath=no
12590 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12591 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12592 hardcode_into_libs=yes
12595 # No shared lib support for Linux oldld, aout, or coff.
12596 linux*oldld* | linux*aout* | linux*coff*)
12600 # This must be glibc/ELF.
12601 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12602 version_type=linux # correct to gnu/linux during the next big refactor
12605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12606 soname_spec='${libname}${release}${shared_ext}$major'
12607 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12608 shlibpath_var=LD_LIBRARY_PATH
12609 shlibpath_overrides_runpath=no
12611 # Some binutils ld are patched to set DT_RUNPATH
12612 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12613 $as_echo_n "(cached) " >&6
12615 lt_cv_shlibpath_overrides_runpath=no
12616 save_LDFLAGS=$LDFLAGS
12617 save_libdir=$libdir
12618 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12619 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12621 /* end confdefs.h. */
12631 if ac_fn_c_try_link "$LINENO"; then :
12632 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12633 lt_cv_shlibpath_overrides_runpath=yes
12636 rm -f core conftest.err conftest.$ac_objext \
12637 conftest$ac_exeext conftest.$ac_ext
12638 LDFLAGS=$save_LDFLAGS
12639 libdir=$save_libdir
12643 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12645 # This implies no fast_install, which is unacceptable.
12646 # Some rework will be needed to allow for fast_install
12647 # before this can be enabled.
12648 hardcode_into_libs=yes
12650 # Append ld.so.conf contents to the search path
12651 if test -f /etc/ld.so.conf; then
12652 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' ' '`
12653 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12656 # We used to test for /lib/ld.so.1 and disable shared libraries on
12657 # powerpc, because MkLinux only supported shared libraries with the
12658 # GNU dynamic linker. Since this was broken with cross compilers,
12659 # most powerpc-linux boxes support dynamic linking these days and
12660 # people can always --disable-shared, the test was removed, and we
12661 # assume the GNU/Linux dynamic linker is in use.
12662 dynamic_linker='GNU/Linux ld.so'
12669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12670 soname_spec='${libname}${release}${shared_ext}$major'
12671 shlibpath_var=LD_LIBRARY_PATH
12672 shlibpath_overrides_runpath=no
12673 hardcode_into_libs=yes
12674 dynamic_linker='NetBSD ld.elf_so'
12681 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12683 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12684 dynamic_linker='NetBSD (a.out) ld.so'
12686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12687 soname_spec='${libname}${release}${shared_ext}$major'
12688 dynamic_linker='NetBSD ld.elf_so'
12690 shlibpath_var=LD_LIBRARY_PATH
12691 shlibpath_overrides_runpath=yes
12692 hardcode_into_libs=yes
12696 version_type=linux # correct to gnu/linux during the next big refactor
12697 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12698 shlibpath_var=LD_LIBRARY_PATH
12699 shlibpath_overrides_runpath=yes
12706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12707 soname_spec='${libname}${release}${shared_ext}$major'
12708 shlibpath_var=LD_LIBRARY_PATH
12709 shlibpath_overrides_runpath=no
12710 hardcode_into_libs=yes
12711 dynamic_linker='ldqnx.so'
12716 sys_lib_dlsearch_path_spec="/usr/lib"
12718 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12720 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12721 *) need_version=no ;;
12723 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12724 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12725 shlibpath_var=LD_LIBRARY_PATH
12726 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12728 openbsd2.[89] | openbsd2.[89].*)
12729 shlibpath_overrides_runpath=no
12732 shlibpath_overrides_runpath=yes
12736 shlibpath_overrides_runpath=yes
12741 libname_spec='$name'
12744 library_names_spec='$libname${shared_ext} $libname.a'
12745 dynamic_linker='OS/2 ld.exe'
12746 shlibpath_var=LIBPATH
12749 osf3* | osf4* | osf5*)
12753 soname_spec='${libname}${release}${shared_ext}$major'
12754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12755 shlibpath_var=LD_LIBRARY_PATH
12756 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12757 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12765 version_type=linux # correct to gnu/linux during the next big refactor
12768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12769 soname_spec='${libname}${release}${shared_ext}$major'
12770 shlibpath_var=LD_LIBRARY_PATH
12771 shlibpath_overrides_runpath=yes
12772 hardcode_into_libs=yes
12773 # ldd complains unless libraries are executable
12774 postinstall_cmds='chmod +x $lib'
12779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12780 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12781 shlibpath_var=LD_LIBRARY_PATH
12782 shlibpath_overrides_runpath=yes
12783 if test "$with_gnu_ld" = yes; then
12790 version_type=linux # correct to gnu/linux during the next big refactor
12791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12792 soname_spec='${libname}${release}${shared_ext}$major'
12793 shlibpath_var=LD_LIBRARY_PATH
12794 case $host_vendor in
12796 shlibpath_overrides_runpath=no
12798 runpath_var=LD_RUN_PATH
12806 shlibpath_overrides_runpath=no
12807 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12813 if test -d /usr/nec ;then
12814 version_type=linux # correct to gnu/linux during the next big refactor
12815 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12816 soname_spec='$libname${shared_ext}.$major'
12817 shlibpath_var=LD_LIBRARY_PATH
12821 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12822 version_type=freebsd-elf
12825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12826 soname_spec='${libname}${release}${shared_ext}$major'
12827 shlibpath_var=LD_LIBRARY_PATH
12828 shlibpath_overrides_runpath=yes
12829 hardcode_into_libs=yes
12830 if test "$with_gnu_ld" = yes; then
12831 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12833 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12836 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12840 sys_lib_dlsearch_path_spec='/usr/lib'
12844 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12845 version_type=linux # correct to gnu/linux during the next big refactor
12848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12849 shlibpath_var=LD_LIBRARY_PATH
12850 shlibpath_overrides_runpath=no
12851 hardcode_into_libs=yes
12855 version_type=linux # correct to gnu/linux during the next big refactor
12856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12857 soname_spec='${libname}${release}${shared_ext}$major'
12858 shlibpath_var=LD_LIBRARY_PATH
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12866 $as_echo "$dynamic_linker" >&6; }
12867 test "$dynamic_linker" = no && can_build_shared=no
12869 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12870 if test "$GCC" = yes; then
12871 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12874 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12875 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12877 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12878 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12973 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12975 if test -n "$hardcode_libdir_flag_spec" ||
12976 test -n "$runpath_var" ||
12977 test "X$hardcode_automatic" = "Xyes" ; then
12979 # We can hardcode non-existent directories.
12980 if test "$hardcode_direct" != no &&
12981 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12982 # have to relink, otherwise we might link with an installed library
12983 # when we should be linking with a yet-to-be-installed one
12984 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12985 test "$hardcode_minus_L" != no; then
12986 # Linking always hardcodes the temporary library directory.
12987 hardcode_action=relink
12989 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12990 hardcode_action=immediate
12993 # We cannot hardcode anything, or else we can only hardcode existing
12995 hardcode_action=unsupported
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12998 $as_echo "$hardcode_action" >&6; }
13000 if test "$hardcode_action" = relink ||
13001 test "$inherit_rpath" = yes; then
13002 # Fast installation is not supported
13003 enable_fast_install=no
13004 elif test "$shlibpath_overrides_runpath" = yes ||
13005 test "$enable_shared" = no; then
13006 # Fast installation is not necessary
13007 enable_fast_install=needless
13015 if test "x$enable_dlopen" != xyes; then
13016 enable_dlopen=unknown
13017 enable_dlopen_self=unknown
13018 enable_dlopen_self_static=unknown
13025 lt_cv_dlopen="load_add_on"
13027 lt_cv_dlopen_self=yes
13030 mingw* | pw32* | cegcc*)
13031 lt_cv_dlopen="LoadLibrary"
13036 lt_cv_dlopen="dlopen"
13041 # if libdl is installed we need to link against it
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13043 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13044 if ${ac_cv_lib_dl_dlopen+:} false; then :
13045 $as_echo_n "(cached) " >&6
13047 ac_check_lib_save_LIBS=$LIBS
13049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13050 /* end confdefs.h. */
13052 /* Override any GCC internal prototype to avoid an error.
13053 Use char because int might match the return type of a GCC
13054 builtin and then its argument prototype would still apply. */
13067 if ac_fn_c_try_link "$LINENO"; then :
13068 ac_cv_lib_dl_dlopen=yes
13070 ac_cv_lib_dl_dlopen=no
13072 rm -f core conftest.err conftest.$ac_objext \
13073 conftest$ac_exeext conftest.$ac_ext
13074 LIBS=$ac_check_lib_save_LIBS
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13077 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13078 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13079 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13082 lt_cv_dlopen="dyld"
13084 lt_cv_dlopen_self=yes
13091 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13092 if test "x$ac_cv_func_shl_load" = xyes; then :
13093 lt_cv_dlopen="shl_load"
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13096 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13097 if ${ac_cv_lib_dld_shl_load+:} false; then :
13098 $as_echo_n "(cached) " >&6
13100 ac_check_lib_save_LIBS=$LIBS
13102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13103 /* end confdefs.h. */
13105 /* Override any GCC internal prototype to avoid an error.
13106 Use char because int might match the return type of a GCC
13107 builtin and then its argument prototype would still apply. */
13115 return shl_load ();
13120 if ac_fn_c_try_link "$LINENO"; then :
13121 ac_cv_lib_dld_shl_load=yes
13123 ac_cv_lib_dld_shl_load=no
13125 rm -f core conftest.err conftest.$ac_objext \
13126 conftest$ac_exeext conftest.$ac_ext
13127 LIBS=$ac_check_lib_save_LIBS
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13130 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13131 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13132 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13134 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13135 if test "x$ac_cv_func_dlopen" = xyes; then :
13136 lt_cv_dlopen="dlopen"
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13139 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13140 if ${ac_cv_lib_dl_dlopen+:} false; then :
13141 $as_echo_n "(cached) " >&6
13143 ac_check_lib_save_LIBS=$LIBS
13145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13148 /* Override any GCC internal prototype to avoid an error.
13149 Use char because int might match the return type of a GCC
13150 builtin and then its argument prototype would still apply. */
13163 if ac_fn_c_try_link "$LINENO"; then :
13164 ac_cv_lib_dl_dlopen=yes
13166 ac_cv_lib_dl_dlopen=no
13168 rm -f core conftest.err conftest.$ac_objext \
13169 conftest$ac_exeext conftest.$ac_ext
13170 LIBS=$ac_check_lib_save_LIBS
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13173 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13174 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13175 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13178 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13179 if ${ac_cv_lib_svld_dlopen+:} false; then :
13180 $as_echo_n "(cached) " >&6
13182 ac_check_lib_save_LIBS=$LIBS
13183 LIBS="-lsvld $LIBS"
13184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13185 /* end confdefs.h. */
13187 /* Override any GCC internal prototype to avoid an error.
13188 Use char because int might match the return type of a GCC
13189 builtin and then its argument prototype would still apply. */
13202 if ac_fn_c_try_link "$LINENO"; then :
13203 ac_cv_lib_svld_dlopen=yes
13205 ac_cv_lib_svld_dlopen=no
13207 rm -f core conftest.err conftest.$ac_objext \
13208 conftest$ac_exeext conftest.$ac_ext
13209 LIBS=$ac_check_lib_save_LIBS
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13212 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13213 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13214 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13217 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13218 if ${ac_cv_lib_dld_dld_link+:} false; then :
13219 $as_echo_n "(cached) " >&6
13221 ac_check_lib_save_LIBS=$LIBS
13223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13224 /* end confdefs.h. */
13226 /* Override any GCC internal prototype to avoid an error.
13227 Use char because int might match the return type of a GCC
13228 builtin and then its argument prototype would still apply. */
13236 return dld_link ();
13241 if ac_fn_c_try_link "$LINENO"; then :
13242 ac_cv_lib_dld_dld_link=yes
13244 ac_cv_lib_dld_dld_link=no
13246 rm -f core conftest.err conftest.$ac_objext \
13247 conftest$ac_exeext conftest.$ac_ext
13248 LIBS=$ac_check_lib_save_LIBS
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13251 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13252 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13253 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13274 if test "x$lt_cv_dlopen" != xno; then
13280 case $lt_cv_dlopen in
13282 save_CPPFLAGS="$CPPFLAGS"
13283 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13285 save_LDFLAGS="$LDFLAGS"
13286 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13289 LIBS="$lt_cv_dlopen_libs $LIBS"
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13292 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13293 if ${lt_cv_dlopen_self+:} false; then :
13294 $as_echo_n "(cached) " >&6
13296 if test "$cross_compiling" = yes; then :
13297 lt_cv_dlopen_self=cross
13299 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13300 lt_status=$lt_dlunknown
13301 cat > conftest.$ac_ext <<_LT_EOF
13302 #line $LINENO "configure"
13303 #include "confdefs.h"
13312 # define LT_DLGLOBAL RTLD_GLOBAL
13315 # define LT_DLGLOBAL DL_GLOBAL
13317 # define LT_DLGLOBAL 0
13321 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13322 find out it does not work in some platform. */
13323 #ifndef LT_DLLAZY_OR_NOW
13325 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13328 # define LT_DLLAZY_OR_NOW DL_LAZY
13331 # define LT_DLLAZY_OR_NOW RTLD_NOW
13334 # define LT_DLLAZY_OR_NOW DL_NOW
13336 # define LT_DLLAZY_OR_NOW 0
13343 /* When -fvisbility=hidden is used, assume the code has been annotated
13344 correspondingly for the symbols needed. */
13345 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13346 int fnord () __attribute__((visibility("default")));
13349 int fnord () { return 42; }
13352 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13353 int status = $lt_dlunknown;
13357 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13360 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13361 else puts (dlerror ());
13363 /* dlclose (self); */
13371 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13372 (eval $ac_link) 2>&5
13374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13375 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13376 (./conftest; exit; ) >&5 2>/dev/null
13378 case x$lt_status in
13379 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13380 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13381 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13384 # compilation failed
13385 lt_cv_dlopen_self=no
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13393 $as_echo "$lt_cv_dlopen_self" >&6; }
13395 if test "x$lt_cv_dlopen_self" = xyes; then
13396 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13398 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13399 if ${lt_cv_dlopen_self_static+:} false; then :
13400 $as_echo_n "(cached) " >&6
13402 if test "$cross_compiling" = yes; then :
13403 lt_cv_dlopen_self_static=cross
13405 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13406 lt_status=$lt_dlunknown
13407 cat > conftest.$ac_ext <<_LT_EOF
13408 #line $LINENO "configure"
13409 #include "confdefs.h"
13418 # define LT_DLGLOBAL RTLD_GLOBAL
13421 # define LT_DLGLOBAL DL_GLOBAL
13423 # define LT_DLGLOBAL 0
13427 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13428 find out it does not work in some platform. */
13429 #ifndef LT_DLLAZY_OR_NOW
13431 # define LT_DLLAZY_OR_NOW RTLD_LAZY
13434 # define LT_DLLAZY_OR_NOW DL_LAZY
13437 # define LT_DLLAZY_OR_NOW RTLD_NOW
13440 # define LT_DLLAZY_OR_NOW DL_NOW
13442 # define LT_DLLAZY_OR_NOW 0
13449 /* When -fvisbility=hidden is used, assume the code has been annotated
13450 correspondingly for the symbols needed. */
13451 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13452 int fnord () __attribute__((visibility("default")));
13455 int fnord () { return 42; }
13458 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13459 int status = $lt_dlunknown;
13463 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13466 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13467 else puts (dlerror ());
13469 /* dlclose (self); */
13477 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13478 (eval $ac_link) 2>&5
13480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13481 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13482 (./conftest; exit; ) >&5 2>/dev/null
13484 case x$lt_status in
13485 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13486 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13487 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13490 # compilation failed
13491 lt_cv_dlopen_self_static=no
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13499 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13502 CPPFLAGS="$save_CPPFLAGS"
13503 LDFLAGS="$save_LDFLAGS"
13508 case $lt_cv_dlopen_self in
13509 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13510 *) enable_dlopen_self=unknown ;;
13513 case $lt_cv_dlopen_self_static in
13514 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13515 *) enable_dlopen_self_static=unknown ;;
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13538 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13539 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13540 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13541 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13543 $as_echo "yes" >&6; }
13545 # FIXME - insert some real tests, host_os isn't really good enough
13548 if test -n "$STRIP" ; then
13549 striplib="$STRIP -x"
13550 old_striplib="$STRIP -S"
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13552 $as_echo "yes" >&6; }
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13555 $as_echo "no" >&6; }
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13560 $as_echo "no" >&6; }
13576 # Report which library types will actually be built
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13578 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13580 $as_echo "$can_build_shared" >&6; }
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13583 $as_echo_n "checking whether to build shared libraries... " >&6; }
13584 test "$can_build_shared" = "no" && enable_shared=no
13586 # On AIX, shared libraries and static libraries use the same namespace, and
13587 # are all built from PIC.
13590 test "$enable_shared" = yes && enable_static=no
13591 if test -n "$RANLIB"; then
13592 archive_cmds="$archive_cmds~\$RANLIB \$lib"
13593 postinstall_cmds='$RANLIB $lib'
13598 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13599 test "$enable_shared" = yes && enable_static=no
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13604 $as_echo "$enable_shared" >&6; }
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13607 $as_echo_n "checking whether to build static libraries... " >&6; }
13608 # Make sure either enable_shared or enable_static is yes.
13609 test "$enable_shared" = yes || enable_static=yes
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13611 $as_echo "$enable_static" >&6; }
13618 ac_cpp='$CPP $CPPFLAGS'
13619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13639 ac_config_commands="$ac_config_commands libtool"
13644 # Only expand once:
13654 # Check whether --with-autoconf was given.
13655 if test "${with_autoconf+set}" = set; then :
13656 withval=$with_autoconf;
13659 AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
13662 $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
13668 # Check whether --with-autoheader was given.
13669 if test "${with_autoheader+set}" = set; then :
13670 withval=$with_autoheader;
13673 AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
13676 $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
13682 # Check whether --with-automake was given.
13683 if test "${with_automake+set}" = set; then :
13684 withval=$with_automake;
13687 AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
13690 $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
13696 # Check whether --with-aclocal was given.
13697 if test "${with_aclocal+set}" = set; then :
13698 withval=$with_aclocal;
13701 ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
13704 $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
13710 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13716 $as_echo_n "checking whether NLS is requested... " >&6; }
13717 # Check whether --enable-nls was given.
13718 if test "${enable_nls+set}" = set; then :
13719 enableval=$enable_nls; USE_NLS=$enableval
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13725 $as_echo "$USE_NLS" >&6; }
13730 GETTEXT_MACRO_VERSION=0.17
13735 # Prepare PATH_SEPARATOR.
13736 # The user is always right.
13737 if test "${PATH_SEPARATOR+set}" != set; then
13738 echo "#! /bin/sh" >conf$$.sh
13739 echo "exit 0" >>conf$$.sh
13741 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13749 # Find out how to test for executable files. Don't use a zero-byte file,
13750 # as systems may use methods other than mode bits to determine executability.
13751 cat >conf$$.file <<_ASEOF
13755 chmod +x conf$$.file
13756 if test -x conf$$.file >/dev/null 2>&1; then
13757 ac_executable_p="test -x"
13759 ac_executable_p="test -f"
13763 # Extract the first word of "msgfmt", so it can be a program name with args.
13764 set dummy msgfmt; ac_word=$2
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13766 $as_echo_n "checking for $ac_word... " >&6; }
13767 if ${ac_cv_path_MSGFMT+:} false; then :
13768 $as_echo_n "(cached) " >&6
13772 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13775 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13776 for ac_dir in $PATH; do
13778 test -z "$ac_dir" && ac_dir=.
13779 for ac_exec_ext in '' $ac_executable_extensions; do
13780 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13781 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13782 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
13783 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
13784 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
13791 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
13795 MSGFMT="$ac_cv_path_MSGFMT"
13796 if test "$MSGFMT" != ":"; then
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13798 $as_echo "$MSGFMT" >&6; }
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13801 $as_echo "no" >&6; }
13804 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13805 set dummy gmsgfmt; ac_word=$2
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13807 $as_echo_n "checking for $ac_word... " >&6; }
13808 if ${ac_cv_path_GMSGFMT+:} false; then :
13809 $as_echo_n "(cached) " >&6
13813 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13817 for as_dir in $PATH
13820 test -z "$as_dir" && as_dir=.
13821 for ac_exec_ext in '' $ac_executable_extensions; do
13822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13823 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13831 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13835 GMSGFMT=$ac_cv_path_GMSGFMT
13836 if test -n "$GMSGFMT"; then
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13838 $as_echo "$GMSGFMT" >&6; }
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13841 $as_echo "no" >&6; }
13846 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13847 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
13848 *) MSGFMT_015=$MSGFMT ;;
13851 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13852 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
13853 *) GMSGFMT_015=$GMSGFMT ;;
13858 # Prepare PATH_SEPARATOR.
13859 # The user is always right.
13860 if test "${PATH_SEPARATOR+set}" != set; then
13861 echo "#! /bin/sh" >conf$$.sh
13862 echo "exit 0" >>conf$$.sh
13864 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13872 # Find out how to test for executable files. Don't use a zero-byte file,
13873 # as systems may use methods other than mode bits to determine executability.
13874 cat >conf$$.file <<_ASEOF
13878 chmod +x conf$$.file
13879 if test -x conf$$.file >/dev/null 2>&1; then
13880 ac_executable_p="test -x"
13882 ac_executable_p="test -f"
13886 # Extract the first word of "xgettext", so it can be a program name with args.
13887 set dummy xgettext; ac_word=$2
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13889 $as_echo_n "checking for $ac_word... " >&6; }
13890 if ${ac_cv_path_XGETTEXT+:} false; then :
13891 $as_echo_n "(cached) " >&6
13893 case "$XGETTEXT" in
13895 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13898 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13899 for ac_dir in $PATH; do
13901 test -z "$ac_dir" && ac_dir=.
13902 for ac_exec_ext in '' $ac_executable_extensions; do
13903 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13904 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13905 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
13906 (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
13907 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
13914 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13918 XGETTEXT="$ac_cv_path_XGETTEXT"
13919 if test "$XGETTEXT" != ":"; then
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13921 $as_echo "$XGETTEXT" >&6; }
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13924 $as_echo "no" >&6; }
13929 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13930 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
13931 *) XGETTEXT_015=$XGETTEXT ;;
13936 # Prepare PATH_SEPARATOR.
13937 # The user is always right.
13938 if test "${PATH_SEPARATOR+set}" != set; then
13939 echo "#! /bin/sh" >conf$$.sh
13940 echo "exit 0" >>conf$$.sh
13942 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13950 # Find out how to test for executable files. Don't use a zero-byte file,
13951 # as systems may use methods other than mode bits to determine executability.
13952 cat >conf$$.file <<_ASEOF
13956 chmod +x conf$$.file
13957 if test -x conf$$.file >/dev/null 2>&1; then
13958 ac_executable_p="test -x"
13960 ac_executable_p="test -f"
13964 # Extract the first word of "msgmerge", so it can be a program name with args.
13965 set dummy msgmerge; ac_word=$2
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13967 $as_echo_n "checking for $ac_word... " >&6; }
13968 if ${ac_cv_path_MSGMERGE+:} false; then :
13969 $as_echo_n "(cached) " >&6
13971 case "$MSGMERGE" in
13973 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13976 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
13977 for ac_dir in $PATH; do
13979 test -z "$ac_dir" && ac_dir=.
13980 for ac_exec_ext in '' $ac_executable_extensions; do
13981 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13982 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13983 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
13984 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
13991 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
13995 MSGMERGE="$ac_cv_path_MSGMERGE"
13996 if test "$MSGMERGE" != ":"; then
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13998 $as_echo "$MSGMERGE" >&6; }
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14001 $as_echo "no" >&6; }
14005 test -n "$localedir" || localedir='${datadir}/locale'
14008 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
14011 ac_config_commands="$ac_config_commands po-directories"
14015 if test "X$prefix" = "XNONE"; then
14016 acl_final_prefix="$ac_default_prefix"
14018 acl_final_prefix="$prefix"
14020 if test "X$exec_prefix" = "XNONE"; then
14021 acl_final_exec_prefix='${prefix}'
14023 acl_final_exec_prefix="$exec_prefix"
14025 acl_save_prefix="$prefix"
14026 prefix="$acl_final_prefix"
14027 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14028 prefix="$acl_save_prefix"
14031 # Check whether --with-gnu-ld was given.
14032 if test "${with_gnu_ld+set}" = set; then :
14033 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14038 # Prepare PATH_SEPARATOR.
14039 # The user is always right.
14040 if test "${PATH_SEPARATOR+set}" != set; then
14041 echo "#! /bin/sh" >conf$$.sh
14042 echo "exit 0" >>conf$$.sh
14044 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14052 if test "$GCC" = yes; then
14053 # Check if gcc -print-prog-name=ld gives a path.
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14055 $as_echo_n "checking for ld used by GCC... " >&6; }
14058 # gcc leaves a trailing carriage return which upsets mingw
14059 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14061 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14064 # Accept absolute paths.
14065 [\\/]* | [A-Za-z]:[\\/]*)
14066 re_direlt='/[^/][^/]*/\.\./'
14067 # Canonicalize the path of ld
14068 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
14069 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14070 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
14072 test -z "$LD" && LD="$ac_prog"
14075 # If it fails, then pretend we aren't using GCC.
14079 # If it is relative, then search for the first ld in PATH.
14080 with_gnu_ld=unknown
14083 elif test "$with_gnu_ld" = yes; then
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14085 $as_echo_n "checking for GNU ld... " >&6; }
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14088 $as_echo_n "checking for non-GNU ld... " >&6; }
14090 if ${acl_cv_path_LD+:} false; then :
14091 $as_echo_n "(cached) " >&6
14093 if test -z "$LD"; then
14094 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14095 for ac_dir in $PATH; do
14096 test -z "$ac_dir" && ac_dir=.
14097 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14098 acl_cv_path_LD="$ac_dir/$ac_prog"
14099 # Check to see if the program is GNU ld. I'd rather use --version,
14100 # but apparently some GNU ld's only accept -v.
14101 # Break only if it was the GNU/non-GNU ld that we prefer.
14102 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14103 *GNU* | *'with BFD'*)
14104 test "$with_gnu_ld" != no && break ;;
14106 test "$with_gnu_ld" != yes && break ;;
14112 acl_cv_path_LD="$LD" # Let the user override the test with a path.
14116 LD="$acl_cv_path_LD"
14117 if test -n "$LD"; then
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14119 $as_echo "$LD" >&6; }
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14122 $as_echo "no" >&6; }
14124 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14126 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14127 if ${acl_cv_prog_gnu_ld+:} false; then :
14128 $as_echo_n "(cached) " >&6
14130 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
14131 case `$LD -v 2>&1 </dev/null` in
14132 *GNU* | *'with BFD'*)
14133 acl_cv_prog_gnu_ld=yes ;;
14135 acl_cv_prog_gnu_ld=no ;;
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14139 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
14140 with_gnu_ld=$acl_cv_prog_gnu_ld
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14146 $as_echo_n "checking for shared library run path origin... " >&6; }
14147 if ${acl_cv_rpath+:} false; then :
14148 $as_echo_n "(cached) " >&6
14151 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14152 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14154 rm -f ./conftest.sh
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14159 $as_echo "$acl_cv_rpath" >&6; }
14161 acl_libext="$acl_cv_libext"
14162 acl_shlibext="$acl_cv_shlibext"
14163 acl_libname_spec="$acl_cv_libname_spec"
14164 acl_library_names_spec="$acl_cv_library_names_spec"
14165 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14166 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14167 acl_hardcode_direct="$acl_cv_hardcode_direct"
14168 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14169 # Check whether --enable-rpath was given.
14170 if test "${enable_rpath+set}" = set; then :
14171 enableval=$enable_rpath; :
14179 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14180 if test -n "$searchpath"; then
14181 acl_save_IFS="${IFS= }"; IFS=":"
14182 for searchdir in $searchpath; do
14183 if test -d "$searchdir"; then
14184 case "$searchdir" in
14185 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14186 *) searchdir=`cd "$searchdir" && pwd`
14187 case "$searchdir" in
14188 */lib64 ) acl_libdirstem=lib64 ;;
14193 IFS="$acl_save_IFS"
14206 acl_save_prefix="$prefix"
14207 prefix="$acl_final_prefix"
14208 acl_save_exec_prefix="$exec_prefix"
14209 exec_prefix="$acl_final_exec_prefix"
14211 eval additional_includedir=\"$includedir\"
14212 eval additional_libdir=\"$libdir\"
14214 exec_prefix="$acl_save_exec_prefix"
14215 prefix="$acl_save_prefix"
14218 # Check whether --with-libiconv-prefix was given.
14219 if test "${with_libiconv_prefix+set}" = set; then :
14220 withval=$with_libiconv_prefix;
14221 if test "X$withval" = "Xno"; then
14224 if test "X$withval" = "X"; then
14226 acl_save_prefix="$prefix"
14227 prefix="$acl_final_prefix"
14228 acl_save_exec_prefix="$exec_prefix"
14229 exec_prefix="$acl_final_exec_prefix"
14231 eval additional_includedir=\"$includedir\"
14232 eval additional_libdir=\"$libdir\"
14234 exec_prefix="$acl_save_exec_prefix"
14235 prefix="$acl_save_prefix"
14238 additional_includedir="$withval/include"
14239 additional_libdir="$withval/$acl_libdirstem"
14251 names_already_handled=
14252 names_next_round='iconv '
14253 while test -n "$names_next_round"; do
14254 names_this_round="$names_next_round"
14256 for name in $names_this_round; do
14258 for n in $names_already_handled; do
14259 if test "$n" = "$name"; then
14260 already_handled=yes
14264 if test -z "$already_handled"; then
14265 names_already_handled="$names_already_handled $name"
14266 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14267 eval value=\"\$HAVE_LIB$uppername\"
14268 if test -n "$value"; then
14269 if test "$value" = yes; then
14270 eval value=\"\$LIB$uppername\"
14271 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
14272 eval value=\"\$LTLIB$uppername\"
14273 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14282 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14283 if test -n "$acl_shlibext"; then
14284 shrext=".$acl_shlibext" # typically: shrext=.so
14288 if test $use_additional = yes; then
14289 dir="$additional_libdir"
14290 if test -n "$acl_shlibext"; then
14291 if test -f "$dir/$libname$shrext"; then
14293 found_so="$dir/$libname$shrext"
14295 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14296 ver=`(cd "$dir" && \
14297 for f in "$libname$shrext".*; do echo "$f"; done \
14298 | sed -e "s,^$libname$shrext\\\\.,," \
14299 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14300 | sed 1q ) 2>/dev/null`
14301 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14303 found_so="$dir/$libname$shrext.$ver"
14306 eval library_names=\"$acl_library_names_spec\"
14307 for f in $library_names; do
14308 if test -f "$dir/$f"; then
14317 if test "X$found_dir" = "X"; then
14318 if test -f "$dir/$libname.$acl_libext"; then
14320 found_a="$dir/$libname.$acl_libext"
14323 if test "X$found_dir" != "X"; then
14324 if test -f "$dir/$libname.la"; then
14325 found_la="$dir/$libname.la"
14329 if test "X$found_dir" = "X"; then
14330 for x in $LDFLAGS $LTLIBICONV; do
14332 acl_save_prefix="$prefix"
14333 prefix="$acl_final_prefix"
14334 acl_save_exec_prefix="$exec_prefix"
14335 exec_prefix="$acl_final_exec_prefix"
14337 exec_prefix="$acl_save_exec_prefix"
14338 prefix="$acl_save_prefix"
14342 dir=`echo "X$x" | sed -e 's/^X-L//'`
14343 if test -n "$acl_shlibext"; then
14344 if test -f "$dir/$libname$shrext"; then
14346 found_so="$dir/$libname$shrext"
14348 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14349 ver=`(cd "$dir" && \
14350 for f in "$libname$shrext".*; do echo "$f"; done \
14351 | sed -e "s,^$libname$shrext\\\\.,," \
14352 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14353 | sed 1q ) 2>/dev/null`
14354 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14356 found_so="$dir/$libname$shrext.$ver"
14359 eval library_names=\"$acl_library_names_spec\"
14360 for f in $library_names; do
14361 if test -f "$dir/$f"; then
14370 if test "X$found_dir" = "X"; then
14371 if test -f "$dir/$libname.$acl_libext"; then
14373 found_a="$dir/$libname.$acl_libext"
14376 if test "X$found_dir" != "X"; then
14377 if test -f "$dir/$libname.la"; then
14378 found_la="$dir/$libname.la"
14383 if test "X$found_dir" != "X"; then
14388 if test "X$found_dir" != "X"; then
14389 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14390 if test "X$found_so" != "X"; then
14391 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14392 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14395 for x in $ltrpathdirs; do
14396 if test "X$x" = "X$found_dir"; then
14401 if test -z "$haveit"; then
14402 ltrpathdirs="$ltrpathdirs $found_dir"
14404 if test "$acl_hardcode_direct" = yes; then
14405 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14407 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14408 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14410 for x in $rpathdirs; do
14411 if test "X$x" = "X$found_dir"; then
14416 if test -z "$haveit"; then
14417 rpathdirs="$rpathdirs $found_dir"
14421 for x in $LDFLAGS $LIBICONV; do
14423 acl_save_prefix="$prefix"
14424 prefix="$acl_final_prefix"
14425 acl_save_exec_prefix="$exec_prefix"
14426 exec_prefix="$acl_final_exec_prefix"
14428 exec_prefix="$acl_save_exec_prefix"
14429 prefix="$acl_save_prefix"
14431 if test "X$x" = "X-L$found_dir"; then
14436 if test -z "$haveit"; then
14437 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14439 if test "$acl_hardcode_minus_L" != no; then
14440 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14442 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14448 if test "X$found_a" != "X"; then
14449 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
14451 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14454 additional_includedir=
14455 case "$found_dir" in
14456 */$acl_libdirstem | */$acl_libdirstem/)
14457 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14458 LIBICONV_PREFIX="$basedir"
14459 additional_includedir="$basedir/include"
14462 if test "X$additional_includedir" != "X"; then
14463 if test "X$additional_includedir" != "X/usr/include"; then
14465 if test "X$additional_includedir" = "X/usr/local/include"; then
14466 if test -n "$GCC"; then
14468 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14472 if test -z "$haveit"; then
14473 for x in $CPPFLAGS $INCICONV; do
14475 acl_save_prefix="$prefix"
14476 prefix="$acl_final_prefix"
14477 acl_save_exec_prefix="$exec_prefix"
14478 exec_prefix="$acl_final_exec_prefix"
14480 exec_prefix="$acl_save_exec_prefix"
14481 prefix="$acl_save_prefix"
14483 if test "X$x" = "X-I$additional_includedir"; then
14488 if test -z "$haveit"; then
14489 if test -d "$additional_includedir"; then
14490 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14496 if test -n "$found_la"; then
14497 save_libdir="$libdir"
14498 case "$found_la" in
14499 */* | *\\*) . "$found_la" ;;
14500 *) . "./$found_la" ;;
14502 libdir="$save_libdir"
14503 for dep in $dependency_libs; do
14506 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14507 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14509 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14510 if test -n "$GCC"; then
14512 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14516 if test -z "$haveit"; then
14518 for x in $LDFLAGS $LIBICONV; do
14520 acl_save_prefix="$prefix"
14521 prefix="$acl_final_prefix"
14522 acl_save_exec_prefix="$exec_prefix"
14523 exec_prefix="$acl_final_exec_prefix"
14525 exec_prefix="$acl_save_exec_prefix"
14526 prefix="$acl_save_prefix"
14528 if test "X$x" = "X-L$additional_libdir"; then
14533 if test -z "$haveit"; then
14534 if test -d "$additional_libdir"; then
14535 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14539 for x in $LDFLAGS $LTLIBICONV; do
14541 acl_save_prefix="$prefix"
14542 prefix="$acl_final_prefix"
14543 acl_save_exec_prefix="$exec_prefix"
14544 exec_prefix="$acl_final_exec_prefix"
14546 exec_prefix="$acl_save_exec_prefix"
14547 prefix="$acl_save_prefix"
14549 if test "X$x" = "X-L$additional_libdir"; then
14554 if test -z "$haveit"; then
14555 if test -d "$additional_libdir"; then
14556 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14563 dir=`echo "X$dep" | sed -e 's/^X-R//'`
14564 if test "$enable_rpath" != no; then
14566 for x in $rpathdirs; do
14567 if test "X$x" = "X$dir"; then
14572 if test -z "$haveit"; then
14573 rpathdirs="$rpathdirs $dir"
14576 for x in $ltrpathdirs; do
14577 if test "X$x" = "X$dir"; then
14582 if test -z "$haveit"; then
14583 ltrpathdirs="$ltrpathdirs $dir"
14588 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14591 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14594 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
14595 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14601 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14602 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14608 if test "X$rpathdirs" != "X"; then
14609 if test -n "$acl_hardcode_libdir_separator"; then
14611 for found_dir in $rpathdirs; do
14612 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14614 acl_save_libdir="$libdir"
14616 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14617 libdir="$acl_save_libdir"
14618 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14620 for found_dir in $rpathdirs; do
14621 acl_save_libdir="$libdir"
14622 libdir="$found_dir"
14623 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14624 libdir="$acl_save_libdir"
14625 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14629 if test "X$ltrpathdirs" != "X"; then
14630 for found_dir in $ltrpathdirs; do
14631 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14660 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14661 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
14662 $as_echo_n "(cached) " >&6
14664 gt_save_LIBS="$LIBS"
14665 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14667 /* end confdefs.h. */
14668 #include <CoreFoundation/CFPreferences.h>
14672 CFPreferencesCopyAppValue(NULL, NULL)
14677 if ac_fn_c_try_link "$LINENO"; then :
14678 gt_cv_func_CFPreferencesCopyAppValue=yes
14680 gt_cv_func_CFPreferencesCopyAppValue=no
14682 rm -f core conftest.err conftest.$ac_objext \
14683 conftest$ac_exeext conftest.$ac_ext
14684 LIBS="$gt_save_LIBS"
14686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14687 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14688 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14690 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14694 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14695 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
14696 $as_echo_n "(cached) " >&6
14698 gt_save_LIBS="$LIBS"
14699 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14701 /* end confdefs.h. */
14702 #include <CoreFoundation/CFLocale.h>
14706 CFLocaleCopyCurrent();
14711 if ac_fn_c_try_link "$LINENO"; then :
14712 gt_cv_func_CFLocaleCopyCurrent=yes
14714 gt_cv_func_CFLocaleCopyCurrent=no
14716 rm -f core conftest.err conftest.$ac_objext \
14717 conftest$ac_exeext conftest.$ac_ext
14718 LIBS="$gt_save_LIBS"
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14721 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14722 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14724 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14728 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14729 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
14741 case " $gt_needs " in
14742 *" need-formatstring-macros "*) gt_api_version=3 ;;
14743 *" need-ngettext "*) gt_api_version=2 ;;
14744 *) gt_api_version=1 ;;
14746 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
14747 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
14749 if test "$USE_NLS" = "yes"; then
14750 gt_use_preinstalled_gnugettext=no
14753 if test $gt_api_version -ge 3; then
14754 gt_revision_test_code='
14755 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14756 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14758 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14761 gt_revision_test_code=
14763 if test $gt_api_version -ge 2; then
14764 gt_expression_test_code=' + * ngettext ("", "", 0)'
14766 gt_expression_test_code=
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14770 $as_echo_n "checking for GNU gettext in libc... " >&6; }
14771 if eval \${$gt_func_gnugettext_libc+:} false; then :
14772 $as_echo_n "(cached) " >&6
14774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14775 /* end confdefs.h. */
14776 #include <libintl.h>
14777 $gt_revision_test_code
14778 extern int _nl_msg_cat_cntr;
14779 extern int *_nl_domain_bindings;
14783 bindtextdomain ("", "");
14784 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
14789 if ac_fn_c_try_link "$LINENO"; then :
14790 eval "$gt_func_gnugettext_libc=yes"
14792 eval "$gt_func_gnugettext_libc=no"
14794 rm -f core conftest.err conftest.$ac_objext \
14795 conftest$ac_exeext conftest.$ac_ext
14797 eval ac_res=\$$gt_func_gnugettext_libc
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14799 $as_echo "$ac_res" >&6; }
14801 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
14807 am_save_CPPFLAGS="$CPPFLAGS"
14809 for element in $INCICONV; do
14811 for x in $CPPFLAGS; do
14813 acl_save_prefix="$prefix"
14814 prefix="$acl_final_prefix"
14815 acl_save_exec_prefix="$exec_prefix"
14816 exec_prefix="$acl_final_exec_prefix"
14818 exec_prefix="$acl_save_exec_prefix"
14819 prefix="$acl_save_prefix"
14821 if test "X$x" = "X$element"; then
14826 if test -z "$haveit"; then
14827 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14833 $as_echo_n "checking for iconv... " >&6; }
14834 if ${am_cv_func_iconv+:} false; then :
14835 $as_echo_n "(cached) " >&6
14838 am_cv_func_iconv="no, consider installing GNU libiconv"
14840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14841 /* end confdefs.h. */
14842 #include <stdlib.h>
14847 iconv_t cd = iconv_open("","");
14848 iconv(cd,NULL,NULL,NULL,NULL);
14854 if ac_fn_c_try_link "$LINENO"; then :
14855 am_cv_func_iconv=yes
14857 rm -f core conftest.err conftest.$ac_objext \
14858 conftest$ac_exeext conftest.$ac_ext
14859 if test "$am_cv_func_iconv" != yes; then
14860 am_save_LIBS="$LIBS"
14861 LIBS="$LIBS $LIBICONV"
14862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14863 /* end confdefs.h. */
14864 #include <stdlib.h>
14869 iconv_t cd = iconv_open("","");
14870 iconv(cd,NULL,NULL,NULL,NULL);
14876 if ac_fn_c_try_link "$LINENO"; then :
14877 am_cv_lib_iconv=yes
14878 am_cv_func_iconv=yes
14880 rm -f core conftest.err conftest.$ac_objext \
14881 conftest$ac_exeext conftest.$ac_ext
14882 LIBS="$am_save_LIBS"
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14887 $as_echo "$am_cv_func_iconv" >&6; }
14888 if test "$am_cv_func_iconv" = yes; then
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
14890 $as_echo_n "checking for working iconv... " >&6; }
14891 if ${am_cv_func_iconv_works+:} false; then :
14892 $as_echo_n "(cached) " >&6
14895 am_save_LIBS="$LIBS"
14896 if test $am_cv_lib_iconv = yes; then
14897 LIBS="$LIBS $LIBICONV"
14899 if test "$cross_compiling" = yes; then :
14901 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
14902 *) am_cv_func_iconv_works="guessing yes" ;;
14905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14906 /* end confdefs.h. */
14909 #include <string.h>
14912 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
14915 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
14916 if (cd_utf8_to_88591 != (iconv_t)(-1))
14918 static const char input[] = "\342\202\254"; /* EURO SIGN */
14920 const char *inptr = input;
14921 size_t inbytesleft = strlen (input);
14922 char *outptr = buf;
14923 size_t outbytesleft = sizeof (buf);
14924 size_t res = iconv (cd_utf8_to_88591,
14925 (char **) &inptr, &inbytesleft,
14926 &outptr, &outbytesleft);
14931 #if 0 /* This bug could be worked around by the caller. */
14932 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
14934 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
14935 if (cd_88591_to_utf8 != (iconv_t)(-1))
14937 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
14939 const char *inptr = input;
14940 size_t inbytesleft = strlen (input);
14941 char *outptr = buf;
14942 size_t outbytesleft = sizeof (buf);
14943 size_t res = iconv (cd_88591_to_utf8,
14944 (char **) &inptr, &inbytesleft,
14945 &outptr, &outbytesleft);
14951 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
14953 if (/* Try standardized names. */
14954 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
14955 /* Try IRIX, OSF/1 names. */
14956 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
14957 /* Try AIX names. */
14958 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
14959 /* Try HP-UX names. */
14960 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
14965 if ac_fn_c_try_run "$LINENO"; then :
14966 am_cv_func_iconv_works=yes
14968 am_cv_func_iconv_works=no
14970 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14971 conftest.$ac_objext conftest.beam conftest.$ac_ext
14974 LIBS="$am_save_LIBS"
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
14978 $as_echo "$am_cv_func_iconv_works" >&6; }
14979 case "$am_cv_func_iconv_works" in
14980 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
14981 *) am_func_iconv=yes ;;
14984 am_func_iconv=no am_cv_lib_iconv=no
14986 if test "$am_func_iconv" = yes; then
14988 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14991 if test "$am_cv_lib_iconv" = yes; then
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14993 $as_echo_n "checking how to link with libiconv... " >&6; }
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14995 $as_echo "$LIBICONV" >&6; }
14997 CPPFLAGS="$am_save_CPPFLAGS"
15011 acl_save_prefix="$prefix"
15012 prefix="$acl_final_prefix"
15013 acl_save_exec_prefix="$exec_prefix"
15014 exec_prefix="$acl_final_exec_prefix"
15016 eval additional_includedir=\"$includedir\"
15017 eval additional_libdir=\"$libdir\"
15019 exec_prefix="$acl_save_exec_prefix"
15020 prefix="$acl_save_prefix"
15023 # Check whether --with-libintl-prefix was given.
15024 if test "${with_libintl_prefix+set}" = set; then :
15025 withval=$with_libintl_prefix;
15026 if test "X$withval" = "Xno"; then
15029 if test "X$withval" = "X"; then
15031 acl_save_prefix="$prefix"
15032 prefix="$acl_final_prefix"
15033 acl_save_exec_prefix="$exec_prefix"
15034 exec_prefix="$acl_final_exec_prefix"
15036 eval additional_includedir=\"$includedir\"
15037 eval additional_libdir=\"$libdir\"
15039 exec_prefix="$acl_save_exec_prefix"
15040 prefix="$acl_save_prefix"
15043 additional_includedir="$withval/include"
15044 additional_libdir="$withval/$acl_libdirstem"
15056 names_already_handled=
15057 names_next_round='intl '
15058 while test -n "$names_next_round"; do
15059 names_this_round="$names_next_round"
15061 for name in $names_this_round; do
15063 for n in $names_already_handled; do
15064 if test "$n" = "$name"; then
15065 already_handled=yes
15069 if test -z "$already_handled"; then
15070 names_already_handled="$names_already_handled $name"
15071 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15072 eval value=\"\$HAVE_LIB$uppername\"
15073 if test -n "$value"; then
15074 if test "$value" = yes; then
15075 eval value=\"\$LIB$uppername\"
15076 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
15077 eval value=\"\$LTLIB$uppername\"
15078 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
15087 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
15088 if test -n "$acl_shlibext"; then
15089 shrext=".$acl_shlibext" # typically: shrext=.so
15093 if test $use_additional = yes; then
15094 dir="$additional_libdir"
15095 if test -n "$acl_shlibext"; then
15096 if test -f "$dir/$libname$shrext"; then
15098 found_so="$dir/$libname$shrext"
15100 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15101 ver=`(cd "$dir" && \
15102 for f in "$libname$shrext".*; do echo "$f"; done \
15103 | sed -e "s,^$libname$shrext\\\\.,," \
15104 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15105 | sed 1q ) 2>/dev/null`
15106 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15108 found_so="$dir/$libname$shrext.$ver"
15111 eval library_names=\"$acl_library_names_spec\"
15112 for f in $library_names; do
15113 if test -f "$dir/$f"; then
15122 if test "X$found_dir" = "X"; then
15123 if test -f "$dir/$libname.$acl_libext"; then
15125 found_a="$dir/$libname.$acl_libext"
15128 if test "X$found_dir" != "X"; then
15129 if test -f "$dir/$libname.la"; then
15130 found_la="$dir/$libname.la"
15134 if test "X$found_dir" = "X"; then
15135 for x in $LDFLAGS $LTLIBINTL; do
15137 acl_save_prefix="$prefix"
15138 prefix="$acl_final_prefix"
15139 acl_save_exec_prefix="$exec_prefix"
15140 exec_prefix="$acl_final_exec_prefix"
15142 exec_prefix="$acl_save_exec_prefix"
15143 prefix="$acl_save_prefix"
15147 dir=`echo "X$x" | sed -e 's/^X-L//'`
15148 if test -n "$acl_shlibext"; then
15149 if test -f "$dir/$libname$shrext"; then
15151 found_so="$dir/$libname$shrext"
15153 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15154 ver=`(cd "$dir" && \
15155 for f in "$libname$shrext".*; do echo "$f"; done \
15156 | sed -e "s,^$libname$shrext\\\\.,," \
15157 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15158 | sed 1q ) 2>/dev/null`
15159 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15161 found_so="$dir/$libname$shrext.$ver"
15164 eval library_names=\"$acl_library_names_spec\"
15165 for f in $library_names; do
15166 if test -f "$dir/$f"; then
15175 if test "X$found_dir" = "X"; then
15176 if test -f "$dir/$libname.$acl_libext"; then
15178 found_a="$dir/$libname.$acl_libext"
15181 if test "X$found_dir" != "X"; then
15182 if test -f "$dir/$libname.la"; then
15183 found_la="$dir/$libname.la"
15188 if test "X$found_dir" != "X"; then
15193 if test "X$found_dir" != "X"; then
15194 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15195 if test "X$found_so" != "X"; then
15196 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15197 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15200 for x in $ltrpathdirs; do
15201 if test "X$x" = "X$found_dir"; then
15206 if test -z "$haveit"; then
15207 ltrpathdirs="$ltrpathdirs $found_dir"
15209 if test "$acl_hardcode_direct" = yes; then
15210 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15212 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15213 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15215 for x in $rpathdirs; do
15216 if test "X$x" = "X$found_dir"; then
15221 if test -z "$haveit"; then
15222 rpathdirs="$rpathdirs $found_dir"
15226 for x in $LDFLAGS $LIBINTL; do
15228 acl_save_prefix="$prefix"
15229 prefix="$acl_final_prefix"
15230 acl_save_exec_prefix="$exec_prefix"
15231 exec_prefix="$acl_final_exec_prefix"
15233 exec_prefix="$acl_save_exec_prefix"
15234 prefix="$acl_save_prefix"
15236 if test "X$x" = "X-L$found_dir"; then
15241 if test -z "$haveit"; then
15242 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15244 if test "$acl_hardcode_minus_L" != no; then
15245 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15247 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15253 if test "X$found_a" != "X"; then
15254 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
15256 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15259 additional_includedir=
15260 case "$found_dir" in
15261 */$acl_libdirstem | */$acl_libdirstem/)
15262 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15263 LIBINTL_PREFIX="$basedir"
15264 additional_includedir="$basedir/include"
15267 if test "X$additional_includedir" != "X"; then
15268 if test "X$additional_includedir" != "X/usr/include"; then
15270 if test "X$additional_includedir" = "X/usr/local/include"; then
15271 if test -n "$GCC"; then
15273 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15277 if test -z "$haveit"; then
15278 for x in $CPPFLAGS $INCINTL; do
15280 acl_save_prefix="$prefix"
15281 prefix="$acl_final_prefix"
15282 acl_save_exec_prefix="$exec_prefix"
15283 exec_prefix="$acl_final_exec_prefix"
15285 exec_prefix="$acl_save_exec_prefix"
15286 prefix="$acl_save_prefix"
15288 if test "X$x" = "X-I$additional_includedir"; then
15293 if test -z "$haveit"; then
15294 if test -d "$additional_includedir"; then
15295 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15301 if test -n "$found_la"; then
15302 save_libdir="$libdir"
15303 case "$found_la" in
15304 */* | *\\*) . "$found_la" ;;
15305 *) . "./$found_la" ;;
15307 libdir="$save_libdir"
15308 for dep in $dependency_libs; do
15311 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15312 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15314 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15315 if test -n "$GCC"; then
15317 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15321 if test -z "$haveit"; then
15323 for x in $LDFLAGS $LIBINTL; do
15325 acl_save_prefix="$prefix"
15326 prefix="$acl_final_prefix"
15327 acl_save_exec_prefix="$exec_prefix"
15328 exec_prefix="$acl_final_exec_prefix"
15330 exec_prefix="$acl_save_exec_prefix"
15331 prefix="$acl_save_prefix"
15333 if test "X$x" = "X-L$additional_libdir"; then
15338 if test -z "$haveit"; then
15339 if test -d "$additional_libdir"; then
15340 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15344 for x in $LDFLAGS $LTLIBINTL; do
15346 acl_save_prefix="$prefix"
15347 prefix="$acl_final_prefix"
15348 acl_save_exec_prefix="$exec_prefix"
15349 exec_prefix="$acl_final_exec_prefix"
15351 exec_prefix="$acl_save_exec_prefix"
15352 prefix="$acl_save_prefix"
15354 if test "X$x" = "X-L$additional_libdir"; then
15359 if test -z "$haveit"; then
15360 if test -d "$additional_libdir"; then
15361 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15368 dir=`echo "X$dep" | sed -e 's/^X-R//'`
15369 if test "$enable_rpath" != no; then
15371 for x in $rpathdirs; do
15372 if test "X$x" = "X$dir"; then
15377 if test -z "$haveit"; then
15378 rpathdirs="$rpathdirs $dir"
15381 for x in $ltrpathdirs; do
15382 if test "X$x" = "X$dir"; then
15387 if test -z "$haveit"; then
15388 ltrpathdirs="$ltrpathdirs $dir"
15393 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15396 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15399 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
15400 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15406 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15407 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15413 if test "X$rpathdirs" != "X"; then
15414 if test -n "$acl_hardcode_libdir_separator"; then
15416 for found_dir in $rpathdirs; do
15417 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15419 acl_save_libdir="$libdir"
15421 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15422 libdir="$acl_save_libdir"
15423 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15425 for found_dir in $rpathdirs; do
15426 acl_save_libdir="$libdir"
15427 libdir="$found_dir"
15428 eval flag=\"$acl_hardcode_libdir_flag_spec\"
15429 libdir="$acl_save_libdir"
15430 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15434 if test "X$ltrpathdirs" != "X"; then
15435 for found_dir in $ltrpathdirs; do
15436 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15441 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
15442 if eval \${$gt_func_gnugettext_libintl+:} false; then :
15443 $as_echo_n "(cached) " >&6
15445 gt_save_CPPFLAGS="$CPPFLAGS"
15446 CPPFLAGS="$CPPFLAGS $INCINTL"
15447 gt_save_LIBS="$LIBS"
15448 LIBS="$LIBS $LIBINTL"
15449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15450 /* end confdefs.h. */
15451 #include <libintl.h>
15452 $gt_revision_test_code
15453 extern int _nl_msg_cat_cntr;
15458 const char *_nl_expand_alias (const char *);
15462 bindtextdomain ("", "");
15463 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15468 if ac_fn_c_try_link "$LINENO"; then :
15469 eval "$gt_func_gnugettext_libintl=yes"
15471 eval "$gt_func_gnugettext_libintl=no"
15473 rm -f core conftest.err conftest.$ac_objext \
15474 conftest$ac_exeext conftest.$ac_ext
15475 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
15476 LIBS="$LIBS $LIBICONV"
15477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15478 /* end confdefs.h. */
15479 #include <libintl.h>
15480 $gt_revision_test_code
15481 extern int _nl_msg_cat_cntr;
15486 const char *_nl_expand_alias (const char *);
15490 bindtextdomain ("", "");
15491 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15496 if ac_fn_c_try_link "$LINENO"; then :
15497 LIBINTL="$LIBINTL $LIBICONV"
15498 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
15499 eval "$gt_func_gnugettext_libintl=yes"
15502 rm -f core conftest.err conftest.$ac_objext \
15503 conftest$ac_exeext conftest.$ac_ext
15505 CPPFLAGS="$gt_save_CPPFLAGS"
15506 LIBS="$gt_save_LIBS"
15508 eval ac_res=\$$gt_func_gnugettext_libintl
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15510 $as_echo "$ac_res" >&6; }
15513 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
15514 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
15515 && test "$PACKAGE" != gettext-runtime \
15516 && test "$PACKAGE" != gettext-tools; }; then
15517 gt_use_preinstalled_gnugettext=yes
15526 if test -n "$INTL_MACOSX_LIBS"; then
15527 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15528 || test "$nls_cv_use_gnu_gettext" = "yes"; then
15529 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
15530 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
15534 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15535 || test "$nls_cv_use_gnu_gettext" = "yes"; then
15537 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
15545 $as_echo_n "checking whether to use NLS... " >&6; }
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15547 $as_echo "$USE_NLS" >&6; }
15548 if test "$USE_NLS" = "yes"; then
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
15550 $as_echo_n "checking where the gettext function comes from... " >&6; }
15551 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15552 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15553 gt_source="external libintl"
15558 gt_source="included intl directory"
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
15561 $as_echo "$gt_source" >&6; }
15564 if test "$USE_NLS" = "yes"; then
15566 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15567 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15569 $as_echo_n "checking how to link with libintl... " >&6; }
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15571 $as_echo "$LIBINTL" >&6; }
15573 for element in $INCINTL; do
15575 for x in $CPPFLAGS; do
15577 acl_save_prefix="$prefix"
15578 prefix="$acl_final_prefix"
15579 acl_save_exec_prefix="$exec_prefix"
15580 exec_prefix="$acl_final_exec_prefix"
15582 exec_prefix="$acl_save_exec_prefix"
15583 prefix="$acl_save_prefix"
15585 if test "X$x" = "X$element"; then
15590 if test -z "$haveit"; then
15591 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15598 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15601 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15610 INTLLIBS="$LIBINTL"
15618 if test "$USE_NLS" = "yes"; then
15619 GETTEXT_PACKAGE=gst-plugins-bad-$GST_MAJORMINOR
15621 GETTEXT_PACKAGE=NULL
15625 cat >>confdefs.h <<_ACEOF
15626 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15632 FROM_VAR=$datadir/locale
15634 prefix_save=$prefix
15635 exec_prefix_save=$exec_prefix
15637 if test "x$prefix" = "xNONE"; then
15638 prefix="$ac_default_prefix"
15640 if test "x$exec_prefix" = "xNONE"; then
15641 exec_prefix=$prefix
15644 full_var="$FROM_VAR"
15646 new_full_var="`eval echo $full_var`"
15647 if test "x$new_full_var" = "x$full_var"; then break; fi
15648 full_var=$new_full_var
15651 full_var=$new_full_var
15652 LOCALEDIR="$full_var"
15655 prefix=$prefix_save
15656 exec_prefix=$exec_prefix_save
15659 cat >>confdefs.h <<_ACEOF
15660 #define LOCALEDIR "$LOCALEDIR"
15667 # Check whether --enable-debug was given.
15668 if test "${enable_debug+set}" = set; then :
15669 enableval=$enable_debug;
15670 case "${enableval}" in
15671 yes) USE_DEBUG=yes ;;
15672 no) USE_DEBUG=no ;;
15673 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
15681 # Check whether --enable-profiling was given.
15682 if test "${enable_profiling+set}" = set; then :
15683 enableval=$enable_profiling;
15684 case "${enableval}" in
15685 yes) USE_PROFILING=yes ;;
15686 no) USE_PROFILING=no ;;
15687 *) as_fn_error $? "bad value ${enableval} for --enable-profiling" "$LINENO" 5 ;;
15696 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15697 if test -n "$ac_tool_prefix"; then
15698 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15699 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15701 $as_echo_n "checking for $ac_word... " >&6; }
15702 if ${ac_cv_path_PKG_CONFIG+:} false; then :
15703 $as_echo_n "(cached) " >&6
15705 case $PKG_CONFIG in
15707 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15711 for as_dir in $PATH
15714 test -z "$as_dir" && as_dir=.
15715 for ac_exec_ext in '' $ac_executable_extensions; do
15716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15717 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15728 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15729 if test -n "$PKG_CONFIG"; then
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15731 $as_echo "$PKG_CONFIG" >&6; }
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15734 $as_echo "no" >&6; }
15739 if test -z "$ac_cv_path_PKG_CONFIG"; then
15740 ac_pt_PKG_CONFIG=$PKG_CONFIG
15741 # Extract the first word of "pkg-config", so it can be a program name with args.
15742 set dummy pkg-config; ac_word=$2
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15744 $as_echo_n "checking for $ac_word... " >&6; }
15745 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15746 $as_echo_n "(cached) " >&6
15748 case $ac_pt_PKG_CONFIG in
15750 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15754 for as_dir in $PATH
15757 test -z "$as_dir" && as_dir=.
15758 for ac_exec_ext in '' $ac_executable_extensions; do
15759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15760 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15771 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15772 if test -n "$ac_pt_PKG_CONFIG"; then
15773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15774 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15777 $as_echo "no" >&6; }
15780 if test "x$ac_pt_PKG_CONFIG" = x; then
15783 case $cross_compiling:$ac_tool_warned in
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15787 ac_tool_warned=yes ;;
15789 PKG_CONFIG=$ac_pt_PKG_CONFIG
15792 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15796 if test -n "$PKG_CONFIG"; then
15797 _pkg_min_version=0.9.0
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15799 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15800 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15802 $as_echo "yes" >&6; }
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15805 $as_echo "no" >&6; }
15811 # Check whether --enable-valgrind was given.
15812 if test "${enable_valgrind+set}" = set; then :
15813 enableval=$enable_valgrind;
15814 case "${enableval}" in
15815 yes) USE_VALGRIND="$USE_DEBUG" ;;
15816 no) USE_VALGRIND=no ;;
15817 *) as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
15821 USE_VALGRIND="$USE_DEBUG"
15824 if test "x$USE_VALGRIND" = xyes; then
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
15828 $as_echo_n "checking for VALGRIND... " >&6; }
15830 if test -n "$PKG_CONFIG"; then
15831 if test -n "$VALGRIND_CFLAGS"; then
15832 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
15834 if test -n "$PKG_CONFIG" && \
15835 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
15836 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
15838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15839 test $ac_status = 0; }; then
15840 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
15848 if test -n "$PKG_CONFIG"; then
15849 if test -n "$VALGRIND_LIBS"; then
15850 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
15852 if test -n "$PKG_CONFIG" && \
15853 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
15854 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
15856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15857 test $ac_status = 0; }; then
15858 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
15869 if test $pkg_failed = yes; then
15871 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15872 _pkg_short_errors_supported=yes
15874 _pkg_short_errors_supported=no
15876 if test $_pkg_short_errors_supported = yes; then
15877 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
15879 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
15881 # Put the nasty error message in config.log where it belongs
15882 echo "$VALGRIND_PKG_ERRORS" >&5
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15885 $as_echo "no" >&6; }
15887 elif test $pkg_failed = untried; then
15890 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
15891 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
15892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15893 $as_echo "yes" >&6; }
15897 if test "x$USE_VALGRIND" = xyes; then
15899 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
15901 { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
15902 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
15906 # Check whether --enable-gcov was given.
15907 if test "${enable_gcov+set}" = set; then :
15908 enableval=$enable_gcov; enable_gcov=$enableval
15913 if test x$enable_gcov = xyes ; then
15914 if test "x$GCC" != "xyes"
15916 as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
15920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
15921 $as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
15923 save_CFLAGS="$CFLAGS"
15924 CFLAGS="$CFLAGS "-fprofile-arcs""
15926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15927 /* end confdefs.h. */
15937 if ac_fn_c_try_compile "$LINENO"; then :
15942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15943 CFLAGS="$save_CFLAGS"
15945 if test "X$flag_ok" = Xyes ; then
15946 GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15953 $as_echo "$flag_ok" >&6; }
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
15957 $as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
15959 save_CFLAGS="$CFLAGS"
15960 CFLAGS="$CFLAGS "-ftest-coverage""
15962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15963 /* end confdefs.h. */
15973 if ac_fn_c_try_compile "$LINENO"; then :
15978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15979 CFLAGS="$save_CFLAGS"
15981 if test "X$flag_ok" = Xyes ; then
15982 GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15989 $as_echo "$flag_ok" >&6; }
15991 GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
15995 GCOV=`echo $CC | sed s/gcc/gcov/g`
15998 GST_GCOV_ENABLED=yes
16000 cat >>confdefs.h <<_ACEOF
16001 #define GST_GCOV_ENABLED 1
16004 if test "x$GST_GCOV_ENABLED" = "xyes"
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
16015 $as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
16018 if test x$enable_gcov = xyes; then
16019 GST_GCOV_ENABLED_TRUE=
16020 GST_GCOV_ENABLED_FALSE='#'
16022 GST_GCOV_ENABLED_TRUE='#'
16023 GST_GCOV_ENABLED_FALSE=
16029 # Check whether --enable-examples was given.
16030 if test "${enable_examples+set}" = set; then :
16031 enableval=$enable_examples;
16032 case "${enableval}" in
16033 yes) BUILD_EXAMPLES=yes ;;
16034 no) BUILD_EXAMPLES=no ;;
16035 *) as_fn_error $? "bad value ${enableval} for --disable-examples" "$LINENO" 5 ;;
16041 if test "x$BUILD_EXAMPLES" = "xyes"; then
16042 BUILD_EXAMPLES_TRUE=
16043 BUILD_EXAMPLES_FALSE='#'
16045 BUILD_EXAMPLES_TRUE='#'
16046 BUILD_EXAMPLES_FALSE=
16053 # Check whether --with-pkg-config-path was given.
16054 if test "${with_pkg_config_path+set}" = set; then :
16055 withval=$with_pkg_config_path;
16056 export PKG_CONFIG_PATH=${withval}
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
16058 $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
16065 # Check whether --with-package-name was given.
16066 if test "${with_package_name+set}" = set; then :
16067 withval=$with_package_name;
16068 case "${withval}" in
16069 yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
16070 no) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
16071 *) GST_PACKAGE_NAME="${withval}" ;;
16077 if test "x$P" = "x"
16082 if test "x$PACKAGE_VERSION_NANO" = "x0"
16084 GST_PACKAGE_NAME="$P source release"
16086 if test "x$PACKAGE_VERSION_NANO" = "x1"
16088 GST_PACKAGE_NAME="$P git"
16090 GST_PACKAGE_NAME="$P prerelease"
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
16098 $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
16100 cat >>confdefs.h <<_ACEOF
16101 #define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
16108 # Check whether --with-package-origin was given.
16109 if test "${with_package_origin+set}" = set; then :
16110 withval=$with_package_origin;
16111 case "${withval}" in
16112 yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
16113 no) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
16114 *) GST_PACKAGE_ORIGIN="${withval}" ;;
16118 GST_PACKAGE_ORIGIN="Unknown package origin"
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
16122 $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
16124 cat >>confdefs.h <<_ACEOF
16125 #define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
16133 # Check whether --with-plugins was given.
16134 if test "${with_plugins+set}" = set; then :
16135 withval=$with_plugins; WITH_PLUGINS=$withval
16142 GST_PLUGINS_SELECTED=""
16150 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of plug-ins with external deps ***" >&5
16151 $as_echo "$as_me: *** checking feature: building of plug-ins with external deps ***" >&6;}
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
16155 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
16158 if test "x$USE_EXTERNAL" = "xno"; then
16161 # Check whether --enable-external was given.
16162 if test "${enable_external+set}" = set; then :
16163 enableval=$enable_external; case "${enableval}" in
16164 yes) USE_EXTERNAL=yes;;
16165 no) USE_EXTERNAL=no;;
16166 *) as_fn_error $? "bad value ${enableval} for --enable-external" "$LINENO" 5 ;;
16172 if test "x$NOUSE" = "xyes"; then
16174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
16175 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
16180 if test x$USE_EXTERNAL = xyes; then
16182 gst_check_save_LIBS=$LIBS
16183 gst_check_save_LDFLAGS=$LDFLAGS
16184 gst_check_save_CFLAGS=$CFLAGS
16185 gst_check_save_CPPFLAGS=$CPPFLAGS
16186 gst_check_save_CXXFLAGS=$CXXFLAGS
16191 LIBS=$gst_check_save_LIBS
16192 LDFLAGS=$gst_check_save_LDFLAGS
16193 CFLAGS=$gst_check_save_CFLAGS
16194 CPPFLAGS=$gst_check_save_CPPFLAGS
16195 CXXFLAGS=$gst_check_save_CXXFLAGS
16197 if test x$HAVE_EXTERNAL = xno; then
16203 if test x$USE_EXTERNAL = xyes; then
16205 { $as_echo "$as_me:${as_lineno-$LINENO}: building external plug-ins" >&5
16206 $as_echo "$as_me: building external plug-ins" >&6;}
16207 BUILD_EXTERNAL="yes"
16209 if test "x" != "x"; then
16210 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
16213 $as_echo "#define HAVE_EXTERNAL /**/" >>confdefs.h
16217 if test "x" != "x"; then
16218 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
16221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: all plug-ins with external dependencies will not be built" >&5
16222 $as_echo "$as_me: WARNING: all plug-ins with external dependencies will not be built" >&2;}
16223 BUILD_EXTERNAL="no"
16226 if test x$USE_EXTERNAL = xyes; then
16228 USE_EXTERNAL_FALSE='#'
16230 USE_EXTERNAL_TRUE='#'
16231 USE_EXTERNAL_FALSE=
16235 # make BUILD_EXTERNAL available to Makefile.am
16236 if test "x$BUILD_EXTERNAL" = "xyes"; then
16237 BUILD_EXTERNAL_TRUE=
16238 BUILD_EXTERNAL_FALSE='#'
16240 BUILD_EXTERNAL_TRUE='#'
16241 BUILD_EXTERNAL_FALSE=
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of experimental plug-ins ***" >&5
16249 $as_echo "$as_me: *** checking feature: building of experimental plug-ins ***" >&6;}
16252 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
16253 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
16256 if test "x$USE_EXPERIMENTAL" = "xno"; then
16259 # Check whether --enable-experimental was given.
16260 if test "${enable_experimental+set}" = set; then :
16261 enableval=$enable_experimental; case "${enableval}" in
16262 yes) USE_EXPERIMENTAL=yes;;
16263 no) USE_EXPERIMENTAL=no;;
16264 *) as_fn_error $? "bad value ${enableval} for --enable-experimental" "$LINENO" 5 ;;
16267 USE_EXPERIMENTAL=no
16270 if test "x$NOUSE" = "xyes"; then
16271 USE_EXPERIMENTAL="no"
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
16273 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
16278 if test x$USE_EXPERIMENTAL = xyes; then
16280 gst_check_save_LIBS=$LIBS
16281 gst_check_save_LDFLAGS=$LDFLAGS
16282 gst_check_save_CFLAGS=$CFLAGS
16283 gst_check_save_CPPFLAGS=$CPPFLAGS
16284 gst_check_save_CXXFLAGS=$CXXFLAGS
16286 HAVE_EXPERIMENTAL=no
16287 HAVE_EXPERIMENTAL=yes
16289 LIBS=$gst_check_save_LIBS
16290 LDFLAGS=$gst_check_save_LDFLAGS
16291 CFLAGS=$gst_check_save_CFLAGS
16292 CPPFLAGS=$gst_check_save_CPPFLAGS
16293 CXXFLAGS=$gst_check_save_CXXFLAGS
16295 if test x$HAVE_EXPERIMENTAL = xno; then
16296 USE_EXPERIMENTAL=no
16301 if test x$USE_EXPERIMENTAL = xyes; then
16303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: building experimental plug-ins" >&5
16304 $as_echo "$as_me: WARNING: building experimental plug-ins" >&2;}
16305 BUILD_EXPERIMENTAL="yes"
16307 if test "x" != "x"; then
16308 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
16311 $as_echo "#define HAVE_EXPERIMENTAL /**/" >>confdefs.h
16315 if test "x" != "x"; then
16316 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: not building experimental plug-ins" >&5
16320 $as_echo "$as_me: not building experimental plug-ins" >&6;}
16321 BUILD_EXPERIMENTAL="no"
16324 if test x$USE_EXPERIMENTAL = xyes; then
16325 USE_EXPERIMENTAL_TRUE=
16326 USE_EXPERIMENTAL_FALSE='#'
16328 USE_EXPERIMENTAL_TRUE='#'
16329 USE_EXPERIMENTAL_FALSE=
16333 # make BUILD_EXPERIMENTAL available to Makefile.am
16334 if test "x$BUILD_EXPERIMENTAL" = "xyes"; then
16335 BUILD_EXPERIMENTAL_TRUE=
16336 BUILD_EXPERIMENTAL_FALSE='#'
16338 BUILD_EXPERIMENTAL_TRUE='#'
16339 BUILD_EXPERIMENTAL_FALSE=
16350 cat >>confdefs.h <<_ACEOF
16351 #define GST_EXTRA_MODULE_SUFFIX ".dylib"
16357 cat >>confdefs.h <<_ACEOF
16358 #define GST_EXTRA_MODULE_SUFFIX ".dylib"
16362 cat >>confdefs.h <<_ACEOF
16369 cat >>confdefs.h <<_ACEOF
16370 #define GST_HAVE_UNSAFE_FORK 1
16374 mingw* | msvc* | mks*)
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_WIN32 1
16381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16382 /* end confdefs.h. */
16387 return __MSVCRT_VERSION__;
16392 if ac_fn_c_try_compile "$LINENO"; then :
16394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16395 /* end confdefs.h. */
16401 #if __MSVCRT_VERSION__ < 0x0601
16402 #error "MSVCRT too old"
16409 if ac_fn_c_try_compile "$LINENO"; then :
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: MSVCRT version looks ok" >&5
16412 $as_echo "$as_me: MSVCRT version looks ok" >&6;}
16416 as_fn_error $? "MSVCRT version too old, need at least WinXP SP2" "$LINENO" 5
16419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting MSVCRT version to 0x0601" >&5
16424 $as_echo "$as_me: Setting MSVCRT version to 0x0601" >&6;}
16426 cat >>confdefs.h <<_ACEOF
16427 #define __MSVCRT_VERSION__ 0x0601
16432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16442 case "x${host_cpu}" in
16443 xi?86 | xk? | xi?86_64)
16446 ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default"
16447 if test "x$ac_cv_have_decl___i386" = xyes; then :
16453 ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
16454 if test "x$ac_cv_have_decl___amd64" = xyes; then :
16461 if test "x$I386_ABI" = "xyes" ; then
16464 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
16467 if test "x$AMD64_ABI" = "xyes" ; then
16468 HAVE_CPU_X86_64=yes
16470 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
16477 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
16480 case "x${host_cpu}" in
16484 $as_echo "#define HAVE_RDTSC 1" >>confdefs.h
16493 $as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h
16498 $as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h
16503 $as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h
16508 $as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h
16513 $as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h
16518 $as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h
16523 $as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h
16528 $as_echo "#define HAVE_CPU_S390 1" >>confdefs.h
16533 $as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h
16538 $as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h
16541 HAVE_CPU_X86_64=yes
16543 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
16548 $as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h
16551 HAVE_CPU_CRISV32=yes
16553 $as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16558 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16559 if ${ac_cv_c_bigendian+:} false; then :
16560 $as_echo_n "(cached) " >&6
16562 ac_cv_c_bigendian=unknown
16563 # See if we're dealing with a universal compiler.
16564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16565 /* end confdefs.h. */
16566 #ifndef __APPLE_CC__
16567 not a universal capable compiler
16572 if ac_fn_c_try_compile "$LINENO"; then :
16574 # Check for potential -arch flags. It is not universal unless
16575 # there are at least two -arch flags with different values.
16578 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
16579 if test -n "$ac_prev"; then
16581 i?86 | x86_64 | ppc | ppc64)
16582 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
16585 ac_cv_c_bigendian=universal
16591 elif test "x$ac_word" = "x-arch"; then
16596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16597 if test $ac_cv_c_bigendian = unknown; then
16598 # See if sys/param.h defines the BYTE_ORDER macro.
16599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16600 /* end confdefs.h. */
16601 #include <sys/types.h>
16602 #include <sys/param.h>
16607 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16608 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16610 bogus endian macros
16617 if ac_fn_c_try_compile "$LINENO"; then :
16618 # It does; now see whether it defined to BIG_ENDIAN or not.
16619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16620 /* end confdefs.h. */
16621 #include <sys/types.h>
16622 #include <sys/param.h>
16627 #if BYTE_ORDER != BIG_ENDIAN
16635 if ac_fn_c_try_compile "$LINENO"; then :
16636 ac_cv_c_bigendian=yes
16638 ac_cv_c_bigendian=no
16640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16644 if test $ac_cv_c_bigendian = unknown; then
16645 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16647 /* end confdefs.h. */
16648 #include <limits.h>
16653 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16654 bogus endian macros
16661 if ac_fn_c_try_compile "$LINENO"; then :
16662 # It does; now see whether it defined to _BIG_ENDIAN or not.
16663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16665 #include <limits.h>
16670 #ifndef _BIG_ENDIAN
16678 if ac_fn_c_try_compile "$LINENO"; then :
16679 ac_cv_c_bigendian=yes
16681 ac_cv_c_bigendian=no
16683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16687 if test $ac_cv_c_bigendian = unknown; then
16688 # Compile a test program.
16689 if test "$cross_compiling" = yes; then :
16690 # Try to guess by grepping values from an object file.
16691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16692 /* end confdefs.h. */
16693 short int ascii_mm[] =
16694 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16695 short int ascii_ii[] =
16696 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16697 int use_ascii (int i) {
16698 return ascii_mm[i] + ascii_ii[i];
16700 short int ebcdic_ii[] =
16701 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16702 short int ebcdic_mm[] =
16703 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16704 int use_ebcdic (int i) {
16705 return ebcdic_mm[i] + ebcdic_ii[i];
16712 return use_ascii (foo) == use_ebcdic (foo);
16717 if ac_fn_c_try_compile "$LINENO"; then :
16718 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
16719 ac_cv_c_bigendian=yes
16721 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
16722 if test "$ac_cv_c_bigendian" = unknown; then
16723 ac_cv_c_bigendian=no
16725 # finding both strings is unlikely to happen, but who knows?
16726 ac_cv_c_bigendian=unknown
16730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16733 /* end confdefs.h. */
16734 $ac_includes_default
16739 /* Are we little or big endian? From Harbison&Steele. */
16743 char c[sizeof (long int)];
16746 return u.c[sizeof (long int) - 1] == 1;
16752 if ac_fn_c_try_run "$LINENO"; then :
16753 ac_cv_c_bigendian=no
16755 ac_cv_c_bigendian=yes
16757 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16758 conftest.$ac_objext conftest.beam conftest.$ac_ext
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16764 $as_echo "$ac_cv_c_bigendian" >&6; }
16765 case $ac_cv_c_bigendian in #(
16767 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16773 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16777 as_fn_error $? "unknown endianness
16778 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16782 if test "x$HAVE_CPU_I386" = "xyes"; then
16783 HAVE_CPU_I386_TRUE=
16784 HAVE_CPU_I386_FALSE='#'
16786 HAVE_CPU_I386_TRUE='#'
16787 HAVE_CPU_I386_FALSE=
16790 if test "x$HAVE_CPU_PPC" = "xyes"; then
16792 HAVE_CPU_PPC_FALSE='#'
16794 HAVE_CPU_PPC_TRUE='#'
16795 HAVE_CPU_PPC_FALSE=
16798 if test "x$HAVE_CPU_PPC64" = "xyes"; then
16799 HAVE_CPU_PPC64_TRUE=
16800 HAVE_CPU_PPC64_FALSE='#'
16802 HAVE_CPU_PPC64_TRUE='#'
16803 HAVE_CPU_PPC64_FALSE=
16806 if test "x$HAVE_CPU_ALPHA" = "xyes"; then
16807 HAVE_CPU_ALPHA_TRUE=
16808 HAVE_CPU_ALPHA_FALSE='#'
16810 HAVE_CPU_ALPHA_TRUE='#'
16811 HAVE_CPU_ALPHA_FALSE=
16814 if test "x$HAVE_CPU_ARM" = "xyes"; then
16816 HAVE_CPU_ARM_FALSE='#'
16818 HAVE_CPU_ARM_TRUE='#'
16819 HAVE_CPU_ARM_FALSE=
16822 if test "x$HAVE_CPU_SPARC" = "xyes"; then
16823 HAVE_CPU_SPARC_TRUE=
16824 HAVE_CPU_SPARC_FALSE='#'
16826 HAVE_CPU_SPARC_TRUE='#'
16827 HAVE_CPU_SPARC_FALSE=
16830 if test "x$HAVE_CPU_HPPA" = "xyes"; then
16831 HAVE_CPU_HPPA_TRUE=
16832 HAVE_CPU_HPPA_FALSE='#'
16834 HAVE_CPU_HPPA_TRUE='#'
16835 HAVE_CPU_HPPA_FALSE=
16838 if test "x$HAVE_CPU_MIPS" = "xyes"; then
16839 HAVE_CPU_MIPS_TRUE=
16840 HAVE_CPU_MIPS_FALSE='#'
16842 HAVE_CPU_MIPS_TRUE='#'
16843 HAVE_CPU_MIPS_FALSE=
16846 if test "x$HAVE_CPU_S390" = "xyes"; then
16847 HAVE_CPU_S390_TRUE=
16848 HAVE_CPU_S390_FALSE='#'
16850 HAVE_CPU_S390_TRUE='#'
16851 HAVE_CPU_S390_FALSE=
16854 if test "x$HAVE_CPU_IA64" = "xyes"; then
16855 HAVE_CPU_IA64_TRUE=
16856 HAVE_CPU_IA64_FALSE='#'
16858 HAVE_CPU_IA64_TRUE='#'
16859 HAVE_CPU_IA64_FALSE=
16862 if test "x$HAVE_CPU_M68K" = "xyes"; then
16863 HAVE_CPU_M68K_TRUE=
16864 HAVE_CPU_M68K_FALSE='#'
16866 HAVE_CPU_M68K_TRUE='#'
16867 HAVE_CPU_M68K_FALSE=
16870 if test "x$HAVE_CPU_X86_64" = "xyes"; then
16871 HAVE_CPU_X86_64_TRUE=
16872 HAVE_CPU_X86_64_FALSE='#'
16874 HAVE_CPU_X86_64_TRUE='#'
16875 HAVE_CPU_X86_64_FALSE=
16878 if test "x$HAVE_CPU_CRIS" = "xyes"; then
16879 HAVE_CPU_CRIS_TRUE=
16880 HAVE_CPU_CRIS_FALSE='#'
16882 HAVE_CPU_CRIS_TRUE='#'
16883 HAVE_CPU_CRIS_FALSE=
16886 if test "x$HAVE_CPU_CRISV32" = "xyes"; then
16887 HAVE_CPU_CRISV32_TRUE=
16888 HAVE_CPU_CRISV32_FALSE='#'
16890 HAVE_CPU_CRISV32_TRUE='#'
16891 HAVE_CPU_CRISV32_FALSE=
16896 cat >>confdefs.h <<_ACEOF
16897 #define HOST_CPU "$host_cpu"
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16903 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16904 if ${ac_cv_c_bigendian+:} false; then :
16905 $as_echo_n "(cached) " >&6
16907 ac_cv_c_bigendian=unknown
16908 # See if we're dealing with a universal compiler.
16909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16910 /* end confdefs.h. */
16911 #ifndef __APPLE_CC__
16912 not a universal capable compiler
16917 if ac_fn_c_try_compile "$LINENO"; then :
16919 # Check for potential -arch flags. It is not universal unless
16920 # there are at least two -arch flags with different values.
16923 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
16924 if test -n "$ac_prev"; then
16926 i?86 | x86_64 | ppc | ppc64)
16927 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
16930 ac_cv_c_bigendian=universal
16936 elif test "x$ac_word" = "x-arch"; then
16941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16942 if test $ac_cv_c_bigendian = unknown; then
16943 # See if sys/param.h defines the BYTE_ORDER macro.
16944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h. */
16946 #include <sys/types.h>
16947 #include <sys/param.h>
16952 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16953 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16955 bogus endian macros
16962 if ac_fn_c_try_compile "$LINENO"; then :
16963 # It does; now see whether it defined to BIG_ENDIAN or not.
16964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16966 #include <sys/types.h>
16967 #include <sys/param.h>
16972 #if BYTE_ORDER != BIG_ENDIAN
16980 if ac_fn_c_try_compile "$LINENO"; then :
16981 ac_cv_c_bigendian=yes
16983 ac_cv_c_bigendian=no
16985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16989 if test $ac_cv_c_bigendian = unknown; then
16990 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16992 /* end confdefs.h. */
16993 #include <limits.h>
16998 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16999 bogus endian macros
17006 if ac_fn_c_try_compile "$LINENO"; then :
17007 # It does; now see whether it defined to _BIG_ENDIAN or not.
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 #include <limits.h>
17015 #ifndef _BIG_ENDIAN
17023 if ac_fn_c_try_compile "$LINENO"; then :
17024 ac_cv_c_bigendian=yes
17026 ac_cv_c_bigendian=no
17028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17032 if test $ac_cv_c_bigendian = unknown; then
17033 # Compile a test program.
17034 if test "$cross_compiling" = yes; then :
17035 # Try to guess by grepping values from an object file.
17036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h. */
17038 short int ascii_mm[] =
17039 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
17040 short int ascii_ii[] =
17041 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
17042 int use_ascii (int i) {
17043 return ascii_mm[i] + ascii_ii[i];
17045 short int ebcdic_ii[] =
17046 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
17047 short int ebcdic_mm[] =
17048 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
17049 int use_ebcdic (int i) {
17050 return ebcdic_mm[i] + ebcdic_ii[i];
17057 return use_ascii (foo) == use_ebcdic (foo);
17062 if ac_fn_c_try_compile "$LINENO"; then :
17063 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
17064 ac_cv_c_bigendian=yes
17066 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
17067 if test "$ac_cv_c_bigendian" = unknown; then
17068 ac_cv_c_bigendian=no
17070 # finding both strings is unlikely to happen, but who knows?
17071 ac_cv_c_bigendian=unknown
17075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17079 $ac_includes_default
17084 /* Are we little or big endian? From Harbison&Steele. */
17088 char c[sizeof (long int)];
17091 return u.c[sizeof (long int) - 1] == 1;
17097 if ac_fn_c_try_run "$LINENO"; then :
17098 ac_cv_c_bigendian=no
17100 ac_cv_c_bigendian=yes
17102 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17103 conftest.$ac_objext conftest.beam conftest.$ac_ext
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
17109 $as_echo "$ac_cv_c_bigendian" >&6; }
17110 case $ac_cv_c_bigendian in #(
17112 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
17118 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
17122 as_fn_error $? "unknown endianness
17123 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
17129 ac_cpp='$CPP $CPPFLAGS'
17130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17133 if test -n "$ac_tool_prefix"; then
17134 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
17135 set dummy ${ac_tool_prefix}gcc; ac_word=$2
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17137 $as_echo_n "checking for $ac_word... " >&6; }
17138 if ${ac_cv_prog_CC+:} false; then :
17139 $as_echo_n "(cached) " >&6
17141 if test -n "$CC"; then
17142 ac_cv_prog_CC="$CC" # Let the user override the test.
17144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17145 for as_dir in $PATH
17148 test -z "$as_dir" && as_dir=.
17149 for ac_exec_ext in '' $ac_executable_extensions; do
17150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17151 ac_cv_prog_CC="${ac_tool_prefix}gcc"
17152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17162 if test -n "$CC"; then
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17164 $as_echo "$CC" >&6; }
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17167 $as_echo "no" >&6; }
17172 if test -z "$ac_cv_prog_CC"; then
17174 # Extract the first word of "gcc", so it can be a program name with args.
17175 set dummy gcc; ac_word=$2
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17177 $as_echo_n "checking for $ac_word... " >&6; }
17178 if ${ac_cv_prog_ac_ct_CC+:} false; then :
17179 $as_echo_n "(cached) " >&6
17181 if test -n "$ac_ct_CC"; then
17182 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17185 for as_dir in $PATH
17188 test -z "$as_dir" && as_dir=.
17189 for ac_exec_ext in '' $ac_executable_extensions; do
17190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17191 ac_cv_prog_ac_ct_CC="gcc"
17192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17201 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17202 if test -n "$ac_ct_CC"; then
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17204 $as_echo "$ac_ct_CC" >&6; }
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17207 $as_echo "no" >&6; }
17210 if test "x$ac_ct_CC" = x; then
17213 case $cross_compiling:$ac_tool_warned in
17215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17217 ac_tool_warned=yes ;;
17222 CC="$ac_cv_prog_CC"
17225 if test -z "$CC"; then
17226 if test -n "$ac_tool_prefix"; then
17227 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
17228 set dummy ${ac_tool_prefix}cc; ac_word=$2
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17230 $as_echo_n "checking for $ac_word... " >&6; }
17231 if ${ac_cv_prog_CC+:} false; then :
17232 $as_echo_n "(cached) " >&6
17234 if test -n "$CC"; then
17235 ac_cv_prog_CC="$CC" # Let the user override the test.
17237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17238 for as_dir in $PATH
17241 test -z "$as_dir" && as_dir=.
17242 for ac_exec_ext in '' $ac_executable_extensions; do
17243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17244 ac_cv_prog_CC="${ac_tool_prefix}cc"
17245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17255 if test -n "$CC"; then
17256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17257 $as_echo "$CC" >&6; }
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17260 $as_echo "no" >&6; }
17266 if test -z "$CC"; then
17267 # Extract the first word of "cc", so it can be a program name with args.
17268 set dummy cc; ac_word=$2
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17270 $as_echo_n "checking for $ac_word... " >&6; }
17271 if ${ac_cv_prog_CC+:} false; then :
17272 $as_echo_n "(cached) " >&6
17274 if test -n "$CC"; then
17275 ac_cv_prog_CC="$CC" # Let the user override the test.
17277 ac_prog_rejected=no
17278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17279 for as_dir in $PATH
17282 test -z "$as_dir" && as_dir=.
17283 for ac_exec_ext in '' $ac_executable_extensions; do
17284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17285 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
17286 ac_prog_rejected=yes
17290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17297 if test $ac_prog_rejected = yes; then
17298 # We found a bogon in the path, so make sure we never use it.
17299 set dummy $ac_cv_prog_CC
17301 if test $# != 0; then
17302 # We chose a different compiler from the bogus one.
17303 # However, it has the same basename, so the bogon will be chosen
17304 # first if we set CC to just the basename; use the full file name.
17306 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
17312 if test -n "$CC"; then
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17314 $as_echo "$CC" >&6; }
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17317 $as_echo "no" >&6; }
17322 if test -z "$CC"; then
17323 if test -n "$ac_tool_prefix"; then
17324 for ac_prog in cl.exe
17326 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17327 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17329 $as_echo_n "checking for $ac_word... " >&6; }
17330 if ${ac_cv_prog_CC+:} false; then :
17331 $as_echo_n "(cached) " >&6
17333 if test -n "$CC"; then
17334 ac_cv_prog_CC="$CC" # Let the user override the test.
17336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17337 for as_dir in $PATH
17340 test -z "$as_dir" && as_dir=.
17341 for ac_exec_ext in '' $ac_executable_extensions; do
17342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17343 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
17344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17354 if test -n "$CC"; then
17355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
17356 $as_echo "$CC" >&6; }
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17359 $as_echo "no" >&6; }
17363 test -n "$CC" && break
17366 if test -z "$CC"; then
17368 for ac_prog in cl.exe
17370 # Extract the first word of "$ac_prog", so it can be a program name with args.
17371 set dummy $ac_prog; ac_word=$2
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17373 $as_echo_n "checking for $ac_word... " >&6; }
17374 if ${ac_cv_prog_ac_ct_CC+:} false; then :
17375 $as_echo_n "(cached) " >&6
17377 if test -n "$ac_ct_CC"; then
17378 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17381 for as_dir in $PATH
17384 test -z "$as_dir" && as_dir=.
17385 for ac_exec_ext in '' $ac_executable_extensions; do
17386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17387 ac_cv_prog_ac_ct_CC="$ac_prog"
17388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17397 ac_ct_CC=$ac_cv_prog_ac_ct_CC
17398 if test -n "$ac_ct_CC"; then
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
17400 $as_echo "$ac_ct_CC" >&6; }
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17403 $as_echo "no" >&6; }
17407 test -n "$ac_ct_CC" && break
17410 if test "x$ac_ct_CC" = x; then
17413 case $cross_compiling:$ac_tool_warned in
17415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17416 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17417 ac_tool_warned=yes ;;
17426 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17428 as_fn_error $? "no acceptable C compiler found in \$PATH
17429 See \`config.log' for more details" "$LINENO" 5; }
17431 # Provide some information about the compiler.
17432 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
17435 for ac_option in --version -v -V -qversion; do
17436 { { ac_try="$ac_compiler $ac_option >&5"
17437 case "(($ac_try" in
17438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17439 *) ac_try_echo=$ac_try;;
17441 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17442 $as_echo "$ac_try_echo"; } >&5
17443 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17445 if test -s conftest.err; then
17447 ... rest of stderr output deleted ...
17448 10q' conftest.err >conftest.er1
17449 cat conftest.er1 >&5
17451 rm -f conftest.er1 conftest.err
17452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17453 test $ac_status = 0; }
17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
17457 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
17458 if ${ac_cv_c_compiler_gnu+:} false; then :
17459 $as_echo_n "(cached) " >&6
17461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17462 /* end confdefs.h. */
17475 if ac_fn_c_try_compile "$LINENO"; then :
17476 ac_compiler_gnu=yes
17480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17481 ac_cv_c_compiler_gnu=$ac_compiler_gnu
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
17485 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
17486 if test $ac_compiler_gnu = yes; then
17491 ac_test_CFLAGS=${CFLAGS+set}
17492 ac_save_CFLAGS=$CFLAGS
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
17494 $as_echo_n "checking whether $CC accepts -g... " >&6; }
17495 if ${ac_cv_prog_cc_g+:} false; then :
17496 $as_echo_n "(cached) " >&6
17498 ac_save_c_werror_flag=$ac_c_werror_flag
17499 ac_c_werror_flag=yes
17502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17503 /* end confdefs.h. */
17513 if ac_fn_c_try_compile "$LINENO"; then :
17514 ac_cv_prog_cc_g=yes
17517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17518 /* end confdefs.h. */
17528 if ac_fn_c_try_compile "$LINENO"; then :
17531 ac_c_werror_flag=$ac_save_c_werror_flag
17533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17534 /* end confdefs.h. */
17544 if ac_fn_c_try_compile "$LINENO"; then :
17545 ac_cv_prog_cc_g=yes
17547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17552 ac_c_werror_flag=$ac_save_c_werror_flag
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17555 $as_echo "$ac_cv_prog_cc_g" >&6; }
17556 if test "$ac_test_CFLAGS" = set; then
17557 CFLAGS=$ac_save_CFLAGS
17558 elif test $ac_cv_prog_cc_g = yes; then
17559 if test "$GCC" = yes; then
17565 if test "$GCC" = yes; then
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17572 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17573 if ${ac_cv_prog_cc_c89+:} false; then :
17574 $as_echo_n "(cached) " >&6
17576 ac_cv_prog_cc_c89=no
17578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17579 /* end confdefs.h. */
17580 #include <stdarg.h>
17582 #include <sys/types.h>
17583 #include <sys/stat.h>
17584 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17585 struct buf { int x; };
17586 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17587 static char *e (p, i)
17593 static char *f (char * (*g) (char **, int), char **p, ...)
17598 s = g (p, va_arg (v,int));
17603 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17604 function prototypes and stuff, but not '\xHH' hex character constants.
17605 These don't provoke an error unfortunately, instead are silently treated
17606 as 'x'. The following induces an error, until -std is added to get
17607 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17608 array size at least. It's necessary to write '\x00'==0 to get something
17609 that's true only with -std. */
17610 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17612 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17613 inside strings and character constants. */
17615 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17617 int test (int i, double x);
17618 struct s1 {int (*f) (int a);};
17619 struct s2 {int (*f) (double a);};
17620 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17626 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17631 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17632 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17634 CC="$ac_save_CC $ac_arg"
17635 if ac_fn_c_try_compile "$LINENO"; then :
17636 ac_cv_prog_cc_c89=$ac_arg
17638 rm -f core conftest.err conftest.$ac_objext
17639 test "x$ac_cv_prog_cc_c89" != "xno" && break
17641 rm -f conftest.$ac_ext
17646 case "x$ac_cv_prog_cc_c89" in
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17649 $as_echo "none needed" >&6; } ;;
17651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17652 $as_echo "unsupported" >&6; } ;;
17654 CC="$CC $ac_cv_prog_cc_c89"
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17656 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17658 if test "x$ac_cv_prog_cc_c89" != xno; then :
17663 ac_cpp='$CPP $CPPFLAGS'
17664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17668 depcc="$CC" am_compiler_list=
17670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17671 $as_echo_n "checking dependency style of $depcc... " >&6; }
17672 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
17673 $as_echo_n "(cached) " >&6
17675 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17676 # We make a subdir and do the tests there. Otherwise we can end up
17677 # making bogus files that we don't know about and never remove. For
17678 # instance it was reported that on HP-UX the gcc test will end up
17679 # making a dummy file named `D' -- because `-MD' means `put the output
17681 rm -rf conftest.dir
17683 # Copy depcomp to subdir because otherwise we won't find it if we're
17684 # using a relative directory.
17685 cp "$am_depcomp" conftest.dir
17687 # We will build objects and dependencies in a subdirectory because
17688 # it helps to detect inapplicable dependency modes. For instance
17689 # both Tru64's cc and ICC support -MD to output dependencies as a
17690 # side effect of compilation, but ICC will put the dependencies in
17691 # the current directory while Tru64 will put them in the object
17695 am_cv_CC_dependencies_compiler_type=none
17696 if test "$am_compiler_list" = ""; then
17697 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17699 am__universal=false
17700 case " $depcc " in #(
17701 *\ -arch\ *\ -arch\ *) am__universal=true ;;
17704 for depmode in $am_compiler_list; do
17705 # Setup a source with many dependencies, because some compilers
17706 # like to wrap large dependency lists on column 80 (with \), and
17707 # we should not choose a depcomp mode which is confused by this.
17709 # We need to recreate these files for each test, as the compiler may
17710 # overwrite some of them when testing with obscure command lines.
17711 # This happens at least with the AIX C compiler.
17713 for i in 1 2 3 4 5 6; do
17714 echo '#include "conftst'$i'.h"' >> sub/conftest.c
17715 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17716 # Solaris 8's {/usr,}/bin/sh.
17717 touch sub/conftst$i.h
17719 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17721 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17722 # mode. It turns out that the SunPro C++ compiler does not properly
17723 # handle `-M -o', and we need to detect this. Also, some Intel
17724 # versions had trouble with output in subdirs
17725 am__obj=sub/conftest.${OBJEXT-o}
17726 am__minus_obj="-o $am__obj"
17729 # This depmode causes a compiler race in universal mode.
17730 test "$am__universal" = false || continue
17733 # after this tag, mechanisms are not by side-effect, so they'll
17734 # only be used when explicitly requested
17735 if test "x$enable_dependency_tracking" = xyes; then
17741 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17742 # This compiler won't grok `-c -o', but also, the minuso test has
17743 # not run yet. These depmodes are late enough in the game, and
17744 # so weak that their functioning should not be impacted.
17745 am__obj=conftest.${OBJEXT-o}
17750 if depmode=$depmode \
17751 source=sub/conftest.c object=$am__obj \
17752 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17753 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17754 >/dev/null 2>conftest.err &&
17755 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17756 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17757 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17758 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17759 # icc doesn't choke on unknown options, it will just issue warnings
17760 # or remarks (even with -Werror). So we grep stderr for any message
17761 # that says an option was ignored or not supported.
17762 # When given -MP, icc 7.0 and 7.1 complain thusly:
17763 # icc: Command line warning: ignoring option '-M'; no argument required
17764 # The diagnosis changed in icc 8.0:
17765 # icc: Command line remark: option '-MP' not supported
17766 if (grep 'ignoring option' conftest.err ||
17767 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17768 am_cv_CC_dependencies_compiler_type=$depmode
17775 rm -rf conftest.dir
17777 am_cv_CC_dependencies_compiler_type=none
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
17782 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
17783 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
17786 test "x$enable_dependency_tracking" != xno \
17787 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
17788 am__fastdepCC_TRUE=
17789 am__fastdepCC_FALSE='#'
17791 am__fastdepCC_TRUE='#'
17792 am__fastdepCC_FALSE=
17796 case $ac_cv_prog_cc_stdc in #(
17798 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
17801 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
17802 if ${ac_cv_prog_cc_c99+:} false; then :
17803 $as_echo_n "(cached) " >&6
17805 ac_cv_prog_cc_c99=no
17807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17808 /* end confdefs.h. */
17809 #include <stdarg.h>
17810 #include <stdbool.h>
17811 #include <stdlib.h>
17815 // Check varargs macros. These examples are taken from C99 6.10.3.5.
17816 #define debug(...) fprintf (stderr, __VA_ARGS__)
17817 #define showlist(...) puts (#__VA_ARGS__)
17818 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
17820 test_varargs_macros (void)
17825 debug ("X = %d\n", x);
17826 showlist (The first, second, and third items.);
17827 report (x>y, "x is %d but y is %d", x, y);
17830 // Check long long types.
17831 #define BIG64 18446744073709551615ull
17832 #define BIG32 4294967295ul
17833 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
17835 your preprocessor is broken;
17839 your preprocessor is broken;
17841 static long long int bignum = -9223372036854775807LL;
17842 static unsigned long long int ubignum = BIG64;
17844 struct incomplete_array
17850 struct named_init {
17852 const wchar_t *name;
17856 typedef const char *ccp;
17859 test_restrict (ccp restrict text)
17861 // See if C++-style comments work.
17862 // Iterate through items via the restricted pointer.
17863 // Also check for declarations in for loops.
17864 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
17869 // Check varargs and va_copy.
17871 test_varargs (const char *format, ...)
17874 va_start (args, format);
17876 va_copy (args_copy, args);
17886 case 's': // string
17887 str = va_arg (args_copy, const char *);
17890 number = va_arg (args_copy, int);
17893 fnumber = va_arg (args_copy, double);
17899 va_end (args_copy);
17908 _Bool success = false;
17911 if (test_restrict ("String literal") == 0)
17913 char *restrict newvar = "Another string";
17916 test_varargs ("s, d' f .", "string", 65, 34.234);
17917 test_varargs_macros ();
17919 // Check flexible array members.
17920 struct incomplete_array *ia =
17921 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
17923 for (int i = 0; i < ia->datasize; ++i)
17924 ia->data[i] = i * 1.234;
17926 // Check named initializers.
17927 struct named_init ni = {
17929 .name = L"Test wide string",
17930 .average = 543.34343,
17935 int dynamic_array[ni.number];
17936 dynamic_array[ni.number - 1] = 543;
17938 // work around unused variable warnings
17939 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
17940 || dynamic_array[ni.number - 1] != 543);
17946 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
17948 CC="$ac_save_CC $ac_arg"
17949 if ac_fn_c_try_compile "$LINENO"; then :
17950 ac_cv_prog_cc_c99=$ac_arg
17952 rm -f core conftest.err conftest.$ac_objext
17953 test "x$ac_cv_prog_cc_c99" != "xno" && break
17955 rm -f conftest.$ac_ext
17960 case "x$ac_cv_prog_cc_c99" in
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17963 $as_echo "none needed" >&6; } ;;
17965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17966 $as_echo "unsupported" >&6; } ;;
17968 CC="$CC $ac_cv_prog_cc_c99"
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
17970 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
17972 if test "x$ac_cv_prog_cc_c99" != xno; then :
17973 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17976 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17977 if ${ac_cv_prog_cc_c89+:} false; then :
17978 $as_echo_n "(cached) " >&6
17980 ac_cv_prog_cc_c89=no
17982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17983 /* end confdefs.h. */
17984 #include <stdarg.h>
17986 #include <sys/types.h>
17987 #include <sys/stat.h>
17988 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17989 struct buf { int x; };
17990 FILE * (*rcsopen) (struct buf *, struct stat *, int);
17991 static char *e (p, i)
17997 static char *f (char * (*g) (char **, int), char **p, ...)
18002 s = g (p, va_arg (v,int));
18007 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
18008 function prototypes and stuff, but not '\xHH' hex character constants.
18009 These don't provoke an error unfortunately, instead are silently treated
18010 as 'x'. The following induces an error, until -std is added to get
18011 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
18012 array size at least. It's necessary to write '\x00'==0 to get something
18013 that's true only with -std. */
18014 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
18016 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
18017 inside strings and character constants. */
18019 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
18021 int test (int i, double x);
18022 struct s1 {int (*f) (int a);};
18023 struct s2 {int (*f) (double a);};
18024 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
18030 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
18035 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
18036 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
18038 CC="$ac_save_CC $ac_arg"
18039 if ac_fn_c_try_compile "$LINENO"; then :
18040 ac_cv_prog_cc_c89=$ac_arg
18042 rm -f core conftest.err conftest.$ac_objext
18043 test "x$ac_cv_prog_cc_c89" != "xno" && break
18045 rm -f conftest.$ac_ext
18050 case "x$ac_cv_prog_cc_c89" in
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18053 $as_echo "none needed" >&6; } ;;
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18056 $as_echo "unsupported" >&6; } ;;
18058 CC="$CC $ac_cv_prog_cc_c89"
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
18060 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
18062 if test "x$ac_cv_prog_cc_c89" != xno; then :
18063 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
18065 ac_cv_prog_cc_stdc=no
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
18072 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
18073 if ${ac_cv_prog_cc_stdc+:} false; then :
18074 $as_echo_n "(cached) " >&6
18077 case $ac_cv_prog_cc_stdc in #(
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
18080 $as_echo "unsupported" >&6; } ;; #(
18082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
18083 $as_echo "none needed" >&6; } ;; #(
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
18086 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
18091 ac_cpp='$CXXCPP $CPPFLAGS'
18092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18095 if test -z "$CXX"; then
18096 if test -n "$CCC"; then
18099 if test -n "$ac_tool_prefix"; then
18100 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18102 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18103 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18105 $as_echo_n "checking for $ac_word... " >&6; }
18106 if ${ac_cv_prog_CXX+:} false; then :
18107 $as_echo_n "(cached) " >&6
18109 if test -n "$CXX"; then
18110 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18113 for as_dir in $PATH
18116 test -z "$as_dir" && as_dir=.
18117 for ac_exec_ext in '' $ac_executable_extensions; do
18118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18119 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18129 CXX=$ac_cv_prog_CXX
18130 if test -n "$CXX"; then
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
18132 $as_echo "$CXX" >&6; }
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18135 $as_echo "no" >&6; }
18139 test -n "$CXX" && break
18142 if test -z "$CXX"; then
18144 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18146 # Extract the first word of "$ac_prog", so it can be a program name with args.
18147 set dummy $ac_prog; ac_word=$2
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18149 $as_echo_n "checking for $ac_word... " >&6; }
18150 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
18151 $as_echo_n "(cached) " >&6
18153 if test -n "$ac_ct_CXX"; then
18154 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18157 for as_dir in $PATH
18160 test -z "$as_dir" && as_dir=.
18161 for ac_exec_ext in '' $ac_executable_extensions; do
18162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18163 ac_cv_prog_ac_ct_CXX="$ac_prog"
18164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18173 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18174 if test -n "$ac_ct_CXX"; then
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
18176 $as_echo "$ac_ct_CXX" >&6; }
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18179 $as_echo "no" >&6; }
18183 test -n "$ac_ct_CXX" && break
18186 if test "x$ac_ct_CXX" = x; then
18189 case $cross_compiling:$ac_tool_warned in
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18192 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18193 ac_tool_warned=yes ;;
18201 # Provide some information about the compiler.
18202 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
18205 for ac_option in --version -v -V -qversion; do
18206 { { ac_try="$ac_compiler $ac_option >&5"
18207 case "(($ac_try" in
18208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18209 *) ac_try_echo=$ac_try;;
18211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18212 $as_echo "$ac_try_echo"; } >&5
18213 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18215 if test -s conftest.err; then
18217 ... rest of stderr output deleted ...
18218 10q' conftest.err >conftest.er1
18219 cat conftest.er1 >&5
18221 rm -f conftest.er1 conftest.err
18222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18223 test $ac_status = 0; }
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
18227 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
18228 if ${ac_cv_cxx_compiler_gnu+:} false; then :
18229 $as_echo_n "(cached) " >&6
18231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18232 /* end confdefs.h. */
18245 if ac_fn_cxx_try_compile "$LINENO"; then :
18246 ac_compiler_gnu=yes
18250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18251 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
18255 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
18256 if test $ac_compiler_gnu = yes; then
18261 ac_test_CXXFLAGS=${CXXFLAGS+set}
18262 ac_save_CXXFLAGS=$CXXFLAGS
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
18264 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
18265 if ${ac_cv_prog_cxx_g+:} false; then :
18266 $as_echo_n "(cached) " >&6
18268 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18269 ac_cxx_werror_flag=yes
18270 ac_cv_prog_cxx_g=no
18272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18273 /* end confdefs.h. */
18283 if ac_fn_cxx_try_compile "$LINENO"; then :
18284 ac_cv_prog_cxx_g=yes
18287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18288 /* end confdefs.h. */
18298 if ac_fn_cxx_try_compile "$LINENO"; then :
18301 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18304 /* end confdefs.h. */
18314 if ac_fn_cxx_try_compile "$LINENO"; then :
18315 ac_cv_prog_cxx_g=yes
18317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18322 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
18325 $as_echo "$ac_cv_prog_cxx_g" >&6; }
18326 if test "$ac_test_CXXFLAGS" = set; then
18327 CXXFLAGS=$ac_save_CXXFLAGS
18328 elif test $ac_cv_prog_cxx_g = yes; then
18329 if test "$GXX" = yes; then
18335 if test "$GXX" = yes; then
18342 ac_cpp='$CPP $CPPFLAGS'
18343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18347 depcc="$CXX" am_compiler_list=
18349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
18350 $as_echo_n "checking dependency style of $depcc... " >&6; }
18351 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
18352 $as_echo_n "(cached) " >&6
18354 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
18355 # We make a subdir and do the tests there. Otherwise we can end up
18356 # making bogus files that we don't know about and never remove. For
18357 # instance it was reported that on HP-UX the gcc test will end up
18358 # making a dummy file named `D' -- because `-MD' means `put the output
18360 rm -rf conftest.dir
18362 # Copy depcomp to subdir because otherwise we won't find it if we're
18363 # using a relative directory.
18364 cp "$am_depcomp" conftest.dir
18366 # We will build objects and dependencies in a subdirectory because
18367 # it helps to detect inapplicable dependency modes. For instance
18368 # both Tru64's cc and ICC support -MD to output dependencies as a
18369 # side effect of compilation, but ICC will put the dependencies in
18370 # the current directory while Tru64 will put them in the object
18374 am_cv_CXX_dependencies_compiler_type=none
18375 if test "$am_compiler_list" = ""; then
18376 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
18378 am__universal=false
18379 case " $depcc " in #(
18380 *\ -arch\ *\ -arch\ *) am__universal=true ;;
18383 for depmode in $am_compiler_list; do
18384 # Setup a source with many dependencies, because some compilers
18385 # like to wrap large dependency lists on column 80 (with \), and
18386 # we should not choose a depcomp mode which is confused by this.
18388 # We need to recreate these files for each test, as the compiler may
18389 # overwrite some of them when testing with obscure command lines.
18390 # This happens at least with the AIX C compiler.
18392 for i in 1 2 3 4 5 6; do
18393 echo '#include "conftst'$i'.h"' >> sub/conftest.c
18394 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
18395 # Solaris 8's {/usr,}/bin/sh.
18396 touch sub/conftst$i.h
18398 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
18400 # We check with `-c' and `-o' for the sake of the "dashmstdout"
18401 # mode. It turns out that the SunPro C++ compiler does not properly
18402 # handle `-M -o', and we need to detect this. Also, some Intel
18403 # versions had trouble with output in subdirs
18404 am__obj=sub/conftest.${OBJEXT-o}
18405 am__minus_obj="-o $am__obj"
18408 # This depmode causes a compiler race in universal mode.
18409 test "$am__universal" = false || continue
18412 # after this tag, mechanisms are not by side-effect, so they'll
18413 # only be used when explicitly requested
18414 if test "x$enable_dependency_tracking" = xyes; then
18420 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
18421 # This compiler won't grok `-c -o', but also, the minuso test has
18422 # not run yet. These depmodes are late enough in the game, and
18423 # so weak that their functioning should not be impacted.
18424 am__obj=conftest.${OBJEXT-o}
18429 if depmode=$depmode \
18430 source=sub/conftest.c object=$am__obj \
18431 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
18432 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
18433 >/dev/null 2>conftest.err &&
18434 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
18435 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
18436 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
18437 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
18438 # icc doesn't choke on unknown options, it will just issue warnings
18439 # or remarks (even with -Werror). So we grep stderr for any message
18440 # that says an option was ignored or not supported.
18441 # When given -MP, icc 7.0 and 7.1 complain thusly:
18442 # icc: Command line warning: ignoring option '-M'; no argument required
18443 # The diagnosis changed in icc 8.0:
18444 # icc: Command line remark: option '-MP' not supported
18445 if (grep 'ignoring option' conftest.err ||
18446 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
18447 am_cv_CXX_dependencies_compiler_type=$depmode
18454 rm -rf conftest.dir
18456 am_cv_CXX_dependencies_compiler_type=none
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
18461 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
18462 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
18465 test "x$enable_dependency_tracking" != xno \
18466 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
18467 am__fastdepCXX_TRUE=
18468 am__fastdepCXX_FALSE='#'
18470 am__fastdepCXX_TRUE='#'
18471 am__fastdepCXX_FALSE=
18477 func_stripname_cnf ()
18480 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
18481 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
18483 } # func_stripname_cnf
18485 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
18486 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
18487 (test "X$CXX" != "Xg++"))) ; then
18489 ac_cpp='$CXXCPP $CPPFLAGS'
18490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
18494 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
18495 if test -z "$CXXCPP"; then
18496 if ${ac_cv_prog_CXXCPP+:} false; then :
18497 $as_echo_n "(cached) " >&6
18499 # Double quotes because CXXCPP needs to be expanded
18500 for CXXCPP in "$CXX -E" "/lib/cpp"
18502 ac_preproc_ok=false
18503 for ac_cxx_preproc_warn_flag in '' yes
18505 # Use a header file that comes with gcc, so configuring glibc
18506 # with a fresh cross-compiler works.
18507 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18508 # <limits.h> exists even on freestanding compilers.
18509 # On the NeXT, cc -E runs the code through the compiler's parser,
18510 # not just through cpp. "Syntax error" is here to catch this case.
18511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18512 /* end confdefs.h. */
18514 # include <limits.h>
18516 # include <assert.h>
18520 if ac_fn_cxx_try_cpp "$LINENO"; then :
18523 # Broken: fails on valid input.
18526 rm -f conftest.err conftest.i conftest.$ac_ext
18528 # OK, works on sane cases. Now check whether nonexistent headers
18529 # can be detected and how.
18530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18531 /* end confdefs.h. */
18532 #include <ac_nonexistent.h>
18534 if ac_fn_cxx_try_cpp "$LINENO"; then :
18535 # Broken: success on invalid input.
18538 # Passes both tests.
18542 rm -f conftest.err conftest.i conftest.$ac_ext
18545 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18546 rm -f conftest.i conftest.err conftest.$ac_ext
18547 if $ac_preproc_ok; then :
18552 ac_cv_prog_CXXCPP=$CXXCPP
18555 CXXCPP=$ac_cv_prog_CXXCPP
18557 ac_cv_prog_CXXCPP=$CXXCPP
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
18560 $as_echo "$CXXCPP" >&6; }
18561 ac_preproc_ok=false
18562 for ac_cxx_preproc_warn_flag in '' yes
18564 # Use a header file that comes with gcc, so configuring glibc
18565 # with a fresh cross-compiler works.
18566 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18567 # <limits.h> exists even on freestanding compilers.
18568 # On the NeXT, cc -E runs the code through the compiler's parser,
18569 # not just through cpp. "Syntax error" is here to catch this case.
18570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18571 /* end confdefs.h. */
18573 # include <limits.h>
18575 # include <assert.h>
18579 if ac_fn_cxx_try_cpp "$LINENO"; then :
18582 # Broken: fails on valid input.
18585 rm -f conftest.err conftest.i conftest.$ac_ext
18587 # OK, works on sane cases. Now check whether nonexistent headers
18588 # can be detected and how.
18589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18590 /* end confdefs.h. */
18591 #include <ac_nonexistent.h>
18593 if ac_fn_cxx_try_cpp "$LINENO"; then :
18594 # Broken: success on invalid input.
18597 # Passes both tests.
18601 rm -f conftest.err conftest.i conftest.$ac_ext
18604 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18605 rm -f conftest.i conftest.err conftest.$ac_ext
18606 if $ac_preproc_ok; then :
18609 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18611 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
18612 See \`config.log' for more details" "$LINENO" 5; }
18616 ac_cpp='$CPP $CPPFLAGS'
18617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18622 _lt_caught_CXX_error=yes
18626 ac_cpp='$CXXCPP $CPPFLAGS'
18627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18631 archive_cmds_need_lc_CXX=no
18632 allow_undefined_flag_CXX=
18633 always_export_symbols_CXX=no
18634 archive_expsym_cmds_CXX=
18635 compiler_needs_object_CXX=no
18636 export_dynamic_flag_spec_CXX=
18637 hardcode_direct_CXX=no
18638 hardcode_direct_absolute_CXX=no
18639 hardcode_libdir_flag_spec_CXX=
18640 hardcode_libdir_separator_CXX=
18641 hardcode_minus_L_CXX=no
18642 hardcode_shlibpath_var_CXX=unsupported
18643 hardcode_automatic_CXX=no
18644 inherit_rpath_CXX=no
18646 module_expsym_cmds_CXX=
18647 link_all_deplibs_CXX=unknown
18648 old_archive_cmds_CXX=$old_archive_cmds
18649 reload_flag_CXX=$reload_flag
18650 reload_cmds_CXX=$reload_cmds
18651 no_undefined_flag_CXX=
18652 whole_archive_flag_spec_CXX=
18653 enable_shared_with_static_runtimes_CXX=no
18655 # Source file extension for C++ test sources.
18658 # Object file extension for compiled C++ test sources.
18662 # No sense in running all these tests if we already determined that
18663 # the CXX compiler isn't working. Some variables (like enable_shared)
18664 # are currently assumed to apply to all compilers on this platform,
18665 # and will be corrupted by setting them based on a non-working compiler.
18666 if test "$_lt_caught_CXX_error" != yes; then
18667 # Code to be used in simple compile tests
18668 lt_simple_compile_test_code="int some_variable = 0;"
18670 # Code to be used in simple link tests
18671 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
18673 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18680 # If no C compiler was specified, use CC.
18683 # If no C compiler flags were specified, use CFLAGS.
18684 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
18686 # Allow CC to be a program name with arguments.
18690 # save warnings/boilerplate of simple test code
18691 ac_outfile=conftest.$ac_objext
18692 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
18693 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18694 _lt_compiler_boilerplate=`cat conftest.err`
18697 ac_outfile=conftest.$ac_objext
18698 echo "$lt_simple_link_test_code" >conftest.$ac_ext
18699 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
18700 _lt_linker_boilerplate=`cat conftest.err`
18704 # Allow CC to be a program name with arguments.
18706 lt_save_CFLAGS=$CFLAGS
18710 lt_save_with_gnu_ld=$with_gnu_ld
18711 lt_save_path_LD=$lt_cv_path_LD
18712 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
18713 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
18715 $as_unset lt_cv_prog_gnu_ld
18717 if test -n "${lt_cv_path_LDCXX+set}"; then
18718 lt_cv_path_LD=$lt_cv_path_LDCXX
18720 $as_unset lt_cv_path_LD
18722 test -z "${LDCXX+set}" || LD=$LDCXX
18727 for cc_temp in $compiler""; do
18729 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18730 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18735 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18738 if test -n "$compiler"; then
18739 # We don't want -fno-exception when compiling C++ code, so set the
18740 # no_builtin_flag separately
18741 if test "$GXX" = yes; then
18742 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
18744 lt_prog_compiler_no_builtin_flag_CXX=
18747 if test "$GXX" = yes; then
18748 # Set up default GNU C++ configuration
18752 # Check whether --with-gnu-ld was given.
18753 if test "${with_gnu_ld+set}" = set; then :
18754 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18760 if test "$GCC" = yes; then
18761 # Check if gcc -print-prog-name=ld gives a path.
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
18763 $as_echo_n "checking for ld used by $CC... " >&6; }
18766 # gcc leaves a trailing carriage return which upsets mingw
18767 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18769 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18772 # Accept absolute paths.
18774 re_direlt='/[^/][^/]*/\.\./'
18775 # Canonicalize the pathname of ld
18776 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18777 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18778 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18780 test -z "$LD" && LD="$ac_prog"
18783 # If it fails, then pretend we aren't using GCC.
18787 # If it is relative, then search for the first ld in PATH.
18788 with_gnu_ld=unknown
18791 elif test "$with_gnu_ld" = yes; then
18792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
18793 $as_echo_n "checking for GNU ld... " >&6; }
18795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
18796 $as_echo_n "checking for non-GNU ld... " >&6; }
18798 if ${lt_cv_path_LD+:} false; then :
18799 $as_echo_n "(cached) " >&6
18801 if test -z "$LD"; then
18802 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18803 for ac_dir in $PATH; do
18805 test -z "$ac_dir" && ac_dir=.
18806 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18807 lt_cv_path_LD="$ac_dir/$ac_prog"
18808 # Check to see if the program is GNU ld. I'd rather use --version,
18809 # but apparently some variants of GNU ld only accept -v.
18810 # Break only if it was the GNU/non-GNU ld that we prefer.
18811 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18812 *GNU* | *'with BFD'*)
18813 test "$with_gnu_ld" != no && break
18816 test "$with_gnu_ld" != yes && break
18823 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18827 LD="$lt_cv_path_LD"
18828 if test -n "$LD"; then
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
18830 $as_echo "$LD" >&6; }
18832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18833 $as_echo "no" >&6; }
18835 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
18836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
18837 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18838 if ${lt_cv_prog_gnu_ld+:} false; then :
18839 $as_echo_n "(cached) " >&6
18841 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18842 case `$LD -v 2>&1 </dev/null` in
18843 *GNU* | *'with BFD'*)
18844 lt_cv_prog_gnu_ld=yes
18847 lt_cv_prog_gnu_ld=no
18851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
18852 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
18853 with_gnu_ld=$lt_cv_prog_gnu_ld
18861 # Check if GNU C++ uses GNU ld as the underlying linker, since the
18862 # archiving commands below assume that GNU ld is being used.
18863 if test "$with_gnu_ld" = yes; then
18864 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18865 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'
18867 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18868 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18870 # If archive_cmds runs LD, not CC, wlarc should be empty
18871 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
18872 # investigate it a little bit more. (MM)
18875 # ancient GNU ld didn't support --whole-archive et. al.
18876 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
18877 $GREP 'no-whole-archive' > /dev/null; then
18878 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18880 whole_archive_flag_spec_CXX=
18886 # A generic and very simple default shared library creation
18887 # command for GNU C++ for the case where it uses the native
18888 # linker, instead of GNU ld. If possible, this setting should
18889 # overridden to take advantage of the native linker features on
18890 # the platform it is being used on.
18891 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18894 # Commands to make compiler produce verbose output that lists
18895 # what "hidden" libraries, object files and flags are used when
18896 # linking a shared library.
18897 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
18905 # PORTME: fill in a description of your system's C++ link characteristics
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
18907 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18911 # FIXME: insert proper C++ library support
18915 if test "$host_cpu" = ia64; then
18916 # On IA64, the linker does run time linking by default, so we don't
18917 # have to do anything special.
18918 aix_use_runtimelinking=no
18919 exp_sym_flag='-Bexport'
18922 aix_use_runtimelinking=no
18924 # Test if we are trying to use run time linking or normal
18925 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
18926 # need to do runtime linking.
18927 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
18928 for ld_flag in $LDFLAGS; do
18931 aix_use_runtimelinking=yes
18939 exp_sym_flag='-bexport'
18940 no_entry_flag='-bnoentry'
18943 # When large executables or shared objects are built, AIX ld can
18944 # have problems creating the table of contents. If linking a library
18945 # or program results in "error TOC overflow" add -mminimal-toc to
18946 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
18947 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
18949 archive_cmds_CXX=''
18950 hardcode_direct_CXX=yes
18951 hardcode_direct_absolute_CXX=yes
18952 hardcode_libdir_separator_CXX=':'
18953 link_all_deplibs_CXX=yes
18954 file_list_spec_CXX='${wl}-f,'
18956 if test "$GXX" = yes; then
18957 case $host_os in aix4.[012]|aix4.[012].*)
18958 # We only want to do this on AIX 4.2 and lower, the check
18959 # below for broken collect2 doesn't work under 4.3+
18960 collect2name=`${CC} -print-prog-name=collect2`
18961 if test -f "$collect2name" &&
18962 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
18964 # We have reworked collect2
18967 # We have old collect2
18968 hardcode_direct_CXX=unsupported
18969 # It fails to find uninstalled libraries when the uninstalled
18970 # path is not listed in the libpath. Setting hardcode_minus_L
18971 # to unsupported forces relinking
18972 hardcode_minus_L_CXX=yes
18973 hardcode_libdir_flag_spec_CXX='-L$libdir'
18974 hardcode_libdir_separator_CXX=
18977 shared_flag='-shared'
18978 if test "$aix_use_runtimelinking" = yes; then
18979 shared_flag="$shared_flag "'${wl}-G'
18983 if test "$host_cpu" = ia64; then
18984 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
18985 # chokes on -Wl,-G. The following line is correct:
18988 if test "$aix_use_runtimelinking" = yes; then
18989 shared_flag='${wl}-G'
18991 shared_flag='${wl}-bM:SRE'
18996 export_dynamic_flag_spec_CXX='${wl}-bexpall'
18997 # It seems that -bexpall does not export symbols beginning with
18998 # underscore (_), so it is better to generate a list of symbols to
19000 always_export_symbols_CXX=yes
19001 if test "$aix_use_runtimelinking" = yes; then
19002 # Warning - without using the other runtime loading flags (-brtl),
19003 # -berok will link without error, but may produce a broken library.
19004 allow_undefined_flag_CXX='-berok'
19005 # Determine the default libpath from the value encoded in an empty
19007 if test "${lt_cv_aix_libpath+set}" = set; then
19008 aix_libpath=$lt_cv_aix_libpath
19010 if ${lt_cv_aix_libpath__CXX+:} false; then :
19011 $as_echo_n "(cached) " >&6
19013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19014 /* end confdefs.h. */
19024 if ac_fn_cxx_try_link "$LINENO"; then :
19026 lt_aix_libpath_sed='
19027 /Import File Strings/,/^$/ {
19029 s/^0 *\([^ ]*\) *$/\1/
19033 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19034 # Check for a 64-bit object if we didn't find anything.
19035 if test -z "$lt_cv_aix_libpath__CXX"; then
19036 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19039 rm -f core conftest.err conftest.$ac_objext \
19040 conftest$ac_exeext conftest.$ac_ext
19041 if test -z "$lt_cv_aix_libpath__CXX"; then
19042 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
19047 aix_libpath=$lt_cv_aix_libpath__CXX
19050 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
19052 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"
19054 if test "$host_cpu" = ia64; then
19055 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
19056 allow_undefined_flag_CXX="-z nodefs"
19057 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"
19059 # Determine the default libpath from the value encoded in an
19060 # empty executable.
19061 if test "${lt_cv_aix_libpath+set}" = set; then
19062 aix_libpath=$lt_cv_aix_libpath
19064 if ${lt_cv_aix_libpath__CXX+:} false; then :
19065 $as_echo_n "(cached) " >&6
19067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19068 /* end confdefs.h. */
19078 if ac_fn_cxx_try_link "$LINENO"; then :
19080 lt_aix_libpath_sed='
19081 /Import File Strings/,/^$/ {
19083 s/^0 *\([^ ]*\) *$/\1/
19087 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19088 # Check for a 64-bit object if we didn't find anything.
19089 if test -z "$lt_cv_aix_libpath__CXX"; then
19090 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
19093 rm -f core conftest.err conftest.$ac_objext \
19094 conftest$ac_exeext conftest.$ac_ext
19095 if test -z "$lt_cv_aix_libpath__CXX"; then
19096 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
19101 aix_libpath=$lt_cv_aix_libpath__CXX
19104 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
19105 # Warning - without using the other run time loading flags,
19106 # -berok will link without error, but may produce a broken library.
19107 no_undefined_flag_CXX=' ${wl}-bernotok'
19108 allow_undefined_flag_CXX=' ${wl}-berok'
19109 if test "$with_gnu_ld" = yes; then
19110 # We only use this code for GNU lds that support --whole-archive.
19111 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
19113 # Exported symbols can be pulled into shared objects from archives
19114 whole_archive_flag_spec_CXX='$convenience'
19116 archive_cmds_need_lc_CXX=yes
19117 # This is similar to how AIX traditionally builds its shared
19119 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'
19125 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
19126 allow_undefined_flag_CXX=unsupported
19127 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
19128 # support --undefined. This deserves some investigation. FIXME
19129 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19136 case $cc_basename in
19138 # FIXME: insert proper C++ library support
19144 cygwin* | mingw* | pw32* | cegcc*)
19145 case $GXX,$cc_basename in
19148 # hardcode_libdir_flag_spec is actually meaningless, as there is
19149 # no search path for DLLs.
19150 hardcode_libdir_flag_spec_CXX=' '
19151 allow_undefined_flag_CXX=unsupported
19152 always_export_symbols_CXX=yes
19153 file_list_spec_CXX='@'
19154 # Tell ltmain to make .lib files, not .a files.
19156 # Tell ltmain to make .dll files, not .so files.
19158 # FIXME: Setting linknames here is a bad hack.
19159 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
19160 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19161 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
19163 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
19165 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
19167 # The linker will not automatically build a static lib if we build a DLL.
19168 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
19169 enable_shared_with_static_runtimes_CXX=yes
19171 old_postinstall_cmds_CXX='chmod 644 $oldlib'
19172 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
19173 lt_tool_outputfile="@TOOL_OUTPUT@"~
19174 case $lt_outputfile in
19177 lt_outputfile="$lt_outputfile.exe"
19178 lt_tool_outputfile="$lt_tool_outputfile.exe"
19181 func_to_tool_file "$lt_outputfile"~
19182 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
19183 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
19184 $RM "$lt_outputfile.manifest";
19189 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
19190 # as there is no search path for DLLs.
19191 hardcode_libdir_flag_spec_CXX='-L$libdir'
19192 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
19193 allow_undefined_flag_CXX=unsupported
19194 always_export_symbols_CXX=no
19195 enable_shared_with_static_runtimes_CXX=yes
19197 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
19198 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'
19199 # If the export-symbols file already is a .def file (1st line
19200 # is EXPORTS), use it as is; otherwise, prepend...
19201 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
19202 cp $export_symbols $output_objdir/$soname.def;
19204 echo EXPORTS > $output_objdir/$soname.def;
19205 cat $export_symbols >> $output_objdir/$soname.def;
19207 $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'
19214 darwin* | rhapsody*)
19217 archive_cmds_need_lc_CXX=no
19218 hardcode_direct_CXX=no
19219 hardcode_automatic_CXX=yes
19220 hardcode_shlibpath_var_CXX=unsupported
19221 if test "$lt_cv_ld_force_load" = "yes"; then
19222 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\"`'
19225 whole_archive_flag_spec_CXX=''
19227 link_all_deplibs_CXX=yes
19228 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
19229 case $cc_basename in
19230 ifort*) _lt_dar_can_shared=yes ;;
19231 *) _lt_dar_can_shared=$GCC ;;
19233 if test "$_lt_dar_can_shared" = "yes"; then
19234 output_verbose_link_cmd=func_echo_all
19235 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}"
19236 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
19237 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}"
19238 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}"
19239 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
19240 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}"
19241 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}"
19251 case $cc_basename in
19253 # FIXME: insert proper C++ library support
19257 # Green Hills C++ Compiler
19258 # FIXME: insert proper C++ library support
19262 # FIXME: insert proper C++ library support
19269 # C++ shared libraries reported to be fairly broken before
19275 archive_cmds_need_lc_CXX=no
19278 freebsd* | dragonfly*)
19279 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
19288 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19289 link_all_deplibs_CXX=yes
19293 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
19294 hardcode_libdir_separator_CXX=:
19295 export_dynamic_flag_spec_CXX='${wl}-E'
19296 hardcode_direct_CXX=yes
19297 hardcode_minus_L_CXX=yes # Not in the search PATH,
19298 # but as the default
19299 # location of the library.
19301 case $cc_basename in
19303 # FIXME: insert proper C++ library support
19307 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'
19308 # Commands to make compiler produce verbose output that lists
19309 # what "hidden" libraries, object files and flags are used when
19310 # linking a shared library.
19312 # There doesn't appear to be a way to prevent this compiler from
19313 # explicitly linking system object files so we need to strip them
19314 # from the output so that they don't get included in the library
19316 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"'
19319 if test "$GXX" = yes; then
19320 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'
19322 # FIXME: insert proper C++ library support
19330 if test $with_gnu_ld = no; then
19331 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
19332 hardcode_libdir_separator_CXX=:
19338 export_dynamic_flag_spec_CXX='${wl}-E'
19344 hardcode_direct_CXX=no
19345 hardcode_shlibpath_var_CXX=no
19348 hardcode_direct_CXX=yes
19349 hardcode_direct_absolute_CXX=yes
19350 hardcode_minus_L_CXX=yes # Not in the search PATH,
19351 # but as the default
19352 # location of the library.
19356 case $cc_basename in
19358 # FIXME: insert proper C++ library support
19364 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19367 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19370 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19373 # Commands to make compiler produce verbose output that lists
19374 # what "hidden" libraries, object files and flags are used when
19375 # linking a shared library.
19377 # There doesn't appear to be a way to prevent this compiler from
19378 # explicitly linking system object files so we need to strip them
19379 # from the output so that they don't get included in the library
19381 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"'
19384 if test "$GXX" = yes; then
19385 if test $with_gnu_ld = no; then
19388 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19391 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19394 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'
19399 # FIXME: insert proper C++ library support
19407 hardcode_direct_CXX=no
19408 hardcode_shlibpath_var_CXX=no
19409 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19410 export_dynamic_flag_spec_CXX='${wl}-E'
19411 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
19412 # Instead, shared libraries are loaded at an image base (0x10000000 by
19413 # default) and relocated if they conflict, which is a slow very memory
19414 # consuming and fragmenting process. To avoid this, we pick a random,
19415 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
19416 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
19417 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'
19418 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'
19421 case $cc_basename in
19424 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'
19426 # Archives containing C++ object files must be created using
19427 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
19428 # necessary to make sure instantiated templates are included
19430 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
19433 if test "$GXX" = yes; then
19434 if test "$with_gnu_ld" = no; then
19435 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'
19437 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'
19440 link_all_deplibs_CXX=yes
19443 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19444 hardcode_libdir_separator_CXX=:
19445 inherit_rpath_CXX=yes
19448 linux* | k*bsd*-gnu | kopensolaris*-gnu)
19449 case $cc_basename in
19451 # Kuck and Associates, Inc. (KAI) C++ Compiler
19453 # KCC will only create a shared library if the output file
19454 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19455 # to its proper name (with version) after linking.
19456 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'
19457 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'
19458 # Commands to make compiler produce verbose output that lists
19459 # what "hidden" libraries, object files and flags are used when
19460 # linking a shared library.
19462 # There doesn't appear to be a way to prevent this compiler from
19463 # explicitly linking system object files so we need to strip them
19464 # from the output so that they don't get included in the library
19466 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"'
19468 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19469 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19471 # Archives containing C++ object files must be created using
19472 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
19473 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
19478 # version 8.0 and above of icpc choke on multiply defined symbols
19479 # if we add $predep_objects and $postdep_objects, however 7.1 and
19480 # earlier do not add the objects themselves.
19481 case `$CC -V 2>&1` in
19483 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19484 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'
19486 *) # Version 8.0 or newer
19489 ia64*) tmp_idyn=' -i_dynamic';;
19491 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19492 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'
19495 archive_cmds_need_lc_CXX=no
19496 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19497 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19498 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
19501 # Portland Group C++ compiler
19503 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
19504 prelink_cmds_CXX='tpldir=Template.dir~
19506 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
19507 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
19508 old_archive_cmds_CXX='tpldir=Template.dir~
19510 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
19511 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
19513 archive_cmds_CXX='tpldir=Template.dir~
19515 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
19516 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
19517 archive_expsym_cmds_CXX='tpldir=Template.dir~
19519 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
19520 $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'
19522 *) # Version 6 and above use weak symbols
19523 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
19524 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'
19528 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
19529 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19530 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'
19534 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
19535 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'
19537 runpath_var=LD_RUN_PATH
19538 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19539 hardcode_libdir_separator_CXX=:
19541 # Commands to make compiler produce verbose output that lists
19542 # what "hidden" libraries, object files and flags are used when
19543 # linking a shared library.
19545 # There doesn't appear to be a way to prevent this compiler from
19546 # explicitly linking system object files so we need to strip them
19547 # from the output so that they don't get included in the library
19549 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'
19551 xl* | mpixl* | bgxl*)
19552 # IBM XL 8.0 on PPC, with GNU ld
19553 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19554 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
19555 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
19556 if test "x$supports_anon_versioning" = xyes; then
19557 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
19558 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
19559 echo "local: *; };" >> $output_objdir/$libname.ver~
19560 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
19564 case `$CC -V 2>&1 | sed 5q` in
19567 no_undefined_flag_CXX=' -zdefs'
19568 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19569 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'
19570 hardcode_libdir_flag_spec_CXX='-R$libdir'
19571 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'
19572 compiler_needs_object_CXX=yes
19574 # Not sure whether something based on
19575 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
19577 output_verbose_link_cmd='func_echo_all'
19579 # Archives containing C++ object files must be created using
19580 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19581 # necessary to make sure instantiated templates are included
19583 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19591 # FIXME: insert proper C++ library support
19596 # FIXME: insert proper C++ library support
19601 case $cc_basename in
19603 # FIXME: insert proper C++ library support
19607 # FIXME: insert proper C++ library support
19614 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19615 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
19617 hardcode_libdir_flag_spec_CXX='-R$libdir'
19618 hardcode_direct_CXX=yes
19619 hardcode_shlibpath_var_CXX=no
19621 # Workaround some broken pre-1.5 toolchains
19622 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
19630 # C++ shared libraries are fairly broken
19635 if test -f /usr/libexec/ld.so; then
19636 hardcode_direct_CXX=yes
19637 hardcode_shlibpath_var_CXX=no
19638 hardcode_direct_absolute_CXX=yes
19639 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
19640 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19641 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19642 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
19643 export_dynamic_flag_spec_CXX='${wl}-E'
19644 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
19646 output_verbose_link_cmd=func_echo_all
19652 osf3* | osf4* | osf5*)
19653 case $cc_basename in
19655 # Kuck and Associates, Inc. (KAI) C++ Compiler
19657 # KCC will only create a shared library if the output file
19658 # ends with ".so" (or ".sl" for HP-UX), so rename the library
19659 # to its proper name (with version) after linking.
19660 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'
19662 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
19663 hardcode_libdir_separator_CXX=:
19665 # Archives containing C++ object files must be created using
19666 # the KAI C++ compiler.
19668 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
19669 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
19673 # Rational C++ 2.4.1
19674 # FIXME: insert proper C++ library support
19680 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19681 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'
19682 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19685 allow_undefined_flag_CXX=' -expect_unresolved \*'
19686 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'
19687 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
19688 echo "-hidden">> $lib.exp~
19689 $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~
19691 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
19695 hardcode_libdir_separator_CXX=:
19697 # Commands to make compiler produce verbose output that lists
19698 # what "hidden" libraries, object files and flags are used when
19699 # linking a shared library.
19701 # There doesn't appear to be a way to prevent this compiler from
19702 # explicitly linking system object files so we need to strip them
19703 # from the output so that they don't get included in the library
19705 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"'
19708 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19709 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
19712 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'
19715 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'
19719 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
19720 hardcode_libdir_separator_CXX=:
19722 # Commands to make compiler produce verbose output that lists
19723 # what "hidden" libraries, object files and flags are used when
19724 # linking a shared library.
19725 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19728 # FIXME: insert proper C++ library support
19736 # FIXME: insert proper C++ library support
19741 case $cc_basename in
19744 # FIXME: insert proper C++ library support
19749 # FIXME: insert proper C++ library support
19753 # FIXME: insert proper C++ library support
19760 case $cc_basename in
19762 # Sun C++ 4.2, 5.x and Centerline C++
19763 archive_cmds_need_lc_CXX=yes
19764 no_undefined_flag_CXX=' -zdefs'
19765 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
19766 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19767 $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'
19769 hardcode_libdir_flag_spec_CXX='-R$libdir'
19770 hardcode_shlibpath_var_CXX=no
19772 solaris2.[0-5] | solaris2.[0-5].*) ;;
19774 # The compiler driver will combine and reorder linker options,
19775 # but understands `-z linker_flag'.
19776 # Supported since Solaris 2.6 (maybe 2.5.1?)
19777 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
19780 link_all_deplibs_CXX=yes
19782 output_verbose_link_cmd='func_echo_all'
19784 # Archives containing C++ object files must be created using
19785 # "CC -xar", where "CC" is the Sun C++ compiler. This is
19786 # necessary to make sure instantiated templates are included
19788 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
19791 # Green Hills C++ Compiler
19792 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19794 # The C++ compiler must be used to create the archive.
19795 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
19798 # GNU C++ compiler with Solaris linker
19799 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
19800 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
19801 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
19802 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19803 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19804 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19806 # Commands to make compiler produce verbose output that lists
19807 # what "hidden" libraries, object files and flags are used when
19808 # linking a shared library.
19809 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19811 # g++ 2.7 appears to require `-G' NOT `-shared' on this
19813 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
19814 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
19815 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
19817 # Commands to make compiler produce verbose output that lists
19818 # what "hidden" libraries, object files and flags are used when
19819 # linking a shared library.
19820 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
19823 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
19825 solaris2.[0-5] | solaris2.[0-5].*) ;;
19827 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
19835 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
19836 no_undefined_flag_CXX='${wl}-z,text'
19837 archive_cmds_need_lc_CXX=no
19838 hardcode_shlibpath_var_CXX=no
19839 runpath_var='LD_RUN_PATH'
19841 case $cc_basename in
19843 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19844 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19847 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19848 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19853 sysv5* | sco3.2v5* | sco5v6*)
19854 # Note: We can NOT use -z defs as we might desire, because we do not
19855 # link with -lc, and that would cause any symbols used from libc to
19856 # always be unresolved, which means just about no library would
19857 # ever link correctly. If we're not using GNU ld we use -z text
19858 # though, which does catch some bad symbols but isn't as heavy-handed
19860 no_undefined_flag_CXX='${wl}-z,text'
19861 allow_undefined_flag_CXX='${wl}-z,nodefs'
19862 archive_cmds_need_lc_CXX=no
19863 hardcode_shlibpath_var_CXX=no
19864 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
19865 hardcode_libdir_separator_CXX=':'
19866 link_all_deplibs_CXX=yes
19867 export_dynamic_flag_spec_CXX='${wl}-Bexport'
19868 runpath_var='LD_RUN_PATH'
19870 case $cc_basename in
19872 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19873 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19874 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
19875 '"$old_archive_cmds_CXX"
19876 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
19877 '"$reload_cmds_CXX"
19880 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19881 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
19887 case $cc_basename in
19889 # NonStop-UX NCC 3.20
19890 # FIXME: insert proper C++ library support
19894 # FIXME: insert proper C++ library support
19901 # FIXME: insert proper C++ library support
19906 # FIXME: insert proper C++ library support
19911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
19912 $as_echo "$ld_shlibs_CXX" >&6; }
19913 test "$ld_shlibs_CXX" = no && can_build_shared=no
19919 ## There is no encapsulation within the following macros, do not change
19920 ## the running order or otherwise move them around unless you know exactly
19921 ## what you are doing...
19922 # Dependencies to place before and after the object being linked:
19923 predep_objects_CXX=
19924 postdep_objects_CXX=
19927 compiler_lib_search_path_CXX=
19929 cat > conftest.$ac_ext <<_LT_EOF
19933 Foo (void) { a = 0; }
19940 _lt_libdeps_save_CFLAGS=$CFLAGS
19941 case "$CC $CFLAGS " in #(
19942 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
19943 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
19944 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
19947 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19948 (eval $ac_compile) 2>&5
19950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19951 test $ac_status = 0; }; then
19952 # Parse the compiler output and extract the necessary
19953 # objects, libraries and library flags.
19955 # Sentinel used to keep track of whether or not we are before
19956 # the conftest object file.
19957 pre_test_object_deps_done=no
19959 for p in `eval "$output_verbose_link_cmd"`; do
19960 case ${prev}${p} in
19963 # Some compilers place space between "-{L,R}" and the path.
19964 # Remove the space.
19965 if test $p = "-L" ||
19966 test $p = "-R"; then
19971 # Expand the sysroot to ease extracting the directories later.
19972 if test -z "$prev"; then
19974 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
19975 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
19976 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
19980 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
19982 if test "$pre_test_object_deps_done" = no; then
19985 # Internal compiler library paths should come after those
19986 # provided the user. The postdeps already come after the
19987 # user supplied libs so there is no need to process them.
19988 if test -z "$compiler_lib_search_path_CXX"; then
19989 compiler_lib_search_path_CXX="${prev}${p}"
19991 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
19994 # The "-l" case would never come before the object being
19995 # linked, so don't bother handling this case.
19998 if test -z "$postdeps_CXX"; then
19999 postdeps_CXX="${prev}${p}"
20001 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
20007 *.lto.$objext) ;; # Ignore GCC LTO objects
20009 # This assumes that the test object file only shows up
20010 # once in the compiler output.
20011 if test "$p" = "conftest.$objext"; then
20012 pre_test_object_deps_done=yes
20016 if test "$pre_test_object_deps_done" = no; then
20017 if test -z "$predep_objects_CXX"; then
20018 predep_objects_CXX="$p"
20020 predep_objects_CXX="$predep_objects_CXX $p"
20023 if test -z "$postdep_objects_CXX"; then
20024 postdep_objects_CXX="$p"
20026 postdep_objects_CXX="$postdep_objects_CXX $p"
20031 *) ;; # Ignore the rest.
20039 echo "libtool.m4: error: problem compiling CXX test program"
20042 $RM -f confest.$objext
20043 CFLAGS=$_lt_libdeps_save_CFLAGS
20045 # PORTME: override above test on systems where it is broken
20048 # Interix 3.5 installs completely hosed .la files for C++, so rather than
20049 # hack all around it, let's just trust "g++" to DTRT.
20050 predep_objects_CXX=
20051 postdep_objects_CXX=
20056 case `$CC -V 2>&1 | sed 5q` in
20060 # The more standards-conforming stlport4 library is
20061 # incompatible with the Cstd library. Avoid specifying
20062 # it if it's in CXXFLAGS. Ignore libCrun as
20063 # -library=stlport4 depends on it.
20064 case " $CXX $CXXFLAGS " in
20065 *" -library=stlport4 "*)
20066 solaris_use_stlport4=yes
20070 if test "$solaris_use_stlport4" != yes; then
20071 postdeps_CXX='-library=Cstd -library=Crun'
20078 case $cc_basename in
20080 # The more standards-conforming stlport4 library is
20081 # incompatible with the Cstd library. Avoid specifying
20082 # it if it's in CXXFLAGS. Ignore libCrun as
20083 # -library=stlport4 depends on it.
20084 case " $CXX $CXXFLAGS " in
20085 *" -library=stlport4 "*)
20086 solaris_use_stlport4=yes
20090 # Adding this requires a known-good setup of shared libraries for
20091 # Sun compiler versions before 5.6, else PIC objects from an old
20092 # archive will be linked into the output, leading to subtle bugs.
20093 if test "$solaris_use_stlport4" != yes; then
20094 postdeps_CXX='-library=Cstd -library=Crun'
20102 case " $postdeps_CXX " in
20103 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
20105 compiler_lib_search_dirs_CXX=
20106 if test -n "${compiler_lib_search_path_CXX}"; then
20107 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
20140 lt_prog_compiler_wl_CXX=
20141 lt_prog_compiler_pic_CXX=
20142 lt_prog_compiler_static_CXX=
20145 # C++ specific cases for pic, static, wl, etc.
20146 if test "$GXX" = yes; then
20147 lt_prog_compiler_wl_CXX='-Wl,'
20148 lt_prog_compiler_static_CXX='-static'
20152 # All AIX code is PIC.
20153 if test "$host_cpu" = ia64; then
20154 # AIX 5 now supports IA64 processor
20155 lt_prog_compiler_static_CXX='-Bstatic'
20162 # see comment about AmigaOS4 .so support
20163 lt_prog_compiler_pic_CXX='-fPIC'
20166 # FIXME: we need at least 68020 code to build shared libraries, but
20167 # adding the `-m68020' flag to GCC prevents building anything better,
20169 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
20174 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
20175 # PIC is the default for these OSes.
20177 mingw* | cygwin* | os2* | pw32* | cegcc*)
20178 # This hack is so that the source file can tell whether it is being
20179 # built for inclusion in a dll (and should export symbols for example).
20180 # Although the cygwin gcc ignores -fPIC, still need this for old-style
20181 # (--disable-auto-import) libraries
20182 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
20184 darwin* | rhapsody*)
20185 # PIC is the default on this platform
20186 # Common symbols not allowed in MH_DYLIB files
20187 lt_prog_compiler_pic_CXX='-fno-common'
20190 # DJGPP does not support shared libraries at all
20191 lt_prog_compiler_pic_CXX=
20194 # PIC is the default for Haiku.
20195 # The "-static" flag exists, but is broken.
20196 lt_prog_compiler_static_CXX=
20199 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
20200 # Instead, we relocate shared libraries at runtime.
20203 if test -d /usr/nec; then
20204 lt_prog_compiler_pic_CXX=-Kconform_pic
20208 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
20209 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
20210 # sets the default TLS model and affects inlining.
20215 lt_prog_compiler_pic_CXX='-fPIC'
20220 # QNX uses GNU C++, but need to define -shared option too, otherwise
20221 # it will coredump.
20222 lt_prog_compiler_pic_CXX='-fPIC -shared'
20225 lt_prog_compiler_pic_CXX='-fPIC'
20231 # All AIX code is PIC.
20232 if test "$host_cpu" = ia64; then
20233 # AIX 5 now supports IA64 processor
20234 lt_prog_compiler_static_CXX='-Bstatic'
20236 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
20240 case $cc_basename in
20242 # Green Hills C++ Compiler
20243 # _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"
20247 mingw* | cygwin* | os2* | pw32* | cegcc*)
20248 # This hack is so that the source file can tell whether it is being
20249 # built for inclusion in a dll (and should export symbols for example).
20250 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
20253 case $cc_basename in
20255 lt_prog_compiler_pic_CXX='-KPIC'
20258 # Green Hills C++ Compiler
20259 lt_prog_compiler_pic_CXX='-pic'
20265 freebsd* | dragonfly*)
20266 # FreeBSD uses GNU C++
20268 hpux9* | hpux10* | hpux11*)
20269 case $cc_basename in
20271 lt_prog_compiler_wl_CXX='-Wl,'
20272 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
20273 if test "$host_cpu" != ia64; then
20274 lt_prog_compiler_pic_CXX='+Z'
20278 lt_prog_compiler_wl_CXX='-Wl,'
20279 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
20285 lt_prog_compiler_pic_CXX='+Z'
20294 # This is c89, which is MS Visual C++ (no shared libs)
20295 # Anyone wants to do a port?
20297 irix5* | irix6* | nonstopux*)
20298 case $cc_basename in
20300 lt_prog_compiler_wl_CXX='-Wl,'
20301 lt_prog_compiler_static_CXX='-non_shared'
20302 # CC pic flag -KPIC is the default.
20308 linux* | k*bsd*-gnu | kopensolaris*-gnu)
20309 case $cc_basename in
20312 lt_prog_compiler_wl_CXX='--backend -Wl,'
20313 lt_prog_compiler_pic_CXX='-fPIC'
20316 # old Intel C++ for x86_64 which still supported -KPIC.
20317 lt_prog_compiler_wl_CXX='-Wl,'
20318 lt_prog_compiler_pic_CXX='-KPIC'
20319 lt_prog_compiler_static_CXX='-static'
20322 # Intel C++, used to be incompatible with GCC.
20323 # ICC 10 doesn't accept -KPIC any more.
20324 lt_prog_compiler_wl_CXX='-Wl,'
20325 lt_prog_compiler_pic_CXX='-fPIC'
20326 lt_prog_compiler_static_CXX='-static'
20329 # Portland Group C++ compiler
20330 lt_prog_compiler_wl_CXX='-Wl,'
20331 lt_prog_compiler_pic_CXX='-fpic'
20332 lt_prog_compiler_static_CXX='-Bstatic'
20336 # Make sure the PIC flag is empty. It appears that all Alpha
20337 # Linux and Compaq Tru64 Unix objects are PIC.
20338 lt_prog_compiler_pic_CXX=
20339 lt_prog_compiler_static_CXX='-non_shared'
20341 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
20342 # IBM XL 8.0, 9.0 on PPC and BlueGene
20343 lt_prog_compiler_wl_CXX='-Wl,'
20344 lt_prog_compiler_pic_CXX='-qpic'
20345 lt_prog_compiler_static_CXX='-qstaticlink'
20348 case `$CC -V 2>&1 | sed 5q` in
20351 lt_prog_compiler_pic_CXX='-KPIC'
20352 lt_prog_compiler_static_CXX='-Bstatic'
20353 lt_prog_compiler_wl_CXX='-Qoption ld '
20364 case $cc_basename in
20366 lt_prog_compiler_pic_CXX='-W c,exportall'
20372 netbsd* | netbsdelf*-gnu)
20375 # QNX uses GNU C++, but need to define -shared option too, otherwise
20376 # it will coredump.
20377 lt_prog_compiler_pic_CXX='-fPIC -shared'
20379 osf3* | osf4* | osf5*)
20380 case $cc_basename in
20382 lt_prog_compiler_wl_CXX='--backend -Wl,'
20385 # Rational C++ 2.4.1
20386 lt_prog_compiler_pic_CXX='-pic'
20389 # Digital/Compaq C++
20390 lt_prog_compiler_wl_CXX='-Wl,'
20391 # Make sure the PIC flag is empty. It appears that all Alpha
20392 # Linux and Compaq Tru64 Unix objects are PIC.
20393 lt_prog_compiler_pic_CXX=
20394 lt_prog_compiler_static_CXX='-non_shared'
20403 case $cc_basename in
20405 # Sun C++ 4.2, 5.x and Centerline C++
20406 lt_prog_compiler_pic_CXX='-KPIC'
20407 lt_prog_compiler_static_CXX='-Bstatic'
20408 lt_prog_compiler_wl_CXX='-Qoption ld '
20411 # Green Hills C++ Compiler
20412 lt_prog_compiler_pic_CXX='-PIC'
20419 case $cc_basename in
20422 lt_prog_compiler_pic_CXX='-pic'
20423 lt_prog_compiler_static_CXX='-Bstatic'
20427 lt_prog_compiler_pic_CXX='-pic'
20433 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
20434 case $cc_basename in
20436 lt_prog_compiler_wl_CXX='-Wl,'
20437 lt_prog_compiler_pic_CXX='-KPIC'
20438 lt_prog_compiler_static_CXX='-Bstatic'
20443 case $cc_basename in
20445 # NonStop-UX NCC 3.20
20446 lt_prog_compiler_pic_CXX='-KPIC'
20455 lt_prog_compiler_can_build_shared_CXX=no
20461 # For platforms which do not support PIC, -DPIC is meaningless:
20463 lt_prog_compiler_pic_CXX=
20466 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
20471 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
20472 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
20473 $as_echo_n "(cached) " >&6
20475 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
20478 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
20479 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
20482 # Check to make sure the PIC flag actually works.
20484 if test -n "$lt_prog_compiler_pic_CXX"; then
20485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
20486 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
20487 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
20488 $as_echo_n "(cached) " >&6
20490 lt_cv_prog_compiler_pic_works_CXX=no
20491 ac_outfile=conftest.$ac_objext
20492 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20493 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
20494 # Insert the option either (1) after the last *FLAGS variable, or
20495 # (2) before a word containing "conftest.", or (3) at the end.
20496 # Note that $ac_compile itself does not contain backslashes and begins
20497 # with a dollar sign (not a hyphen), so the echo should work correctly.
20498 # The option is referenced via a variable to avoid confusing sed.
20499 lt_compile=`echo "$ac_compile" | $SED \
20500 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20501 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20502 -e 's:$: $lt_compiler_flag:'`
20503 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
20504 (eval "$lt_compile" 2>conftest.err)
20506 cat conftest.err >&5
20507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20508 if (exit $ac_status) && test -s "$ac_outfile"; then
20509 # The compiler can only warn and ignore the option if not recognized
20510 # So say no if there are warnings other than the usual output.
20511 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
20512 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20513 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
20514 lt_cv_prog_compiler_pic_works_CXX=yes
20520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
20521 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
20523 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
20524 case $lt_prog_compiler_pic_CXX in
20526 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
20529 lt_prog_compiler_pic_CXX=
20530 lt_prog_compiler_can_build_shared_CXX=no
20540 # Check to make sure the static flag actually works.
20542 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
20543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
20544 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
20545 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
20546 $as_echo_n "(cached) " >&6
20548 lt_cv_prog_compiler_static_works_CXX=no
20549 save_LDFLAGS="$LDFLAGS"
20550 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
20551 echo "$lt_simple_link_test_code" > conftest.$ac_ext
20552 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
20553 # The linker can only warn and ignore the option if not recognized
20554 # So say no if there are warnings
20555 if test -s conftest.err; then
20556 # Append any errors to the config.log.
20557 cat conftest.err 1>&5
20558 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
20559 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
20560 if diff conftest.exp conftest.er2 >/dev/null; then
20561 lt_cv_prog_compiler_static_works_CXX=yes
20564 lt_cv_prog_compiler_static_works_CXX=yes
20568 LDFLAGS="$save_LDFLAGS"
20571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
20572 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
20574 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
20577 lt_prog_compiler_static_CXX=
20583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
20584 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
20585 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
20586 $as_echo_n "(cached) " >&6
20588 lt_cv_prog_compiler_c_o_CXX=no
20589 $RM -r conftest 2>/dev/null
20593 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20595 lt_compiler_flag="-o out/conftest2.$ac_objext"
20596 # Insert the option either (1) after the last *FLAGS variable, or
20597 # (2) before a word containing "conftest.", or (3) at the end.
20598 # Note that $ac_compile itself does not contain backslashes and begins
20599 # with a dollar sign (not a hyphen), so the echo should work correctly.
20600 lt_compile=`echo "$ac_compile" | $SED \
20601 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20602 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20603 -e 's:$: $lt_compiler_flag:'`
20604 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
20605 (eval "$lt_compile" 2>out/conftest.err)
20607 cat out/conftest.err >&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 if (exit $ac_status) && test -s out/conftest2.$ac_objext
20611 # The compiler can only warn and ignore the option if not recognized
20612 # So say no if there are warnings
20613 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
20614 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20615 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20616 lt_cv_prog_compiler_c_o_CXX=yes
20621 # SGI C++ compiler will create directory out/ii_files/ for
20622 # template instantiation
20623 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
20624 $RM out/* && rmdir out
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20631 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
20635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
20636 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
20637 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
20638 $as_echo_n "(cached) " >&6
20640 lt_cv_prog_compiler_c_o_CXX=no
20641 $RM -r conftest 2>/dev/null
20645 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20647 lt_compiler_flag="-o out/conftest2.$ac_objext"
20648 # Insert the option either (1) after the last *FLAGS variable, or
20649 # (2) before a word containing "conftest.", or (3) at the end.
20650 # Note that $ac_compile itself does not contain backslashes and begins
20651 # with a dollar sign (not a hyphen), so the echo should work correctly.
20652 lt_compile=`echo "$ac_compile" | $SED \
20653 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
20654 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
20655 -e 's:$: $lt_compiler_flag:'`
20656 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
20657 (eval "$lt_compile" 2>out/conftest.err)
20659 cat out/conftest.err >&5
20660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661 if (exit $ac_status) && test -s out/conftest2.$ac_objext
20663 # The compiler can only warn and ignore the option if not recognized
20664 # So say no if there are warnings
20665 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
20666 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
20667 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
20668 lt_cv_prog_compiler_c_o_CXX=yes
20673 # SGI C++ compiler will create directory out/ii_files/ for
20674 # template instantiation
20675 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
20676 $RM out/* && rmdir out
20682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
20683 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
20688 hard_links="nottested"
20689 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
20690 # do not overwrite the value of need_locks provided by the user
20691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
20692 $as_echo_n "checking if we can lock with hard links... " >&6; }
20695 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20697 ln conftest.a conftest.b 2>&5 || hard_links=no
20698 ln conftest.a conftest.b 2>/dev/null && hard_links=no
20699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
20700 $as_echo "$hard_links" >&6; }
20701 if test "$hard_links" = no; then
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
20703 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
20712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
20713 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
20715 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20716 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
20719 # If we're using GNU nm, then we don't want the "-C" option.
20720 # -C means demangle to AIX nm, but means don't demangle with GNU nm
20721 # Also, AIX nm treats weak defined symbols like other global defined
20722 # symbols, whereas GNU nm marks them as "W".
20723 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
20724 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'
20726 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'
20730 export_symbols_cmds_CXX="$ltdll_cmds"
20732 cygwin* | mingw* | cegcc*)
20733 case $cc_basename in
20735 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
20738 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'
20739 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
20743 linux* | k*bsd*-gnu | gnu*)
20744 link_all_deplibs_CXX=no
20747 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
20751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
20752 $as_echo "$ld_shlibs_CXX" >&6; }
20753 test "$ld_shlibs_CXX" = no && can_build_shared=no
20755 with_gnu_ld_CXX=$with_gnu_ld
20763 # Do we need to explicitly link libc?
20765 case "x$archive_cmds_need_lc_CXX" in
20767 # Assume -lc should be added
20768 archive_cmds_need_lc_CXX=yes
20770 if test "$enable_shared" = yes && test "$GCC" = yes; then
20771 case $archive_cmds_CXX in
20773 # FIXME: we may have to deal with multi-command sequences.
20776 # Test whether the compiler implicitly links with -lc since on some
20777 # systems, -lgcc has to come before -lc. If gcc already passes -lc
20778 # to ld, don't add -lc before -lgcc.
20779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
20780 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
20781 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
20782 $as_echo_n "(cached) " >&6
20785 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
20787 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
20788 (eval $ac_compile) 2>&5
20790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20791 test $ac_status = 0; } 2>conftest.err; then
20794 libobjs=conftest.$ac_objext
20796 wl=$lt_prog_compiler_wl_CXX
20797 pic_flag=$lt_prog_compiler_pic_CXX
20803 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
20804 allow_undefined_flag_CXX=
20805 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
20806 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
20808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20809 test $ac_status = 0; }
20811 lt_cv_archive_cmds_need_lc_CXX=no
20813 lt_cv_archive_cmds_need_lc_CXX=yes
20815 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
20817 cat conftest.err 1>&5
20822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
20823 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
20824 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
20892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
20893 $as_echo_n "checking dynamic linker characteristics... " >&6; }
20895 library_names_spec=
20896 libname_spec='lib$name'
20900 postuninstall_cmds=
20904 shlibpath_overrides_runpath=unknown
20906 dynamic_linker="$host_os ld.so"
20907 sys_lib_dlsearch_path_spec="/lib /usr/lib"
20908 need_lib_prefix=unknown
20909 hardcode_into_libs=no
20911 # when you set need_version to no, make sure it does not cause -set_version
20912 # flags to be left without arguments
20913 need_version=unknown
20917 version_type=linux # correct to gnu/linux during the next big refactor
20918 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
20919 shlibpath_var=LIBPATH
20921 # AIX 3 has no versioning support, so we append a major version to the name.
20922 soname_spec='${libname}${release}${shared_ext}$major'
20926 version_type=linux # correct to gnu/linux during the next big refactor
20929 hardcode_into_libs=yes
20930 if test "$host_cpu" = ia64; then
20931 # AIX 5 supports IA64
20932 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
20933 shlibpath_var=LD_LIBRARY_PATH
20935 # With GCC up to 2.95.x, collect2 would create an import file
20936 # for dependence libraries. The import file would start with
20937 # the line `#! .'. This would cause the generated library to
20938 # depend on `.', always an invalid library. This was fixed in
20939 # development snapshots of GCC prior to 3.0.
20941 aix4 | aix4.[01] | aix4.[01].*)
20942 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
20944 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
20947 can_build_shared=no
20951 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
20952 # soname into executable. Probably we can add versioning support to
20953 # collect2, so additional links can be useful in future.
20954 if test "$aix_use_runtimelinking" = yes; then
20955 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
20956 # instead of lib<name>.a to let people know that these are not
20957 # typical AIX shared libraries.
20958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20960 # We preserve .a as extension for shared libraries through AIX4.2
20961 # and later when we are not doing run time linking.
20962 library_names_spec='${libname}${release}.a $libname.a'
20963 soname_spec='${libname}${release}${shared_ext}$major'
20965 shlibpath_var=LIBPATH
20972 # Since July 2007 AmigaOS4 officially supports .so libraries.
20973 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
20974 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20977 library_names_spec='$libname.ixlibrary $libname.a'
20978 # Create ${libname}_ixlibrary.a entries in /sys/libs.
20979 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'
20985 library_names_spec='${libname}${shared_ext}'
20986 dynamic_linker="$host_os ld.so"
20987 shlibpath_var=LIBRARY_PATH
20991 version_type=linux # correct to gnu/linux during the next big refactor
20993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20994 soname_spec='${libname}${release}${shared_ext}$major'
20995 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
20996 shlibpath_var=LD_LIBRARY_PATH
20997 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
20998 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
20999 # the default ld.so.conf also contains /usr/contrib/lib and
21000 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
21001 # libtool to hard-code these into programs
21004 cygwin* | mingw* | pw32* | cegcc*)
21005 version_type=windows
21010 case $GCC,$cc_basename in
21013 library_names_spec='$libname.dll.a'
21014 # DLL is installed to $(libdir)/../bin by postinstall_cmds
21015 postinstall_cmds='base_file=`basename \${file}`~
21016 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
21017 dldir=$destdir/`dirname \$dlpath`~
21018 test -d \$dldir || mkdir -p \$dldir~
21019 $install_prog $dir/$dlname \$dldir/$dlname~
21020 chmod a+x \$dldir/$dlname~
21021 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
21022 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
21024 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21025 dlpath=$dir/\$dldll~
21027 shlibpath_overrides_runpath=yes
21031 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
21032 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21036 # MinGW DLLs use traditional 'lib' prefix
21037 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21040 # pw32 DLLs use 'pw' prefix rather than 'lib'
21041 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21044 dynamic_linker='Win32 ld.exe'
21049 libname_spec='$name'
21050 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
21051 library_names_spec='${libname}.dll.lib'
21055 sys_lib_search_path_spec=
21058 for lt_path in $LIB
21061 # Let DOS variable expansion print the short 8.3 style file name.
21062 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
21063 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
21066 # Convert to MSYS style.
21067 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
21070 # Convert to unix form, then to dos form, then back to unix form
21071 # but this time dos style (no spaces!) so that the unix form looks
21072 # like /cygdrive/c/PROGRA~1:/cygdr...
21073 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
21074 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
21075 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21078 sys_lib_search_path_spec="$LIB"
21079 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
21080 # It is most probably a Windows format PATH.
21081 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
21083 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
21085 # FIXME: find the short name or the path components, as spaces are
21086 # common. (e.g. "Program Files" -> "PROGRA~1")
21090 # DLL is installed to $(libdir)/../bin by postinstall_cmds
21091 postinstall_cmds='base_file=`basename \${file}`~
21092 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
21093 dldir=$destdir/`dirname \$dlpath`~
21094 test -d \$dldir || mkdir -p \$dldir~
21095 $install_prog $dir/$dlname \$dldir/$dlname'
21096 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
21097 dlpath=$dir/\$dldll~
21099 shlibpath_overrides_runpath=yes
21100 dynamic_linker='Win32 link.exe'
21104 # Assume MSVC wrapper
21105 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
21106 dynamic_linker='Win32 ld.exe'
21109 # FIXME: first we should search . and the directory the executable is in
21113 darwin* | rhapsody*)
21114 dynamic_linker="$host_os dyld"
21115 version_type=darwin
21118 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
21119 soname_spec='${libname}${release}${major}$shared_ext'
21120 shlibpath_overrides_runpath=yes
21121 shlibpath_var=DYLD_LIBRARY_PATH
21122 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
21124 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
21128 version_type=linux # correct to gnu/linux during the next big refactor
21131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
21132 soname_spec='${libname}${release}${shared_ext}$major'
21133 shlibpath_var=LD_LIBRARY_PATH
21136 freebsd* | dragonfly*)
21137 # DragonFly does not have aout. When/if they implement a new
21138 # versioning mechanism, adjust this.
21139 if test -x /usr/bin/objformat; then
21140 objformat=`/usr/bin/objformat`
21143 freebsd[23].*) objformat=aout ;;
21144 *) objformat=elf ;;
21147 version_type=freebsd-$objformat
21148 case $version_type in
21150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21155 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
21159 shlibpath_var=LD_LIBRARY_PATH
21162 shlibpath_overrides_runpath=yes
21164 freebsd3.[01]* | freebsdelf3.[01]*)
21165 shlibpath_overrides_runpath=yes
21166 hardcode_into_libs=yes
21168 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
21169 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
21170 shlibpath_overrides_runpath=no
21171 hardcode_into_libs=yes
21173 *) # from 4.6 on, and DragonFly
21174 shlibpath_overrides_runpath=yes
21175 hardcode_into_libs=yes
21181 version_type=linux # correct to gnu/linux during the next big refactor
21184 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
21185 soname_spec='${libname}${release}${shared_ext}$major'
21186 shlibpath_var=LD_LIBRARY_PATH
21187 shlibpath_overrides_runpath=no
21188 hardcode_into_libs=yes
21192 version_type=linux # correct to gnu/linux during the next big refactor
21195 dynamic_linker="$host_os runtime_loader"
21196 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
21197 soname_spec='${libname}${release}${shared_ext}$major'
21198 shlibpath_var=LIBRARY_PATH
21199 shlibpath_overrides_runpath=yes
21200 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
21201 hardcode_into_libs=yes
21204 hpux9* | hpux10* | hpux11*)
21205 # Give a soname corresponding to the major version so that dld.sl refuses to
21206 # link against other versions.
21213 hardcode_into_libs=yes
21214 dynamic_linker="$host_os dld.so"
21215 shlibpath_var=LD_LIBRARY_PATH
21216 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21218 soname_spec='${libname}${release}${shared_ext}$major'
21219 if test "X$HPUX_IA64_MODE" = X32; then
21220 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
21222 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
21224 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21228 hardcode_into_libs=yes
21229 dynamic_linker="$host_os dld.sl"
21230 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
21231 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
21232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21233 soname_spec='${libname}${release}${shared_ext}$major'
21234 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
21235 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
21239 dynamic_linker="$host_os dld.sl"
21240 shlibpath_var=SHLIB_PATH
21241 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
21242 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21243 soname_spec='${libname}${release}${shared_ext}$major'
21246 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
21247 postinstall_cmds='chmod 555 $lib'
21248 # or fails outright, so override atomically:
21249 install_override_mode=555
21253 version_type=linux # correct to gnu/linux during the next big refactor
21256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21257 soname_spec='${libname}${release}${shared_ext}$major'
21258 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
21259 shlibpath_var=LD_LIBRARY_PATH
21260 shlibpath_overrides_runpath=no
21261 hardcode_into_libs=yes
21264 irix5* | irix6* | nonstopux*)
21266 nonstopux*) version_type=nonstopux ;;
21268 if test "$lt_cv_prog_gnu_ld" = yes; then
21269 version_type=linux # correct to gnu/linux during the next big refactor
21276 soname_spec='${libname}${release}${shared_ext}$major'
21277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
21279 irix5* | nonstopux*)
21280 libsuff= shlibsuff=
21283 case $LD in # libtool.m4 will add one of these switches to LD
21284 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
21285 libsuff= shlibsuff= libmagic=32-bit;;
21286 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
21287 libsuff=32 shlibsuff=N32 libmagic=N32;;
21288 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
21289 libsuff=64 shlibsuff=64 libmagic=64-bit;;
21290 *) libsuff= shlibsuff= libmagic=never-match;;
21294 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
21295 shlibpath_overrides_runpath=no
21296 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
21297 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
21298 hardcode_into_libs=yes
21301 # No shared lib support for Linux oldld, aout, or coff.
21302 linux*oldld* | linux*aout* | linux*coff*)
21306 # This must be glibc/ELF.
21307 linux* | k*bsd*-gnu | kopensolaris*-gnu)
21308 version_type=linux # correct to gnu/linux during the next big refactor
21311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21312 soname_spec='${libname}${release}${shared_ext}$major'
21313 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
21314 shlibpath_var=LD_LIBRARY_PATH
21315 shlibpath_overrides_runpath=no
21317 # Some binutils ld are patched to set DT_RUNPATH
21318 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
21319 $as_echo_n "(cached) " >&6
21321 lt_cv_shlibpath_overrides_runpath=no
21322 save_LDFLAGS=$LDFLAGS
21323 save_libdir=$libdir
21324 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
21325 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
21326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21327 /* end confdefs.h. */
21337 if ac_fn_cxx_try_link "$LINENO"; then :
21338 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
21339 lt_cv_shlibpath_overrides_runpath=yes
21342 rm -f core conftest.err conftest.$ac_objext \
21343 conftest$ac_exeext conftest.$ac_ext
21344 LDFLAGS=$save_LDFLAGS
21345 libdir=$save_libdir
21349 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
21351 # This implies no fast_install, which is unacceptable.
21352 # Some rework will be needed to allow for fast_install
21353 # before this can be enabled.
21354 hardcode_into_libs=yes
21356 # Append ld.so.conf contents to the search path
21357 if test -f /etc/ld.so.conf; then
21358 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' ' '`
21359 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
21362 # We used to test for /lib/ld.so.1 and disable shared libraries on
21363 # powerpc, because MkLinux only supported shared libraries with the
21364 # GNU dynamic linker. Since this was broken with cross compilers,
21365 # most powerpc-linux boxes support dynamic linking these days and
21366 # people can always --disable-shared, the test was removed, and we
21367 # assume the GNU/Linux dynamic linker is in use.
21368 dynamic_linker='GNU/Linux ld.so'
21375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21376 soname_spec='${libname}${release}${shared_ext}$major'
21377 shlibpath_var=LD_LIBRARY_PATH
21378 shlibpath_overrides_runpath=no
21379 hardcode_into_libs=yes
21380 dynamic_linker='NetBSD ld.elf_so'
21387 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
21388 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21389 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21390 dynamic_linker='NetBSD (a.out) ld.so'
21392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
21393 soname_spec='${libname}${release}${shared_ext}$major'
21394 dynamic_linker='NetBSD ld.elf_so'
21396 shlibpath_var=LD_LIBRARY_PATH
21397 shlibpath_overrides_runpath=yes
21398 hardcode_into_libs=yes
21402 version_type=linux # correct to gnu/linux during the next big refactor
21403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21404 shlibpath_var=LD_LIBRARY_PATH
21405 shlibpath_overrides_runpath=yes
21412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21413 soname_spec='${libname}${release}${shared_ext}$major'
21414 shlibpath_var=LD_LIBRARY_PATH
21415 shlibpath_overrides_runpath=no
21416 hardcode_into_libs=yes
21417 dynamic_linker='ldqnx.so'
21422 sys_lib_dlsearch_path_spec="/usr/lib"
21424 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
21426 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
21427 *) need_version=no ;;
21429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21430 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
21431 shlibpath_var=LD_LIBRARY_PATH
21432 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
21434 openbsd2.[89] | openbsd2.[89].*)
21435 shlibpath_overrides_runpath=no
21438 shlibpath_overrides_runpath=yes
21442 shlibpath_overrides_runpath=yes
21447 libname_spec='$name'
21450 library_names_spec='$libname${shared_ext} $libname.a'
21451 dynamic_linker='OS/2 ld.exe'
21452 shlibpath_var=LIBPATH
21455 osf3* | osf4* | osf5*)
21459 soname_spec='${libname}${release}${shared_ext}$major'
21460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21461 shlibpath_var=LD_LIBRARY_PATH
21462 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
21463 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
21471 version_type=linux # correct to gnu/linux during the next big refactor
21474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21475 soname_spec='${libname}${release}${shared_ext}$major'
21476 shlibpath_var=LD_LIBRARY_PATH
21477 shlibpath_overrides_runpath=yes
21478 hardcode_into_libs=yes
21479 # ldd complains unless libraries are executable
21480 postinstall_cmds='chmod +x $lib'
21485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
21486 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
21487 shlibpath_var=LD_LIBRARY_PATH
21488 shlibpath_overrides_runpath=yes
21489 if test "$with_gnu_ld" = yes; then
21496 version_type=linux # correct to gnu/linux during the next big refactor
21497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21498 soname_spec='${libname}${release}${shared_ext}$major'
21499 shlibpath_var=LD_LIBRARY_PATH
21500 case $host_vendor in
21502 shlibpath_overrides_runpath=no
21504 runpath_var=LD_RUN_PATH
21512 shlibpath_overrides_runpath=no
21513 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
21519 if test -d /usr/nec ;then
21520 version_type=linux # correct to gnu/linux during the next big refactor
21521 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
21522 soname_spec='$libname${shared_ext}.$major'
21523 shlibpath_var=LD_LIBRARY_PATH
21527 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
21528 version_type=freebsd-elf
21531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
21532 soname_spec='${libname}${release}${shared_ext}$major'
21533 shlibpath_var=LD_LIBRARY_PATH
21534 shlibpath_overrides_runpath=yes
21535 hardcode_into_libs=yes
21536 if test "$with_gnu_ld" = yes; then
21537 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
21539 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
21542 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
21546 sys_lib_dlsearch_path_spec='/usr/lib'
21550 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
21551 version_type=linux # correct to gnu/linux during the next big refactor
21554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21555 shlibpath_var=LD_LIBRARY_PATH
21556 shlibpath_overrides_runpath=no
21557 hardcode_into_libs=yes
21561 version_type=linux # correct to gnu/linux during the next big refactor
21562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
21563 soname_spec='${libname}${release}${shared_ext}$major'
21564 shlibpath_var=LD_LIBRARY_PATH
21571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
21572 $as_echo "$dynamic_linker" >&6; }
21573 test "$dynamic_linker" = no && can_build_shared=no
21575 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
21576 if test "$GCC" = yes; then
21577 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
21580 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
21581 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
21583 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
21584 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
21624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
21625 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
21626 hardcode_action_CXX=
21627 if test -n "$hardcode_libdir_flag_spec_CXX" ||
21628 test -n "$runpath_var_CXX" ||
21629 test "X$hardcode_automatic_CXX" = "Xyes" ; then
21631 # We can hardcode non-existent directories.
21632 if test "$hardcode_direct_CXX" != no &&
21633 # If the only mechanism to avoid hardcoding is shlibpath_var, we
21634 # have to relink, otherwise we might link with an installed library
21635 # when we should be linking with a yet-to-be-installed one
21636 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
21637 test "$hardcode_minus_L_CXX" != no; then
21638 # Linking always hardcodes the temporary library directory.
21639 hardcode_action_CXX=relink
21641 # We can link without hardcoding, and we can hardcode nonexisting dirs.
21642 hardcode_action_CXX=immediate
21645 # We cannot hardcode anything, or else we can only hardcode existing
21647 hardcode_action_CXX=unsupported
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
21650 $as_echo "$hardcode_action_CXX" >&6; }
21652 if test "$hardcode_action_CXX" = relink ||
21653 test "$inherit_rpath_CXX" = yes; then
21654 # Fast installation is not supported
21655 enable_fast_install=no
21656 elif test "$shlibpath_overrides_runpath" = yes ||
21657 test "$enable_shared" = no; then
21658 # Fast installation is not necessary
21659 enable_fast_install=needless
21668 fi # test -n "$compiler"
21671 CFLAGS=$lt_save_CFLAGS
21675 with_gnu_ld=$lt_save_with_gnu_ld
21676 lt_cv_path_LDCXX=$lt_cv_path_LD
21677 lt_cv_path_LD=$lt_save_path_LD
21678 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
21679 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
21680 fi # test "$_lt_caught_CXX_error" != yes
21683 ac_cpp='$CPP $CPPFLAGS'
21684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21689 # Extract the first word of "$CXX", so it can be a program name with args.
21690 set dummy $CXX; ac_word=$2
21691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21692 $as_echo_n "checking for $ac_word... " >&6; }
21693 if ${ac_cv_prog_HAVE_CXX+:} false; then :
21694 $as_echo_n "(cached) " >&6
21696 if test -n "$HAVE_CXX"; then
21697 ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
21699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21700 for as_dir in $PATH
21703 test -z "$as_dir" && as_dir=.
21704 for ac_exec_ext in '' $ac_executable_extensions; do
21705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21706 ac_cv_prog_HAVE_CXX="yes"
21707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21714 test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
21717 HAVE_CXX=$ac_cv_prog_HAVE_CXX
21718 if test -n "$HAVE_CXX"; then
21719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CXX" >&5
21720 $as_echo "$HAVE_CXX" >&6; }
21722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21723 $as_echo "no" >&6; }
21729 if test -n "$ac_tool_prefix"; then
21730 for ac_prog in objcc objc gcc cc CC
21732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
21733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21735 $as_echo_n "checking for $ac_word... " >&6; }
21736 if ${ac_cv_prog_OBJC+:} false; then :
21737 $as_echo_n "(cached) " >&6
21739 if test -n "$OBJC"; then
21740 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
21742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21743 for as_dir in $PATH
21746 test -z "$as_dir" && as_dir=.
21747 for ac_exec_ext in '' $ac_executable_extensions; do
21748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21749 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
21750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21759 OBJC=$ac_cv_prog_OBJC
21760 if test -n "$OBJC"; then
21761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
21762 $as_echo "$OBJC" >&6; }
21764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21765 $as_echo "no" >&6; }
21769 test -n "$OBJC" && break
21772 if test -z "$OBJC"; then
21774 for ac_prog in objcc objc gcc cc CC
21776 # Extract the first word of "$ac_prog", so it can be a program name with args.
21777 set dummy $ac_prog; ac_word=$2
21778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21779 $as_echo_n "checking for $ac_word... " >&6; }
21780 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
21781 $as_echo_n "(cached) " >&6
21783 if test -n "$ac_ct_OBJC"; then
21784 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
21786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21787 for as_dir in $PATH
21790 test -z "$as_dir" && as_dir=.
21791 for ac_exec_ext in '' $ac_executable_extensions; do
21792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21793 ac_cv_prog_ac_ct_OBJC="$ac_prog"
21794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21803 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
21804 if test -n "$ac_ct_OBJC"; then
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
21806 $as_echo "$ac_ct_OBJC" >&6; }
21808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21809 $as_echo "no" >&6; }
21813 test -n "$ac_ct_OBJC" && break
21816 if test "x$ac_ct_OBJC" = x; then
21819 case $cross_compiling:$ac_tool_warned in
21821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
21822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
21823 ac_tool_warned=yes ;;
21830 OBJC_LDFLAGS="-lobjc"
21832 if test "x$OBJC" != xnone ; then
21834 depcc="$OBJC" am_compiler_list='gcc3 gcc'
21836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
21837 $as_echo_n "checking dependency style of $depcc... " >&6; }
21838 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
21839 $as_echo_n "(cached) " >&6
21841 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
21842 # We make a subdir and do the tests there. Otherwise we can end up
21843 # making bogus files that we don't know about and never remove. For
21844 # instance it was reported that on HP-UX the gcc test will end up
21845 # making a dummy file named `D' -- because `-MD' means `put the output
21847 rm -rf conftest.dir
21849 # Copy depcomp to subdir because otherwise we won't find it if we're
21850 # using a relative directory.
21851 cp "$am_depcomp" conftest.dir
21853 # We will build objects and dependencies in a subdirectory because
21854 # it helps to detect inapplicable dependency modes. For instance
21855 # both Tru64's cc and ICC support -MD to output dependencies as a
21856 # side effect of compilation, but ICC will put the dependencies in
21857 # the current directory while Tru64 will put them in the object
21861 am_cv_OBJC_dependencies_compiler_type=none
21862 if test "$am_compiler_list" = ""; then
21863 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
21865 am__universal=false
21868 for depmode in $am_compiler_list; do
21869 # Setup a source with many dependencies, because some compilers
21870 # like to wrap large dependency lists on column 80 (with \), and
21871 # we should not choose a depcomp mode which is confused by this.
21873 # We need to recreate these files for each test, as the compiler may
21874 # overwrite some of them when testing with obscure command lines.
21875 # This happens at least with the AIX C compiler.
21877 for i in 1 2 3 4 5 6; do
21878 echo '#include "conftst'$i'.h"' >> sub/conftest.c
21879 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
21880 # Solaris 8's {/usr,}/bin/sh.
21881 touch sub/conftst$i.h
21883 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
21885 # We check with `-c' and `-o' for the sake of the "dashmstdout"
21886 # mode. It turns out that the SunPro C++ compiler does not properly
21887 # handle `-M -o', and we need to detect this. Also, some Intel
21888 # versions had trouble with output in subdirs
21889 am__obj=sub/conftest.${OBJEXT-o}
21890 am__minus_obj="-o $am__obj"
21893 # This depmode causes a compiler race in universal mode.
21894 test "$am__universal" = false || continue
21897 # after this tag, mechanisms are not by side-effect, so they'll
21898 # only be used when explicitly requested
21899 if test "x$enable_dependency_tracking" = xyes; then
21905 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
21906 # This compiler won't grok `-c -o', but also, the minuso test has
21907 # not run yet. These depmodes are late enough in the game, and
21908 # so weak that their functioning should not be impacted.
21909 am__obj=conftest.${OBJEXT-o}
21914 if depmode=$depmode \
21915 source=sub/conftest.c object=$am__obj \
21916 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
21917 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
21918 >/dev/null 2>conftest.err &&
21919 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
21920 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
21921 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
21922 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
21923 # icc doesn't choke on unknown options, it will just issue warnings
21924 # or remarks (even with -Werror). So we grep stderr for any message
21925 # that says an option was ignored or not supported.
21926 # When given -MP, icc 7.0 and 7.1 complain thusly:
21927 # icc: Command line warning: ignoring option '-M'; no argument required
21928 # The diagnosis changed in icc 8.0:
21929 # icc: Command line remark: option '-MP' not supported
21930 if (grep 'ignoring option' conftest.err ||
21931 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
21932 am_cv_OBJC_dependencies_compiler_type=$depmode
21939 rm -rf conftest.dir
21941 am_cv_OBJC_dependencies_compiler_type=none
21945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
21946 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
21947 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
21950 test "x$enable_dependency_tracking" != xno \
21951 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
21952 am__fastdepOBJC_TRUE=
21953 am__fastdepOBJC_FALSE='#'
21955 am__fastdepOBJC_TRUE='#'
21956 am__fastdepOBJC_FALSE=
21960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Objective C compiler works" >&5
21961 $as_echo_n "checking if Objective C compiler works... " >&6; }
21962 cat >>conftest.m <<EOF
21963 #include <objc/Object.h>
21964 @interface Moo:Object
21971 @implementation Moo
21986 ${OBJC} conftest.m ${OBJC_LDFLAGS} >&5 2>&5
21987 if test -f a.out -o -f a.exe ; then
21991 echo failed program is: >&5
21994 rm -f conftest.m a.out a.exe
21995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
21996 $as_echo "$result" >&6; }
21999 depcc="$OBJC" am_compiler_list='gcc3 gcc'
22001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
22002 $as_echo_n "checking dependency style of $depcc... " >&6; }
22003 if ${am_cv_OBJC_dependencies_compiler_type+:} false; then :
22004 $as_echo_n "(cached) " >&6
22006 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
22007 # We make a subdir and do the tests there. Otherwise we can end up
22008 # making bogus files that we don't know about and never remove. For
22009 # instance it was reported that on HP-UX the gcc test will end up
22010 # making a dummy file named `D' -- because `-MD' means `put the output
22012 rm -rf conftest.dir
22014 # Copy depcomp to subdir because otherwise we won't find it if we're
22015 # using a relative directory.
22016 cp "$am_depcomp" conftest.dir
22018 # We will build objects and dependencies in a subdirectory because
22019 # it helps to detect inapplicable dependency modes. For instance
22020 # both Tru64's cc and ICC support -MD to output dependencies as a
22021 # side effect of compilation, but ICC will put the dependencies in
22022 # the current directory while Tru64 will put them in the object
22026 am_cv_OBJC_dependencies_compiler_type=none
22027 if test "$am_compiler_list" = ""; then
22028 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
22030 am__universal=false
22033 for depmode in $am_compiler_list; do
22034 # Setup a source with many dependencies, because some compilers
22035 # like to wrap large dependency lists on column 80 (with \), and
22036 # we should not choose a depcomp mode which is confused by this.
22038 # We need to recreate these files for each test, as the compiler may
22039 # overwrite some of them when testing with obscure command lines.
22040 # This happens at least with the AIX C compiler.
22042 for i in 1 2 3 4 5 6; do
22043 echo '#include "conftst'$i'.h"' >> sub/conftest.c
22044 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
22045 # Solaris 8's {/usr,}/bin/sh.
22046 touch sub/conftst$i.h
22048 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
22050 # We check with `-c' and `-o' for the sake of the "dashmstdout"
22051 # mode. It turns out that the SunPro C++ compiler does not properly
22052 # handle `-M -o', and we need to detect this. Also, some Intel
22053 # versions had trouble with output in subdirs
22054 am__obj=sub/conftest.${OBJEXT-o}
22055 am__minus_obj="-o $am__obj"
22058 # This depmode causes a compiler race in universal mode.
22059 test "$am__universal" = false || continue
22062 # after this tag, mechanisms are not by side-effect, so they'll
22063 # only be used when explicitly requested
22064 if test "x$enable_dependency_tracking" = xyes; then
22070 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
22071 # This compiler won't grok `-c -o', but also, the minuso test has
22072 # not run yet. These depmodes are late enough in the game, and
22073 # so weak that their functioning should not be impacted.
22074 am__obj=conftest.${OBJEXT-o}
22079 if depmode=$depmode \
22080 source=sub/conftest.c object=$am__obj \
22081 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
22082 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
22083 >/dev/null 2>conftest.err &&
22084 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
22085 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
22086 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
22087 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
22088 # icc doesn't choke on unknown options, it will just issue warnings
22089 # or remarks (even with -Werror). So we grep stderr for any message
22090 # that says an option was ignored or not supported.
22091 # When given -MP, icc 7.0 and 7.1 complain thusly:
22092 # icc: Command line warning: ignoring option '-M'; no argument required
22093 # The diagnosis changed in icc 8.0:
22094 # icc: Command line remark: option '-MP' not supported
22095 if (grep 'ignoring option' conftest.err ||
22096 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
22097 am_cv_OBJC_dependencies_compiler_type=$depmode
22104 rm -rf conftest.dir
22106 am_cv_OBJC_dependencies_compiler_type=none
22110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
22111 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
22112 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
22115 test "x$enable_dependency_tracking" != xno \
22116 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
22117 am__fastdepOBJC_TRUE=
22118 am__fastdepOBJC_FALSE='#'
22120 am__fastdepOBJC_TRUE='#'
22121 am__fastdepOBJC_FALSE=
22129 if test "x$CC" != xcc; then
22130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
22131 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
22133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
22134 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
22136 set dummy $CC; ac_cc=`$as_echo "$2" |
22137 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
22138 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
22139 $as_echo_n "(cached) " >&6
22141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22142 /* end confdefs.h. */
22152 # Make sure it works both with $CC and with simple cc.
22153 # We do the test twice because some compilers refuse to overwrite an
22154 # existing .o file with -o, though they will create one.
22155 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
22157 if { { case "(($ac_try" in
22158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22159 *) ac_try_echo=$ac_try;;
22161 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
22162 $as_echo "$ac_try_echo"; } >&5
22163 (eval "$ac_try") 2>&5
22165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22166 test $ac_status = 0; } &&
22167 test -f conftest2.$ac_objext && { { case "(($ac_try" in
22168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22169 *) ac_try_echo=$ac_try;;
22171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
22172 $as_echo "$ac_try_echo"; } >&5
22173 (eval "$ac_try") 2>&5
22175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22176 test $ac_status = 0; };
22178 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
22179 if test "x$CC" != xcc; then
22180 # Test first that cc exists at all.
22181 if { ac_try='cc -c conftest.$ac_ext >&5'
22182 { { case "(($ac_try" in
22183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22184 *) ac_try_echo=$ac_try;;
22186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
22187 $as_echo "$ac_try_echo"; } >&5
22188 (eval "$ac_try") 2>&5
22190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22191 test $ac_status = 0; }; }; then
22192 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
22194 if { { case "(($ac_try" in
22195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22196 *) ac_try_echo=$ac_try;;
22198 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
22199 $as_echo "$ac_try_echo"; } >&5
22200 (eval "$ac_try") 2>&5
22202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22203 test $ac_status = 0; } &&
22204 test -f conftest2.$ac_objext && { { case "(($ac_try" in
22205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22206 *) ac_try_echo=$ac_try;;
22208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
22209 $as_echo "$ac_try_echo"; } >&5
22210 (eval "$ac_try") 2>&5
22212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22213 test $ac_status = 0; };
22218 # cc exists but doesn't like -o.
22219 eval ac_cv_prog_cc_${ac_cc}_c_o=no
22224 eval ac_cv_prog_cc_${ac_cc}_c_o=no
22226 rm -f core conftest*
22229 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
22230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22231 $as_echo "yes" >&6; }
22233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22234 $as_echo "no" >&6; }
22236 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
22240 # FIXME: we rely on the cache variable name because
22241 # there is no other way.
22243 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
22244 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
22245 if test "$am_t" != yes; then
22246 # Losing compiler, so override with the script.
22247 # FIXME: It is wrong to rewrite CC.
22248 # But if we don't then we get into trouble of one sort or another.
22249 # A longer-term fix would be to have automake use am__CC in this case,
22250 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
22251 CC="$am_aux_dir/compile $CC"
22258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working do while(0) macros" >&5
22259 $as_echo_n "checking for working do while(0) macros... " >&6; }
22260 if ${_cv_g_support_dowhile_macros+:} false; then :
22261 $as_echo_n "(cached) " >&6
22264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22265 /* end confdefs.h. */
22271 #define STMT_START do
22272 #define STMT_END while(0)
22273 #define STMT_TEST STMT_START { i = 0; } STMT_END
22274 int main(void) { int i = 1; STMT_TEST; return i; }
22279 if ac_fn_c_try_compile "$LINENO"; then :
22280 _cv_g_support_dowhile_macros=yes
22282 _cv_g_support_dowhile_macros=no
22284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_g_support_dowhile_macros" >&5
22288 $as_echo "$_cv_g_support_dowhile_macros" >&6; }
22289 if test x$_cv_g_support_dowhile_macros = xyes; then
22291 $as_echo "#define HAVE_DOWHILE_MACROS 1" >>confdefs.h
22296 # Extract the first word of "valgrind", so it can be a program name with args.
22297 set dummy valgrind; ac_word=$2
22298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22299 $as_echo_n "checking for $ac_word... " >&6; }
22300 if ${ac_cv_path_VALGRIND_PATH+:} false; then :
22301 $as_echo_n "(cached) " >&6
22303 case $VALGRIND_PATH in
22305 ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
22308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22309 for as_dir in $PATH
22312 test -z "$as_dir" && as_dir=.
22313 for ac_exec_ext in '' $ac_executable_extensions; do
22314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22315 ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
22316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22323 test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
22327 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
22328 if test -n "$VALGRIND_PATH"; then
22329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
22330 $as_echo "$VALGRIND_PATH" >&6; }
22332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22333 $as_echo "no" >&6; }
22337 if test ! "x$VALGRIND_PATH" = "xno"; then
22338 HAVE_VALGRIND_TRUE=
22339 HAVE_VALGRIND_FALSE='#'
22341 HAVE_VALGRIND_TRUE='#'
22342 HAVE_VALGRIND_FALSE=
22348 # Check whether --with-html-dir was given.
22349 if test "${with_html_dir+set}" = set; then :
22350 withval=$with_html_dir;
22352 with_html_dir='${datadir}/gtk-doc/html'
22355 HTML_DIR="$with_html_dir"
22358 # Check whether --enable-gtk-doc was given.
22359 if test "${enable_gtk_doc+set}" = set; then :
22360 enableval=$enable_gtk_doc;
22366 if test x$enable_gtk_doc = xyes; then
22367 if test -n "$PKG_CONFIG" && \
22368 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5
22369 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5
22371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22372 test $ac_status = 0; }; then
22375 as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build gtk-doc" "$LINENO" 5
22377 if test -z "$SED"; then
22378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
22379 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
22380 if ${ac_cv_path_SED+:} false; then :
22381 $as_echo_n "(cached) " >&6
22383 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
22384 for ac_i in 1 2 3 4 5 6 7; do
22385 ac_script="$ac_script$as_nl$ac_script"
22387 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
22388 { ac_script=; unset ac_script;}
22389 if test -z "$SED"; then
22390 ac_path_SED_found=false
22391 # Loop through the user's path and test for each of PROGNAME-LIST
22392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22393 for as_dir in $PATH
22396 test -z "$as_dir" && as_dir=.
22397 for ac_prog in sed gsed; do
22398 for ac_exec_ext in '' $ac_executable_extensions; do
22399 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
22400 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
22401 # Check for GNU ac_path_SED and select it if it is found.
22402 # Check for GNU $ac_path_SED
22403 case `"$ac_path_SED" --version 2>&1` in
22405 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
22408 $as_echo_n 0123456789 >"conftest.in"
22411 cat "conftest.in" "conftest.in" >"conftest.tmp"
22412 mv "conftest.tmp" "conftest.in"
22413 cp "conftest.in" "conftest.nl"
22414 $as_echo '' >> "conftest.nl"
22415 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
22416 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
22417 as_fn_arith $ac_count + 1 && ac_count=$as_val
22418 if test $ac_count -gt ${ac_path_SED_max-0}; then
22419 # Best one so far, save it but keep looking for a better one
22420 ac_cv_path_SED="$ac_path_SED"
22421 ac_path_SED_max=$ac_count
22423 # 10*(2^10) chars as input seems more than enough
22424 test $ac_count -gt 10 && break
22426 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
22429 $ac_path_SED_found && break 3
22434 if test -z "$ac_cv_path_SED"; then
22435 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
22438 ac_cv_path_SED=$SED
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
22443 $as_echo "$ac_cv_path_SED" >&6; }
22444 SED="$ac_cv_path_SED"
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
22451 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
22452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
22453 $as_echo "$enable_gtk_doc" >&6; }
22455 for ac_prog in gtkdoc-check
22457 # Extract the first word of "$ac_prog", so it can be a program name with args.
22458 set dummy $ac_prog; ac_word=$2
22459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22460 $as_echo_n "checking for $ac_word... " >&6; }
22461 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
22462 $as_echo_n "(cached) " >&6
22464 case $GTKDOC_CHECK in
22466 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
22469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22470 for as_dir in $PATH
22473 test -z "$as_dir" && as_dir=.
22474 for ac_exec_ext in '' $ac_executable_extensions; do
22475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22476 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
22477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22487 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
22488 if test -n "$GTKDOC_CHECK"; then
22489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
22490 $as_echo "$GTKDOC_CHECK" >&6; }
22492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22493 $as_echo "no" >&6; }
22497 test -n "$GTKDOC_CHECK" && break
22501 if test x$enable_gtk_doc = xyes; then
22502 ENABLE_GTK_DOC_TRUE=
22503 ENABLE_GTK_DOC_FALSE='#'
22505 ENABLE_GTK_DOC_TRUE='#'
22506 ENABLE_GTK_DOC_FALSE=
22509 if test -n "$LIBTOOL"; then
22510 GTK_DOC_USE_LIBTOOL_TRUE=
22511 GTK_DOC_USE_LIBTOOL_FALSE='#'
22513 GTK_DOC_USE_LIBTOOL_TRUE='#'
22514 GTK_DOC_USE_LIBTOOL_FALSE=
22520 PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
22521 python1.6 python1.5"
22523 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5
22524 $as_echo "$as_me: Looking for Python version >= 2.1" >&6;}
22528 # split string by '.' and convert to numeric
22529 minver_info = map(string.atoi, string.split(minver, '.'))
22530 # we can now do comparisons on the two lists:
22531 if sys.version_info >= tuple(minver_info):
22537 for python_candidate in $PYTHON_CANDIDATES; do
22539 # Extract the first word of "$python_candidate", so it can be a program name with args.
22540 set dummy $python_candidate; ac_word=$2
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22542 $as_echo_n "checking for $ac_word... " >&6; }
22543 if ${ac_cv_path_PYTHON+:} false; then :
22544 $as_echo_n "(cached) " >&6
22548 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
22551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22552 for as_dir in $PATH
22555 test -z "$as_dir" && as_dir=.
22556 for ac_exec_ext in '' $ac_executable_extensions; do
22557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22558 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
22559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22569 PYTHON=$ac_cv_path_PYTHON
22570 if test -n "$PYTHON"; then
22571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
22572 $as_echo "$PYTHON" >&6; }
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22575 $as_echo "no" >&6; }
22578 1> /dev/null 2> /dev/null
22580 if test "x$PYTHON" = "x"; then continue; fi
22582 if $PYTHON -c "$prog" 1>&5 2>&5; then
22583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5
22584 $as_echo_n "checking \"$PYTHON\":... " >&6; }
22585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
22586 $as_echo "okay" >&6; }
22590 unset ac_cv_path_PYTHON
22595 if test "$python_good" != "true"; then
22596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5
22597 $as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
22601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5
22602 $as_echo_n "checking local Python configuration... " >&6; }
22606 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
22611 PYTHON_PREFIX='${prefix}'
22614 PYTHON_EXEC_PREFIX='${exec_prefix}'
22618 PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
22624 pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
22628 pkgpythondir=\${pythondir}/$PACKAGE
22632 pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
22636 pkgpyexecdir=\${pyexecdir}/$PACKAGE
22638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5
22639 $as_echo "looks good" >&6; }
22645 build_plugin_docs=no
22646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5
22647 $as_echo_n "checking whether to build plugin documentation... " >&6; }
22648 if test x$enable_gtk_doc = xyes; then
22649 build_plugin_docs=yes
22650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22651 $as_echo "yes" >&6; }
22653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5
22654 $as_echo "no (gtk-doc disabled or not available)" >&6; }
22657 if test x$build_plugin_docs = xyes; then
22658 ENABLE_PLUGIN_DOCS_TRUE=
22659 ENABLE_PLUGIN_DOCS_FALSE='#'
22661 ENABLE_PLUGIN_DOCS_TRUE='#'
22662 ENABLE_PLUGIN_DOCS_FALSE=
22670 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
22671 # These system don't have libm, or don't need it
22674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
22675 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
22676 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
22677 $as_echo_n "(cached) " >&6
22679 ac_check_lib_save_LIBS=$LIBS
22681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22682 /* end confdefs.h. */
22684 /* Override any GCC internal prototype to avoid an error.
22685 Use char because int might match the return type of a GCC
22686 builtin and then its argument prototype would still apply. */
22690 char _mwvalidcheckl ();
22694 return _mwvalidcheckl ();
22699 if ac_fn_c_try_link "$LINENO"; then :
22700 ac_cv_lib_mw__mwvalidcheckl=yes
22702 ac_cv_lib_mw__mwvalidcheckl=no
22704 rm -f core conftest.err conftest.$ac_objext \
22705 conftest$ac_exeext conftest.$ac_ext
22706 LIBS=$ac_check_lib_save_LIBS
22708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
22709 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
22710 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
22714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
22715 $as_echo_n "checking for cos in -lm... " >&6; }
22716 if ${ac_cv_lib_m_cos+:} false; then :
22717 $as_echo_n "(cached) " >&6
22719 ac_check_lib_save_LIBS=$LIBS
22721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22722 /* end confdefs.h. */
22724 /* Override any GCC internal prototype to avoid an error.
22725 Use char because int might match the return type of a GCC
22726 builtin and then its argument prototype would still apply. */
22739 if ac_fn_c_try_link "$LINENO"; then :
22740 ac_cv_lib_m_cos=yes
22744 rm -f core conftest.err conftest.$ac_objext \
22745 conftest$ac_exeext conftest.$ac_ext
22746 LIBS=$ac_check_lib_save_LIBS
22748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
22749 $as_echo "$ac_cv_lib_m_cos" >&6; }
22750 if test "x$ac_cv_lib_m_cos" = xyes; then :
22756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
22757 $as_echo_n "checking for cos in -lm... " >&6; }
22758 if ${ac_cv_lib_m_cos+:} false; then :
22759 $as_echo_n "(cached) " >&6
22761 ac_check_lib_save_LIBS=$LIBS
22763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22764 /* end confdefs.h. */
22766 /* Override any GCC internal prototype to avoid an error.
22767 Use char because int might match the return type of a GCC
22768 builtin and then its argument prototype would still apply. */
22781 if ac_fn_c_try_link "$LINENO"; then :
22782 ac_cv_lib_m_cos=yes
22786 rm -f core conftest.err conftest.$ac_objext \
22787 conftest$ac_exeext conftest.$ac_ext
22788 LIBS=$ac_check_lib_save_LIBS
22790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
22791 $as_echo "$ac_cv_lib_m_cos" >&6; }
22792 if test "x$ac_cv_lib_m_cos" = xyes; then :
22805 for ac_header in $ac_header_list
22807 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22808 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
22810 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22811 cat >>confdefs.h <<_ACEOF
22812 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22826 for ac_func in getpagesize
22828 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
22829 if test "x$ac_cv_func_getpagesize" = xyes; then :
22830 cat >>confdefs.h <<_ACEOF
22831 #define HAVE_GETPAGESIZE 1
22837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
22838 $as_echo_n "checking for working mmap... " >&6; }
22839 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
22840 $as_echo_n "(cached) " >&6
22842 if test "$cross_compiling" = yes; then :
22843 ac_cv_func_mmap_fixed_mapped=no
22845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22846 /* end confdefs.h. */
22847 $ac_includes_default
22848 /* malloc might have been renamed as rpl_malloc. */
22851 /* Thanks to Mike Haertel and Jim Avera for this test.
22852 Here is a matrix of mmap possibilities:
22853 mmap private not fixed
22854 mmap private fixed at somewhere currently unmapped
22855 mmap private fixed at somewhere already mapped
22856 mmap shared not fixed
22857 mmap shared fixed at somewhere currently unmapped
22858 mmap shared fixed at somewhere already mapped
22859 For private mappings, we should verify that changes cannot be read()
22860 back from the file, nor mmap's back from the file at a different
22861 address. (There have been systems where private was not correctly
22862 implemented like the infamous i386 svr4.0, and systems where the
22863 VM page cache was not coherent with the file system buffer cache
22864 like early versions of FreeBSD and possibly contemporary NetBSD.)
22865 For shared mappings, we should conversely verify that changes get
22866 propagated back to all the places they're supposed to be.
22868 Grep wants private fixed already mapped.
22869 The main things grep needs to know about mmap are:
22870 * does it exist and is it safe to write into the mmap'd area
22871 * how to use it (BSD variants) */
22874 #include <sys/mman.h>
22876 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
22880 /* This mess was copied from the GNU getpagesize.h. */
22881 #ifndef HAVE_GETPAGESIZE
22882 # ifdef _SC_PAGESIZE
22883 # define getpagesize() sysconf(_SC_PAGESIZE)
22884 # else /* no _SC_PAGESIZE */
22885 # ifdef HAVE_SYS_PARAM_H
22886 # include <sys/param.h>
22887 # ifdef EXEC_PAGESIZE
22888 # define getpagesize() EXEC_PAGESIZE
22889 # else /* no EXEC_PAGESIZE */
22891 # define getpagesize() NBPG * CLSIZE
22894 # endif /* no CLSIZE */
22895 # else /* no NBPG */
22897 # define getpagesize() NBPC
22898 # else /* no NBPC */
22900 # define getpagesize() PAGESIZE
22901 # endif /* PAGESIZE */
22902 # endif /* no NBPC */
22903 # endif /* no NBPG */
22904 # endif /* no EXEC_PAGESIZE */
22905 # else /* no HAVE_SYS_PARAM_H */
22906 # define getpagesize() 8192 /* punt totally */
22907 # endif /* no HAVE_SYS_PARAM_H */
22908 # endif /* no _SC_PAGESIZE */
22910 #endif /* no HAVE_GETPAGESIZE */
22915 char *data, *data2, *data3;
22916 const char *cdata2;
22920 pagesize = getpagesize ();
22922 /* First, make a file with some known garbage in it. */
22923 data = (char *) malloc (pagesize);
22926 for (i = 0; i < pagesize; ++i)
22927 *(data + i) = rand ();
22929 fd = creat ("conftest.mmap", 0600);
22932 if (write (fd, data, pagesize) != pagesize)
22936 /* Next, check that the tail of a page is zero-filled. File must have
22937 non-zero length, otherwise we risk SIGBUS for entire page. */
22938 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
22942 if (write (fd2, cdata2, 1) != 1)
22944 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
22945 if (data2 == MAP_FAILED)
22947 for (i = 0; i < pagesize; ++i)
22951 if (munmap (data2, pagesize))
22954 /* Next, try to mmap the file at a fixed address which already has
22955 something else allocated at it. If we can, also make sure that
22956 we see the same garbage. */
22957 fd = open ("conftest.mmap", O_RDWR);
22960 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22961 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22963 for (i = 0; i < pagesize; ++i)
22964 if (*(data + i) != *(data2 + i))
22967 /* Finally, make sure that changes to the mapped area do not
22968 percolate back to the file as seen by read(). (This is a bug on
22969 some variants of i386 svr4.0.) */
22970 for (i = 0; i < pagesize; ++i)
22971 *(data2 + i) = *(data2 + i) + 1;
22972 data3 = (char *) malloc (pagesize);
22975 if (read (fd, data3, pagesize) != pagesize)
22977 for (i = 0; i < pagesize; ++i)
22978 if (*(data + i) != *(data3 + i))
22984 if ac_fn_c_try_run "$LINENO"; then :
22985 ac_cv_func_mmap_fixed_mapped=yes
22987 ac_cv_func_mmap_fixed_mapped=no
22989 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22990 conftest.$ac_objext conftest.beam conftest.$ac_ext
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
22995 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
22996 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22998 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
23001 rm -f conftest.mmap conftest.txt
23005 for ac_header in unistd.h
23007 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
23008 if test "x$ac_cv_header_unistd_h" = xyes; then :
23009 cat >>confdefs.h <<_ACEOF
23010 #define HAVE_UNISTD_H 1
23017 if test "x$HAVE_UNISTD_H" = "xyes"; then
23018 HAVE_UNISTD_H_TRUE=
23019 HAVE_UNISTD_H_FALSE='#'
23021 HAVE_UNISTD_H_TRUE='#'
23022 HAVE_UNISTD_H_FALSE=
23026 if test "x$HAVE_UNISTD_H" != "xyes"; then
23027 GST_PLUGINS_SELECTED=`echo $GST_PLUGINS_SELECTED | $SED -e s/festival//`
23030 for ac_header in sys/time.h
23032 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
23033 if test "x$ac_cv_header_sys_time_h" = xyes; then :
23034 cat >>confdefs.h <<_ACEOF
23035 #define HAVE_SYS_TIME_H 1
23043 # ------ AX CREATE STDINT H -------------------------------------
23044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
23045 $as_echo_n "checking for stdint types... " >&6; }
23046 ac_stdint_h=`echo _stdint.h`
23047 # try to shortcircuit - if the default include path of the compiler
23048 # can find a "stdint.h" header then we assume that all compilers can.
23049 if ${ac_cv_header_stdint_t+:} false; then :
23050 $as_echo_n "(cached) " >&6
23053 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
23054 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
23055 old_CFLAGS="$CFLAGS" ; CFLAGS=""
23056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23057 /* end confdefs.h. */
23058 #include <stdint.h>
23062 int_least32_t v = 0;
23067 if ac_fn_c_try_compile "$LINENO"; then :
23068 ac_cv_stdint_result="(assuming C99 compatible system)"
23069 ac_cv_header_stdint_t="stdint.h";
23071 ac_cv_header_stdint_t=""
23073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23074 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
23076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23077 /* end confdefs.h. */
23078 #include <stdint.h>
23082 int_least32_t v = 0;
23087 if ac_fn_c_try_compile "$LINENO"; then :
23088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
23089 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
23091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23093 CXXFLAGS="$old_CXXFLAGS"
23094 CPPFLAGS="$old_CPPFLAGS"
23095 CFLAGS="$old_CFLAGS"
23099 v="... $ac_cv_header_stdint_h"
23100 if test "$ac_stdint_h" = "stdint.h" ; then
23101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
23102 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
23103 elif test "$ac_stdint_h" = "inttypes.h" ; then
23104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
23105 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
23106 elif test "_$ac_cv_header_stdint_t" = "_" ; then
23107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
23108 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
23110 ac_cv_header_stdint="$ac_cv_header_stdint_t"
23111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
23112 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
23115 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
23118 inttype_headers=`echo | sed -e 's/,/ /g'`
23120 ac_cv_stdint_result="(no helpful system typedefs seen)"
23122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
23123 $as_echo_n "checking for stdint uintptr_t... " >&6; }
23124 if ${ac_cv_header_stdint_x+:} false; then :
23125 $as_echo_n "(cached) " >&6
23128 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
23129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23130 $as_echo "(..)" >&6; }
23131 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers
23133 unset ac_cv_type_uintptr_t
23134 unset ac_cv_type_uint64_t
23135 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
23137 if test "x$ac_cv_type_uintptr_t" = xyes; then :
23138 ac_cv_header_stdint_x=$i
23143 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
23145 if test "x$ac_cv_type_uint64_t" = xyes; then :
23151 ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
23154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
23155 $as_echo_n "checking for stdint uintptr_t... " >&6; }
23158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
23159 $as_echo "$ac_cv_header_stdint_x" >&6; }
23162 if test "_$ac_cv_header_stdint_x" = "_" ; then
23164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
23165 $as_echo_n "checking for stdint uint32_t... " >&6; }
23166 if ${ac_cv_header_stdint_o+:} false; then :
23167 $as_echo_n "(cached) " >&6
23170 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
23171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23172 $as_echo "(..)" >&6; }
23173 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers
23175 unset ac_cv_type_uint32_t
23176 unset ac_cv_type_uint64_t
23177 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
23179 if test "x$ac_cv_type_uint32_t" = xyes; then :
23180 ac_cv_header_stdint_o=$i
23185 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
23187 if test "x$ac_cv_type_uint64_t" = xyes; then :
23193 ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
23197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
23198 $as_echo_n "checking for stdint uint32_t... " >&6; }
23201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
23202 $as_echo "$ac_cv_header_stdint_o" >&6; }
23206 if test "_$ac_cv_header_stdint_x" = "_" ; then
23207 if test "_$ac_cv_header_stdint_o" = "_" ; then
23209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
23210 $as_echo_n "checking for stdint u_int32_t... " >&6; }
23211 if ${ac_cv_header_stdint_u+:} false; then :
23212 $as_echo_n "(cached) " >&6
23215 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
23216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23217 $as_echo "(..)" >&6; }
23218 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
23219 unset ac_cv_type_u_int32_t
23220 unset ac_cv_type_u_int64_t
23221 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
23223 if test "x$ac_cv_type_u_int32_t" = xyes; then :
23224 ac_cv_header_stdint_u=$i
23229 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
23231 if test "x$ac_cv_type_u_int64_t" = xyes; then :
23237 ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
23241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
23242 $as_echo_n "checking for stdint u_int32_t... " >&6; }
23245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
23246 $as_echo "$ac_cv_header_stdint_u" >&6; }
23250 if test "_$ac_cv_header_stdint_x" = "_" ; then
23251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
23252 $as_echo_n "checking for stdint datatype model... " >&6; }
23253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
23254 $as_echo "(..)" >&6; }
23256 # The cast to long int works around a bug in the HP C Compiler
23257 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23258 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23259 # This bug is HP SR number 8606223364.
23260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
23261 $as_echo_n "checking size of char... " >&6; }
23262 if ${ac_cv_sizeof_char+:} false; then :
23263 $as_echo_n "(cached) " >&6
23265 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
23268 if test "$ac_cv_type_char" = yes; then
23269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23271 as_fn_error 77 "cannot compute sizeof (char)
23272 See \`config.log' for more details" "$LINENO" 5; }
23274 ac_cv_sizeof_char=0
23279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
23280 $as_echo "$ac_cv_sizeof_char" >&6; }
23284 cat >>confdefs.h <<_ACEOF
23285 #define SIZEOF_CHAR $ac_cv_sizeof_char
23289 # The cast to long int works around a bug in the HP C Compiler
23290 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23291 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23292 # This bug is HP SR number 8606223364.
23293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
23294 $as_echo_n "checking size of short... " >&6; }
23295 if ${ac_cv_sizeof_short+:} false; then :
23296 $as_echo_n "(cached) " >&6
23298 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
23301 if test "$ac_cv_type_short" = yes; then
23302 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23303 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23304 as_fn_error 77 "cannot compute sizeof (short)
23305 See \`config.log' for more details" "$LINENO" 5; }
23307 ac_cv_sizeof_short=0
23312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
23313 $as_echo "$ac_cv_sizeof_short" >&6; }
23317 cat >>confdefs.h <<_ACEOF
23318 #define SIZEOF_SHORT $ac_cv_sizeof_short
23322 # The cast to long int works around a bug in the HP C Compiler
23323 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23324 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23325 # This bug is HP SR number 8606223364.
23326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
23327 $as_echo_n "checking size of int... " >&6; }
23328 if ${ac_cv_sizeof_int+:} false; then :
23329 $as_echo_n "(cached) " >&6
23331 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
23334 if test "$ac_cv_type_int" = yes; then
23335 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23337 as_fn_error 77 "cannot compute sizeof (int)
23338 See \`config.log' for more details" "$LINENO" 5; }
23345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
23346 $as_echo "$ac_cv_sizeof_int" >&6; }
23350 cat >>confdefs.h <<_ACEOF
23351 #define SIZEOF_INT $ac_cv_sizeof_int
23355 # The cast to long int works around a bug in the HP C Compiler
23356 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23357 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23358 # This bug is HP SR number 8606223364.
23359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
23360 $as_echo_n "checking size of long... " >&6; }
23361 if ${ac_cv_sizeof_long+:} false; then :
23362 $as_echo_n "(cached) " >&6
23364 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
23367 if test "$ac_cv_type_long" = yes; then
23368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23370 as_fn_error 77 "cannot compute sizeof (long)
23371 See \`config.log' for more details" "$LINENO" 5; }
23373 ac_cv_sizeof_long=0
23378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
23379 $as_echo "$ac_cv_sizeof_long" >&6; }
23383 cat >>confdefs.h <<_ACEOF
23384 #define SIZEOF_LONG $ac_cv_sizeof_long
23388 # The cast to long int works around a bug in the HP C Compiler
23389 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23390 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23391 # This bug is HP SR number 8606223364.
23392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
23393 $as_echo_n "checking size of void*... " >&6; }
23394 if ${ac_cv_sizeof_voidp+:} false; then :
23395 $as_echo_n "(cached) " >&6
23397 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
23400 if test "$ac_cv_type_voidp" = yes; then
23401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23403 as_fn_error 77 "cannot compute sizeof (void*)
23404 See \`config.log' for more details" "$LINENO" 5; }
23406 ac_cv_sizeof_voidp=0
23411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
23412 $as_echo "$ac_cv_sizeof_voidp" >&6; }
23416 cat >>confdefs.h <<_ACEOF
23417 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
23421 ac_cv_char_data_model=""
23422 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
23423 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
23424 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
23425 ac_cv_long_data_model=""
23426 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
23427 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
23428 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
23429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
23430 $as_echo_n "checking data model... " >&6; }
23431 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
23432 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
23433 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
23434 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
23435 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
23436 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
23437 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
23438 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
23439 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
23440 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
23441 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
23442 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
23443 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
23444 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
23445 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
23446 222/*|333/*|444/*|666/*|888/*) :
23447 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
23448 *) ac_cv_data_model="none" ; n="very unusual model" ;;
23450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
23451 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
23455 if test "_$ac_cv_header_stdint_x" != "_" ; then
23456 ac_cv_header_stdint="$ac_cv_header_stdint_x"
23457 elif test "_$ac_cv_header_stdint_o" != "_" ; then
23458 ac_cv_header_stdint="$ac_cv_header_stdint_o"
23459 elif test "_$ac_cv_header_stdint_u" != "_" ; then
23460 ac_cv_header_stdint="$ac_cv_header_stdint_u"
23462 ac_cv_header_stdint="stddef.h"
23465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
23466 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
23467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
23468 $as_echo "($ac_cv_header_stdint)" >&6; }
23469 unset ac_cv_type_int_least32_t
23470 unset ac_cv_type_int_fast32_t
23471 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
23473 if test "x$ac_cv_type_int_least32_t" = xyes; then :
23477 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
23479 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
23483 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
23485 if test "x$ac_cv_type_intmax_t" = xyes; then :
23490 fi # shortcircut to system "stdint.h"
23491 # ------------------ PREPARE VARIABLES ------------------------------
23492 if test "$GCC" = "yes" ; then
23493 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
23495 ac_cv_stdint_message="using $CC"
23498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
23499 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
23501 # ----------------- DONE inttypes.h checks START header -------------
23502 ac_config_commands="$ac_config_commands $ac_stdint_h"
23506 for ac_header in pthread.h
23508 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
23509 if test "x$ac_cv_header_pthread_h" = xyes; then :
23510 cat >>confdefs.h <<_ACEOF
23511 #define HAVE_PTHREAD_H 1
23518 if test "x$HAVE_PTHREAD_H" = "xyes"; then
23519 HAVE_PTHREAD_H_TRUE=
23520 HAVE_PTHREAD_H_FALSE='#'
23522 HAVE_PTHREAD_H_TRUE='#'
23523 HAVE_PTHREAD_H_FALSE=
23527 if test "x$HAVE_PTHREAD_H" != "xyes"; then
23528 GST_PLUGINS_SELECTED=`echo $GST_PLUGINS_SELECTED | $SED -e s/dccp//`
23534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/ioctl.h" >&5
23535 $as_echo_n "checking for FIONREAD in sys/ioctl.h... " >&6; }
23536 if ${_cv_gst_fionread_in_sys_ioctl+:} false; then :
23537 $as_echo_n "(cached) " >&6
23540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23541 /* end confdefs.h. */
23543 #include <sys/types.h>
23544 #include <sys/ioctl.h>
23558 if ac_fn_c_try_compile "$LINENO"; then :
23559 _cv_gst_fionread_in_sys_ioctl="yes"
23561 _cv_gst_fionread_in_sys_ioctl="no"
23563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_ioctl" >&5
23569 $as_echo "$_cv_gst_fionread_in_sys_ioctl" >&6; }
23571 if test "$_cv_gst_fionread_in_sys_ioctl" = "yes"; then
23573 $as_echo "#define HAVE_FIONREAD_IN_SYS_IOCTL 1" >>confdefs.h
23578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/filio.h" >&5
23579 $as_echo_n "checking for FIONREAD in sys/filio.h... " >&6; }
23580 if ${_cv_gst_fionread_in_sys_filio+:} false; then :
23581 $as_echo_n "(cached) " >&6
23584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23585 /* end confdefs.h. */
23587 #include <sys/types.h>
23588 #include <sys/filio.h>
23602 if ac_fn_c_try_compile "$LINENO"; then :
23603 _cv_gst_fionread_in_sys_filio="yes"
23605 _cv_gst_fionread_in_sys_filio="no"
23607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_filio" >&5
23613 $as_echo "$_cv_gst_fionread_in_sys_filio" >&6; }
23615 if test "$_cv_gst_fionread_in_sys_filio" = "yes"; then
23617 $as_echo "#define HAVE_FIONREAD_IN_SYS_FILIO 1" >>confdefs.h
23627 for ac_func in gmtime_r
23629 ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
23630 if test "x$ac_cv_func_gmtime_r" = xyes; then :
23631 cat >>confdefs.h <<_ACEOF
23632 #define HAVE_GMTIME_R 1
23639 for ac_header in sys/utsname.h
23641 ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
23642 if test "x$ac_cv_header_sys_utsname_h" = xyes; then :
23643 cat >>confdefs.h <<_ACEOF
23644 #define HAVE_SYS_UTSNAME_H 1
23653 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
23654 if test "x$ac_cv_func_socket" = xyes; then :
23657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
23658 $as_echo_n "checking for socket in -lsocket... " >&6; }
23659 if ${ac_cv_lib_socket_socket+:} false; then :
23660 $as_echo_n "(cached) " >&6
23662 ac_check_lib_save_LIBS=$LIBS
23663 LIBS="-lsocket $LIBS"
23664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23665 /* end confdefs.h. */
23667 /* Override any GCC internal prototype to avoid an error.
23668 Use char because int might match the return type of a GCC
23669 builtin and then its argument prototype would still apply. */
23682 if ac_fn_c_try_link "$LINENO"; then :
23683 ac_cv_lib_socket_socket=yes
23685 ac_cv_lib_socket_socket=no
23687 rm -f core conftest.err conftest.$ac_objext \
23688 conftest$ac_exeext conftest.$ac_ext
23689 LIBS=$ac_check_lib_save_LIBS
23691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
23692 $as_echo "$ac_cv_lib_socket_socket" >&6; }
23693 if test "x$ac_cv_lib_socket_socket" = xyes; then :
23694 cat >>confdefs.h <<_ACEOF
23695 #define HAVE_LIBSOCKET 1
23698 LIBS="-lsocket $LIBS"
23704 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
23705 if test "x$ac_cv_func_gethostbyname" = xyes; then :
23708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
23709 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
23710 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
23711 $as_echo_n "(cached) " >&6
23713 ac_check_lib_save_LIBS=$LIBS
23715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23716 /* end confdefs.h. */
23718 /* Override any GCC internal prototype to avoid an error.
23719 Use char because int might match the return type of a GCC
23720 builtin and then its argument prototype would still apply. */
23724 char gethostbyname ();
23728 return gethostbyname ();
23733 if ac_fn_c_try_link "$LINENO"; then :
23734 ac_cv_lib_nsl_gethostbyname=yes
23736 ac_cv_lib_nsl_gethostbyname=no
23738 rm -f core conftest.err conftest.$ac_objext \
23739 conftest$ac_exeext conftest.$ac_ext
23740 LIBS=$ac_check_lib_save_LIBS
23742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
23743 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
23744 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
23745 cat >>confdefs.h <<_ACEOF
23746 #define HAVE_LIBNSL 1
23760 if test "x$GLIB_REQ" = "x"
23762 as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5
23767 which="glib-2.0 >= $GLIB_REQ gobject-2.0 gthread-2.0 gmodule-no-export-2.0"
23772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
23773 $as_echo_n "checking for GLIB... " >&6; }
23775 if test -n "$PKG_CONFIG"; then
23776 if test -n "$GLIB_CFLAGS"; then
23777 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
23779 if test -n "$PKG_CONFIG" && \
23780 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
23781 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
23783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23784 test $ac_status = 0; }; then
23785 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
23793 if test -n "$PKG_CONFIG"; then
23794 if test -n "$GLIB_LIBS"; then
23795 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
23797 if test -n "$PKG_CONFIG" && \
23798 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
23799 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
23801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23802 test $ac_status = 0; }; then
23803 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
23814 if test $pkg_failed = yes; then
23816 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23817 _pkg_short_errors_supported=yes
23819 _pkg_short_errors_supported=no
23821 if test $_pkg_short_errors_supported = yes; then
23822 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
23824 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
23826 # Put the nasty error message in config.log where it belongs
23827 echo "$GLIB_PKG_ERRORS" >&5
23829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23830 $as_echo "no" >&6; }
23833 if test "x$required" = "xyes"; then
23834 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
23836 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
23837 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
23840 elif test $pkg_failed = untried; then
23843 if test "x$required" = "xyes"; then
23844 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
23846 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
23847 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
23851 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
23852 GLIB_LIBS=$pkg_cv_GLIB_LIBS
23853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23854 $as_echo "yes" >&6; }
23862 if test "x$HAVE_GLIB" = "xno"; then
23863 as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5
23866 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY"
23868 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23869 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED"
23872 # Check whether --enable-gobject-cast-checks was given.
23873 if test "${enable_gobject_cast_checks+set}" = set; then :
23874 enableval=$enable_gobject_cast_checks;
23876 enable_gobject_cast_checks=auto
23880 if test "x$enable_gobject_cast_checks" = "xauto"; then
23881 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23882 enable_gobject_cast_checks=yes
23884 enable_gobject_cast_checks=no
23888 if test "x$enable_gobject_cast_checks" = "xno"; then
23889 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS"
23892 # Check whether --enable-glib-asserts was given.
23893 if test "${enable_glib_asserts+set}" = set; then :
23894 enableval=$enable_glib_asserts;
23896 enable_glib_assertions=auto
23900 if test "x$enable_glib_assertions" = "xauto"; then
23901 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
23902 enable_glib_assertions=yes
23904 enable_glib_assertions=no
23908 if test "x$enable_glib_assertions" = "xno"; then
23909 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT"
23913 GIVEN_CFLAGS=$GLIB_CFLAGS
23914 INCLUDE_DIRS=`echo | cpp -v 2>&1`
23916 INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
23917 for dir in $INCLUDE_DIRS; do
23918 GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
23920 GLIB_CFLAGS=$GIVEN_CFLAGS
23928 module=gstreamer-$GST_MAJORMINOR
23934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
23935 $as_echo_n "checking for GST... " >&6; }
23937 if test -n "$PKG_CONFIG"; then
23938 if test -n "$GST_CFLAGS"; then
23939 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
23941 if test -n "$PKG_CONFIG" && \
23942 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23943 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23946 test $ac_status = 0; }; then
23947 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23955 if test -n "$PKG_CONFIG"; then
23956 if test -n "$GST_LIBS"; then
23957 pkg_cv_GST_LIBS="$GST_LIBS"
23959 if test -n "$PKG_CONFIG" && \
23960 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23961 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23964 test $ac_status = 0; }; then
23965 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23976 if test $pkg_failed = yes; then
23978 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23979 _pkg_short_errors_supported=yes
23981 _pkg_short_errors_supported=no
23983 if test $_pkg_short_errors_supported = yes; then
23984 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23986 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23988 # Put the nasty error message in config.log where it belongs
23989 echo "$GST_PKG_ERRORS" >&5
23991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23992 $as_echo "no" >&6; }
23995 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
23996 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
23997 if test "x$required" = "xyes"; then
23998 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24000 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24001 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24004 elif test $pkg_failed = untried; then
24007 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
24008 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
24009 if test "x$required" = "xyes"; then
24010 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24012 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24013 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24017 GST_CFLAGS=$pkg_cv_GST_CFLAGS
24018 GST_LIBS=$pkg_cv_GST_LIBS
24019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24020 $as_echo "yes" >&6; }
24027 if test -z $GST_TOOLS_DIR; then
24028 GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
24029 if test -z $GST_TOOLS_DIR; then
24030 as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
24033 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5
24034 $as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;}
24037 if test -z $GST_PLUGINS_DIR; then
24038 GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_MAJORMINOR`
24039 if test -z $GST_PLUGINS_DIR; then
24040 as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
24043 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5
24044 $as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;}
24049 module=gstreamer-base-$GST_MAJORMINOR
24051 name="GStreamer Base Libraries"
24055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
24056 $as_echo_n "checking for GST_BASE... " >&6; }
24058 if test -n "$PKG_CONFIG"; then
24059 if test -n "$GST_BASE_CFLAGS"; then
24060 pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
24062 if test -n "$PKG_CONFIG" && \
24063 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24064 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24067 test $ac_status = 0; }; then
24068 pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24076 if test -n "$PKG_CONFIG"; then
24077 if test -n "$GST_BASE_LIBS"; then
24078 pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
24080 if test -n "$PKG_CONFIG" && \
24081 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24082 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24085 test $ac_status = 0; }; then
24086 pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24097 if test $pkg_failed = yes; then
24099 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24100 _pkg_short_errors_supported=yes
24102 _pkg_short_errors_supported=no
24104 if test $_pkg_short_errors_supported = yes; then
24105 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24107 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24109 # Put the nasty error message in config.log where it belongs
24110 echo "$GST_BASE_PKG_ERRORS" >&5
24112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24113 $as_echo "no" >&6; }
24116 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
24117 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
24118 if test "x$required" = "xyes"; then
24119 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24121 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24122 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24125 elif test $pkg_failed = untried; then
24128 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
24129 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
24130 if test "x$required" = "xyes"; then
24131 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24133 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24134 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24138 GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
24139 GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
24140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24141 $as_echo "yes" >&6; }
24143 HAVE_GST_BASE="yes"
24151 module=gstreamer-dataprotocol-$GST_MAJORMINOR
24153 name="GStreamer Data Protocol Library"
24157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_GDP" >&5
24158 $as_echo_n "checking for GST_GDP... " >&6; }
24160 if test -n "$PKG_CONFIG"; then
24161 if test -n "$GST_GDP_CFLAGS"; then
24162 pkg_cv_GST_GDP_CFLAGS="$GST_GDP_CFLAGS"
24164 if test -n "$PKG_CONFIG" && \
24165 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24166 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24168 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24169 test $ac_status = 0; }; then
24170 pkg_cv_GST_GDP_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24178 if test -n "$PKG_CONFIG"; then
24179 if test -n "$GST_GDP_LIBS"; then
24180 pkg_cv_GST_GDP_LIBS="$GST_GDP_LIBS"
24182 if test -n "$PKG_CONFIG" && \
24183 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24184 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24187 test $ac_status = 0; }; then
24188 pkg_cv_GST_GDP_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24199 if test $pkg_failed = yes; then
24201 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24202 _pkg_short_errors_supported=yes
24204 _pkg_short_errors_supported=no
24206 if test $_pkg_short_errors_supported = yes; then
24207 GST_GDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24209 GST_GDP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24211 # Put the nasty error message in config.log where it belongs
24212 echo "$GST_GDP_PKG_ERRORS" >&5
24214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24215 $as_echo "no" >&6; }
24218 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5
24219 $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;}
24220 if test "x$required" = "xyes"; then
24221 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24223 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24224 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24227 elif test $pkg_failed = untried; then
24230 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5
24231 $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;}
24232 if test "x$required" = "xyes"; then
24233 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24235 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24236 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24240 GST_GDP_CFLAGS=$pkg_cv_GST_GDP_CFLAGS
24241 GST_GDP_LIBS=$pkg_cv_GST_GDP_LIBS
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24243 $as_echo "yes" >&6; }
24253 module=gstreamer-check-$GST_MAJORMINOR
24255 name="GStreamer Check unittest Library"
24259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5
24260 $as_echo_n "checking for GST_CHECK... " >&6; }
24262 if test -n "$PKG_CONFIG"; then
24263 if test -n "$GST_CHECK_CFLAGS"; then
24264 pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS"
24266 if test -n "$PKG_CONFIG" && \
24267 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24268 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24271 test $ac_status = 0; }; then
24272 pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24280 if test -n "$PKG_CONFIG"; then
24281 if test -n "$GST_CHECK_LIBS"; then
24282 pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS"
24284 if test -n "$PKG_CONFIG" && \
24285 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24286 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24289 test $ac_status = 0; }; then
24290 pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24301 if test $pkg_failed = yes; then
24303 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24304 _pkg_short_errors_supported=yes
24306 _pkg_short_errors_supported=no
24308 if test $_pkg_short_errors_supported = yes; then
24309 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24311 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24313 # Put the nasty error message in config.log where it belongs
24314 echo "$GST_CHECK_PKG_ERRORS" >&5
24316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24317 $as_echo "no" >&6; }
24319 HAVE_GST_CHECK="no"
24320 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
24321 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
24322 if test "x$required" = "xyes"; then
24323 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24325 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24326 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24329 elif test $pkg_failed = untried; then
24331 HAVE_GST_CHECK="no"
24332 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
24333 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
24334 if test "x$required" = "xyes"; then
24335 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24337 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24338 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24342 GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
24343 GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
24344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24345 $as_echo "yes" >&6; }
24347 HAVE_GST_CHECK="yes"
24355 module=gstreamer-controller-$GST_MAJORMINOR
24357 name="GStreamer Controller Library"
24361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CONTROLLER" >&5
24362 $as_echo_n "checking for GST_CONTROLLER... " >&6; }
24364 if test -n "$PKG_CONFIG"; then
24365 if test -n "$GST_CONTROLLER_CFLAGS"; then
24366 pkg_cv_GST_CONTROLLER_CFLAGS="$GST_CONTROLLER_CFLAGS"
24368 if test -n "$PKG_CONFIG" && \
24369 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24370 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24373 test $ac_status = 0; }; then
24374 pkg_cv_GST_CONTROLLER_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24382 if test -n "$PKG_CONFIG"; then
24383 if test -n "$GST_CONTROLLER_LIBS"; then
24384 pkg_cv_GST_CONTROLLER_LIBS="$GST_CONTROLLER_LIBS"
24386 if test -n "$PKG_CONFIG" && \
24387 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24388 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24391 test $ac_status = 0; }; then
24392 pkg_cv_GST_CONTROLLER_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24403 if test $pkg_failed = yes; then
24405 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24406 _pkg_short_errors_supported=yes
24408 _pkg_short_errors_supported=no
24410 if test $_pkg_short_errors_supported = yes; then
24411 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24413 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24415 # Put the nasty error message in config.log where it belongs
24416 echo "$GST_CONTROLLER_PKG_ERRORS" >&5
24418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24419 $as_echo "no" >&6; }
24421 HAVE_GST_CONTROLLER="no"
24422 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
24423 $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
24424 if test "x$required" = "xyes"; then
24425 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24427 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24428 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24431 elif test $pkg_failed = untried; then
24433 HAVE_GST_CONTROLLER="no"
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
24435 $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
24436 if test "x$required" = "xyes"; then
24437 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24439 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24440 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24444 GST_CONTROLLER_CFLAGS=$pkg_cv_GST_CONTROLLER_CFLAGS
24445 GST_CONTROLLER_LIBS=$pkg_cv_GST_CONTROLLER_LIBS
24446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24447 $as_echo "yes" >&6; }
24449 HAVE_GST_CONTROLLER="yes"
24455 if test "x$HAVE_GST_CHECK" = "xyes"; then
24456 HAVE_GST_CHECK_TRUE=
24457 HAVE_GST_CHECK_FALSE='#'
24459 HAVE_GST_CHECK_TRUE='#'
24460 HAVE_GST_CHECK_FALSE=
24466 module=gstreamer-plugins-base-$GST_MAJORMINOR
24468 name="GStreamer Base Plugins"
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BASE" >&5
24473 $as_echo_n "checking for GST_PLUGINS_BASE... " >&6; }
24475 if test -n "$PKG_CONFIG"; then
24476 if test -n "$GST_PLUGINS_BASE_CFLAGS"; then
24477 pkg_cv_GST_PLUGINS_BASE_CFLAGS="$GST_PLUGINS_BASE_CFLAGS"
24479 if test -n "$PKG_CONFIG" && \
24480 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24481 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24484 test $ac_status = 0; }; then
24485 pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24493 if test -n "$PKG_CONFIG"; then
24494 if test -n "$GST_PLUGINS_BASE_LIBS"; then
24495 pkg_cv_GST_PLUGINS_BASE_LIBS="$GST_PLUGINS_BASE_LIBS"
24497 if test -n "$PKG_CONFIG" && \
24498 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24499 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24502 test $ac_status = 0; }; then
24503 pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24514 if test $pkg_failed = yes; then
24516 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24517 _pkg_short_errors_supported=yes
24519 _pkg_short_errors_supported=no
24521 if test $_pkg_short_errors_supported = yes; then
24522 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24524 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24526 # Put the nasty error message in config.log where it belongs
24527 echo "$GST_PLUGINS_BASE_PKG_ERRORS" >&5
24529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24530 $as_echo "no" >&6; }
24532 HAVE_GST_PLUGINS_BASE="no"
24533 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
24534 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
24535 if test "x$required" = "xyes"; then
24536 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24538 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24539 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24542 elif test $pkg_failed = untried; then
24544 HAVE_GST_PLUGINS_BASE="no"
24545 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
24546 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
24547 if test "x$required" = "xyes"; then
24548 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24550 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24551 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24555 GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
24556 GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24558 $as_echo "yes" >&6; }
24560 HAVE_GST_PLUGINS_BASE="yes"
24566 if test "x$HAVE_GST_PLUGINS_BASE" = "xyes"; then
24567 if test -z $GSTPB_PLUGINS_DIR; then
24568 GSTPB_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-base-$GST_MAJORMINOR`
24569 if test -z $GSTPB_PLUGINS_DIR; then
24570 as_fn_error $? "no pluginsdir set in GStreamer Base Plugins pkg-config file" "$LINENO" 5
24573 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
24574 $as_echo "$as_me: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
24575 GST_PLUGINS_BASE_DIR="$GSTPB_PLUGINS_DIR/gst:$GSTPB_PLUGINS_DIR/sys:$GSTPB_PLUGINS_DIR/ext"
24583 module=gstreamer-plugins-good-$GST_MAJORMINOR
24585 name="GStreamer Good Plugins"
24589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_GOOD" >&5
24590 $as_echo_n "checking for GST_PLUGINS_GOOD... " >&6; }
24592 if test -n "$PKG_CONFIG"; then
24593 if test -n "$GST_PLUGINS_GOOD_CFLAGS"; then
24594 pkg_cv_GST_PLUGINS_GOOD_CFLAGS="$GST_PLUGINS_GOOD_CFLAGS"
24596 if test -n "$PKG_CONFIG" && \
24597 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24598 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24601 test $ac_status = 0; }; then
24602 pkg_cv_GST_PLUGINS_GOOD_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24610 if test -n "$PKG_CONFIG"; then
24611 if test -n "$GST_PLUGINS_GOOD_LIBS"; then
24612 pkg_cv_GST_PLUGINS_GOOD_LIBS="$GST_PLUGINS_GOOD_LIBS"
24614 if test -n "$PKG_CONFIG" && \
24615 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24616 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24619 test $ac_status = 0; }; then
24620 pkg_cv_GST_PLUGINS_GOOD_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24631 if test $pkg_failed = yes; then
24633 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24634 _pkg_short_errors_supported=yes
24636 _pkg_short_errors_supported=no
24638 if test $_pkg_short_errors_supported = yes; then
24639 GST_PLUGINS_GOOD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24641 GST_PLUGINS_GOOD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24643 # Put the nasty error message in config.log where it belongs
24644 echo "$GST_PLUGINS_GOOD_PKG_ERRORS" >&5
24646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24647 $as_echo "no" >&6; }
24649 HAVE_GST_PLUGINS_GOOD="no"
24650 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_GOOD_PKG_ERRORS" >&5
24651 $as_echo "$as_me: $GST_PLUGINS_GOOD_PKG_ERRORS" >&6;}
24652 if test "x$required" = "xyes"; then
24653 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24655 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24656 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24659 elif test $pkg_failed = untried; then
24661 HAVE_GST_PLUGINS_GOOD="no"
24662 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_GOOD_PKG_ERRORS" >&5
24663 $as_echo "$as_me: $GST_PLUGINS_GOOD_PKG_ERRORS" >&6;}
24664 if test "x$required" = "xyes"; then
24665 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24667 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24668 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24672 GST_PLUGINS_GOOD_CFLAGS=$pkg_cv_GST_PLUGINS_GOOD_CFLAGS
24673 GST_PLUGINS_GOOD_LIBS=$pkg_cv_GST_PLUGINS_GOOD_LIBS
24674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24675 $as_echo "yes" >&6; }
24677 HAVE_GST_PLUGINS_GOOD="yes"
24683 if test "x$HAVE_GST_PLUGINS_GOOD" = "xyes"; then
24684 if test -z $GST_PLUGINS_GOOD_DIR; then
24685 GST_PLUGINS_GOOD_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-good-$GST_MAJORMINOR`
24686 if test -z $GST_PLUGINS_GOOD_DIR; then
24687 as_fn_error $? "no pluginsdir set in GStreamer Good Plugins pkg-config file" "$LINENO" 5
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Good Plugins in $GST_PLUGINS_GOOD_DIR" >&5
24691 $as_echo "$as_me: using GStreamer Good Plugins in $GST_PLUGINS_GOOD_DIR" >&6;}
24692 GST_PLUGINS_GOOD_DIR="$GST_PLUGINS_GOOD_DIR/gst:$GST_PLUGINS_GOOD_DIR/sys:$GST_PLUGINS_GOOD_DIR/ext"
24698 module=gstreamer-plugins-ugly-$GST_MAJORMINOR
24700 name="GStreamer Ugly Plugins"
24704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_UGLY" >&5
24705 $as_echo_n "checking for GST_PLUGINS_UGLY... " >&6; }
24707 if test -n "$PKG_CONFIG"; then
24708 if test -n "$GST_PLUGINS_UGLY_CFLAGS"; then
24709 pkg_cv_GST_PLUGINS_UGLY_CFLAGS="$GST_PLUGINS_UGLY_CFLAGS"
24711 if test -n "$PKG_CONFIG" && \
24712 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24713 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24716 test $ac_status = 0; }; then
24717 pkg_cv_GST_PLUGINS_UGLY_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24725 if test -n "$PKG_CONFIG"; then
24726 if test -n "$GST_PLUGINS_UGLY_LIBS"; then
24727 pkg_cv_GST_PLUGINS_UGLY_LIBS="$GST_PLUGINS_UGLY_LIBS"
24729 if test -n "$PKG_CONFIG" && \
24730 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24731 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24734 test $ac_status = 0; }; then
24735 pkg_cv_GST_PLUGINS_UGLY_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24746 if test $pkg_failed = yes; then
24748 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24749 _pkg_short_errors_supported=yes
24751 _pkg_short_errors_supported=no
24753 if test $_pkg_short_errors_supported = yes; then
24754 GST_PLUGINS_UGLY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24756 GST_PLUGINS_UGLY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24758 # Put the nasty error message in config.log where it belongs
24759 echo "$GST_PLUGINS_UGLY_PKG_ERRORS" >&5
24761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24762 $as_echo "no" >&6; }
24764 HAVE_GST_PLUGINS_UGLY="no"
24765 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_UGLY_PKG_ERRORS" >&5
24766 $as_echo "$as_me: $GST_PLUGINS_UGLY_PKG_ERRORS" >&6;}
24767 if test "x$required" = "xyes"; then
24768 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24770 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24771 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24774 elif test $pkg_failed = untried; then
24776 HAVE_GST_PLUGINS_UGLY="no"
24777 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_UGLY_PKG_ERRORS" >&5
24778 $as_echo "$as_me: $GST_PLUGINS_UGLY_PKG_ERRORS" >&6;}
24779 if test "x$required" = "xyes"; then
24780 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24782 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24783 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24787 GST_PLUGINS_UGLY_CFLAGS=$pkg_cv_GST_PLUGINS_UGLY_CFLAGS
24788 GST_PLUGINS_UGLY_LIBS=$pkg_cv_GST_PLUGINS_UGLY_LIBS
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24790 $as_echo "yes" >&6; }
24792 HAVE_GST_PLUGINS_UGLY="yes"
24798 if test "x$HAVE_GST_PLUGINS_UGLY" = "xyes"; then
24799 if test -z $GST_PLUGINS_UGLY_DIR; then
24800 GST_PLUGINS_UGLY_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-ugly-$GST_MAJORMINOR`
24801 if test -z $GST_PLUGINS_UGLY_DIR; then
24802 as_fn_error $? "no pluginsdir set in GStreamer Ugly Plugins pkg-config file" "$LINENO" 5
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Ugly Plugins in $GST_PLUGINS_UGLY_DIR" >&5
24806 $as_echo "$as_me: using GStreamer Ugly Plugins in $GST_PLUGINS_UGLY_DIR" >&6;}
24807 GST_PLUGINS_UGLY_DIR="$GST_PLUGINS_UGLY_DIR/gst:$GST_PLUGINS_UGLY_DIR/sys:$GST_PLUGINS_UGLY_DIR/ext"
24813 module=gstreamer-plugins-ffmpeg-$GST_MAJORMINOR
24815 name="GStreamer FFmpeg Plugins"
24819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_FFMPEG" >&5
24820 $as_echo_n "checking for GST_PLUGINS_FFMPEG... " >&6; }
24822 if test -n "$PKG_CONFIG"; then
24823 if test -n "$GST_PLUGINS_FFMPEG_CFLAGS"; then
24824 pkg_cv_GST_PLUGINS_FFMPEG_CFLAGS="$GST_PLUGINS_FFMPEG_CFLAGS"
24826 if test -n "$PKG_CONFIG" && \
24827 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24828 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24831 test $ac_status = 0; }; then
24832 pkg_cv_GST_PLUGINS_FFMPEG_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
24840 if test -n "$PKG_CONFIG"; then
24841 if test -n "$GST_PLUGINS_FFMPEG_LIBS"; then
24842 pkg_cv_GST_PLUGINS_FFMPEG_LIBS="$GST_PLUGINS_FFMPEG_LIBS"
24844 if test -n "$PKG_CONFIG" && \
24845 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
24846 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
24848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24849 test $ac_status = 0; }; then
24850 pkg_cv_GST_PLUGINS_FFMPEG_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
24861 if test $pkg_failed = yes; then
24863 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24864 _pkg_short_errors_supported=yes
24866 _pkg_short_errors_supported=no
24868 if test $_pkg_short_errors_supported = yes; then
24869 GST_PLUGINS_FFMPEG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
24871 GST_PLUGINS_FFMPEG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
24873 # Put the nasty error message in config.log where it belongs
24874 echo "$GST_PLUGINS_FFMPEG_PKG_ERRORS" >&5
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24877 $as_echo "no" >&6; }
24879 HAVE_GST_PLUGINS_FFMPEG="no"
24880 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_FFMPEG_PKG_ERRORS" >&5
24881 $as_echo "$as_me: $GST_PLUGINS_FFMPEG_PKG_ERRORS" >&6;}
24882 if test "x$required" = "xyes"; then
24883 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24885 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24886 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24889 elif test $pkg_failed = untried; then
24891 HAVE_GST_PLUGINS_FFMPEG="no"
24892 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_FFMPEG_PKG_ERRORS" >&5
24893 $as_echo "$as_me: $GST_PLUGINS_FFMPEG_PKG_ERRORS" >&6;}
24894 if test "x$required" = "xyes"; then
24895 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
24897 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
24898 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
24902 GST_PLUGINS_FFMPEG_CFLAGS=$pkg_cv_GST_PLUGINS_FFMPEG_CFLAGS
24903 GST_PLUGINS_FFMPEG_LIBS=$pkg_cv_GST_PLUGINS_FFMPEG_LIBS
24904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24905 $as_echo "yes" >&6; }
24907 HAVE_GST_PLUGINS_FFMPEG="yes"
24913 if test "x$HAVE_GST_PLUGINS_FFMPEG" = "xyes"; then
24914 if test -z $GST_PLUGINS_FFMPEG_DIR; then
24915 GST_PLUGINS_FFMPEG_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-ffmpeg-$GST_MAJORMINOR`
24916 if test -z $GST_PLUGINS_FFMPEG_DIR; then
24917 as_fn_error $? "no pluginsdir set in GStreamer FFmpeg Plugins pkg-config file" "$LINENO" 5
24920 GST_PLUGINS_FFMPEG_DIR="$GST_PLUGINS_FFMPEG_DIR/ext/ffmpeg"
24921 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer FFmpeg Plugins in $GST_PLUGINS_FFMPEG_DIR" >&5
24922 $as_echo "$as_me: using GStreamer FFmpeg Plugins in $GST_PLUGINS_FFMPEG_DIR" >&6;}
24927 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
24928 GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`"
24929 GSTPB_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-plugins-base-$GST_MAJORMINOR`"
24937 if test "x$BUILD_EXAMPLES" = "xyes"; then
24938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which gtk+ version to compile examples against (optional)" >&5
24939 $as_echo_n "checking which gtk+ version to compile examples against (optional)... " >&6; }
24941 # Check whether --with-gtk was given.
24942 if test "${with_gtk+set}" = set; then :
24943 withval=$with_gtk; case "$with_gtk" in
24944 2.0) GTK_REQ=$GTK2_REQ ;;
24945 3.0) GTK_REQ=$GTK3_REQ ;;
24946 *) as_fn_error $? "invalid gtk+ version specified" "$LINENO" 5;;
24953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gtk (>= $GTK_REQ)" >&5
24954 $as_echo "$with_gtk (>= $GTK_REQ)" >&6; }
24957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
24958 $as_echo_n "checking for GTK... " >&6; }
24960 if test -n "$PKG_CONFIG"; then
24961 if test -n "$GTK_CFLAGS"; then
24962 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
24964 if test -n "$PKG_CONFIG" && \
24965 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-\$with_gtk >= \$GTK_REQ\""; } >&5
24966 ($PKG_CONFIG --exists --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ") 2>&5
24968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24969 test $ac_status = 0; }; then
24970 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-x11-$with_gtk >= $GTK_REQ" 2>/dev/null`
24978 if test -n "$PKG_CONFIG"; then
24979 if test -n "$GTK_LIBS"; then
24980 pkg_cv_GTK_LIBS="$GTK_LIBS"
24982 if test -n "$PKG_CONFIG" && \
24983 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-\$with_gtk >= \$GTK_REQ\""; } >&5
24984 ($PKG_CONFIG --exists --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ") 2>&5
24986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24987 test $ac_status = 0; }; then
24988 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-x11-$with_gtk >= $GTK_REQ" 2>/dev/null`
24999 if test $pkg_failed = yes; then
25001 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25002 _pkg_short_errors_supported=yes
25004 _pkg_short_errors_supported=no
25006 if test $_pkg_short_errors_supported = yes; then
25007 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ"`
25009 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ"`
25011 # Put the nasty error message in config.log where it belongs
25012 echo "$GTK_PKG_ERRORS" >&5
25014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25015 $as_echo "no" >&6; }
25017 elif test $pkg_failed = untried; then
25020 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
25021 GTK_LIBS=$pkg_cv_GTK_LIBS
25022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25023 $as_echo "yes" >&6; }
25029 if test "x$HAVE_GTK" = "xyes"; then
25042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMODULE_EXPORT" >&5
25043 $as_echo_n "checking for GMODULE_EXPORT... " >&6; }
25045 if test -n "$PKG_CONFIG"; then
25046 if test -n "$GMODULE_EXPORT_CFLAGS"; then
25047 pkg_cv_GMODULE_EXPORT_CFLAGS="$GMODULE_EXPORT_CFLAGS"
25049 if test -n "$PKG_CONFIG" && \
25050 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-export-2.0\""; } >&5
25051 ($PKG_CONFIG --exists --print-errors "gmodule-export-2.0") 2>&5
25053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25054 test $ac_status = 0; }; then
25055 pkg_cv_GMODULE_EXPORT_CFLAGS=`$PKG_CONFIG --cflags "gmodule-export-2.0" 2>/dev/null`
25063 if test -n "$PKG_CONFIG"; then
25064 if test -n "$GMODULE_EXPORT_LIBS"; then
25065 pkg_cv_GMODULE_EXPORT_LIBS="$GMODULE_EXPORT_LIBS"
25067 if test -n "$PKG_CONFIG" && \
25068 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmodule-export-2.0\""; } >&5
25069 ($PKG_CONFIG --exists --print-errors "gmodule-export-2.0") 2>&5
25071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25072 test $ac_status = 0; }; then
25073 pkg_cv_GMODULE_EXPORT_LIBS=`$PKG_CONFIG --libs "gmodule-export-2.0" 2>/dev/null`
25084 if test $pkg_failed = yes; then
25086 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25087 _pkg_short_errors_supported=yes
25089 _pkg_short_errors_supported=no
25091 if test $_pkg_short_errors_supported = yes; then
25092 GMODULE_EXPORT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gmodule-export-2.0"`
25094 GMODULE_EXPORT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gmodule-export-2.0"`
25096 # Put the nasty error message in config.log where it belongs
25097 echo "$GMODULE_EXPORT_PKG_ERRORS" >&5
25099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25100 $as_echo "no" >&6; }
25101 HAVE_GMODULE_EXPORT=no
25102 elif test $pkg_failed = untried; then
25103 HAVE_GMODULE_EXPORT=no
25105 GMODULE_EXPORT_CFLAGS=$pkg_cv_GMODULE_EXPORT_CFLAGS
25106 GMODULE_EXPORT_LIBS=$pkg_cv_GMODULE_EXPORT_LIBS
25107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25108 $as_echo "yes" >&6; }
25109 HAVE_GMODULE_EXPORT=yes
25115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
25116 $as_echo_n "checking for X11... " >&6; }
25118 if test -n "$PKG_CONFIG"; then
25119 if test -n "$X11_CFLAGS"; then
25120 pkg_cv_X11_CFLAGS="$X11_CFLAGS"
25122 if test -n "$PKG_CONFIG" && \
25123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
25124 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
25126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25127 test $ac_status = 0; }; then
25128 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
25136 if test -n "$PKG_CONFIG"; then
25137 if test -n "$X11_LIBS"; then
25138 pkg_cv_X11_LIBS="$X11_LIBS"
25140 if test -n "$PKG_CONFIG" && \
25141 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
25142 ($PKG_CONFIG --exists --print-errors "x11") 2>&5
25144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25145 test $ac_status = 0; }; then
25146 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
25157 if test $pkg_failed = yes; then
25159 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25160 _pkg_short_errors_supported=yes
25162 _pkg_short_errors_supported=no
25164 if test $_pkg_short_errors_supported = yes; then
25165 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11"`
25167 X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11"`
25169 # Put the nasty error message in config.log where it belongs
25170 echo "$X11_PKG_ERRORS" >&5
25172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25173 $as_echo "no" >&6; }
25175 elif test $pkg_failed = untried; then
25178 X11_CFLAGS=$pkg_cv_X11_CFLAGS
25179 X11_LIBS=$pkg_cv_X11_LIBS
25180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25181 $as_echo "yes" >&6; }
25187 if test "x$HAVE_X11" = "xyes"; then
25195 if test "x$HAVE_X11" = "xyes"; then
25197 $as_echo "#define HAVE_X11 1" >>confdefs.h
25203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXIF" >&5
25204 $as_echo_n "checking for EXIF... " >&6; }
25206 if test -n "$PKG_CONFIG"; then
25207 if test -n "$EXIF_CFLAGS"; then
25208 pkg_cv_EXIF_CFLAGS="$EXIF_CFLAGS"
25210 if test -n "$PKG_CONFIG" && \
25211 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libexif >= 0.6.16\""; } >&5
25212 ($PKG_CONFIG --exists --print-errors "libexif >= 0.6.16") 2>&5
25214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25215 test $ac_status = 0; }; then
25216 pkg_cv_EXIF_CFLAGS=`$PKG_CONFIG --cflags "libexif >= 0.6.16" 2>/dev/null`
25224 if test -n "$PKG_CONFIG"; then
25225 if test -n "$EXIF_LIBS"; then
25226 pkg_cv_EXIF_LIBS="$EXIF_LIBS"
25228 if test -n "$PKG_CONFIG" && \
25229 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libexif >= 0.6.16\""; } >&5
25230 ($PKG_CONFIG --exists --print-errors "libexif >= 0.6.16") 2>&5
25232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25233 test $ac_status = 0; }; then
25234 pkg_cv_EXIF_LIBS=`$PKG_CONFIG --libs "libexif >= 0.6.16" 2>/dev/null`
25245 if test $pkg_failed = yes; then
25247 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25248 _pkg_short_errors_supported=yes
25250 _pkg_short_errors_supported=no
25252 if test $_pkg_short_errors_supported = yes; then
25253 EXIF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libexif >= 0.6.16"`
25255 EXIF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libexif >= 0.6.16"`
25257 # Put the nasty error message in config.log where it belongs
25258 echo "$EXIF_PKG_ERRORS" >&5
25260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25261 $as_echo "no" >&6; }
25263 elif test $pkg_failed = untried; then
25266 EXIF_CFLAGS=$pkg_cv_EXIF_CFLAGS
25267 EXIF_LIBS=$pkg_cv_EXIF_LIBS
25268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25269 $as_echo "yes" >&6; }
25274 if test "x$HAVE_EXIF" = "xyes"; then
25286 # Check whether --enable-orc was given.
25287 if test "${enable_orc+set}" = set; then :
25288 enableval=$enable_orc; case "${enableval}" in
25289 auto) enable_orc=auto ;;
25290 yes) enable_orc=yes ;;
25291 no) enable_orc=no ;;
25292 *) as_fn_error $? "bad value ${enableval} for --enable-orc" "$LINENO" 5 ;;
25299 if test "x$enable_orc" != "xno" ; then
25302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ORC" >&5
25303 $as_echo_n "checking for ORC... " >&6; }
25305 if test -n "$PKG_CONFIG"; then
25306 if test -n "$ORC_CFLAGS"; then
25307 pkg_cv_ORC_CFLAGS="$ORC_CFLAGS"
25309 if test -n "$PKG_CONFIG" && \
25310 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
25311 ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
25313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25314 test $ac_status = 0; }; then
25315 pkg_cv_ORC_CFLAGS=`$PKG_CONFIG --cflags "orc-0.4 >= $ORC_REQ" 2>/dev/null`
25323 if test -n "$PKG_CONFIG"; then
25324 if test -n "$ORC_LIBS"; then
25325 pkg_cv_ORC_LIBS="$ORC_LIBS"
25327 if test -n "$PKG_CONFIG" && \
25328 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
25329 ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
25331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25332 test $ac_status = 0; }; then
25333 pkg_cv_ORC_LIBS=`$PKG_CONFIG --libs "orc-0.4 >= $ORC_REQ" 2>/dev/null`
25344 if test $pkg_failed = yes; then
25346 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25347 _pkg_short_errors_supported=yes
25349 _pkg_short_errors_supported=no
25351 if test $_pkg_short_errors_supported = yes; then
25352 ORC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
25354 ORC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
25356 # Put the nasty error message in config.log where it belongs
25357 echo "$ORC_PKG_ERRORS" >&5
25359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25360 $as_echo "no" >&6; }
25362 if test "x$enable_orc" = "xyes" ; then
25363 as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
25366 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
25371 elif test $pkg_failed = untried; then
25373 if test "x$enable_orc" = "xyes" ; then
25374 as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
25377 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
25383 ORC_CFLAGS=$pkg_cv_ORC_CFLAGS
25384 ORC_LIBS=$pkg_cv_ORC_LIBS
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25386 $as_echo "yes" >&6; }
25389 $as_echo "#define HAVE_ORC 1" >>confdefs.h
25392 if test "x$ORCC" = "x" ; then
25393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable orcc" >&5
25394 $as_echo_n "checking for usable orcc... " >&6; }
25395 ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
25396 if $ORCC --version 1> /dev/null 2> /dev/null; then :
25401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ORCC" >&5
25402 $as_echo "$ORCC" >&6; }
25405 ORCC_FLAGS="--compat $ORC_REQ"
25407 if test "x$ORCC" = "x"; then :
25416 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
25421 if test "x$HAVE_ORC" = "xyes"; then
25429 if test "x$HAVE_ORCC" = "xyes"; then
25431 HAVE_ORCC_FALSE='#'
25442 cat >>confdefs.h <<_ACEOF
25443 #define GST_LICENSE "$GST_LICENSE"
25452 prefix_save=$prefix
25453 exec_prefix_save=$exec_prefix
25455 if test "x$prefix" = "xNONE"; then
25456 prefix="$ac_default_prefix"
25458 if test "x$exec_prefix" = "xNONE"; then
25459 exec_prefix=$prefix
25462 full_var="$FROM_VAR"
25464 new_full_var="`eval echo $full_var`"
25465 if test "x$new_full_var" = "x$full_var"; then break; fi
25466 full_var=$new_full_var
25469 full_var=$new_full_var
25473 prefix=$prefix_save
25474 exec_prefix=$exec_prefix_save
25477 cat >>confdefs.h <<_ACEOF
25478 #define LIBDIR "$LIBDIR"
25485 FROM_VAR=${libdir}/gstreamer-$GST_MAJORMINOR
25487 prefix_save=$prefix
25488 exec_prefix_save=$exec_prefix
25490 if test "x$prefix" = "xNONE"; then
25491 prefix="$ac_default_prefix"
25493 if test "x$exec_prefix" = "xNONE"; then
25494 exec_prefix=$prefix
25497 full_var="$FROM_VAR"
25499 new_full_var="`eval echo $full_var`"
25500 if test "x$new_full_var" = "x$full_var"; then break; fi
25501 full_var=$new_full_var
25504 full_var=$new_full_var
25505 PLUGINDIR="$full_var"
25508 prefix=$prefix_save
25509 exec_prefix=$exec_prefix_save
25512 cat >>confdefs.h <<_ACEOF
25513 #define PLUGINDIR "$PLUGINDIR"
25516 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
25517 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
25519 plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
25524 if test "x$PACKAGE_VERSION_NANO" = "x0"; then
25526 if test "xyes" = "xno" -o "xyes" = "x"; then
25527 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
25528 elif test "xyes" = "xyes"; then
25529 if ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
25530 GST_PACKAGE_RELEASE_DATETIME=yes
25532 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO "${srcdir}/gst-plugins-bad.doap" `;
25533 if test "x$YYYY_MM_DD" != "x"; then
25534 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
25536 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
25537 release date for release version $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO from \"${srcdir}/gst-plugins-bad.doap\" " "$LINENO" 5
25538 GST_PACKAGE_RELEASE_DATETIME=""
25541 elif ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
25542 GST_PACKAGE_RELEASE_DATETIME=yes
25544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
25545 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
25546 GST_PACKAGE_RELEASE_DATETIME=""
25549 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
25550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
25551 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
25553 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
25554 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
25557 cat >>confdefs.h <<_ACEOF
25558 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
25565 if test "xno" = "xno" -o "xno" = "x"; then
25566 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
25567 elif test "xno" = "xyes"; then
25568 if ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
25569 GST_PACKAGE_RELEASE_DATETIME=no
25571 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" `;
25572 if test "x$YYYY_MM_DD" != "x"; then
25573 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
25575 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
25576 release date for release version from " "$LINENO" 5
25577 GST_PACKAGE_RELEASE_DATETIME=""
25580 elif ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
25581 GST_PACKAGE_RELEASE_DATETIME=no
25583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
25584 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
25585 GST_PACKAGE_RELEASE_DATETIME=""
25588 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
25589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
25590 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
25592 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
25593 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
25596 cat >>confdefs.h <<_ACEOF
25597 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
25613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
25614 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
25616 save_CFLAGS="$CFLAGS"
25617 CFLAGS="$CFLAGS -Wall"
25619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25620 /* end confdefs.h. */
25630 if ac_fn_c_try_compile "$LINENO"; then :
25635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25636 CFLAGS="$save_CFLAGS"
25638 if test "X$flag_ok" = Xyes ; then
25639 WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
25645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25646 $as_echo "$flag_ok" >&6; }
25650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
25651 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
25653 save_CFLAGS="$CFLAGS"
25654 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
25656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25657 /* end confdefs.h. */
25667 if ac_fn_c_try_compile "$LINENO"; then :
25672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25673 CFLAGS="$save_CFLAGS"
25675 if test "X$flag_ok" = Xyes ; then
25676 WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
25682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25683 $as_echo "$flag_ok" >&6; }
25687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
25688 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
25690 save_CFLAGS="$CFLAGS"
25691 CFLAGS="$CFLAGS -Wvla"
25693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25694 /* end confdefs.h. */
25704 if ac_fn_c_try_compile "$LINENO"; then :
25709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25710 CFLAGS="$save_CFLAGS"
25712 if test "X$flag_ok" = Xyes ; then
25713 WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
25719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25720 $as_echo "$flag_ok" >&6; }
25724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
25725 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
25727 save_CFLAGS="$CFLAGS"
25728 CFLAGS="$CFLAGS -Wpointer-arith"
25730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25731 /* end confdefs.h. */
25741 if ac_fn_c_try_compile "$LINENO"; then :
25746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25747 CFLAGS="$save_CFLAGS"
25749 if test "X$flag_ok" = Xyes ; then
25750 WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
25756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25757 $as_echo "$flag_ok" >&6; }
25760 if test "x$GST_GIT" != "xno"
25763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
25764 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
25766 save_CFLAGS="$CFLAGS"
25767 CFLAGS="$CFLAGS -Werror"
25769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25770 /* end confdefs.h. */
25780 if ac_fn_c_try_compile "$LINENO"; then :
25785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25786 CFLAGS="$save_CFLAGS"
25788 if test "X$flag_ok" = Xyes ; then
25789 ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
25795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25796 $as_echo "$flag_ok" >&6; }
25799 if test "x$ERROR_CFLAGS" = "x"
25802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
25803 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
25805 save_CFLAGS="$CFLAGS"
25806 CFLAGS="$CFLAGS -errwarn=%all"
25808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25809 /* end confdefs.h. */
25819 if ac_fn_c_try_compile "$LINENO"; then :
25824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25825 CFLAGS="$save_CFLAGS"
25827 if test "X$flag_ok" = Xyes ; then
25829 ERROR_CFLAGS="-errwarn=%all"
25830 for f in 'no%E_EMPTY_DECLARATION' \
25831 'no%E_STATEMENT_NOT_REACHED' \
25832 'no%E_ARGUEMENT_MISMATCH' \
25833 'no%E_MACRO_REDEFINED' \
25834 'no%E_LOOP_NOT_ENTERED_AT_TOP'
25837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
25838 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
25840 save_CFLAGS="$CFLAGS"
25841 CFLAGS="$CFLAGS -errwarn=%all,$f"
25843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25844 /* end confdefs.h. */
25854 if ac_fn_c_try_compile "$LINENO"; then :
25859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25860 CFLAGS="$save_CFLAGS"
25862 if test "X$flag_ok" = Xyes ; then
25864 ERROR_CFLAGS="$ERROR_CFLAGS,$f"
25871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25872 $as_echo "$flag_ok" >&6; }
25881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25882 $as_echo "$flag_ok" >&6; }
25885 if test -n "$PKG_CONFIG" && \
25886 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
25887 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
25889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25890 test $ac_status = 0; }; then
25893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
25894 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
25896 save_CFLAGS="$CFLAGS"
25897 CFLAGS="$CFLAGS -fno-strict-aliasing"
25899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25900 /* end confdefs.h. */
25910 if ac_fn_c_try_compile "$LINENO"; then :
25915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25916 CFLAGS="$save_CFLAGS"
25918 if test "X$flag_ok" = Xyes ; then
25919 ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
25925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25926 $as_echo "$flag_ok" >&6; }
25934 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
25935 -Wwrite-strings -Wformat-security -Wold-style-definition
25936 -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
25937 -Wnested-externs" != "x"
25941 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
25942 -Wwrite-strings -Wformat-security -Wold-style-definition
25943 -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
25948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
25949 $as_echo_n "checking to see if compiler understands $each... " >&6; }
25951 save_CFLAGS="$CFLAGS"
25952 CFLAGS="$CFLAGS $each"
25954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25955 /* end confdefs.h. */
25965 if ac_fn_c_try_compile "$LINENO"; then :
25970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25971 CFLAGS="$save_CFLAGS"
25973 if test "X$flag_ok" = Xyes ; then
25974 WARNING_CFLAGS="$WARNING_CFLAGS $each"
25977 UNSUPPORTED="$UNSUPPORTED $each"
25980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25981 $as_echo "$flag_ok" >&6; }
25984 if test "X$UNSUPPORTED" != X ; then
25985 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
25986 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
25992 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
25993 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
25994 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
25995 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
26001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands " >&5
26002 $as_echo_n "checking to see if c++ compiler understands ... " >&6; }
26004 save_CPPFLAGS="$CPPFLAGS"
26005 CPPFLAGS="$CPPFLAGS "
26008 ac_cpp='$CXXCPP $CPPFLAGS'
26009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26015 /* end confdefs.h. */
26025 if ac_fn_cxx_try_compile "$LINENO"; then :
26030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26031 CPPFLAGS="$save_CPPFLAGS"
26033 if test "X$flag_ok" = Xyes ; then
26042 ac_cpp='$CPP $CPPFLAGS'
26043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26049 $as_echo "$flag_ok" >&6; }
26056 WARNING_CXXFLAGS=""
26061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wall" >&5
26062 $as_echo_n "checking to see if c++ compiler understands -Wall... " >&6; }
26064 save_CPPFLAGS="$CPPFLAGS"
26065 CPPFLAGS="$CPPFLAGS -Wall"
26068 ac_cpp='$CXXCPP $CPPFLAGS'
26069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26075 /* end confdefs.h. */
26085 if ac_fn_cxx_try_compile "$LINENO"; then :
26090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26091 CPPFLAGS="$save_CPPFLAGS"
26093 if test "X$flag_ok" = Xyes ; then
26094 WARNING_CXXFLAGS="$WARNING_CXXFLAGS -Wall"
26102 ac_cpp='$CPP $CPPFLAGS'
26103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26109 $as_echo "$flag_ok" >&6; }
26112 if test "x$GST_GIT" != "xno"
26117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Werror" >&5
26118 $as_echo_n "checking to see if c++ compiler understands -Werror... " >&6; }
26120 save_CPPFLAGS="$CPPFLAGS"
26121 CPPFLAGS="$CPPFLAGS -Werror"
26124 ac_cpp='$CXXCPP $CPPFLAGS'
26125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26131 /* end confdefs.h. */
26141 if ac_fn_cxx_try_compile "$LINENO"; then :
26146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26147 CPPFLAGS="$save_CPPFLAGS"
26149 if test "X$flag_ok" = Xyes ; then
26150 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror"
26158 ac_cpp='$CPP $CPPFLAGS'
26159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26165 $as_echo "$flag_ok" >&6; }
26168 if test "x$ERROR_CXXFLAGS" != "x"
26173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wno-non-virtual-dtor" >&5
26174 $as_echo_n "checking to see if c++ compiler understands -Wno-non-virtual-dtor... " >&6; }
26176 save_CPPFLAGS="$CPPFLAGS"
26177 CPPFLAGS="$CPPFLAGS -Wno-non-virtual-dtor"
26180 ac_cpp='$CXXCPP $CPPFLAGS'
26181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26187 /* end confdefs.h. */
26197 if ac_fn_cxx_try_compile "$LINENO"; then :
26202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26203 CPPFLAGS="$save_CPPFLAGS"
26205 if test "X$flag_ok" = Xyes ; then
26206 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Wno-non-virtual-dtor"
26214 ac_cpp='$CPP $CPPFLAGS'
26215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26221 $as_echo "$flag_ok" >&6; }
26224 if test -n "$PKG_CONFIG" && \
26225 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
26226 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
26228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26229 test $ac_status = 0; }; then
26234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -fno-strict-aliasing" >&5
26235 $as_echo_n "checking to see if c++ compiler understands -fno-strict-aliasing... " >&6; }
26237 save_CPPFLAGS="$CPPFLAGS"
26238 CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
26241 ac_cpp='$CXXCPP $CPPFLAGS'
26242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26248 /* end confdefs.h. */
26258 if ac_fn_cxx_try_compile "$LINENO"; then :
26263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26264 CPPFLAGS="$save_CPPFLAGS"
26266 if test "X$flag_ok" = Xyes ; then
26267 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -fno-strict-aliasing"
26275 ac_cpp='$CPP $CPPFLAGS'
26276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26282 $as_echo "$flag_ok" >&6; }
26290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all" >&5
26291 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all... " >&6; }
26293 save_CPPFLAGS="$CPPFLAGS"
26294 CPPFLAGS="$CPPFLAGS -errwarn=%all"
26297 ac_cpp='$CXXCPP $CPPFLAGS'
26298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26304 /* end confdefs.h. */
26314 if ac_fn_cxx_try_compile "$LINENO"; then :
26319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26320 CPPFLAGS="$save_CPPFLAGS"
26322 if test "X$flag_ok" = Xyes ; then
26323 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -errwarn=%all"
26331 ac_cpp='$CPP $CPPFLAGS'
26332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26338 $as_echo "$flag_ok" >&6; }
26340 if test "x$ERROR_CXXFLAGS" != "x"; then
26341 for f in 'no%E_EMPTY_DECLARATION' \
26342 'no%E_STATEMENT_NOT_REACHED' \
26343 'no%E_ARGUEMENT_MISMATCH' \
26344 'no%E_MACRO_REDEFINED' \
26345 'no%E_LOOP_NOT_ENTERED_AT_TOP'
26350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all,$f" >&5
26351 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all,$f... " >&6; }
26353 save_CPPFLAGS="$CPPFLAGS"
26354 CPPFLAGS="$CPPFLAGS -errwarn=%all,$f"
26357 ac_cpp='$CXXCPP $CPPFLAGS'
26358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26364 /* end confdefs.h. */
26374 if ac_fn_cxx_try_compile "$LINENO"; then :
26379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26380 CPPFLAGS="$save_CPPFLAGS"
26382 if test "X$flag_ok" = Xyes ; then
26383 ERROR_CXXFLAGS="$ERROR_CXXFLAGS
26391 ac_cpp='$CPP $CPPFLAGS'
26392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26398 $as_echo "$flag_ok" >&6; }
26406 -Wmissing-declarations -Wredundant-decls
26407 -Wwrite-strings -Wformat-nonliteral -Wformat-security
26408 -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar " != "x"
26412 -Wmissing-declarations -Wredundant-decls
26413 -Wwrite-strings -Wformat-nonliteral -Wformat-security
26414 -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar "
26420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands $each" >&5
26421 $as_echo_n "checking to see if c++ compiler understands $each... " >&6; }
26423 save_CPPFLAGS="$CPPFLAGS"
26424 CPPFLAGS="$CPPFLAGS $each"
26427 ac_cpp='$CXXCPP $CPPFLAGS'
26428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26434 /* end confdefs.h. */
26444 if ac_fn_cxx_try_compile "$LINENO"; then :
26449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26450 CPPFLAGS="$save_CPPFLAGS"
26452 if test "X$flag_ok" = Xyes ; then
26453 WARNING_CXXFLAGS="$WARNING_CXXFLAGS $each"
26456 UNSUPPORTED="$UNSUPPORTED $each"
26461 ac_cpp='$CPP $CPPFLAGS'
26462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
26468 $as_echo "$flag_ok" >&6; }
26471 if test "X$UNSUPPORTED" != X ; then
26472 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
26473 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
26479 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&5
26480 $as_echo "$as_me: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&6;}
26481 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&5
26482 $as_echo "$as_me: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&6;}
26486 if test "x$GST_GIT" = "xyes"; then
26487 GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
26489 GST_LEVEL_DEFAULT=GST_LEVEL_NONE
26492 cat >>confdefs.h <<_ACEOF
26493 #define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
26500 DEFAULT_AUDIOSINK="autoaudiosink"
26501 DEFAULT_VIDEOSINK="autovideosink"
26502 DEFAULT_AUDIOSRC="alsasrc"
26503 DEFAULT_VIDEOSRC="v4l2src"
26504 DEFAULT_VISUALIZER="goom"
26506 *-sun-* | *pc-solaris* )
26507 DEFAULT_AUDIOSRC="sunaudiosrc"
26510 DEFAULT_AUDIOSRC="osxaudiosrc"
26515 # Check whether --with-default-audiosink was given.
26516 if test "${with_default_audiosink+set}" = set; then :
26517 withval=$with_default_audiosink;
26518 case "${withval}" in
26519 yes) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
26520 no) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
26521 *) DEFAULT_AUDIOSINK="${withval}" ;;
26526 DEFAULT_AUDIOSINK="$DEFAULT_AUDIOSINK"
26530 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSINK as default audio sink" >&5
26531 $as_echo "$as_me: Using $DEFAULT_AUDIOSINK as default audio sink" >&6;}
26534 cat >>confdefs.h <<_ACEOF
26535 #define DEFAULT_AUDIOSINK "$DEFAULT_AUDIOSINK"
26540 # Check whether --with-default-audiosrc was given.
26541 if test "${with_default_audiosrc+set}" = set; then :
26542 withval=$with_default_audiosrc;
26543 case "${withval}" in
26544 yes) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
26545 no) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
26546 *) DEFAULT_AUDIOSRC="${withval}" ;;
26551 DEFAULT_AUDIOSRC="$DEFAULT_AUDIOSRC"
26555 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSRC as default audio source" >&5
26556 $as_echo "$as_me: Using $DEFAULT_AUDIOSRC as default audio source" >&6;}
26559 cat >>confdefs.h <<_ACEOF
26560 #define DEFAULT_AUDIOSRC "$DEFAULT_AUDIOSRC"
26565 # Check whether --with-default-videosink was given.
26566 if test "${with_default_videosink+set}" = set; then :
26567 withval=$with_default_videosink;
26568 case "${withval}" in
26569 yes) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
26570 no) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
26571 *) DEFAULT_VIDEOSINK="${withval}" ;;
26576 DEFAULT_VIDEOSINK="$DEFAULT_VIDEOSINK"
26580 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSINK as default video sink" >&5
26581 $as_echo "$as_me: Using $DEFAULT_VIDEOSINK as default video sink" >&6;}
26584 cat >>confdefs.h <<_ACEOF
26585 #define DEFAULT_VIDEOSINK "$DEFAULT_VIDEOSINK"
26590 # Check whether --with-default-videosrc was given.
26591 if test "${with_default_videosrc+set}" = set; then :
26592 withval=$with_default_videosrc;
26593 case "${withval}" in
26594 yes) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
26595 no) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
26596 *) DEFAULT_VIDEOSRC="${withval}" ;;
26601 DEFAULT_VIDEOSRC="$DEFAULT_VIDEOSRC"
26605 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSRC as default video source" >&5
26606 $as_echo "$as_me: Using $DEFAULT_VIDEOSRC as default video source" >&6;}
26609 cat >>confdefs.h <<_ACEOF
26610 #define DEFAULT_VIDEOSRC "$DEFAULT_VIDEOSRC"
26615 # Check whether --with-default-visualizer was given.
26616 if test "${with_default_visualizer+set}" = set; then :
26617 withval=$with_default_visualizer;
26618 case "${withval}" in
26619 yes) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
26620 no) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
26621 *) DEFAULT_VISUALIZER="${withval}" ;;
26626 DEFAULT_VISUALIZER="$DEFAULT_VISUALIZER"
26630 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VISUALIZER as default visualizer" >&5
26631 $as_echo "$as_me: Using $DEFAULT_VISUALIZER as default visualizer" >&6;}
26634 cat >>confdefs.h <<_ACEOF
26635 #define DEFAULT_VISUALIZER "$DEFAULT_VISUALIZER"
26642 GST_PLUGINS_ALL="$GST_PLUGINS_ALL adpcmdec"
26646 # Check whether --enable-adpcmdec was given.
26647 if test "${enable_adpcmdec+set}" = set; then :
26648 enableval=$enable_adpcmdec;
26649 case "${enableval}" in
26650 yes) gst_use_adpcmdec=yes ;;
26651 no) gst_use_adpcmdec=no ;;
26652 *) as_fn_error $? "bad value ${enableval} for --enable-adpcmdec" "$LINENO" 5 ;;
26656 gst_use_adpcmdec=yes
26659 if test x$gst_use_adpcmdec = xno; then
26660 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin adpcmdec" >&5
26661 $as_echo "$as_me: disabling dependency-less plugin adpcmdec" >&6;}
26662 WITHOUT_PLUGINS="$WITHOUT_PLUGINS adpcmdec"
26666 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " adpcmdec " > /dev/null; then
26667 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED adpcmdec"
26669 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " adpcmdec " > /dev/null; then
26670 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ adpcmdec / /'`
26672 if echo " $GST_PLUGINS_SELECTED " | grep -i " adpcmdec " > /dev/null; then
26673 USE_PLUGIN_ADPCMDEC_TRUE=
26674 USE_PLUGIN_ADPCMDEC_FALSE='#'
26676 USE_PLUGIN_ADPCMDEC_TRUE='#'
26677 USE_PLUGIN_ADPCMDEC_FALSE=
26682 GST_PLUGINS_ALL="$GST_PLUGINS_ALL adpcmenc"
26686 # Check whether --enable-adpcmenc was given.
26687 if test "${enable_adpcmenc+set}" = set; then :
26688 enableval=$enable_adpcmenc;
26689 case "${enableval}" in
26690 yes) gst_use_adpcmenc=yes ;;
26691 no) gst_use_adpcmenc=no ;;
26692 *) as_fn_error $? "bad value ${enableval} for --enable-adpcmenc" "$LINENO" 5 ;;
26696 gst_use_adpcmenc=yes
26699 if test x$gst_use_adpcmenc = xno; then
26700 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin adpcmenc" >&5
26701 $as_echo "$as_me: disabling dependency-less plugin adpcmenc" >&6;}
26702 WITHOUT_PLUGINS="$WITHOUT_PLUGINS adpcmenc"
26706 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " adpcmenc " > /dev/null; then
26707 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED adpcmenc"
26709 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " adpcmenc " > /dev/null; then
26710 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ adpcmenc / /'`
26712 if echo " $GST_PLUGINS_SELECTED " | grep -i " adpcmenc " > /dev/null; then
26713 USE_PLUGIN_ADPCMENC_TRUE=
26714 USE_PLUGIN_ADPCMENC_FALSE='#'
26716 USE_PLUGIN_ADPCMENC_TRUE='#'
26717 USE_PLUGIN_ADPCMENC_FALSE=
26722 GST_PLUGINS_ALL="$GST_PLUGINS_ALL aiff"
26726 # Check whether --enable-aiff was given.
26727 if test "${enable_aiff+set}" = set; then :
26728 enableval=$enable_aiff;
26729 case "${enableval}" in
26730 yes) gst_use_aiff=yes ;;
26731 no) gst_use_aiff=no ;;
26732 *) as_fn_error $? "bad value ${enableval} for --enable-aiff" "$LINENO" 5 ;;
26739 if test x$gst_use_aiff = xno; then
26740 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin aiff" >&5
26741 $as_echo "$as_me: disabling dependency-less plugin aiff" >&6;}
26742 WITHOUT_PLUGINS="$WITHOUT_PLUGINS aiff"
26746 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " aiff " > /dev/null; then
26747 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED aiff"
26749 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " aiff " > /dev/null; then
26750 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ aiff / /'`
26752 if echo " $GST_PLUGINS_SELECTED " | grep -i " aiff " > /dev/null; then
26753 USE_PLUGIN_AIFF_TRUE=
26754 USE_PLUGIN_AIFF_FALSE='#'
26756 USE_PLUGIN_AIFF_TRUE='#'
26757 USE_PLUGIN_AIFF_FALSE=
26762 GST_PLUGINS_ALL="$GST_PLUGINS_ALL asfmux"
26766 # Check whether --enable-asfmux was given.
26767 if test "${enable_asfmux+set}" = set; then :
26768 enableval=$enable_asfmux;
26769 case "${enableval}" in
26770 yes) gst_use_asfmux=yes ;;
26771 no) gst_use_asfmux=no ;;
26772 *) as_fn_error $? "bad value ${enableval} for --enable-asfmux" "$LINENO" 5 ;;
26779 if test x$gst_use_asfmux = xno; then
26780 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin asfmux" >&5
26781 $as_echo "$as_me: disabling dependency-less plugin asfmux" >&6;}
26782 WITHOUT_PLUGINS="$WITHOUT_PLUGINS asfmux"
26786 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " asfmux " > /dev/null; then
26787 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED asfmux"
26789 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " asfmux " > /dev/null; then
26790 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ asfmux / /'`
26792 if echo " $GST_PLUGINS_SELECTED " | grep -i " asfmux " > /dev/null; then
26793 USE_PLUGIN_ASFMUX_TRUE=
26794 USE_PLUGIN_ASFMUX_FALSE='#'
26796 USE_PLUGIN_ASFMUX_TRUE='#'
26797 USE_PLUGIN_ASFMUX_FALSE=
26802 GST_PLUGINS_ALL="$GST_PLUGINS_ALL audiovisualizers"
26806 # Check whether --enable-audiovisualizers was given.
26807 if test "${enable_audiovisualizers+set}" = set; then :
26808 enableval=$enable_audiovisualizers;
26809 case "${enableval}" in
26810 yes) gst_use_audiovisualizers=yes ;;
26811 no) gst_use_audiovisualizers=no ;;
26812 *) as_fn_error $? "bad value ${enableval} for --enable-audiovisualizers" "$LINENO" 5 ;;
26816 gst_use_audiovisualizers=yes
26819 if test x$gst_use_audiovisualizers = xno; then
26820 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audiovisualizers" >&5
26821 $as_echo "$as_me: disabling dependency-less plugin audiovisualizers" >&6;}
26822 WITHOUT_PLUGINS="$WITHOUT_PLUGINS audiovisualizers"
26826 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audiovisualizers " > /dev/null; then
26827 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audiovisualizers"
26829 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audiovisualizers " > /dev/null; then
26830 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audiovisualizers / /'`
26832 if echo " $GST_PLUGINS_SELECTED " | grep -i " audiovisualizers " > /dev/null; then
26833 USE_PLUGIN_AUDIOVISUALIZERS_TRUE=
26834 USE_PLUGIN_AUDIOVISUALIZERS_FALSE='#'
26836 USE_PLUGIN_AUDIOVISUALIZERS_TRUE='#'
26837 USE_PLUGIN_AUDIOVISUALIZERS_FALSE=
26842 GST_PLUGINS_ALL="$GST_PLUGINS_ALL autoconvert"
26846 # Check whether --enable-autoconvert was given.
26847 if test "${enable_autoconvert+set}" = set; then :
26848 enableval=$enable_autoconvert;
26849 case "${enableval}" in
26850 yes) gst_use_autoconvert=yes ;;
26851 no) gst_use_autoconvert=no ;;
26852 *) as_fn_error $? "bad value ${enableval} for --enable-autoconvert" "$LINENO" 5 ;;
26856 gst_use_autoconvert=yes
26859 if test x$gst_use_autoconvert = xno; then
26860 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin autoconvert" >&5
26861 $as_echo "$as_me: disabling dependency-less plugin autoconvert" >&6;}
26862 WITHOUT_PLUGINS="$WITHOUT_PLUGINS autoconvert"
26866 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " autoconvert " > /dev/null; then
26867 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED autoconvert"
26869 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " autoconvert " > /dev/null; then
26870 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ autoconvert / /'`
26872 if echo " $GST_PLUGINS_SELECTED " | grep -i " autoconvert " > /dev/null; then
26873 USE_PLUGIN_AUTOCONVERT_TRUE=
26874 USE_PLUGIN_AUTOCONVERT_FALSE='#'
26876 USE_PLUGIN_AUTOCONVERT_TRUE='#'
26877 USE_PLUGIN_AUTOCONVERT_FALSE=
26882 GST_PLUGINS_ALL="$GST_PLUGINS_ALL bayer"
26886 # Check whether --enable-bayer was given.
26887 if test "${enable_bayer+set}" = set; then :
26888 enableval=$enable_bayer;
26889 case "${enableval}" in
26890 yes) gst_use_bayer=yes ;;
26891 no) gst_use_bayer=no ;;
26892 *) as_fn_error $? "bad value ${enableval} for --enable-bayer" "$LINENO" 5 ;;
26899 if test x$gst_use_bayer = xno; then
26900 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin bayer" >&5
26901 $as_echo "$as_me: disabling dependency-less plugin bayer" >&6;}
26902 WITHOUT_PLUGINS="$WITHOUT_PLUGINS bayer"
26906 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " bayer " > /dev/null; then
26907 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED bayer"
26909 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " bayer " > /dev/null; then
26910 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ bayer / /'`
26912 if echo " $GST_PLUGINS_SELECTED " | grep -i " bayer " > /dev/null; then
26913 USE_PLUGIN_BAYER_TRUE=
26914 USE_PLUGIN_BAYER_FALSE='#'
26916 USE_PLUGIN_BAYER_TRUE='#'
26917 USE_PLUGIN_BAYER_FALSE=
26922 GST_PLUGINS_ALL="$GST_PLUGINS_ALL camerabin"
26926 # Check whether --enable-camerabin was given.
26927 if test "${enable_camerabin+set}" = set; then :
26928 enableval=$enable_camerabin;
26929 case "${enableval}" in
26930 yes) gst_use_camerabin=yes ;;
26931 no) gst_use_camerabin=no ;;
26932 *) as_fn_error $? "bad value ${enableval} for --enable-camerabin" "$LINENO" 5 ;;
26936 gst_use_camerabin=yes
26939 if test x$gst_use_camerabin = xno; then
26940 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin camerabin" >&5
26941 $as_echo "$as_me: disabling dependency-less plugin camerabin" >&6;}
26942 WITHOUT_PLUGINS="$WITHOUT_PLUGINS camerabin"
26946 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " camerabin " > /dev/null; then
26947 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED camerabin"
26949 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " camerabin " > /dev/null; then
26950 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ camerabin / /'`
26952 if echo " $GST_PLUGINS_SELECTED " | grep -i " camerabin " > /dev/null; then
26953 USE_PLUGIN_CAMERABIN_TRUE=
26954 USE_PLUGIN_CAMERABIN_FALSE='#'
26956 USE_PLUGIN_CAMERABIN_TRUE='#'
26957 USE_PLUGIN_CAMERABIN_FALSE=
26962 GST_PLUGINS_ALL="$GST_PLUGINS_ALL camerabin2"
26966 # Check whether --enable-camerabin2 was given.
26967 if test "${enable_camerabin2+set}" = set; then :
26968 enableval=$enable_camerabin2;
26969 case "${enableval}" in
26970 yes) gst_use_camerabin2=yes ;;
26971 no) gst_use_camerabin2=no ;;
26972 *) as_fn_error $? "bad value ${enableval} for --enable-camerabin2" "$LINENO" 5 ;;
26976 gst_use_camerabin2=yes
26979 if test x$gst_use_camerabin2 = xno; then
26980 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin camerabin2" >&5
26981 $as_echo "$as_me: disabling dependency-less plugin camerabin2" >&6;}
26982 WITHOUT_PLUGINS="$WITHOUT_PLUGINS camerabin2"
26986 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " camerabin2 " > /dev/null; then
26987 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED camerabin2"
26989 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " camerabin2 " > /dev/null; then
26990 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ camerabin2 / /'`
26992 if echo " $GST_PLUGINS_SELECTED " | grep -i " camerabin2 " > /dev/null; then
26993 USE_PLUGIN_CAMERABIN2_TRUE=
26994 USE_PLUGIN_CAMERABIN2_FALSE='#'
26996 USE_PLUGIN_CAMERABIN2_TRUE='#'
26997 USE_PLUGIN_CAMERABIN2_FALSE=
27002 GST_PLUGINS_ALL="$GST_PLUGINS_ALL cdxaparse"
27006 # Check whether --enable-cdxaparse was given.
27007 if test "${enable_cdxaparse+set}" = set; then :
27008 enableval=$enable_cdxaparse;
27009 case "${enableval}" in
27010 yes) gst_use_cdxaparse=yes ;;
27011 no) gst_use_cdxaparse=no ;;
27012 *) as_fn_error $? "bad value ${enableval} for --enable-cdxaparse" "$LINENO" 5 ;;
27016 gst_use_cdxaparse=yes
27019 if test x$gst_use_cdxaparse = xno; then
27020 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin cdxaparse" >&5
27021 $as_echo "$as_me: disabling dependency-less plugin cdxaparse" >&6;}
27022 WITHOUT_PLUGINS="$WITHOUT_PLUGINS cdxaparse"
27026 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " cdxaparse " > /dev/null; then
27027 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED cdxaparse"
27029 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " cdxaparse " > /dev/null; then
27030 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ cdxaparse / /'`
27032 if echo " $GST_PLUGINS_SELECTED " | grep -i " cdxaparse " > /dev/null; then
27033 USE_PLUGIN_CDXAPARSE_TRUE=
27034 USE_PLUGIN_CDXAPARSE_FALSE='#'
27036 USE_PLUGIN_CDXAPARSE_TRUE='#'
27037 USE_PLUGIN_CDXAPARSE_FALSE=
27042 GST_PLUGINS_ALL="$GST_PLUGINS_ALL coloreffects"
27046 # Check whether --enable-coloreffects was given.
27047 if test "${enable_coloreffects+set}" = set; then :
27048 enableval=$enable_coloreffects;
27049 case "${enableval}" in
27050 yes) gst_use_coloreffects=yes ;;
27051 no) gst_use_coloreffects=no ;;
27052 *) as_fn_error $? "bad value ${enableval} for --enable-coloreffects" "$LINENO" 5 ;;
27056 gst_use_coloreffects=yes
27059 if test x$gst_use_coloreffects = xno; then
27060 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin coloreffects" >&5
27061 $as_echo "$as_me: disabling dependency-less plugin coloreffects" >&6;}
27062 WITHOUT_PLUGINS="$WITHOUT_PLUGINS coloreffects"
27066 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " coloreffects " > /dev/null; then
27067 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED coloreffects"
27069 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " coloreffects " > /dev/null; then
27070 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ coloreffects / /'`
27072 if echo " $GST_PLUGINS_SELECTED " | grep -i " coloreffects " > /dev/null; then
27073 USE_PLUGIN_COLOREFFECTS_TRUE=
27074 USE_PLUGIN_COLOREFFECTS_FALSE='#'
27076 USE_PLUGIN_COLOREFFECTS_TRUE='#'
27077 USE_PLUGIN_COLOREFFECTS_FALSE=
27082 GST_PLUGINS_ALL="$GST_PLUGINS_ALL colorspace"
27086 # Check whether --enable-colorspace was given.
27087 if test "${enable_colorspace+set}" = set; then :
27088 enableval=$enable_colorspace;
27089 case "${enableval}" in
27090 yes) gst_use_colorspace=yes ;;
27091 no) gst_use_colorspace=no ;;
27092 *) as_fn_error $? "bad value ${enableval} for --enable-colorspace" "$LINENO" 5 ;;
27096 gst_use_colorspace=yes
27099 if test x$gst_use_colorspace = xno; then
27100 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin colorspace" >&5
27101 $as_echo "$as_me: disabling dependency-less plugin colorspace" >&6;}
27102 WITHOUT_PLUGINS="$WITHOUT_PLUGINS colorspace"
27106 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " colorspace " > /dev/null; then
27107 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED colorspace"
27109 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " colorspace " > /dev/null; then
27110 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ colorspace / /'`
27112 if echo " $GST_PLUGINS_SELECTED " | grep -i " colorspace " > /dev/null; then
27113 USE_PLUGIN_COLORSPACE_TRUE=
27114 USE_PLUGIN_COLORSPACE_FALSE='#'
27116 USE_PLUGIN_COLORSPACE_TRUE='#'
27117 USE_PLUGIN_COLORSPACE_FALSE=
27122 GST_PLUGINS_ALL="$GST_PLUGINS_ALL dataurisrc"
27126 # Check whether --enable-dataurisrc was given.
27127 if test "${enable_dataurisrc+set}" = set; then :
27128 enableval=$enable_dataurisrc;
27129 case "${enableval}" in
27130 yes) gst_use_dataurisrc=yes ;;
27131 no) gst_use_dataurisrc=no ;;
27132 *) as_fn_error $? "bad value ${enableval} for --enable-dataurisrc" "$LINENO" 5 ;;
27136 gst_use_dataurisrc=yes
27139 if test x$gst_use_dataurisrc = xno; then
27140 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dataurisrc" >&5
27141 $as_echo "$as_me: disabling dependency-less plugin dataurisrc" >&6;}
27142 WITHOUT_PLUGINS="$WITHOUT_PLUGINS dataurisrc"
27146 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " dataurisrc " > /dev/null; then
27147 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED dataurisrc"
27149 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " dataurisrc " > /dev/null; then
27150 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dataurisrc / /'`
27152 if echo " $GST_PLUGINS_SELECTED " | grep -i " dataurisrc " > /dev/null; then
27153 USE_PLUGIN_DATAURISRC_TRUE=
27154 USE_PLUGIN_DATAURISRC_FALSE='#'
27156 USE_PLUGIN_DATAURISRC_TRUE='#'
27157 USE_PLUGIN_DATAURISRC_FALSE=
27162 GST_PLUGINS_ALL="$GST_PLUGINS_ALL dccp"
27166 # Check whether --enable-dccp was given.
27167 if test "${enable_dccp+set}" = set; then :
27168 enableval=$enable_dccp;
27169 case "${enableval}" in
27170 yes) gst_use_dccp=yes ;;
27171 no) gst_use_dccp=no ;;
27172 *) as_fn_error $? "bad value ${enableval} for --enable-dccp" "$LINENO" 5 ;;
27179 if test x$gst_use_dccp = xno; then
27180 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dccp" >&5
27181 $as_echo "$as_me: disabling dependency-less plugin dccp" >&6;}
27182 WITHOUT_PLUGINS="$WITHOUT_PLUGINS dccp"
27186 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " dccp " > /dev/null; then
27187 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED dccp"
27189 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " dccp " > /dev/null; then
27190 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dccp / /'`
27192 if echo " $GST_PLUGINS_SELECTED " | grep -i " dccp " > /dev/null; then
27193 USE_PLUGIN_DCCP_TRUE=
27194 USE_PLUGIN_DCCP_FALSE='#'
27196 USE_PLUGIN_DCCP_TRUE='#'
27197 USE_PLUGIN_DCCP_FALSE=
27202 GST_PLUGINS_ALL="$GST_PLUGINS_ALL debugutils"
27206 # Check whether --enable-debugutils was given.
27207 if test "${enable_debugutils+set}" = set; then :
27208 enableval=$enable_debugutils;
27209 case "${enableval}" in
27210 yes) gst_use_debugutils=yes ;;
27211 no) gst_use_debugutils=no ;;
27212 *) as_fn_error $? "bad value ${enableval} for --enable-debugutils" "$LINENO" 5 ;;
27216 gst_use_debugutils=yes
27219 if test x$gst_use_debugutils = xno; then
27220 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin debugutils" >&5
27221 $as_echo "$as_me: disabling dependency-less plugin debugutils" >&6;}
27222 WITHOUT_PLUGINS="$WITHOUT_PLUGINS debugutils"
27226 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " debugutils " > /dev/null; then
27227 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED debugutils"
27229 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " debugutils " > /dev/null; then
27230 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ debugutils / /'`
27232 if echo " $GST_PLUGINS_SELECTED " | grep -i " debugutils " > /dev/null; then
27233 USE_PLUGIN_DEBUGUTILS_TRUE=
27234 USE_PLUGIN_DEBUGUTILS_FALSE='#'
27236 USE_PLUGIN_DEBUGUTILS_TRUE='#'
27237 USE_PLUGIN_DEBUGUTILS_FALSE=
27242 GST_PLUGINS_ALL="$GST_PLUGINS_ALL dtmf"
27246 # Check whether --enable-dtmf was given.
27247 if test "${enable_dtmf+set}" = set; then :
27248 enableval=$enable_dtmf;
27249 case "${enableval}" in
27250 yes) gst_use_dtmf=yes ;;
27251 no) gst_use_dtmf=no ;;
27252 *) as_fn_error $? "bad value ${enableval} for --enable-dtmf" "$LINENO" 5 ;;
27259 if test x$gst_use_dtmf = xno; then
27260 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dtmf" >&5
27261 $as_echo "$as_me: disabling dependency-less plugin dtmf" >&6;}
27262 WITHOUT_PLUGINS="$WITHOUT_PLUGINS dtmf"
27266 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " dtmf " > /dev/null; then
27267 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED dtmf"
27269 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " dtmf " > /dev/null; then
27270 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dtmf / /'`
27272 if echo " $GST_PLUGINS_SELECTED " | grep -i " dtmf " > /dev/null; then
27273 USE_PLUGIN_DTMF_TRUE=
27274 USE_PLUGIN_DTMF_FALSE='#'
27276 USE_PLUGIN_DTMF_TRUE='#'
27277 USE_PLUGIN_DTMF_FALSE=
27282 GST_PLUGINS_ALL="$GST_PLUGINS_ALL dvbsuboverlay"
27286 # Check whether --enable-dvbsuboverlay was given.
27287 if test "${enable_dvbsuboverlay+set}" = set; then :
27288 enableval=$enable_dvbsuboverlay;
27289 case "${enableval}" in
27290 yes) gst_use_dvbsuboverlay=yes ;;
27291 no) gst_use_dvbsuboverlay=no ;;
27292 *) as_fn_error $? "bad value ${enableval} for --enable-dvbsuboverlay" "$LINENO" 5 ;;
27296 gst_use_dvbsuboverlay=yes
27299 if test x$gst_use_dvbsuboverlay = xno; then
27300 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dvbsuboverlay" >&5
27301 $as_echo "$as_me: disabling dependency-less plugin dvbsuboverlay" >&6;}
27302 WITHOUT_PLUGINS="$WITHOUT_PLUGINS dvbsuboverlay"
27306 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " dvbsuboverlay " > /dev/null; then
27307 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED dvbsuboverlay"
27309 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " dvbsuboverlay " > /dev/null; then
27310 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dvbsuboverlay / /'`
27312 if echo " $GST_PLUGINS_SELECTED " | grep -i " dvbsuboverlay " > /dev/null; then
27313 USE_PLUGIN_DVBSUBOVERLAY_TRUE=
27314 USE_PLUGIN_DVBSUBOVERLAY_FALSE='#'
27316 USE_PLUGIN_DVBSUBOVERLAY_TRUE='#'
27317 USE_PLUGIN_DVBSUBOVERLAY_FALSE=
27322 GST_PLUGINS_ALL="$GST_PLUGINS_ALL dvdspu"
27326 # Check whether --enable-dvdspu was given.
27327 if test "${enable_dvdspu+set}" = set; then :
27328 enableval=$enable_dvdspu;
27329 case "${enableval}" in
27330 yes) gst_use_dvdspu=yes ;;
27331 no) gst_use_dvdspu=no ;;
27332 *) as_fn_error $? "bad value ${enableval} for --enable-dvdspu" "$LINENO" 5 ;;
27339 if test x$gst_use_dvdspu = xno; then
27340 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dvdspu" >&5
27341 $as_echo "$as_me: disabling dependency-less plugin dvdspu" >&6;}
27342 WITHOUT_PLUGINS="$WITHOUT_PLUGINS dvdspu"
27346 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " dvdspu " > /dev/null; then
27347 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED dvdspu"
27349 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " dvdspu " > /dev/null; then
27350 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dvdspu / /'`
27352 if echo " $GST_PLUGINS_SELECTED " | grep -i " dvdspu " > /dev/null; then
27353 USE_PLUGIN_DVDSPU_TRUE=
27354 USE_PLUGIN_DVDSPU_FALSE='#'
27356 USE_PLUGIN_DVDSPU_TRUE='#'
27357 USE_PLUGIN_DVDSPU_FALSE=
27362 GST_PLUGINS_ALL="$GST_PLUGINS_ALL faceoverlay"
27366 # Check whether --enable-faceoverlay was given.
27367 if test "${enable_faceoverlay+set}" = set; then :
27368 enableval=$enable_faceoverlay;
27369 case "${enableval}" in
27370 yes) gst_use_faceoverlay=yes ;;
27371 no) gst_use_faceoverlay=no ;;
27372 *) as_fn_error $? "bad value ${enableval} for --enable-faceoverlay" "$LINENO" 5 ;;
27376 gst_use_faceoverlay=yes
27379 if test x$gst_use_faceoverlay = xno; then
27380 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin faceoverlay" >&5
27381 $as_echo "$as_me: disabling dependency-less plugin faceoverlay" >&6;}
27382 WITHOUT_PLUGINS="$WITHOUT_PLUGINS faceoverlay"
27386 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " faceoverlay " > /dev/null; then
27387 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED faceoverlay"
27389 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " faceoverlay " > /dev/null; then
27390 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ faceoverlay / /'`
27392 if echo " $GST_PLUGINS_SELECTED " | grep -i " faceoverlay " > /dev/null; then
27393 USE_PLUGIN_FACEOVERLAY_TRUE=
27394 USE_PLUGIN_FACEOVERLAY_FALSE='#'
27396 USE_PLUGIN_FACEOVERLAY_TRUE='#'
27397 USE_PLUGIN_FACEOVERLAY_FALSE=
27402 GST_PLUGINS_ALL="$GST_PLUGINS_ALL festival"
27406 # Check whether --enable-festival was given.
27407 if test "${enable_festival+set}" = set; then :
27408 enableval=$enable_festival;
27409 case "${enableval}" in
27410 yes) gst_use_festival=yes ;;
27411 no) gst_use_festival=no ;;
27412 *) as_fn_error $? "bad value ${enableval} for --enable-festival" "$LINENO" 5 ;;
27416 gst_use_festival=yes
27419 if test x$gst_use_festival = xno; then
27420 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin festival" >&5
27421 $as_echo "$as_me: disabling dependency-less plugin festival" >&6;}
27422 WITHOUT_PLUGINS="$WITHOUT_PLUGINS festival"
27426 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " festival " > /dev/null; then
27427 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED festival"
27429 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " festival " > /dev/null; then
27430 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ festival / /'`
27432 if echo " $GST_PLUGINS_SELECTED " | grep -i " festival " > /dev/null; then
27433 USE_PLUGIN_FESTIVAL_TRUE=
27434 USE_PLUGIN_FESTIVAL_FALSE='#'
27436 USE_PLUGIN_FESTIVAL_TRUE='#'
27437 USE_PLUGIN_FESTIVAL_FALSE=
27442 GST_PLUGINS_ALL="$GST_PLUGINS_ALL fieldanalysis"
27446 # Check whether --enable-fieldanalysis was given.
27447 if test "${enable_fieldanalysis+set}" = set; then :
27448 enableval=$enable_fieldanalysis;
27449 case "${enableval}" in
27450 yes) gst_use_fieldanalysis=yes ;;
27451 no) gst_use_fieldanalysis=no ;;
27452 *) as_fn_error $? "bad value ${enableval} for --enable-fieldanalysis" "$LINENO" 5 ;;
27456 gst_use_fieldanalysis=yes
27459 if test x$gst_use_fieldanalysis = xno; then
27460 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin fieldanalysis" >&5
27461 $as_echo "$as_me: disabling dependency-less plugin fieldanalysis" >&6;}
27462 WITHOUT_PLUGINS="$WITHOUT_PLUGINS fieldanalysis"
27466 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " fieldanalysis " > /dev/null; then
27467 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED fieldanalysis"
27469 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " fieldanalysis " > /dev/null; then
27470 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ fieldanalysis / /'`
27472 if echo " $GST_PLUGINS_SELECTED " | grep -i " fieldanalysis " > /dev/null; then
27473 USE_PLUGIN_FIELDANALYSIS_TRUE=
27474 USE_PLUGIN_FIELDANALYSIS_FALSE='#'
27476 USE_PLUGIN_FIELDANALYSIS_TRUE='#'
27477 USE_PLUGIN_FIELDANALYSIS_FALSE=
27482 GST_PLUGINS_ALL="$GST_PLUGINS_ALL freeze"
27486 # Check whether --enable-freeze was given.
27487 if test "${enable_freeze+set}" = set; then :
27488 enableval=$enable_freeze;
27489 case "${enableval}" in
27490 yes) gst_use_freeze=yes ;;
27491 no) gst_use_freeze=no ;;
27492 *) as_fn_error $? "bad value ${enableval} for --enable-freeze" "$LINENO" 5 ;;
27499 if test x$gst_use_freeze = xno; then
27500 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin freeze" >&5
27501 $as_echo "$as_me: disabling dependency-less plugin freeze" >&6;}
27502 WITHOUT_PLUGINS="$WITHOUT_PLUGINS freeze"
27506 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " freeze " > /dev/null; then
27507 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED freeze"
27509 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " freeze " > /dev/null; then
27510 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ freeze / /'`
27512 if echo " $GST_PLUGINS_SELECTED " | grep -i " freeze " > /dev/null; then
27513 USE_PLUGIN_FREEZE_TRUE=
27514 USE_PLUGIN_FREEZE_FALSE='#'
27516 USE_PLUGIN_FREEZE_TRUE='#'
27517 USE_PLUGIN_FREEZE_FALSE=
27522 GST_PLUGINS_ALL="$GST_PLUGINS_ALL freeverb"
27526 # Check whether --enable-freeverb was given.
27527 if test "${enable_freeverb+set}" = set; then :
27528 enableval=$enable_freeverb;
27529 case "${enableval}" in
27530 yes) gst_use_freeverb=yes ;;
27531 no) gst_use_freeverb=no ;;
27532 *) as_fn_error $? "bad value ${enableval} for --enable-freeverb" "$LINENO" 5 ;;
27536 gst_use_freeverb=yes
27539 if test x$gst_use_freeverb = xno; then
27540 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin freeverb" >&5
27541 $as_echo "$as_me: disabling dependency-less plugin freeverb" >&6;}
27542 WITHOUT_PLUGINS="$WITHOUT_PLUGINS freeverb"
27546 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " freeverb " > /dev/null; then
27547 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED freeverb"
27549 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " freeverb " > /dev/null; then
27550 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ freeverb / /'`
27552 if echo " $GST_PLUGINS_SELECTED " | grep -i " freeverb " > /dev/null; then
27553 USE_PLUGIN_FREEVERB_TRUE=
27554 USE_PLUGIN_FREEVERB_FALSE='#'
27556 USE_PLUGIN_FREEVERB_TRUE='#'
27557 USE_PLUGIN_FREEVERB_FALSE=
27562 GST_PLUGINS_ALL="$GST_PLUGINS_ALL frei0r"
27566 # Check whether --enable-frei0r was given.
27567 if test "${enable_frei0r+set}" = set; then :
27568 enableval=$enable_frei0r;
27569 case "${enableval}" in
27570 yes) gst_use_frei0r=yes ;;
27571 no) gst_use_frei0r=no ;;
27572 *) as_fn_error $? "bad value ${enableval} for --enable-frei0r" "$LINENO" 5 ;;
27579 if test x$gst_use_frei0r = xno; then
27580 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin frei0r" >&5
27581 $as_echo "$as_me: disabling dependency-less plugin frei0r" >&6;}
27582 WITHOUT_PLUGINS="$WITHOUT_PLUGINS frei0r"
27586 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " frei0r " > /dev/null; then
27587 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED frei0r"
27589 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " frei0r " > /dev/null; then
27590 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ frei0r / /'`
27592 if echo " $GST_PLUGINS_SELECTED " | grep -i " frei0r " > /dev/null; then
27593 USE_PLUGIN_FREI0R_TRUE=
27594 USE_PLUGIN_FREI0R_FALSE='#'
27596 USE_PLUGIN_FREI0R_TRUE='#'
27597 USE_PLUGIN_FREI0R_FALSE=
27602 GST_PLUGINS_ALL="$GST_PLUGINS_ALL gaudieffects"
27606 # Check whether --enable-gaudieffects was given.
27607 if test "${enable_gaudieffects+set}" = set; then :
27608 enableval=$enable_gaudieffects;
27609 case "${enableval}" in
27610 yes) gst_use_gaudieffects=yes ;;
27611 no) gst_use_gaudieffects=no ;;
27612 *) as_fn_error $? "bad value ${enableval} for --enable-gaudieffects" "$LINENO" 5 ;;
27616 gst_use_gaudieffects=yes
27619 if test x$gst_use_gaudieffects = xno; then
27620 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin gaudieffects" >&5
27621 $as_echo "$as_me: disabling dependency-less plugin gaudieffects" >&6;}
27622 WITHOUT_PLUGINS="$WITHOUT_PLUGINS gaudieffects"
27626 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " gaudieffects " > /dev/null; then
27627 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED gaudieffects"
27629 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " gaudieffects " > /dev/null; then
27630 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ gaudieffects / /'`
27632 if echo " $GST_PLUGINS_SELECTED " | grep -i " gaudieffects " > /dev/null; then
27633 USE_PLUGIN_GAUDIEFFECTS_TRUE=
27634 USE_PLUGIN_GAUDIEFFECTS_FALSE='#'
27636 USE_PLUGIN_GAUDIEFFECTS_TRUE='#'
27637 USE_PLUGIN_GAUDIEFFECTS_FALSE=
27642 GST_PLUGINS_ALL="$GST_PLUGINS_ALL geometrictransform"
27646 # Check whether --enable-geometrictransform was given.
27647 if test "${enable_geometrictransform+set}" = set; then :
27648 enableval=$enable_geometrictransform;
27649 case "${enableval}" in
27650 yes) gst_use_geometrictransform=yes ;;
27651 no) gst_use_geometrictransform=no ;;
27652 *) as_fn_error $? "bad value ${enableval} for --enable-geometrictransform" "$LINENO" 5 ;;
27656 gst_use_geometrictransform=yes
27659 if test x$gst_use_geometrictransform = xno; then
27660 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin geometrictransform" >&5
27661 $as_echo "$as_me: disabling dependency-less plugin geometrictransform" >&6;}
27662 WITHOUT_PLUGINS="$WITHOUT_PLUGINS geometrictransform"
27666 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " geometrictransform " > /dev/null; then
27667 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED geometrictransform"
27669 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " geometrictransform " > /dev/null; then
27670 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ geometrictransform / /'`
27672 if echo " $GST_PLUGINS_SELECTED " | grep -i " geometrictransform " > /dev/null; then
27673 USE_PLUGIN_GEOMETRICTRANSFORM_TRUE=
27674 USE_PLUGIN_GEOMETRICTRANSFORM_FALSE='#'
27676 USE_PLUGIN_GEOMETRICTRANSFORM_TRUE='#'
27677 USE_PLUGIN_GEOMETRICTRANSFORM_FALSE=
27682 GST_PLUGINS_ALL="$GST_PLUGINS_ALL h264parse"
27686 # Check whether --enable-h264parse was given.
27687 if test "${enable_h264parse+set}" = set; then :
27688 enableval=$enable_h264parse;
27689 case "${enableval}" in
27690 yes) gst_use_h264parse=yes ;;
27691 no) gst_use_h264parse=no ;;
27692 *) as_fn_error $? "bad value ${enableval} for --enable-h264parse" "$LINENO" 5 ;;
27696 gst_use_h264parse=yes
27699 if test x$gst_use_h264parse = xno; then
27700 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin h264parse" >&5
27701 $as_echo "$as_me: disabling dependency-less plugin h264parse" >&6;}
27702 WITHOUT_PLUGINS="$WITHOUT_PLUGINS h264parse"
27706 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " h264parse " > /dev/null; then
27707 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED h264parse"
27709 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " h264parse " > /dev/null; then
27710 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ h264parse / /'`
27712 if echo " $GST_PLUGINS_SELECTED " | grep -i " h264parse " > /dev/null; then
27713 USE_PLUGIN_H264PARSE_TRUE=
27714 USE_PLUGIN_H264PARSE_FALSE='#'
27716 USE_PLUGIN_H264PARSE_TRUE='#'
27717 USE_PLUGIN_H264PARSE_FALSE=
27722 GST_PLUGINS_ALL="$GST_PLUGINS_ALL hdvparse"
27726 # Check whether --enable-hdvparse was given.
27727 if test "${enable_hdvparse+set}" = set; then :
27728 enableval=$enable_hdvparse;
27729 case "${enableval}" in
27730 yes) gst_use_hdvparse=yes ;;
27731 no) gst_use_hdvparse=no ;;
27732 *) as_fn_error $? "bad value ${enableval} for --enable-hdvparse" "$LINENO" 5 ;;
27736 gst_use_hdvparse=yes
27739 if test x$gst_use_hdvparse = xno; then
27740 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin hdvparse" >&5
27741 $as_echo "$as_me: disabling dependency-less plugin hdvparse" >&6;}
27742 WITHOUT_PLUGINS="$WITHOUT_PLUGINS hdvparse"
27746 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " hdvparse " > /dev/null; then
27747 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED hdvparse"
27749 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " hdvparse " > /dev/null; then
27750 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ hdvparse / /'`
27752 if echo " $GST_PLUGINS_SELECTED " | grep -i " hdvparse " > /dev/null; then
27753 USE_PLUGIN_HDVPARSE_TRUE=
27754 USE_PLUGIN_HDVPARSE_FALSE='#'
27756 USE_PLUGIN_HDVPARSE_TRUE='#'
27757 USE_PLUGIN_HDVPARSE_FALSE=
27762 GST_PLUGINS_ALL="$GST_PLUGINS_ALL hls"
27766 # Check whether --enable-hls was given.
27767 if test "${enable_hls+set}" = set; then :
27768 enableval=$enable_hls;
27769 case "${enableval}" in
27770 yes) gst_use_hls=yes ;;
27771 no) gst_use_hls=no ;;
27772 *) as_fn_error $? "bad value ${enableval} for --enable-hls" "$LINENO" 5 ;;
27779 if test x$gst_use_hls = xno; then
27780 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin hls" >&5
27781 $as_echo "$as_me: disabling dependency-less plugin hls" >&6;}
27782 WITHOUT_PLUGINS="$WITHOUT_PLUGINS hls"
27786 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " hls " > /dev/null; then
27787 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED hls"
27789 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " hls " > /dev/null; then
27790 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ hls / /'`
27792 if echo " $GST_PLUGINS_SELECTED " | grep -i " hls " > /dev/null; then
27793 USE_PLUGIN_HLS_TRUE=
27794 USE_PLUGIN_HLS_FALSE='#'
27796 USE_PLUGIN_HLS_TRUE='#'
27797 USE_PLUGIN_HLS_FALSE=
27802 GST_PLUGINS_ALL="$GST_PLUGINS_ALL id3tag"
27806 # Check whether --enable-id3tag was given.
27807 if test "${enable_id3tag+set}" = set; then :
27808 enableval=$enable_id3tag;
27809 case "${enableval}" in
27810 yes) gst_use_id3tag=yes ;;
27811 no) gst_use_id3tag=no ;;
27812 *) as_fn_error $? "bad value ${enableval} for --enable-id3tag" "$LINENO" 5 ;;
27819 if test x$gst_use_id3tag = xno; then
27820 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin id3tag" >&5
27821 $as_echo "$as_me: disabling dependency-less plugin id3tag" >&6;}
27822 WITHOUT_PLUGINS="$WITHOUT_PLUGINS id3tag"
27826 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " id3tag " > /dev/null; then
27827 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED id3tag"
27829 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " id3tag " > /dev/null; then
27830 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ id3tag / /'`
27832 if echo " $GST_PLUGINS_SELECTED " | grep -i " id3tag " > /dev/null; then
27833 USE_PLUGIN_ID3TAG_TRUE=
27834 USE_PLUGIN_ID3TAG_FALSE='#'
27836 USE_PLUGIN_ID3TAG_TRUE='#'
27837 USE_PLUGIN_ID3TAG_FALSE=
27842 GST_PLUGINS_ALL="$GST_PLUGINS_ALL inter"
27846 # Check whether --enable-inter was given.
27847 if test "${enable_inter+set}" = set; then :
27848 enableval=$enable_inter;
27849 case "${enableval}" in
27850 yes) gst_use_inter=yes ;;
27851 no) gst_use_inter=no ;;
27852 *) as_fn_error $? "bad value ${enableval} for --enable-inter" "$LINENO" 5 ;;
27859 if test x$gst_use_inter = xno; then
27860 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin inter" >&5
27861 $as_echo "$as_me: disabling dependency-less plugin inter" >&6;}
27862 WITHOUT_PLUGINS="$WITHOUT_PLUGINS inter"
27866 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " inter " > /dev/null; then
27867 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED inter"
27869 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " inter " > /dev/null; then
27870 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ inter / /'`
27872 if echo " $GST_PLUGINS_SELECTED " | grep -i " inter " > /dev/null; then
27873 USE_PLUGIN_INTER_TRUE=
27874 USE_PLUGIN_INTER_FALSE='#'
27876 USE_PLUGIN_INTER_TRUE='#'
27877 USE_PLUGIN_INTER_FALSE=
27882 GST_PLUGINS_ALL="$GST_PLUGINS_ALL interlace"
27886 # Check whether --enable-interlace was given.
27887 if test "${enable_interlace+set}" = set; then :
27888 enableval=$enable_interlace;
27889 case "${enableval}" in
27890 yes) gst_use_interlace=yes ;;
27891 no) gst_use_interlace=no ;;
27892 *) as_fn_error $? "bad value ${enableval} for --enable-interlace" "$LINENO" 5 ;;
27896 gst_use_interlace=yes
27899 if test x$gst_use_interlace = xno; then
27900 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin interlace" >&5
27901 $as_echo "$as_me: disabling dependency-less plugin interlace" >&6;}
27902 WITHOUT_PLUGINS="$WITHOUT_PLUGINS interlace"
27906 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " interlace " > /dev/null; then
27907 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED interlace"
27909 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " interlace " > /dev/null; then
27910 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ interlace / /'`
27912 if echo " $GST_PLUGINS_SELECTED " | grep -i " interlace " > /dev/null; then
27913 USE_PLUGIN_INTERLACE_TRUE=
27914 USE_PLUGIN_INTERLACE_FALSE='#'
27916 USE_PLUGIN_INTERLACE_TRUE='#'
27917 USE_PLUGIN_INTERLACE_FALSE=
27922 GST_PLUGINS_ALL="$GST_PLUGINS_ALL ivfparse"
27926 # Check whether --enable-ivfparse was given.
27927 if test "${enable_ivfparse+set}" = set; then :
27928 enableval=$enable_ivfparse;
27929 case "${enableval}" in
27930 yes) gst_use_ivfparse=yes ;;
27931 no) gst_use_ivfparse=no ;;
27932 *) as_fn_error $? "bad value ${enableval} for --enable-ivfparse" "$LINENO" 5 ;;
27936 gst_use_ivfparse=yes
27939 if test x$gst_use_ivfparse = xno; then
27940 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin ivfparse" >&5
27941 $as_echo "$as_me: disabling dependency-less plugin ivfparse" >&6;}
27942 WITHOUT_PLUGINS="$WITHOUT_PLUGINS ivfparse"
27946 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " ivfparse " > /dev/null; then
27947 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED ivfparse"
27949 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " ivfparse " > /dev/null; then
27950 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ ivfparse / /'`
27952 if echo " $GST_PLUGINS_SELECTED " | grep -i " ivfparse " > /dev/null; then
27953 USE_PLUGIN_IVFPARSE_TRUE=
27954 USE_PLUGIN_IVFPARSE_FALSE='#'
27956 USE_PLUGIN_IVFPARSE_TRUE='#'
27957 USE_PLUGIN_IVFPARSE_FALSE=
27962 GST_PLUGINS_ALL="$GST_PLUGINS_ALL jp2kdecimator"
27966 # Check whether --enable-jp2kdecimator was given.
27967 if test "${enable_jp2kdecimator+set}" = set; then :
27968 enableval=$enable_jp2kdecimator;
27969 case "${enableval}" in
27970 yes) gst_use_jp2kdecimator=yes ;;
27971 no) gst_use_jp2kdecimator=no ;;
27972 *) as_fn_error $? "bad value ${enableval} for --enable-jp2kdecimator" "$LINENO" 5 ;;
27976 gst_use_jp2kdecimator=yes
27979 if test x$gst_use_jp2kdecimator = xno; then
27980 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin jp2kdecimator" >&5
27981 $as_echo "$as_me: disabling dependency-less plugin jp2kdecimator" >&6;}
27982 WITHOUT_PLUGINS="$WITHOUT_PLUGINS jp2kdecimator"
27986 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " jp2kdecimator " > /dev/null; then
27987 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED jp2kdecimator"
27989 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " jp2kdecimator " > /dev/null; then
27990 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ jp2kdecimator / /'`
27992 if echo " $GST_PLUGINS_SELECTED " | grep -i " jp2kdecimator " > /dev/null; then
27993 USE_PLUGIN_JP2KDECIMATOR_TRUE=
27994 USE_PLUGIN_JP2KDECIMATOR_FALSE='#'
27996 USE_PLUGIN_JP2KDECIMATOR_TRUE='#'
27997 USE_PLUGIN_JP2KDECIMATOR_FALSE=
28002 GST_PLUGINS_ALL="$GST_PLUGINS_ALL jpegformat"
28006 # Check whether --enable-jpegformat was given.
28007 if test "${enable_jpegformat+set}" = set; then :
28008 enableval=$enable_jpegformat;
28009 case "${enableval}" in
28010 yes) gst_use_jpegformat=yes ;;
28011 no) gst_use_jpegformat=no ;;
28012 *) as_fn_error $? "bad value ${enableval} for --enable-jpegformat" "$LINENO" 5 ;;
28016 gst_use_jpegformat=yes
28019 if test x$gst_use_jpegformat = xno; then
28020 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin jpegformat" >&5
28021 $as_echo "$as_me: disabling dependency-less plugin jpegformat" >&6;}
28022 WITHOUT_PLUGINS="$WITHOUT_PLUGINS jpegformat"
28026 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " jpegformat " > /dev/null; then
28027 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED jpegformat"
28029 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " jpegformat " > /dev/null; then
28030 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ jpegformat / /'`
28032 if echo " $GST_PLUGINS_SELECTED " | grep -i " jpegformat " > /dev/null; then
28033 USE_PLUGIN_JPEGFORMAT_TRUE=
28034 USE_PLUGIN_JPEGFORMAT_FALSE='#'
28036 USE_PLUGIN_JPEGFORMAT_TRUE='#'
28037 USE_PLUGIN_JPEGFORMAT_FALSE=
28042 GST_PLUGINS_ALL="$GST_PLUGINS_ALL legacyresample"
28046 # Check whether --enable-legacyresample was given.
28047 if test "${enable_legacyresample+set}" = set; then :
28048 enableval=$enable_legacyresample;
28049 case "${enableval}" in
28050 yes) gst_use_legacyresample=yes ;;
28051 no) gst_use_legacyresample=no ;;
28052 *) as_fn_error $? "bad value ${enableval} for --enable-legacyresample" "$LINENO" 5 ;;
28056 gst_use_legacyresample=yes
28059 if test x$gst_use_legacyresample = xno; then
28060 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin legacyresample" >&5
28061 $as_echo "$as_me: disabling dependency-less plugin legacyresample" >&6;}
28062 WITHOUT_PLUGINS="$WITHOUT_PLUGINS legacyresample"
28066 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " legacyresample " > /dev/null; then
28067 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED legacyresample"
28069 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " legacyresample " > /dev/null; then
28070 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ legacyresample / /'`
28072 if echo " $GST_PLUGINS_SELECTED " | grep -i " legacyresample " > /dev/null; then
28073 USE_PLUGIN_LEGACYRESAMPLE_TRUE=
28074 USE_PLUGIN_LEGACYRESAMPLE_FALSE='#'
28076 USE_PLUGIN_LEGACYRESAMPLE_TRUE='#'
28077 USE_PLUGIN_LEGACYRESAMPLE_FALSE=
28082 GST_PLUGINS_ALL="$GST_PLUGINS_ALL librfb"
28086 # Check whether --enable-librfb was given.
28087 if test "${enable_librfb+set}" = set; then :
28088 enableval=$enable_librfb;
28089 case "${enableval}" in
28090 yes) gst_use_librfb=yes ;;
28091 no) gst_use_librfb=no ;;
28092 *) as_fn_error $? "bad value ${enableval} for --enable-librfb" "$LINENO" 5 ;;
28099 if test x$gst_use_librfb = xno; then
28100 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin librfb" >&5
28101 $as_echo "$as_me: disabling dependency-less plugin librfb" >&6;}
28102 WITHOUT_PLUGINS="$WITHOUT_PLUGINS librfb"
28106 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " librfb " > /dev/null; then
28107 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED librfb"
28109 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " librfb " > /dev/null; then
28110 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ librfb / /'`
28112 if echo " $GST_PLUGINS_SELECTED " | grep -i " librfb " > /dev/null; then
28113 USE_PLUGIN_LIBRFB_TRUE=
28114 USE_PLUGIN_LIBRFB_FALSE='#'
28116 USE_PLUGIN_LIBRFB_TRUE='#'
28117 USE_PLUGIN_LIBRFB_FALSE=
28122 GST_PLUGINS_ALL="$GST_PLUGINS_ALL liveadder"
28126 # Check whether --enable-liveadder was given.
28127 if test "${enable_liveadder+set}" = set; then :
28128 enableval=$enable_liveadder;
28129 case "${enableval}" in
28130 yes) gst_use_liveadder=yes ;;
28131 no) gst_use_liveadder=no ;;
28132 *) as_fn_error $? "bad value ${enableval} for --enable-liveadder" "$LINENO" 5 ;;
28136 gst_use_liveadder=yes
28139 if test x$gst_use_liveadder = xno; then
28140 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin liveadder" >&5
28141 $as_echo "$as_me: disabling dependency-less plugin liveadder" >&6;}
28142 WITHOUT_PLUGINS="$WITHOUT_PLUGINS liveadder"
28146 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " liveadder " > /dev/null; then
28147 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED liveadder"
28149 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " liveadder " > /dev/null; then
28150 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ liveadder / /'`
28152 if echo " $GST_PLUGINS_SELECTED " | grep -i " liveadder " > /dev/null; then
28153 USE_PLUGIN_LIVEADDER_TRUE=
28154 USE_PLUGIN_LIVEADDER_FALSE='#'
28156 USE_PLUGIN_LIVEADDER_TRUE='#'
28157 USE_PLUGIN_LIVEADDER_FALSE=
28162 GST_PLUGINS_ALL="$GST_PLUGINS_ALL mpegdemux"
28166 # Check whether --enable-mpegdemux was given.
28167 if test "${enable_mpegdemux+set}" = set; then :
28168 enableval=$enable_mpegdemux;
28169 case "${enableval}" in
28170 yes) gst_use_mpegdemux=yes ;;
28171 no) gst_use_mpegdemux=no ;;
28172 *) as_fn_error $? "bad value ${enableval} for --enable-mpegdemux" "$LINENO" 5 ;;
28176 gst_use_mpegdemux=yes
28179 if test x$gst_use_mpegdemux = xno; then
28180 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mpegdemux" >&5
28181 $as_echo "$as_me: disabling dependency-less plugin mpegdemux" >&6;}
28182 WITHOUT_PLUGINS="$WITHOUT_PLUGINS mpegdemux"
28186 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " mpegdemux " > /dev/null; then
28187 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED mpegdemux"
28189 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " mpegdemux " > /dev/null; then
28190 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ mpegdemux / /'`
28192 if echo " $GST_PLUGINS_SELECTED " | grep -i " mpegdemux " > /dev/null; then
28193 USE_PLUGIN_MPEGDEMUX_TRUE=
28194 USE_PLUGIN_MPEGDEMUX_FALSE='#'
28196 USE_PLUGIN_MPEGDEMUX_TRUE='#'
28197 USE_PLUGIN_MPEGDEMUX_FALSE=
28202 GST_PLUGINS_ALL="$GST_PLUGINS_ALL mpegtsdemux"
28206 # Check whether --enable-mpegtsdemux was given.
28207 if test "${enable_mpegtsdemux+set}" = set; then :
28208 enableval=$enable_mpegtsdemux;
28209 case "${enableval}" in
28210 yes) gst_use_mpegtsdemux=yes ;;
28211 no) gst_use_mpegtsdemux=no ;;
28212 *) as_fn_error $? "bad value ${enableval} for --enable-mpegtsdemux" "$LINENO" 5 ;;
28216 gst_use_mpegtsdemux=yes
28219 if test x$gst_use_mpegtsdemux = xno; then
28220 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mpegtsdemux" >&5
28221 $as_echo "$as_me: disabling dependency-less plugin mpegtsdemux" >&6;}
28222 WITHOUT_PLUGINS="$WITHOUT_PLUGINS mpegtsdemux"
28226 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " mpegtsdemux " > /dev/null; then
28227 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED mpegtsdemux"
28229 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " mpegtsdemux " > /dev/null; then
28230 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ mpegtsdemux / /'`
28232 if echo " $GST_PLUGINS_SELECTED " | grep -i " mpegtsdemux " > /dev/null; then
28233 USE_PLUGIN_MPEGTSDEMUX_TRUE=
28234 USE_PLUGIN_MPEGTSDEMUX_FALSE='#'
28236 USE_PLUGIN_MPEGTSDEMUX_TRUE='#'
28237 USE_PLUGIN_MPEGTSDEMUX_FALSE=
28242 GST_PLUGINS_ALL="$GST_PLUGINS_ALL mpegtsmux"
28246 # Check whether --enable-mpegtsmux was given.
28247 if test "${enable_mpegtsmux+set}" = set; then :
28248 enableval=$enable_mpegtsmux;
28249 case "${enableval}" in
28250 yes) gst_use_mpegtsmux=yes ;;
28251 no) gst_use_mpegtsmux=no ;;
28252 *) as_fn_error $? "bad value ${enableval} for --enable-mpegtsmux" "$LINENO" 5 ;;
28256 gst_use_mpegtsmux=yes
28259 if test x$gst_use_mpegtsmux = xno; then
28260 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mpegtsmux" >&5
28261 $as_echo "$as_me: disabling dependency-less plugin mpegtsmux" >&6;}
28262 WITHOUT_PLUGINS="$WITHOUT_PLUGINS mpegtsmux"
28266 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " mpegtsmux " > /dev/null; then
28267 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED mpegtsmux"
28269 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " mpegtsmux " > /dev/null; then
28270 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ mpegtsmux / /'`
28272 if echo " $GST_PLUGINS_SELECTED " | grep -i " mpegtsmux " > /dev/null; then
28273 USE_PLUGIN_MPEGTSMUX_TRUE=
28274 USE_PLUGIN_MPEGTSMUX_FALSE='#'
28276 USE_PLUGIN_MPEGTSMUX_TRUE='#'
28277 USE_PLUGIN_MPEGTSMUX_FALSE=
28282 GST_PLUGINS_ALL="$GST_PLUGINS_ALL mpegpsmux"
28286 # Check whether --enable-mpegpsmux was given.
28287 if test "${enable_mpegpsmux+set}" = set; then :
28288 enableval=$enable_mpegpsmux;
28289 case "${enableval}" in
28290 yes) gst_use_mpegpsmux=yes ;;
28291 no) gst_use_mpegpsmux=no ;;
28292 *) as_fn_error $? "bad value ${enableval} for --enable-mpegpsmux" "$LINENO" 5 ;;
28296 gst_use_mpegpsmux=yes
28299 if test x$gst_use_mpegpsmux = xno; then
28300 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mpegpsmux" >&5
28301 $as_echo "$as_me: disabling dependency-less plugin mpegpsmux" >&6;}
28302 WITHOUT_PLUGINS="$WITHOUT_PLUGINS mpegpsmux"
28306 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " mpegpsmux " > /dev/null; then
28307 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED mpegpsmux"
28309 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " mpegpsmux " > /dev/null; then
28310 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ mpegpsmux / /'`
28312 if echo " $GST_PLUGINS_SELECTED " | grep -i " mpegpsmux " > /dev/null; then
28313 USE_PLUGIN_MPEGPSMUX_TRUE=
28314 USE_PLUGIN_MPEGPSMUX_FALSE='#'
28316 USE_PLUGIN_MPEGPSMUX_TRUE='#'
28317 USE_PLUGIN_MPEGPSMUX_FALSE=
28322 GST_PLUGINS_ALL="$GST_PLUGINS_ALL mpegvideoparse"
28326 # Check whether --enable-mpegvideoparse was given.
28327 if test "${enable_mpegvideoparse+set}" = set; then :
28328 enableval=$enable_mpegvideoparse;
28329 case "${enableval}" in
28330 yes) gst_use_mpegvideoparse=yes ;;
28331 no) gst_use_mpegvideoparse=no ;;
28332 *) as_fn_error $? "bad value ${enableval} for --enable-mpegvideoparse" "$LINENO" 5 ;;
28336 gst_use_mpegvideoparse=yes
28339 if test x$gst_use_mpegvideoparse = xno; then
28340 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mpegvideoparse" >&5
28341 $as_echo "$as_me: disabling dependency-less plugin mpegvideoparse" >&6;}
28342 WITHOUT_PLUGINS="$WITHOUT_PLUGINS mpegvideoparse"
28346 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " mpegvideoparse " > /dev/null; then
28347 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED mpegvideoparse"
28349 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " mpegvideoparse " > /dev/null; then
28350 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ mpegvideoparse / /'`
28352 if echo " $GST_PLUGINS_SELECTED " | grep -i " mpegvideoparse " > /dev/null; then
28353 USE_PLUGIN_MPEGVIDEOPARSE_TRUE=
28354 USE_PLUGIN_MPEGVIDEOPARSE_FALSE='#'
28356 USE_PLUGIN_MPEGVIDEOPARSE_TRUE='#'
28357 USE_PLUGIN_MPEGVIDEOPARSE_FALSE=
28362 GST_PLUGINS_ALL="$GST_PLUGINS_ALL mve"
28366 # Check whether --enable-mve was given.
28367 if test "${enable_mve+set}" = set; then :
28368 enableval=$enable_mve;
28369 case "${enableval}" in
28370 yes) gst_use_mve=yes ;;
28371 no) gst_use_mve=no ;;
28372 *) as_fn_error $? "bad value ${enableval} for --enable-mve" "$LINENO" 5 ;;
28379 if test x$gst_use_mve = xno; then
28380 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mve" >&5
28381 $as_echo "$as_me: disabling dependency-less plugin mve" >&6;}
28382 WITHOUT_PLUGINS="$WITHOUT_PLUGINS mve"
28386 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " mve " > /dev/null; then
28387 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED mve"
28389 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " mve " > /dev/null; then
28390 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ mve / /'`
28392 if echo " $GST_PLUGINS_SELECTED " | grep -i " mve " > /dev/null; then
28393 USE_PLUGIN_MVE_TRUE=
28394 USE_PLUGIN_MVE_FALSE='#'
28396 USE_PLUGIN_MVE_TRUE='#'
28397 USE_PLUGIN_MVE_FALSE=
28402 GST_PLUGINS_ALL="$GST_PLUGINS_ALL mxf"
28406 # Check whether --enable-mxf was given.
28407 if test "${enable_mxf+set}" = set; then :
28408 enableval=$enable_mxf;
28409 case "${enableval}" in
28410 yes) gst_use_mxf=yes ;;
28411 no) gst_use_mxf=no ;;
28412 *) as_fn_error $? "bad value ${enableval} for --enable-mxf" "$LINENO" 5 ;;
28419 if test x$gst_use_mxf = xno; then
28420 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mxf" >&5
28421 $as_echo "$as_me: disabling dependency-less plugin mxf" >&6;}
28422 WITHOUT_PLUGINS="$WITHOUT_PLUGINS mxf"
28426 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " mxf " > /dev/null; then
28427 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED mxf"
28429 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " mxf " > /dev/null; then
28430 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ mxf / /'`
28432 if echo " $GST_PLUGINS_SELECTED " | grep -i " mxf " > /dev/null; then
28433 USE_PLUGIN_MXF_TRUE=
28434 USE_PLUGIN_MXF_FALSE='#'
28436 USE_PLUGIN_MXF_TRUE='#'
28437 USE_PLUGIN_MXF_FALSE=
28442 GST_PLUGINS_ALL="$GST_PLUGINS_ALL nsf"
28446 # Check whether --enable-nsf was given.
28447 if test "${enable_nsf+set}" = set; then :
28448 enableval=$enable_nsf;
28449 case "${enableval}" in
28450 yes) gst_use_nsf=yes ;;
28451 no) gst_use_nsf=no ;;
28452 *) as_fn_error $? "bad value ${enableval} for --enable-nsf" "$LINENO" 5 ;;
28459 if test x$gst_use_nsf = xno; then
28460 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin nsf" >&5
28461 $as_echo "$as_me: disabling dependency-less plugin nsf" >&6;}
28462 WITHOUT_PLUGINS="$WITHOUT_PLUGINS nsf"
28466 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " nsf " > /dev/null; then
28467 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED nsf"
28469 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " nsf " > /dev/null; then
28470 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ nsf / /'`
28472 if echo " $GST_PLUGINS_SELECTED " | grep -i " nsf " > /dev/null; then
28473 USE_PLUGIN_NSF_TRUE=
28474 USE_PLUGIN_NSF_FALSE='#'
28476 USE_PLUGIN_NSF_TRUE='#'
28477 USE_PLUGIN_NSF_FALSE=
28482 GST_PLUGINS_ALL="$GST_PLUGINS_ALL nuvdemux"
28486 # Check whether --enable-nuvdemux was given.
28487 if test "${enable_nuvdemux+set}" = set; then :
28488 enableval=$enable_nuvdemux;
28489 case "${enableval}" in
28490 yes) gst_use_nuvdemux=yes ;;
28491 no) gst_use_nuvdemux=no ;;
28492 *) as_fn_error $? "bad value ${enableval} for --enable-nuvdemux" "$LINENO" 5 ;;
28496 gst_use_nuvdemux=yes
28499 if test x$gst_use_nuvdemux = xno; then
28500 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin nuvdemux" >&5
28501 $as_echo "$as_me: disabling dependency-less plugin nuvdemux" >&6;}
28502 WITHOUT_PLUGINS="$WITHOUT_PLUGINS nuvdemux"
28506 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " nuvdemux " > /dev/null; then
28507 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED nuvdemux"
28509 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " nuvdemux " > /dev/null; then
28510 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ nuvdemux / /'`
28512 if echo " $GST_PLUGINS_SELECTED " | grep -i " nuvdemux " > /dev/null; then
28513 USE_PLUGIN_NUVDEMUX_TRUE=
28514 USE_PLUGIN_NUVDEMUX_FALSE='#'
28516 USE_PLUGIN_NUVDEMUX_TRUE='#'
28517 USE_PLUGIN_NUVDEMUX_FALSE=
28522 GST_PLUGINS_ALL="$GST_PLUGINS_ALL patchdetect"
28526 # Check whether --enable-patchdetect was given.
28527 if test "${enable_patchdetect+set}" = set; then :
28528 enableval=$enable_patchdetect;
28529 case "${enableval}" in
28530 yes) gst_use_patchdetect=yes ;;
28531 no) gst_use_patchdetect=no ;;
28532 *) as_fn_error $? "bad value ${enableval} for --enable-patchdetect" "$LINENO" 5 ;;
28536 gst_use_patchdetect=yes
28539 if test x$gst_use_patchdetect = xno; then
28540 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin patchdetect" >&5
28541 $as_echo "$as_me: disabling dependency-less plugin patchdetect" >&6;}
28542 WITHOUT_PLUGINS="$WITHOUT_PLUGINS patchdetect"
28546 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " patchdetect " > /dev/null; then
28547 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED patchdetect"
28549 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " patchdetect " > /dev/null; then
28550 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ patchdetect / /'`
28552 if echo " $GST_PLUGINS_SELECTED " | grep -i " patchdetect " > /dev/null; then
28553 USE_PLUGIN_PATCHDETECT_TRUE=
28554 USE_PLUGIN_PATCHDETECT_FALSE='#'
28556 USE_PLUGIN_PATCHDETECT_TRUE='#'
28557 USE_PLUGIN_PATCHDETECT_FALSE=
28562 GST_PLUGINS_ALL="$GST_PLUGINS_ALL pcapparse"
28566 # Check whether --enable-pcapparse was given.
28567 if test "${enable_pcapparse+set}" = set; then :
28568 enableval=$enable_pcapparse;
28569 case "${enableval}" in
28570 yes) gst_use_pcapparse=yes ;;
28571 no) gst_use_pcapparse=no ;;
28572 *) as_fn_error $? "bad value ${enableval} for --enable-pcapparse" "$LINENO" 5 ;;
28576 gst_use_pcapparse=yes
28579 if test x$gst_use_pcapparse = xno; then
28580 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin pcapparse" >&5
28581 $as_echo "$as_me: disabling dependency-less plugin pcapparse" >&6;}
28582 WITHOUT_PLUGINS="$WITHOUT_PLUGINS pcapparse"
28586 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " pcapparse " > /dev/null; then
28587 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED pcapparse"
28589 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " pcapparse " > /dev/null; then
28590 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ pcapparse / /'`
28592 if echo " $GST_PLUGINS_SELECTED " | grep -i " pcapparse " > /dev/null; then
28593 USE_PLUGIN_PCAPPARSE_TRUE=
28594 USE_PLUGIN_PCAPPARSE_FALSE='#'
28596 USE_PLUGIN_PCAPPARSE_TRUE='#'
28597 USE_PLUGIN_PCAPPARSE_FALSE=
28602 GST_PLUGINS_ALL="$GST_PLUGINS_ALL pnm"
28606 # Check whether --enable-pnm was given.
28607 if test "${enable_pnm+set}" = set; then :
28608 enableval=$enable_pnm;
28609 case "${enableval}" in
28610 yes) gst_use_pnm=yes ;;
28611 no) gst_use_pnm=no ;;
28612 *) as_fn_error $? "bad value ${enableval} for --enable-pnm" "$LINENO" 5 ;;
28619 if test x$gst_use_pnm = xno; then
28620 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin pnm" >&5
28621 $as_echo "$as_me: disabling dependency-less plugin pnm" >&6;}
28622 WITHOUT_PLUGINS="$WITHOUT_PLUGINS pnm"
28626 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " pnm " > /dev/null; then
28627 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED pnm"
28629 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " pnm " > /dev/null; then
28630 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ pnm / /'`
28632 if echo " $GST_PLUGINS_SELECTED " | grep -i " pnm " > /dev/null; then
28633 USE_PLUGIN_PNM_TRUE=
28634 USE_PLUGIN_PNM_FALSE='#'
28636 USE_PLUGIN_PNM_TRUE='#'
28637 USE_PLUGIN_PNM_FALSE=
28642 GST_PLUGINS_ALL="$GST_PLUGINS_ALL rawparse"
28646 # Check whether --enable-rawparse was given.
28647 if test "${enable_rawparse+set}" = set; then :
28648 enableval=$enable_rawparse;
28649 case "${enableval}" in
28650 yes) gst_use_rawparse=yes ;;
28651 no) gst_use_rawparse=no ;;
28652 *) as_fn_error $? "bad value ${enableval} for --enable-rawparse" "$LINENO" 5 ;;
28656 gst_use_rawparse=yes
28659 if test x$gst_use_rawparse = xno; then
28660 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rawparse" >&5
28661 $as_echo "$as_me: disabling dependency-less plugin rawparse" >&6;}
28662 WITHOUT_PLUGINS="$WITHOUT_PLUGINS rawparse"
28666 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " rawparse " > /dev/null; then
28667 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED rawparse"
28669 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " rawparse " > /dev/null; then
28670 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rawparse / /'`
28672 if echo " $GST_PLUGINS_SELECTED " | grep -i " rawparse " > /dev/null; then
28673 USE_PLUGIN_RAWPARSE_TRUE=
28674 USE_PLUGIN_RAWPARSE_FALSE='#'
28676 USE_PLUGIN_RAWPARSE_TRUE='#'
28677 USE_PLUGIN_RAWPARSE_FALSE=
28682 GST_PLUGINS_ALL="$GST_PLUGINS_ALL real"
28686 # Check whether --enable-real was given.
28687 if test "${enable_real+set}" = set; then :
28688 enableval=$enable_real;
28689 case "${enableval}" in
28690 yes) gst_use_real=yes ;;
28691 no) gst_use_real=no ;;
28692 *) as_fn_error $? "bad value ${enableval} for --enable-real" "$LINENO" 5 ;;
28699 if test x$gst_use_real = xno; then
28700 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin real" >&5
28701 $as_echo "$as_me: disabling dependency-less plugin real" >&6;}
28702 WITHOUT_PLUGINS="$WITHOUT_PLUGINS real"
28706 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " real " > /dev/null; then
28707 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED real"
28709 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " real " > /dev/null; then
28710 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ real / /'`
28712 if echo " $GST_PLUGINS_SELECTED " | grep -i " real " > /dev/null; then
28713 USE_PLUGIN_REAL_TRUE=
28714 USE_PLUGIN_REAL_FALSE='#'
28716 USE_PLUGIN_REAL_TRUE='#'
28717 USE_PLUGIN_REAL_FALSE=
28722 GST_PLUGINS_ALL="$GST_PLUGINS_ALL removesilence"
28726 # Check whether --enable-removesilence was given.
28727 if test "${enable_removesilence+set}" = set; then :
28728 enableval=$enable_removesilence;
28729 case "${enableval}" in
28730 yes) gst_use_removesilence=yes ;;
28731 no) gst_use_removesilence=no ;;
28732 *) as_fn_error $? "bad value ${enableval} for --enable-removesilence" "$LINENO" 5 ;;
28736 gst_use_removesilence=yes
28739 if test x$gst_use_removesilence = xno; then
28740 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin removesilence" >&5
28741 $as_echo "$as_me: disabling dependency-less plugin removesilence" >&6;}
28742 WITHOUT_PLUGINS="$WITHOUT_PLUGINS removesilence"
28746 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " removesilence " > /dev/null; then
28747 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED removesilence"
28749 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " removesilence " > /dev/null; then
28750 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ removesilence / /'`
28752 if echo " $GST_PLUGINS_SELECTED " | grep -i " removesilence " > /dev/null; then
28753 USE_PLUGIN_REMOVESILENCE_TRUE=
28754 USE_PLUGIN_REMOVESILENCE_FALSE='#'
28756 USE_PLUGIN_REMOVESILENCE_TRUE='#'
28757 USE_PLUGIN_REMOVESILENCE_FALSE=
28762 GST_PLUGINS_ALL="$GST_PLUGINS_ALL rtpmux"
28766 # Check whether --enable-rtpmux was given.
28767 if test "${enable_rtpmux+set}" = set; then :
28768 enableval=$enable_rtpmux;
28769 case "${enableval}" in
28770 yes) gst_use_rtpmux=yes ;;
28771 no) gst_use_rtpmux=no ;;
28772 *) as_fn_error $? "bad value ${enableval} for --enable-rtpmux" "$LINENO" 5 ;;
28779 if test x$gst_use_rtpmux = xno; then
28780 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rtpmux" >&5
28781 $as_echo "$as_me: disabling dependency-less plugin rtpmux" >&6;}
28782 WITHOUT_PLUGINS="$WITHOUT_PLUGINS rtpmux"
28786 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " rtpmux " > /dev/null; then
28787 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED rtpmux"
28789 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " rtpmux " > /dev/null; then
28790 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtpmux / /'`
28792 if echo " $GST_PLUGINS_SELECTED " | grep -i " rtpmux " > /dev/null; then
28793 USE_PLUGIN_RTPMUX_TRUE=
28794 USE_PLUGIN_RTPMUX_FALSE='#'
28796 USE_PLUGIN_RTPMUX_TRUE='#'
28797 USE_PLUGIN_RTPMUX_FALSE=
28802 GST_PLUGINS_ALL="$GST_PLUGINS_ALL rtpvp8"
28806 # Check whether --enable-rtpvp8 was given.
28807 if test "${enable_rtpvp8+set}" = set; then :
28808 enableval=$enable_rtpvp8;
28809 case "${enableval}" in
28810 yes) gst_use_rtpvp8=yes ;;
28811 no) gst_use_rtpvp8=no ;;
28812 *) as_fn_error $? "bad value ${enableval} for --enable-rtpvp8" "$LINENO" 5 ;;
28819 if test x$gst_use_rtpvp8 = xno; then
28820 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rtpvp8" >&5
28821 $as_echo "$as_me: disabling dependency-less plugin rtpvp8" >&6;}
28822 WITHOUT_PLUGINS="$WITHOUT_PLUGINS rtpvp8"
28826 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " rtpvp8 " > /dev/null; then
28827 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED rtpvp8"
28829 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " rtpvp8 " > /dev/null; then
28830 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtpvp8 / /'`
28832 if echo " $GST_PLUGINS_SELECTED " | grep -i " rtpvp8 " > /dev/null; then
28833 USE_PLUGIN_RTPVP8_TRUE=
28834 USE_PLUGIN_RTPVP8_FALSE='#'
28836 USE_PLUGIN_RTPVP8_TRUE='#'
28837 USE_PLUGIN_RTPVP8_FALSE=
28842 GST_PLUGINS_ALL="$GST_PLUGINS_ALL scaletempo"
28846 # Check whether --enable-scaletempo was given.
28847 if test "${enable_scaletempo+set}" = set; then :
28848 enableval=$enable_scaletempo;
28849 case "${enableval}" in
28850 yes) gst_use_scaletempo=yes ;;
28851 no) gst_use_scaletempo=no ;;
28852 *) as_fn_error $? "bad value ${enableval} for --enable-scaletempo" "$LINENO" 5 ;;
28856 gst_use_scaletempo=yes
28859 if test x$gst_use_scaletempo = xno; then
28860 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin scaletempo" >&5
28861 $as_echo "$as_me: disabling dependency-less plugin scaletempo" >&6;}
28862 WITHOUT_PLUGINS="$WITHOUT_PLUGINS scaletempo"
28866 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " scaletempo " > /dev/null; then
28867 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED scaletempo"
28869 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " scaletempo " > /dev/null; then
28870 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ scaletempo / /'`
28872 if echo " $GST_PLUGINS_SELECTED " | grep -i " scaletempo " > /dev/null; then
28873 USE_PLUGIN_SCALETEMPO_TRUE=
28874 USE_PLUGIN_SCALETEMPO_FALSE='#'
28876 USE_PLUGIN_SCALETEMPO_TRUE='#'
28877 USE_PLUGIN_SCALETEMPO_FALSE=
28882 GST_PLUGINS_ALL="$GST_PLUGINS_ALL sdi"
28886 # Check whether --enable-sdi was given.
28887 if test "${enable_sdi+set}" = set; then :
28888 enableval=$enable_sdi;
28889 case "${enableval}" in
28890 yes) gst_use_sdi=yes ;;
28891 no) gst_use_sdi=no ;;
28892 *) as_fn_error $? "bad value ${enableval} for --enable-sdi" "$LINENO" 5 ;;
28899 if test x$gst_use_sdi = xno; then
28900 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin sdi" >&5
28901 $as_echo "$as_me: disabling dependency-less plugin sdi" >&6;}
28902 WITHOUT_PLUGINS="$WITHOUT_PLUGINS sdi"
28906 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " sdi " > /dev/null; then
28907 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED sdi"
28909 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " sdi " > /dev/null; then
28910 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ sdi / /'`
28912 if echo " $GST_PLUGINS_SELECTED " | grep -i " sdi " > /dev/null; then
28913 USE_PLUGIN_SDI_TRUE=
28914 USE_PLUGIN_SDI_FALSE='#'
28916 USE_PLUGIN_SDI_TRUE='#'
28917 USE_PLUGIN_SDI_FALSE=
28922 GST_PLUGINS_ALL="$GST_PLUGINS_ALL sdp"
28926 # Check whether --enable-sdp was given.
28927 if test "${enable_sdp+set}" = set; then :
28928 enableval=$enable_sdp;
28929 case "${enableval}" in
28930 yes) gst_use_sdp=yes ;;
28931 no) gst_use_sdp=no ;;
28932 *) as_fn_error $? "bad value ${enableval} for --enable-sdp" "$LINENO" 5 ;;
28939 if test x$gst_use_sdp = xno; then
28940 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin sdp" >&5
28941 $as_echo "$as_me: disabling dependency-less plugin sdp" >&6;}
28942 WITHOUT_PLUGINS="$WITHOUT_PLUGINS sdp"
28946 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " sdp " > /dev/null; then
28947 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED sdp"
28949 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " sdp " > /dev/null; then
28950 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ sdp / /'`
28952 if echo " $GST_PLUGINS_SELECTED " | grep -i " sdp " > /dev/null; then
28953 USE_PLUGIN_SDP_TRUE=
28954 USE_PLUGIN_SDP_FALSE='#'
28956 USE_PLUGIN_SDP_TRUE='#'
28957 USE_PLUGIN_SDP_FALSE=
28962 GST_PLUGINS_ALL="$GST_PLUGINS_ALL segmentclip"
28966 # Check whether --enable-segmentclip was given.
28967 if test "${enable_segmentclip+set}" = set; then :
28968 enableval=$enable_segmentclip;
28969 case "${enableval}" in
28970 yes) gst_use_segmentclip=yes ;;
28971 no) gst_use_segmentclip=no ;;
28972 *) as_fn_error $? "bad value ${enableval} for --enable-segmentclip" "$LINENO" 5 ;;
28976 gst_use_segmentclip=yes
28979 if test x$gst_use_segmentclip = xno; then
28980 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin segmentclip" >&5
28981 $as_echo "$as_me: disabling dependency-less plugin segmentclip" >&6;}
28982 WITHOUT_PLUGINS="$WITHOUT_PLUGINS segmentclip"
28986 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " segmentclip " > /dev/null; then
28987 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED segmentclip"
28989 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " segmentclip " > /dev/null; then
28990 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ segmentclip / /'`
28992 if echo " $GST_PLUGINS_SELECTED " | grep -i " segmentclip " > /dev/null; then
28993 USE_PLUGIN_SEGMENTCLIP_TRUE=
28994 USE_PLUGIN_SEGMENTCLIP_FALSE='#'
28996 USE_PLUGIN_SEGMENTCLIP_TRUE='#'
28997 USE_PLUGIN_SEGMENTCLIP_FALSE=
29002 GST_PLUGINS_ALL="$GST_PLUGINS_ALL siren"
29006 # Check whether --enable-siren was given.
29007 if test "${enable_siren+set}" = set; then :
29008 enableval=$enable_siren;
29009 case "${enableval}" in
29010 yes) gst_use_siren=yes ;;
29011 no) gst_use_siren=no ;;
29012 *) as_fn_error $? "bad value ${enableval} for --enable-siren" "$LINENO" 5 ;;
29019 if test x$gst_use_siren = xno; then
29020 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin siren" >&5
29021 $as_echo "$as_me: disabling dependency-less plugin siren" >&6;}
29022 WITHOUT_PLUGINS="$WITHOUT_PLUGINS siren"
29026 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " siren " > /dev/null; then
29027 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED siren"
29029 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " siren " > /dev/null; then
29030 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ siren / /'`
29032 if echo " $GST_PLUGINS_SELECTED " | grep -i " siren " > /dev/null; then
29033 USE_PLUGIN_SIREN_TRUE=
29034 USE_PLUGIN_SIREN_FALSE='#'
29036 USE_PLUGIN_SIREN_TRUE='#'
29037 USE_PLUGIN_SIREN_FALSE=
29042 GST_PLUGINS_ALL="$GST_PLUGINS_ALL smooth"
29046 # Check whether --enable-smooth was given.
29047 if test "${enable_smooth+set}" = set; then :
29048 enableval=$enable_smooth;
29049 case "${enableval}" in
29050 yes) gst_use_smooth=yes ;;
29051 no) gst_use_smooth=no ;;
29052 *) as_fn_error $? "bad value ${enableval} for --enable-smooth" "$LINENO" 5 ;;
29059 if test x$gst_use_smooth = xno; then
29060 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin smooth" >&5
29061 $as_echo "$as_me: disabling dependency-less plugin smooth" >&6;}
29062 WITHOUT_PLUGINS="$WITHOUT_PLUGINS smooth"
29066 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " smooth " > /dev/null; then
29067 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED smooth"
29069 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " smooth " > /dev/null; then
29070 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ smooth / /'`
29072 if echo " $GST_PLUGINS_SELECTED " | grep -i " smooth " > /dev/null; then
29073 USE_PLUGIN_SMOOTH_TRUE=
29074 USE_PLUGIN_SMOOTH_FALSE='#'
29076 USE_PLUGIN_SMOOTH_TRUE='#'
29077 USE_PLUGIN_SMOOTH_FALSE=
29082 GST_PLUGINS_ALL="$GST_PLUGINS_ALL speed"
29086 # Check whether --enable-speed was given.
29087 if test "${enable_speed+set}" = set; then :
29088 enableval=$enable_speed;
29089 case "${enableval}" in
29090 yes) gst_use_speed=yes ;;
29091 no) gst_use_speed=no ;;
29092 *) as_fn_error $? "bad value ${enableval} for --enable-speed" "$LINENO" 5 ;;
29099 if test x$gst_use_speed = xno; then
29100 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin speed" >&5
29101 $as_echo "$as_me: disabling dependency-less plugin speed" >&6;}
29102 WITHOUT_PLUGINS="$WITHOUT_PLUGINS speed"
29106 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " speed " > /dev/null; then
29107 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED speed"
29109 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " speed " > /dev/null; then
29110 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ speed / /'`
29112 if echo " $GST_PLUGINS_SELECTED " | grep -i " speed " > /dev/null; then
29113 USE_PLUGIN_SPEED_TRUE=
29114 USE_PLUGIN_SPEED_FALSE='#'
29116 USE_PLUGIN_SPEED_TRUE='#'
29117 USE_PLUGIN_SPEED_FALSE=
29122 GST_PLUGINS_ALL="$GST_PLUGINS_ALL subenc"
29126 # Check whether --enable-subenc was given.
29127 if test "${enable_subenc+set}" = set; then :
29128 enableval=$enable_subenc;
29129 case "${enableval}" in
29130 yes) gst_use_subenc=yes ;;
29131 no) gst_use_subenc=no ;;
29132 *) as_fn_error $? "bad value ${enableval} for --enable-subenc" "$LINENO" 5 ;;
29139 if test x$gst_use_subenc = xno; then
29140 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin subenc" >&5
29141 $as_echo "$as_me: disabling dependency-less plugin subenc" >&6;}
29142 WITHOUT_PLUGINS="$WITHOUT_PLUGINS subenc"
29146 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " subenc " > /dev/null; then
29147 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED subenc"
29149 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " subenc " > /dev/null; then
29150 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ subenc / /'`
29152 if echo " $GST_PLUGINS_SELECTED " | grep -i " subenc " > /dev/null; then
29153 USE_PLUGIN_SUBENC_TRUE=
29154 USE_PLUGIN_SUBENC_FALSE='#'
29156 USE_PLUGIN_SUBENC_TRUE='#'
29157 USE_PLUGIN_SUBENC_FALSE=
29162 GST_PLUGINS_ALL="$GST_PLUGINS_ALL stereo"
29166 # Check whether --enable-stereo was given.
29167 if test "${enable_stereo+set}" = set; then :
29168 enableval=$enable_stereo;
29169 case "${enableval}" in
29170 yes) gst_use_stereo=yes ;;
29171 no) gst_use_stereo=no ;;
29172 *) as_fn_error $? "bad value ${enableval} for --enable-stereo" "$LINENO" 5 ;;
29179 if test x$gst_use_stereo = xno; then
29180 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin stereo" >&5
29181 $as_echo "$as_me: disabling dependency-less plugin stereo" >&6;}
29182 WITHOUT_PLUGINS="$WITHOUT_PLUGINS stereo"
29186 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " stereo " > /dev/null; then
29187 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED stereo"
29189 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " stereo " > /dev/null; then
29190 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ stereo / /'`
29192 if echo " $GST_PLUGINS_SELECTED " | grep -i " stereo " > /dev/null; then
29193 USE_PLUGIN_STEREO_TRUE=
29194 USE_PLUGIN_STEREO_FALSE='#'
29196 USE_PLUGIN_STEREO_TRUE='#'
29197 USE_PLUGIN_STEREO_FALSE=
29202 GST_PLUGINS_ALL="$GST_PLUGINS_ALL tta"
29206 # Check whether --enable-tta was given.
29207 if test "${enable_tta+set}" = set; then :
29208 enableval=$enable_tta;
29209 case "${enableval}" in
29210 yes) gst_use_tta=yes ;;
29211 no) gst_use_tta=no ;;
29212 *) as_fn_error $? "bad value ${enableval} for --enable-tta" "$LINENO" 5 ;;
29219 if test x$gst_use_tta = xno; then
29220 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin tta" >&5
29221 $as_echo "$as_me: disabling dependency-less plugin tta" >&6;}
29222 WITHOUT_PLUGINS="$WITHOUT_PLUGINS tta"
29226 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " tta " > /dev/null; then
29227 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED tta"
29229 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " tta " > /dev/null; then
29230 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ tta / /'`
29232 if echo " $GST_PLUGINS_SELECTED " | grep -i " tta " > /dev/null; then
29233 USE_PLUGIN_TTA_TRUE=
29234 USE_PLUGIN_TTA_FALSE='#'
29236 USE_PLUGIN_TTA_TRUE='#'
29237 USE_PLUGIN_TTA_FALSE=
29242 GST_PLUGINS_ALL="$GST_PLUGINS_ALL videofilters"
29246 # Check whether --enable-videofilters was given.
29247 if test "${enable_videofilters+set}" = set; then :
29248 enableval=$enable_videofilters;
29249 case "${enableval}" in
29250 yes) gst_use_videofilters=yes ;;
29251 no) gst_use_videofilters=no ;;
29252 *) as_fn_error $? "bad value ${enableval} for --enable-videofilters" "$LINENO" 5 ;;
29256 gst_use_videofilters=yes
29259 if test x$gst_use_videofilters = xno; then
29260 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videofilters" >&5
29261 $as_echo "$as_me: disabling dependency-less plugin videofilters" >&6;}
29262 WITHOUT_PLUGINS="$WITHOUT_PLUGINS videofilters"
29266 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videofilters " > /dev/null; then
29267 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videofilters"
29269 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videofilters " > /dev/null; then
29270 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videofilters / /'`
29272 if echo " $GST_PLUGINS_SELECTED " | grep -i " videofilters " > /dev/null; then
29273 USE_PLUGIN_VIDEOFILTERS_TRUE=
29274 USE_PLUGIN_VIDEOFILTERS_FALSE='#'
29276 USE_PLUGIN_VIDEOFILTERS_TRUE='#'
29277 USE_PLUGIN_VIDEOFILTERS_FALSE=
29282 GST_PLUGINS_ALL="$GST_PLUGINS_ALL videomaxrate"
29286 # Check whether --enable-videomaxrate was given.
29287 if test "${enable_videomaxrate+set}" = set; then :
29288 enableval=$enable_videomaxrate;
29289 case "${enableval}" in
29290 yes) gst_use_videomaxrate=yes ;;
29291 no) gst_use_videomaxrate=no ;;
29292 *) as_fn_error $? "bad value ${enableval} for --enable-videomaxrate" "$LINENO" 5 ;;
29296 gst_use_videomaxrate=yes
29299 if test x$gst_use_videomaxrate = xno; then
29300 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videomaxrate" >&5
29301 $as_echo "$as_me: disabling dependency-less plugin videomaxrate" >&6;}
29302 WITHOUT_PLUGINS="$WITHOUT_PLUGINS videomaxrate"
29306 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videomaxrate " > /dev/null; then
29307 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videomaxrate"
29309 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videomaxrate " > /dev/null; then
29310 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videomaxrate / /'`
29312 if echo " $GST_PLUGINS_SELECTED " | grep -i " videomaxrate " > /dev/null; then
29313 USE_PLUGIN_VIDEOMAXRATE_TRUE=
29314 USE_PLUGIN_VIDEOMAXRATE_FALSE='#'
29316 USE_PLUGIN_VIDEOMAXRATE_TRUE='#'
29317 USE_PLUGIN_VIDEOMAXRATE_FALSE=
29322 GST_PLUGINS_ALL="$GST_PLUGINS_ALL videomeasure"
29326 # Check whether --enable-videomeasure was given.
29327 if test "${enable_videomeasure+set}" = set; then :
29328 enableval=$enable_videomeasure;
29329 case "${enableval}" in
29330 yes) gst_use_videomeasure=yes ;;
29331 no) gst_use_videomeasure=no ;;
29332 *) as_fn_error $? "bad value ${enableval} for --enable-videomeasure" "$LINENO" 5 ;;
29336 gst_use_videomeasure=yes
29339 if test x$gst_use_videomeasure = xno; then
29340 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videomeasure" >&5
29341 $as_echo "$as_me: disabling dependency-less plugin videomeasure" >&6;}
29342 WITHOUT_PLUGINS="$WITHOUT_PLUGINS videomeasure"
29346 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videomeasure " > /dev/null; then
29347 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videomeasure"
29349 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videomeasure " > /dev/null; then
29350 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videomeasure / /'`
29352 if echo " $GST_PLUGINS_SELECTED " | grep -i " videomeasure " > /dev/null; then
29353 USE_PLUGIN_VIDEOMEASURE_TRUE=
29354 USE_PLUGIN_VIDEOMEASURE_FALSE='#'
29356 USE_PLUGIN_VIDEOMEASURE_TRUE='#'
29357 USE_PLUGIN_VIDEOMEASURE_FALSE=
29362 GST_PLUGINS_ALL="$GST_PLUGINS_ALL videoparsers"
29366 # Check whether --enable-videoparsers was given.
29367 if test "${enable_videoparsers+set}" = set; then :
29368 enableval=$enable_videoparsers;
29369 case "${enableval}" in
29370 yes) gst_use_videoparsers=yes ;;
29371 no) gst_use_videoparsers=no ;;
29372 *) as_fn_error $? "bad value ${enableval} for --enable-videoparsers" "$LINENO" 5 ;;
29376 gst_use_videoparsers=yes
29379 if test x$gst_use_videoparsers = xno; then
29380 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videoparsers" >&5
29381 $as_echo "$as_me: disabling dependency-less plugin videoparsers" >&6;}
29382 WITHOUT_PLUGINS="$WITHOUT_PLUGINS videoparsers"
29386 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videoparsers " > /dev/null; then
29387 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videoparsers"
29389 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videoparsers " > /dev/null; then
29390 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videoparsers / /'`
29392 if echo " $GST_PLUGINS_SELECTED " | grep -i " videoparsers " > /dev/null; then
29393 USE_PLUGIN_VIDEOPARSERS_TRUE=
29394 USE_PLUGIN_VIDEOPARSERS_FALSE='#'
29396 USE_PLUGIN_VIDEOPARSERS_TRUE='#'
29397 USE_PLUGIN_VIDEOPARSERS_FALSE=
29402 GST_PLUGINS_ALL="$GST_PLUGINS_ALL videosignal"
29406 # Check whether --enable-videosignal was given.
29407 if test "${enable_videosignal+set}" = set; then :
29408 enableval=$enable_videosignal;
29409 case "${enableval}" in
29410 yes) gst_use_videosignal=yes ;;
29411 no) gst_use_videosignal=no ;;
29412 *) as_fn_error $? "bad value ${enableval} for --enable-videosignal" "$LINENO" 5 ;;
29416 gst_use_videosignal=yes
29419 if test x$gst_use_videosignal = xno; then
29420 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videosignal" >&5
29421 $as_echo "$as_me: disabling dependency-less plugin videosignal" >&6;}
29422 WITHOUT_PLUGINS="$WITHOUT_PLUGINS videosignal"
29426 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videosignal " > /dev/null; then
29427 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videosignal"
29429 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videosignal " > /dev/null; then
29430 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videosignal / /'`
29432 if echo " $GST_PLUGINS_SELECTED " | grep -i " videosignal " > /dev/null; then
29433 USE_PLUGIN_VIDEOSIGNAL_TRUE=
29434 USE_PLUGIN_VIDEOSIGNAL_FALSE='#'
29436 USE_PLUGIN_VIDEOSIGNAL_TRUE='#'
29437 USE_PLUGIN_VIDEOSIGNAL_FALSE=
29442 GST_PLUGINS_ALL="$GST_PLUGINS_ALL vmnc"
29446 # Check whether --enable-vmnc was given.
29447 if test "${enable_vmnc+set}" = set; then :
29448 enableval=$enable_vmnc;
29449 case "${enableval}" in
29450 yes) gst_use_vmnc=yes ;;
29451 no) gst_use_vmnc=no ;;
29452 *) as_fn_error $? "bad value ${enableval} for --enable-vmnc" "$LINENO" 5 ;;
29459 if test x$gst_use_vmnc = xno; then
29460 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin vmnc" >&5
29461 $as_echo "$as_me: disabling dependency-less plugin vmnc" >&6;}
29462 WITHOUT_PLUGINS="$WITHOUT_PLUGINS vmnc"
29466 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " vmnc " > /dev/null; then
29467 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED vmnc"
29469 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " vmnc " > /dev/null; then
29470 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ vmnc / /'`
29472 if echo " $GST_PLUGINS_SELECTED " | grep -i " vmnc " > /dev/null; then
29473 USE_PLUGIN_VMNC_TRUE=
29474 USE_PLUGIN_VMNC_FALSE='#'
29476 USE_PLUGIN_VMNC_TRUE='#'
29477 USE_PLUGIN_VMNC_FALSE=
29482 GST_PLUGINS_ALL="$GST_PLUGINS_ALL y4m"
29486 # Check whether --enable-y4m was given.
29487 if test "${enable_y4m+set}" = set; then :
29488 enableval=$enable_y4m;
29489 case "${enableval}" in
29490 yes) gst_use_y4m=yes ;;
29491 no) gst_use_y4m=no ;;
29492 *) as_fn_error $? "bad value ${enableval} for --enable-y4m" "$LINENO" 5 ;;
29499 if test x$gst_use_y4m = xno; then
29500 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin y4m" >&5
29501 $as_echo "$as_me: disabling dependency-less plugin y4m" >&6;}
29502 WITHOUT_PLUGINS="$WITHOUT_PLUGINS y4m"
29506 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " y4m " > /dev/null; then
29507 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED y4m"
29509 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " y4m " > /dev/null; then
29510 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ y4m / /'`
29512 if echo " $GST_PLUGINS_SELECTED " | grep -i " y4m " > /dev/null; then
29513 USE_PLUGIN_Y4M_TRUE=
29514 USE_PLUGIN_Y4M_FALSE='#'
29516 USE_PLUGIN_Y4M_TRUE='#'
29517 USE_PLUGIN_Y4M_FALSE=
29523 if test "x$HAVE_CPU_I386" != "xyes" && test "x$HAVE_CPU_X86_64" != "xyes"; then
29524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not building real plugin, only works on 32bit and 64bit x86 platforms" >&5
29525 $as_echo "$as_me: WARNING: Not building real plugin, only works on 32bit and 64bit x86 platforms" >&2;}
29527 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ real / /'`
29529 USE_PLUGIN_REAL_TRUE=
29530 USE_PLUGIN_REAL_FALSE='#'
29532 USE_PLUGIN_REAL_TRUE='#'
29533 USE_PLUGIN_REAL_FALSE=
29539 # This will always succeed because we depend on GLib >= 2.16
29542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
29543 $as_echo_n "checking for GIO... " >&6; }
29545 if test -n "$PKG_CONFIG"; then
29546 if test -n "$GIO_CFLAGS"; then
29547 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
29549 if test -n "$PKG_CONFIG" && \
29550 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16\""; } >&5
29551 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.16") 2>&5
29553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29554 test $ac_status = 0; }; then
29555 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.16" 2>/dev/null`
29563 if test -n "$PKG_CONFIG"; then
29564 if test -n "$GIO_LIBS"; then
29565 pkg_cv_GIO_LIBS="$GIO_LIBS"
29567 if test -n "$PKG_CONFIG" && \
29568 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16\""; } >&5
29569 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.16") 2>&5
29571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29572 test $ac_status = 0; }; then
29573 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.16" 2>/dev/null`
29584 if test $pkg_failed = yes; then
29586 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29587 _pkg_short_errors_supported=yes
29589 _pkg_short_errors_supported=no
29591 if test $_pkg_short_errors_supported = yes; then
29592 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0 >= 2.16"`
29594 GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0 >= 2.16"`
29596 # Put the nasty error message in config.log where it belongs
29597 echo "$GIO_PKG_ERRORS" >&5
29599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29600 $as_echo "no" >&6; }
29602 elif test $pkg_failed = untried; then
29605 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
29606 GIO_LIBS=$pkg_cv_GIO_LIBS
29607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29608 $as_echo "yes" >&6; }
29614 for ac_header in sys/socket.h
29616 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
29617 if test "x$ac_cv_header_sys_socket_h" = xyes; then :
29618 cat >>confdefs.h <<_ACEOF
29619 #define HAVE_SYS_SOCKET_H 1
29621 HAVE_SYS_SOCKET_H=yes
29626 for ac_header in winsock2.h
29628 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
29629 if test "x$ac_cv_header_winsock2_h" = xyes; then :
29630 cat >>confdefs.h <<_ACEOF
29631 #define HAVE_WINSOCK2_H 1
29633 HAVE_WINSOCK2_H=yes
29639 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
29640 WIN32_LIBS="-lws2_32"
29644 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
29645 HAVE_WINSOCK2_H_TRUE=
29646 HAVE_WINSOCK2_H_FALSE='#'
29648 HAVE_WINSOCK2_H_TRUE='#'
29649 HAVE_WINSOCK2_H_FALSE=
29653 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
29654 DCCP_LIBS="$DCCP_LIBS -lws2_32"
29655 XDG_LIBS="$XDG_LIBS -lws2_32"
29660 if test "x$HAVE_PTHREAD_H" = "xyes"; then
29661 DCCP_LIBS="$DCCP_LIBS -lpthread"
29665 if test "x$HAVE_PTHREAD_H" != "xyes"; then
29667 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dccp / /'`
29669 USE_PLUGIN_DCCP_TRUE=
29670 USE_PLUGIN_DCCP_FALSE='#'
29672 USE_PLUGIN_DCCP_TRUE='#'
29673 USE_PLUGIN_DCCP_FALSE=
29681 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: DirectSound ***" >&5
29682 $as_echo "$as_me: *** checking feature: DirectSound ***" >&6;}
29683 if test "xdirectsoundsrc" != "x"
29685 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: directsoundsrc ***" >&5
29686 $as_echo "$as_me: *** for plug-ins: directsoundsrc ***" >&6;}
29689 if test "x$USE_DIRECTSOUND" = "xno"; then
29692 # Check whether --enable-directsound was given.
29693 if test "${enable_directsound+set}" = set; then :
29694 enableval=$enable_directsound; case "${enableval}" in
29695 yes) USE_DIRECTSOUND=yes;;
29696 no) USE_DIRECTSOUND=no;;
29697 *) as_fn_error $? "bad value ${enableval} for --enable-directsound" "$LINENO" 5 ;;
29700 USE_DIRECTSOUND=yes
29703 if test "x$NOUSE" = "xyes"; then
29704 USE_DIRECTSOUND="no"
29705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** directsoundsrc pre-configured not to be built" >&5
29706 $as_echo "$as_me: WARNING: *** directsoundsrc pre-configured not to be built" >&2;}
29711 if test x$USE_DIRECTSOUND = xyes; then
29713 gst_check_save_LIBS=$LIBS
29714 gst_check_save_LDFLAGS=$LDFLAGS
29715 gst_check_save_CFLAGS=$CFLAGS
29716 gst_check_save_CPPFLAGS=$CPPFLAGS
29717 gst_check_save_CXXFLAGS=$CXXFLAGS
29719 HAVE_DIRECTSOUND=no
29721 HAVE_DIRECTSOUND="no"
29722 save_CFLAGS="$CFLAGS"
29723 save_LDFLAGS="$LDFLAGS"
29725 CFLAGS="$CFLAGS $DIRECTX_CFLAGS"
29726 LDFLAGS="$LDFLAGS $DIRECTX_LDFLAGS"
29727 LIBS="$LIBS -ldsound -ldxerr9 -luser32"
29728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DirectSound LDFLAGS" >&5
29729 $as_echo_n "checking for DirectSound LDFLAGS... " >&6; }
29730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29731 /* end confdefs.h. */
29733 #include <windows.h>
29734 #include <dxerr9.h>
29735 #include <dsound.h>
29739 DXGetErrorString9 (0);
29740 DirectSoundCreate(NULL, NULL, NULL);
29746 if ac_fn_c_try_link "$LINENO"; then :
29747 HAVE_DIRECTSOUND="yes"
29749 HAVE_DIRECTSOUND="no"
29751 rm -f core conftest.err conftest.$ac_objext \
29752 conftest$ac_exeext conftest.$ac_ext
29753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DIRECTSOUND" >&5
29754 $as_echo "$HAVE_DIRECTSOUND" >&6; }
29755 CFLAGS=$save_CFLAGS
29756 LDFLAGS=$save_LDFLAGS
29759 if test "x$HAVE_DIRECTSOUND" = "xyes"; then
29760 DIRECTSOUND_LIBS="-ldsound -ldxerr9 -luser32"
29768 LIBS=$gst_check_save_LIBS
29769 LDFLAGS=$gst_check_save_LDFLAGS
29770 CFLAGS=$gst_check_save_CFLAGS
29771 CPPFLAGS=$gst_check_save_CPPFLAGS
29772 CXXFLAGS=$gst_check_save_CXXFLAGS
29774 if test x$HAVE_DIRECTSOUND = xno; then
29777 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: directsoundsrc" >&5
29778 $as_echo "$as_me: *** These plugins will be built: directsoundsrc" >&6;}
29781 if test x$USE_DIRECTSOUND = xyes; then
29783 if test "xdirectsoundsrc" != "x"; then
29784 GST_PLUGINS_YES="\tdirectsoundsrc\n$GST_PLUGINS_YES"
29787 $as_echo "#define HAVE_DIRECTSOUND /**/" >>confdefs.h
29790 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: directsoundsrc" >&5
29791 $as_echo "$as_me: *** These plugins will not be built: directsoundsrc" >&6;}
29792 if test "xdirectsoundsrc" != "x"; then
29793 GST_PLUGINS_NO="\tdirectsoundsrc\n$GST_PLUGINS_NO"
29797 if test x$USE_DIRECTSOUND = xyes; then
29798 USE_DIRECTSOUND_TRUE=
29799 USE_DIRECTSOUND_FALSE='#'
29801 USE_DIRECTSOUND_TRUE='#'
29802 USE_DIRECTSOUND_FALSE=
29808 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Direct3D plug-in ***" >&5
29809 $as_echo "$as_me: *** checking feature: Direct3D plug-in ***" >&6;}
29810 if test "xdirect3dsink" != "x"
29812 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: direct3dsink ***" >&5
29813 $as_echo "$as_me: *** for plug-ins: direct3dsink ***" >&6;}
29816 if test "x$USE_DIRECT3D" = "xno"; then
29819 # Check whether --enable-direct3d was given.
29820 if test "${enable_direct3d+set}" = set; then :
29821 enableval=$enable_direct3d; case "${enableval}" in
29822 yes) USE_DIRECT3D=yes;;
29823 no) USE_DIRECT3D=no;;
29824 *) as_fn_error $? "bad value ${enableval} for --enable-direct3d" "$LINENO" 5 ;;
29830 if test "x$NOUSE" = "xyes"; then
29832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** direct3dsink pre-configured not to be built" >&5
29833 $as_echo "$as_me: WARNING: *** direct3dsink pre-configured not to be built" >&2;}
29838 if test x$USE_DIRECT3D = xyes; then
29840 gst_check_save_LIBS=$LIBS
29841 gst_check_save_LDFLAGS=$LDFLAGS
29842 gst_check_save_CFLAGS=$CFLAGS
29843 gst_check_save_CPPFLAGS=$CPPFLAGS
29844 gst_check_save_CXXFLAGS=$CXXFLAGS
29849 save_CFLAGS="$CFLAGS"
29850 save_LDFLAGS="$LDFLAGS"
29852 CFLAGS="$CFLAGS $DIRECTX_CFLAGS"
29853 LDFLAGS="$LDFLAGS $DIRECTX_LDFLAGS"
29854 LIBS="$LIBS -ld3d9 -lgdi32"
29855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Direct3D LDFLAGS" >&5
29856 $as_echo_n "checking for Direct3D LDFLAGS... " >&6; }
29857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29858 /* end confdefs.h. */
29860 #include <windows.h>
29865 Direct3DCreate9(D3D_SDK_VERSION);
29871 if ac_fn_c_try_link "$LINENO"; then :
29872 HAVE_DIRECT3D="yes"
29876 rm -f core conftest.err conftest.$ac_objext \
29877 conftest$ac_exeext conftest.$ac_ext
29878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DIRECT3D" >&5
29879 $as_echo "$HAVE_DIRECT3D" >&6; }
29880 CFLAGS=$save_CFLAGS
29881 LDFLAGS=$save_LDFLAGS
29884 if test "x$HAVE_DIRECT3D" = "xyes"; then
29885 DIRECT3D_LIBS="-lgdi32"
29891 LIBS=$gst_check_save_LIBS
29892 LDFLAGS=$gst_check_save_LDFLAGS
29893 CFLAGS=$gst_check_save_CFLAGS
29894 CPPFLAGS=$gst_check_save_CPPFLAGS
29895 CXXFLAGS=$gst_check_save_CXXFLAGS
29897 if test x$HAVE_DIRECT3D = xno; then
29900 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: direct3dsink" >&5
29901 $as_echo "$as_me: *** These plugins will be built: direct3dsink" >&6;}
29904 if test x$USE_DIRECT3D = xyes; then
29906 if test "xdirect3dsink" != "x"; then
29907 GST_PLUGINS_YES="\tdirect3dsink\n$GST_PLUGINS_YES"
29910 $as_echo "#define HAVE_DIRECT3D /**/" >>confdefs.h
29913 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: direct3dsink" >&5
29914 $as_echo "$as_me: *** These plugins will not be built: direct3dsink" >&6;}
29915 if test "xdirect3dsink" != "x"; then
29916 GST_PLUGINS_NO="\tdirect3dsink\n$GST_PLUGINS_NO"
29920 if test x$USE_DIRECT3D = xyes; then
29922 USE_DIRECT3D_FALSE='#'
29924 USE_DIRECT3D_TRUE='#'
29925 USE_DIRECT3D_FALSE=
29931 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: DirectDraw plug-in ***" >&5
29932 $as_echo "$as_me: *** checking feature: DirectDraw plug-in ***" >&6;}
29933 if test "xdirectdrawsink" != "x"
29935 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: directdrawsink ***" >&5
29936 $as_echo "$as_me: *** for plug-ins: directdrawsink ***" >&6;}
29939 if test "x$USE_DIRECTDRAW" = "xno"; then
29942 # Check whether --enable-directdraw was given.
29943 if test "${enable_directdraw+set}" = set; then :
29944 enableval=$enable_directdraw; case "${enableval}" in
29945 yes) USE_DIRECTDRAW=yes;;
29946 no) USE_DIRECTDRAW=no;;
29947 *) as_fn_error $? "bad value ${enableval} for --enable-directdraw" "$LINENO" 5 ;;
29953 if test "x$NOUSE" = "xyes"; then
29954 USE_DIRECTDRAW="no"
29955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** directdrawsink pre-configured not to be built" >&5
29956 $as_echo "$as_me: WARNING: *** directdrawsink pre-configured not to be built" >&2;}
29961 if test x$USE_DIRECTDRAW = xyes; then
29963 gst_check_save_LIBS=$LIBS
29964 gst_check_save_LDFLAGS=$LDFLAGS
29965 gst_check_save_CFLAGS=$CFLAGS
29966 gst_check_save_CPPFLAGS=$CPPFLAGS
29967 gst_check_save_CXXFLAGS=$CXXFLAGS
29971 HAVE_DIRECTDRAW="no"
29972 save_CFLAGS="$CFLAGS"
29973 save_LDFLAGS="$LDFLAGS"
29975 CFLAGS="$CFLAGS $DIRECTX_CFLAGS"
29976 LDFLAGS="$LDFLAGS $DIRECTX_LDFLAGS"
29977 LIBS="$LIBS -lddraw -lgdi32"
29978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DirectDraw LDFLAGS" >&5
29979 $as_echo_n "checking for DirectDraw LDFLAGS... " >&6; }
29980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29981 /* end confdefs.h. */
29983 #include <windows.h>
29989 DirectDrawCreate(NULL, NULL, NULL);
29995 if ac_fn_c_try_link "$LINENO"; then :
29996 HAVE_DIRECTDRAW="yes"
29998 HAVE_DIRECTDRAW="no"
30000 rm -f core conftest.err conftest.$ac_objext \
30001 conftest$ac_exeext conftest.$ac_ext
30002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DIRECTDRAW" >&5
30003 $as_echo "$HAVE_DIRECTDRAW" >&6; }
30004 CFLAGS=$save_CFLAGS
30005 LDFLAGS=$save_LDFLAGS
30008 if test "x$HAVE_DIRECTDRAW" = "xyes"; then
30009 DIRECTDRAW_LIBS="-lddraw -ldxguid -lgdi32"
30017 LIBS=$gst_check_save_LIBS
30018 LDFLAGS=$gst_check_save_LDFLAGS
30019 CFLAGS=$gst_check_save_CFLAGS
30020 CPPFLAGS=$gst_check_save_CPPFLAGS
30021 CXXFLAGS=$gst_check_save_CXXFLAGS
30023 if test x$HAVE_DIRECTDRAW = xno; then
30026 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: directdrawsink" >&5
30027 $as_echo "$as_me: *** These plugins will be built: directdrawsink" >&6;}
30030 if test x$USE_DIRECTDRAW = xyes; then
30032 if test "xdirectdrawsink" != "x"; then
30033 GST_PLUGINS_YES="\tdirectdrawsink\n$GST_PLUGINS_YES"
30036 $as_echo "#define HAVE_DIRECTDRAW /**/" >>confdefs.h
30039 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: directdrawsink" >&5
30040 $as_echo "$as_me: *** These plugins will not be built: directdrawsink" >&6;}
30041 if test "xdirectdrawsink" != "x"; then
30042 GST_PLUGINS_NO="\tdirectdrawsink\n$GST_PLUGINS_NO"
30046 if test x$USE_DIRECTDRAW = xyes; then
30047 USE_DIRECTDRAW_TRUE=
30048 USE_DIRECTDRAW_FALSE='#'
30050 USE_DIRECTDRAW_TRUE='#'
30051 USE_DIRECTDRAW_FALSE=
30056 HAVE_APPLE_MEDIA="no"
30058 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Apple video ***" >&5
30059 $as_echo "$as_me: *** checking feature: Apple video ***" >&6;}
30060 if test "xapplemedia" != "x"
30062 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: applemedia ***" >&5
30063 $as_echo "$as_me: *** for plug-ins: applemedia ***" >&6;}
30066 if test "x$USE_APPLE_MEDIA" = "xno"; then
30069 # Check whether --enable-apple_media was given.
30070 if test "${enable_apple_media+set}" = set; then :
30071 enableval=$enable_apple_media; case "${enableval}" in
30072 yes) USE_APPLE_MEDIA=yes;;
30073 no) USE_APPLE_MEDIA=no;;
30074 *) as_fn_error $? "bad value ${enableval} for --enable-apple_media" "$LINENO" 5 ;;
30077 USE_APPLE_MEDIA=yes
30080 if test "x$NOUSE" = "xyes"; then
30081 USE_APPLE_MEDIA="no"
30082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** applemedia pre-configured not to be built" >&5
30083 $as_echo "$as_me: WARNING: *** applemedia pre-configured not to be built" >&2;}
30088 if test x$USE_APPLE_MEDIA = xyes; then
30090 gst_check_save_LIBS=$LIBS
30091 gst_check_save_LDFLAGS=$LDFLAGS
30092 gst_check_save_CFLAGS=$CFLAGS
30093 gst_check_save_CPPFLAGS=$CPPFLAGS
30094 gst_check_save_CXXFLAGS=$CXXFLAGS
30096 HAVE_APPLE_MEDIA=no
30098 ac_fn_c_check_header_mongrel "$LINENO" "SystemConfiguration/SystemConfiguration.h" "ac_cv_header_SystemConfiguration_SystemConfiguration_h" "$ac_includes_default"
30099 if test "x$ac_cv_header_SystemConfiguration_SystemConfiguration_h" = xyes; then :
30100 HAVE_APPLE_MEDIA="yes"
30102 HAVE_APPLE_MEDIA="no"
30108 LIBS=$gst_check_save_LIBS
30109 LDFLAGS=$gst_check_save_LDFLAGS
30110 CFLAGS=$gst_check_save_CFLAGS
30111 CPPFLAGS=$gst_check_save_CPPFLAGS
30112 CXXFLAGS=$gst_check_save_CXXFLAGS
30114 if test x$HAVE_APPLE_MEDIA = xno; then
30117 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: applemedia" >&5
30118 $as_echo "$as_me: *** These plugins will be built: applemedia" >&6;}
30121 if test x$USE_APPLE_MEDIA = xyes; then
30123 if test "xapplemedia" != "x"; then
30124 GST_PLUGINS_YES="\tapplemedia\n$GST_PLUGINS_YES"
30127 $as_echo "#define HAVE_APPLE_MEDIA /**/" >>confdefs.h
30130 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: applemedia" >&5
30131 $as_echo "$as_me: *** These plugins will not be built: applemedia" >&6;}
30132 if test "xapplemedia" != "x"; then
30133 GST_PLUGINS_NO="\tapplemedia\n$GST_PLUGINS_NO"
30137 if test x$USE_APPLE_MEDIA = xyes; then
30138 USE_APPLE_MEDIA_TRUE=
30139 USE_APPLE_MEDIA_FALSE='#'
30141 USE_APPLE_MEDIA_TRUE='#'
30142 USE_APPLE_MEDIA_FALSE=
30150 HAVE_APPLE_MEDIA="no"
30154 if test "x$HAVE_APPLE_MEDIA" = "xyes"; then
30155 ac_fn_c_check_header_preproc "$LINENO" "MobileCoreServices/MobileCoreServices.h" "ac_cv_header_MobileCoreServices_MobileCoreServices_h"
30156 if test "x$ac_cv_header_MobileCoreServices_MobileCoreServices_h" = xyes; then :
30165 if test "x$HAVE_IOS" = "xyes"; then
30173 if test "x$HAVE_IOS" = "xyes"; then
30175 $as_echo "#define HAVE_IOS 1" >>confdefs.h
30179 HAVE_OSX_VIDEO="no"
30181 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: OSX video ***" >&5
30182 $as_echo "$as_me: *** checking feature: OSX video ***" >&6;}
30183 if test "xosxvideosrc" != "x"
30185 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: osxvideosrc ***" >&5
30186 $as_echo "$as_me: *** for plug-ins: osxvideosrc ***" >&6;}
30189 if test "x$USE_OSX_VIDEO" = "xno"; then
30192 # Check whether --enable-osx_video was given.
30193 if test "${enable_osx_video+set}" = set; then :
30194 enableval=$enable_osx_video; case "${enableval}" in
30195 yes) USE_OSX_VIDEO=yes;;
30196 no) USE_OSX_VIDEO=no;;
30197 *) as_fn_error $? "bad value ${enableval} for --enable-osx_video" "$LINENO" 5 ;;
30203 if test "x$NOUSE" = "xyes"; then
30205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** osxvideosrc pre-configured not to be built" >&5
30206 $as_echo "$as_me: WARNING: *** osxvideosrc pre-configured not to be built" >&2;}
30211 if test x$USE_OSX_VIDEO = xyes; then
30213 gst_check_save_LIBS=$LIBS
30214 gst_check_save_LDFLAGS=$LDFLAGS
30215 gst_check_save_CFLAGS=$CFLAGS
30216 gst_check_save_CPPFLAGS=$CPPFLAGS
30217 gst_check_save_CXXFLAGS=$CXXFLAGS
30221 ac_fn_c_check_type "$LINENO" "SeqGrabComponent" "ac_cv_type_SeqGrabComponent" "#include <Quicktime/Quicktime.h>
30223 if test "x$ac_cv_type_SeqGrabComponent" = xyes; then :
30224 HAVE_OSX_VIDEO="yes"
30226 HAVE_OSX_VIDEO="no"
30231 LIBS=$gst_check_save_LIBS
30232 LDFLAGS=$gst_check_save_LDFLAGS
30233 CFLAGS=$gst_check_save_CFLAGS
30234 CPPFLAGS=$gst_check_save_CPPFLAGS
30235 CXXFLAGS=$gst_check_save_CXXFLAGS
30237 if test x$HAVE_OSX_VIDEO = xno; then
30240 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: osxvideosrc" >&5
30241 $as_echo "$as_me: *** These plugins will be built: osxvideosrc" >&6;}
30244 if test x$USE_OSX_VIDEO = xyes; then
30246 if test "xosxvideosrc" != "x"; then
30247 GST_PLUGINS_YES="\tosxvideosrc\n$GST_PLUGINS_YES"
30250 $as_echo "#define HAVE_OSX_VIDEO /**/" >>confdefs.h
30253 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: osxvideosrc" >&5
30254 $as_echo "$as_me: *** These plugins will not be built: osxvideosrc" >&6;}
30255 if test "xosxvideosrc" != "x"; then
30256 GST_PLUGINS_NO="\tosxvideosrc\n$GST_PLUGINS_NO"
30260 if test x$USE_OSX_VIDEO = xyes; then
30261 USE_OSX_VIDEO_TRUE=
30262 USE_OSX_VIDEO_FALSE='#'
30264 USE_OSX_VIDEO_TRUE='#'
30265 USE_OSX_VIDEO_FALSE=
30273 HAVE_OSX_VIDEO="no"
30279 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: AVC Video Services ***" >&5
30280 $as_echo "$as_me: *** checking feature: AVC Video Services ***" >&6;}
30281 if test "xavcsrc" != "x"
30283 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: avcsrc ***" >&5
30284 $as_echo "$as_me: *** for plug-ins: avcsrc ***" >&6;}
30287 if test "x$USE_AVC" = "xno"; then
30290 # Check whether --enable-avc was given.
30291 if test "${enable_avc+set}" = set; then :
30292 enableval=$enable_avc; case "${enableval}" in
30295 *) as_fn_error $? "bad value ${enableval} for --enable-avc" "$LINENO" 5 ;;
30301 if test "x$NOUSE" = "xyes"; then
30303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** avcsrc pre-configured not to be built" >&5
30304 $as_echo "$as_me: WARNING: *** avcsrc pre-configured not to be built" >&2;}
30309 if test x$USE_AVC = xyes; then
30311 gst_check_save_LIBS=$LIBS
30312 gst_check_save_LDFLAGS=$LDFLAGS
30313 gst_check_save_CFLAGS=$CFLAGS
30314 gst_check_save_CPPFLAGS=$CPPFLAGS
30315 gst_check_save_CXXFLAGS=$CXXFLAGS
30320 ac_cpp='$CXXCPP $CPPFLAGS'
30321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30325 save_CPPFLAGS="$CPPFLAGS"
30326 CPPFLAGS="$CPPFLAGS -framework AVCVideoServices -framework CoreFoundation"
30328 LIBS="$LIBS -framework AVCVideoServices -framework CoreFoundation"
30329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30330 /* end confdefs.h. */
30340 if ac_fn_cxx_try_link "$LINENO"; then :
30345 rm -f core conftest.err conftest.$ac_objext \
30346 conftest$ac_exeext conftest.$ac_ext
30348 CPPFLAGS=$save_CPPFLAGS
30350 ac_cpp='$CPP $CPPFLAGS'
30351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30357 LIBS=$gst_check_save_LIBS
30358 LDFLAGS=$gst_check_save_LDFLAGS
30359 CFLAGS=$gst_check_save_CFLAGS
30360 CPPFLAGS=$gst_check_save_CPPFLAGS
30361 CXXFLAGS=$gst_check_save_CXXFLAGS
30363 if test x$HAVE_AVC = xno; then
30366 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: avcsrc" >&5
30367 $as_echo "$as_me: *** These plugins will be built: avcsrc" >&6;}
30370 if test x$USE_AVC = xyes; then
30372 if test "xavcsrc" != "x"; then
30373 GST_PLUGINS_YES="\tavcsrc\n$GST_PLUGINS_YES"
30376 $as_echo "#define HAVE_AVC /**/" >>confdefs.h
30379 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: avcsrc" >&5
30380 $as_echo "$as_me: *** These plugins will not be built: avcsrc" >&6;}
30381 if test "xavcsrc" != "x"; then
30382 GST_PLUGINS_NO="\tavcsrc\n$GST_PLUGINS_NO"
30386 if test x$USE_AVC = xyes; then
30404 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: QuickTime wrapper ***" >&5
30405 $as_echo "$as_me: *** checking feature: QuickTime wrapper ***" >&6;}
30406 if test "xqtwrapper" != "x"
30408 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: qtwrapper ***" >&5
30409 $as_echo "$as_me: *** for plug-ins: qtwrapper ***" >&6;}
30412 if test "x$USE_QUICKTIME" = "xno"; then
30415 # Check whether --enable-quicktime was given.
30416 if test "${enable_quicktime+set}" = set; then :
30417 enableval=$enable_quicktime; case "${enableval}" in
30418 yes) USE_QUICKTIME=yes;;
30419 no) USE_QUICKTIME=no;;
30420 *) as_fn_error $? "bad value ${enableval} for --enable-quicktime" "$LINENO" 5 ;;
30426 if test "x$NOUSE" = "xyes"; then
30428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** qtwrapper pre-configured not to be built" >&5
30429 $as_echo "$as_me: WARNING: *** qtwrapper pre-configured not to be built" >&2;}
30434 if test x$USE_QUICKTIME = xyes; then
30436 gst_check_save_LIBS=$LIBS
30437 gst_check_save_LDFLAGS=$LDFLAGS
30438 gst_check_save_CFLAGS=$CFLAGS
30439 gst_check_save_CPPFLAGS=$CPPFLAGS
30440 gst_check_save_CXXFLAGS=$CXXFLAGS
30444 ac_fn_c_check_type "$LINENO" "SampleReferenceRecord" "ac_cv_type_SampleReferenceRecord" "#include <Quicktime/Quicktime.h>
30446 if test "x$ac_cv_type_SampleReferenceRecord" = xyes; then :
30447 HAVE_QUICKTIME="yes"
30449 HAVE_QUICKTIME="no"
30454 LIBS=$gst_check_save_LIBS
30455 LDFLAGS=$gst_check_save_LDFLAGS
30456 CFLAGS=$gst_check_save_CFLAGS
30457 CPPFLAGS=$gst_check_save_CPPFLAGS
30458 CXXFLAGS=$gst_check_save_CXXFLAGS
30460 if test x$HAVE_QUICKTIME = xno; then
30463 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: qtwrapper" >&5
30464 $as_echo "$as_me: *** These plugins will be built: qtwrapper" >&6;}
30467 if test x$USE_QUICKTIME = xyes; then
30469 if test "xqtwrapper" != "x"; then
30470 GST_PLUGINS_YES="\tqtwrapper\n$GST_PLUGINS_YES"
30473 $as_echo "#define HAVE_QUICKTIME /**/" >>confdefs.h
30476 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: qtwrapper" >&5
30477 $as_echo "$as_me: *** These plugins will not be built: qtwrapper" >&6;}
30478 if test "xqtwrapper" != "x"; then
30479 GST_PLUGINS_NO="\tqtwrapper\n$GST_PLUGINS_NO"
30483 if test x$USE_QUICKTIME = xyes; then
30484 USE_QUICKTIME_TRUE=
30485 USE_QUICKTIME_FALSE='#'
30487 USE_QUICKTIME_TRUE='#'
30488 USE_QUICKTIME_FALSE=
30494 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: POSIX shared memory source and sink ***" >&5
30495 $as_echo "$as_me: *** checking feature: POSIX shared memory source and sink ***" >&6;}
30496 if test "xshm" != "x"
30498 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: shm ***" >&5
30499 $as_echo "$as_me: *** for plug-ins: shm ***" >&6;}
30502 if test "x$USE_SHM" = "xno"; then
30505 # Check whether --enable-shm was given.
30506 if test "${enable_shm+set}" = set; then :
30507 enableval=$enable_shm; case "${enableval}" in
30510 *) as_fn_error $? "bad value ${enableval} for --enable-shm" "$LINENO" 5 ;;
30516 if test "x$NOUSE" = "xyes"; then
30518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** shm pre-configured not to be built" >&5
30519 $as_echo "$as_me: WARNING: *** shm pre-configured not to be built" >&2;}
30524 if test x$USE_SHM = xyes; then
30526 gst_check_save_LIBS=$LIBS
30527 gst_check_save_LDFLAGS=$LDFLAGS
30528 gst_check_save_CFLAGS=$CFLAGS
30529 gst_check_save_CPPFLAGS=$CPPFLAGS
30530 gst_check_save_CXXFLAGS=$CXXFLAGS
30534 if test "x$HAVE_SYS_SOCKET_H" = "xyes"; then
30535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in -lrt" >&5
30536 $as_echo_n "checking for shm_open in -lrt... " >&6; }
30537 if ${ac_cv_lib_rt_shm_open+:} false; then :
30538 $as_echo_n "(cached) " >&6
30540 ac_check_lib_save_LIBS=$LIBS
30542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30543 /* end confdefs.h. */
30545 /* Override any GCC internal prototype to avoid an error.
30546 Use char because int might match the return type of a GCC
30547 builtin and then its argument prototype would still apply. */
30555 return shm_open ();
30560 if ac_fn_c_try_link "$LINENO"; then :
30561 ac_cv_lib_rt_shm_open=yes
30563 ac_cv_lib_rt_shm_open=no
30565 rm -f core conftest.err conftest.$ac_objext \
30566 conftest$ac_exeext conftest.$ac_ext
30567 LIBS=$ac_check_lib_save_LIBS
30569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_shm_open" >&5
30570 $as_echo "$ac_cv_lib_rt_shm_open" >&6; }
30571 if test "x$ac_cv_lib_rt_shm_open" = xyes; then :
30572 ac_fn_c_check_decl "$LINENO" "MSG_NOSIGNAL" "ac_cv_have_decl_MSG_NOSIGNAL" "
30573 #include <sys/socket.h>
30576 if test "x$ac_cv_have_decl_MSG_NOSIGNAL" = xyes; then :
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_SHM = xno; then
30600 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: shm" >&5
30601 $as_echo "$as_me: *** These plugins will be built: shm" >&6;}
30604 if test x$USE_SHM = xyes; then
30606 if test "xshm" != "x"; then
30607 GST_PLUGINS_YES="\tshm\n$GST_PLUGINS_YES"
30610 $as_echo "#define HAVE_SHM /**/" >>confdefs.h
30613 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: shm" >&5
30614 $as_echo "$as_me: *** These plugins will not be built: shm" >&6;}
30615 if test "xshm" != "x"; then
30616 GST_PLUGINS_NO="\tshm\n$GST_PLUGINS_NO"
30620 if test x$USE_SHM = xyes; then
30631 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Video CD ***" >&5
30632 $as_echo "$as_me: *** checking feature: Video CD ***" >&6;}
30633 if test "xvcdsrc" != "x"
30635 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: vcdsrc ***" >&5
30636 $as_echo "$as_me: *** for plug-ins: vcdsrc ***" >&6;}
30639 if test "x$USE_VCD" = "xno"; then
30642 # Check whether --enable-vcd was given.
30643 if test "${enable_vcd+set}" = set; then :
30644 enableval=$enable_vcd; case "${enableval}" in
30647 *) as_fn_error $? "bad value ${enableval} for --enable-vcd" "$LINENO" 5 ;;
30653 if test "x$NOUSE" = "xyes"; then
30655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** vcdsrc pre-configured not to be built" >&5
30656 $as_echo "$as_me: WARNING: *** vcdsrc pre-configured not to be built" >&2;}
30661 if test x$USE_VCD = xyes; then
30663 gst_check_save_LIBS=$LIBS
30664 gst_check_save_LDFLAGS=$LDFLAGS
30665 gst_check_save_CFLAGS=$CFLAGS
30666 gst_check_save_CPPFLAGS=$CPPFLAGS
30667 gst_check_save_CXXFLAGS=$CXXFLAGS
30671 ac_fn_c_check_header_mongrel "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
30672 if test "x$ac_cv_header_linux_cdrom_h" = xyes; then :
30681 LIBS=$gst_check_save_LIBS
30682 LDFLAGS=$gst_check_save_LDFLAGS
30683 CFLAGS=$gst_check_save_CFLAGS
30684 CPPFLAGS=$gst_check_save_CPPFLAGS
30685 CXXFLAGS=$gst_check_save_CXXFLAGS
30687 if test x$HAVE_VCD = xno; then
30690 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: vcdsrc" >&5
30691 $as_echo "$as_me: *** These plugins will be built: vcdsrc" >&6;}
30694 if test x$USE_VCD = xyes; then
30696 if test "xvcdsrc" != "x"; then
30697 GST_PLUGINS_YES="\tvcdsrc\n$GST_PLUGINS_YES"
30700 $as_echo "#define HAVE_VCD /**/" >>confdefs.h
30703 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: vcdsrc" >&5
30704 $as_echo "$as_me: *** These plugins will not be built: vcdsrc" >&6;}
30705 if test "xvcdsrc" != "x"; then
30706 GST_PLUGINS_NO="\tvcdsrc\n$GST_PLUGINS_NO"
30710 if test x$USE_VCD = xyes; then
30721 if test "x$BUILD_EXTERNAL" = "xyes"; then
30724 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: ASS/SSA renderer ***" >&5
30725 $as_echo "$as_me: *** checking feature: ASS/SSA renderer ***" >&6;}
30726 if test "xassrender" != "x"
30728 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: assrender ***" >&5
30729 $as_echo "$as_me: *** for plug-ins: assrender ***" >&6;}
30732 if test "x$USE_ASSRENDER" = "xno"; then
30735 # Check whether --enable-assrender was given.
30736 if test "${enable_assrender+set}" = set; then :
30737 enableval=$enable_assrender; case "${enableval}" in
30738 yes) USE_ASSRENDER=yes;;
30739 no) USE_ASSRENDER=no;;
30740 *) as_fn_error $? "bad value ${enableval} for --enable-assrender" "$LINENO" 5 ;;
30746 if test "x$NOUSE" = "xyes"; then
30748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** assrender pre-configured not to be built" >&5
30749 $as_echo "$as_me: WARNING: *** assrender pre-configured not to be built" >&2;}
30754 if test x$USE_ASSRENDER = xyes; then
30756 gst_check_save_LIBS=$LIBS
30757 gst_check_save_LDFLAGS=$LDFLAGS
30758 gst_check_save_CFLAGS=$CFLAGS
30759 gst_check_save_CPPFLAGS=$CPPFLAGS
30760 gst_check_save_CXXFLAGS=$CXXFLAGS
30766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ASSRENDER" >&5
30767 $as_echo_n "checking for ASSRENDER... " >&6; }
30769 if test -n "$PKG_CONFIG"; then
30770 if test -n "$ASSRENDER_CFLAGS"; then
30771 pkg_cv_ASSRENDER_CFLAGS="$ASSRENDER_CFLAGS"
30773 if test -n "$PKG_CONFIG" && \
30774 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libass >= 0.9.4\""; } >&5
30775 ($PKG_CONFIG --exists --print-errors "libass >= 0.9.4") 2>&5
30777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30778 test $ac_status = 0; }; then
30779 pkg_cv_ASSRENDER_CFLAGS=`$PKG_CONFIG --cflags "libass >= 0.9.4" 2>/dev/null`
30787 if test -n "$PKG_CONFIG"; then
30788 if test -n "$ASSRENDER_LIBS"; then
30789 pkg_cv_ASSRENDER_LIBS="$ASSRENDER_LIBS"
30791 if test -n "$PKG_CONFIG" && \
30792 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libass >= 0.9.4\""; } >&5
30793 ($PKG_CONFIG --exists --print-errors "libass >= 0.9.4") 2>&5
30795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30796 test $ac_status = 0; }; then
30797 pkg_cv_ASSRENDER_LIBS=`$PKG_CONFIG --libs "libass >= 0.9.4" 2>/dev/null`
30808 if test $pkg_failed = yes; then
30810 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30811 _pkg_short_errors_supported=yes
30813 _pkg_short_errors_supported=no
30815 if test $_pkg_short_errors_supported = yes; then
30816 ASSRENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libass >= 0.9.4"`
30818 ASSRENDER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libass >= 0.9.4"`
30820 # Put the nasty error message in config.log where it belongs
30821 echo "$ASSRENDER_PKG_ERRORS" >&5
30823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30824 $as_echo "no" >&6; }
30826 HAVE_ASSRENDER="no"
30828 elif test $pkg_failed = untried; then
30830 HAVE_ASSRENDER="no"
30833 ASSRENDER_CFLAGS=$pkg_cv_ASSRENDER_CFLAGS
30834 ASSRENDER_LIBS=$pkg_cv_ASSRENDER_LIBS
30835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30836 $as_echo "yes" >&6; }
30838 HAVE_ASSRENDER="yes"
30842 LIBS=$gst_check_save_LIBS
30843 LDFLAGS=$gst_check_save_LDFLAGS
30844 CFLAGS=$gst_check_save_CFLAGS
30845 CPPFLAGS=$gst_check_save_CPPFLAGS
30846 CXXFLAGS=$gst_check_save_CXXFLAGS
30848 if test x$HAVE_ASSRENDER = xno; then
30851 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: assrender" >&5
30852 $as_echo "$as_me: *** These plugins will be built: assrender" >&6;}
30855 if test x$USE_ASSRENDER = xyes; then
30857 if test "xassrender" != "x"; then
30858 GST_PLUGINS_YES="\tassrender\n$GST_PLUGINS_YES"
30861 $as_echo "#define HAVE_ASSRENDER /**/" >>confdefs.h
30864 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: assrender" >&5
30865 $as_echo "$as_me: *** These plugins will not be built: assrender" >&6;}
30866 if test "xassrender" != "x"; then
30867 GST_PLUGINS_NO="\tassrender\n$GST_PLUGINS_NO"
30871 if test x$USE_ASSRENDER = xyes; then
30872 USE_ASSRENDER_TRUE=
30873 USE_ASSRENDER_FALSE='#'
30875 USE_ASSRENDER_TRUE='#'
30876 USE_ASSRENDER_FALSE=
30884 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: vo-amrwbenc library ***" >&5
30885 $as_echo "$as_me: *** checking feature: vo-amrwbenc library ***" >&6;}
30886 if test "xvo-amrwbenc" != "x"
30888 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: vo-amrwbenc ***" >&5
30889 $as_echo "$as_me: *** for plug-ins: vo-amrwbenc ***" >&6;}
30892 if test "x$USE_VOAMRWBENC" = "xno"; then
30895 # Check whether --enable-voamrwbenc was given.
30896 if test "${enable_voamrwbenc+set}" = set; then :
30897 enableval=$enable_voamrwbenc; case "${enableval}" in
30898 yes) USE_VOAMRWBENC=yes;;
30899 no) USE_VOAMRWBENC=no;;
30900 *) as_fn_error $? "bad value ${enableval} for --enable-voamrwbenc" "$LINENO" 5 ;;
30906 if test "x$NOUSE" = "xyes"; then
30907 USE_VOAMRWBENC="no"
30908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** vo-amrwbenc pre-configured not to be built" >&5
30909 $as_echo "$as_me: WARNING: *** vo-amrwbenc pre-configured not to be built" >&2;}
30914 if test x$USE_VOAMRWBENC = xyes; then
30916 gst_check_save_LIBS=$LIBS
30917 gst_check_save_LDFLAGS=$LDFLAGS
30918 gst_check_save_CFLAGS=$CFLAGS
30919 gst_check_save_CPPFLAGS=$CPPFLAGS
30920 gst_check_save_CXXFLAGS=$CXXFLAGS
30925 which="vo-amrwbenc >= 0.1.0"
30930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VOAMRWBENC" >&5
30931 $as_echo_n "checking for VOAMRWBENC... " >&6; }
30933 if test -n "$PKG_CONFIG"; then
30934 if test -n "$VOAMRWBENC_CFLAGS"; then
30935 pkg_cv_VOAMRWBENC_CFLAGS="$VOAMRWBENC_CFLAGS"
30937 if test -n "$PKG_CONFIG" && \
30938 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30939 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30942 test $ac_status = 0; }; then
30943 pkg_cv_VOAMRWBENC_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
30951 if test -n "$PKG_CONFIG"; then
30952 if test -n "$VOAMRWBENC_LIBS"; then
30953 pkg_cv_VOAMRWBENC_LIBS="$VOAMRWBENC_LIBS"
30955 if test -n "$PKG_CONFIG" && \
30956 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30957 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30960 test $ac_status = 0; }; then
30961 pkg_cv_VOAMRWBENC_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
30972 if test $pkg_failed = yes; then
30974 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30975 _pkg_short_errors_supported=yes
30977 _pkg_short_errors_supported=no
30979 if test $_pkg_short_errors_supported = yes; then
30980 VOAMRWBENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
30982 VOAMRWBENC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
30984 # Put the nasty error message in config.log where it belongs
30985 echo "$VOAMRWBENC_PKG_ERRORS" >&5
30987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30988 $as_echo "no" >&6; }
30990 HAVE_VOAMRWBENC="no"
30991 if test "x$required" = "xyes"; then
30992 as_fn_error $? "$VOAMRWBENC_PKG_ERRORS" "$LINENO" 5
30994 { $as_echo "$as_me:${as_lineno-$LINENO}: $VOAMRWBENC_PKG_ERRORS" >&5
30995 $as_echo "$as_me: $VOAMRWBENC_PKG_ERRORS" >&6;}
30998 elif test $pkg_failed = untried; then
31000 HAVE_VOAMRWBENC="no"
31001 if test "x$required" = "xyes"; then
31002 as_fn_error $? "$VOAMRWBENC_PKG_ERRORS" "$LINENO" 5
31004 { $as_echo "$as_me:${as_lineno-$LINENO}: $VOAMRWBENC_PKG_ERRORS" >&5
31005 $as_echo "$as_me: $VOAMRWBENC_PKG_ERRORS" >&6;}
31009 VOAMRWBENC_CFLAGS=$pkg_cv_VOAMRWBENC_CFLAGS
31010 VOAMRWBENC_LIBS=$pkg_cv_VOAMRWBENC_LIBS
31011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31012 $as_echo "yes" >&6; }
31014 HAVE_VOAMRWBENC="yes"
31021 LIBS=$gst_check_save_LIBS
31022 LDFLAGS=$gst_check_save_LDFLAGS
31023 CFLAGS=$gst_check_save_CFLAGS
31024 CPPFLAGS=$gst_check_save_CPPFLAGS
31025 CXXFLAGS=$gst_check_save_CXXFLAGS
31027 if test x$HAVE_VOAMRWBENC = xno; then
31030 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: vo-amrwbenc" >&5
31031 $as_echo "$as_me: *** These plugins will be built: vo-amrwbenc" >&6;}
31034 if test x$USE_VOAMRWBENC = xyes; then
31036 if test "xvo-amrwbenc" != "x"; then
31037 GST_PLUGINS_YES="\tvo-amrwbenc\n$GST_PLUGINS_YES"
31040 $as_echo "#define HAVE_VOAMRWBENC /**/" >>confdefs.h
31043 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: vo-amrwbenc" >&5
31044 $as_echo "$as_me: *** These plugins will not be built: vo-amrwbenc" >&6;}
31045 if test "xvo-amrwbenc" != "x"; then
31046 GST_PLUGINS_NO="\tvo-amrwbenc\n$GST_PLUGINS_NO"
31050 if test x$USE_VOAMRWBENC = xyes; then
31051 USE_VOAMRWBENC_TRUE=
31052 USE_VOAMRWBENC_FALSE='#'
31054 USE_VOAMRWBENC_TRUE='#'
31055 USE_VOAMRWBENC_FALSE=
31061 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: vo-aacenc library ***" >&5
31062 $as_echo "$as_me: *** checking feature: vo-aacenc library ***" >&6;}
31063 if test "xvo-aacenc" != "x"
31065 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: vo-aacenc ***" >&5
31066 $as_echo "$as_me: *** for plug-ins: vo-aacenc ***" >&6;}
31069 if test "x$USE_VOAACENC" = "xno"; then
31072 # Check whether --enable-voaacenc was given.
31073 if test "${enable_voaacenc+set}" = set; then :
31074 enableval=$enable_voaacenc; case "${enableval}" in
31075 yes) USE_VOAACENC=yes;;
31076 no) USE_VOAACENC=no;;
31077 *) as_fn_error $? "bad value ${enableval} for --enable-voaacenc" "$LINENO" 5 ;;
31083 if test "x$NOUSE" = "xyes"; then
31085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** vo-aacenc pre-configured not to be built" >&5
31086 $as_echo "$as_me: WARNING: *** vo-aacenc pre-configured not to be built" >&2;}
31091 if test x$USE_VOAACENC = xyes; then
31093 gst_check_save_LIBS=$LIBS
31094 gst_check_save_LDFLAGS=$LDFLAGS
31095 gst_check_save_CFLAGS=$CFLAGS
31096 gst_check_save_CPPFLAGS=$CPPFLAGS
31097 gst_check_save_CXXFLAGS=$CXXFLAGS
31102 which="vo-aacenc >= 0.1.0"
31107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VOAACENC" >&5
31108 $as_echo_n "checking for VOAACENC... " >&6; }
31110 if test -n "$PKG_CONFIG"; then
31111 if test -n "$VOAACENC_CFLAGS"; then
31112 pkg_cv_VOAACENC_CFLAGS="$VOAACENC_CFLAGS"
31114 if test -n "$PKG_CONFIG" && \
31115 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31116 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31119 test $ac_status = 0; }; then
31120 pkg_cv_VOAACENC_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
31128 if test -n "$PKG_CONFIG"; then
31129 if test -n "$VOAACENC_LIBS"; then
31130 pkg_cv_VOAACENC_LIBS="$VOAACENC_LIBS"
31132 if test -n "$PKG_CONFIG" && \
31133 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31134 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31137 test $ac_status = 0; }; then
31138 pkg_cv_VOAACENC_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
31149 if test $pkg_failed = yes; then
31151 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31152 _pkg_short_errors_supported=yes
31154 _pkg_short_errors_supported=no
31156 if test $_pkg_short_errors_supported = yes; then
31157 VOAACENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
31159 VOAACENC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
31161 # Put the nasty error message in config.log where it belongs
31162 echo "$VOAACENC_PKG_ERRORS" >&5
31164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31165 $as_echo "no" >&6; }
31168 if test "x$required" = "xyes"; then
31169 as_fn_error $? "$VOAACENC_PKG_ERRORS" "$LINENO" 5
31171 { $as_echo "$as_me:${as_lineno-$LINENO}: $VOAACENC_PKG_ERRORS" >&5
31172 $as_echo "$as_me: $VOAACENC_PKG_ERRORS" >&6;}
31175 elif test $pkg_failed = untried; then
31178 if test "x$required" = "xyes"; then
31179 as_fn_error $? "$VOAACENC_PKG_ERRORS" "$LINENO" 5
31181 { $as_echo "$as_me:${as_lineno-$LINENO}: $VOAACENC_PKG_ERRORS" >&5
31182 $as_echo "$as_me: $VOAACENC_PKG_ERRORS" >&6;}
31186 VOAACENC_CFLAGS=$pkg_cv_VOAACENC_CFLAGS
31187 VOAACENC_LIBS=$pkg_cv_VOAACENC_LIBS
31188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31189 $as_echo "yes" >&6; }
31191 HAVE_VOAACENC="yes"
31198 LIBS=$gst_check_save_LIBS
31199 LDFLAGS=$gst_check_save_LDFLAGS
31200 CFLAGS=$gst_check_save_CFLAGS
31201 CPPFLAGS=$gst_check_save_CPPFLAGS
31202 CXXFLAGS=$gst_check_save_CXXFLAGS
31204 if test x$HAVE_VOAACENC = xno; then
31207 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: vo-aacenc" >&5
31208 $as_echo "$as_me: *** These plugins will be built: vo-aacenc" >&6;}
31211 if test x$USE_VOAACENC = xyes; then
31213 if test "xvo-aacenc" != "x"; then
31214 GST_PLUGINS_YES="\tvo-aacenc\n$GST_PLUGINS_YES"
31217 $as_echo "#define HAVE_VOAACENC /**/" >>confdefs.h
31220 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: vo-aacenc" >&5
31221 $as_echo "$as_me: *** These plugins will not be built: vo-aacenc" >&6;}
31222 if test "xvo-aacenc" != "x"; then
31223 GST_PLUGINS_NO="\tvo-aacenc\n$GST_PLUGINS_NO"
31227 if test x$USE_VOAACENC = xyes; then
31229 USE_VOAACENC_FALSE='#'
31231 USE_VOAACENC_TRUE='#'
31232 USE_VOAACENC_FALSE=
31238 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: AirPort Express Wireless sink ***" >&5
31239 $as_echo "$as_me: *** checking feature: AirPort Express Wireless sink ***" >&6;}
31240 if test "xapexsink" != "x"
31242 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: apexsink ***" >&5
31243 $as_echo "$as_me: *** for plug-ins: apexsink ***" >&6;}
31246 if test "x$USE_APEXSINK" = "xno"; then
31249 # Check whether --enable-apexsink was given.
31250 if test "${enable_apexsink+set}" = set; then :
31251 enableval=$enable_apexsink; case "${enableval}" in
31252 yes) USE_APEXSINK=yes;;
31253 no) USE_APEXSINK=no;;
31254 *) as_fn_error $? "bad value ${enableval} for --enable-apexsink" "$LINENO" 5 ;;
31260 if test "x$NOUSE" = "xyes"; then
31262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** apexsink pre-configured not to be built" >&5
31263 $as_echo "$as_me: WARNING: *** apexsink pre-configured not to be built" >&2;}
31268 if test x$USE_APEXSINK = xyes; then
31270 gst_check_save_LIBS=$LIBS
31271 gst_check_save_LDFLAGS=$LDFLAGS
31272 gst_check_save_CFLAGS=$CFLAGS
31273 gst_check_save_CPPFLAGS=$CPPFLAGS
31274 gst_check_save_CXXFLAGS=$CXXFLAGS
31280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APEXSINK" >&5
31281 $as_echo_n "checking for APEXSINK... " >&6; }
31283 if test -n "$PKG_CONFIG"; then
31284 if test -n "$APEXSINK_CFLAGS"; then
31285 pkg_cv_APEXSINK_CFLAGS="$APEXSINK_CFLAGS"
31287 if test -n "$PKG_CONFIG" && \
31288 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" openssl >= 0.9.5 libcrypto \""; } >&5
31289 ($PKG_CONFIG --exists --print-errors " openssl >= 0.9.5 libcrypto ") 2>&5
31291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31292 test $ac_status = 0; }; then
31293 pkg_cv_APEXSINK_CFLAGS=`$PKG_CONFIG --cflags " openssl >= 0.9.5 libcrypto " 2>/dev/null`
31301 if test -n "$PKG_CONFIG"; then
31302 if test -n "$APEXSINK_LIBS"; then
31303 pkg_cv_APEXSINK_LIBS="$APEXSINK_LIBS"
31305 if test -n "$PKG_CONFIG" && \
31306 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" openssl >= 0.9.5 libcrypto \""; } >&5
31307 ($PKG_CONFIG --exists --print-errors " openssl >= 0.9.5 libcrypto ") 2>&5
31309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31310 test $ac_status = 0; }; then
31311 pkg_cv_APEXSINK_LIBS=`$PKG_CONFIG --libs " openssl >= 0.9.5 libcrypto " 2>/dev/null`
31322 if test $pkg_failed = yes; then
31324 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31325 _pkg_short_errors_supported=yes
31327 _pkg_short_errors_supported=no
31329 if test $_pkg_short_errors_supported = yes; then
31330 APEXSINK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " openssl >= 0.9.5 libcrypto "`
31332 APEXSINK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " openssl >= 0.9.5 libcrypto "`
31334 # Put the nasty error message in config.log where it belongs
31335 echo "$APEXSINK_PKG_ERRORS" >&5
31337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31338 $as_echo "no" >&6; }
31342 elif test $pkg_failed = untried; then
31347 APEXSINK_CFLAGS=$pkg_cv_APEXSINK_CFLAGS
31348 APEXSINK_LIBS=$pkg_cv_APEXSINK_LIBS
31349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31350 $as_echo "yes" >&6; }
31352 HAVE_APEXSINK="yes"
31355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
31356 $as_echo_n "checking for library containing socket... " >&6; }
31357 if ${ac_cv_search_socket+:} false; then :
31358 $as_echo_n "(cached) " >&6
31360 ac_func_search_save_LIBS=$LIBS
31361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31362 /* end confdefs.h. */
31364 /* Override any GCC internal prototype to avoid an error.
31365 Use char because int might match the return type of a GCC
31366 builtin and then its argument prototype would still apply. */
31379 for ac_lib in '' socket; do
31380 if test -z "$ac_lib"; then
31381 ac_res="none required"
31384 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
31386 if ac_fn_c_try_link "$LINENO"; then :
31387 ac_cv_search_socket=$ac_res
31389 rm -f core conftest.err conftest.$ac_objext \
31391 if ${ac_cv_search_socket+:} false; then :
31395 if ${ac_cv_search_socket+:} false; then :
31398 ac_cv_search_socket=no
31400 rm conftest.$ac_ext
31401 LIBS=$ac_func_search_save_LIBS
31403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
31404 $as_echo "$ac_cv_search_socket" >&6; }
31405 ac_res=$ac_cv_search_socket
31406 if test "$ac_res" != no; then :
31407 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
31413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
31414 $as_echo_n "checking for library containing gethostbyname... " >&6; }
31415 if ${ac_cv_search_gethostbyname+:} false; then :
31416 $as_echo_n "(cached) " >&6
31418 ac_func_search_save_LIBS=$LIBS
31419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31420 /* end confdefs.h. */
31422 /* Override any GCC internal prototype to avoid an error.
31423 Use char because int might match the return type of a GCC
31424 builtin and then its argument prototype would still apply. */
31428 char gethostbyname ();
31432 return gethostbyname ();
31437 for ac_lib in '' nsl; do
31438 if test -z "$ac_lib"; then
31439 ac_res="none required"
31442 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
31444 if ac_fn_c_try_link "$LINENO"; then :
31445 ac_cv_search_gethostbyname=$ac_res
31447 rm -f core conftest.err conftest.$ac_objext \
31449 if ${ac_cv_search_gethostbyname+:} false; then :
31453 if ${ac_cv_search_gethostbyname+:} false; then :
31456 ac_cv_search_gethostbyname=no
31458 rm conftest.$ac_ext
31459 LIBS=$ac_func_search_save_LIBS
31461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
31462 $as_echo "$ac_cv_search_gethostbyname" >&6; }
31463 ac_res=$ac_cv_search_gethostbyname
31464 if test "$ac_res" != no; then :
31465 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
31471 APEXSINK_LIBS="$APEXSINK_LIBS $LIBS"
31479 LIBS=$gst_check_save_LIBS
31480 LDFLAGS=$gst_check_save_LDFLAGS
31481 CFLAGS=$gst_check_save_CFLAGS
31482 CPPFLAGS=$gst_check_save_CPPFLAGS
31483 CXXFLAGS=$gst_check_save_CXXFLAGS
31485 if test x$HAVE_APEXSINK = xno; then
31488 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: apexsink" >&5
31489 $as_echo "$as_me: *** These plugins will be built: apexsink" >&6;}
31492 if test x$USE_APEXSINK = xyes; then
31494 if test "xapexsink" != "x"; then
31495 GST_PLUGINS_YES="\tapexsink\n$GST_PLUGINS_YES"
31498 $as_echo "#define HAVE_APEXSINK /**/" >>confdefs.h
31501 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: apexsink" >&5
31502 $as_echo "$as_me: *** These plugins will not be built: apexsink" >&6;}
31503 if test "xapexsink" != "x"; then
31504 GST_PLUGINS_NO="\tapexsink\n$GST_PLUGINS_NO"
31508 if test x$USE_APEXSINK = xyes; then
31510 USE_APEXSINK_FALSE='#'
31512 USE_APEXSINK_TRUE='#'
31513 USE_APEXSINK_FALSE=
31519 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: bz2 library ***" >&5
31520 $as_echo "$as_me: *** checking feature: bz2 library ***" >&6;}
31521 if test "xbz2" != "x"
31523 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: bz2 ***" >&5
31524 $as_echo "$as_me: *** for plug-ins: bz2 ***" >&6;}
31527 if test "x$USE_BZ2" = "xno"; then
31530 # Check whether --enable-bz2 was given.
31531 if test "${enable_bz2+set}" = set; then :
31532 enableval=$enable_bz2; case "${enableval}" in
31535 *) as_fn_error $? "bad value ${enableval} for --enable-bz2" "$LINENO" 5 ;;
31541 if test "x$NOUSE" = "xyes"; then
31543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** bz2 pre-configured not to be built" >&5
31544 $as_echo "$as_me: WARNING: *** bz2 pre-configured not to be built" >&2;}
31549 if test x$USE_BZ2 = xyes; then
31551 gst_check_save_LIBS=$LIBS
31552 gst_check_save_LDFLAGS=$LDFLAGS
31553 gst_check_save_CFLAGS=$CFLAGS
31554 gst_check_save_CPPFLAGS=$CPPFLAGS
31555 gst_check_save_CXXFLAGS=$CXXFLAGS
31560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzCompress in -lbz2" >&5
31561 $as_echo_n "checking for BZ2_bzCompress in -lbz2... " >&6; }
31562 if ${ac_cv_lib_bz2_BZ2_bzCompress+:} false; then :
31563 $as_echo_n "(cached) " >&6
31565 ac_check_lib_save_LIBS=$LIBS
31567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31568 /* end confdefs.h. */
31570 /* Override any GCC internal prototype to avoid an error.
31571 Use char because int might match the return type of a GCC
31572 builtin and then its argument prototype would still apply. */
31576 char BZ2_bzCompress ();
31580 return BZ2_bzCompress ();
31585 if ac_fn_c_try_link "$LINENO"; then :
31586 ac_cv_lib_bz2_BZ2_bzCompress=yes
31588 ac_cv_lib_bz2_BZ2_bzCompress=no
31590 rm -f core conftest.err conftest.$ac_objext \
31591 conftest$ac_exeext conftest.$ac_ext
31592 LIBS=$ac_check_lib_save_LIBS
31594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzCompress" >&5
31595 $as_echo "$ac_cv_lib_bz2_BZ2_bzCompress" >&6; }
31596 if test "x$ac_cv_lib_bz2_BZ2_bzCompress" = xyes; then :
31602 if test "x$HAVE_BZ2" = "xyes"; then
31603 ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
31604 if test "x$ac_cv_header_bzlib_h" = xyes; then :
31611 if test "x$HAVE_BZ2" = "xyes"; then
31625 LIBS=$gst_check_save_LIBS
31626 LDFLAGS=$gst_check_save_LDFLAGS
31627 CFLAGS=$gst_check_save_CFLAGS
31628 CPPFLAGS=$gst_check_save_CPPFLAGS
31629 CXXFLAGS=$gst_check_save_CXXFLAGS
31631 if test x$HAVE_BZ2 = xno; then
31634 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: bz2" >&5
31635 $as_echo "$as_me: *** These plugins will be built: bz2" >&6;}
31638 if test x$USE_BZ2 = xyes; then
31640 if test "xbz2" != "x"; then
31641 GST_PLUGINS_YES="\tbz2\n$GST_PLUGINS_YES"
31644 $as_echo "#define HAVE_BZ2 /**/" >>confdefs.h
31647 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: bz2" >&5
31648 $as_echo "$as_me: *** These plugins will not be built: bz2" >&6;}
31649 if test "xbz2" != "x"; then
31650 GST_PLUGINS_NO="\tbz2\n$GST_PLUGINS_NO"
31654 if test x$USE_BZ2 = xyes; then
31665 #translit(dnm, m, l) AM_CONDITIONAL(USE_CAIRO, true)
31666 #AG_GST_CHECK_FEATURE(CAIRO, [cairo plug-in], cairo, [
31667 # PKG_CHECK_MODULES(CAIRO, cairo >= 1.0 glitz-glx, HAVE_CAIRO=yes, [
31670 # AC_SUBST(CAIRO_CFLAGS)
31671 # AC_SUBST(CAIRO_LIBS)
31675 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: cdaudio ***" >&5
31676 $as_echo "$as_me: *** checking feature: cdaudio ***" >&6;}
31677 if test "xcdaudio" != "x"
31679 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cdaudio ***" >&5
31680 $as_echo "$as_me: *** for plug-ins: cdaudio ***" >&6;}
31683 if test "x$USE_CDAUDIO" = "xno"; then
31686 # Check whether --enable-cdaudio was given.
31687 if test "${enable_cdaudio+set}" = set; then :
31688 enableval=$enable_cdaudio; case "${enableval}" in
31689 yes) USE_CDAUDIO=yes;;
31690 no) USE_CDAUDIO=no;;
31691 *) as_fn_error $? "bad value ${enableval} for --enable-cdaudio" "$LINENO" 5 ;;
31697 if test "x$NOUSE" = "xyes"; then
31699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cdaudio pre-configured not to be built" >&5
31700 $as_echo "$as_me: WARNING: *** cdaudio pre-configured not to be built" >&2;}
31705 if test x$USE_CDAUDIO = xyes; then
31707 gst_check_save_LIBS=$LIBS
31708 gst_check_save_LDFLAGS=$LDFLAGS
31709 gst_check_save_CFLAGS=$CFLAGS
31710 gst_check_save_CPPFLAGS=$CPPFLAGS
31711 gst_check_save_CXXFLAGS=$CXXFLAGS
31717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CDAUDIO" >&5
31718 $as_echo_n "checking for CDAUDIO... " >&6; }
31720 if test -n "$PKG_CONFIG"; then
31721 if test -n "$CDAUDIO_CFLAGS"; then
31722 pkg_cv_CDAUDIO_CFLAGS="$CDAUDIO_CFLAGS"
31724 if test -n "$PKG_CONFIG" && \
31725 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdaudio\""; } >&5
31726 ($PKG_CONFIG --exists --print-errors "libcdaudio") 2>&5
31728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31729 test $ac_status = 0; }; then
31730 pkg_cv_CDAUDIO_CFLAGS=`$PKG_CONFIG --cflags "libcdaudio" 2>/dev/null`
31738 if test -n "$PKG_CONFIG"; then
31739 if test -n "$CDAUDIO_LIBS"; then
31740 pkg_cv_CDAUDIO_LIBS="$CDAUDIO_LIBS"
31742 if test -n "$PKG_CONFIG" && \
31743 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdaudio\""; } >&5
31744 ($PKG_CONFIG --exists --print-errors "libcdaudio") 2>&5
31746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31747 test $ac_status = 0; }; then
31748 pkg_cv_CDAUDIO_LIBS=`$PKG_CONFIG --libs "libcdaudio" 2>/dev/null`
31759 if test $pkg_failed = yes; then
31761 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31762 _pkg_short_errors_supported=yes
31764 _pkg_short_errors_supported=no
31766 if test $_pkg_short_errors_supported = yes; then
31767 CDAUDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcdaudio"`
31769 CDAUDIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcdaudio"`
31771 # Put the nasty error message in config.log where it belongs
31772 echo "$CDAUDIO_PKG_ERRORS" >&5
31774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31775 $as_echo "no" >&6; }
31779 elif test $pkg_failed = untried; then
31784 CDAUDIO_CFLAGS=$pkg_cv_CDAUDIO_CFLAGS
31785 CDAUDIO_LIBS=$pkg_cv_CDAUDIO_LIBS
31786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31787 $as_echo "yes" >&6; }
31796 LIBS=$gst_check_save_LIBS
31797 LDFLAGS=$gst_check_save_LDFLAGS
31798 CFLAGS=$gst_check_save_CFLAGS
31799 CPPFLAGS=$gst_check_save_CPPFLAGS
31800 CXXFLAGS=$gst_check_save_CXXFLAGS
31802 if test x$HAVE_CDAUDIO = xno; then
31805 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cdaudio" >&5
31806 $as_echo "$as_me: *** These plugins will be built: cdaudio" >&6;}
31809 if test x$USE_CDAUDIO = xyes; then
31811 if test "xcdaudio" != "x"; then
31812 GST_PLUGINS_YES="\tcdaudio\n$GST_PLUGINS_YES"
31815 $as_echo "#define HAVE_CDAUDIO /**/" >>confdefs.h
31818 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cdaudio" >&5
31819 $as_echo "$as_me: *** These plugins will not be built: cdaudio" >&6;}
31820 if test "xcdaudio" != "x"; then
31821 GST_PLUGINS_NO="\tcdaudio\n$GST_PLUGINS_NO"
31825 if test x$USE_CDAUDIO = xyes; then
31827 USE_CDAUDIO_FALSE='#'
31829 USE_CDAUDIO_TRUE='#'
31836 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: celt ***" >&5
31837 $as_echo "$as_me: *** checking feature: celt ***" >&6;}
31838 if test "xcelt" != "x"
31840 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: celt ***" >&5
31841 $as_echo "$as_me: *** for plug-ins: celt ***" >&6;}
31844 if test "x$USE_CELT" = "xno"; then
31847 # Check whether --enable-celt was given.
31848 if test "${enable_celt+set}" = set; then :
31849 enableval=$enable_celt; case "${enableval}" in
31850 yes) USE_CELT=yes;;
31852 *) as_fn_error $? "bad value ${enableval} for --enable-celt" "$LINENO" 5 ;;
31858 if test "x$NOUSE" = "xyes"; then
31860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** celt pre-configured not to be built" >&5
31861 $as_echo "$as_me: WARNING: *** celt pre-configured not to be built" >&2;}
31866 if test x$USE_CELT = xyes; then
31868 gst_check_save_LIBS=$LIBS
31869 gst_check_save_LDFLAGS=$LDFLAGS
31870 gst_check_save_CFLAGS=$CFLAGS
31871 gst_check_save_CPPFLAGS=$CPPFLAGS
31872 gst_check_save_CXXFLAGS=$CXXFLAGS
31878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CELT" >&5
31879 $as_echo_n "checking for CELT... " >&6; }
31881 if test -n "$PKG_CONFIG"; then
31882 if test -n "$CELT_CFLAGS"; then
31883 pkg_cv_CELT_CFLAGS="$CELT_CFLAGS"
31885 if test -n "$PKG_CONFIG" && \
31886 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.5.0\""; } >&5
31887 ($PKG_CONFIG --exists --print-errors "celt >= 0.5.0") 2>&5
31889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31890 test $ac_status = 0; }; then
31891 pkg_cv_CELT_CFLAGS=`$PKG_CONFIG --cflags "celt >= 0.5.0" 2>/dev/null`
31899 if test -n "$PKG_CONFIG"; then
31900 if test -n "$CELT_LIBS"; then
31901 pkg_cv_CELT_LIBS="$CELT_LIBS"
31903 if test -n "$PKG_CONFIG" && \
31904 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.5.0\""; } >&5
31905 ($PKG_CONFIG --exists --print-errors "celt >= 0.5.0") 2>&5
31907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31908 test $ac_status = 0; }; then
31909 pkg_cv_CELT_LIBS=`$PKG_CONFIG --libs "celt >= 0.5.0" 2>/dev/null`
31920 if test $pkg_failed = yes; then
31922 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31923 _pkg_short_errors_supported=yes
31925 _pkg_short_errors_supported=no
31927 if test $_pkg_short_errors_supported = yes; then
31928 CELT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "celt >= 0.5.0"`
31930 CELT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "celt >= 0.5.0"`
31932 # Put the nasty error message in config.log where it belongs
31933 echo "$CELT_PKG_ERRORS" >&5
31935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31936 $as_echo "no" >&6; }
31940 elif test $pkg_failed = untried; then
31945 CELT_CFLAGS=$pkg_cv_CELT_CFLAGS
31946 CELT_LIBS=$pkg_cv_CELT_LIBS
31947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31948 $as_echo "yes" >&6; }
31951 $as_echo "#define HAVE_CELT 1" >>confdefs.h
31959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CELT_0_7" >&5
31960 $as_echo_n "checking for CELT_0_7... " >&6; }
31962 if test -n "$PKG_CONFIG"; then
31963 if test -n "$CELT_0_7_CFLAGS"; then
31964 pkg_cv_CELT_0_7_CFLAGS="$CELT_0_7_CFLAGS"
31966 if test -n "$PKG_CONFIG" && \
31967 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.7.0\""; } >&5
31968 ($PKG_CONFIG --exists --print-errors "celt >= 0.7.0") 2>&5
31970 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31971 test $ac_status = 0; }; then
31972 pkg_cv_CELT_0_7_CFLAGS=`$PKG_CONFIG --cflags "celt >= 0.7.0" 2>/dev/null`
31980 if test -n "$PKG_CONFIG"; then
31981 if test -n "$CELT_0_7_LIBS"; then
31982 pkg_cv_CELT_0_7_LIBS="$CELT_0_7_LIBS"
31984 if test -n "$PKG_CONFIG" && \
31985 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.7.0\""; } >&5
31986 ($PKG_CONFIG --exists --print-errors "celt >= 0.7.0") 2>&5
31988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31989 test $ac_status = 0; }; then
31990 pkg_cv_CELT_0_7_LIBS=`$PKG_CONFIG --libs "celt >= 0.7.0" 2>/dev/null`
32001 if test $pkg_failed = yes; then
32003 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32004 _pkg_short_errors_supported=yes
32006 _pkg_short_errors_supported=no
32008 if test $_pkg_short_errors_supported = yes; then
32009 CELT_0_7_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "celt >= 0.7.0"`
32011 CELT_0_7_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "celt >= 0.7.0"`
32013 # Put the nasty error message in config.log where it belongs
32014 echo "$CELT_0_7_PKG_ERRORS" >&5
32016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32017 $as_echo "no" >&6; }
32021 elif test $pkg_failed = untried; then
32026 CELT_0_7_CFLAGS=$pkg_cv_CELT_0_7_CFLAGS
32027 CELT_0_7_LIBS=$pkg_cv_CELT_0_7_LIBS
32028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32029 $as_echo "yes" >&6; }
32032 $as_echo "#define HAVE_CELT_0_7 1" >>confdefs.h
32039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CELT_0_8" >&5
32040 $as_echo_n "checking for CELT_0_8... " >&6; }
32042 if test -n "$PKG_CONFIG"; then
32043 if test -n "$CELT_0_8_CFLAGS"; then
32044 pkg_cv_CELT_0_8_CFLAGS="$CELT_0_8_CFLAGS"
32046 if test -n "$PKG_CONFIG" && \
32047 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.8.0\""; } >&5
32048 ($PKG_CONFIG --exists --print-errors "celt >= 0.8.0") 2>&5
32050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32051 test $ac_status = 0; }; then
32052 pkg_cv_CELT_0_8_CFLAGS=`$PKG_CONFIG --cflags "celt >= 0.8.0" 2>/dev/null`
32060 if test -n "$PKG_CONFIG"; then
32061 if test -n "$CELT_0_8_LIBS"; then
32062 pkg_cv_CELT_0_8_LIBS="$CELT_0_8_LIBS"
32064 if test -n "$PKG_CONFIG" && \
32065 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.8.0\""; } >&5
32066 ($PKG_CONFIG --exists --print-errors "celt >= 0.8.0") 2>&5
32068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32069 test $ac_status = 0; }; then
32070 pkg_cv_CELT_0_8_LIBS=`$PKG_CONFIG --libs "celt >= 0.8.0" 2>/dev/null`
32081 if test $pkg_failed = yes; then
32083 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32084 _pkg_short_errors_supported=yes
32086 _pkg_short_errors_supported=no
32088 if test $_pkg_short_errors_supported = yes; then
32089 CELT_0_8_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "celt >= 0.8.0"`
32091 CELT_0_8_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "celt >= 0.8.0"`
32093 # Put the nasty error message in config.log where it belongs
32094 echo "$CELT_0_8_PKG_ERRORS" >&5
32096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32097 $as_echo "no" >&6; }
32101 elif test $pkg_failed = untried; then
32106 CELT_0_8_CFLAGS=$pkg_cv_CELT_0_8_CFLAGS
32107 CELT_0_8_LIBS=$pkg_cv_CELT_0_8_LIBS
32108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32109 $as_echo "yes" >&6; }
32112 $as_echo "#define HAVE_CELT_0_8 1" >>confdefs.h
32119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CELT_0_11" >&5
32120 $as_echo_n "checking for CELT_0_11... " >&6; }
32122 if test -n "$PKG_CONFIG"; then
32123 if test -n "$CELT_0_11_CFLAGS"; then
32124 pkg_cv_CELT_0_11_CFLAGS="$CELT_0_11_CFLAGS"
32126 if test -n "$PKG_CONFIG" && \
32127 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.11.0\""; } >&5
32128 ($PKG_CONFIG --exists --print-errors "celt >= 0.11.0") 2>&5
32130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32131 test $ac_status = 0; }; then
32132 pkg_cv_CELT_0_11_CFLAGS=`$PKG_CONFIG --cflags "celt >= 0.11.0" 2>/dev/null`
32140 if test -n "$PKG_CONFIG"; then
32141 if test -n "$CELT_0_11_LIBS"; then
32142 pkg_cv_CELT_0_11_LIBS="$CELT_0_11_LIBS"
32144 if test -n "$PKG_CONFIG" && \
32145 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.11.0\""; } >&5
32146 ($PKG_CONFIG --exists --print-errors "celt >= 0.11.0") 2>&5
32148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32149 test $ac_status = 0; }; then
32150 pkg_cv_CELT_0_11_LIBS=`$PKG_CONFIG --libs "celt >= 0.11.0" 2>/dev/null`
32161 if test $pkg_failed = yes; then
32163 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32164 _pkg_short_errors_supported=yes
32166 _pkg_short_errors_supported=no
32168 if test $_pkg_short_errors_supported = yes; then
32169 CELT_0_11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "celt >= 0.11.0"`
32171 CELT_0_11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "celt >= 0.11.0"`
32173 # Put the nasty error message in config.log where it belongs
32174 echo "$CELT_0_11_PKG_ERRORS" >&5
32176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32177 $as_echo "no" >&6; }
32181 elif test $pkg_failed = untried; then
32186 CELT_0_11_CFLAGS=$pkg_cv_CELT_0_11_CFLAGS
32187 CELT_0_11_LIBS=$pkg_cv_CELT_0_11_LIBS
32188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32189 $as_echo "yes" >&6; }
32192 $as_echo "#define HAVE_CELT_0_11 1" >>confdefs.h
32200 LIBS=$gst_check_save_LIBS
32201 LDFLAGS=$gst_check_save_LDFLAGS
32202 CFLAGS=$gst_check_save_CFLAGS
32203 CPPFLAGS=$gst_check_save_CPPFLAGS
32204 CXXFLAGS=$gst_check_save_CXXFLAGS
32206 if test x$HAVE_CELT = xno; then
32209 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: celt" >&5
32210 $as_echo "$as_me: *** These plugins will be built: celt" >&6;}
32213 if test x$USE_CELT = xyes; then
32215 if test "xcelt" != "x"; then
32216 GST_PLUGINS_YES="\tcelt\n$GST_PLUGINS_YES"
32219 $as_echo "#define HAVE_CELT /**/" >>confdefs.h
32222 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: celt" >&5
32223 $as_echo "$as_me: *** These plugins will not be built: celt" >&6;}
32224 if test "xcelt" != "x"; then
32225 GST_PLUGINS_NO="\tcelt\n$GST_PLUGINS_NO"
32229 if test x$USE_CELT = xyes; then
32240 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Cog plugin ***" >&5
32241 $as_echo "$as_me: *** checking feature: Cog plugin ***" >&6;}
32242 if test "xcog" != "x"
32244 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cog ***" >&5
32245 $as_echo "$as_me: *** for plug-ins: cog ***" >&6;}
32248 if test "x$USE_COG" = "xno"; then
32251 # Check whether --enable-cog was given.
32252 if test "${enable_cog+set}" = set; then :
32253 enableval=$enable_cog; case "${enableval}" in
32256 *) as_fn_error $? "bad value ${enableval} for --enable-cog" "$LINENO" 5 ;;
32262 if test "x$NOUSE" = "xyes"; then
32264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cog pre-configured not to be built" >&5
32265 $as_echo "$as_me: WARNING: *** cog pre-configured not to be built" >&2;}
32270 if test x$USE_COG = xyes; then
32272 gst_check_save_LIBS=$LIBS
32273 gst_check_save_LDFLAGS=$LDFLAGS
32274 gst_check_save_CFLAGS=$CFLAGS
32275 gst_check_save_CPPFLAGS=$CPPFLAGS
32276 gst_check_save_CXXFLAGS=$CXXFLAGS
32282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for COG" >&5
32283 $as_echo_n "checking for COG... " >&6; }
32285 if test -n "$PKG_CONFIG"; then
32286 if test -n "$COG_CFLAGS"; then
32287 pkg_cv_COG_CFLAGS="$COG_CFLAGS"
32289 if test -n "$PKG_CONFIG" && \
32290 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2\""; } >&5
32291 ($PKG_CONFIG --exists --print-errors "libpng >= 1.2") 2>&5
32293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32294 test $ac_status = 0; }; then
32295 pkg_cv_COG_CFLAGS=`$PKG_CONFIG --cflags "libpng >= 1.2" 2>/dev/null`
32303 if test -n "$PKG_CONFIG"; then
32304 if test -n "$COG_LIBS"; then
32305 pkg_cv_COG_LIBS="$COG_LIBS"
32307 if test -n "$PKG_CONFIG" && \
32308 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2\""; } >&5
32309 ($PKG_CONFIG --exists --print-errors "libpng >= 1.2") 2>&5
32311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32312 test $ac_status = 0; }; then
32313 pkg_cv_COG_LIBS=`$PKG_CONFIG --libs "libpng >= 1.2" 2>/dev/null`
32324 if test $pkg_failed = yes; then
32326 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32327 _pkg_short_errors_supported=yes
32329 _pkg_short_errors_supported=no
32331 if test $_pkg_short_errors_supported = yes; then
32332 COG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng >= 1.2"`
32334 COG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng >= 1.2"`
32336 # Put the nasty error message in config.log where it belongs
32337 echo "$COG_PKG_ERRORS" >&5
32339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32340 $as_echo "no" >&6; }
32344 elif test $pkg_failed = untried; then
32349 COG_CFLAGS=$pkg_cv_COG_CFLAGS
32350 COG_LIBS=$pkg_cv_COG_LIBS
32351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32352 $as_echo "yes" >&6; }
32359 LIBS=$gst_check_save_LIBS
32360 LDFLAGS=$gst_check_save_LDFLAGS
32361 CFLAGS=$gst_check_save_CFLAGS
32362 CPPFLAGS=$gst_check_save_CPPFLAGS
32363 CXXFLAGS=$gst_check_save_CXXFLAGS
32365 if test x$HAVE_COG = xno; then
32368 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cog" >&5
32369 $as_echo "$as_me: *** These plugins will be built: cog" >&6;}
32372 if test x$USE_COG = xyes; then
32374 if test "xcog" != "x"; then
32375 GST_PLUGINS_YES="\tcog\n$GST_PLUGINS_YES"
32378 $as_echo "#define HAVE_COG /**/" >>confdefs.h
32381 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cog" >&5
32382 $as_echo "$as_me: *** These plugins will not be built: cog" >&6;}
32383 if test "xcog" != "x"; then
32384 GST_PLUGINS_NO="\tcog\n$GST_PLUGINS_NO"
32388 if test x$USE_COG = xyes; then
32399 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Curl plugin ***" >&5
32400 $as_echo "$as_me: *** checking feature: Curl plugin ***" >&6;}
32401 if test "xcurl" != "x"
32403 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: curl ***" >&5
32404 $as_echo "$as_me: *** for plug-ins: curl ***" >&6;}
32407 if test "x$USE_CURL" = "xno"; then
32410 # Check whether --enable-curl was given.
32411 if test "${enable_curl+set}" = set; then :
32412 enableval=$enable_curl; case "${enableval}" in
32413 yes) USE_CURL=yes;;
32415 *) as_fn_error $? "bad value ${enableval} for --enable-curl" "$LINENO" 5 ;;
32421 if test "x$NOUSE" = "xyes"; then
32423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** curl pre-configured not to be built" >&5
32424 $as_echo "$as_me: WARNING: *** curl pre-configured not to be built" >&2;}
32429 if test x$USE_CURL = xyes; then
32431 gst_check_save_LIBS=$LIBS
32432 gst_check_save_LDFLAGS=$LDFLAGS
32433 gst_check_save_CFLAGS=$CFLAGS
32434 gst_check_save_CPPFLAGS=$CPPFLAGS
32435 gst_check_save_CXXFLAGS=$CXXFLAGS
32441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
32442 $as_echo_n "checking for CURL... " >&6; }
32444 if test -n "$PKG_CONFIG"; then
32445 if test -n "$CURL_CFLAGS"; then
32446 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
32448 if test -n "$PKG_CONFIG" && \
32449 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.21.0\""; } >&5
32450 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.21.0") 2>&5
32452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32453 test $ac_status = 0; }; then
32454 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl >= 7.21.0" 2>/dev/null`
32462 if test -n "$PKG_CONFIG"; then
32463 if test -n "$CURL_LIBS"; then
32464 pkg_cv_CURL_LIBS="$CURL_LIBS"
32466 if test -n "$PKG_CONFIG" && \
32467 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl >= 7.21.0\""; } >&5
32468 ($PKG_CONFIG --exists --print-errors "libcurl >= 7.21.0") 2>&5
32470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32471 test $ac_status = 0; }; then
32472 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl >= 7.21.0" 2>/dev/null`
32483 if test $pkg_failed = yes; then
32485 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32486 _pkg_short_errors_supported=yes
32488 _pkg_short_errors_supported=no
32490 if test $_pkg_short_errors_supported = yes; then
32491 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libcurl >= 7.21.0"`
32493 CURL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libcurl >= 7.21.0"`
32495 # Put the nasty error message in config.log where it belongs
32496 echo "$CURL_PKG_ERRORS" >&5
32498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32499 $as_echo "no" >&6; }
32503 elif test $pkg_failed = untried; then
32508 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
32509 CURL_LIBS=$pkg_cv_CURL_LIBS
32510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32511 $as_echo "yes" >&6; }
32514 for ac_header in unistd.h sys/socket.h sys/types.h netinet/in.h netinet/ip.h netinet/tcp.h fcntl.h
32516 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
32517 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
32518 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
32519 cat >>confdefs.h <<_ACEOF
32520 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
32529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket support needed by curlsink" >&5
32530 $as_echo_n "checking for socket support needed by curlsink... " >&6; }
32531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CURL" >&5
32532 $as_echo "$HAVE_CURL" >&6; }
32539 LIBS=$gst_check_save_LIBS
32540 LDFLAGS=$gst_check_save_LDFLAGS
32541 CFLAGS=$gst_check_save_CFLAGS
32542 CPPFLAGS=$gst_check_save_CPPFLAGS
32543 CXXFLAGS=$gst_check_save_CXXFLAGS
32545 if test x$HAVE_CURL = xno; then
32548 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: curl" >&5
32549 $as_echo "$as_me: *** These plugins will be built: curl" >&6;}
32552 if test x$USE_CURL = xyes; then
32554 if test "xcurl" != "x"; then
32555 GST_PLUGINS_YES="\tcurl\n$GST_PLUGINS_YES"
32558 $as_echo "#define HAVE_CURL /**/" >>confdefs.h
32561 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: curl" >&5
32562 $as_echo "$as_me: *** These plugins will not be built: curl" >&6;}
32563 if test "xcurl" != "x"; then
32564 GST_PLUGINS_NO="\tcurl\n$GST_PLUGINS_NO"
32568 if test x$USE_CURL = xyes; then
32579 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libdc1394 ***" >&5
32580 $as_echo "$as_me: *** checking feature: libdc1394 ***" >&6;}
32581 if test "xdc1394" != "x"
32583 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dc1394 ***" >&5
32584 $as_echo "$as_me: *** for plug-ins: dc1394 ***" >&6;}
32587 if test "x$USE_DC1394" = "xno"; then
32590 # Check whether --enable-dc1394 was given.
32591 if test "${enable_dc1394+set}" = set; then :
32592 enableval=$enable_dc1394; case "${enableval}" in
32593 yes) USE_DC1394=yes;;
32594 no) USE_DC1394=no;;
32595 *) as_fn_error $? "bad value ${enableval} for --enable-dc1394" "$LINENO" 5 ;;
32601 if test "x$NOUSE" = "xyes"; then
32603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dc1394 pre-configured not to be built" >&5
32604 $as_echo "$as_me: WARNING: *** dc1394 pre-configured not to be built" >&2;}
32609 if test x$USE_DC1394 = xyes; then
32611 gst_check_save_LIBS=$LIBS
32612 gst_check_save_LDFLAGS=$LDFLAGS
32613 gst_check_save_CFLAGS=$CFLAGS
32614 gst_check_save_CPPFLAGS=$CPPFLAGS
32615 gst_check_save_CXXFLAGS=$CXXFLAGS
32621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDC1394" >&5
32622 $as_echo_n "checking for LIBDC1394... " >&6; }
32624 if test -n "$PKG_CONFIG"; then
32625 if test -n "$LIBDC1394_CFLAGS"; then
32626 pkg_cv_LIBDC1394_CFLAGS="$LIBDC1394_CFLAGS"
32628 if test -n "$PKG_CONFIG" && \
32629 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdc1394-2 >= 2.0.0\""; } >&5
32630 ($PKG_CONFIG --exists --print-errors "libdc1394-2 >= 2.0.0") 2>&5
32632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32633 test $ac_status = 0; }; then
32634 pkg_cv_LIBDC1394_CFLAGS=`$PKG_CONFIG --cflags "libdc1394-2 >= 2.0.0" 2>/dev/null`
32642 if test -n "$PKG_CONFIG"; then
32643 if test -n "$LIBDC1394_LIBS"; then
32644 pkg_cv_LIBDC1394_LIBS="$LIBDC1394_LIBS"
32646 if test -n "$PKG_CONFIG" && \
32647 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdc1394-2 >= 2.0.0\""; } >&5
32648 ($PKG_CONFIG --exists --print-errors "libdc1394-2 >= 2.0.0") 2>&5
32650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32651 test $ac_status = 0; }; then
32652 pkg_cv_LIBDC1394_LIBS=`$PKG_CONFIG --libs "libdc1394-2 >= 2.0.0" 2>/dev/null`
32663 if test $pkg_failed = yes; then
32665 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32666 _pkg_short_errors_supported=yes
32668 _pkg_short_errors_supported=no
32670 if test $_pkg_short_errors_supported = yes; then
32671 LIBDC1394_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libdc1394-2 >= 2.0.0"`
32673 LIBDC1394_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libdc1394-2 >= 2.0.0"`
32675 # Put the nasty error message in config.log where it belongs
32676 echo "$LIBDC1394_PKG_ERRORS" >&5
32678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32679 $as_echo "no" >&6; }
32682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32683 $as_echo "no" >&6; }
32685 elif test $pkg_failed = untried; then
32688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32689 $as_echo "no" >&6; }
32692 LIBDC1394_CFLAGS=$pkg_cv_LIBDC1394_CFLAGS
32693 LIBDC1394_LIBS=$pkg_cv_LIBDC1394_LIBS
32694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32695 $as_echo "yes" >&6; }
32697 if test -z "`$PKG_CONFIG --modversion libdc1394-2 | grep 2.0.0-rc`"; then
32708 LIBS=$gst_check_save_LIBS
32709 LDFLAGS=$gst_check_save_LDFLAGS
32710 CFLAGS=$gst_check_save_CFLAGS
32711 CPPFLAGS=$gst_check_save_CPPFLAGS
32712 CXXFLAGS=$gst_check_save_CXXFLAGS
32714 if test x$HAVE_DC1394 = xno; then
32717 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dc1394" >&5
32718 $as_echo "$as_me: *** These plugins will be built: dc1394" >&6;}
32721 if test x$USE_DC1394 = xyes; then
32723 if test "xdc1394" != "x"; then
32724 GST_PLUGINS_YES="\tdc1394\n$GST_PLUGINS_YES"
32727 $as_echo "#define HAVE_DC1394 /**/" >>confdefs.h
32730 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dc1394" >&5
32731 $as_echo "$as_me: *** These plugins will not be built: dc1394" >&6;}
32732 if test "xdc1394" != "x"; then
32733 GST_PLUGINS_NO="\tdc1394\n$GST_PLUGINS_NO"
32737 if test x$USE_DC1394 = xyes; then
32739 USE_DC1394_FALSE='#'
32741 USE_DC1394_TRUE='#'
32748 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: decklink ***" >&5
32749 $as_echo "$as_me: *** checking feature: decklink ***" >&6;}
32750 if test "xdecklink" != "x"
32752 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: decklink ***" >&5
32753 $as_echo "$as_me: *** for plug-ins: decklink ***" >&6;}
32756 if test "x$USE_DECKLINK" = "xno"; then
32759 # Check whether --enable-decklink was given.
32760 if test "${enable_decklink+set}" = set; then :
32761 enableval=$enable_decklink; case "${enableval}" in
32762 yes) USE_DECKLINK=yes;;
32763 no) USE_DECKLINK=no;;
32764 *) as_fn_error $? "bad value ${enableval} for --enable-decklink" "$LINENO" 5 ;;
32770 if test "x$NOUSE" = "xyes"; then
32772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** decklink pre-configured not to be built" >&5
32773 $as_echo "$as_me: WARNING: *** decklink pre-configured not to be built" >&2;}
32778 if test x$USE_DECKLINK = xyes; then
32780 gst_check_save_LIBS=$LIBS
32781 gst_check_save_LDFLAGS=$LDFLAGS
32782 gst_check_save_CFLAGS=$CFLAGS
32783 gst_check_save_CPPFLAGS=$CPPFLAGS
32784 gst_check_save_CXXFLAGS=$CXXFLAGS
32791 if test "x$HAVE_PTHREAD_H" = "xyes"; then
32792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
32793 $as_echo_n "checking for dlopen in -ldl... " >&6; }
32794 if ${ac_cv_lib_dl_dlopen+:} false; then :
32795 $as_echo_n "(cached) " >&6
32797 ac_check_lib_save_LIBS=$LIBS
32799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32800 /* end confdefs.h. */
32802 /* Override any GCC internal prototype to avoid an error.
32803 Use char because int might match the return type of a GCC
32804 builtin and then its argument prototype would still apply. */
32817 if ac_fn_c_try_link "$LINENO"; then :
32818 ac_cv_lib_dl_dlopen=yes
32820 ac_cv_lib_dl_dlopen=no
32822 rm -f core conftest.err conftest.$ac_objext \
32823 conftest$ac_exeext conftest.$ac_ext
32824 LIBS=$ac_check_lib_save_LIBS
32826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
32827 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
32828 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
32832 DECKLINK_LIBS="-lpthread -ldl"
32847 LIBS=$gst_check_save_LIBS
32848 LDFLAGS=$gst_check_save_LDFLAGS
32849 CFLAGS=$gst_check_save_CFLAGS
32850 CPPFLAGS=$gst_check_save_CPPFLAGS
32851 CXXFLAGS=$gst_check_save_CXXFLAGS
32853 if test x$HAVE_DECKLINK = xno; then
32856 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: decklink" >&5
32857 $as_echo "$as_me: *** These plugins will be built: decklink" >&6;}
32860 if test x$USE_DECKLINK = xyes; then
32862 if test "xdecklink" != "x"; then
32863 GST_PLUGINS_YES="\tdecklink\n$GST_PLUGINS_YES"
32866 $as_echo "#define HAVE_DECKLINK /**/" >>confdefs.h
32869 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: decklink" >&5
32870 $as_echo "$as_me: *** These plugins will not be built: decklink" >&6;}
32871 if test "xdecklink" != "x"; then
32872 GST_PLUGINS_NO="\tdecklink\n$GST_PLUGINS_NO"
32876 if test x$USE_DECKLINK = xyes; then
32878 USE_DECKLINK_FALSE='#'
32880 USE_DECKLINK_TRUE='#'
32881 USE_DECKLINK_FALSE=
32887 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: directfb ***" >&5
32888 $as_echo "$as_me: *** checking feature: directfb ***" >&6;}
32889 if test "xdfbvideosink " != "x"
32891 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dfbvideosink ***" >&5
32892 $as_echo "$as_me: *** for plug-ins: dfbvideosink ***" >&6;}
32895 if test "x$USE_DIRECTFB" = "xno"; then
32898 # Check whether --enable-directfb was given.
32899 if test "${enable_directfb+set}" = set; then :
32900 enableval=$enable_directfb; case "${enableval}" in
32901 yes) USE_DIRECTFB=yes;;
32902 no) USE_DIRECTFB=no;;
32903 *) as_fn_error $? "bad value ${enableval} for --enable-directfb" "$LINENO" 5 ;;
32909 if test "x$NOUSE" = "xyes"; then
32911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dfbvideosink pre-configured not to be built" >&5
32912 $as_echo "$as_me: WARNING: *** dfbvideosink pre-configured not to be built" >&2;}
32917 if test x$USE_DIRECTFB = xyes; then
32919 gst_check_save_LIBS=$LIBS
32920 gst_check_save_LDFLAGS=$LDFLAGS
32921 gst_check_save_CFLAGS=$CFLAGS
32922 gst_check_save_CPPFLAGS=$CPPFLAGS
32923 gst_check_save_CXXFLAGS=$CXXFLAGS
32929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
32930 $as_echo_n "checking for DIRECTFB... " >&6; }
32932 if test -n "$PKG_CONFIG"; then
32933 if test -n "$DIRECTFB_CFLAGS"; then
32934 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32936 if test -n "$PKG_CONFIG" && \
32937 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.24\""; } >&5
32938 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.24") 2>&5
32940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32941 test $ac_status = 0; }; then
32942 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.24" 2>/dev/null`
32950 if test -n "$PKG_CONFIG"; then
32951 if test -n "$DIRECTFB_LIBS"; then
32952 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32954 if test -n "$PKG_CONFIG" && \
32955 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.24\""; } >&5
32956 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.24") 2>&5
32958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32959 test $ac_status = 0; }; then
32960 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.24" 2>/dev/null`
32971 if test $pkg_failed = yes; then
32973 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32974 _pkg_short_errors_supported=yes
32976 _pkg_short_errors_supported=no
32978 if test $_pkg_short_errors_supported = yes; then
32979 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.24"`
32981 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.24"`
32983 # Put the nasty error message in config.log where it belongs
32984 echo "$DIRECTFB_PKG_ERRORS" >&5
32986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32987 $as_echo "no" >&6; }
32991 elif test $pkg_failed = untried; then
32996 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32997 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32999 $as_echo "yes" >&6; }
33000 HAVE_DIRECTFB="yes"
33004 LIBS=$gst_check_save_LIBS
33005 LDFLAGS=$gst_check_save_LDFLAGS
33006 CFLAGS=$gst_check_save_CFLAGS
33007 CPPFLAGS=$gst_check_save_CPPFLAGS
33008 CXXFLAGS=$gst_check_save_CXXFLAGS
33010 if test x$HAVE_DIRECTFB = xno; then
33013 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dfbvideosink " >&5
33014 $as_echo "$as_me: *** These plugins will be built: dfbvideosink " >&6;}
33017 if test x$USE_DIRECTFB = xyes; then
33019 if test "xdfbvideosink " != "x"; then
33020 GST_PLUGINS_YES="\tdfbvideosink \n$GST_PLUGINS_YES"
33023 $as_echo "#define HAVE_DIRECTFB /**/" >>confdefs.h
33026 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dfbvideosink " >&5
33027 $as_echo "$as_me: *** These plugins will not be built: dfbvideosink " >&6;}
33028 if test "xdfbvideosink " != "x"; then
33029 GST_PLUGINS_NO="\tdfbvideosink \n$GST_PLUGINS_NO"
33033 if test x$USE_DIRECTFB = xyes; then
33035 USE_DIRECTFB_FALSE='#'
33037 USE_DIRECTFB_TRUE='#'
33038 USE_DIRECTFB_FALSE=
33044 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: dirac ***" >&5
33045 $as_echo "$as_me: *** checking feature: dirac ***" >&6;}
33046 if test "xdirac" != "x"
33048 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dirac ***" >&5
33049 $as_echo "$as_me: *** for plug-ins: dirac ***" >&6;}
33052 if test "x$USE_DIRAC" = "xno"; then
33055 # Check whether --enable-dirac was given.
33056 if test "${enable_dirac+set}" = set; then :
33057 enableval=$enable_dirac; case "${enableval}" in
33058 yes) USE_DIRAC=yes;;
33060 *) as_fn_error $? "bad value ${enableval} for --enable-dirac" "$LINENO" 5 ;;
33066 if test "x$NOUSE" = "xyes"; then
33068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dirac pre-configured not to be built" >&5
33069 $as_echo "$as_me: WARNING: *** dirac pre-configured not to be built" >&2;}
33074 if test x$USE_DIRAC = xyes; then
33076 gst_check_save_LIBS=$LIBS
33077 gst_check_save_LDFLAGS=$LDFLAGS
33078 gst_check_save_CFLAGS=$CFLAGS
33079 gst_check_save_CPPFLAGS=$CPPFLAGS
33080 gst_check_save_CXXFLAGS=$CXXFLAGS
33086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRAC" >&5
33087 $as_echo_n "checking for DIRAC... " >&6; }
33089 if test -n "$PKG_CONFIG"; then
33090 if test -n "$DIRAC_CFLAGS"; then
33091 pkg_cv_DIRAC_CFLAGS="$DIRAC_CFLAGS"
33093 if test -n "$PKG_CONFIG" && \
33094 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dirac >= 0.10\""; } >&5
33095 ($PKG_CONFIG --exists --print-errors "dirac >= 0.10") 2>&5
33097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33098 test $ac_status = 0; }; then
33099 pkg_cv_DIRAC_CFLAGS=`$PKG_CONFIG --cflags "dirac >= 0.10" 2>/dev/null`
33107 if test -n "$PKG_CONFIG"; then
33108 if test -n "$DIRAC_LIBS"; then
33109 pkg_cv_DIRAC_LIBS="$DIRAC_LIBS"
33111 if test -n "$PKG_CONFIG" && \
33112 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dirac >= 0.10\""; } >&5
33113 ($PKG_CONFIG --exists --print-errors "dirac >= 0.10") 2>&5
33115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33116 test $ac_status = 0; }; then
33117 pkg_cv_DIRAC_LIBS=`$PKG_CONFIG --libs "dirac >= 0.10" 2>/dev/null`
33128 if test $pkg_failed = yes; then
33130 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33131 _pkg_short_errors_supported=yes
33133 _pkg_short_errors_supported=no
33135 if test $_pkg_short_errors_supported = yes; then
33136 DIRAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dirac >= 0.10"`
33138 DIRAC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dirac >= 0.10"`
33140 # Put the nasty error message in config.log where it belongs
33141 echo "$DIRAC_PKG_ERRORS" >&5
33143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33144 $as_echo "no" >&6; }
33148 elif test $pkg_failed = untried; then
33153 DIRAC_CFLAGS=$pkg_cv_DIRAC_CFLAGS
33154 DIRAC_LIBS=$pkg_cv_DIRAC_LIBS
33155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33156 $as_echo "yes" >&6; }
33161 LIBS=$gst_check_save_LIBS
33162 LDFLAGS=$gst_check_save_LDFLAGS
33163 CFLAGS=$gst_check_save_CFLAGS
33164 CPPFLAGS=$gst_check_save_CPPFLAGS
33165 CXXFLAGS=$gst_check_save_CXXFLAGS
33167 if test x$HAVE_DIRAC = xno; then
33170 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dirac" >&5
33171 $as_echo "$as_me: *** These plugins will be built: dirac" >&6;}
33174 if test x$USE_DIRAC = xyes; then
33176 if test "xdirac" != "x"; then
33177 GST_PLUGINS_YES="\tdirac\n$GST_PLUGINS_YES"
33180 $as_echo "#define HAVE_DIRAC /**/" >>confdefs.h
33183 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dirac" >&5
33184 $as_echo "$as_me: *** These plugins will not be built: dirac" >&6;}
33185 if test "xdirac" != "x"; then
33186 GST_PLUGINS_NO="\tdirac\n$GST_PLUGINS_NO"
33190 if test x$USE_DIRAC = xyes; then
33192 USE_DIRAC_FALSE='#'
33201 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: dts library ***" >&5
33202 $as_echo "$as_me: *** checking feature: dts library ***" >&6;}
33203 if test "xdtsdec" != "x"
33205 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dtsdec ***" >&5
33206 $as_echo "$as_me: *** for plug-ins: dtsdec ***" >&6;}
33209 if test "x$USE_DTS" = "xno"; then
33212 # Check whether --enable-dts was given.
33213 if test "${enable_dts+set}" = set; then :
33214 enableval=$enable_dts; case "${enableval}" in
33217 *) as_fn_error $? "bad value ${enableval} for --enable-dts" "$LINENO" 5 ;;
33223 if test "x$NOUSE" = "xyes"; then
33225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dtsdec pre-configured not to be built" >&5
33226 $as_echo "$as_me: WARNING: *** dtsdec pre-configured not to be built" >&2;}
33231 if test x$USE_DTS = xyes; then
33233 gst_check_save_LIBS=$LIBS
33234 gst_check_save_LDFLAGS=$LDFLAGS
33235 gst_check_save_CFLAGS=$CFLAGS
33236 gst_check_save_CPPFLAGS=$CPPFLAGS
33237 gst_check_save_CXXFLAGS=$CXXFLAGS
33243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dca_init in -ldca" >&5
33244 $as_echo_n "checking for dca_init in -ldca... " >&6; }
33245 if ${ac_cv_lib_dca_dca_init+:} false; then :
33246 $as_echo_n "(cached) " >&6
33248 ac_check_lib_save_LIBS=$LIBS
33249 LIBS="-ldca $LIBM $LIBS"
33250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33251 /* end confdefs.h. */
33253 /* Override any GCC internal prototype to avoid an error.
33254 Use char because int might match the return type of a GCC
33255 builtin and then its argument prototype would still apply. */
33263 return dca_init ();
33268 if ac_fn_c_try_link "$LINENO"; then :
33269 ac_cv_lib_dca_dca_init=yes
33271 ac_cv_lib_dca_dca_init=no
33273 rm -f core conftest.err conftest.$ac_objext \
33274 conftest$ac_exeext conftest.$ac_ext
33275 LIBS=$ac_check_lib_save_LIBS
33277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dca_dca_init" >&5
33278 $as_echo "$ac_cv_lib_dca_dca_init" >&6; }
33279 if test "x$ac_cv_lib_dca_dca_init" = xyes; then :
33285 if test "x$HAVE_DTS" = "xyes"; then
33286 ac_fn_c_check_header_mongrel "$LINENO" "dca.h" "ac_cv_header_dca_h" "$ac_includes_default"
33287 if test "x$ac_cv_header_dca_h" = xyes; then :
33294 if test "x$HAVE_DTS" = "xyes"; then
33295 DTS_LIBS="-ldca $LIBM"
33305 if test $HAVE_DTS = "no"; then
33307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dts_init in -ldts_pic" >&5
33308 $as_echo_n "checking for dts_init in -ldts_pic... " >&6; }
33309 if ${ac_cv_lib_dts_pic_dts_init+:} false; then :
33310 $as_echo_n "(cached) " >&6
33312 ac_check_lib_save_LIBS=$LIBS
33313 LIBS="-ldts_pic $LIBM $LIBS"
33314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33315 /* end confdefs.h. */
33317 /* Override any GCC internal prototype to avoid an error.
33318 Use char because int might match the return type of a GCC
33319 builtin and then its argument prototype would still apply. */
33327 return dts_init ();
33332 if ac_fn_c_try_link "$LINENO"; then :
33333 ac_cv_lib_dts_pic_dts_init=yes
33335 ac_cv_lib_dts_pic_dts_init=no
33337 rm -f core conftest.err conftest.$ac_objext \
33338 conftest$ac_exeext conftest.$ac_ext
33339 LIBS=$ac_check_lib_save_LIBS
33341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dts_pic_dts_init" >&5
33342 $as_echo "$ac_cv_lib_dts_pic_dts_init" >&6; }
33343 if test "x$ac_cv_lib_dts_pic_dts_init" = xyes; then :
33349 if test "x$HAVE_DTS" = "xyes"; then
33350 ac_fn_c_check_header_mongrel "$LINENO" "dts.h" "ac_cv_header_dts_h" "$ac_includes_default"
33351 if test "x$ac_cv_header_dts_h" = xyes; then :
33358 if test "x$HAVE_DTS" = "xyes"; then
33359 DTS_LIBS="-ldts_pic $LIBM"
33361 $as_echo "#define DTS_OLD 1" >>confdefs.h
33377 LIBS=$gst_check_save_LIBS
33378 LDFLAGS=$gst_check_save_LDFLAGS
33379 CFLAGS=$gst_check_save_CFLAGS
33380 CPPFLAGS=$gst_check_save_CPPFLAGS
33381 CXXFLAGS=$gst_check_save_CXXFLAGS
33383 if test x$HAVE_DTS = xno; then
33386 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dtsdec" >&5
33387 $as_echo "$as_me: *** These plugins will be built: dtsdec" >&6;}
33390 if test x$USE_DTS = xyes; then
33392 if test "xdtsdec" != "x"; then
33393 GST_PLUGINS_YES="\tdtsdec\n$GST_PLUGINS_YES"
33396 $as_echo "#define HAVE_DTS /**/" >>confdefs.h
33399 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dtsdec" >&5
33400 $as_echo "$as_me: *** These plugins will not be built: dtsdec" >&6;}
33401 if test "xdtsdec" != "x"; then
33402 GST_PLUGINS_NO="\tdtsdec\n$GST_PLUGINS_NO"
33406 if test x$USE_DTS = xyes; then
33417 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: divx plugins ***" >&5
33418 $as_echo "$as_me: *** checking feature: divx plugins ***" >&6;}
33419 if test "xdivx" != "x"
33421 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: divx ***" >&5
33422 $as_echo "$as_me: *** for plug-ins: divx ***" >&6;}
33425 if test "x$USE_DIVX" = "xno"; then
33428 # Check whether --enable-divx was given.
33429 if test "${enable_divx+set}" = set; then :
33430 enableval=$enable_divx; case "${enableval}" in
33431 yes) USE_DIVX=yes;;
33433 *) as_fn_error $? "bad value ${enableval} for --enable-divx" "$LINENO" 5 ;;
33439 if test "x$NOUSE" = "xyes"; then
33441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** divx pre-configured not to be built" >&5
33442 $as_echo "$as_me: WARNING: *** divx pre-configured not to be built" >&2;}
33447 if test x$USE_DIVX = xyes; then
33449 gst_check_save_LIBS=$LIBS
33450 gst_check_save_LDFLAGS=$LDFLAGS
33451 gst_check_save_CFLAGS=$CFLAGS
33452 gst_check_save_CPPFLAGS=$CPPFLAGS
33453 gst_check_save_CXXFLAGS=$CXXFLAGS
33458 ac_fn_c_check_header_mongrel "$LINENO" "encore2.h" "ac_cv_header_encore2_h" "$ac_includes_default"
33459 if test "x$ac_cv_header_encore2_h" = xyes; then :
33463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Divx4linux encore headers not found" >&5
33464 $as_echo "$as_me: WARNING: Divx4linux encore headers not found" >&2;}
33470 if test x$HAVE_DIVX = xyes ; then
33471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for valid divx4linux encore version" >&5
33472 $as_echo_n "checking Checking for valid divx4linux encore version... " >&6; }
33473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33474 /* end confdefs.h. */
33476 #include <encore2.h>
33477 #if ENCORE_VERSION != 20021024
33478 #error Wrong version of divx encore libraries
33491 if ac_fn_c_try_compile "$LINENO"; then :
33498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Wrong version of divx4linux installed" >&5
33499 $as_echo "$as_me: WARNING: Wrong version of divx4linux installed" >&2;}
33502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33504 if test x$HAVE_DIVX = xyes ; then
33505 ac_fn_c_check_header_mongrel "$LINENO" "decore.h" "ac_cv_header_decore_h" "$ac_includes_default"
33506 if test "x$ac_cv_header_decore_h" = xyes; then :
33510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Divx4linux decoder headers not found" >&5
33511 $as_echo "$as_me: WARNING: Divx4linux decoder headers not found" >&2;}
33518 if test x$HAVE_DIVX = xyes ; then
33519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for valid divx4linux decore version" >&5
33520 $as_echo_n "checking Checking for valid divx4linux decore version... " >&6; }
33521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33522 /* end confdefs.h. */
33524 #include <decore.h>
33525 #if DECORE_VERSION != 20021112
33526 #error Wrong version of divx decore libraries
33539 if ac_fn_c_try_compile "$LINENO"; then :
33546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Wrong version of divx4linux installed" >&5
33547 $as_echo "$as_me: WARNING: Wrong version of divx4linux installed" >&2;}
33550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33553 if test x$HAVE_DIVX = xyes; then
33554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for encore in -ldivxencore" >&5
33555 $as_echo_n "checking for encore in -ldivxencore... " >&6; }
33556 if ${ac_cv_lib_divxencore_encore+:} false; then :
33557 $as_echo_n "(cached) " >&6
33559 ac_check_lib_save_LIBS=$LIBS
33560 LIBS="-ldivxencore $LIBS"
33561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33562 /* end confdefs.h. */
33564 /* Override any GCC internal prototype to avoid an error.
33565 Use char because int might match the return type of a GCC
33566 builtin and then its argument prototype would still apply. */
33579 if ac_fn_c_try_link "$LINENO"; then :
33580 ac_cv_lib_divxencore_encore=yes
33582 ac_cv_lib_divxencore_encore=no
33584 rm -f core conftest.err conftest.$ac_objext \
33585 conftest$ac_exeext conftest.$ac_ext
33586 LIBS=$ac_check_lib_save_LIBS
33588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_divxencore_encore" >&5
33589 $as_echo "$ac_cv_lib_divxencore_encore" >&6; }
33590 if test "x$ac_cv_lib_divxencore_encore" = xyes; then :
33591 cat >>confdefs.h <<_ACEOF
33592 #define HAVE_LIBDIVXENCORE 1
33595 LIBS="-ldivxencore $LIBS"
33599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Divx4linux encore libs not found" >&5
33600 $as_echo "$as_me: WARNING: Divx4linux encore libs not found" >&2;}
33606 if test x$HAVE_DIVX = xyes; then
33607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for decore in -ldivxdecore" >&5
33608 $as_echo_n "checking for decore in -ldivxdecore... " >&6; }
33609 if ${ac_cv_lib_divxdecore_decore+:} false; then :
33610 $as_echo_n "(cached) " >&6
33612 ac_check_lib_save_LIBS=$LIBS
33613 LIBS="-ldivxdecore $LIBS"
33614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33615 /* end confdefs.h. */
33617 /* Override any GCC internal prototype to avoid an error.
33618 Use char because int might match the return type of a GCC
33619 builtin and then its argument prototype would still apply. */
33632 if ac_fn_c_try_link "$LINENO"; then :
33633 ac_cv_lib_divxdecore_decore=yes
33635 ac_cv_lib_divxdecore_decore=no
33637 rm -f core conftest.err conftest.$ac_objext \
33638 conftest$ac_exeext conftest.$ac_ext
33639 LIBS=$ac_check_lib_save_LIBS
33641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_divxdecore_decore" >&5
33642 $as_echo "$ac_cv_lib_divxdecore_decore" >&6; }
33643 if test "x$ac_cv_lib_divxdecore_decore" = xyes; then :
33644 cat >>confdefs.h <<_ACEOF
33645 #define HAVE_LIBDIVXDECORE 1
33648 LIBS="-ldivxdecore $LIBS"
33652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Divx4linux decore libs not found" >&5
33653 $as_echo "$as_me: WARNING: Divx4linux decore libs not found" >&2;}
33659 if test x$HAVE_DIVX = xyes; then
33660 DIVXENC_LIBS="-ldivxencore $LIBM"
33661 DIVXDEC_LIBS="-ldivxdecore $LIBM"
33667 LIBS=$gst_check_save_LIBS
33668 LDFLAGS=$gst_check_save_LDFLAGS
33669 CFLAGS=$gst_check_save_CFLAGS
33670 CPPFLAGS=$gst_check_save_CPPFLAGS
33671 CXXFLAGS=$gst_check_save_CXXFLAGS
33673 if test x$HAVE_DIVX = xno; then
33676 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: divx" >&5
33677 $as_echo "$as_me: *** These plugins will be built: divx" >&6;}
33680 if test x$USE_DIVX = xyes; then
33682 if test "xdivx" != "x"; then
33683 GST_PLUGINS_YES="\tdivx\n$GST_PLUGINS_YES"
33686 $as_echo "#define HAVE_DIVX /**/" >>confdefs.h
33689 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: divx" >&5
33690 $as_echo "$as_me: *** These plugins will not be built: divx" >&6;}
33691 if test "xdivx" != "x"; then
33692 GST_PLUGINS_NO="\tdivx\n$GST_PLUGINS_NO"
33696 if test x$USE_DIVX = xyes; then
33707 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: resindvd plugin ***" >&5
33708 $as_echo "$as_me: *** checking feature: resindvd plugin ***" >&6;}
33709 if test "xresindvd" != "x"
33711 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: resindvd ***" >&5
33712 $as_echo "$as_me: *** for plug-ins: resindvd ***" >&6;}
33715 if test "x$USE_RESINDVD" = "xno"; then
33718 # Check whether --enable-resindvd was given.
33719 if test "${enable_resindvd+set}" = set; then :
33720 enableval=$enable_resindvd; case "${enableval}" in
33721 yes) USE_RESINDVD=yes;;
33722 no) USE_RESINDVD=no;;
33723 *) as_fn_error $? "bad value ${enableval} for --enable-resindvd" "$LINENO" 5 ;;
33729 if test "x$NOUSE" = "xyes"; then
33731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** resindvd pre-configured not to be built" >&5
33732 $as_echo "$as_me: WARNING: *** resindvd pre-configured not to be built" >&2;}
33737 if test x$USE_RESINDVD = xyes; then
33739 gst_check_save_LIBS=$LIBS
33740 gst_check_save_LDFLAGS=$LDFLAGS
33741 gst_check_save_CFLAGS=$CFLAGS
33742 gst_check_save_CPPFLAGS=$CPPFLAGS
33743 gst_check_save_CXXFLAGS=$CXXFLAGS
33749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DVDNAV" >&5
33750 $as_echo_n "checking for DVDNAV... " >&6; }
33752 if test -n "$PKG_CONFIG"; then
33753 if test -n "$DVDNAV_CFLAGS"; then
33754 pkg_cv_DVDNAV_CFLAGS="$DVDNAV_CFLAGS"
33756 if test -n "$PKG_CONFIG" && \
33757 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdnav >= 4.1.2 dvdread >= 4.1.2\""; } >&5
33758 ($PKG_CONFIG --exists --print-errors "dvdnav >= 4.1.2 dvdread >= 4.1.2") 2>&5
33760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33761 test $ac_status = 0; }; then
33762 pkg_cv_DVDNAV_CFLAGS=`$PKG_CONFIG --cflags "dvdnav >= 4.1.2 dvdread >= 4.1.2" 2>/dev/null`
33770 if test -n "$PKG_CONFIG"; then
33771 if test -n "$DVDNAV_LIBS"; then
33772 pkg_cv_DVDNAV_LIBS="$DVDNAV_LIBS"
33774 if test -n "$PKG_CONFIG" && \
33775 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dvdnav >= 4.1.2 dvdread >= 4.1.2\""; } >&5
33776 ($PKG_CONFIG --exists --print-errors "dvdnav >= 4.1.2 dvdread >= 4.1.2") 2>&5
33778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33779 test $ac_status = 0; }; then
33780 pkg_cv_DVDNAV_LIBS=`$PKG_CONFIG --libs "dvdnav >= 4.1.2 dvdread >= 4.1.2" 2>/dev/null`
33791 if test $pkg_failed = yes; then
33793 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33794 _pkg_short_errors_supported=yes
33796 _pkg_short_errors_supported=no
33798 if test $_pkg_short_errors_supported = yes; then
33799 DVDNAV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dvdnav >= 4.1.2 dvdread >= 4.1.2"`
33801 DVDNAV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dvdnav >= 4.1.2 dvdread >= 4.1.2"`
33803 # Put the nasty error message in config.log where it belongs
33804 echo "$DVDNAV_PKG_ERRORS" >&5
33806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33807 $as_echo "no" >&6; }
33811 elif test $pkg_failed = untried; then
33816 DVDNAV_CFLAGS=$pkg_cv_DVDNAV_CFLAGS
33817 DVDNAV_LIBS=$pkg_cv_DVDNAV_LIBS
33818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33819 $as_echo "yes" >&6; }
33820 HAVE_RESINDVD="yes"
33824 LIBS=$gst_check_save_LIBS
33825 LDFLAGS=$gst_check_save_LDFLAGS
33826 CFLAGS=$gst_check_save_CFLAGS
33827 CPPFLAGS=$gst_check_save_CPPFLAGS
33828 CXXFLAGS=$gst_check_save_CXXFLAGS
33830 if test x$HAVE_RESINDVD = xno; then
33833 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: resindvd" >&5
33834 $as_echo "$as_me: *** These plugins will be built: resindvd" >&6;}
33837 if test x$USE_RESINDVD = xyes; then
33839 if test "xresindvd" != "x"; then
33840 GST_PLUGINS_YES="\tresindvd\n$GST_PLUGINS_YES"
33843 $as_echo "#define HAVE_RESINDVD /**/" >>confdefs.h
33846 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: resindvd" >&5
33847 $as_echo "$as_me: *** These plugins will not be built: resindvd" >&6;}
33848 if test "xresindvd" != "x"; then
33849 GST_PLUGINS_NO="\tresindvd\n$GST_PLUGINS_NO"
33853 if test x$USE_RESINDVD = xyes; then
33855 USE_RESINDVD_FALSE='#'
33857 USE_RESINDVD_TRUE='#'
33858 USE_RESINDVD_FALSE=
33864 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: AAC encoder plug-in ***" >&5
33865 $as_echo "$as_me: *** checking feature: AAC encoder plug-in ***" >&6;}
33866 if test "xfaac" != "x"
33868 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: faac ***" >&5
33869 $as_echo "$as_me: *** for plug-ins: faac ***" >&6;}
33872 if test "x$USE_FAAC" = "xno"; then
33875 # Check whether --enable-faac was given.
33876 if test "${enable_faac+set}" = set; then :
33877 enableval=$enable_faac; case "${enableval}" in
33878 yes) USE_FAAC=yes;;
33880 *) as_fn_error $? "bad value ${enableval} for --enable-faac" "$LINENO" 5 ;;
33886 if test "x$NOUSE" = "xyes"; then
33888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** faac pre-configured not to be built" >&5
33889 $as_echo "$as_me: WARNING: *** faac pre-configured not to be built" >&2;}
33894 if test x$USE_FAAC = xyes; then
33896 gst_check_save_LIBS=$LIBS
33897 gst_check_save_LDFLAGS=$LDFLAGS
33898 gst_check_save_CFLAGS=$CFLAGS
33899 gst_check_save_CPPFLAGS=$CPPFLAGS
33900 gst_check_save_CXXFLAGS=$CXXFLAGS
33905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for faacEncOpen in -lfaac" >&5
33906 $as_echo_n "checking for faacEncOpen in -lfaac... " >&6; }
33907 if ${ac_cv_lib_faac_faacEncOpen+:} false; then :
33908 $as_echo_n "(cached) " >&6
33910 ac_check_lib_save_LIBS=$LIBS
33911 LIBS="-lfaac $LIBM $LIBS"
33912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33913 /* end confdefs.h. */
33915 /* Override any GCC internal prototype to avoid an error.
33916 Use char because int might match the return type of a GCC
33917 builtin and then its argument prototype would still apply. */
33921 char faacEncOpen ();
33925 return faacEncOpen ();
33930 if ac_fn_c_try_link "$LINENO"; then :
33931 ac_cv_lib_faac_faacEncOpen=yes
33933 ac_cv_lib_faac_faacEncOpen=no
33935 rm -f core conftest.err conftest.$ac_objext \
33936 conftest$ac_exeext conftest.$ac_ext
33937 LIBS=$ac_check_lib_save_LIBS
33939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_faac_faacEncOpen" >&5
33940 $as_echo "$ac_cv_lib_faac_faacEncOpen" >&6; }
33941 if test "x$ac_cv_lib_faac_faacEncOpen" = xyes; then :
33947 if test "x$HAVE_FAAC" = "xyes"; then
33948 ac_fn_c_check_header_mongrel "$LINENO" "faac.h" "ac_cv_header_faac_h" "$ac_includes_default"
33949 if test "x$ac_cv_header_faac_h" = xyes; then :
33956 if test "x$HAVE_FAAC" = "xyes"; then
33957 FAAC_LIBS="-lfaac $LIBM"
33968 GIVEN_CFLAGS=$FAAC_CFLAGS
33969 INCLUDE_DIRS=`echo | cpp -v 2>&1`
33971 INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
33972 for dir in $INCLUDE_DIRS; do
33973 GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
33975 FAAC_CFLAGS=$GIVEN_CFLAGS
33980 LIBS=$gst_check_save_LIBS
33981 LDFLAGS=$gst_check_save_LDFLAGS
33982 CFLAGS=$gst_check_save_CFLAGS
33983 CPPFLAGS=$gst_check_save_CPPFLAGS
33984 CXXFLAGS=$gst_check_save_CXXFLAGS
33986 if test x$HAVE_FAAC = xno; then
33989 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: faac" >&5
33990 $as_echo "$as_me: *** These plugins will be built: faac" >&6;}
33993 if test x$USE_FAAC = xyes; then
33995 if test "xfaac" != "x"; then
33996 GST_PLUGINS_YES="\tfaac\n$GST_PLUGINS_YES"
33999 $as_echo "#define HAVE_FAAC /**/" >>confdefs.h
34002 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: faac" >&5
34003 $as_echo "$as_me: *** These plugins will not be built: faac" >&6;}
34004 if test "xfaac" != "x"; then
34005 GST_PLUGINS_NO="\tfaac\n$GST_PLUGINS_NO"
34009 if test x$USE_FAAC = xyes; then
34020 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: AAC decoder plug-in ***" >&5
34021 $as_echo "$as_me: *** checking feature: AAC decoder plug-in ***" >&6;}
34022 if test "xfaad" != "x"
34024 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: faad ***" >&5
34025 $as_echo "$as_me: *** for plug-ins: faad ***" >&6;}
34028 if test "x$USE_FAAD" = "xno"; then
34031 # Check whether --enable-faad was given.
34032 if test "${enable_faad+set}" = set; then :
34033 enableval=$enable_faad; case "${enableval}" in
34034 yes) USE_FAAD=yes;;
34036 *) as_fn_error $? "bad value ${enableval} for --enable-faad" "$LINENO" 5 ;;
34042 if test "x$NOUSE" = "xyes"; then
34044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** faad pre-configured not to be built" >&5
34045 $as_echo "$as_me: WARNING: *** faad pre-configured not to be built" >&2;}
34050 if test x$USE_FAAD = xyes; then
34052 gst_check_save_LIBS=$LIBS
34053 gst_check_save_LDFLAGS=$LDFLAGS
34054 gst_check_save_CFLAGS=$CFLAGS
34055 gst_check_save_CPPFLAGS=$CPPFLAGS
34056 gst_check_save_CXXFLAGS=$CXXFLAGS
34063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for faacDecOpen in -lfaad" >&5
34064 $as_echo_n "checking for faacDecOpen in -lfaad... " >&6; }
34065 if ${ac_cv_lib_faad_faacDecOpen+:} false; then :
34066 $as_echo_n "(cached) " >&6
34068 ac_check_lib_save_LIBS=$LIBS
34069 LIBS="-lfaad $LIBM $LIBS"
34070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34071 /* end confdefs.h. */
34073 /* Override any GCC internal prototype to avoid an error.
34074 Use char because int might match the return type of a GCC
34075 builtin and then its argument prototype would still apply. */
34079 char faacDecOpen ();
34083 return faacDecOpen ();
34088 if ac_fn_c_try_link "$LINENO"; then :
34089 ac_cv_lib_faad_faacDecOpen=yes
34091 ac_cv_lib_faad_faacDecOpen=no
34093 rm -f core conftest.err conftest.$ac_objext \
34094 conftest$ac_exeext conftest.$ac_ext
34095 LIBS=$ac_check_lib_save_LIBS
34097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_faad_faacDecOpen" >&5
34098 $as_echo "$ac_cv_lib_faad_faacDecOpen" >&6; }
34099 if test "x$ac_cv_lib_faad_faacDecOpen" = xyes; then :
34105 if test "x$HAVE_FAAD" = "xyes"; then
34106 ac_fn_c_check_header_mongrel "$LINENO" "faad.h" "ac_cv_header_faad_h" "$ac_includes_default"
34107 if test "x$ac_cv_header_faad_h" = xyes; then :
34114 if test "x$HAVE_FAAD" = "xyes"; then
34115 FAAD_LIBS="-lfaad $LIBM"
34125 if test $HAVE_FAAD = "no"; then
34127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NeAACDecOpen in -lfaad" >&5
34128 $as_echo_n "checking for NeAACDecOpen in -lfaad... " >&6; }
34129 if ${ac_cv_lib_faad_NeAACDecOpen+:} false; then :
34130 $as_echo_n "(cached) " >&6
34132 ac_check_lib_save_LIBS=$LIBS
34133 LIBS="-lfaad $LIBM $LIBS"
34134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34135 /* end confdefs.h. */
34137 /* Override any GCC internal prototype to avoid an error.
34138 Use char because int might match the return type of a GCC
34139 builtin and then its argument prototype would still apply. */
34143 char NeAACDecOpen ();
34147 return NeAACDecOpen ();
34152 if ac_fn_c_try_link "$LINENO"; then :
34153 ac_cv_lib_faad_NeAACDecOpen=yes
34155 ac_cv_lib_faad_NeAACDecOpen=no
34157 rm -f core conftest.err conftest.$ac_objext \
34158 conftest$ac_exeext conftest.$ac_ext
34159 LIBS=$ac_check_lib_save_LIBS
34161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_faad_NeAACDecOpen" >&5
34162 $as_echo "$ac_cv_lib_faad_NeAACDecOpen" >&6; }
34163 if test "x$ac_cv_lib_faad_NeAACDecOpen" = xyes; then :
34169 if test "x$HAVE_FAAD" = "xyes"; then
34170 ac_fn_c_check_header_mongrel "$LINENO" "neaacdec.h" "ac_cv_header_neaacdec_h" "$ac_includes_default"
34171 if test "x$ac_cv_header_neaacdec_h" = xyes; then :
34178 if test "x$HAVE_FAAD" = "xyes"; then
34179 FAAD_LIBS="-lfaad $LIBM"
34181 $as_echo "#define FAAD_IS_NEAAC 1" >>confdefs.h
34183 faad_hdr="neaacdec.h"
34201 if test $HAVE_FAAD = "yes"; then
34202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for FAAD >= 2.0" >&5
34203 $as_echo_n "checking Checking for FAAD >= 2.0... " >&6; }
34204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34205 /* end confdefs.h. */
34211 #if !defined(FAAD2_VERSION) || !defined(FAAD_FMT_DOUBLE)
34214 /* Release candidate of 2.0 is not good enough for us. This field
34215 * was added only in 2.0 final and does not exist in 2.0-RC3 */
34216 faacDecConfiguration conf; conf.dontUpSampleImplicitSBR = 1;
34223 if ac_fn_c_try_compile "$LINENO"; then :
34227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking FAAD2 version in $faad_hdr" >&5
34228 $as_echo_n "checking Checking FAAD2 version in $faad_hdr... " >&6; }
34229 for minor in 10 9 8 7 6 5 0; do
34230 if test x$faad2_minor_version = "x"; then
34231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34232 /* end confdefs.h. */
34234 #include <$faad_hdr>
34235 GST_CHECK_FAAD_VERSION FAAD2_VERSION
34238 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34239 $EGREP "GST_CHECK_FAAD_VERSION \"2\.$minor\"" >/dev/null 2>&1; then :
34241 faad2_minor_version=$minor
34248 if test x$faad2_minor_version = "x"; then
34249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no idea" >&5
34250 $as_echo "no idea" >&6; }
34252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.$faad2_minor_version" >&5
34253 $as_echo "2.$faad2_minor_version" >&6; }
34255 cat >>confdefs.h <<_ACEOF
34256 #define FAAD2_MINOR_VERSION $faad2_minor_version
34266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34269 GIVEN_CFLAGS=$FAAD_CFLAGS
34270 INCLUDE_DIRS=`echo | cpp -v 2>&1`
34272 INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
34273 for dir in $INCLUDE_DIRS; do
34274 GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
34276 FAAD_CFLAGS=$GIVEN_CFLAGS
34282 LIBS=$gst_check_save_LIBS
34283 LDFLAGS=$gst_check_save_LDFLAGS
34284 CFLAGS=$gst_check_save_CFLAGS
34285 CPPFLAGS=$gst_check_save_CPPFLAGS
34286 CXXFLAGS=$gst_check_save_CXXFLAGS
34288 if test x$HAVE_FAAD = xno; then
34291 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: faad" >&5
34292 $as_echo "$as_me: *** These plugins will be built: faad" >&6;}
34295 if test x$USE_FAAD = xyes; then
34297 if test "xfaad" != "x"; then
34298 GST_PLUGINS_YES="\tfaad\n$GST_PLUGINS_YES"
34301 $as_echo "#define HAVE_FAAD /**/" >>confdefs.h
34304 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: faad" >&5
34305 $as_echo "$as_me: *** These plugins will not be built: faad" >&6;}
34306 if test "xfaad" != "x"; then
34307 GST_PLUGINS_NO="\tfaad\n$GST_PLUGINS_NO"
34311 if test x$USE_FAAD = xyes; then
34322 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: linux framebuffer ***" >&5
34323 $as_echo "$as_me: *** checking feature: linux framebuffer ***" >&6;}
34324 if test "xfbdevsink" != "x"
34326 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: fbdevsink ***" >&5
34327 $as_echo "$as_me: *** for plug-ins: fbdevsink ***" >&6;}
34330 if test "x$USE_FBDEV" = "xno"; then
34333 # Check whether --enable-fbdev was given.
34334 if test "${enable_fbdev+set}" = set; then :
34335 enableval=$enable_fbdev; case "${enableval}" in
34336 yes) USE_FBDEV=yes;;
34338 *) as_fn_error $? "bad value ${enableval} for --enable-fbdev" "$LINENO" 5 ;;
34344 if test "x$NOUSE" = "xyes"; then
34346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** fbdevsink pre-configured not to be built" >&5
34347 $as_echo "$as_me: WARNING: *** fbdevsink pre-configured not to be built" >&2;}
34352 if test x$USE_FBDEV = xyes; then
34354 gst_check_save_LIBS=$LIBS
34355 gst_check_save_LDFLAGS=$LDFLAGS
34356 gst_check_save_CFLAGS=$CFLAGS
34357 gst_check_save_CPPFLAGS=$CPPFLAGS
34358 gst_check_save_CXXFLAGS=$CXXFLAGS
34362 if test "x$HAVE_FBDEV" != "xyes"; then
34363 ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default"
34364 if test "x$ac_cv_header_linux_fb_h" = xyes; then :
34374 LIBS=$gst_check_save_LIBS
34375 LDFLAGS=$gst_check_save_LDFLAGS
34376 CFLAGS=$gst_check_save_CFLAGS
34377 CPPFLAGS=$gst_check_save_CPPFLAGS
34378 CXXFLAGS=$gst_check_save_CXXFLAGS
34380 if test x$HAVE_FBDEV = xno; then
34383 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: fbdevsink" >&5
34384 $as_echo "$as_me: *** These plugins will be built: fbdevsink" >&6;}
34387 if test x$USE_FBDEV = xyes; then
34389 if test "xfbdevsink" != "x"; then
34390 GST_PLUGINS_YES="\tfbdevsink\n$GST_PLUGINS_YES"
34393 $as_echo "#define HAVE_FBDEV /**/" >>confdefs.h
34396 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: fbdevsink" >&5
34397 $as_echo "$as_me: *** These plugins will not be built: fbdevsink" >&6;}
34398 if test "xfbdevsink" != "x"; then
34399 GST_PLUGINS_NO="\tfbdevsink\n$GST_PLUGINS_NO"
34403 if test x$USE_FBDEV = xyes; then
34405 USE_FBDEV_FALSE='#'
34414 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Flite plugin ***" >&5
34415 $as_echo "$as_me: *** checking feature: Flite plugin ***" >&6;}
34416 if test "xflite" != "x"
34418 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: flite ***" >&5
34419 $as_echo "$as_me: *** for plug-ins: flite ***" >&6;}
34422 if test "x$USE_FLITE" = "xno"; then
34425 # Check whether --enable-flite was given.
34426 if test "${enable_flite+set}" = set; then :
34427 enableval=$enable_flite; case "${enableval}" in
34428 yes) USE_FLITE=yes;;
34430 *) as_fn_error $? "bad value ${enableval} for --enable-flite" "$LINENO" 5 ;;
34436 if test "x$NOUSE" = "xyes"; then
34438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** flite pre-configured not to be built" >&5
34439 $as_echo "$as_me: WARNING: *** flite pre-configured not to be built" >&2;}
34444 if test x$USE_FLITE = xyes; then
34446 gst_check_save_LIBS=$LIBS
34447 gst_check_save_LDFLAGS=$LDFLAGS
34448 gst_check_save_CFLAGS=$CFLAGS
34449 gst_check_save_CPPFLAGS=$CPPFLAGS
34450 gst_check_save_CXXFLAGS=$CXXFLAGS
34455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flite_init in -lflite" >&5
34456 $as_echo_n "checking for flite_init in -lflite... " >&6; }
34457 if ${ac_cv_lib_flite_flite_init+:} false; then :
34458 $as_echo_n "(cached) " >&6
34460 ac_check_lib_save_LIBS=$LIBS
34461 LIBS="-lflite $LIBM $LIBS"
34462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34463 /* end confdefs.h. */
34465 /* Override any GCC internal prototype to avoid an error.
34466 Use char because int might match the return type of a GCC
34467 builtin and then its argument prototype would still apply. */
34471 char flite_init ();
34475 return flite_init ();
34480 if ac_fn_c_try_link "$LINENO"; then :
34481 ac_cv_lib_flite_flite_init=yes
34483 ac_cv_lib_flite_flite_init=no
34485 rm -f core conftest.err conftest.$ac_objext \
34486 conftest$ac_exeext conftest.$ac_ext
34487 LIBS=$ac_check_lib_save_LIBS
34489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_flite_flite_init" >&5
34490 $as_echo "$ac_cv_lib_flite_flite_init" >&6; }
34491 if test "x$ac_cv_lib_flite_flite_init" = xyes; then :
34497 if test "x$HAVE_FLITE" = "xyes"; then
34498 ac_fn_c_check_header_mongrel "$LINENO" "flite/flite.h" "ac_cv_header_flite_flite_h" "$ac_includes_default"
34499 if test "x$ac_cv_header_flite_flite_h" = xyes; then :
34506 if test "x$HAVE_FLITE" = "xyes"; then
34507 FLITE_LIBS="-lflite -lflite_cmu_us_kal -lflite_usenglish -lflite_cmulex $LIBM"
34522 LIBS=$gst_check_save_LIBS
34523 LDFLAGS=$gst_check_save_LDFLAGS
34524 CFLAGS=$gst_check_save_CFLAGS
34525 CPPFLAGS=$gst_check_save_CPPFLAGS
34526 CXXFLAGS=$gst_check_save_CXXFLAGS
34528 if test x$HAVE_FLITE = xno; then
34531 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: flite" >&5
34532 $as_echo "$as_me: *** These plugins will be built: flite" >&6;}
34535 if test x$USE_FLITE = xyes; then
34537 if test "xflite" != "x"; then
34538 GST_PLUGINS_YES="\tflite\n$GST_PLUGINS_YES"
34541 $as_echo "#define HAVE_FLITE /**/" >>confdefs.h
34544 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: flite" >&5
34545 $as_echo "$as_me: *** These plugins will not be built: flite" >&6;}
34546 if test "xflite" != "x"; then
34547 GST_PLUGINS_NO="\tflite\n$GST_PLUGINS_NO"
34551 if test x$USE_FLITE = xyes; then
34553 USE_FLITE_FALSE='#'
34562 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GSM library ***" >&5
34563 $as_echo "$as_me: *** checking feature: GSM library ***" >&6;}
34564 if test "xgsmenc gsmdec" != "x"
34566 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gsmenc gsmdec ***" >&5
34567 $as_echo "$as_me: *** for plug-ins: gsmenc gsmdec ***" >&6;}
34570 if test "x$USE_GSM" = "xno"; then
34573 # Check whether --enable-gsm was given.
34574 if test "${enable_gsm+set}" = set; then :
34575 enableval=$enable_gsm; case "${enableval}" in
34578 *) as_fn_error $? "bad value ${enableval} for --enable-gsm" "$LINENO" 5 ;;
34584 if test "x$NOUSE" = "xyes"; then
34586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gsmenc gsmdec pre-configured not to be built" >&5
34587 $as_echo "$as_me: WARNING: *** gsmenc gsmdec pre-configured not to be built" >&2;}
34592 if test x$USE_GSM = xyes; then
34594 gst_check_save_LIBS=$LIBS
34595 gst_check_save_LDFLAGS=$LDFLAGS
34596 gst_check_save_CFLAGS=$CFLAGS
34597 gst_check_save_CPPFLAGS=$CPPFLAGS
34598 gst_check_save_CXXFLAGS=$CXXFLAGS
34603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsm_create in -lgsm" >&5
34604 $as_echo_n "checking for gsm_create in -lgsm... " >&6; }
34605 if ${ac_cv_lib_gsm_gsm_create+:} false; then :
34606 $as_echo_n "(cached) " >&6
34608 ac_check_lib_save_LIBS=$LIBS
34610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34611 /* end confdefs.h. */
34613 /* Override any GCC internal prototype to avoid an error.
34614 Use char because int might match the return type of a GCC
34615 builtin and then its argument prototype would still apply. */
34619 char gsm_create ();
34623 return gsm_create ();
34628 if ac_fn_c_try_link "$LINENO"; then :
34629 ac_cv_lib_gsm_gsm_create=yes
34631 ac_cv_lib_gsm_gsm_create=no
34633 rm -f core conftest.err conftest.$ac_objext \
34634 conftest$ac_exeext conftest.$ac_ext
34635 LIBS=$ac_check_lib_save_LIBS
34637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gsm_gsm_create" >&5
34638 $as_echo "$ac_cv_lib_gsm_gsm_create" >&6; }
34639 if test "x$ac_cv_lib_gsm_gsm_create" = xyes; then :
34645 if test "x$HAVE_GSM" = "xyes"; then
34646 ac_fn_c_check_header_mongrel "$LINENO" "gsm.h" "ac_cv_header_gsm_h" "$ac_includes_default"
34647 if test "x$ac_cv_header_gsm_h" = xyes; then :
34654 if test "x$HAVE_GSM" = "xyes"; then
34665 if test $HAVE_GSM != "yes"; then
34667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsm_create in -lgsm" >&5
34668 $as_echo_n "checking for gsm_create in -lgsm... " >&6; }
34669 if ${ac_cv_lib_gsm_gsm_create+:} false; then :
34670 $as_echo_n "(cached) " >&6
34672 ac_check_lib_save_LIBS=$LIBS
34674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34675 /* end confdefs.h. */
34677 /* Override any GCC internal prototype to avoid an error.
34678 Use char because int might match the return type of a GCC
34679 builtin and then its argument prototype would still apply. */
34683 char gsm_create ();
34687 return gsm_create ();
34692 if ac_fn_c_try_link "$LINENO"; then :
34693 ac_cv_lib_gsm_gsm_create=yes
34695 ac_cv_lib_gsm_gsm_create=no
34697 rm -f core conftest.err conftest.$ac_objext \
34698 conftest$ac_exeext conftest.$ac_ext
34699 LIBS=$ac_check_lib_save_LIBS
34701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gsm_gsm_create" >&5
34702 $as_echo "$ac_cv_lib_gsm_gsm_create" >&6; }
34703 if test "x$ac_cv_lib_gsm_gsm_create" = xyes; then :
34709 if test "x$HAVE_GSM" = "xyes"; then
34710 ac_fn_c_check_header_mongrel "$LINENO" "gsm/gsm.h" "ac_cv_header_gsm_gsm_h" "$ac_includes_default"
34711 if test "x$ac_cv_header_gsm_gsm_h" = xyes; then :
34718 if test "x$HAVE_GSM" = "xyes"; then
34729 if test $HAVE_GSM = "yes"; then
34731 $as_echo "#define GSM_HEADER_IN_SUBDIR 1" >>confdefs.h
34738 LIBS=$gst_check_save_LIBS
34739 LDFLAGS=$gst_check_save_LDFLAGS
34740 CFLAGS=$gst_check_save_CFLAGS
34741 CPPFLAGS=$gst_check_save_CPPFLAGS
34742 CXXFLAGS=$gst_check_save_CXXFLAGS
34744 if test x$HAVE_GSM = xno; then
34747 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gsmenc gsmdec" >&5
34748 $as_echo "$as_me: *** These plugins will be built: gsmenc gsmdec" >&6;}
34751 if test x$USE_GSM = xyes; then
34753 if test "xgsmenc gsmdec" != "x"; then
34754 GST_PLUGINS_YES="\tgsmenc gsmdec\n$GST_PLUGINS_YES"
34757 $as_echo "#define HAVE_GSM /**/" >>confdefs.h
34760 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gsmenc gsmdec" >&5
34761 $as_echo "$as_me: *** These plugins will not be built: gsmenc gsmdec" >&6;}
34762 if test "xgsmenc gsmdec" != "x"; then
34763 GST_PLUGINS_NO="\tgsmenc gsmdec\n$GST_PLUGINS_NO"
34767 if test x$USE_GSM = xyes; then
34778 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: jp2k ***" >&5
34779 $as_echo "$as_me: *** checking feature: jp2k ***" >&6;}
34780 if test "xjp2kdec jp2kenc" != "x"
34782 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: jp2kdec jp2kenc ***" >&5
34783 $as_echo "$as_me: *** for plug-ins: jp2kdec jp2kenc ***" >&6;}
34786 if test "x$USE_JP2K" = "xno"; then
34789 # Check whether --enable-jp2k was given.
34790 if test "${enable_jp2k+set}" = set; then :
34791 enableval=$enable_jp2k; case "${enableval}" in
34792 yes) USE_JP2K=yes;;
34794 *) as_fn_error $? "bad value ${enableval} for --enable-jp2k" "$LINENO" 5 ;;
34800 if test "x$NOUSE" = "xyes"; then
34802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** jp2kdec jp2kenc pre-configured not to be built" >&5
34803 $as_echo "$as_me: WARNING: *** jp2kdec jp2kenc pre-configured not to be built" >&2;}
34808 if test x$USE_JP2K = xyes; then
34810 gst_check_save_LIBS=$LIBS
34811 gst_check_save_LDFLAGS=$LDFLAGS
34812 gst_check_save_CFLAGS=$CFLAGS
34813 gst_check_save_CPPFLAGS=$CPPFLAGS
34814 gst_check_save_CXXFLAGS=$CXXFLAGS
34819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jas_stream_fopen in -ljasper" >&5
34820 $as_echo_n "checking for jas_stream_fopen in -ljasper... " >&6; }
34821 if ${ac_cv_lib_jasper_jas_stream_fopen+:} false; then :
34822 $as_echo_n "(cached) " >&6
34824 ac_check_lib_save_LIBS=$LIBS
34825 LIBS="-ljasper $LIBS"
34826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34827 /* end confdefs.h. */
34829 /* Override any GCC internal prototype to avoid an error.
34830 Use char because int might match the return type of a GCC
34831 builtin and then its argument prototype would still apply. */
34835 char jas_stream_fopen ();
34839 return jas_stream_fopen ();
34844 if ac_fn_c_try_link "$LINENO"; then :
34845 ac_cv_lib_jasper_jas_stream_fopen=yes
34847 ac_cv_lib_jasper_jas_stream_fopen=no
34849 rm -f core conftest.err conftest.$ac_objext \
34850 conftest$ac_exeext conftest.$ac_ext
34851 LIBS=$ac_check_lib_save_LIBS
34853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jasper_jas_stream_fopen" >&5
34854 $as_echo "$ac_cv_lib_jasper_jas_stream_fopen" >&6; }
34855 if test "x$ac_cv_lib_jasper_jas_stream_fopen" = xyes; then :
34861 if test "x$HAVE_JP2K" = "xyes"; then
34862 ac_fn_c_check_header_mongrel "$LINENO" "jasper/jasper.h" "ac_cv_header_jasper_jasper_h" "$ac_includes_default"
34863 if test "x$ac_cv_header_jasper_jasper_h" = xyes; then :
34870 if test "x$HAVE_JP2K" = "xyes"; then
34871 JP2K_LIBS="-ljasper"
34884 LIBS=$gst_check_save_LIBS
34885 LDFLAGS=$gst_check_save_LDFLAGS
34886 CFLAGS=$gst_check_save_CFLAGS
34887 CPPFLAGS=$gst_check_save_CPPFLAGS
34888 CXXFLAGS=$gst_check_save_CXXFLAGS
34890 if test x$HAVE_JP2K = xno; then
34893 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: jp2kdec jp2kenc" >&5
34894 $as_echo "$as_me: *** These plugins will be built: jp2kdec jp2kenc" >&6;}
34897 if test x$USE_JP2K = xyes; then
34899 if test "xjp2kdec jp2kenc" != "x"; then
34900 GST_PLUGINS_YES="\tjp2kdec jp2kenc\n$GST_PLUGINS_YES"
34903 $as_echo "#define HAVE_JP2K /**/" >>confdefs.h
34906 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: jp2kdec jp2kenc" >&5
34907 $as_echo "$as_me: *** These plugins will not be built: jp2kdec jp2kenc" >&6;}
34908 if test "xjp2kdec jp2kenc" != "x"; then
34909 GST_PLUGINS_NO="\tjp2kdec jp2kenc\n$GST_PLUGINS_NO"
34913 if test x$USE_JP2K = xyes; then
34924 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Kate ***" >&5
34925 $as_echo "$as_me: *** checking feature: Kate ***" >&6;}
34926 if test "xkate" != "x"
34928 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: kate ***" >&5
34929 $as_echo "$as_me: *** for plug-ins: kate ***" >&6;}
34932 if test "x$USE_KATE" = "xno"; then
34935 # Check whether --enable-kate was given.
34936 if test "${enable_kate+set}" = set; then :
34937 enableval=$enable_kate; case "${enableval}" in
34938 yes) USE_KATE=yes;;
34940 *) as_fn_error $? "bad value ${enableval} for --enable-kate" "$LINENO" 5 ;;
34946 if test "x$NOUSE" = "xyes"; then
34948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** kate pre-configured not to be built" >&5
34949 $as_echo "$as_me: WARNING: *** kate pre-configured not to be built" >&2;}
34954 if test x$USE_KATE = xyes; then
34956 gst_check_save_LIBS=$LIBS
34957 gst_check_save_LDFLAGS=$LDFLAGS
34958 gst_check_save_CFLAGS=$CFLAGS
34959 gst_check_save_CPPFLAGS=$CPPFLAGS
34960 gst_check_save_CXXFLAGS=$CXXFLAGS
34966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KATE" >&5
34967 $as_echo_n "checking for KATE... " >&6; }
34969 if test -n "$PKG_CONFIG"; then
34970 if test -n "$KATE_CFLAGS"; then
34971 pkg_cv_KATE_CFLAGS="$KATE_CFLAGS"
34973 if test -n "$PKG_CONFIG" && \
34974 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"kate >= 0.1.7\""; } >&5
34975 ($PKG_CONFIG --exists --print-errors "kate >= 0.1.7") 2>&5
34977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34978 test $ac_status = 0; }; then
34979 pkg_cv_KATE_CFLAGS=`$PKG_CONFIG --cflags "kate >= 0.1.7" 2>/dev/null`
34987 if test -n "$PKG_CONFIG"; then
34988 if test -n "$KATE_LIBS"; then
34989 pkg_cv_KATE_LIBS="$KATE_LIBS"
34991 if test -n "$PKG_CONFIG" && \
34992 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"kate >= 0.1.7\""; } >&5
34993 ($PKG_CONFIG --exists --print-errors "kate >= 0.1.7") 2>&5
34995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34996 test $ac_status = 0; }; then
34997 pkg_cv_KATE_LIBS=`$PKG_CONFIG --libs "kate >= 0.1.7" 2>/dev/null`
35008 if test $pkg_failed = yes; then
35010 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35011 _pkg_short_errors_supported=yes
35013 _pkg_short_errors_supported=no
35015 if test $_pkg_short_errors_supported = yes; then
35016 KATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "kate >= 0.1.7"`
35018 KATE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "kate >= 0.1.7"`
35020 # Put the nasty error message in config.log where it belongs
35021 echo "$KATE_PKG_ERRORS" >&5
35023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35024 $as_echo "no" >&6; }
35028 elif test $pkg_failed = untried; then
35033 KATE_CFLAGS=$pkg_cv_KATE_CFLAGS
35034 KATE_LIBS=$pkg_cv_KATE_LIBS
35035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35036 $as_echo "yes" >&6; }
35043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIGER" >&5
35044 $as_echo_n "checking for TIGER... " >&6; }
35046 if test -n "$PKG_CONFIG"; then
35047 if test -n "$TIGER_CFLAGS"; then
35048 pkg_cv_TIGER_CFLAGS="$TIGER_CFLAGS"
35050 if test -n "$PKG_CONFIG" && \
35051 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tiger >= 0.3.2\""; } >&5
35052 ($PKG_CONFIG --exists --print-errors "tiger >= 0.3.2") 2>&5
35054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35055 test $ac_status = 0; }; then
35056 pkg_cv_TIGER_CFLAGS=`$PKG_CONFIG --cflags "tiger >= 0.3.2" 2>/dev/null`
35064 if test -n "$PKG_CONFIG"; then
35065 if test -n "$TIGER_LIBS"; then
35066 pkg_cv_TIGER_LIBS="$TIGER_LIBS"
35068 if test -n "$PKG_CONFIG" && \
35069 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tiger >= 0.3.2\""; } >&5
35070 ($PKG_CONFIG --exists --print-errors "tiger >= 0.3.2") 2>&5
35072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35073 test $ac_status = 0; }; then
35074 pkg_cv_TIGER_LIBS=`$PKG_CONFIG --libs "tiger >= 0.3.2" 2>/dev/null`
35085 if test $pkg_failed = yes; then
35087 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35088 _pkg_short_errors_supported=yes
35090 _pkg_short_errors_supported=no
35092 if test $_pkg_short_errors_supported = yes; then
35093 TIGER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "tiger >= 0.3.2"`
35095 TIGER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "tiger >= 0.3.2"`
35097 # Put the nasty error message in config.log where it belongs
35098 echo "$TIGER_PKG_ERRORS" >&5
35100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35101 $as_echo "no" >&6; }
35106 elif test $pkg_failed = untried; then
35112 TIGER_CFLAGS=$pkg_cv_TIGER_CFLAGS
35113 TIGER_LIBS=$pkg_cv_TIGER_LIBS
35114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35115 $as_echo "yes" >&6; }
35119 $as_echo "#define HAVE_TIGER 1" >>confdefs.h
35123 if test "x$HAVE_TIGER" = "xyes"; then
35125 USE_TIGER_FALSE='#'
35135 LIBS=$gst_check_save_LIBS
35136 LDFLAGS=$gst_check_save_LDFLAGS
35137 CFLAGS=$gst_check_save_CFLAGS
35138 CPPFLAGS=$gst_check_save_CPPFLAGS
35139 CXXFLAGS=$gst_check_save_CXXFLAGS
35141 if test x$HAVE_KATE = xno; then
35144 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: kate" >&5
35145 $as_echo "$as_me: *** These plugins will be built: kate" >&6;}
35148 if test x$USE_KATE = xyes; then
35150 if test "xkate" != "x"; then
35151 GST_PLUGINS_YES="\tkate\n$GST_PLUGINS_YES"
35154 $as_echo "#define HAVE_KATE /**/" >>confdefs.h
35157 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: kate" >&5
35158 $as_echo "$as_me: *** These plugins will not be built: kate" >&6;}
35159 if test "xkate" != "x"; then
35160 GST_PLUGINS_NO="\tkate\n$GST_PLUGINS_NO"
35164 USE_TIGER_FALSE='#'
35171 if test x$USE_KATE = xyes; then
35182 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: ladspa ***" >&5
35183 $as_echo "$as_me: *** checking feature: ladspa ***" >&6;}
35184 if test "xladspa" != "x"
35186 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ladspa ***" >&5
35187 $as_echo "$as_me: *** for plug-ins: ladspa ***" >&6;}
35190 if test "x$USE_LADSPA" = "xno"; then
35193 # Check whether --enable-ladspa was given.
35194 if test "${enable_ladspa+set}" = set; then :
35195 enableval=$enable_ladspa; case "${enableval}" in
35196 yes) USE_LADSPA=yes;;
35197 no) USE_LADSPA=no;;
35198 *) as_fn_error $? "bad value ${enableval} for --enable-ladspa" "$LINENO" 5 ;;
35204 if test "x$NOUSE" = "xyes"; then
35206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ladspa pre-configured not to be built" >&5
35207 $as_echo "$as_me: WARNING: *** ladspa pre-configured not to be built" >&2;}
35212 if test x$USE_LADSPA = xyes; then
35214 gst_check_save_LIBS=$LIBS
35215 gst_check_save_LDFLAGS=$LDFLAGS
35216 gst_check_save_CFLAGS=$CFLAGS
35217 gst_check_save_CPPFLAGS=$CPPFLAGS
35218 gst_check_save_CXXFLAGS=$CXXFLAGS
35222 ac_fn_c_check_header_mongrel "$LINENO" "ladspa.h" "ac_cv_header_ladspa_h" "$ac_includes_default"
35223 if test "x$ac_cv_header_ladspa_h" = xyes; then :
35233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LRDF" >&5
35234 $as_echo_n "checking for LRDF... " >&6; }
35236 if test -n "$PKG_CONFIG"; then
35237 if test -n "$LRDF_CFLAGS"; then
35238 pkg_cv_LRDF_CFLAGS="$LRDF_CFLAGS"
35240 if test -n "$PKG_CONFIG" && \
35241 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lrdf\""; } >&5
35242 ($PKG_CONFIG --exists --print-errors "lrdf") 2>&5
35244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35245 test $ac_status = 0; }; then
35246 pkg_cv_LRDF_CFLAGS=`$PKG_CONFIG --cflags "lrdf" 2>/dev/null`
35254 if test -n "$PKG_CONFIG"; then
35255 if test -n "$LRDF_LIBS"; then
35256 pkg_cv_LRDF_LIBS="$LRDF_LIBS"
35258 if test -n "$PKG_CONFIG" && \
35259 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lrdf\""; } >&5
35260 ($PKG_CONFIG --exists --print-errors "lrdf") 2>&5
35262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35263 test $ac_status = 0; }; then
35264 pkg_cv_LRDF_LIBS=`$PKG_CONFIG --libs "lrdf" 2>/dev/null`
35275 if test $pkg_failed = yes; then
35277 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35278 _pkg_short_errors_supported=yes
35280 _pkg_short_errors_supported=no
35282 if test $_pkg_short_errors_supported = yes; then
35283 LRDF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "lrdf"`
35285 LRDF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "lrdf"`
35287 # Put the nasty error message in config.log where it belongs
35288 echo "$LRDF_PKG_ERRORS" >&5
35290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35291 $as_echo "no" >&6; }
35293 elif test $pkg_failed = untried; then
35296 LRDF_CFLAGS=$pkg_cv_LRDF_CFLAGS
35297 LRDF_LIBS=$pkg_cv_LRDF_LIBS
35298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35299 $as_echo "yes" >&6; }
35302 if test $HAVE_LRDF = "yes"; then
35304 $as_echo "#define HAVE_LRDF 1" >>confdefs.h
35311 LIBS=$gst_check_save_LIBS
35312 LDFLAGS=$gst_check_save_LDFLAGS
35313 CFLAGS=$gst_check_save_CFLAGS
35314 CPPFLAGS=$gst_check_save_CPPFLAGS
35315 CXXFLAGS=$gst_check_save_CXXFLAGS
35317 if test x$HAVE_LADSPA = xno; then
35320 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ladspa" >&5
35321 $as_echo "$as_me: *** These plugins will be built: ladspa" >&6;}
35324 if test x$USE_LADSPA = xyes; then
35326 if test "xladspa" != "x"; then
35327 GST_PLUGINS_YES="\tladspa\n$GST_PLUGINS_YES"
35330 $as_echo "#define HAVE_LADSPA /**/" >>confdefs.h
35333 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ladspa" >&5
35334 $as_echo "$as_me: *** These plugins will not be built: ladspa" >&6;}
35335 if test "xladspa" != "x"; then
35336 GST_PLUGINS_NO="\tladspa\n$GST_PLUGINS_NO"
35340 if test x$USE_LADSPA = xyes; then
35342 USE_LADSPA_FALSE='#'
35344 USE_LADSPA_TRUE='#'
35351 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: lv2 ***" >&5
35352 $as_echo "$as_me: *** checking feature: lv2 ***" >&6;}
35353 if test "xlv2" != "x"
35355 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: lv2 ***" >&5
35356 $as_echo "$as_me: *** for plug-ins: lv2 ***" >&6;}
35359 if test "x$USE_LV2" = "xno"; then
35362 # Check whether --enable-lv2 was given.
35363 if test "${enable_lv2+set}" = set; then :
35364 enableval=$enable_lv2; case "${enableval}" in
35367 *) as_fn_error $? "bad value ${enableval} for --enable-lv2" "$LINENO" 5 ;;
35373 if test "x$NOUSE" = "xyes"; then
35375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** lv2 pre-configured not to be built" >&5
35376 $as_echo "$as_me: WARNING: *** lv2 pre-configured not to be built" >&2;}
35381 if test x$USE_LV2 = xyes; then
35383 gst_check_save_LIBS=$LIBS
35384 gst_check_save_LDFLAGS=$LDFLAGS
35385 gst_check_save_CFLAGS=$CFLAGS
35386 gst_check_save_CPPFLAGS=$CPPFLAGS
35387 gst_check_save_CXXFLAGS=$CXXFLAGS
35393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SLV2" >&5
35394 $as_echo_n "checking for SLV2... " >&6; }
35396 if test -n "$PKG_CONFIG"; then
35397 if test -n "$SLV2_CFLAGS"; then
35398 pkg_cv_SLV2_CFLAGS="$SLV2_CFLAGS"
35400 if test -n "$PKG_CONFIG" && \
35401 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"slv2 >= 0.6.6\""; } >&5
35402 ($PKG_CONFIG --exists --print-errors "slv2 >= 0.6.6") 2>&5
35404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35405 test $ac_status = 0; }; then
35406 pkg_cv_SLV2_CFLAGS=`$PKG_CONFIG --cflags "slv2 >= 0.6.6" 2>/dev/null`
35414 if test -n "$PKG_CONFIG"; then
35415 if test -n "$SLV2_LIBS"; then
35416 pkg_cv_SLV2_LIBS="$SLV2_LIBS"
35418 if test -n "$PKG_CONFIG" && \
35419 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"slv2 >= 0.6.6\""; } >&5
35420 ($PKG_CONFIG --exists --print-errors "slv2 >= 0.6.6") 2>&5
35422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35423 test $ac_status = 0; }; then
35424 pkg_cv_SLV2_LIBS=`$PKG_CONFIG --libs "slv2 >= 0.6.6" 2>/dev/null`
35435 if test $pkg_failed = yes; then
35437 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35438 _pkg_short_errors_supported=yes
35440 _pkg_short_errors_supported=no
35442 if test $_pkg_short_errors_supported = yes; then
35443 SLV2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "slv2 >= 0.6.6"`
35445 SLV2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "slv2 >= 0.6.6"`
35447 # Put the nasty error message in config.log where it belongs
35448 echo "$SLV2_PKG_ERRORS" >&5
35450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35451 $as_echo "no" >&6; }
35453 elif test $pkg_failed = untried; then
35456 SLV2_CFLAGS=$pkg_cv_SLV2_CFLAGS
35457 SLV2_LIBS=$pkg_cv_SLV2_LIBS
35458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35459 $as_echo "yes" >&6; }
35466 LIBS=$gst_check_save_LIBS
35467 LDFLAGS=$gst_check_save_LDFLAGS
35468 CFLAGS=$gst_check_save_CFLAGS
35469 CPPFLAGS=$gst_check_save_CPPFLAGS
35470 CXXFLAGS=$gst_check_save_CXXFLAGS
35472 if test x$HAVE_LV2 = xno; then
35475 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: lv2" >&5
35476 $as_echo "$as_me: *** These plugins will be built: lv2" >&6;}
35479 if test x$USE_LV2 = xyes; then
35481 if test "xlv2" != "x"; then
35482 GST_PLUGINS_YES="\tlv2\n$GST_PLUGINS_YES"
35485 $as_echo "#define HAVE_LV2 /**/" >>confdefs.h
35488 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: lv2" >&5
35489 $as_echo "$as_me: *** These plugins will not be built: lv2" >&6;}
35490 if test "xlv2" != "x"; then
35491 GST_PLUGINS_NO="\tlv2\n$GST_PLUGINS_NO"
35495 if test x$USE_LV2 = xyes; then
35506 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: mms protocol library ***" >&5
35507 $as_echo "$as_me: *** checking feature: mms protocol library ***" >&6;}
35508 if test "xlibmms" != "x"
35510 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: libmms ***" >&5
35511 $as_echo "$as_me: *** for plug-ins: libmms ***" >&6;}
35514 if test "x$USE_LIBMMS" = "xno"; then
35517 # Check whether --enable-libmms was given.
35518 if test "${enable_libmms+set}" = set; then :
35519 enableval=$enable_libmms; case "${enableval}" in
35520 yes) USE_LIBMMS=yes;;
35521 no) USE_LIBMMS=no;;
35522 *) as_fn_error $? "bad value ${enableval} for --enable-libmms" "$LINENO" 5 ;;
35528 if test "x$NOUSE" = "xyes"; then
35530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** libmms pre-configured not to be built" >&5
35531 $as_echo "$as_me: WARNING: *** libmms pre-configured not to be built" >&2;}
35536 if test x$USE_LIBMMS = xyes; then
35538 gst_check_save_LIBS=$LIBS
35539 gst_check_save_LDFLAGS=$LDFLAGS
35540 gst_check_save_CFLAGS=$CFLAGS
35541 gst_check_save_CPPFLAGS=$CPPFLAGS
35542 gst_check_save_CXXFLAGS=$CXXFLAGS
35548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMMS" >&5
35549 $as_echo_n "checking for LIBMMS... " >&6; }
35551 if test -n "$PKG_CONFIG"; then
35552 if test -n "$LIBMMS_CFLAGS"; then
35553 pkg_cv_LIBMMS_CFLAGS="$LIBMMS_CFLAGS"
35555 if test -n "$PKG_CONFIG" && \
35556 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmms >= 0.4\""; } >&5
35557 ($PKG_CONFIG --exists --print-errors "libmms >= 0.4") 2>&5
35559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35560 test $ac_status = 0; }; then
35561 pkg_cv_LIBMMS_CFLAGS=`$PKG_CONFIG --cflags "libmms >= 0.4" 2>/dev/null`
35569 if test -n "$PKG_CONFIG"; then
35570 if test -n "$LIBMMS_LIBS"; then
35571 pkg_cv_LIBMMS_LIBS="$LIBMMS_LIBS"
35573 if test -n "$PKG_CONFIG" && \
35574 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmms >= 0.4\""; } >&5
35575 ($PKG_CONFIG --exists --print-errors "libmms >= 0.4") 2>&5
35577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35578 test $ac_status = 0; }; then
35579 pkg_cv_LIBMMS_LIBS=`$PKG_CONFIG --libs "libmms >= 0.4" 2>/dev/null`
35590 if test $pkg_failed = yes; then
35592 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35593 _pkg_short_errors_supported=yes
35595 _pkg_short_errors_supported=no
35597 if test $_pkg_short_errors_supported = yes; then
35598 LIBMMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libmms >= 0.4"`
35600 LIBMMS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmms >= 0.4"`
35602 # Put the nasty error message in config.log where it belongs
35603 echo "$LIBMMS_PKG_ERRORS" >&5
35605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35606 $as_echo "no" >&6; }
35610 elif test $pkg_failed = untried; then
35615 LIBMMS_CFLAGS=$pkg_cv_LIBMMS_CFLAGS
35616 LIBMMS_LIBS=$pkg_cv_LIBMMS_LIBS
35617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35618 $as_echo "yes" >&6; }
35623 LIBS=$gst_check_save_LIBS
35624 LDFLAGS=$gst_check_save_LDFLAGS
35625 CFLAGS=$gst_check_save_CFLAGS
35626 CPPFLAGS=$gst_check_save_CPPFLAGS
35627 CXXFLAGS=$gst_check_save_CXXFLAGS
35629 if test x$HAVE_LIBMMS = xno; then
35632 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: libmms" >&5
35633 $as_echo "$as_me: *** These plugins will be built: libmms" >&6;}
35636 if test x$USE_LIBMMS = xyes; then
35638 if test "xlibmms" != "x"; then
35639 GST_PLUGINS_YES="\tlibmms\n$GST_PLUGINS_YES"
35642 $as_echo "#define HAVE_LIBMMS /**/" >>confdefs.h
35645 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: libmms" >&5
35646 $as_echo "$as_me: *** These plugins will not be built: libmms" >&6;}
35647 if test "xlibmms" != "x"; then
35648 GST_PLUGINS_NO="\tlibmms\n$GST_PLUGINS_NO"
35652 if test x$USE_LIBMMS = xyes; then
35654 USE_LIBMMS_FALSE='#'
35656 USE_LIBMMS_TRUE='#'
35664 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Linear Systems SDI plugin ***" >&5
35665 $as_echo "$as_me: *** checking feature: Linear Systems SDI plugin ***" >&6;}
35666 if test "xlinsys" != "x"
35668 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: linsys ***" >&5
35669 $as_echo "$as_me: *** for plug-ins: linsys ***" >&6;}
35672 if test "x$USE_LINSYS" = "xno"; then
35675 # Check whether --enable-linsys was given.
35676 if test "${enable_linsys+set}" = set; then :
35677 enableval=$enable_linsys; case "${enableval}" in
35678 yes) USE_LINSYS=yes;;
35679 no) USE_LINSYS=no;;
35680 *) as_fn_error $? "bad value ${enableval} for --enable-linsys" "$LINENO" 5 ;;
35686 if test "x$NOUSE" = "xyes"; then
35688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** linsys pre-configured not to be built" >&5
35689 $as_echo "$as_me: WARNING: *** linsys pre-configured not to be built" >&2;}
35694 if test x$USE_LINSYS = xyes; then
35696 gst_check_save_LIBS=$LIBS
35697 gst_check_save_LDFLAGS=$LDFLAGS
35698 gst_check_save_CFLAGS=$CFLAGS
35699 gst_check_save_CPPFLAGS=$CPPFLAGS
35700 gst_check_save_CXXFLAGS=$CXXFLAGS
35714 LIBS=$gst_check_save_LIBS
35715 LDFLAGS=$gst_check_save_LDFLAGS
35716 CFLAGS=$gst_check_save_CFLAGS
35717 CPPFLAGS=$gst_check_save_CPPFLAGS
35718 CXXFLAGS=$gst_check_save_CXXFLAGS
35720 if test x$HAVE_LINSYS = xno; then
35723 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: linsys" >&5
35724 $as_echo "$as_me: *** These plugins will be built: linsys" >&6;}
35727 if test x$USE_LINSYS = xyes; then
35729 if test "xlinsys" != "x"; then
35730 GST_PLUGINS_YES="\tlinsys\n$GST_PLUGINS_YES"
35733 $as_echo "#define HAVE_LINSYS /**/" >>confdefs.h
35736 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: linsys" >&5
35737 $as_echo "$as_me: *** These plugins will not be built: linsys" >&6;}
35738 if test "xlinsys" != "x"; then
35739 GST_PLUGINS_NO="\tlinsys\n$GST_PLUGINS_NO"
35743 if test x$USE_LINSYS = xyes; then
35745 USE_LINSYS_FALSE='#'
35747 USE_LINSYS_TRUE='#'
35754 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: modplug ***" >&5
35755 $as_echo "$as_me: *** checking feature: modplug ***" >&6;}
35756 if test "xmodplug" != "x"
35758 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: modplug ***" >&5
35759 $as_echo "$as_me: *** for plug-ins: modplug ***" >&6;}
35762 if test "x$USE_MODPLUG" = "xno"; then
35765 # Check whether --enable-modplug was given.
35766 if test "${enable_modplug+set}" = set; then :
35767 enableval=$enable_modplug; case "${enableval}" in
35768 yes) USE_MODPLUG=yes;;
35769 no) USE_MODPLUG=no;;
35770 *) as_fn_error $? "bad value ${enableval} for --enable-modplug" "$LINENO" 5 ;;
35776 if test "x$NOUSE" = "xyes"; then
35778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** modplug pre-configured not to be built" >&5
35779 $as_echo "$as_me: WARNING: *** modplug pre-configured not to be built" >&2;}
35784 if test x$USE_MODPLUG = xyes; then
35786 gst_check_save_LIBS=$LIBS
35787 gst_check_save_LDFLAGS=$LDFLAGS
35788 gst_check_save_CFLAGS=$CFLAGS
35789 gst_check_save_CPPFLAGS=$CPPFLAGS
35790 gst_check_save_CXXFLAGS=$CXXFLAGS
35794 if test "x$HAVE_CXX" != "xyes"; then
35795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not compiling modplug plugin as it requires a C++ compiler" >&5
35796 $as_echo "$as_me: WARNING: Not compiling modplug plugin as it requires a C++ compiler" >&2;}
35801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MODPLUG" >&5
35802 $as_echo_n "checking for MODPLUG... " >&6; }
35804 if test -n "$PKG_CONFIG"; then
35805 if test -n "$MODPLUG_CFLAGS"; then
35806 pkg_cv_MODPLUG_CFLAGS="$MODPLUG_CFLAGS"
35808 if test -n "$PKG_CONFIG" && \
35809 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmodplug\""; } >&5
35810 ($PKG_CONFIG --exists --print-errors "libmodplug") 2>&5
35812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35813 test $ac_status = 0; }; then
35814 pkg_cv_MODPLUG_CFLAGS=`$PKG_CONFIG --cflags "libmodplug" 2>/dev/null`
35822 if test -n "$PKG_CONFIG"; then
35823 if test -n "$MODPLUG_LIBS"; then
35824 pkg_cv_MODPLUG_LIBS="$MODPLUG_LIBS"
35826 if test -n "$PKG_CONFIG" && \
35827 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmodplug\""; } >&5
35828 ($PKG_CONFIG --exists --print-errors "libmodplug") 2>&5
35830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35831 test $ac_status = 0; }; then
35832 pkg_cv_MODPLUG_LIBS=`$PKG_CONFIG --libs "libmodplug" 2>/dev/null`
35843 if test $pkg_failed = yes; then
35845 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35846 _pkg_short_errors_supported=yes
35848 _pkg_short_errors_supported=no
35850 if test $_pkg_short_errors_supported = yes; then
35851 MODPLUG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libmodplug"`
35853 MODPLUG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmodplug"`
35855 # Put the nasty error message in config.log where it belongs
35856 echo "$MODPLUG_PKG_ERRORS" >&5
35858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35859 $as_echo "no" >&6; }
35861 elif test $pkg_failed = untried; then
35864 MODPLUG_CFLAGS=$pkg_cv_MODPLUG_CFLAGS
35865 MODPLUG_LIBS=$pkg_cv_MODPLUG_LIBS
35866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35867 $as_echo "yes" >&6; }
35875 LIBS=$gst_check_save_LIBS
35876 LDFLAGS=$gst_check_save_LDFLAGS
35877 CFLAGS=$gst_check_save_CFLAGS
35878 CPPFLAGS=$gst_check_save_CPPFLAGS
35879 CXXFLAGS=$gst_check_save_CXXFLAGS
35881 if test x$HAVE_MODPLUG = xno; then
35884 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: modplug" >&5
35885 $as_echo "$as_me: *** These plugins will be built: modplug" >&6;}
35888 if test x$USE_MODPLUG = xyes; then
35890 if test "xmodplug" != "x"; then
35891 GST_PLUGINS_YES="\tmodplug\n$GST_PLUGINS_YES"
35894 $as_echo "#define HAVE_MODPLUG /**/" >>confdefs.h
35897 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: modplug" >&5
35898 $as_echo "$as_me: *** These plugins will not be built: modplug" >&6;}
35899 if test "xmodplug" != "x"; then
35900 GST_PLUGINS_NO="\tmodplug\n$GST_PLUGINS_NO"
35904 if test x$USE_MODPLUG = xyes; then
35906 USE_MODPLUG_FALSE='#'
35908 USE_MODPLUG_TRUE='#'
35915 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libmimic library ***" >&5
35916 $as_echo "$as_me: *** checking feature: libmimic library ***" >&6;}
35917 if test "xmimic" != "x"
35919 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: mimic ***" >&5
35920 $as_echo "$as_me: *** for plug-ins: mimic ***" >&6;}
35923 if test "x$USE_MIMIC" = "xno"; then
35926 # Check whether --enable-mimic was given.
35927 if test "${enable_mimic+set}" = set; then :
35928 enableval=$enable_mimic; case "${enableval}" in
35929 yes) USE_MIMIC=yes;;
35931 *) as_fn_error $? "bad value ${enableval} for --enable-mimic" "$LINENO" 5 ;;
35937 if test "x$NOUSE" = "xyes"; then
35939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mimic pre-configured not to be built" >&5
35940 $as_echo "$as_me: WARNING: *** mimic pre-configured not to be built" >&2;}
35945 if test x$USE_MIMIC = xyes; then
35947 gst_check_save_LIBS=$LIBS
35948 gst_check_save_LDFLAGS=$LDFLAGS
35949 gst_check_save_CFLAGS=$CFLAGS
35950 gst_check_save_CPPFLAGS=$CPPFLAGS
35951 gst_check_save_CXXFLAGS=$CXXFLAGS
35955 MIMDEC_REQUIRED=1.0
35958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MIMIC" >&5
35959 $as_echo_n "checking for MIMIC... " >&6; }
35961 if test -n "$PKG_CONFIG"; then
35962 if test -n "$MIMIC_CFLAGS"; then
35963 pkg_cv_MIMIC_CFLAGS="$MIMIC_CFLAGS"
35965 if test -n "$PKG_CONFIG" && \
35966 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmimic >= \$MIMDEC_REQUIRED\""; } >&5
35967 ($PKG_CONFIG --exists --print-errors "libmimic >= $MIMDEC_REQUIRED") 2>&5
35969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35970 test $ac_status = 0; }; then
35971 pkg_cv_MIMIC_CFLAGS=`$PKG_CONFIG --cflags "libmimic >= $MIMDEC_REQUIRED" 2>/dev/null`
35979 if test -n "$PKG_CONFIG"; then
35980 if test -n "$MIMIC_LIBS"; then
35981 pkg_cv_MIMIC_LIBS="$MIMIC_LIBS"
35983 if test -n "$PKG_CONFIG" && \
35984 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmimic >= \$MIMDEC_REQUIRED\""; } >&5
35985 ($PKG_CONFIG --exists --print-errors "libmimic >= $MIMDEC_REQUIRED") 2>&5
35987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35988 test $ac_status = 0; }; then
35989 pkg_cv_MIMIC_LIBS=`$PKG_CONFIG --libs "libmimic >= $MIMDEC_REQUIRED" 2>/dev/null`
36000 if test $pkg_failed = yes; then
36002 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36003 _pkg_short_errors_supported=yes
36005 _pkg_short_errors_supported=no
36007 if test $_pkg_short_errors_supported = yes; then
36008 MIMIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libmimic >= $MIMDEC_REQUIRED"`
36010 MIMIC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmimic >= $MIMDEC_REQUIRED"`
36012 # Put the nasty error message in config.log where it belongs
36013 echo "$MIMIC_PKG_ERRORS" >&5
36015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36016 $as_echo "no" >&6; }
36018 elif test $pkg_failed = untried; then
36021 MIMIC_CFLAGS=$pkg_cv_MIMIC_CFLAGS
36022 MIMIC_LIBS=$pkg_cv_MIMIC_LIBS
36023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36024 $as_echo "yes" >&6; }
36031 LIBS=$gst_check_save_LIBS
36032 LDFLAGS=$gst_check_save_LDFLAGS
36033 CFLAGS=$gst_check_save_CFLAGS
36034 CPPFLAGS=$gst_check_save_CPPFLAGS
36035 CXXFLAGS=$gst_check_save_CXXFLAGS
36037 if test x$HAVE_MIMIC = xno; then
36040 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: mimic" >&5
36041 $as_echo "$as_me: *** These plugins will be built: mimic" >&6;}
36044 if test x$USE_MIMIC = xyes; then
36046 if test "xmimic" != "x"; then
36047 GST_PLUGINS_YES="\tmimic\n$GST_PLUGINS_YES"
36050 $as_echo "#define HAVE_MIMIC /**/" >>confdefs.h
36053 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: mimic" >&5
36054 $as_echo "$as_me: *** These plugins will not be built: mimic" >&6;}
36055 if test "xmimic" != "x"; then
36056 GST_PLUGINS_NO="\tmimic\n$GST_PLUGINS_NO"
36060 if test x$USE_MIMIC = xyes; then
36062 USE_MIMIC_FALSE='#'
36071 if test -n "$PKG_CONFIG" && \
36072 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.6.1.93 mjpegtools < 1.8.0\""; } >&5
36073 ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.6.1.93 mjpegtools < 1.8.0") 2>&5
36075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36076 test $ac_status = 0; }; then
36078 mjpegtools_api=10601
36082 if test -n "$PKG_CONFIG" && \
36083 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.8.0 mjpegtools < 1.9.0\""; } >&5
36084 ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.8.0 mjpegtools < 1.9.0") 2>&5
36086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36087 test $ac_status = 0; }; then
36089 mjpegtools_api=10800
36093 if test -n "$PKG_CONFIG" && \
36094 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 2.0.0\""; } >&5
36095 ($PKG_CONFIG --exists --print-errors "mjpegtools >= 2.0.0") 2>&5
36097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36098 test $ac_status = 0; }; then
36100 mjpegtools_api=20000
36106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MJPEG" >&5
36107 $as_echo_n "checking for MJPEG... " >&6; }
36109 if test -n "$PKG_CONFIG"; then
36110 if test -n "$MJPEG_CFLAGS"; then
36111 pkg_cv_MJPEG_CFLAGS="$MJPEG_CFLAGS"
36113 if test -n "$PKG_CONFIG" && \
36114 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.9.0 mjpegtools < 2.0.0\""; } >&5
36115 ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.9.0 mjpegtools < 2.0.0") 2>&5
36117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36118 test $ac_status = 0; }; then
36119 pkg_cv_MJPEG_CFLAGS=`$PKG_CONFIG --cflags "mjpegtools >= 1.9.0 mjpegtools < 2.0.0" 2>/dev/null`
36127 if test -n "$PKG_CONFIG"; then
36128 if test -n "$MJPEG_LIBS"; then
36129 pkg_cv_MJPEG_LIBS="$MJPEG_LIBS"
36131 if test -n "$PKG_CONFIG" && \
36132 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.9.0 mjpegtools < 2.0.0\""; } >&5
36133 ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.9.0 mjpegtools < 2.0.0") 2>&5
36135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36136 test $ac_status = 0; }; then
36137 pkg_cv_MJPEG_LIBS=`$PKG_CONFIG --libs "mjpegtools >= 1.9.0 mjpegtools < 2.0.0" 2>/dev/null`
36148 if test $pkg_failed = yes; then
36150 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36151 _pkg_short_errors_supported=yes
36153 _pkg_short_errors_supported=no
36155 if test $_pkg_short_errors_supported = yes; then
36156 MJPEG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mjpegtools >= 1.9.0 mjpegtools < 2.0.0"`
36158 MJPEG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mjpegtools >= 1.9.0 mjpegtools < 2.0.0"`
36160 # Put the nasty error message in config.log where it belongs
36161 echo "$MJPEG_PKG_ERRORS" >&5
36163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36164 $as_echo "no" >&6; }
36168 elif test $pkg_failed = untried; then
36173 MJPEG_CFLAGS=$pkg_cv_MJPEG_CFLAGS
36174 MJPEG_LIBS=$pkg_cv_MJPEG_LIBS
36175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36176 $as_echo "yes" >&6; }
36178 OLD_CFLAGS="$CFLAGS"
36180 CFLAGS="$MJPEG_CFLAGS"
36181 LIBS="$LIBS $MJPEG_LIBS -lmjpegutils $LIBM -lpthread"
36182 ac_fn_c_check_func "$LINENO" "mjpeg_loglev_t" "ac_cv_func_mjpeg_loglev_t"
36183 if test "x$ac_cv_func_mjpeg_loglev_t" = xyes; then :
36185 mjpegtools_api=10903
36189 mjpegtools_api=10900
36193 CFLAGS="$OLD_CFLAGS"
36204 cat >>confdefs.h <<_ACEOF
36205 #define GST_MJPEGTOOLS_API $mjpegtools_api
36211 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: mpeg2enc ***" >&5
36212 $as_echo "$as_me: *** checking feature: mpeg2enc ***" >&6;}
36213 if test "xmpeg2enc" != "x"
36215 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: mpeg2enc ***" >&5
36216 $as_echo "$as_me: *** for plug-ins: mpeg2enc ***" >&6;}
36219 if test "x$USE_MPEG2ENC" = "xno"; then
36222 # Check whether --enable-mpeg2enc was given.
36223 if test "${enable_mpeg2enc+set}" = set; then :
36224 enableval=$enable_mpeg2enc; case "${enableval}" in
36225 yes) USE_MPEG2ENC=yes;;
36226 no) USE_MPEG2ENC=no;;
36227 *) as_fn_error $? "bad value ${enableval} for --enable-mpeg2enc" "$LINENO" 5 ;;
36233 if test "x$NOUSE" = "xyes"; then
36235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mpeg2enc pre-configured not to be built" >&5
36236 $as_echo "$as_me: WARNING: *** mpeg2enc pre-configured not to be built" >&2;}
36241 if test x$USE_MPEG2ENC = xyes; then
36243 gst_check_save_LIBS=$LIBS
36244 gst_check_save_LDFLAGS=$LDFLAGS
36245 gst_check_save_CFLAGS=$CFLAGS
36246 gst_check_save_CPPFLAGS=$CPPFLAGS
36247 gst_check_save_CXXFLAGS=$CXXFLAGS
36252 if test x$HAVE_CXX = xyes ; then
36255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPEG2ENC" >&5
36256 $as_echo_n "checking for MPEG2ENC... " >&6; }
36258 if test -n "$PKG_CONFIG"; then
36259 if test -n "$MPEG2ENC_CFLAGS"; then
36260 pkg_cv_MPEG2ENC_CFLAGS="$MPEG2ENC_CFLAGS"
36262 if test -n "$PKG_CONFIG" && \
36263 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.6.1.93\""; } >&5
36264 ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.6.1.93") 2>&5
36266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36267 test $ac_status = 0; }; then
36268 pkg_cv_MPEG2ENC_CFLAGS=`$PKG_CONFIG --cflags "mjpegtools >= 1.6.1.93" 2>/dev/null`
36276 if test -n "$PKG_CONFIG"; then
36277 if test -n "$MPEG2ENC_LIBS"; then
36278 pkg_cv_MPEG2ENC_LIBS="$MPEG2ENC_LIBS"
36280 if test -n "$PKG_CONFIG" && \
36281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.6.1.93\""; } >&5
36282 ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.6.1.93") 2>&5
36284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36285 test $ac_status = 0; }; then
36286 pkg_cv_MPEG2ENC_LIBS=`$PKG_CONFIG --libs "mjpegtools >= 1.6.1.93" 2>/dev/null`
36297 if test $pkg_failed = yes; then
36299 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36300 _pkg_short_errors_supported=yes
36302 _pkg_short_errors_supported=no
36304 if test $_pkg_short_errors_supported = yes; then
36305 MPEG2ENC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mjpegtools >= 1.6.1.93"`
36307 MPEG2ENC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mjpegtools >= 1.6.1.93"`
36309 # Put the nasty error message in config.log where it belongs
36310 echo "$MPEG2ENC_PKG_ERRORS" >&5
36312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36313 $as_echo "no" >&6; }
36317 elif test $pkg_failed = untried; then
36322 MPEG2ENC_CFLAGS=$pkg_cv_MPEG2ENC_CFLAGS
36323 MPEG2ENC_LIBS=$pkg_cv_MPEG2ENC_LIBS
36324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36325 $as_echo "yes" >&6; }
36329 ac_cpp='$CXXCPP $CPPFLAGS'
36330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36334 OLD_CPPFLAGS="$CPPFLAGS"
36335 CPPFLAGS_GOOD="$CPPFLAGS $MPEG2ENC_CFLAGS"
36336 CPPFLAGS="$CPPFLAGS_GOOD -I."
36337 mpeg2enc_headers_ok=no
36338 ac_fn_cxx_check_header_mongrel "$LINENO" "mpeg2encoder.hh" "ac_cv_header_mpeg2encoder_hh" "$ac_includes_default"
36339 if test "x$ac_cv_header_mpeg2encoder_hh" = xyes; then :
36341 MPEG2ENC_LIBS="$MPEG2ENC_LIBS -lmpeg2encpp $LIBM -lpthread"
36343 LIBS="$LIBS $MPEG2ENC_LIBS"
36344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valid mpeg2enc objects" >&5
36345 $as_echo_n "checking for valid mpeg2enc objects... " >&6; }
36346 if test "$cross_compiling" = yes; then :
36347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36349 as_fn_error $? "cannot run test program while cross compiling
36350 See \`config.log' for more details" "$LINENO" 5; }
36352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36353 /* end confdefs.h. */
36355 #include <mpeg2encoder.hh>
36356 #include <mpeg2encoptions.hh>
36362 MPEG2EncOptions *options = new MPEG2EncOptions ();
36363 MPEG2Encoder *encoder = new MPEG2Encoder (*options);
36368 if ac_fn_cxx_try_run "$LINENO"; then :
36370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36371 $as_echo "yes" >&6; }
36372 if test "$mjpegtools_api" -ge "10800"; then
36373 ac_fn_cxx_check_header_mongrel "$LINENO" "mpeg2syntaxcodes.h" "ac_cv_header_mpeg2syntaxcodes_h" "$ac_includes_default"
36374 if test "x$ac_cv_header_mpeg2syntaxcodes_h" = xyes; then :
36376 mpeg2enc_headers_ok=yes
36380 mpeg2enc_headers_ok=no
36386 mpeg2enc_headers_ok=yes
36388 if test "x$mpeg2enc_headers_ok" = "xyes"; then
36389 HAVE_MPEG2ENC="yes"
36391 CPPFLAGS="$CPPFLAGS_GOOD"
36397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36398 $as_echo "no" >&6; }
36401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
36402 conftest.$ac_objext conftest.beam conftest.$ac_ext
36411 CPPFLAGS="$OLD_CPPFLAGS"
36413 ac_cpp='$CPP $CPPFLAGS'
36414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36423 LIBS=$gst_check_save_LIBS
36424 LDFLAGS=$gst_check_save_LDFLAGS
36425 CFLAGS=$gst_check_save_CFLAGS
36426 CPPFLAGS=$gst_check_save_CPPFLAGS
36427 CXXFLAGS=$gst_check_save_CXXFLAGS
36429 if test x$HAVE_MPEG2ENC = xno; then
36432 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: mpeg2enc" >&5
36433 $as_echo "$as_me: *** These plugins will be built: mpeg2enc" >&6;}
36436 if test x$USE_MPEG2ENC = xyes; then
36438 if test "xmpeg2enc" != "x"; then
36439 GST_PLUGINS_YES="\tmpeg2enc\n$GST_PLUGINS_YES"
36442 $as_echo "#define HAVE_MPEG2ENC /**/" >>confdefs.h
36445 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: mpeg2enc" >&5
36446 $as_echo "$as_me: *** These plugins will not be built: mpeg2enc" >&6;}
36447 if test "xmpeg2enc" != "x"; then
36448 GST_PLUGINS_NO="\tmpeg2enc\n$GST_PLUGINS_NO"
36452 if test x$USE_MPEG2ENC = xyes; then
36454 USE_MPEG2ENC_FALSE='#'
36456 USE_MPEG2ENC_TRUE='#'
36457 USE_MPEG2ENC_FALSE=
36463 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: mplex ***" >&5
36464 $as_echo "$as_me: *** checking feature: mplex ***" >&6;}
36465 if test "xmplex" != "x"
36467 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: mplex ***" >&5
36468 $as_echo "$as_me: *** for plug-ins: mplex ***" >&6;}
36471 if test "x$USE_MPLEX" = "xno"; then
36474 # Check whether --enable-mplex was given.
36475 if test "${enable_mplex+set}" = set; then :
36476 enableval=$enable_mplex; case "${enableval}" in
36477 yes) USE_MPLEX=yes;;
36479 *) as_fn_error $? "bad value ${enableval} for --enable-mplex" "$LINENO" 5 ;;
36485 if test "x$NOUSE" = "xyes"; then
36487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mplex pre-configured not to be built" >&5
36488 $as_echo "$as_me: WARNING: *** mplex pre-configured not to be built" >&2;}
36493 if test x$USE_MPLEX = xyes; then
36495 gst_check_save_LIBS=$LIBS
36496 gst_check_save_LDFLAGS=$LDFLAGS
36497 gst_check_save_CFLAGS=$CFLAGS
36498 gst_check_save_CPPFLAGS=$CPPFLAGS
36499 gst_check_save_CXXFLAGS=$CXXFLAGS
36504 if test x$HAVE_CXX = xyes ; then
36507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPLEX" >&5
36508 $as_echo_n "checking for MPLEX... " >&6; }
36510 if test -n "$PKG_CONFIG"; then
36511 if test -n "$MPLEX_CFLAGS"; then
36512 pkg_cv_MPLEX_CFLAGS="$MPLEX_CFLAGS"
36514 if test -n "$PKG_CONFIG" && \
36515 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.9.0\""; } >&5
36516 ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.9.0") 2>&5
36518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36519 test $ac_status = 0; }; then
36520 pkg_cv_MPLEX_CFLAGS=`$PKG_CONFIG --cflags "mjpegtools >= 1.9.0" 2>/dev/null`
36528 if test -n "$PKG_CONFIG"; then
36529 if test -n "$MPLEX_LIBS"; then
36530 pkg_cv_MPLEX_LIBS="$MPLEX_LIBS"
36532 if test -n "$PKG_CONFIG" && \
36533 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.9.0\""; } >&5
36534 ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.9.0") 2>&5
36536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36537 test $ac_status = 0; }; then
36538 pkg_cv_MPLEX_LIBS=`$PKG_CONFIG --libs "mjpegtools >= 1.9.0" 2>/dev/null`
36549 if test $pkg_failed = yes; then
36551 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36552 _pkg_short_errors_supported=yes
36554 _pkg_short_errors_supported=no
36556 if test $_pkg_short_errors_supported = yes; then
36557 MPLEX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "mjpegtools >= 1.9.0"`
36559 MPLEX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "mjpegtools >= 1.9.0"`
36561 # Put the nasty error message in config.log where it belongs
36562 echo "$MPLEX_PKG_ERRORS" >&5
36564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36565 $as_echo "no" >&6; }
36567 elif test $pkg_failed = untried; then
36570 MPLEX_CFLAGS=$pkg_cv_MPLEX_CFLAGS
36571 MPLEX_LIBS=$pkg_cv_MPLEX_LIBS
36572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36573 $as_echo "yes" >&6; }
36577 ac_cpp='$CXXCPP $CPPFLAGS'
36578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36582 OLD_CPPFLAGS="$CPPFLAGS"
36583 CPPFLAGS_GOOD="$CPPFLAGS $MPLEX_CFLAGS"
36584 CPPFLAGS="$CPPFLAGS_GOOD -I."
36585 ac_fn_cxx_check_header_mongrel "$LINENO" "interact.hpp" "ac_cv_header_interact_hpp" "$ac_includes_default"
36586 if test "x$ac_cv_header_interact_hpp" = xyes; then :
36588 MPLEX_LIBS="$MPLEX_LIBS -lmplex2 $LIBM"
36590 LIBS="$LIBS $MPLEX_LIBS"
36591 OLD_LDFLAGS="$LDFLAGS"
36592 LDFLAGS="$LDFLAGS $MPLEX_LDFLAGS"
36593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valid mplex objects" >&5
36594 $as_echo_n "checking for valid mplex objects... " >&6; }
36595 if test "$cross_compiling" = yes; then :
36596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
36597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
36598 as_fn_error $? "cannot run test program while cross compiling
36599 See \`config.log' for more details" "$LINENO" 5; }
36601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36602 /* end confdefs.h. */
36605 #include <interact.hpp>
36606 #include <outputstrm.hpp>
36607 #include <multiplexor.hpp>
36612 class TestOutputStream : public OutputStream {
36614 TestOutputStream () : OutputStream () { }
36615 void Write (uint8_t *a, unsigned int b) { }
36616 void NextSegment () { }
36617 uint64_t SegmentSize () { }
36621 MultiplexJob *job = new MultiplexJob ();
36622 vector<IBitStream *> inputs;
36623 job->SetupInputStreams (inputs);
36624 TestOutputStream *out = new TestOutputStream ();
36625 Multiplexor *mux = new Multiplexor(*job, *out, NULL);
36630 if ac_fn_cxx_try_run "$LINENO"; then :
36633 CPPFLAGS="$CPPFLAGS_GOOD"
36637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36638 $as_echo "yes" >&6; }
36641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36642 $as_echo "no" >&6; }
36644 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
36645 conftest.$ac_objext conftest.beam conftest.$ac_ext
36649 LDFLAGS="$OLD_LDFLAGS"
36654 CPPFLAGS="$OLD_CPPFLAGS"
36656 ac_cpp='$CPP $CPPFLAGS'
36657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36666 LIBS=$gst_check_save_LIBS
36667 LDFLAGS=$gst_check_save_LDFLAGS
36668 CFLAGS=$gst_check_save_CFLAGS
36669 CPPFLAGS=$gst_check_save_CPPFLAGS
36670 CXXFLAGS=$gst_check_save_CXXFLAGS
36672 if test x$HAVE_MPLEX = xno; then
36675 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: mplex" >&5
36676 $as_echo "$as_me: *** These plugins will be built: mplex" >&6;}
36679 if test x$USE_MPLEX = xyes; then
36681 if test "xmplex" != "x"; then
36682 GST_PLUGINS_YES="\tmplex\n$GST_PLUGINS_YES"
36685 $as_echo "#define HAVE_MPLEX /**/" >>confdefs.h
36688 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: mplex" >&5
36689 $as_echo "$as_me: *** These plugins will not be built: mplex" >&6;}
36690 if test "xmplex" != "x"; then
36691 GST_PLUGINS_NO="\tmplex\n$GST_PLUGINS_NO"
36695 if test x$USE_MPLEX = xyes; then
36697 USE_MPLEX_FALSE='#'
36706 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: musepackdec ***" >&5
36707 $as_echo "$as_me: *** checking feature: musepackdec ***" >&6;}
36708 if test "xmusepack" != "x"
36710 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: musepack ***" >&5
36711 $as_echo "$as_me: *** for plug-ins: musepack ***" >&6;}
36714 if test "x$USE_MUSEPACK" = "xno"; then
36717 # Check whether --enable-musepack was given.
36718 if test "${enable_musepack+set}" = set; then :
36719 enableval=$enable_musepack; case "${enableval}" in
36720 yes) USE_MUSEPACK=yes;;
36721 no) USE_MUSEPACK=no;;
36722 *) as_fn_error $? "bad value ${enableval} for --enable-musepack" "$LINENO" 5 ;;
36728 if test "x$NOUSE" = "xyes"; then
36730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** musepack pre-configured not to be built" >&5
36731 $as_echo "$as_me: WARNING: *** musepack pre-configured not to be built" >&2;}
36736 if test x$USE_MUSEPACK = xyes; then
36738 gst_check_save_LIBS=$LIBS
36739 gst_check_save_LDFLAGS=$LDFLAGS
36740 gst_check_save_CFLAGS=$CFLAGS
36741 gst_check_save_CPPFLAGS=$CPPFLAGS
36742 gst_check_save_CXXFLAGS=$CXXFLAGS
36746 ac_fn_c_check_header_mongrel "$LINENO" "mpc/mpcdec.h" "ac_cv_header_mpc_mpcdec_h" "$ac_includes_default"
36747 if test "x$ac_cv_header_mpc_mpcdec_h" = xyes; then :
36749 HAVE_MUSEPACK="yes"
36750 MUSEPACK_LIBS="-lmpcdec"
36754 ac_fn_c_check_header_mongrel "$LINENO" "mpcdec/mpcdec.h" "ac_cv_header_mpcdec_mpcdec_h" "$ac_includes_default"
36755 if test "x$ac_cv_header_mpcdec_mpcdec_h" = xyes; then :
36757 HAVE_MUSEPACK="yes"
36758 MUSEPACK_LIBS="-lmpcdec"
36760 $as_echo "#define MPC_IS_OLD_API 1" >>confdefs.h
36774 LIBS=$gst_check_save_LIBS
36775 LDFLAGS=$gst_check_save_LDFLAGS
36776 CFLAGS=$gst_check_save_CFLAGS
36777 CPPFLAGS=$gst_check_save_CPPFLAGS
36778 CXXFLAGS=$gst_check_save_CXXFLAGS
36780 if test x$HAVE_MUSEPACK = xno; then
36783 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: musepack" >&5
36784 $as_echo "$as_me: *** These plugins will be built: musepack" >&6;}
36787 if test x$USE_MUSEPACK = xyes; then
36789 if test "xmusepack" != "x"; then
36790 GST_PLUGINS_YES="\tmusepack\n$GST_PLUGINS_YES"
36793 $as_echo "#define HAVE_MUSEPACK /**/" >>confdefs.h
36796 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: musepack" >&5
36797 $as_echo "$as_me: *** These plugins will not be built: musepack" >&6;}
36798 if test "xmusepack" != "x"; then
36799 GST_PLUGINS_NO="\tmusepack\n$GST_PLUGINS_NO"
36803 if test x$USE_MUSEPACK = xyes; then
36805 USE_MUSEPACK_FALSE='#'
36807 USE_MUSEPACK_TRUE='#'
36808 USE_MUSEPACK_FALSE=
36814 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: musicbrainz tag generation ***" >&5
36815 $as_echo "$as_me: *** checking feature: musicbrainz tag generation ***" >&6;}
36816 if test "xmusicbrainz" != "x"
36818 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: musicbrainz ***" >&5
36819 $as_echo "$as_me: *** for plug-ins: musicbrainz ***" >&6;}
36822 if test "x$USE_MUSICBRAINZ" = "xno"; then
36825 # Check whether --enable-musicbrainz was given.
36826 if test "${enable_musicbrainz+set}" = set; then :
36827 enableval=$enable_musicbrainz; case "${enableval}" in
36828 yes) USE_MUSICBRAINZ=yes;;
36829 no) USE_MUSICBRAINZ=no;;
36830 *) as_fn_error $? "bad value ${enableval} for --enable-musicbrainz" "$LINENO" 5 ;;
36833 USE_MUSICBRAINZ=yes
36836 if test "x$NOUSE" = "xyes"; then
36837 USE_MUSICBRAINZ="no"
36838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** musicbrainz pre-configured not to be built" >&5
36839 $as_echo "$as_me: WARNING: *** musicbrainz pre-configured not to be built" >&2;}
36844 if test x$USE_MUSICBRAINZ = xyes; then
36846 gst_check_save_LIBS=$LIBS
36847 gst_check_save_LDFLAGS=$LDFLAGS
36848 gst_check_save_CFLAGS=$CFLAGS
36849 gst_check_save_CPPFLAGS=$CPPFLAGS
36850 gst_check_save_CXXFLAGS=$CXXFLAGS
36852 HAVE_MUSICBRAINZ=no
36856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MUSICBRAINZ" >&5
36857 $as_echo_n "checking for MUSICBRAINZ... " >&6; }
36859 if test -n "$PKG_CONFIG"; then
36860 if test -n "$MUSICBRAINZ_CFLAGS"; then
36861 pkg_cv_MUSICBRAINZ_CFLAGS="$MUSICBRAINZ_CFLAGS"
36863 if test -n "$PKG_CONFIG" && \
36864 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmusicbrainz >= 2.1.0\""; } >&5
36865 ($PKG_CONFIG --exists --print-errors "libmusicbrainz >= 2.1.0") 2>&5
36867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36868 test $ac_status = 0; }; then
36869 pkg_cv_MUSICBRAINZ_CFLAGS=`$PKG_CONFIG --cflags "libmusicbrainz >= 2.1.0" 2>/dev/null`
36877 if test -n "$PKG_CONFIG"; then
36878 if test -n "$MUSICBRAINZ_LIBS"; then
36879 pkg_cv_MUSICBRAINZ_LIBS="$MUSICBRAINZ_LIBS"
36881 if test -n "$PKG_CONFIG" && \
36882 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmusicbrainz >= 2.1.0\""; } >&5
36883 ($PKG_CONFIG --exists --print-errors "libmusicbrainz >= 2.1.0") 2>&5
36885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
36886 test $ac_status = 0; }; then
36887 pkg_cv_MUSICBRAINZ_LIBS=`$PKG_CONFIG --libs "libmusicbrainz >= 2.1.0" 2>/dev/null`
36898 if test $pkg_failed = yes; then
36900 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36901 _pkg_short_errors_supported=yes
36903 _pkg_short_errors_supported=no
36905 if test $_pkg_short_errors_supported = yes; then
36906 MUSICBRAINZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libmusicbrainz >= 2.1.0"`
36908 MUSICBRAINZ_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libmusicbrainz >= 2.1.0"`
36910 # Put the nasty error message in config.log where it belongs
36911 echo "$MUSICBRAINZ_PKG_ERRORS" >&5
36913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36914 $as_echo "no" >&6; }
36915 HAVE_MUSICBRAINZ="no"
36916 elif test $pkg_failed = untried; then
36917 HAVE_MUSICBRAINZ="no"
36919 MUSICBRAINZ_CFLAGS=$pkg_cv_MUSICBRAINZ_CFLAGS
36920 MUSICBRAINZ_LIBS=$pkg_cv_MUSICBRAINZ_LIBS
36921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36922 $as_echo "yes" >&6; }
36923 HAVE_MUSICBRAINZ="yes"
36929 LIBS=$gst_check_save_LIBS
36930 LDFLAGS=$gst_check_save_LDFLAGS
36931 CFLAGS=$gst_check_save_CFLAGS
36932 CPPFLAGS=$gst_check_save_CPPFLAGS
36933 CXXFLAGS=$gst_check_save_CXXFLAGS
36935 if test x$HAVE_MUSICBRAINZ = xno; then
36938 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: musicbrainz" >&5
36939 $as_echo "$as_me: *** These plugins will be built: musicbrainz" >&6;}
36942 if test x$USE_MUSICBRAINZ = xyes; then
36944 if test "xmusicbrainz" != "x"; then
36945 GST_PLUGINS_YES="\tmusicbrainz\n$GST_PLUGINS_YES"
36948 $as_echo "#define HAVE_MUSICBRAINZ /**/" >>confdefs.h
36951 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: musicbrainz" >&5
36952 $as_echo "$as_me: *** These plugins will not be built: musicbrainz" >&6;}
36953 if test "xmusicbrainz" != "x"; then
36954 GST_PLUGINS_NO="\tmusicbrainz\n$GST_PLUGINS_NO"
36958 if test x$USE_MUSICBRAINZ = xyes; then
36959 USE_MUSICBRAINZ_TRUE=
36960 USE_MUSICBRAINZ_FALSE='#'
36962 USE_MUSICBRAINZ_TRUE='#'
36963 USE_MUSICBRAINZ_FALSE=
36969 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: MythTV client plugins ***" >&5
36970 $as_echo "$as_me: *** checking feature: MythTV client plugins ***" >&6;}
36971 if test "xmythtvsrc" != "x"
36973 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: mythtvsrc ***" >&5
36974 $as_echo "$as_me: *** for plug-ins: mythtvsrc ***" >&6;}
36977 if test "x$USE_MYTHTV" = "xno"; then
36980 # Check whether --enable-mythtv was given.
36981 if test "${enable_mythtv+set}" = set; then :
36982 enableval=$enable_mythtv; case "${enableval}" in
36983 yes) USE_MYTHTV=yes;;
36984 no) USE_MYTHTV=no;;
36985 *) as_fn_error $? "bad value ${enableval} for --enable-mythtv" "$LINENO" 5 ;;
36991 if test "x$NOUSE" = "xyes"; then
36993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mythtvsrc pre-configured not to be built" >&5
36994 $as_echo "$as_me: WARNING: *** mythtvsrc pre-configured not to be built" >&2;}
36999 if test x$USE_MYTHTV = xyes; then
37001 gst_check_save_LIBS=$LIBS
37002 gst_check_save_LDFLAGS=$LDFLAGS
37003 gst_check_save_CFLAGS=$CFLAGS
37004 gst_check_save_CPPFLAGS=$CPPFLAGS
37005 gst_check_save_CXXFLAGS=$CXXFLAGS
37011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMYTH" >&5
37012 $as_echo_n "checking for GMYTH... " >&6; }
37014 if test -n "$PKG_CONFIG"; then
37015 if test -n "$GMYTH_CFLAGS"; then
37016 pkg_cv_GMYTH_CFLAGS="$GMYTH_CFLAGS"
37018 if test -n "$PKG_CONFIG" && \
37019 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmyth >= 0.4 gmyth <= 0.7.99\""; } >&5
37020 ($PKG_CONFIG --exists --print-errors "gmyth >= 0.4 gmyth <= 0.7.99") 2>&5
37022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37023 test $ac_status = 0; }; then
37024 pkg_cv_GMYTH_CFLAGS=`$PKG_CONFIG --cflags "gmyth >= 0.4 gmyth <= 0.7.99" 2>/dev/null`
37032 if test -n "$PKG_CONFIG"; then
37033 if test -n "$GMYTH_LIBS"; then
37034 pkg_cv_GMYTH_LIBS="$GMYTH_LIBS"
37036 if test -n "$PKG_CONFIG" && \
37037 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmyth >= 0.4 gmyth <= 0.7.99\""; } >&5
37038 ($PKG_CONFIG --exists --print-errors "gmyth >= 0.4 gmyth <= 0.7.99") 2>&5
37040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
37041 test $ac_status = 0; }; then
37042 pkg_cv_GMYTH_LIBS=`$PKG_CONFIG --libs "gmyth >= 0.4 gmyth <= 0.7.99" 2>/dev/null`
37053 if test $pkg_failed = yes; then
37055 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37056 _pkg_short_errors_supported=yes
37058 _pkg_short_errors_supported=no
37060 if test $_pkg_short_errors_supported = yes; then
37061 GMYTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gmyth >= 0.4 gmyth <= 0.7.99"`
37063 GMYTH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gmyth >= 0.4 gmyth <= 0.7.99"`
37065 # Put the nasty error message in config.log where it belongs
37066 echo "$GMYTH_PKG_ERRORS" >&5
37068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37069 $as_echo "no" >&6; }
37073 elif test $pkg_failed = untried; then
37078 GMYTH_CFLAGS=$pkg_cv_GMYTH_CFLAGS
37079 GMYTH_LIBS=$pkg_cv_GMYTH_LIBS
37080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37081 $as_echo "yes" >&6; }
37088 LIBS=$gst_check_save_LIBS
37089 LDFLAGS=$gst_check_save_LDFLAGS
37090 CFLAGS=$gst_check_save_CFLAGS
37091 CPPFLAGS=$gst_check_save_CPPFLAGS
37092 CXXFLAGS=$gst_check_save_CXXFLAGS
37094 if test x$HAVE_MYTHTV = xno; then
37097 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: mythtvsrc" >&5
37098 $as_echo "$as_me: *** These plugins will be built: mythtvsrc" >&6;}
37101 if test x$USE_MYTHTV = xyes; then
37103 if test "xmythtvsrc" != "x"; then
37104 GST_PLUGINS_YES="\tmythtvsrc\n$GST_PLUGINS_YES"
37107 $as_echo "#define HAVE_MYTHTV /**/" >>confdefs.h
37110 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: mythtvsrc" >&5
37111 $as_echo "$as_me: *** These plugins will not be built: mythtvsrc" >&6;}
37112 if test "xmythtvsrc" != "x"; then
37113 GST_PLUGINS_NO="\tmythtvsrc\n$GST_PLUGINS_NO"
37117 if test x$USE_MYTHTV = xyes; then
37119 USE_MYTHTV_FALSE='#'
37121 USE_MYTHTV_TRUE='#'
37127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
37128 $as_echo_n "checking for X... " >&6; }
37131 # Check whether --with-x was given.
37132 if test "${with_x+set}" = set; then :
37136 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
37137 if test "x$with_x" = xno; then
37138 # The user explicitly disabled X.
37141 case $x_includes,$x_libraries in #(
37142 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
37143 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
37144 $as_echo_n "(cached) " >&6
37146 # One or both of the vars are not set, and there is no cached value.
37147 ac_x_includes=no ac_x_libraries=no
37148 rm -f -r conftest.dir
37149 if mkdir conftest.dir; then
37151 cat >Imakefile <<'_ACEOF'
37153 @echo incroot='${INCROOT}'
37155 @echo usrlibdir='${USRLIBDIR}'
37157 @echo libdir='${LIBDIR}'
37159 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
37160 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
37161 for ac_var in incroot usrlibdir libdir; do
37162 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
37164 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
37165 for ac_extension in a so sl dylib la dll; do
37166 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
37167 test -f "$ac_im_libdir/libX11.$ac_extension"; then
37168 ac_im_usrlibdir=$ac_im_libdir; break
37171 # Screen out bogus values from the imake configuration. They are
37172 # bogus both because they are the default anyway, and because
37173 # using them would break gcc on systems where it needs fixed includes.
37174 case $ac_im_incroot in
37175 /usr/include) ac_x_includes= ;;
37176 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
37178 case $ac_im_usrlibdir in
37179 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
37180 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
37184 rm -f -r conftest.dir
37187 # Standard set of common directories for X headers.
37188 # Check X11 before X11Rn because it is often a symlink to the current release.
37202 /usr/local/X11/include
37203 /usr/local/X11R7/include
37204 /usr/local/X11R6/include
37205 /usr/local/X11R5/include
37206 /usr/local/X11R4/include
37208 /usr/local/include/X11
37209 /usr/local/include/X11R7
37210 /usr/local/include/X11R6
37211 /usr/local/include/X11R5
37212 /usr/local/include/X11R4
37216 /usr/XFree86/include/X11
37220 /usr/unsupported/include
37221 /usr/athena/include
37222 /usr/local/x11r5/include
37223 /usr/lpp/Xamples/include
37225 /usr/openwin/include
37226 /usr/openwin/share/include'
37228 if test "$ac_x_includes" = no; then
37229 # Guess where to find include files, by looking for Xlib.h.
37230 # First, try using that file with no special directory specified.
37231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37232 /* end confdefs.h. */
37233 #include <X11/Xlib.h>
37235 if ac_fn_c_try_cpp "$LINENO"; then :
37236 # We can compile using X headers with no special include directory.
37239 for ac_dir in $ac_x_header_dirs; do
37240 if test -r "$ac_dir/X11/Xlib.h"; then
37241 ac_x_includes=$ac_dir
37246 rm -f conftest.err conftest.i conftest.$ac_ext
37247 fi # $ac_x_includes = no
37249 if test "$ac_x_libraries" = no; then
37250 # Check for the libraries.
37251 # See if we find them without any special options.
37252 # Don't add to $LIBS permanently.
37255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37256 /* end confdefs.h. */
37257 #include <X11/Xlib.h>
37266 if ac_fn_c_try_link "$LINENO"; then :
37268 # We can link X programs with no special library path.
37272 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
37274 # Don't even attempt the hair of trying to link an X program!
37275 for ac_extension in a so sl dylib la dll; do
37276 if test -r "$ac_dir/libX11.$ac_extension"; then
37277 ac_x_libraries=$ac_dir
37283 rm -f core conftest.err conftest.$ac_objext \
37284 conftest$ac_exeext conftest.$ac_ext
37285 fi # $ac_x_libraries = no
37287 case $ac_x_includes,$ac_x_libraries in #(
37288 no,* | *,no | *\'*)
37289 # Didn't find X, or a directory has "'" in its name.
37290 ac_cv_have_x="have_x=no";; #(
37292 # Record where we found X for the cache.
37293 ac_cv_have_x="have_x=yes\
37294 ac_x_includes='$ac_x_includes'\
37295 ac_x_libraries='$ac_x_libraries'"
37301 eval "$ac_cv_have_x"
37304 if test "$have_x" != yes; then
37305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
37306 $as_echo "$have_x" >&6; }
37309 # If each of the values was on the command line, it overrides each guess.
37310 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
37311 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
37312 # Update the cache value to reflect the command line values.
37313 ac_cv_have_x="have_x=yes\
37314 ac_x_includes='$x_includes'\
37315 ac_x_libraries='$x_libraries'"
37316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
37317 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
37321 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: nas plug-in ***" >&5
37322 $as_echo "$as_me: *** checking feature: nas plug-in ***" >&6;}
37323 if test "xnassink" != "x"
37325 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: nassink ***" >&5
37326 $as_echo "$as_me: *** for plug-ins: nassink ***" >&6;}
37329 if test "x$USE_NAS" = "xno"; then
37332 # Check whether --enable-nas was given.
37333 if test "${enable_nas+set}" = set; then :
37334 enableval=$enable_nas; case "${enableval}" in
37337 *) as_fn_error $? "bad value ${enableval} for --enable-nas" "$LINENO" 5 ;;
37343 if test "x$NOUSE" = "xyes"; then
37345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** nassink pre-configured not to be built" >&5
37346 $as_echo "$as_me: WARNING: *** nassink pre-configured not to be built" >&2;}
37351 if test x$USE_NAS = xyes; then
37353 gst_check_save_LIBS=$LIBS
37354 gst_check_save_LDFLAGS=$LDFLAGS
37355 gst_check_save_CFLAGS=$CFLAGS
37356 gst_check_save_CPPFLAGS=$CPPFLAGS
37357 gst_check_save_CXXFLAGS=$CXXFLAGS
37363 if test "$no_x" = yes; then
37364 # Not all programs may use this symbol, but it does not hurt to define it.
37366 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
37368 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
37370 if test -n "$x_includes"; then
37371 X_CFLAGS="$X_CFLAGS -I$x_includes"
37374 # It would also be nice to do this for all -L options, not just this one.
37375 if test -n "$x_libraries"; then
37376 X_LIBS="$X_LIBS -L$x_libraries"
37377 # For Solaris; some versions of Sun CC require a space after -R and
37378 # others require no space. Words are not sufficient . . . .
37379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
37380 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
37381 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
37382 ac_xsave_c_werror_flag=$ac_c_werror_flag
37383 ac_c_werror_flag=yes
37384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37385 /* end confdefs.h. */
37395 if ac_fn_c_try_link "$LINENO"; then :
37396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
37397 $as_echo "no" >&6; }
37398 X_LIBS="$X_LIBS -R$x_libraries"
37400 LIBS="$ac_xsave_LIBS -R $x_libraries"
37401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37402 /* end confdefs.h. */
37412 if ac_fn_c_try_link "$LINENO"; then :
37413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
37414 $as_echo "yes" >&6; }
37415 X_LIBS="$X_LIBS -R $x_libraries"
37417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
37418 $as_echo "neither works" >&6; }
37420 rm -f core conftest.err conftest.$ac_objext \
37421 conftest$ac_exeext conftest.$ac_ext
37423 rm -f core conftest.err conftest.$ac_objext \
37424 conftest$ac_exeext conftest.$ac_ext
37425 ac_c_werror_flag=$ac_xsave_c_werror_flag
37426 LIBS=$ac_xsave_LIBS
37429 # Check for system-dependent libraries X programs must link with.
37430 # Do this before checking for the system-independent R6 libraries
37431 # (-lICE), since we may need -lsocket or whatever for X linking.
37433 if test "$ISC" = yes; then
37434 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
37436 # Martyn Johnson says this is needed for Ultrix, if the X
37437 # libraries were built with DECnet support. And Karl Berry says
37438 # the Alpha needs dnet_stub (dnet does not exist).
37439 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
37440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37441 /* end confdefs.h. */
37443 /* Override any GCC internal prototype to avoid an error.
37444 Use char because int might match the return type of a GCC
37445 builtin and then its argument prototype would still apply. */
37449 char XOpenDisplay ();
37453 return XOpenDisplay ();
37458 if ac_fn_c_try_link "$LINENO"; then :
37461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
37462 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
37463 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
37464 $as_echo_n "(cached) " >&6
37466 ac_check_lib_save_LIBS=$LIBS
37467 LIBS="-ldnet $LIBS"
37468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37469 /* end confdefs.h. */
37471 /* Override any GCC internal prototype to avoid an error.
37472 Use char because int might match the return type of a GCC
37473 builtin and then its argument prototype would still apply. */
37481 return dnet_ntoa ();
37486 if ac_fn_c_try_link "$LINENO"; then :
37487 ac_cv_lib_dnet_dnet_ntoa=yes
37489 ac_cv_lib_dnet_dnet_ntoa=no
37491 rm -f core conftest.err conftest.$ac_objext \
37492 conftest$ac_exeext conftest.$ac_ext
37493 LIBS=$ac_check_lib_save_LIBS
37495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
37496 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
37497 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
37498 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
37501 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
37502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
37503 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
37504 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
37505 $as_echo_n "(cached) " >&6
37507 ac_check_lib_save_LIBS=$LIBS
37508 LIBS="-ldnet_stub $LIBS"
37509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37510 /* end confdefs.h. */
37512 /* Override any GCC internal prototype to avoid an error.
37513 Use char because int might match the return type of a GCC
37514 builtin and then its argument prototype would still apply. */
37522 return dnet_ntoa ();
37527 if ac_fn_c_try_link "$LINENO"; then :
37528 ac_cv_lib_dnet_stub_dnet_ntoa=yes
37530 ac_cv_lib_dnet_stub_dnet_ntoa=no
37532 rm -f core conftest.err conftest.$ac_objext \
37533 conftest$ac_exeext conftest.$ac_ext
37534 LIBS=$ac_check_lib_save_LIBS
37536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
37537 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
37538 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
37539 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
37544 rm -f core conftest.err conftest.$ac_objext \
37545 conftest$ac_exeext conftest.$ac_ext
37546 LIBS="$ac_xsave_LIBS"
37548 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
37549 # to get the SysV transport functions.
37550 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
37552 # The nsl library prevents programs from opening the X display
37553 # on Irix 5.2, according to T.E. Dickey.
37554 # The functions gethostbyname, getservbyname, and inet_addr are
37555 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
37556 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
37557 if test "x$ac_cv_func_gethostbyname" = xyes; then :
37561 if test $ac_cv_func_gethostbyname = no; then
37562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
37563 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
37564 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
37565 $as_echo_n "(cached) " >&6
37567 ac_check_lib_save_LIBS=$LIBS
37569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37570 /* end confdefs.h. */
37572 /* Override any GCC internal prototype to avoid an error.
37573 Use char because int might match the return type of a GCC
37574 builtin and then its argument prototype would still apply. */
37578 char gethostbyname ();
37582 return gethostbyname ();
37587 if ac_fn_c_try_link "$LINENO"; then :
37588 ac_cv_lib_nsl_gethostbyname=yes
37590 ac_cv_lib_nsl_gethostbyname=no
37592 rm -f core conftest.err conftest.$ac_objext \
37593 conftest$ac_exeext conftest.$ac_ext
37594 LIBS=$ac_check_lib_save_LIBS
37596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
37597 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
37598 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
37599 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
37602 if test $ac_cv_lib_nsl_gethostbyname = no; then
37603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
37604 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
37605 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
37606 $as_echo_n "(cached) " >&6
37608 ac_check_lib_save_LIBS=$LIBS
37610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37611 /* end confdefs.h. */
37613 /* Override any GCC internal prototype to avoid an error.
37614 Use char because int might match the return type of a GCC
37615 builtin and then its argument prototype would still apply. */
37619 char gethostbyname ();
37623 return gethostbyname ();
37628 if ac_fn_c_try_link "$LINENO"; then :
37629 ac_cv_lib_bsd_gethostbyname=yes
37631 ac_cv_lib_bsd_gethostbyname=no
37633 rm -f core conftest.err conftest.$ac_objext \
37634 conftest$ac_exeext conftest.$ac_ext
37635 LIBS=$ac_check_lib_save_LIBS
37637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
37638 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
37639 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
37640 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
37646 # lieder@skyler.mavd.honeywell.com says without -lsocket,
37647 # socket/setsockopt and other routines are undefined under SCO ODT
37648 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
37649 # on later versions), says Simon Leinen: it contains gethostby*
37650 # variants that don't use the name server (or something). -lsocket
37651 # must be given before -lnsl if both are needed. We assume that
37652 # if connect needs -lnsl, so does gethostbyname.
37653 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
37654 if test "x$ac_cv_func_connect" = xyes; then :
37658 if test $ac_cv_func_connect = no; then
37659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
37660 $as_echo_n "checking for connect in -lsocket... " >&6; }
37661 if ${ac_cv_lib_socket_connect+:} false; then :
37662 $as_echo_n "(cached) " >&6
37664 ac_check_lib_save_LIBS=$LIBS
37665 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
37666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37667 /* end confdefs.h. */
37669 /* Override any GCC internal prototype to avoid an error.
37670 Use char because int might match the return type of a GCC
37671 builtin and then its argument prototype would still apply. */
37684 if ac_fn_c_try_link "$LINENO"; then :
37685 ac_cv_lib_socket_connect=yes
37687 ac_cv_lib_socket_connect=no
37689 rm -f core conftest.err conftest.$ac_objext \
37690 conftest$ac_exeext conftest.$ac_ext
37691 LIBS=$ac_check_lib_save_LIBS
37693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
37694 $as_echo "$ac_cv_lib_socket_connect" >&6; }
37695 if test "x$ac_cv_lib_socket_connect" = xyes; then :
37696 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
37701 # Guillermo Gomez says -lposix is necessary on A/UX.
37702 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
37703 if test "x$ac_cv_func_remove" = xyes; then :
37707 if test $ac_cv_func_remove = no; then
37708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
37709 $as_echo_n "checking for remove in -lposix... " >&6; }
37710 if ${ac_cv_lib_posix_remove+:} false; then :
37711 $as_echo_n "(cached) " >&6
37713 ac_check_lib_save_LIBS=$LIBS
37714 LIBS="-lposix $LIBS"
37715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37716 /* end confdefs.h. */
37718 /* Override any GCC internal prototype to avoid an error.
37719 Use char because int might match the return type of a GCC
37720 builtin and then its argument prototype would still apply. */
37733 if ac_fn_c_try_link "$LINENO"; then :
37734 ac_cv_lib_posix_remove=yes
37736 ac_cv_lib_posix_remove=no
37738 rm -f core conftest.err conftest.$ac_objext \
37739 conftest$ac_exeext conftest.$ac_ext
37740 LIBS=$ac_check_lib_save_LIBS
37742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
37743 $as_echo "$ac_cv_lib_posix_remove" >&6; }
37744 if test "x$ac_cv_lib_posix_remove" = xyes; then :
37745 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
37750 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
37751 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
37752 if test "x$ac_cv_func_shmat" = xyes; then :
37756 if test $ac_cv_func_shmat = no; then
37757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
37758 $as_echo_n "checking for shmat in -lipc... " >&6; }
37759 if ${ac_cv_lib_ipc_shmat+:} false; then :
37760 $as_echo_n "(cached) " >&6
37762 ac_check_lib_save_LIBS=$LIBS
37764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37765 /* end confdefs.h. */
37767 /* Override any GCC internal prototype to avoid an error.
37768 Use char because int might match the return type of a GCC
37769 builtin and then its argument prototype would still apply. */
37782 if ac_fn_c_try_link "$LINENO"; then :
37783 ac_cv_lib_ipc_shmat=yes
37785 ac_cv_lib_ipc_shmat=no
37787 rm -f core conftest.err conftest.$ac_objext \
37788 conftest$ac_exeext conftest.$ac_ext
37789 LIBS=$ac_check_lib_save_LIBS
37791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
37792 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
37793 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
37794 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
37800 # Check for libraries that X11R6 Xt/Xaw programs need.
37801 ac_save_LDFLAGS=$LDFLAGS
37802 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
37803 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
37804 # check for ICE first), but we must link in the order -lSM -lICE or
37805 # we get undefined symbols. So assume we have SM if we have ICE.
37806 # These have to be linked with before -lX11, unlike the other
37807 # libraries we check for below, so use a different variable.
37808 # John Interrante, Karl Berry
37809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
37810 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
37811 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
37812 $as_echo_n "(cached) " >&6
37814 ac_check_lib_save_LIBS=$LIBS
37815 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
37816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37817 /* end confdefs.h. */
37819 /* Override any GCC internal prototype to avoid an error.
37820 Use char because int might match the return type of a GCC
37821 builtin and then its argument prototype would still apply. */
37825 char IceConnectionNumber ();
37829 return IceConnectionNumber ();
37834 if ac_fn_c_try_link "$LINENO"; then :
37835 ac_cv_lib_ICE_IceConnectionNumber=yes
37837 ac_cv_lib_ICE_IceConnectionNumber=no
37839 rm -f core conftest.err conftest.$ac_objext \
37840 conftest$ac_exeext conftest.$ac_ext
37841 LIBS=$ac_check_lib_save_LIBS
37843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
37844 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
37845 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
37846 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
37849 LDFLAGS=$ac_save_LDFLAGS
37853 ac_cflags_save="$CFLAGS"
37854 ac_cppflags_save="$CPPFLAGS"
37855 CFLAGS="$CFLAGS $X_CFLAGS"
37856 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
37858 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "$ac_includes_default"
37859 if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
37867 if test "x$HAVE_X" = "xno"
37869 { $as_echo "$as_me:${as_lineno-$LINENO}: cannot find X11 development files" >&5
37870 $as_echo "$as_me: cannot find X11 development files" >&6;}
37872 X_LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS"
37873 X_LIBS="$X_LIBS -lX11"
37879 CFLAGS="$ac_cflags_save"
37880 CPPFLAGS="$ac_cppflags_save"
37882 if test "x$HAVE_X" = "xyes"; then
37883 save_cppflags=$CFLAGS
37884 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
37886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuOpenServer in -laudio" >&5
37887 $as_echo_n "checking for AuOpenServer in -laudio... " >&6; }
37888 if ${ac_cv_lib_audio_AuOpenServer+:} false; then :
37889 $as_echo_n "(cached) " >&6
37891 ac_check_lib_save_LIBS=$LIBS
37892 LIBS="-laudio $X_LIBS $LIBS"
37893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37894 /* end confdefs.h. */
37896 /* Override any GCC internal prototype to avoid an error.
37897 Use char because int might match the return type of a GCC
37898 builtin and then its argument prototype would still apply. */
37902 char AuOpenServer ();
37906 return AuOpenServer ();
37911 if ac_fn_c_try_link "$LINENO"; then :
37912 ac_cv_lib_audio_AuOpenServer=yes
37914 ac_cv_lib_audio_AuOpenServer=no
37916 rm -f core conftest.err conftest.$ac_objext \
37917 conftest$ac_exeext conftest.$ac_ext
37918 LIBS=$ac_check_lib_save_LIBS
37920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_AuOpenServer" >&5
37921 $as_echo "$ac_cv_lib_audio_AuOpenServer" >&6; }
37922 if test "x$ac_cv_lib_audio_AuOpenServer" = xyes; then :
37928 if test "x$HAVE_NAS" = "xyes"; then
37929 ac_fn_c_check_header_mongrel "$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default"
37930 if test "x$ac_cv_header_audio_audiolib_h" = xyes; then :
37937 if test "x$HAVE_NAS" = "xyes"; then
37938 NAS_LIBS="$X_LIBS -laudio" NAS_CFLAGS="$X_CFLAGS"
37948 CPPFLAGS="$save_cppflags"
37954 LIBS=$gst_check_save_LIBS
37955 LDFLAGS=$gst_check_save_LDFLAGS
37956 CFLAGS=$gst_check_save_CFLAGS
37957 CPPFLAGS=$gst_check_save_CPPFLAGS
37958 CXXFLAGS=$gst_check_save_CXXFLAGS
37960 if test x$HAVE_NAS = xno; then
37963 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: nassink" >&5
37964 $as_echo "$as_me: *** These plugins will be built: nassink" >&6;}
37967 if test x$USE_NAS = xyes; then
37969 if test "xnassink" != "x"; then
37970 GST_PLUGINS_YES="\tnassink\n$GST_PLUGINS_YES"
37973 $as_echo "#define HAVE_NAS /**/" >>confdefs.h
37976 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: nassink" >&5
37977 $as_echo "$as_me: *** These plugins will not be built: nassink" >&6;}
37978 if test "xnassink" != "x"; then
37979 GST_PLUGINS_NO="\tnassink\n$GST_PLUGINS_NO"
37983 if test x$USE_NAS = xyes; then
37994 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: neon http client plugins ***" >&5
37995 $as_echo "$as_me: *** checking feature: neon http client plugins ***" >&6;}
37996 if test "xneonhttpsrc" != "x"
37998 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: neonhttpsrc ***" >&5
37999 $as_echo "$as_me: *** for plug-ins: neonhttpsrc ***" >&6;}
38002 if test "x$USE_NEON" = "xno"; then
38005 # Check whether --enable-neon was given.
38006 if test "${enable_neon+set}" = set; then :
38007 enableval=$enable_neon; case "${enableval}" in
38008 yes) USE_NEON=yes;;
38010 *) as_fn_error $? "bad value ${enableval} for --enable-neon" "$LINENO" 5 ;;
38016 if test "x$NOUSE" = "xyes"; then
38018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** neonhttpsrc pre-configured not to be built" >&5
38019 $as_echo "$as_me: WARNING: *** neonhttpsrc pre-configured not to be built" >&2;}
38024 if test x$USE_NEON = xyes; then
38026 gst_check_save_LIBS=$LIBS
38027 gst_check_save_LDFLAGS=$LDFLAGS
38028 gst_check_save_CFLAGS=$CFLAGS
38029 gst_check_save_CPPFLAGS=$CPPFLAGS
38030 gst_check_save_CXXFLAGS=$CXXFLAGS
38036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NEON" >&5
38037 $as_echo_n "checking for NEON... " >&6; }
38039 if test -n "$PKG_CONFIG"; then
38040 if test -n "$NEON_CFLAGS"; then
38041 pkg_cv_NEON_CFLAGS="$NEON_CFLAGS"
38043 if test -n "$PKG_CONFIG" && \
38044 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27.0 neon <= 0.29.99\""; } >&5
38045 ($PKG_CONFIG --exists --print-errors "neon >= 0.27.0 neon <= 0.29.99") 2>&5
38047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38048 test $ac_status = 0; }; then
38049 pkg_cv_NEON_CFLAGS=`$PKG_CONFIG --cflags "neon >= 0.27.0 neon <= 0.29.99" 2>/dev/null`
38057 if test -n "$PKG_CONFIG"; then
38058 if test -n "$NEON_LIBS"; then
38059 pkg_cv_NEON_LIBS="$NEON_LIBS"
38061 if test -n "$PKG_CONFIG" && \
38062 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"neon >= 0.27.0 neon <= 0.29.99\""; } >&5
38063 ($PKG_CONFIG --exists --print-errors "neon >= 0.27.0 neon <= 0.29.99") 2>&5
38065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38066 test $ac_status = 0; }; then
38067 pkg_cv_NEON_LIBS=`$PKG_CONFIG --libs "neon >= 0.27.0 neon <= 0.29.99" 2>/dev/null`
38078 if test $pkg_failed = yes; then
38080 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
38081 _pkg_short_errors_supported=yes
38083 _pkg_short_errors_supported=no
38085 if test $_pkg_short_errors_supported = yes; then
38086 NEON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "neon >= 0.27.0 neon <= 0.29.99"`
38088 NEON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "neon >= 0.27.0 neon <= 0.29.99"`
38090 # Put the nasty error message in config.log where it belongs
38091 echo "$NEON_PKG_ERRORS" >&5
38093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38094 $as_echo "no" >&6; }
38098 elif test $pkg_failed = untried; then
38103 NEON_CFLAGS=$pkg_cv_NEON_CFLAGS
38104 NEON_LIBS=$pkg_cv_NEON_LIBS
38105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38106 $as_echo "yes" >&6; }
38113 LIBS=$gst_check_save_LIBS
38114 LDFLAGS=$gst_check_save_LDFLAGS
38115 CFLAGS=$gst_check_save_CFLAGS
38116 CPPFLAGS=$gst_check_save_CPPFLAGS
38117 CXXFLAGS=$gst_check_save_CXXFLAGS
38119 if test x$HAVE_NEON = xno; then
38122 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: neonhttpsrc" >&5
38123 $as_echo "$as_me: *** These plugins will be built: neonhttpsrc" >&6;}
38126 if test x$USE_NEON = xyes; then
38128 if test "xneonhttpsrc" != "x"; then
38129 GST_PLUGINS_YES="\tneonhttpsrc\n$GST_PLUGINS_YES"
38132 $as_echo "#define HAVE_NEON /**/" >>confdefs.h
38135 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: neonhttpsrc" >&5
38136 $as_echo "$as_me: *** These plugins will not be built: neonhttpsrc" >&6;}
38137 if test "xneonhttpsrc" != "x"; then
38138 GST_PLUGINS_NO="\tneonhttpsrc\n$GST_PLUGINS_NO"
38142 if test x$USE_NEON = xyes; then
38153 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: ofa plugins ***" >&5
38154 $as_echo "$as_me: *** checking feature: ofa plugins ***" >&6;}
38155 if test "xofa" != "x"
38157 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ofa ***" >&5
38158 $as_echo "$as_me: *** for plug-ins: ofa ***" >&6;}
38161 if test "x$USE_OFA" = "xno"; then
38164 # Check whether --enable-ofa was given.
38165 if test "${enable_ofa+set}" = set; then :
38166 enableval=$enable_ofa; case "${enableval}" in
38169 *) as_fn_error $? "bad value ${enableval} for --enable-ofa" "$LINENO" 5 ;;
38175 if test "x$NOUSE" = "xyes"; then
38177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ofa pre-configured not to be built" >&5
38178 $as_echo "$as_me: WARNING: *** ofa pre-configured not to be built" >&2;}
38183 if test x$USE_OFA = xyes; then
38185 gst_check_save_LIBS=$LIBS
38186 gst_check_save_LDFLAGS=$LDFLAGS
38187 gst_check_save_CFLAGS=$CFLAGS
38188 gst_check_save_CPPFLAGS=$CPPFLAGS
38189 gst_check_save_CXXFLAGS=$CXXFLAGS
38195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OFA" >&5
38196 $as_echo_n "checking for OFA... " >&6; }
38198 if test -n "$PKG_CONFIG"; then
38199 if test -n "$OFA_CFLAGS"; then
38200 pkg_cv_OFA_CFLAGS="$OFA_CFLAGS"
38202 if test -n "$PKG_CONFIG" && \
38203 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libofa >= 0.9.3\""; } >&5
38204 ($PKG_CONFIG --exists --print-errors "libofa >= 0.9.3") 2>&5
38206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38207 test $ac_status = 0; }; then
38208 pkg_cv_OFA_CFLAGS=`$PKG_CONFIG --cflags "libofa >= 0.9.3" 2>/dev/null`
38216 if test -n "$PKG_CONFIG"; then
38217 if test -n "$OFA_LIBS"; then
38218 pkg_cv_OFA_LIBS="$OFA_LIBS"
38220 if test -n "$PKG_CONFIG" && \
38221 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libofa >= 0.9.3\""; } >&5
38222 ($PKG_CONFIG --exists --print-errors "libofa >= 0.9.3") 2>&5
38224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38225 test $ac_status = 0; }; then
38226 pkg_cv_OFA_LIBS=`$PKG_CONFIG --libs "libofa >= 0.9.3" 2>/dev/null`
38237 if test $pkg_failed = yes; then
38239 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
38240 _pkg_short_errors_supported=yes
38242 _pkg_short_errors_supported=no
38244 if test $_pkg_short_errors_supported = yes; then
38245 OFA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libofa >= 0.9.3"`
38247 OFA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libofa >= 0.9.3"`
38249 # Put the nasty error message in config.log where it belongs
38250 echo "$OFA_PKG_ERRORS" >&5
38252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38253 $as_echo "no" >&6; }
38257 elif test $pkg_failed = untried; then
38262 OFA_CFLAGS=$pkg_cv_OFA_CFLAGS
38263 OFA_LIBS=$pkg_cv_OFA_LIBS
38264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38265 $as_echo "yes" >&6; }
38272 LIBS=$gst_check_save_LIBS
38273 LDFLAGS=$gst_check_save_LDFLAGS
38274 CFLAGS=$gst_check_save_CFLAGS
38275 CPPFLAGS=$gst_check_save_CPPFLAGS
38276 CXXFLAGS=$gst_check_save_CXXFLAGS
38278 if test x$HAVE_OFA = xno; then
38281 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ofa" >&5
38282 $as_echo "$as_me: *** These plugins will be built: ofa" >&6;}
38285 if test x$USE_OFA = xyes; then
38287 if test "xofa" != "x"; then
38288 GST_PLUGINS_YES="\tofa\n$GST_PLUGINS_YES"
38291 $as_echo "#define HAVE_OFA /**/" >>confdefs.h
38294 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ofa" >&5
38295 $as_echo "$as_me: *** These plugins will not be built: ofa" >&6;}
38296 if test "xofa" != "x"; then
38297 GST_PLUGINS_NO="\tofa\n$GST_PLUGINS_NO"
38301 if test x$USE_OFA = xyes; then
38312 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: OpenAL plugin ***" >&5
38313 $as_echo "$as_me: *** checking feature: OpenAL plugin ***" >&6;}
38314 if test "xopenal" != "x"
38316 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: openal ***" >&5
38317 $as_echo "$as_me: *** for plug-ins: openal ***" >&6;}
38320 if test "x$USE_OPENAL" = "xno"; then
38323 # Check whether --enable-openal was given.
38324 if test "${enable_openal+set}" = set; then :
38325 enableval=$enable_openal; case "${enableval}" in
38326 yes) USE_OPENAL=yes;;
38327 no) USE_OPENAL=no;;
38328 *) as_fn_error $? "bad value ${enableval} for --enable-openal" "$LINENO" 5 ;;
38334 if test "x$NOUSE" = "xyes"; then
38336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** openal pre-configured not to be built" >&5
38337 $as_echo "$as_me: WARNING: *** openal pre-configured not to be built" >&2;}
38342 if test x$USE_OPENAL = xyes; then
38344 gst_check_save_LIBS=$LIBS
38345 gst_check_save_LDFLAGS=$LDFLAGS
38346 gst_check_save_CFLAGS=$CFLAGS
38347 gst_check_save_CPPFLAGS=$CPPFLAGS
38348 gst_check_save_CXXFLAGS=$CXXFLAGS
38354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENAL" >&5
38355 $as_echo_n "checking for OPENAL... " >&6; }
38357 if test -n "$PKG_CONFIG"; then
38358 if test -n "$OPENAL_CFLAGS"; then
38359 pkg_cv_OPENAL_CFLAGS="$OPENAL_CFLAGS"
38361 if test -n "$PKG_CONFIG" && \
38362 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openal\""; } >&5
38363 ($PKG_CONFIG --exists --print-errors "openal") 2>&5
38365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38366 test $ac_status = 0; }; then
38367 pkg_cv_OPENAL_CFLAGS=`$PKG_CONFIG --cflags "openal" 2>/dev/null`
38375 if test -n "$PKG_CONFIG"; then
38376 if test -n "$OPENAL_LIBS"; then
38377 pkg_cv_OPENAL_LIBS="$OPENAL_LIBS"
38379 if test -n "$PKG_CONFIG" && \
38380 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openal\""; } >&5
38381 ($PKG_CONFIG --exists --print-errors "openal") 2>&5
38383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38384 test $ac_status = 0; }; then
38385 pkg_cv_OPENAL_LIBS=`$PKG_CONFIG --libs "openal" 2>/dev/null`
38396 if test $pkg_failed = yes; then
38398 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
38399 _pkg_short_errors_supported=yes
38401 _pkg_short_errors_supported=no
38403 if test $_pkg_short_errors_supported = yes; then
38404 OPENAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "openal"`
38406 OPENAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "openal"`
38408 # Put the nasty error message in config.log where it belongs
38409 echo "$OPENAL_PKG_ERRORS" >&5
38411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38412 $as_echo "no" >&6; }
38416 elif test $pkg_failed = untried; then
38421 OPENAL_CFLAGS=$pkg_cv_OPENAL_CFLAGS
38422 OPENAL_LIBS=$pkg_cv_OPENAL_LIBS
38423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38424 $as_echo "yes" >&6; }
38431 LIBS=$gst_check_save_LIBS
38432 LDFLAGS=$gst_check_save_LDFLAGS
38433 CFLAGS=$gst_check_save_CFLAGS
38434 CPPFLAGS=$gst_check_save_CPPFLAGS
38435 CXXFLAGS=$gst_check_save_CXXFLAGS
38437 if test x$HAVE_OPENAL = xno; then
38440 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: openal" >&5
38441 $as_echo "$as_me: *** These plugins will be built: openal" >&6;}
38444 if test x$USE_OPENAL = xyes; then
38446 if test "xopenal" != "x"; then
38447 GST_PLUGINS_YES="\topenal\n$GST_PLUGINS_YES"
38450 $as_echo "#define HAVE_OPENAL /**/" >>confdefs.h
38453 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: openal" >&5
38454 $as_echo "$as_me: *** These plugins will not be built: openal" >&6;}
38455 if test "xopenal" != "x"; then
38456 GST_PLUGINS_NO="\topenal\n$GST_PLUGINS_NO"
38460 if test x$USE_OPENAL = xyes; then
38462 USE_OPENAL_FALSE='#'
38464 USE_OPENAL_TRUE='#'
38471 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: opencv plugins ***" >&5
38472 $as_echo "$as_me: *** checking feature: opencv plugins ***" >&6;}
38473 if test "xopencv" != "x"
38475 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: opencv ***" >&5
38476 $as_echo "$as_me: *** for plug-ins: opencv ***" >&6;}
38479 if test "x$USE_OPENCV" = "xno"; then
38482 # Check whether --enable-opencv was given.
38483 if test "${enable_opencv+set}" = set; then :
38484 enableval=$enable_opencv; case "${enableval}" in
38485 yes) USE_OPENCV=yes;;
38486 no) USE_OPENCV=no;;
38487 *) as_fn_error $? "bad value ${enableval} for --enable-opencv" "$LINENO" 5 ;;
38493 if test "x$NOUSE" = "xyes"; then
38495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** opencv pre-configured not to be built" >&5
38496 $as_echo "$as_me: WARNING: *** opencv pre-configured not to be built" >&2;}
38501 if test x$USE_OPENCV = xyes; then
38503 gst_check_save_LIBS=$LIBS
38504 gst_check_save_LDFLAGS=$LDFLAGS
38505 gst_check_save_CFLAGS=$CFLAGS
38506 gst_check_save_CPPFLAGS=$CPPFLAGS
38507 gst_check_save_CXXFLAGS=$CXXFLAGS
38513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPENCV" >&5
38514 $as_echo_n "checking for OPENCV... " >&6; }
38516 if test -n "$PKG_CONFIG"; then
38517 if test -n "$OPENCV_CFLAGS"; then
38518 pkg_cv_OPENCV_CFLAGS="$OPENCV_CFLAGS"
38520 if test -n "$PKG_CONFIG" && \
38521 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencv >= 2.0.0 opencv <= 2.3.1 \""; } >&5
38522 ($PKG_CONFIG --exists --print-errors "opencv >= 2.0.0 opencv <= 2.3.1 ") 2>&5
38524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38525 test $ac_status = 0; }; then
38526 pkg_cv_OPENCV_CFLAGS=`$PKG_CONFIG --cflags "opencv >= 2.0.0 opencv <= 2.3.1 " 2>/dev/null`
38534 if test -n "$PKG_CONFIG"; then
38535 if test -n "$OPENCV_LIBS"; then
38536 pkg_cv_OPENCV_LIBS="$OPENCV_LIBS"
38538 if test -n "$PKG_CONFIG" && \
38539 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencv >= 2.0.0 opencv <= 2.3.1 \""; } >&5
38540 ($PKG_CONFIG --exists --print-errors "opencv >= 2.0.0 opencv <= 2.3.1 ") 2>&5
38542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38543 test $ac_status = 0; }; then
38544 pkg_cv_OPENCV_LIBS=`$PKG_CONFIG --libs "opencv >= 2.0.0 opencv <= 2.3.1 " 2>/dev/null`
38555 if test $pkg_failed = yes; then
38557 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
38558 _pkg_short_errors_supported=yes
38560 _pkg_short_errors_supported=no
38562 if test $_pkg_short_errors_supported = yes; then
38563 OPENCV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "opencv >= 2.0.0 opencv <= 2.3.1 "`
38565 OPENCV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "opencv >= 2.0.0 opencv <= 2.3.1 "`
38567 # Put the nasty error message in config.log where it belongs
38568 echo "$OPENCV_PKG_ERRORS" >&5
38570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38571 $as_echo "no" >&6; }
38575 elif test $pkg_failed = untried; then
38580 OPENCV_CFLAGS=$pkg_cv_OPENCV_CFLAGS
38581 OPENCV_LIBS=$pkg_cv_OPENCV_LIBS
38582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
38583 $as_echo "yes" >&6; }
38586 ac_cpp='$CXXCPP $CPPFLAGS'
38587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38590 if test -z "$CXX"; then
38591 if test -n "$CCC"; then
38594 if test -n "$ac_tool_prefix"; then
38595 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
38597 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
38598 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
38599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38600 $as_echo_n "checking for $ac_word... " >&6; }
38601 if ${ac_cv_prog_CXX+:} false; then :
38602 $as_echo_n "(cached) " >&6
38604 if test -n "$CXX"; then
38605 ac_cv_prog_CXX="$CXX" # Let the user override the test.
38607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38608 for as_dir in $PATH
38611 test -z "$as_dir" && as_dir=.
38612 for ac_exec_ext in '' $ac_executable_extensions; do
38613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38614 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
38615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38624 CXX=$ac_cv_prog_CXX
38625 if test -n "$CXX"; then
38626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
38627 $as_echo "$CXX" >&6; }
38629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38630 $as_echo "no" >&6; }
38634 test -n "$CXX" && break
38637 if test -z "$CXX"; then
38639 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
38641 # Extract the first word of "$ac_prog", so it can be a program name with args.
38642 set dummy $ac_prog; ac_word=$2
38643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
38644 $as_echo_n "checking for $ac_word... " >&6; }
38645 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
38646 $as_echo_n "(cached) " >&6
38648 if test -n "$ac_ct_CXX"; then
38649 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
38651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
38652 for as_dir in $PATH
38655 test -z "$as_dir" && as_dir=.
38656 for ac_exec_ext in '' $ac_executable_extensions; do
38657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
38658 ac_cv_prog_ac_ct_CXX="$ac_prog"
38659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
38668 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
38669 if test -n "$ac_ct_CXX"; then
38670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
38671 $as_echo "$ac_ct_CXX" >&6; }
38673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
38674 $as_echo "no" >&6; }
38678 test -n "$ac_ct_CXX" && break
38681 if test "x$ac_ct_CXX" = x; then
38684 case $cross_compiling:$ac_tool_warned in
38686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
38687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
38688 ac_tool_warned=yes ;;
38696 # Provide some information about the compiler.
38697 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
38700 for ac_option in --version -v -V -qversion; do
38701 { { ac_try="$ac_compiler $ac_option >&5"
38702 case "(($ac_try" in
38703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38704 *) ac_try_echo=$ac_try;;
38706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
38707 $as_echo "$ac_try_echo"; } >&5
38708 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
38710 if test -s conftest.err; then
38712 ... rest of stderr output deleted ...
38713 10q' conftest.err >conftest.er1
38714 cat conftest.er1 >&5
38716 rm -f conftest.er1 conftest.err
38717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38718 test $ac_status = 0; }
38721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
38722 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
38723 if ${ac_cv_cxx_compiler_gnu+:} false; then :
38724 $as_echo_n "(cached) " >&6
38726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38727 /* end confdefs.h. */
38740 if ac_fn_cxx_try_compile "$LINENO"; then :
38741 ac_compiler_gnu=yes
38745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38746 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
38749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
38750 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
38751 if test $ac_compiler_gnu = yes; then
38756 ac_test_CXXFLAGS=${CXXFLAGS+set}
38757 ac_save_CXXFLAGS=$CXXFLAGS
38758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
38759 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
38760 if ${ac_cv_prog_cxx_g+:} false; then :
38761 $as_echo_n "(cached) " >&6
38763 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
38764 ac_cxx_werror_flag=yes
38765 ac_cv_prog_cxx_g=no
38767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38768 /* end confdefs.h. */
38778 if ac_fn_cxx_try_compile "$LINENO"; then :
38779 ac_cv_prog_cxx_g=yes
38782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38783 /* end confdefs.h. */
38793 if ac_fn_cxx_try_compile "$LINENO"; then :
38796 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
38798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38799 /* end confdefs.h. */
38809 if ac_fn_cxx_try_compile "$LINENO"; then :
38810 ac_cv_prog_cxx_g=yes
38812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38817 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
38819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
38820 $as_echo "$ac_cv_prog_cxx_g" >&6; }
38821 if test "$ac_test_CXXFLAGS" = set; then
38822 CXXFLAGS=$ac_save_CXXFLAGS
38823 elif test $ac_cv_prog_cxx_g = yes; then
38824 if test "$GXX" = yes; then
38830 if test "$GXX" = yes; then
38837 ac_cpp='$CPP $CPPFLAGS'
38838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38842 depcc="$CXX" am_compiler_list=
38844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
38845 $as_echo_n "checking dependency style of $depcc... " >&6; }
38846 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
38847 $as_echo_n "(cached) " >&6
38849 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
38850 # We make a subdir and do the tests there. Otherwise we can end up
38851 # making bogus files that we don't know about and never remove. For
38852 # instance it was reported that on HP-UX the gcc test will end up
38853 # making a dummy file named `D' -- because `-MD' means `put the output
38855 rm -rf conftest.dir
38857 # Copy depcomp to subdir because otherwise we won't find it if we're
38858 # using a relative directory.
38859 cp "$am_depcomp" conftest.dir
38861 # We will build objects and dependencies in a subdirectory because
38862 # it helps to detect inapplicable dependency modes. For instance
38863 # both Tru64's cc and ICC support -MD to output dependencies as a
38864 # side effect of compilation, but ICC will put the dependencies in
38865 # the current directory while Tru64 will put them in the object
38869 am_cv_CXX_dependencies_compiler_type=none
38870 if test "$am_compiler_list" = ""; then
38871 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
38873 am__universal=false
38874 case " $depcc " in #(
38875 *\ -arch\ *\ -arch\ *) am__universal=true ;;
38878 for depmode in $am_compiler_list; do
38879 # Setup a source with many dependencies, because some compilers
38880 # like to wrap large dependency lists on column 80 (with \), and
38881 # we should not choose a depcomp mode which is confused by this.
38883 # We need to recreate these files for each test, as the compiler may
38884 # overwrite some of them when testing with obscure command lines.
38885 # This happens at least with the AIX C compiler.
38887 for i in 1 2 3 4 5 6; do
38888 echo '#include "conftst'$i'.h"' >> sub/conftest.c
38889 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
38890 # Solaris 8's {/usr,}/bin/sh.
38891 touch sub/conftst$i.h
38893 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
38895 # We check with `-c' and `-o' for the sake of the "dashmstdout"
38896 # mode. It turns out that the SunPro C++ compiler does not properly
38897 # handle `-M -o', and we need to detect this. Also, some Intel
38898 # versions had trouble with output in subdirs
38899 am__obj=sub/conftest.${OBJEXT-o}
38900 am__minus_obj="-o $am__obj"
38903 # This depmode causes a compiler race in universal mode.
38904 test "$am__universal" = false || continue
38907 # after this tag, mechanisms are not by side-effect, so they'll
38908 # only be used when explicitly requested
38909 if test "x$enable_dependency_tracking" = xyes; then
38915 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
38916 # This compiler won't grok `-c -o', but also, the minuso test has
38917 # not run yet. These depmodes are late enough in the game, and
38918 # so weak that their functioning should not be impacted.
38919 am__obj=conftest.${OBJEXT-o}
38924 if depmode=$depmode \
38925 source=sub/conftest.c object=$am__obj \
38926 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
38927 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
38928 >/dev/null 2>conftest.err &&
38929 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
38930 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
38931 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
38932 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
38933 # icc doesn't choke on unknown options, it will just issue warnings
38934 # or remarks (even with -Werror). So we grep stderr for any message
38935 # that says an option was ignored or not supported.
38936 # When given -MP, icc 7.0 and 7.1 complain thusly:
38937 # icc: Command line warning: ignoring option '-M'; no argument required
38938 # The diagnosis changed in icc 8.0:
38939 # icc: Command line remark: option '-MP' not supported
38940 if (grep 'ignoring option' conftest.err ||
38941 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
38942 am_cv_CXX_dependencies_compiler_type=$depmode
38949 rm -rf conftest.dir
38951 am_cv_CXX_dependencies_compiler_type=none
38955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
38956 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
38957 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
38960 test "x$enable_dependency_tracking" != xno \
38961 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
38962 am__fastdepCXX_TRUE=
38963 am__fastdepCXX_FALSE='#'
38965 am__fastdepCXX_TRUE='#'
38966 am__fastdepCXX_FALSE=
38971 ac_cpp='$CXXCPP $CPPFLAGS'
38972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38976 OLD_CPPFLAGS=$CPPFLAGS
38977 CPPFLAGS=$OPENCV_CFLAGS
38978 ac_fn_cxx_check_header_mongrel "$LINENO" "highgui.h" "ac_cv_header_highgui_h" "$ac_includes_default"
38979 if test "x$ac_cv_header_highgui_h" = xyes; then :
38986 ac_fn_cxx_check_header_mongrel "$LINENO" "cvaux.h" "ac_cv_header_cvaux_h" "$ac_includes_default"
38987 if test "x$ac_cv_header_cvaux_h" = xyes; then :
38994 CPPFLAGS=$OLD_CPPFLAGS
38996 ac_cpp='$CPP $CPPFLAGS'
38997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39001 if test "x$HAVE_HIGHGUI" = "xno"; then
39002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: highgui.h could not be found." >&5
39003 $as_echo "highgui.h could not be found." >&6; }
39005 elif test "x$HAVE_CVAUX" = "xno"; then
39006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cvaux.h could not be found." >&5
39007 $as_echo "cvaux.h could not be found." >&6; }
39018 LIBS=$gst_check_save_LIBS
39019 LDFLAGS=$gst_check_save_LDFLAGS
39020 CFLAGS=$gst_check_save_CFLAGS
39021 CPPFLAGS=$gst_check_save_CPPFLAGS
39022 CXXFLAGS=$gst_check_save_CXXFLAGS
39024 if test x$HAVE_OPENCV = xno; then
39027 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: opencv" >&5
39028 $as_echo "$as_me: *** These plugins will be built: opencv" >&6;}
39031 if test x$USE_OPENCV = xyes; then
39033 if test "xopencv" != "x"; then
39034 GST_PLUGINS_YES="\topencv\n$GST_PLUGINS_YES"
39037 $as_echo "#define HAVE_OPENCV /**/" >>confdefs.h
39040 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: opencv" >&5
39041 $as_echo "$as_me: *** These plugins will not be built: opencv" >&6;}
39042 if test "xopencv" != "x"; then
39043 GST_PLUGINS_NO="\topencv\n$GST_PLUGINS_NO"
39047 if test x$USE_OPENCV = xyes; then
39049 USE_OPENCV_FALSE='#'
39051 USE_OPENCV_TRUE='#'
39058 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: opus ***" >&5
39059 $as_echo "$as_me: *** checking feature: opus ***" >&6;}
39060 if test "xopus" != "x"
39062 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: opus ***" >&5
39063 $as_echo "$as_me: *** for plug-ins: opus ***" >&6;}
39066 if test "x$USE_OPUS" = "xno"; then
39069 # Check whether --enable-opus was given.
39070 if test "${enable_opus+set}" = set; then :
39071 enableval=$enable_opus; case "${enableval}" in
39072 yes) USE_OPUS=yes;;
39074 *) as_fn_error $? "bad value ${enableval} for --enable-opus" "$LINENO" 5 ;;
39080 if test "x$NOUSE" = "xyes"; then
39082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** opus pre-configured not to be built" >&5
39083 $as_echo "$as_me: WARNING: *** opus pre-configured not to be built" >&2;}
39088 if test x$USE_OPUS = xyes; then
39090 gst_check_save_LIBS=$LIBS
39091 gst_check_save_LDFLAGS=$LDFLAGS
39092 gst_check_save_CFLAGS=$CFLAGS
39093 gst_check_save_CPPFLAGS=$CPPFLAGS
39094 gst_check_save_CXXFLAGS=$CXXFLAGS
39100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPUS" >&5
39101 $as_echo_n "checking for OPUS... " >&6; }
39103 if test -n "$PKG_CONFIG"; then
39104 if test -n "$OPUS_CFLAGS"; then
39105 pkg_cv_OPUS_CFLAGS="$OPUS_CFLAGS"
39107 if test -n "$PKG_CONFIG" && \
39108 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opus >= 0.9.4\""; } >&5
39109 ($PKG_CONFIG --exists --print-errors "opus >= 0.9.4") 2>&5
39111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39112 test $ac_status = 0; }; then
39113 pkg_cv_OPUS_CFLAGS=`$PKG_CONFIG --cflags "opus >= 0.9.4" 2>/dev/null`
39121 if test -n "$PKG_CONFIG"; then
39122 if test -n "$OPUS_LIBS"; then
39123 pkg_cv_OPUS_LIBS="$OPUS_LIBS"
39125 if test -n "$PKG_CONFIG" && \
39126 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opus >= 0.9.4\""; } >&5
39127 ($PKG_CONFIG --exists --print-errors "opus >= 0.9.4") 2>&5
39129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39130 test $ac_status = 0; }; then
39131 pkg_cv_OPUS_LIBS=`$PKG_CONFIG --libs "opus >= 0.9.4" 2>/dev/null`
39142 if test $pkg_failed = yes; then
39144 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
39145 _pkg_short_errors_supported=yes
39147 _pkg_short_errors_supported=no
39149 if test $_pkg_short_errors_supported = yes; then
39150 OPUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "opus >= 0.9.4"`
39152 OPUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "opus >= 0.9.4"`
39154 # Put the nasty error message in config.log where it belongs
39155 echo "$OPUS_PKG_ERRORS" >&5
39157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39158 $as_echo "no" >&6; }
39162 elif test $pkg_failed = untried; then
39167 OPUS_CFLAGS=$pkg_cv_OPUS_CFLAGS
39168 OPUS_LIBS=$pkg_cv_OPUS_LIBS
39169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39170 $as_echo "yes" >&6; }
39173 $as_echo "#define HAVE_OPUS 1" >>confdefs.h
39182 LIBS=$gst_check_save_LIBS
39183 LDFLAGS=$gst_check_save_LDFLAGS
39184 CFLAGS=$gst_check_save_CFLAGS
39185 CPPFLAGS=$gst_check_save_CPPFLAGS
39186 CXXFLAGS=$gst_check_save_CXXFLAGS
39188 if test x$HAVE_OPUS = xno; then
39191 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: opus" >&5
39192 $as_echo "$as_me: *** These plugins will be built: opus" >&6;}
39195 if test x$USE_OPUS = xyes; then
39197 if test "xopus" != "x"; then
39198 GST_PLUGINS_YES="\topus\n$GST_PLUGINS_YES"
39201 $as_echo "#define HAVE_OPUS /**/" >>confdefs.h
39204 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: opus" >&5
39205 $as_echo "$as_me: *** These plugins will not be built: opus" >&6;}
39206 if test "xopus" != "x"; then
39207 GST_PLUGINS_NO="\topus\n$GST_PLUGINS_NO"
39211 if test x$USE_OPUS = xyes; then
39222 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: pvrvideosink ***" >&5
39223 $as_echo "$as_me: *** checking feature: pvrvideosink ***" >&6;}
39224 if test "xpvr" != "x"
39226 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: pvr ***" >&5
39227 $as_echo "$as_me: *** for plug-ins: pvr ***" >&6;}
39230 if test "x$USE_PVR" = "xno"; then
39233 # Check whether --enable-pvr was given.
39234 if test "${enable_pvr+set}" = set; then :
39235 enableval=$enable_pvr; case "${enableval}" in
39238 *) as_fn_error $? "bad value ${enableval} for --enable-pvr" "$LINENO" 5 ;;
39244 if test "x$NOUSE" = "xyes"; then
39246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pvr pre-configured not to be built" >&5
39247 $as_echo "$as_me: WARNING: *** pvr pre-configured not to be built" >&2;}
39252 if test x$USE_PVR = xyes; then
39254 gst_check_save_LIBS=$LIBS
39255 gst_check_save_LDFLAGS=$LDFLAGS
39256 gst_check_save_CFLAGS=$CFLAGS
39257 gst_check_save_CPPFLAGS=$CPPFLAGS
39258 gst_check_save_CXXFLAGS=$CXXFLAGS
39264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PVR" >&5
39265 $as_echo_n "checking for PVR... " >&6; }
39267 if test -n "$PKG_CONFIG"; then
39268 if test -n "$PVR_CFLAGS"; then
39269 pkg_cv_PVR_CFLAGS="$PVR_CFLAGS"
39271 if test -n "$PKG_CONFIG" && \
39272 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtimemmgr\""; } >&5
39273 ($PKG_CONFIG --exists --print-errors "libtimemmgr") 2>&5
39275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39276 test $ac_status = 0; }; then
39277 pkg_cv_PVR_CFLAGS=`$PKG_CONFIG --cflags "libtimemmgr" 2>/dev/null`
39285 if test -n "$PKG_CONFIG"; then
39286 if test -n "$PVR_LIBS"; then
39287 pkg_cv_PVR_LIBS="$PVR_LIBS"
39289 if test -n "$PKG_CONFIG" && \
39290 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtimemmgr\""; } >&5
39291 ($PKG_CONFIG --exists --print-errors "libtimemmgr") 2>&5
39293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39294 test $ac_status = 0; }; then
39295 pkg_cv_PVR_LIBS=`$PKG_CONFIG --libs "libtimemmgr" 2>/dev/null`
39306 if test $pkg_failed = yes; then
39308 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
39309 _pkg_short_errors_supported=yes
39311 _pkg_short_errors_supported=no
39313 if test $_pkg_short_errors_supported = yes; then
39314 PVR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libtimemmgr"`
39316 PVR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libtimemmgr"`
39318 # Put the nasty error message in config.log where it belongs
39319 echo "$PVR_PKG_ERRORS" >&5
39321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39322 $as_echo "no" >&6; }
39324 elif test $pkg_failed = untried; then
39327 PVR_CFLAGS=$pkg_cv_PVR_CFLAGS
39328 PVR_LIBS=$pkg_cv_PVR_LIBS
39329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39330 $as_echo "yes" >&6; }
39337 LIBS=$gst_check_save_LIBS
39338 LDFLAGS=$gst_check_save_LDFLAGS
39339 CFLAGS=$gst_check_save_CFLAGS
39340 CPPFLAGS=$gst_check_save_CPPFLAGS
39341 CXXFLAGS=$gst_check_save_CXXFLAGS
39343 if test x$HAVE_PVR = xno; then
39346 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: pvr" >&5
39347 $as_echo "$as_me: *** These plugins will be built: pvr" >&6;}
39350 if test x$USE_PVR = xyes; then
39352 if test "xpvr" != "x"; then
39353 GST_PLUGINS_YES="\tpvr\n$GST_PLUGINS_YES"
39356 $as_echo "#define HAVE_PVR /**/" >>confdefs.h
39359 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: pvr" >&5
39360 $as_echo "$as_me: *** These plugins will not be built: pvr" >&6;}
39361 if test "xpvr" != "x"; then
39362 GST_PLUGINS_NO="\tpvr\n$GST_PLUGINS_NO"
39366 if test x$USE_PVR = xyes; then
39377 # Check whether --with-pvr-external-headers was given.
39378 if test "${with_pvr_external_headers+set}" = set; then :
39379 withval=$with_pvr_external_headers; if test "x$with_pvr_external_headers" = "xno"; then :
39380 PVR_CFLAGS="$PVR_CFLAGS -I\$(srcdir)/pvr_includes"
39383 PVR_CFLAGS="$PVR_CFLAGS -I\$(srcdir)/pvr_includes"
39388 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: rsvg decoder ***" >&5
39389 $as_echo "$as_me: *** checking feature: rsvg decoder ***" >&6;}
39390 if test "xrsvg" != "x"
39392 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: rsvg ***" >&5
39393 $as_echo "$as_me: *** for plug-ins: rsvg ***" >&6;}
39396 if test "x$USE_RSVG" = "xno"; then
39399 # Check whether --enable-rsvg was given.
39400 if test "${enable_rsvg+set}" = set; then :
39401 enableval=$enable_rsvg; case "${enableval}" in
39402 yes) USE_RSVG=yes;;
39404 *) as_fn_error $? "bad value ${enableval} for --enable-rsvg" "$LINENO" 5 ;;
39410 if test "x$NOUSE" = "xyes"; then
39412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** rsvg pre-configured not to be built" >&5
39413 $as_echo "$as_me: WARNING: *** rsvg pre-configured not to be built" >&2;}
39418 if test x$USE_RSVG = xyes; then
39420 gst_check_save_LIBS=$LIBS
39421 gst_check_save_LDFLAGS=$LDFLAGS
39422 gst_check_save_CFLAGS=$CFLAGS
39423 gst_check_save_CPPFLAGS=$CPPFLAGS
39424 gst_check_save_CXXFLAGS=$CXXFLAGS
39430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RSVG" >&5
39431 $as_echo_n "checking for RSVG... " >&6; }
39433 if test -n "$PKG_CONFIG"; then
39434 if test -n "$RSVG_CFLAGS"; then
39435 pkg_cv_RSVG_CFLAGS="$RSVG_CFLAGS"
39437 if test -n "$PKG_CONFIG" && \
39438 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.14 cairo\""; } >&5
39439 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.14 cairo") 2>&5
39441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39442 test $ac_status = 0; }; then
39443 pkg_cv_RSVG_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0 >= 2.14 cairo" 2>/dev/null`
39451 if test -n "$PKG_CONFIG"; then
39452 if test -n "$RSVG_LIBS"; then
39453 pkg_cv_RSVG_LIBS="$RSVG_LIBS"
39455 if test -n "$PKG_CONFIG" && \
39456 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.14 cairo\""; } >&5
39457 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.14 cairo") 2>&5
39459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39460 test $ac_status = 0; }; then
39461 pkg_cv_RSVG_LIBS=`$PKG_CONFIG --libs "librsvg-2.0 >= 2.14 cairo" 2>/dev/null`
39472 if test $pkg_failed = yes; then
39474 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
39475 _pkg_short_errors_supported=yes
39477 _pkg_short_errors_supported=no
39479 if test $_pkg_short_errors_supported = yes; then
39480 RSVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "librsvg-2.0 >= 2.14 cairo"`
39482 RSVG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "librsvg-2.0 >= 2.14 cairo"`
39484 # Put the nasty error message in config.log where it belongs
39485 echo "$RSVG_PKG_ERRORS" >&5
39487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39488 $as_echo "no" >&6; }
39492 elif test $pkg_failed = untried; then
39497 RSVG_CFLAGS=$pkg_cv_RSVG_CFLAGS
39498 RSVG_LIBS=$pkg_cv_RSVG_LIBS
39499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39500 $as_echo "yes" >&6; }
39507 LIBS=$gst_check_save_LIBS
39508 LDFLAGS=$gst_check_save_LDFLAGS
39509 CFLAGS=$gst_check_save_CFLAGS
39510 CPPFLAGS=$gst_check_save_CPPFLAGS
39511 CXXFLAGS=$gst_check_save_CXXFLAGS
39513 if test x$HAVE_RSVG = xno; then
39516 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: rsvg" >&5
39517 $as_echo "$as_me: *** These plugins will be built: rsvg" >&6;}
39520 if test x$USE_RSVG = xyes; then
39522 if test "xrsvg" != "x"; then
39523 GST_PLUGINS_YES="\trsvg\n$GST_PLUGINS_YES"
39526 $as_echo "#define HAVE_RSVG /**/" >>confdefs.h
39529 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: rsvg" >&5
39530 $as_echo "$as_me: *** These plugins will not be built: rsvg" >&6;}
39531 if test "xrsvg" != "x"; then
39532 GST_PLUGINS_NO="\trsvg\n$GST_PLUGINS_NO"
39536 if test x$USE_RSVG = xyes; then
39547 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: timidity midi soft synth plugin ***" >&5
39548 $as_echo "$as_me: *** checking feature: timidity midi soft synth plugin ***" >&6;}
39549 if test "xtimidity" != "x"
39551 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: timidity ***" >&5
39552 $as_echo "$as_me: *** for plug-ins: timidity ***" >&6;}
39555 if test "x$USE_TIMIDITY" = "xno"; then
39558 # Check whether --enable-timidity was given.
39559 if test "${enable_timidity+set}" = set; then :
39560 enableval=$enable_timidity; case "${enableval}" in
39561 yes) USE_TIMIDITY=yes;;
39562 no) USE_TIMIDITY=no;;
39563 *) as_fn_error $? "bad value ${enableval} for --enable-timidity" "$LINENO" 5 ;;
39569 if test "x$NOUSE" = "xyes"; then
39571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** timidity pre-configured not to be built" >&5
39572 $as_echo "$as_me: WARNING: *** timidity pre-configured not to be built" >&2;}
39577 if test x$USE_TIMIDITY = xyes; then
39579 gst_check_save_LIBS=$LIBS
39580 gst_check_save_LDFLAGS=$LDFLAGS
39581 gst_check_save_CFLAGS=$CFLAGS
39582 gst_check_save_CPPFLAGS=$CPPFLAGS
39583 gst_check_save_CXXFLAGS=$CXXFLAGS
39589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIMIDITY" >&5
39590 $as_echo_n "checking for TIMIDITY... " >&6; }
39592 if test -n "$PKG_CONFIG"; then
39593 if test -n "$TIMIDITY_CFLAGS"; then
39594 pkg_cv_TIMIDITY_CFLAGS="$TIMIDITY_CFLAGS"
39596 if test -n "$PKG_CONFIG" && \
39597 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtimidity\""; } >&5
39598 ($PKG_CONFIG --exists --print-errors "libtimidity") 2>&5
39600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39601 test $ac_status = 0; }; then
39602 pkg_cv_TIMIDITY_CFLAGS=`$PKG_CONFIG --cflags "libtimidity" 2>/dev/null`
39610 if test -n "$PKG_CONFIG"; then
39611 if test -n "$TIMIDITY_LIBS"; then
39612 pkg_cv_TIMIDITY_LIBS="$TIMIDITY_LIBS"
39614 if test -n "$PKG_CONFIG" && \
39615 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libtimidity\""; } >&5
39616 ($PKG_CONFIG --exists --print-errors "libtimidity") 2>&5
39618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39619 test $ac_status = 0; }; then
39620 pkg_cv_TIMIDITY_LIBS=`$PKG_CONFIG --libs "libtimidity" 2>/dev/null`
39631 if test $pkg_failed = yes; then
39633 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
39634 _pkg_short_errors_supported=yes
39636 _pkg_short_errors_supported=no
39638 if test $_pkg_short_errors_supported = yes; then
39639 TIMIDITY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libtimidity"`
39641 TIMIDITY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libtimidity"`
39643 # Put the nasty error message in config.log where it belongs
39644 echo "$TIMIDITY_PKG_ERRORS" >&5
39646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39647 $as_echo "no" >&6; }
39651 elif test $pkg_failed = untried; then
39656 TIMIDITY_CFLAGS=$pkg_cv_TIMIDITY_CFLAGS
39657 TIMIDITY_LIBS=$pkg_cv_TIMIDITY_LIBS
39658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39659 $as_echo "yes" >&6; }
39661 HAVE_TIMIDITY="yes",
39662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timidity.cfg" >&5
39663 $as_echo_n "checking for timidity.cfg... " >&6; }
39665 if test -r /etc/timidity.cfg; then
39666 timidity_cfg=/etc/timidity.cfg
39667 elif test -r /etc/timidity/timidity.cfg; then
39668 timidity_cfg=/etc/timidity/timidity.cfg
39669 elif test -r /usr/share/timidity/timidity.cfg; then
39670 timidity_cfg=/usr/share/timidity/timidity.cfg
39671 elif test -r /usr/local/share/timidity/timidity.cfg; then
39672 timidity_cfg=/usr/local/share/timidity/timidity.cfg
39674 if test "x$timidity_cfg" != "x"; then
39675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $timidity_cfg" >&5
39676 $as_echo "$timidity_cfg" >&6; }
39678 cat >>confdefs.h <<_ACEOF
39679 #define TIMIDITY_CFG "$timidity_cfg"
39683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
39684 $as_echo "not found" >&6; }
39692 LIBS=$gst_check_save_LIBS
39693 LDFLAGS=$gst_check_save_LDFLAGS
39694 CFLAGS=$gst_check_save_CFLAGS
39695 CPPFLAGS=$gst_check_save_CPPFLAGS
39696 CXXFLAGS=$gst_check_save_CXXFLAGS
39698 if test x$HAVE_TIMIDITY = xno; then
39701 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: timidity" >&5
39702 $as_echo "$as_me: *** These plugins will be built: timidity" >&6;}
39705 if test x$USE_TIMIDITY = xyes; then
39707 if test "xtimidity" != "x"; then
39708 GST_PLUGINS_YES="\ttimidity\n$GST_PLUGINS_YES"
39711 $as_echo "#define HAVE_TIMIDITY /**/" >>confdefs.h
39714 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: timidity" >&5
39715 $as_echo "$as_me: *** These plugins will not be built: timidity" >&6;}
39716 if test "xtimidity" != "x"; then
39717 GST_PLUGINS_NO="\ttimidity\n$GST_PLUGINS_NO"
39721 if test x$USE_TIMIDITY = xyes; then
39723 USE_TIMIDITY_FALSE='#'
39725 USE_TIMIDITY_TRUE='#'
39726 USE_TIMIDITY_FALSE=
39732 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Teletext decoder ***" >&5
39733 $as_echo "$as_me: *** checking feature: Teletext decoder ***" >&6;}
39734 if test "xteletextdec" != "x"
39736 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: teletextdec ***" >&5
39737 $as_echo "$as_me: *** for plug-ins: teletextdec ***" >&6;}
39740 if test "x$USE_TELETEXTDEC" = "xno"; then
39743 # Check whether --enable-teletextdec was given.
39744 if test "${enable_teletextdec+set}" = set; then :
39745 enableval=$enable_teletextdec; case "${enableval}" in
39746 yes) USE_TELETEXTDEC=yes;;
39747 no) USE_TELETEXTDEC=no;;
39748 *) as_fn_error $? "bad value ${enableval} for --enable-teletextdec" "$LINENO" 5 ;;
39751 USE_TELETEXTDEC=yes
39754 if test "x$NOUSE" = "xyes"; then
39755 USE_TELETEXTDEC="no"
39756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** teletextdec pre-configured not to be built" >&5
39757 $as_echo "$as_me: WARNING: *** teletextdec pre-configured not to be built" >&2;}
39762 if test x$USE_TELETEXTDEC = xyes; then
39764 gst_check_save_LIBS=$LIBS
39765 gst_check_save_LDFLAGS=$LDFLAGS
39766 gst_check_save_CFLAGS=$CFLAGS
39767 gst_check_save_CPPFLAGS=$CPPFLAGS
39768 gst_check_save_CXXFLAGS=$CXXFLAGS
39770 HAVE_TELETEXTDEC=no
39778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TELETEXTDEC" >&5
39779 $as_echo_n "checking for TELETEXTDEC... " >&6; }
39781 if test -n "$PKG_CONFIG"; then
39782 if test -n "$TELETEXTDEC_CFLAGS"; then
39783 pkg_cv_TELETEXTDEC_CFLAGS="$TELETEXTDEC_CFLAGS"
39785 if test -n "$PKG_CONFIG" && \
39786 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
39787 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
39789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39790 test $ac_status = 0; }; then
39791 pkg_cv_TELETEXTDEC_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
39799 if test -n "$PKG_CONFIG"; then
39800 if test -n "$TELETEXTDEC_LIBS"; then
39801 pkg_cv_TELETEXTDEC_LIBS="$TELETEXTDEC_LIBS"
39803 if test -n "$PKG_CONFIG" && \
39804 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
39805 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
39807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39808 test $ac_status = 0; }; then
39809 pkg_cv_TELETEXTDEC_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
39820 if test $pkg_failed = yes; then
39822 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
39823 _pkg_short_errors_supported=yes
39825 _pkg_short_errors_supported=no
39827 if test $_pkg_short_errors_supported = yes; then
39828 TELETEXTDEC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
39830 TELETEXTDEC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
39832 # Put the nasty error message in config.log where it belongs
39833 echo "$TELETEXTDEC_PKG_ERRORS" >&5
39835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
39836 $as_echo "no" >&6; }
39838 HAVE_TELETEXTDEC="no"
39839 if test "x$required" = "xyes"; then
39840 as_fn_error $? "$TELETEXTDEC_PKG_ERRORS" "$LINENO" 5
39842 { $as_echo "$as_me:${as_lineno-$LINENO}: $TELETEXTDEC_PKG_ERRORS" >&5
39843 $as_echo "$as_me: $TELETEXTDEC_PKG_ERRORS" >&6;}
39846 elif test $pkg_failed = untried; then
39848 HAVE_TELETEXTDEC="no"
39849 if test "x$required" = "xyes"; then
39850 as_fn_error $? "$TELETEXTDEC_PKG_ERRORS" "$LINENO" 5
39852 { $as_echo "$as_me:${as_lineno-$LINENO}: $TELETEXTDEC_PKG_ERRORS" >&5
39853 $as_echo "$as_me: $TELETEXTDEC_PKG_ERRORS" >&6;}
39857 TELETEXTDEC_CFLAGS=$pkg_cv_TELETEXTDEC_CFLAGS
39858 TELETEXTDEC_LIBS=$pkg_cv_TELETEXTDEC_LIBS
39859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39860 $as_echo "yes" >&6; }
39862 HAVE_TELETEXTDEC="yes"
39869 LIBS=$gst_check_save_LIBS
39870 LDFLAGS=$gst_check_save_LDFLAGS
39871 CFLAGS=$gst_check_save_CFLAGS
39872 CPPFLAGS=$gst_check_save_CPPFLAGS
39873 CXXFLAGS=$gst_check_save_CXXFLAGS
39875 if test x$HAVE_TELETEXTDEC = xno; then
39878 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: teletextdec" >&5
39879 $as_echo "$as_me: *** These plugins will be built: teletextdec" >&6;}
39882 if test x$USE_TELETEXTDEC = xyes; then
39884 if test "xteletextdec" != "x"; then
39885 GST_PLUGINS_YES="\tteletextdec\n$GST_PLUGINS_YES"
39888 $as_echo "#define HAVE_TELETEXTDEC /**/" >>confdefs.h
39891 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: teletextdec" >&5
39892 $as_echo "$as_me: *** These plugins will not be built: teletextdec" >&6;}
39893 if test "xteletextdec" != "x"; then
39894 GST_PLUGINS_NO="\tteletextdec\n$GST_PLUGINS_NO"
39898 if test x$USE_TELETEXTDEC = xyes; then
39899 USE_TELETEXTDEC_TRUE=
39900 USE_TELETEXTDEC_FALSE='#'
39902 USE_TELETEXTDEC_TRUE='#'
39903 USE_TELETEXTDEC_FALSE=
39909 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: wildmidi midi soft synth plugin ***" >&5
39910 $as_echo "$as_me: *** checking feature: wildmidi midi soft synth plugin ***" >&6;}
39911 if test "xwildmidi" != "x"
39913 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: wildmidi ***" >&5
39914 $as_echo "$as_me: *** for plug-ins: wildmidi ***" >&6;}
39917 if test "x$USE_WILDMIDI" = "xno"; then
39920 # Check whether --enable-wildmidi was given.
39921 if test "${enable_wildmidi+set}" = set; then :
39922 enableval=$enable_wildmidi; case "${enableval}" in
39923 yes) USE_WILDMIDI=yes;;
39924 no) USE_WILDMIDI=no;;
39925 *) as_fn_error $? "bad value ${enableval} for --enable-wildmidi" "$LINENO" 5 ;;
39931 if test "x$NOUSE" = "xyes"; then
39933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** wildmidi pre-configured not to be built" >&5
39934 $as_echo "$as_me: WARNING: *** wildmidi pre-configured not to be built" >&2;}
39939 if test x$USE_WILDMIDI = xyes; then
39941 gst_check_save_LIBS=$LIBS
39942 gst_check_save_LDFLAGS=$LDFLAGS
39943 gst_check_save_CFLAGS=$CFLAGS
39944 gst_check_save_CPPFLAGS=$CPPFLAGS
39945 gst_check_save_CXXFLAGS=$CXXFLAGS
39950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WildMidi_Init in -lWildMidi" >&5
39951 $as_echo_n "checking for WildMidi_Init in -lWildMidi... " >&6; }
39952 if ${ac_cv_lib_WildMidi_WildMidi_Init+:} false; then :
39953 $as_echo_n "(cached) " >&6
39955 ac_check_lib_save_LIBS=$LIBS
39956 LIBS="-lWildMidi $LIBS"
39957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39958 /* end confdefs.h. */
39960 /* Override any GCC internal prototype to avoid an error.
39961 Use char because int might match the return type of a GCC
39962 builtin and then its argument prototype would still apply. */
39966 char WildMidi_Init ();
39970 return WildMidi_Init ();
39975 if ac_fn_c_try_link "$LINENO"; then :
39976 ac_cv_lib_WildMidi_WildMidi_Init=yes
39978 ac_cv_lib_WildMidi_WildMidi_Init=no
39980 rm -f core conftest.err conftest.$ac_objext \
39981 conftest$ac_exeext conftest.$ac_ext
39982 LIBS=$ac_check_lib_save_LIBS
39984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_WildMidi_WildMidi_Init" >&5
39985 $as_echo "$ac_cv_lib_WildMidi_WildMidi_Init" >&6; }
39986 if test "x$ac_cv_lib_WildMidi_WildMidi_Init" = xyes; then :
39992 if test "x$HAVE_WILDMIDI" = "xyes"; then
39993 ac_fn_c_check_header_mongrel "$LINENO" "wildmidi_lib.h" "ac_cv_header_wildmidi_lib_h" "$ac_includes_default"
39994 if test "x$ac_cv_header_wildmidi_lib_h" = xyes; then :
40001 if test "x$HAVE_WILDMIDI" = "xyes"; then
40002 WILDMIDI_LIBS="-lWildMidi"
40012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WildMidi_LoadSamples in -lWildMidi" >&5
40013 $as_echo_n "checking for WildMidi_LoadSamples in -lWildMidi... " >&6; }
40014 if ${ac_cv_lib_WildMidi_WildMidi_LoadSamples+:} false; then :
40015 $as_echo_n "(cached) " >&6
40017 ac_check_lib_save_LIBS=$LIBS
40018 LIBS="-lWildMidi $LIBS"
40019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40020 /* end confdefs.h. */
40022 /* Override any GCC internal prototype to avoid an error.
40023 Use char because int might match the return type of a GCC
40024 builtin and then its argument prototype would still apply. */
40028 char WildMidi_LoadSamples ();
40032 return WildMidi_LoadSamples ();
40037 if ac_fn_c_try_link "$LINENO"; then :
40038 ac_cv_lib_WildMidi_WildMidi_LoadSamples=yes
40040 ac_cv_lib_WildMidi_WildMidi_LoadSamples=no
40042 rm -f core conftest.err conftest.$ac_objext \
40043 conftest$ac_exeext conftest.$ac_ext
40044 LIBS=$ac_check_lib_save_LIBS
40046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_WildMidi_WildMidi_LoadSamples" >&5
40047 $as_echo "$ac_cv_lib_WildMidi_WildMidi_LoadSamples" >&6; }
40048 if test "x$ac_cv_lib_WildMidi_WildMidi_LoadSamples" = xyes; then :
40050 $as_echo "#define HAVE_WILDMIDI_0_2_2 1" >>confdefs.h
40055 if test "x$HAVE_WILDMIDI" = "xyes"; then
40057 WILDMIDI_LIBS=-lWildMidi
40058 { $as_echo "$as_me:${as_lineno-$LINENO}: compiling gstWildMidi" >&5
40059 $as_echo "$as_me: compiling gstWildMidi" >&6;}
40063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no WildMidi library found (libWildMidi)" >&5
40064 $as_echo "$as_me: WARNING: no WildMidi library found (libWildMidi)" >&2;}
40070 LIBS=$gst_check_save_LIBS
40071 LDFLAGS=$gst_check_save_LDFLAGS
40072 CFLAGS=$gst_check_save_CFLAGS
40073 CPPFLAGS=$gst_check_save_CPPFLAGS
40074 CXXFLAGS=$gst_check_save_CXXFLAGS
40076 if test x$HAVE_WILDMIDI = xno; then
40079 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: wildmidi" >&5
40080 $as_echo "$as_me: *** These plugins will be built: wildmidi" >&6;}
40083 if test x$USE_WILDMIDI = xyes; then
40085 if test "xwildmidi" != "x"; then
40086 GST_PLUGINS_YES="\twildmidi\n$GST_PLUGINS_YES"
40089 $as_echo "#define HAVE_WILDMIDI /**/" >>confdefs.h
40092 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: wildmidi" >&5
40093 $as_echo "$as_me: *** These plugins will not be built: wildmidi" >&6;}
40094 if test "xwildmidi" != "x"; then
40095 GST_PLUGINS_NO="\twildmidi\n$GST_PLUGINS_NO"
40099 if test x$USE_WILDMIDI = xyes; then
40101 USE_WILDMIDI_FALSE='#'
40103 USE_WILDMIDI_TRUE='#'
40104 USE_WILDMIDI_FALSE=
40110 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: SDL plug-in ***" >&5
40111 $as_echo "$as_me: *** checking feature: SDL plug-in ***" >&6;}
40112 if test "xsdlvideosink sdlaudiosink" != "x"
40114 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: sdlvideosink sdlaudiosink ***" >&5
40115 $as_echo "$as_me: *** for plug-ins: sdlvideosink sdlaudiosink ***" >&6;}
40118 if test "x$USE_SDL" = "xno"; then
40121 # Check whether --enable-sdl was given.
40122 if test "${enable_sdl+set}" = set; then :
40123 enableval=$enable_sdl; case "${enableval}" in
40126 *) as_fn_error $? "bad value ${enableval} for --enable-sdl" "$LINENO" 5 ;;
40132 if test "x$NOUSE" = "xyes"; then
40134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** sdlvideosink sdlaudiosink pre-configured not to be built" >&5
40135 $as_echo "$as_me: WARNING: *** sdlvideosink sdlaudiosink pre-configured not to be built" >&2;}
40140 if test x$USE_SDL = xyes; then
40142 gst_check_save_LIBS=$LIBS
40143 gst_check_save_LDFLAGS=$LDFLAGS
40144 gst_check_save_CFLAGS=$CFLAGS
40145 gst_check_save_CPPFLAGS=$CPPFLAGS
40146 gst_check_save_CXXFLAGS=$CXXFLAGS
40151 # Check whether --with-sdl-prefix was given.
40152 if test "${with_sdl_prefix+set}" = set; then :
40153 withval=$with_sdl_prefix; sdl_prefix="$withval"
40160 # Check whether --with-sdl-exec-prefix was given.
40161 if test "${with_sdl_exec_prefix+set}" = set; then :
40162 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
40168 # Check whether --enable-sdltest was given.
40169 if test "${enable_sdltest+set}" = set; then :
40170 enableval=$enable_sdltest;
40176 if test x$sdl_exec_prefix != x ; then
40177 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
40178 if test x${SDL_CONFIG+set} != xset ; then
40179 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
40182 if test x$sdl_prefix != x ; then
40183 sdl_args="$sdl_args --prefix=$sdl_prefix"
40184 if test x${SDL_CONFIG+set} != xset ; then
40185 SDL_CONFIG=$sdl_prefix/bin/sdl-config
40189 # Extract the first word of "sdl-config", so it can be a program name with args.
40190 set dummy sdl-config; ac_word=$2
40191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
40192 $as_echo_n "checking for $ac_word... " >&6; }
40193 if ${ac_cv_path_SDL_CONFIG+:} false; then :
40194 $as_echo_n "(cached) " >&6
40196 case $SDL_CONFIG in
40198 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
40201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40202 for as_dir in $PATH
40205 test -z "$as_dir" && as_dir=.
40206 for ac_exec_ext in '' $ac_executable_extensions; do
40207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40208 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
40216 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
40220 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
40221 if test -n "$SDL_CONFIG"; then
40222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
40223 $as_echo "$SDL_CONFIG" >&6; }
40225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40226 $as_echo "no" >&6; }
40230 min_sdl_version=0.11.0
40231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
40232 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
40234 if test "$SDL_CONFIG" = "no" ; then
40237 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
40238 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
40239 SDL_STATIC_LIBS=`$SDL_CONFIG $sdlconf_args --static-libs`
40242 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
40243 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40244 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
40245 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40246 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
40247 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40248 if test "x$enable_sdltest" = "xyes" ; then
40249 ac_save_CFLAGS="$CFLAGS"
40250 ac_save_LIBS="$LIBS"
40251 CFLAGS="$CFLAGS $SDL_CFLAGS"
40252 LIBS="$LIBS $SDL_STATIC_LIBS"
40254 if test "$cross_compiling" = yes; then :
40255 echo $ac_n "cross compiling; assumed OK... $ac_c"
40257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40258 /* end confdefs.h. */
40261 #include <stdlib.h>
40262 #include <string.h>
40266 my_strdup (char *str)
40272 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40273 strcpy (new_str, str);
40281 int main (int argc, char *argv[])
40283 int major, minor, micro;
40286 /* This hangs on some systems (?)
40287 system ("touch conf.sdltest");
40289 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
40291 /* HP/UX 9 (%@#!) writes to sscanf strings */
40292 tmp_version = my_strdup("$min_sdl_version");
40293 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
40294 printf("%s, bad version string\n", "$min_sdl_version");
40298 if (($sdl_major_version > major) ||
40299 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
40300 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
40306 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
40307 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
40308 printf("*** best to upgrade to the required version.\n");
40309 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
40310 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
40311 printf("*** config.cache before re-running configure\n");
40318 if ac_fn_c_try_run "$LINENO"; then :
40323 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
40324 conftest.$ac_objext conftest.beam conftest.$ac_ext
40327 CFLAGS="$ac_save_CFLAGS"
40328 LIBS="$ac_save_LIBS"
40331 if test "x$no_sdl" = x ; then
40332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40333 $as_echo "yes" >&6; }
40336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40337 $as_echo "no" >&6; }
40338 if test "$SDL_CONFIG" = "no" ; then
40339 echo "*** The sdl-config script installed by SDL could not be found"
40340 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
40341 echo "*** your path, or set the SDL_CONFIG environment variable to the"
40342 echo "*** full path to sdl-config."
40344 if test -f conf.sdltest ; then
40347 echo "*** Could not run SDL test program, checking why..."
40348 CFLAGS="$CFLAGS $SDL_CFLAGS"
40349 LIBS="$LIBS $SDL_LIBS"
40350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40351 /* end confdefs.h. */
40356 int main(int argc, char *argv[])
40359 #define main K_and_R_C_main
40369 if ac_fn_c_try_link "$LINENO"; then :
40370 echo "*** The test program compiled, but did not run. This usually means"
40371 echo "*** that the run-time linker is not finding SDL or finding the wrong"
40372 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
40373 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
40374 echo "*** to the installed location Also, make sure you have run ldconfig if that"
40375 echo "*** is required on your system"
40377 echo "*** If you have an old version installed, it is best to remove it, although"
40378 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
40380 echo "*** The test program failed to compile or link. See the file config.log for the"
40381 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
40382 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
40383 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
40385 rm -f core conftest.err conftest.$ac_objext \
40386 conftest$ac_exeext conftest.$ac_ext
40387 CFLAGS="$ac_save_CFLAGS"
40388 LIBS="$ac_save_LIBS"
40401 LIBS=$gst_check_save_LIBS
40402 LDFLAGS=$gst_check_save_LDFLAGS
40403 CFLAGS=$gst_check_save_CFLAGS
40404 CPPFLAGS=$gst_check_save_CPPFLAGS
40405 CXXFLAGS=$gst_check_save_CXXFLAGS
40407 if test x$HAVE_SDL = xno; then
40410 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: sdlvideosink sdlaudiosink" >&5
40411 $as_echo "$as_me: *** These plugins will be built: sdlvideosink sdlaudiosink" >&6;}
40414 if test x$USE_SDL = xyes; then
40416 if test "xsdlvideosink sdlaudiosink" != "x"; then
40417 GST_PLUGINS_YES="\tsdlvideosink sdlaudiosink\n$GST_PLUGINS_YES"
40420 $as_echo "#define HAVE_SDL /**/" >>confdefs.h
40423 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: sdlvideosink sdlaudiosink" >&5
40424 $as_echo "$as_me: *** These plugins will not be built: sdlvideosink sdlaudiosink" >&6;}
40425 if test "xsdlvideosink sdlaudiosink" != "x"; then
40426 GST_PLUGINS_NO="\tsdlvideosink sdlaudiosink\n$GST_PLUGINS_NO"
40430 if test x$USE_SDL = xyes; then
40441 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: sndfile plug-in ***" >&5
40442 $as_echo "$as_me: *** checking feature: sndfile plug-in ***" >&6;}
40443 if test "xsfsrc sfsink" != "x"
40445 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: sfsrc sfsink ***" >&5
40446 $as_echo "$as_me: *** for plug-ins: sfsrc sfsink ***" >&6;}
40449 if test "x$USE_SNDFILE" = "xno"; then
40452 # Check whether --enable-sndfile was given.
40453 if test "${enable_sndfile+set}" = set; then :
40454 enableval=$enable_sndfile; case "${enableval}" in
40455 yes) USE_SNDFILE=yes;;
40456 no) USE_SNDFILE=no;;
40457 *) as_fn_error $? "bad value ${enableval} for --enable-sndfile" "$LINENO" 5 ;;
40463 if test "x$NOUSE" = "xyes"; then
40465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** sfsrc sfsink pre-configured not to be built" >&5
40466 $as_echo "$as_me: WARNING: *** sfsrc sfsink pre-configured not to be built" >&2;}
40471 if test x$USE_SNDFILE = xyes; then
40473 gst_check_save_LIBS=$LIBS
40474 gst_check_save_LDFLAGS=$LDFLAGS
40475 gst_check_save_CFLAGS=$CFLAGS
40476 gst_check_save_CPPFLAGS=$CPPFLAGS
40477 gst_check_save_CXXFLAGS=$CXXFLAGS
40483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDFILE" >&5
40484 $as_echo_n "checking for SNDFILE... " >&6; }
40486 if test -n "$PKG_CONFIG"; then
40487 if test -n "$SNDFILE_CFLAGS"; then
40488 pkg_cv_SNDFILE_CFLAGS="$SNDFILE_CFLAGS"
40490 if test -n "$PKG_CONFIG" && \
40491 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.16\""; } >&5
40492 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.16") 2>&5
40494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40495 test $ac_status = 0; }; then
40496 pkg_cv_SNDFILE_CFLAGS=`$PKG_CONFIG --cflags "sndfile >= 1.0.16" 2>/dev/null`
40504 if test -n "$PKG_CONFIG"; then
40505 if test -n "$SNDFILE_LIBS"; then
40506 pkg_cv_SNDFILE_LIBS="$SNDFILE_LIBS"
40508 if test -n "$PKG_CONFIG" && \
40509 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sndfile >= 1.0.16\""; } >&5
40510 ($PKG_CONFIG --exists --print-errors "sndfile >= 1.0.16") 2>&5
40512 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40513 test $ac_status = 0; }; then
40514 pkg_cv_SNDFILE_LIBS=`$PKG_CONFIG --libs "sndfile >= 1.0.16" 2>/dev/null`
40525 if test $pkg_failed = yes; then
40527 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
40528 _pkg_short_errors_supported=yes
40530 _pkg_short_errors_supported=no
40532 if test $_pkg_short_errors_supported = yes; then
40533 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "sndfile >= 1.0.16"`
40535 SNDFILE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "sndfile >= 1.0.16"`
40537 # Put the nasty error message in config.log where it belongs
40538 echo "$SNDFILE_PKG_ERRORS" >&5
40540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40541 $as_echo "no" >&6; }
40543 elif test $pkg_failed = untried; then
40546 SNDFILE_CFLAGS=$pkg_cv_SNDFILE_CFLAGS
40547 SNDFILE_LIBS=$pkg_cv_SNDFILE_LIBS
40548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40549 $as_echo "yes" >&6; }
40556 LIBS=$gst_check_save_LIBS
40557 LDFLAGS=$gst_check_save_LDFLAGS
40558 CFLAGS=$gst_check_save_CFLAGS
40559 CPPFLAGS=$gst_check_save_CPPFLAGS
40560 CXXFLAGS=$gst_check_save_CXXFLAGS
40562 if test x$HAVE_SNDFILE = xno; then
40565 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: sfsrc sfsink" >&5
40566 $as_echo "$as_me: *** These plugins will be built: sfsrc sfsink" >&6;}
40569 if test x$USE_SNDFILE = xyes; then
40571 if test "xsfsrc sfsink" != "x"; then
40572 GST_PLUGINS_YES="\tsfsrc sfsink\n$GST_PLUGINS_YES"
40575 $as_echo "#define HAVE_SNDFILE /**/" >>confdefs.h
40578 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: sfsrc sfsink" >&5
40579 $as_echo "$as_me: *** These plugins will not be built: sfsrc sfsink" >&6;}
40580 if test "xsfsrc sfsink" != "x"; then
40581 GST_PLUGINS_NO="\tsfsrc sfsink\n$GST_PLUGINS_NO"
40585 if test x$USE_SNDFILE = xyes; then
40587 USE_SNDFILE_FALSE='#'
40589 USE_SNDFILE_TRUE='#'
40596 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: soundtouch plug-in ***" >&5
40597 $as_echo "$as_me: *** checking feature: soundtouch plug-in ***" >&6;}
40598 if test "xsoundtouch" != "x"
40600 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: soundtouch ***" >&5
40601 $as_echo "$as_me: *** for plug-ins: soundtouch ***" >&6;}
40604 if test "x$USE_SOUNDTOUCH" = "xno"; then
40607 # Check whether --enable-soundtouch was given.
40608 if test "${enable_soundtouch+set}" = set; then :
40609 enableval=$enable_soundtouch; case "${enableval}" in
40610 yes) USE_SOUNDTOUCH=yes;;
40611 no) USE_SOUNDTOUCH=no;;
40612 *) as_fn_error $? "bad value ${enableval} for --enable-soundtouch" "$LINENO" 5 ;;
40618 if test "x$NOUSE" = "xyes"; then
40619 USE_SOUNDTOUCH="no"
40620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** soundtouch pre-configured not to be built" >&5
40621 $as_echo "$as_me: WARNING: *** soundtouch pre-configured not to be built" >&2;}
40626 if test x$USE_SOUNDTOUCH = xyes; then
40628 gst_check_save_LIBS=$LIBS
40629 gst_check_save_LDFLAGS=$LDFLAGS
40630 gst_check_save_CFLAGS=$CFLAGS
40631 gst_check_save_CPPFLAGS=$CPPFLAGS
40632 gst_check_save_CXXFLAGS=$CXXFLAGS
40636 HAVE_SOUNDTOUCH_1_4=yes
40639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
40640 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
40642 if test -n "$PKG_CONFIG"; then
40643 if test -n "$SOUNDTOUCH_CFLAGS"; then
40644 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
40646 if test -n "$PKG_CONFIG" && \
40647 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch\""; } >&5
40648 ($PKG_CONFIG --exists --print-errors "soundtouch") 2>&5
40650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40651 test $ac_status = 0; }; then
40652 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "soundtouch" 2>/dev/null`
40660 if test -n "$PKG_CONFIG"; then
40661 if test -n "$SOUNDTOUCH_LIBS"; then
40662 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
40664 if test -n "$PKG_CONFIG" && \
40665 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch\""; } >&5
40666 ($PKG_CONFIG --exists --print-errors "soundtouch") 2>&5
40668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40669 test $ac_status = 0; }; then
40670 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "soundtouch" 2>/dev/null`
40681 if test $pkg_failed = yes; then
40683 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
40684 _pkg_short_errors_supported=yes
40686 _pkg_short_errors_supported=no
40688 if test $_pkg_short_errors_supported = yes; then
40689 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "soundtouch"`
40691 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "soundtouch"`
40693 # Put the nasty error message in config.log where it belongs
40694 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
40696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40697 $as_echo "no" >&6; }
40700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
40701 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
40703 if test -n "$PKG_CONFIG"; then
40704 if test -n "$SOUNDTOUCH_CFLAGS"; then
40705 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
40707 if test -n "$PKG_CONFIG" && \
40708 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.4\""; } >&5
40709 ($PKG_CONFIG --exists --print-errors "soundtouch-1.4") 2>&5
40711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40712 test $ac_status = 0; }; then
40713 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "soundtouch-1.4" 2>/dev/null`
40721 if test -n "$PKG_CONFIG"; then
40722 if test -n "$SOUNDTOUCH_LIBS"; then
40723 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
40725 if test -n "$PKG_CONFIG" && \
40726 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.4\""; } >&5
40727 ($PKG_CONFIG --exists --print-errors "soundtouch-1.4") 2>&5
40729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40730 test $ac_status = 0; }; then
40731 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "soundtouch-1.4" 2>/dev/null`
40742 if test $pkg_failed = yes; then
40744 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
40745 _pkg_short_errors_supported=yes
40747 _pkg_short_errors_supported=no
40749 if test $_pkg_short_errors_supported = yes; then
40750 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "soundtouch-1.4"`
40752 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "soundtouch-1.4"`
40754 # Put the nasty error message in config.log where it belongs
40755 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
40757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40758 $as_echo "no" >&6; }
40761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
40762 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
40764 if test -n "$PKG_CONFIG"; then
40765 if test -n "$SOUNDTOUCH_CFLAGS"; then
40766 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
40768 if test -n "$PKG_CONFIG" && \
40769 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.0\""; } >&5
40770 ($PKG_CONFIG --exists --print-errors "soundtouch-1.0") 2>&5
40772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40773 test $ac_status = 0; }; then
40774 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "soundtouch-1.0" 2>/dev/null`
40782 if test -n "$PKG_CONFIG"; then
40783 if test -n "$SOUNDTOUCH_LIBS"; then
40784 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
40786 if test -n "$PKG_CONFIG" && \
40787 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.0\""; } >&5
40788 ($PKG_CONFIG --exists --print-errors "soundtouch-1.0") 2>&5
40790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40791 test $ac_status = 0; }; then
40792 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "soundtouch-1.0" 2>/dev/null`
40803 if test $pkg_failed = yes; then
40805 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
40806 _pkg_short_errors_supported=yes
40808 _pkg_short_errors_supported=no
40810 if test $_pkg_short_errors_supported = yes; then
40811 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "soundtouch-1.0"`
40813 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "soundtouch-1.0"`
40815 # Put the nasty error message in config.log where it belongs
40816 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
40818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40819 $as_echo "no" >&6; }
40822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
40823 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
40825 if test -n "$PKG_CONFIG"; then
40826 if test -n "$SOUNDTOUCH_CFLAGS"; then
40827 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
40829 if test -n "$PKG_CONFIG" && \
40830 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
40831 ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
40833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40834 test $ac_status = 0; }; then
40835 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch >= 1.4" 2>/dev/null`
40843 if test -n "$PKG_CONFIG"; then
40844 if test -n "$SOUNDTOUCH_LIBS"; then
40845 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
40847 if test -n "$PKG_CONFIG" && \
40848 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
40849 ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
40851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40852 test $ac_status = 0; }; then
40853 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch >= 1.4" 2>/dev/null`
40864 if test $pkg_failed = yes; then
40866 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
40867 _pkg_short_errors_supported=yes
40869 _pkg_short_errors_supported=no
40871 if test $_pkg_short_errors_supported = yes; then
40872 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
40874 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
40876 # Put the nasty error message in config.log where it belongs
40877 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
40879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40880 $as_echo "no" >&6; }
40883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
40884 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
40886 if test -n "$PKG_CONFIG"; then
40887 if test -n "$SOUNDTOUCH_CFLAGS"; then
40888 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
40890 if test -n "$PKG_CONFIG" && \
40891 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
40892 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
40894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40895 test $ac_status = 0; }; then
40896 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
40904 if test -n "$PKG_CONFIG"; then
40905 if test -n "$SOUNDTOUCH_LIBS"; then
40906 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
40908 if test -n "$PKG_CONFIG" && \
40909 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
40910 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
40912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40913 test $ac_status = 0; }; then
40914 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
40925 if test $pkg_failed = yes; then
40927 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
40928 _pkg_short_errors_supported=yes
40930 _pkg_short_errors_supported=no
40932 if test $_pkg_short_errors_supported = yes; then
40933 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
40935 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
40937 # Put the nasty error message in config.log where it belongs
40938 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
40940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40941 $as_echo "no" >&6; }
40943 elif test $pkg_failed = untried; then
40946 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
40947 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
40948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40949 $as_echo "yes" >&6; }
40950 HAVE_SOUNDTOUCH=yes
40951 HAVE_SOUNDTOUCH_1_4=no
40952 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
40954 elif test $pkg_failed = untried; then
40957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
40958 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
40960 if test -n "$PKG_CONFIG"; then
40961 if test -n "$SOUNDTOUCH_CFLAGS"; then
40962 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
40964 if test -n "$PKG_CONFIG" && \
40965 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
40966 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
40968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40969 test $ac_status = 0; }; then
40970 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
40978 if test -n "$PKG_CONFIG"; then
40979 if test -n "$SOUNDTOUCH_LIBS"; then
40980 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
40982 if test -n "$PKG_CONFIG" && \
40983 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
40984 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
40986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
40987 test $ac_status = 0; }; then
40988 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
40999 if test $pkg_failed = yes; then
41001 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41002 _pkg_short_errors_supported=yes
41004 _pkg_short_errors_supported=no
41006 if test $_pkg_short_errors_supported = yes; then
41007 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
41009 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
41011 # Put the nasty error message in config.log where it belongs
41012 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41015 $as_echo "no" >&6; }
41017 elif test $pkg_failed = untried; then
41020 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41021 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41023 $as_echo "yes" >&6; }
41024 HAVE_SOUNDTOUCH=yes
41025 HAVE_SOUNDTOUCH_1_4=no
41026 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
41029 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41030 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41032 $as_echo "yes" >&6; }
41033 HAVE_SOUNDTOUCH=yes
41035 elif test $pkg_failed = untried; then
41038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41039 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41041 if test -n "$PKG_CONFIG"; then
41042 if test -n "$SOUNDTOUCH_CFLAGS"; then
41043 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41045 if test -n "$PKG_CONFIG" && \
41046 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
41047 ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
41049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41050 test $ac_status = 0; }; then
41051 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch >= 1.4" 2>/dev/null`
41059 if test -n "$PKG_CONFIG"; then
41060 if test -n "$SOUNDTOUCH_LIBS"; then
41061 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41063 if test -n "$PKG_CONFIG" && \
41064 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
41065 ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
41067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41068 test $ac_status = 0; }; then
41069 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch >= 1.4" 2>/dev/null`
41080 if test $pkg_failed = yes; then
41082 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41083 _pkg_short_errors_supported=yes
41085 _pkg_short_errors_supported=no
41087 if test $_pkg_short_errors_supported = yes; then
41088 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
41090 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
41092 # Put the nasty error message in config.log where it belongs
41093 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41096 $as_echo "no" >&6; }
41099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41100 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41102 if test -n "$PKG_CONFIG"; then
41103 if test -n "$SOUNDTOUCH_CFLAGS"; then
41104 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41106 if test -n "$PKG_CONFIG" && \
41107 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41108 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41110 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41111 test $ac_status = 0; }; then
41112 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
41120 if test -n "$PKG_CONFIG"; then
41121 if test -n "$SOUNDTOUCH_LIBS"; then
41122 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41124 if test -n "$PKG_CONFIG" && \
41125 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41126 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41129 test $ac_status = 0; }; then
41130 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
41141 if test $pkg_failed = yes; then
41143 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41144 _pkg_short_errors_supported=yes
41146 _pkg_short_errors_supported=no
41148 if test $_pkg_short_errors_supported = yes; then
41149 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
41151 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
41153 # Put the nasty error message in config.log where it belongs
41154 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41157 $as_echo "no" >&6; }
41159 elif test $pkg_failed = untried; then
41162 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41163 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41165 $as_echo "yes" >&6; }
41166 HAVE_SOUNDTOUCH=yes
41167 HAVE_SOUNDTOUCH_1_4=no
41168 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
41170 elif test $pkg_failed = untried; then
41173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41174 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41176 if test -n "$PKG_CONFIG"; then
41177 if test -n "$SOUNDTOUCH_CFLAGS"; then
41178 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41180 if test -n "$PKG_CONFIG" && \
41181 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41182 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41185 test $ac_status = 0; }; then
41186 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
41194 if test -n "$PKG_CONFIG"; then
41195 if test -n "$SOUNDTOUCH_LIBS"; then
41196 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41198 if test -n "$PKG_CONFIG" && \
41199 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41200 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41203 test $ac_status = 0; }; then
41204 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
41215 if test $pkg_failed = yes; then
41217 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41218 _pkg_short_errors_supported=yes
41220 _pkg_short_errors_supported=no
41222 if test $_pkg_short_errors_supported = yes; then
41223 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
41225 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
41227 # Put the nasty error message in config.log where it belongs
41228 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41231 $as_echo "no" >&6; }
41233 elif test $pkg_failed = untried; then
41236 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41237 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41239 $as_echo "yes" >&6; }
41240 HAVE_SOUNDTOUCH=yes
41241 HAVE_SOUNDTOUCH_1_4=no
41242 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
41245 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41246 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41248 $as_echo "yes" >&6; }
41249 HAVE_SOUNDTOUCH=yes
41252 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41253 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41255 $as_echo "yes" >&6; }
41256 HAVE_SOUNDTOUCH=yes
41257 HAVE_SOUNDTOUCH_1_4=no
41258 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
41260 elif test $pkg_failed = untried; then
41263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41264 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41266 if test -n "$PKG_CONFIG"; then
41267 if test -n "$SOUNDTOUCH_CFLAGS"; then
41268 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41270 if test -n "$PKG_CONFIG" && \
41271 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.0\""; } >&5
41272 ($PKG_CONFIG --exists --print-errors "soundtouch-1.0") 2>&5
41274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41275 test $ac_status = 0; }; then
41276 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "soundtouch-1.0" 2>/dev/null`
41284 if test -n "$PKG_CONFIG"; then
41285 if test -n "$SOUNDTOUCH_LIBS"; then
41286 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41288 if test -n "$PKG_CONFIG" && \
41289 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.0\""; } >&5
41290 ($PKG_CONFIG --exists --print-errors "soundtouch-1.0") 2>&5
41292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41293 test $ac_status = 0; }; then
41294 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "soundtouch-1.0" 2>/dev/null`
41305 if test $pkg_failed = yes; then
41307 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41308 _pkg_short_errors_supported=yes
41310 _pkg_short_errors_supported=no
41312 if test $_pkg_short_errors_supported = yes; then
41313 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "soundtouch-1.0"`
41315 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "soundtouch-1.0"`
41317 # Put the nasty error message in config.log where it belongs
41318 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41321 $as_echo "no" >&6; }
41324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41325 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41327 if test -n "$PKG_CONFIG"; then
41328 if test -n "$SOUNDTOUCH_CFLAGS"; then
41329 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41331 if test -n "$PKG_CONFIG" && \
41332 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
41333 ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
41335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41336 test $ac_status = 0; }; then
41337 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch >= 1.4" 2>/dev/null`
41345 if test -n "$PKG_CONFIG"; then
41346 if test -n "$SOUNDTOUCH_LIBS"; then
41347 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41349 if test -n "$PKG_CONFIG" && \
41350 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
41351 ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
41353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41354 test $ac_status = 0; }; then
41355 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch >= 1.4" 2>/dev/null`
41366 if test $pkg_failed = yes; then
41368 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41369 _pkg_short_errors_supported=yes
41371 _pkg_short_errors_supported=no
41373 if test $_pkg_short_errors_supported = yes; then
41374 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
41376 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
41378 # Put the nasty error message in config.log where it belongs
41379 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41382 $as_echo "no" >&6; }
41385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41386 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41388 if test -n "$PKG_CONFIG"; then
41389 if test -n "$SOUNDTOUCH_CFLAGS"; then
41390 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41392 if test -n "$PKG_CONFIG" && \
41393 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41394 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41396 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41397 test $ac_status = 0; }; then
41398 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
41406 if test -n "$PKG_CONFIG"; then
41407 if test -n "$SOUNDTOUCH_LIBS"; then
41408 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41410 if test -n "$PKG_CONFIG" && \
41411 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41412 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41415 test $ac_status = 0; }; then
41416 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
41427 if test $pkg_failed = yes; then
41429 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41430 _pkg_short_errors_supported=yes
41432 _pkg_short_errors_supported=no
41434 if test $_pkg_short_errors_supported = yes; then
41435 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
41437 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
41439 # Put the nasty error message in config.log where it belongs
41440 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41443 $as_echo "no" >&6; }
41445 elif test $pkg_failed = untried; then
41448 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41449 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41451 $as_echo "yes" >&6; }
41452 HAVE_SOUNDTOUCH=yes
41453 HAVE_SOUNDTOUCH_1_4=no
41454 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
41456 elif test $pkg_failed = untried; then
41459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41460 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41462 if test -n "$PKG_CONFIG"; then
41463 if test -n "$SOUNDTOUCH_CFLAGS"; then
41464 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41466 if test -n "$PKG_CONFIG" && \
41467 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41468 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41471 test $ac_status = 0; }; then
41472 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
41480 if test -n "$PKG_CONFIG"; then
41481 if test -n "$SOUNDTOUCH_LIBS"; then
41482 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41484 if test -n "$PKG_CONFIG" && \
41485 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41486 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41489 test $ac_status = 0; }; then
41490 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
41501 if test $pkg_failed = yes; then
41503 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41504 _pkg_short_errors_supported=yes
41506 _pkg_short_errors_supported=no
41508 if test $_pkg_short_errors_supported = yes; then
41509 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
41511 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
41513 # Put the nasty error message in config.log where it belongs
41514 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41517 $as_echo "no" >&6; }
41519 elif test $pkg_failed = untried; then
41522 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41523 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41525 $as_echo "yes" >&6; }
41526 HAVE_SOUNDTOUCH=yes
41527 HAVE_SOUNDTOUCH_1_4=no
41528 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
41531 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41532 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41534 $as_echo "yes" >&6; }
41535 HAVE_SOUNDTOUCH=yes
41537 elif test $pkg_failed = untried; then
41540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41541 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41543 if test -n "$PKG_CONFIG"; then
41544 if test -n "$SOUNDTOUCH_CFLAGS"; then
41545 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41547 if test -n "$PKG_CONFIG" && \
41548 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
41549 ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
41551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41552 test $ac_status = 0; }; then
41553 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch >= 1.4" 2>/dev/null`
41561 if test -n "$PKG_CONFIG"; then
41562 if test -n "$SOUNDTOUCH_LIBS"; then
41563 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41565 if test -n "$PKG_CONFIG" && \
41566 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
41567 ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
41569 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41570 test $ac_status = 0; }; then
41571 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch >= 1.4" 2>/dev/null`
41582 if test $pkg_failed = yes; then
41584 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41585 _pkg_short_errors_supported=yes
41587 _pkg_short_errors_supported=no
41589 if test $_pkg_short_errors_supported = yes; then
41590 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
41592 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
41594 # Put the nasty error message in config.log where it belongs
41595 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41598 $as_echo "no" >&6; }
41601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41602 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41604 if test -n "$PKG_CONFIG"; then
41605 if test -n "$SOUNDTOUCH_CFLAGS"; then
41606 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41608 if test -n "$PKG_CONFIG" && \
41609 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41610 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41613 test $ac_status = 0; }; then
41614 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
41622 if test -n "$PKG_CONFIG"; then
41623 if test -n "$SOUNDTOUCH_LIBS"; then
41624 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41626 if test -n "$PKG_CONFIG" && \
41627 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41628 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41631 test $ac_status = 0; }; then
41632 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
41643 if test $pkg_failed = yes; then
41645 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41646 _pkg_short_errors_supported=yes
41648 _pkg_short_errors_supported=no
41650 if test $_pkg_short_errors_supported = yes; then
41651 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
41653 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
41655 # Put the nasty error message in config.log where it belongs
41656 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41659 $as_echo "no" >&6; }
41661 elif test $pkg_failed = untried; then
41664 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41665 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41667 $as_echo "yes" >&6; }
41668 HAVE_SOUNDTOUCH=yes
41669 HAVE_SOUNDTOUCH_1_4=no
41670 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
41672 elif test $pkg_failed = untried; then
41675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41676 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41678 if test -n "$PKG_CONFIG"; then
41679 if test -n "$SOUNDTOUCH_CFLAGS"; then
41680 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41682 if test -n "$PKG_CONFIG" && \
41683 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41684 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41687 test $ac_status = 0; }; then
41688 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
41696 if test -n "$PKG_CONFIG"; then
41697 if test -n "$SOUNDTOUCH_LIBS"; then
41698 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41700 if test -n "$PKG_CONFIG" && \
41701 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41702 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41705 test $ac_status = 0; }; then
41706 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
41717 if test $pkg_failed = yes; then
41719 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41720 _pkg_short_errors_supported=yes
41722 _pkg_short_errors_supported=no
41724 if test $_pkg_short_errors_supported = yes; then
41725 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
41727 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
41729 # Put the nasty error message in config.log where it belongs
41730 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41733 $as_echo "no" >&6; }
41735 elif test $pkg_failed = untried; then
41738 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41739 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41741 $as_echo "yes" >&6; }
41742 HAVE_SOUNDTOUCH=yes
41743 HAVE_SOUNDTOUCH_1_4=no
41744 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
41747 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41748 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41750 $as_echo "yes" >&6; }
41751 HAVE_SOUNDTOUCH=yes
41754 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41755 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41757 $as_echo "yes" >&6; }
41758 HAVE_SOUNDTOUCH=yes
41759 HAVE_SOUNDTOUCH_1_4=no
41760 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
41763 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
41764 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
41765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
41766 $as_echo "yes" >&6; }
41767 HAVE_SOUNDTOUCH=yes
41769 elif test $pkg_failed = untried; then
41772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41773 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41775 if test -n "$PKG_CONFIG"; then
41776 if test -n "$SOUNDTOUCH_CFLAGS"; then
41777 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41779 if test -n "$PKG_CONFIG" && \
41780 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.4\""; } >&5
41781 ($PKG_CONFIG --exists --print-errors "soundtouch-1.4") 2>&5
41783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41784 test $ac_status = 0; }; then
41785 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "soundtouch-1.4" 2>/dev/null`
41793 if test -n "$PKG_CONFIG"; then
41794 if test -n "$SOUNDTOUCH_LIBS"; then
41795 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41797 if test -n "$PKG_CONFIG" && \
41798 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.4\""; } >&5
41799 ($PKG_CONFIG --exists --print-errors "soundtouch-1.4") 2>&5
41801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41802 test $ac_status = 0; }; then
41803 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "soundtouch-1.4" 2>/dev/null`
41814 if test $pkg_failed = yes; then
41816 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41817 _pkg_short_errors_supported=yes
41819 _pkg_short_errors_supported=no
41821 if test $_pkg_short_errors_supported = yes; then
41822 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "soundtouch-1.4"`
41824 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "soundtouch-1.4"`
41826 # Put the nasty error message in config.log where it belongs
41827 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41830 $as_echo "no" >&6; }
41833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41834 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41836 if test -n "$PKG_CONFIG"; then
41837 if test -n "$SOUNDTOUCH_CFLAGS"; then
41838 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41840 if test -n "$PKG_CONFIG" && \
41841 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.0\""; } >&5
41842 ($PKG_CONFIG --exists --print-errors "soundtouch-1.0") 2>&5
41844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41845 test $ac_status = 0; }; then
41846 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "soundtouch-1.0" 2>/dev/null`
41854 if test -n "$PKG_CONFIG"; then
41855 if test -n "$SOUNDTOUCH_LIBS"; then
41856 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41858 if test -n "$PKG_CONFIG" && \
41859 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.0\""; } >&5
41860 ($PKG_CONFIG --exists --print-errors "soundtouch-1.0") 2>&5
41862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41863 test $ac_status = 0; }; then
41864 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "soundtouch-1.0" 2>/dev/null`
41875 if test $pkg_failed = yes; then
41877 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41878 _pkg_short_errors_supported=yes
41880 _pkg_short_errors_supported=no
41882 if test $_pkg_short_errors_supported = yes; then
41883 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "soundtouch-1.0"`
41885 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "soundtouch-1.0"`
41887 # Put the nasty error message in config.log where it belongs
41888 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41891 $as_echo "no" >&6; }
41894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41895 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41897 if test -n "$PKG_CONFIG"; then
41898 if test -n "$SOUNDTOUCH_CFLAGS"; then
41899 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41901 if test -n "$PKG_CONFIG" && \
41902 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
41903 ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
41905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41906 test $ac_status = 0; }; then
41907 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch >= 1.4" 2>/dev/null`
41915 if test -n "$PKG_CONFIG"; then
41916 if test -n "$SOUNDTOUCH_LIBS"; then
41917 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41919 if test -n "$PKG_CONFIG" && \
41920 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
41921 ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
41923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41924 test $ac_status = 0; }; then
41925 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch >= 1.4" 2>/dev/null`
41936 if test $pkg_failed = yes; then
41938 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41939 _pkg_short_errors_supported=yes
41941 _pkg_short_errors_supported=no
41943 if test $_pkg_short_errors_supported = yes; then
41944 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
41946 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
41948 # Put the nasty error message in config.log where it belongs
41949 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
41951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
41952 $as_echo "no" >&6; }
41955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
41956 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
41958 if test -n "$PKG_CONFIG"; then
41959 if test -n "$SOUNDTOUCH_CFLAGS"; then
41960 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
41962 if test -n "$PKG_CONFIG" && \
41963 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41964 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41967 test $ac_status = 0; }; then
41968 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
41976 if test -n "$PKG_CONFIG"; then
41977 if test -n "$SOUNDTOUCH_LIBS"; then
41978 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
41980 if test -n "$PKG_CONFIG" && \
41981 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
41982 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
41984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41985 test $ac_status = 0; }; then
41986 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
41997 if test $pkg_failed = yes; then
41999 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42000 _pkg_short_errors_supported=yes
42002 _pkg_short_errors_supported=no
42004 if test $_pkg_short_errors_supported = yes; then
42005 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
42007 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
42009 # Put the nasty error message in config.log where it belongs
42010 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42013 $as_echo "no" >&6; }
42015 elif test $pkg_failed = untried; then
42018 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42019 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42021 $as_echo "yes" >&6; }
42022 HAVE_SOUNDTOUCH=yes
42023 HAVE_SOUNDTOUCH_1_4=no
42024 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42026 elif test $pkg_failed = untried; then
42029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42030 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42032 if test -n "$PKG_CONFIG"; then
42033 if test -n "$SOUNDTOUCH_CFLAGS"; then
42034 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42036 if test -n "$PKG_CONFIG" && \
42037 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42038 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42041 test $ac_status = 0; }; then
42042 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
42050 if test -n "$PKG_CONFIG"; then
42051 if test -n "$SOUNDTOUCH_LIBS"; then
42052 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42054 if test -n "$PKG_CONFIG" && \
42055 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42056 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42059 test $ac_status = 0; }; then
42060 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
42071 if test $pkg_failed = yes; then
42073 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42074 _pkg_short_errors_supported=yes
42076 _pkg_short_errors_supported=no
42078 if test $_pkg_short_errors_supported = yes; then
42079 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
42081 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
42083 # Put the nasty error message in config.log where it belongs
42084 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42087 $as_echo "no" >&6; }
42089 elif test $pkg_failed = untried; then
42092 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42093 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42095 $as_echo "yes" >&6; }
42096 HAVE_SOUNDTOUCH=yes
42097 HAVE_SOUNDTOUCH_1_4=no
42098 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42101 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42102 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42104 $as_echo "yes" >&6; }
42105 HAVE_SOUNDTOUCH=yes
42107 elif test $pkg_failed = untried; then
42110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42111 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42113 if test -n "$PKG_CONFIG"; then
42114 if test -n "$SOUNDTOUCH_CFLAGS"; then
42115 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42117 if test -n "$PKG_CONFIG" && \
42118 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
42119 ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
42121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42122 test $ac_status = 0; }; then
42123 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch >= 1.4" 2>/dev/null`
42131 if test -n "$PKG_CONFIG"; then
42132 if test -n "$SOUNDTOUCH_LIBS"; then
42133 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42135 if test -n "$PKG_CONFIG" && \
42136 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
42137 ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
42139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42140 test $ac_status = 0; }; then
42141 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch >= 1.4" 2>/dev/null`
42152 if test $pkg_failed = yes; then
42154 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42155 _pkg_short_errors_supported=yes
42157 _pkg_short_errors_supported=no
42159 if test $_pkg_short_errors_supported = yes; then
42160 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
42162 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
42164 # Put the nasty error message in config.log where it belongs
42165 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42168 $as_echo "no" >&6; }
42171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42172 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42174 if test -n "$PKG_CONFIG"; then
42175 if test -n "$SOUNDTOUCH_CFLAGS"; then
42176 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42178 if test -n "$PKG_CONFIG" && \
42179 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42180 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42183 test $ac_status = 0; }; then
42184 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
42192 if test -n "$PKG_CONFIG"; then
42193 if test -n "$SOUNDTOUCH_LIBS"; then
42194 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42196 if test -n "$PKG_CONFIG" && \
42197 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42198 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42201 test $ac_status = 0; }; then
42202 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
42213 if test $pkg_failed = yes; then
42215 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42216 _pkg_short_errors_supported=yes
42218 _pkg_short_errors_supported=no
42220 if test $_pkg_short_errors_supported = yes; then
42221 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
42223 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
42225 # Put the nasty error message in config.log where it belongs
42226 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42229 $as_echo "no" >&6; }
42231 elif test $pkg_failed = untried; then
42234 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42235 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42237 $as_echo "yes" >&6; }
42238 HAVE_SOUNDTOUCH=yes
42239 HAVE_SOUNDTOUCH_1_4=no
42240 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42242 elif test $pkg_failed = untried; then
42245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42246 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42248 if test -n "$PKG_CONFIG"; then
42249 if test -n "$SOUNDTOUCH_CFLAGS"; then
42250 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42252 if test -n "$PKG_CONFIG" && \
42253 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42254 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42257 test $ac_status = 0; }; then
42258 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
42266 if test -n "$PKG_CONFIG"; then
42267 if test -n "$SOUNDTOUCH_LIBS"; then
42268 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42270 if test -n "$PKG_CONFIG" && \
42271 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42272 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42275 test $ac_status = 0; }; then
42276 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
42287 if test $pkg_failed = yes; then
42289 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42290 _pkg_short_errors_supported=yes
42292 _pkg_short_errors_supported=no
42294 if test $_pkg_short_errors_supported = yes; then
42295 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
42297 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
42299 # Put the nasty error message in config.log where it belongs
42300 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42303 $as_echo "no" >&6; }
42305 elif test $pkg_failed = untried; then
42308 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42309 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42311 $as_echo "yes" >&6; }
42312 HAVE_SOUNDTOUCH=yes
42313 HAVE_SOUNDTOUCH_1_4=no
42314 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42317 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42318 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42320 $as_echo "yes" >&6; }
42321 HAVE_SOUNDTOUCH=yes
42324 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42325 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42327 $as_echo "yes" >&6; }
42328 HAVE_SOUNDTOUCH=yes
42329 HAVE_SOUNDTOUCH_1_4=no
42330 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42332 elif test $pkg_failed = untried; then
42335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42336 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42338 if test -n "$PKG_CONFIG"; then
42339 if test -n "$SOUNDTOUCH_CFLAGS"; then
42340 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42342 if test -n "$PKG_CONFIG" && \
42343 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.0\""; } >&5
42344 ($PKG_CONFIG --exists --print-errors "soundtouch-1.0") 2>&5
42346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42347 test $ac_status = 0; }; then
42348 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "soundtouch-1.0" 2>/dev/null`
42356 if test -n "$PKG_CONFIG"; then
42357 if test -n "$SOUNDTOUCH_LIBS"; then
42358 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42360 if test -n "$PKG_CONFIG" && \
42361 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"soundtouch-1.0\""; } >&5
42362 ($PKG_CONFIG --exists --print-errors "soundtouch-1.0") 2>&5
42364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42365 test $ac_status = 0; }; then
42366 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "soundtouch-1.0" 2>/dev/null`
42377 if test $pkg_failed = yes; then
42379 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42380 _pkg_short_errors_supported=yes
42382 _pkg_short_errors_supported=no
42384 if test $_pkg_short_errors_supported = yes; then
42385 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "soundtouch-1.0"`
42387 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "soundtouch-1.0"`
42389 # Put the nasty error message in config.log where it belongs
42390 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42393 $as_echo "no" >&6; }
42396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42397 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42399 if test -n "$PKG_CONFIG"; then
42400 if test -n "$SOUNDTOUCH_CFLAGS"; then
42401 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42403 if test -n "$PKG_CONFIG" && \
42404 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
42405 ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
42407 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42408 test $ac_status = 0; }; then
42409 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch >= 1.4" 2>/dev/null`
42417 if test -n "$PKG_CONFIG"; then
42418 if test -n "$SOUNDTOUCH_LIBS"; then
42419 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42421 if test -n "$PKG_CONFIG" && \
42422 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
42423 ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
42425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42426 test $ac_status = 0; }; then
42427 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch >= 1.4" 2>/dev/null`
42438 if test $pkg_failed = yes; then
42440 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42441 _pkg_short_errors_supported=yes
42443 _pkg_short_errors_supported=no
42445 if test $_pkg_short_errors_supported = yes; then
42446 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
42448 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
42450 # Put the nasty error message in config.log where it belongs
42451 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42454 $as_echo "no" >&6; }
42457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42458 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42460 if test -n "$PKG_CONFIG"; then
42461 if test -n "$SOUNDTOUCH_CFLAGS"; then
42462 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42464 if test -n "$PKG_CONFIG" && \
42465 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42466 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42469 test $ac_status = 0; }; then
42470 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
42478 if test -n "$PKG_CONFIG"; then
42479 if test -n "$SOUNDTOUCH_LIBS"; then
42480 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42482 if test -n "$PKG_CONFIG" && \
42483 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42484 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42487 test $ac_status = 0; }; then
42488 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
42499 if test $pkg_failed = yes; then
42501 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42502 _pkg_short_errors_supported=yes
42504 _pkg_short_errors_supported=no
42506 if test $_pkg_short_errors_supported = yes; then
42507 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
42509 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
42511 # Put the nasty error message in config.log where it belongs
42512 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42515 $as_echo "no" >&6; }
42517 elif test $pkg_failed = untried; then
42520 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42521 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42523 $as_echo "yes" >&6; }
42524 HAVE_SOUNDTOUCH=yes
42525 HAVE_SOUNDTOUCH_1_4=no
42526 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42528 elif test $pkg_failed = untried; then
42531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42532 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42534 if test -n "$PKG_CONFIG"; then
42535 if test -n "$SOUNDTOUCH_CFLAGS"; then
42536 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42538 if test -n "$PKG_CONFIG" && \
42539 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42540 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42543 test $ac_status = 0; }; then
42544 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
42552 if test -n "$PKG_CONFIG"; then
42553 if test -n "$SOUNDTOUCH_LIBS"; then
42554 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42556 if test -n "$PKG_CONFIG" && \
42557 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42558 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42561 test $ac_status = 0; }; then
42562 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
42573 if test $pkg_failed = yes; then
42575 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42576 _pkg_short_errors_supported=yes
42578 _pkg_short_errors_supported=no
42580 if test $_pkg_short_errors_supported = yes; then
42581 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
42583 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
42585 # Put the nasty error message in config.log where it belongs
42586 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42589 $as_echo "no" >&6; }
42591 elif test $pkg_failed = untried; then
42594 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42595 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42597 $as_echo "yes" >&6; }
42598 HAVE_SOUNDTOUCH=yes
42599 HAVE_SOUNDTOUCH_1_4=no
42600 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42603 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42604 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42606 $as_echo "yes" >&6; }
42607 HAVE_SOUNDTOUCH=yes
42609 elif test $pkg_failed = untried; then
42612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42613 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42615 if test -n "$PKG_CONFIG"; then
42616 if test -n "$SOUNDTOUCH_CFLAGS"; then
42617 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42619 if test -n "$PKG_CONFIG" && \
42620 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
42621 ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
42623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42624 test $ac_status = 0; }; then
42625 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch >= 1.4" 2>/dev/null`
42633 if test -n "$PKG_CONFIG"; then
42634 if test -n "$SOUNDTOUCH_LIBS"; then
42635 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42637 if test -n "$PKG_CONFIG" && \
42638 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch >= 1.4\""; } >&5
42639 ($PKG_CONFIG --exists --print-errors "libSoundTouch >= 1.4") 2>&5
42641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42642 test $ac_status = 0; }; then
42643 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch >= 1.4" 2>/dev/null`
42654 if test $pkg_failed = yes; then
42656 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42657 _pkg_short_errors_supported=yes
42659 _pkg_short_errors_supported=no
42661 if test $_pkg_short_errors_supported = yes; then
42662 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
42664 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch >= 1.4"`
42666 # Put the nasty error message in config.log where it belongs
42667 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42670 $as_echo "no" >&6; }
42673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42674 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42676 if test -n "$PKG_CONFIG"; then
42677 if test -n "$SOUNDTOUCH_CFLAGS"; then
42678 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42680 if test -n "$PKG_CONFIG" && \
42681 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42682 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42685 test $ac_status = 0; }; then
42686 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
42694 if test -n "$PKG_CONFIG"; then
42695 if test -n "$SOUNDTOUCH_LIBS"; then
42696 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42698 if test -n "$PKG_CONFIG" && \
42699 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42700 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42703 test $ac_status = 0; }; then
42704 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
42715 if test $pkg_failed = yes; then
42717 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42718 _pkg_short_errors_supported=yes
42720 _pkg_short_errors_supported=no
42722 if test $_pkg_short_errors_supported = yes; then
42723 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
42725 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
42727 # Put the nasty error message in config.log where it belongs
42728 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42731 $as_echo "no" >&6; }
42733 elif test $pkg_failed = untried; then
42736 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42737 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42739 $as_echo "yes" >&6; }
42740 HAVE_SOUNDTOUCH=yes
42741 HAVE_SOUNDTOUCH_1_4=no
42742 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42744 elif test $pkg_failed = untried; then
42747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUNDTOUCH" >&5
42748 $as_echo_n "checking for SOUNDTOUCH... " >&6; }
42750 if test -n "$PKG_CONFIG"; then
42751 if test -n "$SOUNDTOUCH_CFLAGS"; then
42752 pkg_cv_SOUNDTOUCH_CFLAGS="$SOUNDTOUCH_CFLAGS"
42754 if test -n "$PKG_CONFIG" && \
42755 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42756 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42759 test $ac_status = 0; }; then
42760 pkg_cv_SOUNDTOUCH_CFLAGS=`$PKG_CONFIG --cflags "libSoundTouch" 2>/dev/null`
42768 if test -n "$PKG_CONFIG"; then
42769 if test -n "$SOUNDTOUCH_LIBS"; then
42770 pkg_cv_SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS"
42772 if test -n "$PKG_CONFIG" && \
42773 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libSoundTouch\""; } >&5
42774 ($PKG_CONFIG --exists --print-errors "libSoundTouch") 2>&5
42776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42777 test $ac_status = 0; }; then
42778 pkg_cv_SOUNDTOUCH_LIBS=`$PKG_CONFIG --libs "libSoundTouch" 2>/dev/null`
42789 if test $pkg_failed = yes; then
42791 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42792 _pkg_short_errors_supported=yes
42794 _pkg_short_errors_supported=no
42796 if test $_pkg_short_errors_supported = yes; then
42797 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libSoundTouch"`
42799 SOUNDTOUCH_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libSoundTouch"`
42801 # Put the nasty error message in config.log where it belongs
42802 echo "$SOUNDTOUCH_PKG_ERRORS" >&5
42804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
42805 $as_echo "no" >&6; }
42807 elif test $pkg_failed = untried; then
42810 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42811 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42813 $as_echo "yes" >&6; }
42814 HAVE_SOUNDTOUCH=yes
42815 HAVE_SOUNDTOUCH_1_4=no
42816 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42819 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42820 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42822 $as_echo "yes" >&6; }
42823 HAVE_SOUNDTOUCH=yes
42826 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42827 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42829 $as_echo "yes" >&6; }
42830 HAVE_SOUNDTOUCH=yes
42831 HAVE_SOUNDTOUCH_1_4=no
42832 SOUNDTOUCH_LIBS="$SOUNDTOUCH_LIBS -lBPM"
42835 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42836 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42838 $as_echo "yes" >&6; }
42839 HAVE_SOUNDTOUCH=yes
42842 SOUNDTOUCH_CFLAGS=$pkg_cv_SOUNDTOUCH_CFLAGS
42843 SOUNDTOUCH_LIBS=$pkg_cv_SOUNDTOUCH_LIBS
42844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
42845 $as_echo "yes" >&6; }
42846 HAVE_SOUNDTOUCH=yes
42850 if test "x$HAVE_CXX" != "xyes"; then
42851 USE_SOUNDTOUCH=false
42852 { $as_echo "$as_me:${as_lineno-$LINENO}: Not building soundtouch plugin: no C++ compiler found" >&5
42853 $as_echo "$as_me: Not building soundtouch plugin: no C++ compiler found" >&6;}
42855 if test "x$HAVE_SOUNDTOUCH" = "xyes" -a "x$HAVE_SOUNDTOUCH_1_4" = "xyes"; then
42857 $as_echo "#define HAVE_SOUNDTOUCH_1_4 1" >>confdefs.h
42862 LIBS=$gst_check_save_LIBS
42863 LDFLAGS=$gst_check_save_LDFLAGS
42864 CFLAGS=$gst_check_save_CFLAGS
42865 CPPFLAGS=$gst_check_save_CPPFLAGS
42866 CXXFLAGS=$gst_check_save_CXXFLAGS
42868 if test x$HAVE_SOUNDTOUCH = xno; then
42871 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: soundtouch" >&5
42872 $as_echo "$as_me: *** These plugins will be built: soundtouch" >&6;}
42875 if test x$USE_SOUNDTOUCH = xyes; then
42877 if test "xsoundtouch" != "x"; then
42878 GST_PLUGINS_YES="\tsoundtouch\n$GST_PLUGINS_YES"
42881 $as_echo "#define HAVE_SOUNDTOUCH /**/" >>confdefs.h
42884 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: soundtouch" >&5
42885 $as_echo "$as_me: *** These plugins will not be built: soundtouch" >&6;}
42886 if test "xsoundtouch" != "x"; then
42887 GST_PLUGINS_NO="\tsoundtouch\n$GST_PLUGINS_NO"
42891 if test x$USE_SOUNDTOUCH = xyes; then
42892 USE_SOUNDTOUCH_TRUE=
42893 USE_SOUNDTOUCH_FALSE='#'
42895 USE_SOUNDTOUCH_TRUE='#'
42896 USE_SOUNDTOUCH_FALSE=
42902 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: spc decoder ***" >&5
42903 $as_echo "$as_me: *** checking feature: spc decoder ***" >&6;}
42904 if test "xspc" != "x"
42906 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: spc ***" >&5
42907 $as_echo "$as_me: *** for plug-ins: spc ***" >&6;}
42910 if test "x$USE_SPC" = "xno"; then
42913 # Check whether --enable-spc was given.
42914 if test "${enable_spc+set}" = set; then :
42915 enableval=$enable_spc; case "${enableval}" in
42918 *) as_fn_error $? "bad value ${enableval} for --enable-spc" "$LINENO" 5 ;;
42924 if test "x$NOUSE" = "xyes"; then
42926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** spc pre-configured not to be built" >&5
42927 $as_echo "$as_me: WARNING: *** spc pre-configured not to be built" >&2;}
42932 if test x$USE_SPC = xyes; then
42934 gst_check_save_LIBS=$LIBS
42935 gst_check_save_LDFLAGS=$LDFLAGS
42936 gst_check_save_CFLAGS=$CFLAGS
42937 gst_check_save_CPPFLAGS=$CPPFLAGS
42938 gst_check_save_CXXFLAGS=$CXXFLAGS
42942 ac_fn_c_check_header_mongrel "$LINENO" "openspc.h" "ac_cv_header_openspc_h" "$ac_includes_default"
42943 if test "x$ac_cv_header_openspc_h" = xyes; then :
42945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OSPC_Init in -lopenspc" >&5
42946 $as_echo_n "checking for OSPC_Init in -lopenspc... " >&6; }
42947 if ${ac_cv_lib_openspc_OSPC_Init+:} false; then :
42948 $as_echo_n "(cached) " >&6
42950 ac_check_lib_save_LIBS=$LIBS
42951 LIBS="-lopenspc $LIBS"
42952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42953 /* end confdefs.h. */
42955 /* Override any GCC internal prototype to avoid an error.
42956 Use char because int might match the return type of a GCC
42957 builtin and then its argument prototype would still apply. */
42965 return OSPC_Init ();
42970 if ac_fn_c_try_link "$LINENO"; then :
42971 ac_cv_lib_openspc_OSPC_Init=yes
42973 ac_cv_lib_openspc_OSPC_Init=no
42975 rm -f core conftest.err conftest.$ac_objext \
42976 conftest$ac_exeext conftest.$ac_ext
42977 LIBS=$ac_check_lib_save_LIBS
42979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_openspc_OSPC_Init" >&5
42980 $as_echo "$ac_cv_lib_openspc_OSPC_Init" >&6; }
42981 if test "x$ac_cv_lib_openspc_OSPC_Init" = xyes; then :
42983 SPC_LIBS="-lopenspc"
43003 LIBS=$gst_check_save_LIBS
43004 LDFLAGS=$gst_check_save_LDFLAGS
43005 CFLAGS=$gst_check_save_CFLAGS
43006 CPPFLAGS=$gst_check_save_CPPFLAGS
43007 CXXFLAGS=$gst_check_save_CXXFLAGS
43009 if test x$HAVE_SPC = xno; then
43012 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: spc" >&5
43013 $as_echo "$as_me: *** These plugins will be built: spc" >&6;}
43016 if test x$USE_SPC = xyes; then
43018 if test "xspc" != "x"; then
43019 GST_PLUGINS_YES="\tspc\n$GST_PLUGINS_YES"
43022 $as_echo "#define HAVE_SPC /**/" >>confdefs.h
43025 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: spc" >&5
43026 $as_echo "$as_me: *** These plugins will not be built: spc" >&6;}
43027 if test "xspc" != "x"; then
43028 GST_PLUGINS_NO="\tspc\n$GST_PLUGINS_NO"
43032 if test x$USE_SPC = xyes; then
43043 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: gme decoder ***" >&5
43044 $as_echo "$as_me: *** checking feature: gme decoder ***" >&6;}
43045 if test "xgme" != "x"
43047 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gme ***" >&5
43048 $as_echo "$as_me: *** for plug-ins: gme ***" >&6;}
43051 if test "x$USE_GME" = "xno"; then
43054 # Check whether --enable-gme was given.
43055 if test "${enable_gme+set}" = set; then :
43056 enableval=$enable_gme; case "${enableval}" in
43059 *) as_fn_error $? "bad value ${enableval} for --enable-gme" "$LINENO" 5 ;;
43065 if test "x$NOUSE" = "xyes"; then
43067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gme pre-configured not to be built" >&5
43068 $as_echo "$as_me: WARNING: *** gme pre-configured not to be built" >&2;}
43073 if test x$USE_GME = xyes; then
43075 gst_check_save_LIBS=$LIBS
43076 gst_check_save_LDFLAGS=$LDFLAGS
43077 gst_check_save_CFLAGS=$CFLAGS
43078 gst_check_save_CPPFLAGS=$CPPFLAGS
43079 gst_check_save_CXXFLAGS=$CXXFLAGS
43083 ac_fn_c_check_header_mongrel "$LINENO" "gme/gme.h" "ac_cv_header_gme_gme_h" "$ac_includes_default"
43084 if test "x$ac_cv_header_gme_gme_h" = xyes; then :
43086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gme_new_emu in -lgme" >&5
43087 $as_echo_n "checking for gme_new_emu in -lgme... " >&6; }
43088 if ${ac_cv_lib_gme_gme_new_emu+:} false; then :
43089 $as_echo_n "(cached) " >&6
43091 ac_check_lib_save_LIBS=$LIBS
43093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43094 /* end confdefs.h. */
43096 /* Override any GCC internal prototype to avoid an error.
43097 Use char because int might match the return type of a GCC
43098 builtin and then its argument prototype would still apply. */
43102 char gme_new_emu ();
43106 return gme_new_emu ();
43111 if ac_fn_c_try_link "$LINENO"; then :
43112 ac_cv_lib_gme_gme_new_emu=yes
43114 ac_cv_lib_gme_gme_new_emu=no
43116 rm -f core conftest.err conftest.$ac_objext \
43117 conftest$ac_exeext conftest.$ac_ext
43118 LIBS=$ac_check_lib_save_LIBS
43120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gme_gme_new_emu" >&5
43121 $as_echo "$ac_cv_lib_gme_gme_new_emu" >&6; }
43122 if test "x$ac_cv_lib_gme_gme_new_emu" = xyes; then :
43143 if test "x$HAVE_GME" = "xyes"; then
43144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gme_enable_accuracy in -lgme" >&5
43145 $as_echo_n "checking for gme_enable_accuracy in -lgme... " >&6; }
43146 if ${ac_cv_lib_gme_gme_enable_accuracy+:} false; then :
43147 $as_echo_n "(cached) " >&6
43149 ac_check_lib_save_LIBS=$LIBS
43151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43152 /* end confdefs.h. */
43154 /* Override any GCC internal prototype to avoid an error.
43155 Use char because int might match the return type of a GCC
43156 builtin and then its argument prototype would still apply. */
43160 char gme_enable_accuracy ();
43164 return gme_enable_accuracy ();
43169 if ac_fn_c_try_link "$LINENO"; then :
43170 ac_cv_lib_gme_gme_enable_accuracy=yes
43172 ac_cv_lib_gme_gme_enable_accuracy=no
43174 rm -f core conftest.err conftest.$ac_objext \
43175 conftest$ac_exeext conftest.$ac_ext
43176 LIBS=$ac_check_lib_save_LIBS
43178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gme_gme_enable_accuracy" >&5
43179 $as_echo "$ac_cv_lib_gme_gme_enable_accuracy" >&6; }
43180 if test "x$ac_cv_lib_gme_gme_enable_accuracy" = xyes; then :
43183 $as_echo "#define HAVE_LIBGME_ACCURACY 1" >>confdefs.h
43191 LIBS=$gst_check_save_LIBS
43192 LDFLAGS=$gst_check_save_LDFLAGS
43193 CFLAGS=$gst_check_save_CFLAGS
43194 CPPFLAGS=$gst_check_save_CPPFLAGS
43195 CXXFLAGS=$gst_check_save_CXXFLAGS
43197 if test x$HAVE_GME = xno; then
43200 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gme" >&5
43201 $as_echo "$as_me: *** These plugins will be built: gme" >&6;}
43204 if test x$USE_GME = xyes; then
43206 if test "xgme" != "x"; then
43207 GST_PLUGINS_YES="\tgme\n$GST_PLUGINS_YES"
43210 $as_echo "#define HAVE_GME /**/" >>confdefs.h
43213 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gme" >&5
43214 $as_echo "$as_me: *** These plugins will not be built: gme" >&6;}
43215 if test "xgme" != "x"; then
43216 GST_PLUGINS_NO="\tgme\n$GST_PLUGINS_NO"
43220 if test x$USE_GME = xyes; then
43231 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: swfdec plug-in ***" >&5
43232 $as_echo "$as_me: *** checking feature: swfdec plug-in ***" >&6;}
43233 if test "xswfdec" != "x"
43235 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: swfdec ***" >&5
43236 $as_echo "$as_me: *** for plug-ins: swfdec ***" >&6;}
43239 if test "x$USE_SWFDEC" = "xno"; then
43242 # Check whether --enable-swfdec was given.
43243 if test "${enable_swfdec+set}" = set; then :
43244 enableval=$enable_swfdec; case "${enableval}" in
43245 yes) USE_SWFDEC=yes;;
43246 no) USE_SWFDEC=no;;
43247 *) as_fn_error $? "bad value ${enableval} for --enable-swfdec" "$LINENO" 5 ;;
43253 if test "x$NOUSE" = "xyes"; then
43255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** swfdec pre-configured not to be built" >&5
43256 $as_echo "$as_me: WARNING: *** swfdec pre-configured not to be built" >&2;}
43261 if test x$USE_SWFDEC = xyes; then
43263 gst_check_save_LIBS=$LIBS
43264 gst_check_save_LDFLAGS=$LDFLAGS
43265 gst_check_save_CFLAGS=$CFLAGS
43266 gst_check_save_CPPFLAGS=$CPPFLAGS
43267 gst_check_save_CXXFLAGS=$CXXFLAGS
43273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SWFDEC" >&5
43274 $as_echo_n "checking for SWFDEC... " >&6; }
43276 if test -n "$PKG_CONFIG"; then
43277 if test -n "$SWFDEC_CFLAGS"; then
43278 pkg_cv_SWFDEC_CFLAGS="$SWFDEC_CFLAGS"
43280 if test -n "$PKG_CONFIG" && \
43281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"swfdec-0.3 >= 0.3.6\""; } >&5
43282 ($PKG_CONFIG --exists --print-errors "swfdec-0.3 >= 0.3.6") 2>&5
43284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
43285 test $ac_status = 0; }; then
43286 pkg_cv_SWFDEC_CFLAGS=`$PKG_CONFIG --cflags "swfdec-0.3 >= 0.3.6" 2>/dev/null`
43294 if test -n "$PKG_CONFIG"; then
43295 if test -n "$SWFDEC_LIBS"; then
43296 pkg_cv_SWFDEC_LIBS="$SWFDEC_LIBS"
43298 if test -n "$PKG_CONFIG" && \
43299 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"swfdec-0.3 >= 0.3.6\""; } >&5
43300 ($PKG_CONFIG --exists --print-errors "swfdec-0.3 >= 0.3.6") 2>&5
43302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
43303 test $ac_status = 0; }; then
43304 pkg_cv_SWFDEC_LIBS=`$PKG_CONFIG --libs "swfdec-0.3 >= 0.3.6" 2>/dev/null`
43315 if test $pkg_failed = yes; then
43317 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43318 _pkg_short_errors_supported=yes
43320 _pkg_short_errors_supported=no
43322 if test $_pkg_short_errors_supported = yes; then
43323 SWFDEC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "swfdec-0.3 >= 0.3.6"`
43325 SWFDEC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "swfdec-0.3 >= 0.3.6"`
43327 # Put the nasty error message in config.log where it belongs
43328 echo "$SWFDEC_PKG_ERRORS" >&5
43330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43331 $as_echo "no" >&6; }
43335 elif test $pkg_failed = untried; then
43340 SWFDEC_CFLAGS=$pkg_cv_SWFDEC_CFLAGS
43341 SWFDEC_LIBS=$pkg_cv_SWFDEC_LIBS
43342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43343 $as_echo "yes" >&6; }
43350 LIBS=$gst_check_save_LIBS
43351 LDFLAGS=$gst_check_save_LDFLAGS
43352 CFLAGS=$gst_check_save_CFLAGS
43353 CPPFLAGS=$gst_check_save_CPPFLAGS
43354 CXXFLAGS=$gst_check_save_CXXFLAGS
43356 if test x$HAVE_SWFDEC = xno; then
43359 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: swfdec" >&5
43360 $as_echo "$as_me: *** These plugins will be built: swfdec" >&6;}
43363 if test x$USE_SWFDEC = xyes; then
43365 if test "xswfdec" != "x"; then
43366 GST_PLUGINS_YES="\tswfdec\n$GST_PLUGINS_YES"
43369 $as_echo "#define HAVE_SWFDEC /**/" >>confdefs.h
43372 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: swfdec" >&5
43373 $as_echo "$as_me: *** These plugins will not be built: swfdec" >&6;}
43374 if test "xswfdec" != "x"; then
43375 GST_PLUGINS_NO="\tswfdec\n$GST_PLUGINS_NO"
43379 if test x$USE_SWFDEC = xyes; then
43381 USE_SWFDEC_FALSE='#'
43383 USE_SWFDEC_TRUE='#'
43390 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: xvid plugins ***" >&5
43391 $as_echo "$as_me: *** checking feature: xvid plugins ***" >&6;}
43392 if test "xxvid" != "x"
43394 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: xvid ***" >&5
43395 $as_echo "$as_me: *** for plug-ins: xvid ***" >&6;}
43398 if test "x$USE_XVID" = "xno"; then
43401 # Check whether --enable-xvid was given.
43402 if test "${enable_xvid+set}" = set; then :
43403 enableval=$enable_xvid; case "${enableval}" in
43404 yes) USE_XVID=yes;;
43406 *) as_fn_error $? "bad value ${enableval} for --enable-xvid" "$LINENO" 5 ;;
43412 if test "x$NOUSE" = "xyes"; then
43414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** xvid pre-configured not to be built" >&5
43415 $as_echo "$as_me: WARNING: *** xvid pre-configured not to be built" >&2;}
43420 if test x$USE_XVID = xyes; then
43422 gst_check_save_LIBS=$LIBS
43423 gst_check_save_LDFLAGS=$LDFLAGS
43424 gst_check_save_CFLAGS=$CFLAGS
43425 gst_check_save_CPPFLAGS=$CPPFLAGS
43426 gst_check_save_CXXFLAGS=$CXXFLAGS
43431 ac_fn_c_check_header_mongrel "$LINENO" "xvid.h" "ac_cv_header_xvid_h" "$ac_includes_default"
43432 if test "x$ac_cv_header_xvid_h" = xyes; then :
43435 LIBS="-lpthread $LIBM"
43436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xvid_encore in -lxvidcore" >&5
43437 $as_echo_n "checking for xvid_encore in -lxvidcore... " >&6; }
43438 if ${ac_cv_lib_xvidcore_xvid_encore+:} false; then :
43439 $as_echo_n "(cached) " >&6
43441 ac_check_lib_save_LIBS=$LIBS
43442 LIBS="-lxvidcore $LIBS"
43443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43444 /* end confdefs.h. */
43446 /* Override any GCC internal prototype to avoid an error.
43447 Use char because int might match the return type of a GCC
43448 builtin and then its argument prototype would still apply. */
43452 char xvid_encore ();
43456 return xvid_encore ();
43461 if ac_fn_c_try_link "$LINENO"; then :
43462 ac_cv_lib_xvidcore_xvid_encore=yes
43464 ac_cv_lib_xvidcore_xvid_encore=no
43466 rm -f core conftest.err conftest.$ac_objext \
43467 conftest$ac_exeext conftest.$ac_ext
43468 LIBS=$ac_check_lib_save_LIBS
43470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xvidcore_xvid_encore" >&5
43471 $as_echo "$ac_cv_lib_xvidcore_xvid_encore" >&6; }
43472 if test "x$ac_cv_lib_xvidcore_xvid_encore" = xyes; then :
43474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xvid_decore in -lxvidcore" >&5
43475 $as_echo_n "checking for xvid_decore in -lxvidcore... " >&6; }
43476 if ${ac_cv_lib_xvidcore_xvid_decore+:} false; then :
43477 $as_echo_n "(cached) " >&6
43479 ac_check_lib_save_LIBS=$LIBS
43480 LIBS="-lxvidcore $LIBS"
43481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43482 /* end confdefs.h. */
43484 /* Override any GCC internal prototype to avoid an error.
43485 Use char because int might match the return type of a GCC
43486 builtin and then its argument prototype would still apply. */
43490 char xvid_decore ();
43494 return xvid_decore ();
43499 if ac_fn_c_try_link "$LINENO"; then :
43500 ac_cv_lib_xvidcore_xvid_decore=yes
43502 ac_cv_lib_xvidcore_xvid_decore=no
43504 rm -f core conftest.err conftest.$ac_objext \
43505 conftest$ac_exeext conftest.$ac_ext
43506 LIBS=$ac_check_lib_save_LIBS
43508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xvidcore_xvid_decore" >&5
43509 $as_echo "$ac_cv_lib_xvidcore_xvid_decore" >&6; }
43510 if test "x$ac_cv_lib_xvidcore_xvid_decore" = xyes; then :
43512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xvid_global in -lxvidcore" >&5
43513 $as_echo_n "checking for xvid_global in -lxvidcore... " >&6; }
43514 if ${ac_cv_lib_xvidcore_xvid_global+:} false; then :
43515 $as_echo_n "(cached) " >&6
43517 ac_check_lib_save_LIBS=$LIBS
43518 LIBS="-lxvidcore $LIBS"
43519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43520 /* end confdefs.h. */
43522 /* Override any GCC internal prototype to avoid an error.
43523 Use char because int might match the return type of a GCC
43524 builtin and then its argument prototype would still apply. */
43528 char xvid_global ();
43532 return xvid_global ();
43537 if ac_fn_c_try_link "$LINENO"; then :
43538 ac_cv_lib_xvidcore_xvid_global=yes
43540 ac_cv_lib_xvidcore_xvid_global=no
43542 rm -f core conftest.err conftest.$ac_objext \
43543 conftest$ac_exeext conftest.$ac_ext
43544 LIBS=$ac_check_lib_save_LIBS
43546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xvidcore_xvid_global" >&5
43547 $as_echo "$ac_cv_lib_xvidcore_xvid_global" >&6; }
43548 if test "x$ac_cv_lib_xvidcore_xvid_global" = xyes; then :
43550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uptodate XviD API version" >&5
43551 $as_echo_n "checking for uptodate XviD API version... " >&6; }
43552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43553 /* end confdefs.h. */
43559 #if XVID_API_MAJOR(XVID_API) != 4
43560 #error "Incompatible XviD API version"
43562 #if XVID_API_MAJOR(XVID_API) == 4 && XVID_API_MINOR(XVID_API) < 3
43563 #error "Incompatible XviD API version"
43570 if ac_fn_c_try_compile "$LINENO"; then :
43571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
43572 $as_echo "yes" >&6; }
43573 XVID_LIBS="-lxvidcore $LIBM"
43578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
43579 $as_echo "no" >&6; }
43581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43598 LIBS=$gst_check_save_LIBS
43599 LDFLAGS=$gst_check_save_LDFLAGS
43600 CFLAGS=$gst_check_save_CFLAGS
43601 CPPFLAGS=$gst_check_save_CPPFLAGS
43602 CXXFLAGS=$gst_check_save_CXXFLAGS
43604 if test x$HAVE_XVID = xno; then
43607 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: xvid" >&5
43608 $as_echo "$as_me: *** These plugins will be built: xvid" >&6;}
43611 if test x$USE_XVID = xyes; then
43613 if test "xxvid" != "x"; then
43614 GST_PLUGINS_YES="\txvid\n$GST_PLUGINS_YES"
43617 $as_echo "#define HAVE_XVID /**/" >>confdefs.h
43620 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: xvid" >&5
43621 $as_echo "$as_me: *** These plugins will not be built: xvid" >&6;}
43622 if test "xxvid" != "x"; then
43623 GST_PLUGINS_NO="\txvid\n$GST_PLUGINS_NO"
43627 if test x$USE_XVID = xyes; then
43638 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: DVB Source ***" >&5
43639 $as_echo "$as_me: *** checking feature: DVB Source ***" >&6;}
43640 if test "xdvb" != "x"
43642 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dvb ***" >&5
43643 $as_echo "$as_me: *** for plug-ins: dvb ***" >&6;}
43646 if test "x$USE_DVB" = "xno"; then
43649 # Check whether --enable-dvb was given.
43650 if test "${enable_dvb+set}" = set; then :
43651 enableval=$enable_dvb; case "${enableval}" in
43654 *) as_fn_error $? "bad value ${enableval} for --enable-dvb" "$LINENO" 5 ;;
43660 if test "x$NOUSE" = "xyes"; then
43662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dvb pre-configured not to be built" >&5
43663 $as_echo "$as_me: WARNING: *** dvb pre-configured not to be built" >&2;}
43668 if test x$USE_DVB = xyes; then
43670 gst_check_save_LIBS=$LIBS
43671 gst_check_save_LDFLAGS=$LDFLAGS
43672 gst_check_save_CFLAGS=$CFLAGS
43673 gst_check_save_CPPFLAGS=$CPPFLAGS
43674 gst_check_save_CXXFLAGS=$CXXFLAGS
43678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for up to date dvb installation" >&5
43679 $as_echo_n "checking Checking for up to date dvb installation... " >&6; }
43680 ac_fn_c_check_header_mongrel "$LINENO" "linux/dvb/frontend.h" "ac_cv_header_linux_dvb_frontend_h" "$ac_includes_default"
43681 if test "x$ac_cv_header_linux_dvb_frontend_h" = xyes; then :
43690 LIBS=$gst_check_save_LIBS
43691 LDFLAGS=$gst_check_save_LDFLAGS
43692 CFLAGS=$gst_check_save_CFLAGS
43693 CPPFLAGS=$gst_check_save_CPPFLAGS
43694 CXXFLAGS=$gst_check_save_CXXFLAGS
43696 if test x$HAVE_DVB = xno; then
43699 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dvb" >&5
43700 $as_echo "$as_me: *** These plugins will be built: dvb" >&6;}
43703 if test x$USE_DVB = xyes; then
43705 if test "xdvb" != "x"; then
43706 GST_PLUGINS_YES="\tdvb\n$GST_PLUGINS_YES"
43709 $as_echo "#define HAVE_DVB /**/" >>confdefs.h
43712 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dvb" >&5
43713 $as_echo "$as_me: *** These plugins will not be built: dvb" >&6;}
43714 if test "xdvb" != "x"; then
43715 GST_PLUGINS_NO="\tdvb\n$GST_PLUGINS_NO"
43719 if test x$USE_DVB = xyes; then
43730 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Windows internet library ***" >&5
43731 $as_echo "$as_me: *** checking feature: Windows internet library ***" >&6;}
43732 if test "xwininet" != "x"
43734 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: wininet ***" >&5
43735 $as_echo "$as_me: *** for plug-ins: wininet ***" >&6;}
43738 if test "x$USE_WININET" = "xno"; then
43741 # Check whether --enable-wininet was given.
43742 if test "${enable_wininet+set}" = set; then :
43743 enableval=$enable_wininet; case "${enableval}" in
43744 yes) USE_WININET=yes;;
43745 no) USE_WININET=no;;
43746 *) as_fn_error $? "bad value ${enableval} for --enable-wininet" "$LINENO" 5 ;;
43752 if test "x$NOUSE" = "xyes"; then
43754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** wininet pre-configured not to be built" >&5
43755 $as_echo "$as_me: WARNING: *** wininet pre-configured not to be built" >&2;}
43760 if test x$USE_WININET = xyes; then
43762 gst_check_save_LIBS=$LIBS
43763 gst_check_save_LDFLAGS=$LDFLAGS
43764 gst_check_save_CFLAGS=$CFLAGS
43765 gst_check_save_CPPFLAGS=$CPPFLAGS
43766 gst_check_save_CXXFLAGS=$CXXFLAGS
43770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for windows internet support" >&5
43771 $as_echo_n "checking Checking for windows internet support... " >&6; }
43772 for ac_header in windows.h wininet.h
43774 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
43775 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
43776 #include <windows.h>
43778 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
43779 cat >>confdefs.h <<_ACEOF
43780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
43791 LIBS=$gst_check_save_LIBS
43792 LDFLAGS=$gst_check_save_LDFLAGS
43793 CFLAGS=$gst_check_save_CFLAGS
43794 CPPFLAGS=$gst_check_save_CPPFLAGS
43795 CXXFLAGS=$gst_check_save_CXXFLAGS
43797 if test x$HAVE_WININET = xno; then
43800 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: wininet" >&5
43801 $as_echo "$as_me: *** These plugins will be built: wininet" >&6;}
43804 if test x$USE_WININET = xyes; then
43806 if test "xwininet" != "x"; then
43807 GST_PLUGINS_YES="\twininet\n$GST_PLUGINS_YES"
43810 $as_echo "#define HAVE_WININET /**/" >>confdefs.h
43813 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: wininet" >&5
43814 $as_echo "$as_me: *** These plugins will not be built: wininet" >&6;}
43815 if test "xwininet" != "x"; then
43816 GST_PLUGINS_NO="\twininet\n$GST_PLUGINS_NO"
43820 if test x$USE_WININET = xyes; then
43822 USE_WININET_FALSE='#'
43824 USE_WININET_TRUE='#'
43831 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Windows ACM library ***" >&5
43832 $as_echo "$as_me: *** checking feature: Windows ACM library ***" >&6;}
43833 if test "xacm" != "x"
43835 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: acm ***" >&5
43836 $as_echo "$as_me: *** for plug-ins: acm ***" >&6;}
43839 if test "x$USE_ACM" = "xno"; then
43842 # Check whether --enable-acm was given.
43843 if test "${enable_acm+set}" = set; then :
43844 enableval=$enable_acm; case "${enableval}" in
43847 *) as_fn_error $? "bad value ${enableval} for --enable-acm" "$LINENO" 5 ;;
43853 if test "x$NOUSE" = "xyes"; then
43855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** acm pre-configured not to be built" >&5
43856 $as_echo "$as_me: WARNING: *** acm pre-configured not to be built" >&2;}
43861 if test x$USE_ACM = xyes; then
43863 gst_check_save_LIBS=$LIBS
43864 gst_check_save_LDFLAGS=$LDFLAGS
43865 gst_check_save_CFLAGS=$CFLAGS
43866 gst_check_save_CPPFLAGS=$CPPFLAGS
43867 gst_check_save_CXXFLAGS=$CXXFLAGS
43871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for ACM support" >&5
43872 $as_echo_n "checking Checking for ACM support... " >&6; }
43873 for ac_header in windows.h msacm.h
43875 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
43876 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
43877 #include <windows.h>
43879 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
43880 cat >>confdefs.h <<_ACEOF
43881 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
43895 LIBS=$gst_check_save_LIBS
43896 LDFLAGS=$gst_check_save_LDFLAGS
43897 CFLAGS=$gst_check_save_CFLAGS
43898 CPPFLAGS=$gst_check_save_CPPFLAGS
43899 CXXFLAGS=$gst_check_save_CXXFLAGS
43901 if test x$HAVE_ACM = xno; then
43904 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: acm" >&5
43905 $as_echo "$as_me: *** These plugins will be built: acm" >&6;}
43908 if test x$USE_ACM = xyes; then
43910 if test "xacm" != "x"; then
43911 GST_PLUGINS_YES="\tacm\n$GST_PLUGINS_YES"
43914 $as_echo "#define HAVE_ACM /**/" >>confdefs.h
43917 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: acm" >&5
43918 $as_echo "$as_me: *** These plugins will not be built: acm" >&6;}
43919 if test "xacm" != "x"; then
43920 GST_PLUGINS_NO="\tacm\n$GST_PLUGINS_NO"
43924 if test x$USE_ACM = xyes; then
43935 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: VDPAU ***" >&5
43936 $as_echo "$as_me: *** checking feature: VDPAU ***" >&6;}
43937 if test "xvdpau" != "x"
43939 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: vdpau ***" >&5
43940 $as_echo "$as_me: *** for plug-ins: vdpau ***" >&6;}
43943 if test "x$USE_VDPAU" = "xno"; then
43946 # Check whether --enable-vdpau was given.
43947 if test "${enable_vdpau+set}" = set; then :
43948 enableval=$enable_vdpau; case "${enableval}" in
43949 yes) USE_VDPAU=yes;;
43951 *) as_fn_error $? "bad value ${enableval} for --enable-vdpau" "$LINENO" 5 ;;
43957 if test "x$NOUSE" = "xyes"; then
43959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** vdpau pre-configured not to be built" >&5
43960 $as_echo "$as_me: WARNING: *** vdpau pre-configured not to be built" >&2;}
43965 if test x$USE_VDPAU = xyes; then
43967 gst_check_save_LIBS=$LIBS
43968 gst_check_save_LDFLAGS=$LDFLAGS
43969 gst_check_save_CFLAGS=$CFLAGS
43970 gst_check_save_CPPFLAGS=$CPPFLAGS
43971 gst_check_save_CXXFLAGS=$CXXFLAGS
43981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VDPAU" >&5
43982 $as_echo_n "checking for VDPAU... " >&6; }
43984 if test -n "$PKG_CONFIG"; then
43985 if test -n "$VDPAU_CFLAGS"; then
43986 pkg_cv_VDPAU_CFLAGS="$VDPAU_CFLAGS"
43988 if test -n "$PKG_CONFIG" && \
43989 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vdpau\""; } >&5
43990 ($PKG_CONFIG --exists --print-errors "vdpau") 2>&5
43992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
43993 test $ac_status = 0; }; then
43994 pkg_cv_VDPAU_CFLAGS=`$PKG_CONFIG --cflags "vdpau" 2>/dev/null`
44002 if test -n "$PKG_CONFIG"; then
44003 if test -n "$VDPAU_LIBS"; then
44004 pkg_cv_VDPAU_LIBS="$VDPAU_LIBS"
44006 if test -n "$PKG_CONFIG" && \
44007 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vdpau\""; } >&5
44008 ($PKG_CONFIG --exists --print-errors "vdpau") 2>&5
44010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44011 test $ac_status = 0; }; then
44012 pkg_cv_VDPAU_LIBS=`$PKG_CONFIG --libs "vdpau" 2>/dev/null`
44023 if test $pkg_failed = yes; then
44025 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44026 _pkg_short_errors_supported=yes
44028 _pkg_short_errors_supported=no
44030 if test $_pkg_short_errors_supported = yes; then
44031 VDPAU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vdpau"`
44033 VDPAU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "vdpau"`
44035 # Put the nasty error message in config.log where it belongs
44036 echo "$VDPAU_PKG_ERRORS" >&5
44038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44039 $as_echo "no" >&6; }
44041 if test "$HAVE_VDPAU" = "no"; then
44042 saved_CPPFLAGS="$CPPFLAGS"
44043 ac_fn_c_check_header_mongrel "$LINENO" "vdpau/vdpau.h" "ac_cv_header_vdpau_vdpau_h" "$ac_includes_default"
44044 if test "x$ac_cv_header_vdpau_vdpau_h" = xyes; then :
44050 if test -z "$HAVE_VDPAU_H"; then
44051 { $as_echo "$as_me:${as_lineno-$LINENO}: VDPAU header not in standard path. Checking /usr/include/nvidia" >&5
44052 $as_echo "$as_me: VDPAU header not in standard path. Checking /usr/include/nvidia" >&6;}
44053 unset ac_cv_header_vdpau_vdpau_h
44054 unset ac_cv_header_vdpau_vdpau_x11_h
44055 VDPAU_CFLAGS="-I/usr/include/nvidia"
44056 VDPAU_LIBS="-L/usr/lib/nvidia -lvdpau"
44057 CPPFLAGS="$VDPAU_CFLAGS $saved_CPPFLAGS"
44058 ac_fn_c_check_header_mongrel "$LINENO" "vdpau/vdpau.h" "ac_cv_header_vdpau_vdpau_h" "$ac_includes_default"
44059 if test "x$ac_cv_header_vdpau_vdpau_h" = xyes; then :
44066 ac_fn_c_check_header_mongrel "$LINENO" "vdpau/vdpau_x11.h" "ac_cv_header_vdpau_vdpau_x11_h" "$ac_includes_default"
44067 if test "x$ac_cv_header_vdpau_vdpau_x11_h" = xyes; then :
44068 HAVE_VDPAU_X11_H=yes
44073 if test "x$HAVE_VDPAU_H" = "xyes" -a "x$HAVE_VDPAU_X11_H" = "xyes"; then
44074 { $as_echo "$as_me:${as_lineno-$LINENO}: VDPAU headers found. Checking libraries" >&5
44075 $as_echo "$as_me: VDPAU headers found. Checking libraries" >&6;}
44077 LIBS="$VDPAU_LIBS $saved_LIBS"
44078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vdp_device_create_x11 in -lvdpau" >&5
44079 $as_echo_n "checking for vdp_device_create_x11 in -lvdpau... " >&6; }
44080 if ${ac_cv_lib_vdpau_vdp_device_create_x11+:} false; then :
44081 $as_echo_n "(cached) " >&6
44083 ac_check_lib_save_LIBS=$LIBS
44084 LIBS="-lvdpau $LIBS"
44085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44086 /* end confdefs.h. */
44088 /* Override any GCC internal prototype to avoid an error.
44089 Use char because int might match the return type of a GCC
44090 builtin and then its argument prototype would still apply. */
44094 char vdp_device_create_x11 ();
44098 return vdp_device_create_x11 ();
44103 if ac_fn_c_try_link "$LINENO"; then :
44104 ac_cv_lib_vdpau_vdp_device_create_x11=yes
44106 ac_cv_lib_vdpau_vdp_device_create_x11=no
44108 rm -f core conftest.err conftest.$ac_objext \
44109 conftest$ac_exeext conftest.$ac_ext
44110 LIBS=$ac_check_lib_save_LIBS
44112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vdpau_vdp_device_create_x11" >&5
44113 $as_echo "$ac_cv_lib_vdpau_vdp_device_create_x11" >&6; }
44114 if test "x$ac_cv_lib_vdpau_vdp_device_create_x11" = xyes; then :
44122 elif test $pkg_failed = untried; then
44124 if test "$HAVE_VDPAU" = "no"; then
44125 saved_CPPFLAGS="$CPPFLAGS"
44126 ac_fn_c_check_header_mongrel "$LINENO" "vdpau/vdpau.h" "ac_cv_header_vdpau_vdpau_h" "$ac_includes_default"
44127 if test "x$ac_cv_header_vdpau_vdpau_h" = xyes; then :
44133 if test -z "$HAVE_VDPAU_H"; then
44134 { $as_echo "$as_me:${as_lineno-$LINENO}: VDPAU header not in standard path. Checking /usr/include/nvidia" >&5
44135 $as_echo "$as_me: VDPAU header not in standard path. Checking /usr/include/nvidia" >&6;}
44136 unset ac_cv_header_vdpau_vdpau_h
44137 unset ac_cv_header_vdpau_vdpau_x11_h
44138 VDPAU_CFLAGS="-I/usr/include/nvidia"
44139 VDPAU_LIBS="-L/usr/lib/nvidia -lvdpau"
44140 CPPFLAGS="$VDPAU_CFLAGS $saved_CPPFLAGS"
44141 ac_fn_c_check_header_mongrel "$LINENO" "vdpau/vdpau.h" "ac_cv_header_vdpau_vdpau_h" "$ac_includes_default"
44142 if test "x$ac_cv_header_vdpau_vdpau_h" = xyes; then :
44149 ac_fn_c_check_header_mongrel "$LINENO" "vdpau/vdpau_x11.h" "ac_cv_header_vdpau_vdpau_x11_h" "$ac_includes_default"
44150 if test "x$ac_cv_header_vdpau_vdpau_x11_h" = xyes; then :
44151 HAVE_VDPAU_X11_H=yes
44156 if test "x$HAVE_VDPAU_H" = "xyes" -a "x$HAVE_VDPAU_X11_H" = "xyes"; then
44157 { $as_echo "$as_me:${as_lineno-$LINENO}: VDPAU headers found. Checking libraries" >&5
44158 $as_echo "$as_me: VDPAU headers found. Checking libraries" >&6;}
44160 LIBS="$VDPAU_LIBS $saved_LIBS"
44161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vdp_device_create_x11 in -lvdpau" >&5
44162 $as_echo_n "checking for vdp_device_create_x11 in -lvdpau... " >&6; }
44163 if ${ac_cv_lib_vdpau_vdp_device_create_x11+:} false; then :
44164 $as_echo_n "(cached) " >&6
44166 ac_check_lib_save_LIBS=$LIBS
44167 LIBS="-lvdpau $LIBS"
44168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44169 /* end confdefs.h. */
44171 /* Override any GCC internal prototype to avoid an error.
44172 Use char because int might match the return type of a GCC
44173 builtin and then its argument prototype would still apply. */
44177 char vdp_device_create_x11 ();
44181 return vdp_device_create_x11 ();
44186 if ac_fn_c_try_link "$LINENO"; then :
44187 ac_cv_lib_vdpau_vdp_device_create_x11=yes
44189 ac_cv_lib_vdpau_vdp_device_create_x11=no
44191 rm -f core conftest.err conftest.$ac_objext \
44192 conftest$ac_exeext conftest.$ac_ext
44193 LIBS=$ac_check_lib_save_LIBS
44195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vdpau_vdp_device_create_x11" >&5
44196 $as_echo "$ac_cv_lib_vdpau_vdp_device_create_x11" >&6; }
44197 if test "x$ac_cv_lib_vdpau_vdp_device_create_x11" = xyes; then :
44206 VDPAU_CFLAGS=$pkg_cv_VDPAU_CFLAGS
44207 VDPAU_LIBS=$pkg_cv_VDPAU_LIBS
44208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44209 $as_echo "yes" >&6; }
44213 if test "$HAVE_VDPAU" = "yes"; then
44214 { $as_echo "$as_me:${as_lineno-$LINENO}: Found up to date VDPAU installation" >&5
44215 $as_echo "$as_me: Found up to date VDPAU installation" >&6;}
44221 LIBS=$gst_check_save_LIBS
44222 LDFLAGS=$gst_check_save_LDFLAGS
44223 CFLAGS=$gst_check_save_CFLAGS
44224 CPPFLAGS=$gst_check_save_CPPFLAGS
44225 CXXFLAGS=$gst_check_save_CXXFLAGS
44227 if test x$HAVE_VDPAU = xno; then
44230 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: vdpau" >&5
44231 $as_echo "$as_me: *** These plugins will be built: vdpau" >&6;}
44234 if test x$USE_VDPAU = xyes; then
44236 if test "xvdpau" != "x"; then
44237 GST_PLUGINS_YES="\tvdpau\n$GST_PLUGINS_YES"
44240 $as_echo "#define HAVE_VDPAU /**/" >>confdefs.h
44243 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: vdpau" >&5
44244 $as_echo "$as_me: *** These plugins will not be built: vdpau" >&6;}
44245 if test "xvdpau" != "x"; then
44246 GST_PLUGINS_NO="\tvdpau\n$GST_PLUGINS_NO"
44250 if test x$USE_VDPAU = xyes; then
44252 USE_VDPAU_FALSE='#'
44261 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Schroedinger video codec ***" >&5
44262 $as_echo "$as_me: *** checking feature: Schroedinger video codec ***" >&6;}
44263 if test "xschro" != "x"
44265 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: schro ***" >&5
44266 $as_echo "$as_me: *** for plug-ins: schro ***" >&6;}
44269 if test "x$USE_SCHRO" = "xno"; then
44272 # Check whether --enable-schro was given.
44273 if test "${enable_schro+set}" = set; then :
44274 enableval=$enable_schro; case "${enableval}" in
44275 yes) USE_SCHRO=yes;;
44277 *) as_fn_error $? "bad value ${enableval} for --enable-schro" "$LINENO" 5 ;;
44283 if test "x$NOUSE" = "xyes"; then
44285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** schro pre-configured not to be built" >&5
44286 $as_echo "$as_me: WARNING: *** schro pre-configured not to be built" >&2;}
44291 if test x$USE_SCHRO = xyes; then
44293 gst_check_save_LIBS=$LIBS
44294 gst_check_save_LDFLAGS=$LDFLAGS
44295 gst_check_save_CFLAGS=$CFLAGS
44296 gst_check_save_CPPFLAGS=$CPPFLAGS
44297 gst_check_save_CXXFLAGS=$CXXFLAGS
44302 which="schroedinger-1.0 >= 1.0.7"
44307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCHRO" >&5
44308 $as_echo_n "checking for SCHRO... " >&6; }
44310 if test -n "$PKG_CONFIG"; then
44311 if test -n "$SCHRO_CFLAGS"; then
44312 pkg_cv_SCHRO_CFLAGS="$SCHRO_CFLAGS"
44314 if test -n "$PKG_CONFIG" && \
44315 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
44316 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
44318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44319 test $ac_status = 0; }; then
44320 pkg_cv_SCHRO_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
44328 if test -n "$PKG_CONFIG"; then
44329 if test -n "$SCHRO_LIBS"; then
44330 pkg_cv_SCHRO_LIBS="$SCHRO_LIBS"
44332 if test -n "$PKG_CONFIG" && \
44333 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
44334 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
44336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44337 test $ac_status = 0; }; then
44338 pkg_cv_SCHRO_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
44349 if test $pkg_failed = yes; then
44351 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44352 _pkg_short_errors_supported=yes
44354 _pkg_short_errors_supported=no
44356 if test $_pkg_short_errors_supported = yes; then
44357 SCHRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
44359 SCHRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
44361 # Put the nasty error message in config.log where it belongs
44362 echo "$SCHRO_PKG_ERRORS" >&5
44364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44365 $as_echo "no" >&6; }
44368 if test "x$required" = "xyes"; then
44369 as_fn_error $? "$SCHRO_PKG_ERRORS" "$LINENO" 5
44371 { $as_echo "$as_me:${as_lineno-$LINENO}: $SCHRO_PKG_ERRORS" >&5
44372 $as_echo "$as_me: $SCHRO_PKG_ERRORS" >&6;}
44375 elif test $pkg_failed = untried; then
44378 if test "x$required" = "xyes"; then
44379 as_fn_error $? "$SCHRO_PKG_ERRORS" "$LINENO" 5
44381 { $as_echo "$as_me:${as_lineno-$LINENO}: $SCHRO_PKG_ERRORS" >&5
44382 $as_echo "$as_me: $SCHRO_PKG_ERRORS" >&6;}
44386 SCHRO_CFLAGS=$pkg_cv_SCHRO_CFLAGS
44387 SCHRO_LIBS=$pkg_cv_SCHRO_LIBS
44388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44389 $as_echo "yes" >&6; }
44398 LIBS=$gst_check_save_LIBS
44399 LDFLAGS=$gst_check_save_LDFLAGS
44400 CFLAGS=$gst_check_save_CFLAGS
44401 CPPFLAGS=$gst_check_save_CPPFLAGS
44402 CXXFLAGS=$gst_check_save_CXXFLAGS
44404 if test x$HAVE_SCHRO = xno; then
44407 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: schro" >&5
44408 $as_echo "$as_me: *** These plugins will be built: schro" >&6;}
44411 if test x$USE_SCHRO = xyes; then
44413 if test "xschro" != "x"; then
44414 GST_PLUGINS_YES="\tschro\n$GST_PLUGINS_YES"
44417 $as_echo "#define HAVE_SCHRO /**/" >>confdefs.h
44420 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: schro" >&5
44421 $as_echo "$as_me: *** These plugins will not be built: schro" >&6;}
44422 if test "xschro" != "x"; then
44423 GST_PLUGINS_NO="\tschro\n$GST_PLUGINS_NO"
44427 if test x$USE_SCHRO = xyes; then
44429 USE_SCHRO_FALSE='#'
44438 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: ZBar barcode detector ***" >&5
44439 $as_echo "$as_me: *** checking feature: ZBar barcode detector ***" >&6;}
44440 if test "xzbar" != "x"
44442 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: zbar ***" >&5
44443 $as_echo "$as_me: *** for plug-ins: zbar ***" >&6;}
44446 if test "x$USE_ZBAR" = "xno"; then
44449 # Check whether --enable-zbar was given.
44450 if test "${enable_zbar+set}" = set; then :
44451 enableval=$enable_zbar; case "${enableval}" in
44452 yes) USE_ZBAR=yes;;
44454 *) as_fn_error $? "bad value ${enableval} for --enable-zbar" "$LINENO" 5 ;;
44460 if test "x$NOUSE" = "xyes"; then
44462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** zbar pre-configured not to be built" >&5
44463 $as_echo "$as_me: WARNING: *** zbar pre-configured not to be built" >&2;}
44468 if test x$USE_ZBAR = xyes; then
44470 gst_check_save_LIBS=$LIBS
44471 gst_check_save_LDFLAGS=$LDFLAGS
44472 gst_check_save_CFLAGS=$CFLAGS
44473 gst_check_save_CPPFLAGS=$CPPFLAGS
44474 gst_check_save_CXXFLAGS=$CXXFLAGS
44479 which="zbar >= 0.9"
44484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZBAR" >&5
44485 $as_echo_n "checking for ZBAR... " >&6; }
44487 if test -n "$PKG_CONFIG"; then
44488 if test -n "$ZBAR_CFLAGS"; then
44489 pkg_cv_ZBAR_CFLAGS="$ZBAR_CFLAGS"
44491 if test -n "$PKG_CONFIG" && \
44492 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
44493 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
44495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44496 test $ac_status = 0; }; then
44497 pkg_cv_ZBAR_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
44505 if test -n "$PKG_CONFIG"; then
44506 if test -n "$ZBAR_LIBS"; then
44507 pkg_cv_ZBAR_LIBS="$ZBAR_LIBS"
44509 if test -n "$PKG_CONFIG" && \
44510 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
44511 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
44513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44514 test $ac_status = 0; }; then
44515 pkg_cv_ZBAR_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
44526 if test $pkg_failed = yes; then
44528 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44529 _pkg_short_errors_supported=yes
44531 _pkg_short_errors_supported=no
44533 if test $_pkg_short_errors_supported = yes; then
44534 ZBAR_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
44536 ZBAR_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
44538 # Put the nasty error message in config.log where it belongs
44539 echo "$ZBAR_PKG_ERRORS" >&5
44541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44542 $as_echo "no" >&6; }
44545 if test "x$required" = "xyes"; then
44546 as_fn_error $? "$ZBAR_PKG_ERRORS" "$LINENO" 5
44548 { $as_echo "$as_me:${as_lineno-$LINENO}: $ZBAR_PKG_ERRORS" >&5
44549 $as_echo "$as_me: $ZBAR_PKG_ERRORS" >&6;}
44552 elif test $pkg_failed = untried; then
44555 if test "x$required" = "xyes"; then
44556 as_fn_error $? "$ZBAR_PKG_ERRORS" "$LINENO" 5
44558 { $as_echo "$as_me:${as_lineno-$LINENO}: $ZBAR_PKG_ERRORS" >&5
44559 $as_echo "$as_me: $ZBAR_PKG_ERRORS" >&6;}
44563 ZBAR_CFLAGS=$pkg_cv_ZBAR_CFLAGS
44564 ZBAR_LIBS=$pkg_cv_ZBAR_LIBS
44565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44566 $as_echo "yes" >&6; }
44575 LIBS=$gst_check_save_LIBS
44576 LDFLAGS=$gst_check_save_LDFLAGS
44577 CFLAGS=$gst_check_save_CFLAGS
44578 CPPFLAGS=$gst_check_save_CPPFLAGS
44579 CXXFLAGS=$gst_check_save_CXXFLAGS
44581 if test x$HAVE_ZBAR = xno; then
44584 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: zbar" >&5
44585 $as_echo "$as_me: *** These plugins will be built: zbar" >&6;}
44588 if test x$USE_ZBAR = xyes; then
44590 if test "xzbar" != "x"; then
44591 GST_PLUGINS_YES="\tzbar\n$GST_PLUGINS_YES"
44594 $as_echo "#define HAVE_ZBAR /**/" >>confdefs.h
44597 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: zbar" >&5
44598 $as_echo "$as_me: *** These plugins will not be built: zbar" >&6;}
44599 if test "xzbar" != "x"; then
44600 GST_PLUGINS_NO="\tzbar\n$GST_PLUGINS_NO"
44604 if test x$USE_ZBAR = xyes; then
44615 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: VP8 decoder ***" >&5
44616 $as_echo "$as_me: *** checking feature: VP8 decoder ***" >&6;}
44617 if test "xvp8" != "x"
44619 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: vp8 ***" >&5
44620 $as_echo "$as_me: *** for plug-ins: vp8 ***" >&6;}
44623 if test "x$USE_VP8" = "xno"; then
44626 # Check whether --enable-vp8 was given.
44627 if test "${enable_vp8+set}" = set; then :
44628 enableval=$enable_vp8; case "${enableval}" in
44631 *) as_fn_error $? "bad value ${enableval} for --enable-vp8" "$LINENO" 5 ;;
44637 if test "x$NOUSE" = "xyes"; then
44639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** vp8 pre-configured not to be built" >&5
44640 $as_echo "$as_me: WARNING: *** vp8 pre-configured not to be built" >&2;}
44645 if test x$USE_VP8 = xyes; then
44647 gst_check_save_LIBS=$LIBS
44648 gst_check_save_LDFLAGS=$LDFLAGS
44649 gst_check_save_CFLAGS=$CFLAGS
44650 gst_check_save_CPPFLAGS=$CPPFLAGS
44651 gst_check_save_CXXFLAGS=$CXXFLAGS
44657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vpx_codec_version in -lvpx" >&5
44658 $as_echo_n "checking for vpx_codec_version in -lvpx... " >&6; }
44659 if ${ac_cv_lib_vpx_vpx_codec_version+:} false; then :
44660 $as_echo_n "(cached) " >&6
44662 ac_check_lib_save_LIBS=$LIBS
44664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44665 /* end confdefs.h. */
44667 /* Override any GCC internal prototype to avoid an error.
44668 Use char because int might match the return type of a GCC
44669 builtin and then its argument prototype would still apply. */
44673 char vpx_codec_version ();
44677 return vpx_codec_version ();
44682 if ac_fn_c_try_link "$LINENO"; then :
44683 ac_cv_lib_vpx_vpx_codec_version=yes
44685 ac_cv_lib_vpx_vpx_codec_version=no
44687 rm -f core conftest.err conftest.$ac_objext \
44688 conftest$ac_exeext conftest.$ac_ext
44689 LIBS=$ac_check_lib_save_LIBS
44691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vpx_vpx_codec_version" >&5
44692 $as_echo "$ac_cv_lib_vpx_vpx_codec_version" >&6; }
44693 if test "x$ac_cv_lib_vpx_vpx_codec_version" = xyes; then :
44699 if test "x$HAVE_VPX" = "xyes"; then
44700 ac_fn_c_check_header_mongrel "$LINENO" "vpx/vpx_codec.h" "ac_cv_header_vpx_vpx_codec_h" "$ac_includes_default"
44701 if test "x$ac_cv_header_vpx_vpx_codec_h" = xyes; then :
44708 if test "x$HAVE_VPX" = "xyes"; then
44710 HAVE_VP8_ENCODER=no
44711 HAVE_VP8_DECODER=no
44714 LIBS="$LIBS $LIBM -lpthread"
44715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vpx_codec_vp8_cx_algo in -lvpx" >&5
44716 $as_echo_n "checking for vpx_codec_vp8_cx_algo in -lvpx... " >&6; }
44717 if ${ac_cv_lib_vpx_vpx_codec_vp8_cx_algo+:} false; then :
44718 $as_echo_n "(cached) " >&6
44720 ac_check_lib_save_LIBS=$LIBS
44722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44723 /* end confdefs.h. */
44725 /* Override any GCC internal prototype to avoid an error.
44726 Use char because int might match the return type of a GCC
44727 builtin and then its argument prototype would still apply. */
44731 char vpx_codec_vp8_cx_algo ();
44735 return vpx_codec_vp8_cx_algo ();
44740 if ac_fn_c_try_link "$LINENO"; then :
44741 ac_cv_lib_vpx_vpx_codec_vp8_cx_algo=yes
44743 ac_cv_lib_vpx_vpx_codec_vp8_cx_algo=no
44745 rm -f core conftest.err conftest.$ac_objext \
44746 conftest$ac_exeext conftest.$ac_ext
44747 LIBS=$ac_check_lib_save_LIBS
44749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vpx_vpx_codec_vp8_cx_algo" >&5
44750 $as_echo "$ac_cv_lib_vpx_vpx_codec_vp8_cx_algo" >&6; }
44751 if test "x$ac_cv_lib_vpx_vpx_codec_vp8_cx_algo" = xyes; then :
44755 $as_echo "#define HAVE_VP8_ENCODER 1" >>confdefs.h
44759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VP8E_SET_TUNING presence" >&5
44760 $as_echo_n "checking for VP8E_SET_TUNING presence... " >&6; }
44761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44762 /* end confdefs.h. */
44764 #include <vpx/vpx_encoder.h>
44765 #include <vpx/vp8cx.h>
44766 int foo=VP8E_SET_TUNING;
44778 if ac_fn_c_try_compile "$LINENO"; then :
44781 $as_echo "#define HAVE_VP8ENC_TUNING 1" >>confdefs.h
44783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
44784 $as_echo "yes" >&6; }
44788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
44789 $as_echo "no" >&6; }
44792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vpx_codec_vp8_dx_algo in -lvpx" >&5
44797 $as_echo_n "checking for vpx_codec_vp8_dx_algo in -lvpx... " >&6; }
44798 if ${ac_cv_lib_vpx_vpx_codec_vp8_dx_algo+:} false; then :
44799 $as_echo_n "(cached) " >&6
44801 ac_check_lib_save_LIBS=$LIBS
44803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44804 /* end confdefs.h. */
44806 /* Override any GCC internal prototype to avoid an error.
44807 Use char because int might match the return type of a GCC
44808 builtin and then its argument prototype would still apply. */
44812 char vpx_codec_vp8_dx_algo ();
44816 return vpx_codec_vp8_dx_algo ();
44821 if ac_fn_c_try_link "$LINENO"; then :
44822 ac_cv_lib_vpx_vpx_codec_vp8_dx_algo=yes
44824 ac_cv_lib_vpx_vpx_codec_vp8_dx_algo=no
44826 rm -f core conftest.err conftest.$ac_objext \
44827 conftest$ac_exeext conftest.$ac_ext
44828 LIBS=$ac_check_lib_save_LIBS
44830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vpx_vpx_codec_vp8_dx_algo" >&5
44831 $as_echo "$ac_cv_lib_vpx_vpx_codec_vp8_dx_algo" >&6; }
44832 if test "x$ac_cv_lib_vpx_vpx_codec_vp8_dx_algo" = xyes; then :
44836 $as_echo "#define HAVE_VP8_DECODER 1" >>confdefs.h
44856 LIBS=$gst_check_save_LIBS
44857 LDFLAGS=$gst_check_save_LDFLAGS
44858 CFLAGS=$gst_check_save_CFLAGS
44859 CPPFLAGS=$gst_check_save_CPPFLAGS
44860 CXXFLAGS=$gst_check_save_CXXFLAGS
44862 if test x$HAVE_VP8 = xno; then
44865 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: vp8" >&5
44866 $as_echo "$as_me: *** These plugins will be built: vp8" >&6;}
44869 if test x$USE_VP8 = xyes; then
44871 if test "xvp8" != "x"; then
44872 GST_PLUGINS_YES="\tvp8\n$GST_PLUGINS_YES"
44875 $as_echo "#define HAVE_VP8 /**/" >>confdefs.h
44878 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: vp8" >&5
44879 $as_echo "$as_me: *** These plugins will not be built: vp8" >&6;}
44880 if test "xvp8" != "x"; then
44881 GST_PLUGINS_NO="\tvp8\n$GST_PLUGINS_NO"
44885 if test x$USE_VP8 = xyes; then
44896 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: rtmp library ***" >&5
44897 $as_echo "$as_me: *** checking feature: rtmp library ***" >&6;}
44898 if test "xrtmp" != "x"
44900 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: rtmp ***" >&5
44901 $as_echo "$as_me: *** for plug-ins: rtmp ***" >&6;}
44904 if test "x$USE_RTMP" = "xno"; then
44907 # Check whether --enable-rtmp was given.
44908 if test "${enable_rtmp+set}" = set; then :
44909 enableval=$enable_rtmp; case "${enableval}" in
44910 yes) USE_RTMP=yes;;
44912 *) as_fn_error $? "bad value ${enableval} for --enable-rtmp" "$LINENO" 5 ;;
44918 if test "x$NOUSE" = "xyes"; then
44920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** rtmp pre-configured not to be built" >&5
44921 $as_echo "$as_me: WARNING: *** rtmp pre-configured not to be built" >&2;}
44926 if test x$USE_RTMP = xyes; then
44928 gst_check_save_LIBS=$LIBS
44929 gst_check_save_LDFLAGS=$LDFLAGS
44930 gst_check_save_CFLAGS=$CFLAGS
44931 gst_check_save_CPPFLAGS=$CPPFLAGS
44932 gst_check_save_CXXFLAGS=$CXXFLAGS
44942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RTMP" >&5
44943 $as_echo_n "checking for RTMP... " >&6; }
44945 if test -n "$PKG_CONFIG"; then
44946 if test -n "$RTMP_CFLAGS"; then
44947 pkg_cv_RTMP_CFLAGS="$RTMP_CFLAGS"
44949 if test -n "$PKG_CONFIG" && \
44950 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
44951 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
44953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44954 test $ac_status = 0; }; then
44955 pkg_cv_RTMP_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
44963 if test -n "$PKG_CONFIG"; then
44964 if test -n "$RTMP_LIBS"; then
44965 pkg_cv_RTMP_LIBS="$RTMP_LIBS"
44967 if test -n "$PKG_CONFIG" && \
44968 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
44969 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
44971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
44972 test $ac_status = 0; }; then
44973 pkg_cv_RTMP_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
44984 if test $pkg_failed = yes; then
44986 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44987 _pkg_short_errors_supported=yes
44989 _pkg_short_errors_supported=no
44991 if test $_pkg_short_errors_supported = yes; then
44992 RTMP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
44994 RTMP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
44996 # Put the nasty error message in config.log where it belongs
44997 echo "$RTMP_PKG_ERRORS" >&5
44999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45000 $as_echo "no" >&6; }
45003 if test "x$required" = "xyes"; then
45004 as_fn_error $? "$RTMP_PKG_ERRORS" "$LINENO" 5
45006 { $as_echo "$as_me:${as_lineno-$LINENO}: $RTMP_PKG_ERRORS" >&5
45007 $as_echo "$as_me: $RTMP_PKG_ERRORS" >&6;}
45010 elif test $pkg_failed = untried; then
45013 if test "x$required" = "xyes"; then
45014 as_fn_error $? "$RTMP_PKG_ERRORS" "$LINENO" 5
45016 { $as_echo "$as_me:${as_lineno-$LINENO}: $RTMP_PKG_ERRORS" >&5
45017 $as_echo "$as_me: $RTMP_PKG_ERRORS" >&6;}
45021 RTMP_CFLAGS=$pkg_cv_RTMP_CFLAGS
45022 RTMP_LIBS=$pkg_cv_RTMP_LIBS
45023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45024 $as_echo "yes" >&6; }
45033 LIBS=$gst_check_save_LIBS
45034 LDFLAGS=$gst_check_save_LDFLAGS
45035 CFLAGS=$gst_check_save_CFLAGS
45036 CPPFLAGS=$gst_check_save_CPPFLAGS
45037 CXXFLAGS=$gst_check_save_CXXFLAGS
45039 if test x$HAVE_RTMP = xno; then
45042 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: rtmp" >&5
45043 $as_echo "$as_me: *** These plugins will be built: rtmp" >&6;}
45046 if test x$USE_RTMP = xyes; then
45048 if test "xrtmp" != "x"; then
45049 GST_PLUGINS_YES="\trtmp\n$GST_PLUGINS_YES"
45052 $as_echo "#define HAVE_RTMP /**/" >>confdefs.h
45055 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: rtmp" >&5
45056 $as_echo "$as_me: *** These plugins will not be built: rtmp" >&6;}
45057 if test "xrtmp" != "x"; then
45058 GST_PLUGINS_NO="\trtmp\n$GST_PLUGINS_NO"
45062 if test x$USE_RTMP = xyes; then
45073 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Spandsp ***" >&5
45074 $as_echo "$as_me: *** checking feature: Spandsp ***" >&6;}
45075 if test "xspandsp" != "x"
45077 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: spandsp ***" >&5
45078 $as_echo "$as_me: *** for plug-ins: spandsp ***" >&6;}
45081 if test "x$USE_SPANDSP" = "xno"; then
45084 # Check whether --enable-spandsp was given.
45085 if test "${enable_spandsp+set}" = set; then :
45086 enableval=$enable_spandsp; case "${enableval}" in
45087 yes) USE_SPANDSP=yes;;
45088 no) USE_SPANDSP=no;;
45089 *) as_fn_error $? "bad value ${enableval} for --enable-spandsp" "$LINENO" 5 ;;
45095 if test "x$NOUSE" = "xyes"; then
45097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** spandsp pre-configured not to be built" >&5
45098 $as_echo "$as_me: WARNING: *** spandsp pre-configured not to be built" >&2;}
45103 if test x$USE_SPANDSP = xyes; then
45105 gst_check_save_LIBS=$LIBS
45106 gst_check_save_LDFLAGS=$LDFLAGS
45107 gst_check_save_CFLAGS=$CFLAGS
45108 gst_check_save_CPPFLAGS=$CPPFLAGS
45109 gst_check_save_CXXFLAGS=$CXXFLAGS
45115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPANDSP" >&5
45116 $as_echo_n "checking for SPANDSP... " >&6; }
45118 if test -n "$PKG_CONFIG"; then
45119 if test -n "$SPANDSP_CFLAGS"; then
45120 pkg_cv_SPANDSP_CFLAGS="$SPANDSP_CFLAGS"
45122 if test -n "$PKG_CONFIG" && \
45123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spandsp >= 0.0.6\""; } >&5
45124 ($PKG_CONFIG --exists --print-errors "spandsp >= 0.0.6") 2>&5
45126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
45127 test $ac_status = 0; }; then
45128 pkg_cv_SPANDSP_CFLAGS=`$PKG_CONFIG --cflags "spandsp >= 0.0.6" 2>/dev/null`
45136 if test -n "$PKG_CONFIG"; then
45137 if test -n "$SPANDSP_LIBS"; then
45138 pkg_cv_SPANDSP_LIBS="$SPANDSP_LIBS"
45140 if test -n "$PKG_CONFIG" && \
45141 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"spandsp >= 0.0.6\""; } >&5
45142 ($PKG_CONFIG --exists --print-errors "spandsp >= 0.0.6") 2>&5
45144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
45145 test $ac_status = 0; }; then
45146 pkg_cv_SPANDSP_LIBS=`$PKG_CONFIG --libs "spandsp >= 0.0.6" 2>/dev/null`
45157 if test $pkg_failed = yes; then
45159 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45160 _pkg_short_errors_supported=yes
45162 _pkg_short_errors_supported=no
45164 if test $_pkg_short_errors_supported = yes; then
45165 SPANDSP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "spandsp >= 0.0.6"`
45167 SPANDSP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "spandsp >= 0.0.6"`
45169 # Put the nasty error message in config.log where it belongs
45170 echo "$SPANDSP_PKG_ERRORS" >&5
45172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45173 $as_echo "no" >&6; }
45177 elif test $pkg_failed = untried; then
45182 SPANDSP_CFLAGS=$pkg_cv_SPANDSP_CFLAGS
45183 SPANDSP_LIBS=$pkg_cv_SPANDSP_LIBS
45184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45185 $as_echo "yes" >&6; }
45191 LIBS=$gst_check_save_LIBS
45192 LDFLAGS=$gst_check_save_LDFLAGS
45193 CFLAGS=$gst_check_save_CFLAGS
45194 CPPFLAGS=$gst_check_save_CPPFLAGS
45195 CXXFLAGS=$gst_check_save_CXXFLAGS
45197 if test x$HAVE_SPANDSP = xno; then
45200 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: spandsp" >&5
45201 $as_echo "$as_me: *** These plugins will be built: spandsp" >&6;}
45204 if test x$USE_SPANDSP = xyes; then
45206 if test "xspandsp" != "x"; then
45207 GST_PLUGINS_YES="\tspandsp\n$GST_PLUGINS_YES"
45210 $as_echo "#define HAVE_SPANDSP /**/" >>confdefs.h
45213 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: spandsp" >&5
45214 $as_echo "$as_me: *** These plugins will not be built: spandsp" >&6;}
45215 if test "xspandsp" != "x"; then
45216 GST_PLUGINS_NO="\tspandsp\n$GST_PLUGINS_NO"
45220 if test x$USE_SPANDSP = xyes; then
45222 USE_SPANDSP_FALSE='#'
45224 USE_SPANDSP_TRUE='#'
45233 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GSettings plugin ***" >&5
45234 $as_echo "$as_me: *** checking feature: GSettings plugin ***" >&6;}
45235 if test "xgsettings" != "x"
45237 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gsettings ***" >&5
45238 $as_echo "$as_me: *** for plug-ins: gsettings ***" >&6;}
45241 if test "x$USE_GSETTINGS" = "xno"; then
45244 # Check whether --enable-gsettings was given.
45245 if test "${enable_gsettings+set}" = set; then :
45246 enableval=$enable_gsettings; case "${enableval}" in
45247 yes) USE_GSETTINGS=yes;;
45248 no) USE_GSETTINGS=no;;
45249 *) as_fn_error $? "bad value ${enableval} for --enable-gsettings" "$LINENO" 5 ;;
45255 if test "x$NOUSE" = "xyes"; then
45257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gsettings pre-configured not to be built" >&5
45258 $as_echo "$as_me: WARNING: *** gsettings pre-configured not to be built" >&2;}
45263 if test x$USE_GSETTINGS = xyes; then
45265 gst_check_save_LIBS=$LIBS
45266 gst_check_save_LDFLAGS=$LDFLAGS
45267 gst_check_save_CFLAGS=$CFLAGS
45268 gst_check_save_CPPFLAGS=$CPPFLAGS
45269 gst_check_save_CXXFLAGS=$CXXFLAGS
45274 which="gio-2.0 >= 2.25.0"
45279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSETTINGS" >&5
45280 $as_echo_n "checking for GSETTINGS... " >&6; }
45282 if test -n "$PKG_CONFIG"; then
45283 if test -n "$GSETTINGS_CFLAGS"; then
45284 pkg_cv_GSETTINGS_CFLAGS="$GSETTINGS_CFLAGS"
45286 if test -n "$PKG_CONFIG" && \
45287 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
45288 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
45290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
45291 test $ac_status = 0; }; then
45292 pkg_cv_GSETTINGS_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
45300 if test -n "$PKG_CONFIG"; then
45301 if test -n "$GSETTINGS_LIBS"; then
45302 pkg_cv_GSETTINGS_LIBS="$GSETTINGS_LIBS"
45304 if test -n "$PKG_CONFIG" && \
45305 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
45306 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
45308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
45309 test $ac_status = 0; }; then
45310 pkg_cv_GSETTINGS_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
45321 if test $pkg_failed = yes; then
45323 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45324 _pkg_short_errors_supported=yes
45326 _pkg_short_errors_supported=no
45328 if test $_pkg_short_errors_supported = yes; then
45329 GSETTINGS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
45331 GSETTINGS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
45333 # Put the nasty error message in config.log where it belongs
45334 echo "$GSETTINGS_PKG_ERRORS" >&5
45336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45337 $as_echo "no" >&6; }
45339 HAVE_GSETTINGS="no"
45340 if test "x$required" = "xyes"; then
45341 as_fn_error $? "$GSETTINGS_PKG_ERRORS" "$LINENO" 5
45343 { $as_echo "$as_me:${as_lineno-$LINENO}: $GSETTINGS_PKG_ERRORS" >&5
45344 $as_echo "$as_me: $GSETTINGS_PKG_ERRORS" >&6;}
45347 elif test $pkg_failed = untried; then
45349 HAVE_GSETTINGS="no"
45350 if test "x$required" = "xyes"; then
45351 as_fn_error $? "$GSETTINGS_PKG_ERRORS" "$LINENO" 5
45353 { $as_echo "$as_me:${as_lineno-$LINENO}: $GSETTINGS_PKG_ERRORS" >&5
45354 $as_echo "$as_me: $GSETTINGS_PKG_ERRORS" >&6;}
45358 GSETTINGS_CFLAGS=$pkg_cv_GSETTINGS_CFLAGS
45359 GSETTINGS_LIBS=$pkg_cv_GSETTINGS_LIBS
45360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45361 $as_echo "yes" >&6; }
45363 HAVE_GSETTINGS="yes"
45368 if test "x$HAVE_GSETTINGS" = "xyes"; then
45371 # Check whether --enable-schemas-compile was given.
45372 if test "${enable_schemas_compile+set}" = set; then :
45373 enableval=$enable_schemas_compile; case ${enableval} in
45374 yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
45375 no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
45376 *) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
45383 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45384 if test -n "$ac_tool_prefix"; then
45385 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45386 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
45387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
45388 $as_echo_n "checking for $ac_word... " >&6; }
45389 if ${ac_cv_path_PKG_CONFIG+:} false; then :
45390 $as_echo_n "(cached) " >&6
45392 case $PKG_CONFIG in
45394 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45398 for as_dir in $PATH
45401 test -z "$as_dir" && as_dir=.
45402 for ac_exec_ext in '' $ac_executable_extensions; do
45403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45404 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
45415 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45416 if test -n "$PKG_CONFIG"; then
45417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
45418 $as_echo "$PKG_CONFIG" >&6; }
45420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45421 $as_echo "no" >&6; }
45426 if test -z "$ac_cv_path_PKG_CONFIG"; then
45427 ac_pt_PKG_CONFIG=$PKG_CONFIG
45428 # Extract the first word of "pkg-config", so it can be a program name with args.
45429 set dummy pkg-config; ac_word=$2
45430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
45431 $as_echo_n "checking for $ac_word... " >&6; }
45432 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
45433 $as_echo_n "(cached) " >&6
45435 case $ac_pt_PKG_CONFIG in
45437 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45441 for as_dir in $PATH
45444 test -z "$as_dir" && as_dir=.
45445 for ac_exec_ext in '' $ac_executable_extensions; do
45446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45447 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
45458 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45459 if test -n "$ac_pt_PKG_CONFIG"; then
45460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
45461 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
45463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45464 $as_echo "no" >&6; }
45467 if test "x$ac_pt_PKG_CONFIG" = x; then
45470 case $cross_compiling:$ac_tool_warned in
45472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
45473 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
45474 ac_tool_warned=yes ;;
45476 PKG_CONFIG=$ac_pt_PKG_CONFIG
45479 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45483 if test -n "$PKG_CONFIG"; then
45484 _pkg_min_version=0.16
45485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
45486 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
45487 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
45489 $as_echo "yes" >&6; }
45491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45492 $as_echo "no" >&6; }
45497 gsettingsschemadir=${datadir}/glib-2.0/schemas
45499 if test x$cross_compiling != xyes; then
45500 GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
45502 # Extract the first word of "glib-compile-schemas", so it can be a program name with args.
45503 set dummy glib-compile-schemas; ac_word=$2
45504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
45505 $as_echo_n "checking for $ac_word... " >&6; }
45506 if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
45507 $as_echo_n "(cached) " >&6
45509 case $GLIB_COMPILE_SCHEMAS in
45511 ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
45514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45515 for as_dir in $PATH
45518 test -z "$as_dir" && as_dir=.
45519 for ac_exec_ext in '' $ac_executable_extensions; do
45520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45521 ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
45522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
45532 GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
45533 if test -n "$GLIB_COMPILE_SCHEMAS"; then
45534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
45535 $as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
45537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
45538 $as_echo "no" >&6; }
45544 if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
45545 as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
45551 .PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
45553 mostlyclean-am: clean-gsettings-schemas
45555 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
45557 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
45558 $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
45560 all-am: $(gsettings_SCHEMAS:.xml=.valid)
45561 uninstall-am: uninstall-gsettings-schemas
45562 install-data-am: install-gsettings-schemas
45564 .SECONDARY: $(gsettings_SCHEMAS)
45566 install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
45568 if test -n "$^"; then \
45569 test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
45570 $(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
45571 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
45574 uninstall-gsettings-schemas:
45575 @$(NORMAL_UNINSTALL)
45576 @list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
45577 files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
45578 test -n "$$files" || exit 0; \
45579 echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
45580 cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
45581 test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
45583 clean-gsettings-schemas:
45584 rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
45586 ifdef gsettings_ENUM_NAMESPACE
45587 $(gsettings__enum_file): $(gsettings_ENUM_FILES)
45588 $(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
45600 LIBS=$gst_check_save_LIBS
45601 LDFLAGS=$gst_check_save_LDFLAGS
45602 CFLAGS=$gst_check_save_CFLAGS
45603 CPPFLAGS=$gst_check_save_CPPFLAGS
45604 CXXFLAGS=$gst_check_save_CXXFLAGS
45606 if test x$HAVE_GSETTINGS = xno; then
45609 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gsettings" >&5
45610 $as_echo "$as_me: *** These plugins will be built: gsettings" >&6;}
45613 if test x$USE_GSETTINGS = xyes; then
45615 if test "xgsettings" != "x"; then
45616 GST_PLUGINS_YES="\tgsettings\n$GST_PLUGINS_YES"
45619 $as_echo "#define HAVE_GSETTINGS /**/" >>confdefs.h
45622 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gsettings" >&5
45623 $as_echo "$as_me: *** These plugins will not be built: gsettings" >&6;}
45624 if test "xgsettings" != "x"; then
45625 GST_PLUGINS_NO="\tgsettings\n$GST_PLUGINS_NO"
45629 if test x$USE_GSETTINGS = xyes; then
45630 USE_GSETTINGS_TRUE=
45631 USE_GSETTINGS_FALSE='#'
45633 USE_GSETTINGS_TRUE='#'
45634 USE_GSETTINGS_FALSE=
45643 USE_ASSRENDER_TRUE=
45644 USE_ASSRENDER_FALSE='#'
45646 USE_ASSRENDER_TRUE='#'
45647 USE_ASSRENDER_FALSE=
45651 USE_VOAMRWBENC_TRUE=
45652 USE_VOAMRWBENC_FALSE='#'
45654 USE_VOAMRWBENC_TRUE='#'
45655 USE_VOAMRWBENC_FALSE=
45660 USE_VOAACENC_FALSE='#'
45662 USE_VOAACENC_TRUE='#'
45663 USE_VOAACENC_FALSE=
45668 USE_APEXSINK_FALSE='#'
45670 USE_APEXSINK_TRUE='#'
45671 USE_APEXSINK_FALSE=
45684 USE_CDAUDIO_FALSE='#'
45686 USE_CDAUDIO_TRUE='#'
45716 USE_DC1394_FALSE='#'
45718 USE_DC1394_TRUE='#'
45724 USE_DECKLINK_FALSE='#'
45726 USE_DECKLINK_TRUE='#'
45727 USE_DECKLINK_FALSE=
45732 USE_DIRECTFB_FALSE='#'
45734 USE_DIRECTFB_TRUE='#'
45735 USE_DIRECTFB_FALSE=
45740 USE_DIRAC_FALSE='#'
45772 USE_RESINDVD_FALSE='#'
45774 USE_RESINDVD_TRUE='#'
45775 USE_RESINDVD_FALSE=
45796 USE_FBDEV_FALSE='#'
45804 USE_FLITE_FALSE='#'
45836 USE_TIGER_FALSE='#'
45844 USE_LADSPA_FALSE='#'
45846 USE_LADSPA_TRUE='#'
45860 USE_LIBMMS_FALSE='#'
45862 USE_LIBMMS_TRUE='#'
45868 USE_LINSYS_FALSE='#'
45870 USE_LINSYS_TRUE='#'
45876 USE_MODPLUG_FALSE='#'
45878 USE_MODPLUG_TRUE='#'
45884 USE_MIMIC_FALSE='#'
45892 USE_MPEG2ENC_FALSE='#'
45894 USE_MPEG2ENC_TRUE='#'
45895 USE_MPEG2ENC_FALSE=
45900 USE_MPLEX_FALSE='#'
45908 USE_MUSEPACK_FALSE='#'
45910 USE_MUSEPACK_TRUE='#'
45911 USE_MUSEPACK_FALSE=
45915 USE_MUSICBRAINZ_TRUE=
45916 USE_MUSICBRAINZ_FALSE='#'
45918 USE_MUSICBRAINZ_TRUE='#'
45919 USE_MUSICBRAINZ_FALSE=
45924 USE_MYTHTV_FALSE='#'
45926 USE_MYTHTV_TRUE='#'
45956 USE_OPENAL_FALSE='#'
45958 USE_OPENAL_TRUE='#'
45964 USE_OPENCV_FALSE='#'
45966 USE_OPENCV_TRUE='#'
45996 USE_TIMIDITY_FALSE='#'
45998 USE_TIMIDITY_TRUE='#'
45999 USE_TIMIDITY_FALSE=
46004 USE_WILDMIDI_FALSE='#'
46006 USE_WILDMIDI_TRUE='#'
46007 USE_WILDMIDI_FALSE=
46020 USE_SNDFILE_FALSE='#'
46022 USE_SNDFILE_TRUE='#'
46027 USE_SOUNDTOUCH_TRUE=
46028 USE_SOUNDTOUCH_FALSE='#'
46030 USE_SOUNDTOUCH_TRUE='#'
46031 USE_SOUNDTOUCH_FALSE=
46036 USE_SPANDSP_FALSE='#'
46038 USE_SPANDSP_TRUE='#'
46059 USE_GSETTINGS_TRUE=
46060 USE_GSETTINGS_FALSE='#'
46062 USE_GSETTINGS_TRUE='#'
46063 USE_GSETTINGS_FALSE=
46068 USE_SWFDEC_FALSE='#'
46070 USE_SWFDEC_TRUE='#'
46092 USE_WININET_FALSE='#'
46094 USE_WININET_TRUE='#'
46108 USE_VDPAU_FALSE='#'
46116 USE_SCHRO_FALSE='#'
46147 USE_TELETEXTDEC_TRUE=
46148 USE_TELETEXTDEC_FALSE='#'
46150 USE_TELETEXTDEC_TRUE='#'
46151 USE_TELETEXTDEC_FALSE=
46158 if test "x$USE_DEBUG" = xyes; then
46159 PROFILE_CFLAGS="-g"
46163 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
46164 DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
46166 DEPRECATED_CFLAGS=""
46170 GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
46171 GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
46175 GST_CXXFLAGS="$GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CXXFLAGS)"
46176 GST_CFLAGS="$GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CFLAGS)"
46180 GST_PLUGINS_BAD_CXXFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs"
46181 GST_PLUGINS_BAD_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs"
46185 GST_ALL_LDFLAGS="-no-undefined"
46188 GST_LIB_LDFLAGS="-export-symbols-regex ^_?\(gst_\|Gst\|GST_\).*"
46191 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_desc.*' $GST_ALL_LDFLAGS"
46196 ac_config_files="$ac_config_files Makefile common/Makefile common/m4/Makefile gst-plugins-bad.spec gst/Makefile gst/adpcmdec/Makefile gst/adpcmenc/Makefile gst/aiff/Makefile gst/asfmux/Makefile gst/audiovisualizers/Makefile gst/autoconvert/Makefile gst/bayer/Makefile gst/camerabin/Makefile gst/camerabin2/Makefile gst/cdxaparse/Makefile gst/colorspace/Makefile gst/coloreffects/Makefile gst/dataurisrc/Makefile gst/dccp/Makefile gst/debugutils/Makefile gst/dtmf/Makefile gst/dvbsuboverlay/Makefile gst/dvdspu/Makefile gst/faceoverlay/Makefile gst/festival/Makefile gst/fieldanalysis/Makefile gst/freeze/Makefile gst/freeverb/Makefile gst/frei0r/Makefile gst/gaudieffects/Makefile gst/geometrictransform/Makefile gst/h264parse/Makefile gst/hdvparse/Makefile gst/hls/Makefile gst/id3tag/Makefile gst/inter/Makefile gst/interlace/Makefile gst/ivfparse/Makefile gst/jp2kdecimator/Makefile gst/jpegformat/Makefile gst/legacyresample/Makefile gst/librfb/Makefile gst/liveadder/Makefile gst/mpegdemux/Makefile gst/mpegtsdemux/Makefile gst/mpegtsmux/Makefile gst/mpegtsmux/tsmux/Makefile gst/mpegpsmux/Makefile gst/mpegvideoparse/Makefile gst/mve/Makefile gst/mxf/Makefile gst/nsf/Makefile gst/nuvdemux/Makefile gst/patchdetect/Makefile gst/pcapparse/Makefile gst/pnm/Makefile gst/rawparse/Makefile gst/real/Makefile gst/removesilence/Makefile gst/rtpmux/Makefile gst/rtpvp8/Makefile gst/scaletempo/Makefile gst/sdi/Makefile gst/sdp/Makefile gst/segmentclip/Makefile gst/siren/Makefile gst/smooth/Makefile gst/speed/Makefile gst/subenc/Makefile gst/stereo/Makefile gst/tta/Makefile gst/videofilters/Makefile gst/videomaxrate/Makefile gst/videomeasure/Makefile gst/videoparsers/Makefile gst/videosignal/Makefile gst/vmnc/Makefile gst/y4m/Makefile gst-libs/Makefile gst-libs/gst/Makefile gst-libs/gst/basecamerabinsrc/Makefile gst-libs/gst/interfaces/Makefile gst-libs/gst/signalprocessor/Makefile gst-libs/gst/codecparsers/Makefile gst-libs/gst/video/Makefile sys/Makefile sys/dshowdecwrapper/Makefile sys/acmenc/Makefile sys/acmmp3dec/Makefile sys/applemedia/Makefile sys/avc/Makefile sys/d3dvideosink/Makefile sys/decklink/Makefile sys/directdraw/Makefile sys/directsound/Makefile sys/dshowsrcwrapper/Makefile sys/dshowvideosink/Makefile sys/dvb/Makefile sys/fbdev/Makefile sys/linsys/Makefile sys/osxvideo/Makefile sys/qtwrapper/Makefile sys/shm/Makefile sys/vcd/Makefile sys/vdpau/Makefile sys/vdpau/gstvdp/Makefile sys/vdpau/basevideodecoder/Makefile sys/pvr2d/Makefile sys/wasapi/Makefile sys/wininet/Makefile sys/winks/Makefile sys/winscreencap/Makefile tests/Makefile tests/check/Makefile tests/files/Makefile tests/examples/Makefile tests/examples/camerabin/Makefile tests/examples/camerabin2/Makefile tests/examples/directfb/Makefile tests/examples/mxf/Makefile tests/examples/scaletempo/Makefile tests/examples/opencv/Makefile tests/icles/Makefile ext/voamrwbenc/Makefile ext/voaacenc/Makefile ext/assrender/Makefile ext/apexsink/Makefile ext/bz2/Makefile ext/cdaudio/Makefile ext/celt/Makefile ext/cog/Makefile ext/curl/Makefile ext/dc1394/Makefile ext/dirac/Makefile ext/directfb/Makefile ext/divx/Makefile ext/dts/Makefile ext/faac/Makefile ext/faad/Makefile ext/flite/Makefile ext/gsm/Makefile ext/jp2k/Makefile ext/kate/Makefile ext/ladspa/Makefile ext/lv2/Makefile ext/libmms/Makefile ext/Makefile ext/modplug/Makefile ext/mpeg2enc/Makefile ext/mimic/Makefile ext/mplex/Makefile ext/musepack/Makefile ext/musicbrainz/Makefile ext/mythtv/Makefile ext/nas/Makefile ext/neon/Makefile ext/ofa/Makefile ext/openal/Makefile ext/opencv/Makefile ext/opus/Makefile ext/rsvg/Makefile ext/resindvd/Makefile ext/rtmp/Makefile ext/schroedinger/Makefile ext/sdl/Makefile ext/sndfile/Makefile ext/soundtouch/Makefile ext/spandsp/Makefile ext/teletextdec/Makefile ext/gme/Makefile ext/gsettings/Makefile ext/gsettings/org.freedesktop.gstreamer.default-elements.gschema.xml ext/spc/Makefile ext/swfdec/Makefile ext/timidity/Makefile ext/vp8/Makefile ext/xvid/Makefile ext/zbar/Makefile po/Makefile.in docs/Makefile docs/plugins/Makefile docs/libs/Makefile docs/version.entities pkgconfig/Makefile pkgconfig/gstreamer-plugins-bad.pc pkgconfig/gstreamer-plugins-bad-uninstalled.pc pkgconfig/gstreamer-codecparsers.pc pkgconfig/gstreamer-codecparsers-uninstalled.pc pkgconfig/gstreamer-basevideo.pc pkgconfig/gstreamer-basevideo-uninstalled.pc tools/Makefile m4/Makefile win32/common/config.h"
46198 cat >confcache <<\_ACEOF
46199 # This file is a shell script that caches the results of configure
46200 # tests run on this system so they can be shared between configure
46201 # scripts and configure runs, see configure's option --config-cache.
46202 # It is not useful on other systems. If it contains results you don't
46203 # want to keep, you may remove or edit it.
46205 # config.status only pays attention to the cache file if you give it
46206 # the --recheck option to rerun configure.
46208 # `ac_cv_env_foo' variables (set or unset) will be overridden when
46209 # loading this file, other *unset* `ac_cv_foo' will be assigned the
46210 # following values.
46214 # The following way of writing the cache mishandles newlines in values,
46215 # but we know of no workaround that is simple, portable, and efficient.
46216 # So, we kill variables containing newlines.
46217 # Ultrix sh set writes to stderr and can't be redirected directly,
46218 # and sets the high bit in the cache file unless we assign to the vars.
46220 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
46221 eval ac_val=\$$ac_var
46225 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
46226 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
46229 _ | IFS | as_nl) ;; #(
46230 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
46231 *) { eval $ac_var=; unset $ac_var;} ;;
46237 case $as_nl`(ac_space=' '; set) 2>&1` in #(
46238 *${as_nl}ac_space=\ *)
46239 # `set' does not quote correctly, so add quotes: double-quote
46240 # substitution turns \\\\ into \\, and sed turns \\ into \.
46243 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
46246 # `set' quotes correctly as required by POSIX, so do not add quotes.
46247 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
46256 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
46258 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
46260 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
46261 if test -w "$cache_file"; then
46262 if test "x$cache_file" != "x/dev/null"; then
46263 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
46264 $as_echo "$as_me: updating cache $cache_file" >&6;}
46265 if test ! -f "$cache_file" || test -h "$cache_file"; then
46266 cat confcache >"$cache_file"
46268 case $cache_file in #(
46270 mv -f confcache "$cache_file"$$ &&
46271 mv -f "$cache_file"$$ "$cache_file" ;; #(
46273 mv -f confcache "$cache_file" ;;
46278 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
46279 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
46284 test "x$prefix" = xNONE && prefix=$ac_default_prefix
46285 # Let make expand exec_prefix.
46286 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
46288 DEFS=-DHAVE_CONFIG_H
46293 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
46294 # 1. Remove the extension, and $U if already installed.
46295 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
46296 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
46297 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
46298 # will be set to the directory where LIBOBJS objects are built.
46299 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
46300 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
46302 LIBOBJS=$ac_libobjs
46304 LTLIBOBJS=$ac_ltlibobjs
46307 if test -n "$EXEEXT"; then
46309 am__EXEEXT_FALSE='#'
46311 am__EXEEXT_TRUE='#'
46315 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
46316 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
46317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46319 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
46320 as_fn_error $? "conditional \"AMDEP\" was never defined.
46321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46323 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
46324 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
46325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46327 if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
46328 as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
46329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46331 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
46332 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
46333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46335 if test -z "${USE_EXTERNAL_TRUE}" && test -z "${USE_EXTERNAL_FALSE}"; then
46336 as_fn_error $? "conditional \"USE_EXTERNAL\" was never defined.
46337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46339 if test -z "${BUILD_EXTERNAL_TRUE}" && test -z "${BUILD_EXTERNAL_FALSE}"; then
46340 as_fn_error $? "conditional \"BUILD_EXTERNAL\" was never defined.
46341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46343 if test -z "${USE_EXPERIMENTAL_TRUE}" && test -z "${USE_EXPERIMENTAL_FALSE}"; then
46344 as_fn_error $? "conditional \"USE_EXPERIMENTAL\" was never defined.
46345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46347 if test -z "${BUILD_EXPERIMENTAL_TRUE}" && test -z "${BUILD_EXPERIMENTAL_FALSE}"; then
46348 as_fn_error $? "conditional \"BUILD_EXPERIMENTAL\" was never defined.
46349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46352 if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then
46353 as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined.
46354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46356 if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then
46357 as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined.
46358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46360 if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then
46361 as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined.
46362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46364 if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then
46365 as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined.
46366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46368 if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then
46369 as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined.
46370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46372 if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then
46373 as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined.
46374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46376 if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then
46377 as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined.
46378 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46380 if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then
46381 as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined.
46382 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46384 if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then
46385 as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined.
46386 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46388 if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then
46389 as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined.
46390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46392 if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then
46393 as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined.
46394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46396 if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then
46397 as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined.
46398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46400 if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then
46401 as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined.
46402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46404 if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then
46405 as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined.
46406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46409 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
46410 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
46411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46413 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
46414 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
46415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46417 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
46418 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
46419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46421 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
46422 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
46423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46425 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
46426 as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
46427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46429 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
46430 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
46431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46433 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
46434 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
46435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46437 if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
46438 as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
46439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46441 if test -z "${HAVE_UNISTD_H_TRUE}" && test -z "${HAVE_UNISTD_H_FALSE}"; then
46442 as_fn_error $? "conditional \"HAVE_UNISTD_H\" was never defined.
46443 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46445 if test -z "${HAVE_PTHREAD_H_TRUE}" && test -z "${HAVE_PTHREAD_H_FALSE}"; then
46446 as_fn_error $? "conditional \"HAVE_PTHREAD_H\" was never defined.
46447 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46449 if test -z "${HAVE_GST_CHECK_TRUE}" && test -z "${HAVE_GST_CHECK_FALSE}"; then
46450 as_fn_error $? "conditional \"HAVE_GST_CHECK\" was never defined.
46451 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46453 if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
46454 as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
46455 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46457 if test -z "${HAVE_X11_TRUE}" && test -z "${HAVE_X11_FALSE}"; then
46458 as_fn_error $? "conditional \"HAVE_X11\" was never defined.
46459 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46461 if test -z "${USE_EXIF_TRUE}" && test -z "${USE_EXIF_FALSE}"; then
46462 as_fn_error $? "conditional \"USE_EXIF\" was never defined.
46463 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46465 if test -z "${HAVE_ORC_TRUE}" && test -z "${HAVE_ORC_FALSE}"; then
46466 as_fn_error $? "conditional \"HAVE_ORC\" was never defined.
46467 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46469 if test -z "${HAVE_ORCC_TRUE}" && test -z "${HAVE_ORCC_FALSE}"; then
46470 as_fn_error $? "conditional \"HAVE_ORCC\" was never defined.
46471 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46473 if test -z "${USE_PLUGIN_ADPCMDEC_TRUE}" && test -z "${USE_PLUGIN_ADPCMDEC_FALSE}"; then
46474 as_fn_error $? "conditional \"USE_PLUGIN_ADPCMDEC\" was never defined.
46475 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46477 if test -z "${USE_PLUGIN_ADPCMENC_TRUE}" && test -z "${USE_PLUGIN_ADPCMENC_FALSE}"; then
46478 as_fn_error $? "conditional \"USE_PLUGIN_ADPCMENC\" was never defined.
46479 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46481 if test -z "${USE_PLUGIN_AIFF_TRUE}" && test -z "${USE_PLUGIN_AIFF_FALSE}"; then
46482 as_fn_error $? "conditional \"USE_PLUGIN_AIFF\" was never defined.
46483 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46485 if test -z "${USE_PLUGIN_ASFMUX_TRUE}" && test -z "${USE_PLUGIN_ASFMUX_FALSE}"; then
46486 as_fn_error $? "conditional \"USE_PLUGIN_ASFMUX\" was never defined.
46487 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46489 if test -z "${USE_PLUGIN_AUDIOVISUALIZERS_TRUE}" && test -z "${USE_PLUGIN_AUDIOVISUALIZERS_FALSE}"; then
46490 as_fn_error $? "conditional \"USE_PLUGIN_AUDIOVISUALIZERS\" was never defined.
46491 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46493 if test -z "${USE_PLUGIN_AUTOCONVERT_TRUE}" && test -z "${USE_PLUGIN_AUTOCONVERT_FALSE}"; then
46494 as_fn_error $? "conditional \"USE_PLUGIN_AUTOCONVERT\" was never defined.
46495 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46497 if test -z "${USE_PLUGIN_BAYER_TRUE}" && test -z "${USE_PLUGIN_BAYER_FALSE}"; then
46498 as_fn_error $? "conditional \"USE_PLUGIN_BAYER\" was never defined.
46499 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46501 if test -z "${USE_PLUGIN_CAMERABIN_TRUE}" && test -z "${USE_PLUGIN_CAMERABIN_FALSE}"; then
46502 as_fn_error $? "conditional \"USE_PLUGIN_CAMERABIN\" was never defined.
46503 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46505 if test -z "${USE_PLUGIN_CAMERABIN2_TRUE}" && test -z "${USE_PLUGIN_CAMERABIN2_FALSE}"; then
46506 as_fn_error $? "conditional \"USE_PLUGIN_CAMERABIN2\" was never defined.
46507 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46509 if test -z "${USE_PLUGIN_CDXAPARSE_TRUE}" && test -z "${USE_PLUGIN_CDXAPARSE_FALSE}"; then
46510 as_fn_error $? "conditional \"USE_PLUGIN_CDXAPARSE\" was never defined.
46511 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46513 if test -z "${USE_PLUGIN_COLOREFFECTS_TRUE}" && test -z "${USE_PLUGIN_COLOREFFECTS_FALSE}"; then
46514 as_fn_error $? "conditional \"USE_PLUGIN_COLOREFFECTS\" was never defined.
46515 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46517 if test -z "${USE_PLUGIN_COLORSPACE_TRUE}" && test -z "${USE_PLUGIN_COLORSPACE_FALSE}"; then
46518 as_fn_error $? "conditional \"USE_PLUGIN_COLORSPACE\" was never defined.
46519 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46521 if test -z "${USE_PLUGIN_DATAURISRC_TRUE}" && test -z "${USE_PLUGIN_DATAURISRC_FALSE}"; then
46522 as_fn_error $? "conditional \"USE_PLUGIN_DATAURISRC\" was never defined.
46523 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46525 if test -z "${USE_PLUGIN_DCCP_TRUE}" && test -z "${USE_PLUGIN_DCCP_FALSE}"; then
46526 as_fn_error $? "conditional \"USE_PLUGIN_DCCP\" was never defined.
46527 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46529 if test -z "${USE_PLUGIN_DEBUGUTILS_TRUE}" && test -z "${USE_PLUGIN_DEBUGUTILS_FALSE}"; then
46530 as_fn_error $? "conditional \"USE_PLUGIN_DEBUGUTILS\" was never defined.
46531 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46533 if test -z "${USE_PLUGIN_DTMF_TRUE}" && test -z "${USE_PLUGIN_DTMF_FALSE}"; then
46534 as_fn_error $? "conditional \"USE_PLUGIN_DTMF\" was never defined.
46535 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46537 if test -z "${USE_PLUGIN_DVBSUBOVERLAY_TRUE}" && test -z "${USE_PLUGIN_DVBSUBOVERLAY_FALSE}"; then
46538 as_fn_error $? "conditional \"USE_PLUGIN_DVBSUBOVERLAY\" was never defined.
46539 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46541 if test -z "${USE_PLUGIN_DVDSPU_TRUE}" && test -z "${USE_PLUGIN_DVDSPU_FALSE}"; then
46542 as_fn_error $? "conditional \"USE_PLUGIN_DVDSPU\" was never defined.
46543 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46545 if test -z "${USE_PLUGIN_FACEOVERLAY_TRUE}" && test -z "${USE_PLUGIN_FACEOVERLAY_FALSE}"; then
46546 as_fn_error $? "conditional \"USE_PLUGIN_FACEOVERLAY\" was never defined.
46547 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46549 if test -z "${USE_PLUGIN_FESTIVAL_TRUE}" && test -z "${USE_PLUGIN_FESTIVAL_FALSE}"; then
46550 as_fn_error $? "conditional \"USE_PLUGIN_FESTIVAL\" was never defined.
46551 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46553 if test -z "${USE_PLUGIN_FIELDANALYSIS_TRUE}" && test -z "${USE_PLUGIN_FIELDANALYSIS_FALSE}"; then
46554 as_fn_error $? "conditional \"USE_PLUGIN_FIELDANALYSIS\" was never defined.
46555 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46557 if test -z "${USE_PLUGIN_FREEZE_TRUE}" && test -z "${USE_PLUGIN_FREEZE_FALSE}"; then
46558 as_fn_error $? "conditional \"USE_PLUGIN_FREEZE\" was never defined.
46559 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46561 if test -z "${USE_PLUGIN_FREEVERB_TRUE}" && test -z "${USE_PLUGIN_FREEVERB_FALSE}"; then
46562 as_fn_error $? "conditional \"USE_PLUGIN_FREEVERB\" was never defined.
46563 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46565 if test -z "${USE_PLUGIN_FREI0R_TRUE}" && test -z "${USE_PLUGIN_FREI0R_FALSE}"; then
46566 as_fn_error $? "conditional \"USE_PLUGIN_FREI0R\" was never defined.
46567 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46569 if test -z "${USE_PLUGIN_GAUDIEFFECTS_TRUE}" && test -z "${USE_PLUGIN_GAUDIEFFECTS_FALSE}"; then
46570 as_fn_error $? "conditional \"USE_PLUGIN_GAUDIEFFECTS\" was never defined.
46571 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46573 if test -z "${USE_PLUGIN_GEOMETRICTRANSFORM_TRUE}" && test -z "${USE_PLUGIN_GEOMETRICTRANSFORM_FALSE}"; then
46574 as_fn_error $? "conditional \"USE_PLUGIN_GEOMETRICTRANSFORM\" was never defined.
46575 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46577 if test -z "${USE_PLUGIN_H264PARSE_TRUE}" && test -z "${USE_PLUGIN_H264PARSE_FALSE}"; then
46578 as_fn_error $? "conditional \"USE_PLUGIN_H264PARSE\" was never defined.
46579 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46581 if test -z "${USE_PLUGIN_HDVPARSE_TRUE}" && test -z "${USE_PLUGIN_HDVPARSE_FALSE}"; then
46582 as_fn_error $? "conditional \"USE_PLUGIN_HDVPARSE\" was never defined.
46583 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46585 if test -z "${USE_PLUGIN_HLS_TRUE}" && test -z "${USE_PLUGIN_HLS_FALSE}"; then
46586 as_fn_error $? "conditional \"USE_PLUGIN_HLS\" was never defined.
46587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46589 if test -z "${USE_PLUGIN_ID3TAG_TRUE}" && test -z "${USE_PLUGIN_ID3TAG_FALSE}"; then
46590 as_fn_error $? "conditional \"USE_PLUGIN_ID3TAG\" was never defined.
46591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46593 if test -z "${USE_PLUGIN_INTER_TRUE}" && test -z "${USE_PLUGIN_INTER_FALSE}"; then
46594 as_fn_error $? "conditional \"USE_PLUGIN_INTER\" was never defined.
46595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46597 if test -z "${USE_PLUGIN_INTERLACE_TRUE}" && test -z "${USE_PLUGIN_INTERLACE_FALSE}"; then
46598 as_fn_error $? "conditional \"USE_PLUGIN_INTERLACE\" was never defined.
46599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46601 if test -z "${USE_PLUGIN_IVFPARSE_TRUE}" && test -z "${USE_PLUGIN_IVFPARSE_FALSE}"; then
46602 as_fn_error $? "conditional \"USE_PLUGIN_IVFPARSE\" was never defined.
46603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46605 if test -z "${USE_PLUGIN_JP2KDECIMATOR_TRUE}" && test -z "${USE_PLUGIN_JP2KDECIMATOR_FALSE}"; then
46606 as_fn_error $? "conditional \"USE_PLUGIN_JP2KDECIMATOR\" was never defined.
46607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46609 if test -z "${USE_PLUGIN_JPEGFORMAT_TRUE}" && test -z "${USE_PLUGIN_JPEGFORMAT_FALSE}"; then
46610 as_fn_error $? "conditional \"USE_PLUGIN_JPEGFORMAT\" was never defined.
46611 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46613 if test -z "${USE_PLUGIN_LEGACYRESAMPLE_TRUE}" && test -z "${USE_PLUGIN_LEGACYRESAMPLE_FALSE}"; then
46614 as_fn_error $? "conditional \"USE_PLUGIN_LEGACYRESAMPLE\" was never defined.
46615 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46617 if test -z "${USE_PLUGIN_LIBRFB_TRUE}" && test -z "${USE_PLUGIN_LIBRFB_FALSE}"; then
46618 as_fn_error $? "conditional \"USE_PLUGIN_LIBRFB\" was never defined.
46619 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46621 if test -z "${USE_PLUGIN_LIVEADDER_TRUE}" && test -z "${USE_PLUGIN_LIVEADDER_FALSE}"; then
46622 as_fn_error $? "conditional \"USE_PLUGIN_LIVEADDER\" was never defined.
46623 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46625 if test -z "${USE_PLUGIN_MPEGDEMUX_TRUE}" && test -z "${USE_PLUGIN_MPEGDEMUX_FALSE}"; then
46626 as_fn_error $? "conditional \"USE_PLUGIN_MPEGDEMUX\" was never defined.
46627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46629 if test -z "${USE_PLUGIN_MPEGTSDEMUX_TRUE}" && test -z "${USE_PLUGIN_MPEGTSDEMUX_FALSE}"; then
46630 as_fn_error $? "conditional \"USE_PLUGIN_MPEGTSDEMUX\" was never defined.
46631 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46633 if test -z "${USE_PLUGIN_MPEGTSMUX_TRUE}" && test -z "${USE_PLUGIN_MPEGTSMUX_FALSE}"; then
46634 as_fn_error $? "conditional \"USE_PLUGIN_MPEGTSMUX\" was never defined.
46635 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46637 if test -z "${USE_PLUGIN_MPEGPSMUX_TRUE}" && test -z "${USE_PLUGIN_MPEGPSMUX_FALSE}"; then
46638 as_fn_error $? "conditional \"USE_PLUGIN_MPEGPSMUX\" was never defined.
46639 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46641 if test -z "${USE_PLUGIN_MPEGVIDEOPARSE_TRUE}" && test -z "${USE_PLUGIN_MPEGVIDEOPARSE_FALSE}"; then
46642 as_fn_error $? "conditional \"USE_PLUGIN_MPEGVIDEOPARSE\" was never defined.
46643 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46645 if test -z "${USE_PLUGIN_MVE_TRUE}" && test -z "${USE_PLUGIN_MVE_FALSE}"; then
46646 as_fn_error $? "conditional \"USE_PLUGIN_MVE\" was never defined.
46647 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46649 if test -z "${USE_PLUGIN_MXF_TRUE}" && test -z "${USE_PLUGIN_MXF_FALSE}"; then
46650 as_fn_error $? "conditional \"USE_PLUGIN_MXF\" was never defined.
46651 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46653 if test -z "${USE_PLUGIN_NSF_TRUE}" && test -z "${USE_PLUGIN_NSF_FALSE}"; then
46654 as_fn_error $? "conditional \"USE_PLUGIN_NSF\" was never defined.
46655 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46657 if test -z "${USE_PLUGIN_NUVDEMUX_TRUE}" && test -z "${USE_PLUGIN_NUVDEMUX_FALSE}"; then
46658 as_fn_error $? "conditional \"USE_PLUGIN_NUVDEMUX\" was never defined.
46659 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46661 if test -z "${USE_PLUGIN_PATCHDETECT_TRUE}" && test -z "${USE_PLUGIN_PATCHDETECT_FALSE}"; then
46662 as_fn_error $? "conditional \"USE_PLUGIN_PATCHDETECT\" was never defined.
46663 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46665 if test -z "${USE_PLUGIN_PCAPPARSE_TRUE}" && test -z "${USE_PLUGIN_PCAPPARSE_FALSE}"; then
46666 as_fn_error $? "conditional \"USE_PLUGIN_PCAPPARSE\" was never defined.
46667 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46669 if test -z "${USE_PLUGIN_PNM_TRUE}" && test -z "${USE_PLUGIN_PNM_FALSE}"; then
46670 as_fn_error $? "conditional \"USE_PLUGIN_PNM\" was never defined.
46671 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46673 if test -z "${USE_PLUGIN_RAWPARSE_TRUE}" && test -z "${USE_PLUGIN_RAWPARSE_FALSE}"; then
46674 as_fn_error $? "conditional \"USE_PLUGIN_RAWPARSE\" was never defined.
46675 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46677 if test -z "${USE_PLUGIN_REAL_TRUE}" && test -z "${USE_PLUGIN_REAL_FALSE}"; then
46678 as_fn_error $? "conditional \"USE_PLUGIN_REAL\" was never defined.
46679 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46681 if test -z "${USE_PLUGIN_REMOVESILENCE_TRUE}" && test -z "${USE_PLUGIN_REMOVESILENCE_FALSE}"; then
46682 as_fn_error $? "conditional \"USE_PLUGIN_REMOVESILENCE\" was never defined.
46683 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46685 if test -z "${USE_PLUGIN_RTPMUX_TRUE}" && test -z "${USE_PLUGIN_RTPMUX_FALSE}"; then
46686 as_fn_error $? "conditional \"USE_PLUGIN_RTPMUX\" was never defined.
46687 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46689 if test -z "${USE_PLUGIN_RTPVP8_TRUE}" && test -z "${USE_PLUGIN_RTPVP8_FALSE}"; then
46690 as_fn_error $? "conditional \"USE_PLUGIN_RTPVP8\" was never defined.
46691 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46693 if test -z "${USE_PLUGIN_SCALETEMPO_TRUE}" && test -z "${USE_PLUGIN_SCALETEMPO_FALSE}"; then
46694 as_fn_error $? "conditional \"USE_PLUGIN_SCALETEMPO\" was never defined.
46695 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46697 if test -z "${USE_PLUGIN_SDI_TRUE}" && test -z "${USE_PLUGIN_SDI_FALSE}"; then
46698 as_fn_error $? "conditional \"USE_PLUGIN_SDI\" was never defined.
46699 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46701 if test -z "${USE_PLUGIN_SDP_TRUE}" && test -z "${USE_PLUGIN_SDP_FALSE}"; then
46702 as_fn_error $? "conditional \"USE_PLUGIN_SDP\" was never defined.
46703 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46705 if test -z "${USE_PLUGIN_SEGMENTCLIP_TRUE}" && test -z "${USE_PLUGIN_SEGMENTCLIP_FALSE}"; then
46706 as_fn_error $? "conditional \"USE_PLUGIN_SEGMENTCLIP\" was never defined.
46707 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46709 if test -z "${USE_PLUGIN_SIREN_TRUE}" && test -z "${USE_PLUGIN_SIREN_FALSE}"; then
46710 as_fn_error $? "conditional \"USE_PLUGIN_SIREN\" was never defined.
46711 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46713 if test -z "${USE_PLUGIN_SMOOTH_TRUE}" && test -z "${USE_PLUGIN_SMOOTH_FALSE}"; then
46714 as_fn_error $? "conditional \"USE_PLUGIN_SMOOTH\" was never defined.
46715 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46717 if test -z "${USE_PLUGIN_SPEED_TRUE}" && test -z "${USE_PLUGIN_SPEED_FALSE}"; then
46718 as_fn_error $? "conditional \"USE_PLUGIN_SPEED\" was never defined.
46719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46721 if test -z "${USE_PLUGIN_SUBENC_TRUE}" && test -z "${USE_PLUGIN_SUBENC_FALSE}"; then
46722 as_fn_error $? "conditional \"USE_PLUGIN_SUBENC\" was never defined.
46723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46725 if test -z "${USE_PLUGIN_STEREO_TRUE}" && test -z "${USE_PLUGIN_STEREO_FALSE}"; then
46726 as_fn_error $? "conditional \"USE_PLUGIN_STEREO\" was never defined.
46727 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46729 if test -z "${USE_PLUGIN_TTA_TRUE}" && test -z "${USE_PLUGIN_TTA_FALSE}"; then
46730 as_fn_error $? "conditional \"USE_PLUGIN_TTA\" was never defined.
46731 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46733 if test -z "${USE_PLUGIN_VIDEOFILTERS_TRUE}" && test -z "${USE_PLUGIN_VIDEOFILTERS_FALSE}"; then
46734 as_fn_error $? "conditional \"USE_PLUGIN_VIDEOFILTERS\" was never defined.
46735 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46737 if test -z "${USE_PLUGIN_VIDEOMAXRATE_TRUE}" && test -z "${USE_PLUGIN_VIDEOMAXRATE_FALSE}"; then
46738 as_fn_error $? "conditional \"USE_PLUGIN_VIDEOMAXRATE\" was never defined.
46739 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46741 if test -z "${USE_PLUGIN_VIDEOMEASURE_TRUE}" && test -z "${USE_PLUGIN_VIDEOMEASURE_FALSE}"; then
46742 as_fn_error $? "conditional \"USE_PLUGIN_VIDEOMEASURE\" was never defined.
46743 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46745 if test -z "${USE_PLUGIN_VIDEOPARSERS_TRUE}" && test -z "${USE_PLUGIN_VIDEOPARSERS_FALSE}"; then
46746 as_fn_error $? "conditional \"USE_PLUGIN_VIDEOPARSERS\" was never defined.
46747 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46749 if test -z "${USE_PLUGIN_VIDEOSIGNAL_TRUE}" && test -z "${USE_PLUGIN_VIDEOSIGNAL_FALSE}"; then
46750 as_fn_error $? "conditional \"USE_PLUGIN_VIDEOSIGNAL\" was never defined.
46751 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46753 if test -z "${USE_PLUGIN_VMNC_TRUE}" && test -z "${USE_PLUGIN_VMNC_FALSE}"; then
46754 as_fn_error $? "conditional \"USE_PLUGIN_VMNC\" was never defined.
46755 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46757 if test -z "${USE_PLUGIN_Y4M_TRUE}" && test -z "${USE_PLUGIN_Y4M_FALSE}"; then
46758 as_fn_error $? "conditional \"USE_PLUGIN_Y4M\" was never defined.
46759 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46761 if test -z "${USE_PLUGIN_REAL_TRUE}" && test -z "${USE_PLUGIN_REAL_FALSE}"; then
46762 as_fn_error $? "conditional \"USE_PLUGIN_REAL\" was never defined.
46763 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46765 if test -z "${HAVE_WINSOCK2_H_TRUE}" && test -z "${HAVE_WINSOCK2_H_FALSE}"; then
46766 as_fn_error $? "conditional \"HAVE_WINSOCK2_H\" was never defined.
46767 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46769 if test -z "${USE_PLUGIN_DCCP_TRUE}" && test -z "${USE_PLUGIN_DCCP_FALSE}"; then
46770 as_fn_error $? "conditional \"USE_PLUGIN_DCCP\" was never defined.
46771 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46773 if test -z "${USE_DIRECTSOUND_TRUE}" && test -z "${USE_DIRECTSOUND_FALSE}"; then
46774 as_fn_error $? "conditional \"USE_DIRECTSOUND\" was never defined.
46775 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46777 if test -z "${USE_DIRECT3D_TRUE}" && test -z "${USE_DIRECT3D_FALSE}"; then
46778 as_fn_error $? "conditional \"USE_DIRECT3D\" was never defined.
46779 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46781 if test -z "${USE_DIRECTDRAW_TRUE}" && test -z "${USE_DIRECTDRAW_FALSE}"; then
46782 as_fn_error $? "conditional \"USE_DIRECTDRAW\" was never defined.
46783 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46785 if test -z "${USE_APPLE_MEDIA_TRUE}" && test -z "${USE_APPLE_MEDIA_FALSE}"; then
46786 as_fn_error $? "conditional \"USE_APPLE_MEDIA\" was never defined.
46787 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46789 if test -z "${HAVE_IOS_TRUE}" && test -z "${HAVE_IOS_FALSE}"; then
46790 as_fn_error $? "conditional \"HAVE_IOS\" was never defined.
46791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46793 if test -z "${USE_OSX_VIDEO_TRUE}" && test -z "${USE_OSX_VIDEO_FALSE}"; then
46794 as_fn_error $? "conditional \"USE_OSX_VIDEO\" was never defined.
46795 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46797 if test -z "${USE_AVC_TRUE}" && test -z "${USE_AVC_FALSE}"; then
46798 as_fn_error $? "conditional \"USE_AVC\" was never defined.
46799 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46801 if test -z "${USE_QUICKTIME_TRUE}" && test -z "${USE_QUICKTIME_FALSE}"; then
46802 as_fn_error $? "conditional \"USE_QUICKTIME\" was never defined.
46803 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46805 if test -z "${USE_SHM_TRUE}" && test -z "${USE_SHM_FALSE}"; then
46806 as_fn_error $? "conditional \"USE_SHM\" was never defined.
46807 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46809 if test -z "${USE_VCD_TRUE}" && test -z "${USE_VCD_FALSE}"; then
46810 as_fn_error $? "conditional \"USE_VCD\" was never defined.
46811 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46813 if test -z "${USE_ASSRENDER_TRUE}" && test -z "${USE_ASSRENDER_FALSE}"; then
46814 as_fn_error $? "conditional \"USE_ASSRENDER\" was never defined.
46815 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46817 if test -z "${USE_VOAMRWBENC_TRUE}" && test -z "${USE_VOAMRWBENC_FALSE}"; then
46818 as_fn_error $? "conditional \"USE_VOAMRWBENC\" was never defined.
46819 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46821 if test -z "${USE_VOAACENC_TRUE}" && test -z "${USE_VOAACENC_FALSE}"; then
46822 as_fn_error $? "conditional \"USE_VOAACENC\" was never defined.
46823 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46825 if test -z "${USE_APEXSINK_TRUE}" && test -z "${USE_APEXSINK_FALSE}"; then
46826 as_fn_error $? "conditional \"USE_APEXSINK\" was never defined.
46827 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46829 if test -z "${USE_BZ2_TRUE}" && test -z "${USE_BZ2_FALSE}"; then
46830 as_fn_error $? "conditional \"USE_BZ2\" was never defined.
46831 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46833 if test -z "${USE_CDAUDIO_TRUE}" && test -z "${USE_CDAUDIO_FALSE}"; then
46834 as_fn_error $? "conditional \"USE_CDAUDIO\" was never defined.
46835 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46837 if test -z "${USE_CELT_TRUE}" && test -z "${USE_CELT_FALSE}"; then
46838 as_fn_error $? "conditional \"USE_CELT\" was never defined.
46839 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46841 if test -z "${USE_COG_TRUE}" && test -z "${USE_COG_FALSE}"; then
46842 as_fn_error $? "conditional \"USE_COG\" was never defined.
46843 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46845 if test -z "${USE_CURL_TRUE}" && test -z "${USE_CURL_FALSE}"; then
46846 as_fn_error $? "conditional \"USE_CURL\" was never defined.
46847 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46849 if test -z "${USE_DC1394_TRUE}" && test -z "${USE_DC1394_FALSE}"; then
46850 as_fn_error $? "conditional \"USE_DC1394\" was never defined.
46851 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46853 if test -z "${USE_DECKLINK_TRUE}" && test -z "${USE_DECKLINK_FALSE}"; then
46854 as_fn_error $? "conditional \"USE_DECKLINK\" was never defined.
46855 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46857 if test -z "${USE_DIRECTFB_TRUE}" && test -z "${USE_DIRECTFB_FALSE}"; then
46858 as_fn_error $? "conditional \"USE_DIRECTFB\" was never defined.
46859 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46861 if test -z "${USE_DIRAC_TRUE}" && test -z "${USE_DIRAC_FALSE}"; then
46862 as_fn_error $? "conditional \"USE_DIRAC\" was never defined.
46863 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46865 if test -z "${USE_DTS_TRUE}" && test -z "${USE_DTS_FALSE}"; then
46866 as_fn_error $? "conditional \"USE_DTS\" was never defined.
46867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46869 if test -z "${USE_DIVX_TRUE}" && test -z "${USE_DIVX_FALSE}"; then
46870 as_fn_error $? "conditional \"USE_DIVX\" was never defined.
46871 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46873 if test -z "${USE_RESINDVD_TRUE}" && test -z "${USE_RESINDVD_FALSE}"; then
46874 as_fn_error $? "conditional \"USE_RESINDVD\" was never defined.
46875 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46877 if test -z "${USE_FAAC_TRUE}" && test -z "${USE_FAAC_FALSE}"; then
46878 as_fn_error $? "conditional \"USE_FAAC\" was never defined.
46879 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46881 if test -z "${USE_FAAD_TRUE}" && test -z "${USE_FAAD_FALSE}"; then
46882 as_fn_error $? "conditional \"USE_FAAD\" was never defined.
46883 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46885 if test -z "${USE_FBDEV_TRUE}" && test -z "${USE_FBDEV_FALSE}"; then
46886 as_fn_error $? "conditional \"USE_FBDEV\" was never defined.
46887 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46889 if test -z "${USE_FLITE_TRUE}" && test -z "${USE_FLITE_FALSE}"; then
46890 as_fn_error $? "conditional \"USE_FLITE\" was never defined.
46891 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46893 if test -z "${USE_GSM_TRUE}" && test -z "${USE_GSM_FALSE}"; then
46894 as_fn_error $? "conditional \"USE_GSM\" was never defined.
46895 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46897 if test -z "${USE_JP2K_TRUE}" && test -z "${USE_JP2K_FALSE}"; then
46898 as_fn_error $? "conditional \"USE_JP2K\" was never defined.
46899 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46901 if test -z "${USE_TIGER_TRUE}" && test -z "${USE_TIGER_FALSE}"; then
46902 as_fn_error $? "conditional \"USE_TIGER\" was never defined.
46903 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46905 if test -z "${USE_TIGER_TRUE}" && test -z "${USE_TIGER_FALSE}"; then
46906 as_fn_error $? "conditional \"USE_TIGER\" was never defined.
46907 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46909 if test -z "${USE_KATE_TRUE}" && test -z "${USE_KATE_FALSE}"; then
46910 as_fn_error $? "conditional \"USE_KATE\" was never defined.
46911 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46913 if test -z "${USE_LADSPA_TRUE}" && test -z "${USE_LADSPA_FALSE}"; then
46914 as_fn_error $? "conditional \"USE_LADSPA\" was never defined.
46915 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46917 if test -z "${USE_LV2_TRUE}" && test -z "${USE_LV2_FALSE}"; then
46918 as_fn_error $? "conditional \"USE_LV2\" was never defined.
46919 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46921 if test -z "${USE_LIBMMS_TRUE}" && test -z "${USE_LIBMMS_FALSE}"; then
46922 as_fn_error $? "conditional \"USE_LIBMMS\" was never defined.
46923 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46925 if test -z "${USE_LINSYS_TRUE}" && test -z "${USE_LINSYS_FALSE}"; then
46926 as_fn_error $? "conditional \"USE_LINSYS\" was never defined.
46927 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46929 if test -z "${USE_MODPLUG_TRUE}" && test -z "${USE_MODPLUG_FALSE}"; then
46930 as_fn_error $? "conditional \"USE_MODPLUG\" was never defined.
46931 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46933 if test -z "${USE_MIMIC_TRUE}" && test -z "${USE_MIMIC_FALSE}"; then
46934 as_fn_error $? "conditional \"USE_MIMIC\" was never defined.
46935 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46937 if test -z "${USE_MPEG2ENC_TRUE}" && test -z "${USE_MPEG2ENC_FALSE}"; then
46938 as_fn_error $? "conditional \"USE_MPEG2ENC\" was never defined.
46939 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46941 if test -z "${USE_MPLEX_TRUE}" && test -z "${USE_MPLEX_FALSE}"; then
46942 as_fn_error $? "conditional \"USE_MPLEX\" was never defined.
46943 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46945 if test -z "${USE_MUSEPACK_TRUE}" && test -z "${USE_MUSEPACK_FALSE}"; then
46946 as_fn_error $? "conditional \"USE_MUSEPACK\" was never defined.
46947 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46949 if test -z "${USE_MUSICBRAINZ_TRUE}" && test -z "${USE_MUSICBRAINZ_FALSE}"; then
46950 as_fn_error $? "conditional \"USE_MUSICBRAINZ\" was never defined.
46951 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46953 if test -z "${USE_MYTHTV_TRUE}" && test -z "${USE_MYTHTV_FALSE}"; then
46954 as_fn_error $? "conditional \"USE_MYTHTV\" was never defined.
46955 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46957 if test -z "${USE_NAS_TRUE}" && test -z "${USE_NAS_FALSE}"; then
46958 as_fn_error $? "conditional \"USE_NAS\" was never defined.
46959 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46961 if test -z "${USE_NEON_TRUE}" && test -z "${USE_NEON_FALSE}"; then
46962 as_fn_error $? "conditional \"USE_NEON\" was never defined.
46963 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46965 if test -z "${USE_OFA_TRUE}" && test -z "${USE_OFA_FALSE}"; then
46966 as_fn_error $? "conditional \"USE_OFA\" was never defined.
46967 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46969 if test -z "${USE_OPENAL_TRUE}" && test -z "${USE_OPENAL_FALSE}"; then
46970 as_fn_error $? "conditional \"USE_OPENAL\" was never defined.
46971 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46973 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
46974 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
46975 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46977 if test -z "${USE_OPENCV_TRUE}" && test -z "${USE_OPENCV_FALSE}"; then
46978 as_fn_error $? "conditional \"USE_OPENCV\" was never defined.
46979 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46981 if test -z "${USE_OPUS_TRUE}" && test -z "${USE_OPUS_FALSE}"; then
46982 as_fn_error $? "conditional \"USE_OPUS\" was never defined.
46983 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46985 if test -z "${USE_PVR_TRUE}" && test -z "${USE_PVR_FALSE}"; then
46986 as_fn_error $? "conditional \"USE_PVR\" was never defined.
46987 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46989 if test -z "${USE_RSVG_TRUE}" && test -z "${USE_RSVG_FALSE}"; then
46990 as_fn_error $? "conditional \"USE_RSVG\" was never defined.
46991 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46993 if test -z "${USE_TIMIDITY_TRUE}" && test -z "${USE_TIMIDITY_FALSE}"; then
46994 as_fn_error $? "conditional \"USE_TIMIDITY\" was never defined.
46995 Usually this means the macro was only invoked conditionally." "$LINENO" 5
46997 if test -z "${USE_TELETEXTDEC_TRUE}" && test -z "${USE_TELETEXTDEC_FALSE}"; then
46998 as_fn_error $? "conditional \"USE_TELETEXTDEC\" was never defined.
46999 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47001 if test -z "${USE_WILDMIDI_TRUE}" && test -z "${USE_WILDMIDI_FALSE}"; then
47002 as_fn_error $? "conditional \"USE_WILDMIDI\" was never defined.
47003 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47005 if test -z "${USE_SDL_TRUE}" && test -z "${USE_SDL_FALSE}"; then
47006 as_fn_error $? "conditional \"USE_SDL\" was never defined.
47007 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47009 if test -z "${USE_SNDFILE_TRUE}" && test -z "${USE_SNDFILE_FALSE}"; then
47010 as_fn_error $? "conditional \"USE_SNDFILE\" was never defined.
47011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47013 if test -z "${USE_SOUNDTOUCH_TRUE}" && test -z "${USE_SOUNDTOUCH_FALSE}"; then
47014 as_fn_error $? "conditional \"USE_SOUNDTOUCH\" was never defined.
47015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47017 if test -z "${USE_SPC_TRUE}" && test -z "${USE_SPC_FALSE}"; then
47018 as_fn_error $? "conditional \"USE_SPC\" was never defined.
47019 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47021 if test -z "${USE_GME_TRUE}" && test -z "${USE_GME_FALSE}"; then
47022 as_fn_error $? "conditional \"USE_GME\" was never defined.
47023 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47025 if test -z "${USE_SWFDEC_TRUE}" && test -z "${USE_SWFDEC_FALSE}"; then
47026 as_fn_error $? "conditional \"USE_SWFDEC\" was never defined.
47027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47029 if test -z "${USE_XVID_TRUE}" && test -z "${USE_XVID_FALSE}"; then
47030 as_fn_error $? "conditional \"USE_XVID\" was never defined.
47031 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47033 if test -z "${USE_DVB_TRUE}" && test -z "${USE_DVB_FALSE}"; then
47034 as_fn_error $? "conditional \"USE_DVB\" was never defined.
47035 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47037 if test -z "${USE_WININET_TRUE}" && test -z "${USE_WININET_FALSE}"; then
47038 as_fn_error $? "conditional \"USE_WININET\" was never defined.
47039 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47041 if test -z "${USE_ACM_TRUE}" && test -z "${USE_ACM_FALSE}"; then
47042 as_fn_error $? "conditional \"USE_ACM\" was never defined.
47043 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47045 if test -z "${USE_VDPAU_TRUE}" && test -z "${USE_VDPAU_FALSE}"; then
47046 as_fn_error $? "conditional \"USE_VDPAU\" was never defined.
47047 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47049 if test -z "${USE_SCHRO_TRUE}" && test -z "${USE_SCHRO_FALSE}"; then
47050 as_fn_error $? "conditional \"USE_SCHRO\" was never defined.
47051 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47053 if test -z "${USE_ZBAR_TRUE}" && test -z "${USE_ZBAR_FALSE}"; then
47054 as_fn_error $? "conditional \"USE_ZBAR\" was never defined.
47055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47057 if test -z "${USE_VP8_TRUE}" && test -z "${USE_VP8_FALSE}"; then
47058 as_fn_error $? "conditional \"USE_VP8\" was never defined.
47059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47061 if test -z "${USE_RTMP_TRUE}" && test -z "${USE_RTMP_FALSE}"; then
47062 as_fn_error $? "conditional \"USE_RTMP\" was never defined.
47063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47065 if test -z "${USE_SPANDSP_TRUE}" && test -z "${USE_SPANDSP_FALSE}"; then
47066 as_fn_error $? "conditional \"USE_SPANDSP\" was never defined.
47067 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47069 if test -z "${USE_GSETTINGS_TRUE}" && test -z "${USE_GSETTINGS_FALSE}"; then
47070 as_fn_error $? "conditional \"USE_GSETTINGS\" was never defined.
47071 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47073 if test -z "${USE_ASSRENDER_TRUE}" && test -z "${USE_ASSRENDER_FALSE}"; then
47074 as_fn_error $? "conditional \"USE_ASSRENDER\" was never defined.
47075 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47077 if test -z "${USE_VOAMRWBENC_TRUE}" && test -z "${USE_VOAMRWBENC_FALSE}"; then
47078 as_fn_error $? "conditional \"USE_VOAMRWBENC\" was never defined.
47079 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47081 if test -z "${USE_VOAACENC_TRUE}" && test -z "${USE_VOAACENC_FALSE}"; then
47082 as_fn_error $? "conditional \"USE_VOAACENC\" was never defined.
47083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47085 if test -z "${USE_APEXSINK_TRUE}" && test -z "${USE_APEXSINK_FALSE}"; then
47086 as_fn_error $? "conditional \"USE_APEXSINK\" was never defined.
47087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47089 if test -z "${USE_BZ2_TRUE}" && test -z "${USE_BZ2_FALSE}"; then
47090 as_fn_error $? "conditional \"USE_BZ2\" was never defined.
47091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47093 if test -z "${USE_CDAUDIO_TRUE}" && test -z "${USE_CDAUDIO_FALSE}"; then
47094 as_fn_error $? "conditional \"USE_CDAUDIO\" was never defined.
47095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47097 if test -z "${USE_CELT_TRUE}" && test -z "${USE_CELT_FALSE}"; then
47098 as_fn_error $? "conditional \"USE_CELT\" was never defined.
47099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47101 if test -z "${USE_COG_TRUE}" && test -z "${USE_COG_FALSE}"; then
47102 as_fn_error $? "conditional \"USE_COG\" was never defined.
47103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47105 if test -z "${USE_CURL_TRUE}" && test -z "${USE_CURL_FALSE}"; then
47106 as_fn_error $? "conditional \"USE_CURL\" was never defined.
47107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47109 if test -z "${USE_DC1394_TRUE}" && test -z "${USE_DC1394_FALSE}"; then
47110 as_fn_error $? "conditional \"USE_DC1394\" was never defined.
47111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47113 if test -z "${USE_DECKLINK_TRUE}" && test -z "${USE_DECKLINK_FALSE}"; then
47114 as_fn_error $? "conditional \"USE_DECKLINK\" was never defined.
47115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47117 if test -z "${USE_DIRECTFB_TRUE}" && test -z "${USE_DIRECTFB_FALSE}"; then
47118 as_fn_error $? "conditional \"USE_DIRECTFB\" was never defined.
47119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47121 if test -z "${USE_DIRAC_TRUE}" && test -z "${USE_DIRAC_FALSE}"; then
47122 as_fn_error $? "conditional \"USE_DIRAC\" was never defined.
47123 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47125 if test -z "${USE_DTS_TRUE}" && test -z "${USE_DTS_FALSE}"; then
47126 as_fn_error $? "conditional \"USE_DTS\" was never defined.
47127 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47129 if test -z "${USE_DIVX_TRUE}" && test -z "${USE_DIVX_FALSE}"; then
47130 as_fn_error $? "conditional \"USE_DIVX\" was never defined.
47131 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47133 if test -z "${USE_EXIF_TRUE}" && test -z "${USE_EXIF_FALSE}"; then
47134 as_fn_error $? "conditional \"USE_EXIF\" was never defined.
47135 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47137 if test -z "${USE_RESINDVD_TRUE}" && test -z "${USE_RESINDVD_FALSE}"; then
47138 as_fn_error $? "conditional \"USE_RESINDVD\" was never defined.
47139 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47141 if test -z "${USE_FAAC_TRUE}" && test -z "${USE_FAAC_FALSE}"; then
47142 as_fn_error $? "conditional \"USE_FAAC\" was never defined.
47143 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47145 if test -z "${USE_FAAD_TRUE}" && test -z "${USE_FAAD_FALSE}"; then
47146 as_fn_error $? "conditional \"USE_FAAD\" was never defined.
47147 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47149 if test -z "${USE_FBDEV_TRUE}" && test -z "${USE_FBDEV_FALSE}"; then
47150 as_fn_error $? "conditional \"USE_FBDEV\" was never defined.
47151 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47153 if test -z "${USE_FLITE_TRUE}" && test -z "${USE_FLITE_FALSE}"; then
47154 as_fn_error $? "conditional \"USE_FLITE\" was never defined.
47155 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47157 if test -z "${USE_GSM_TRUE}" && test -z "${USE_GSM_FALSE}"; then
47158 as_fn_error $? "conditional \"USE_GSM\" was never defined.
47159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47161 if test -z "${USE_JP2K_TRUE}" && test -z "${USE_JP2K_FALSE}"; then
47162 as_fn_error $? "conditional \"USE_JP2K\" was never defined.
47163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47165 if test -z "${USE_KATE_TRUE}" && test -z "${USE_KATE_FALSE}"; then
47166 as_fn_error $? "conditional \"USE_KATE\" was never defined.
47167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47169 if test -z "${USE_TIGER_TRUE}" && test -z "${USE_TIGER_FALSE}"; then
47170 as_fn_error $? "conditional \"USE_TIGER\" was never defined.
47171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47173 if test -z "${USE_LADSPA_TRUE}" && test -z "${USE_LADSPA_FALSE}"; then
47174 as_fn_error $? "conditional \"USE_LADSPA\" was never defined.
47175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47177 if test -z "${USE_LV2_TRUE}" && test -z "${USE_LV2_FALSE}"; then
47178 as_fn_error $? "conditional \"USE_LV2\" was never defined.
47179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47181 if test -z "${USE_LIBMMS_TRUE}" && test -z "${USE_LIBMMS_FALSE}"; then
47182 as_fn_error $? "conditional \"USE_LIBMMS\" was never defined.
47183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47185 if test -z "${USE_LINSYS_TRUE}" && test -z "${USE_LINSYS_FALSE}"; then
47186 as_fn_error $? "conditional \"USE_LINSYS\" was never defined.
47187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47189 if test -z "${USE_MODPLUG_TRUE}" && test -z "${USE_MODPLUG_FALSE}"; then
47190 as_fn_error $? "conditional \"USE_MODPLUG\" was never defined.
47191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47193 if test -z "${USE_MIMIC_TRUE}" && test -z "${USE_MIMIC_FALSE}"; then
47194 as_fn_error $? "conditional \"USE_MIMIC\" was never defined.
47195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47197 if test -z "${USE_MPEG2ENC_TRUE}" && test -z "${USE_MPEG2ENC_FALSE}"; then
47198 as_fn_error $? "conditional \"USE_MPEG2ENC\" was never defined.
47199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47201 if test -z "${USE_MPLEX_TRUE}" && test -z "${USE_MPLEX_FALSE}"; then
47202 as_fn_error $? "conditional \"USE_MPLEX\" was never defined.
47203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47205 if test -z "${USE_MUSEPACK_TRUE}" && test -z "${USE_MUSEPACK_FALSE}"; then
47206 as_fn_error $? "conditional \"USE_MUSEPACK\" was never defined.
47207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47209 if test -z "${USE_MUSICBRAINZ_TRUE}" && test -z "${USE_MUSICBRAINZ_FALSE}"; then
47210 as_fn_error $? "conditional \"USE_MUSICBRAINZ\" was never defined.
47211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47213 if test -z "${USE_MYTHTV_TRUE}" && test -z "${USE_MYTHTV_FALSE}"; then
47214 as_fn_error $? "conditional \"USE_MYTHTV\" was never defined.
47215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47217 if test -z "${USE_NAS_TRUE}" && test -z "${USE_NAS_FALSE}"; then
47218 as_fn_error $? "conditional \"USE_NAS\" was never defined.
47219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47221 if test -z "${USE_NEON_TRUE}" && test -z "${USE_NEON_FALSE}"; then
47222 as_fn_error $? "conditional \"USE_NEON\" was never defined.
47223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47225 if test -z "${USE_OFA_TRUE}" && test -z "${USE_OFA_FALSE}"; then
47226 as_fn_error $? "conditional \"USE_OFA\" was never defined.
47227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47229 if test -z "${USE_OPENAL_TRUE}" && test -z "${USE_OPENAL_FALSE}"; then
47230 as_fn_error $? "conditional \"USE_OPENAL\" was never defined.
47231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47233 if test -z "${USE_OPENCV_TRUE}" && test -z "${USE_OPENCV_FALSE}"; then
47234 as_fn_error $? "conditional \"USE_OPENCV\" was never defined.
47235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47237 if test -z "${USE_OPUS_TRUE}" && test -z "${USE_OPUS_FALSE}"; then
47238 as_fn_error $? "conditional \"USE_OPUS\" was never defined.
47239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47241 if test -z "${USE_PVR_TRUE}" && test -z "${USE_PVR_FALSE}"; then
47242 as_fn_error $? "conditional \"USE_PVR\" was never defined.
47243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47245 if test -z "${USE_RSVG_TRUE}" && test -z "${USE_RSVG_FALSE}"; then
47246 as_fn_error $? "conditional \"USE_RSVG\" was never defined.
47247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47249 if test -z "${USE_TIMIDITY_TRUE}" && test -z "${USE_TIMIDITY_FALSE}"; then
47250 as_fn_error $? "conditional \"USE_TIMIDITY\" was never defined.
47251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47253 if test -z "${USE_WILDMIDI_TRUE}" && test -z "${USE_WILDMIDI_FALSE}"; then
47254 as_fn_error $? "conditional \"USE_WILDMIDI\" was never defined.
47255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47257 if test -z "${USE_SDL_TRUE}" && test -z "${USE_SDL_FALSE}"; then
47258 as_fn_error $? "conditional \"USE_SDL\" was never defined.
47259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47261 if test -z "${USE_SNDFILE_TRUE}" && test -z "${USE_SNDFILE_FALSE}"; then
47262 as_fn_error $? "conditional \"USE_SNDFILE\" was never defined.
47263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47265 if test -z "${USE_SOUNDTOUCH_TRUE}" && test -z "${USE_SOUNDTOUCH_FALSE}"; then
47266 as_fn_error $? "conditional \"USE_SOUNDTOUCH\" was never defined.
47267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47269 if test -z "${USE_SPANDSP_TRUE}" && test -z "${USE_SPANDSP_FALSE}"; then
47270 as_fn_error $? "conditional \"USE_SPANDSP\" was never defined.
47271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47273 if test -z "${USE_SPC_TRUE}" && test -z "${USE_SPC_FALSE}"; then
47274 as_fn_error $? "conditional \"USE_SPC\" was never defined.
47275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47277 if test -z "${USE_GME_TRUE}" && test -z "${USE_GME_FALSE}"; then
47278 as_fn_error $? "conditional \"USE_GME\" was never defined.
47279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47281 if test -z "${USE_GSETTINGS_TRUE}" && test -z "${USE_GSETTINGS_FALSE}"; then
47282 as_fn_error $? "conditional \"USE_GSETTINGS\" was never defined.
47283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47285 if test -z "${USE_SWFDEC_TRUE}" && test -z "${USE_SWFDEC_FALSE}"; then
47286 as_fn_error $? "conditional \"USE_SWFDEC\" was never defined.
47287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47289 if test -z "${USE_XVID_TRUE}" && test -z "${USE_XVID_FALSE}"; then
47290 as_fn_error $? "conditional \"USE_XVID\" was never defined.
47291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47293 if test -z "${USE_DVB_TRUE}" && test -z "${USE_DVB_FALSE}"; then
47294 as_fn_error $? "conditional \"USE_DVB\" was never defined.
47295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47297 if test -z "${USE_WININET_TRUE}" && test -z "${USE_WININET_FALSE}"; then
47298 as_fn_error $? "conditional \"USE_WININET\" was never defined.
47299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47301 if test -z "${USE_ACM_TRUE}" && test -z "${USE_ACM_FALSE}"; then
47302 as_fn_error $? "conditional \"USE_ACM\" was never defined.
47303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47305 if test -z "${USE_VDPAU_TRUE}" && test -z "${USE_VDPAU_FALSE}"; then
47306 as_fn_error $? "conditional \"USE_VDPAU\" was never defined.
47307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47309 if test -z "${USE_SCHRO_TRUE}" && test -z "${USE_SCHRO_FALSE}"; then
47310 as_fn_error $? "conditional \"USE_SCHRO\" was never defined.
47311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47313 if test -z "${USE_ZBAR_TRUE}" && test -z "${USE_ZBAR_FALSE}"; then
47314 as_fn_error $? "conditional \"USE_ZBAR\" was never defined.
47315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47317 if test -z "${USE_VP8_TRUE}" && test -z "${USE_VP8_FALSE}"; then
47318 as_fn_error $? "conditional \"USE_VP8\" was never defined.
47319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47321 if test -z "${USE_RTMP_TRUE}" && test -z "${USE_RTMP_FALSE}"; then
47322 as_fn_error $? "conditional \"USE_RTMP\" was never defined.
47323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47325 if test -z "${USE_TELETEXTDEC_TRUE}" && test -z "${USE_TELETEXTDEC_FALSE}"; then
47326 as_fn_error $? "conditional \"USE_TELETEXTDEC\" was never defined.
47327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
47330 : "${CONFIG_STATUS=./config.status}"
47332 ac_clean_files_save=$ac_clean_files
47333 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
47334 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
47335 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
47337 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
47339 # Generated by $as_me.
47340 # Run this file to recreate the current configuration.
47341 # Compiler output produced by configure, useful for debugging
47342 # configure, is in config.log if it exists.
47345 ac_cs_recheck=false
47348 SHELL=\${CONFIG_SHELL-$SHELL}
47351 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
47352 ## -------------------- ##
47353 ## M4sh Initialization. ##
47354 ## -------------------- ##
47356 # Be more Bourne compatible
47357 DUALCASE=1; export DUALCASE # for MKS sh
47358 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
47361 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
47362 # is contrary to our usage. Disable this feature.
47363 alias -g '${1+"$@"}'='"$@"'
47364 setopt NO_GLOB_SUBST
47366 case `(set -o) 2>/dev/null` in #(
47378 # Printing a long string crashes Solaris 7 /usr/bin/printf.
47379 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47380 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
47381 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47382 # Prefer a ksh shell builtin over an external printf program on Solaris,
47383 # but without wasting forks for bash or zsh.
47384 if test -z "$BASH_VERSION$ZSH_VERSION" \
47385 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47386 as_echo='print -r --'
47387 as_echo_n='print -rn --'
47388 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
47389 as_echo='printf %s\n'
47390 as_echo_n='printf %s'
47392 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
47393 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
47394 as_echo_n='/usr/ucb/echo -n'
47396 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
47397 as_echo_n_body='eval
47401 expr "X$arg" : "X\\(.*\\)$as_nl";
47402 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
47404 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
47406 export as_echo_n_body
47407 as_echo_n='sh -c $as_echo_n_body as_echo'
47409 export as_echo_body
47410 as_echo='sh -c $as_echo_body as_echo'
47413 # The user is always right.
47414 if test "${PATH_SEPARATOR+set}" != set; then
47416 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
47417 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
47424 # We need space, tab and new line, in precisely that order. Quoting is
47425 # there to prevent editors from complaining about space-tab.
47426 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
47427 # splitting by setting IFS to empty value.)
47430 # Find who we are. Look in the path if we contain no directory separator.
47433 *[\\/]* ) as_myself=$0 ;;
47434 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47435 for as_dir in $PATH
47438 test -z "$as_dir" && as_dir=.
47439 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
47445 # We did not find ourselves, most probably we were run as `sh COMMAND'
47446 # in which case we are not to be found in the path.
47447 if test "x$as_myself" = x; then
47450 if test ! -f "$as_myself"; then
47451 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
47455 # Unset variables that we do not need and which cause bugs (e.g. in
47456 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
47457 # suppresses any "Segmentation fault" message there. '((' could
47458 # trigger a bug in pdksh 5.2.14.
47459 for as_var in BASH_ENV ENV MAIL MAILPATH
47460 do eval test x\${$as_var+set} = xset \
47461 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
47474 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
47477 # as_fn_error STATUS ERROR [LINENO LOG_FD]
47478 # ----------------------------------------
47479 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
47480 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
47481 # script with STATUS, using 1 if that was 0.
47484 as_status=$1; test $as_status -eq 0 && as_status=1
47486 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
47487 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
47489 $as_echo "$as_me: error: $2" >&2
47490 as_fn_exit $as_status
47494 # as_fn_set_status STATUS
47495 # -----------------------
47496 # Set $? to STATUS, without forking.
47497 as_fn_set_status ()
47500 } # as_fn_set_status
47502 # as_fn_exit STATUS
47503 # -----------------
47504 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
47508 as_fn_set_status $1
47514 # Portably unset VAR.
47517 { eval $1=; unset $1;}
47519 as_unset=as_fn_unset
47520 # as_fn_append VAR VALUE
47521 # ----------------------
47522 # Append the text in VALUE to the end of the definition contained in VAR. Take
47523 # advantage of any shell optimizations that allow amortized linear growth over
47524 # repeated appends, instead of the typical quadratic growth present in naive
47526 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
47527 eval 'as_fn_append ()
47538 # as_fn_arith ARG...
47539 # ------------------
47540 # Perform arithmetic evaluation on the ARGs, and store the result in the
47541 # global $as_val. Take advantage of shells that can avoid forks. The arguments
47542 # must be portable across $(()) and expr.
47543 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
47544 eval 'as_fn_arith ()
47551 as_val=`expr "$@" || test $? -eq 1`
47556 if expr a : '\(a\)' >/dev/null 2>&1 &&
47557 test "X`expr 00001 : '.*\(...\)'`" = X001; then
47563 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
47564 as_basename=basename
47569 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
47575 as_me=`$as_basename -- "$0" ||
47576 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
47577 X"$0" : 'X\(//\)$' \| \
47578 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
47580 sed '/^.*\/\([^/][^/]*\)\/*$/{
47594 # Avoid depending upon Character Ranges.
47595 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
47596 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
47597 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
47598 as_cr_digits='0123456789'
47599 as_cr_alnum=$as_cr_Letters$as_cr_digits
47601 ECHO_C= ECHO_N= ECHO_T=
47602 case `echo -n x` in #(((((
47604 case `echo 'xy\c'` in
47605 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
47607 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
47614 rm -f conf$$ conf$$.exe conf$$.file
47615 if test -d conf$$.dir; then
47616 rm -f conf$$.dir/conf$$.file
47619 mkdir conf$$.dir 2>/dev/null
47621 if (echo >conf$$.file) 2>/dev/null; then
47622 if ln -s conf$$.file conf$$ 2>/dev/null; then
47624 # ... but there are two gotchas:
47625 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
47626 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
47627 # In both cases, we have to default to `cp -p'.
47628 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
47630 elif ln conf$$.file conf$$ 2>/dev/null; then
47638 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
47639 rmdir conf$$.dir 2>/dev/null
47644 # Create "$as_dir" as a directory, including parents if necessary.
47649 -*) as_dir=./$as_dir;;
47651 test -d "$as_dir" || eval $as_mkdir_p || {
47655 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
47656 *) as_qdir=$as_dir;;
47658 as_dirs="'$as_qdir' $as_dirs"
47659 as_dir=`$as_dirname -- "$as_dir" ||
47660 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
47661 X"$as_dir" : 'X\(//\)[^/]' \| \
47662 X"$as_dir" : 'X\(//\)$' \| \
47663 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
47664 $as_echo X"$as_dir" |
47665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
47669 /^X\(\/\/\)[^/].*/{
47682 test -d "$as_dir" && break
47684 test -z "$as_dirs" || eval "mkdir $as_dirs"
47685 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
47689 if mkdir -p . 2>/dev/null; then
47690 as_mkdir_p='mkdir -p "$as_dir"'
47692 test -d ./-p && rmdir ./-p
47696 if test -x / >/dev/null 2>&1; then
47697 as_test_x='test -x'
47699 if ls -dL / >/dev/null 2>&1; then
47706 if test -d "$1"; then
47712 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
47713 ???[sx]*):;;*)false;;esac;fi
47717 as_executable_p=$as_test_x
47719 # Sed expression to map a string onto a valid CPP name.
47720 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
47722 # Sed expression to map a string onto a valid variable name.
47723 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
47727 ## ----------------------------------- ##
47728 ## Main body of $CONFIG_STATUS script. ##
47729 ## ----------------------------------- ##
47731 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
47733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47734 # Save the log message, to keep $0 and so on meaningful, and to
47735 # report actual input values of CONFIG_FILES etc. instead of their
47736 # values after options handling.
47738 This file was extended by GStreamer Bad Plug-ins $as_me 0.10.23, which was
47739 generated by GNU Autoconf 2.68. Invocation command line was
47741 CONFIG_FILES = $CONFIG_FILES
47742 CONFIG_HEADERS = $CONFIG_HEADERS
47743 CONFIG_LINKS = $CONFIG_LINKS
47744 CONFIG_COMMANDS = $CONFIG_COMMANDS
47747 on `(hostname || uname -n) 2>/dev/null | sed 1q`
47752 case $ac_config_files in *"
47753 "*) set x $ac_config_files; shift; ac_config_files=$*;;
47756 case $ac_config_headers in *"
47757 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
47761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
47762 # Files that config.status was made for.
47763 config_files="$ac_config_files"
47764 config_headers="$ac_config_headers"
47765 config_commands="$ac_config_commands"
47769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47771 \`$as_me' instantiates files and other configuration actions
47772 from templates according to the current configuration. Unless the files
47773 and actions are specified as TAGs, all are instantiated by default.
47775 Usage: $0 [OPTION]... [TAG]...
47777 -h, --help print this help, then exit
47778 -V, --version print version number and configuration settings, then exit
47779 --config print configuration, then exit
47780 -q, --quiet, --silent
47781 do not print progress messages
47782 -d, --debug don't remove temporary files
47783 --recheck update $as_me by reconfiguring in the same conditions
47784 --file=FILE[:TEMPLATE]
47785 instantiate the configuration file FILE
47786 --header=FILE[:TEMPLATE]
47787 instantiate the configuration header FILE
47789 Configuration files:
47792 Configuration headers:
47795 Configuration commands:
47798 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
47801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
47802 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
47804 GStreamer Bad Plug-ins config.status 0.10.23
47805 configured by $0, generated by GNU Autoconf 2.68,
47806 with options \\"\$ac_cs_config\\"
47808 Copyright (C) 2010 Free Software Foundation, Inc.
47809 This config.status script is free software; the Free Software Foundation
47810 gives unlimited permission to copy, distribute and modify it."
47817 test -n "\$AWK" || AWK=awk
47820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47821 # The default lists apply if the user does not specify any file.
47827 ac_option=`expr "X$1" : 'X\([^=]*\)='`
47828 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
47832 ac_option=`expr "X$1" : 'X\([^=]*\)='`
47844 # Handling of the options.
47845 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
47847 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
47848 $as_echo "$ac_cs_version"; exit ;;
47849 --config | --confi | --conf | --con | --co | --c )
47850 $as_echo "$ac_cs_config"; exit ;;
47851 --debug | --debu | --deb | --de | --d | -d )
47853 --file | --fil | --fi | --f )
47856 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
47857 '') as_fn_error $? "missing file argument" ;;
47859 as_fn_append CONFIG_FILES " '$ac_optarg'"
47860 ac_need_defaults=false;;
47861 --header | --heade | --head | --hea )
47864 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
47866 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
47867 ac_need_defaults=false;;
47869 # Conflict between --help and --header
47870 as_fn_error $? "ambiguous option: \`$1'
47871 Try \`$0 --help' for more information.";;
47872 --help | --hel | -h )
47873 $as_echo "$ac_cs_usage"; exit ;;
47874 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
47875 | -silent | --silent | --silen | --sile | --sil | --si | --s)
47878 # This is an error.
47879 -*) as_fn_error $? "unrecognized option: \`$1'
47880 Try \`$0 --help' for more information." ;;
47882 *) as_fn_append ac_config_targets " $1"
47883 ac_need_defaults=false ;;
47889 ac_configure_extra_args=
47891 if $ac_cs_silent; then
47893 ac_configure_extra_args="$ac_configure_extra_args --silent"
47897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
47898 if \$ac_cs_recheck; then
47899 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
47901 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
47902 CONFIG_SHELL='$SHELL'
47903 export CONFIG_SHELL
47908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
47912 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
47913 ## Running $as_me. ##
47919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
47923 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
47926 # The HP-UX ksh and POSIX shell print the target directory to stdout
47927 # if CDPATH is set.
47928 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
47930 sed_quote_subst='$sed_quote_subst'
47931 double_quote_subst='$double_quote_subst'
47932 delay_variable_subst='$delay_variable_subst'
47933 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
47934 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
47935 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
47936 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
47937 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
47938 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
47939 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
47940 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
47941 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
47942 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
47943 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
47944 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
47945 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
47946 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
47947 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
47948 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
47949 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
47950 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
47951 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
47952 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
47953 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
47954 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
47955 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
47956 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
47957 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
47958 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
47959 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
47960 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
47961 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
47962 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
47963 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
47964 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
47965 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
47966 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
47967 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
47968 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
47969 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
47970 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
47971 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
47972 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
47973 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
47974 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
47975 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
47976 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
47977 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
47978 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
47979 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
47980 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
47981 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
47982 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
47983 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
47984 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
47985 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
47986 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
47987 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
47988 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
47989 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
47990 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"`'
47991 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
47992 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
47993 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
47994 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
47995 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
47996 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
47997 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
47998 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
47999 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
48000 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
48001 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
48002 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
48003 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
48004 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
48005 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
48006 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
48007 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
48008 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
48009 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
48010 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
48011 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
48012 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
48013 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
48014 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
48015 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
48016 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
48017 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
48018 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
48019 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
48020 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
48021 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
48022 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
48023 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
48024 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
48025 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
48026 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
48027 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
48028 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
48029 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
48030 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
48031 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
48032 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
48033 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
48034 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
48035 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
48036 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
48037 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
48038 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
48039 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
48040 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
48041 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
48042 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
48043 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
48044 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
48045 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
48046 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
48047 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
48048 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
48049 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
48050 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
48051 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
48052 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
48053 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
48054 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
48055 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
48056 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
48057 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
48058 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
48059 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
48060 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
48061 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
48062 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
48063 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
48064 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
48065 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
48066 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
48067 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
48068 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
48069 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
48070 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
48071 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
48072 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48073 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48074 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
48075 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
48076 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
48077 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
48078 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
48079 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
48080 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
48081 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
48082 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
48083 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
48084 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
48085 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
48086 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48087 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48088 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48089 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48090 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48091 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48092 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
48093 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
48094 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
48095 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
48096 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
48097 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
48098 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
48099 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
48100 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
48101 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
48102 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
48103 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
48104 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
48105 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48106 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
48107 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
48108 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48109 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
48110 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
48111 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
48112 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
48113 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
48114 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
48115 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
48116 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
48117 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
48120 LTCFLAGS='$LTCFLAGS'
48121 compiler='$compiler_DEFAULT'
48123 # A function that is used when there is no print builtin or printf.
48124 func_fallback_echo ()
48126 eval 'cat <<_LTECHO_EOF
48131 # Quote evaled strings.
48148 deplibs_check_method \
48152 sharedlib_from_linklib_cmd \
48155 archiver_list_spec \
48161 lt_cv_sys_global_symbol_pipe \
48162 lt_cv_sys_global_symbol_to_cdecl \
48163 lt_cv_sys_global_symbol_to_c_name_address \
48164 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
48165 nm_file_list_spec \
48166 lt_prog_compiler_no_builtin_flag \
48167 lt_prog_compiler_pic \
48168 lt_prog_compiler_wl \
48169 lt_prog_compiler_static \
48170 lt_cv_prog_compiler_c_o \
48179 export_dynamic_flag_spec \
48180 whole_archive_flag_spec \
48181 compiler_needs_object \
48183 allow_undefined_flag \
48184 no_undefined_flag \
48185 hardcode_libdir_flag_spec \
48186 hardcode_libdir_separator \
48190 variables_saved_for_relink \
48192 library_names_spec \
48194 install_override_mode \
48198 compiler_lib_search_dirs \
48203 compiler_lib_search_path \
48207 lt_prog_compiler_no_builtin_flag_CXX \
48208 lt_prog_compiler_pic_CXX \
48209 lt_prog_compiler_wl_CXX \
48210 lt_prog_compiler_static_CXX \
48211 lt_cv_prog_compiler_c_o_CXX \
48212 export_dynamic_flag_spec_CXX \
48213 whole_archive_flag_spec_CXX \
48214 compiler_needs_object_CXX \
48216 allow_undefined_flag_CXX \
48217 no_undefined_flag_CXX \
48218 hardcode_libdir_flag_spec_CXX \
48219 hardcode_libdir_separator_CXX \
48220 exclude_expsyms_CXX \
48221 include_expsyms_CXX \
48222 file_list_spec_CXX \
48223 compiler_lib_search_dirs_CXX \
48224 predep_objects_CXX \
48225 postdep_objects_CXX \
48228 compiler_lib_search_path_CXX; do
48229 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
48230 *[\\\\\\\`\\"\\\$]*)
48231 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
48234 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
48239 # Double-quote double-evaled strings.
48240 for var in reload_cmds \
48241 old_postinstall_cmds \
48242 old_postuninstall_cmds \
48244 extract_expsyms_cmds \
48245 old_archive_from_new_cmds \
48246 old_archive_from_expsyms_cmds \
48248 archive_expsym_cmds \
48250 module_expsym_cmds \
48251 export_symbols_cmds \
48255 postuninstall_cmds \
48257 sys_lib_search_path_spec \
48258 sys_lib_dlsearch_path_spec \
48260 old_archive_cmds_CXX \
48261 old_archive_from_new_cmds_CXX \
48262 old_archive_from_expsyms_cmds_CXX \
48264 archive_expsym_cmds_CXX \
48266 module_expsym_cmds_CXX \
48267 export_symbols_cmds_CXX \
48269 postlink_cmds_CXX; do
48270 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
48271 *[\\\\\\\`\\"\\\$]*)
48272 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
48275 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
48280 ac_aux_dir='$ac_aux_dir'
48281 xsi_shell='$xsi_shell'
48282 lt_shell_append='$lt_shell_append'
48284 # See if we are running on zsh, and set the options which allow our
48285 # commands through without removal of \ escapes INIT.
48286 if test -n "\${ZSH_VERSION+set}" ; then
48287 setopt NO_GLOB_SUBST
48293 TIMESTAMP='$TIMESTAMP'
48301 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
48302 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
48303 # from automake < 1.5.
48304 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
48305 # Capture the value of LINGUAS because we need it to compute CATALOGS.
48306 LINGUAS="${LINGUAS-%UNSET%}"
48308 # variables for create stdint.h replacement
48311 ac_stdint_h="$ac_stdint_h"
48312 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
48313 ac_cv_stdint_message="$ac_cv_stdint_message"
48314 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
48315 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
48316 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
48317 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
48318 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
48319 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
48320 ac_cv_char_data_model="$ac_cv_char_data_model"
48321 ac_cv_long_data_model="$ac_cv_long_data_model"
48322 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
48323 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
48324 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
48329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
48331 # Handling of arguments.
48332 for ac_config_target in $ac_config_targets
48334 case $ac_config_target in
48335 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
48336 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
48337 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
48338 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
48339 "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
48340 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
48341 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
48342 "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
48343 "gst-plugins-bad.spec") CONFIG_FILES="$CONFIG_FILES gst-plugins-bad.spec" ;;
48344 "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
48345 "gst/adpcmdec/Makefile") CONFIG_FILES="$CONFIG_FILES gst/adpcmdec/Makefile" ;;
48346 "gst/adpcmenc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/adpcmenc/Makefile" ;;
48347 "gst/aiff/Makefile") CONFIG_FILES="$CONFIG_FILES gst/aiff/Makefile" ;;
48348 "gst/asfmux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/asfmux/Makefile" ;;
48349 "gst/audiovisualizers/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audiovisualizers/Makefile" ;;
48350 "gst/autoconvert/Makefile") CONFIG_FILES="$CONFIG_FILES gst/autoconvert/Makefile" ;;
48351 "gst/bayer/Makefile") CONFIG_FILES="$CONFIG_FILES gst/bayer/Makefile" ;;
48352 "gst/camerabin/Makefile") CONFIG_FILES="$CONFIG_FILES gst/camerabin/Makefile" ;;
48353 "gst/camerabin2/Makefile") CONFIG_FILES="$CONFIG_FILES gst/camerabin2/Makefile" ;;
48354 "gst/cdxaparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/cdxaparse/Makefile" ;;
48355 "gst/colorspace/Makefile") CONFIG_FILES="$CONFIG_FILES gst/colorspace/Makefile" ;;
48356 "gst/coloreffects/Makefile") CONFIG_FILES="$CONFIG_FILES gst/coloreffects/Makefile" ;;
48357 "gst/dataurisrc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/dataurisrc/Makefile" ;;
48358 "gst/dccp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/dccp/Makefile" ;;
48359 "gst/debugutils/Makefile") CONFIG_FILES="$CONFIG_FILES gst/debugutils/Makefile" ;;
48360 "gst/dtmf/Makefile") CONFIG_FILES="$CONFIG_FILES gst/dtmf/Makefile" ;;
48361 "gst/dvbsuboverlay/Makefile") CONFIG_FILES="$CONFIG_FILES gst/dvbsuboverlay/Makefile" ;;
48362 "gst/dvdspu/Makefile") CONFIG_FILES="$CONFIG_FILES gst/dvdspu/Makefile" ;;
48363 "gst/faceoverlay/Makefile") CONFIG_FILES="$CONFIG_FILES gst/faceoverlay/Makefile" ;;
48364 "gst/festival/Makefile") CONFIG_FILES="$CONFIG_FILES gst/festival/Makefile" ;;
48365 "gst/fieldanalysis/Makefile") CONFIG_FILES="$CONFIG_FILES gst/fieldanalysis/Makefile" ;;
48366 "gst/freeze/Makefile") CONFIG_FILES="$CONFIG_FILES gst/freeze/Makefile" ;;
48367 "gst/freeverb/Makefile") CONFIG_FILES="$CONFIG_FILES gst/freeverb/Makefile" ;;
48368 "gst/frei0r/Makefile") CONFIG_FILES="$CONFIG_FILES gst/frei0r/Makefile" ;;
48369 "gst/gaudieffects/Makefile") CONFIG_FILES="$CONFIG_FILES gst/gaudieffects/Makefile" ;;
48370 "gst/geometrictransform/Makefile") CONFIG_FILES="$CONFIG_FILES gst/geometrictransform/Makefile" ;;
48371 "gst/h264parse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/h264parse/Makefile" ;;
48372 "gst/hdvparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/hdvparse/Makefile" ;;
48373 "gst/hls/Makefile") CONFIG_FILES="$CONFIG_FILES gst/hls/Makefile" ;;
48374 "gst/id3tag/Makefile") CONFIG_FILES="$CONFIG_FILES gst/id3tag/Makefile" ;;
48375 "gst/inter/Makefile") CONFIG_FILES="$CONFIG_FILES gst/inter/Makefile" ;;
48376 "gst/interlace/Makefile") CONFIG_FILES="$CONFIG_FILES gst/interlace/Makefile" ;;
48377 "gst/ivfparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/ivfparse/Makefile" ;;
48378 "gst/jp2kdecimator/Makefile") CONFIG_FILES="$CONFIG_FILES gst/jp2kdecimator/Makefile" ;;
48379 "gst/jpegformat/Makefile") CONFIG_FILES="$CONFIG_FILES gst/jpegformat/Makefile" ;;
48380 "gst/legacyresample/Makefile") CONFIG_FILES="$CONFIG_FILES gst/legacyresample/Makefile" ;;
48381 "gst/librfb/Makefile") CONFIG_FILES="$CONFIG_FILES gst/librfb/Makefile" ;;
48382 "gst/liveadder/Makefile") CONFIG_FILES="$CONFIG_FILES gst/liveadder/Makefile" ;;
48383 "gst/mpegdemux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mpegdemux/Makefile" ;;
48384 "gst/mpegtsdemux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mpegtsdemux/Makefile" ;;
48385 "gst/mpegtsmux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mpegtsmux/Makefile" ;;
48386 "gst/mpegtsmux/tsmux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mpegtsmux/tsmux/Makefile" ;;
48387 "gst/mpegpsmux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mpegpsmux/Makefile" ;;
48388 "gst/mpegvideoparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mpegvideoparse/Makefile" ;;
48389 "gst/mve/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mve/Makefile" ;;
48390 "gst/mxf/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mxf/Makefile" ;;
48391 "gst/nsf/Makefile") CONFIG_FILES="$CONFIG_FILES gst/nsf/Makefile" ;;
48392 "gst/nuvdemux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/nuvdemux/Makefile" ;;
48393 "gst/patchdetect/Makefile") CONFIG_FILES="$CONFIG_FILES gst/patchdetect/Makefile" ;;
48394 "gst/pcapparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/pcapparse/Makefile" ;;
48395 "gst/pnm/Makefile") CONFIG_FILES="$CONFIG_FILES gst/pnm/Makefile" ;;
48396 "gst/rawparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rawparse/Makefile" ;;
48397 "gst/real/Makefile") CONFIG_FILES="$CONFIG_FILES gst/real/Makefile" ;;
48398 "gst/removesilence/Makefile") CONFIG_FILES="$CONFIG_FILES gst/removesilence/Makefile" ;;
48399 "gst/rtpmux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rtpmux/Makefile" ;;
48400 "gst/rtpvp8/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rtpvp8/Makefile" ;;
48401 "gst/scaletempo/Makefile") CONFIG_FILES="$CONFIG_FILES gst/scaletempo/Makefile" ;;
48402 "gst/sdi/Makefile") CONFIG_FILES="$CONFIG_FILES gst/sdi/Makefile" ;;
48403 "gst/sdp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/sdp/Makefile" ;;
48404 "gst/segmentclip/Makefile") CONFIG_FILES="$CONFIG_FILES gst/segmentclip/Makefile" ;;
48405 "gst/siren/Makefile") CONFIG_FILES="$CONFIG_FILES gst/siren/Makefile" ;;
48406 "gst/smooth/Makefile") CONFIG_FILES="$CONFIG_FILES gst/smooth/Makefile" ;;
48407 "gst/speed/Makefile") CONFIG_FILES="$CONFIG_FILES gst/speed/Makefile" ;;
48408 "gst/subenc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/subenc/Makefile" ;;
48409 "gst/stereo/Makefile") CONFIG_FILES="$CONFIG_FILES gst/stereo/Makefile" ;;
48410 "gst/tta/Makefile") CONFIG_FILES="$CONFIG_FILES gst/tta/Makefile" ;;
48411 "gst/videofilters/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videofilters/Makefile" ;;
48412 "gst/videomaxrate/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videomaxrate/Makefile" ;;
48413 "gst/videomeasure/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videomeasure/Makefile" ;;
48414 "gst/videoparsers/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videoparsers/Makefile" ;;
48415 "gst/videosignal/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videosignal/Makefile" ;;
48416 "gst/vmnc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/vmnc/Makefile" ;;
48417 "gst/y4m/Makefile") CONFIG_FILES="$CONFIG_FILES gst/y4m/Makefile" ;;
48418 "gst-libs/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/Makefile" ;;
48419 "gst-libs/gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/Makefile" ;;
48420 "gst-libs/gst/basecamerabinsrc/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/basecamerabinsrc/Makefile" ;;
48421 "gst-libs/gst/interfaces/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/interfaces/Makefile" ;;
48422 "gst-libs/gst/signalprocessor/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/signalprocessor/Makefile" ;;
48423 "gst-libs/gst/codecparsers/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/codecparsers/Makefile" ;;
48424 "gst-libs/gst/video/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/video/Makefile" ;;
48425 "sys/Makefile") CONFIG_FILES="$CONFIG_FILES sys/Makefile" ;;
48426 "sys/dshowdecwrapper/Makefile") CONFIG_FILES="$CONFIG_FILES sys/dshowdecwrapper/Makefile" ;;
48427 "sys/acmenc/Makefile") CONFIG_FILES="$CONFIG_FILES sys/acmenc/Makefile" ;;
48428 "sys/acmmp3dec/Makefile") CONFIG_FILES="$CONFIG_FILES sys/acmmp3dec/Makefile" ;;
48429 "sys/applemedia/Makefile") CONFIG_FILES="$CONFIG_FILES sys/applemedia/Makefile" ;;
48430 "sys/avc/Makefile") CONFIG_FILES="$CONFIG_FILES sys/avc/Makefile" ;;
48431 "sys/d3dvideosink/Makefile") CONFIG_FILES="$CONFIG_FILES sys/d3dvideosink/Makefile" ;;
48432 "sys/decklink/Makefile") CONFIG_FILES="$CONFIG_FILES sys/decklink/Makefile" ;;
48433 "sys/directdraw/Makefile") CONFIG_FILES="$CONFIG_FILES sys/directdraw/Makefile" ;;
48434 "sys/directsound/Makefile") CONFIG_FILES="$CONFIG_FILES sys/directsound/Makefile" ;;
48435 "sys/dshowsrcwrapper/Makefile") CONFIG_FILES="$CONFIG_FILES sys/dshowsrcwrapper/Makefile" ;;
48436 "sys/dshowvideosink/Makefile") CONFIG_FILES="$CONFIG_FILES sys/dshowvideosink/Makefile" ;;
48437 "sys/dvb/Makefile") CONFIG_FILES="$CONFIG_FILES sys/dvb/Makefile" ;;
48438 "sys/fbdev/Makefile") CONFIG_FILES="$CONFIG_FILES sys/fbdev/Makefile" ;;
48439 "sys/linsys/Makefile") CONFIG_FILES="$CONFIG_FILES sys/linsys/Makefile" ;;
48440 "sys/osxvideo/Makefile") CONFIG_FILES="$CONFIG_FILES sys/osxvideo/Makefile" ;;
48441 "sys/qtwrapper/Makefile") CONFIG_FILES="$CONFIG_FILES sys/qtwrapper/Makefile" ;;
48442 "sys/shm/Makefile") CONFIG_FILES="$CONFIG_FILES sys/shm/Makefile" ;;
48443 "sys/vcd/Makefile") CONFIG_FILES="$CONFIG_FILES sys/vcd/Makefile" ;;
48444 "sys/vdpau/Makefile") CONFIG_FILES="$CONFIG_FILES sys/vdpau/Makefile" ;;
48445 "sys/vdpau/gstvdp/Makefile") CONFIG_FILES="$CONFIG_FILES sys/vdpau/gstvdp/Makefile" ;;
48446 "sys/vdpau/basevideodecoder/Makefile") CONFIG_FILES="$CONFIG_FILES sys/vdpau/basevideodecoder/Makefile" ;;
48447 "sys/pvr2d/Makefile") CONFIG_FILES="$CONFIG_FILES sys/pvr2d/Makefile" ;;
48448 "sys/wasapi/Makefile") CONFIG_FILES="$CONFIG_FILES sys/wasapi/Makefile" ;;
48449 "sys/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES sys/wininet/Makefile" ;;
48450 "sys/winks/Makefile") CONFIG_FILES="$CONFIG_FILES sys/winks/Makefile" ;;
48451 "sys/winscreencap/Makefile") CONFIG_FILES="$CONFIG_FILES sys/winscreencap/Makefile" ;;
48452 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
48453 "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
48454 "tests/files/Makefile") CONFIG_FILES="$CONFIG_FILES tests/files/Makefile" ;;
48455 "tests/examples/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/Makefile" ;;
48456 "tests/examples/camerabin/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/camerabin/Makefile" ;;
48457 "tests/examples/camerabin2/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/camerabin2/Makefile" ;;
48458 "tests/examples/directfb/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/directfb/Makefile" ;;
48459 "tests/examples/mxf/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/mxf/Makefile" ;;
48460 "tests/examples/scaletempo/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/scaletempo/Makefile" ;;
48461 "tests/examples/opencv/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/opencv/Makefile" ;;
48462 "tests/icles/Makefile") CONFIG_FILES="$CONFIG_FILES tests/icles/Makefile" ;;
48463 "ext/voamrwbenc/Makefile") CONFIG_FILES="$CONFIG_FILES ext/voamrwbenc/Makefile" ;;
48464 "ext/voaacenc/Makefile") CONFIG_FILES="$CONFIG_FILES ext/voaacenc/Makefile" ;;
48465 "ext/assrender/Makefile") CONFIG_FILES="$CONFIG_FILES ext/assrender/Makefile" ;;
48466 "ext/apexsink/Makefile") CONFIG_FILES="$CONFIG_FILES ext/apexsink/Makefile" ;;
48467 "ext/bz2/Makefile") CONFIG_FILES="$CONFIG_FILES ext/bz2/Makefile" ;;
48468 "ext/cdaudio/Makefile") CONFIG_FILES="$CONFIG_FILES ext/cdaudio/Makefile" ;;
48469 "ext/celt/Makefile") CONFIG_FILES="$CONFIG_FILES ext/celt/Makefile" ;;
48470 "ext/cog/Makefile") CONFIG_FILES="$CONFIG_FILES ext/cog/Makefile" ;;
48471 "ext/curl/Makefile") CONFIG_FILES="$CONFIG_FILES ext/curl/Makefile" ;;
48472 "ext/dc1394/Makefile") CONFIG_FILES="$CONFIG_FILES ext/dc1394/Makefile" ;;
48473 "ext/dirac/Makefile") CONFIG_FILES="$CONFIG_FILES ext/dirac/Makefile" ;;
48474 "ext/directfb/Makefile") CONFIG_FILES="$CONFIG_FILES ext/directfb/Makefile" ;;
48475 "ext/divx/Makefile") CONFIG_FILES="$CONFIG_FILES ext/divx/Makefile" ;;
48476 "ext/dts/Makefile") CONFIG_FILES="$CONFIG_FILES ext/dts/Makefile" ;;
48477 "ext/faac/Makefile") CONFIG_FILES="$CONFIG_FILES ext/faac/Makefile" ;;
48478 "ext/faad/Makefile") CONFIG_FILES="$CONFIG_FILES ext/faad/Makefile" ;;
48479 "ext/flite/Makefile") CONFIG_FILES="$CONFIG_FILES ext/flite/Makefile" ;;
48480 "ext/gsm/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gsm/Makefile" ;;
48481 "ext/jp2k/Makefile") CONFIG_FILES="$CONFIG_FILES ext/jp2k/Makefile" ;;
48482 "ext/kate/Makefile") CONFIG_FILES="$CONFIG_FILES ext/kate/Makefile" ;;
48483 "ext/ladspa/Makefile") CONFIG_FILES="$CONFIG_FILES ext/ladspa/Makefile" ;;
48484 "ext/lv2/Makefile") CONFIG_FILES="$CONFIG_FILES ext/lv2/Makefile" ;;
48485 "ext/libmms/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libmms/Makefile" ;;
48486 "ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
48487 "ext/modplug/Makefile") CONFIG_FILES="$CONFIG_FILES ext/modplug/Makefile" ;;
48488 "ext/mpeg2enc/Makefile") CONFIG_FILES="$CONFIG_FILES ext/mpeg2enc/Makefile" ;;
48489 "ext/mimic/Makefile") CONFIG_FILES="$CONFIG_FILES ext/mimic/Makefile" ;;
48490 "ext/mplex/Makefile") CONFIG_FILES="$CONFIG_FILES ext/mplex/Makefile" ;;
48491 "ext/musepack/Makefile") CONFIG_FILES="$CONFIG_FILES ext/musepack/Makefile" ;;
48492 "ext/musicbrainz/Makefile") CONFIG_FILES="$CONFIG_FILES ext/musicbrainz/Makefile" ;;
48493 "ext/mythtv/Makefile") CONFIG_FILES="$CONFIG_FILES ext/mythtv/Makefile" ;;
48494 "ext/nas/Makefile") CONFIG_FILES="$CONFIG_FILES ext/nas/Makefile" ;;
48495 "ext/neon/Makefile") CONFIG_FILES="$CONFIG_FILES ext/neon/Makefile" ;;
48496 "ext/ofa/Makefile") CONFIG_FILES="$CONFIG_FILES ext/ofa/Makefile" ;;
48497 "ext/openal/Makefile") CONFIG_FILES="$CONFIG_FILES ext/openal/Makefile" ;;
48498 "ext/opencv/Makefile") CONFIG_FILES="$CONFIG_FILES ext/opencv/Makefile" ;;
48499 "ext/opus/Makefile") CONFIG_FILES="$CONFIG_FILES ext/opus/Makefile" ;;
48500 "ext/rsvg/Makefile") CONFIG_FILES="$CONFIG_FILES ext/rsvg/Makefile" ;;
48501 "ext/resindvd/Makefile") CONFIG_FILES="$CONFIG_FILES ext/resindvd/Makefile" ;;
48502 "ext/rtmp/Makefile") CONFIG_FILES="$CONFIG_FILES ext/rtmp/Makefile" ;;
48503 "ext/schroedinger/Makefile") CONFIG_FILES="$CONFIG_FILES ext/schroedinger/Makefile" ;;
48504 "ext/sdl/Makefile") CONFIG_FILES="$CONFIG_FILES ext/sdl/Makefile" ;;
48505 "ext/sndfile/Makefile") CONFIG_FILES="$CONFIG_FILES ext/sndfile/Makefile" ;;
48506 "ext/soundtouch/Makefile") CONFIG_FILES="$CONFIG_FILES ext/soundtouch/Makefile" ;;
48507 "ext/spandsp/Makefile") CONFIG_FILES="$CONFIG_FILES ext/spandsp/Makefile" ;;
48508 "ext/teletextdec/Makefile") CONFIG_FILES="$CONFIG_FILES ext/teletextdec/Makefile" ;;
48509 "ext/gme/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gme/Makefile" ;;
48510 "ext/gsettings/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gsettings/Makefile" ;;
48511 "ext/gsettings/org.freedesktop.gstreamer.default-elements.gschema.xml") CONFIG_FILES="$CONFIG_FILES ext/gsettings/org.freedesktop.gstreamer.default-elements.gschema.xml" ;;
48512 "ext/spc/Makefile") CONFIG_FILES="$CONFIG_FILES ext/spc/Makefile" ;;
48513 "ext/swfdec/Makefile") CONFIG_FILES="$CONFIG_FILES ext/swfdec/Makefile" ;;
48514 "ext/timidity/Makefile") CONFIG_FILES="$CONFIG_FILES ext/timidity/Makefile" ;;
48515 "ext/vp8/Makefile") CONFIG_FILES="$CONFIG_FILES ext/vp8/Makefile" ;;
48516 "ext/xvid/Makefile") CONFIG_FILES="$CONFIG_FILES ext/xvid/Makefile" ;;
48517 "ext/zbar/Makefile") CONFIG_FILES="$CONFIG_FILES ext/zbar/Makefile" ;;
48518 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
48519 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
48520 "docs/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES docs/plugins/Makefile" ;;
48521 "docs/libs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libs/Makefile" ;;
48522 "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
48523 "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
48524 "pkgconfig/gstreamer-plugins-bad.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-plugins-bad.pc" ;;
48525 "pkgconfig/gstreamer-plugins-bad-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-plugins-bad-uninstalled.pc" ;;
48526 "pkgconfig/gstreamer-codecparsers.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-codecparsers.pc" ;;
48527 "pkgconfig/gstreamer-codecparsers-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-codecparsers-uninstalled.pc" ;;
48528 "pkgconfig/gstreamer-basevideo.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-basevideo.pc" ;;
48529 "pkgconfig/gstreamer-basevideo-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-basevideo-uninstalled.pc" ;;
48530 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
48531 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
48532 "win32/common/config.h") CONFIG_FILES="$CONFIG_FILES win32/common/config.h" ;;
48534 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
48539 # If the user did not use the arguments to specify the items to instantiate,
48540 # then the envvar interface is used. Set only those that are not.
48541 # We use the long form for the default assignment because of an extremely
48542 # bizarre bug on SunOS 4.1.3.
48543 if $ac_need_defaults; then
48544 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
48545 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
48546 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
48549 # Have a temporary directory for convenience. Make it in the build tree
48550 # simply because there is no reason against having it here, and in addition,
48551 # creating and moving files from /tmp can sometimes cause problems.
48552 # Hook for its removal unless debugging.
48553 # Note that there is a small window in which the directory will not be cleaned:
48554 # after its creation but before its name has been assigned to `$tmp'.
48558 trap 'exit_status=$?
48559 : "${ac_tmp:=$tmp}"
48560 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
48562 trap 'as_fn_exit 1' 1 2 13 15
48564 # Create a (secure) tmp directory for tmp files.
48567 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
48571 tmp=./conf$$-$RANDOM
48572 (umask 077 && mkdir "$tmp")
48573 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
48576 # Set up the scripts for CONFIG_FILES section.
48577 # No need to generate them if there are no CONFIG_FILES.
48578 # This happens for instance with `./config.status config.h'.
48579 if test -n "$CONFIG_FILES"; then
48582 ac_cr=`echo X | tr X '\015'`
48583 # On cygwin, bash can eat \r inside `` if the user requested igncr.
48584 # But we know of no other shell where ac_cr would be empty at this
48585 # point, so we can use a bashism as a fallback.
48586 if test "x$ac_cr" = x; then
48587 eval ac_cr=\$\'\\r\'
48589 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
48590 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
48593 ac_cs_awk_cr=$ac_cr
48596 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
48601 echo "cat >conf$$subs.awk <<_ACEOF" &&
48602 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
48604 } >conf$$subs.sh ||
48605 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
48606 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
48608 for ac_last_try in false false false false false :; do
48609 . ./conf$$subs.sh ||
48610 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
48612 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
48613 if test $ac_delim_n = $ac_delim_num; then
48615 elif $ac_last_try; then
48616 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
48618 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
48621 rm -f conf$$subs.sh
48623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
48624 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
48628 s/^/S["/; s/!.*/"]=/
48638 s/\(.\{148\}\)..*/\1/
48640 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
48645 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
48652 s/\(.\{148\}\)..*/\1/
48654 s/["\\]/\\&/g; s/^/"/; s/$/"/
48658 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
48663 ' <conf$$subs.awk | sed '
48668 ' >>$CONFIG_STATUS || ac_write_fail=1
48669 rm -f conf$$subs.awk
48670 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
48672 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
48673 for (key in S) S_is_set[key] = 1
48679 nfields = split(line, field, "@")
48681 len = length(field[1])
48682 for (i = 2; i < nfields; i++) {
48684 keylen = length(key)
48685 if (S_is_set[key]) {
48687 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
48688 len += length(value) + length(field[++i])
48699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
48700 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
48701 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
48704 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
48705 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
48708 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
48709 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
48710 # trailing colons and then remove the whole line if VPATH becomes empty
48711 # (actually we leave an empty line to preserve line numbers).
48712 if test "x$srcdir" = x.; then
48713 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
48731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
48732 fi # test -n "$CONFIG_FILES"
48734 # Set up the scripts for CONFIG_HEADERS section.
48735 # No need to generate them if there are no CONFIG_HEADERS.
48736 # This happens for instance with `./config.status Makefile'.
48737 if test -n "$CONFIG_HEADERS"; then
48738 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
48742 # Transform confdefs.h into an awk script `defines.awk', embedded as
48743 # here-document in config.status, that substitutes the proper values into
48744 # config.h.in to produce config.h.
48746 # Create a delimiter string that does not exist in confdefs.h, to ease
48747 # handling of long lines.
48749 for ac_last_try in false false :; do
48750 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
48751 if test -z "$ac_tt"; then
48753 elif $ac_last_try; then
48754 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
48756 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
48760 # For the awk script, D is an array of macro values keyed by name,
48761 # likewise P contains macro parameters if any. Preserve backslash
48762 # newline sequences.
48764 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
48766 s/.\{148\}/&'"$ac_delim"'/g
48769 s/^[ ]*#[ ]*define[ ][ ]*/ /
48776 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
48778 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
48782 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
48783 D["\1"]=" \3\\\\\\n"\\/p
48785 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
48790 s/.\{148\}/&'"$ac_delim"'/g
48795 s/["\\]/\\&/g; s/^/"/; s/$/"/p
48798 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
48800 ' <confdefs.h | sed '
48801 s/'"$ac_delim"'/"\\\
48802 "/g' >>$CONFIG_STATUS || ac_write_fail=1
48804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
48805 for (key in D) D_is_set[key] = 1
48808 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
48810 split(line, arg, " ")
48811 if (arg[1] == "#") {
48815 defundef = substr(arg[1], 2)
48818 split(mac1, mac2, "(") #)
48820 prefix = substr(line, 1, index(line, defundef) - 1)
48821 if (D_is_set[macro]) {
48822 # Preserve the white space surrounding the "#".
48823 print prefix "define", macro P[macro] D[macro]
48826 # Replace #undef with comments. This is necessary, for example,
48827 # in the case of _POSIX_SOURCE, which is predefined and required
48828 # on some systems where configure will not decide to define it.
48829 if (defundef == "undef") {
48830 print "/*", prefix defundef, macro, "*/"
48838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
48839 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
48840 fi # test -n "$CONFIG_HEADERS"
48843 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
48848 :[FHLC]) ac_mode=$ac_tag; continue;;
48850 case $ac_mode$ac_tag in
48852 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
48853 :[FH]-) ac_tag=-:-;;
48854 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
48871 -) ac_f="$ac_tmp/stdin";;
48872 *) # Look for the file first in the build tree, then in the source tree
48873 # (if the path is not absolute). The absolute path cannot be DOS-style,
48874 # because $ac_f cannot contain `:'.
48878 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
48880 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
48882 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
48883 as_fn_append ac_file_inputs " '$ac_f'"
48886 # Let's still pretend it is `configure' which instantiates (i.e., don't
48887 # use $as_me), people would be surprised to read:
48888 # /* config.h. Generated by config.status. */
48889 configure_input='Generated from '`
48890 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
48892 if test x"$ac_file" != x-; then
48893 configure_input="$ac_file. $configure_input"
48894 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
48895 $as_echo "$as_me: creating $ac_file" >&6;}
48897 # Neutralize special characters interpreted by sed in replacement strings.
48898 case $configure_input in #(
48899 *\&* | *\|* | *\\* )
48900 ac_sed_conf_input=`$as_echo "$configure_input" |
48901 sed 's/[\\\\&|]/\\\\&/g'`;; #(
48902 *) ac_sed_conf_input=$configure_input;;
48906 *:-:* | *:-) cat >"$ac_tmp/stdin" \
48907 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
48912 ac_dir=`$as_dirname -- "$ac_file" ||
48913 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
48914 X"$ac_file" : 'X\(//\)[^/]' \| \
48915 X"$ac_file" : 'X\(//\)$' \| \
48916 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
48917 $as_echo X"$ac_file" |
48918 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
48922 /^X\(\/\/\)[^/].*/{
48935 as_dir="$ac_dir"; as_fn_mkdir_p
48939 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
48941 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
48942 # A ".." for each directory in $ac_dir_suffix.
48943 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
48944 case $ac_top_builddir_sub in
48945 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
48946 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
48949 ac_abs_top_builddir=$ac_pwd
48950 ac_abs_builddir=$ac_pwd$ac_dir_suffix
48951 # for backward compatibility:
48952 ac_top_builddir=$ac_top_build_prefix
48955 .) # We are building in place.
48957 ac_top_srcdir=$ac_top_builddir_sub
48958 ac_abs_top_srcdir=$ac_pwd ;;
48959 [\\/]* | ?:[\\/]* ) # Absolute name.
48960 ac_srcdir=$srcdir$ac_dir_suffix;
48961 ac_top_srcdir=$srcdir
48962 ac_abs_top_srcdir=$srcdir ;;
48963 *) # Relative name.
48964 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
48965 ac_top_srcdir=$ac_top_build_prefix$srcdir
48966 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
48968 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
48978 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
48979 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
48981 ac_MKDIR_P=$MKDIR_P
48983 [\\/$]* | ?:[\\/]* ) ;;
48984 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
48988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
48989 # If the template does not know about datarootdir, expand it.
48990 # FIXME: This hack should be removed a few years after 2.60.
48991 ac_datarootdir_hack=; ac_datarootdir_seen=
49002 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
49003 *datarootdir*) ac_datarootdir_seen=yes;;
49004 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
49005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
49006 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
49008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
49009 ac_datarootdir_hack='
49010 s&@datadir@&$datadir&g
49011 s&@docdir@&$docdir&g
49012 s&@infodir@&$infodir&g
49013 s&@localedir@&$localedir&g
49014 s&@mandir@&$mandir&g
49015 s&\\\${datarootdir}&$datarootdir&g' ;;
49019 # Neutralize VPATH when `$srcdir' = `.'.
49020 # Shell code in configure.ac might set extrasub.
49021 # FIXME: do we really want to maintain this feature?
49022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
49023 ac_sed_extra="$ac_vpsub
49026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
49028 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49029 s|@configure_input@|$ac_sed_conf_input|;t t
49030 s&@top_builddir@&$ac_top_builddir_sub&;t t
49031 s&@top_build_prefix@&$ac_top_build_prefix&;t t
49032 s&@srcdir@&$ac_srcdir&;t t
49033 s&@abs_srcdir@&$ac_abs_srcdir&;t t
49034 s&@top_srcdir@&$ac_top_srcdir&;t t
49035 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
49036 s&@builddir@&$ac_builddir&;t t
49037 s&@abs_builddir@&$ac_abs_builddir&;t t
49038 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
49039 s&@INSTALL@&$ac_INSTALL&;t t
49040 s&@MKDIR_P@&$ac_MKDIR_P&;t t
49041 $ac_datarootdir_hack
49043 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
49044 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
49046 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
49047 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
49048 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
49049 "$ac_tmp/out"`; test -z "$ac_out"; } &&
49050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
49051 which seems to be undefined. Please make sure it is defined" >&5
49052 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
49053 which seems to be undefined. Please make sure it is defined" >&2;}
49055 rm -f "$ac_tmp/stdin"
49057 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
49058 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
49060 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
49066 if test x"$ac_file" != x-; then
49068 $as_echo "/* $configure_input */" \
49069 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
49070 } >"$ac_tmp/config.h" \
49071 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
49072 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
49073 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
49074 $as_echo "$as_me: $ac_file is unchanged" >&6;}
49077 mv "$ac_tmp/config.h" "$ac_file" \
49078 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
49081 $as_echo "/* $configure_input */" \
49082 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
49083 || as_fn_error $? "could not create -" "$LINENO" 5
49085 # Compute "$ac_file"'s index in $config_headers.
49088 for _am_header in $config_headers :; do
49089 case $_am_header in
49090 $_am_arg | $_am_arg:* )
49093 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
49096 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
49097 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49098 X"$_am_arg" : 'X\(//\)[^/]' \| \
49099 X"$_am_arg" : 'X\(//\)$' \| \
49100 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
49101 $as_echo X"$_am_arg" |
49102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
49106 /^X\(\/\/\)[^/].*/{
49118 s/.*/./; q'`/stamp-h$_am_stamp_count
49121 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
49122 $as_echo "$as_me: executing $ac_file commands" >&6;}
49127 case $ac_file$ac_mode in
49128 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
49129 # Autoconf 2.62 quotes --file arguments for eval, but not when files
49130 # are listed without --file. Let's play safe and only enable the eval
49131 # if we detect the quoting.
49132 case $CONFIG_FILES in
49133 *\'*) eval set x "$CONFIG_FILES" ;;
49134 *) set x $CONFIG_FILES ;;
49139 # Strip MF so we end up with the name of the file.
49140 mf=`echo "$mf" | sed -e 's/:.*$//'`
49141 # Check whether this is an Automake generated Makefile or not.
49142 # We used to match only the files named `Makefile.in', but
49143 # some people rename them; so instead we look at the file content.
49144 # Grep'ing the first line is not enough: some people post-process
49145 # each Makefile.in and add a new line on top of each file to say so.
49146 # Grep'ing the whole file is not good either: AIX grep has a line
49147 # limit of 2048, but all sed's we know have understand at least 4000.
49148 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
49149 dirpart=`$as_dirname -- "$mf" ||
49150 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49151 X"$mf" : 'X\(//\)[^/]' \| \
49152 X"$mf" : 'X\(//\)$' \| \
49153 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
49155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
49159 /^X\(\/\/\)[^/].*/{
49175 # Extract the definition of DEPDIR, am__include, and am__quote
49176 # from the Makefile without running `make'.
49177 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
49178 test -z "$DEPDIR" && continue
49179 am__include=`sed -n 's/^am__include = //p' < "$mf"`
49180 test -z "am__include" && continue
49181 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
49182 # When using ansi2knr, U may be empty or an underscore; expand it
49183 U=`sed -n 's/^U = //p' < "$mf"`
49184 # Find all dependency output files, they are included files with
49185 # $(DEPDIR) in their names. We invoke sed twice because it is the
49186 # simplest approach to changing $(DEPDIR) to its actual value in the
49188 for file in `sed -n "
49189 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
49190 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
49191 # Make sure the directory exists.
49192 test -f "$dirpart/$file" && continue
49193 fdir=`$as_dirname -- "$file" ||
49194 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
49195 X"$file" : 'X\(//\)[^/]' \| \
49196 X"$file" : 'X\(//\)$' \| \
49197 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
49198 $as_echo X"$file" |
49199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
49203 /^X\(\/\/\)[^/].*/{
49216 as_dir=$dirpart/$fdir; as_fn_mkdir_p
49217 # echo "creating $dirpart/$file"
49218 echo '# dummy' > "$dirpart/$file"
49225 # See if we are running on zsh, and set the options which allow our
49226 # commands through without removal of \ escapes.
49227 if test -n "${ZSH_VERSION+set}" ; then
49228 setopt NO_GLOB_SUBST
49231 cfgfile="${ofile}T"
49232 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
49235 cat <<_LT_EOF >> "$cfgfile"
49238 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
49239 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
49240 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
49241 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
49243 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
49244 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
49246 # Written by Gordon Matzigkeit, 1996
49248 # This file is part of GNU Libtool.
49250 # GNU Libtool is free software; you can redistribute it and/or
49251 # modify it under the terms of the GNU General Public License as
49252 # published by the Free Software Foundation; either version 2 of
49253 # the License, or (at your option) any later version.
49255 # As a special exception to the GNU General Public License,
49256 # if you distribute this file as part of a program or library that
49257 # is built using GNU Libtool, you may include this file under the
49258 # same distribution terms that you use for the rest of that program.
49260 # GNU Libtool is distributed in the hope that it will be useful,
49261 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49262 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49263 # GNU General Public License for more details.
49265 # You should have received a copy of the GNU General Public License
49266 # along with GNU Libtool; see the file COPYING. If not, a copy
49267 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
49268 # obtained by writing to the Free Software Foundation, Inc.,
49269 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
49272 # The names of the tagged configurations supported by this script.
49273 available_tags="CXX "
49275 # ### BEGIN LIBTOOL CONFIG
49277 # Assembler program.
49280 # DLL creation program.
49281 DLLTOOL=$lt_DLLTOOL
49283 # Object dumper program.
49284 OBJDUMP=$lt_OBJDUMP
49286 # Which release of libtool.m4 was used?
49287 macro_version=$macro_version
49288 macro_revision=$macro_revision
49290 # Whether or not to build shared libraries.
49291 build_libtool_libs=$enable_shared
49293 # Whether or not to build static libraries.
49294 build_old_libs=$enable_static
49296 # What type of objects to build.
49299 # Whether or not to optimize for fast installation.
49300 fast_install=$enable_fast_install
49302 # Shell to use when invoking shell scripts.
49305 # An echo program that protects backslashes.
49308 # The PATH separator for the build system.
49309 PATH_SEPARATOR=$lt_PATH_SEPARATOR
49312 host_alias=$host_alias
49316 # The build system.
49317 build_alias=$build_alias
49321 # A sed program that does not truncate output.
49324 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
49325 Xsed="\$SED -e 1s/^X//"
49327 # A grep program that handles long lines.
49333 # A literal string matcher.
49336 # A BSD- or MS-compatible name lister.
49339 # Whether we need soft or hard links.
49342 # What is the maximum length of a command?
49343 max_cmd_len=$max_cmd_len
49345 # Object file suffix (normally "o").
49348 # Executable file suffix (normally "").
49351 # whether the shell understands "unset".
49354 # turn spaces into newlines.
49357 # turn newlines into spaces.
49360 # convert \$build file names to \$host format.
49361 to_host_file_cmd=$lt_cv_to_host_file_cmd
49363 # convert \$build files to toolchain format.
49364 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
49366 # Method to check whether dependent libraries are shared objects.
49367 deplibs_check_method=$lt_deplibs_check_method
49369 # Command to use when deplibs_check_method = "file_magic".
49370 file_magic_cmd=$lt_file_magic_cmd
49372 # How to find potential files when deplibs_check_method = "file_magic".
49373 file_magic_glob=$lt_file_magic_glob
49375 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
49376 want_nocaseglob=$lt_want_nocaseglob
49378 # Command to associate shared and link libraries.
49379 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
49384 # Flags to create an archive.
49385 AR_FLAGS=$lt_AR_FLAGS
49387 # How to feed a file listing to the archiver.
49388 archiver_list_spec=$lt_archiver_list_spec
49390 # A symbol stripping program.
49393 # Commands used to install an old-style archive.
49395 old_postinstall_cmds=$lt_old_postinstall_cmds
49396 old_postuninstall_cmds=$lt_old_postuninstall_cmds
49398 # Whether to use a lock for old archive extraction.
49399 lock_old_archive_extraction=$lock_old_archive_extraction
49404 # LTCC compiler flags.
49405 LTCFLAGS=$lt_CFLAGS
49407 # Take the output of nm and produce a listing of raw symbols and C names.
49408 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
49410 # Transform the output of nm in a proper C declaration.
49411 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
49413 # Transform the output of nm in a C name address pair.
49414 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
49416 # Transform the output of nm in a C name address pair when lib prefix is needed.
49417 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
49419 # Specify filename containing input files for \$NM.
49420 nm_file_list_spec=$lt_nm_file_list_spec
49422 # The root where to search for dependent libraries,and in which our libraries should be installed.
49423 lt_sysroot=$lt_sysroot
49425 # The name of the directory that contains temporary libtool files.
49428 # Used to examine libraries when file_magic_cmd begins with "file".
49429 MAGIC_CMD=$MAGIC_CMD
49431 # Must we lock files when doing compilation?
49432 need_locks=$lt_need_locks
49435 MANIFEST_TOOL=$lt_MANIFEST_TOOL
49437 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
49438 DSYMUTIL=$lt_DSYMUTIL
49440 # Tool to change global to local symbols on Mac OS X.
49443 # Tool to manipulate fat objects and archives on Mac OS X.
49446 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
49449 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
49450 OTOOL64=$lt_OTOOL64
49452 # Old archive suffix (normally "a").
49455 # Shared library suffix (normally ".so").
49456 shrext_cmds=$lt_shrext_cmds
49458 # The commands to extract the exported symbol list from a shared archive.
49459 extract_expsyms_cmds=$lt_extract_expsyms_cmds
49461 # Variables whose values should be saved in libtool wrapper scripts and
49462 # restored at link time.
49463 variables_saved_for_relink=$lt_variables_saved_for_relink
49465 # Do we need the "lib" prefix for modules?
49466 need_lib_prefix=$need_lib_prefix
49468 # Do we need a version for libraries?
49469 need_version=$need_version
49471 # Library versioning type.
49472 version_type=$version_type
49474 # Shared library runtime path variable.
49475 runpath_var=$runpath_var
49477 # Shared library path variable.
49478 shlibpath_var=$shlibpath_var
49480 # Is shlibpath searched before the hard-coded library search path?
49481 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
49483 # Format of library name prefix.
49484 libname_spec=$lt_libname_spec
49486 # List of archive names. First name is the real one, the rest are links.
49487 # The last name is the one that the linker finds with -lNAME
49488 library_names_spec=$lt_library_names_spec
49490 # The coded name of the library, if different from the real name.
49491 soname_spec=$lt_soname_spec
49493 # Permission mode override for installation of shared libraries.
49494 install_override_mode=$lt_install_override_mode
49496 # Command to use after installation of a shared archive.
49497 postinstall_cmds=$lt_postinstall_cmds
49499 # Command to use after uninstallation of a shared archive.
49500 postuninstall_cmds=$lt_postuninstall_cmds
49502 # Commands used to finish a libtool library installation in a directory.
49503 finish_cmds=$lt_finish_cmds
49505 # As "finish_cmds", except a single script fragment to be evaled but
49507 finish_eval=$lt_finish_eval
49509 # Whether we should hardcode library paths into libraries.
49510 hardcode_into_libs=$hardcode_into_libs
49512 # Compile-time system search path for libraries.
49513 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
49515 # Run-time system search path for libraries.
49516 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
49518 # Whether dlopen is supported.
49519 dlopen_support=$enable_dlopen
49521 # Whether dlopen of programs is supported.
49522 dlopen_self=$enable_dlopen_self
49524 # Whether dlopen of statically linked programs is supported.
49525 dlopen_self_static=$enable_dlopen_self_static
49527 # Commands to strip libraries.
49528 old_striplib=$lt_old_striplib
49529 striplib=$lt_striplib
49532 # The linker used to build libraries.
49535 # How to create reloadable object files.
49536 reload_flag=$lt_reload_flag
49537 reload_cmds=$lt_reload_cmds
49539 # Commands used to build an old-style archive.
49540 old_archive_cmds=$lt_old_archive_cmds
49542 # A language specific compiler.
49545 # Is the compiler the GNU compiler?
49548 # Compiler flag to turn off builtin functions.
49549 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
49551 # Additional compiler flags for building library objects.
49552 pic_flag=$lt_lt_prog_compiler_pic
49554 # How to pass a linker flag through the compiler.
49555 wl=$lt_lt_prog_compiler_wl
49557 # Compiler flag to prevent dynamic linking.
49558 link_static_flag=$lt_lt_prog_compiler_static
49560 # Does compiler simultaneously support -c and -o options?
49561 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
49563 # Whether or not to add -lc for building shared libraries.
49564 build_libtool_need_lc=$archive_cmds_need_lc
49566 # Whether or not to disallow shared libs when runtime libs are static.
49567 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
49569 # Compiler flag to allow reflexive dlopens.
49570 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
49572 # Compiler flag to generate shared objects directly from archives.
49573 whole_archive_flag_spec=$lt_whole_archive_flag_spec
49575 # Whether the compiler copes with passing no objects directly.
49576 compiler_needs_object=$lt_compiler_needs_object
49578 # Create an old-style archive from a shared archive.
49579 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
49581 # Create a temporary old-style archive to link instead of a shared archive.
49582 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
49584 # Commands used to build a shared archive.
49585 archive_cmds=$lt_archive_cmds
49586 archive_expsym_cmds=$lt_archive_expsym_cmds
49588 # Commands used to build a loadable module if different from building
49589 # a shared archive.
49590 module_cmds=$lt_module_cmds
49591 module_expsym_cmds=$lt_module_expsym_cmds
49593 # Whether we are building with GNU ld or not.
49594 with_gnu_ld=$lt_with_gnu_ld
49596 # Flag that allows shared libraries with undefined symbols to be built.
49597 allow_undefined_flag=$lt_allow_undefined_flag
49599 # Flag that enforces no undefined symbols.
49600 no_undefined_flag=$lt_no_undefined_flag
49602 # Flag to hardcode \$libdir into a binary during linking.
49603 # This must work even if \$libdir does not exist
49604 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
49606 # Whether we need a single "-rpath" flag with a separated argument.
49607 hardcode_libdir_separator=$lt_hardcode_libdir_separator
49609 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
49610 # DIR into the resulting binary.
49611 hardcode_direct=$hardcode_direct
49613 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
49614 # DIR into the resulting binary and the resulting library dependency is
49615 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
49616 # library is relocated.
49617 hardcode_direct_absolute=$hardcode_direct_absolute
49619 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
49620 # into the resulting binary.
49621 hardcode_minus_L=$hardcode_minus_L
49623 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
49624 # into the resulting binary.
49625 hardcode_shlibpath_var=$hardcode_shlibpath_var
49627 # Set to "yes" if building a shared library automatically hardcodes DIR
49628 # into the library and all subsequent libraries and executables linked
49630 hardcode_automatic=$hardcode_automatic
49632 # Set to yes if linker adds runtime paths of dependent libraries
49633 # to runtime path list.
49634 inherit_rpath=$inherit_rpath
49636 # Whether libtool must link a program against all its dependency libraries.
49637 link_all_deplibs=$link_all_deplibs
49639 # Set to "yes" if exported symbols are required.
49640 always_export_symbols=$always_export_symbols
49642 # The commands to list exported symbols.
49643 export_symbols_cmds=$lt_export_symbols_cmds
49645 # Symbols that should not be listed in the preloaded symbols.
49646 exclude_expsyms=$lt_exclude_expsyms
49648 # Symbols that must always be exported.
49649 include_expsyms=$lt_include_expsyms
49651 # Commands necessary for linking programs (against libraries) with templates.
49652 prelink_cmds=$lt_prelink_cmds
49654 # Commands necessary for finishing linking programs.
49655 postlink_cmds=$lt_postlink_cmds
49657 # Specify filename containing input files.
49658 file_list_spec=$lt_file_list_spec
49660 # How to hardcode a shared library path into an executable.
49661 hardcode_action=$hardcode_action
49663 # The directories searched by this compiler when creating a shared library.
49664 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
49666 # Dependencies to place before and after the objects being linked to
49667 # create a shared library.
49668 predep_objects=$lt_predep_objects
49669 postdep_objects=$lt_postdep_objects
49670 predeps=$lt_predeps
49671 postdeps=$lt_postdeps
49673 # The library search path used internally by the compiler when linking
49674 # a shared library.
49675 compiler_lib_search_path=$lt_compiler_lib_search_path
49677 # ### END LIBTOOL CONFIG
49683 cat <<\_LT_EOF >> "$cfgfile"
49684 # AIX sometimes has problems with the GCC collect2 program. For some
49685 # reason, if we set the COLLECT_NAMES environment variable, the problems
49686 # vanish in a puff of smoke.
49687 if test "X${COLLECT_NAMES+set}" != Xset; then
49689 export COLLECT_NAMES
49696 ltmain="$ac_aux_dir/ltmain.sh"
49699 # We use sed instead of cat because bash on DJGPP gets confused if
49700 # if finds mixed CR/LF and LF-only lines. Since sed operates in
49701 # text mode, it properly converts lines to CR/LF. This bash problem
49702 # is reportedly fixed, but why not run on old versions too?
49703 sed '$q' "$ltmain" >> "$cfgfile" \
49704 || (rm -f "$cfgfile"; exit 1)
49706 if test x"$xsi_shell" = xyes; then
49707 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
49711 \ */*) func_dirname_result="${1%/*}${2}" ;;\
49712 \ * ) func_dirname_result="${3}" ;;\
49714 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
49715 && mv -f "$cfgfile.tmp" "$cfgfile" \
49716 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49717 test 0 -eq $? || _lt_function_replace_fail=:
49720 sed -e '/^func_basename ()$/,/^} # func_basename /c\
49723 \ func_basename_result="${1##*/}"\
49724 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
49725 && mv -f "$cfgfile.tmp" "$cfgfile" \
49726 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49727 test 0 -eq $? || _lt_function_replace_fail=:
49730 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
49731 func_dirname_and_basename ()\
49734 \ */*) func_dirname_result="${1%/*}${2}" ;;\
49735 \ * ) func_dirname_result="${3}" ;;\
49737 \ func_basename_result="${1##*/}"\
49738 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
49739 && mv -f "$cfgfile.tmp" "$cfgfile" \
49740 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49741 test 0 -eq $? || _lt_function_replace_fail=:
49744 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
49747 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
49748 \ # positional parameters, so assign one to ordinary parameter first.\
49749 \ func_stripname_result=${3}\
49750 \ func_stripname_result=${func_stripname_result#"${1}"}\
49751 \ func_stripname_result=${func_stripname_result%"${2}"}\
49752 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
49753 && mv -f "$cfgfile.tmp" "$cfgfile" \
49754 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49755 test 0 -eq $? || _lt_function_replace_fail=:
49758 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
49759 func_split_long_opt ()\
49761 \ func_split_long_opt_name=${1%%=*}\
49762 \ func_split_long_opt_arg=${1#*=}\
49763 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
49764 && mv -f "$cfgfile.tmp" "$cfgfile" \
49765 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49766 test 0 -eq $? || _lt_function_replace_fail=:
49769 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
49770 func_split_short_opt ()\
49772 \ func_split_short_opt_arg=${1#??}\
49773 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
49774 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
49775 && mv -f "$cfgfile.tmp" "$cfgfile" \
49776 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49777 test 0 -eq $? || _lt_function_replace_fail=:
49780 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
49784 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
49785 \ *) func_lo2o_result=${1} ;;\
49787 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
49788 && mv -f "$cfgfile.tmp" "$cfgfile" \
49789 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49790 test 0 -eq $? || _lt_function_replace_fail=:
49793 sed -e '/^func_xform ()$/,/^} # func_xform /c\
49796 func_xform_result=${1%.*}.lo\
49797 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
49798 && mv -f "$cfgfile.tmp" "$cfgfile" \
49799 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49800 test 0 -eq $? || _lt_function_replace_fail=:
49803 sed -e '/^func_arith ()$/,/^} # func_arith /c\
49806 func_arith_result=$(( $* ))\
49807 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
49808 && mv -f "$cfgfile.tmp" "$cfgfile" \
49809 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49810 test 0 -eq $? || _lt_function_replace_fail=:
49813 sed -e '/^func_len ()$/,/^} # func_len /c\
49816 func_len_result=${#1}\
49817 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
49818 && mv -f "$cfgfile.tmp" "$cfgfile" \
49819 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49820 test 0 -eq $? || _lt_function_replace_fail=:
49824 if test x"$lt_shell_append" = xyes; then
49825 sed -e '/^func_append ()$/,/^} # func_append /c\
49828 eval "${1}+=\\${2}"\
49829 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
49830 && mv -f "$cfgfile.tmp" "$cfgfile" \
49831 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49832 test 0 -eq $? || _lt_function_replace_fail=:
49835 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
49836 func_append_quoted ()\
49838 \ func_quote_for_eval "${2}"\
49839 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
49840 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
49841 && mv -f "$cfgfile.tmp" "$cfgfile" \
49842 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49843 test 0 -eq $? || _lt_function_replace_fail=:
49846 # Save a `func_append' function call where possible by direct use of '+='
49847 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
49848 && mv -f "$cfgfile.tmp" "$cfgfile" \
49849 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49850 test 0 -eq $? || _lt_function_replace_fail=:
49852 # Save a `func_append' function call even when '+=' is not available
49853 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
49854 && mv -f "$cfgfile.tmp" "$cfgfile" \
49855 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
49856 test 0 -eq $? || _lt_function_replace_fail=:
49859 if test x"$_lt_function_replace_fail" = x":"; then
49860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
49861 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
49865 mv -f "$cfgfile" "$ofile" ||
49866 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
49870 cat <<_LT_EOF >> "$ofile"
49872 # ### BEGIN LIBTOOL TAG CONFIG: CXX
49874 # The linker used to build libraries.
49877 # How to create reloadable object files.
49878 reload_flag=$lt_reload_flag_CXX
49879 reload_cmds=$lt_reload_cmds_CXX
49881 # Commands used to build an old-style archive.
49882 old_archive_cmds=$lt_old_archive_cmds_CXX
49884 # A language specific compiler.
49885 CC=$lt_compiler_CXX
49887 # Is the compiler the GNU compiler?
49890 # Compiler flag to turn off builtin functions.
49891 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
49893 # Additional compiler flags for building library objects.
49894 pic_flag=$lt_lt_prog_compiler_pic_CXX
49896 # How to pass a linker flag through the compiler.
49897 wl=$lt_lt_prog_compiler_wl_CXX
49899 # Compiler flag to prevent dynamic linking.
49900 link_static_flag=$lt_lt_prog_compiler_static_CXX
49902 # Does compiler simultaneously support -c and -o options?
49903 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
49905 # Whether or not to add -lc for building shared libraries.
49906 build_libtool_need_lc=$archive_cmds_need_lc_CXX
49908 # Whether or not to disallow shared libs when runtime libs are static.
49909 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
49911 # Compiler flag to allow reflexive dlopens.
49912 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
49914 # Compiler flag to generate shared objects directly from archives.
49915 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
49917 # Whether the compiler copes with passing no objects directly.
49918 compiler_needs_object=$lt_compiler_needs_object_CXX
49920 # Create an old-style archive from a shared archive.
49921 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
49923 # Create a temporary old-style archive to link instead of a shared archive.
49924 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
49926 # Commands used to build a shared archive.
49927 archive_cmds=$lt_archive_cmds_CXX
49928 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
49930 # Commands used to build a loadable module if different from building
49931 # a shared archive.
49932 module_cmds=$lt_module_cmds_CXX
49933 module_expsym_cmds=$lt_module_expsym_cmds_CXX
49935 # Whether we are building with GNU ld or not.
49936 with_gnu_ld=$lt_with_gnu_ld_CXX
49938 # Flag that allows shared libraries with undefined symbols to be built.
49939 allow_undefined_flag=$lt_allow_undefined_flag_CXX
49941 # Flag that enforces no undefined symbols.
49942 no_undefined_flag=$lt_no_undefined_flag_CXX
49944 # Flag to hardcode \$libdir into a binary during linking.
49945 # This must work even if \$libdir does not exist
49946 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
49948 # Whether we need a single "-rpath" flag with a separated argument.
49949 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
49951 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
49952 # DIR into the resulting binary.
49953 hardcode_direct=$hardcode_direct_CXX
49955 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
49956 # DIR into the resulting binary and the resulting library dependency is
49957 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
49958 # library is relocated.
49959 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
49961 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
49962 # into the resulting binary.
49963 hardcode_minus_L=$hardcode_minus_L_CXX
49965 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
49966 # into the resulting binary.
49967 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
49969 # Set to "yes" if building a shared library automatically hardcodes DIR
49970 # into the library and all subsequent libraries and executables linked
49972 hardcode_automatic=$hardcode_automatic_CXX
49974 # Set to yes if linker adds runtime paths of dependent libraries
49975 # to runtime path list.
49976 inherit_rpath=$inherit_rpath_CXX
49978 # Whether libtool must link a program against all its dependency libraries.
49979 link_all_deplibs=$link_all_deplibs_CXX
49981 # Set to "yes" if exported symbols are required.
49982 always_export_symbols=$always_export_symbols_CXX
49984 # The commands to list exported symbols.
49985 export_symbols_cmds=$lt_export_symbols_cmds_CXX
49987 # Symbols that should not be listed in the preloaded symbols.
49988 exclude_expsyms=$lt_exclude_expsyms_CXX
49990 # Symbols that must always be exported.
49991 include_expsyms=$lt_include_expsyms_CXX
49993 # Commands necessary for linking programs (against libraries) with templates.
49994 prelink_cmds=$lt_prelink_cmds_CXX
49996 # Commands necessary for finishing linking programs.
49997 postlink_cmds=$lt_postlink_cmds_CXX
49999 # Specify filename containing input files.
50000 file_list_spec=$lt_file_list_spec_CXX
50002 # How to hardcode a shared library path into an executable.
50003 hardcode_action=$hardcode_action_CXX
50005 # The directories searched by this compiler when creating a shared library.
50006 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
50008 # Dependencies to place before and after the objects being linked to
50009 # create a shared library.
50010 predep_objects=$lt_predep_objects_CXX
50011 postdep_objects=$lt_postdep_objects_CXX
50012 predeps=$lt_predeps_CXX
50013 postdeps=$lt_postdeps_CXX
50015 # The library search path used internally by the compiler when linking
50016 # a shared library.
50017 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
50019 # ### END LIBTOOL TAG CONFIG: CXX
50023 "po-directories":C)
50024 for ac_file in $CONFIG_FILES; do
50025 # Support "outfile[:infile[:infile...]]"
50027 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
50029 # PO directories have a Makefile.in generated from Makefile.in.in.
50030 case "$ac_file" in */Makefile.in)
50031 # Adjust a relative srcdir.
50032 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
50033 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
50034 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
50035 # In autoconf-2.13 it is called $ac_given_srcdir.
50036 # In autoconf-2.50 it is called $srcdir.
50037 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
50038 case "$ac_given_srcdir" in
50039 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
50040 /*) top_srcdir="$ac_given_srcdir" ;;
50041 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
50043 # Treat a directory as a PO directory if and only if it has a
50044 # POTFILES.in file. This allows packages to have multiple PO
50045 # directories under different names or in different locations.
50046 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
50047 rm -f "$ac_dir/POTFILES"
50048 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
50049 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
50050 POMAKEFILEDEPS="POTFILES.in"
50051 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
50052 # on $ac_dir but don't depend on user-specified configuration
50054 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
50055 # The LINGUAS file contains the set of available languages.
50056 if test -n "$OBSOLETE_ALL_LINGUAS"; then
50057 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
50059 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
50060 # Hide the ALL_LINGUAS assigment from automake < 1.5.
50061 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
50062 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
50064 # The set of available languages was given in configure.in.
50065 # Hide the ALL_LINGUAS assigment from automake < 1.5.
50066 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
50069 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
50070 # Compute UPDATEPOFILES
50071 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
50072 # Compute DUMMYPOFILES
50073 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
50075 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
50076 case "$ac_given_srcdir" in
50078 *) srcdirpre='$(srcdir)/' ;;
50084 for lang in $ALL_LINGUAS; do
50085 POFILES="$POFILES $srcdirpre$lang.po"
50086 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
50087 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
50088 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
50090 # CATALOGS depends on both $ac_dir and the user's LINGUAS
50091 # environment variable.
50093 if test -n "$ALL_LINGUAS"; then
50094 for presentlang in $ALL_LINGUAS; do
50096 if test "%UNSET%" != "$LINGUAS"; then
50097 desiredlanguages="$LINGUAS"
50099 desiredlanguages="$ALL_LINGUAS"
50101 for desiredlang in $desiredlanguages; do
50102 # Use the presentlang catalog if desiredlang is
50103 # a. equal to presentlang, or
50104 # b. a variant of presentlang (because in this case,
50105 # presentlang can be used as a fallback for messages
50106 # which are not translated in the desiredlang catalog).
50107 case "$desiredlang" in
50108 "$presentlang"*) useit=yes;;
50111 if test $useit = yes; then
50112 INST_LINGUAS="$INST_LINGUAS $presentlang"
50117 if test -n "$INST_LINGUAS"; then
50118 for lang in $INST_LINGUAS; do
50119 CATALOGS="$CATALOGS $lang.gmo"
50122 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
50123 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"
50124 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
50125 if test -f "$f"; then
50127 *.orig | *.bak | *~) ;;
50128 *) cat "$f" >> "$ac_dir/Makefile" ;;
50137 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
50138 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
50139 ac_stdint=$tmp/_stdint.h
50141 echo "#ifndef" $_ac_stdint_h >$ac_stdint
50142 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
50143 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
50144 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
50145 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
50146 if test "_$ac_cv_header_stdint_t" != "_" ; then
50147 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
50148 echo "#include <stdint.h>" >>$ac_stdint
50149 echo "#endif" >>$ac_stdint
50150 echo "#endif" >>$ac_stdint
50153 cat >>$ac_stdint <<STDINT_EOF
50155 /* ................... shortcircuit part ........................... */
50157 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
50158 #include <stdint.h>
50160 #include <stddef.h>
50162 /* .................... configured part ............................ */
50166 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
50167 if test "_$ac_cv_header_stdint_x" != "_" ; then
50168 ac_header="$ac_cv_header_stdint_x"
50169 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
50171 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
50174 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
50175 if test "_$ac_cv_header_stdint_o" != "_" ; then
50176 ac_header="$ac_cv_header_stdint_o"
50177 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
50179 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
50182 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
50183 if test "_$ac_cv_header_stdint_u" != "_" ; then
50184 ac_header="$ac_cv_header_stdint_u"
50185 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
50187 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
50190 echo "" >>$ac_stdint
50192 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
50193 echo "#include <$ac_header>" >>$ac_stdint
50194 echo "" >>$ac_stdint
50197 echo "/* which 64bit typedef has been found */" >>$ac_stdint
50198 if test "$ac_cv_type_uint64_t" = "yes" ; then
50199 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
50201 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
50203 if test "$ac_cv_type_u_int64_t" = "yes" ; then
50204 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
50206 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
50208 echo "" >>$ac_stdint
50210 echo "/* which type model has been detected */" >>$ac_stdint
50211 if test "_$ac_cv_char_data_model" != "_" ; then
50212 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
50213 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
50215 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
50216 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
50218 echo "" >>$ac_stdint
50220 echo "/* whether int_least types were detected */" >>$ac_stdint
50221 if test "$ac_cv_type_int_least32_t" = "yes"; then
50222 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
50224 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
50226 echo "/* whether int_fast types were detected */" >>$ac_stdint
50227 if test "$ac_cv_type_int_fast32_t" = "yes"; then
50228 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
50230 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
50232 echo "/* whether intmax_t type was detected */" >>$ac_stdint
50233 if test "$ac_cv_type_intmax_t" = "yes"; then
50234 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
50236 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
50238 echo "" >>$ac_stdint
50240 cat >>$ac_stdint <<STDINT_EOF
50241 /* .................... detections part ............................ */
50243 /* whether we need to define bitspecific types from compiler base types */
50244 #ifndef _STDINT_HEADER_INTPTR
50245 #ifndef _STDINT_HEADER_UINT32
50246 #ifndef _STDINT_HEADER_U_INT32
50247 #define _STDINT_NEED_INT_MODEL_T
50249 #define _STDINT_HAVE_U_INT_TYPES
50254 #ifdef _STDINT_HAVE_U_INT_TYPES
50255 #undef _STDINT_NEED_INT_MODEL_T
50258 #ifdef _STDINT_CHAR_MODEL
50259 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
50260 #ifndef _STDINT_BYTE_MODEL
50261 #define _STDINT_BYTE_MODEL 12
50266 #ifndef _STDINT_HAVE_INT_LEAST32_T
50267 #define _STDINT_NEED_INT_LEAST_T
50270 #ifndef _STDINT_HAVE_INT_FAST32_T
50271 #define _STDINT_NEED_INT_FAST_T
50274 #ifndef _STDINT_HEADER_INTPTR
50275 #define _STDINT_NEED_INTPTR_T
50276 #ifndef _STDINT_HAVE_INTMAX_T
50277 #define _STDINT_NEED_INTMAX_T
50282 /* .................... definition part ............................ */
50284 /* some system headers have good uint64_t */
50285 #ifndef _HAVE_UINT64_T
50286 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
50287 #define _HAVE_UINT64_T
50288 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
50289 #define _HAVE_UINT64_T
50290 typedef u_int64_t uint64_t;
50294 #ifndef _HAVE_UINT64_T
50295 /* .. here are some common heuristics using compiler runtime specifics */
50296 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
50297 #define _HAVE_UINT64_T
50298 #define _HAVE_LONGLONG_UINT64_T
50299 typedef long long int64_t;
50300 typedef unsigned long long uint64_t;
50302 #elif !defined __STRICT_ANSI__
50303 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
50304 #define _HAVE_UINT64_T
50305 typedef __int64 int64_t;
50306 typedef unsigned __int64 uint64_t;
50308 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
50309 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
50310 #if !defined _NO_LONGLONG
50311 #define _HAVE_UINT64_T
50312 #define _HAVE_LONGLONG_UINT64_T
50313 typedef long long int64_t;
50314 typedef unsigned long long uint64_t;
50317 #elif defined __alpha || (defined __mips && defined _ABIN32)
50318 #if !defined _NO_LONGLONG
50319 typedef long int64_t;
50320 typedef unsigned long uint64_t;
50322 /* compiler/cpu type to define int64_t */
50327 #if defined _STDINT_HAVE_U_INT_TYPES
50328 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
50329 typedef u_int8_t uint8_t;
50330 typedef u_int16_t uint16_t;
50331 typedef u_int32_t uint32_t;
50333 /* glibc compatibility */
50334 #ifndef __int8_t_defined
50335 #define __int8_t_defined
50339 #ifdef _STDINT_NEED_INT_MODEL_T
50340 /* we must guess all the basic types. Apart from byte-adressable system, */
50341 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
50342 /* (btw, those nibble-addressable systems are way off, or so we assume) */
50345 #if defined _STDINT_BYTE_MODEL
50346 #if _STDINT_LONG_MODEL+0 == 242
50347 /* 2:4:2 = IP16 = a normal 16-bit system */
50348 typedef unsigned char uint8_t;
50349 typedef unsigned short uint16_t;
50350 typedef unsigned long uint32_t;
50351 #ifndef __int8_t_defined
50352 #define __int8_t_defined
50353 typedef char int8_t;
50354 typedef short int16_t;
50355 typedef long int32_t;
50357 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
50358 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
50359 /* 4:4:4 = ILP32 = a normal 32-bit system */
50360 typedef unsigned char uint8_t;
50361 typedef unsigned short uint16_t;
50362 typedef unsigned int uint32_t;
50363 #ifndef __int8_t_defined
50364 #define __int8_t_defined
50365 typedef char int8_t;
50366 typedef short int16_t;
50367 typedef int int32_t;
50369 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
50370 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
50371 /* 4:8:8 = LP64 = a normal 64-bit system */
50372 typedef unsigned char uint8_t;
50373 typedef unsigned short uint16_t;
50374 typedef unsigned int uint32_t;
50375 #ifndef __int8_t_defined
50376 #define __int8_t_defined
50377 typedef char int8_t;
50378 typedef short int16_t;
50379 typedef int int32_t;
50381 /* this system has a "long" of 64bit */
50382 #ifndef _HAVE_UINT64_T
50383 #define _HAVE_UINT64_T
50384 typedef unsigned long uint64_t;
50385 typedef long int64_t;
50387 #elif _STDINT_LONG_MODEL+0 == 448
50388 /* LLP64 a 64-bit system derived from a 32-bit system */
50389 typedef unsigned char uint8_t;
50390 typedef unsigned short uint16_t;
50391 typedef unsigned int uint32_t;
50392 #ifndef __int8_t_defined
50393 #define __int8_t_defined
50394 typedef char int8_t;
50395 typedef short int16_t;
50396 typedef int int32_t;
50398 /* assuming the system has a "long long" */
50399 #ifndef _HAVE_UINT64_T
50400 #define _HAVE_UINT64_T
50401 #define _HAVE_LONGLONG_UINT64_T
50402 typedef unsigned long long uint64_t;
50403 typedef long long int64_t;
50406 #define _STDINT_NO_INT32_T
50409 #define _STDINT_NO_INT8_T
50410 #define _STDINT_NO_INT32_T
50415 * quote from SunOS-5.8 sys/inttypes.h:
50416 * Use at your own risk. As of February 1996, the committee is squarely
50417 * behind the fixed sized types; the "least" and "fast" types are still being
50418 * discussed. The probability that the "fast" types may be removed before
50419 * the standard is finalized is high enough that they are not currently
50423 #if defined _STDINT_NEED_INT_LEAST_T
50424 typedef int8_t int_least8_t;
50425 typedef int16_t int_least16_t;
50426 typedef int32_t int_least32_t;
50427 #ifdef _HAVE_UINT64_T
50428 typedef int64_t int_least64_t;
50431 typedef uint8_t uint_least8_t;
50432 typedef uint16_t uint_least16_t;
50433 typedef uint32_t uint_least32_t;
50434 #ifdef _HAVE_UINT64_T
50435 typedef uint64_t uint_least64_t;
50440 #if defined _STDINT_NEED_INT_FAST_T
50441 typedef int8_t int_fast8_t;
50442 typedef int int_fast16_t;
50443 typedef int32_t int_fast32_t;
50444 #ifdef _HAVE_UINT64_T
50445 typedef int64_t int_fast64_t;
50448 typedef uint8_t uint_fast8_t;
50449 typedef unsigned uint_fast16_t;
50450 typedef uint32_t uint_fast32_t;
50451 #ifdef _HAVE_UINT64_T
50452 typedef uint64_t uint_fast64_t;
50457 #ifdef _STDINT_NEED_INTMAX_T
50458 #ifdef _HAVE_UINT64_T
50459 typedef int64_t intmax_t;
50460 typedef uint64_t uintmax_t;
50462 typedef long intmax_t;
50463 typedef unsigned long uintmax_t;
50467 #ifdef _STDINT_NEED_INTPTR_T
50468 #ifndef __intptr_t_defined
50469 #define __intptr_t_defined
50470 /* we encourage using "long" to store pointer values, never use "int" ! */
50471 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
50472 typedef unsigned int uintptr_t;
50473 typedef int intptr_t;
50474 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
50475 typedef unsigned long uintptr_t;
50476 typedef long intptr_t;
50477 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
50478 typedef uint64_t uintptr_t;
50479 typedef int64_t intptr_t;
50480 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
50481 typedef unsigned long uintptr_t;
50482 typedef long intptr_t;
50487 /* The ISO C99 standard specifies that in C++ implementations these
50488 should only be defined if explicitly requested. */
50489 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
50493 # define INT8_C(c) c
50494 # define INT16_C(c) c
50495 # define INT32_C(c) c
50496 # ifdef _HAVE_LONGLONG_UINT64_T
50497 # define INT64_C(c) c ## L
50499 # define INT64_C(c) c ## LL
50503 # define UINT8_C(c) c ## U
50504 # define UINT16_C(c) c ## U
50505 # define UINT32_C(c) c ## U
50506 # ifdef _HAVE_LONGLONG_UINT64_T
50507 # define UINT64_C(c) c ## UL
50509 # define UINT64_C(c) c ## ULL
50512 /* Maximal type. */
50513 # ifdef _HAVE_LONGLONG_UINT64_T
50514 # define INTMAX_C(c) c ## L
50515 # define UINTMAX_C(c) c ## UL
50517 # define INTMAX_C(c) c ## LL
50518 # define UINTMAX_C(c) c ## ULL
50521 /* literalnumbers */
50525 /* These limits are merily those of a two complement byte-oriented system */
50527 /* Minimum of signed integral types. */
50528 # define INT8_MIN (-128)
50529 # define INT16_MIN (-32767-1)
50530 # define INT32_MIN (-2147483647-1)
50531 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
50532 /* Maximum of signed integral types. */
50533 # define INT8_MAX (127)
50534 # define INT16_MAX (32767)
50535 # define INT32_MAX (2147483647)
50536 # define INT64_MAX (__INT64_C(9223372036854775807))
50538 /* Maximum of unsigned integral types. */
50539 # define UINT8_MAX (255)
50540 # define UINT16_MAX (65535)
50541 # define UINT32_MAX (4294967295U)
50542 # define UINT64_MAX (__UINT64_C(18446744073709551615))
50544 /* Minimum of signed integral types having a minimum size. */
50545 # define INT_LEAST8_MIN INT8_MIN
50546 # define INT_LEAST16_MIN INT16_MIN
50547 # define INT_LEAST32_MIN INT32_MIN
50548 # define INT_LEAST64_MIN INT64_MIN
50549 /* Maximum of signed integral types having a minimum size. */
50550 # define INT_LEAST8_MAX INT8_MAX
50551 # define INT_LEAST16_MAX INT16_MAX
50552 # define INT_LEAST32_MAX INT32_MAX
50553 # define INT_LEAST64_MAX INT64_MAX
50555 /* Maximum of unsigned integral types having a minimum size. */
50556 # define UINT_LEAST8_MAX UINT8_MAX
50557 # define UINT_LEAST16_MAX UINT16_MAX
50558 # define UINT_LEAST32_MAX UINT32_MAX
50559 # define UINT_LEAST64_MAX UINT64_MAX
50568 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
50569 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
50570 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
50572 ac_dir=`$as_dirname -- "$ac_stdint_h" ||
50573 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50574 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
50575 X"$ac_stdint_h" : 'X\(//\)$' \| \
50576 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
50577 $as_echo X"$ac_stdint_h" |
50578 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50582 /^X\(\/\/\)[^/].*/{
50595 as_dir="$ac_dir"; as_fn_mkdir_p
50597 mv $ac_stdint $ac_stdint_h
50607 ac_clean_files=$ac_clean_files_save
50609 test $ac_write_fail = 0 ||
50610 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
50613 # configure is writing to config.log, and then calls config.status.
50614 # config.status does its own redirection, appending to config.log.
50615 # Unfortunately, on DOS this fails, as config.log is still kept open
50616 # by configure, so config.status won't be able to write to it; its
50617 # output is simply discarded. So we exec the FD to /dev/null,
50618 # effectively closing config.log, so it can be properly (re)opened and
50619 # appended to by config.status. When coming back to configure, we
50620 # need to make the FD available again.
50621 if test "$no_create" != yes; then
50623 ac_config_status_args=
50624 test "$silent" = yes &&
50625 ac_config_status_args="$ac_config_status_args --quiet"
50627 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50629 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50630 # would make configure fail if this is the last instruction.
50631 $ac_cs_success || as_fn_exit 1
50633 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
50634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
50635 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
50641 printf "configure: *** Plug-ins without external dependencies that will be built:\n"
50642 ( for i in $GST_PLUGINS_SELECTED; do printf '\t'$i'\n'; done ) | sort
50645 printf "configure: *** Plug-ins without external dependencies that will NOT be built:\n"
50646 ( for i in $GST_PLUGINS_ALL; do
50647 case " $GST_PLUGINS_SELECTED " in
50657 if test "x$BUILD_EXTERNAL" = "xno"; then
50658 printf "configure: *** No plug-ins with external dependencies will be built\n"
50660 printf "configure: *** Plug-ins with dependencies that will be built:"
50661 printf "$GST_PLUGINS_YES\n" | sort
50663 printf "configure: *** Plug-ins with dependencies that will NOT be built:"
50664 printf "$GST_PLUGINS_NO\n" | sort
50669 if test "$HAVE_ORC" = yes ; then
50670 printf "configure: *** Orc acceleration enabled.\n"
50672 if test "x$enable_orc" = "xno" ; then
50673 printf "configure: *** Orc acceleration disabled by --disable-orc. Slower code paths\n"
50674 printf " will be used.\n"
50676 printf "configure: *** Orc acceleration disabled. Requires Orc >= $ORC_REQ, which was\n"
50677 printf " not found. Slower code paths will be used.\n"