2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for GStreamer Good Plug-ins 0.10.29.
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.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
235 $0: about your system, including any error possibly output
236 $0: before this message. Then install a modern shell, or
237 $0: manually run the script under such a shell if you do
244 SHELL=${CONFIG_SHELL-/bin/sh}
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
255 # Portably unset VAR.
258 { eval $1=; unset $1;}
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282 # Create "$as_dir" as a directory, including parents if necessary.
287 -*) as_dir=./$as_dir;;
289 test -d "$as_dir" || eval $as_mkdir_p || {
293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 as_dirs="'$as_qdir' $as_dirs"
297 as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 X"$as_dir" : 'X\(//\)[^/]' \| \
300 X"$as_dir" : 'X\(//\)$' \| \
301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320 test -d "$as_dir" && break
322 test -z "$as_dirs" || eval "mkdir $as_dirs"
323 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334 eval 'as_fn_append ()
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358 as_val=`expr "$@" || test $? -eq 1`
363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
364 # ----------------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with STATUS, using 1 if that was 0.
370 as_status=$1; test $as_status -eq 0 && as_status=1
372 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
375 $as_echo "$as_me: error: $2" >&2
376 as_fn_exit $as_status
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400 X"$0" : 'X\(//\)$' \| \
401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403 sed '/^.*\/\([^/][^/]*\)\/*$/{
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
425 as_lineno_1=$LINENO as_lineno_1a=$LINENO
426 as_lineno_2=$LINENO as_lineno_2a=$LINENO
427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445 chmod +x "$as_me.lineno" ||
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
448 # Don't try to exec as it changes $[0], causing all sort of problems
449 # (the dirname of $[0] is not the place where we might find the
450 # original and so on. Autoconf is especially sensitive to this).
452 # Exit status is that of the last command.
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
459 case `echo 'xy\c'` in
460 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471 rm -f conf$$.dir/conf$$.file
474 mkdir conf$$.dir 2>/dev/null
476 if (echo >conf$$.file) 2>/dev/null; then
477 if ln -s conf$$.file conf$$ 2>/dev/null; then
479 # ... but there are two gotchas:
480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482 # In both cases, we have to default to `cp -p'.
483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
485 elif ln conf$$.file conf$$ 2>/dev/null; then
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
496 if mkdir -p . 2>/dev/null; then
497 as_mkdir_p='mkdir -p "$as_dir"'
499 test -d ./-p && rmdir ./-p
503 if test -x / >/dev/null 2>&1; then
506 if ls -dL / >/dev/null 2>&1; then
513 if test -d "$1"; then
519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 ???[sx]*):;;*)false;;esac;fi
524 as_executable_p=$as_test_x
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 # Check that we are running under the correct shell.
535 SHELL=${CONFIG_SHELL-/bin/sh}
539 # Remove one level of quotation (which was required for Make).
540 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
545 if test "X$1" = X--no-reexec; then
546 # Discard the --no-reexec flag, and continue.
548 elif test "X$1" = X--fallback-echo; then
549 # Avoid inline document here, it may be left over
551 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552 # Yippee, $ECHO works!
555 # Restart under the correct shell.
556 exec $SHELL "$0" --no-reexec ${1+"$@"}
559 if test "X$1" = X--fallback-echo; then
560 # used as fallback echo
568 # The HP-UX ksh and POSIX shell print the target directory to stdout
570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
572 if test -z "$lt_ECHO"; then
573 if test "X${echo_test_string+set}" != Xset; then
574 # find a string as large as possible, as long as the shell can cope with it
575 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
585 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587 test "X$echo_testing_string" = "X$echo_test_string"; then
590 # The Solaris, AIX, and Digital Unix default echo programs unquote
591 # backslashes. This makes it impossible to quote backslashes using
592 # echo "$something" | sed 's/\\/\\\\/g'
594 # So, first we look for a working echo in the user's PATH.
596 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597 for dir in $PATH /usr/ucb; do
599 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602 test "X$echo_testing_string" = "X$echo_test_string"; then
609 if test "X$ECHO" = Xecho; then
610 # We didn't find a better echo, so look for alternatives.
611 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613 test "X$echo_testing_string" = "X$echo_test_string"; then
614 # This shell has a builtin print -r that does the trick.
616 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617 test "X$CONFIG_SHELL" != X/bin/ksh; then
618 # If we have ksh, try running configure again with it.
619 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620 export ORIGINAL_CONFIG_SHELL
621 CONFIG_SHELL=/bin/ksh
623 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
627 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
632 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633 test "X$echo_testing_string" = 'X\t' &&
634 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
638 SHELL="$CONFIG_SHELL"
640 ECHO="$CONFIG_SHELL $0 --fallback-echo"
641 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642 test "X$echo_testing_string" = 'X\t' &&
643 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644 test "X$echo_testing_string" = "X$echo_test_string"; then
645 ECHO="$CONFIG_SHELL $0 --fallback-echo"
647 # maybe with a smaller string...
650 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
658 if test "$prev" != 'sed 50q "$0"'; then
659 echo_test_string=`eval $prev`
660 export echo_test_string
661 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
663 # Oops. We lost completely, so just stick with echo.
672 # Copy echo and quote the copy suitably for passing to libtool from
673 # the Makefile, instead of quoting the original, which is used later.
675 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
682 test -n "$DJDIR" || exec 7<&0 </dev/null
686 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
687 # so uname gets run too.
688 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
693 ac_default_prefix=/usr/local
695 ac_config_libobj_dir=.
702 # Identity of this package.
703 PACKAGE_NAME='GStreamer Good Plug-ins'
704 PACKAGE_TARNAME='gst-plugins-good'
705 PACKAGE_VERSION='0.10.29'
706 PACKAGE_STRING='GStreamer Good Plug-ins 0.10.29'
707 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
710 ac_unique_file="gst/law/alaw.c"
711 # Factoring default headers for most tests.
712 ac_includes_default="\
714 #ifdef HAVE_SYS_TYPES_H
715 # include <sys/types.h>
717 #ifdef HAVE_SYS_STAT_H
718 # include <sys/stat.h>
724 # ifdef HAVE_STDLIB_H
729 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
734 #ifdef HAVE_STRINGS_H
735 # include <strings.h>
737 #ifdef HAVE_INTTYPES_H
738 # include <inttypes.h>
749 ac_subst_vars='am__EXEEXT_FALSE
791 USE_LIBIEC61883_FALSE
864 USE_CAIRO_GOBJECT_FALSE
865 USE_CAIRO_GOBJECT_TRUE
916 USE_DIRECTSOUND_FALSE
925 USE_PLUGIN_WAVPARSE_FALSE
926 USE_PLUGIN_WAVPARSE_TRUE
927 USE_PLUGIN_WAVENC_FALSE
928 USE_PLUGIN_WAVENC_TRUE
929 USE_PLUGIN_VIDEOMIXER_FALSE
930 USE_PLUGIN_VIDEOMIXER_TRUE
931 USE_PLUGIN_VIDEOCROP_FALSE
932 USE_PLUGIN_VIDEOCROP_TRUE
933 USE_PLUGIN_VIDEOBOX_FALSE
934 USE_PLUGIN_VIDEOBOX_TRUE
937 USE_PLUGIN_SPECTRUM_FALSE
938 USE_PLUGIN_SPECTRUM_TRUE
939 USE_PLUGIN_SMPTE_FALSE
940 USE_PLUGIN_SMPTE_TRUE
941 USE_PLUGIN_SHAPEWIPE_FALSE
942 USE_PLUGIN_SHAPEWIPE_TRUE
943 USE_PLUGIN_RTSP_FALSE
945 USE_PLUGIN_RTPMANAGER_FALSE
946 USE_PLUGIN_RTPMANAGER_TRUE
949 USE_PLUGIN_REPLAYGAIN_FALSE
950 USE_PLUGIN_REPLAYGAIN_TRUE
951 USE_PLUGIN_MULTIPART_FALSE
952 USE_PLUGIN_MULTIPART_TRUE
953 USE_PLUGIN_MULTIFILE_FALSE
954 USE_PLUGIN_MULTIFILE_TRUE
955 USE_PLUGIN_MONOSCOPE_FALSE
956 USE_PLUGIN_MONOSCOPE_TRUE
957 USE_PLUGIN_MATROSKA_FALSE
958 USE_PLUGIN_MATROSKA_TRUE
959 USE_PLUGIN_LEVEL_FALSE
960 USE_PLUGIN_LEVEL_TRUE
963 USE_PLUGIN_ISOMP4_FALSE
964 USE_PLUGIN_ISOMP4_TRUE
965 USE_PLUGIN_IMAGEFREEZE_FALSE
966 USE_PLUGIN_IMAGEFREEZE_TRUE
967 USE_PLUGIN_GOOM2K1_FALSE
968 USE_PLUGIN_GOOM2K1_TRUE
969 USE_PLUGIN_GOOM_FALSE
973 USE_PLUGIN_INTERLEAVE_FALSE
974 USE_PLUGIN_INTERLEAVE_TRUE
975 USE_PLUGIN_ICYDEMUX_FALSE
976 USE_PLUGIN_ICYDEMUX_TRUE
977 USE_PLUGIN_ID3DEMUX_FALSE
978 USE_PLUGIN_ID3DEMUX_TRUE
981 USE_PLUGIN_EQUALIZER_FALSE
982 USE_PLUGIN_EQUALIZER_TRUE
983 USE_PLUGIN_EFFECTV_FALSE
984 USE_PLUGIN_EFFECTV_TRUE
985 USE_PLUGIN_DEINTERLACE_FALSE
986 USE_PLUGIN_DEINTERLACE_TRUE
987 USE_PLUGIN_DEBUGUTILS_FALSE
988 USE_PLUGIN_DEBUGUTILS_TRUE
989 USE_PLUGIN_CUTTER_FALSE
990 USE_PLUGIN_CUTTER_TRUE
993 USE_PLUGIN_AUTODETECT_FALSE
994 USE_PLUGIN_AUTODETECT_TRUE
995 USE_PLUGIN_AUPARSE_FALSE
996 USE_PLUGIN_AUPARSE_TRUE
997 USE_PLUGIN_AUDIOPARSERS_FALSE
998 USE_PLUGIN_AUDIOPARSERS_TRUE
999 USE_PLUGIN_AUDIOFX_FALSE
1000 USE_PLUGIN_AUDIOFX_TRUE
1001 USE_PLUGIN_APETAG_FALSE
1002 USE_PLUGIN_APETAG_TRUE
1003 USE_PLUGIN_ALPHA_FALSE
1004 USE_PLUGIN_ALPHA_TRUE
1005 USE_PLUGIN_VIDEOFILTER_FALSE
1006 USE_PLUGIN_VIDEOFILTER_TRUE
1037 HAVE_GST_CHECK_FALSE
1040 GST_PLUGINS_BASE_DIR
1041 GST_PLUGINS_BASE_LIBS
1042 GST_PLUGINS_BASE_CFLAGS
1046 GST_CONTROLLER_CFLAGS
1070 HAVE_WINSOCK2_H_FALSE
1071 HAVE_WINSOCK2_H_TRUE
1073 ENABLE_PLUGIN_DOCS_FALSE
1074 ENABLE_PLUGIN_DOCS_TRUE
1084 GTK_DOC_USE_LIBTOOL_FALSE
1085 GTK_DOC_USE_LIBTOOL_TRUE
1086 ENABLE_GTK_DOC_FALSE
1090 GCONF_SCHEMAS_INSTALL_FALSE
1091 GCONF_SCHEMAS_INSTALL_TRUE
1092 GCONF_SCHEMA_FILE_DIR
1093 GCONF_SCHEMA_CONFIG_SOURCE
1097 am__fastdepCCAS_FALSE
1098 am__fastdepCCAS_TRUE
1101 am__fastdepOBJC_FALSE
1102 am__fastdepOBJC_TRUE
1109 am__fastdepCXX_FALSE
1114 HAVE_CPU_CRISV32_FALSE
1115 HAVE_CPU_CRISV32_TRUE
1118 HAVE_CPU_X86_64_FALSE
1119 HAVE_CPU_X86_64_TRUE
1130 HAVE_CPU_SPARC_FALSE
1134 HAVE_CPU_ALPHA_FALSE
1136 HAVE_CPU_PPC64_FALSE
1142 BUILD_EXPERIMENTAL_FALSE
1143 BUILD_EXPERIMENTAL_TRUE
1144 USE_EXPERIMENTAL_FALSE
1145 USE_EXPERIMENTAL_TRUE
1146 BUILD_EXTERNAL_FALSE
1150 GST_PLUGINS_SELECTED
1154 BUILD_EXAMPLES_FALSE
1156 GST_GCOV_ENABLED_FALSE
1157 GST_GCOV_ENABLED_TRUE
1176 XGETTEXT_EXTRA_OPTIONS
1184 GETTEXT_MACRO_VERSION
1227 AM_DEFAULT_VERBOSITY
1237 MAINTAINER_MODE_FALSE
1238 MAINTAINER_MODE_TRUE
1239 PACKAGE_VERSION_RELEASE
1240 PACKAGE_VERSION_NANO
1241 PACKAGE_VERSION_MICRO
1242 PACKAGE_VERSION_MINOR
1243 PACKAGE_VERSION_MAJOR
1252 INSTALL_STRIP_PROGRAM
1294 program_transform_name
1307 enable_option_checking
1308 enable_maintainer_mode
1314 enable_dependency_tracking
1323 with_libiconv_prefix
1330 with_pkg_config_path
1337 with_gconf_schema_file_dir
1338 enable_schemas_install
1341 enable_gobject_cast_checks
1347 with_default_audiosink
1348 with_default_audiosrc
1349 with_default_videosink
1350 with_default_videosrc
1351 with_default_visualizer
1409 with_aalib_exec_prefix
1413 enable_cairo_gobject
1416 with_esd_exec_prefix
1440 ac_precious_vars='build_alias
1468 GST_CONTROLLER_CFLAGS
1472 GST_PLUGINS_BASE_CFLAGS
1473 GST_PLUGINS_BASE_LIBS
1491 CAIRO_GOBJECT_CFLAGS
1545 # Initialize some variables set by options.
1547 ac_init_version=false
1548 ac_unrecognized_opts=
1549 ac_unrecognized_sep=
1550 # The variables have the same names as the options, with
1551 # dashes changed to underlines.
1552 cache_file=/dev/null
1559 program_transform_name=s,x,x,
1567 # Installation directory options.
1568 # These are left unexpanded so users can "make install exec_prefix=/foo"
1569 # and all the variables that are supposed to be based on exec_prefix
1570 # by default will actually change.
1571 # Use braces instead of parens because sh, perl, etc. also accept them.
1572 # (The list follows the same order as the GNU Coding Standards.)
1573 bindir='${exec_prefix}/bin'
1574 sbindir='${exec_prefix}/sbin'
1575 libexecdir='${exec_prefix}/libexec'
1576 datarootdir='${prefix}/share'
1577 datadir='${datarootdir}'
1578 sysconfdir='${prefix}/etc'
1579 sharedstatedir='${prefix}/com'
1580 localstatedir='${prefix}/var'
1581 includedir='${prefix}/include'
1582 oldincludedir='/usr/include'
1583 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1584 infodir='${datarootdir}/info'
1589 libdir='${exec_prefix}/lib'
1590 localedir='${datarootdir}/locale'
1591 mandir='${datarootdir}/man'
1597 # If the previous option needs an argument, assign it.
1598 if test -n "$ac_prev"; then
1599 eval $ac_prev=\$ac_option
1605 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1610 # Accept the important Cygnus configure options, so we can diagnose typos.
1612 case $ac_dashdash$ac_option in
1616 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1618 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1619 bindir=$ac_optarg ;;
1621 -build | --build | --buil | --bui | --bu)
1622 ac_prev=build_alias ;;
1623 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1624 build_alias=$ac_optarg ;;
1626 -cache-file | --cache-file | --cache-fil | --cache-fi \
1627 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1628 ac_prev=cache_file ;;
1629 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1630 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1631 cache_file=$ac_optarg ;;
1633 --config-cache | -C)
1634 cache_file=config.cache ;;
1636 -datadir | --datadir | --datadi | --datad)
1638 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1639 datadir=$ac_optarg ;;
1641 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1642 | --dataroo | --dataro | --datar)
1643 ac_prev=datarootdir ;;
1644 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1645 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1646 datarootdir=$ac_optarg ;;
1648 -disable-* | --disable-*)
1649 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1650 # Reject names that are not valid shell variable names.
1651 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1652 as_fn_error $? "invalid feature name: $ac_useropt"
1653 ac_useropt_orig=$ac_useropt
1654 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1655 case $ac_user_opts in
1657 "enable_$ac_useropt"
1659 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1660 ac_unrecognized_sep=', ';;
1662 eval enable_$ac_useropt=no ;;
1664 -docdir | --docdir | --docdi | --doc | --do)
1666 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1667 docdir=$ac_optarg ;;
1669 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1671 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1672 dvidir=$ac_optarg ;;
1674 -enable-* | --enable-*)
1675 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1676 # Reject names that are not valid shell variable names.
1677 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1678 as_fn_error $? "invalid feature name: $ac_useropt"
1679 ac_useropt_orig=$ac_useropt
1680 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1681 case $ac_user_opts in
1683 "enable_$ac_useropt"
1685 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1686 ac_unrecognized_sep=', ';;
1688 eval enable_$ac_useropt=\$ac_optarg ;;
1690 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1691 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1692 | --exec | --exe | --ex)
1693 ac_prev=exec_prefix ;;
1694 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1695 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1696 | --exec=* | --exe=* | --ex=*)
1697 exec_prefix=$ac_optarg ;;
1699 -gas | --gas | --ga | --g)
1700 # Obsolete; use --with-gas.
1703 -help | --help | --hel | --he | -h)
1704 ac_init_help=long ;;
1705 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1706 ac_init_help=recursive ;;
1707 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1708 ac_init_help=short ;;
1710 -host | --host | --hos | --ho)
1711 ac_prev=host_alias ;;
1712 -host=* | --host=* | --hos=* | --ho=*)
1713 host_alias=$ac_optarg ;;
1715 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1717 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1719 htmldir=$ac_optarg ;;
1721 -includedir | --includedir | --includedi | --included | --include \
1722 | --includ | --inclu | --incl | --inc)
1723 ac_prev=includedir ;;
1724 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1725 | --includ=* | --inclu=* | --incl=* | --inc=*)
1726 includedir=$ac_optarg ;;
1728 -infodir | --infodir | --infodi | --infod | --info | --inf)
1730 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1731 infodir=$ac_optarg ;;
1733 -libdir | --libdir | --libdi | --libd)
1735 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1736 libdir=$ac_optarg ;;
1738 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1739 | --libexe | --libex | --libe)
1740 ac_prev=libexecdir ;;
1741 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1742 | --libexe=* | --libex=* | --libe=*)
1743 libexecdir=$ac_optarg ;;
1745 -localedir | --localedir | --localedi | --localed | --locale)
1746 ac_prev=localedir ;;
1747 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1748 localedir=$ac_optarg ;;
1750 -localstatedir | --localstatedir | --localstatedi | --localstated \
1751 | --localstate | --localstat | --localsta | --localst | --locals)
1752 ac_prev=localstatedir ;;
1753 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1754 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1755 localstatedir=$ac_optarg ;;
1757 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1759 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1760 mandir=$ac_optarg ;;
1762 -nfp | --nfp | --nf)
1763 # Obsolete; use --without-fp.
1766 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1767 | --no-cr | --no-c | -n)
1770 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1771 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1774 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1775 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1776 | --oldin | --oldi | --old | --ol | --o)
1777 ac_prev=oldincludedir ;;
1778 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1779 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1780 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1781 oldincludedir=$ac_optarg ;;
1783 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1785 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1786 prefix=$ac_optarg ;;
1788 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1789 | --program-pre | --program-pr | --program-p)
1790 ac_prev=program_prefix ;;
1791 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1792 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1793 program_prefix=$ac_optarg ;;
1795 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1796 | --program-suf | --program-su | --program-s)
1797 ac_prev=program_suffix ;;
1798 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1799 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1800 program_suffix=$ac_optarg ;;
1802 -program-transform-name | --program-transform-name \
1803 | --program-transform-nam | --program-transform-na \
1804 | --program-transform-n | --program-transform- \
1805 | --program-transform | --program-transfor \
1806 | --program-transfo | --program-transf \
1807 | --program-trans | --program-tran \
1808 | --progr-tra | --program-tr | --program-t)
1809 ac_prev=program_transform_name ;;
1810 -program-transform-name=* | --program-transform-name=* \
1811 | --program-transform-nam=* | --program-transform-na=* \
1812 | --program-transform-n=* | --program-transform-=* \
1813 | --program-transform=* | --program-transfor=* \
1814 | --program-transfo=* | --program-transf=* \
1815 | --program-trans=* | --program-tran=* \
1816 | --progr-tra=* | --program-tr=* | --program-t=*)
1817 program_transform_name=$ac_optarg ;;
1819 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1821 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1822 pdfdir=$ac_optarg ;;
1824 -psdir | --psdir | --psdi | --psd | --ps)
1826 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1829 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1830 | -silent | --silent | --silen | --sile | --sil)
1833 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1835 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1837 sbindir=$ac_optarg ;;
1839 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1840 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1841 | --sharedst | --shareds | --shared | --share | --shar \
1843 ac_prev=sharedstatedir ;;
1844 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1845 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1846 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1848 sharedstatedir=$ac_optarg ;;
1850 -site | --site | --sit)
1852 -site=* | --site=* | --sit=*)
1855 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1857 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1858 srcdir=$ac_optarg ;;
1860 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1861 | --syscon | --sysco | --sysc | --sys | --sy)
1862 ac_prev=sysconfdir ;;
1863 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1864 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1865 sysconfdir=$ac_optarg ;;
1867 -target | --target | --targe | --targ | --tar | --ta | --t)
1868 ac_prev=target_alias ;;
1869 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1870 target_alias=$ac_optarg ;;
1872 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1875 -version | --version | --versio | --versi | --vers | -V)
1876 ac_init_version=: ;;
1879 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1880 # Reject names that are not valid shell variable names.
1881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1882 as_fn_error $? "invalid package name: $ac_useropt"
1883 ac_useropt_orig=$ac_useropt
1884 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1885 case $ac_user_opts in
1889 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1890 ac_unrecognized_sep=', ';;
1892 eval with_$ac_useropt=\$ac_optarg ;;
1894 -without-* | --without-*)
1895 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1896 # Reject names that are not valid shell variable names.
1897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1898 as_fn_error $? "invalid package name: $ac_useropt"
1899 ac_useropt_orig=$ac_useropt
1900 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1901 case $ac_user_opts in
1905 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1906 ac_unrecognized_sep=', ';;
1908 eval with_$ac_useropt=no ;;
1911 # Obsolete; use --with-x.
1914 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1915 | --x-incl | --x-inc | --x-in | --x-i)
1916 ac_prev=x_includes ;;
1917 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1918 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1919 x_includes=$ac_optarg ;;
1921 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1922 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1923 ac_prev=x_libraries ;;
1924 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1925 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1926 x_libraries=$ac_optarg ;;
1928 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1929 Try \`$0 --help' for more information"
1933 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1934 # Reject names that are not valid shell variable names.
1935 case $ac_envvar in #(
1936 '' | [0-9]* | *[!_$as_cr_alnum]* )
1937 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1939 eval $ac_envvar=\$ac_optarg
1940 export $ac_envvar ;;
1943 # FIXME: should be removed in autoconf 3.0.
1944 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1945 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1946 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1947 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1953 if test -n "$ac_prev"; then
1954 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1955 as_fn_error $? "missing argument to $ac_option"
1958 if test -n "$ac_unrecognized_opts"; then
1959 case $enable_option_checking in
1961 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1962 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1966 # Check all directory arguments for consistency.
1967 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1968 datadir sysconfdir sharedstatedir localstatedir includedir \
1969 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1970 libdir localedir mandir
1972 eval ac_val=\$$ac_var
1973 # Remove trailing slashes.
1976 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1977 eval $ac_var=\$ac_val;;
1979 # Be sure to have absolute directory names.
1981 [\\/$]* | ?:[\\/]* ) continue;;
1982 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1984 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1987 # There might be people who depend on the old broken behavior: `$host'
1988 # used to hold the argument of --host etc.
1989 # FIXME: To remove some day.
1992 target=$target_alias
1994 # FIXME: To remove some day.
1995 if test "x$host_alias" != x; then
1996 if test "x$build_alias" = x; then
1997 cross_compiling=maybe
1998 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1999 If a cross compiler is detected then cross compile mode will be used" >&2
2000 elif test "x$build_alias" != "x$host_alias"; then
2006 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2008 test "$silent" = yes && exec 6>/dev/null
2011 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2012 ac_ls_di=`ls -di .` &&
2013 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2014 as_fn_error $? "working directory cannot be determined"
2015 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2016 as_fn_error $? "pwd does not report name of working directory"
2019 # Find the source files, if location was not specified.
2020 if test -z "$srcdir"; then
2021 ac_srcdir_defaulted=yes
2022 # Try the directory containing this script, then the parent directory.
2023 ac_confdir=`$as_dirname -- "$as_myself" ||
2024 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2025 X"$as_myself" : 'X\(//\)[^/]' \| \
2026 X"$as_myself" : 'X\(//\)$' \| \
2027 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2028 $as_echo X"$as_myself" |
2029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2047 if test ! -r "$srcdir/$ac_unique_file"; then
2051 ac_srcdir_defaulted=no
2053 if test ! -r "$srcdir/$ac_unique_file"; then
2054 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2055 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2057 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2059 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2061 # When building in place, set srcdir=.
2062 if test "$ac_abs_confdir" = "$ac_pwd"; then
2065 # Remove unnecessary trailing slashes from srcdir.
2066 # Double slashes in file names in object file debugging info
2067 # mess up M-x gdb in Emacs.
2069 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2071 for ac_var in $ac_precious_vars; do
2072 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2073 eval ac_env_${ac_var}_value=\$${ac_var}
2074 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2075 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2079 # Report the --help message.
2081 if test "$ac_init_help" = "long"; then
2082 # Omit some internal or obsolete options to make the list less imposing.
2083 # This message is too long to be a string in the A/UX 3.1 sh.
2085 \`configure' configures GStreamer Good Plug-ins 0.10.29 to adapt to many kinds of systems.
2087 Usage: $0 [OPTION]... [VAR=VALUE]...
2089 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2090 VAR=VALUE. See below for descriptions of some of the useful variables.
2092 Defaults for the options are specified in brackets.
2095 -h, --help display this help and exit
2096 --help=short display options specific to this package
2097 --help=recursive display the short help of all the included packages
2098 -V, --version display version information and exit
2099 -q, --quiet, --silent do not print \`checking ...' messages
2100 --cache-file=FILE cache test results in FILE [disabled]
2101 -C, --config-cache alias for \`--cache-file=config.cache'
2102 -n, --no-create do not create output files
2103 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2105 Installation directories:
2106 --prefix=PREFIX install architecture-independent files in PREFIX
2107 [$ac_default_prefix]
2108 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2111 By default, \`make install' will install all the files in
2112 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2113 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2114 for instance \`--prefix=\$HOME'.
2116 For better control, use the options below.
2118 Fine tuning of the installation directories:
2119 --bindir=DIR user executables [EPREFIX/bin]
2120 --sbindir=DIR system admin executables [EPREFIX/sbin]
2121 --libexecdir=DIR program executables [EPREFIX/libexec]
2122 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2123 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2124 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2125 --libdir=DIR object code libraries [EPREFIX/lib]
2126 --includedir=DIR C header files [PREFIX/include]
2127 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2128 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2129 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2130 --infodir=DIR info documentation [DATAROOTDIR/info]
2131 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2132 --mandir=DIR man documentation [DATAROOTDIR/man]
2133 --docdir=DIR documentation root
2134 [DATAROOTDIR/doc/gst-plugins-good]
2135 --htmldir=DIR html documentation [DOCDIR]
2136 --dvidir=DIR dvi documentation [DOCDIR]
2137 --pdfdir=DIR pdf documentation [DOCDIR]
2138 --psdir=DIR ps documentation [DOCDIR]
2144 --program-prefix=PREFIX prepend PREFIX to installed program names
2145 --program-suffix=SUFFIX append SUFFIX to installed program names
2146 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
2149 --x-includes=DIR X include files are in DIR
2150 --x-libraries=DIR X library files are in DIR
2153 --build=BUILD configure for building on BUILD [guessed]
2154 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2158 if test -n "$ac_init_help"; then
2159 case $ac_init_help in
2160 short | recursive ) echo "Configuration of GStreamer Good Plug-ins 0.10.29:";;
2165 --disable-option-checking ignore unrecognized --enable/--with options
2166 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2167 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2168 --enable-maintainer-mode enable make rules and dependencies not useful
2169 (and sometimes confusing) to the casual installer
2170 --enable-silent-rules less verbose build output (undo: `make V=1')
2171 --disable-silent-rules verbose build output (undo: `make V=0')
2172 --enable-shared[=PKGS] build shared libraries [default=yes]
2173 --enable-static[=PKGS] build static libraries [default=yes]
2174 --enable-fast-install[=PKGS]
2175 optimize for fast installation [default=yes]
2176 --disable-dependency-tracking speeds up one-time build
2177 --enable-dependency-tracking do not reject slow dependency extractors
2178 --disable-libtool-lock avoid locking (might break parallel builds)
2179 --disable-nls do not use Native Language Support
2180 --disable-rpath do not hardcode runtime library paths
2181 --disable-debug disable addition of -g debugging info
2182 --enable-profiling adds -pg to compiler commandline, for profiling
2183 --disable-valgrind disable run-time valgrind detection
2184 --enable-gcov compile with coverage profiling instrumentation (gcc
2186 --disable-examples disable building examples
2187 --disable-external disable building of plug-ins with external deps
2188 --enable-experimental enable building of experimental plug-ins
2189 --disable-schemas-install Disable the schemas installation
2190 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
2191 --enable-gobject-cast-checks=[no/auto/yes]
2192 Enable GObject cast checks
2193 --enable-glib-asserts=[no/auto/yes]
2194 Enable GLib assertion
2195 --enable-orc use Orc if installed
2196 --disable-gconftool disable GConf schemas
2197 --enable-divx-drm using divx drm
2198 --disable-videofilter disable dependency-less videofilter plugin
2199 --disable-alpha disable dependency-less alpha plugin
2200 --disable-apetag disable dependency-less apetag plugin
2201 --disable-audiofx disable dependency-less audiofx plugin
2202 --disable-audioparsers disable dependency-less audioparsers plugin
2203 --disable-auparse disable dependency-less auparse plugin
2204 --disable-autodetect disable dependency-less autodetect plugin
2205 --disable-avi disable dependency-less avi plugin
2206 --disable-cutter disable dependency-less cutter plugin
2207 --disable-debugutils disable dependency-less debugutils plugin
2208 --disable-deinterlace disable dependency-less deinterlace plugin
2209 --disable-effectv disable dependency-less effectv plugin
2210 --disable-equalizer disable dependency-less equalizer plugin
2211 --disable-flv disable dependency-less flv plugin
2212 --disable-id3demux disable dependency-less id3demux plugin
2213 --disable-icydemux disable dependency-less icydemux plugin
2214 --disable-interleave disable dependency-less interleave plugin
2215 --disable-flx disable dependency-less flx plugin
2216 --disable-goom disable dependency-less goom plugin
2217 --disable-goom2k1 disable dependency-less goom2k1 plugin
2218 --disable-imagefreeze disable dependency-less imagefreeze plugin
2219 --disable-isomp4 disable dependency-less isomp4 plugin
2220 --disable-law disable dependency-less law plugin
2221 --disable-level disable dependency-less level plugin
2222 --disable-matroska disable dependency-less matroska plugin
2223 --disable-monoscope disable dependency-less monoscope plugin
2224 --disable-multifile disable dependency-less multifile plugin
2225 --disable-multipart disable dependency-less multipart plugin
2226 --disable-replaygain disable dependency-less replaygain plugin
2227 --disable-rtp disable dependency-less rtp plugin
2228 --disable-rtpmanager disable dependency-less rtpmanager plugin
2229 --disable-rtsp disable dependency-less rtsp plugin
2230 --disable-shapewipe disable dependency-less shapewipe plugin
2231 --disable-smpte disable dependency-less smpte plugin
2232 --disable-spectrum disable dependency-less spectrum plugin
2233 --disable-udp disable dependency-less udp plugin
2234 --disable-videobox disable dependency-less videobox plugin
2235 --disable-videocrop disable dependency-less videocrop plugin
2236 --disable-videomixer disable dependency-less videomixer plugin
2237 --disable-wavenc disable dependency-less wavenc plugin
2238 --disable-wavparse disable dependency-less wavparse plugin
2239 --disable-y4m disable dependency-less y4m plugin
2240 --disable-directsound disable DirectSound plug-in: directsoundsink
2241 --disable-oss disable OSS audio: ossaudio
2242 --disable-oss4 disable Open Sound System 4: oss4
2243 --disable-sunaudio disable Sun Audio: sunaudio
2244 --disable-osx_audio disable OSX audio: osxaudio
2245 --disable-osx_video disable OSX video: osxvideosink
2246 --disable-gst_v4l2 disable Video 4 Linux 2: v4l2src
2247 --disable-x disable X libraries and plugins: ximagesrc
2248 --disable-xshm disable X Shared Memory extension
2249 --disable-xvideo disable X11 XVideo extensions
2250 --disable-aalib disable aalib ASCII Art library: aasink
2251 --disable-aalibtest do not try to compile and run a test AALIB program
2252 --disable-annodex disable XML library: annodex
2253 --disable-cairo disable Cairo graphics rendering: cairo
2254 --disable-cairo_gobject disable Cairo graphics rendering gobject bindings: cairooverlay
2255 --disable-esd disable ESounD sound daemon: esdsink
2256 --disable-esdtest do not try to compile and run a test ESD program
2257 --disable-flac disable FLAC lossless audio: flac
2258 --disable-gconf disable GConf libraries: gconfelements
2259 --disable-gdk_pixbuf disable GDK pixbuf: gdkpixbuf
2260 --disable-hal disable HAL libraries: halelements
2261 --disable-jack disable Jack: jack
2262 --disable-jpeg disable jpeg library: jpeg
2263 --disable-libcaca disable libcaca coloured ASCII art: cacasink
2264 --disable-libdv disable libdv DV demuxer/decoder: dv
2265 --disable-libpng disable Portable Network Graphics library: png
2266 --disable-pulse disable pulseaudio plug-in: pulseaudio
2267 --disable-dv1394 disable raw1394 and avc1394 library: 1394
2268 --disable-shout2 disable Shoutcast/Icecast client library: shout2
2269 --disable-shout2test Do not try to compile and run a test shout2 program
2270 --disable-soup disable soup http client plugin (2.4): souphttpsrc
2271 --disable-speex disable speex speech codec: speex
2272 --disable-taglib disable taglib tagging library: taglib
2273 --disable-wavpack disable wavpack plug-in: wavpack
2274 --disable-zlib disable zlib support for id3demux/qtdemux/matroska
2275 --disable-bz2 disable bz2 library for matroska
2278 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2279 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2280 --with-pic try to use only PIC/non-PIC objects [default=use
2282 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2283 --with-autoconf use a different autoconf for regeneration of
2285 --with-autoheader use a different autoheader for regeneration of
2287 --with-automake use a different automake for regeneration of
2289 --with-aclocal use a different aclocal for regeneration of
2291 --with-gnu-ld assume the C compiler uses GNU ld default=no
2292 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
2293 --without-libiconv-prefix don't search for libiconv in includedir and libdir
2294 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
2295 --without-libintl-prefix don't search for libintl in includedir and libdir
2296 --with-pkg-config-path colon-separated list of pkg-config(1) dirs
2297 --with-package-name specify package name to use in plugins
2298 --with-package-origin specify package origin URL to use in plugins
2299 --with-plugins comma-separated list of dependencyless plug-ins to
2301 --with-gconf-source=sourceaddress Config database for installing schema files.
2302 --with-gconf-schema-file-dir=dir Directory for installing schema files.
2303 --with-html-dir=PATH path to installed docs
2304 --with-gtk=3.0|2.0 which gtk+ version to compile against (default: 2.0)
2305 --with-default-audiosink
2306 specify default audio sink
2307 --with-default-audiosrc specify default audio source
2308 --with-default-videosink
2309 specify default video sink
2310 --with-default-videosrc specify default video source
2311 --with-default-visualizer
2312 specify default visualizer
2313 --with-gudev device detection with gudev
2314 --with-libv4l2 support video buffer conversion using libv4l2
2315 --with-x use the X Window System
2316 --with-aalib-prefix=PFX prefix where AALIB is installed (optional)
2317 --with-aalib-exec-prefix=PFX
2318 exec prefix where AALIB is installed (optional)
2319 --with-esd-prefix=PFX prefix where ESD is installed (optional)
2320 --with-esd-exec-prefix=PFX
2321 exec prefix where ESD is installed (optional)
2322 --with-jpeg-mmx, path to MMX'ified JPEG library
2323 --with-shout2-prefix=PFX Prefix where libshout2 is installed (optional)
2325 Some influential environment variables:
2326 CC C compiler command
2327 CFLAGS C compiler flags
2328 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2329 nonstandard directory <lib dir>
2330 LIBS libraries to pass to the linker, e.g. -l<library>
2331 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2332 you have headers in a nonstandard directory <include dir>
2334 PKG_CONFIG path to pkg-config utility
2336 C compiler flags for VALGRIND, overriding pkg-config
2338 linker flags for VALGRIND, overriding pkg-config
2339 CXX C++ compiler command
2340 CXXFLAGS C++ compiler flags
2341 CXXCPP C++ preprocessor
2342 CCAS assembler compiler command (defaults to CC)
2343 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
2344 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
2345 GLIB_LIBS linker flags for GLIB, overriding pkg-config
2346 ORC_CFLAGS C compiler flags for ORC, overriding pkg-config
2347 ORC_LIBS linker flags for ORC, overriding pkg-config
2348 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2349 GST_LIBS linker flags for GST, overriding pkg-config
2351 C compiler flags for GST_BASE, overriding pkg-config
2353 linker flags for GST_BASE, overriding pkg-config
2355 C compiler flags for GST_GDP, overriding pkg-config
2357 linker flags for GST_GDP, overriding pkg-config
2358 GST_CONTROLLER_CFLAGS
2359 C compiler flags for GST_CONTROLLER, overriding pkg-config
2361 linker flags for GST_CONTROLLER, overriding pkg-config
2363 C compiler flags for GST_CHECK, overriding pkg-config
2365 linker flags for GST_CHECK, overriding pkg-config
2366 GST_PLUGINS_BASE_CFLAGS
2367 C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
2368 GST_PLUGINS_BASE_LIBS
2369 linker flags for GST_PLUGINS_BASE, overriding pkg-config
2370 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
2371 GTK_LIBS linker flags for GTK, overriding pkg-config
2373 C compiler flags for GTK_X11, overriding pkg-config
2375 linker flags for GTK_X11, overriding pkg-config
2377 C compiler flags for GUDEV, overriding pkg-config
2378 GUDEV_LIBS linker flags for GUDEV, overriding pkg-config
2380 C compiler flags for LIBV4L2, overriding pkg-config
2382 linker flags for LIBV4L2, overriding pkg-config
2383 XMKMF Path to xmkmf, Makefile generator for X Window System
2385 C compiler flags for XFIXES, overriding pkg-config
2386 XFIXES_LIBS linker flags for XFIXES, overriding pkg-config
2388 C compiler flags for XDAMAGE, overriding pkg-config
2390 linker flags for XDAMAGE, overriding pkg-config
2392 C compiler flags for ANNODEX, overriding pkg-config
2394 linker flags for ANNODEX, overriding pkg-config
2396 C compiler flags for CAIRO, overriding pkg-config
2397 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2398 CAIRO_GOBJECT_CFLAGS
2399 C compiler flags for CAIRO_GOBJECT, overriding pkg-config
2401 linker flags for CAIRO_GOBJECT, overriding pkg-config
2402 ESD_CFLAGS C compiler flags for ESD, overriding pkg-config
2403 ESD_LIBS linker flags for ESD, overriding pkg-config
2404 FLAC_CFLAGS C compiler flags for FLAC, overriding pkg-config
2405 FLAC_LIBS linker flags for FLAC, overriding pkg-config
2407 C compiler flags for GCONF, overriding pkg-config
2408 GCONF_LIBS linker flags for GCONF, overriding pkg-config
2410 C compiler flags for GDK_PIXBUF, overriding pkg-config
2412 linker flags for GDK_PIXBUF, overriding pkg-config
2413 HAL_CFLAGS C compiler flags for HAL, overriding pkg-config
2414 HAL_LIBS linker flags for HAL, overriding pkg-config
2415 JACK_CFLAGS C compiler flags for JACK, overriding pkg-config
2416 JACK_LIBS linker flags for JACK, overriding pkg-config
2418 C compiler flags for JACK_0_120_1, overriding pkg-config
2420 linker flags for JACK_0_120_1, overriding pkg-config
2422 C compiler flags for JACK_1_9_7, overriding pkg-config
2424 linker flags for JACK_1_9_7, overriding pkg-config
2426 C compiler flags for LIBCACA, overriding pkg-config
2428 linker flags for LIBCACA, overriding pkg-config
2430 C compiler flags for LIBDV, overriding pkg-config
2431 LIBDV_LIBS linker flags for LIBDV, overriding pkg-config
2433 C compiler flags for LIBPNG, overriding pkg-config
2434 LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
2436 C compiler flags for PULSE, overriding pkg-config
2437 PULSE_LIBS linker flags for PULSE, overriding pkg-config
2439 C compiler flags for PULSE_0_9_11, overriding pkg-config
2441 linker flags for PULSE_0_9_11, overriding pkg-config
2443 C compiler flags for PULSE_0_9_12, overriding pkg-config
2445 linker flags for PULSE_0_9_12, overriding pkg-config
2447 C compiler flags for PULSE_0_9_13, overriding pkg-config
2449 linker flags for PULSE_0_9_13, overriding pkg-config
2451 C compiler flags for PULSE_0_9_15, overriding pkg-config
2453 linker flags for PULSE_0_9_15, overriding pkg-config
2455 C compiler flags for PULSE_0_9_16, overriding pkg-config
2457 linker flags for PULSE_0_9_16, overriding pkg-config
2459 C compiler flags for PULSE_0_9_20, overriding pkg-config
2461 linker flags for PULSE_0_9_20, overriding pkg-config
2463 C compiler flags for RAW1394, overriding pkg-config
2465 linker flags for RAW1394, overriding pkg-config
2467 C compiler flags for LIBIEC61883, overriding pkg-config
2469 linker flags for LIBIEC61883, overriding pkg-config
2471 C compiler flags for SHOUT2, overriding pkg-config
2472 SHOUT2_LIBS linker flags for SHOUT2, overriding pkg-config
2473 SOUP_CFLAGS C compiler flags for SOUP, overriding pkg-config
2474 SOUP_LIBS linker flags for SOUP, overriding pkg-config
2476 C compiler flags for SPEEX, overriding pkg-config
2477 SPEEX_LIBS linker flags for SPEEX, overriding pkg-config
2479 C compiler flags for TAGLIB, overriding pkg-config
2480 TAGLIB_LIBS linker flags for TAGLIB, overriding pkg-config
2482 C compiler flags for WAVPACK, overriding pkg-config
2484 linker flags for WAVPACK, overriding pkg-config
2486 Use these variables to override the choices made by `configure' or to help
2487 it to find libraries and programs with nonstandard names/locations.
2489 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
2494 if test "$ac_init_help" = "recursive"; then
2495 # If there are subdirs, report their specific --help.
2496 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2497 test -d "$ac_dir" ||
2498 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2503 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2505 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2506 # A ".." for each directory in $ac_dir_suffix.
2507 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2508 case $ac_top_builddir_sub in
2509 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2510 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2513 ac_abs_top_builddir=$ac_pwd
2514 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2515 # for backward compatibility:
2516 ac_top_builddir=$ac_top_build_prefix
2519 .) # We are building in place.
2521 ac_top_srcdir=$ac_top_builddir_sub
2522 ac_abs_top_srcdir=$ac_pwd ;;
2523 [\\/]* | ?:[\\/]* ) # Absolute name.
2524 ac_srcdir=$srcdir$ac_dir_suffix;
2525 ac_top_srcdir=$srcdir
2526 ac_abs_top_srcdir=$srcdir ;;
2528 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2529 ac_top_srcdir=$ac_top_build_prefix$srcdir
2530 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2532 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2534 cd "$ac_dir" || { ac_status=$?; continue; }
2535 # Check for guested configure.
2536 if test -f "$ac_srcdir/configure.gnu"; then
2538 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2539 elif test -f "$ac_srcdir/configure"; then
2541 $SHELL "$ac_srcdir/configure" --help=recursive
2543 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2545 cd "$ac_pwd" || { ac_status=$?; break; }
2549 test -n "$ac_init_help" && exit $ac_status
2550 if $ac_init_version; then
2552 GStreamer Good Plug-ins configure 0.10.29
2553 generated by GNU Autoconf 2.67
2555 Copyright (C) 2010 Free Software Foundation, Inc.
2556 This configure script is free software; the Free Software Foundation
2557 gives unlimited permission to copy, distribute and modify it.
2562 ## ------------------------ ##
2563 ## Autoconf initialization. ##
2564 ## ------------------------ ##
2566 # ac_fn_c_try_compile LINENO
2567 # --------------------------
2568 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2569 ac_fn_c_try_compile ()
2571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2572 rm -f conftest.$ac_objext
2573 if { { ac_try="$ac_compile"
2575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2576 *) ac_try_echo=$ac_try;;
2578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2579 $as_echo "$ac_try_echo"; } >&5
2580 (eval "$ac_compile") 2>conftest.err
2582 if test -s conftest.err; then
2583 grep -v '^ *+' conftest.err >conftest.er1
2584 cat conftest.er1 >&5
2585 mv -f conftest.er1 conftest.err
2587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2588 test $ac_status = 0; } && {
2589 test -z "$ac_c_werror_flag" ||
2590 test ! -s conftest.err
2591 } && test -s conftest.$ac_objext; then :
2594 $as_echo "$as_me: failed program was:" >&5
2595 sed 's/^/| /' conftest.$ac_ext >&5
2599 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2600 as_fn_set_status $ac_retval
2602 } # ac_fn_c_try_compile
2604 # ac_fn_c_try_link LINENO
2605 # -----------------------
2606 # Try to link conftest.$ac_ext, and return whether this succeeded.
2609 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2610 rm -f conftest.$ac_objext conftest$ac_exeext
2611 if { { ac_try="$ac_link"
2613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2614 *) ac_try_echo=$ac_try;;
2616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2617 $as_echo "$ac_try_echo"; } >&5
2618 (eval "$ac_link") 2>conftest.err
2620 if test -s conftest.err; then
2621 grep -v '^ *+' conftest.err >conftest.er1
2622 cat conftest.er1 >&5
2623 mv -f conftest.er1 conftest.err
2625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2626 test $ac_status = 0; } && {
2627 test -z "$ac_c_werror_flag" ||
2628 test ! -s conftest.err
2629 } && test -s conftest$ac_exeext && {
2630 test "$cross_compiling" = yes ||
2631 $as_test_x conftest$ac_exeext
2635 $as_echo "$as_me: failed program was:" >&5
2636 sed 's/^/| /' conftest.$ac_ext >&5
2640 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2641 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2642 # interfere with the next link command; also delete a directory that is
2643 # left behind by Apple's compiler. We do this before executing the actions.
2644 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2645 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2646 as_fn_set_status $ac_retval
2648 } # ac_fn_c_try_link
2650 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2651 # -------------------------------------------------------
2652 # Tests whether HEADER exists and can be compiled using the include files in
2653 # INCLUDES, setting the cache variable VAR accordingly.
2654 ac_fn_c_check_header_compile ()
2656 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2658 $as_echo_n "checking for $2... " >&6; }
2659 if eval "test \"\${$3+set}\"" = set; then :
2660 $as_echo_n "(cached) " >&6
2662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2663 /* end confdefs.h. */
2667 if ac_fn_c_try_compile "$LINENO"; then :
2672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2676 $as_echo "$ac_res" >&6; }
2677 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2679 } # ac_fn_c_check_header_compile
2681 # ac_fn_c_try_cpp LINENO
2682 # ----------------------
2683 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2687 if { { ac_try="$ac_cpp conftest.$ac_ext"
2689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2690 *) ac_try_echo=$ac_try;;
2692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2693 $as_echo "$ac_try_echo"; } >&5
2694 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2696 if test -s conftest.err; then
2697 grep -v '^ *+' conftest.err >conftest.er1
2698 cat conftest.er1 >&5
2699 mv -f conftest.er1 conftest.err
2701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2702 test $ac_status = 0; } > conftest.i && {
2703 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2704 test ! -s conftest.err
2708 $as_echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2713 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2714 as_fn_set_status $ac_retval
2718 # ac_fn_c_try_run LINENO
2719 # ----------------------
2720 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2721 # that executables *can* be run.
2724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2725 if { { ac_try="$ac_link"
2727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2728 *) ac_try_echo=$ac_try;;
2730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2731 $as_echo "$ac_try_echo"; } >&5
2732 (eval "$ac_link") 2>&5
2734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2735 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2736 { { case "(($ac_try" in
2737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738 *) ac_try_echo=$ac_try;;
2740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2741 $as_echo "$ac_try_echo"; } >&5
2742 (eval "$ac_try") 2>&5
2744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2745 test $ac_status = 0; }; }; then :
2748 $as_echo "$as_me: program exited with status $ac_status" >&5
2749 $as_echo "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2752 ac_retval=$ac_status
2754 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2755 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2756 as_fn_set_status $ac_retval
2760 # ac_fn_c_check_func LINENO FUNC VAR
2761 # ----------------------------------
2762 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2763 ac_fn_c_check_func ()
2765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2767 $as_echo_n "checking for $2... " >&6; }
2768 if eval "test \"\${$3+set}\"" = set; then :
2769 $as_echo_n "(cached) " >&6
2771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2772 /* end confdefs.h. */
2773 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2775 #define $2 innocuous_$2
2777 /* System header to define __stub macros and hopefully few prototypes,
2778 which can conflict with char $2 (); below.
2779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2780 <limits.h> exists even on freestanding compilers. */
2783 # include <limits.h>
2785 # include <assert.h>
2790 /* Override any GCC internal prototype to avoid an error.
2791 Use char because int might match the return type of a GCC
2792 builtin and then its argument prototype would still apply. */
2797 /* The GNU C library defines this for functions which it implements
2798 to always fail with ENOSYS. Some functions are actually named
2799 something starting with __ and the normal name is an alias. */
2800 #if defined __stub_$2 || defined __stub___$2
2812 if ac_fn_c_try_link "$LINENO"; then :
2817 rm -f core conftest.err conftest.$ac_objext \
2818 conftest$ac_exeext conftest.$ac_ext
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2822 $as_echo "$ac_res" >&6; }
2823 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2825 } # ac_fn_c_check_func
2827 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2828 # ---------------------------------------------
2829 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2831 ac_fn_c_check_decl ()
2833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2834 as_decl_name=`echo $2|sed 's/ *(.*//'`
2835 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2837 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2838 if eval "test \"\${$3+set}\"" = set; then :
2839 $as_echo_n "(cached) " >&6
2841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2842 /* end confdefs.h. */
2847 #ifndef $as_decl_name
2849 (void) $as_decl_use;
2851 (void) $as_decl_name;
2859 if ac_fn_c_try_compile "$LINENO"; then :
2864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2868 $as_echo "$ac_res" >&6; }
2869 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2871 } # ac_fn_c_check_decl
2873 # ac_fn_cxx_try_compile LINENO
2874 # ----------------------------
2875 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2876 ac_fn_cxx_try_compile ()
2878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2879 rm -f conftest.$ac_objext
2880 if { { ac_try="$ac_compile"
2882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2883 *) ac_try_echo=$ac_try;;
2885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2886 $as_echo "$ac_try_echo"; } >&5
2887 (eval "$ac_compile") 2>conftest.err
2889 if test -s conftest.err; then
2890 grep -v '^ *+' conftest.err >conftest.er1
2891 cat conftest.er1 >&5
2892 mv -f conftest.er1 conftest.err
2894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2895 test $ac_status = 0; } && {
2896 test -z "$ac_cxx_werror_flag" ||
2897 test ! -s conftest.err
2898 } && test -s conftest.$ac_objext; then :
2901 $as_echo "$as_me: failed program was:" >&5
2902 sed 's/^/| /' conftest.$ac_ext >&5
2906 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2907 as_fn_set_status $ac_retval
2909 } # ac_fn_cxx_try_compile
2911 # ac_fn_cxx_try_cpp LINENO
2912 # ------------------------
2913 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2914 ac_fn_cxx_try_cpp ()
2916 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2917 if { { ac_try="$ac_cpp conftest.$ac_ext"
2919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2920 *) ac_try_echo=$ac_try;;
2922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2923 $as_echo "$ac_try_echo"; } >&5
2924 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2926 if test -s conftest.err; then
2927 grep -v '^ *+' conftest.err >conftest.er1
2928 cat conftest.er1 >&5
2929 mv -f conftest.er1 conftest.err
2931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2932 test $ac_status = 0; } > conftest.i && {
2933 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2934 test ! -s conftest.err
2938 $as_echo "$as_me: failed program was:" >&5
2939 sed 's/^/| /' conftest.$ac_ext >&5
2943 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2944 as_fn_set_status $ac_retval
2946 } # ac_fn_cxx_try_cpp
2948 # ac_fn_cxx_try_link LINENO
2949 # -------------------------
2950 # Try to link conftest.$ac_ext, and return whether this succeeded.
2951 ac_fn_cxx_try_link ()
2953 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2954 rm -f conftest.$ac_objext conftest$ac_exeext
2955 if { { ac_try="$ac_link"
2957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2958 *) ac_try_echo=$ac_try;;
2960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2961 $as_echo "$ac_try_echo"; } >&5
2962 (eval "$ac_link") 2>conftest.err
2964 if test -s conftest.err; then
2965 grep -v '^ *+' conftest.err >conftest.er1
2966 cat conftest.er1 >&5
2967 mv -f conftest.er1 conftest.err
2969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2970 test $ac_status = 0; } && {
2971 test -z "$ac_cxx_werror_flag" ||
2972 test ! -s conftest.err
2973 } && test -s conftest$ac_exeext && {
2974 test "$cross_compiling" = yes ||
2975 $as_test_x conftest$ac_exeext
2979 $as_echo "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.$ac_ext >&5
2984 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2985 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2986 # interfere with the next link command; also delete a directory that is
2987 # left behind by Apple's compiler. We do this before executing the actions.
2988 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2989 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2990 as_fn_set_status $ac_retval
2992 } # ac_fn_cxx_try_link
2994 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2995 # -------------------------------------------
2996 # Tests whether TYPE exists after having included INCLUDES, setting cache
2997 # variable VAR accordingly.
2998 ac_fn_c_check_type ()
3000 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3002 $as_echo_n "checking for $2... " >&6; }
3003 if eval "test \"\${$3+set}\"" = set; then :
3004 $as_echo_n "(cached) " >&6
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3019 if ac_fn_c_try_compile "$LINENO"; then :
3020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3021 /* end confdefs.h. */
3032 if ac_fn_c_try_compile "$LINENO"; then :
3037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3043 $as_echo "$ac_res" >&6; }
3044 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3046 } # ac_fn_c_check_type
3048 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
3049 # --------------------------------------------
3050 # Tries to find the compile-time value of EXPR in a program that includes
3051 # INCLUDES, setting VAR accordingly. Returns whether the value could be
3053 ac_fn_c_compute_int ()
3055 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3056 if test "$cross_compiling" = yes; then
3057 # Depending upon the size, compute the lo and hi bounds.
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3064 static int test_array [1 - 2 * !(($2) >= 0)];
3071 if ac_fn_c_try_compile "$LINENO"; then :
3074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3075 /* end confdefs.h. */
3080 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3087 if ac_fn_c_try_compile "$LINENO"; then :
3088 ac_hi=$ac_mid; break
3090 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
3091 if test $ac_lo -le $ac_mid; then
3095 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
3097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101 /* end confdefs.h. */
3106 static int test_array [1 - 2 * !(($2) < 0)];
3113 if ac_fn_c_try_compile "$LINENO"; then :
3116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3117 /* end confdefs.h. */
3122 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
3129 if ac_fn_c_try_compile "$LINENO"; then :
3130 ac_lo=$ac_mid; break
3132 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
3133 if test $ac_mid -le $ac_hi; then
3137 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
3139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3147 # Binary search between lo and hi bounds.
3148 while test "x$ac_lo" != "x$ac_hi"; do
3149 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
3150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3151 /* end confdefs.h. */
3156 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3163 if ac_fn_c_try_compile "$LINENO"; then :
3166 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
3168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3171 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
3175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3176 /* end confdefs.h. */
3178 static long int longval () { return $2; }
3179 static unsigned long int ulongval () { return $2; }
3186 FILE *f = fopen ("conftest.val", "w");
3191 long int i = longval ();
3194 fprintf (f, "%ld", i);
3198 unsigned long int i = ulongval ();
3201 fprintf (f, "%lu", i);
3203 /* Do not output a trailing newline, as this causes \r\n confusion
3204 on some platforms. */
3205 return ferror (f) || fclose (f) != 0;
3211 if ac_fn_c_try_run "$LINENO"; then :
3212 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3216 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3217 conftest.$ac_objext conftest.beam conftest.$ac_ext
3221 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3222 as_fn_set_status $ac_retval
3224 } # ac_fn_c_compute_int
3226 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
3227 # -------------------------------------------------------
3228 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3229 # the include files in INCLUDES and setting the cache variable VAR
3231 ac_fn_c_check_header_mongrel ()
3233 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3234 if eval "test \"\${$3+set}\"" = set; then :
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3236 $as_echo_n "checking for $2... " >&6; }
3237 if eval "test \"\${$3+set}\"" = set; then :
3238 $as_echo_n "(cached) " >&6
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3242 $as_echo "$ac_res" >&6; }
3244 # Is the header compilable?
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3246 $as_echo_n "checking $2 usability... " >&6; }
3247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h. */
3252 if ac_fn_c_try_compile "$LINENO"; then :
3253 ac_header_compiler=yes
3255 ac_header_compiler=no
3257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3259 $as_echo "$ac_header_compiler" >&6; }
3261 # Is the header present?
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3263 $as_echo_n "checking $2 presence... " >&6; }
3264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3265 /* end confdefs.h. */
3268 if ac_fn_c_try_cpp "$LINENO"; then :
3269 ac_header_preproc=yes
3271 ac_header_preproc=no
3273 rm -f conftest.err conftest.i conftest.$ac_ext
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3275 $as_echo "$ac_header_preproc" >&6; }
3277 # So? What about this header?
3278 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3281 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3283 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3287 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3289 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3291 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3293 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3295 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3296 ( $as_echo "## ------------------------------------------------------------------------ ##
3297 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
3298 ## ------------------------------------------------------------------------ ##"
3299 ) | sed "s/^/$as_me: WARNING: /" >&2
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3303 $as_echo_n "checking for $2... " >&6; }
3304 if eval "test \"\${$3+set}\"" = set; then :
3305 $as_echo_n "(cached) " >&6
3307 eval "$3=\$ac_header_compiler"
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3311 $as_echo "$ac_res" >&6; }
3313 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3315 } # ac_fn_c_check_header_mongrel
3316 cat >config.log <<_ACEOF
3317 This file contains any messages produced by compilers while
3318 running configure, to aid debugging if configure makes a mistake.
3320 It was created by GStreamer Good Plug-ins $as_me 0.10.29, which was
3321 generated by GNU Autoconf 2.67. Invocation command line was
3333 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3334 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3335 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3336 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3337 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3339 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3340 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3342 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3343 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3344 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3345 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3346 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3347 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3348 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3356 test -z "$as_dir" && as_dir=.
3357 $as_echo "PATH: $as_dir"
3373 # Keep a trace of the command line.
3374 # Strip out --no-create and --no-recursion so they do not pile up.
3375 # Strip out --silent because we don't want to record it for future runs.
3376 # Also quote any args containing shell meta-characters.
3377 # Make two passes to allow for proper duplicate-argument suppression.
3381 ac_must_keep_next=false
3387 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3388 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3389 | -silent | --silent | --silen | --sile | --sil)
3392 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3395 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3397 as_fn_append ac_configure_args1 " '$ac_arg'"
3398 if test $ac_must_keep_next = true; then
3399 ac_must_keep_next=false # Got value, back to normal.
3402 *=* | --config-cache | -C | -disable-* | --disable-* \
3403 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3404 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3405 | -with-* | --with-* | -without-* | --without-* | --x)
3406 case "$ac_configure_args0 " in
3407 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3410 -* ) ac_must_keep_next=true ;;
3413 as_fn_append ac_configure_args " '$ac_arg'"
3418 { ac_configure_args0=; unset ac_configure_args0;}
3419 { ac_configure_args1=; unset ac_configure_args1;}
3421 # When interrupted or exit'd, cleanup temporary files, and complete
3422 # config.log. We remove comments because anyway the quotes in there
3423 # would cause problems or look ugly.
3424 # WARNING: Use '\'' to represent an apostrophe within the trap.
3425 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3426 trap 'exit_status=$?
3427 # Save into config.log some information that might help in debugging.
3431 $as_echo "## ---------------- ##
3432 ## Cache variables. ##
3433 ## ---------------- ##"
3435 # The following way of writing the cache mishandles newlines in values,
3437 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3438 eval ac_val=\$$ac_var
3442 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3443 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3446 _ | IFS | as_nl) ;; #(
3447 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3448 *) { eval $ac_var=; unset $ac_var;} ;;
3453 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3454 *${as_nl}ac_space=\ *)
3456 "s/'\''/'\''\\\\'\'''\''/g;
3457 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3460 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3467 $as_echo "## ----------------- ##
3468 ## Output variables. ##
3469 ## ----------------- ##"
3471 for ac_var in $ac_subst_vars
3473 eval ac_val=\$$ac_var
3475 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3477 $as_echo "$ac_var='\''$ac_val'\''"
3481 if test -n "$ac_subst_files"; then
3482 $as_echo "## ------------------- ##
3483 ## File substitutions. ##
3484 ## ------------------- ##"
3486 for ac_var in $ac_subst_files
3488 eval ac_val=\$$ac_var
3490 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3492 $as_echo "$ac_var='\''$ac_val'\''"
3497 if test -s confdefs.h; then
3498 $as_echo "## ----------- ##
3505 test "$ac_signal" != 0 &&
3506 $as_echo "$as_me: caught signal $ac_signal"
3507 $as_echo "$as_me: exit $exit_status"
3509 rm -f core *.core core.conftest.* &&
3510 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3513 for ac_signal in 1 2 13 15; do
3514 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3518 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3519 rm -f -r conftest* confdefs.h
3521 $as_echo "/* confdefs.h */" > confdefs.h
3523 # Predefined preprocessor variables.
3525 cat >>confdefs.h <<_ACEOF
3526 #define PACKAGE_NAME "$PACKAGE_NAME"
3529 cat >>confdefs.h <<_ACEOF
3530 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3533 cat >>confdefs.h <<_ACEOF
3534 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3537 cat >>confdefs.h <<_ACEOF
3538 #define PACKAGE_STRING "$PACKAGE_STRING"
3541 cat >>confdefs.h <<_ACEOF
3542 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3545 cat >>confdefs.h <<_ACEOF
3546 #define PACKAGE_URL "$PACKAGE_URL"
3550 # Let the site file select an alternate cache file if it wants to.
3551 # Prefer an explicitly selected file to automatically selected ones.
3554 if test -n "$CONFIG_SITE"; then
3555 # We do not want a PATH search for config.site.
3556 case $CONFIG_SITE in #((
3557 -*) ac_site_file1=./$CONFIG_SITE;;
3558 */*) ac_site_file1=$CONFIG_SITE;;
3559 *) ac_site_file1=./$CONFIG_SITE;;
3561 elif test "x$prefix" != xNONE; then
3562 ac_site_file1=$prefix/share/config.site
3563 ac_site_file2=$prefix/etc/config.site
3565 ac_site_file1=$ac_default_prefix/share/config.site
3566 ac_site_file2=$ac_default_prefix/etc/config.site
3568 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3570 test "x$ac_site_file" = xNONE && continue
3571 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3573 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3574 sed 's/^/| /' "$ac_site_file" >&5
3576 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3578 as_fn_error $? "failed to load site script $ac_site_file
3579 See \`config.log' for more details" "$LINENO" 5 ; }
3583 if test -r "$cache_file"; then
3584 # Some versions of bash will fail to source /dev/null (special files
3585 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3586 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3588 $as_echo "$as_me: loading cache $cache_file" >&6;}
3590 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3591 *) . "./$cache_file";;
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3596 $as_echo "$as_me: creating cache $cache_file" >&6;}
3600 gt_needs="$gt_needs "
3601 as_fn_append ac_header_list " stdlib.h"
3602 as_fn_append ac_header_list " unistd.h"
3603 as_fn_append ac_header_list " sys/param.h"
3604 # Check that the precious variables saved in the cache have kept the same
3606 ac_cache_corrupted=false
3607 for ac_var in $ac_precious_vars; do
3608 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3609 eval ac_new_set=\$ac_env_${ac_var}_set
3610 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3611 eval ac_new_val=\$ac_env_${ac_var}_value
3612 case $ac_old_set,$ac_new_set in
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3615 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3616 ac_cache_corrupted=: ;;
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3619 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3620 ac_cache_corrupted=: ;;
3623 if test "x$ac_old_val" != "x$ac_new_val"; then
3624 # differences in whitespace do not lead to failure.
3625 ac_old_val_w=`echo x $ac_old_val`
3626 ac_new_val_w=`echo x $ac_new_val`
3627 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3629 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3630 ac_cache_corrupted=:
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3633 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3634 eval $ac_var=\$ac_old_val
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3637 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3639 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3642 # Pass precious variables to config.status.
3643 if test "$ac_new_set" = set; then
3645 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3646 *) ac_arg=$ac_var=$ac_new_val ;;
3648 case " $ac_configure_args " in
3649 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3650 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3654 if $ac_cache_corrupted; then
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3658 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3659 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3661 ## -------------------- ##
3662 ## Main body of script. ##
3663 ## -------------------- ##
3666 ac_cpp='$CPP $CPPFLAGS'
3667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3677 am__api_version='1.11'
3680 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3681 if test -f "$ac_dir/install-sh"; then
3683 ac_install_sh="$ac_aux_dir/install-sh -c"
3685 elif test -f "$ac_dir/install.sh"; then
3687 ac_install_sh="$ac_aux_dir/install.sh -c"
3689 elif test -f "$ac_dir/shtool"; then
3691 ac_install_sh="$ac_aux_dir/shtool install -c"
3695 if test -z "$ac_aux_dir"; then
3696 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3699 # These three variables are undocumented and unsupported,
3700 # and are intended to be withdrawn in a future Autoconf release.
3701 # They can cause serious problems if a builder's source tree is in a directory
3702 # whose full name contains unusual characters.
3703 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3704 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3705 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3708 # Find a good install program. We prefer a C program (faster),
3709 # so one script is as good as another. But avoid the broken or
3710 # incompatible versions:
3711 # SysV /etc/install, /usr/sbin/install
3712 # SunOS /usr/etc/install
3713 # IRIX /sbin/install
3715 # AmigaOS /C/install, which installs bootblocks on floppy discs
3716 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3717 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3718 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3719 # OS/2's system install, which has a completely different semantic
3720 # ./install, which can be erroneously created by make from ./install.sh.
3721 # Reject install programs that cannot install multiple files.
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3723 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3724 if test -z "$INSTALL"; then
3725 if test "${ac_cv_path_install+set}" = set; then :
3726 $as_echo_n "(cached) " >&6
3728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3732 test -z "$as_dir" && as_dir=.
3733 # Account for people who put trailing slashes in PATH elements.
3734 case $as_dir/ in #((
3735 ./ | .// | /[cC]/* | \
3736 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3737 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3740 # OSF1 and SCO ODT 3.0 have their own names for install.
3741 # Don't use installbsd from OSF since it installs stuff as root
3743 for ac_prog in ginstall scoinst install; do
3744 for ac_exec_ext in '' $ac_executable_extensions; do
3745 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3746 if test $ac_prog = install &&
3747 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3748 # AIX install. It has an incompatible calling convention.
3750 elif test $ac_prog = install &&
3751 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3752 # program-specific install script used by HP pwplus--don't use.
3755 rm -rf conftest.one conftest.two conftest.dir
3756 echo one > conftest.one
3757 echo two > conftest.two
3759 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3760 test -s conftest.one && test -s conftest.two &&
3761 test -s conftest.dir/conftest.one &&
3762 test -s conftest.dir/conftest.two
3764 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3777 rm -rf conftest.one conftest.two conftest.dir
3780 if test "${ac_cv_path_install+set}" = set; then
3781 INSTALL=$ac_cv_path_install
3783 # As a last resort, use the slow shell script. Don't cache a
3784 # value for INSTALL within a source directory, because that will
3785 # break other packages using the cache if that directory is
3786 # removed, or if the value is a relative name.
3787 INSTALL=$ac_install_sh
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3791 $as_echo "$INSTALL" >&6; }
3793 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3794 # It thinks the first close brace ends the variable substitution.
3795 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3797 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3799 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3802 $as_echo_n "checking whether build environment is sane... " >&6; }
3805 echo timestamp > conftest.file
3806 # Reject unsafe characters in $srcdir or the absolute working directory
3807 # name. Accept space and tab only in the latter.
3811 *[\\\"\#\$\&\'\`$am_lf]*)
3812 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3815 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3816 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3819 # Do `set' in a subshell so we don't clobber the current shell's
3820 # arguments. Must try -L first in case configure is actually a
3821 # symlink; some systems play weird games with the mod time of symlinks
3822 # (eg FreeBSD returns the mod time of the symlink's containing
3825 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3826 if test "$*" = "X"; then
3828 set X `ls -t "$srcdir/configure" conftest.file`
3831 if test "$*" != "X $srcdir/configure conftest.file" \
3832 && test "$*" != "X conftest.file $srcdir/configure"; then
3834 # If neither matched, then we have a broken ls. This can happen
3835 # if, for instance, CONFIG_SHELL is bash and it inherits a
3836 # broken ls alias from the environment. This has actually
3837 # happened. Such a system could not be considered "sane".
3838 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3839 alias in your environment" "$LINENO" 5
3842 test "$2" = conftest.file
3848 as_fn_error $? "newly created file is older than distributed files!
3849 Check your system clock" "$LINENO" 5
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3852 $as_echo "yes" >&6; }
3853 test "$program_prefix" != NONE &&
3854 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3855 # Use a double $ so make ignores it.
3856 test "$program_suffix" != NONE &&
3857 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3858 # Double any \ or $.
3859 # By default was `s,x,x', remove it if useless.
3860 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3861 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3863 # expand $ac_aux_dir to an absolute path
3864 am_aux_dir=`cd $ac_aux_dir && pwd`
3866 if test x"${MISSING+set}" != xset; then
3869 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3871 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3874 # Use eval to expand $SHELL
3875 if eval "$MISSING --run true"; then
3876 am_missing_run="$MISSING --run "
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3880 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3883 if test x"${install_sh}" != xset; then
3886 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3888 install_sh="\${SHELL} $am_aux_dir/install-sh"
3892 # Installed binaries are usually stripped using `strip' when the user
3893 # run `make install-strip'. However `strip' might not be the right
3894 # tool to use in cross-compilation environments, therefore Automake
3895 # will honor the `STRIP' environment variable to overrule this program.
3896 if test "$cross_compiling" != no; then
3897 if test -n "$ac_tool_prefix"; then
3898 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3899 set dummy ${ac_tool_prefix}strip; ac_word=$2
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3901 $as_echo_n "checking for $ac_word... " >&6; }
3902 if test "${ac_cv_prog_STRIP+set}" = set; then :
3903 $as_echo_n "(cached) " >&6
3905 if test -n "$STRIP"; then
3906 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3912 test -z "$as_dir" && as_dir=.
3913 for ac_exec_ext in '' $ac_executable_extensions; do
3914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3915 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3925 STRIP=$ac_cv_prog_STRIP
3926 if test -n "$STRIP"; then
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3928 $as_echo "$STRIP" >&6; }
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3931 $as_echo "no" >&6; }
3936 if test -z "$ac_cv_prog_STRIP"; then
3938 # Extract the first word of "strip", so it can be a program name with args.
3939 set dummy strip; ac_word=$2
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3941 $as_echo_n "checking for $ac_word... " >&6; }
3942 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3943 $as_echo_n "(cached) " >&6
3945 if test -n "$ac_ct_STRIP"; then
3946 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3952 test -z "$as_dir" && as_dir=.
3953 for ac_exec_ext in '' $ac_executable_extensions; do
3954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3955 ac_cv_prog_ac_ct_STRIP="strip"
3956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3965 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3966 if test -n "$ac_ct_STRIP"; then
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3968 $as_echo "$ac_ct_STRIP" >&6; }
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3971 $as_echo "no" >&6; }
3974 if test "x$ac_ct_STRIP" = x; then
3977 case $cross_compiling:$ac_tool_warned in
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3981 ac_tool_warned=yes ;;
3986 STRIP="$ac_cv_prog_STRIP"
3990 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3993 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3994 if test -z "$MKDIR_P"; then
3995 if test "${ac_cv_path_mkdir+set}" = set; then :
3996 $as_echo_n "(cached) " >&6
3998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3999 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4002 test -z "$as_dir" && as_dir=.
4003 for ac_prog in mkdir gmkdir; do
4004 for ac_exec_ext in '' $ac_executable_extensions; do
4005 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
4006 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4007 'mkdir (GNU coreutils) '* | \
4008 'mkdir (coreutils) '* | \
4009 'mkdir (fileutils) '4.1*)
4010 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4020 test -d ./--version && rmdir ./--version
4021 if test "${ac_cv_path_mkdir+set}" = set; then
4022 MKDIR_P="$ac_cv_path_mkdir -p"
4024 # As a last resort, use the slow shell script. Don't cache a
4025 # value for MKDIR_P within a source directory, because that will
4026 # break other packages using the cache if that directory is
4027 # removed, or if the value is a relative name.
4028 MKDIR_P="$ac_install_sh -d"
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4032 $as_echo "$MKDIR_P" >&6; }
4036 [\\/$]* | ?:[\\/]*) ;;
4037 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4040 for ac_prog in gawk mawk nawk awk
4042 # Extract the first word of "$ac_prog", so it can be a program name with args.
4043 set dummy $ac_prog; ac_word=$2
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4045 $as_echo_n "checking for $ac_word... " >&6; }
4046 if test "${ac_cv_prog_AWK+set}" = set; then :
4047 $as_echo_n "(cached) " >&6
4049 if test -n "$AWK"; then
4050 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4056 test -z "$as_dir" && as_dir=.
4057 for ac_exec_ext in '' $ac_executable_extensions; do
4058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4059 ac_cv_prog_AWK="$ac_prog"
4060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4070 if test -n "$AWK"; then
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4072 $as_echo "$AWK" >&6; }
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4075 $as_echo "no" >&6; }
4079 test -n "$AWK" && break
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4083 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4085 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4086 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
4087 $as_echo_n "(cached) " >&6
4089 cat >conftest.make <<\_ACEOF
4092 @echo '@@@%%%=$(MAKE)=@@@%%%'
4094 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4095 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4097 eval ac_cv_prog_make_${ac_make}_set=yes;;
4099 eval ac_cv_prog_make_${ac_make}_set=no;;
4103 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4105 $as_echo "yes" >&6; }
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4109 $as_echo "no" >&6; }
4110 SET_MAKE="MAKE=${MAKE-make}"
4113 rm -rf .tst 2>/dev/null
4114 mkdir .tst 2>/dev/null
4115 if test -d .tst; then
4120 rmdir .tst 2>/dev/null
4122 if test "`cd $srcdir && pwd`" != "`pwd`"; then
4123 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4124 # is not polluted with repeated "-I."
4125 am__isrc=' -I$(srcdir)'
4126 # test to see if srcdir already configured
4127 if test -f $srcdir/config.status; then
4128 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4132 # test whether we have cygpath
4133 if test -z "$CYGPATH_W"; then
4134 if (cygpath --version) >/dev/null 2>/dev/null; then
4135 CYGPATH_W='cygpath -w'
4142 # Define the identity of the package.
4143 PACKAGE='gst-plugins-good'
4147 cat >>confdefs.h <<_ACEOF
4148 #define PACKAGE "$PACKAGE"
4152 cat >>confdefs.h <<_ACEOF
4153 #define VERSION "$VERSION"
4156 # Some tools Automake needs.
4158 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4161 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4164 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4167 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4170 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4172 # We need awk for the "check" target. The system "awk" is bad on
4174 # Always define AMTAR for backward compatibility.
4176 AMTAR=${AMTAR-"${am_missing_run}tar"}
4178 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
4186 PACKAGE_VERSION_MAJOR=$(echo 0.10.29 | cut -d'.' -f1)
4187 PACKAGE_VERSION_MINOR=$(echo 0.10.29 | cut -d'.' -f2)
4188 PACKAGE_VERSION_MICRO=$(echo 0.10.29 | cut -d'.' -f3)
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
4197 $as_echo_n "checking nano version... " >&6; }
4199 NANO=$(echo 0.10.29 | cut -d'.' -f4)
4201 if test x"$NANO" = x || test "x$NANO" = "x0" ; then
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
4203 $as_echo "0 (release)" >&6; }
4205 PACKAGE_VERSION_RELEASE=1
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
4209 $as_echo "$NANO" >&6; }
4210 PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
4211 if test "x$NANO" != "x1" ; then
4217 PACKAGE_VERSION_NANO=$NANO
4224 ac_config_headers="$ac_config_headers config.h"
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
4229 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
4230 # Check whether --enable-maintainer-mode was given.
4231 if test "${enable_maintainer_mode+set}" = set; then :
4232 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
4234 USE_MAINTAINER_MODE=no
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
4238 $as_echo "$USE_MAINTAINER_MODE" >&6; }
4239 if test $USE_MAINTAINER_MODE = yes; then
4240 MAINTAINER_MODE_TRUE=
4241 MAINTAINER_MODE_FALSE='#'
4243 MAINTAINER_MODE_TRUE='#'
4244 MAINTAINER_MODE_FALSE=
4247 MAINT=$MAINTAINER_MODE_TRUE
4251 # Make sure we can run config.sub.
4252 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4253 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4256 $as_echo_n "checking build system type... " >&6; }
4257 if test "${ac_cv_build+set}" = set; then :
4258 $as_echo_n "(cached) " >&6
4260 ac_build_alias=$build_alias
4261 test "x$ac_build_alias" = x &&
4262 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4263 test "x$ac_build_alias" = x &&
4264 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4265 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4266 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4270 $as_echo "$ac_cv_build" >&6; }
4271 case $ac_cv_build in
4273 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
4276 ac_save_IFS=$IFS; IFS='-'
4282 # Remember, the first character of IFS is used to create $*,
4283 # except with old shells:
4286 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4290 $as_echo_n "checking host system type... " >&6; }
4291 if test "${ac_cv_host+set}" = set; then :
4292 $as_echo_n "(cached) " >&6
4294 if test "x$host_alias" = x; then
4295 ac_cv_host=$ac_cv_build
4297 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4298 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4303 $as_echo "$ac_cv_host" >&6; }
4306 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
4309 ac_save_IFS=$IFS; IFS='-'
4315 # Remember, the first character of IFS is used to create $*,
4316 # except with old shells:
4319 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4323 # Check whether --enable-silent-rules was given.
4324 if test "${enable_silent_rules+set}" = set; then :
4325 enableval=$enable_silent_rules;
4328 case $enable_silent_rules in
4329 yes) AM_DEFAULT_VERBOSITY=0;;
4330 no) AM_DEFAULT_VERBOSITY=1;;
4331 *) AM_DEFAULT_VERBOSITY=0;;
4336 GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
4343 lt_cv_deplibs_check_method=pass_all
4349 enable_win32_dll=yes
4352 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
4353 if test -n "$ac_tool_prefix"; then
4354 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4355 set dummy ${ac_tool_prefix}as; ac_word=$2
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4357 $as_echo_n "checking for $ac_word... " >&6; }
4358 if test "${ac_cv_prog_AS+set}" = set; then :
4359 $as_echo_n "(cached) " >&6
4361 if test -n "$AS"; then
4362 ac_cv_prog_AS="$AS" # Let the user override the test.
4364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 test -z "$as_dir" && as_dir=.
4369 for ac_exec_ext in '' $ac_executable_extensions; do
4370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4371 ac_cv_prog_AS="${ac_tool_prefix}as"
4372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4382 if test -n "$AS"; then
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4384 $as_echo "$AS" >&6; }
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4387 $as_echo "no" >&6; }
4392 if test -z "$ac_cv_prog_AS"; then
4394 # Extract the first word of "as", so it can be a program name with args.
4395 set dummy as; ac_word=$2
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4397 $as_echo_n "checking for $ac_word... " >&6; }
4398 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4399 $as_echo_n "(cached) " >&6
4401 if test -n "$ac_ct_AS"; then
4402 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4408 test -z "$as_dir" && as_dir=.
4409 for ac_exec_ext in '' $ac_executable_extensions; do
4410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4411 ac_cv_prog_ac_ct_AS="as"
4412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4421 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4422 if test -n "$ac_ct_AS"; then
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4424 $as_echo "$ac_ct_AS" >&6; }
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4427 $as_echo "no" >&6; }
4430 if test "x$ac_ct_AS" = x; then
4433 case $cross_compiling:$ac_tool_warned in
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4437 ac_tool_warned=yes ;;
4445 if test -n "$ac_tool_prefix"; then
4446 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4447 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4449 $as_echo_n "checking for $ac_word... " >&6; }
4450 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
4451 $as_echo_n "(cached) " >&6
4453 if test -n "$DLLTOOL"; then
4454 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4460 test -z "$as_dir" && as_dir=.
4461 for ac_exec_ext in '' $ac_executable_extensions; do
4462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4463 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4473 DLLTOOL=$ac_cv_prog_DLLTOOL
4474 if test -n "$DLLTOOL"; then
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4476 $as_echo "$DLLTOOL" >&6; }
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4479 $as_echo "no" >&6; }
4484 if test -z "$ac_cv_prog_DLLTOOL"; then
4485 ac_ct_DLLTOOL=$DLLTOOL
4486 # Extract the first word of "dlltool", so it can be a program name with args.
4487 set dummy dlltool; ac_word=$2
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4489 $as_echo_n "checking for $ac_word... " >&6; }
4490 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
4491 $as_echo_n "(cached) " >&6
4493 if test -n "$ac_ct_DLLTOOL"; then
4494 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4500 test -z "$as_dir" && as_dir=.
4501 for ac_exec_ext in '' $ac_executable_extensions; do
4502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4503 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4513 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4514 if test -n "$ac_ct_DLLTOOL"; then
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4516 $as_echo "$ac_ct_DLLTOOL" >&6; }
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4519 $as_echo "no" >&6; }
4522 if test "x$ac_ct_DLLTOOL" = x; then
4525 case $cross_compiling:$ac_tool_warned in
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4529 ac_tool_warned=yes ;;
4531 DLLTOOL=$ac_ct_DLLTOOL
4534 DLLTOOL="$ac_cv_prog_DLLTOOL"
4537 if test -n "$ac_tool_prefix"; then
4538 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4539 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4541 $as_echo_n "checking for $ac_word... " >&6; }
4542 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4543 $as_echo_n "(cached) " >&6
4545 if test -n "$OBJDUMP"; then
4546 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4552 test -z "$as_dir" && as_dir=.
4553 for ac_exec_ext in '' $ac_executable_extensions; do
4554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4555 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4565 OBJDUMP=$ac_cv_prog_OBJDUMP
4566 if test -n "$OBJDUMP"; then
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4568 $as_echo "$OBJDUMP" >&6; }
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4571 $as_echo "no" >&6; }
4576 if test -z "$ac_cv_prog_OBJDUMP"; then
4577 ac_ct_OBJDUMP=$OBJDUMP
4578 # Extract the first word of "objdump", so it can be a program name with args.
4579 set dummy objdump; ac_word=$2
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4581 $as_echo_n "checking for $ac_word... " >&6; }
4582 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4583 $as_echo_n "(cached) " >&6
4585 if test -n "$ac_ct_OBJDUMP"; then
4586 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4592 test -z "$as_dir" && as_dir=.
4593 for ac_exec_ext in '' $ac_executable_extensions; do
4594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4595 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4605 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4606 if test -n "$ac_ct_OBJDUMP"; then
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4608 $as_echo "$ac_ct_OBJDUMP" >&6; }
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4611 $as_echo "no" >&6; }
4614 if test "x$ac_ct_OBJDUMP" = x; then
4617 case $cross_compiling:$ac_tool_warned in
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4621 ac_tool_warned=yes ;;
4623 OBJDUMP=$ac_ct_OBJDUMP
4626 OBJDUMP="$ac_cv_prog_OBJDUMP"
4632 test -z "$AS" && AS=as
4638 test -z "$DLLTOOL" && DLLTOOL=dlltool
4644 test -z "$OBJDUMP" && OBJDUMP=objdump
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4655 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4660 macro_version='2.2.6b'
4661 macro_revision='1.3017'
4675 ltmain="$ac_aux_dir/ltmain.sh"
4677 DEPDIR="${am__leading_dot}deps"
4679 ac_config_commands="$ac_config_commands depfiles"
4682 am_make=${MAKE-make}
4683 cat > confinc << 'END'
4685 @echo this is the am__doit target
4688 # If we don't find an include directive, just comment out the code.
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4690 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4694 # First try GNU make style include.
4695 echo "include confinc" > confmf
4696 # Ignore all kinds of additional output from `make'.
4697 case `$am_make -s -f confmf 2> /dev/null` in #(
4698 *the\ am__doit\ target*)
4704 # Now try BSD make style include.
4705 if test "$am__include" = "#"; then
4706 echo '.include "confinc"' > confmf
4707 case `$am_make -s -f confmf 2> /dev/null` in #(
4708 *the\ am__doit\ target*)
4709 am__include=.include
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4718 $as_echo "$_am_result" >&6; }
4719 rm -f confinc confmf
4721 # Check whether --enable-dependency-tracking was given.
4722 if test "${enable_dependency_tracking+set}" = set; then :
4723 enableval=$enable_dependency_tracking;
4726 if test "x$enable_dependency_tracking" != xno; then
4727 am_depcomp="$ac_aux_dir/depcomp"
4730 if test "x$enable_dependency_tracking" != xno; then
4740 ac_cpp='$CPP $CPPFLAGS'
4741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4744 if test -n "$ac_tool_prefix"; then
4745 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4746 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4748 $as_echo_n "checking for $ac_word... " >&6; }
4749 if test "${ac_cv_prog_CC+set}" = set; then :
4750 $as_echo_n "(cached) " >&6
4752 if test -n "$CC"; then
4753 ac_cv_prog_CC="$CC" # Let the user override the test.
4755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4759 test -z "$as_dir" && as_dir=.
4760 for ac_exec_ext in '' $ac_executable_extensions; do
4761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4762 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4773 if test -n "$CC"; then
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4775 $as_echo "$CC" >&6; }
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4778 $as_echo "no" >&6; }
4783 if test -z "$ac_cv_prog_CC"; then
4785 # Extract the first word of "gcc", so it can be a program name with args.
4786 set dummy gcc; ac_word=$2
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4788 $as_echo_n "checking for $ac_word... " >&6; }
4789 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4790 $as_echo_n "(cached) " >&6
4792 if test -n "$ac_ct_CC"; then
4793 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4799 test -z "$as_dir" && as_dir=.
4800 for ac_exec_ext in '' $ac_executable_extensions; do
4801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4802 ac_cv_prog_ac_ct_CC="gcc"
4803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4812 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4813 if test -n "$ac_ct_CC"; then
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4815 $as_echo "$ac_ct_CC" >&6; }
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4818 $as_echo "no" >&6; }
4821 if test "x$ac_ct_CC" = x; then
4824 case $cross_compiling:$ac_tool_warned in
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4828 ac_tool_warned=yes ;;
4836 if test -z "$CC"; then
4837 if test -n "$ac_tool_prefix"; then
4838 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4839 set dummy ${ac_tool_prefix}cc; ac_word=$2
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4841 $as_echo_n "checking for $ac_word... " >&6; }
4842 if test "${ac_cv_prog_CC+set}" = set; then :
4843 $as_echo_n "(cached) " >&6
4845 if test -n "$CC"; then
4846 ac_cv_prog_CC="$CC" # Let the user override the test.
4848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4852 test -z "$as_dir" && as_dir=.
4853 for ac_exec_ext in '' $ac_executable_extensions; do
4854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4855 ac_cv_prog_CC="${ac_tool_prefix}cc"
4856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4866 if test -n "$CC"; then
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4868 $as_echo "$CC" >&6; }
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4871 $as_echo "no" >&6; }
4877 if test -z "$CC"; then
4878 # Extract the first word of "cc", so it can be a program name with args.
4879 set dummy cc; ac_word=$2
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4881 $as_echo_n "checking for $ac_word... " >&6; }
4882 if test "${ac_cv_prog_CC+set}" = set; then :
4883 $as_echo_n "(cached) " >&6
4885 if test -n "$CC"; then
4886 ac_cv_prog_CC="$CC" # Let the user override the test.
4889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4893 test -z "$as_dir" && as_dir=.
4894 for ac_exec_ext in '' $ac_executable_extensions; do
4895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4896 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4897 ac_prog_rejected=yes
4901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4908 if test $ac_prog_rejected = yes; then
4909 # We found a bogon in the path, so make sure we never use it.
4910 set dummy $ac_cv_prog_CC
4912 if test $# != 0; then
4913 # We chose a different compiler from the bogus one.
4914 # However, it has the same basename, so the bogon will be chosen
4915 # first if we set CC to just the basename; use the full file name.
4917 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4923 if test -n "$CC"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4925 $as_echo "$CC" >&6; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4933 if test -z "$CC"; then
4934 if test -n "$ac_tool_prefix"; then
4935 for ac_prog in cl.exe
4937 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4938 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4940 $as_echo_n "checking for $ac_word... " >&6; }
4941 if test "${ac_cv_prog_CC+set}" = set; then :
4942 $as_echo_n "(cached) " >&6
4944 if test -n "$CC"; then
4945 ac_cv_prog_CC="$CC" # Let the user override the test.
4947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951 test -z "$as_dir" && as_dir=.
4952 for ac_exec_ext in '' $ac_executable_extensions; do
4953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4954 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4965 if test -n "$CC"; then
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4967 $as_echo "$CC" >&6; }
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 $as_echo "no" >&6; }
4974 test -n "$CC" && break
4977 if test -z "$CC"; then
4979 for ac_prog in cl.exe
4981 # Extract the first word of "$ac_prog", so it can be a program name with args.
4982 set dummy $ac_prog; ac_word=$2
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4984 $as_echo_n "checking for $ac_word... " >&6; }
4985 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4986 $as_echo_n "(cached) " >&6
4988 if test -n "$ac_ct_CC"; then
4989 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4995 test -z "$as_dir" && as_dir=.
4996 for ac_exec_ext in '' $ac_executable_extensions; do
4997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4998 ac_cv_prog_ac_ct_CC="$ac_prog"
4999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5008 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5009 if test -n "$ac_ct_CC"; then
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5011 $as_echo "$ac_ct_CC" >&6; }
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5014 $as_echo "no" >&6; }
5018 test -n "$ac_ct_CC" && break
5021 if test "x$ac_ct_CC" = x; then
5024 case $cross_compiling:$ac_tool_warned in
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5028 ac_tool_warned=yes ;;
5037 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5039 as_fn_error $? "no acceptable C compiler found in \$PATH
5040 See \`config.log' for more details" "$LINENO" 5 ; }
5042 # Provide some information about the compiler.
5043 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5046 for ac_option in --version -v -V -qversion; do
5047 { { ac_try="$ac_compiler $ac_option >&5"
5049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5050 *) ac_try_echo=$ac_try;;
5052 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5053 $as_echo "$ac_try_echo"; } >&5
5054 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5056 if test -s conftest.err; then
5058 ... rest of stderr output deleted ...
5059 10q' conftest.err >conftest.er1
5060 cat conftest.er1 >&5
5062 rm -f conftest.er1 conftest.err
5063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5064 test $ac_status = 0; }
5067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5068 /* end confdefs.h. */
5078 ac_clean_files_save=$ac_clean_files
5079 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5080 # Try to create an executable without -o first, disregard a.out.
5081 # It will help us diagnose broken compilers, and finding out an intuition
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5084 $as_echo_n "checking whether the C compiler works... " >&6; }
5085 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5087 # The possible output files:
5088 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5091 for ac_file in $ac_files
5094 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5095 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5100 if { { ac_try="$ac_link_default"
5102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5103 *) ac_try_echo=$ac_try;;
5105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5106 $as_echo "$ac_try_echo"; } >&5
5107 (eval "$ac_link_default") 2>&5
5109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5110 test $ac_status = 0; }; then :
5111 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5112 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5113 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5114 # so that the user can short-circuit this test for compilers unknown to
5116 for ac_file in $ac_files ''
5118 test -f "$ac_file" || continue
5120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5123 # We found the default executable, but exeext='' is most
5127 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
5129 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5131 # We set ac_cv_exeext here because the later test for it is not
5132 # safe: cross compilers may not add the suffix if given an `-o'
5133 # argument, so we may need to know it at that point already.
5134 # Even if this section looks crufty: it has the advantage of
5141 test "$ac_cv_exeext" = no && ac_cv_exeext=
5146 if test -z "$ac_file"; then :
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5148 $as_echo "no" >&6; }
5149 $as_echo "$as_me: failed program was:" >&5
5150 sed 's/^/| /' conftest.$ac_ext >&5
5152 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5153 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5154 as_fn_error 77 "C compiler cannot create executables
5155 See \`config.log' for more details" "$LINENO" 5 ; }
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5158 $as_echo "yes" >&6; }
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5161 $as_echo_n "checking for C compiler default output file name... " >&6; }
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5163 $as_echo "$ac_file" >&6; }
5164 ac_exeext=$ac_cv_exeext
5166 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5167 ac_clean_files=$ac_clean_files_save
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5169 $as_echo_n "checking for suffix of executables... " >&6; }
5170 if { { ac_try="$ac_link"
5172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5173 *) ac_try_echo=$ac_try;;
5175 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5176 $as_echo "$ac_try_echo"; } >&5
5177 (eval "$ac_link") 2>&5
5179 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5180 test $ac_status = 0; }; then :
5181 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5182 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5183 # work properly (i.e., refer to `conftest.exe'), while it won't with
5185 for ac_file in conftest.exe conftest conftest.*; do
5186 test -f "$ac_file" || continue
5188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5189 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5197 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5198 See \`config.log' for more details" "$LINENO" 5 ; }
5200 rm -f conftest conftest$ac_cv_exeext
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5202 $as_echo "$ac_cv_exeext" >&6; }
5204 rm -f conftest.$ac_ext
5205 EXEEXT=$ac_cv_exeext
5207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5208 /* end confdefs.h. */
5213 FILE *f = fopen ("conftest.out", "w");
5214 return ferror (f) || fclose (f) != 0;
5220 ac_clean_files="$ac_clean_files conftest.out"
5221 # Check that the compiler produces executables we can run. If not, either
5222 # the compiler is broken, or we cross compile.
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5224 $as_echo_n "checking whether we are cross compiling... " >&6; }
5225 if test "$cross_compiling" != yes; then
5226 { { ac_try="$ac_link"
5228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5229 *) ac_try_echo=$ac_try;;
5231 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5232 $as_echo "$ac_try_echo"; } >&5
5233 (eval "$ac_link") 2>&5
5235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5236 test $ac_status = 0; }
5237 if { ac_try='./conftest$ac_cv_exeext'
5238 { { case "(($ac_try" in
5239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5240 *) ac_try_echo=$ac_try;;
5242 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5243 $as_echo "$ac_try_echo"; } >&5
5244 (eval "$ac_try") 2>&5
5246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5247 test $ac_status = 0; }; }; then
5250 if test "$cross_compiling" = maybe; then
5253 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5255 as_fn_error $? "cannot run C compiled programs.
5256 If you meant to cross compile, use \`--host'.
5257 See \`config.log' for more details" "$LINENO" 5 ; }
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5262 $as_echo "$cross_compiling" >&6; }
5264 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5265 ac_clean_files=$ac_clean_files_save
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5267 $as_echo_n "checking for suffix of object files... " >&6; }
5268 if test "${ac_cv_objext+set}" = set; then :
5269 $as_echo_n "(cached) " >&6
5271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5272 /* end confdefs.h. */
5282 rm -f conftest.o conftest.obj
5283 if { { ac_try="$ac_compile"
5285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5286 *) ac_try_echo=$ac_try;;
5288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5289 $as_echo "$ac_try_echo"; } >&5
5290 (eval "$ac_compile") 2>&5
5292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5293 test $ac_status = 0; }; then :
5294 for ac_file in conftest.o conftest.obj conftest.*; do
5295 test -f "$ac_file" || continue;
5297 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5298 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5303 $as_echo "$as_me: failed program was:" >&5
5304 sed 's/^/| /' conftest.$ac_ext >&5
5306 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5308 as_fn_error $? "cannot compute suffix of object files: cannot compile
5309 See \`config.log' for more details" "$LINENO" 5 ; }
5311 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5314 $as_echo "$ac_cv_objext" >&6; }
5315 OBJEXT=$ac_cv_objext
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5318 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5319 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5320 $as_echo_n "(cached) " >&6
5322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5323 /* end confdefs.h. */
5336 if ac_fn_c_try_compile "$LINENO"; then :
5341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5342 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5346 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5347 if test $ac_compiler_gnu = yes; then
5352 ac_test_CFLAGS=${CFLAGS+set}
5353 ac_save_CFLAGS=$CFLAGS
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5355 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5356 if test "${ac_cv_prog_cc_g+set}" = set; then :
5357 $as_echo_n "(cached) " >&6
5359 ac_save_c_werror_flag=$ac_c_werror_flag
5360 ac_c_werror_flag=yes
5363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5364 /* end confdefs.h. */
5374 if ac_fn_c_try_compile "$LINENO"; then :
5378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5379 /* end confdefs.h. */
5389 if ac_fn_c_try_compile "$LINENO"; then :
5392 ac_c_werror_flag=$ac_save_c_werror_flag
5394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5395 /* end confdefs.h. */
5405 if ac_fn_c_try_compile "$LINENO"; then :
5408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5413 ac_c_werror_flag=$ac_save_c_werror_flag
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5416 $as_echo "$ac_cv_prog_cc_g" >&6; }
5417 if test "$ac_test_CFLAGS" = set; then
5418 CFLAGS=$ac_save_CFLAGS
5419 elif test $ac_cv_prog_cc_g = yes; then
5420 if test "$GCC" = yes; then
5426 if test "$GCC" = yes; then
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5433 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5434 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5435 $as_echo_n "(cached) " >&6
5437 ac_cv_prog_cc_c89=no
5439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5440 /* end confdefs.h. */
5443 #include <sys/types.h>
5444 #include <sys/stat.h>
5445 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5446 struct buf { int x; };
5447 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5448 static char *e (p, i)
5454 static char *f (char * (*g) (char **, int), char **p, ...)
5459 s = g (p, va_arg (v,int));
5464 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5465 function prototypes and stuff, but not '\xHH' hex character constants.
5466 These don't provoke an error unfortunately, instead are silently treated
5467 as 'x'. The following induces an error, until -std is added to get
5468 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5469 array size at least. It's necessary to write '\x00'==0 to get something
5470 that's true only with -std. */
5471 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5473 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5474 inside strings and character constants. */
5476 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5478 int test (int i, double x);
5479 struct s1 {int (*f) (int a);};
5480 struct s2 {int (*f) (double a);};
5481 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5487 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5492 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5493 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5495 CC="$ac_save_CC $ac_arg"
5496 if ac_fn_c_try_compile "$LINENO"; then :
5497 ac_cv_prog_cc_c89=$ac_arg
5499 rm -f core conftest.err conftest.$ac_objext
5500 test "x$ac_cv_prog_cc_c89" != "xno" && break
5502 rm -f conftest.$ac_ext
5507 case "x$ac_cv_prog_cc_c89" in
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5510 $as_echo "none needed" >&6; } ;;
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5513 $as_echo "unsupported" >&6; } ;;
5515 CC="$CC $ac_cv_prog_cc_c89"
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5517 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5519 if test "x$ac_cv_prog_cc_c89" != xno; then :
5524 ac_cpp='$CPP $CPPFLAGS'
5525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5529 depcc="$CC" am_compiler_list=
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5532 $as_echo_n "checking dependency style of $depcc... " >&6; }
5533 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5534 $as_echo_n "(cached) " >&6
5536 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5537 # We make a subdir and do the tests there. Otherwise we can end up
5538 # making bogus files that we don't know about and never remove. For
5539 # instance it was reported that on HP-UX the gcc test will end up
5540 # making a dummy file named `D' -- because `-MD' means `put the output
5543 # Copy depcomp to subdir because otherwise we won't find it if we're
5544 # using a relative directory.
5545 cp "$am_depcomp" conftest.dir
5547 # We will build objects and dependencies in a subdirectory because
5548 # it helps to detect inapplicable dependency modes. For instance
5549 # both Tru64's cc and ICC support -MD to output dependencies as a
5550 # side effect of compilation, but ICC will put the dependencies in
5551 # the current directory while Tru64 will put them in the object
5555 am_cv_CC_dependencies_compiler_type=none
5556 if test "$am_compiler_list" = ""; then
5557 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5560 case " $depcc " in #(
5561 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5564 for depmode in $am_compiler_list; do
5565 # Setup a source with many dependencies, because some compilers
5566 # like to wrap large dependency lists on column 80 (with \), and
5567 # we should not choose a depcomp mode which is confused by this.
5569 # We need to recreate these files for each test, as the compiler may
5570 # overwrite some of them when testing with obscure command lines.
5571 # This happens at least with the AIX C compiler.
5573 for i in 1 2 3 4 5 6; do
5574 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5575 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5576 # Solaris 8's {/usr,}/bin/sh.
5577 touch sub/conftst$i.h
5579 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5581 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5582 # mode. It turns out that the SunPro C++ compiler does not properly
5583 # handle `-M -o', and we need to detect this. Also, some Intel
5584 # versions had trouble with output in subdirs
5585 am__obj=sub/conftest.${OBJEXT-o}
5586 am__minus_obj="-o $am__obj"
5589 # This depmode causes a compiler race in universal mode.
5590 test "$am__universal" = false || continue
5593 # after this tag, mechanisms are not by side-effect, so they'll
5594 # only be used when explicitly requested
5595 if test "x$enable_dependency_tracking" = xyes; then
5601 msvisualcpp | msvcmsys)
5602 # This compiler won't grok `-c -o', but also, the minuso test has
5603 # not run yet. These depmodes are late enough in the game, and
5604 # so weak that their functioning should not be impacted.
5605 am__obj=conftest.${OBJEXT-o}
5610 if depmode=$depmode \
5611 source=sub/conftest.c object=$am__obj \
5612 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5613 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5614 >/dev/null 2>conftest.err &&
5615 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5616 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5617 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5618 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5619 # icc doesn't choke on unknown options, it will just issue warnings
5620 # or remarks (even with -Werror). So we grep stderr for any message
5621 # that says an option was ignored or not supported.
5622 # When given -MP, icc 7.0 and 7.1 complain thusly:
5623 # icc: Command line warning: ignoring option '-M'; no argument required
5624 # The diagnosis changed in icc 8.0:
5625 # icc: Command line remark: option '-MP' not supported
5626 if (grep 'ignoring option' conftest.err ||
5627 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5628 am_cv_CC_dependencies_compiler_type=$depmode
5637 am_cv_CC_dependencies_compiler_type=none
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5642 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5643 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5646 test "x$enable_dependency_tracking" != xno \
5647 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5649 am__fastdepCC_FALSE='#'
5651 am__fastdepCC_TRUE='#'
5652 am__fastdepCC_FALSE=
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5657 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5658 if test "${ac_cv_path_SED+set}" = set; then :
5659 $as_echo_n "(cached) " >&6
5661 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5662 for ac_i in 1 2 3 4 5 6 7; do
5663 ac_script="$ac_script$as_nl$ac_script"
5665 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5666 { ac_script=; unset ac_script;}
5667 if test -z "$SED"; then
5668 ac_path_SED_found=false
5669 # Loop through the user's path and test for each of PROGNAME-LIST
5670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5674 test -z "$as_dir" && as_dir=.
5675 for ac_prog in sed gsed; do
5676 for ac_exec_ext in '' $ac_executable_extensions; do
5677 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5678 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5679 # Check for GNU ac_path_SED and select it if it is found.
5680 # Check for GNU $ac_path_SED
5681 case `"$ac_path_SED" --version 2>&1` in
5683 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5686 $as_echo_n 0123456789 >"conftest.in"
5689 cat "conftest.in" "conftest.in" >"conftest.tmp"
5690 mv "conftest.tmp" "conftest.in"
5691 cp "conftest.in" "conftest.nl"
5692 $as_echo '' >> "conftest.nl"
5693 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5694 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5695 as_fn_arith $ac_count + 1 && ac_count=$as_val
5696 if test $ac_count -gt ${ac_path_SED_max-0}; then
5697 # Best one so far, save it but keep looking for a better one
5698 ac_cv_path_SED="$ac_path_SED"
5699 ac_path_SED_max=$ac_count
5701 # 10*(2^10) chars as input seems more than enough
5702 test $ac_count -gt 10 && break
5704 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5707 $ac_path_SED_found && break 3
5712 if test -z "$ac_cv_path_SED"; then
5713 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5721 $as_echo "$ac_cv_path_SED" >&6; }
5722 SED="$ac_cv_path_SED"
5725 test -z "$SED" && SED=sed
5726 Xsed="$SED -e 1s/^X//"
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5739 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5740 if test "${ac_cv_path_GREP+set}" = set; then :
5741 $as_echo_n "(cached) " >&6
5743 if test -z "$GREP"; then
5744 ac_path_GREP_found=false
5745 # Loop through the user's path and test for each of PROGNAME-LIST
5746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5747 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5750 test -z "$as_dir" && as_dir=.
5751 for ac_prog in grep ggrep; do
5752 for ac_exec_ext in '' $ac_executable_extensions; do
5753 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5754 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5755 # Check for GNU ac_path_GREP and select it if it is found.
5756 # Check for GNU $ac_path_GREP
5757 case `"$ac_path_GREP" --version 2>&1` in
5759 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5762 $as_echo_n 0123456789 >"conftest.in"
5765 cat "conftest.in" "conftest.in" >"conftest.tmp"
5766 mv "conftest.tmp" "conftest.in"
5767 cp "conftest.in" "conftest.nl"
5768 $as_echo 'GREP' >> "conftest.nl"
5769 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5770 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5771 as_fn_arith $ac_count + 1 && ac_count=$as_val
5772 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5773 # Best one so far, save it but keep looking for a better one
5774 ac_cv_path_GREP="$ac_path_GREP"
5775 ac_path_GREP_max=$ac_count
5777 # 10*(2^10) chars as input seems more than enough
5778 test $ac_count -gt 10 && break
5780 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5783 $ac_path_GREP_found && break 3
5788 if test -z "$ac_cv_path_GREP"; then
5789 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5792 ac_cv_path_GREP=$GREP
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5797 $as_echo "$ac_cv_path_GREP" >&6; }
5798 GREP="$ac_cv_path_GREP"
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5802 $as_echo_n "checking for egrep... " >&6; }
5803 if test "${ac_cv_path_EGREP+set}" = set; then :
5804 $as_echo_n "(cached) " >&6
5806 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5807 then ac_cv_path_EGREP="$GREP -E"
5809 if test -z "$EGREP"; then
5810 ac_path_EGREP_found=false
5811 # Loop through the user's path and test for each of PROGNAME-LIST
5812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5813 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5816 test -z "$as_dir" && as_dir=.
5817 for ac_prog in egrep; do
5818 for ac_exec_ext in '' $ac_executable_extensions; do
5819 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5820 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5821 # Check for GNU ac_path_EGREP and select it if it is found.
5822 # Check for GNU $ac_path_EGREP
5823 case `"$ac_path_EGREP" --version 2>&1` in
5825 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5828 $as_echo_n 0123456789 >"conftest.in"
5831 cat "conftest.in" "conftest.in" >"conftest.tmp"
5832 mv "conftest.tmp" "conftest.in"
5833 cp "conftest.in" "conftest.nl"
5834 $as_echo 'EGREP' >> "conftest.nl"
5835 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5836 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5837 as_fn_arith $ac_count + 1 && ac_count=$as_val
5838 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5839 # Best one so far, save it but keep looking for a better one
5840 ac_cv_path_EGREP="$ac_path_EGREP"
5841 ac_path_EGREP_max=$ac_count
5843 # 10*(2^10) chars as input seems more than enough
5844 test $ac_count -gt 10 && break
5846 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5849 $ac_path_EGREP_found && break 3
5854 if test -z "$ac_cv_path_EGREP"; then
5855 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5858 ac_cv_path_EGREP=$EGREP
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5864 $as_echo "$ac_cv_path_EGREP" >&6; }
5865 EGREP="$ac_cv_path_EGREP"
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5869 $as_echo_n "checking for fgrep... " >&6; }
5870 if test "${ac_cv_path_FGREP+set}" = set; then :
5871 $as_echo_n "(cached) " >&6
5873 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5874 then ac_cv_path_FGREP="$GREP -F"
5876 if test -z "$FGREP"; then
5877 ac_path_FGREP_found=false
5878 # Loop through the user's path and test for each of PROGNAME-LIST
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5883 test -z "$as_dir" && as_dir=.
5884 for ac_prog in fgrep; do
5885 for ac_exec_ext in '' $ac_executable_extensions; do
5886 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5887 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5888 # Check for GNU ac_path_FGREP and select it if it is found.
5889 # Check for GNU $ac_path_FGREP
5890 case `"$ac_path_FGREP" --version 2>&1` in
5892 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5895 $as_echo_n 0123456789 >"conftest.in"
5898 cat "conftest.in" "conftest.in" >"conftest.tmp"
5899 mv "conftest.tmp" "conftest.in"
5900 cp "conftest.in" "conftest.nl"
5901 $as_echo 'FGREP' >> "conftest.nl"
5902 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5903 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5904 as_fn_arith $ac_count + 1 && ac_count=$as_val
5905 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5906 # Best one so far, save it but keep looking for a better one
5907 ac_cv_path_FGREP="$ac_path_FGREP"
5908 ac_path_FGREP_max=$ac_count
5910 # 10*(2^10) chars as input seems more than enough
5911 test $ac_count -gt 10 && break
5913 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5916 $ac_path_FGREP_found && break 3
5921 if test -z "$ac_cv_path_FGREP"; then
5922 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5925 ac_cv_path_FGREP=$FGREP
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5931 $as_echo "$ac_cv_path_FGREP" >&6; }
5932 FGREP="$ac_cv_path_FGREP"
5935 test -z "$GREP" && GREP=grep
5955 # Check whether --with-gnu-ld was given.
5956 if test "${with_gnu_ld+set}" = set; then :
5957 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5963 if test "$GCC" = yes; then
5964 # Check if gcc -print-prog-name=ld gives a path.
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5966 $as_echo_n "checking for ld used by $CC... " >&6; }
5969 # gcc leaves a trailing carriage return which upsets mingw
5970 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5972 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5975 # Accept absolute paths.
5977 re_direlt='/[^/][^/]*/\.\./'
5978 # Canonicalize the pathname of ld
5979 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5980 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5981 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5983 test -z "$LD" && LD="$ac_prog"
5986 # If it fails, then pretend we aren't using GCC.
5990 # If it is relative, then search for the first ld in PATH.
5994 elif test "$with_gnu_ld" = yes; then
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5996 $as_echo_n "checking for GNU ld... " >&6; }
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5999 $as_echo_n "checking for non-GNU ld... " >&6; }
6001 if test "${lt_cv_path_LD+set}" = set; then :
6002 $as_echo_n "(cached) " >&6
6004 if test -z "$LD"; then
6005 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6006 for ac_dir in $PATH; do
6008 test -z "$ac_dir" && ac_dir=.
6009 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6010 lt_cv_path_LD="$ac_dir/$ac_prog"
6011 # Check to see if the program is GNU ld. I'd rather use --version,
6012 # but apparently some variants of GNU ld only accept -v.
6013 # Break only if it was the GNU/non-GNU ld that we prefer.
6014 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6015 *GNU* | *'with BFD'*)
6016 test "$with_gnu_ld" != no && break
6019 test "$with_gnu_ld" != yes && break
6026 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6031 if test -n "$LD"; then
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6033 $as_echo "$LD" >&6; }
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6036 $as_echo "no" >&6; }
6038 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6040 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6041 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6042 $as_echo_n "(cached) " >&6
6044 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6045 case `$LD -v 2>&1 </dev/null` in
6046 *GNU* | *'with BFD'*)
6047 lt_cv_prog_gnu_ld=yes
6050 lt_cv_prog_gnu_ld=no
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6055 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6056 with_gnu_ld=$lt_cv_prog_gnu_ld
6066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6067 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6068 if test "${lt_cv_path_NM+set}" = set; then :
6069 $as_echo_n "(cached) " >&6
6071 if test -n "$NM"; then
6072 # Let the user override the test.
6075 lt_nm_to_check="${ac_tool_prefix}nm"
6076 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6077 lt_nm_to_check="$lt_nm_to_check nm"
6079 for lt_tmp_nm in $lt_nm_to_check; do
6080 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6081 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6083 test -z "$ac_dir" && ac_dir=.
6084 tmp_nm="$ac_dir/$lt_tmp_nm"
6085 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6086 # Check to see if the nm accepts a BSD-compat flag.
6087 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6088 # nm: unknown option "B" ignored
6089 # Tru64's nm complains that /dev/null is an invalid object file
6090 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6091 */dev/null* | *'Invalid file or object type'*)
6092 lt_cv_path_NM="$tmp_nm -B"
6096 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6098 lt_cv_path_NM="$tmp_nm -p"
6102 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6103 continue # so that we can try to find one that supports BSD flags
6112 : ${lt_cv_path_NM=no}
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6116 $as_echo "$lt_cv_path_NM" >&6; }
6117 if test "$lt_cv_path_NM" != "no"; then
6120 # Didn't find any BSD compatible name lister, look for dumpbin.
6121 if test -n "$ac_tool_prefix"; then
6122 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6124 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6125 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6127 $as_echo_n "checking for $ac_word... " >&6; }
6128 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6129 $as_echo_n "(cached) " >&6
6131 if test -n "$DUMPBIN"; then
6132 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6138 test -z "$as_dir" && as_dir=.
6139 for ac_exec_ext in '' $ac_executable_extensions; do
6140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6141 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6151 DUMPBIN=$ac_cv_prog_DUMPBIN
6152 if test -n "$DUMPBIN"; then
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6154 $as_echo "$DUMPBIN" >&6; }
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6157 $as_echo "no" >&6; }
6161 test -n "$DUMPBIN" && break
6164 if test -z "$DUMPBIN"; then
6165 ac_ct_DUMPBIN=$DUMPBIN
6166 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6168 # Extract the first word of "$ac_prog", so it can be a program name with args.
6169 set dummy $ac_prog; ac_word=$2
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6171 $as_echo_n "checking for $ac_word... " >&6; }
6172 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6173 $as_echo_n "(cached) " >&6
6175 if test -n "$ac_ct_DUMPBIN"; then
6176 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6182 test -z "$as_dir" && as_dir=.
6183 for ac_exec_ext in '' $ac_executable_extensions; do
6184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6185 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6195 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6196 if test -n "$ac_ct_DUMPBIN"; then
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6198 $as_echo "$ac_ct_DUMPBIN" >&6; }
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6201 $as_echo "no" >&6; }
6205 test -n "$ac_ct_DUMPBIN" && break
6208 if test "x$ac_ct_DUMPBIN" = x; then
6211 case $cross_compiling:$ac_tool_warned in
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6215 ac_tool_warned=yes ;;
6217 DUMPBIN=$ac_ct_DUMPBIN
6222 if test "$DUMPBIN" != ":"; then
6226 test -z "$NM" && NM=nm
6233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6234 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6235 if test "${lt_cv_nm_interface+set}" = set; then :
6236 $as_echo_n "(cached) " >&6
6238 lt_cv_nm_interface="BSD nm"
6239 echo "int some_variable = 0;" > conftest.$ac_ext
6240 (eval echo "\"\$as_me:6240: $ac_compile\"" >&5)
6241 (eval "$ac_compile" 2>conftest.err)
6242 cat conftest.err >&5
6243 (eval echo "\"\$as_me:6243: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6244 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6245 cat conftest.err >&5
6246 (eval echo "\"\$as_me:6246: output\"" >&5)
6247 cat conftest.out >&5
6248 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6249 lt_cv_nm_interface="MS dumpbin"
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6254 $as_echo "$lt_cv_nm_interface" >&6; }
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6257 $as_echo_n "checking whether ln -s works... " >&6; }
6259 if test "$LN_S" = "ln -s"; then
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6261 $as_echo "yes" >&6; }
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6264 $as_echo "no, using $LN_S" >&6; }
6267 # find the maximum length of command line arguments
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6269 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6270 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6271 $as_echo_n "(cached) " >&6
6278 # On DJGPP, this test can blow up pretty badly due to problems in libc
6279 # (any single argument exceeding 2000 bytes causes a buffer overrun
6280 # during glob expansion). Even if it were fixed, the result of this
6281 # check would be larger than it should be.
6282 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6286 # Under GNU Hurd, this test is not required because there is
6287 # no limit to the length of command line arguments.
6288 # Libtool will interpret -1 as no limit whatsoever
6289 lt_cv_sys_max_cmd_len=-1;
6292 cygwin* | mingw* | cegcc*)
6293 # On Win9x/ME, this test blows up -- it succeeds, but takes
6294 # about 5 minutes as the teststring grows exponentially.
6295 # Worse, since 9x/ME are not pre-emptively multitasking,
6296 # you end up with a "frozen" computer, even though with patience
6297 # the test eventually succeeds (with a max line length of 256k).
6298 # Instead, let's just punt: use the minimum linelength reported by
6299 # all of the supported platforms: 8192 (on NT/2K/XP).
6300 lt_cv_sys_max_cmd_len=8192;
6304 # On AmigaOS with pdksh, this test takes hours, literally.
6305 # So we just punt and use a minimum line length of 8192.
6306 lt_cv_sys_max_cmd_len=8192;
6309 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6310 # This has been around since 386BSD, at least. Likely further.
6311 if test -x /sbin/sysctl; then
6312 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6313 elif test -x /usr/sbin/sysctl; then
6314 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6316 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6318 # And add a safety zone
6319 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6320 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6324 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6325 lt_cv_sys_max_cmd_len=196608
6329 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6330 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6331 # nice to cause kernel panics so lets avoid the loop below.
6332 # First set a reasonable default.
6333 lt_cv_sys_max_cmd_len=16384
6335 if test -x /sbin/sysconfig; then
6336 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6337 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6342 lt_cv_sys_max_cmd_len=102400
6344 sysv5* | sco5v6* | sysv4.2uw2*)
6345 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6346 if test -n "$kargmax"; then
6347 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6349 lt_cv_sys_max_cmd_len=32768
6353 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6354 if test -n "$lt_cv_sys_max_cmd_len"; then
6355 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6356 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6358 # Make teststring a little bigger before we do anything with it.
6359 # a 1K string should be a reasonable start.
6360 for i in 1 2 3 4 5 6 7 8 ; do
6361 teststring=$teststring$teststring
6363 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6364 # If test is not a shell built-in, we'll probably end up computing a
6365 # maximum length that is only half of the actual maximum length, but
6367 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6368 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6369 test $i != 17 # 1/2 MB should be enough
6372 teststring=$teststring$teststring
6374 # Only check the string length outside the loop.
6375 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6377 # Add a significant safety factor because C++ compilers can tack on
6378 # massive amounts of additional arguments before passing them to the
6379 # linker. It appears as though 1/2 is a usable value.
6380 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6387 if test -n $lt_cv_sys_max_cmd_len ; then
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6389 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6392 $as_echo "none" >&6; }
6394 max_cmd_len=$lt_cv_sys_max_cmd_len
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6406 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6407 # Try some XSI features
6410 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6412 && eval 'test $(( 1 + 1 )) -eq 2 \
6413 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6416 $as_echo "$xsi_shell" >&6; }
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6420 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6422 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6424 && lt_shell_append=yes
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6426 $as_echo "$lt_shell_append" >&6; }
6429 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6439 # test EBCDIC or ASCII
6440 case `echo X|tr X '\101'` in
6441 A) # ASCII based system
6442 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6443 lt_SP2NL='tr \040 \012'
6444 lt_NL2SP='tr \015\012 \040\040'
6446 *) # EBCDIC based system
6447 lt_SP2NL='tr \100 \n'
6448 lt_NL2SP='tr \r\n \100\100'
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6461 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6462 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6463 $as_echo_n "(cached) " >&6
6465 lt_cv_ld_reload_flag='-r'
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6468 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6469 reload_flag=$lt_cv_ld_reload_flag
6470 case $reload_flag in
6472 *) reload_flag=" $reload_flag" ;;
6474 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6477 if test "$GCC" = yes; then
6478 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6480 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6493 if test -n "$ac_tool_prefix"; then
6494 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6495 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6497 $as_echo_n "checking for $ac_word... " >&6; }
6498 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6499 $as_echo_n "(cached) " >&6
6501 if test -n "$OBJDUMP"; then
6502 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6508 test -z "$as_dir" && as_dir=.
6509 for ac_exec_ext in '' $ac_executable_extensions; do
6510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6511 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6521 OBJDUMP=$ac_cv_prog_OBJDUMP
6522 if test -n "$OBJDUMP"; then
6523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6524 $as_echo "$OBJDUMP" >&6; }
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6527 $as_echo "no" >&6; }
6532 if test -z "$ac_cv_prog_OBJDUMP"; then
6533 ac_ct_OBJDUMP=$OBJDUMP
6534 # Extract the first word of "objdump", so it can be a program name with args.
6535 set dummy objdump; ac_word=$2
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6537 $as_echo_n "checking for $ac_word... " >&6; }
6538 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6539 $as_echo_n "(cached) " >&6
6541 if test -n "$ac_ct_OBJDUMP"; then
6542 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 test -z "$as_dir" && as_dir=.
6549 for ac_exec_ext in '' $ac_executable_extensions; do
6550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6551 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6561 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6562 if test -n "$ac_ct_OBJDUMP"; then
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6564 $as_echo "$ac_ct_OBJDUMP" >&6; }
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6567 $as_echo "no" >&6; }
6570 if test "x$ac_ct_OBJDUMP" = x; then
6573 case $cross_compiling:$ac_tool_warned in
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6576 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6577 ac_tool_warned=yes ;;
6579 OBJDUMP=$ac_ct_OBJDUMP
6582 OBJDUMP="$ac_cv_prog_OBJDUMP"
6585 test -z "$OBJDUMP" && OBJDUMP=objdump
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6593 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6594 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6595 $as_echo_n "(cached) " >&6
6597 lt_cv_file_magic_cmd='$MAGIC_CMD'
6598 lt_cv_file_magic_test_file=
6599 lt_cv_deplibs_check_method='unknown'
6600 # Need to set the preceding variable on all platforms that support
6601 # interlibrary dependencies.
6602 # 'none' -- dependencies not supported.
6603 # `unknown' -- same as none, but documents that we really don't know.
6604 # 'pass_all' -- all dependencies passed with no checks.
6605 # 'test_compile' -- check by making test program.
6606 # 'file_magic [[regex]]' -- check by looking for files in library path
6607 # which responds to the $file_magic_cmd with a given extended regex.
6608 # If you have `file' or equivalent on your system and you're not sure
6609 # whether `pass_all' will *always* work, you probably want this one.
6613 lt_cv_deplibs_check_method=pass_all
6617 lt_cv_deplibs_check_method=pass_all
6621 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6622 lt_cv_file_magic_cmd='/usr/bin/file -L'
6623 lt_cv_file_magic_test_file=/shlib/libc.so
6627 # func_win32_libid is a shell function defined in ltmain.sh
6628 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6629 lt_cv_file_magic_cmd='func_win32_libid'
6633 # Base MSYS/MinGW do not provide the 'file' command needed by
6634 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6635 # unless we find 'file', for example because we are cross-compiling.
6636 if ( file / ) >/dev/null 2>&1; then
6637 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6638 lt_cv_file_magic_cmd='func_win32_libid'
6640 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6641 lt_cv_file_magic_cmd='$OBJDUMP -f'
6646 # use the weaker test based on 'objdump'. See mingw*.
6647 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6648 lt_cv_file_magic_cmd='$OBJDUMP -f'
6651 darwin* | rhapsody*)
6652 lt_cv_deplibs_check_method=pass_all
6655 freebsd* | dragonfly*)
6656 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6659 # Not sure whether the presence of OpenBSD here was a mistake.
6660 # Let's accept both of them until this is cleared up.
6661 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6662 lt_cv_file_magic_cmd=/usr/bin/file
6663 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6667 lt_cv_deplibs_check_method=pass_all
6672 lt_cv_deplibs_check_method=pass_all
6675 hpux10.20* | hpux11*)
6676 lt_cv_file_magic_cmd=/usr/bin/file
6679 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6680 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6683 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
6684 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6687 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6688 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6694 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6695 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6698 irix5* | irix6* | nonstopux*)
6700 *-32|*"-32 ") libmagic=32-bit;;
6701 *-n32|*"-n32 ") libmagic=N32;;
6702 *-64|*"-64 ") libmagic=64-bit;;
6703 *) libmagic=never-match;;
6705 lt_cv_deplibs_check_method=pass_all
6708 # This must be Linux ELF.
6709 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6710 lt_cv_deplibs_check_method=pass_all
6713 netbsd* | netbsdelf*-gnu)
6714 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6715 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6717 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6722 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6723 lt_cv_file_magic_cmd=/usr/bin/file
6724 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6728 lt_cv_deplibs_check_method=pass_all
6732 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6733 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6735 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6739 osf3* | osf4* | osf5*)
6740 lt_cv_deplibs_check_method=pass_all
6744 lt_cv_deplibs_check_method=pass_all
6748 lt_cv_deplibs_check_method=pass_all
6751 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6752 lt_cv_deplibs_check_method=pass_all
6756 case $host_vendor in
6758 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]'
6759 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6762 lt_cv_deplibs_check_method=pass_all
6765 lt_cv_file_magic_cmd='/bin/file'
6766 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6769 lt_cv_file_magic_cmd='/bin/file'
6770 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6771 lt_cv_file_magic_test_file=/lib/libc.so
6774 lt_cv_deplibs_check_method=pass_all
6777 lt_cv_deplibs_check_method=pass_all
6783 lt_cv_deplibs_check_method=pass_all
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6789 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6790 file_magic_cmd=$lt_cv_file_magic_cmd
6791 deplibs_check_method=$lt_cv_deplibs_check_method
6792 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6805 if test -n "$ac_tool_prefix"; then
6806 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6807 set dummy ${ac_tool_prefix}ar; ac_word=$2
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6809 $as_echo_n "checking for $ac_word... " >&6; }
6810 if test "${ac_cv_prog_AR+set}" = set; then :
6811 $as_echo_n "(cached) " >&6
6813 if test -n "$AR"; then
6814 ac_cv_prog_AR="$AR" # Let the user override the test.
6816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6820 test -z "$as_dir" && as_dir=.
6821 for ac_exec_ext in '' $ac_executable_extensions; do
6822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6823 ac_cv_prog_AR="${ac_tool_prefix}ar"
6824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6834 if test -n "$AR"; then
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6836 $as_echo "$AR" >&6; }
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6839 $as_echo "no" >&6; }
6844 if test -z "$ac_cv_prog_AR"; then
6846 # Extract the first word of "ar", so it can be a program name with args.
6847 set dummy ar; ac_word=$2
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6849 $as_echo_n "checking for $ac_word... " >&6; }
6850 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6851 $as_echo_n "(cached) " >&6
6853 if test -n "$ac_ct_AR"; then
6854 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6860 test -z "$as_dir" && as_dir=.
6861 for ac_exec_ext in '' $ac_executable_extensions; do
6862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6863 ac_cv_prog_ac_ct_AR="ar"
6864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6873 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6874 if test -n "$ac_ct_AR"; then
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6876 $as_echo "$ac_ct_AR" >&6; }
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6879 $as_echo "no" >&6; }
6882 if test "x$ac_ct_AR" = x; then
6885 case $cross_compiling:$ac_tool_warned in
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6889 ac_tool_warned=yes ;;
6897 test -z "$AR" && AR=ar
6898 test -z "$AR_FLAGS" && AR_FLAGS=cru
6910 if test -n "$ac_tool_prefix"; then
6911 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6912 set dummy ${ac_tool_prefix}strip; ac_word=$2
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6914 $as_echo_n "checking for $ac_word... " >&6; }
6915 if test "${ac_cv_prog_STRIP+set}" = set; then :
6916 $as_echo_n "(cached) " >&6
6918 if test -n "$STRIP"; then
6919 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6925 test -z "$as_dir" && as_dir=.
6926 for ac_exec_ext in '' $ac_executable_extensions; do
6927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6928 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6938 STRIP=$ac_cv_prog_STRIP
6939 if test -n "$STRIP"; then
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6941 $as_echo "$STRIP" >&6; }
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6944 $as_echo "no" >&6; }
6949 if test -z "$ac_cv_prog_STRIP"; then
6951 # Extract the first word of "strip", so it can be a program name with args.
6952 set dummy strip; ac_word=$2
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6954 $as_echo_n "checking for $ac_word... " >&6; }
6955 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6956 $as_echo_n "(cached) " >&6
6958 if test -n "$ac_ct_STRIP"; then
6959 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6965 test -z "$as_dir" && as_dir=.
6966 for ac_exec_ext in '' $ac_executable_extensions; do
6967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6968 ac_cv_prog_ac_ct_STRIP="strip"
6969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6978 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6979 if test -n "$ac_ct_STRIP"; then
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6981 $as_echo "$ac_ct_STRIP" >&6; }
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6984 $as_echo "no" >&6; }
6987 if test "x$ac_ct_STRIP" = x; then
6990 case $cross_compiling:$ac_tool_warned in
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6993 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6994 ac_tool_warned=yes ;;
6999 STRIP="$ac_cv_prog_STRIP"
7002 test -z "$STRIP" && STRIP=:
7009 if test -n "$ac_tool_prefix"; then
7010 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7011 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7013 $as_echo_n "checking for $ac_word... " >&6; }
7014 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7015 $as_echo_n "(cached) " >&6
7017 if test -n "$RANLIB"; then
7018 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7024 test -z "$as_dir" && as_dir=.
7025 for ac_exec_ext in '' $ac_executable_extensions; do
7026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7027 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7037 RANLIB=$ac_cv_prog_RANLIB
7038 if test -n "$RANLIB"; then
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7040 $as_echo "$RANLIB" >&6; }
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7043 $as_echo "no" >&6; }
7048 if test -z "$ac_cv_prog_RANLIB"; then
7049 ac_ct_RANLIB=$RANLIB
7050 # Extract the first word of "ranlib", so it can be a program name with args.
7051 set dummy ranlib; ac_word=$2
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7053 $as_echo_n "checking for $ac_word... " >&6; }
7054 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7055 $as_echo_n "(cached) " >&6
7057 if test -n "$ac_ct_RANLIB"; then
7058 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7064 test -z "$as_dir" && as_dir=.
7065 for ac_exec_ext in '' $ac_executable_extensions; do
7066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7067 ac_cv_prog_ac_ct_RANLIB="ranlib"
7068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7077 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7078 if test -n "$ac_ct_RANLIB"; then
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7080 $as_echo "$ac_ct_RANLIB" >&6; }
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7083 $as_echo "no" >&6; }
7086 if test "x$ac_ct_RANLIB" = x; then
7089 case $cross_compiling:$ac_tool_warned in
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7093 ac_tool_warned=yes ;;
7095 RANLIB=$ac_ct_RANLIB
7098 RANLIB="$ac_cv_prog_RANLIB"
7101 test -z "$RANLIB" && RANLIB=:
7108 # Determine commands to create old-style static archives.
7109 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7110 old_postinstall_cmds='chmod 644 $oldlib'
7111 old_postuninstall_cmds=
7113 if test -n "$RANLIB"; then
7116 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7119 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7122 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7158 # If no C compiler was specified, use CC.
7161 # If no C compiler flags were specified, use CFLAGS.
7162 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7164 # Allow CC to be a program name with arguments.
7168 # Check for command to grab the raw symbol name followed by C symbol from nm.
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7170 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7171 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7172 $as_echo_n "(cached) " >&6
7175 # These are sane defaults that work on at least a few old systems.
7176 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7178 # Character class describing NM global symbol codes.
7179 symcode='[BCDEGRST]'
7181 # Regexp to match symbols that can be accessed directly from C.
7182 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7184 # Define system-specific variables.
7189 cygwin* | mingw* | pw32* | cegcc*)
7190 symcode='[ABCDGISTW]'
7193 if test "$host_cpu" = ia64; then
7194 symcode='[ABCDEGRST]'
7198 symcode='[BCDEGRST]'
7201 symcode='[BCDEGQRST]'
7212 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7220 # If we're using GNU nm, then use its standard symbol codes.
7221 case `$NM -V 2>&1` in
7222 *GNU* | *'with BFD'*)
7223 symcode='[ABCDGIRSTW]' ;;
7226 # Transform an extracted symbol line into a proper C declaration.
7227 # Some systems (esp. on ia64) link data and code symbols differently,
7228 # so use this general approach.
7229 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7231 # Transform an extracted symbol line into symbol name and symbol address
7232 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7233 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'"
7235 # Handle CRLF in mingw tool chain
7239 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7243 # Try without a prefix underscore, then with it.
7244 for ac_symprfx in "" "_"; do
7246 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7247 symxfrm="\\1 $ac_symprfx\\2 \\2"
7249 # Write the raw and C identifiers.
7250 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7251 # Fake it for dumpbin and say T for any non-static function
7252 # and D for any global variable.
7253 # Also find C++ and __fastcall symbols from MSVC++,
7254 # which start with @ or ?.
7255 lt_cv_sys_global_symbol_pipe="$AWK '"\
7256 " {last_section=section; section=\$ 3};"\
7257 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7258 " \$ 0!~/External *\|/{next};"\
7259 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7260 " {if(hide[section]) next};"\
7261 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7262 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7263 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7264 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7265 " ' prfx=^$ac_symprfx"
7267 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7270 # Check to see that the pipe works correctly.
7274 cat > conftest.$ac_ext <<_LT_EOF
7279 void nm_test_func(void);
7280 void nm_test_func(void){}
7284 int main(){nm_test_var='a';nm_test_func();return(0);}
7287 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7288 (eval $ac_compile) 2>&5
7290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7291 test $ac_status = 0; }; then
7292 # Now try to grab the symbols.
7294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7295 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7298 test $ac_status = 0; } && test -s "$nlist"; then
7299 # Try sorting and uniquifying the output.
7300 if sort "$nlist" | uniq > "$nlist"T; then
7301 mv -f "$nlist"T "$nlist"
7306 # Make sure that we snagged all the symbols we need.
7307 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7308 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7309 cat <<_LT_EOF > conftest.$ac_ext
7315 # Now generate the symbol file.
7316 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7318 cat <<_LT_EOF >> conftest.$ac_ext
7320 /* The mapping between symbol names and symbols. */
7325 lt__PROGRAM__LTX_preloaded_symbols[] =
7327 { "@PROGRAM@", (void *) 0 },
7329 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7330 cat <<\_LT_EOF >> conftest.$ac_ext
7334 /* This works around a problem in FreeBSD linker */
7335 #ifdef FREEBSD_WORKAROUND
7336 static const void *lt_preloaded_setup() {
7337 return lt__PROGRAM__LTX_preloaded_symbols;
7345 # Now try linking the two files.
7346 mv conftest.$ac_objext conftstm.$ac_objext
7347 lt_save_LIBS="$LIBS"
7348 lt_save_CFLAGS="$CFLAGS"
7349 LIBS="conftstm.$ac_objext"
7350 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7351 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7352 (eval $ac_link) 2>&5
7354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7355 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7358 LIBS="$lt_save_LIBS"
7359 CFLAGS="$lt_save_CFLAGS"
7361 echo "cannot find nm_test_func in $nlist" >&5
7364 echo "cannot find nm_test_var in $nlist" >&5
7367 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7370 echo "$progname: failed program was:" >&5
7371 cat conftest.$ac_ext >&5
7373 rm -rf conftest* conftst*
7375 # Do not use the global_symbol_pipe unless it works.
7376 if test "$pipe_works" = yes; then
7379 lt_cv_sys_global_symbol_pipe=
7385 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7386 lt_cv_sys_global_symbol_to_cdecl=
7388 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7390 $as_echo "failed" >&6; }
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7393 $as_echo "ok" >&6; }
7418 # Check whether --enable-libtool-lock was given.
7419 if test "${enable_libtool_lock+set}" = set; then :
7420 enableval=$enable_libtool_lock;
7423 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7425 # Some flags need to be propagated to the compiler or linker for good
7429 # Find out which ABI we are using.
7430 echo 'int i;' > conftest.$ac_ext
7431 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7432 (eval $ac_compile) 2>&5
7434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7435 test $ac_status = 0; }; then
7436 case `/usr/bin/file conftest.$ac_objext` in
7448 # Find out which ABI we are using.
7449 echo '#line 7449 "configure"' > conftest.$ac_ext
7450 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7451 (eval $ac_compile) 2>&5
7453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7454 test $ac_status = 0; }; then
7455 if test "$lt_cv_prog_gnu_ld" = yes; then
7456 case `/usr/bin/file conftest.$ac_objext` in
7458 LD="${LD-ld} -melf32bsmip"
7461 LD="${LD-ld} -melf32bmipn32"
7464 LD="${LD-ld} -melf64bmip"
7468 case `/usr/bin/file conftest.$ac_objext` in
7484 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7485 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7486 # Find out which ABI we are using.
7487 echo 'int i;' > conftest.$ac_ext
7488 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7489 (eval $ac_compile) 2>&5
7491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7492 test $ac_status = 0; }; then
7493 case `/usr/bin/file conftest.o` in
7496 x86_64-*kfreebsd*-gnu)
7497 LD="${LD-ld} -m elf_i386_fbsd"
7500 LD="${LD-ld} -m elf_i386"
7502 ppc64-*linux*|powerpc64-*linux*)
7503 LD="${LD-ld} -m elf32ppclinux"
7506 LD="${LD-ld} -m elf_s390"
7509 LD="${LD-ld} -m elf32_sparc"
7515 x86_64-*kfreebsd*-gnu)
7516 LD="${LD-ld} -m elf_x86_64_fbsd"
7519 LD="${LD-ld} -m elf_x86_64"
7521 ppc*-*linux*|powerpc*-*linux*)
7522 LD="${LD-ld} -m elf64ppc"
7524 s390*-*linux*|s390*-*tpf*)
7525 LD="${LD-ld} -m elf64_s390"
7528 LD="${LD-ld} -m elf64_sparc"
7538 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7539 SAVE_CFLAGS="$CFLAGS"
7540 CFLAGS="$CFLAGS -belf"
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7542 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7543 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7544 $as_echo_n "(cached) " >&6
7547 ac_cpp='$CPP $CPPFLAGS'
7548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7553 /* end confdefs.h. */
7563 if ac_fn_c_try_link "$LINENO"; then :
7564 lt_cv_cc_needs_belf=yes
7566 lt_cv_cc_needs_belf=no
7568 rm -f core conftest.err conftest.$ac_objext \
7569 conftest$ac_exeext conftest.$ac_ext
7571 ac_cpp='$CPP $CPPFLAGS'
7572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7578 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7579 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7580 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7581 CFLAGS="$SAVE_CFLAGS"
7585 # Find out which ABI we are using.
7586 echo 'int i;' > conftest.$ac_ext
7587 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7588 (eval $ac_compile) 2>&5
7590 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7591 test $ac_status = 0; }; then
7592 case `/usr/bin/file conftest.o` in
7594 case $lt_cv_prog_gnu_ld in
7595 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7597 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7609 need_locks="$enable_libtool_lock"
7613 rhapsody* | darwin*)
7614 if test -n "$ac_tool_prefix"; then
7615 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7616 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7618 $as_echo_n "checking for $ac_word... " >&6; }
7619 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7620 $as_echo_n "(cached) " >&6
7622 if test -n "$DSYMUTIL"; then
7623 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7629 test -z "$as_dir" && as_dir=.
7630 for ac_exec_ext in '' $ac_executable_extensions; do
7631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7632 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7643 if test -n "$DSYMUTIL"; then
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7645 $as_echo "$DSYMUTIL" >&6; }
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7648 $as_echo "no" >&6; }
7653 if test -z "$ac_cv_prog_DSYMUTIL"; then
7654 ac_ct_DSYMUTIL=$DSYMUTIL
7655 # Extract the first word of "dsymutil", so it can be a program name with args.
7656 set dummy dsymutil; ac_word=$2
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7658 $as_echo_n "checking for $ac_word... " >&6; }
7659 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7660 $as_echo_n "(cached) " >&6
7662 if test -n "$ac_ct_DSYMUTIL"; then
7663 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7669 test -z "$as_dir" && as_dir=.
7670 for ac_exec_ext in '' $ac_executable_extensions; do
7671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7672 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7682 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7683 if test -n "$ac_ct_DSYMUTIL"; then
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7685 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7688 $as_echo "no" >&6; }
7691 if test "x$ac_ct_DSYMUTIL" = x; then
7694 case $cross_compiling:$ac_tool_warned in
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7698 ac_tool_warned=yes ;;
7700 DSYMUTIL=$ac_ct_DSYMUTIL
7703 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7706 if test -n "$ac_tool_prefix"; then
7707 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7708 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7710 $as_echo_n "checking for $ac_word... " >&6; }
7711 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7712 $as_echo_n "(cached) " >&6
7714 if test -n "$NMEDIT"; then
7715 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7721 test -z "$as_dir" && as_dir=.
7722 for ac_exec_ext in '' $ac_executable_extensions; do
7723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7724 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7734 NMEDIT=$ac_cv_prog_NMEDIT
7735 if test -n "$NMEDIT"; then
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7737 $as_echo "$NMEDIT" >&6; }
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7740 $as_echo "no" >&6; }
7745 if test -z "$ac_cv_prog_NMEDIT"; then
7746 ac_ct_NMEDIT=$NMEDIT
7747 # Extract the first word of "nmedit", so it can be a program name with args.
7748 set dummy nmedit; ac_word=$2
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7750 $as_echo_n "checking for $ac_word... " >&6; }
7751 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7752 $as_echo_n "(cached) " >&6
7754 if test -n "$ac_ct_NMEDIT"; then
7755 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7761 test -z "$as_dir" && as_dir=.
7762 for ac_exec_ext in '' $ac_executable_extensions; do
7763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7764 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7774 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7775 if test -n "$ac_ct_NMEDIT"; then
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7777 $as_echo "$ac_ct_NMEDIT" >&6; }
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7780 $as_echo "no" >&6; }
7783 if test "x$ac_ct_NMEDIT" = x; then
7786 case $cross_compiling:$ac_tool_warned in
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7790 ac_tool_warned=yes ;;
7792 NMEDIT=$ac_ct_NMEDIT
7795 NMEDIT="$ac_cv_prog_NMEDIT"
7798 if test -n "$ac_tool_prefix"; then
7799 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7800 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7802 $as_echo_n "checking for $ac_word... " >&6; }
7803 if test "${ac_cv_prog_LIPO+set}" = set; then :
7804 $as_echo_n "(cached) " >&6
7806 if test -n "$LIPO"; then
7807 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7813 test -z "$as_dir" && as_dir=.
7814 for ac_exec_ext in '' $ac_executable_extensions; do
7815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7816 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7826 LIPO=$ac_cv_prog_LIPO
7827 if test -n "$LIPO"; then
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7829 $as_echo "$LIPO" >&6; }
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7832 $as_echo "no" >&6; }
7837 if test -z "$ac_cv_prog_LIPO"; then
7839 # Extract the first word of "lipo", so it can be a program name with args.
7840 set dummy lipo; ac_word=$2
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7842 $as_echo_n "checking for $ac_word... " >&6; }
7843 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7844 $as_echo_n "(cached) " >&6
7846 if test -n "$ac_ct_LIPO"; then
7847 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7853 test -z "$as_dir" && as_dir=.
7854 for ac_exec_ext in '' $ac_executable_extensions; do
7855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7856 ac_cv_prog_ac_ct_LIPO="lipo"
7857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7866 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7867 if test -n "$ac_ct_LIPO"; then
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7869 $as_echo "$ac_ct_LIPO" >&6; }
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7872 $as_echo "no" >&6; }
7875 if test "x$ac_ct_LIPO" = x; then
7878 case $cross_compiling:$ac_tool_warned in
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7882 ac_tool_warned=yes ;;
7887 LIPO="$ac_cv_prog_LIPO"
7890 if test -n "$ac_tool_prefix"; then
7891 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7892 set dummy ${ac_tool_prefix}otool; ac_word=$2
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7894 $as_echo_n "checking for $ac_word... " >&6; }
7895 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7896 $as_echo_n "(cached) " >&6
7898 if test -n "$OTOOL"; then
7899 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905 test -z "$as_dir" && as_dir=.
7906 for ac_exec_ext in '' $ac_executable_extensions; do
7907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7908 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7918 OTOOL=$ac_cv_prog_OTOOL
7919 if test -n "$OTOOL"; then
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7921 $as_echo "$OTOOL" >&6; }
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7924 $as_echo "no" >&6; }
7929 if test -z "$ac_cv_prog_OTOOL"; then
7931 # Extract the first word of "otool", so it can be a program name with args.
7932 set dummy otool; ac_word=$2
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7934 $as_echo_n "checking for $ac_word... " >&6; }
7935 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7936 $as_echo_n "(cached) " >&6
7938 if test -n "$ac_ct_OTOOL"; then
7939 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7945 test -z "$as_dir" && as_dir=.
7946 for ac_exec_ext in '' $ac_executable_extensions; do
7947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7948 ac_cv_prog_ac_ct_OTOOL="otool"
7949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7958 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7959 if test -n "$ac_ct_OTOOL"; then
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7961 $as_echo "$ac_ct_OTOOL" >&6; }
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7964 $as_echo "no" >&6; }
7967 if test "x$ac_ct_OTOOL" = x; then
7970 case $cross_compiling:$ac_tool_warned in
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7974 ac_tool_warned=yes ;;
7979 OTOOL="$ac_cv_prog_OTOOL"
7982 if test -n "$ac_tool_prefix"; then
7983 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7984 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7986 $as_echo_n "checking for $ac_word... " >&6; }
7987 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7988 $as_echo_n "(cached) " >&6
7990 if test -n "$OTOOL64"; then
7991 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7997 test -z "$as_dir" && as_dir=.
7998 for ac_exec_ext in '' $ac_executable_extensions; do
7999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8000 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8010 OTOOL64=$ac_cv_prog_OTOOL64
8011 if test -n "$OTOOL64"; then
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8013 $as_echo "$OTOOL64" >&6; }
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8016 $as_echo "no" >&6; }
8021 if test -z "$ac_cv_prog_OTOOL64"; then
8022 ac_ct_OTOOL64=$OTOOL64
8023 # Extract the first word of "otool64", so it can be a program name with args.
8024 set dummy otool64; ac_word=$2
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8026 $as_echo_n "checking for $ac_word... " >&6; }
8027 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8028 $as_echo_n "(cached) " >&6
8030 if test -n "$ac_ct_OTOOL64"; then
8031 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8037 test -z "$as_dir" && as_dir=.
8038 for ac_exec_ext in '' $ac_executable_extensions; do
8039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8040 ac_cv_prog_ac_ct_OTOOL64="otool64"
8041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8050 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8051 if test -n "$ac_ct_OTOOL64"; then
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8053 $as_echo "$ac_ct_OTOOL64" >&6; }
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8056 $as_echo "no" >&6; }
8059 if test "x$ac_ct_OTOOL64" = x; then
8062 case $cross_compiling:$ac_tool_warned in
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8065 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8066 ac_tool_warned=yes ;;
8068 OTOOL64=$ac_ct_OTOOL64
8071 OTOOL64="$ac_cv_prog_OTOOL64"
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8101 $as_echo_n "checking for -single_module linker flag... " >&6; }
8102 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8103 $as_echo_n "(cached) " >&6
8105 lt_cv_apple_cc_single_mod=no
8106 if test -z "${LT_MULTI_MODULE}"; then
8107 # By default we will add the -single_module flag. You can override
8108 # by either setting the environment variable LT_MULTI_MODULE
8109 # non-empty at configure time, or by adding -multi_module to the
8111 rm -rf libconftest.dylib*
8112 echo "int foo(void){return 1;}" > conftest.c
8113 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8114 -dynamiclib -Wl,-single_module conftest.c" >&5
8115 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8116 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8118 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8119 lt_cv_apple_cc_single_mod=yes
8121 cat conftest.err >&5
8123 rm -rf libconftest.dylib*
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8128 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8130 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8131 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8132 $as_echo_n "(cached) " >&6
8134 lt_cv_ld_exported_symbols_list=no
8135 save_LDFLAGS=$LDFLAGS
8136 echo "_main" > conftest.sym
8137 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8139 /* end confdefs.h. */
8149 if ac_fn_c_try_link "$LINENO"; then :
8150 lt_cv_ld_exported_symbols_list=yes
8152 lt_cv_ld_exported_symbols_list=no
8154 rm -f core conftest.err conftest.$ac_objext \
8155 conftest$ac_exeext conftest.$ac_ext
8156 LDFLAGS="$save_LDFLAGS"
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8160 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8162 rhapsody* | darwin1.[012])
8163 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8165 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8166 darwin*) # darwin 5.x on
8167 # if running on 10.5 or later, the deployment target defaults
8168 # to the OS version, if on x86, and 10.4, the deployment
8169 # target defaults to 10.4. Don't you love it?
8170 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8171 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8172 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8174 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8176 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8180 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8181 _lt_dar_single_mod='$single_module'
8183 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8184 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8186 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8188 if test "$DSYMUTIL" != ":"; then
8189 _lt_dsymutil='~$DSYMUTIL $lib || :'
8197 ac_cpp='$CPP $CPPFLAGS'
8198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8202 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8203 # On Suns, sometimes $CPP names a directory.
8204 if test -n "$CPP" && test -d "$CPP"; then
8207 if test -z "$CPP"; then
8208 if test "${ac_cv_prog_CPP+set}" = set; then :
8209 $as_echo_n "(cached) " >&6
8211 # Double quotes because CPP needs to be expanded
8212 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8215 for ac_c_preproc_warn_flag in '' yes
8217 # Use a header file that comes with gcc, so configuring glibc
8218 # with a fresh cross-compiler works.
8219 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8220 # <limits.h> exists even on freestanding compilers.
8221 # On the NeXT, cc -E runs the code through the compiler's parser,
8222 # not just through cpp. "Syntax error" is here to catch this case.
8223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8224 /* end confdefs.h. */
8226 # include <limits.h>
8228 # include <assert.h>
8232 if ac_fn_c_try_cpp "$LINENO"; then :
8235 # Broken: fails on valid input.
8238 rm -f conftest.err conftest.i conftest.$ac_ext
8240 # OK, works on sane cases. Now check whether nonexistent headers
8241 # can be detected and how.
8242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8243 /* end confdefs.h. */
8244 #include <ac_nonexistent.h>
8246 if ac_fn_c_try_cpp "$LINENO"; then :
8247 # Broken: success on invalid input.
8250 # Passes both tests.
8254 rm -f conftest.err conftest.i conftest.$ac_ext
8257 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8258 rm -f conftest.i conftest.err conftest.$ac_ext
8259 if $ac_preproc_ok; then :
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8272 $as_echo "$CPP" >&6; }
8274 for ac_c_preproc_warn_flag in '' yes
8276 # Use a header file that comes with gcc, so configuring glibc
8277 # with a fresh cross-compiler works.
8278 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8279 # <limits.h> exists even on freestanding compilers.
8280 # On the NeXT, cc -E runs the code through the compiler's parser,
8281 # not just through cpp. "Syntax error" is here to catch this case.
8282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8283 /* end confdefs.h. */
8285 # include <limits.h>
8287 # include <assert.h>
8291 if ac_fn_c_try_cpp "$LINENO"; then :
8294 # Broken: fails on valid input.
8297 rm -f conftest.err conftest.i conftest.$ac_ext
8299 # OK, works on sane cases. Now check whether nonexistent headers
8300 # can be detected and how.
8301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8302 /* end confdefs.h. */
8303 #include <ac_nonexistent.h>
8305 if ac_fn_c_try_cpp "$LINENO"; then :
8306 # Broken: success on invalid input.
8309 # Passes both tests.
8313 rm -f conftest.err conftest.i conftest.$ac_ext
8316 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8317 rm -f conftest.i conftest.err conftest.$ac_ext
8318 if $ac_preproc_ok; then :
8321 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8323 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8324 See \`config.log' for more details" "$LINENO" 5 ; }
8328 ac_cpp='$CPP $CPPFLAGS'
8329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8335 $as_echo_n "checking for ANSI C header files... " >&6; }
8336 if test "${ac_cv_header_stdc+set}" = set; then :
8337 $as_echo_n "(cached) " >&6
8339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8340 /* end confdefs.h. */
8354 if ac_fn_c_try_compile "$LINENO"; then :
8355 ac_cv_header_stdc=yes
8357 ac_cv_header_stdc=no
8359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8361 if test $ac_cv_header_stdc = yes; then
8362 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8364 /* end confdefs.h. */
8368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8369 $EGREP "memchr" >/dev/null 2>&1; then :
8372 ac_cv_header_stdc=no
8378 if test $ac_cv_header_stdc = yes; then
8379 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8381 /* end confdefs.h. */
8385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8386 $EGREP "free" >/dev/null 2>&1; then :
8389 ac_cv_header_stdc=no
8395 if test $ac_cv_header_stdc = yes; then
8396 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8397 if test "$cross_compiling" = yes; then :
8400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8401 /* end confdefs.h. */
8404 #if ((' ' & 0x0FF) == 0x020)
8405 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8406 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8408 # define ISLOWER(c) \
8409 (('a' <= (c) && (c) <= 'i') \
8410 || ('j' <= (c) && (c) <= 'r') \
8411 || ('s' <= (c) && (c) <= 'z'))
8412 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8415 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8420 for (i = 0; i < 256; i++)
8421 if (XOR (islower (i), ISLOWER (i))
8422 || toupper (i) != TOUPPER (i))
8427 if ac_fn_c_try_run "$LINENO"; then :
8430 ac_cv_header_stdc=no
8432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8433 conftest.$ac_objext conftest.beam conftest.$ac_ext
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8439 $as_echo "$ac_cv_header_stdc" >&6; }
8440 if test $ac_cv_header_stdc = yes; then
8442 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8446 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8447 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8448 inttypes.h stdint.h unistd.h
8450 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8451 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8453 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8454 cat >>confdefs.h <<_ACEOF
8455 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8463 for ac_header in dlfcn.h
8465 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8467 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8468 cat >>confdefs.h <<_ACEOF
8469 #define HAVE_DLFCN_H 1
8486 # Check whether --enable-shared was given.
8487 if test "${enable_shared+set}" = set; then :
8488 enableval=$enable_shared; p=${PACKAGE-default}
8490 yes) enable_shared=yes ;;
8491 no) enable_shared=no ;;
8494 # Look at the argument we got. We use all the common list separators.
8495 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8496 for pkg in $enableval; do
8498 if test "X$pkg" = "X$p"; then
8517 # Check whether --enable-static was given.
8518 if test "${enable_static+set}" = set; then :
8519 enableval=$enable_static; p=${PACKAGE-default}
8521 yes) enable_static=yes ;;
8522 no) enable_static=no ;;
8525 # Look at the argument we got. We use all the common list separators.
8526 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8527 for pkg in $enableval; do
8529 if test "X$pkg" = "X$p"; then
8549 # Check whether --with-pic was given.
8550 if test "${with_pic+set}" = set; then :
8551 withval=$with_pic; pic_mode="$withval"
8557 test -z "$pic_mode" && pic_mode=default
8565 # Check whether --enable-fast-install was given.
8566 if test "${enable_fast_install+set}" = set; then :
8567 enableval=$enable_fast_install; p=${PACKAGE-default}
8569 yes) enable_fast_install=yes ;;
8570 no) enable_fast_install=no ;;
8572 enable_fast_install=no
8573 # Look at the argument we got. We use all the common list separators.
8574 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8575 for pkg in $enableval; do
8577 if test "X$pkg" = "X$p"; then
8578 enable_fast_install=yes
8585 enable_fast_install=yes
8598 # This can be used to rebuild libtool when needed
8599 LIBTOOL_DEPS="$ltmain"
8601 # Always use our own libtool.
8602 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8628 test -z "$LN_S" && LN_S="ln -s"
8643 if test -n "${ZSH_VERSION+set}" ; then
8644 setopt NO_GLOB_SUBST
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8648 $as_echo_n "checking for objdir... " >&6; }
8649 if test "${lt_cv_objdir+set}" = set; then :
8650 $as_echo_n "(cached) " >&6
8652 rm -f .libs 2>/dev/null
8653 mkdir .libs 2>/dev/null
8654 if test -d .libs; then
8657 # MS-DOS does not allow filenames that begin with a dot.
8660 rmdir .libs 2>/dev/null
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8663 $as_echo "$lt_cv_objdir" >&6; }
8664 objdir=$lt_cv_objdir
8670 cat >>confdefs.h <<_ACEOF
8671 #define LT_OBJDIR "$lt_cv_objdir/"
8692 # AIX sometimes has problems with the GCC collect2 program. For some
8693 # reason, if we set the COLLECT_NAMES environment variable, the problems
8694 # vanish in a puff of smoke.
8695 if test "X${COLLECT_NAMES+set}" != Xset; then
8697 export COLLECT_NAMES
8702 # Sed substitution that helps us do robust quoting. It backslashifies
8703 # metacharacters that are still active within double-quoted strings.
8704 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8706 # Same as above, but do not quote variable references.
8707 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8709 # Sed substitution to delay expansion of an escaped shell variable in a
8710 # double_quote_subst'ed string.
8711 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8713 # Sed substitution to delay expansion of an escaped single quote.
8714 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8716 # Sed substitution to avoid accidental globbing in evaled expressions
8717 no_glob_subst='s/\*/\\\*/g'
8721 can_build_shared=yes
8723 # All known linkers require a `.a' archive for static linking (except MSVC,
8724 # which needs '.lib').
8727 with_gnu_ld="$lt_cv_prog_gnu_ld"
8730 old_CFLAGS="$CFLAGS"
8732 # Set sane defaults for various variables
8733 test -z "$CC" && CC=cc
8734 test -z "$LTCC" && LTCC=$CC
8735 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8736 test -z "$LD" && LD=ld
8737 test -z "$ac_objext" && ac_objext=o
8739 for cc_temp in $compiler""; do
8741 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8742 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8747 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8750 # Only perform the check for file, if the check method requires it
8751 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8752 case $deplibs_check_method in
8754 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8756 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8757 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8758 $as_echo_n "(cached) " >&6
8762 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8765 lt_save_MAGIC_CMD="$MAGIC_CMD"
8766 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8767 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8768 for ac_dir in $ac_dummy; do
8770 test -z "$ac_dir" && ac_dir=.
8771 if test -f $ac_dir/${ac_tool_prefix}file; then
8772 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8773 if test -n "$file_magic_test_file"; then
8774 case $deplibs_check_method in
8776 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8777 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8778 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8779 $EGREP "$file_magic_regex" > /dev/null; then
8784 *** Warning: the command libtool uses to detect shared libraries,
8785 *** $file_magic_cmd, produces output that libtool cannot recognize.
8786 *** The result is that libtool may fail to recognize shared libraries
8787 *** as such. This will affect the creation of libtool libraries that
8788 *** depend on shared libraries, but programs linked with such libtool
8789 *** libraries will work regardless of this problem. Nevertheless, you
8790 *** may want to report the problem to your system manager and/or to
8791 *** bug-libtool@gnu.org
8801 MAGIC_CMD="$lt_save_MAGIC_CMD"
8806 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8807 if test -n "$MAGIC_CMD"; then
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8809 $as_echo "$MAGIC_CMD" >&6; }
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8812 $as_echo "no" >&6; }
8819 if test -z "$lt_cv_path_MAGIC_CMD"; then
8820 if test -n "$ac_tool_prefix"; then
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8822 $as_echo_n "checking for file... " >&6; }
8823 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8824 $as_echo_n "(cached) " >&6
8828 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8831 lt_save_MAGIC_CMD="$MAGIC_CMD"
8832 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8833 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8834 for ac_dir in $ac_dummy; do
8836 test -z "$ac_dir" && ac_dir=.
8837 if test -f $ac_dir/file; then
8838 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8839 if test -n "$file_magic_test_file"; then
8840 case $deplibs_check_method in
8842 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8843 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8844 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8845 $EGREP "$file_magic_regex" > /dev/null; then
8850 *** Warning: the command libtool uses to detect shared libraries,
8851 *** $file_magic_cmd, produces output that libtool cannot recognize.
8852 *** The result is that libtool may fail to recognize shared libraries
8853 *** as such. This will affect the creation of libtool libraries that
8854 *** depend on shared libraries, but programs linked with such libtool
8855 *** libraries will work regardless of this problem. Nevertheless, you
8856 *** may want to report the problem to your system manager and/or to
8857 *** bug-libtool@gnu.org
8867 MAGIC_CMD="$lt_save_MAGIC_CMD"
8872 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8873 if test -n "$MAGIC_CMD"; then
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8875 $as_echo "$MAGIC_CMD" >&6; }
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8878 $as_echo "no" >&6; }
8891 # Use C for the default configuration in the libtool script
8895 ac_cpp='$CPP $CPPFLAGS'
8896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8901 # Source file extension for C test sources.
8904 # Object file extension for compiled C test sources.
8908 # Code to be used in simple compile tests
8909 lt_simple_compile_test_code="int some_variable = 0;"
8911 # Code to be used in simple link tests
8912 lt_simple_link_test_code='int main(){return(0);}'
8920 # If no C compiler was specified, use CC.
8923 # If no C compiler flags were specified, use CFLAGS.
8924 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8926 # Allow CC to be a program name with arguments.
8929 # Save the default compiler, since it gets overwritten when the other
8930 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8931 compiler_DEFAULT=$CC
8933 # save warnings/boilerplate of simple test code
8934 ac_outfile=conftest.$ac_objext
8935 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8936 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8937 _lt_compiler_boilerplate=`cat conftest.err`
8940 ac_outfile=conftest.$ac_objext
8941 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8942 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8943 _lt_linker_boilerplate=`cat conftest.err`
8948 ## There is no encapsulation within the following macros, do not change
8949 ## the running order or otherwise move them around unless you know exactly
8950 ## what you are doing...
8951 if test -n "$compiler"; then
8953 lt_prog_compiler_no_builtin_flag=
8955 if test "$GCC" = yes; then
8956 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8959 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8960 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8961 $as_echo_n "(cached) " >&6
8963 lt_cv_prog_compiler_rtti_exceptions=no
8964 ac_outfile=conftest.$ac_objext
8965 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8966 lt_compiler_flag="-fno-rtti -fno-exceptions"
8967 # Insert the option either (1) after the last *FLAGS variable, or
8968 # (2) before a word containing "conftest.", or (3) at the end.
8969 # Note that $ac_compile itself does not contain backslashes and begins
8970 # with a dollar sign (not a hyphen), so the echo should work correctly.
8971 # The option is referenced via a variable to avoid confusing sed.
8972 lt_compile=`echo "$ac_compile" | $SED \
8973 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8974 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8975 -e 's:$: $lt_compiler_flag:'`
8976 (eval echo "\"\$as_me:8976: $lt_compile\"" >&5)
8977 (eval "$lt_compile" 2>conftest.err)
8979 cat conftest.err >&5
8980 echo "$as_me:8980: \$? = $ac_status" >&5
8981 if (exit $ac_status) && test -s "$ac_outfile"; then
8982 # The compiler can only warn and ignore the option if not recognized
8983 # So say no if there are warnings other than the usual output.
8984 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8985 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8986 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8987 lt_cv_prog_compiler_rtti_exceptions=yes
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8994 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8996 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8997 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9009 lt_prog_compiler_wl=
9010 lt_prog_compiler_pic=
9011 lt_prog_compiler_static=
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9014 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9016 if test "$GCC" = yes; then
9017 lt_prog_compiler_wl='-Wl,'
9018 lt_prog_compiler_static='-static'
9022 # All AIX code is PIC.
9023 if test "$host_cpu" = ia64; then
9024 # AIX 5 now supports IA64 processor
9025 lt_prog_compiler_static='-Bstatic'
9032 # see comment about AmigaOS4 .so support
9033 lt_prog_compiler_pic='-fPIC'
9036 # FIXME: we need at least 68020 code to build shared libraries, but
9037 # adding the `-m68020' flag to GCC prevents building anything better,
9039 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9044 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9045 # PIC is the default for these OSes.
9048 mingw* | cygwin* | pw32* | os2* | cegcc*)
9049 # This hack is so that the source file can tell whether it is being
9050 # built for inclusion in a dll (and should export symbols for example).
9051 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9052 # (--disable-auto-import) libraries
9053 lt_prog_compiler_pic='-DDLL_EXPORT'
9056 darwin* | rhapsody*)
9057 # PIC is the default on this platform
9058 # Common symbols not allowed in MH_DYLIB files
9059 lt_prog_compiler_pic='-fno-common'
9063 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9064 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9065 # sets the default TLS model and affects inlining.
9071 lt_prog_compiler_pic='-fPIC'
9077 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9078 # Instead, we relocate shared libraries at runtime.
9082 # Just because we use GCC doesn't mean we suddenly get shared libraries
9083 # on systems that don't support them.
9084 lt_prog_compiler_can_build_shared=no
9089 # QNX uses GNU C++, but need to define -shared option too, otherwise
9091 lt_prog_compiler_pic='-fPIC -shared'
9095 if test -d /usr/nec; then
9096 lt_prog_compiler_pic=-Kconform_pic
9101 lt_prog_compiler_pic='-fPIC'
9105 # PORTME Check for flag to pass linker flags through the system compiler.
9108 lt_prog_compiler_wl='-Wl,'
9109 if test "$host_cpu" = ia64; then
9110 # AIX 5 now supports IA64 processor
9111 lt_prog_compiler_static='-Bstatic'
9113 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9117 mingw* | cygwin* | pw32* | os2* | cegcc*)
9118 # This hack is so that the source file can tell whether it is being
9119 # built for inclusion in a dll (and should export symbols for example).
9120 lt_prog_compiler_pic='-DDLL_EXPORT'
9123 hpux9* | hpux10* | hpux11*)
9124 lt_prog_compiler_wl='-Wl,'
9125 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9132 lt_prog_compiler_pic='+Z'
9135 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9136 lt_prog_compiler_static='${wl}-a ${wl}archive'
9139 irix5* | irix6* | nonstopux*)
9140 lt_prog_compiler_wl='-Wl,'
9141 # PIC (with -KPIC) is the default.
9142 lt_prog_compiler_static='-non_shared'
9145 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9146 case $cc_basename in
9147 # old Intel for x86_64 which still supported -KPIC.
9149 lt_prog_compiler_wl='-Wl,'
9150 lt_prog_compiler_pic='-KPIC'
9151 lt_prog_compiler_static='-static'
9153 # icc used to be incompatible with GCC.
9154 # ICC 10 doesn't accept -KPIC any more.
9156 lt_prog_compiler_wl='-Wl,'
9157 lt_prog_compiler_pic='-fPIC'
9158 lt_prog_compiler_static='-static'
9160 # Lahey Fortran 8.1.
9162 lt_prog_compiler_wl='-Wl,'
9163 lt_prog_compiler_pic='--shared'
9164 lt_prog_compiler_static='--static'
9166 pgcc* | pgf77* | pgf90* | pgf95*)
9167 # Portland Group compilers (*not* the Pentium gcc compiler,
9168 # which looks to be a dead project)
9169 lt_prog_compiler_wl='-Wl,'
9170 lt_prog_compiler_pic='-fpic'
9171 lt_prog_compiler_static='-Bstatic'
9174 lt_prog_compiler_wl='-Wl,'
9175 # All Alpha code is PIC.
9176 lt_prog_compiler_static='-non_shared'
9179 # IBM XL C 8.0/Fortran 10.1 on PPC
9180 lt_prog_compiler_wl='-Wl,'
9181 lt_prog_compiler_pic='-qpic'
9182 lt_prog_compiler_static='-qstaticlink'
9185 case `$CC -V 2>&1 | sed 5q` in
9188 lt_prog_compiler_pic='-KPIC'
9189 lt_prog_compiler_static='-Bstatic'
9190 lt_prog_compiler_wl='-Wl,'
9193 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9194 lt_prog_compiler_pic='-KPIC'
9195 lt_prog_compiler_static='-Bstatic'
9196 lt_prog_compiler_wl=''
9204 lt_prog_compiler_pic='-KPIC'
9205 lt_prog_compiler_static='-Bstatic'
9209 # QNX uses GNU C++, but need to define -shared option too, otherwise
9211 lt_prog_compiler_pic='-fPIC -shared'
9214 osf3* | osf4* | osf5*)
9215 lt_prog_compiler_wl='-Wl,'
9216 # All OSF/1 code is PIC.
9217 lt_prog_compiler_static='-non_shared'
9221 lt_prog_compiler_static='-non_shared'
9225 lt_prog_compiler_pic='-KPIC'
9226 lt_prog_compiler_static='-Bstatic'
9227 case $cc_basename in
9229 lt_prog_compiler_wl='-Qoption ld ';;
9231 lt_prog_compiler_wl='-Wl,';;
9236 lt_prog_compiler_wl='-Qoption ld '
9237 lt_prog_compiler_pic='-PIC'
9238 lt_prog_compiler_static='-Bstatic'
9241 sysv4 | sysv4.2uw2* | sysv4.3*)
9242 lt_prog_compiler_wl='-Wl,'
9243 lt_prog_compiler_pic='-KPIC'
9244 lt_prog_compiler_static='-Bstatic'
9248 if test -d /usr/nec ;then
9249 lt_prog_compiler_pic='-Kconform_pic'
9250 lt_prog_compiler_static='-Bstatic'
9254 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9255 lt_prog_compiler_wl='-Wl,'
9256 lt_prog_compiler_pic='-KPIC'
9257 lt_prog_compiler_static='-Bstatic'
9261 lt_prog_compiler_wl='-Wl,'
9262 lt_prog_compiler_can_build_shared=no
9266 lt_prog_compiler_pic='-pic'
9267 lt_prog_compiler_static='-Bstatic'
9271 lt_prog_compiler_can_build_shared=no
9277 # For platforms which do not support PIC, -DPIC is meaningless:
9279 lt_prog_compiler_pic=
9282 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9286 $as_echo "$lt_prog_compiler_pic" >&6; }
9294 # Check to make sure the PIC flag actually works.
9296 if test -n "$lt_prog_compiler_pic"; then
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9298 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9299 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9300 $as_echo_n "(cached) " >&6
9302 lt_cv_prog_compiler_pic_works=no
9303 ac_outfile=conftest.$ac_objext
9304 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9305 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9306 # Insert the option either (1) after the last *FLAGS variable, or
9307 # (2) before a word containing "conftest.", or (3) at the end.
9308 # Note that $ac_compile itself does not contain backslashes and begins
9309 # with a dollar sign (not a hyphen), so the echo should work correctly.
9310 # The option is referenced via a variable to avoid confusing sed.
9311 lt_compile=`echo "$ac_compile" | $SED \
9312 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9313 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9314 -e 's:$: $lt_compiler_flag:'`
9315 (eval echo "\"\$as_me:9315: $lt_compile\"" >&5)
9316 (eval "$lt_compile" 2>conftest.err)
9318 cat conftest.err >&5
9319 echo "$as_me:9319: \$? = $ac_status" >&5
9320 if (exit $ac_status) && test -s "$ac_outfile"; then
9321 # The compiler can only warn and ignore the option if not recognized
9322 # So say no if there are warnings other than the usual output.
9323 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9324 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9325 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9326 lt_cv_prog_compiler_pic_works=yes
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9333 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9335 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9336 case $lt_prog_compiler_pic in
9338 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9341 lt_prog_compiler_pic=
9342 lt_prog_compiler_can_build_shared=no
9353 # Check to make sure the static flag actually works.
9355 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9357 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9358 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9359 $as_echo_n "(cached) " >&6
9361 lt_cv_prog_compiler_static_works=no
9362 save_LDFLAGS="$LDFLAGS"
9363 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9364 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9365 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9366 # The linker can only warn and ignore the option if not recognized
9367 # So say no if there are warnings
9368 if test -s conftest.err; then
9369 # Append any errors to the config.log.
9370 cat conftest.err 1>&5
9371 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9372 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9373 if diff conftest.exp conftest.er2 >/dev/null; then
9374 lt_cv_prog_compiler_static_works=yes
9377 lt_cv_prog_compiler_static_works=yes
9381 LDFLAGS="$save_LDFLAGS"
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9385 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9387 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9390 lt_prog_compiler_static=
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9400 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9401 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9402 $as_echo_n "(cached) " >&6
9404 lt_cv_prog_compiler_c_o=no
9405 $RM -r conftest 2>/dev/null
9409 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9411 lt_compiler_flag="-o out/conftest2.$ac_objext"
9412 # Insert the option either (1) after the last *FLAGS variable, or
9413 # (2) before a word containing "conftest.", or (3) at the end.
9414 # Note that $ac_compile itself does not contain backslashes and begins
9415 # with a dollar sign (not a hyphen), so the echo should work correctly.
9416 lt_compile=`echo "$ac_compile" | $SED \
9417 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9418 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9419 -e 's:$: $lt_compiler_flag:'`
9420 (eval echo "\"\$as_me:9420: $lt_compile\"" >&5)
9421 (eval "$lt_compile" 2>out/conftest.err)
9423 cat out/conftest.err >&5
9424 echo "$as_me:9424: \$? = $ac_status" >&5
9425 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9427 # The compiler can only warn and ignore the option if not recognized
9428 # So say no if there are warnings
9429 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9430 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9431 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9432 lt_cv_prog_compiler_c_o=yes
9437 # SGI C++ compiler will create directory out/ii_files/ for
9438 # template instantiation
9439 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9440 $RM out/* && rmdir out
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9447 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9455 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9456 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9457 $as_echo_n "(cached) " >&6
9459 lt_cv_prog_compiler_c_o=no
9460 $RM -r conftest 2>/dev/null
9464 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9466 lt_compiler_flag="-o out/conftest2.$ac_objext"
9467 # Insert the option either (1) after the last *FLAGS variable, or
9468 # (2) before a word containing "conftest.", or (3) at the end.
9469 # Note that $ac_compile itself does not contain backslashes and begins
9470 # with a dollar sign (not a hyphen), so the echo should work correctly.
9471 lt_compile=`echo "$ac_compile" | $SED \
9472 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9473 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9474 -e 's:$: $lt_compiler_flag:'`
9475 (eval echo "\"\$as_me:9475: $lt_compile\"" >&5)
9476 (eval "$lt_compile" 2>out/conftest.err)
9478 cat out/conftest.err >&5
9479 echo "$as_me:9479: \$? = $ac_status" >&5
9480 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9482 # The compiler can only warn and ignore the option if not recognized
9483 # So say no if there are warnings
9484 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9485 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9486 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9487 lt_cv_prog_compiler_c_o=yes
9492 # SGI C++ compiler will create directory out/ii_files/ for
9493 # template instantiation
9494 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9495 $RM out/* && rmdir out
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9502 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9507 hard_links="nottested"
9508 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9509 # do not overwrite the value of need_locks provided by the user
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9511 $as_echo_n "checking if we can lock with hard links... " >&6; }
9514 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9516 ln conftest.a conftest.b 2>&5 || hard_links=no
9517 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9519 $as_echo "$hard_links" >&6; }
9520 if test "$hard_links" = no; then
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9522 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9535 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9538 allow_undefined_flag=
9539 always_export_symbols=no
9541 archive_expsym_cmds=
9542 compiler_needs_object=no
9543 enable_shared_with_static_runtimes=no
9544 export_dynamic_flag_spec=
9545 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9546 hardcode_automatic=no
9548 hardcode_direct_absolute=no
9549 hardcode_libdir_flag_spec=
9550 hardcode_libdir_flag_spec_ld=
9551 hardcode_libdir_separator=
9553 hardcode_shlibpath_var=unsupported
9555 link_all_deplibs=unknown
9558 old_archive_from_new_cmds=
9559 old_archive_from_expsyms_cmds=
9560 thread_safe_flag_spec=
9561 whole_archive_flag_spec=
9562 # include_expsyms should be a list of space-separated symbols to be *always*
9563 # included in the symbol list
9565 # exclude_expsyms can be an extended regexp of symbols to exclude
9566 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9567 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9568 # as well as any symbol that contains `d'.
9569 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9570 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9571 # platforms (ab)use it in PIC code, but their linkers get confused if
9572 # the symbol is explicitly referenced. Since portable code cannot
9573 # rely on this symbol name, it's probably fine to never include it in
9574 # preloaded symbol tables.
9575 # Exclude shared library initialization/finalization symbols.
9576 extract_expsyms_cmds=
9579 cygwin* | mingw* | pw32* | cegcc*)
9580 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9581 # When not using gcc, we currently assume that we are using
9582 # Microsoft Visual C++.
9583 if test "$GCC" != yes; then
9588 # we just hope/assume this is gcc and not c89 (= MSVC++)
9594 linux* | k*bsd*-gnu)
9600 if test "$with_gnu_ld" = yes; then
9601 # If archive_cmds runs LD, not CC, wlarc should be empty
9604 # Set some defaults for GNU ld with shared library support. These
9605 # are reset later if shared libraries are not supported. Putting them
9606 # here allows them to be overridden if necessary.
9607 runpath_var=LD_RUN_PATH
9608 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9609 export_dynamic_flag_spec='${wl}--export-dynamic'
9610 # ancient GNU ld didn't support --whole-archive et. al.
9611 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9612 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9614 whole_archive_flag_spec=
9616 supports_anon_versioning=no
9617 case `$LD -v 2>&1` in
9618 *GNU\ gold*) supports_anon_versioning=yes ;;
9619 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9620 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9621 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9622 *\ 2.11.*) ;; # other 2.11 versions
9623 *) supports_anon_versioning=yes ;;
9626 # See if GNU ld supports shared libraries.
9629 # On AIX/PPC, the GNU linker is very broken
9630 if test "$host_cpu" != ia64; then
9634 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9635 *** to be unable to reliably create shared libraries on AIX.
9636 *** Therefore, libtool is disabling shared libraries support. If you
9637 *** really care for shared libraries, you may want to modify your PATH
9638 *** so that a non-GNU linker is found, and then restart.
9647 # see comment about AmigaOS4 .so support
9648 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9649 archive_expsym_cmds=''
9652 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)'
9653 hardcode_libdir_flag_spec='-L$libdir'
9654 hardcode_minus_L=yes
9660 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9661 allow_undefined_flag=unsupported
9662 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9663 # support --undefined. This deserves some investigation. FIXME
9664 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9670 cygwin* | mingw* | pw32* | cegcc*)
9671 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9672 # as there is no search path for DLLs.
9673 hardcode_libdir_flag_spec='-L$libdir'
9674 allow_undefined_flag=unsupported
9675 always_export_symbols=no
9676 enable_shared_with_static_runtimes=yes
9677 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9679 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9680 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9681 # If the export-symbols file already is a .def file (1st line
9682 # is EXPORTS), use it as is; otherwise, prepend...
9683 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9684 cp $export_symbols $output_objdir/$soname.def;
9686 echo EXPORTS > $output_objdir/$soname.def;
9687 cat $export_symbols >> $output_objdir/$soname.def;
9689 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9697 hardcode_shlibpath_var=no
9698 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9699 export_dynamic_flag_spec='${wl}-E'
9700 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9701 # Instead, shared libraries are loaded at an image base (0x10000000 by
9702 # default) and relocated if they conflict, which is a slow very memory
9703 # consuming and fragmenting process. To avoid this, we pick a random,
9704 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9705 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9706 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9707 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'
9710 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9712 if test "$host_os" = linux-dietlibc; then
9713 case $cc_basename in
9714 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9717 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9718 && test "$tmp_diet" = no
9721 tmp_sharedflag='-shared'
9722 case $cc_basename,$host_cpu in
9723 pgcc*) # Portland Group C compiler
9724 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9725 tmp_addflag=' $pic_flag'
9727 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9728 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9729 tmp_addflag=' $pic_flag -Mnomain' ;;
9730 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9731 tmp_addflag=' -i_dynamic' ;;
9732 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9733 tmp_addflag=' -i_dynamic -nofor_main' ;;
9734 ifc* | ifort*) # Intel Fortran compiler
9735 tmp_addflag=' -nofor_main' ;;
9736 lf95*) # Lahey Fortran 8.1
9737 whole_archive_flag_spec=
9738 tmp_sharedflag='--shared' ;;
9739 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9740 tmp_sharedflag='-qmkshrobj'
9743 case `$CC -V 2>&1 | sed 5q` in
9744 *Sun\ C*) # Sun C 5.9
9745 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9746 compiler_needs_object=yes
9747 tmp_sharedflag='-G' ;;
9748 *Sun\ F*) # Sun Fortran 8.3
9749 tmp_sharedflag='-G' ;;
9751 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9753 if test "x$supports_anon_versioning" = xyes; then
9754 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9755 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9756 echo "local: *; };" >> $output_objdir/$libname.ver~
9757 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9760 case $cc_basename in
9762 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9763 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9764 hardcode_libdir_flag_spec=
9765 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9766 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9767 if test "x$supports_anon_versioning" = xyes; then
9768 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9769 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9770 echo "local: *; };" >> $output_objdir/$libname.ver~
9771 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9780 netbsd* | netbsdelf*-gnu)
9781 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9782 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9785 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9786 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9791 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9795 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9796 *** create shared libraries on Solaris systems. Therefore, libtool
9797 *** is disabling shared libraries support. We urge you to upgrade GNU
9798 *** binutils to release 2.9.1 or newer. Another option is to modify
9799 *** your PATH or compiler configuration so that the native linker is
9800 *** used, and then restart.
9803 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9804 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9805 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9811 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9812 case `$LD -v 2>&1` in
9813 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9817 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9818 *** reliably create shared libraries on SCO systems. Therefore, libtool
9819 *** is disabling shared libraries support. We urge you to upgrade GNU
9820 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9821 *** your PATH or compiler configuration so that the native linker is
9822 *** used, and then restart.
9827 # For security reasons, it is highly recommended that you always
9828 # use absolute paths for naming shared libraries, and exclude the
9829 # DT_RUNPATH tag from executables and libraries. But doing so
9830 # requires that you compile everything twice, which is a pain.
9831 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9832 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9833 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9834 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9843 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9846 hardcode_shlibpath_var=no
9850 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9851 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9852 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9859 if test "$ld_shlibs" = no; then
9861 hardcode_libdir_flag_spec=
9862 export_dynamic_flag_spec=
9863 whole_archive_flag_spec=
9866 # PORTME fill in a description of your system's linker (not GNU ld)
9869 allow_undefined_flag=unsupported
9870 always_export_symbols=yes
9871 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'
9872 # Note: this linker hardcodes the directories in LIBPATH if there
9873 # are no directories specified by -L.
9874 hardcode_minus_L=yes
9875 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9876 # Neither direct hardcoding nor static linking is supported with a
9878 hardcode_direct=unsupported
9883 if test "$host_cpu" = ia64; then
9884 # On IA64, the linker does run time linking by default, so we don't
9885 # have to do anything special.
9886 aix_use_runtimelinking=no
9887 exp_sym_flag='-Bexport'
9890 # If we're using GNU nm, then we don't want the "-C" option.
9891 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9892 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9893 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9895 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'
9897 aix_use_runtimelinking=no
9899 # Test if we are trying to use run time linking or normal
9900 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9901 # need to do runtime linking.
9902 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9903 for ld_flag in $LDFLAGS; do
9904 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9905 aix_use_runtimelinking=yes
9912 exp_sym_flag='-bexport'
9913 no_entry_flag='-bnoentry'
9916 # When large executables or shared objects are built, AIX ld can
9917 # have problems creating the table of contents. If linking a library
9918 # or program results in "error TOC overflow" add -mminimal-toc to
9919 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9920 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9924 hardcode_direct_absolute=yes
9925 hardcode_libdir_separator=':'
9926 link_all_deplibs=yes
9927 file_list_spec='${wl}-f,'
9929 if test "$GCC" = yes; then
9930 case $host_os in aix4.[012]|aix4.[012].*)
9931 # We only want to do this on AIX 4.2 and lower, the check
9932 # below for broken collect2 doesn't work under 4.3+
9933 collect2name=`${CC} -print-prog-name=collect2`
9934 if test -f "$collect2name" &&
9935 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9937 # We have reworked collect2
9940 # We have old collect2
9941 hardcode_direct=unsupported
9942 # It fails to find uninstalled libraries when the uninstalled
9943 # path is not listed in the libpath. Setting hardcode_minus_L
9944 # to unsupported forces relinking
9945 hardcode_minus_L=yes
9946 hardcode_libdir_flag_spec='-L$libdir'
9947 hardcode_libdir_separator=
9951 shared_flag='-shared'
9952 if test "$aix_use_runtimelinking" = yes; then
9953 shared_flag="$shared_flag "'${wl}-G'
9958 if test "$host_cpu" = ia64; then
9959 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9960 # chokes on -Wl,-G. The following line is correct:
9963 if test "$aix_use_runtimelinking" = yes; then
9964 shared_flag='${wl}-G'
9966 shared_flag='${wl}-bM:SRE'
9971 export_dynamic_flag_spec='${wl}-bexpall'
9972 # It seems that -bexpall does not export symbols beginning with
9973 # underscore (_), so it is better to generate a list of symbols to export.
9974 always_export_symbols=yes
9975 if test "$aix_use_runtimelinking" = yes; then
9976 # Warning - without using the other runtime loading flags (-brtl),
9977 # -berok will link without error, but may produce a broken library.
9978 allow_undefined_flag='-berok'
9979 # Determine the default libpath from the value encoded in an
9981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9982 /* end confdefs.h. */
9992 if ac_fn_c_try_link "$LINENO"; then :
9994 lt_aix_libpath_sed='
9995 /Import File Strings/,/^$/ {
10001 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10002 # Check for a 64-bit object if we didn't find anything.
10003 if test -z "$aix_libpath"; then
10004 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10007 rm -f core conftest.err conftest.$ac_objext \
10008 conftest$ac_exeext conftest.$ac_ext
10009 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10011 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10012 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10014 if test "$host_cpu" = ia64; then
10015 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10016 allow_undefined_flag="-z nodefs"
10017 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"
10019 # Determine the default libpath from the value encoded in an
10020 # empty executable.
10021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10022 /* end confdefs.h. */
10032 if ac_fn_c_try_link "$LINENO"; then :
10034 lt_aix_libpath_sed='
10035 /Import File Strings/,/^$/ {
10041 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10042 # Check for a 64-bit object if we didn't find anything.
10043 if test -z "$aix_libpath"; then
10044 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10047 rm -f core conftest.err conftest.$ac_objext \
10048 conftest$ac_exeext conftest.$ac_ext
10049 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10051 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10052 # Warning - without using the other run time loading flags,
10053 # -berok will link without error, but may produce a broken library.
10054 no_undefined_flag=' ${wl}-bernotok'
10055 allow_undefined_flag=' ${wl}-berok'
10056 # Exported symbols can be pulled into shared objects from archives
10057 whole_archive_flag_spec='$convenience'
10058 archive_cmds_need_lc=yes
10059 # This is similar to how AIX traditionally builds its shared libraries.
10060 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'
10068 # see comment about AmigaOS4 .so support
10069 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10070 archive_expsym_cmds=''
10073 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)'
10074 hardcode_libdir_flag_spec='-L$libdir'
10075 hardcode_minus_L=yes
10081 export_dynamic_flag_spec=-rdynamic
10084 cygwin* | mingw* | pw32* | cegcc*)
10085 # When not using gcc, we currently assume that we are using
10086 # Microsoft Visual C++.
10087 # hardcode_libdir_flag_spec is actually meaningless, as there is
10088 # no search path for DLLs.
10089 hardcode_libdir_flag_spec=' '
10090 allow_undefined_flag=unsupported
10091 # Tell ltmain to make .lib files, not .a files.
10093 # Tell ltmain to make .dll files, not .so files.
10095 # FIXME: Setting linknames here is a bad hack.
10096 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10097 # The linker will automatically build a .lib file if we build a DLL.
10098 old_archive_from_new_cmds='true'
10099 # FIXME: Should let the user specify the lib program.
10100 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10101 fix_srcfile_path='`cygpath -w "$srcfile"`'
10102 enable_shared_with_static_runtimes=yes
10105 darwin* | rhapsody*)
10108 archive_cmds_need_lc=no
10110 hardcode_automatic=yes
10111 hardcode_shlibpath_var=unsupported
10112 whole_archive_flag_spec=''
10113 link_all_deplibs=yes
10114 allow_undefined_flag="$_lt_dar_allow_undefined"
10115 case $cc_basename in
10116 ifort*) _lt_dar_can_shared=yes ;;
10117 *) _lt_dar_can_shared=$GCC ;;
10119 if test "$_lt_dar_can_shared" = "yes"; then
10120 output_verbose_link_cmd=echo
10121 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10122 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10123 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}"
10124 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}"
10133 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10134 hardcode_libdir_flag_spec='-L$libdir'
10135 hardcode_shlibpath_var=no
10142 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10143 # support. Future versions do this automatically, but an explicit c++rt0.o
10144 # does not break anything, and helps significantly (at the cost of a little
10147 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10148 hardcode_libdir_flag_spec='-R$libdir'
10149 hardcode_direct=yes
10150 hardcode_shlibpath_var=no
10153 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10155 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10156 hardcode_direct=yes
10157 hardcode_minus_L=yes
10158 hardcode_shlibpath_var=no
10161 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10162 freebsd* | dragonfly*)
10163 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10164 hardcode_libdir_flag_spec='-R$libdir'
10165 hardcode_direct=yes
10166 hardcode_shlibpath_var=no
10170 if test "$GCC" = yes; then
10171 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10173 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'
10175 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10176 hardcode_libdir_separator=:
10177 hardcode_direct=yes
10179 # hardcode_minus_L: Not really in the search PATH,
10180 # but as the default location of the library.
10181 hardcode_minus_L=yes
10182 export_dynamic_flag_spec='${wl}-E'
10186 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10187 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10189 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10191 if test "$with_gnu_ld" = no; then
10192 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10193 hardcode_libdir_flag_spec_ld='+b $libdir'
10194 hardcode_libdir_separator=:
10195 hardcode_direct=yes
10196 hardcode_direct_absolute=yes
10197 export_dynamic_flag_spec='${wl}-E'
10198 # hardcode_minus_L: Not really in the search PATH,
10199 # but as the default location of the library.
10200 hardcode_minus_L=yes
10205 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10208 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10211 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10214 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10220 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10223 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10226 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10230 if test "$with_gnu_ld" = no; then
10231 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10232 hardcode_libdir_separator=:
10237 hardcode_shlibpath_var=no
10240 hardcode_direct=yes
10241 hardcode_direct_absolute=yes
10242 export_dynamic_flag_spec='${wl}-E'
10244 # hardcode_minus_L: Not really in the search PATH,
10245 # but as the default location of the library.
10246 hardcode_minus_L=yes
10252 irix5* | irix6* | nonstopux*)
10253 if test "$GCC" = yes; then
10254 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10255 # Try to use the -exported_symbol ld option, if it does not
10256 # work, assume that -exports_file does not work either and
10257 # implicitly export all symbols.
10258 save_LDFLAGS="$LDFLAGS"
10259 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10261 /* end confdefs.h. */
10264 if ac_fn_c_try_link "$LINENO"; then :
10265 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10268 rm -f core conftest.err conftest.$ac_objext \
10269 conftest$ac_exeext conftest.$ac_ext
10270 LDFLAGS="$save_LDFLAGS"
10272 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10273 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10275 archive_cmds_need_lc='no'
10276 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10277 hardcode_libdir_separator=:
10279 link_all_deplibs=yes
10282 netbsd* | netbsdelf*-gnu)
10283 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10284 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10286 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10288 hardcode_libdir_flag_spec='-R$libdir'
10289 hardcode_direct=yes
10290 hardcode_shlibpath_var=no
10294 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10295 hardcode_direct=yes
10296 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10297 hardcode_libdir_separator=:
10298 hardcode_shlibpath_var=no
10305 if test -f /usr/libexec/ld.so; then
10306 hardcode_direct=yes
10307 hardcode_shlibpath_var=no
10308 hardcode_direct_absolute=yes
10309 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10310 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10311 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10312 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10313 export_dynamic_flag_spec='${wl}-E'
10316 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10317 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10318 hardcode_libdir_flag_spec='-R$libdir'
10321 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10322 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10332 hardcode_libdir_flag_spec='-L$libdir'
10333 hardcode_minus_L=yes
10334 allow_undefined_flag=unsupported
10335 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'
10336 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10340 if test "$GCC" = yes; then
10341 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10342 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10344 allow_undefined_flag=' -expect_unresolved \*'
10345 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10347 archive_cmds_need_lc='no'
10348 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10349 hardcode_libdir_separator=:
10352 osf4* | osf5*) # as osf3* with the addition of -msym flag
10353 if test "$GCC" = yes; then
10354 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10355 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10356 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10358 allow_undefined_flag=' -expect_unresolved \*'
10359 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10360 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~
10361 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10363 # Both c and cxx compiler support -rpath directly
10364 hardcode_libdir_flag_spec='-rpath $libdir'
10366 archive_cmds_need_lc='no'
10367 hardcode_libdir_separator=:
10371 no_undefined_flag=' -z defs'
10372 if test "$GCC" = yes; then
10374 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10375 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10376 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10378 case `$CC -V 2>&1` in
10381 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10382 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10383 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10387 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10388 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10389 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10393 hardcode_libdir_flag_spec='-R$libdir'
10394 hardcode_shlibpath_var=no
10396 solaris2.[0-5] | solaris2.[0-5].*) ;;
10398 # The compiler driver will combine and reorder linker options,
10399 # but understands `-z linker_flag'. GCC discards it without `$wl',
10400 # but is careful enough not to reorder.
10401 # Supported since Solaris 2.6 (maybe 2.5.1?)
10402 if test "$GCC" = yes; then
10403 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10405 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10409 link_all_deplibs=yes
10413 if test "x$host_vendor" = xsequent; then
10414 # Use $CC to link under sequent, because it throws in some extra .o
10415 # files that make .init and .fini sections work.
10416 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10418 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10420 hardcode_libdir_flag_spec='-L$libdir'
10421 hardcode_direct=yes
10422 hardcode_minus_L=yes
10423 hardcode_shlibpath_var=no
10427 case $host_vendor in
10429 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10430 hardcode_direct=yes # is this really true???
10433 ## LD is ld it makes a PLAMLIB
10434 ## CC just makes a GrossModule.
10435 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10436 reload_cmds='$CC -r -o $output$reload_objs'
10440 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10441 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10444 runpath_var='LD_RUN_PATH'
10445 hardcode_shlibpath_var=no
10449 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10450 hardcode_shlibpath_var=no
10451 export_dynamic_flag_spec='-Bexport'
10455 if test -d /usr/nec; then
10456 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10457 hardcode_shlibpath_var=no
10458 runpath_var=LD_RUN_PATH
10459 hardcode_runpath_var=yes
10464 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10465 no_undefined_flag='${wl}-z,text'
10466 archive_cmds_need_lc=no
10467 hardcode_shlibpath_var=no
10468 runpath_var='LD_RUN_PATH'
10470 if test "$GCC" = yes; then
10471 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10472 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10474 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10475 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10479 sysv5* | sco3.2v5* | sco5v6*)
10480 # Note: We can NOT use -z defs as we might desire, because we do not
10481 # link with -lc, and that would cause any symbols used from libc to
10482 # always be unresolved, which means just about no library would
10483 # ever link correctly. If we're not using GNU ld we use -z text
10484 # though, which does catch some bad symbols but isn't as heavy-handed
10486 no_undefined_flag='${wl}-z,text'
10487 allow_undefined_flag='${wl}-z,nodefs'
10488 archive_cmds_need_lc=no
10489 hardcode_shlibpath_var=no
10490 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10491 hardcode_libdir_separator=':'
10492 link_all_deplibs=yes
10493 export_dynamic_flag_spec='${wl}-Bexport'
10494 runpath_var='LD_RUN_PATH'
10496 if test "$GCC" = yes; then
10497 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10498 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10500 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10501 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10506 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10507 hardcode_libdir_flag_spec='-L$libdir'
10508 hardcode_shlibpath_var=no
10516 if test x$host_vendor = xsni; then
10518 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10519 export_dynamic_flag_spec='${wl}-Blargedynsym'
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10526 $as_echo "$ld_shlibs" >&6; }
10527 test "$ld_shlibs" = no && can_build_shared=no
10529 with_gnu_ld=$with_gnu_ld
10546 # Do we need to explicitly link libc?
10548 case "x$archive_cmds_need_lc" in
10550 # Assume -lc should be added
10551 archive_cmds_need_lc=yes
10553 if test "$enable_shared" = yes && test "$GCC" = yes; then
10554 case $archive_cmds in
10556 # FIXME: we may have to deal with multi-command sequences.
10559 # Test whether the compiler implicitly links with -lc since on some
10560 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10561 # to ld, don't add -lc before -lgcc.
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10563 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10565 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10567 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10568 (eval $ac_compile) 2>&5
10570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10571 test $ac_status = 0; } 2>conftest.err; then
10574 libobjs=conftest.$ac_objext
10576 wl=$lt_prog_compiler_wl
10577 pic_flag=$lt_prog_compiler_pic
10583 lt_save_allow_undefined_flag=$allow_undefined_flag
10584 allow_undefined_flag=
10585 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10586 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10589 test $ac_status = 0; }
10591 archive_cmds_need_lc=no
10593 archive_cmds_need_lc=yes
10595 allow_undefined_flag=$lt_save_allow_undefined_flag
10597 cat conftest.err 1>&5
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10601 $as_echo "$archive_cmds_need_lc" >&6; }
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10765 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10767 if test "$GCC" = yes; then
10769 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10770 *) lt_awk_arg="/^libraries:/" ;;
10772 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10773 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10774 # if the path contains ";" then we assume it to be the separator
10775 # otherwise default to the standard path separator (i.e. ":") - it is
10776 # assumed that no part of a normal pathname contains ";" but that should
10777 # okay in the real world where ";" in dirpaths is itself problematic.
10778 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10780 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10782 # Ok, now we have the path, separated by spaces, we can step through it
10783 # and add multilib dir if necessary.
10784 lt_tmp_lt_search_path_spec=
10785 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10786 for lt_sys_path in $lt_search_path_spec; do
10787 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10788 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10790 test -d "$lt_sys_path" && \
10791 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10794 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10795 BEGIN {RS=" "; FS="/|\n";} {
10798 for (lt_i = NF; lt_i > 0; lt_i--) {
10799 if ($lt_i != "" && $lt_i != ".") {
10800 if ($lt_i == "..") {
10803 if (lt_count == 0) {
10804 lt_foo="/" $lt_i lt_foo;
10811 if (lt_foo != "") { lt_freq[lt_foo]++; }
10812 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10814 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10816 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10818 library_names_spec=
10819 libname_spec='lib$name'
10823 postuninstall_cmds=
10827 shlibpath_overrides_runpath=unknown
10829 dynamic_linker="$host_os ld.so"
10830 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10831 need_lib_prefix=unknown
10832 hardcode_into_libs=no
10834 # when you set need_version to no, make sure it does not cause -set_version
10835 # flags to be left without arguments
10836 need_version=unknown
10841 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10842 shlibpath_var=LIBPATH
10844 # AIX 3 has no versioning support, so we append a major version to the name.
10845 soname_spec='${libname}${release}${shared_ext}$major'
10852 hardcode_into_libs=yes
10853 if test "$host_cpu" = ia64; then
10854 # AIX 5 supports IA64
10855 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10856 shlibpath_var=LD_LIBRARY_PATH
10858 # With GCC up to 2.95.x, collect2 would create an import file
10859 # for dependence libraries. The import file would start with
10860 # the line `#! .'. This would cause the generated library to
10861 # depend on `.', always an invalid library. This was fixed in
10862 # development snapshots of GCC prior to 3.0.
10864 aix4 | aix4.[01] | aix4.[01].*)
10865 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10867 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10870 can_build_shared=no
10874 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10875 # soname into executable. Probably we can add versioning support to
10876 # collect2, so additional links can be useful in future.
10877 if test "$aix_use_runtimelinking" = yes; then
10878 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10879 # instead of lib<name>.a to let people know that these are not
10880 # typical AIX shared libraries.
10881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10883 # We preserve .a as extension for shared libraries through AIX4.2
10884 # and later when we are not doing run time linking.
10885 library_names_spec='${libname}${release}.a $libname.a'
10886 soname_spec='${libname}${release}${shared_ext}$major'
10888 shlibpath_var=LIBPATH
10895 # Since July 2007 AmigaOS4 officially supports .so libraries.
10896 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10900 library_names_spec='$libname.ixlibrary $libname.a'
10901 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10902 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10908 library_names_spec='${libname}${shared_ext}'
10909 dynamic_linker="$host_os ld.so"
10910 shlibpath_var=LIBRARY_PATH
10916 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10917 soname_spec='${libname}${release}${shared_ext}$major'
10918 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10919 shlibpath_var=LD_LIBRARY_PATH
10920 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10921 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10922 # the default ld.so.conf also contains /usr/contrib/lib and
10923 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10924 # libtool to hard-code these into programs
10927 cygwin* | mingw* | pw32* | cegcc*)
10928 version_type=windows
10933 case $GCC,$host_os in
10934 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10935 library_names_spec='$libname.dll.a'
10936 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10937 postinstall_cmds='base_file=`basename \${file}`~
10938 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10939 dldir=$destdir/`dirname \$dlpath`~
10940 test -d \$dldir || mkdir -p \$dldir~
10941 $install_prog $dir/$dlname \$dldir/$dlname~
10942 chmod a+x \$dldir/$dlname~
10943 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10944 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10946 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10947 dlpath=$dir/\$dldll~
10949 shlibpath_overrides_runpath=yes
10953 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10954 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10955 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10958 # MinGW DLLs use traditional 'lib' prefix
10959 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10960 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10961 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10962 # It is most probably a Windows format PATH printed by
10963 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10964 # path with ; separators, and with drive letters. We can handle the
10965 # drive letters (cygwin fileutils understands them), so leave them,
10966 # especially as we might pass files found there to a mingw objdump,
10967 # which wouldn't understand a cygwinified path. Ahh.
10968 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10970 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10974 # pw32 DLLs use 'pw' prefix rather than 'lib'
10975 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10981 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10984 dynamic_linker='Win32 ld.exe'
10985 # FIXME: first we should search . and the directory the executable is in
10989 darwin* | rhapsody*)
10990 dynamic_linker="$host_os dyld"
10991 version_type=darwin
10994 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10995 soname_spec='${libname}${release}${major}$shared_ext'
10996 shlibpath_overrides_runpath=yes
10997 shlibpath_var=DYLD_LIBRARY_PATH
10998 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11000 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11001 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11009 soname_spec='${libname}${release}${shared_ext}$major'
11010 shlibpath_var=LD_LIBRARY_PATH
11017 freebsd* | dragonfly*)
11018 # DragonFly does not have aout. When/if they implement a new
11019 # versioning mechanism, adjust this.
11020 if test -x /usr/bin/objformat; then
11021 objformat=`/usr/bin/objformat`
11024 freebsd[123]*) objformat=aout ;;
11025 *) objformat=elf ;;
11028 version_type=freebsd-$objformat
11029 case $version_type in
11031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11036 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11040 shlibpath_var=LD_LIBRARY_PATH
11043 shlibpath_overrides_runpath=yes
11045 freebsd3.[01]* | freebsdelf3.[01]*)
11046 shlibpath_overrides_runpath=yes
11047 hardcode_into_libs=yes
11049 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11050 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11051 shlibpath_overrides_runpath=no
11052 hardcode_into_libs=yes
11054 *) # from 4.6 on, and DragonFly
11055 shlibpath_overrides_runpath=yes
11056 hardcode_into_libs=yes
11065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11066 soname_spec='${libname}${release}${shared_ext}$major'
11067 shlibpath_var=LD_LIBRARY_PATH
11068 hardcode_into_libs=yes
11071 hpux9* | hpux10* | hpux11*)
11072 # Give a soname corresponding to the major version so that dld.sl refuses to
11073 # link against other versions.
11080 hardcode_into_libs=yes
11081 dynamic_linker="$host_os dld.so"
11082 shlibpath_var=LD_LIBRARY_PATH
11083 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11085 soname_spec='${libname}${release}${shared_ext}$major'
11086 if test "X$HPUX_IA64_MODE" = X32; then
11087 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11089 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11091 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11095 hardcode_into_libs=yes
11096 dynamic_linker="$host_os dld.sl"
11097 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11098 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11099 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11100 soname_spec='${libname}${release}${shared_ext}$major'
11101 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11102 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11106 dynamic_linker="$host_os dld.sl"
11107 shlibpath_var=SHLIB_PATH
11108 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11110 soname_spec='${libname}${release}${shared_ext}$major'
11113 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11114 postinstall_cmds='chmod 555 $lib'
11121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11122 soname_spec='${libname}${release}${shared_ext}$major'
11123 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11124 shlibpath_var=LD_LIBRARY_PATH
11125 shlibpath_overrides_runpath=no
11126 hardcode_into_libs=yes
11129 irix5* | irix6* | nonstopux*)
11131 nonstopux*) version_type=nonstopux ;;
11133 if test "$lt_cv_prog_gnu_ld" = yes; then
11141 soname_spec='${libname}${release}${shared_ext}$major'
11142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11144 irix5* | nonstopux*)
11145 libsuff= shlibsuff=
11148 case $LD in # libtool.m4 will add one of these switches to LD
11149 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11150 libsuff= shlibsuff= libmagic=32-bit;;
11151 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11152 libsuff=32 shlibsuff=N32 libmagic=N32;;
11153 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11154 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11155 *) libsuff= shlibsuff= libmagic=never-match;;
11159 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11160 shlibpath_overrides_runpath=no
11161 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11162 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11163 hardcode_into_libs=yes
11166 # No shared lib support for Linux oldld, aout, or coff.
11167 linux*oldld* | linux*aout* | linux*coff*)
11171 # This must be Linux ELF.
11172 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11177 soname_spec='${libname}${release}${shared_ext}$major'
11178 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11179 shlibpath_var=LD_LIBRARY_PATH
11180 shlibpath_overrides_runpath=no
11181 # Some binutils ld are patched to set DT_RUNPATH
11182 save_LDFLAGS=$LDFLAGS
11183 save_libdir=$libdir
11184 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11185 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11187 /* end confdefs.h. */
11197 if ac_fn_c_try_link "$LINENO"; then :
11198 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11199 shlibpath_overrides_runpath=yes
11202 rm -f core conftest.err conftest.$ac_objext \
11203 conftest$ac_exeext conftest.$ac_ext
11204 LDFLAGS=$save_LDFLAGS
11205 libdir=$save_libdir
11207 # This implies no fast_install, which is unacceptable.
11208 # Some rework will be needed to allow for fast_install
11209 # before this can be enabled.
11210 hardcode_into_libs=yes
11212 # Append ld.so.conf contents to the search path
11213 if test -f /etc/ld.so.conf; then
11214 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11215 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11218 # We used to test for /lib/ld.so.1 and disable shared libraries on
11219 # powerpc, because MkLinux only supported shared libraries with the
11220 # GNU dynamic linker. Since this was broken with cross compilers,
11221 # most powerpc-linux boxes support dynamic linking these days and
11222 # people can always --disable-shared, the test was removed, and we
11223 # assume the GNU/Linux dynamic linker is in use.
11224 dynamic_linker='GNU/Linux ld.so'
11231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11232 soname_spec='${libname}${release}${shared_ext}$major'
11233 shlibpath_var=LD_LIBRARY_PATH
11234 shlibpath_overrides_runpath=no
11235 hardcode_into_libs=yes
11236 dynamic_linker='NetBSD ld.elf_so'
11243 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11245 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11246 dynamic_linker='NetBSD (a.out) ld.so'
11248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11249 soname_spec='${libname}${release}${shared_ext}$major'
11250 dynamic_linker='NetBSD ld.elf_so'
11252 shlibpath_var=LD_LIBRARY_PATH
11253 shlibpath_overrides_runpath=yes
11254 hardcode_into_libs=yes
11259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11260 shlibpath_var=LD_LIBRARY_PATH
11261 shlibpath_overrides_runpath=yes
11268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11269 soname_spec='${libname}${release}${shared_ext}$major'
11270 shlibpath_var=LD_LIBRARY_PATH
11271 shlibpath_overrides_runpath=no
11272 hardcode_into_libs=yes
11273 dynamic_linker='ldqnx.so'
11278 sys_lib_dlsearch_path_spec="/usr/lib"
11280 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11282 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11283 *) need_version=no ;;
11285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11286 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11287 shlibpath_var=LD_LIBRARY_PATH
11288 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11290 openbsd2.[89] | openbsd2.[89].*)
11291 shlibpath_overrides_runpath=no
11294 shlibpath_overrides_runpath=yes
11298 shlibpath_overrides_runpath=yes
11303 libname_spec='$name'
11306 library_names_spec='$libname${shared_ext} $libname.a'
11307 dynamic_linker='OS/2 ld.exe'
11308 shlibpath_var=LIBPATH
11311 osf3* | osf4* | osf5*)
11315 soname_spec='${libname}${release}${shared_ext}$major'
11316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11317 shlibpath_var=LD_LIBRARY_PATH
11318 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11319 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11331 soname_spec='${libname}${release}${shared_ext}$major'
11332 shlibpath_var=LD_LIBRARY_PATH
11333 shlibpath_overrides_runpath=yes
11334 hardcode_into_libs=yes
11335 # ldd complains unless libraries are executable
11336 postinstall_cmds='chmod +x $lib'
11341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11342 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11343 shlibpath_var=LD_LIBRARY_PATH
11344 shlibpath_overrides_runpath=yes
11345 if test "$with_gnu_ld" = yes; then
11353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11354 soname_spec='${libname}${release}${shared_ext}$major'
11355 shlibpath_var=LD_LIBRARY_PATH
11356 case $host_vendor in
11358 shlibpath_overrides_runpath=no
11360 runpath_var=LD_RUN_PATH
11368 shlibpath_overrides_runpath=no
11369 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11375 if test -d /usr/nec ;then
11377 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11378 soname_spec='$libname${shared_ext}.$major'
11379 shlibpath_var=LD_LIBRARY_PATH
11383 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11384 version_type=freebsd-elf
11387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11388 soname_spec='${libname}${release}${shared_ext}$major'
11389 shlibpath_var=LD_LIBRARY_PATH
11390 shlibpath_overrides_runpath=yes
11391 hardcode_into_libs=yes
11392 if test "$with_gnu_ld" = yes; then
11393 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11395 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11398 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11402 sys_lib_dlsearch_path_spec='/usr/lib'
11406 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11411 shlibpath_var=LD_LIBRARY_PATH
11412 shlibpath_overrides_runpath=no
11413 hardcode_into_libs=yes
11418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11419 soname_spec='${libname}${release}${shared_ext}$major'
11420 shlibpath_var=LD_LIBRARY_PATH
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11428 $as_echo "$dynamic_linker" >&6; }
11429 test "$dynamic_linker" = no && can_build_shared=no
11431 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11432 if test "$GCC" = yes; then
11433 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11436 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11437 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11439 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11440 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11530 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11532 if test -n "$hardcode_libdir_flag_spec" ||
11533 test -n "$runpath_var" ||
11534 test "X$hardcode_automatic" = "Xyes" ; then
11536 # We can hardcode non-existent directories.
11537 if test "$hardcode_direct" != no &&
11538 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11539 # have to relink, otherwise we might link with an installed library
11540 # when we should be linking with a yet-to-be-installed one
11541 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11542 test "$hardcode_minus_L" != no; then
11543 # Linking always hardcodes the temporary library directory.
11544 hardcode_action=relink
11546 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11547 hardcode_action=immediate
11550 # We cannot hardcode anything, or else we can only hardcode existing
11552 hardcode_action=unsupported
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11555 $as_echo "$hardcode_action" >&6; }
11557 if test "$hardcode_action" = relink ||
11558 test "$inherit_rpath" = yes; then
11559 # Fast installation is not supported
11560 enable_fast_install=no
11561 elif test "$shlibpath_overrides_runpath" = yes ||
11562 test "$enable_shared" = no; then
11563 # Fast installation is not necessary
11564 enable_fast_install=needless
11572 if test "x$enable_dlopen" != xyes; then
11573 enable_dlopen=unknown
11574 enable_dlopen_self=unknown
11575 enable_dlopen_self_static=unknown
11582 lt_cv_dlopen="load_add_on"
11584 lt_cv_dlopen_self=yes
11587 mingw* | pw32* | cegcc*)
11588 lt_cv_dlopen="LoadLibrary"
11593 lt_cv_dlopen="dlopen"
11598 # if libdl is installed we need to link against it
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11600 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11601 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11602 $as_echo_n "(cached) " >&6
11604 ac_check_lib_save_LIBS=$LIBS
11606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11607 /* end confdefs.h. */
11609 /* Override any GCC internal prototype to avoid an error.
11610 Use char because int might match the return type of a GCC
11611 builtin and then its argument prototype would still apply. */
11624 if ac_fn_c_try_link "$LINENO"; then :
11625 ac_cv_lib_dl_dlopen=yes
11627 ac_cv_lib_dl_dlopen=no
11629 rm -f core conftest.err conftest.$ac_objext \
11630 conftest$ac_exeext conftest.$ac_ext
11631 LIBS=$ac_check_lib_save_LIBS
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11634 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11635 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11636 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11639 lt_cv_dlopen="dyld"
11641 lt_cv_dlopen_self=yes
11648 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11649 if test "x$ac_cv_func_shl_load" = x""yes; then :
11650 lt_cv_dlopen="shl_load"
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11653 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11654 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11655 $as_echo_n "(cached) " >&6
11657 ac_check_lib_save_LIBS=$LIBS
11659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11660 /* end confdefs.h. */
11662 /* Override any GCC internal prototype to avoid an error.
11663 Use char because int might match the return type of a GCC
11664 builtin and then its argument prototype would still apply. */
11672 return shl_load ();
11677 if ac_fn_c_try_link "$LINENO"; then :
11678 ac_cv_lib_dld_shl_load=yes
11680 ac_cv_lib_dld_shl_load=no
11682 rm -f core conftest.err conftest.$ac_objext \
11683 conftest$ac_exeext conftest.$ac_ext
11684 LIBS=$ac_check_lib_save_LIBS
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11687 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11688 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11689 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11691 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11692 if test "x$ac_cv_func_dlopen" = x""yes; then :
11693 lt_cv_dlopen="dlopen"
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11696 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11697 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11698 $as_echo_n "(cached) " >&6
11700 ac_check_lib_save_LIBS=$LIBS
11702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11703 /* end confdefs.h. */
11705 /* Override any GCC internal prototype to avoid an error.
11706 Use char because int might match the return type of a GCC
11707 builtin and then its argument prototype would still apply. */
11720 if ac_fn_c_try_link "$LINENO"; then :
11721 ac_cv_lib_dl_dlopen=yes
11723 ac_cv_lib_dl_dlopen=no
11725 rm -f core conftest.err conftest.$ac_objext \
11726 conftest$ac_exeext conftest.$ac_ext
11727 LIBS=$ac_check_lib_save_LIBS
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11730 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11731 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11732 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11735 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11736 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11737 $as_echo_n "(cached) " >&6
11739 ac_check_lib_save_LIBS=$LIBS
11740 LIBS="-lsvld $LIBS"
11741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11742 /* end confdefs.h. */
11744 /* Override any GCC internal prototype to avoid an error.
11745 Use char because int might match the return type of a GCC
11746 builtin and then its argument prototype would still apply. */
11759 if ac_fn_c_try_link "$LINENO"; then :
11760 ac_cv_lib_svld_dlopen=yes
11762 ac_cv_lib_svld_dlopen=no
11764 rm -f core conftest.err conftest.$ac_objext \
11765 conftest$ac_exeext conftest.$ac_ext
11766 LIBS=$ac_check_lib_save_LIBS
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11769 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11770 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11771 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11774 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11775 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11776 $as_echo_n "(cached) " >&6
11778 ac_check_lib_save_LIBS=$LIBS
11780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11781 /* end confdefs.h. */
11783 /* Override any GCC internal prototype to avoid an error.
11784 Use char because int might match the return type of a GCC
11785 builtin and then its argument prototype would still apply. */
11793 return dld_link ();
11798 if ac_fn_c_try_link "$LINENO"; then :
11799 ac_cv_lib_dld_dld_link=yes
11801 ac_cv_lib_dld_dld_link=no
11803 rm -f core conftest.err conftest.$ac_objext \
11804 conftest$ac_exeext conftest.$ac_ext
11805 LIBS=$ac_check_lib_save_LIBS
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11808 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11809 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11810 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11831 if test "x$lt_cv_dlopen" != xno; then
11837 case $lt_cv_dlopen in
11839 save_CPPFLAGS="$CPPFLAGS"
11840 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11842 save_LDFLAGS="$LDFLAGS"
11843 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11846 LIBS="$lt_cv_dlopen_libs $LIBS"
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11849 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11850 if test "${lt_cv_dlopen_self+set}" = set; then :
11851 $as_echo_n "(cached) " >&6
11853 if test "$cross_compiling" = yes; then :
11854 lt_cv_dlopen_self=cross
11856 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11857 lt_status=$lt_dlunknown
11858 cat > conftest.$ac_ext <<_LT_EOF
11859 #line 11859 "configure"
11860 #include "confdefs.h"
11869 # define LT_DLGLOBAL RTLD_GLOBAL
11872 # define LT_DLGLOBAL DL_GLOBAL
11874 # define LT_DLGLOBAL 0
11878 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11879 find out it does not work in some platform. */
11880 #ifndef LT_DLLAZY_OR_NOW
11882 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11885 # define LT_DLLAZY_OR_NOW DL_LAZY
11888 # define LT_DLLAZY_OR_NOW RTLD_NOW
11891 # define LT_DLLAZY_OR_NOW DL_NOW
11893 # define LT_DLLAZY_OR_NOW 0
11900 void fnord() { int i=42;}
11903 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11904 int status = $lt_dlunknown;
11908 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11909 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11910 /* dlclose (self); */
11918 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11919 (eval $ac_link) 2>&5
11921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11922 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11923 (./conftest; exit; ) >&5 2>/dev/null
11925 case x$lt_status in
11926 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11927 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11928 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11931 # compilation failed
11932 lt_cv_dlopen_self=no
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11940 $as_echo "$lt_cv_dlopen_self" >&6; }
11942 if test "x$lt_cv_dlopen_self" = xyes; then
11943 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11945 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11946 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11947 $as_echo_n "(cached) " >&6
11949 if test "$cross_compiling" = yes; then :
11950 lt_cv_dlopen_self_static=cross
11952 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11953 lt_status=$lt_dlunknown
11954 cat > conftest.$ac_ext <<_LT_EOF
11955 #line 11955 "configure"
11956 #include "confdefs.h"
11965 # define LT_DLGLOBAL RTLD_GLOBAL
11968 # define LT_DLGLOBAL DL_GLOBAL
11970 # define LT_DLGLOBAL 0
11974 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11975 find out it does not work in some platform. */
11976 #ifndef LT_DLLAZY_OR_NOW
11978 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11981 # define LT_DLLAZY_OR_NOW DL_LAZY
11984 # define LT_DLLAZY_OR_NOW RTLD_NOW
11987 # define LT_DLLAZY_OR_NOW DL_NOW
11989 # define LT_DLLAZY_OR_NOW 0
11996 void fnord() { int i=42;}
11999 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12000 int status = $lt_dlunknown;
12004 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12005 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12006 /* dlclose (self); */
12014 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12015 (eval $ac_link) 2>&5
12017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12018 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12019 (./conftest; exit; ) >&5 2>/dev/null
12021 case x$lt_status in
12022 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12023 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12024 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12027 # compilation failed
12028 lt_cv_dlopen_self_static=no
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12036 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12039 CPPFLAGS="$save_CPPFLAGS"
12040 LDFLAGS="$save_LDFLAGS"
12045 case $lt_cv_dlopen_self in
12046 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12047 *) enable_dlopen_self=unknown ;;
12050 case $lt_cv_dlopen_self_static in
12051 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12052 *) enable_dlopen_self_static=unknown ;;
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12075 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12076 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12077 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12078 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12080 $as_echo "yes" >&6; }
12082 # FIXME - insert some real tests, host_os isn't really good enough
12085 if test -n "$STRIP" ; then
12086 striplib="$STRIP -x"
12087 old_striplib="$STRIP -S"
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12089 $as_echo "yes" >&6; }
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12092 $as_echo "no" >&6; }
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12097 $as_echo "no" >&6; }
12113 # Report which library types will actually be built
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12115 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12117 $as_echo "$can_build_shared" >&6; }
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12120 $as_echo_n "checking whether to build shared libraries... " >&6; }
12121 test "$can_build_shared" = "no" && enable_shared=no
12123 # On AIX, shared libraries and static libraries use the same namespace, and
12124 # are all built from PIC.
12127 test "$enable_shared" = yes && enable_static=no
12128 if test -n "$RANLIB"; then
12129 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12130 postinstall_cmds='$RANLIB $lib'
12135 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12136 test "$enable_shared" = yes && enable_static=no
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12141 $as_echo "$enable_shared" >&6; }
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12144 $as_echo_n "checking whether to build static libraries... " >&6; }
12145 # Make sure either enable_shared or enable_static is yes.
12146 test "$enable_shared" = yes || enable_static=yes
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12148 $as_echo "$enable_static" >&6; }
12155 ac_cpp='$CPP $CPPFLAGS'
12156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12174 ac_config_commands="$ac_config_commands libtool"
12179 # Only expand once:
12189 # Check whether --with-autoconf was given.
12190 if test "${with_autoconf+set}" = set; then :
12191 withval=$with_autoconf;
12194 AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
12197 $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
12203 # Check whether --with-autoheader was given.
12204 if test "${with_autoheader+set}" = set; then :
12205 withval=$with_autoheader;
12208 AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
12211 $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
12217 # Check whether --with-automake was given.
12218 if test "${with_automake+set}" = set; then :
12219 withval=$with_automake;
12222 AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
12225 $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
12231 # Check whether --with-aclocal was given.
12232 if test "${with_aclocal+set}" = set; then :
12233 withval=$with_aclocal;
12236 ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
12239 $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
12245 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12251 $as_echo_n "checking whether NLS is requested... " >&6; }
12252 # Check whether --enable-nls was given.
12253 if test "${enable_nls+set}" = set; then :
12254 enableval=$enable_nls; USE_NLS=$enableval
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12260 $as_echo "$USE_NLS" >&6; }
12265 GETTEXT_MACRO_VERSION=0.17
12270 # Prepare PATH_SEPARATOR.
12271 # The user is always right.
12272 if test "${PATH_SEPARATOR+set}" != set; then
12273 echo "#! /bin/sh" >conf$$.sh
12274 echo "exit 0" >>conf$$.sh
12276 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12284 # Find out how to test for executable files. Don't use a zero-byte file,
12285 # as systems may use methods other than mode bits to determine executability.
12286 cat >conf$$.file <<_ASEOF
12290 chmod +x conf$$.file
12291 if test -x conf$$.file >/dev/null 2>&1; then
12292 ac_executable_p="test -x"
12294 ac_executable_p="test -f"
12298 # Extract the first word of "msgfmt", so it can be a program name with args.
12299 set dummy msgfmt; ac_word=$2
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12301 $as_echo_n "checking for $ac_word... " >&6; }
12302 if test "${ac_cv_path_MSGFMT+set}" = set; then :
12303 $as_echo_n "(cached) " >&6
12307 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12310 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12311 for ac_dir in $PATH; do
12313 test -z "$ac_dir" && ac_dir=.
12314 for ac_exec_ext in '' $ac_executable_extensions; do
12315 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12316 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12317 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
12318 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12319 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12326 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12330 MSGFMT="$ac_cv_path_MSGFMT"
12331 if test "$MSGFMT" != ":"; then
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12333 $as_echo "$MSGFMT" >&6; }
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12336 $as_echo "no" >&6; }
12339 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12340 set dummy gmsgfmt; ac_word=$2
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12342 $as_echo_n "checking for $ac_word... " >&6; }
12343 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12344 $as_echo_n "(cached) " >&6
12348 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12352 for as_dir in $PATH
12355 test -z "$as_dir" && as_dir=.
12356 for ac_exec_ext in '' $ac_executable_extensions; do
12357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12358 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12366 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12370 GMSGFMT=$ac_cv_path_GMSGFMT
12371 if test -n "$GMSGFMT"; then
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12373 $as_echo "$GMSGFMT" >&6; }
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12376 $as_echo "no" >&6; }
12381 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12382 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
12383 *) MSGFMT_015=$MSGFMT ;;
12386 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12387 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
12388 *) GMSGFMT_015=$GMSGFMT ;;
12393 # Prepare PATH_SEPARATOR.
12394 # The user is always right.
12395 if test "${PATH_SEPARATOR+set}" != set; then
12396 echo "#! /bin/sh" >conf$$.sh
12397 echo "exit 0" >>conf$$.sh
12399 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12407 # Find out how to test for executable files. Don't use a zero-byte file,
12408 # as systems may use methods other than mode bits to determine executability.
12409 cat >conf$$.file <<_ASEOF
12413 chmod +x conf$$.file
12414 if test -x conf$$.file >/dev/null 2>&1; then
12415 ac_executable_p="test -x"
12417 ac_executable_p="test -f"
12421 # Extract the first word of "xgettext", so it can be a program name with args.
12422 set dummy xgettext; ac_word=$2
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12424 $as_echo_n "checking for $ac_word... " >&6; }
12425 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12426 $as_echo_n "(cached) " >&6
12428 case "$XGETTEXT" in
12430 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12433 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12434 for ac_dir in $PATH; do
12436 test -z "$ac_dir" && ac_dir=.
12437 for ac_exec_ext in '' $ac_executable_extensions; do
12438 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12439 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12440 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
12441 (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
12442 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
12449 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12453 XGETTEXT="$ac_cv_path_XGETTEXT"
12454 if test "$XGETTEXT" != ":"; then
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12456 $as_echo "$XGETTEXT" >&6; }
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12459 $as_echo "no" >&6; }
12464 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12465 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
12466 *) XGETTEXT_015=$XGETTEXT ;;
12471 # Prepare PATH_SEPARATOR.
12472 # The user is always right.
12473 if test "${PATH_SEPARATOR+set}" != set; then
12474 echo "#! /bin/sh" >conf$$.sh
12475 echo "exit 0" >>conf$$.sh
12477 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12485 # Find out how to test for executable files. Don't use a zero-byte file,
12486 # as systems may use methods other than mode bits to determine executability.
12487 cat >conf$$.file <<_ASEOF
12491 chmod +x conf$$.file
12492 if test -x conf$$.file >/dev/null 2>&1; then
12493 ac_executable_p="test -x"
12495 ac_executable_p="test -f"
12499 # Extract the first word of "msgmerge", so it can be a program name with args.
12500 set dummy msgmerge; ac_word=$2
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12502 $as_echo_n "checking for $ac_word... " >&6; }
12503 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12504 $as_echo_n "(cached) " >&6
12506 case "$MSGMERGE" in
12508 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12511 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12512 for ac_dir in $PATH; do
12514 test -z "$ac_dir" && ac_dir=.
12515 for ac_exec_ext in '' $ac_executable_extensions; do
12516 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12517 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12518 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
12519 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12526 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12530 MSGMERGE="$ac_cv_path_MSGMERGE"
12531 if test "$MSGMERGE" != ":"; then
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12533 $as_echo "$MSGMERGE" >&6; }
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12536 $as_echo "no" >&6; }
12540 test -n "$localedir" || localedir='${datadir}/locale'
12543 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
12546 ac_config_commands="$ac_config_commands po-directories"
12550 if test "X$prefix" = "XNONE"; then
12551 acl_final_prefix="$ac_default_prefix"
12553 acl_final_prefix="$prefix"
12555 if test "X$exec_prefix" = "XNONE"; then
12556 acl_final_exec_prefix='${prefix}'
12558 acl_final_exec_prefix="$exec_prefix"
12560 acl_save_prefix="$prefix"
12561 prefix="$acl_final_prefix"
12562 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12563 prefix="$acl_save_prefix"
12566 # Check whether --with-gnu-ld was given.
12567 if test "${with_gnu_ld+set}" = set; then :
12568 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12573 # Prepare PATH_SEPARATOR.
12574 # The user is always right.
12575 if test "${PATH_SEPARATOR+set}" != set; then
12576 echo "#! /bin/sh" >conf$$.sh
12577 echo "exit 0" >>conf$$.sh
12579 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12587 if test "$GCC" = yes; then
12588 # Check if gcc -print-prog-name=ld gives a path.
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12590 $as_echo_n "checking for ld used by GCC... " >&6; }
12593 # gcc leaves a trailing carriage return which upsets mingw
12594 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12596 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12599 # Accept absolute paths.
12600 [\\/]* | [A-Za-z]:[\\/]*)
12601 re_direlt='/[^/][^/]*/\.\./'
12602 # Canonicalize the path of ld
12603 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12604 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12605 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12607 test -z "$LD" && LD="$ac_prog"
12610 # If it fails, then pretend we aren't using GCC.
12614 # If it is relative, then search for the first ld in PATH.
12615 with_gnu_ld=unknown
12618 elif test "$with_gnu_ld" = yes; then
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12620 $as_echo_n "checking for GNU ld... " >&6; }
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12623 $as_echo_n "checking for non-GNU ld... " >&6; }
12625 if test "${acl_cv_path_LD+set}" = set; then :
12626 $as_echo_n "(cached) " >&6
12628 if test -z "$LD"; then
12629 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12630 for ac_dir in $PATH; do
12631 test -z "$ac_dir" && ac_dir=.
12632 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12633 acl_cv_path_LD="$ac_dir/$ac_prog"
12634 # Check to see if the program is GNU ld. I'd rather use --version,
12635 # but apparently some GNU ld's only accept -v.
12636 # Break only if it was the GNU/non-GNU ld that we prefer.
12637 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12638 *GNU* | *'with BFD'*)
12639 test "$with_gnu_ld" != no && break ;;
12641 test "$with_gnu_ld" != yes && break ;;
12647 acl_cv_path_LD="$LD" # Let the user override the test with a path.
12651 LD="$acl_cv_path_LD"
12652 if test -n "$LD"; then
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12654 $as_echo "$LD" >&6; }
12656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12657 $as_echo "no" >&6; }
12659 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12661 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12662 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
12663 $as_echo_n "(cached) " >&6
12665 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12666 case `$LD -v 2>&1 </dev/null` in
12667 *GNU* | *'with BFD'*)
12668 acl_cv_prog_gnu_ld=yes ;;
12670 acl_cv_prog_gnu_ld=no ;;
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12674 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12675 with_gnu_ld=$acl_cv_prog_gnu_ld
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12681 $as_echo_n "checking for shared library run path origin... " >&6; }
12682 if test "${acl_cv_rpath+set}" = set; then :
12683 $as_echo_n "(cached) " >&6
12686 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12687 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12689 rm -f ./conftest.sh
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12694 $as_echo "$acl_cv_rpath" >&6; }
12696 acl_libext="$acl_cv_libext"
12697 acl_shlibext="$acl_cv_shlibext"
12698 acl_libname_spec="$acl_cv_libname_spec"
12699 acl_library_names_spec="$acl_cv_library_names_spec"
12700 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12701 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12702 acl_hardcode_direct="$acl_cv_hardcode_direct"
12703 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12704 # Check whether --enable-rpath was given.
12705 if test "${enable_rpath+set}" = set; then :
12706 enableval=$enable_rpath; :
12714 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12715 if test -n "$searchpath"; then
12716 acl_save_IFS="${IFS= }"; IFS=":"
12717 for searchdir in $searchpath; do
12718 if test -d "$searchdir"; then
12719 case "$searchdir" in
12720 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12721 *) searchdir=`cd "$searchdir" && pwd`
12722 case "$searchdir" in
12723 */lib64 ) acl_libdirstem=lib64 ;;
12728 IFS="$acl_save_IFS"
12741 acl_save_prefix="$prefix"
12742 prefix="$acl_final_prefix"
12743 acl_save_exec_prefix="$exec_prefix"
12744 exec_prefix="$acl_final_exec_prefix"
12746 eval additional_includedir=\"$includedir\"
12747 eval additional_libdir=\"$libdir\"
12749 exec_prefix="$acl_save_exec_prefix"
12750 prefix="$acl_save_prefix"
12753 # Check whether --with-libiconv-prefix was given.
12754 if test "${with_libiconv_prefix+set}" = set; then :
12755 withval=$with_libiconv_prefix;
12756 if test "X$withval" = "Xno"; then
12759 if test "X$withval" = "X"; then
12761 acl_save_prefix="$prefix"
12762 prefix="$acl_final_prefix"
12763 acl_save_exec_prefix="$exec_prefix"
12764 exec_prefix="$acl_final_exec_prefix"
12766 eval additional_includedir=\"$includedir\"
12767 eval additional_libdir=\"$libdir\"
12769 exec_prefix="$acl_save_exec_prefix"
12770 prefix="$acl_save_prefix"
12773 additional_includedir="$withval/include"
12774 additional_libdir="$withval/$acl_libdirstem"
12786 names_already_handled=
12787 names_next_round='iconv '
12788 while test -n "$names_next_round"; do
12789 names_this_round="$names_next_round"
12791 for name in $names_this_round; do
12793 for n in $names_already_handled; do
12794 if test "$n" = "$name"; then
12795 already_handled=yes
12799 if test -z "$already_handled"; then
12800 names_already_handled="$names_already_handled $name"
12801 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12802 eval value=\"\$HAVE_LIB$uppername\"
12803 if test -n "$value"; then
12804 if test "$value" = yes; then
12805 eval value=\"\$LIB$uppername\"
12806 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12807 eval value=\"\$LTLIB$uppername\"
12808 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12817 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
12818 if test -n "$acl_shlibext"; then
12819 shrext=".$acl_shlibext" # typically: shrext=.so
12823 if test $use_additional = yes; then
12824 dir="$additional_libdir"
12825 if test -n "$acl_shlibext"; then
12826 if test -f "$dir/$libname$shrext"; then
12828 found_so="$dir/$libname$shrext"
12830 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12831 ver=`(cd "$dir" && \
12832 for f in "$libname$shrext".*; do echo "$f"; done \
12833 | sed -e "s,^$libname$shrext\\\\.,," \
12834 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12835 | sed 1q ) 2>/dev/null`
12836 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12838 found_so="$dir/$libname$shrext.$ver"
12841 eval library_names=\"$acl_library_names_spec\"
12842 for f in $library_names; do
12843 if test -f "$dir/$f"; then
12852 if test "X$found_dir" = "X"; then
12853 if test -f "$dir/$libname.$acl_libext"; then
12855 found_a="$dir/$libname.$acl_libext"
12858 if test "X$found_dir" != "X"; then
12859 if test -f "$dir/$libname.la"; then
12860 found_la="$dir/$libname.la"
12864 if test "X$found_dir" = "X"; then
12865 for x in $LDFLAGS $LTLIBICONV; do
12867 acl_save_prefix="$prefix"
12868 prefix="$acl_final_prefix"
12869 acl_save_exec_prefix="$exec_prefix"
12870 exec_prefix="$acl_final_exec_prefix"
12872 exec_prefix="$acl_save_exec_prefix"
12873 prefix="$acl_save_prefix"
12877 dir=`echo "X$x" | sed -e 's/^X-L//'`
12878 if test -n "$acl_shlibext"; then
12879 if test -f "$dir/$libname$shrext"; then
12881 found_so="$dir/$libname$shrext"
12883 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12884 ver=`(cd "$dir" && \
12885 for f in "$libname$shrext".*; do echo "$f"; done \
12886 | sed -e "s,^$libname$shrext\\\\.,," \
12887 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12888 | sed 1q ) 2>/dev/null`
12889 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12891 found_so="$dir/$libname$shrext.$ver"
12894 eval library_names=\"$acl_library_names_spec\"
12895 for f in $library_names; do
12896 if test -f "$dir/$f"; then
12905 if test "X$found_dir" = "X"; then
12906 if test -f "$dir/$libname.$acl_libext"; then
12908 found_a="$dir/$libname.$acl_libext"
12911 if test "X$found_dir" != "X"; then
12912 if test -f "$dir/$libname.la"; then
12913 found_la="$dir/$libname.la"
12918 if test "X$found_dir" != "X"; then
12923 if test "X$found_dir" != "X"; then
12924 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12925 if test "X$found_so" != "X"; then
12926 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12927 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12930 for x in $ltrpathdirs; do
12931 if test "X$x" = "X$found_dir"; then
12936 if test -z "$haveit"; then
12937 ltrpathdirs="$ltrpathdirs $found_dir"
12939 if test "$acl_hardcode_direct" = yes; then
12940 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12942 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
12943 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12945 for x in $rpathdirs; do
12946 if test "X$x" = "X$found_dir"; then
12951 if test -z "$haveit"; then
12952 rpathdirs="$rpathdirs $found_dir"
12956 for x in $LDFLAGS $LIBICONV; do
12958 acl_save_prefix="$prefix"
12959 prefix="$acl_final_prefix"
12960 acl_save_exec_prefix="$exec_prefix"
12961 exec_prefix="$acl_final_exec_prefix"
12963 exec_prefix="$acl_save_exec_prefix"
12964 prefix="$acl_save_prefix"
12966 if test "X$x" = "X-L$found_dir"; then
12971 if test -z "$haveit"; then
12972 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12974 if test "$acl_hardcode_minus_L" != no; then
12975 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12977 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12983 if test "X$found_a" != "X"; then
12984 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12986 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12989 additional_includedir=
12990 case "$found_dir" in
12991 */$acl_libdirstem | */$acl_libdirstem/)
12992 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12993 LIBICONV_PREFIX="$basedir"
12994 additional_includedir="$basedir/include"
12997 if test "X$additional_includedir" != "X"; then
12998 if test "X$additional_includedir" != "X/usr/include"; then
13000 if test "X$additional_includedir" = "X/usr/local/include"; then
13001 if test -n "$GCC"; then
13003 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13007 if test -z "$haveit"; then
13008 for x in $CPPFLAGS $INCICONV; do
13010 acl_save_prefix="$prefix"
13011 prefix="$acl_final_prefix"
13012 acl_save_exec_prefix="$exec_prefix"
13013 exec_prefix="$acl_final_exec_prefix"
13015 exec_prefix="$acl_save_exec_prefix"
13016 prefix="$acl_save_prefix"
13018 if test "X$x" = "X-I$additional_includedir"; then
13023 if test -z "$haveit"; then
13024 if test -d "$additional_includedir"; then
13025 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13031 if test -n "$found_la"; then
13032 save_libdir="$libdir"
13033 case "$found_la" in
13034 */* | *\\*) . "$found_la" ;;
13035 *) . "./$found_la" ;;
13037 libdir="$save_libdir"
13038 for dep in $dependency_libs; do
13041 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13042 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13044 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13045 if test -n "$GCC"; then
13047 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13051 if test -z "$haveit"; then
13053 for x in $LDFLAGS $LIBICONV; do
13055 acl_save_prefix="$prefix"
13056 prefix="$acl_final_prefix"
13057 acl_save_exec_prefix="$exec_prefix"
13058 exec_prefix="$acl_final_exec_prefix"
13060 exec_prefix="$acl_save_exec_prefix"
13061 prefix="$acl_save_prefix"
13063 if test "X$x" = "X-L$additional_libdir"; then
13068 if test -z "$haveit"; then
13069 if test -d "$additional_libdir"; then
13070 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13074 for x in $LDFLAGS $LTLIBICONV; do
13076 acl_save_prefix="$prefix"
13077 prefix="$acl_final_prefix"
13078 acl_save_exec_prefix="$exec_prefix"
13079 exec_prefix="$acl_final_exec_prefix"
13081 exec_prefix="$acl_save_exec_prefix"
13082 prefix="$acl_save_prefix"
13084 if test "X$x" = "X-L$additional_libdir"; then
13089 if test -z "$haveit"; then
13090 if test -d "$additional_libdir"; then
13091 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13098 dir=`echo "X$dep" | sed -e 's/^X-R//'`
13099 if test "$enable_rpath" != no; then
13101 for x in $rpathdirs; do
13102 if test "X$x" = "X$dir"; then
13107 if test -z "$haveit"; then
13108 rpathdirs="$rpathdirs $dir"
13111 for x in $ltrpathdirs; do
13112 if test "X$x" = "X$dir"; then
13117 if test -z "$haveit"; then
13118 ltrpathdirs="$ltrpathdirs $dir"
13123 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13126 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13129 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13130 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13136 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13137 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13143 if test "X$rpathdirs" != "X"; then
13144 if test -n "$acl_hardcode_libdir_separator"; then
13146 for found_dir in $rpathdirs; do
13147 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13149 acl_save_libdir="$libdir"
13151 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13152 libdir="$acl_save_libdir"
13153 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13155 for found_dir in $rpathdirs; do
13156 acl_save_libdir="$libdir"
13157 libdir="$found_dir"
13158 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13159 libdir="$acl_save_libdir"
13160 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13164 if test "X$ltrpathdirs" != "X"; then
13165 for found_dir in $ltrpathdirs; do
13166 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13195 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13196 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
13197 $as_echo_n "(cached) " >&6
13199 gt_save_LIBS="$LIBS"
13200 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13202 /* end confdefs.h. */
13203 #include <CoreFoundation/CFPreferences.h>
13207 CFPreferencesCopyAppValue(NULL, NULL)
13212 if ac_fn_c_try_link "$LINENO"; then :
13213 gt_cv_func_CFPreferencesCopyAppValue=yes
13215 gt_cv_func_CFPreferencesCopyAppValue=no
13217 rm -f core conftest.err conftest.$ac_objext \
13218 conftest$ac_exeext conftest.$ac_ext
13219 LIBS="$gt_save_LIBS"
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
13222 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
13223 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
13225 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13229 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13230 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
13231 $as_echo_n "(cached) " >&6
13233 gt_save_LIBS="$LIBS"
13234 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13236 /* end confdefs.h. */
13237 #include <CoreFoundation/CFLocale.h>
13241 CFLocaleCopyCurrent();
13246 if ac_fn_c_try_link "$LINENO"; then :
13247 gt_cv_func_CFLocaleCopyCurrent=yes
13249 gt_cv_func_CFLocaleCopyCurrent=no
13251 rm -f core conftest.err conftest.$ac_objext \
13252 conftest$ac_exeext conftest.$ac_ext
13253 LIBS="$gt_save_LIBS"
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
13256 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
13257 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13259 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
13263 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13264 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
13276 case " $gt_needs " in
13277 *" need-formatstring-macros "*) gt_api_version=3 ;;
13278 *" need-ngettext "*) gt_api_version=2 ;;
13279 *) gt_api_version=1 ;;
13281 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
13282 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
13284 if test "$USE_NLS" = "yes"; then
13285 gt_use_preinstalled_gnugettext=no
13288 if test $gt_api_version -ge 3; then
13289 gt_revision_test_code='
13290 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
13291 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
13293 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
13296 gt_revision_test_code=
13298 if test $gt_api_version -ge 2; then
13299 gt_expression_test_code=' + * ngettext ("", "", 0)'
13301 gt_expression_test_code=
13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13305 $as_echo_n "checking for GNU gettext in libc... " >&6; }
13306 if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
13307 $as_echo_n "(cached) " >&6
13309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13310 /* end confdefs.h. */
13311 #include <libintl.h>
13312 $gt_revision_test_code
13313 extern int _nl_msg_cat_cntr;
13314 extern int *_nl_domain_bindings;
13318 bindtextdomain ("", "");
13319 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
13324 if ac_fn_c_try_link "$LINENO"; then :
13325 eval "$gt_func_gnugettext_libc=yes"
13327 eval "$gt_func_gnugettext_libc=no"
13329 rm -f core conftest.err conftest.$ac_objext \
13330 conftest$ac_exeext conftest.$ac_ext
13332 eval ac_res=\$$gt_func_gnugettext_libc
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13334 $as_echo "$ac_res" >&6; }
13336 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
13342 am_save_CPPFLAGS="$CPPFLAGS"
13344 for element in $INCICONV; do
13346 for x in $CPPFLAGS; do
13348 acl_save_prefix="$prefix"
13349 prefix="$acl_final_prefix"
13350 acl_save_exec_prefix="$exec_prefix"
13351 exec_prefix="$acl_final_exec_prefix"
13353 exec_prefix="$acl_save_exec_prefix"
13354 prefix="$acl_save_prefix"
13356 if test "X$x" = "X$element"; then
13361 if test -z "$haveit"; then
13362 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13368 $as_echo_n "checking for iconv... " >&6; }
13369 if test "${am_cv_func_iconv+set}" = set; then :
13370 $as_echo_n "(cached) " >&6
13373 am_cv_func_iconv="no, consider installing GNU libiconv"
13375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13376 /* end confdefs.h. */
13377 #include <stdlib.h>
13382 iconv_t cd = iconv_open("","");
13383 iconv(cd,NULL,NULL,NULL,NULL);
13389 if ac_fn_c_try_link "$LINENO"; then :
13390 am_cv_func_iconv=yes
13392 rm -f core conftest.err conftest.$ac_objext \
13393 conftest$ac_exeext conftest.$ac_ext
13394 if test "$am_cv_func_iconv" != yes; then
13395 am_save_LIBS="$LIBS"
13396 LIBS="$LIBS $LIBICONV"
13397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13398 /* end confdefs.h. */
13399 #include <stdlib.h>
13404 iconv_t cd = iconv_open("","");
13405 iconv(cd,NULL,NULL,NULL,NULL);
13411 if ac_fn_c_try_link "$LINENO"; then :
13412 am_cv_lib_iconv=yes
13413 am_cv_func_iconv=yes
13415 rm -f core conftest.err conftest.$ac_objext \
13416 conftest$ac_exeext conftest.$ac_ext
13417 LIBS="$am_save_LIBS"
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13422 $as_echo "$am_cv_func_iconv" >&6; }
13423 if test "$am_cv_func_iconv" = yes; then
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13425 $as_echo_n "checking for working iconv... " >&6; }
13426 if test "${am_cv_func_iconv_works+set}" = set; then :
13427 $as_echo_n "(cached) " >&6
13430 am_save_LIBS="$LIBS"
13431 if test $am_cv_lib_iconv = yes; then
13432 LIBS="$LIBS $LIBICONV"
13434 if test "$cross_compiling" = yes; then :
13436 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13437 *) am_cv_func_iconv_works="guessing yes" ;;
13440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13441 /* end confdefs.h. */
13444 #include <string.h>
13447 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13450 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13451 if (cd_utf8_to_88591 != (iconv_t)(-1))
13453 static const char input[] = "\342\202\254"; /* EURO SIGN */
13455 const char *inptr = input;
13456 size_t inbytesleft = strlen (input);
13457 char *outptr = buf;
13458 size_t outbytesleft = sizeof (buf);
13459 size_t res = iconv (cd_utf8_to_88591,
13460 (char **) &inptr, &inbytesleft,
13461 &outptr, &outbytesleft);
13466 #if 0 /* This bug could be worked around by the caller. */
13467 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
13469 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13470 if (cd_88591_to_utf8 != (iconv_t)(-1))
13472 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13474 const char *inptr = input;
13475 size_t inbytesleft = strlen (input);
13476 char *outptr = buf;
13477 size_t outbytesleft = sizeof (buf);
13478 size_t res = iconv (cd_88591_to_utf8,
13479 (char **) &inptr, &inbytesleft,
13480 &outptr, &outbytesleft);
13486 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13488 if (/* Try standardized names. */
13489 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13490 /* Try IRIX, OSF/1 names. */
13491 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13492 /* Try AIX names. */
13493 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13494 /* Try HP-UX names. */
13495 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13500 if ac_fn_c_try_run "$LINENO"; then :
13501 am_cv_func_iconv_works=yes
13503 am_cv_func_iconv_works=no
13505 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13506 conftest.$ac_objext conftest.beam conftest.$ac_ext
13509 LIBS="$am_save_LIBS"
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13513 $as_echo "$am_cv_func_iconv_works" >&6; }
13514 case "$am_cv_func_iconv_works" in
13515 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
13516 *) am_func_iconv=yes ;;
13519 am_func_iconv=no am_cv_lib_iconv=no
13521 if test "$am_func_iconv" = yes; then
13523 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13526 if test "$am_cv_lib_iconv" = yes; then
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13528 $as_echo_n "checking how to link with libiconv... " >&6; }
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13530 $as_echo "$LIBICONV" >&6; }
13532 CPPFLAGS="$am_save_CPPFLAGS"
13546 acl_save_prefix="$prefix"
13547 prefix="$acl_final_prefix"
13548 acl_save_exec_prefix="$exec_prefix"
13549 exec_prefix="$acl_final_exec_prefix"
13551 eval additional_includedir=\"$includedir\"
13552 eval additional_libdir=\"$libdir\"
13554 exec_prefix="$acl_save_exec_prefix"
13555 prefix="$acl_save_prefix"
13558 # Check whether --with-libintl-prefix was given.
13559 if test "${with_libintl_prefix+set}" = set; then :
13560 withval=$with_libintl_prefix;
13561 if test "X$withval" = "Xno"; then
13564 if test "X$withval" = "X"; then
13566 acl_save_prefix="$prefix"
13567 prefix="$acl_final_prefix"
13568 acl_save_exec_prefix="$exec_prefix"
13569 exec_prefix="$acl_final_exec_prefix"
13571 eval additional_includedir=\"$includedir\"
13572 eval additional_libdir=\"$libdir\"
13574 exec_prefix="$acl_save_exec_prefix"
13575 prefix="$acl_save_prefix"
13578 additional_includedir="$withval/include"
13579 additional_libdir="$withval/$acl_libdirstem"
13591 names_already_handled=
13592 names_next_round='intl '
13593 while test -n "$names_next_round"; do
13594 names_this_round="$names_next_round"
13596 for name in $names_this_round; do
13598 for n in $names_already_handled; do
13599 if test "$n" = "$name"; then
13600 already_handled=yes
13604 if test -z "$already_handled"; then
13605 names_already_handled="$names_already_handled $name"
13606 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13607 eval value=\"\$HAVE_LIB$uppername\"
13608 if test -n "$value"; then
13609 if test "$value" = yes; then
13610 eval value=\"\$LIB$uppername\"
13611 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
13612 eval value=\"\$LTLIB$uppername\"
13613 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
13622 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13623 if test -n "$acl_shlibext"; then
13624 shrext=".$acl_shlibext" # typically: shrext=.so
13628 if test $use_additional = yes; then
13629 dir="$additional_libdir"
13630 if test -n "$acl_shlibext"; then
13631 if test -f "$dir/$libname$shrext"; then
13633 found_so="$dir/$libname$shrext"
13635 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13636 ver=`(cd "$dir" && \
13637 for f in "$libname$shrext".*; do echo "$f"; done \
13638 | sed -e "s,^$libname$shrext\\\\.,," \
13639 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13640 | sed 1q ) 2>/dev/null`
13641 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13643 found_so="$dir/$libname$shrext.$ver"
13646 eval library_names=\"$acl_library_names_spec\"
13647 for f in $library_names; do
13648 if test -f "$dir/$f"; then
13657 if test "X$found_dir" = "X"; then
13658 if test -f "$dir/$libname.$acl_libext"; then
13660 found_a="$dir/$libname.$acl_libext"
13663 if test "X$found_dir" != "X"; then
13664 if test -f "$dir/$libname.la"; then
13665 found_la="$dir/$libname.la"
13669 if test "X$found_dir" = "X"; then
13670 for x in $LDFLAGS $LTLIBINTL; do
13672 acl_save_prefix="$prefix"
13673 prefix="$acl_final_prefix"
13674 acl_save_exec_prefix="$exec_prefix"
13675 exec_prefix="$acl_final_exec_prefix"
13677 exec_prefix="$acl_save_exec_prefix"
13678 prefix="$acl_save_prefix"
13682 dir=`echo "X$x" | sed -e 's/^X-L//'`
13683 if test -n "$acl_shlibext"; then
13684 if test -f "$dir/$libname$shrext"; then
13686 found_so="$dir/$libname$shrext"
13688 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13689 ver=`(cd "$dir" && \
13690 for f in "$libname$shrext".*; do echo "$f"; done \
13691 | sed -e "s,^$libname$shrext\\\\.,," \
13692 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13693 | sed 1q ) 2>/dev/null`
13694 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13696 found_so="$dir/$libname$shrext.$ver"
13699 eval library_names=\"$acl_library_names_spec\"
13700 for f in $library_names; do
13701 if test -f "$dir/$f"; then
13710 if test "X$found_dir" = "X"; then
13711 if test -f "$dir/$libname.$acl_libext"; then
13713 found_a="$dir/$libname.$acl_libext"
13716 if test "X$found_dir" != "X"; then
13717 if test -f "$dir/$libname.la"; then
13718 found_la="$dir/$libname.la"
13723 if test "X$found_dir" != "X"; then
13728 if test "X$found_dir" != "X"; then
13729 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13730 if test "X$found_so" != "X"; then
13731 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13732 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13735 for x in $ltrpathdirs; do
13736 if test "X$x" = "X$found_dir"; then
13741 if test -z "$haveit"; then
13742 ltrpathdirs="$ltrpathdirs $found_dir"
13744 if test "$acl_hardcode_direct" = yes; then
13745 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13747 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13748 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13750 for x in $rpathdirs; do
13751 if test "X$x" = "X$found_dir"; then
13756 if test -z "$haveit"; then
13757 rpathdirs="$rpathdirs $found_dir"
13761 for x in $LDFLAGS $LIBINTL; do
13763 acl_save_prefix="$prefix"
13764 prefix="$acl_final_prefix"
13765 acl_save_exec_prefix="$exec_prefix"
13766 exec_prefix="$acl_final_exec_prefix"
13768 exec_prefix="$acl_save_exec_prefix"
13769 prefix="$acl_save_prefix"
13771 if test "X$x" = "X-L$found_dir"; then
13776 if test -z "$haveit"; then
13777 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13779 if test "$acl_hardcode_minus_L" != no; then
13780 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13782 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13788 if test "X$found_a" != "X"; then
13789 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
13791 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13794 additional_includedir=
13795 case "$found_dir" in
13796 */$acl_libdirstem | */$acl_libdirstem/)
13797 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13798 LIBINTL_PREFIX="$basedir"
13799 additional_includedir="$basedir/include"
13802 if test "X$additional_includedir" != "X"; then
13803 if test "X$additional_includedir" != "X/usr/include"; then
13805 if test "X$additional_includedir" = "X/usr/local/include"; then
13806 if test -n "$GCC"; then
13808 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13812 if test -z "$haveit"; then
13813 for x in $CPPFLAGS $INCINTL; do
13815 acl_save_prefix="$prefix"
13816 prefix="$acl_final_prefix"
13817 acl_save_exec_prefix="$exec_prefix"
13818 exec_prefix="$acl_final_exec_prefix"
13820 exec_prefix="$acl_save_exec_prefix"
13821 prefix="$acl_save_prefix"
13823 if test "X$x" = "X-I$additional_includedir"; then
13828 if test -z "$haveit"; then
13829 if test -d "$additional_includedir"; then
13830 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13836 if test -n "$found_la"; then
13837 save_libdir="$libdir"
13838 case "$found_la" in
13839 */* | *\\*) . "$found_la" ;;
13840 *) . "./$found_la" ;;
13842 libdir="$save_libdir"
13843 for dep in $dependency_libs; do
13846 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13847 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13849 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13850 if test -n "$GCC"; then
13852 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13856 if test -z "$haveit"; then
13858 for x in $LDFLAGS $LIBINTL; do
13860 acl_save_prefix="$prefix"
13861 prefix="$acl_final_prefix"
13862 acl_save_exec_prefix="$exec_prefix"
13863 exec_prefix="$acl_final_exec_prefix"
13865 exec_prefix="$acl_save_exec_prefix"
13866 prefix="$acl_save_prefix"
13868 if test "X$x" = "X-L$additional_libdir"; then
13873 if test -z "$haveit"; then
13874 if test -d "$additional_libdir"; then
13875 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13879 for x in $LDFLAGS $LTLIBINTL; do
13881 acl_save_prefix="$prefix"
13882 prefix="$acl_final_prefix"
13883 acl_save_exec_prefix="$exec_prefix"
13884 exec_prefix="$acl_final_exec_prefix"
13886 exec_prefix="$acl_save_exec_prefix"
13887 prefix="$acl_save_prefix"
13889 if test "X$x" = "X-L$additional_libdir"; then
13894 if test -z "$haveit"; then
13895 if test -d "$additional_libdir"; then
13896 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13903 dir=`echo "X$dep" | sed -e 's/^X-R//'`
13904 if test "$enable_rpath" != no; then
13906 for x in $rpathdirs; do
13907 if test "X$x" = "X$dir"; then
13912 if test -z "$haveit"; then
13913 rpathdirs="$rpathdirs $dir"
13916 for x in $ltrpathdirs; do
13917 if test "X$x" = "X$dir"; then
13922 if test -z "$haveit"; then
13923 ltrpathdirs="$ltrpathdirs $dir"
13928 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13931 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13934 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
13935 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13941 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13942 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13948 if test "X$rpathdirs" != "X"; then
13949 if test -n "$acl_hardcode_libdir_separator"; then
13951 for found_dir in $rpathdirs; do
13952 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13954 acl_save_libdir="$libdir"
13956 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13957 libdir="$acl_save_libdir"
13958 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13960 for found_dir in $rpathdirs; do
13961 acl_save_libdir="$libdir"
13962 libdir="$found_dir"
13963 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13964 libdir="$acl_save_libdir"
13965 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13969 if test "X$ltrpathdirs" != "X"; then
13970 for found_dir in $ltrpathdirs; do
13971 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13976 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13977 if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
13978 $as_echo_n "(cached) " >&6
13980 gt_save_CPPFLAGS="$CPPFLAGS"
13981 CPPFLAGS="$CPPFLAGS $INCINTL"
13982 gt_save_LIBS="$LIBS"
13983 LIBS="$LIBS $LIBINTL"
13984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13985 /* end confdefs.h. */
13986 #include <libintl.h>
13987 $gt_revision_test_code
13988 extern int _nl_msg_cat_cntr;
13993 const char *_nl_expand_alias (const char *);
13997 bindtextdomain ("", "");
13998 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14003 if ac_fn_c_try_link "$LINENO"; then :
14004 eval "$gt_func_gnugettext_libintl=yes"
14006 eval "$gt_func_gnugettext_libintl=no"
14008 rm -f core conftest.err conftest.$ac_objext \
14009 conftest$ac_exeext conftest.$ac_ext
14010 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14011 LIBS="$LIBS $LIBICONV"
14012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14013 /* end confdefs.h. */
14014 #include <libintl.h>
14015 $gt_revision_test_code
14016 extern int _nl_msg_cat_cntr;
14021 const char *_nl_expand_alias (const char *);
14025 bindtextdomain ("", "");
14026 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14031 if ac_fn_c_try_link "$LINENO"; then :
14032 LIBINTL="$LIBINTL $LIBICONV"
14033 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
14034 eval "$gt_func_gnugettext_libintl=yes"
14037 rm -f core conftest.err conftest.$ac_objext \
14038 conftest$ac_exeext conftest.$ac_ext
14040 CPPFLAGS="$gt_save_CPPFLAGS"
14041 LIBS="$gt_save_LIBS"
14043 eval ac_res=\$$gt_func_gnugettext_libintl
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14045 $as_echo "$ac_res" >&6; }
14048 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14049 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14050 && test "$PACKAGE" != gettext-runtime \
14051 && test "$PACKAGE" != gettext-tools; }; then
14052 gt_use_preinstalled_gnugettext=yes
14061 if test -n "$INTL_MACOSX_LIBS"; then
14062 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14063 || test "$nls_cv_use_gnu_gettext" = "yes"; then
14064 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
14065 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
14069 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14070 || test "$nls_cv_use_gnu_gettext" = "yes"; then
14072 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14080 $as_echo_n "checking whether to use NLS... " >&6; }
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14082 $as_echo "$USE_NLS" >&6; }
14083 if test "$USE_NLS" = "yes"; then
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14085 $as_echo_n "checking where the gettext function comes from... " >&6; }
14086 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14087 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14088 gt_source="external libintl"
14093 gt_source="included intl directory"
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14096 $as_echo "$gt_source" >&6; }
14099 if test "$USE_NLS" = "yes"; then
14101 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14102 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14104 $as_echo_n "checking how to link with libintl... " >&6; }
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14106 $as_echo "$LIBINTL" >&6; }
14108 for element in $INCINTL; do
14110 for x in $CPPFLAGS; do
14112 acl_save_prefix="$prefix"
14113 prefix="$acl_final_prefix"
14114 acl_save_exec_prefix="$exec_prefix"
14115 exec_prefix="$acl_final_exec_prefix"
14117 exec_prefix="$acl_save_exec_prefix"
14118 prefix="$acl_save_prefix"
14120 if test "X$x" = "X$element"; then
14125 if test -z "$haveit"; then
14126 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14133 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14136 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14145 INTLLIBS="$LIBINTL"
14153 if test "$USE_NLS" = "yes"; then
14154 GETTEXT_PACKAGE=gst-plugins-good-$GST_MAJORMINOR
14156 GETTEXT_PACKAGE=NULL
14160 cat >>confdefs.h <<_ACEOF
14161 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14167 FROM_VAR=$datadir/locale
14169 prefix_save=$prefix
14170 exec_prefix_save=$exec_prefix
14172 if test "x$prefix" = "xNONE"; then
14173 prefix="$ac_default_prefix"
14175 if test "x$exec_prefix" = "xNONE"; then
14176 exec_prefix=$prefix
14179 full_var="$FROM_VAR"
14181 new_full_var="`eval echo $full_var`"
14182 if test "x$new_full_var" = "x$full_var"; then break; fi
14183 full_var=$new_full_var
14186 full_var=$new_full_var
14187 LOCALEDIR="$full_var"
14190 prefix=$prefix_save
14191 exec_prefix=$exec_prefix_save
14194 cat >>confdefs.h <<_ACEOF
14195 #define LOCALEDIR "$LOCALEDIR"
14202 # Check whether --enable-debug was given.
14203 if test "${enable_debug+set}" = set; then :
14204 enableval=$enable_debug;
14205 case "${enableval}" in
14206 yes) USE_DEBUG=yes ;;
14207 no) USE_DEBUG=no ;;
14208 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
14216 # Check whether --enable-profiling was given.
14217 if test "${enable_profiling+set}" = set; then :
14218 enableval=$enable_profiling;
14219 case "${enableval}" in
14220 yes) USE_PROFILING=yes ;;
14221 no) USE_PROFILING=no ;;
14222 *) as_fn_error $? "bad value ${enableval} for --enable-profiling" "$LINENO" 5 ;;
14231 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14232 if test -n "$ac_tool_prefix"; then
14233 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14234 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14236 $as_echo_n "checking for $ac_word... " >&6; }
14237 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14238 $as_echo_n "(cached) " >&6
14240 case $PKG_CONFIG in
14242 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14246 for as_dir in $PATH
14249 test -z "$as_dir" && as_dir=.
14250 for ac_exec_ext in '' $ac_executable_extensions; do
14251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14252 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14263 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14264 if test -n "$PKG_CONFIG"; then
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14266 $as_echo "$PKG_CONFIG" >&6; }
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14269 $as_echo "no" >&6; }
14274 if test -z "$ac_cv_path_PKG_CONFIG"; then
14275 ac_pt_PKG_CONFIG=$PKG_CONFIG
14276 # Extract the first word of "pkg-config", so it can be a program name with args.
14277 set dummy pkg-config; ac_word=$2
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14279 $as_echo_n "checking for $ac_word... " >&6; }
14280 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
14281 $as_echo_n "(cached) " >&6
14283 case $ac_pt_PKG_CONFIG in
14285 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14289 for as_dir in $PATH
14292 test -z "$as_dir" && as_dir=.
14293 for ac_exec_ext in '' $ac_executable_extensions; do
14294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14295 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14306 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14307 if test -n "$ac_pt_PKG_CONFIG"; then
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14309 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14312 $as_echo "no" >&6; }
14315 if test "x$ac_pt_PKG_CONFIG" = x; then
14318 case $cross_compiling:$ac_tool_warned in
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14322 ac_tool_warned=yes ;;
14324 PKG_CONFIG=$ac_pt_PKG_CONFIG
14327 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14331 if test -n "$PKG_CONFIG"; then
14332 _pkg_min_version=0.9.0
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14334 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14335 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14337 $as_echo "yes" >&6; }
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14340 $as_echo "no" >&6; }
14346 # Check whether --enable-valgrind was given.
14347 if test "${enable_valgrind+set}" = set; then :
14348 enableval=$enable_valgrind;
14349 case "${enableval}" in
14350 yes) USE_VALGRIND="$USE_DEBUG" ;;
14351 no) USE_VALGRIND=no ;;
14352 *) as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
14356 USE_VALGRIND="$USE_DEBUG"
14359 if test "x$USE_VALGRIND" = xyes; then
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
14363 $as_echo_n "checking for VALGRIND... " >&6; }
14365 if test -n "$PKG_CONFIG"; then
14366 if test -n "$VALGRIND_CFLAGS"; then
14367 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
14369 if test -n "$PKG_CONFIG" && \
14370 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14371 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14374 test $ac_status = 0; }; then
14375 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14383 if test -n "$PKG_CONFIG"; then
14384 if test -n "$VALGRIND_LIBS"; then
14385 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
14387 if test -n "$PKG_CONFIG" && \
14388 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14389 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14392 test $ac_status = 0; }; then
14393 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14404 if test $pkg_failed = yes; then
14406 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14407 _pkg_short_errors_supported=yes
14409 _pkg_short_errors_supported=no
14411 if test $_pkg_short_errors_supported = yes; then
14412 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14414 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14416 # Put the nasty error message in config.log where it belongs
14417 echo "$VALGRIND_PKG_ERRORS" >&5
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14420 $as_echo "no" >&6; }
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14424 $as_echo "no" >&6; }
14426 elif test $pkg_failed = untried; then
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14430 $as_echo "no" >&6; }
14433 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
14434 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14436 $as_echo "yes" >&6; }
14440 if test "x$USE_VALGRIND" = xyes; then
14442 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
14445 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
14449 # Check whether --enable-gcov was given.
14450 if test "${enable_gcov+set}" = set; then :
14451 enableval=$enable_gcov; enable_gcov=$enableval
14456 if test x$enable_gcov = xyes ; then
14457 if test "x$GCC" != "xyes"
14459 as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
14464 $as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
14466 save_CFLAGS="$CFLAGS"
14467 CFLAGS="$CFLAGS "-fprofile-arcs""
14469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14470 /* end confdefs.h. */
14480 if ac_fn_c_try_compile "$LINENO"; then :
14485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14486 CFLAGS="$save_CFLAGS"
14488 if test "X$flag_ok" = Xyes ; then
14489 GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14496 $as_echo "$flag_ok" >&6; }
14499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
14500 $as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
14502 save_CFLAGS="$CFLAGS"
14503 CFLAGS="$CFLAGS "-ftest-coverage""
14505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14506 /* end confdefs.h. */
14516 if ac_fn_c_try_compile "$LINENO"; then :
14521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14522 CFLAGS="$save_CFLAGS"
14524 if test "X$flag_ok" = Xyes ; then
14525 GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14532 $as_echo "$flag_ok" >&6; }
14534 GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
14538 GCOV=`echo $CC | sed s/gcc/gcov/g`
14541 GST_GCOV_ENABLED=yes
14543 cat >>confdefs.h <<_ACEOF
14544 #define GST_GCOV_ENABLED 1
14547 if test "x$GST_GCOV_ENABLED" = "xyes"
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
14558 $as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
14561 if test x$enable_gcov = xyes; then
14562 GST_GCOV_ENABLED_TRUE=
14563 GST_GCOV_ENABLED_FALSE='#'
14565 GST_GCOV_ENABLED_TRUE='#'
14566 GST_GCOV_ENABLED_FALSE=
14572 # Check whether --enable-examples was given.
14573 if test "${enable_examples+set}" = set; then :
14574 enableval=$enable_examples;
14575 case "${enableval}" in
14576 yes) BUILD_EXAMPLES=yes ;;
14577 no) BUILD_EXAMPLES=no ;;
14578 *) as_fn_error $? "bad value ${enableval} for --disable-examples" "$LINENO" 5 ;;
14584 if test "x$BUILD_EXAMPLES" = "xyes"; then
14585 BUILD_EXAMPLES_TRUE=
14586 BUILD_EXAMPLES_FALSE='#'
14588 BUILD_EXAMPLES_TRUE='#'
14589 BUILD_EXAMPLES_FALSE=
14596 # Check whether --with-pkg-config-path was given.
14597 if test "${with_pkg_config_path+set}" = set; then :
14598 withval=$with_pkg_config_path;
14599 export PKG_CONFIG_PATH=${withval}
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
14601 $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
14608 # Check whether --with-package-name was given.
14609 if test "${with_package_name+set}" = set; then :
14610 withval=$with_package_name;
14611 case "${withval}" in
14612 yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
14613 no) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
14614 *) GST_PACKAGE_NAME="${withval}" ;;
14620 if test "x$P" = "x"
14625 if test "x$PACKAGE_VERSION_NANO" = "x0"
14627 GST_PACKAGE_NAME="$P source release"
14629 if test "x$PACKAGE_VERSION_NANO" = "x1"
14631 GST_PACKAGE_NAME="$P git"
14633 GST_PACKAGE_NAME="$P prerelease"
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
14641 $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
14643 cat >>confdefs.h <<_ACEOF
14644 #define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
14651 # Check whether --with-package-origin was given.
14652 if test "${with_package_origin+set}" = set; then :
14653 withval=$with_package_origin;
14654 case "${withval}" in
14655 yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
14656 no) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
14657 *) GST_PACKAGE_ORIGIN="${withval}" ;;
14661 GST_PACKAGE_ORIGIN="Unknown package origin"
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
14665 $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
14667 cat >>confdefs.h <<_ACEOF
14668 #define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
14676 # Check whether --with-plugins was given.
14677 if test "${with_plugins+set}" = set; then :
14678 withval=$with_plugins; WITH_PLUGINS=$withval
14685 GST_PLUGINS_SELECTED=""
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of plug-ins with external deps ***" >&5
14694 $as_echo "$as_me: *** checking feature: building of plug-ins with external deps ***" >&6;}
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
14698 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
14701 if test "x$USE_EXTERNAL" = "xno"; then
14704 # Check whether --enable-external was given.
14705 if test "${enable_external+set}" = set; then :
14706 enableval=$enable_external; case "${enableval}" in
14707 yes) USE_EXTERNAL=yes;;
14708 no) USE_EXTERNAL=no;;
14709 *) as_fn_error $? "bad value ${enableval} for --enable-external" "$LINENO" 5 ;;
14715 if test "x$NOUSE" = "xyes"; then
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
14718 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
14723 if test x$USE_EXTERNAL = xyes; then
14725 gst_check_save_LIBS=$LIBS
14726 gst_check_save_LDFLAGS=$LDFLAGS
14727 gst_check_save_CFLAGS=$CFLAGS
14728 gst_check_save_CPPFLAGS=$CPPFLAGS
14729 gst_check_save_CXXFLAGS=$CXXFLAGS
14734 LIBS=$gst_check_save_LIBS
14735 LDFLAGS=$gst_check_save_LDFLAGS
14736 CFLAGS=$gst_check_save_CFLAGS
14737 CPPFLAGS=$gst_check_save_CPPFLAGS
14738 CXXFLAGS=$gst_check_save_CXXFLAGS
14740 if test x$HAVE_EXTERNAL = xno; then
14746 if test x$USE_EXTERNAL = xyes; then
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: building external plug-ins" >&5
14749 $as_echo "$as_me: building external plug-ins" >&6;}
14750 BUILD_EXTERNAL="yes"
14752 if test "x" != "x"; then
14753 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
14756 $as_echo "#define HAVE_EXTERNAL /**/" >>confdefs.h
14760 if test "x" != "x"; then
14761 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
14764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: all plug-ins with external dependencies will not be built" >&5
14765 $as_echo "$as_me: WARNING: all plug-ins with external dependencies will not be built" >&2;}
14766 BUILD_EXTERNAL="no"
14769 if test x$USE_EXTERNAL = xyes; then
14771 USE_EXTERNAL_FALSE='#'
14773 USE_EXTERNAL_TRUE='#'
14774 USE_EXTERNAL_FALSE=
14778 # make BUILD_EXTERNAL available to Makefile.am
14779 if test "x$BUILD_EXTERNAL" = "xyes"; then
14780 BUILD_EXTERNAL_TRUE=
14781 BUILD_EXTERNAL_FALSE='#'
14783 BUILD_EXTERNAL_TRUE='#'
14784 BUILD_EXTERNAL_FALSE=
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of experimental plug-ins ***" >&5
14792 $as_echo "$as_me: *** checking feature: building of experimental plug-ins ***" >&6;}
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
14796 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
14799 if test "x$USE_EXPERIMENTAL" = "xno"; then
14802 # Check whether --enable-experimental was given.
14803 if test "${enable_experimental+set}" = set; then :
14804 enableval=$enable_experimental; case "${enableval}" in
14805 yes) USE_EXPERIMENTAL=yes;;
14806 no) USE_EXPERIMENTAL=no;;
14807 *) as_fn_error $? "bad value ${enableval} for --enable-experimental" "$LINENO" 5 ;;
14810 USE_EXPERIMENTAL=no
14813 if test "x$NOUSE" = "xyes"; then
14814 USE_EXPERIMENTAL="no"
14815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
14816 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
14821 if test x$USE_EXPERIMENTAL = xyes; then
14823 gst_check_save_LIBS=$LIBS
14824 gst_check_save_LDFLAGS=$LDFLAGS
14825 gst_check_save_CFLAGS=$CFLAGS
14826 gst_check_save_CPPFLAGS=$CPPFLAGS
14827 gst_check_save_CXXFLAGS=$CXXFLAGS
14829 HAVE_EXPERIMENTAL=no
14830 HAVE_EXPERIMENTAL=yes
14832 LIBS=$gst_check_save_LIBS
14833 LDFLAGS=$gst_check_save_LDFLAGS
14834 CFLAGS=$gst_check_save_CFLAGS
14835 CPPFLAGS=$gst_check_save_CPPFLAGS
14836 CXXFLAGS=$gst_check_save_CXXFLAGS
14838 if test x$HAVE_EXPERIMENTAL = xno; then
14839 USE_EXPERIMENTAL=no
14844 if test x$USE_EXPERIMENTAL = xyes; then
14846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: building experimental plug-ins" >&5
14847 $as_echo "$as_me: WARNING: building experimental plug-ins" >&2;}
14848 BUILD_EXPERIMENTAL="yes"
14850 if test "x" != "x"; then
14851 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
14854 $as_echo "#define HAVE_EXPERIMENTAL /**/" >>confdefs.h
14858 if test "x" != "x"; then
14859 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: not building experimental plug-ins" >&5
14863 $as_echo "$as_me: not building experimental plug-ins" >&6;}
14864 BUILD_EXPERIMENTAL="no"
14867 if test x$USE_EXPERIMENTAL = xyes; then
14868 USE_EXPERIMENTAL_TRUE=
14869 USE_EXPERIMENTAL_FALSE='#'
14871 USE_EXPERIMENTAL_TRUE='#'
14872 USE_EXPERIMENTAL_FALSE=
14876 # make BUILD_EXPERIMENTAL available to Makefile.am
14877 if test "x$BUILD_EXPERIMENTAL" = "xyes"; then
14878 BUILD_EXPERIMENTAL_TRUE=
14879 BUILD_EXPERIMENTAL_FALSE='#'
14881 BUILD_EXPERIMENTAL_TRUE='#'
14882 BUILD_EXPERIMENTAL_FALSE=
14891 case "x${host_cpu}" in
14892 xi?86 | xk? | xi?86_64)
14895 ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default"
14896 if test "x$ac_cv_have_decl___i386" = x""yes; then :
14902 ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
14903 if test "x$ac_cv_have_decl___amd64" = x""yes; then :
14910 if test "x$I386_ABI" = "xyes" ; then
14913 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
14916 if test "x$AMD64_ABI" = "xyes" ; then
14917 HAVE_CPU_X86_64=yes
14919 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
14926 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
14929 case "x${host_cpu}" in
14933 $as_echo "#define HAVE_RDTSC 1" >>confdefs.h
14942 $as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h
14947 $as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h
14952 $as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h
14957 $as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h
14962 $as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h
14967 $as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h
14972 $as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h
14977 $as_echo "#define HAVE_CPU_S390 1" >>confdefs.h
14982 $as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h
14987 $as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h
14990 HAVE_CPU_X86_64=yes
14992 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
14997 $as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h
15000 HAVE_CPU_CRISV32=yes
15002 $as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15007 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15008 if test "${ac_cv_c_bigendian+set}" = set; then :
15009 $as_echo_n "(cached) " >&6
15011 ac_cv_c_bigendian=unknown
15012 # See if we're dealing with a universal compiler.
15013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15014 /* end confdefs.h. */
15015 #ifndef __APPLE_CC__
15016 not a universal capable compiler
15021 if ac_fn_c_try_compile "$LINENO"; then :
15023 # Check for potential -arch flags. It is not universal unless
15024 # there are at least two -arch flags with different values.
15027 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15028 if test -n "$ac_prev"; then
15030 i?86 | x86_64 | ppc | ppc64)
15031 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15034 ac_cv_c_bigendian=universal
15040 elif test "x$ac_word" = "x-arch"; then
15045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15046 if test $ac_cv_c_bigendian = unknown; then
15047 # See if sys/param.h defines the BYTE_ORDER macro.
15048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15049 /* end confdefs.h. */
15050 #include <sys/types.h>
15051 #include <sys/param.h>
15056 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15057 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15059 bogus endian macros
15066 if ac_fn_c_try_compile "$LINENO"; then :
15067 # It does; now see whether it defined to BIG_ENDIAN or not.
15068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15069 /* end confdefs.h. */
15070 #include <sys/types.h>
15071 #include <sys/param.h>
15076 #if BYTE_ORDER != BIG_ENDIAN
15084 if ac_fn_c_try_compile "$LINENO"; then :
15085 ac_cv_c_bigendian=yes
15087 ac_cv_c_bigendian=no
15089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15093 if test $ac_cv_c_bigendian = unknown; then
15094 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15096 /* end confdefs.h. */
15097 #include <limits.h>
15102 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15103 bogus endian macros
15110 if ac_fn_c_try_compile "$LINENO"; then :
15111 # It does; now see whether it defined to _BIG_ENDIAN or not.
15112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15113 /* end confdefs.h. */
15114 #include <limits.h>
15119 #ifndef _BIG_ENDIAN
15127 if ac_fn_c_try_compile "$LINENO"; then :
15128 ac_cv_c_bigendian=yes
15130 ac_cv_c_bigendian=no
15132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15136 if test $ac_cv_c_bigendian = unknown; then
15137 # Compile a test program.
15138 if test "$cross_compiling" = yes; then :
15139 # Try to guess by grepping values from an object file.
15140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15141 /* end confdefs.h. */
15142 short int ascii_mm[] =
15143 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15144 short int ascii_ii[] =
15145 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15146 int use_ascii (int i) {
15147 return ascii_mm[i] + ascii_ii[i];
15149 short int ebcdic_ii[] =
15150 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15151 short int ebcdic_mm[] =
15152 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15153 int use_ebcdic (int i) {
15154 return ebcdic_mm[i] + ebcdic_ii[i];
15161 return use_ascii (foo) == use_ebcdic (foo);
15166 if ac_fn_c_try_compile "$LINENO"; then :
15167 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
15168 ac_cv_c_bigendian=yes
15170 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
15171 if test "$ac_cv_c_bigendian" = unknown; then
15172 ac_cv_c_bigendian=no
15174 # finding both strings is unlikely to happen, but who knows?
15175 ac_cv_c_bigendian=unknown
15179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h. */
15183 $ac_includes_default
15188 /* Are we little or big endian? From Harbison&Steele. */
15192 char c[sizeof (long int)];
15195 return u.c[sizeof (long int) - 1] == 1;
15201 if ac_fn_c_try_run "$LINENO"; then :
15202 ac_cv_c_bigendian=no
15204 ac_cv_c_bigendian=yes
15206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15207 conftest.$ac_objext conftest.beam conftest.$ac_ext
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15213 $as_echo "$ac_cv_c_bigendian" >&6; }
15214 case $ac_cv_c_bigendian in #(
15216 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
15222 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15226 as_fn_error $? "unknown endianness
15227 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15231 if test "x$HAVE_CPU_I386" = "xyes"; then
15232 HAVE_CPU_I386_TRUE=
15233 HAVE_CPU_I386_FALSE='#'
15235 HAVE_CPU_I386_TRUE='#'
15236 HAVE_CPU_I386_FALSE=
15239 if test "x$HAVE_CPU_PPC" = "xyes"; then
15241 HAVE_CPU_PPC_FALSE='#'
15243 HAVE_CPU_PPC_TRUE='#'
15244 HAVE_CPU_PPC_FALSE=
15247 if test "x$HAVE_CPU_PPC64" = "xyes"; then
15248 HAVE_CPU_PPC64_TRUE=
15249 HAVE_CPU_PPC64_FALSE='#'
15251 HAVE_CPU_PPC64_TRUE='#'
15252 HAVE_CPU_PPC64_FALSE=
15255 if test "x$HAVE_CPU_ALPHA" = "xyes"; then
15256 HAVE_CPU_ALPHA_TRUE=
15257 HAVE_CPU_ALPHA_FALSE='#'
15259 HAVE_CPU_ALPHA_TRUE='#'
15260 HAVE_CPU_ALPHA_FALSE=
15263 if test "x$HAVE_CPU_ARM" = "xyes"; then
15265 HAVE_CPU_ARM_FALSE='#'
15267 HAVE_CPU_ARM_TRUE='#'
15268 HAVE_CPU_ARM_FALSE=
15271 if test "x$HAVE_CPU_SPARC" = "xyes"; then
15272 HAVE_CPU_SPARC_TRUE=
15273 HAVE_CPU_SPARC_FALSE='#'
15275 HAVE_CPU_SPARC_TRUE='#'
15276 HAVE_CPU_SPARC_FALSE=
15279 if test "x$HAVE_CPU_HPPA" = "xyes"; then
15280 HAVE_CPU_HPPA_TRUE=
15281 HAVE_CPU_HPPA_FALSE='#'
15283 HAVE_CPU_HPPA_TRUE='#'
15284 HAVE_CPU_HPPA_FALSE=
15287 if test "x$HAVE_CPU_MIPS" = "xyes"; then
15288 HAVE_CPU_MIPS_TRUE=
15289 HAVE_CPU_MIPS_FALSE='#'
15291 HAVE_CPU_MIPS_TRUE='#'
15292 HAVE_CPU_MIPS_FALSE=
15295 if test "x$HAVE_CPU_S390" = "xyes"; then
15296 HAVE_CPU_S390_TRUE=
15297 HAVE_CPU_S390_FALSE='#'
15299 HAVE_CPU_S390_TRUE='#'
15300 HAVE_CPU_S390_FALSE=
15303 if test "x$HAVE_CPU_IA64" = "xyes"; then
15304 HAVE_CPU_IA64_TRUE=
15305 HAVE_CPU_IA64_FALSE='#'
15307 HAVE_CPU_IA64_TRUE='#'
15308 HAVE_CPU_IA64_FALSE=
15311 if test "x$HAVE_CPU_M68K" = "xyes"; then
15312 HAVE_CPU_M68K_TRUE=
15313 HAVE_CPU_M68K_FALSE='#'
15315 HAVE_CPU_M68K_TRUE='#'
15316 HAVE_CPU_M68K_FALSE=
15319 if test "x$HAVE_CPU_X86_64" = "xyes"; then
15320 HAVE_CPU_X86_64_TRUE=
15321 HAVE_CPU_X86_64_FALSE='#'
15323 HAVE_CPU_X86_64_TRUE='#'
15324 HAVE_CPU_X86_64_FALSE=
15327 if test "x$HAVE_CPU_CRIS" = "xyes"; then
15328 HAVE_CPU_CRIS_TRUE=
15329 HAVE_CPU_CRIS_FALSE='#'
15331 HAVE_CPU_CRIS_TRUE='#'
15332 HAVE_CPU_CRIS_FALSE=
15335 if test "x$HAVE_CPU_CRISV32" = "xyes"; then
15336 HAVE_CPU_CRISV32_TRUE=
15337 HAVE_CPU_CRISV32_FALSE='#'
15339 HAVE_CPU_CRISV32_TRUE='#'
15340 HAVE_CPU_CRISV32_FALSE=
15345 cat >>confdefs.h <<_ACEOF
15346 #define HOST_CPU "$host_cpu"
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15352 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15353 if test "${ac_cv_c_bigendian+set}" = set; then :
15354 $as_echo_n "(cached) " >&6
15356 ac_cv_c_bigendian=unknown
15357 # See if we're dealing with a universal compiler.
15358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15359 /* end confdefs.h. */
15360 #ifndef __APPLE_CC__
15361 not a universal capable compiler
15366 if ac_fn_c_try_compile "$LINENO"; then :
15368 # Check for potential -arch flags. It is not universal unless
15369 # there are at least two -arch flags with different values.
15372 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15373 if test -n "$ac_prev"; then
15375 i?86 | x86_64 | ppc | ppc64)
15376 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15379 ac_cv_c_bigendian=universal
15385 elif test "x$ac_word" = "x-arch"; then
15390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15391 if test $ac_cv_c_bigendian = unknown; then
15392 # See if sys/param.h defines the BYTE_ORDER macro.
15393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15394 /* end confdefs.h. */
15395 #include <sys/types.h>
15396 #include <sys/param.h>
15401 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15402 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15404 bogus endian macros
15411 if ac_fn_c_try_compile "$LINENO"; then :
15412 # It does; now see whether it defined to BIG_ENDIAN or not.
15413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15414 /* end confdefs.h. */
15415 #include <sys/types.h>
15416 #include <sys/param.h>
15421 #if BYTE_ORDER != BIG_ENDIAN
15429 if ac_fn_c_try_compile "$LINENO"; then :
15430 ac_cv_c_bigendian=yes
15432 ac_cv_c_bigendian=no
15434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15438 if test $ac_cv_c_bigendian = unknown; then
15439 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15441 /* end confdefs.h. */
15442 #include <limits.h>
15447 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15448 bogus endian macros
15455 if ac_fn_c_try_compile "$LINENO"; then :
15456 # It does; now see whether it defined to _BIG_ENDIAN or not.
15457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15458 /* end confdefs.h. */
15459 #include <limits.h>
15464 #ifndef _BIG_ENDIAN
15472 if ac_fn_c_try_compile "$LINENO"; then :
15473 ac_cv_c_bigendian=yes
15475 ac_cv_c_bigendian=no
15477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15481 if test $ac_cv_c_bigendian = unknown; then
15482 # Compile a test program.
15483 if test "$cross_compiling" = yes; then :
15484 # Try to guess by grepping values from an object file.
15485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15486 /* end confdefs.h. */
15487 short int ascii_mm[] =
15488 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15489 short int ascii_ii[] =
15490 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15491 int use_ascii (int i) {
15492 return ascii_mm[i] + ascii_ii[i];
15494 short int ebcdic_ii[] =
15495 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15496 short int ebcdic_mm[] =
15497 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15498 int use_ebcdic (int i) {
15499 return ebcdic_mm[i] + ebcdic_ii[i];
15506 return use_ascii (foo) == use_ebcdic (foo);
15511 if ac_fn_c_try_compile "$LINENO"; then :
15512 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
15513 ac_cv_c_bigendian=yes
15515 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
15516 if test "$ac_cv_c_bigendian" = unknown; then
15517 ac_cv_c_bigendian=no
15519 # finding both strings is unlikely to happen, but who knows?
15520 ac_cv_c_bigendian=unknown
15524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15527 /* end confdefs.h. */
15528 $ac_includes_default
15533 /* Are we little or big endian? From Harbison&Steele. */
15537 char c[sizeof (long int)];
15540 return u.c[sizeof (long int) - 1] == 1;
15546 if ac_fn_c_try_run "$LINENO"; then :
15547 ac_cv_c_bigendian=no
15549 ac_cv_c_bigendian=yes
15551 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15552 conftest.$ac_objext conftest.beam conftest.$ac_ext
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15558 $as_echo "$ac_cv_c_bigendian" >&6; }
15559 case $ac_cv_c_bigendian in #(
15561 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
15567 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15571 as_fn_error $? "unknown endianness
15572 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15578 ac_cpp='$CPP $CPPFLAGS'
15579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15582 if test -n "$ac_tool_prefix"; then
15583 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15584 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15586 $as_echo_n "checking for $ac_word... " >&6; }
15587 if test "${ac_cv_prog_CC+set}" = set; then :
15588 $as_echo_n "(cached) " >&6
15590 if test -n "$CC"; then
15591 ac_cv_prog_CC="$CC" # Let the user override the test.
15593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15594 for as_dir in $PATH
15597 test -z "$as_dir" && as_dir=.
15598 for ac_exec_ext in '' $ac_executable_extensions; do
15599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15600 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15611 if test -n "$CC"; then
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15613 $as_echo "$CC" >&6; }
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15616 $as_echo "no" >&6; }
15621 if test -z "$ac_cv_prog_CC"; then
15623 # Extract the first word of "gcc", so it can be a program name with args.
15624 set dummy gcc; ac_word=$2
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15626 $as_echo_n "checking for $ac_word... " >&6; }
15627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
15628 $as_echo_n "(cached) " >&6
15630 if test -n "$ac_ct_CC"; then
15631 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15634 for as_dir in $PATH
15637 test -z "$as_dir" && as_dir=.
15638 for ac_exec_ext in '' $ac_executable_extensions; do
15639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15640 ac_cv_prog_ac_ct_CC="gcc"
15641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15650 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15651 if test -n "$ac_ct_CC"; then
15652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15653 $as_echo "$ac_ct_CC" >&6; }
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15656 $as_echo "no" >&6; }
15659 if test "x$ac_ct_CC" = x; then
15662 case $cross_compiling:$ac_tool_warned in
15664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15666 ac_tool_warned=yes ;;
15671 CC="$ac_cv_prog_CC"
15674 if test -z "$CC"; then
15675 if test -n "$ac_tool_prefix"; then
15676 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15677 set dummy ${ac_tool_prefix}cc; ac_word=$2
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15679 $as_echo_n "checking for $ac_word... " >&6; }
15680 if test "${ac_cv_prog_CC+set}" = set; then :
15681 $as_echo_n "(cached) " >&6
15683 if test -n "$CC"; then
15684 ac_cv_prog_CC="$CC" # Let the user override the test.
15686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15687 for as_dir in $PATH
15690 test -z "$as_dir" && as_dir=.
15691 for ac_exec_ext in '' $ac_executable_extensions; do
15692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15693 ac_cv_prog_CC="${ac_tool_prefix}cc"
15694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15704 if test -n "$CC"; then
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15706 $as_echo "$CC" >&6; }
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15709 $as_echo "no" >&6; }
15715 if test -z "$CC"; then
15716 # Extract the first word of "cc", so it can be a program name with args.
15717 set dummy cc; ac_word=$2
15718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15719 $as_echo_n "checking for $ac_word... " >&6; }
15720 if test "${ac_cv_prog_CC+set}" = set; then :
15721 $as_echo_n "(cached) " >&6
15723 if test -n "$CC"; then
15724 ac_cv_prog_CC="$CC" # Let the user override the test.
15726 ac_prog_rejected=no
15727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15728 for as_dir in $PATH
15731 test -z "$as_dir" && as_dir=.
15732 for ac_exec_ext in '' $ac_executable_extensions; do
15733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15734 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15735 ac_prog_rejected=yes
15739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15746 if test $ac_prog_rejected = yes; then
15747 # We found a bogon in the path, so make sure we never use it.
15748 set dummy $ac_cv_prog_CC
15750 if test $# != 0; then
15751 # We chose a different compiler from the bogus one.
15752 # However, it has the same basename, so the bogon will be chosen
15753 # first if we set CC to just the basename; use the full file name.
15755 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15761 if test -n "$CC"; then
15762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15763 $as_echo "$CC" >&6; }
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15766 $as_echo "no" >&6; }
15771 if test -z "$CC"; then
15772 if test -n "$ac_tool_prefix"; then
15773 for ac_prog in cl.exe
15775 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15776 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15778 $as_echo_n "checking for $ac_word... " >&6; }
15779 if test "${ac_cv_prog_CC+set}" = set; then :
15780 $as_echo_n "(cached) " >&6
15782 if test -n "$CC"; then
15783 ac_cv_prog_CC="$CC" # Let the user override the test.
15785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15786 for as_dir in $PATH
15789 test -z "$as_dir" && as_dir=.
15790 for ac_exec_ext in '' $ac_executable_extensions; do
15791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15792 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15803 if test -n "$CC"; then
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15805 $as_echo "$CC" >&6; }
15807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15808 $as_echo "no" >&6; }
15812 test -n "$CC" && break
15815 if test -z "$CC"; then
15817 for ac_prog in cl.exe
15819 # Extract the first word of "$ac_prog", so it can be a program name with args.
15820 set dummy $ac_prog; ac_word=$2
15821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15822 $as_echo_n "checking for $ac_word... " >&6; }
15823 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
15824 $as_echo_n "(cached) " >&6
15826 if test -n "$ac_ct_CC"; then
15827 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15830 for as_dir in $PATH
15833 test -z "$as_dir" && as_dir=.
15834 for ac_exec_ext in '' $ac_executable_extensions; do
15835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15836 ac_cv_prog_ac_ct_CC="$ac_prog"
15837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15846 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15847 if test -n "$ac_ct_CC"; then
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15849 $as_echo "$ac_ct_CC" >&6; }
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15852 $as_echo "no" >&6; }
15856 test -n "$ac_ct_CC" && break
15859 if test "x$ac_ct_CC" = x; then
15862 case $cross_compiling:$ac_tool_warned in
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15866 ac_tool_warned=yes ;;
15875 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15876 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15877 as_fn_error $? "no acceptable C compiler found in \$PATH
15878 See \`config.log' for more details" "$LINENO" 5 ; }
15880 # Provide some information about the compiler.
15881 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
15884 for ac_option in --version -v -V -qversion; do
15885 { { ac_try="$ac_compiler $ac_option >&5"
15886 case "(($ac_try" in
15887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15888 *) ac_try_echo=$ac_try;;
15890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15891 $as_echo "$ac_try_echo"; } >&5
15892 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15894 if test -s conftest.err; then
15896 ... rest of stderr output deleted ...
15897 10q' conftest.err >conftest.er1
15898 cat conftest.er1 >&5
15900 rm -f conftest.er1 conftest.err
15901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15902 test $ac_status = 0; }
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
15906 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
15907 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
15908 $as_echo_n "(cached) " >&6
15910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15911 /* end confdefs.h. */
15924 if ac_fn_c_try_compile "$LINENO"; then :
15925 ac_compiler_gnu=yes
15929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15930 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
15934 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
15935 if test $ac_compiler_gnu = yes; then
15940 ac_test_CFLAGS=${CFLAGS+set}
15941 ac_save_CFLAGS=$CFLAGS
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
15943 $as_echo_n "checking whether $CC accepts -g... " >&6; }
15944 if test "${ac_cv_prog_cc_g+set}" = set; then :
15945 $as_echo_n "(cached) " >&6
15947 ac_save_c_werror_flag=$ac_c_werror_flag
15948 ac_c_werror_flag=yes
15951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15952 /* end confdefs.h. */
15962 if ac_fn_c_try_compile "$LINENO"; then :
15963 ac_cv_prog_cc_g=yes
15966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15967 /* end confdefs.h. */
15977 if ac_fn_c_try_compile "$LINENO"; then :
15980 ac_c_werror_flag=$ac_save_c_werror_flag
15982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15983 /* end confdefs.h. */
15993 if ac_fn_c_try_compile "$LINENO"; then :
15994 ac_cv_prog_cc_g=yes
15996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16001 ac_c_werror_flag=$ac_save_c_werror_flag
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16004 $as_echo "$ac_cv_prog_cc_g" >&6; }
16005 if test "$ac_test_CFLAGS" = set; then
16006 CFLAGS=$ac_save_CFLAGS
16007 elif test $ac_cv_prog_cc_g = yes; then
16008 if test "$GCC" = yes; then
16014 if test "$GCC" = yes; then
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16021 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16022 if test "${ac_cv_prog_cc_c89+set}" = set; then :
16023 $as_echo_n "(cached) " >&6
16025 ac_cv_prog_cc_c89=no
16027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16028 /* end confdefs.h. */
16029 #include <stdarg.h>
16031 #include <sys/types.h>
16032 #include <sys/stat.h>
16033 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16034 struct buf { int x; };
16035 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16036 static char *e (p, i)
16042 static char *f (char * (*g) (char **, int), char **p, ...)
16047 s = g (p, va_arg (v,int));
16052 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16053 function prototypes and stuff, but not '\xHH' hex character constants.
16054 These don't provoke an error unfortunately, instead are silently treated
16055 as 'x'. The following induces an error, until -std is added to get
16056 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16057 array size at least. It's necessary to write '\x00'==0 to get something
16058 that's true only with -std. */
16059 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16061 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16062 inside strings and character constants. */
16064 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16066 int test (int i, double x);
16067 struct s1 {int (*f) (int a);};
16068 struct s2 {int (*f) (double a);};
16069 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16075 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16080 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16081 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16083 CC="$ac_save_CC $ac_arg"
16084 if ac_fn_c_try_compile "$LINENO"; then :
16085 ac_cv_prog_cc_c89=$ac_arg
16087 rm -f core conftest.err conftest.$ac_objext
16088 test "x$ac_cv_prog_cc_c89" != "xno" && break
16090 rm -f conftest.$ac_ext
16095 case "x$ac_cv_prog_cc_c89" in
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16098 $as_echo "none needed" >&6; } ;;
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16101 $as_echo "unsupported" >&6; } ;;
16103 CC="$CC $ac_cv_prog_cc_c89"
16104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16105 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16107 if test "x$ac_cv_prog_cc_c89" != xno; then :
16112 ac_cpp='$CPP $CPPFLAGS'
16113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16117 depcc="$CC" am_compiler_list=
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16120 $as_echo_n "checking dependency style of $depcc... " >&6; }
16121 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
16122 $as_echo_n "(cached) " >&6
16124 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16125 # We make a subdir and do the tests there. Otherwise we can end up
16126 # making bogus files that we don't know about and never remove. For
16127 # instance it was reported that on HP-UX the gcc test will end up
16128 # making a dummy file named `D' -- because `-MD' means `put the output
16131 # Copy depcomp to subdir because otherwise we won't find it if we're
16132 # using a relative directory.
16133 cp "$am_depcomp" conftest.dir
16135 # We will build objects and dependencies in a subdirectory because
16136 # it helps to detect inapplicable dependency modes. For instance
16137 # both Tru64's cc and ICC support -MD to output dependencies as a
16138 # side effect of compilation, but ICC will put the dependencies in
16139 # the current directory while Tru64 will put them in the object
16143 am_cv_CC_dependencies_compiler_type=none
16144 if test "$am_compiler_list" = ""; then
16145 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16147 am__universal=false
16148 case " $depcc " in #(
16149 *\ -arch\ *\ -arch\ *) am__universal=true ;;
16152 for depmode in $am_compiler_list; do
16153 # Setup a source with many dependencies, because some compilers
16154 # like to wrap large dependency lists on column 80 (with \), and
16155 # we should not choose a depcomp mode which is confused by this.
16157 # We need to recreate these files for each test, as the compiler may
16158 # overwrite some of them when testing with obscure command lines.
16159 # This happens at least with the AIX C compiler.
16161 for i in 1 2 3 4 5 6; do
16162 echo '#include "conftst'$i'.h"' >> sub/conftest.c
16163 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16164 # Solaris 8's {/usr,}/bin/sh.
16165 touch sub/conftst$i.h
16167 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16169 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16170 # mode. It turns out that the SunPro C++ compiler does not properly
16171 # handle `-M -o', and we need to detect this. Also, some Intel
16172 # versions had trouble with output in subdirs
16173 am__obj=sub/conftest.${OBJEXT-o}
16174 am__minus_obj="-o $am__obj"
16177 # This depmode causes a compiler race in universal mode.
16178 test "$am__universal" = false || continue
16181 # after this tag, mechanisms are not by side-effect, so they'll
16182 # only be used when explicitly requested
16183 if test "x$enable_dependency_tracking" = xyes; then
16189 msvisualcpp | msvcmsys)
16190 # This compiler won't grok `-c -o', but also, the minuso test has
16191 # not run yet. These depmodes are late enough in the game, and
16192 # so weak that their functioning should not be impacted.
16193 am__obj=conftest.${OBJEXT-o}
16198 if depmode=$depmode \
16199 source=sub/conftest.c object=$am__obj \
16200 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16201 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16202 >/dev/null 2>conftest.err &&
16203 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16204 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16205 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16206 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16207 # icc doesn't choke on unknown options, it will just issue warnings
16208 # or remarks (even with -Werror). So we grep stderr for any message
16209 # that says an option was ignored or not supported.
16210 # When given -MP, icc 7.0 and 7.1 complain thusly:
16211 # icc: Command line warning: ignoring option '-M'; no argument required
16212 # The diagnosis changed in icc 8.0:
16213 # icc: Command line remark: option '-MP' not supported
16214 if (grep 'ignoring option' conftest.err ||
16215 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16216 am_cv_CC_dependencies_compiler_type=$depmode
16223 rm -rf conftest.dir
16225 am_cv_CC_dependencies_compiler_type=none
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
16230 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
16231 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
16234 test "x$enable_dependency_tracking" != xno \
16235 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
16236 am__fastdepCC_TRUE=
16237 am__fastdepCC_FALSE='#'
16239 am__fastdepCC_TRUE='#'
16240 am__fastdepCC_FALSE=
16244 case $ac_cv_prog_cc_stdc in #(
16246 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
16249 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
16250 if test "${ac_cv_prog_cc_c99+set}" = set; then :
16251 $as_echo_n "(cached) " >&6
16253 ac_cv_prog_cc_c99=no
16255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16256 /* end confdefs.h. */
16257 #include <stdarg.h>
16258 #include <stdbool.h>
16259 #include <stdlib.h>
16263 // Check varargs macros. These examples are taken from C99 6.10.3.5.
16264 #define debug(...) fprintf (stderr, __VA_ARGS__)
16265 #define showlist(...) puts (#__VA_ARGS__)
16266 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
16268 test_varargs_macros (void)
16273 debug ("X = %d\n", x);
16274 showlist (The first, second, and third items.);
16275 report (x>y, "x is %d but y is %d", x, y);
16278 // Check long long types.
16279 #define BIG64 18446744073709551615ull
16280 #define BIG32 4294967295ul
16281 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
16283 your preprocessor is broken;
16287 your preprocessor is broken;
16289 static long long int bignum = -9223372036854775807LL;
16290 static unsigned long long int ubignum = BIG64;
16292 struct incomplete_array
16298 struct named_init {
16300 const wchar_t *name;
16304 typedef const char *ccp;
16307 test_restrict (ccp restrict text)
16309 // See if C++-style comments work.
16310 // Iterate through items via the restricted pointer.
16311 // Also check for declarations in for loops.
16312 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
16317 // Check varargs and va_copy.
16319 test_varargs (const char *format, ...)
16322 va_start (args, format);
16324 va_copy (args_copy, args);
16334 case 's': // string
16335 str = va_arg (args_copy, const char *);
16338 number = va_arg (args_copy, int);
16341 fnumber = va_arg (args_copy, double);
16347 va_end (args_copy);
16356 _Bool success = false;
16359 if (test_restrict ("String literal") == 0)
16361 char *restrict newvar = "Another string";
16364 test_varargs ("s, d' f .", "string", 65, 34.234);
16365 test_varargs_macros ();
16367 // Check flexible array members.
16368 struct incomplete_array *ia =
16369 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
16371 for (int i = 0; i < ia->datasize; ++i)
16372 ia->data[i] = i * 1.234;
16374 // Check named initializers.
16375 struct named_init ni = {
16377 .name = L"Test wide string",
16378 .average = 543.34343,
16383 int dynamic_array[ni.number];
16384 dynamic_array[ni.number - 1] = 543;
16386 // work around unused variable warnings
16387 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
16388 || dynamic_array[ni.number - 1] != 543);
16394 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
16396 CC="$ac_save_CC $ac_arg"
16397 if ac_fn_c_try_compile "$LINENO"; then :
16398 ac_cv_prog_cc_c99=$ac_arg
16400 rm -f core conftest.err conftest.$ac_objext
16401 test "x$ac_cv_prog_cc_c99" != "xno" && break
16403 rm -f conftest.$ac_ext
16408 case "x$ac_cv_prog_cc_c99" in
16410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16411 $as_echo "none needed" >&6; } ;;
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16414 $as_echo "unsupported" >&6; } ;;
16416 CC="$CC $ac_cv_prog_cc_c99"
16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
16418 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
16420 if test "x$ac_cv_prog_cc_c99" != xno; then :
16421 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
16423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16424 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16425 if test "${ac_cv_prog_cc_c89+set}" = set; then :
16426 $as_echo_n "(cached) " >&6
16428 ac_cv_prog_cc_c89=no
16430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16431 /* end confdefs.h. */
16432 #include <stdarg.h>
16434 #include <sys/types.h>
16435 #include <sys/stat.h>
16436 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16437 struct buf { int x; };
16438 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16439 static char *e (p, i)
16445 static char *f (char * (*g) (char **, int), char **p, ...)
16450 s = g (p, va_arg (v,int));
16455 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16456 function prototypes and stuff, but not '\xHH' hex character constants.
16457 These don't provoke an error unfortunately, instead are silently treated
16458 as 'x'. The following induces an error, until -std is added to get
16459 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16460 array size at least. It's necessary to write '\x00'==0 to get something
16461 that's true only with -std. */
16462 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16464 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16465 inside strings and character constants. */
16467 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16469 int test (int i, double x);
16470 struct s1 {int (*f) (int a);};
16471 struct s2 {int (*f) (double a);};
16472 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16478 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16483 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16484 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16486 CC="$ac_save_CC $ac_arg"
16487 if ac_fn_c_try_compile "$LINENO"; then :
16488 ac_cv_prog_cc_c89=$ac_arg
16490 rm -f core conftest.err conftest.$ac_objext
16491 test "x$ac_cv_prog_cc_c89" != "xno" && break
16493 rm -f conftest.$ac_ext
16498 case "x$ac_cv_prog_cc_c89" in
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16501 $as_echo "none needed" >&6; } ;;
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16504 $as_echo "unsupported" >&6; } ;;
16506 CC="$CC $ac_cv_prog_cc_c89"
16507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16508 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16510 if test "x$ac_cv_prog_cc_c89" != xno; then :
16511 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
16513 ac_cv_prog_cc_stdc=no
16519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
16520 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
16521 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
16522 $as_echo_n "(cached) " >&6
16525 case $ac_cv_prog_cc_stdc in #(
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16528 $as_echo "unsupported" >&6; } ;; #(
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16531 $as_echo "none needed" >&6; } ;; #(
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
16534 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
16539 ac_cpp='$CXXCPP $CPPFLAGS'
16540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16543 if test -z "$CXX"; then
16544 if test -n "$CCC"; then
16547 if test -n "$ac_tool_prefix"; then
16548 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16550 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16551 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16553 $as_echo_n "checking for $ac_word... " >&6; }
16554 if test "${ac_cv_prog_CXX+set}" = set; then :
16555 $as_echo_n "(cached) " >&6
16557 if test -n "$CXX"; then
16558 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16561 for as_dir in $PATH
16564 test -z "$as_dir" && as_dir=.
16565 for ac_exec_ext in '' $ac_executable_extensions; do
16566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16567 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16577 CXX=$ac_cv_prog_CXX
16578 if test -n "$CXX"; then
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
16580 $as_echo "$CXX" >&6; }
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16583 $as_echo "no" >&6; }
16587 test -n "$CXX" && break
16590 if test -z "$CXX"; then
16592 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16594 # Extract the first word of "$ac_prog", so it can be a program name with args.
16595 set dummy $ac_prog; ac_word=$2
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16597 $as_echo_n "checking for $ac_word... " >&6; }
16598 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
16599 $as_echo_n "(cached) " >&6
16601 if test -n "$ac_ct_CXX"; then
16602 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16605 for as_dir in $PATH
16608 test -z "$as_dir" && as_dir=.
16609 for ac_exec_ext in '' $ac_executable_extensions; do
16610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16611 ac_cv_prog_ac_ct_CXX="$ac_prog"
16612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16621 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16622 if test -n "$ac_ct_CXX"; then
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
16624 $as_echo "$ac_ct_CXX" >&6; }
16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16627 $as_echo "no" >&6; }
16631 test -n "$ac_ct_CXX" && break
16634 if test "x$ac_ct_CXX" = x; then
16637 case $cross_compiling:$ac_tool_warned in
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16641 ac_tool_warned=yes ;;
16649 # Provide some information about the compiler.
16650 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
16653 for ac_option in --version -v -V -qversion; do
16654 { { ac_try="$ac_compiler $ac_option >&5"
16655 case "(($ac_try" in
16656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16657 *) ac_try_echo=$ac_try;;
16659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16660 $as_echo "$ac_try_echo"; } >&5
16661 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16663 if test -s conftest.err; then
16665 ... rest of stderr output deleted ...
16666 10q' conftest.err >conftest.er1
16667 cat conftest.er1 >&5
16669 rm -f conftest.er1 conftest.err
16670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16671 test $ac_status = 0; }
16674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
16675 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
16676 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
16677 $as_echo_n "(cached) " >&6
16679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16680 /* end confdefs.h. */
16693 if ac_fn_cxx_try_compile "$LINENO"; then :
16694 ac_compiler_gnu=yes
16698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16699 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
16703 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
16704 if test $ac_compiler_gnu = yes; then
16709 ac_test_CXXFLAGS=${CXXFLAGS+set}
16710 ac_save_CXXFLAGS=$CXXFLAGS
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
16712 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
16713 if test "${ac_cv_prog_cxx_g+set}" = set; then :
16714 $as_echo_n "(cached) " >&6
16716 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16717 ac_cxx_werror_flag=yes
16718 ac_cv_prog_cxx_g=no
16720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16721 /* end confdefs.h. */
16731 if ac_fn_cxx_try_compile "$LINENO"; then :
16732 ac_cv_prog_cxx_g=yes
16735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16736 /* end confdefs.h. */
16746 if ac_fn_cxx_try_compile "$LINENO"; then :
16749 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16752 /* end confdefs.h. */
16762 if ac_fn_cxx_try_compile "$LINENO"; then :
16763 ac_cv_prog_cxx_g=yes
16765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16770 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
16773 $as_echo "$ac_cv_prog_cxx_g" >&6; }
16774 if test "$ac_test_CXXFLAGS" = set; then
16775 CXXFLAGS=$ac_save_CXXFLAGS
16776 elif test $ac_cv_prog_cxx_g = yes; then
16777 if test "$GXX" = yes; then
16783 if test "$GXX" = yes; then
16790 ac_cpp='$CPP $CPPFLAGS'
16791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16795 depcc="$CXX" am_compiler_list=
16797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16798 $as_echo_n "checking dependency style of $depcc... " >&6; }
16799 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
16800 $as_echo_n "(cached) " >&6
16802 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16803 # We make a subdir and do the tests there. Otherwise we can end up
16804 # making bogus files that we don't know about and never remove. For
16805 # instance it was reported that on HP-UX the gcc test will end up
16806 # making a dummy file named `D' -- because `-MD' means `put the output
16809 # Copy depcomp to subdir because otherwise we won't find it if we're
16810 # using a relative directory.
16811 cp "$am_depcomp" conftest.dir
16813 # We will build objects and dependencies in a subdirectory because
16814 # it helps to detect inapplicable dependency modes. For instance
16815 # both Tru64's cc and ICC support -MD to output dependencies as a
16816 # side effect of compilation, but ICC will put the dependencies in
16817 # the current directory while Tru64 will put them in the object
16821 am_cv_CXX_dependencies_compiler_type=none
16822 if test "$am_compiler_list" = ""; then
16823 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16825 am__universal=false
16826 case " $depcc " in #(
16827 *\ -arch\ *\ -arch\ *) am__universal=true ;;
16830 for depmode in $am_compiler_list; do
16831 # Setup a source with many dependencies, because some compilers
16832 # like to wrap large dependency lists on column 80 (with \), and
16833 # we should not choose a depcomp mode which is confused by this.
16835 # We need to recreate these files for each test, as the compiler may
16836 # overwrite some of them when testing with obscure command lines.
16837 # This happens at least with the AIX C compiler.
16839 for i in 1 2 3 4 5 6; do
16840 echo '#include "conftst'$i'.h"' >> sub/conftest.c
16841 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16842 # Solaris 8's {/usr,}/bin/sh.
16843 touch sub/conftst$i.h
16845 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16847 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16848 # mode. It turns out that the SunPro C++ compiler does not properly
16849 # handle `-M -o', and we need to detect this. Also, some Intel
16850 # versions had trouble with output in subdirs
16851 am__obj=sub/conftest.${OBJEXT-o}
16852 am__minus_obj="-o $am__obj"
16855 # This depmode causes a compiler race in universal mode.
16856 test "$am__universal" = false || continue
16859 # after this tag, mechanisms are not by side-effect, so they'll
16860 # only be used when explicitly requested
16861 if test "x$enable_dependency_tracking" = xyes; then
16867 msvisualcpp | msvcmsys)
16868 # This compiler won't grok `-c -o', but also, the minuso test has
16869 # not run yet. These depmodes are late enough in the game, and
16870 # so weak that their functioning should not be impacted.
16871 am__obj=conftest.${OBJEXT-o}
16876 if depmode=$depmode \
16877 source=sub/conftest.c object=$am__obj \
16878 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16879 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16880 >/dev/null 2>conftest.err &&
16881 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16882 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16883 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16884 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16885 # icc doesn't choke on unknown options, it will just issue warnings
16886 # or remarks (even with -Werror). So we grep stderr for any message
16887 # that says an option was ignored or not supported.
16888 # When given -MP, icc 7.0 and 7.1 complain thusly:
16889 # icc: Command line warning: ignoring option '-M'; no argument required
16890 # The diagnosis changed in icc 8.0:
16891 # icc: Command line remark: option '-MP' not supported
16892 if (grep 'ignoring option' conftest.err ||
16893 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16894 am_cv_CXX_dependencies_compiler_type=$depmode
16901 rm -rf conftest.dir
16903 am_cv_CXX_dependencies_compiler_type=none
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
16908 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
16909 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
16912 test "x$enable_dependency_tracking" != xno \
16913 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
16914 am__fastdepCXX_TRUE=
16915 am__fastdepCXX_FALSE='#'
16917 am__fastdepCXX_TRUE='#'
16918 am__fastdepCXX_FALSE=
16924 ac_cpp='$CXXCPP $CPPFLAGS'
16925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16928 if test -z "$CXX"; then
16929 if test -n "$CCC"; then
16932 if test -n "$ac_tool_prefix"; then
16933 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16935 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16936 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16938 $as_echo_n "checking for $ac_word... " >&6; }
16939 if test "${ac_cv_prog_CXX+set}" = set; then :
16940 $as_echo_n "(cached) " >&6
16942 if test -n "$CXX"; then
16943 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16946 for as_dir in $PATH
16949 test -z "$as_dir" && as_dir=.
16950 for ac_exec_ext in '' $ac_executable_extensions; do
16951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16952 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16962 CXX=$ac_cv_prog_CXX
16963 if test -n "$CXX"; then
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
16965 $as_echo "$CXX" >&6; }
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16968 $as_echo "no" >&6; }
16972 test -n "$CXX" && break
16975 if test -z "$CXX"; then
16977 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16979 # Extract the first word of "$ac_prog", so it can be a program name with args.
16980 set dummy $ac_prog; ac_word=$2
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16982 $as_echo_n "checking for $ac_word... " >&6; }
16983 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
16984 $as_echo_n "(cached) " >&6
16986 if test -n "$ac_ct_CXX"; then
16987 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16990 for as_dir in $PATH
16993 test -z "$as_dir" && as_dir=.
16994 for ac_exec_ext in '' $ac_executable_extensions; do
16995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16996 ac_cv_prog_ac_ct_CXX="$ac_prog"
16997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17006 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17007 if test -n "$ac_ct_CXX"; then
17008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
17009 $as_echo "$ac_ct_CXX" >&6; }
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17012 $as_echo "no" >&6; }
17016 test -n "$ac_ct_CXX" && break
17019 if test "x$ac_ct_CXX" = x; then
17022 case $cross_compiling:$ac_tool_warned in
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17026 ac_tool_warned=yes ;;
17034 # Provide some information about the compiler.
17035 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
17038 for ac_option in --version -v -V -qversion; do
17039 { { ac_try="$ac_compiler $ac_option >&5"
17040 case "(($ac_try" in
17041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17042 *) ac_try_echo=$ac_try;;
17044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17045 $as_echo "$ac_try_echo"; } >&5
17046 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17048 if test -s conftest.err; then
17050 ... rest of stderr output deleted ...
17051 10q' conftest.err >conftest.er1
17052 cat conftest.er1 >&5
17054 rm -f conftest.er1 conftest.err
17055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17056 test $ac_status = 0; }
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
17060 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
17061 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
17062 $as_echo_n "(cached) " >&6
17064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h. */
17078 if ac_fn_cxx_try_compile "$LINENO"; then :
17079 ac_compiler_gnu=yes
17083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17084 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
17088 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
17089 if test $ac_compiler_gnu = yes; then
17094 ac_test_CXXFLAGS=${CXXFLAGS+set}
17095 ac_save_CXXFLAGS=$CXXFLAGS
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
17097 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
17098 if test "${ac_cv_prog_cxx_g+set}" = set; then :
17099 $as_echo_n "(cached) " >&6
17101 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17102 ac_cxx_werror_flag=yes
17103 ac_cv_prog_cxx_g=no
17105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17106 /* end confdefs.h. */
17116 if ac_fn_cxx_try_compile "$LINENO"; then :
17117 ac_cv_prog_cxx_g=yes
17120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17121 /* end confdefs.h. */
17131 if ac_fn_cxx_try_compile "$LINENO"; then :
17134 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17147 if ac_fn_cxx_try_compile "$LINENO"; then :
17148 ac_cv_prog_cxx_g=yes
17150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17155 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
17158 $as_echo "$ac_cv_prog_cxx_g" >&6; }
17159 if test "$ac_test_CXXFLAGS" = set; then
17160 CXXFLAGS=$ac_save_CXXFLAGS
17161 elif test $ac_cv_prog_cxx_g = yes; then
17162 if test "$GXX" = yes; then
17168 if test "$GXX" = yes; then
17175 ac_cpp='$CPP $CPPFLAGS'
17176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17180 depcc="$CXX" am_compiler_list=
17182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17183 $as_echo_n "checking dependency style of $depcc... " >&6; }
17184 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
17185 $as_echo_n "(cached) " >&6
17187 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17188 # We make a subdir and do the tests there. Otherwise we can end up
17189 # making bogus files that we don't know about and never remove. For
17190 # instance it was reported that on HP-UX the gcc test will end up
17191 # making a dummy file named `D' -- because `-MD' means `put the output
17194 # Copy depcomp to subdir because otherwise we won't find it if we're
17195 # using a relative directory.
17196 cp "$am_depcomp" conftest.dir
17198 # We will build objects and dependencies in a subdirectory because
17199 # it helps to detect inapplicable dependency modes. For instance
17200 # both Tru64's cc and ICC support -MD to output dependencies as a
17201 # side effect of compilation, but ICC will put the dependencies in
17202 # the current directory while Tru64 will put them in the object
17206 am_cv_CXX_dependencies_compiler_type=none
17207 if test "$am_compiler_list" = ""; then
17208 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17210 am__universal=false
17211 case " $depcc " in #(
17212 *\ -arch\ *\ -arch\ *) am__universal=true ;;
17215 for depmode in $am_compiler_list; do
17216 # Setup a source with many dependencies, because some compilers
17217 # like to wrap large dependency lists on column 80 (with \), and
17218 # we should not choose a depcomp mode which is confused by this.
17220 # We need to recreate these files for each test, as the compiler may
17221 # overwrite some of them when testing with obscure command lines.
17222 # This happens at least with the AIX C compiler.
17224 for i in 1 2 3 4 5 6; do
17225 echo '#include "conftst'$i'.h"' >> sub/conftest.c
17226 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17227 # Solaris 8's {/usr,}/bin/sh.
17228 touch sub/conftst$i.h
17230 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17232 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17233 # mode. It turns out that the SunPro C++ compiler does not properly
17234 # handle `-M -o', and we need to detect this. Also, some Intel
17235 # versions had trouble with output in subdirs
17236 am__obj=sub/conftest.${OBJEXT-o}
17237 am__minus_obj="-o $am__obj"
17240 # This depmode causes a compiler race in universal mode.
17241 test "$am__universal" = false || continue
17244 # after this tag, mechanisms are not by side-effect, so they'll
17245 # only be used when explicitly requested
17246 if test "x$enable_dependency_tracking" = xyes; then
17252 msvisualcpp | msvcmsys)
17253 # This compiler won't grok `-c -o', but also, the minuso test has
17254 # not run yet. These depmodes are late enough in the game, and
17255 # so weak that their functioning should not be impacted.
17256 am__obj=conftest.${OBJEXT-o}
17261 if depmode=$depmode \
17262 source=sub/conftest.c object=$am__obj \
17263 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17264 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17265 >/dev/null 2>conftest.err &&
17266 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17267 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17268 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17269 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17270 # icc doesn't choke on unknown options, it will just issue warnings
17271 # or remarks (even with -Werror). So we grep stderr for any message
17272 # that says an option was ignored or not supported.
17273 # When given -MP, icc 7.0 and 7.1 complain thusly:
17274 # icc: Command line warning: ignoring option '-M'; no argument required
17275 # The diagnosis changed in icc 8.0:
17276 # icc: Command line remark: option '-MP' not supported
17277 if (grep 'ignoring option' conftest.err ||
17278 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17279 am_cv_CXX_dependencies_compiler_type=$depmode
17286 rm -rf conftest.dir
17288 am_cv_CXX_dependencies_compiler_type=none
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
17293 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
17294 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
17297 test "x$enable_dependency_tracking" != xno \
17298 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
17299 am__fastdepCXX_TRUE=
17300 am__fastdepCXX_FALSE='#'
17302 am__fastdepCXX_TRUE='#'
17303 am__fastdepCXX_FALSE=
17307 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
17308 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
17309 (test "X$CXX" != "Xg++"))) ; then
17311 ac_cpp='$CXXCPP $CPPFLAGS'
17312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
17316 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
17317 if test -z "$CXXCPP"; then
17318 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
17319 $as_echo_n "(cached) " >&6
17321 # Double quotes because CXXCPP needs to be expanded
17322 for CXXCPP in "$CXX -E" "/lib/cpp"
17324 ac_preproc_ok=false
17325 for ac_cxx_preproc_warn_flag in '' yes
17327 # Use a header file that comes with gcc, so configuring glibc
17328 # with a fresh cross-compiler works.
17329 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17330 # <limits.h> exists even on freestanding compilers.
17331 # On the NeXT, cc -E runs the code through the compiler's parser,
17332 # not just through cpp. "Syntax error" is here to catch this case.
17333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334 /* end confdefs.h. */
17336 # include <limits.h>
17338 # include <assert.h>
17342 if ac_fn_cxx_try_cpp "$LINENO"; then :
17345 # Broken: fails on valid input.
17348 rm -f conftest.err conftest.i conftest.$ac_ext
17350 # OK, works on sane cases. Now check whether nonexistent headers
17351 # can be detected and how.
17352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17353 /* end confdefs.h. */
17354 #include <ac_nonexistent.h>
17356 if ac_fn_cxx_try_cpp "$LINENO"; then :
17357 # Broken: success on invalid input.
17360 # Passes both tests.
17364 rm -f conftest.err conftest.i conftest.$ac_ext
17367 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17368 rm -f conftest.i conftest.err conftest.$ac_ext
17369 if $ac_preproc_ok; then :
17374 ac_cv_prog_CXXCPP=$CXXCPP
17377 CXXCPP=$ac_cv_prog_CXXCPP
17379 ac_cv_prog_CXXCPP=$CXXCPP
17381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
17382 $as_echo "$CXXCPP" >&6; }
17383 ac_preproc_ok=false
17384 for ac_cxx_preproc_warn_flag in '' yes
17386 # Use a header file that comes with gcc, so configuring glibc
17387 # with a fresh cross-compiler works.
17388 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17389 # <limits.h> exists even on freestanding compilers.
17390 # On the NeXT, cc -E runs the code through the compiler's parser,
17391 # not just through cpp. "Syntax error" is here to catch this case.
17392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17393 /* end confdefs.h. */
17395 # include <limits.h>
17397 # include <assert.h>
17401 if ac_fn_cxx_try_cpp "$LINENO"; then :
17404 # Broken: fails on valid input.
17407 rm -f conftest.err conftest.i conftest.$ac_ext
17409 # OK, works on sane cases. Now check whether nonexistent headers
17410 # can be detected and how.
17411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17412 /* end confdefs.h. */
17413 #include <ac_nonexistent.h>
17415 if ac_fn_cxx_try_cpp "$LINENO"; then :
17416 # Broken: success on invalid input.
17419 # Passes both tests.
17423 rm -f conftest.err conftest.i conftest.$ac_ext
17426 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17427 rm -f conftest.i conftest.err conftest.$ac_ext
17428 if $ac_preproc_ok; then :
17431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17433 _lt_caught_CXX_error=yes; }
17437 ac_cpp='$CPP $CPPFLAGS'
17438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17443 _lt_caught_CXX_error=yes
17450 ac_cpp='$CXXCPP $CPPFLAGS'
17451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17455 archive_cmds_need_lc_CXX=no
17456 allow_undefined_flag_CXX=
17457 always_export_symbols_CXX=no
17458 archive_expsym_cmds_CXX=
17459 compiler_needs_object_CXX=no
17460 export_dynamic_flag_spec_CXX=
17461 hardcode_direct_CXX=no
17462 hardcode_direct_absolute_CXX=no
17463 hardcode_libdir_flag_spec_CXX=
17464 hardcode_libdir_flag_spec_ld_CXX=
17465 hardcode_libdir_separator_CXX=
17466 hardcode_minus_L_CXX=no
17467 hardcode_shlibpath_var_CXX=unsupported
17468 hardcode_automatic_CXX=no
17469 inherit_rpath_CXX=no
17471 module_expsym_cmds_CXX=
17472 link_all_deplibs_CXX=unknown
17473 old_archive_cmds_CXX=$old_archive_cmds
17474 no_undefined_flag_CXX=
17475 whole_archive_flag_spec_CXX=
17476 enable_shared_with_static_runtimes_CXX=no
17478 # Source file extension for C++ test sources.
17481 # Object file extension for compiled C++ test sources.
17485 # No sense in running all these tests if we already determined that
17486 # the CXX compiler isn't working. Some variables (like enable_shared)
17487 # are currently assumed to apply to all compilers on this platform,
17488 # and will be corrupted by setting them based on a non-working compiler.
17489 if test "$_lt_caught_CXX_error" != yes; then
17490 # Code to be used in simple compile tests
17491 lt_simple_compile_test_code="int some_variable = 0;"
17493 # Code to be used in simple link tests
17494 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
17496 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17503 # If no C compiler was specified, use CC.
17506 # If no C compiler flags were specified, use CFLAGS.
17507 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17509 # Allow CC to be a program name with arguments.
17513 # save warnings/boilerplate of simple test code
17514 ac_outfile=conftest.$ac_objext
17515 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17516 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17517 _lt_compiler_boilerplate=`cat conftest.err`
17520 ac_outfile=conftest.$ac_objext
17521 echo "$lt_simple_link_test_code" >conftest.$ac_ext
17522 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17523 _lt_linker_boilerplate=`cat conftest.err`
17527 # Allow CC to be a program name with arguments.
17532 lt_save_with_gnu_ld=$with_gnu_ld
17533 lt_save_path_LD=$lt_cv_path_LD
17534 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
17535 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
17537 $as_unset lt_cv_prog_gnu_ld
17539 if test -n "${lt_cv_path_LDCXX+set}"; then
17540 lt_cv_path_LD=$lt_cv_path_LDCXX
17542 $as_unset lt_cv_path_LD
17544 test -z "${LDCXX+set}" || LD=$LDCXX
17548 for cc_temp in $compiler""; do
17550 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17551 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17556 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17559 if test -n "$compiler"; then
17560 # We don't want -fno-exception when compiling C++ code, so set the
17561 # no_builtin_flag separately
17562 if test "$GXX" = yes; then
17563 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
17565 lt_prog_compiler_no_builtin_flag_CXX=
17568 if test "$GXX" = yes; then
17569 # Set up default GNU C++ configuration
17573 # Check whether --with-gnu-ld was given.
17574 if test "${with_gnu_ld+set}" = set; then :
17575 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17581 if test "$GCC" = yes; then
17582 # Check if gcc -print-prog-name=ld gives a path.
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
17584 $as_echo_n "checking for ld used by $CC... " >&6; }
17587 # gcc leaves a trailing carriage return which upsets mingw
17588 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17590 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17593 # Accept absolute paths.
17595 re_direlt='/[^/][^/]*/\.\./'
17596 # Canonicalize the pathname of ld
17597 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
17598 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
17599 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
17601 test -z "$LD" && LD="$ac_prog"
17604 # If it fails, then pretend we aren't using GCC.
17608 # If it is relative, then search for the first ld in PATH.
17609 with_gnu_ld=unknown
17612 elif test "$with_gnu_ld" = yes; then
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17614 $as_echo_n "checking for GNU ld... " >&6; }
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17617 $as_echo_n "checking for non-GNU ld... " >&6; }
17619 if test "${lt_cv_path_LD+set}" = set; then :
17620 $as_echo_n "(cached) " >&6
17622 if test -z "$LD"; then
17623 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17624 for ac_dir in $PATH; do
17626 test -z "$ac_dir" && ac_dir=.
17627 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17628 lt_cv_path_LD="$ac_dir/$ac_prog"
17629 # Check to see if the program is GNU ld. I'd rather use --version,
17630 # but apparently some variants of GNU ld only accept -v.
17631 # Break only if it was the GNU/non-GNU ld that we prefer.
17632 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17633 *GNU* | *'with BFD'*)
17634 test "$with_gnu_ld" != no && break
17637 test "$with_gnu_ld" != yes && break
17644 lt_cv_path_LD="$LD" # Let the user override the test with a path.
17648 LD="$lt_cv_path_LD"
17649 if test -n "$LD"; then
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17651 $as_echo "$LD" >&6; }
17653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17654 $as_echo "no" >&6; }
17656 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17658 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17659 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
17660 $as_echo_n "(cached) " >&6
17662 # I'd rather use --version here, but apparently some GNU lds only accept -v.
17663 case `$LD -v 2>&1 </dev/null` in
17664 *GNU* | *'with BFD'*)
17665 lt_cv_prog_gnu_ld=yes
17668 lt_cv_prog_gnu_ld=no
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
17673 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
17674 with_gnu_ld=$lt_cv_prog_gnu_ld
17682 # Check if GNU C++ uses GNU ld as the underlying linker, since the
17683 # archiving commands below assume that GNU ld is being used.
17684 if test "$with_gnu_ld" = yes; then
17685 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17686 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17688 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17689 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17691 # If archive_cmds runs LD, not CC, wlarc should be empty
17692 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
17693 # investigate it a little bit more. (MM)
17696 # ancient GNU ld didn't support --whole-archive et. al.
17697 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
17698 $GREP 'no-whole-archive' > /dev/null; then
17699 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17701 whole_archive_flag_spec_CXX=
17707 # A generic and very simple default shared library creation
17708 # command for GNU C++ for the case where it uses the native
17709 # linker, instead of GNU ld. If possible, this setting should
17710 # overridden to take advantage of the native linker features on
17711 # the platform it is being used on.
17712 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17715 # Commands to make compiler produce verbose output that lists
17716 # what "hidden" libraries, object files and flags are used when
17717 # linking a shared library.
17718 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
17726 # PORTME: fill in a description of your system's C++ link characteristics
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17728 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17732 # FIXME: insert proper C++ library support
17736 if test "$host_cpu" = ia64; then
17737 # On IA64, the linker does run time linking by default, so we don't
17738 # have to do anything special.
17739 aix_use_runtimelinking=no
17740 exp_sym_flag='-Bexport'
17743 aix_use_runtimelinking=no
17745 # Test if we are trying to use run time linking or normal
17746 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17747 # need to do runtime linking.
17748 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17749 for ld_flag in $LDFLAGS; do
17752 aix_use_runtimelinking=yes
17760 exp_sym_flag='-bexport'
17761 no_entry_flag='-bnoentry'
17764 # When large executables or shared objects are built, AIX ld can
17765 # have problems creating the table of contents. If linking a library
17766 # or program results in "error TOC overflow" add -mminimal-toc to
17767 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17768 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17770 archive_cmds_CXX=''
17771 hardcode_direct_CXX=yes
17772 hardcode_direct_absolute_CXX=yes
17773 hardcode_libdir_separator_CXX=':'
17774 link_all_deplibs_CXX=yes
17775 file_list_spec_CXX='${wl}-f,'
17777 if test "$GXX" = yes; then
17778 case $host_os in aix4.[012]|aix4.[012].*)
17779 # We only want to do this on AIX 4.2 and lower, the check
17780 # below for broken collect2 doesn't work under 4.3+
17781 collect2name=`${CC} -print-prog-name=collect2`
17782 if test -f "$collect2name" &&
17783 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
17785 # We have reworked collect2
17788 # We have old collect2
17789 hardcode_direct_CXX=unsupported
17790 # It fails to find uninstalled libraries when the uninstalled
17791 # path is not listed in the libpath. Setting hardcode_minus_L
17792 # to unsupported forces relinking
17793 hardcode_minus_L_CXX=yes
17794 hardcode_libdir_flag_spec_CXX='-L$libdir'
17795 hardcode_libdir_separator_CXX=
17798 shared_flag='-shared'
17799 if test "$aix_use_runtimelinking" = yes; then
17800 shared_flag="$shared_flag "'${wl}-G'
17804 if test "$host_cpu" = ia64; then
17805 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17806 # chokes on -Wl,-G. The following line is correct:
17809 if test "$aix_use_runtimelinking" = yes; then
17810 shared_flag='${wl}-G'
17812 shared_flag='${wl}-bM:SRE'
17817 export_dynamic_flag_spec_CXX='${wl}-bexpall'
17818 # It seems that -bexpall does not export symbols beginning with
17819 # underscore (_), so it is better to generate a list of symbols to
17821 always_export_symbols_CXX=yes
17822 if test "$aix_use_runtimelinking" = yes; then
17823 # Warning - without using the other runtime loading flags (-brtl),
17824 # -berok will link without error, but may produce a broken library.
17825 allow_undefined_flag_CXX='-berok'
17826 # Determine the default libpath from the value encoded in an empty
17828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17829 /* end confdefs.h. */
17839 if ac_fn_cxx_try_link "$LINENO"; then :
17841 lt_aix_libpath_sed='
17842 /Import File Strings/,/^$/ {
17848 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17849 # Check for a 64-bit object if we didn't find anything.
17850 if test -z "$aix_libpath"; then
17851 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17854 rm -f core conftest.err conftest.$ac_objext \
17855 conftest$ac_exeext conftest.$ac_ext
17856 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17858 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17860 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 $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17862 if test "$host_cpu" = ia64; then
17863 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
17864 allow_undefined_flag_CXX="-z nodefs"
17865 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"
17867 # Determine the default libpath from the value encoded in an
17868 # empty executable.
17869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17870 /* end confdefs.h. */
17880 if ac_fn_cxx_try_link "$LINENO"; then :
17882 lt_aix_libpath_sed='
17883 /Import File Strings/,/^$/ {
17889 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17890 # Check for a 64-bit object if we didn't find anything.
17891 if test -z "$aix_libpath"; then
17892 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17895 rm -f core conftest.err conftest.$ac_objext \
17896 conftest$ac_exeext conftest.$ac_ext
17897 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17899 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17900 # Warning - without using the other run time loading flags,
17901 # -berok will link without error, but may produce a broken library.
17902 no_undefined_flag_CXX=' ${wl}-bernotok'
17903 allow_undefined_flag_CXX=' ${wl}-berok'
17904 # Exported symbols can be pulled into shared objects from archives
17905 whole_archive_flag_spec_CXX='$convenience'
17906 archive_cmds_need_lc_CXX=yes
17907 # This is similar to how AIX traditionally builds its shared
17909 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'
17915 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17916 allow_undefined_flag_CXX=unsupported
17917 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17918 # support --undefined. This deserves some investigation. FIXME
17919 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17926 case $cc_basename in
17928 # FIXME: insert proper C++ library support
17934 cygwin* | mingw* | pw32* | cegcc*)
17935 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
17936 # as there is no search path for DLLs.
17937 hardcode_libdir_flag_spec_CXX='-L$libdir'
17938 allow_undefined_flag_CXX=unsupported
17939 always_export_symbols_CXX=no
17940 enable_shared_with_static_runtimes_CXX=yes
17942 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
17943 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'
17944 # If the export-symbols file already is a .def file (1st line
17945 # is EXPORTS), use it as is; otherwise, prepend...
17946 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17947 cp $export_symbols $output_objdir/$soname.def;
17949 echo EXPORTS > $output_objdir/$soname.def;
17950 cat $export_symbols >> $output_objdir/$soname.def;
17952 $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'
17957 darwin* | rhapsody*)
17960 archive_cmds_need_lc_CXX=no
17961 hardcode_direct_CXX=no
17962 hardcode_automatic_CXX=yes
17963 hardcode_shlibpath_var_CXX=unsupported
17964 whole_archive_flag_spec_CXX=''
17965 link_all_deplibs_CXX=yes
17966 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
17967 case $cc_basename in
17968 ifort*) _lt_dar_can_shared=yes ;;
17969 *) _lt_dar_can_shared=$GCC ;;
17971 if test "$_lt_dar_can_shared" = "yes"; then
17972 output_verbose_link_cmd=echo
17973 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}"
17974 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17975 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}"
17976 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}"
17977 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
17978 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}"
17979 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}"
17989 case $cc_basename in
17991 # FIXME: insert proper C++ library support
17995 # Green Hills C++ Compiler
17996 # FIXME: insert proper C++ library support
18000 # FIXME: insert proper C++ library support
18007 # C++ shared libraries reported to be fairly broken before
18013 archive_cmds_need_lc_CXX=no
18016 freebsd* | dragonfly*)
18017 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18026 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18027 hardcode_libdir_separator_CXX=:
18028 export_dynamic_flag_spec_CXX='${wl}-E'
18029 hardcode_direct_CXX=yes
18030 hardcode_minus_L_CXX=yes # Not in the search PATH,
18031 # but as the default
18032 # location of the library.
18034 case $cc_basename in
18036 # FIXME: insert proper C++ library support
18040 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'
18041 # Commands to make compiler produce verbose output that lists
18042 # what "hidden" libraries, object files and flags are used when
18043 # linking a shared library.
18045 # There doesn't appear to be a way to prevent this compiler from
18046 # explicitly linking system object files so we need to strip them
18047 # from the output so that they don't get included in the library
18049 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; $ECHO "X$list" | $Xsed'
18052 if test "$GXX" = yes; then
18053 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${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'
18055 # FIXME: insert proper C++ library support
18063 if test $with_gnu_ld = no; then
18064 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18065 hardcode_libdir_separator_CXX=:
18071 export_dynamic_flag_spec_CXX='${wl}-E'
18077 hardcode_direct_CXX=no
18078 hardcode_shlibpath_var_CXX=no
18081 hardcode_direct_CXX=yes
18082 hardcode_direct_absolute_CXX=yes
18083 hardcode_minus_L_CXX=yes # Not in the search PATH,
18084 # but as the default
18085 # location of the library.
18089 case $cc_basename in
18091 # FIXME: insert proper C++ library support
18097 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18100 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18103 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18106 # Commands to make compiler produce verbose output that lists
18107 # what "hidden" libraries, object files and flags are used when
18108 # linking a shared library.
18110 # There doesn't appear to be a way to prevent this compiler from
18111 # explicitly linking system object files so we need to strip them
18112 # from the output so that they don't get included in the library
18114 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; $ECHO "X$list" | $Xsed'
18117 if test "$GXX" = yes; then
18118 if test $with_gnu_ld = no; then
18121 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18124 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18127 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18132 # FIXME: insert proper C++ library support
18140 hardcode_direct_CXX=no
18141 hardcode_shlibpath_var_CXX=no
18142 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18143 export_dynamic_flag_spec_CXX='${wl}-E'
18144 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18145 # Instead, shared libraries are loaded at an image base (0x10000000 by
18146 # default) and relocated if they conflict, which is a slow very memory
18147 # consuming and fragmenting process. To avoid this, we pick a random,
18148 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18149 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18150 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'
18151 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'
18154 case $cc_basename in
18157 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18159 # Archives containing C++ object files must be created using
18160 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18161 # necessary to make sure instantiated templates are included
18163 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18166 if test "$GXX" = yes; then
18167 if test "$with_gnu_ld" = no; then
18168 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18170 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
18173 link_all_deplibs_CXX=yes
18176 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18177 hardcode_libdir_separator_CXX=:
18178 inherit_rpath_CXX=yes
18181 linux* | k*bsd*-gnu | kopensolaris*-gnu)
18182 case $cc_basename in
18184 # Kuck and Associates, Inc. (KAI) C++ Compiler
18186 # KCC will only create a shared library if the output file
18187 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18188 # to its proper name (with version) after linking.
18189 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'
18190 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'
18191 # Commands to make compiler produce verbose output that lists
18192 # what "hidden" libraries, object files and flags are used when
18193 # linking a shared library.
18195 # There doesn't appear to be a way to prevent this compiler from
18196 # explicitly linking system object files so we need to strip them
18197 # from the output so that they don't get included in the library
18199 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; $ECHO "X$list" | $Xsed'
18201 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18202 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18204 # Archives containing C++ object files must be created using
18205 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18206 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18211 # version 8.0 and above of icpc choke on multiply defined symbols
18212 # if we add $predep_objects and $postdep_objects, however 7.1 and
18213 # earlier do not add the objects themselves.
18214 case `$CC -V 2>&1` in
18216 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18217 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'
18219 *) # Version 8.0 or newer
18222 ia64*) tmp_idyn=' -i_dynamic';;
18224 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18225 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'
18228 archive_cmds_need_lc_CXX=no
18229 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18230 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18231 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18234 # Portland Group C++ compiler
18236 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
18237 prelink_cmds_CXX='tpldir=Template.dir~
18239 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
18240 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
18241 old_archive_cmds_CXX='tpldir=Template.dir~
18243 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
18244 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
18246 archive_cmds_CXX='tpldir=Template.dir~
18248 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18249 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18250 archive_expsym_cmds_CXX='tpldir=Template.dir~
18252 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18253 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
18255 *) # Version 6 will use weak symbols
18256 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18257 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'
18261 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18262 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18263 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
18267 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18268 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'
18270 runpath_var=LD_RUN_PATH
18271 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18272 hardcode_libdir_separator_CXX=:
18274 # Commands to make compiler produce verbose output that lists
18275 # what "hidden" libraries, object files and flags are used when
18276 # linking a shared library.
18278 # There doesn't appear to be a way to prevent this compiler from
18279 # explicitly linking system object files so we need to strip them
18280 # from the output so that they don't get included in the library
18282 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18285 # IBM XL 8.0 on PPC, with GNU ld
18286 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18287 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18288 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18289 if test "x$supports_anon_versioning" = xyes; then
18290 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
18291 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18292 echo "local: *; };" >> $output_objdir/$libname.ver~
18293 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18297 case `$CC -V 2>&1 | sed 5q` in
18300 no_undefined_flag_CXX=' -zdefs'
18301 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18302 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'
18303 hardcode_libdir_flag_spec_CXX='-R$libdir'
18304 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
18305 compiler_needs_object_CXX=yes
18307 # Not sure whether something based on
18308 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
18310 output_verbose_link_cmd='echo'
18312 # Archives containing C++ object files must be created using
18313 # "CC -xar", where "CC" is the Sun C++ compiler. This is
18314 # necessary to make sure instantiated templates are included
18316 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18324 # FIXME: insert proper C++ library support
18329 # FIXME: insert proper C++ library support
18334 case $cc_basename in
18336 # FIXME: insert proper C++ library support
18340 # FIXME: insert proper C++ library support
18347 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18348 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18350 hardcode_libdir_flag_spec_CXX='-R$libdir'
18351 hardcode_direct_CXX=yes
18352 hardcode_shlibpath_var_CXX=no
18354 # Workaround some broken pre-1.5 toolchains
18355 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18363 # C++ shared libraries are fairly broken
18368 if test -f /usr/libexec/ld.so; then
18369 hardcode_direct_CXX=yes
18370 hardcode_shlibpath_var_CXX=no
18371 hardcode_direct_absolute_CXX=yes
18372 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18373 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18374 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18375 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18376 export_dynamic_flag_spec_CXX='${wl}-E'
18377 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18379 output_verbose_link_cmd=echo
18385 osf3* | osf4* | osf5*)
18386 case $cc_basename in
18388 # Kuck and Associates, Inc. (KAI) C++ Compiler
18390 # KCC will only create a shared library if the output file
18391 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18392 # to its proper name (with version) after linking.
18393 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'
18395 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18396 hardcode_libdir_separator_CXX=:
18398 # Archives containing C++ object files must be created using
18399 # the KAI C++ compiler.
18401 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
18402 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
18406 # Rational C++ 2.4.1
18407 # FIXME: insert proper C++ library support
18413 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18414 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18415 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18418 allow_undefined_flag_CXX=' -expect_unresolved \*'
18419 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
18420 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18421 echo "-hidden">> $lib.exp~
18422 $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
18424 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18428 hardcode_libdir_separator_CXX=:
18430 # Commands to make compiler produce verbose output that lists
18431 # what "hidden" libraries, object files and flags are used when
18432 # linking a shared library.
18434 # There doesn't appear to be a way to prevent this compiler from
18435 # explicitly linking system object files so we need to strip them
18436 # from the output so that they don't get included in the library
18438 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
18441 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18442 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18445 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18448 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18452 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18453 hardcode_libdir_separator_CXX=:
18455 # Commands to make compiler produce verbose output that lists
18456 # what "hidden" libraries, object files and flags are used when
18457 # linking a shared library.
18458 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18461 # FIXME: insert proper C++ library support
18469 # FIXME: insert proper C++ library support
18474 case $cc_basename in
18477 # FIXME: insert proper C++ library support
18482 # FIXME: insert proper C++ library support
18486 # FIXME: insert proper C++ library support
18493 case $cc_basename in
18495 # Sun C++ 4.2, 5.x and Centerline C++
18496 archive_cmds_need_lc_CXX=yes
18497 no_undefined_flag_CXX=' -zdefs'
18498 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18499 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18500 $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'
18502 hardcode_libdir_flag_spec_CXX='-R$libdir'
18503 hardcode_shlibpath_var_CXX=no
18505 solaris2.[0-5] | solaris2.[0-5].*) ;;
18507 # The compiler driver will combine and reorder linker options,
18508 # but understands `-z linker_flag'.
18509 # Supported since Solaris 2.6 (maybe 2.5.1?)
18510 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
18513 link_all_deplibs_CXX=yes
18515 output_verbose_link_cmd='echo'
18517 # Archives containing C++ object files must be created using
18518 # "CC -xar", where "CC" is the Sun C++ compiler. This is
18519 # necessary to make sure instantiated templates are included
18521 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18524 # Green Hills C++ Compiler
18525 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18527 # The C++ compiler must be used to create the archive.
18528 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18531 # GNU C++ compiler with Solaris linker
18532 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18533 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
18534 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
18535 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18536 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18537 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18539 # Commands to make compiler produce verbose output that lists
18540 # what "hidden" libraries, object files and flags are used when
18541 # linking a shared library.
18542 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18544 # g++ 2.7 appears to require `-G' NOT `-shared' on this
18546 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18547 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18548 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18550 # Commands to make compiler produce verbose output that lists
18551 # what "hidden" libraries, object files and flags are used when
18552 # linking a shared library.
18553 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18556 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
18558 solaris2.[0-5] | solaris2.[0-5].*) ;;
18560 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18568 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18569 no_undefined_flag_CXX='${wl}-z,text'
18570 archive_cmds_need_lc_CXX=no
18571 hardcode_shlibpath_var_CXX=no
18572 runpath_var='LD_RUN_PATH'
18574 case $cc_basename in
18576 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18577 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18580 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18581 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18586 sysv5* | sco3.2v5* | sco5v6*)
18587 # Note: We can NOT use -z defs as we might desire, because we do not
18588 # link with -lc, and that would cause any symbols used from libc to
18589 # always be unresolved, which means just about no library would
18590 # ever link correctly. If we're not using GNU ld we use -z text
18591 # though, which does catch some bad symbols but isn't as heavy-handed
18593 no_undefined_flag_CXX='${wl}-z,text'
18594 allow_undefined_flag_CXX='${wl}-z,nodefs'
18595 archive_cmds_need_lc_CXX=no
18596 hardcode_shlibpath_var_CXX=no
18597 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
18598 hardcode_libdir_separator_CXX=':'
18599 link_all_deplibs_CXX=yes
18600 export_dynamic_flag_spec_CXX='${wl}-Bexport'
18601 runpath_var='LD_RUN_PATH'
18603 case $cc_basename in
18605 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18606 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18609 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18610 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18616 case $cc_basename in
18618 # NonStop-UX NCC 3.20
18619 # FIXME: insert proper C++ library support
18623 # FIXME: insert proper C++ library support
18630 # FIXME: insert proper C++ library support
18635 # FIXME: insert proper C++ library support
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18641 $as_echo "$ld_shlibs_CXX" >&6; }
18642 test "$ld_shlibs_CXX" = no && can_build_shared=no
18648 ## There is no encapsulation within the following macros, do not change
18649 ## the running order or otherwise move them around unless you know exactly
18650 ## what you are doing...
18651 # Dependencies to place before and after the object being linked:
18652 predep_objects_CXX=
18653 postdep_objects_CXX=
18656 compiler_lib_search_path_CXX=
18658 cat > conftest.$ac_ext <<_LT_EOF
18662 Foo (void) { a = 0; }
18668 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18669 (eval $ac_compile) 2>&5
18671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18672 test $ac_status = 0; }; then
18673 # Parse the compiler output and extract the necessary
18674 # objects, libraries and library flags.
18676 # Sentinel used to keep track of whether or not we are before
18677 # the conftest object file.
18678 pre_test_object_deps_done=no
18680 for p in `eval "$output_verbose_link_cmd"`; do
18684 # Some compilers place space between "-{L,R}" and the path.
18685 # Remove the space.
18686 if test $p = "-L" ||
18687 test $p = "-R"; then
18694 if test "$pre_test_object_deps_done" = no; then
18697 # Internal compiler library paths should come after those
18698 # provided the user. The postdeps already come after the
18699 # user supplied libs so there is no need to process them.
18700 if test -z "$compiler_lib_search_path_CXX"; then
18701 compiler_lib_search_path_CXX="${prev}${p}"
18703 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
18706 # The "-l" case would never come before the object being
18707 # linked, so don't bother handling this case.
18710 if test -z "$postdeps_CXX"; then
18711 postdeps_CXX="${prev}${p}"
18713 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
18719 # This assumes that the test object file only shows up
18720 # once in the compiler output.
18721 if test "$p" = "conftest.$objext"; then
18722 pre_test_object_deps_done=yes
18726 if test "$pre_test_object_deps_done" = no; then
18727 if test -z "$predep_objects_CXX"; then
18728 predep_objects_CXX="$p"
18730 predep_objects_CXX="$predep_objects_CXX $p"
18733 if test -z "$postdep_objects_CXX"; then
18734 postdep_objects_CXX="$p"
18736 postdep_objects_CXX="$postdep_objects_CXX $p"
18741 *) ;; # Ignore the rest.
18749 echo "libtool.m4: error: problem compiling CXX test program"
18752 $RM -f confest.$objext
18754 # PORTME: override above test on systems where it is broken
18757 # Interix 3.5 installs completely hosed .la files for C++, so rather than
18758 # hack all around it, let's just trust "g++" to DTRT.
18759 predep_objects_CXX=
18760 postdep_objects_CXX=
18765 case `$CC -V 2>&1 | sed 5q` in
18769 # The more standards-conforming stlport4 library is
18770 # incompatible with the Cstd library. Avoid specifying
18771 # it if it's in CXXFLAGS. Ignore libCrun as
18772 # -library=stlport4 depends on it.
18773 case " $CXX $CXXFLAGS " in
18774 *" -library=stlport4 "*)
18775 solaris_use_stlport4=yes
18779 if test "$solaris_use_stlport4" != yes; then
18780 postdeps_CXX='-library=Cstd -library=Crun'
18787 case $cc_basename in
18789 # The more standards-conforming stlport4 library is
18790 # incompatible with the Cstd library. Avoid specifying
18791 # it if it's in CXXFLAGS. Ignore libCrun as
18792 # -library=stlport4 depends on it.
18793 case " $CXX $CXXFLAGS " in
18794 *" -library=stlport4 "*)
18795 solaris_use_stlport4=yes
18799 # Adding this requires a known-good setup of shared libraries for
18800 # Sun compiler versions before 5.6, else PIC objects from an old
18801 # archive will be linked into the output, leading to subtle bugs.
18802 if test "$solaris_use_stlport4" != yes; then
18803 postdeps_CXX='-library=Cstd -library=Crun'
18811 case " $postdeps_CXX " in
18812 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
18814 compiler_lib_search_dirs_CXX=
18815 if test -n "${compiler_lib_search_path_CXX}"; then
18816 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
18849 lt_prog_compiler_wl_CXX=
18850 lt_prog_compiler_pic_CXX=
18851 lt_prog_compiler_static_CXX=
18853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
18854 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18856 # C++ specific cases for pic, static, wl, etc.
18857 if test "$GXX" = yes; then
18858 lt_prog_compiler_wl_CXX='-Wl,'
18859 lt_prog_compiler_static_CXX='-static'
18863 # All AIX code is PIC.
18864 if test "$host_cpu" = ia64; then
18865 # AIX 5 now supports IA64 processor
18866 lt_prog_compiler_static_CXX='-Bstatic'
18873 # see comment about AmigaOS4 .so support
18874 lt_prog_compiler_pic_CXX='-fPIC'
18877 # FIXME: we need at least 68020 code to build shared libraries, but
18878 # adding the `-m68020' flag to GCC prevents building anything better,
18880 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
18885 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18886 # PIC is the default for these OSes.
18888 mingw* | cygwin* | os2* | pw32* | cegcc*)
18889 # This hack is so that the source file can tell whether it is being
18890 # built for inclusion in a dll (and should export symbols for example).
18891 # Although the cygwin gcc ignores -fPIC, still need this for old-style
18892 # (--disable-auto-import) libraries
18893 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
18895 darwin* | rhapsody*)
18896 # PIC is the default on this platform
18897 # Common symbols not allowed in MH_DYLIB files
18898 lt_prog_compiler_pic_CXX='-fno-common'
18901 # DJGPP does not support shared libraries at all
18902 lt_prog_compiler_pic_CXX=
18905 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18906 # Instead, we relocate shared libraries at runtime.
18909 if test -d /usr/nec; then
18910 lt_prog_compiler_pic_CXX=-Kconform_pic
18914 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
18915 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
18916 # sets the default TLS model and affects inlining.
18921 lt_prog_compiler_pic_CXX='-fPIC'
18926 # QNX uses GNU C++, but need to define -shared option too, otherwise
18927 # it will coredump.
18928 lt_prog_compiler_pic_CXX='-fPIC -shared'
18931 lt_prog_compiler_pic_CXX='-fPIC'
18937 # All AIX code is PIC.
18938 if test "$host_cpu" = ia64; then
18939 # AIX 5 now supports IA64 processor
18940 lt_prog_compiler_static_CXX='-Bstatic'
18942 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
18946 case $cc_basename in
18948 # Green Hills C++ Compiler
18949 # _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"
18954 case $cc_basename in
18956 lt_prog_compiler_pic_CXX='-KPIC'
18959 # Green Hills C++ Compiler
18960 lt_prog_compiler_pic_CXX='-pic'
18966 freebsd* | dragonfly*)
18967 # FreeBSD uses GNU C++
18969 hpux9* | hpux10* | hpux11*)
18970 case $cc_basename in
18972 lt_prog_compiler_wl_CXX='-Wl,'
18973 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
18974 if test "$host_cpu" != ia64; then
18975 lt_prog_compiler_pic_CXX='+Z'
18979 lt_prog_compiler_wl_CXX='-Wl,'
18980 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
18986 lt_prog_compiler_pic_CXX='+Z'
18995 # This is c89, which is MS Visual C++ (no shared libs)
18996 # Anyone wants to do a port?
18998 irix5* | irix6* | nonstopux*)
18999 case $cc_basename in
19001 lt_prog_compiler_wl_CXX='-Wl,'
19002 lt_prog_compiler_static_CXX='-non_shared'
19003 # CC pic flag -KPIC is the default.
19009 linux* | k*bsd*-gnu | kopensolaris*-gnu)
19010 case $cc_basename in
19013 lt_prog_compiler_wl_CXX='--backend -Wl,'
19014 lt_prog_compiler_pic_CXX='-fPIC'
19017 # old Intel C++ for x86_64 which still supported -KPIC.
19018 lt_prog_compiler_wl_CXX='-Wl,'
19019 lt_prog_compiler_pic_CXX='-KPIC'
19020 lt_prog_compiler_static_CXX='-static'
19023 # Intel C++, used to be incompatible with GCC.
19024 # ICC 10 doesn't accept -KPIC any more.
19025 lt_prog_compiler_wl_CXX='-Wl,'
19026 lt_prog_compiler_pic_CXX='-fPIC'
19027 lt_prog_compiler_static_CXX='-static'
19030 # Portland Group C++ compiler
19031 lt_prog_compiler_wl_CXX='-Wl,'
19032 lt_prog_compiler_pic_CXX='-fpic'
19033 lt_prog_compiler_static_CXX='-Bstatic'
19037 # Make sure the PIC flag is empty. It appears that all Alpha
19038 # Linux and Compaq Tru64 Unix objects are PIC.
19039 lt_prog_compiler_pic_CXX=
19040 lt_prog_compiler_static_CXX='-non_shared'
19043 # IBM XL 8.0 on PPC
19044 lt_prog_compiler_wl_CXX='-Wl,'
19045 lt_prog_compiler_pic_CXX='-qpic'
19046 lt_prog_compiler_static_CXX='-qstaticlink'
19049 case `$CC -V 2>&1 | sed 5q` in
19052 lt_prog_compiler_pic_CXX='-KPIC'
19053 lt_prog_compiler_static_CXX='-Bstatic'
19054 lt_prog_compiler_wl_CXX='-Qoption ld '
19065 case $cc_basename in
19067 lt_prog_compiler_pic_CXX='-W c,exportall'
19073 netbsd* | netbsdelf*-gnu)
19076 # QNX uses GNU C++, but need to define -shared option too, otherwise
19077 # it will coredump.
19078 lt_prog_compiler_pic_CXX='-fPIC -shared'
19080 osf3* | osf4* | osf5*)
19081 case $cc_basename in
19083 lt_prog_compiler_wl_CXX='--backend -Wl,'
19086 # Rational C++ 2.4.1
19087 lt_prog_compiler_pic_CXX='-pic'
19090 # Digital/Compaq C++
19091 lt_prog_compiler_wl_CXX='-Wl,'
19092 # Make sure the PIC flag is empty. It appears that all Alpha
19093 # Linux and Compaq Tru64 Unix objects are PIC.
19094 lt_prog_compiler_pic_CXX=
19095 lt_prog_compiler_static_CXX='-non_shared'
19104 case $cc_basename in
19106 # Sun C++ 4.2, 5.x and Centerline C++
19107 lt_prog_compiler_pic_CXX='-KPIC'
19108 lt_prog_compiler_static_CXX='-Bstatic'
19109 lt_prog_compiler_wl_CXX='-Qoption ld '
19112 # Green Hills C++ Compiler
19113 lt_prog_compiler_pic_CXX='-PIC'
19120 case $cc_basename in
19123 lt_prog_compiler_pic_CXX='-pic'
19124 lt_prog_compiler_static_CXX='-Bstatic'
19128 lt_prog_compiler_pic_CXX='-pic'
19134 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19135 case $cc_basename in
19137 lt_prog_compiler_wl_CXX='-Wl,'
19138 lt_prog_compiler_pic_CXX='-KPIC'
19139 lt_prog_compiler_static_CXX='-Bstatic'
19144 case $cc_basename in
19146 # NonStop-UX NCC 3.20
19147 lt_prog_compiler_pic_CXX='-KPIC'
19156 lt_prog_compiler_can_build_shared_CXX=no
19162 # For platforms which do not support PIC, -DPIC is meaningless:
19164 lt_prog_compiler_pic_CXX=
19167 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
19171 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
19176 # Check to make sure the PIC flag actually works.
19178 if test -n "$lt_prog_compiler_pic_CXX"; then
19179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19180 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
19181 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
19182 $as_echo_n "(cached) " >&6
19184 lt_cv_prog_compiler_pic_works_CXX=no
19185 ac_outfile=conftest.$ac_objext
19186 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19187 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19188 # Insert the option either (1) after the last *FLAGS variable, or
19189 # (2) before a word containing "conftest.", or (3) at the end.
19190 # Note that $ac_compile itself does not contain backslashes and begins
19191 # with a dollar sign (not a hyphen), so the echo should work correctly.
19192 # The option is referenced via a variable to avoid confusing sed.
19193 lt_compile=`echo "$ac_compile" | $SED \
19194 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19195 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19196 -e 's:$: $lt_compiler_flag:'`
19197 (eval echo "\"\$as_me:19197: $lt_compile\"" >&5)
19198 (eval "$lt_compile" 2>conftest.err)
19200 cat conftest.err >&5
19201 echo "$as_me:19201: \$? = $ac_status" >&5
19202 if (exit $ac_status) && test -s "$ac_outfile"; then
19203 # The compiler can only warn and ignore the option if not recognized
19204 # So say no if there are warnings other than the usual output.
19205 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19206 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19207 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19208 lt_cv_prog_compiler_pic_works_CXX=yes
19214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
19215 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
19217 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
19218 case $lt_prog_compiler_pic_CXX in
19220 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
19223 lt_prog_compiler_pic_CXX=
19224 lt_prog_compiler_can_build_shared_CXX=no
19232 # Check to make sure the static flag actually works.
19234 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19236 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
19237 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
19238 $as_echo_n "(cached) " >&6
19240 lt_cv_prog_compiler_static_works_CXX=no
19241 save_LDFLAGS="$LDFLAGS"
19242 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19243 echo "$lt_simple_link_test_code" > conftest.$ac_ext
19244 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19245 # The linker can only warn and ignore the option if not recognized
19246 # So say no if there are warnings
19247 if test -s conftest.err; then
19248 # Append any errors to the config.log.
19249 cat conftest.err 1>&5
19250 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
19251 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19252 if diff conftest.exp conftest.er2 >/dev/null; then
19253 lt_cv_prog_compiler_static_works_CXX=yes
19256 lt_cv_prog_compiler_static_works_CXX=yes
19260 LDFLAGS="$save_LDFLAGS"
19263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
19264 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
19266 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
19269 lt_prog_compiler_static_CXX=
19275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19276 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19277 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
19278 $as_echo_n "(cached) " >&6
19280 lt_cv_prog_compiler_c_o_CXX=no
19281 $RM -r conftest 2>/dev/null
19285 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19287 lt_compiler_flag="-o out/conftest2.$ac_objext"
19288 # Insert the option either (1) after the last *FLAGS variable, or
19289 # (2) before a word containing "conftest.", or (3) at the end.
19290 # Note that $ac_compile itself does not contain backslashes and begins
19291 # with a dollar sign (not a hyphen), so the echo should work correctly.
19292 lt_compile=`echo "$ac_compile" | $SED \
19293 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19294 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19295 -e 's:$: $lt_compiler_flag:'`
19296 (eval echo "\"\$as_me:19296: $lt_compile\"" >&5)
19297 (eval "$lt_compile" 2>out/conftest.err)
19299 cat out/conftest.err >&5
19300 echo "$as_me:19300: \$? = $ac_status" >&5
19301 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19303 # The compiler can only warn and ignore the option if not recognized
19304 # So say no if there are warnings
19305 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19306 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19307 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19308 lt_cv_prog_compiler_c_o_CXX=yes
19313 # SGI C++ compiler will create directory out/ii_files/ for
19314 # template instantiation
19315 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19316 $RM out/* && rmdir out
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19323 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19328 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19329 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
19330 $as_echo_n "(cached) " >&6
19332 lt_cv_prog_compiler_c_o_CXX=no
19333 $RM -r conftest 2>/dev/null
19337 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19339 lt_compiler_flag="-o out/conftest2.$ac_objext"
19340 # Insert the option either (1) after the last *FLAGS variable, or
19341 # (2) before a word containing "conftest.", or (3) at the end.
19342 # Note that $ac_compile itself does not contain backslashes and begins
19343 # with a dollar sign (not a hyphen), so the echo should work correctly.
19344 lt_compile=`echo "$ac_compile" | $SED \
19345 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19346 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19347 -e 's:$: $lt_compiler_flag:'`
19348 (eval echo "\"\$as_me:19348: $lt_compile\"" >&5)
19349 (eval "$lt_compile" 2>out/conftest.err)
19351 cat out/conftest.err >&5
19352 echo "$as_me:19352: \$? = $ac_status" >&5
19353 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19355 # The compiler can only warn and ignore the option if not recognized
19356 # So say no if there are warnings
19357 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19358 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19359 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19360 lt_cv_prog_compiler_c_o_CXX=yes
19365 # SGI C++ compiler will create directory out/ii_files/ for
19366 # template instantiation
19367 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19368 $RM out/* && rmdir out
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19375 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19380 hard_links="nottested"
19381 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
19382 # do not overwrite the value of need_locks provided by the user
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
19384 $as_echo_n "checking if we can lock with hard links... " >&6; }
19387 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19389 ln conftest.a conftest.b 2>&5 || hard_links=no
19390 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
19392 $as_echo "$hard_links" >&6; }
19393 if test "$hard_links" = no; then
19394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19395 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19405 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19407 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19410 # If we're using GNU nm, then we don't want the "-C" option.
19411 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19412 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
19413 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
19415 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'
19419 export_symbols_cmds_CXX="$ltdll_cmds"
19421 cygwin* | mingw* | cegcc*)
19422 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
19424 linux* | k*bsd*-gnu)
19425 link_all_deplibs_CXX=no
19428 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19431 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
19434 $as_echo "$ld_shlibs_CXX" >&6; }
19435 test "$ld_shlibs_CXX" = no && can_build_shared=no
19437 with_gnu_ld_CXX=$with_gnu_ld
19445 # Do we need to explicitly link libc?
19447 case "x$archive_cmds_need_lc_CXX" in
19449 # Assume -lc should be added
19450 archive_cmds_need_lc_CXX=yes
19452 if test "$enable_shared" = yes && test "$GCC" = yes; then
19453 case $archive_cmds_CXX in
19455 # FIXME: we may have to deal with multi-command sequences.
19458 # Test whether the compiler implicitly links with -lc since on some
19459 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19460 # to ld, don't add -lc before -lgcc.
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
19462 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
19464 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19466 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19467 (eval $ac_compile) 2>&5
19469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19470 test $ac_status = 0; } 2>conftest.err; then
19473 libobjs=conftest.$ac_objext
19475 wl=$lt_prog_compiler_wl_CXX
19476 pic_flag=$lt_prog_compiler_pic_CXX
19482 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
19483 allow_undefined_flag_CXX=
19484 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
19485 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
19487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19488 test $ac_status = 0; }
19490 archive_cmds_need_lc_CXX=no
19492 archive_cmds_need_lc_CXX=yes
19494 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
19496 cat conftest.err 1>&5
19499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
19500 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
19571 $as_echo_n "checking dynamic linker characteristics... " >&6; }
19573 library_names_spec=
19574 libname_spec='lib$name'
19578 postuninstall_cmds=
19582 shlibpath_overrides_runpath=unknown
19584 dynamic_linker="$host_os ld.so"
19585 sys_lib_dlsearch_path_spec="/lib /usr/lib"
19586 need_lib_prefix=unknown
19587 hardcode_into_libs=no
19589 # when you set need_version to no, make sure it does not cause -set_version
19590 # flags to be left without arguments
19591 need_version=unknown
19596 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19597 shlibpath_var=LIBPATH
19599 # AIX 3 has no versioning support, so we append a major version to the name.
19600 soname_spec='${libname}${release}${shared_ext}$major'
19607 hardcode_into_libs=yes
19608 if test "$host_cpu" = ia64; then
19609 # AIX 5 supports IA64
19610 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19611 shlibpath_var=LD_LIBRARY_PATH
19613 # With GCC up to 2.95.x, collect2 would create an import file
19614 # for dependence libraries. The import file would start with
19615 # the line `#! .'. This would cause the generated library to
19616 # depend on `.', always an invalid library. This was fixed in
19617 # development snapshots of GCC prior to 3.0.
19619 aix4 | aix4.[01] | aix4.[01].*)
19620 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19622 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
19625 can_build_shared=no
19629 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19630 # soname into executable. Probably we can add versioning support to
19631 # collect2, so additional links can be useful in future.
19632 if test "$aix_use_runtimelinking" = yes; then
19633 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19634 # instead of lib<name>.a to let people know that these are not
19635 # typical AIX shared libraries.
19636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19638 # We preserve .a as extension for shared libraries through AIX4.2
19639 # and later when we are not doing run time linking.
19640 library_names_spec='${libname}${release}.a $libname.a'
19641 soname_spec='${libname}${release}${shared_ext}$major'
19643 shlibpath_var=LIBPATH
19650 # Since July 2007 AmigaOS4 officially supports .so libraries.
19651 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
19652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19655 library_names_spec='$libname.ixlibrary $libname.a'
19656 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19657 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
19663 library_names_spec='${libname}${shared_ext}'
19664 dynamic_linker="$host_os ld.so"
19665 shlibpath_var=LIBRARY_PATH
19671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19672 soname_spec='${libname}${release}${shared_ext}$major'
19673 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19674 shlibpath_var=LD_LIBRARY_PATH
19675 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19676 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19677 # the default ld.so.conf also contains /usr/contrib/lib and
19678 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19679 # libtool to hard-code these into programs
19682 cygwin* | mingw* | pw32* | cegcc*)
19683 version_type=windows
19688 case $GCC,$host_os in
19689 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
19690 library_names_spec='$libname.dll.a'
19691 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19692 postinstall_cmds='base_file=`basename \${file}`~
19693 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
19694 dldir=$destdir/`dirname \$dlpath`~
19695 test -d \$dldir || mkdir -p \$dldir~
19696 $install_prog $dir/$dlname \$dldir/$dlname~
19697 chmod a+x \$dldir/$dlname~
19698 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
19699 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
19701 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19702 dlpath=$dir/\$dldll~
19704 shlibpath_overrides_runpath=yes
19708 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19709 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19710 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19713 # MinGW DLLs use traditional 'lib' prefix
19714 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19715 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19716 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
19717 # It is most probably a Windows format PATH printed by
19718 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19719 # path with ; separators, and with drive letters. We can handle the
19720 # drive letters (cygwin fileutils understands them), so leave them,
19721 # especially as we might pass files found there to a mingw objdump,
19722 # which wouldn't understand a cygwinified path. Ahh.
19723 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19725 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19729 # pw32 DLLs use 'pw' prefix rather than 'lib'
19730 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19736 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19739 dynamic_linker='Win32 ld.exe'
19740 # FIXME: first we should search . and the directory the executable is in
19744 darwin* | rhapsody*)
19745 dynamic_linker="$host_os dyld"
19746 version_type=darwin
19749 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19750 soname_spec='${libname}${release}${major}$shared_ext'
19751 shlibpath_overrides_runpath=yes
19752 shlibpath_var=DYLD_LIBRARY_PATH
19753 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19755 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19763 soname_spec='${libname}${release}${shared_ext}$major'
19764 shlibpath_var=LD_LIBRARY_PATH
19771 freebsd* | dragonfly*)
19772 # DragonFly does not have aout. When/if they implement a new
19773 # versioning mechanism, adjust this.
19774 if test -x /usr/bin/objformat; then
19775 objformat=`/usr/bin/objformat`
19778 freebsd[123]*) objformat=aout ;;
19779 *) objformat=elf ;;
19782 version_type=freebsd-$objformat
19783 case $version_type in
19785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19790 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19794 shlibpath_var=LD_LIBRARY_PATH
19797 shlibpath_overrides_runpath=yes
19799 freebsd3.[01]* | freebsdelf3.[01]*)
19800 shlibpath_overrides_runpath=yes
19801 hardcode_into_libs=yes
19803 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19804 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19805 shlibpath_overrides_runpath=no
19806 hardcode_into_libs=yes
19808 *) # from 4.6 on, and DragonFly
19809 shlibpath_overrides_runpath=yes
19810 hardcode_into_libs=yes
19819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19820 soname_spec='${libname}${release}${shared_ext}$major'
19821 shlibpath_var=LD_LIBRARY_PATH
19822 hardcode_into_libs=yes
19825 hpux9* | hpux10* | hpux11*)
19826 # Give a soname corresponding to the major version so that dld.sl refuses to
19827 # link against other versions.
19834 hardcode_into_libs=yes
19835 dynamic_linker="$host_os dld.so"
19836 shlibpath_var=LD_LIBRARY_PATH
19837 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19838 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19839 soname_spec='${libname}${release}${shared_ext}$major'
19840 if test "X$HPUX_IA64_MODE" = X32; then
19841 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19843 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19845 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19849 hardcode_into_libs=yes
19850 dynamic_linker="$host_os dld.sl"
19851 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19852 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19854 soname_spec='${libname}${release}${shared_ext}$major'
19855 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19856 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19860 dynamic_linker="$host_os dld.sl"
19861 shlibpath_var=SHLIB_PATH
19862 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19864 soname_spec='${libname}${release}${shared_ext}$major'
19867 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19868 postinstall_cmds='chmod 555 $lib'
19875 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19876 soname_spec='${libname}${release}${shared_ext}$major'
19877 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19878 shlibpath_var=LD_LIBRARY_PATH
19879 shlibpath_overrides_runpath=no
19880 hardcode_into_libs=yes
19883 irix5* | irix6* | nonstopux*)
19885 nonstopux*) version_type=nonstopux ;;
19887 if test "$lt_cv_prog_gnu_ld" = yes; then
19895 soname_spec='${libname}${release}${shared_ext}$major'
19896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19898 irix5* | nonstopux*)
19899 libsuff= shlibsuff=
19902 case $LD in # libtool.m4 will add one of these switches to LD
19903 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19904 libsuff= shlibsuff= libmagic=32-bit;;
19905 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19906 libsuff=32 shlibsuff=N32 libmagic=N32;;
19907 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19908 libsuff=64 shlibsuff=64 libmagic=64-bit;;
19909 *) libsuff= shlibsuff= libmagic=never-match;;
19913 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19914 shlibpath_overrides_runpath=no
19915 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19916 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19917 hardcode_into_libs=yes
19920 # No shared lib support for Linux oldld, aout, or coff.
19921 linux*oldld* | linux*aout* | linux*coff*)
19925 # This must be Linux ELF.
19926 linux* | k*bsd*-gnu | kopensolaris*-gnu)
19930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19931 soname_spec='${libname}${release}${shared_ext}$major'
19932 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19933 shlibpath_var=LD_LIBRARY_PATH
19934 shlibpath_overrides_runpath=no
19935 # Some binutils ld are patched to set DT_RUNPATH
19936 save_LDFLAGS=$LDFLAGS
19937 save_libdir=$libdir
19938 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
19939 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
19940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19941 /* end confdefs.h. */
19951 if ac_fn_cxx_try_link "$LINENO"; then :
19952 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
19953 shlibpath_overrides_runpath=yes
19956 rm -f core conftest.err conftest.$ac_objext \
19957 conftest$ac_exeext conftest.$ac_ext
19958 LDFLAGS=$save_LDFLAGS
19959 libdir=$save_libdir
19961 # This implies no fast_install, which is unacceptable.
19962 # Some rework will be needed to allow for fast_install
19963 # before this can be enabled.
19964 hardcode_into_libs=yes
19966 # Append ld.so.conf contents to the search path
19967 if test -f /etc/ld.so.conf; then
19968 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
19969 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19972 # We used to test for /lib/ld.so.1 and disable shared libraries on
19973 # powerpc, because MkLinux only supported shared libraries with the
19974 # GNU dynamic linker. Since this was broken with cross compilers,
19975 # most powerpc-linux boxes support dynamic linking these days and
19976 # people can always --disable-shared, the test was removed, and we
19977 # assume the GNU/Linux dynamic linker is in use.
19978 dynamic_linker='GNU/Linux ld.so'
19985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19986 soname_spec='${libname}${release}${shared_ext}$major'
19987 shlibpath_var=LD_LIBRARY_PATH
19988 shlibpath_overrides_runpath=no
19989 hardcode_into_libs=yes
19990 dynamic_linker='NetBSD ld.elf_so'
19997 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19999 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20000 dynamic_linker='NetBSD (a.out) ld.so'
20002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20003 soname_spec='${libname}${release}${shared_ext}$major'
20004 dynamic_linker='NetBSD ld.elf_so'
20006 shlibpath_var=LD_LIBRARY_PATH
20007 shlibpath_overrides_runpath=yes
20008 hardcode_into_libs=yes
20013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20014 shlibpath_var=LD_LIBRARY_PATH
20015 shlibpath_overrides_runpath=yes
20022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20023 soname_spec='${libname}${release}${shared_ext}$major'
20024 shlibpath_var=LD_LIBRARY_PATH
20025 shlibpath_overrides_runpath=no
20026 hardcode_into_libs=yes
20027 dynamic_linker='ldqnx.so'
20032 sys_lib_dlsearch_path_spec="/usr/lib"
20034 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20036 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20037 *) need_version=no ;;
20039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20040 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20041 shlibpath_var=LD_LIBRARY_PATH
20042 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20044 openbsd2.[89] | openbsd2.[89].*)
20045 shlibpath_overrides_runpath=no
20048 shlibpath_overrides_runpath=yes
20052 shlibpath_overrides_runpath=yes
20057 libname_spec='$name'
20060 library_names_spec='$libname${shared_ext} $libname.a'
20061 dynamic_linker='OS/2 ld.exe'
20062 shlibpath_var=LIBPATH
20065 osf3* | osf4* | osf5*)
20069 soname_spec='${libname}${release}${shared_ext}$major'
20070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20071 shlibpath_var=LD_LIBRARY_PATH
20072 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20073 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20085 soname_spec='${libname}${release}${shared_ext}$major'
20086 shlibpath_var=LD_LIBRARY_PATH
20087 shlibpath_overrides_runpath=yes
20088 hardcode_into_libs=yes
20089 # ldd complains unless libraries are executable
20090 postinstall_cmds='chmod +x $lib'
20095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20096 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20097 shlibpath_var=LD_LIBRARY_PATH
20098 shlibpath_overrides_runpath=yes
20099 if test "$with_gnu_ld" = yes; then
20107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20108 soname_spec='${libname}${release}${shared_ext}$major'
20109 shlibpath_var=LD_LIBRARY_PATH
20110 case $host_vendor in
20112 shlibpath_overrides_runpath=no
20114 runpath_var=LD_RUN_PATH
20122 shlibpath_overrides_runpath=no
20123 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20129 if test -d /usr/nec ;then
20131 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20132 soname_spec='$libname${shared_ext}.$major'
20133 shlibpath_var=LD_LIBRARY_PATH
20137 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20138 version_type=freebsd-elf
20141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20142 soname_spec='${libname}${release}${shared_ext}$major'
20143 shlibpath_var=LD_LIBRARY_PATH
20144 shlibpath_overrides_runpath=yes
20145 hardcode_into_libs=yes
20146 if test "$with_gnu_ld" = yes; then
20147 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20149 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20152 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20156 sys_lib_dlsearch_path_spec='/usr/lib'
20160 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
20164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20165 shlibpath_var=LD_LIBRARY_PATH
20166 shlibpath_overrides_runpath=no
20167 hardcode_into_libs=yes
20172 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20173 soname_spec='${libname}${release}${shared_ext}$major'
20174 shlibpath_var=LD_LIBRARY_PATH
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
20182 $as_echo "$dynamic_linker" >&6; }
20183 test "$dynamic_linker" = no && can_build_shared=no
20185 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20186 if test "$GCC" = yes; then
20187 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20190 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20191 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20193 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20194 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
20233 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20234 hardcode_action_CXX=
20235 if test -n "$hardcode_libdir_flag_spec_CXX" ||
20236 test -n "$runpath_var_CXX" ||
20237 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20239 # We can hardcode non-existent directories.
20240 if test "$hardcode_direct_CXX" != no &&
20241 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20242 # have to relink, otherwise we might link with an installed library
20243 # when we should be linking with a yet-to-be-installed one
20244 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20245 test "$hardcode_minus_L_CXX" != no; then
20246 # Linking always hardcodes the temporary library directory.
20247 hardcode_action_CXX=relink
20249 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20250 hardcode_action_CXX=immediate
20253 # We cannot hardcode anything, or else we can only hardcode existing
20255 hardcode_action_CXX=unsupported
20257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
20258 $as_echo "$hardcode_action_CXX" >&6; }
20260 if test "$hardcode_action_CXX" = relink ||
20261 test "$inherit_rpath_CXX" = yes; then
20262 # Fast installation is not supported
20263 enable_fast_install=no
20264 elif test "$shlibpath_overrides_runpath" = yes ||
20265 test "$enable_shared" = no; then
20266 # Fast installation is not necessary
20267 enable_fast_install=needless
20276 fi # test -n "$compiler"
20282 with_gnu_ld=$lt_save_with_gnu_ld
20283 lt_cv_path_LDCXX=$lt_cv_path_LD
20284 lt_cv_path_LD=$lt_save_path_LD
20285 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
20286 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
20287 fi # test "$_lt_caught_CXX_error" != yes
20290 ac_cpp='$CPP $CPPFLAGS'
20291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20296 # Extract the first word of "$CXX", so it can be a program name with args.
20297 set dummy $CXX; ac_word=$2
20298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20299 $as_echo_n "checking for $ac_word... " >&6; }
20300 if test "${ac_cv_prog_HAVE_CXX+set}" = set; then :
20301 $as_echo_n "(cached) " >&6
20303 if test -n "$HAVE_CXX"; then
20304 ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
20306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20307 for as_dir in $PATH
20310 test -z "$as_dir" && as_dir=.
20311 for ac_exec_ext in '' $ac_executable_extensions; do
20312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20313 ac_cv_prog_HAVE_CXX="yes"
20314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20321 test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
20324 HAVE_CXX=$ac_cv_prog_HAVE_CXX
20325 if test -n "$HAVE_CXX"; then
20326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CXX" >&5
20327 $as_echo "$HAVE_CXX" >&6; }
20329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20330 $as_echo "no" >&6; }
20336 ac_cpp='$CXXCPP $CPPFLAGS'
20337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
20341 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
20342 if test -z "$CXXCPP"; then
20343 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
20344 $as_echo_n "(cached) " >&6
20346 # Double quotes because CXXCPP needs to be expanded
20347 for CXXCPP in "$CXX -E" "/lib/cpp"
20349 ac_preproc_ok=false
20350 for ac_cxx_preproc_warn_flag in '' yes
20352 # Use a header file that comes with gcc, so configuring glibc
20353 # with a fresh cross-compiler works.
20354 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20355 # <limits.h> exists even on freestanding compilers.
20356 # On the NeXT, cc -E runs the code through the compiler's parser,
20357 # not just through cpp. "Syntax error" is here to catch this case.
20358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20359 /* end confdefs.h. */
20361 # include <limits.h>
20363 # include <assert.h>
20367 if ac_fn_cxx_try_cpp "$LINENO"; then :
20370 # Broken: fails on valid input.
20373 rm -f conftest.err conftest.i conftest.$ac_ext
20375 # OK, works on sane cases. Now check whether nonexistent headers
20376 # can be detected and how.
20377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20378 /* end confdefs.h. */
20379 #include <ac_nonexistent.h>
20381 if ac_fn_cxx_try_cpp "$LINENO"; then :
20382 # Broken: success on invalid input.
20385 # Passes both tests.
20389 rm -f conftest.err conftest.i conftest.$ac_ext
20392 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20393 rm -f conftest.i conftest.err conftest.$ac_ext
20394 if $ac_preproc_ok; then :
20399 ac_cv_prog_CXXCPP=$CXXCPP
20402 CXXCPP=$ac_cv_prog_CXXCPP
20404 ac_cv_prog_CXXCPP=$CXXCPP
20406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
20407 $as_echo "$CXXCPP" >&6; }
20408 ac_preproc_ok=false
20409 for ac_cxx_preproc_warn_flag in '' yes
20411 # Use a header file that comes with gcc, so configuring glibc
20412 # with a fresh cross-compiler works.
20413 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20414 # <limits.h> exists even on freestanding compilers.
20415 # On the NeXT, cc -E runs the code through the compiler's parser,
20416 # not just through cpp. "Syntax error" is here to catch this case.
20417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20418 /* end confdefs.h. */
20420 # include <limits.h>
20422 # include <assert.h>
20426 if ac_fn_cxx_try_cpp "$LINENO"; then :
20429 # Broken: fails on valid input.
20432 rm -f conftest.err conftest.i conftest.$ac_ext
20434 # OK, works on sane cases. Now check whether nonexistent headers
20435 # can be detected and how.
20436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20437 /* end confdefs.h. */
20438 #include <ac_nonexistent.h>
20440 if ac_fn_cxx_try_cpp "$LINENO"; then :
20441 # Broken: success on invalid input.
20444 # Passes both tests.
20448 rm -f conftest.err conftest.i conftest.$ac_ext
20451 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20452 rm -f conftest.i conftest.err conftest.$ac_ext
20453 if $ac_preproc_ok; then :
20456 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20458 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
20459 See \`config.log' for more details" "$LINENO" 5 ; }
20463 ac_cpp='$CPP $CPPFLAGS'
20464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20470 if test -n "$ac_tool_prefix"; then
20471 for ac_prog in objcc objc gcc cc CC
20473 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
20474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
20475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20476 $as_echo_n "checking for $ac_word... " >&6; }
20477 if test "${ac_cv_prog_OBJC+set}" = set; then :
20478 $as_echo_n "(cached) " >&6
20480 if test -n "$OBJC"; then
20481 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
20483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20484 for as_dir in $PATH
20487 test -z "$as_dir" && as_dir=.
20488 for ac_exec_ext in '' $ac_executable_extensions; do
20489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20490 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
20491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20500 OBJC=$ac_cv_prog_OBJC
20501 if test -n "$OBJC"; then
20502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
20503 $as_echo "$OBJC" >&6; }
20505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20506 $as_echo "no" >&6; }
20510 test -n "$OBJC" && break
20513 if test -z "$OBJC"; then
20515 for ac_prog in objcc objc gcc cc CC
20517 # Extract the first word of "$ac_prog", so it can be a program name with args.
20518 set dummy $ac_prog; ac_word=$2
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20520 $as_echo_n "checking for $ac_word... " >&6; }
20521 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then :
20522 $as_echo_n "(cached) " >&6
20524 if test -n "$ac_ct_OBJC"; then
20525 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
20527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20528 for as_dir in $PATH
20531 test -z "$as_dir" && as_dir=.
20532 for ac_exec_ext in '' $ac_executable_extensions; do
20533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20534 ac_cv_prog_ac_ct_OBJC="$ac_prog"
20535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20544 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
20545 if test -n "$ac_ct_OBJC"; then
20546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
20547 $as_echo "$ac_ct_OBJC" >&6; }
20549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20550 $as_echo "no" >&6; }
20554 test -n "$ac_ct_OBJC" && break
20557 if test "x$ac_ct_OBJC" = x; then
20560 case $cross_compiling:$ac_tool_warned in
20562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
20563 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
20564 ac_tool_warned=yes ;;
20571 OBJC_LDFLAGS="-lobjc"
20573 if test "x$OBJC" != xnone ; then
20575 depcc="$OBJC" am_compiler_list='gcc3 gcc'
20577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
20578 $as_echo_n "checking dependency style of $depcc... " >&6; }
20579 if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then :
20580 $as_echo_n "(cached) " >&6
20582 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
20583 # We make a subdir and do the tests there. Otherwise we can end up
20584 # making bogus files that we don't know about and never remove. For
20585 # instance it was reported that on HP-UX the gcc test will end up
20586 # making a dummy file named `D' -- because `-MD' means `put the output
20589 # Copy depcomp to subdir because otherwise we won't find it if we're
20590 # using a relative directory.
20591 cp "$am_depcomp" conftest.dir
20593 # We will build objects and dependencies in a subdirectory because
20594 # it helps to detect inapplicable dependency modes. For instance
20595 # both Tru64's cc and ICC support -MD to output dependencies as a
20596 # side effect of compilation, but ICC will put the dependencies in
20597 # the current directory while Tru64 will put them in the object
20601 am_cv_OBJC_dependencies_compiler_type=none
20602 if test "$am_compiler_list" = ""; then
20603 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
20605 am__universal=false
20608 for depmode in $am_compiler_list; do
20609 # Setup a source with many dependencies, because some compilers
20610 # like to wrap large dependency lists on column 80 (with \), and
20611 # we should not choose a depcomp mode which is confused by this.
20613 # We need to recreate these files for each test, as the compiler may
20614 # overwrite some of them when testing with obscure command lines.
20615 # This happens at least with the AIX C compiler.
20617 for i in 1 2 3 4 5 6; do
20618 echo '#include "conftst'$i'.h"' >> sub/conftest.c
20619 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
20620 # Solaris 8's {/usr,}/bin/sh.
20621 touch sub/conftst$i.h
20623 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
20625 # We check with `-c' and `-o' for the sake of the "dashmstdout"
20626 # mode. It turns out that the SunPro C++ compiler does not properly
20627 # handle `-M -o', and we need to detect this. Also, some Intel
20628 # versions had trouble with output in subdirs
20629 am__obj=sub/conftest.${OBJEXT-o}
20630 am__minus_obj="-o $am__obj"
20633 # This depmode causes a compiler race in universal mode.
20634 test "$am__universal" = false || continue
20637 # after this tag, mechanisms are not by side-effect, so they'll
20638 # only be used when explicitly requested
20639 if test "x$enable_dependency_tracking" = xyes; then
20645 msvisualcpp | msvcmsys)
20646 # This compiler won't grok `-c -o', but also, the minuso test has
20647 # not run yet. These depmodes are late enough in the game, and
20648 # so weak that their functioning should not be impacted.
20649 am__obj=conftest.${OBJEXT-o}
20654 if depmode=$depmode \
20655 source=sub/conftest.c object=$am__obj \
20656 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
20657 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
20658 >/dev/null 2>conftest.err &&
20659 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
20660 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
20661 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
20662 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
20663 # icc doesn't choke on unknown options, it will just issue warnings
20664 # or remarks (even with -Werror). So we grep stderr for any message
20665 # that says an option was ignored or not supported.
20666 # When given -MP, icc 7.0 and 7.1 complain thusly:
20667 # icc: Command line warning: ignoring option '-M'; no argument required
20668 # The diagnosis changed in icc 8.0:
20669 # icc: Command line remark: option '-MP' not supported
20670 if (grep 'ignoring option' conftest.err ||
20671 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
20672 am_cv_OBJC_dependencies_compiler_type=$depmode
20679 rm -rf conftest.dir
20681 am_cv_OBJC_dependencies_compiler_type=none
20685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
20686 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
20687 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
20690 test "x$enable_dependency_tracking" != xno \
20691 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
20692 am__fastdepOBJC_TRUE=
20693 am__fastdepOBJC_FALSE='#'
20695 am__fastdepOBJC_TRUE='#'
20696 am__fastdepOBJC_FALSE=
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Objective C compiler works" >&5
20701 $as_echo_n "checking if Objective C compiler works... " >&6; }
20702 cat >>conftest.m <<EOF
20703 #include <objc/Object.h>
20704 @interface Moo:Object
20711 @implementation Moo
20726 ${OBJC} conftest.m ${OBJC_LDFLAGS} >&5 2>&5
20727 if test -f a.out -o -f a.exe ; then
20731 echo failed program is: >&5
20734 rm -f conftest.m a.out a.exe
20735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
20736 $as_echo "$result" >&6; }
20739 depcc="$OBJC" am_compiler_list='gcc3 gcc'
20741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
20742 $as_echo_n "checking dependency style of $depcc... " >&6; }
20743 if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then :
20744 $as_echo_n "(cached) " >&6
20746 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
20747 # We make a subdir and do the tests there. Otherwise we can end up
20748 # making bogus files that we don't know about and never remove. For
20749 # instance it was reported that on HP-UX the gcc test will end up
20750 # making a dummy file named `D' -- because `-MD' means `put the output
20753 # Copy depcomp to subdir because otherwise we won't find it if we're
20754 # using a relative directory.
20755 cp "$am_depcomp" conftest.dir
20757 # We will build objects and dependencies in a subdirectory because
20758 # it helps to detect inapplicable dependency modes. For instance
20759 # both Tru64's cc and ICC support -MD to output dependencies as a
20760 # side effect of compilation, but ICC will put the dependencies in
20761 # the current directory while Tru64 will put them in the object
20765 am_cv_OBJC_dependencies_compiler_type=none
20766 if test "$am_compiler_list" = ""; then
20767 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
20769 am__universal=false
20772 for depmode in $am_compiler_list; do
20773 # Setup a source with many dependencies, because some compilers
20774 # like to wrap large dependency lists on column 80 (with \), and
20775 # we should not choose a depcomp mode which is confused by this.
20777 # We need to recreate these files for each test, as the compiler may
20778 # overwrite some of them when testing with obscure command lines.
20779 # This happens at least with the AIX C compiler.
20781 for i in 1 2 3 4 5 6; do
20782 echo '#include "conftst'$i'.h"' >> sub/conftest.c
20783 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
20784 # Solaris 8's {/usr,}/bin/sh.
20785 touch sub/conftst$i.h
20787 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
20789 # We check with `-c' and `-o' for the sake of the "dashmstdout"
20790 # mode. It turns out that the SunPro C++ compiler does not properly
20791 # handle `-M -o', and we need to detect this. Also, some Intel
20792 # versions had trouble with output in subdirs
20793 am__obj=sub/conftest.${OBJEXT-o}
20794 am__minus_obj="-o $am__obj"
20797 # This depmode causes a compiler race in universal mode.
20798 test "$am__universal" = false || continue
20801 # after this tag, mechanisms are not by side-effect, so they'll
20802 # only be used when explicitly requested
20803 if test "x$enable_dependency_tracking" = xyes; then
20809 msvisualcpp | msvcmsys)
20810 # This compiler won't grok `-c -o', but also, the minuso test has
20811 # not run yet. These depmodes are late enough in the game, and
20812 # so weak that their functioning should not be impacted.
20813 am__obj=conftest.${OBJEXT-o}
20818 if depmode=$depmode \
20819 source=sub/conftest.c object=$am__obj \
20820 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
20821 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
20822 >/dev/null 2>conftest.err &&
20823 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
20824 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
20825 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
20826 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
20827 # icc doesn't choke on unknown options, it will just issue warnings
20828 # or remarks (even with -Werror). So we grep stderr for any message
20829 # that says an option was ignored or not supported.
20830 # When given -MP, icc 7.0 and 7.1 complain thusly:
20831 # icc: Command line warning: ignoring option '-M'; no argument required
20832 # The diagnosis changed in icc 8.0:
20833 # icc: Command line remark: option '-MP' not supported
20834 if (grep 'ignoring option' conftest.err ||
20835 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
20836 am_cv_OBJC_dependencies_compiler_type=$depmode
20843 rm -rf conftest.dir
20845 am_cv_OBJC_dependencies_compiler_type=none
20849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
20850 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
20851 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
20854 test "x$enable_dependency_tracking" != xno \
20855 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
20856 am__fastdepOBJC_TRUE=
20857 am__fastdepOBJC_FALSE='#'
20859 am__fastdepOBJC_TRUE='#'
20860 am__fastdepOBJC_FALSE=
20868 if test "x$CC" != xcc; then
20869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
20870 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
20872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
20873 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
20875 set dummy $CC; ac_cc=`$as_echo "$2" |
20876 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
20877 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
20878 $as_echo_n "(cached) " >&6
20880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20881 /* end confdefs.h. */
20891 # Make sure it works both with $CC and with simple cc.
20892 # We do the test twice because some compilers refuse to overwrite an
20893 # existing .o file with -o, though they will create one.
20894 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
20896 if { { case "(($ac_try" in
20897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20898 *) ac_try_echo=$ac_try;;
20900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20901 $as_echo "$ac_try_echo"; } >&5
20902 (eval "$ac_try") 2>&5
20904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20905 test $ac_status = 0; } &&
20906 test -f conftest2.$ac_objext && { { case "(($ac_try" in
20907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20908 *) ac_try_echo=$ac_try;;
20910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20911 $as_echo "$ac_try_echo"; } >&5
20912 (eval "$ac_try") 2>&5
20914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20915 test $ac_status = 0; };
20917 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
20918 if test "x$CC" != xcc; then
20919 # Test first that cc exists at all.
20920 if { ac_try='cc -c conftest.$ac_ext >&5'
20921 { { case "(($ac_try" in
20922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20923 *) ac_try_echo=$ac_try;;
20925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20926 $as_echo "$ac_try_echo"; } >&5
20927 (eval "$ac_try") 2>&5
20929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20930 test $ac_status = 0; }; }; then
20931 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
20933 if { { case "(($ac_try" in
20934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20935 *) ac_try_echo=$ac_try;;
20937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20938 $as_echo "$ac_try_echo"; } >&5
20939 (eval "$ac_try") 2>&5
20941 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20942 test $ac_status = 0; } &&
20943 test -f conftest2.$ac_objext && { { case "(($ac_try" in
20944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20945 *) ac_try_echo=$ac_try;;
20947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20948 $as_echo "$ac_try_echo"; } >&5
20949 (eval "$ac_try") 2>&5
20951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20952 test $ac_status = 0; };
20957 # cc exists but doesn't like -o.
20958 eval ac_cv_prog_cc_${ac_cc}_c_o=no
20963 eval ac_cv_prog_cc_${ac_cc}_c_o=no
20965 rm -f core conftest*
20968 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
20969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20970 $as_echo "yes" >&6; }
20972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20973 $as_echo "no" >&6; }
20975 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
20979 # FIXME: we rely on the cache variable name because
20980 # there is no other way.
20982 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
20983 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
20984 if test "$am_t" != yes; then
20985 # Losing compiler, so override with the script.
20986 # FIXME: It is wrong to rewrite CC.
20987 # But if we don't then we get into trouble of one sort or another.
20988 # A longer-term fix would be to have automake use am__CC in this case,
20989 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
20990 CC="$am_aux_dir/compile $CC"
20995 # By default we simply use the C compiler to build assembly code.
20997 test "${CCAS+set}" = set || CCAS=$CC
20998 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
21002 depcc="$CCAS" am_compiler_list=
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
21005 $as_echo_n "checking dependency style of $depcc... " >&6; }
21006 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then :
21007 $as_echo_n "(cached) " >&6
21009 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
21010 # We make a subdir and do the tests there. Otherwise we can end up
21011 # making bogus files that we don't know about and never remove. For
21012 # instance it was reported that on HP-UX the gcc test will end up
21013 # making a dummy file named `D' -- because `-MD' means `put the output
21016 # Copy depcomp to subdir because otherwise we won't find it if we're
21017 # using a relative directory.
21018 cp "$am_depcomp" conftest.dir
21020 # We will build objects and dependencies in a subdirectory because
21021 # it helps to detect inapplicable dependency modes. For instance
21022 # both Tru64's cc and ICC support -MD to output dependencies as a
21023 # side effect of compilation, but ICC will put the dependencies in
21024 # the current directory while Tru64 will put them in the object
21028 am_cv_CCAS_dependencies_compiler_type=none
21029 if test "$am_compiler_list" = ""; then
21030 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
21032 am__universal=false
21035 for depmode in $am_compiler_list; do
21036 # Setup a source with many dependencies, because some compilers
21037 # like to wrap large dependency lists on column 80 (with \), and
21038 # we should not choose a depcomp mode which is confused by this.
21040 # We need to recreate these files for each test, as the compiler may
21041 # overwrite some of them when testing with obscure command lines.
21042 # This happens at least with the AIX C compiler.
21044 for i in 1 2 3 4 5 6; do
21045 echo '#include "conftst'$i'.h"' >> sub/conftest.c
21046 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
21047 # Solaris 8's {/usr,}/bin/sh.
21048 touch sub/conftst$i.h
21050 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
21052 # We check with `-c' and `-o' for the sake of the "dashmstdout"
21053 # mode. It turns out that the SunPro C++ compiler does not properly
21054 # handle `-M -o', and we need to detect this. Also, some Intel
21055 # versions had trouble with output in subdirs
21056 am__obj=sub/conftest.${OBJEXT-o}
21057 am__minus_obj="-o $am__obj"
21060 # This depmode causes a compiler race in universal mode.
21061 test "$am__universal" = false || continue
21064 # after this tag, mechanisms are not by side-effect, so they'll
21065 # only be used when explicitly requested
21066 if test "x$enable_dependency_tracking" = xyes; then
21072 msvisualcpp | msvcmsys)
21073 # This compiler won't grok `-c -o', but also, the minuso test has
21074 # not run yet. These depmodes are late enough in the game, and
21075 # so weak that their functioning should not be impacted.
21076 am__obj=conftest.${OBJEXT-o}
21081 if depmode=$depmode \
21082 source=sub/conftest.c object=$am__obj \
21083 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
21084 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
21085 >/dev/null 2>conftest.err &&
21086 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
21087 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
21088 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
21089 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
21090 # icc doesn't choke on unknown options, it will just issue warnings
21091 # or remarks (even with -Werror). So we grep stderr for any message
21092 # that says an option was ignored or not supported.
21093 # When given -MP, icc 7.0 and 7.1 complain thusly:
21094 # icc: Command line warning: ignoring option '-M'; no argument required
21095 # The diagnosis changed in icc 8.0:
21096 # icc: Command line remark: option '-MP' not supported
21097 if (grep 'ignoring option' conftest.err ||
21098 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
21099 am_cv_CCAS_dependencies_compiler_type=$depmode
21106 rm -rf conftest.dir
21108 am_cv_CCAS_dependencies_compiler_type=none
21112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
21113 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
21114 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
21117 test "x$enable_dependency_tracking" != xno \
21118 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
21119 am__fastdepCCAS_TRUE=
21120 am__fastdepCCAS_FALSE='#'
21122 am__fastdepCCAS_TRUE='#'
21123 am__fastdepCCAS_FALSE=
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working do while(0) macros" >&5
21131 $as_echo_n "checking for working do while(0) macros... " >&6; }
21132 if test "${_cv_g_support_dowhile_macros+set}" = set; then :
21133 $as_echo_n "(cached) " >&6
21136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21137 /* end confdefs.h. */
21143 #define STMT_START do
21144 #define STMT_END while(0)
21145 #define STMT_TEST STMT_START { i = 0; } STMT_END
21146 int main(void) { int i = 1; STMT_TEST; return i; }
21151 if ac_fn_c_try_compile "$LINENO"; then :
21152 _cv_g_support_dowhile_macros=yes
21154 _cv_g_support_dowhile_macros=no
21156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_g_support_dowhile_macros" >&5
21160 $as_echo "$_cv_g_support_dowhile_macros" >&6; }
21161 if test x$_cv_g_support_dowhile_macros = xyes; then
21163 $as_echo "#define HAVE_DOWHILE_MACROS 1" >>confdefs.h
21168 # Extract the first word of "valgrind", so it can be a program name with args.
21169 set dummy valgrind; ac_word=$2
21170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21171 $as_echo_n "checking for $ac_word... " >&6; }
21172 if test "${ac_cv_path_VALGRIND_PATH+set}" = set; then :
21173 $as_echo_n "(cached) " >&6
21175 case $VALGRIND_PATH in
21177 ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
21180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21181 for as_dir in $PATH
21184 test -z "$as_dir" && as_dir=.
21185 for ac_exec_ext in '' $ac_executable_extensions; do
21186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21187 ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
21188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21195 test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
21199 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
21200 if test -n "$VALGRIND_PATH"; then
21201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
21202 $as_echo "$VALGRIND_PATH" >&6; }
21204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21205 $as_echo "no" >&6; }
21209 if test ! "x$VALGRIND_PATH" = "xno"; then
21210 HAVE_VALGRIND_TRUE=
21211 HAVE_VALGRIND_FALSE='#'
21213 HAVE_VALGRIND_TRUE='#'
21214 HAVE_VALGRIND_FALSE=
21219 if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
21220 GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
21222 GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
21226 # Check whether --with-gconf-source was given.
21227 if test "${with_gconf_source+set}" = set; then :
21228 withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
21233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
21234 $as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
21236 if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
21237 GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
21241 # Check whether --with-gconf-schema-file-dir was given.
21242 if test "${with_gconf_schema_file_dir+set}" = set; then :
21243 withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
21248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
21249 $as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
21251 # Check whether --enable-schemas-install was given.
21252 if test "${enable_schemas_install+set}" = set; then :
21253 enableval=$enable_schemas_install; case "${enableval}" in
21254 yes) schemas_install=true ;;
21255 no) schemas_install=false ;;
21256 *) as_fn_error $? "bad value ${enableval} for --disable-schemas-install" "$LINENO" 5 ;;
21259 schemas_install=true
21262 if test x$schemas_install = xtrue; then
21263 GCONF_SCHEMAS_INSTALL_TRUE=
21264 GCONF_SCHEMAS_INSTALL_FALSE='#'
21266 GCONF_SCHEMAS_INSTALL_TRUE='#'
21267 GCONF_SCHEMAS_INSTALL_FALSE=
21274 # Check whether --with-html-dir was given.
21275 if test "${with_html_dir+set}" = set; then :
21276 withval=$with_html_dir;
21278 with_html_dir='${datadir}/gtk-doc/html'
21281 HTML_DIR="$with_html_dir"
21284 # Check whether --enable-gtk-doc was given.
21285 if test "${enable_gtk_doc+set}" = set; then :
21286 enableval=$enable_gtk_doc;
21292 if test x$enable_gtk_doc = xyes; then
21293 if test -n "$PKG_CONFIG" && \
21294 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5
21295 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5
21297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21298 test $ac_status = 0; }; then
21301 as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build gtk-doc" "$LINENO" 5
21303 if test -z "$SED"; then
21304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
21305 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
21306 if test "${ac_cv_path_SED+set}" = set; then :
21307 $as_echo_n "(cached) " >&6
21309 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
21310 for ac_i in 1 2 3 4 5 6 7; do
21311 ac_script="$ac_script$as_nl$ac_script"
21313 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
21314 { ac_script=; unset ac_script;}
21315 if test -z "$SED"; then
21316 ac_path_SED_found=false
21317 # Loop through the user's path and test for each of PROGNAME-LIST
21318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21319 for as_dir in $PATH
21322 test -z "$as_dir" && as_dir=.
21323 for ac_prog in sed gsed; do
21324 for ac_exec_ext in '' $ac_executable_extensions; do
21325 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
21326 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
21327 # Check for GNU ac_path_SED and select it if it is found.
21328 # Check for GNU $ac_path_SED
21329 case `"$ac_path_SED" --version 2>&1` in
21331 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
21334 $as_echo_n 0123456789 >"conftest.in"
21337 cat "conftest.in" "conftest.in" >"conftest.tmp"
21338 mv "conftest.tmp" "conftest.in"
21339 cp "conftest.in" "conftest.nl"
21340 $as_echo '' >> "conftest.nl"
21341 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
21342 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
21343 as_fn_arith $ac_count + 1 && ac_count=$as_val
21344 if test $ac_count -gt ${ac_path_SED_max-0}; then
21345 # Best one so far, save it but keep looking for a better one
21346 ac_cv_path_SED="$ac_path_SED"
21347 ac_path_SED_max=$ac_count
21349 # 10*(2^10) chars as input seems more than enough
21350 test $ac_count -gt 10 && break
21352 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
21355 $ac_path_SED_found && break 3
21360 if test -z "$ac_cv_path_SED"; then
21361 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
21364 ac_cv_path_SED=$SED
21368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
21369 $as_echo "$ac_cv_path_SED" >&6; }
21370 SED="$ac_cv_path_SED"
21376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
21377 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
21379 $as_echo "$enable_gtk_doc" >&6; }
21381 for ac_prog in gtkdoc-check
21383 # Extract the first word of "$ac_prog", so it can be a program name with args.
21384 set dummy $ac_prog; ac_word=$2
21385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21386 $as_echo_n "checking for $ac_word... " >&6; }
21387 if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
21388 $as_echo_n "(cached) " >&6
21390 case $GTKDOC_CHECK in
21392 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
21395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21396 for as_dir in $PATH
21399 test -z "$as_dir" && as_dir=.
21400 for ac_exec_ext in '' $ac_executable_extensions; do
21401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21402 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
21403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21413 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
21414 if test -n "$GTKDOC_CHECK"; then
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
21416 $as_echo "$GTKDOC_CHECK" >&6; }
21418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21419 $as_echo "no" >&6; }
21423 test -n "$GTKDOC_CHECK" && break
21427 if test x$enable_gtk_doc = xyes; then
21428 ENABLE_GTK_DOC_TRUE=
21429 ENABLE_GTK_DOC_FALSE='#'
21431 ENABLE_GTK_DOC_TRUE='#'
21432 ENABLE_GTK_DOC_FALSE=
21435 if test -n "$LIBTOOL"; then
21436 GTK_DOC_USE_LIBTOOL_TRUE=
21437 GTK_DOC_USE_LIBTOOL_FALSE='#'
21439 GTK_DOC_USE_LIBTOOL_TRUE='#'
21440 GTK_DOC_USE_LIBTOOL_FALSE=
21446 PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
21447 python1.6 python1.5"
21449 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5
21450 $as_echo "$as_me: Looking for Python version >= 2.1" >&6;}
21454 # split string by '.' and convert to numeric
21455 minver_info = map(string.atoi, string.split(minver, '.'))
21456 # we can now do comparisons on the two lists:
21457 if sys.version_info >= tuple(minver_info):
21463 for python_candidate in $PYTHON_CANDIDATES; do
21465 # Extract the first word of "$python_candidate", so it can be a program name with args.
21466 set dummy $python_candidate; ac_word=$2
21467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21468 $as_echo_n "checking for $ac_word... " >&6; }
21469 if test "${ac_cv_path_PYTHON+set}" = set; then :
21470 $as_echo_n "(cached) " >&6
21474 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
21477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21478 for as_dir in $PATH
21481 test -z "$as_dir" && as_dir=.
21482 for ac_exec_ext in '' $ac_executable_extensions; do
21483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21484 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
21485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21495 PYTHON=$ac_cv_path_PYTHON
21496 if test -n "$PYTHON"; then
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
21498 $as_echo "$PYTHON" >&6; }
21500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21501 $as_echo "no" >&6; }
21504 1> /dev/null 2> /dev/null
21506 if test "x$PYTHON" = "x"; then continue; fi
21508 if $PYTHON -c "$prog" 1>&5 2>&5; then
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5
21510 $as_echo_n "checking \"$PYTHON\":... " >&6; }
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
21512 $as_echo "okay" >&6; }
21516 unset ac_cv_path_PYTHON
21521 if test "$python_good" != "true"; then
21522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5
21523 $as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5
21528 $as_echo_n "checking local Python configuration... " >&6; }
21532 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
21537 PYTHON_PREFIX='${prefix}'
21540 PYTHON_EXEC_PREFIX='${exec_prefix}'
21544 PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
21550 pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
21554 pkgpythondir=\${pythondir}/$PACKAGE
21558 pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
21562 pkgpyexecdir=\${pyexecdir}/$PACKAGE
21564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5
21565 $as_echo "looks good" >&6; }
21571 build_plugin_docs=no
21572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5
21573 $as_echo_n "checking whether to build plugin documentation... " >&6; }
21574 if test x$enable_gtk_doc = xyes; then
21575 build_plugin_docs=yes
21576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21577 $as_echo "yes" >&6; }
21579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5
21580 $as_echo "no (gtk-doc disabled or not available)" >&6; }
21583 if test x$build_plugin_docs = xyes; then
21584 ENABLE_PLUGIN_DOCS_TRUE=
21585 ENABLE_PLUGIN_DOCS_FALSE='#'
21587 ENABLE_PLUGIN_DOCS_TRUE='#'
21588 ENABLE_PLUGIN_DOCS_FALSE=
21596 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
21597 # These system don't have libm, or don't need it
21600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
21601 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
21602 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
21603 $as_echo_n "(cached) " >&6
21605 ac_check_lib_save_LIBS=$LIBS
21607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21608 /* end confdefs.h. */
21610 /* Override any GCC internal prototype to avoid an error.
21611 Use char because int might match the return type of a GCC
21612 builtin and then its argument prototype would still apply. */
21616 char _mwvalidcheckl ();
21620 return _mwvalidcheckl ();
21625 if ac_fn_c_try_link "$LINENO"; then :
21626 ac_cv_lib_mw__mwvalidcheckl=yes
21628 ac_cv_lib_mw__mwvalidcheckl=no
21630 rm -f core conftest.err conftest.$ac_objext \
21631 conftest$ac_exeext conftest.$ac_ext
21632 LIBS=$ac_check_lib_save_LIBS
21634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
21635 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
21636 if test "x$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then :
21640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
21641 $as_echo_n "checking for cos in -lm... " >&6; }
21642 if test "${ac_cv_lib_m_cos+set}" = set; then :
21643 $as_echo_n "(cached) " >&6
21645 ac_check_lib_save_LIBS=$LIBS
21647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21648 /* end confdefs.h. */
21650 /* Override any GCC internal prototype to avoid an error.
21651 Use char because int might match the return type of a GCC
21652 builtin and then its argument prototype would still apply. */
21665 if ac_fn_c_try_link "$LINENO"; then :
21666 ac_cv_lib_m_cos=yes
21670 rm -f core conftest.err conftest.$ac_objext \
21671 conftest$ac_exeext conftest.$ac_ext
21672 LIBS=$ac_check_lib_save_LIBS
21674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
21675 $as_echo "$ac_cv_lib_m_cos" >&6; }
21676 if test "x$ac_cv_lib_m_cos" = x""yes; then :
21682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
21683 $as_echo_n "checking for cos in -lm... " >&6; }
21684 if test "${ac_cv_lib_m_cos+set}" = set; then :
21685 $as_echo_n "(cached) " >&6
21687 ac_check_lib_save_LIBS=$LIBS
21689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21690 /* end confdefs.h. */
21692 /* Override any GCC internal prototype to avoid an error.
21693 Use char because int might match the return type of a GCC
21694 builtin and then its argument prototype would still apply. */
21707 if ac_fn_c_try_link "$LINENO"; then :
21708 ac_cv_lib_m_cos=yes
21712 rm -f core conftest.err conftest.$ac_objext \
21713 conftest$ac_exeext conftest.$ac_ext
21714 LIBS=$ac_check_lib_save_LIBS
21716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
21717 $as_echo "$ac_cv_lib_m_cos" >&6; }
21718 if test "x$ac_cv_lib_m_cos" = x""yes; then :
21729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
21730 $as_echo_n "checking for ANSI C header files... " >&6; }
21731 if test "${ac_cv_header_stdc+set}" = set; then :
21732 $as_echo_n "(cached) " >&6
21734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21735 /* end confdefs.h. */
21736 #include <stdlib.h>
21737 #include <stdarg.h>
21738 #include <string.h>
21749 if ac_fn_c_try_compile "$LINENO"; then :
21750 ac_cv_header_stdc=yes
21752 ac_cv_header_stdc=no
21754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21756 if test $ac_cv_header_stdc = yes; then
21757 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21759 /* end confdefs.h. */
21760 #include <string.h>
21763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21764 $EGREP "memchr" >/dev/null 2>&1; then :
21767 ac_cv_header_stdc=no
21773 if test $ac_cv_header_stdc = yes; then
21774 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21776 /* end confdefs.h. */
21777 #include <stdlib.h>
21780 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21781 $EGREP "free" >/dev/null 2>&1; then :
21784 ac_cv_header_stdc=no
21790 if test $ac_cv_header_stdc = yes; then
21791 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21792 if test "$cross_compiling" = yes; then :
21795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21796 /* end confdefs.h. */
21798 #include <stdlib.h>
21799 #if ((' ' & 0x0FF) == 0x020)
21800 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21801 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21803 # define ISLOWER(c) \
21804 (('a' <= (c) && (c) <= 'i') \
21805 || ('j' <= (c) && (c) <= 'r') \
21806 || ('s' <= (c) && (c) <= 'z'))
21807 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21810 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21815 for (i = 0; i < 256; i++)
21816 if (XOR (islower (i), ISLOWER (i))
21817 || toupper (i) != TOUPPER (i))
21822 if ac_fn_c_try_run "$LINENO"; then :
21825 ac_cv_header_stdc=no
21827 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
21828 conftest.$ac_objext conftest.beam conftest.$ac_ext
21833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
21834 $as_echo "$ac_cv_header_stdc" >&6; }
21835 if test $ac_cv_header_stdc = yes; then
21837 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
21842 # ------ AX CREATE STDINT H -------------------------------------
21843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
21844 $as_echo_n "checking for stdint types... " >&6; }
21845 ac_stdint_h=`echo _stdint.h`
21846 # try to shortcircuit - if the default include path of the compiler
21847 # can find a "stdint.h" header then we assume that all compilers can.
21848 if test "${ac_cv_header_stdint_t+set}" = set; then :
21849 $as_echo_n "(cached) " >&6
21852 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
21853 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
21854 old_CFLAGS="$CFLAGS" ; CFLAGS=""
21855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21856 /* end confdefs.h. */
21857 #include <stdint.h>
21861 int_least32_t v = 0;
21866 if ac_fn_c_try_compile "$LINENO"; then :
21867 ac_cv_stdint_result="(assuming C99 compatible system)"
21868 ac_cv_header_stdint_t="stdint.h";
21870 ac_cv_header_stdint_t=""
21872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21873 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
21875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21876 /* end confdefs.h. */
21877 #include <stdint.h>
21881 int_least32_t v = 0;
21886 if ac_fn_c_try_compile "$LINENO"; then :
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
21888 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
21890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21892 CXXFLAGS="$old_CXXFLAGS"
21893 CPPFLAGS="$old_CPPFLAGS"
21894 CFLAGS="$old_CFLAGS"
21898 v="... $ac_cv_header_stdint_h"
21899 if test "$ac_stdint_h" = "stdint.h" ; then
21900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
21901 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
21902 elif test "$ac_stdint_h" = "inttypes.h" ; then
21903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
21904 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
21905 elif test "_$ac_cv_header_stdint_t" = "_" ; then
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
21907 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
21909 ac_cv_header_stdint="$ac_cv_header_stdint_t"
21910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
21911 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
21914 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
21917 inttype_headers=`echo | sed -e 's/,/ /g'`
21919 ac_cv_stdint_result="(no helpful system typedefs seen)"
21921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
21922 $as_echo_n "checking for stdint uintptr_t... " >&6; }
21923 if test "${ac_cv_header_stdint_x+set}" = set; then :
21924 $as_echo_n "(cached) " >&6
21927 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21929 $as_echo "(..)" >&6; }
21930 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers
21932 unset ac_cv_type_uintptr_t
21933 unset ac_cv_type_uint64_t
21934 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
21936 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
21937 ac_cv_header_stdint_x=$i
21942 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
21944 if test "x$ac_cv_type_uint64_t" = x""yes; then :
21950 ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
21953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
21954 $as_echo_n "checking for stdint uintptr_t... " >&6; }
21957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
21958 $as_echo "$ac_cv_header_stdint_x" >&6; }
21961 if test "_$ac_cv_header_stdint_x" = "_" ; then
21963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
21964 $as_echo_n "checking for stdint uint32_t... " >&6; }
21965 if test "${ac_cv_header_stdint_o+set}" = set; then :
21966 $as_echo_n "(cached) " >&6
21969 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21971 $as_echo "(..)" >&6; }
21972 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers
21974 unset ac_cv_type_uint32_t
21975 unset ac_cv_type_uint64_t
21976 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
21978 if test "x$ac_cv_type_uint32_t" = x""yes; then :
21979 ac_cv_header_stdint_o=$i
21984 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
21986 if test "x$ac_cv_type_uint64_t" = x""yes; then :
21992 ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
21996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
21997 $as_echo_n "checking for stdint uint32_t... " >&6; }
22000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
22001 $as_echo "$ac_cv_header_stdint_o" >&6; }
22005 if test "_$ac_cv_header_stdint_x" = "_" ; then
22006 if test "_$ac_cv_header_stdint_o" = "_" ; then
22008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
22009 $as_echo_n "checking for stdint u_int32_t... " >&6; }
22010 if test "${ac_cv_header_stdint_u+set}" = set; then :
22011 $as_echo_n "(cached) " >&6
22014 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
22015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
22016 $as_echo "(..)" >&6; }
22017 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
22018 unset ac_cv_type_u_int32_t
22019 unset ac_cv_type_u_int64_t
22020 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
22022 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
22023 ac_cv_header_stdint_u=$i
22028 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
22030 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
22036 ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
22040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
22041 $as_echo_n "checking for stdint u_int32_t... " >&6; }
22044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
22045 $as_echo "$ac_cv_header_stdint_u" >&6; }
22049 if test "_$ac_cv_header_stdint_x" = "_" ; then
22050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
22051 $as_echo_n "checking for stdint datatype model... " >&6; }
22052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
22053 $as_echo "(..)" >&6; }
22055 # The cast to long int works around a bug in the HP C Compiler
22056 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22057 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22058 # This bug is HP SR number 8606223364.
22059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
22060 $as_echo_n "checking size of char... " >&6; }
22061 if test "${ac_cv_sizeof_char+set}" = set; then :
22062 $as_echo_n "(cached) " >&6
22064 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
22067 if test "$ac_cv_type_char" = yes; then
22068 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22070 as_fn_error 77 "cannot compute sizeof (char)
22071 See \`config.log' for more details" "$LINENO" 5 ; }
22073 ac_cv_sizeof_char=0
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
22079 $as_echo "$ac_cv_sizeof_char" >&6; }
22083 cat >>confdefs.h <<_ACEOF
22084 #define SIZEOF_CHAR $ac_cv_sizeof_char
22088 # The cast to long int works around a bug in the HP C Compiler
22089 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22090 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22091 # This bug is HP SR number 8606223364.
22092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
22093 $as_echo_n "checking size of short... " >&6; }
22094 if test "${ac_cv_sizeof_short+set}" = set; then :
22095 $as_echo_n "(cached) " >&6
22097 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
22100 if test "$ac_cv_type_short" = yes; then
22101 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22103 as_fn_error 77 "cannot compute sizeof (short)
22104 See \`config.log' for more details" "$LINENO" 5 ; }
22106 ac_cv_sizeof_short=0
22111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
22112 $as_echo "$ac_cv_sizeof_short" >&6; }
22116 cat >>confdefs.h <<_ACEOF
22117 #define SIZEOF_SHORT $ac_cv_sizeof_short
22121 # The cast to long int works around a bug in the HP C Compiler
22122 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22123 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22124 # This bug is HP SR number 8606223364.
22125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
22126 $as_echo_n "checking size of int... " >&6; }
22127 if test "${ac_cv_sizeof_int+set}" = set; then :
22128 $as_echo_n "(cached) " >&6
22130 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
22133 if test "$ac_cv_type_int" = yes; then
22134 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22136 as_fn_error 77 "cannot compute sizeof (int)
22137 See \`config.log' for more details" "$LINENO" 5 ; }
22144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
22145 $as_echo "$ac_cv_sizeof_int" >&6; }
22149 cat >>confdefs.h <<_ACEOF
22150 #define SIZEOF_INT $ac_cv_sizeof_int
22154 # The cast to long int works around a bug in the HP C Compiler
22155 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22156 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22157 # This bug is HP SR number 8606223364.
22158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
22159 $as_echo_n "checking size of long... " >&6; }
22160 if test "${ac_cv_sizeof_long+set}" = set; then :
22161 $as_echo_n "(cached) " >&6
22163 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
22166 if test "$ac_cv_type_long" = yes; then
22167 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22169 as_fn_error 77 "cannot compute sizeof (long)
22170 See \`config.log' for more details" "$LINENO" 5 ; }
22172 ac_cv_sizeof_long=0
22177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
22178 $as_echo "$ac_cv_sizeof_long" >&6; }
22182 cat >>confdefs.h <<_ACEOF
22183 #define SIZEOF_LONG $ac_cv_sizeof_long
22187 # The cast to long int works around a bug in the HP C Compiler
22188 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22189 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22190 # This bug is HP SR number 8606223364.
22191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
22192 $as_echo_n "checking size of void*... " >&6; }
22193 if test "${ac_cv_sizeof_voidp+set}" = set; then :
22194 $as_echo_n "(cached) " >&6
22196 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
22199 if test "$ac_cv_type_voidp" = yes; then
22200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22202 as_fn_error 77 "cannot compute sizeof (void*)
22203 See \`config.log' for more details" "$LINENO" 5 ; }
22205 ac_cv_sizeof_voidp=0
22210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
22211 $as_echo "$ac_cv_sizeof_voidp" >&6; }
22215 cat >>confdefs.h <<_ACEOF
22216 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
22220 ac_cv_char_data_model=""
22221 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
22222 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
22223 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
22224 ac_cv_long_data_model=""
22225 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
22226 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
22227 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
22228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
22229 $as_echo_n "checking data model... " >&6; }
22230 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
22231 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
22232 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
22233 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
22234 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
22235 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
22236 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
22237 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
22238 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
22239 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
22240 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
22241 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
22242 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
22243 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
22244 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
22245 222/*|333/*|444/*|666/*|888/*) :
22246 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
22247 *) ac_cv_data_model="none" ; n="very unusual model" ;;
22249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
22250 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
22254 if test "_$ac_cv_header_stdint_x" != "_" ; then
22255 ac_cv_header_stdint="$ac_cv_header_stdint_x"
22256 elif test "_$ac_cv_header_stdint_o" != "_" ; then
22257 ac_cv_header_stdint="$ac_cv_header_stdint_o"
22258 elif test "_$ac_cv_header_stdint_u" != "_" ; then
22259 ac_cv_header_stdint="$ac_cv_header_stdint_u"
22261 ac_cv_header_stdint="stddef.h"
22264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
22265 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
22266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
22267 $as_echo "($ac_cv_header_stdint)" >&6; }
22268 unset ac_cv_type_int_least32_t
22269 unset ac_cv_type_int_fast32_t
22270 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
22272 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
22276 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
22278 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
22282 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
22284 if test "x$ac_cv_type_intmax_t" = x""yes; then :
22289 fi # shortcircut to system "stdint.h"
22290 # ------------------ PREPARE VARIABLES ------------------------------
22291 if test "$GCC" = "yes" ; then
22292 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
22294 ac_cv_stdint_message="using $CC"
22297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
22298 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
22300 # ----------------- DONE inttypes.h checks START header -------------
22301 ac_config_commands="$ac_config_commands $ac_stdint_h"
22305 for ac_header in netinet/in.h
22307 ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
22308 if test "x$ac_cv_header_netinet_in_h" = x""yes; then :
22309 cat >>confdefs.h <<_ACEOF
22310 #define HAVE_NETINET_IN_H 1
22317 for ac_header in winsock2.h
22319 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
22320 if test "x$ac_cv_header_winsock2_h" = x""yes; then :
22321 cat >>confdefs.h <<_ACEOF
22322 #define HAVE_WINSOCK2_H 1
22324 HAVE_WINSOCK2_H=yes
22329 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
22330 HAVE_WINSOCK2_H_TRUE=
22331 HAVE_WINSOCK2_H_FALSE='#'
22333 HAVE_WINSOCK2_H_TRUE='#'
22334 HAVE_WINSOCK2_H_FALSE=
22338 for ac_header in sys/time.h
22340 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
22341 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
22342 cat >>confdefs.h <<_ACEOF
22343 #define HAVE_SYS_TIME_H 1
22354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/ioctl.h" >&5
22355 $as_echo_n "checking for FIONREAD in sys/ioctl.h... " >&6; }
22356 if test "${_cv_gst_fionread_in_sys_ioctl+set}" = set; then :
22357 $as_echo_n "(cached) " >&6
22360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22361 /* end confdefs.h. */
22363 #include <sys/types.h>
22364 #include <sys/ioctl.h>
22378 if ac_fn_c_try_compile "$LINENO"; then :
22379 _cv_gst_fionread_in_sys_ioctl="yes"
22381 _cv_gst_fionread_in_sys_ioctl="no"
22383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_ioctl" >&5
22389 $as_echo "$_cv_gst_fionread_in_sys_ioctl" >&6; }
22391 if test "$_cv_gst_fionread_in_sys_ioctl" = "yes"; then
22393 $as_echo "#define HAVE_FIONREAD_IN_SYS_IOCTL 1" >>confdefs.h
22398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/filio.h" >&5
22399 $as_echo_n "checking for FIONREAD in sys/filio.h... " >&6; }
22400 if test "${_cv_gst_fionread_in_sys_filio+set}" = set; then :
22401 $as_echo_n "(cached) " >&6
22404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22405 /* end confdefs.h. */
22407 #include <sys/types.h>
22408 #include <sys/filio.h>
22422 if ac_fn_c_try_compile "$LINENO"; then :
22423 _cv_gst_fionread_in_sys_filio="yes"
22425 _cv_gst_fionread_in_sys_filio="no"
22427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_filio" >&5
22433 $as_echo "$_cv_gst_fionread_in_sys_filio" >&6; }
22435 if test "$_cv_gst_fionread_in_sys_filio" = "yes"; then
22437 $as_echo "#define HAVE_FIONREAD_IN_SYS_FILIO 1" >>confdefs.h
22448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports gcc-style inline assembly" >&5
22449 $as_echo_n "checking if compiler supports gcc-style inline assembly... " >&6; }
22451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22452 /* end confdefs.h. */
22458 #ifdef __GNUC_MINOR__
22459 #if (__GNUC__ * 1000 + __GNUC_MINOR__) < 3004
22460 #error GCC before 3.4 has critical bugs compiling inline assembly
22468 if ac_fn_c_try_compile "$LINENO"; then :
22473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22475 if test "X$flag_ok" = Xyes ; then
22482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
22483 $as_echo "$flag_ok" >&6; }
22485 if test x$HAVE_GCC_ASM = xyes ; then
22487 $as_echo "#define HAVE_GCC_ASM 1" >>confdefs.h
22490 if test "x$HAVE_GCC_ASM" = "xyes"; then
22492 HAVE_GCC_ASM_FALSE='#'
22494 HAVE_GCC_ASM_TRUE='#'
22495 HAVE_GCC_ASM_FALSE=
22502 for ac_func in rint sinh cosh asinh fpclass
22504 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22505 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22506 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
22507 cat >>confdefs.h <<_ACEOF
22508 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
22517 $as_echo_n "checking for isinf... " >&6; }
22518 if test "${ac_cv_have_isinf+set}" = set; then :
22519 $as_echo_n "(cached) " >&6
22521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22522 /* end confdefs.h. */
22527 float f = 0.0; int i=isinf(f)
22532 if ac_fn_c_try_link "$LINENO"; then :
22533 ac_cv_have_isinf="yes"
22535 ac_cv_have_isinf="no"
22537 rm -f core conftest.err conftest.$ac_objext \
22538 conftest$ac_exeext conftest.$ac_ext
22540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
22541 $as_echo "$ac_cv_have_isinf" >&6; }
22542 if test "$ac_cv_have_isinf" = "yes"
22545 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
22552 for ac_header in $ac_header_list
22554 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22555 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
22557 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22558 cat >>confdefs.h <<_ACEOF
22559 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22573 for ac_func in getpagesize
22575 ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
22576 if test "x$ac_cv_func_getpagesize" = x""yes; then :
22577 cat >>confdefs.h <<_ACEOF
22578 #define HAVE_GETPAGESIZE 1
22584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
22585 $as_echo_n "checking for working mmap... " >&6; }
22586 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
22587 $as_echo_n "(cached) " >&6
22589 if test "$cross_compiling" = yes; then :
22590 ac_cv_func_mmap_fixed_mapped=no
22592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22593 /* end confdefs.h. */
22594 $ac_includes_default
22595 /* malloc might have been renamed as rpl_malloc. */
22598 /* Thanks to Mike Haertel and Jim Avera for this test.
22599 Here is a matrix of mmap possibilities:
22600 mmap private not fixed
22601 mmap private fixed at somewhere currently unmapped
22602 mmap private fixed at somewhere already mapped
22603 mmap shared not fixed
22604 mmap shared fixed at somewhere currently unmapped
22605 mmap shared fixed at somewhere already mapped
22606 For private mappings, we should verify that changes cannot be read()
22607 back from the file, nor mmap's back from the file at a different
22608 address. (There have been systems where private was not correctly
22609 implemented like the infamous i386 svr4.0, and systems where the
22610 VM page cache was not coherent with the file system buffer cache
22611 like early versions of FreeBSD and possibly contemporary NetBSD.)
22612 For shared mappings, we should conversely verify that changes get
22613 propagated back to all the places they're supposed to be.
22615 Grep wants private fixed already mapped.
22616 The main things grep needs to know about mmap are:
22617 * does it exist and is it safe to write into the mmap'd area
22618 * how to use it (BSD variants) */
22621 #include <sys/mman.h>
22623 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
22627 /* This mess was copied from the GNU getpagesize.h. */
22628 #ifndef HAVE_GETPAGESIZE
22629 # ifdef _SC_PAGESIZE
22630 # define getpagesize() sysconf(_SC_PAGESIZE)
22631 # else /* no _SC_PAGESIZE */
22632 # ifdef HAVE_SYS_PARAM_H
22633 # include <sys/param.h>
22634 # ifdef EXEC_PAGESIZE
22635 # define getpagesize() EXEC_PAGESIZE
22636 # else /* no EXEC_PAGESIZE */
22638 # define getpagesize() NBPG * CLSIZE
22641 # endif /* no CLSIZE */
22642 # else /* no NBPG */
22644 # define getpagesize() NBPC
22645 # else /* no NBPC */
22647 # define getpagesize() PAGESIZE
22648 # endif /* PAGESIZE */
22649 # endif /* no NBPC */
22650 # endif /* no NBPG */
22651 # endif /* no EXEC_PAGESIZE */
22652 # else /* no HAVE_SYS_PARAM_H */
22653 # define getpagesize() 8192 /* punt totally */
22654 # endif /* no HAVE_SYS_PARAM_H */
22655 # endif /* no _SC_PAGESIZE */
22657 #endif /* no HAVE_GETPAGESIZE */
22662 char *data, *data2, *data3;
22663 const char *cdata2;
22667 pagesize = getpagesize ();
22669 /* First, make a file with some known garbage in it. */
22670 data = (char *) malloc (pagesize);
22673 for (i = 0; i < pagesize; ++i)
22674 *(data + i) = rand ();
22676 fd = creat ("conftest.mmap", 0600);
22679 if (write (fd, data, pagesize) != pagesize)
22683 /* Next, check that the tail of a page is zero-filled. File must have
22684 non-zero length, otherwise we risk SIGBUS for entire page. */
22685 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
22689 if (write (fd2, cdata2, 1) != 1)
22691 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
22692 if (data2 == MAP_FAILED)
22694 for (i = 0; i < pagesize; ++i)
22698 if (munmap (data2, pagesize))
22701 /* Next, try to mmap the file at a fixed address which already has
22702 something else allocated at it. If we can, also make sure that
22703 we see the same garbage. */
22704 fd = open ("conftest.mmap", O_RDWR);
22707 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22708 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22710 for (i = 0; i < pagesize; ++i)
22711 if (*(data + i) != *(data2 + i))
22714 /* Finally, make sure that changes to the mapped area do not
22715 percolate back to the file as seen by read(). (This is a bug on
22716 some variants of i386 svr4.0.) */
22717 for (i = 0; i < pagesize; ++i)
22718 *(data2 + i) = *(data2 + i) + 1;
22719 data3 = (char *) malloc (pagesize);
22722 if (read (fd, data3, pagesize) != pagesize)
22724 for (i = 0; i < pagesize; ++i)
22725 if (*(data + i) != *(data3 + i))
22731 if ac_fn_c_try_run "$LINENO"; then :
22732 ac_cv_func_mmap_fixed_mapped=yes
22734 ac_cv_func_mmap_fixed_mapped=no
22736 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
22737 conftest.$ac_objext conftest.beam conftest.$ac_ext
22741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
22742 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
22743 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22745 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
22748 rm -f conftest.mmap conftest.txt
22750 if test "x$ac_cv_func_mmap_fixed_mapped" = "xyes"; then
22751 GST_HAVE_MMAP_TRUE=
22752 GST_HAVE_MMAP_FALSE='#'
22754 GST_HAVE_MMAP_TRUE='#'
22755 GST_HAVE_MMAP_FALSE=
22760 ac_fn_c_check_type "$LINENO" "struct ip_mreqn" "ac_cv_type_struct_ip_mreqn" "#include <netinet/in.h>
22762 if test "x$ac_cv_type_struct_ip_mreqn" = x""yes; then :
22765 $as_echo "#define HAVE_IP_MREQN /**/" >>confdefs.h
22775 if test "x$GLIB_REQ" = "x"
22777 as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5
22782 which="glib-2.0 >= $GLIB_REQ gobject-2.0 gthread-2.0 gmodule-no-export-2.0"
22787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
22788 $as_echo_n "checking for GLIB... " >&6; }
22790 if test -n "$PKG_CONFIG"; then
22791 if test -n "$GLIB_CFLAGS"; then
22792 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
22794 if test -n "$PKG_CONFIG" && \
22795 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
22796 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
22798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22799 test $ac_status = 0; }; then
22800 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
22808 if test -n "$PKG_CONFIG"; then
22809 if test -n "$GLIB_LIBS"; then
22810 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
22812 if test -n "$PKG_CONFIG" && \
22813 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
22814 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
22816 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22817 test $ac_status = 0; }; then
22818 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
22829 if test $pkg_failed = yes; then
22831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22832 _pkg_short_errors_supported=yes
22834 _pkg_short_errors_supported=no
22836 if test $_pkg_short_errors_supported = yes; then
22837 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
22839 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
22841 # Put the nasty error message in config.log where it belongs
22842 echo "$GLIB_PKG_ERRORS" >&5
22844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22845 $as_echo "no" >&6; }
22848 if test "x$required" = "xyes"; then
22849 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
22851 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
22852 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
22855 elif test $pkg_failed = untried; then
22858 if test "x$required" = "xyes"; then
22859 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
22861 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
22862 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
22866 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
22867 GLIB_LIBS=$pkg_cv_GLIB_LIBS
22868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22869 $as_echo "yes" >&6; }
22877 if test "x$HAVE_GLIB" = "xno"; then
22878 as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5
22881 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY"
22883 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
22884 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED"
22887 # Check whether --enable-gobject-cast-checks was given.
22888 if test "${enable_gobject_cast_checks+set}" = set; then :
22889 enableval=$enable_gobject_cast_checks;
22891 enable_gobject_cast_checks=auto
22895 if test "x$enable_gobject_cast_checks" = "xauto"; then
22896 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
22897 enable_gobject_cast_checks=yes
22899 enable_gobject_cast_checks=no
22903 if test "x$enable_gobject_cast_checks" = "xno"; then
22904 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS"
22907 # Check whether --enable-glib-asserts was given.
22908 if test "${enable_glib_asserts+set}" = set; then :
22909 enableval=$enable_glib_asserts;
22911 enable_glib_assertions=auto
22915 if test "x$enable_glib_assertions" = "xauto"; then
22916 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
22917 enable_glib_assertions=yes
22919 enable_glib_assertions=no
22923 if test "x$enable_glib_assertions" = "xno"; then
22924 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT"
22928 GIVEN_CFLAGS=$GLIB_CFLAGS
22929 INCLUDE_DIRS=`echo | cpp -v 2>&1`
22931 INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
22932 for dir in $INCLUDE_DIRS; do
22933 GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
22935 GLIB_CFLAGS=$GIVEN_CFLAGS
22942 # Check whether --enable-orc was given.
22943 if test "${enable_orc+set}" = set; then :
22944 enableval=$enable_orc; case "${enableval}" in
22945 auto) enable_orc=auto ;;
22946 yes) enable_orc=yes ;;
22947 no) enable_orc=no ;;
22948 *) as_fn_error $? "bad value ${enableval} for --enable-orc" "$LINENO" 5 ;;
22955 if test "x$enable_orc" != "xno" ; then
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ORC" >&5
22959 $as_echo_n "checking for ORC... " >&6; }
22961 if test -n "$PKG_CONFIG"; then
22962 if test -n "$ORC_CFLAGS"; then
22963 pkg_cv_ORC_CFLAGS="$ORC_CFLAGS"
22965 if test -n "$PKG_CONFIG" && \
22966 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
22967 ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
22969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22970 test $ac_status = 0; }; then
22971 pkg_cv_ORC_CFLAGS=`$PKG_CONFIG --cflags "orc-0.4 >= $ORC_REQ" 2>/dev/null`
22979 if test -n "$PKG_CONFIG"; then
22980 if test -n "$ORC_LIBS"; then
22981 pkg_cv_ORC_LIBS="$ORC_LIBS"
22983 if test -n "$PKG_CONFIG" && \
22984 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
22985 ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
22987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22988 test $ac_status = 0; }; then
22989 pkg_cv_ORC_LIBS=`$PKG_CONFIG --libs "orc-0.4 >= $ORC_REQ" 2>/dev/null`
23000 if test $pkg_failed = yes; then
23002 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23003 _pkg_short_errors_supported=yes
23005 _pkg_short_errors_supported=no
23007 if test $_pkg_short_errors_supported = yes; then
23008 ORC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
23010 ORC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
23012 # Put the nasty error message in config.log where it belongs
23013 echo "$ORC_PKG_ERRORS" >&5
23015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23016 $as_echo "no" >&6; }
23018 if test "x$enable_orc" = "xyes" ; then
23019 as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
23022 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
23027 elif test $pkg_failed = untried; then
23029 if test "x$enable_orc" = "xyes" ; then
23030 as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
23033 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
23039 ORC_CFLAGS=$pkg_cv_ORC_CFLAGS
23040 ORC_LIBS=$pkg_cv_ORC_LIBS
23041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23042 $as_echo "yes" >&6; }
23045 $as_echo "#define HAVE_ORC 1" >>confdefs.h
23047 if test "x$ORCC" = "x" ; then
23048 ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
23051 ORCC_FLAGS="--compat $ORC_REQ"
23055 if test "x$cross_compiling" = "xyes" ; then
23062 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
23067 if test "x$HAVE_ORC" = "xyes"; then
23075 if test "x$HAVE_ORCC" = "xyes"; then
23077 HAVE_ORCC_FALSE='#'
23088 module=gstreamer-$GST_MAJORMINOR
23094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
23095 $as_echo_n "checking for GST... " >&6; }
23097 if test -n "$PKG_CONFIG"; then
23098 if test -n "$GST_CFLAGS"; then
23099 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
23101 if test -n "$PKG_CONFIG" && \
23102 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23103 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23106 test $ac_status = 0; }; then
23107 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23115 if test -n "$PKG_CONFIG"; then
23116 if test -n "$GST_LIBS"; then
23117 pkg_cv_GST_LIBS="$GST_LIBS"
23119 if test -n "$PKG_CONFIG" && \
23120 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23121 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23124 test $ac_status = 0; }; then
23125 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23136 if test $pkg_failed = yes; then
23138 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23139 _pkg_short_errors_supported=yes
23141 _pkg_short_errors_supported=no
23143 if test $_pkg_short_errors_supported = yes; then
23144 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23146 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23148 # Put the nasty error message in config.log where it belongs
23149 echo "$GST_PKG_ERRORS" >&5
23151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23152 $as_echo "no" >&6; }
23155 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
23156 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
23157 if test "x$required" = "xyes"; then
23158 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23160 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23161 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23164 elif test $pkg_failed = untried; then
23167 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
23168 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
23169 if test "x$required" = "xyes"; then
23170 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23172 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23173 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23177 GST_CFLAGS=$pkg_cv_GST_CFLAGS
23178 GST_LIBS=$pkg_cv_GST_LIBS
23179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23180 $as_echo "yes" >&6; }
23187 if test -z $GST_TOOLS_DIR; then
23188 GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
23189 if test -z $GST_TOOLS_DIR; then
23190 as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
23193 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5
23194 $as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;}
23197 if test -z $GST_PLUGINS_DIR; then
23198 GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_MAJORMINOR`
23199 if test -z $GST_PLUGINS_DIR; then
23200 as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
23203 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5
23204 $as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;}
23209 module=gstreamer-base-$GST_MAJORMINOR
23211 name="GStreamer Base Libraries"
23215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
23216 $as_echo_n "checking for GST_BASE... " >&6; }
23218 if test -n "$PKG_CONFIG"; then
23219 if test -n "$GST_BASE_CFLAGS"; then
23220 pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
23222 if test -n "$PKG_CONFIG" && \
23223 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23224 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23226 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23227 test $ac_status = 0; }; then
23228 pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23236 if test -n "$PKG_CONFIG"; then
23237 if test -n "$GST_BASE_LIBS"; then
23238 pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
23240 if test -n "$PKG_CONFIG" && \
23241 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23242 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23245 test $ac_status = 0; }; then
23246 pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23257 if test $pkg_failed = yes; then
23259 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23260 _pkg_short_errors_supported=yes
23262 _pkg_short_errors_supported=no
23264 if test $_pkg_short_errors_supported = yes; then
23265 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23267 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23269 # Put the nasty error message in config.log where it belongs
23270 echo "$GST_BASE_PKG_ERRORS" >&5
23272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23273 $as_echo "no" >&6; }
23276 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
23277 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
23278 if test "x$required" = "xyes"; then
23279 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23281 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23282 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23285 elif test $pkg_failed = untried; then
23288 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
23289 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
23290 if test "x$required" = "xyes"; then
23291 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23293 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23294 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23298 GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
23299 GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
23300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23301 $as_echo "yes" >&6; }
23303 HAVE_GST_BASE="yes"
23311 module=gstreamer-dataprotocol-$GST_MAJORMINOR
23313 name="GStreamer Data Protocol Library"
23317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_GDP" >&5
23318 $as_echo_n "checking for GST_GDP... " >&6; }
23320 if test -n "$PKG_CONFIG"; then
23321 if test -n "$GST_GDP_CFLAGS"; then
23322 pkg_cv_GST_GDP_CFLAGS="$GST_GDP_CFLAGS"
23324 if test -n "$PKG_CONFIG" && \
23325 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23326 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23329 test $ac_status = 0; }; then
23330 pkg_cv_GST_GDP_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23338 if test -n "$PKG_CONFIG"; then
23339 if test -n "$GST_GDP_LIBS"; then
23340 pkg_cv_GST_GDP_LIBS="$GST_GDP_LIBS"
23342 if test -n "$PKG_CONFIG" && \
23343 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23344 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23347 test $ac_status = 0; }; then
23348 pkg_cv_GST_GDP_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23359 if test $pkg_failed = yes; then
23361 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23362 _pkg_short_errors_supported=yes
23364 _pkg_short_errors_supported=no
23366 if test $_pkg_short_errors_supported = yes; then
23367 GST_GDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23369 GST_GDP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23371 # Put the nasty error message in config.log where it belongs
23372 echo "$GST_GDP_PKG_ERRORS" >&5
23374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23375 $as_echo "no" >&6; }
23378 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5
23379 $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;}
23380 if test "x$required" = "xyes"; then
23381 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23383 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23384 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23387 elif test $pkg_failed = untried; then
23390 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5
23391 $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;}
23392 if test "x$required" = "xyes"; then
23393 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23395 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23396 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23400 GST_GDP_CFLAGS=$pkg_cv_GST_GDP_CFLAGS
23401 GST_GDP_LIBS=$pkg_cv_GST_GDP_LIBS
23402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23403 $as_echo "yes" >&6; }
23413 module=gstreamer-controller-$GST_MAJORMINOR
23415 name="GStreamer Controller Library"
23419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CONTROLLER" >&5
23420 $as_echo_n "checking for GST_CONTROLLER... " >&6; }
23422 if test -n "$PKG_CONFIG"; then
23423 if test -n "$GST_CONTROLLER_CFLAGS"; then
23424 pkg_cv_GST_CONTROLLER_CFLAGS="$GST_CONTROLLER_CFLAGS"
23426 if test -n "$PKG_CONFIG" && \
23427 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23428 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23431 test $ac_status = 0; }; then
23432 pkg_cv_GST_CONTROLLER_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23440 if test -n "$PKG_CONFIG"; then
23441 if test -n "$GST_CONTROLLER_LIBS"; then
23442 pkg_cv_GST_CONTROLLER_LIBS="$GST_CONTROLLER_LIBS"
23444 if test -n "$PKG_CONFIG" && \
23445 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23446 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23449 test $ac_status = 0; }; then
23450 pkg_cv_GST_CONTROLLER_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23461 if test $pkg_failed = yes; then
23463 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23464 _pkg_short_errors_supported=yes
23466 _pkg_short_errors_supported=no
23468 if test $_pkg_short_errors_supported = yes; then
23469 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23471 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23473 # Put the nasty error message in config.log where it belongs
23474 echo "$GST_CONTROLLER_PKG_ERRORS" >&5
23476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23477 $as_echo "no" >&6; }
23479 HAVE_GST_CONTROLLER="no"
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
23481 $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
23482 if test "x$required" = "xyes"; then
23483 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23485 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23486 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23489 elif test $pkg_failed = untried; then
23491 HAVE_GST_CONTROLLER="no"
23492 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
23493 $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
23494 if test "x$required" = "xyes"; then
23495 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23497 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23498 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23502 GST_CONTROLLER_CFLAGS=$pkg_cv_GST_CONTROLLER_CFLAGS
23503 GST_CONTROLLER_LIBS=$pkg_cv_GST_CONTROLLER_LIBS
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23505 $as_echo "yes" >&6; }
23507 HAVE_GST_CONTROLLER="yes"
23515 module=gstreamer-check-$GST_MAJORMINOR
23517 name="GStreamer Check unittest Library"
23521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5
23522 $as_echo_n "checking for GST_CHECK... " >&6; }
23524 if test -n "$PKG_CONFIG"; then
23525 if test -n "$GST_CHECK_CFLAGS"; then
23526 pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS"
23528 if test -n "$PKG_CONFIG" && \
23529 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23530 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23533 test $ac_status = 0; }; then
23534 pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23542 if test -n "$PKG_CONFIG"; then
23543 if test -n "$GST_CHECK_LIBS"; then
23544 pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS"
23546 if test -n "$PKG_CONFIG" && \
23547 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23548 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23551 test $ac_status = 0; }; then
23552 pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23563 if test $pkg_failed = yes; then
23565 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23566 _pkg_short_errors_supported=yes
23568 _pkg_short_errors_supported=no
23570 if test $_pkg_short_errors_supported = yes; then
23571 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23573 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23575 # Put the nasty error message in config.log where it belongs
23576 echo "$GST_CHECK_PKG_ERRORS" >&5
23578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23579 $as_echo "no" >&6; }
23581 HAVE_GST_CHECK="no"
23582 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
23583 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
23584 if test "x$required" = "xyes"; then
23585 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23587 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23588 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23591 elif test $pkg_failed = untried; then
23593 HAVE_GST_CHECK="no"
23594 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
23595 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
23596 if test "x$required" = "xyes"; then
23597 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23599 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23600 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23604 GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
23605 GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
23606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23607 $as_echo "yes" >&6; }
23609 HAVE_GST_CHECK="yes"
23617 module=gstreamer-plugins-base-$GST_MAJORMINOR
23619 name="GStreamer Base Plugins"
23623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BASE" >&5
23624 $as_echo_n "checking for GST_PLUGINS_BASE... " >&6; }
23626 if test -n "$PKG_CONFIG"; then
23627 if test -n "$GST_PLUGINS_BASE_CFLAGS"; then
23628 pkg_cv_GST_PLUGINS_BASE_CFLAGS="$GST_PLUGINS_BASE_CFLAGS"
23630 if test -n "$PKG_CONFIG" && \
23631 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23632 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23635 test $ac_status = 0; }; then
23636 pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
23644 if test -n "$PKG_CONFIG"; then
23645 if test -n "$GST_PLUGINS_BASE_LIBS"; then
23646 pkg_cv_GST_PLUGINS_BASE_LIBS="$GST_PLUGINS_BASE_LIBS"
23648 if test -n "$PKG_CONFIG" && \
23649 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
23650 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
23652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23653 test $ac_status = 0; }; then
23654 pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
23665 if test $pkg_failed = yes; then
23667 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23668 _pkg_short_errors_supported=yes
23670 _pkg_short_errors_supported=no
23672 if test $_pkg_short_errors_supported = yes; then
23673 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
23675 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
23677 # Put the nasty error message in config.log where it belongs
23678 echo "$GST_PLUGINS_BASE_PKG_ERRORS" >&5
23680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23681 $as_echo "no" >&6; }
23683 HAVE_GST_PLUGINS_BASE="no"
23684 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
23685 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
23686 if test "x$required" = "xyes"; then
23687 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23689 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23690 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23693 elif test $pkg_failed = untried; then
23695 HAVE_GST_PLUGINS_BASE="no"
23696 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
23697 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
23698 if test "x$required" = "xyes"; then
23699 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
23701 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
23702 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
23706 GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
23707 GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
23708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23709 $as_echo "yes" >&6; }
23711 HAVE_GST_PLUGINS_BASE="yes"
23717 if test "x$HAVE_GST_PLUGINS_BASE" = "xyes"; then
23718 if test -z $GSTPB_PLUGINS_DIR; then
23719 GSTPB_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-base-$GST_MAJORMINOR`
23720 if test -z $GSTPB_PLUGINS_DIR; then
23721 as_fn_error $? "no pluginsdir set in GStreamer Base Plugins pkg-config file" "$LINENO" 5
23724 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
23725 $as_echo "$as_me: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
23726 GST_PLUGINS_BASE_DIR="$GSTPB_PLUGINS_DIR/gst:$GSTPB_PLUGINS_DIR/sys:$GSTPB_PLUGINS_DIR/ext"
23732 GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
23733 if test -z $GST_TOOLS_DIR; then
23734 as_fn_error $? "no tools dir defined in GStreamer pkg-config file; core upgrade needed." "$LINENO" 5
23738 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Core Plugins in $GST_PLUGINS_DIR" >&5
23739 $as_echo "$as_me: Using GStreamer Core Plugins in $GST_PLUGINS_DIR" >&6;}
23740 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
23741 $as_echo "$as_me: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
23743 if test "x$HAVE_GST_CHECK" = "xyes"; then
23744 HAVE_GST_CHECK_TRUE=
23745 HAVE_GST_CHECK_FALSE='#'
23747 HAVE_GST_CHECK_TRUE='#'
23748 HAVE_GST_CHECK_FALSE=
23752 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
23753 GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`"
23754 GSTPB_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-plugins-base-$GST_MAJORMINOR`"
23762 if test "x$BUILD_EXAMPLES" = "xyes"; then
23763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which gtk+ version to compile examples against (optional)" >&5
23764 $as_echo_n "checking which gtk+ version to compile examples against (optional)... " >&6; }
23766 # Check whether --with-gtk was given.
23767 if test "${with_gtk+set}" = set; then :
23768 withval=$with_gtk; case "$with_gtk" in
23769 2.0) GTK_REQ=$GTK2_REQ ;;
23770 3.0) GTK_REQ=$GTK3_REQ ;;
23771 *) as_fn_error $? "invalid gtk+ version specified" "$LINENO" 5 ;;
23778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gtk (>= $GTK_REQ)" >&5
23779 $as_echo "$with_gtk (>= $GTK_REQ)" >&6; }
23782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
23783 $as_echo_n "checking for GTK... " >&6; }
23785 if test -n "$PKG_CONFIG"; then
23786 if test -n "$GTK_CFLAGS"; then
23787 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
23789 if test -n "$PKG_CONFIG" && \
23790 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$with_gtk >= \$GTK_REQ\""; } >&5
23791 ($PKG_CONFIG --exists --print-errors "gtk+-$with_gtk >= $GTK_REQ") 2>&5
23793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23794 test $ac_status = 0; }; then
23795 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$with_gtk >= $GTK_REQ" 2>/dev/null`
23803 if test -n "$PKG_CONFIG"; then
23804 if test -n "$GTK_LIBS"; then
23805 pkg_cv_GTK_LIBS="$GTK_LIBS"
23807 if test -n "$PKG_CONFIG" && \
23808 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$with_gtk >= \$GTK_REQ\""; } >&5
23809 ($PKG_CONFIG --exists --print-errors "gtk+-$with_gtk >= $GTK_REQ") 2>&5
23811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23812 test $ac_status = 0; }; then
23813 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-$with_gtk >= $GTK_REQ" 2>/dev/null`
23824 if test $pkg_failed = yes; then
23826 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23827 _pkg_short_errors_supported=yes
23829 _pkg_short_errors_supported=no
23831 if test $_pkg_short_errors_supported = yes; then
23832 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-$with_gtk >= $GTK_REQ"`
23834 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-$with_gtk >= $GTK_REQ"`
23836 # Put the nasty error message in config.log where it belongs
23837 echo "$GTK_PKG_ERRORS" >&5
23839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23840 $as_echo "no" >&6; }
23842 elif test $pkg_failed = untried; then
23845 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
23846 GTK_LIBS=$pkg_cv_GTK_LIBS
23847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23848 $as_echo "yes" >&6; }
23853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_X11" >&5
23854 $as_echo_n "checking for GTK_X11... " >&6; }
23856 if test -n "$PKG_CONFIG"; then
23857 if test -n "$GTK_X11_CFLAGS"; then
23858 pkg_cv_GTK_X11_CFLAGS="$GTK_X11_CFLAGS"
23860 if test -n "$PKG_CONFIG" && \
23861 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-\$with_gtk >= \$GTK_REQ\""; } >&5
23862 ($PKG_CONFIG --exists --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ") 2>&5
23864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23865 test $ac_status = 0; }; then
23866 pkg_cv_GTK_X11_CFLAGS=`$PKG_CONFIG --cflags "gtk+-x11-$with_gtk >= $GTK_REQ" 2>/dev/null`
23874 if test -n "$PKG_CONFIG"; then
23875 if test -n "$GTK_X11_LIBS"; then
23876 pkg_cv_GTK_X11_LIBS="$GTK_X11_LIBS"
23878 if test -n "$PKG_CONFIG" && \
23879 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-\$with_gtk >= \$GTK_REQ\""; } >&5
23880 ($PKG_CONFIG --exists --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ") 2>&5
23882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23883 test $ac_status = 0; }; then
23884 pkg_cv_GTK_X11_LIBS=`$PKG_CONFIG --libs "gtk+-x11-$with_gtk >= $GTK_REQ" 2>/dev/null`
23895 if test $pkg_failed = yes; then
23897 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23898 _pkg_short_errors_supported=yes
23900 _pkg_short_errors_supported=no
23902 if test $_pkg_short_errors_supported = yes; then
23903 GTK_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ"`
23905 GTK_X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ"`
23907 # Put the nasty error message in config.log where it belongs
23908 echo "$GTK_X11_PKG_ERRORS" >&5
23910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23911 $as_echo "no" >&6; }
23913 elif test $pkg_failed = untried; then
23916 GTK_X11_CFLAGS=$pkg_cv_GTK_X11_CFLAGS
23917 GTK_X11_LIBS=$pkg_cv_GTK_X11_LIBS
23918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23919 $as_echo "yes" >&6; }
23925 if test "x$HAVE_GTK" = "xyes"; then
23933 if test "x$HAVE_GTK_X11" = "xyes"; then
23935 HAVE_GTK_X11_FALSE='#'
23937 HAVE_GTK_X11_TRUE='#'
23938 HAVE_GTK_X11_FALSE=
23943 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GConf schemas ***" >&5
23944 $as_echo "$as_me: *** checking feature: GConf schemas ***" >&6;}
23947 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
23948 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
23951 if test "x$USE_GCONFTOOL" = "xno"; then
23954 # Check whether --enable-gconftool was given.
23955 if test "${enable_gconftool+set}" = set; then :
23956 enableval=$enable_gconftool; case "${enableval}" in
23957 yes) USE_GCONFTOOL=yes;;
23958 no) USE_GCONFTOOL=no;;
23959 *) as_fn_error $? "bad value ${enableval} for --enable-gconftool" "$LINENO" 5 ;;
23965 if test "x$NOUSE" = "xyes"; then
23967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
23968 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
23973 if test x$USE_GCONFTOOL = xyes; then
23975 gst_check_save_LIBS=$LIBS
23976 gst_check_save_LDFLAGS=$LDFLAGS
23977 gst_check_save_CFLAGS=$CFLAGS
23978 gst_check_save_CPPFLAGS=$CPPFLAGS
23979 gst_check_save_CXXFLAGS=$CXXFLAGS
23983 # Extract the first word of "gconftool-2", so it can be a program name with args.
23984 set dummy gconftool-2; ac_word=$2
23985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23986 $as_echo_n "checking for $ac_word... " >&6; }
23987 if test "${ac_cv_path_GCONFTOOL+set}" = set; then :
23988 $as_echo_n "(cached) " >&6
23992 ac_cv_path_GCONFTOOL="$GCONFTOOL" # Let the user override the test with a path.
23995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23996 for as_dir in $PATH
23999 test -z "$as_dir" && as_dir=.
24000 for ac_exec_ext in '' $ac_executable_extensions; do
24001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24002 ac_cv_path_GCONFTOOL="$as_dir/$ac_word$ac_exec_ext"
24003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24010 test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no"
24014 GCONFTOOL=$ac_cv_path_GCONFTOOL
24015 if test -n "$GCONFTOOL"; then
24016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCONFTOOL" >&5
24017 $as_echo "$GCONFTOOL" >&6; }
24019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24020 $as_echo "no" >&6; }
24024 if test x$GCONFTOOL = xno; then
24025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not installing GConf schemas" >&5
24026 $as_echo "$as_me: WARNING: Not installing GConf schemas" >&2;}
24027 HAVE_GCONFTOOL="no"
24029 HAVE_GCONFTOOL="yes"
24034 LIBS=$gst_check_save_LIBS
24035 LDFLAGS=$gst_check_save_LDFLAGS
24036 CFLAGS=$gst_check_save_CFLAGS
24037 CPPFLAGS=$gst_check_save_CPPFLAGS
24038 CXXFLAGS=$gst_check_save_CXXFLAGS
24040 if test x$HAVE_GCONFTOOL = xno; then
24046 if test x$USE_GCONFTOOL = xyes; then
24048 if test "x" != "x"; then
24049 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
24052 $as_echo "#define HAVE_GCONFTOOL /**/" >>confdefs.h
24056 if test "x" != "x"; then
24057 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
24061 if test x$USE_GCONFTOOL = xyes; then
24062 USE_GCONFTOOL_TRUE=
24063 USE_GCONFTOOL_FALSE='#'
24065 USE_GCONFTOOL_TRUE='#'
24066 USE_GCONFTOOL_FALSE=
24071 # Check whether --enable-divx-drm was given.
24072 if test "${enable_divx_drm+set}" = set; then :
24073 enableval=$enable_divx_drm;
24074 case "${enableval}" in
24075 yes) USE_DIVX_DRM=yes ;;
24076 no) USE_DIVX_DRM=no ;;
24077 *) as_fn_error $? "bad value ${enableval} for --enable-divx-drm" "$LINENO" 5 ;;
24084 if test "x$USE_DIVX_DRM" = "xyes"; then
24086 USE_DIVX_DRM_FALSE='#'
24088 USE_DIVX_DRM_TRUE='#'
24089 USE_DIVX_DRM_FALSE=
24096 cat >>confdefs.h <<_ACEOF
24097 #define GST_LICENSE "$GST_LICENSE"
24105 FROM_VAR=${libdir}/gstreamer-$GST_MAJORMINOR
24107 prefix_save=$prefix
24108 exec_prefix_save=$exec_prefix
24110 if test "x$prefix" = "xNONE"; then
24111 prefix="$ac_default_prefix"
24113 if test "x$exec_prefix" = "xNONE"; then
24114 exec_prefix=$prefix
24117 full_var="$FROM_VAR"
24119 new_full_var="`eval echo $full_var`"
24120 if test "x$new_full_var" = "x$full_var"; then break; fi
24121 full_var=$new_full_var
24124 full_var=$new_full_var
24125 PLUGINDIR="$full_var"
24128 prefix=$prefix_save
24129 exec_prefix=$exec_prefix_save
24132 cat >>confdefs.h <<_ACEOF
24133 #define PLUGINDIR "$PLUGINDIR"
24136 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
24137 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
24139 plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
24144 if test "x$PACKAGE_VERSION_NANO" = "x0"; then
24146 if test "xyes" = "xno" -o "xyes" = "x"; then
24147 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
24148 elif test "xyes" = "xyes"; then
24149 if ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24150 GST_PACKAGE_RELEASE_DATETIME=yes
24152 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO "${srcdir}/gst-plugins-good.doap" `;
24153 if test "x$YYYY_MM_DD" != "x"; then
24154 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
24156 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
24157 release date for release version $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO from \"${srcdir}/gst-plugins-good.doap\" " "$LINENO" 5
24158 GST_PACKAGE_RELEASE_DATETIME=""
24161 elif ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24162 GST_PACKAGE_RELEASE_DATETIME=yes
24164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
24165 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
24166 GST_PACKAGE_RELEASE_DATETIME=""
24169 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
24170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
24171 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
24173 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
24174 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
24177 cat >>confdefs.h <<_ACEOF
24178 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
24185 if test "xno" = "xno" -o "xno" = "x"; then
24186 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
24187 elif test "xno" = "xyes"; then
24188 if ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24189 GST_PACKAGE_RELEASE_DATETIME=no
24191 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" `;
24192 if test "x$YYYY_MM_DD" != "x"; then
24193 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
24195 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
24196 release date for release version from " "$LINENO" 5
24197 GST_PACKAGE_RELEASE_DATETIME=""
24200 elif ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
24201 GST_PACKAGE_RELEASE_DATETIME=no
24203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
24204 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
24205 GST_PACKAGE_RELEASE_DATETIME=""
24208 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
24209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
24210 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
24212 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
24213 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
24216 cat >>confdefs.h <<_ACEOF
24217 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
24225 if test "x$HAVE_OSX_VIDEO" != "xyes"; then
24234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
24235 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
24237 save_CFLAGS="$CFLAGS"
24238 CFLAGS="$CFLAGS -Wall"
24240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24241 /* end confdefs.h. */
24251 if ac_fn_c_try_compile "$LINENO"; then :
24256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24257 CFLAGS="$save_CFLAGS"
24259 if test "X$flag_ok" = Xyes ; then
24260 WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
24266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24267 $as_echo "$flag_ok" >&6; }
24271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
24272 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
24274 save_CFLAGS="$CFLAGS"
24275 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
24277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24278 /* end confdefs.h. */
24288 if ac_fn_c_try_compile "$LINENO"; then :
24293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24294 CFLAGS="$save_CFLAGS"
24296 if test "X$flag_ok" = Xyes ; then
24297 WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
24303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24304 $as_echo "$flag_ok" >&6; }
24308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
24309 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
24311 save_CFLAGS="$CFLAGS"
24312 CFLAGS="$CFLAGS -Wvla"
24314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24315 /* end confdefs.h. */
24325 if ac_fn_c_try_compile "$LINENO"; then :
24330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24331 CFLAGS="$save_CFLAGS"
24333 if test "X$flag_ok" = Xyes ; then
24334 WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
24340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24341 $as_echo "$flag_ok" >&6; }
24345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
24346 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
24348 save_CFLAGS="$CFLAGS"
24349 CFLAGS="$CFLAGS -Wpointer-arith"
24351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24352 /* end confdefs.h. */
24362 if ac_fn_c_try_compile "$LINENO"; then :
24367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24368 CFLAGS="$save_CFLAGS"
24370 if test "X$flag_ok" = Xyes ; then
24371 WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
24377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24378 $as_echo "$flag_ok" >&6; }
24381 if test "x$GST_GIT" != "xno"
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
24385 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
24387 save_CFLAGS="$CFLAGS"
24388 CFLAGS="$CFLAGS -Werror"
24390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24391 /* end confdefs.h. */
24401 if ac_fn_c_try_compile "$LINENO"; then :
24406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24407 CFLAGS="$save_CFLAGS"
24409 if test "X$flag_ok" = Xyes ; then
24410 ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
24416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24417 $as_echo "$flag_ok" >&6; }
24420 if test "x$ERROR_CFLAGS" = "x"
24423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
24424 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
24426 save_CFLAGS="$CFLAGS"
24427 CFLAGS="$CFLAGS -errwarn=%all"
24429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24430 /* end confdefs.h. */
24440 if ac_fn_c_try_compile "$LINENO"; then :
24445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24446 CFLAGS="$save_CFLAGS"
24448 if test "X$flag_ok" = Xyes ; then
24450 ERROR_CFLAGS="-errwarn=%all"
24451 for f in 'no%E_EMPTY_DECLARATION' \
24452 'no%E_STATEMENT_NOT_REACHED' \
24453 'no%E_ARGUEMENT_MISMATCH' \
24454 'no%E_MACRO_REDEFINED' \
24455 'no%E_LOOP_NOT_ENTERED_AT_TOP'
24458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
24459 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
24461 save_CFLAGS="$CFLAGS"
24462 CFLAGS="$CFLAGS -errwarn=%all,$f"
24464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24465 /* end confdefs.h. */
24475 if ac_fn_c_try_compile "$LINENO"; then :
24480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24481 CFLAGS="$save_CFLAGS"
24483 if test "X$flag_ok" = Xyes ; then
24485 ERROR_CFLAGS="$ERROR_CFLAGS,$f"
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24493 $as_echo "$flag_ok" >&6; }
24502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24503 $as_echo "$flag_ok" >&6; }
24506 if test -n "$PKG_CONFIG" && \
24507 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
24508 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
24510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24511 test $ac_status = 0; }; then
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
24515 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
24517 save_CFLAGS="$CFLAGS"
24518 CFLAGS="$CFLAGS -fno-strict-aliasing"
24520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24521 /* end confdefs.h. */
24531 if ac_fn_c_try_compile "$LINENO"; then :
24536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24537 CFLAGS="$save_CFLAGS"
24539 if test "X$flag_ok" = Xyes ; then
24540 ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
24546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24547 $as_echo "$flag_ok" >&6; }
24555 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
24556 -Wwrite-strings -Wold-style-definition -Waggregate-return
24557 -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
24558 -Wnested-externs " != "x"
24562 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
24563 -Wwrite-strings -Wold-style-definition -Waggregate-return
24564 -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar
24569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
24570 $as_echo_n "checking to see if compiler understands $each... " >&6; }
24572 save_CFLAGS="$CFLAGS"
24573 CFLAGS="$CFLAGS $each"
24575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24576 /* end confdefs.h. */
24586 if ac_fn_c_try_compile "$LINENO"; then :
24591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24592 CFLAGS="$save_CFLAGS"
24594 if test "X$flag_ok" = Xyes ; then
24595 WARNING_CFLAGS="$WARNING_CFLAGS $each"
24598 UNSUPPORTED="$UNSUPPORTED $each"
24601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24602 $as_echo "$flag_ok" >&6; }
24605 if test "X$UNSUPPORTED" != X ; then
24606 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
24607 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
24613 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
24614 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
24615 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
24616 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
24627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
24628 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
24630 save_CFLAGS="$CFLAGS"
24631 CFLAGS="$CFLAGS -Wall"
24633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24634 /* end confdefs.h. */
24644 if ac_fn_c_try_compile "$LINENO"; then :
24649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24650 CFLAGS="$save_CFLAGS"
24652 if test "X$flag_ok" = Xyes ; then
24653 WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
24659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24660 $as_echo "$flag_ok" >&6; }
24664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
24665 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
24667 save_CFLAGS="$CFLAGS"
24668 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
24670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24671 /* end confdefs.h. */
24681 if ac_fn_c_try_compile "$LINENO"; then :
24686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24687 CFLAGS="$save_CFLAGS"
24689 if test "X$flag_ok" = Xyes ; then
24690 WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
24696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24697 $as_echo "$flag_ok" >&6; }
24701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
24702 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
24704 save_CFLAGS="$CFLAGS"
24705 CFLAGS="$CFLAGS -Wvla"
24707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24708 /* end confdefs.h. */
24718 if ac_fn_c_try_compile "$LINENO"; then :
24723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24724 CFLAGS="$save_CFLAGS"
24726 if test "X$flag_ok" = Xyes ; then
24727 WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
24733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24734 $as_echo "$flag_ok" >&6; }
24738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
24739 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
24741 save_CFLAGS="$CFLAGS"
24742 CFLAGS="$CFLAGS -Wpointer-arith"
24744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24745 /* end confdefs.h. */
24755 if ac_fn_c_try_compile "$LINENO"; then :
24760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24761 CFLAGS="$save_CFLAGS"
24763 if test "X$flag_ok" = Xyes ; then
24764 WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
24770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24771 $as_echo "$flag_ok" >&6; }
24774 if test "x$GST_GIT" != "xno"
24777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
24778 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
24780 save_CFLAGS="$CFLAGS"
24781 CFLAGS="$CFLAGS -Werror"
24783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24784 /* end confdefs.h. */
24794 if ac_fn_c_try_compile "$LINENO"; then :
24799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24800 CFLAGS="$save_CFLAGS"
24802 if test "X$flag_ok" = Xyes ; then
24803 ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
24809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24810 $as_echo "$flag_ok" >&6; }
24813 if test "x$ERROR_CFLAGS" = "x"
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
24817 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
24819 save_CFLAGS="$CFLAGS"
24820 CFLAGS="$CFLAGS -errwarn=%all"
24822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24823 /* end confdefs.h. */
24833 if ac_fn_c_try_compile "$LINENO"; then :
24838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24839 CFLAGS="$save_CFLAGS"
24841 if test "X$flag_ok" = Xyes ; then
24843 ERROR_CFLAGS="-errwarn=%all"
24844 for f in 'no%E_EMPTY_DECLARATION' \
24845 'no%E_STATEMENT_NOT_REACHED' \
24846 'no%E_ARGUEMENT_MISMATCH' \
24847 'no%E_MACRO_REDEFINED' \
24848 'no%E_LOOP_NOT_ENTERED_AT_TOP'
24851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
24852 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
24854 save_CFLAGS="$CFLAGS"
24855 CFLAGS="$CFLAGS -errwarn=%all,$f"
24857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24858 /* end confdefs.h. */
24868 if ac_fn_c_try_compile "$LINENO"; then :
24873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24874 CFLAGS="$save_CFLAGS"
24876 if test "X$flag_ok" = Xyes ; then
24878 ERROR_CFLAGS="$ERROR_CFLAGS,$f"
24885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24886 $as_echo "$flag_ok" >&6; }
24895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24896 $as_echo "$flag_ok" >&6; }
24899 if test -n "$PKG_CONFIG" && \
24900 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
24901 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
24903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24904 test $ac_status = 0; }; then
24907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
24908 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
24910 save_CFLAGS="$CFLAGS"
24911 CFLAGS="$CFLAGS -fno-strict-aliasing"
24913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24914 /* end confdefs.h. */
24924 if ac_fn_c_try_compile "$LINENO"; then :
24929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24930 CFLAGS="$save_CFLAGS"
24932 if test "X$flag_ok" = Xyes ; then
24933 ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
24939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24940 $as_echo "$flag_ok" >&6; }
24948 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
24949 -Wwrite-strings -Wold-style-definition
24950 -Winit-self -Wmissing-include-dirs -Wno-multichar
24951 -Wnested-externs " != "x"
24955 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
24956 -Wwrite-strings -Wold-style-definition
24957 -Winit-self -Wmissing-include-dirs -Wno-multichar
24962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
24963 $as_echo_n "checking to see if compiler understands $each... " >&6; }
24965 save_CFLAGS="$CFLAGS"
24966 CFLAGS="$CFLAGS $each"
24968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24969 /* end confdefs.h. */
24979 if ac_fn_c_try_compile "$LINENO"; then :
24984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24985 CFLAGS="$save_CFLAGS"
24987 if test "X$flag_ok" = Xyes ; then
24988 WARNING_CFLAGS="$WARNING_CFLAGS $each"
24991 UNSUPPORTED="$UNSUPPORTED $each"
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24995 $as_echo "$flag_ok" >&6; }
24998 if test "X$UNSUPPORTED" != X ; then
24999 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
25000 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
25006 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
25007 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
25008 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
25009 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
25016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands " >&5
25017 $as_echo_n "checking to see if c++ compiler understands ... " >&6; }
25019 save_CPPFLAGS="$CPPFLAGS"
25020 CPPFLAGS="$CPPFLAGS "
25023 ac_cpp='$CXXCPP $CPPFLAGS'
25024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25030 /* end confdefs.h. */
25040 if ac_fn_cxx_try_compile "$LINENO"; then :
25045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25046 CPPFLAGS="$save_CPPFLAGS"
25048 if test "X$flag_ok" = Xyes ; then
25057 ac_cpp='$CPP $CPPFLAGS'
25058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25064 $as_echo "$flag_ok" >&6; }
25071 WARNING_CXXFLAGS=""
25076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wall" >&5
25077 $as_echo_n "checking to see if c++ compiler understands -Wall... " >&6; }
25079 save_CPPFLAGS="$CPPFLAGS"
25080 CPPFLAGS="$CPPFLAGS -Wall"
25083 ac_cpp='$CXXCPP $CPPFLAGS'
25084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25090 /* end confdefs.h. */
25100 if ac_fn_cxx_try_compile "$LINENO"; then :
25105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25106 CPPFLAGS="$save_CPPFLAGS"
25108 if test "X$flag_ok" = Xyes ; then
25109 WARNING_CXXFLAGS="$WARNING_CXXFLAGS -Wall"
25117 ac_cpp='$CPP $CPPFLAGS'
25118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25124 $as_echo "$flag_ok" >&6; }
25127 if test "x$GST_GIT" != "xno"
25132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Werror" >&5
25133 $as_echo_n "checking to see if c++ compiler understands -Werror... " >&6; }
25135 save_CPPFLAGS="$CPPFLAGS"
25136 CPPFLAGS="$CPPFLAGS -Werror"
25139 ac_cpp='$CXXCPP $CPPFLAGS'
25140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25146 /* end confdefs.h. */
25156 if ac_fn_cxx_try_compile "$LINENO"; then :
25161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25162 CPPFLAGS="$save_CPPFLAGS"
25164 if test "X$flag_ok" = Xyes ; then
25165 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror"
25173 ac_cpp='$CPP $CPPFLAGS'
25174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25180 $as_echo "$flag_ok" >&6; }
25183 if test "x$ERROR_CXXFLAGS" != "x"
25188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wno-non-virtual-dtor" >&5
25189 $as_echo_n "checking to see if c++ compiler understands -Wno-non-virtual-dtor... " >&6; }
25191 save_CPPFLAGS="$CPPFLAGS"
25192 CPPFLAGS="$CPPFLAGS -Wno-non-virtual-dtor"
25195 ac_cpp='$CXXCPP $CPPFLAGS'
25196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25202 /* end confdefs.h. */
25212 if ac_fn_cxx_try_compile "$LINENO"; then :
25217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25218 CPPFLAGS="$save_CPPFLAGS"
25220 if test "X$flag_ok" = Xyes ; then
25221 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Wno-non-virtual-dtor"
25229 ac_cpp='$CPP $CPPFLAGS'
25230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25236 $as_echo "$flag_ok" >&6; }
25239 if test -n "$PKG_CONFIG" && \
25240 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
25241 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
25243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25244 test $ac_status = 0; }; then
25249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -fno-strict-aliasing" >&5
25250 $as_echo_n "checking to see if c++ compiler understands -fno-strict-aliasing... " >&6; }
25252 save_CPPFLAGS="$CPPFLAGS"
25253 CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
25256 ac_cpp='$CXXCPP $CPPFLAGS'
25257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25263 /* end confdefs.h. */
25273 if ac_fn_cxx_try_compile "$LINENO"; then :
25278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25279 CPPFLAGS="$save_CPPFLAGS"
25281 if test "X$flag_ok" = Xyes ; then
25282 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -fno-strict-aliasing"
25290 ac_cpp='$CPP $CPPFLAGS'
25291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25297 $as_echo "$flag_ok" >&6; }
25305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all" >&5
25306 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all... " >&6; }
25308 save_CPPFLAGS="$CPPFLAGS"
25309 CPPFLAGS="$CPPFLAGS -errwarn=%all"
25312 ac_cpp='$CXXCPP $CPPFLAGS'
25313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25319 /* end confdefs.h. */
25329 if ac_fn_cxx_try_compile "$LINENO"; then :
25334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25335 CPPFLAGS="$save_CPPFLAGS"
25337 if test "X$flag_ok" = Xyes ; then
25338 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -errwarn=%all"
25346 ac_cpp='$CPP $CPPFLAGS'
25347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25353 $as_echo "$flag_ok" >&6; }
25355 if test "x$ERROR_CXXFLAGS" != "x"; then
25356 for f in 'no%E_EMPTY_DECLARATION' \
25357 'no%E_STATEMENT_NOT_REACHED' \
25358 'no%E_ARGUEMENT_MISMATCH' \
25359 'no%E_MACRO_REDEFINED' \
25360 'no%E_LOOP_NOT_ENTERED_AT_TOP'
25365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all,$f" >&5
25366 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all,$f... " >&6; }
25368 save_CPPFLAGS="$CPPFLAGS"
25369 CPPFLAGS="$CPPFLAGS -errwarn=%all,$f"
25372 ac_cpp='$CXXCPP $CPPFLAGS'
25373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25379 /* end confdefs.h. */
25389 if ac_fn_cxx_try_compile "$LINENO"; then :
25394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25395 CPPFLAGS="$save_CPPFLAGS"
25397 if test "X$flag_ok" = Xyes ; then
25398 ERROR_CXXFLAGS="$ERROR_CXXFLAGS
25406 ac_cpp='$CPP $CPPFLAGS'
25407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25413 $as_echo "$flag_ok" >&6; }
25421 -Wmissing-declarations -Wredundant-decls
25423 -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar " != "x"
25427 -Wmissing-declarations -Wredundant-decls
25429 -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar "
25435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands $each" >&5
25436 $as_echo_n "checking to see if c++ compiler understands $each... " >&6; }
25438 save_CPPFLAGS="$CPPFLAGS"
25439 CPPFLAGS="$CPPFLAGS $each"
25442 ac_cpp='$CXXCPP $CPPFLAGS'
25443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25449 /* end confdefs.h. */
25459 if ac_fn_cxx_try_compile "$LINENO"; then :
25464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25465 CPPFLAGS="$save_CPPFLAGS"
25467 if test "X$flag_ok" = Xyes ; then
25468 WARNING_CXXFLAGS="$WARNING_CXXFLAGS $each"
25471 UNSUPPORTED="$UNSUPPORTED $each"
25476 ac_cpp='$CPP $CPPFLAGS'
25477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
25483 $as_echo "$flag_ok" >&6; }
25486 if test "X$UNSUPPORTED" != X ; then
25487 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
25488 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
25494 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&5
25495 $as_echo "$as_me: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&6;}
25496 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&5
25497 $as_echo "$as_me: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&6;}
25501 if test "x$GST_GIT" = "xyes"; then
25502 GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
25504 GST_LEVEL_DEFAULT=GST_LEVEL_NONE
25507 cat >>confdefs.h <<_ACEOF
25508 #define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
25515 DEFAULT_AUDIOSINK="autoaudiosink"
25516 DEFAULT_VIDEOSINK="autovideosink"
25517 DEFAULT_AUDIOSRC="alsasrc"
25518 DEFAULT_VIDEOSRC="v4l2src"
25519 DEFAULT_VISUALIZER="goom"
25521 *-sun-* | *pc-solaris* )
25522 DEFAULT_AUDIOSRC="sunaudiosrc"
25525 DEFAULT_AUDIOSRC="osxaudiosrc"
25530 # Check whether --with-default-audiosink was given.
25531 if test "${with_default_audiosink+set}" = set; then :
25532 withval=$with_default_audiosink;
25533 case "${withval}" in
25534 yes) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
25535 no) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
25536 *) DEFAULT_AUDIOSINK="${withval}" ;;
25541 DEFAULT_AUDIOSINK="$DEFAULT_AUDIOSINK"
25545 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSINK as default audio sink" >&5
25546 $as_echo "$as_me: Using $DEFAULT_AUDIOSINK as default audio sink" >&6;}
25549 cat >>confdefs.h <<_ACEOF
25550 #define DEFAULT_AUDIOSINK "$DEFAULT_AUDIOSINK"
25555 # Check whether --with-default-audiosrc was given.
25556 if test "${with_default_audiosrc+set}" = set; then :
25557 withval=$with_default_audiosrc;
25558 case "${withval}" in
25559 yes) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
25560 no) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
25561 *) DEFAULT_AUDIOSRC="${withval}" ;;
25566 DEFAULT_AUDIOSRC="$DEFAULT_AUDIOSRC"
25570 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSRC as default audio source" >&5
25571 $as_echo "$as_me: Using $DEFAULT_AUDIOSRC as default audio source" >&6;}
25574 cat >>confdefs.h <<_ACEOF
25575 #define DEFAULT_AUDIOSRC "$DEFAULT_AUDIOSRC"
25580 # Check whether --with-default-videosink was given.
25581 if test "${with_default_videosink+set}" = set; then :
25582 withval=$with_default_videosink;
25583 case "${withval}" in
25584 yes) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
25585 no) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
25586 *) DEFAULT_VIDEOSINK="${withval}" ;;
25591 DEFAULT_VIDEOSINK="$DEFAULT_VIDEOSINK"
25595 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSINK as default video sink" >&5
25596 $as_echo "$as_me: Using $DEFAULT_VIDEOSINK as default video sink" >&6;}
25599 cat >>confdefs.h <<_ACEOF
25600 #define DEFAULT_VIDEOSINK "$DEFAULT_VIDEOSINK"
25605 # Check whether --with-default-videosrc was given.
25606 if test "${with_default_videosrc+set}" = set; then :
25607 withval=$with_default_videosrc;
25608 case "${withval}" in
25609 yes) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
25610 no) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
25611 *) DEFAULT_VIDEOSRC="${withval}" ;;
25616 DEFAULT_VIDEOSRC="$DEFAULT_VIDEOSRC"
25620 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSRC as default video source" >&5
25621 $as_echo "$as_me: Using $DEFAULT_VIDEOSRC as default video source" >&6;}
25624 cat >>confdefs.h <<_ACEOF
25625 #define DEFAULT_VIDEOSRC "$DEFAULT_VIDEOSRC"
25630 # Check whether --with-default-visualizer was given.
25631 if test "${with_default_visualizer+set}" = set; then :
25632 withval=$with_default_visualizer;
25633 case "${withval}" in
25634 yes) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
25635 no) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
25636 *) DEFAULT_VISUALIZER="${withval}" ;;
25641 DEFAULT_VISUALIZER="$DEFAULT_VISUALIZER"
25645 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VISUALIZER as default visualizer" >&5
25646 $as_echo "$as_me: Using $DEFAULT_VISUALIZER as default visualizer" >&6;}
25649 cat >>confdefs.h <<_ACEOF
25650 #define DEFAULT_VISUALIZER "$DEFAULT_VISUALIZER"
25657 GST_PLUGINS_ALL="$GST_PLUGINS_ALL videofilter"
25661 # Check whether --enable-videofilter was given.
25662 if test "${enable_videofilter+set}" = set; then :
25663 enableval=$enable_videofilter;
25664 case "${enableval}" in
25665 yes) gst_use_videofilter=yes ;;
25666 no) gst_use_videofilter=no ;;
25667 *) as_fn_error $? "bad value ${enableval} for --enable-videofilter" "$LINENO" 5 ;;
25671 gst_use_videofilter=yes
25674 if test x$gst_use_videofilter = xno; then
25675 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videofilter" >&5
25676 $as_echo "$as_me: disabling dependency-less plugin videofilter" >&6;}
25677 WITHOUT_PLUGINS="$WITHOUT_PLUGINS videofilter"
25681 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videofilter " > /dev/null; then
25682 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videofilter"
25684 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videofilter " > /dev/null; then
25685 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videofilter / /'`
25687 if echo " $GST_PLUGINS_SELECTED " | grep -i " videofilter " > /dev/null; then
25688 USE_PLUGIN_VIDEOFILTER_TRUE=
25689 USE_PLUGIN_VIDEOFILTER_FALSE='#'
25691 USE_PLUGIN_VIDEOFILTER_TRUE='#'
25692 USE_PLUGIN_VIDEOFILTER_FALSE=
25697 GST_PLUGINS_ALL="$GST_PLUGINS_ALL alpha"
25701 # Check whether --enable-alpha was given.
25702 if test "${enable_alpha+set}" = set; then :
25703 enableval=$enable_alpha;
25704 case "${enableval}" in
25705 yes) gst_use_alpha=yes ;;
25706 no) gst_use_alpha=no ;;
25707 *) as_fn_error $? "bad value ${enableval} for --enable-alpha" "$LINENO" 5 ;;
25714 if test x$gst_use_alpha = xno; then
25715 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin alpha" >&5
25716 $as_echo "$as_me: disabling dependency-less plugin alpha" >&6;}
25717 WITHOUT_PLUGINS="$WITHOUT_PLUGINS alpha"
25721 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " alpha " > /dev/null; then
25722 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED alpha"
25724 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " alpha " > /dev/null; then
25725 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ alpha / /'`
25727 if echo " $GST_PLUGINS_SELECTED " | grep -i " alpha " > /dev/null; then
25728 USE_PLUGIN_ALPHA_TRUE=
25729 USE_PLUGIN_ALPHA_FALSE='#'
25731 USE_PLUGIN_ALPHA_TRUE='#'
25732 USE_PLUGIN_ALPHA_FALSE=
25737 GST_PLUGINS_ALL="$GST_PLUGINS_ALL apetag"
25741 # Check whether --enable-apetag was given.
25742 if test "${enable_apetag+set}" = set; then :
25743 enableval=$enable_apetag;
25744 case "${enableval}" in
25745 yes) gst_use_apetag=yes ;;
25746 no) gst_use_apetag=no ;;
25747 *) as_fn_error $? "bad value ${enableval} for --enable-apetag" "$LINENO" 5 ;;
25754 if test x$gst_use_apetag = xno; then
25755 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin apetag" >&5
25756 $as_echo "$as_me: disabling dependency-less plugin apetag" >&6;}
25757 WITHOUT_PLUGINS="$WITHOUT_PLUGINS apetag"
25761 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " apetag " > /dev/null; then
25762 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED apetag"
25764 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " apetag " > /dev/null; then
25765 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ apetag / /'`
25767 if echo " $GST_PLUGINS_SELECTED " | grep -i " apetag " > /dev/null; then
25768 USE_PLUGIN_APETAG_TRUE=
25769 USE_PLUGIN_APETAG_FALSE='#'
25771 USE_PLUGIN_APETAG_TRUE='#'
25772 USE_PLUGIN_APETAG_FALSE=
25777 GST_PLUGINS_ALL="$GST_PLUGINS_ALL audiofx"
25781 # Check whether --enable-audiofx was given.
25782 if test "${enable_audiofx+set}" = set; then :
25783 enableval=$enable_audiofx;
25784 case "${enableval}" in
25785 yes) gst_use_audiofx=yes ;;
25786 no) gst_use_audiofx=no ;;
25787 *) as_fn_error $? "bad value ${enableval} for --enable-audiofx" "$LINENO" 5 ;;
25791 gst_use_audiofx=yes
25794 if test x$gst_use_audiofx = xno; then
25795 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audiofx" >&5
25796 $as_echo "$as_me: disabling dependency-less plugin audiofx" >&6;}
25797 WITHOUT_PLUGINS="$WITHOUT_PLUGINS audiofx"
25801 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audiofx " > /dev/null; then
25802 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audiofx"
25804 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audiofx " > /dev/null; then
25805 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audiofx / /'`
25807 if echo " $GST_PLUGINS_SELECTED " | grep -i " audiofx " > /dev/null; then
25808 USE_PLUGIN_AUDIOFX_TRUE=
25809 USE_PLUGIN_AUDIOFX_FALSE='#'
25811 USE_PLUGIN_AUDIOFX_TRUE='#'
25812 USE_PLUGIN_AUDIOFX_FALSE=
25817 GST_PLUGINS_ALL="$GST_PLUGINS_ALL audioparsers"
25821 # Check whether --enable-audioparsers was given.
25822 if test "${enable_audioparsers+set}" = set; then :
25823 enableval=$enable_audioparsers;
25824 case "${enableval}" in
25825 yes) gst_use_audioparsers=yes ;;
25826 no) gst_use_audioparsers=no ;;
25827 *) as_fn_error $? "bad value ${enableval} for --enable-audioparsers" "$LINENO" 5 ;;
25831 gst_use_audioparsers=yes
25834 if test x$gst_use_audioparsers = xno; then
25835 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audioparsers" >&5
25836 $as_echo "$as_me: disabling dependency-less plugin audioparsers" >&6;}
25837 WITHOUT_PLUGINS="$WITHOUT_PLUGINS audioparsers"
25841 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audioparsers " > /dev/null; then
25842 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audioparsers"
25844 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audioparsers " > /dev/null; then
25845 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audioparsers / /'`
25847 if echo " $GST_PLUGINS_SELECTED " | grep -i " audioparsers " > /dev/null; then
25848 USE_PLUGIN_AUDIOPARSERS_TRUE=
25849 USE_PLUGIN_AUDIOPARSERS_FALSE='#'
25851 USE_PLUGIN_AUDIOPARSERS_TRUE='#'
25852 USE_PLUGIN_AUDIOPARSERS_FALSE=
25857 GST_PLUGINS_ALL="$GST_PLUGINS_ALL auparse"
25861 # Check whether --enable-auparse was given.
25862 if test "${enable_auparse+set}" = set; then :
25863 enableval=$enable_auparse;
25864 case "${enableval}" in
25865 yes) gst_use_auparse=yes ;;
25866 no) gst_use_auparse=no ;;
25867 *) as_fn_error $? "bad value ${enableval} for --enable-auparse" "$LINENO" 5 ;;
25871 gst_use_auparse=yes
25874 if test x$gst_use_auparse = xno; then
25875 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin auparse" >&5
25876 $as_echo "$as_me: disabling dependency-less plugin auparse" >&6;}
25877 WITHOUT_PLUGINS="$WITHOUT_PLUGINS auparse"
25881 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " auparse " > /dev/null; then
25882 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED auparse"
25884 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " auparse " > /dev/null; then
25885 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ auparse / /'`
25887 if echo " $GST_PLUGINS_SELECTED " | grep -i " auparse " > /dev/null; then
25888 USE_PLUGIN_AUPARSE_TRUE=
25889 USE_PLUGIN_AUPARSE_FALSE='#'
25891 USE_PLUGIN_AUPARSE_TRUE='#'
25892 USE_PLUGIN_AUPARSE_FALSE=
25897 GST_PLUGINS_ALL="$GST_PLUGINS_ALL autodetect"
25901 # Check whether --enable-autodetect was given.
25902 if test "${enable_autodetect+set}" = set; then :
25903 enableval=$enable_autodetect;
25904 case "${enableval}" in
25905 yes) gst_use_autodetect=yes ;;
25906 no) gst_use_autodetect=no ;;
25907 *) as_fn_error $? "bad value ${enableval} for --enable-autodetect" "$LINENO" 5 ;;
25911 gst_use_autodetect=yes
25914 if test x$gst_use_autodetect = xno; then
25915 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin autodetect" >&5
25916 $as_echo "$as_me: disabling dependency-less plugin autodetect" >&6;}
25917 WITHOUT_PLUGINS="$WITHOUT_PLUGINS autodetect"
25921 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " autodetect " > /dev/null; then
25922 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED autodetect"
25924 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " autodetect " > /dev/null; then
25925 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ autodetect / /'`
25927 if echo " $GST_PLUGINS_SELECTED " | grep -i " autodetect " > /dev/null; then
25928 USE_PLUGIN_AUTODETECT_TRUE=
25929 USE_PLUGIN_AUTODETECT_FALSE='#'
25931 USE_PLUGIN_AUTODETECT_TRUE='#'
25932 USE_PLUGIN_AUTODETECT_FALSE=
25937 GST_PLUGINS_ALL="$GST_PLUGINS_ALL avi"
25941 # Check whether --enable-avi was given.
25942 if test "${enable_avi+set}" = set; then :
25943 enableval=$enable_avi;
25944 case "${enableval}" in
25945 yes) gst_use_avi=yes ;;
25946 no) gst_use_avi=no ;;
25947 *) as_fn_error $? "bad value ${enableval} for --enable-avi" "$LINENO" 5 ;;
25954 if test x$gst_use_avi = xno; then
25955 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin avi" >&5
25956 $as_echo "$as_me: disabling dependency-less plugin avi" >&6;}
25957 WITHOUT_PLUGINS="$WITHOUT_PLUGINS avi"
25961 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " avi " > /dev/null; then
25962 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED avi"
25964 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " avi " > /dev/null; then
25965 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ avi / /'`
25967 if echo " $GST_PLUGINS_SELECTED " | grep -i " avi " > /dev/null; then
25968 USE_PLUGIN_AVI_TRUE=
25969 USE_PLUGIN_AVI_FALSE='#'
25971 USE_PLUGIN_AVI_TRUE='#'
25972 USE_PLUGIN_AVI_FALSE=
25977 GST_PLUGINS_ALL="$GST_PLUGINS_ALL cutter"
25981 # Check whether --enable-cutter was given.
25982 if test "${enable_cutter+set}" = set; then :
25983 enableval=$enable_cutter;
25984 case "${enableval}" in
25985 yes) gst_use_cutter=yes ;;
25986 no) gst_use_cutter=no ;;
25987 *) as_fn_error $? "bad value ${enableval} for --enable-cutter" "$LINENO" 5 ;;
25994 if test x$gst_use_cutter = xno; then
25995 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin cutter" >&5
25996 $as_echo "$as_me: disabling dependency-less plugin cutter" >&6;}
25997 WITHOUT_PLUGINS="$WITHOUT_PLUGINS cutter"
26001 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " cutter " > /dev/null; then
26002 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED cutter"
26004 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " cutter " > /dev/null; then
26005 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ cutter / /'`
26007 if echo " $GST_PLUGINS_SELECTED " | grep -i " cutter " > /dev/null; then
26008 USE_PLUGIN_CUTTER_TRUE=
26009 USE_PLUGIN_CUTTER_FALSE='#'
26011 USE_PLUGIN_CUTTER_TRUE='#'
26012 USE_PLUGIN_CUTTER_FALSE=
26017 GST_PLUGINS_ALL="$GST_PLUGINS_ALL debugutils"
26021 # Check whether --enable-debugutils was given.
26022 if test "${enable_debugutils+set}" = set; then :
26023 enableval=$enable_debugutils;
26024 case "${enableval}" in
26025 yes) gst_use_debugutils=yes ;;
26026 no) gst_use_debugutils=no ;;
26027 *) as_fn_error $? "bad value ${enableval} for --enable-debugutils" "$LINENO" 5 ;;
26031 gst_use_debugutils=yes
26034 if test x$gst_use_debugutils = xno; then
26035 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin debugutils" >&5
26036 $as_echo "$as_me: disabling dependency-less plugin debugutils" >&6;}
26037 WITHOUT_PLUGINS="$WITHOUT_PLUGINS debugutils"
26041 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " debugutils " > /dev/null; then
26042 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED debugutils"
26044 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " debugutils " > /dev/null; then
26045 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ debugutils / /'`
26047 if echo " $GST_PLUGINS_SELECTED " | grep -i " debugutils " > /dev/null; then
26048 USE_PLUGIN_DEBUGUTILS_TRUE=
26049 USE_PLUGIN_DEBUGUTILS_FALSE='#'
26051 USE_PLUGIN_DEBUGUTILS_TRUE='#'
26052 USE_PLUGIN_DEBUGUTILS_FALSE=
26057 GST_PLUGINS_ALL="$GST_PLUGINS_ALL deinterlace"
26061 # Check whether --enable-deinterlace was given.
26062 if test "${enable_deinterlace+set}" = set; then :
26063 enableval=$enable_deinterlace;
26064 case "${enableval}" in
26065 yes) gst_use_deinterlace=yes ;;
26066 no) gst_use_deinterlace=no ;;
26067 *) as_fn_error $? "bad value ${enableval} for --enable-deinterlace" "$LINENO" 5 ;;
26071 gst_use_deinterlace=yes
26074 if test x$gst_use_deinterlace = xno; then
26075 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin deinterlace" >&5
26076 $as_echo "$as_me: disabling dependency-less plugin deinterlace" >&6;}
26077 WITHOUT_PLUGINS="$WITHOUT_PLUGINS deinterlace"
26081 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " deinterlace " > /dev/null; then
26082 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED deinterlace"
26084 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " deinterlace " > /dev/null; then
26085 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ deinterlace / /'`
26087 if echo " $GST_PLUGINS_SELECTED " | grep -i " deinterlace " > /dev/null; then
26088 USE_PLUGIN_DEINTERLACE_TRUE=
26089 USE_PLUGIN_DEINTERLACE_FALSE='#'
26091 USE_PLUGIN_DEINTERLACE_TRUE='#'
26092 USE_PLUGIN_DEINTERLACE_FALSE=
26097 GST_PLUGINS_ALL="$GST_PLUGINS_ALL effectv"
26101 # Check whether --enable-effectv was given.
26102 if test "${enable_effectv+set}" = set; then :
26103 enableval=$enable_effectv;
26104 case "${enableval}" in
26105 yes) gst_use_effectv=yes ;;
26106 no) gst_use_effectv=no ;;
26107 *) as_fn_error $? "bad value ${enableval} for --enable-effectv" "$LINENO" 5 ;;
26111 gst_use_effectv=yes
26114 if test x$gst_use_effectv = xno; then
26115 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin effectv" >&5
26116 $as_echo "$as_me: disabling dependency-less plugin effectv" >&6;}
26117 WITHOUT_PLUGINS="$WITHOUT_PLUGINS effectv"
26121 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " effectv " > /dev/null; then
26122 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED effectv"
26124 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " effectv " > /dev/null; then
26125 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ effectv / /'`
26127 if echo " $GST_PLUGINS_SELECTED " | grep -i " effectv " > /dev/null; then
26128 USE_PLUGIN_EFFECTV_TRUE=
26129 USE_PLUGIN_EFFECTV_FALSE='#'
26131 USE_PLUGIN_EFFECTV_TRUE='#'
26132 USE_PLUGIN_EFFECTV_FALSE=
26137 GST_PLUGINS_ALL="$GST_PLUGINS_ALL equalizer"
26141 # Check whether --enable-equalizer was given.
26142 if test "${enable_equalizer+set}" = set; then :
26143 enableval=$enable_equalizer;
26144 case "${enableval}" in
26145 yes) gst_use_equalizer=yes ;;
26146 no) gst_use_equalizer=no ;;
26147 *) as_fn_error $? "bad value ${enableval} for --enable-equalizer" "$LINENO" 5 ;;
26151 gst_use_equalizer=yes
26154 if test x$gst_use_equalizer = xno; then
26155 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin equalizer" >&5
26156 $as_echo "$as_me: disabling dependency-less plugin equalizer" >&6;}
26157 WITHOUT_PLUGINS="$WITHOUT_PLUGINS equalizer"
26161 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " equalizer " > /dev/null; then
26162 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED equalizer"
26164 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " equalizer " > /dev/null; then
26165 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ equalizer / /'`
26167 if echo " $GST_PLUGINS_SELECTED " | grep -i " equalizer " > /dev/null; then
26168 USE_PLUGIN_EQUALIZER_TRUE=
26169 USE_PLUGIN_EQUALIZER_FALSE='#'
26171 USE_PLUGIN_EQUALIZER_TRUE='#'
26172 USE_PLUGIN_EQUALIZER_FALSE=
26177 GST_PLUGINS_ALL="$GST_PLUGINS_ALL flv"
26181 # Check whether --enable-flv was given.
26182 if test "${enable_flv+set}" = set; then :
26183 enableval=$enable_flv;
26184 case "${enableval}" in
26185 yes) gst_use_flv=yes ;;
26186 no) gst_use_flv=no ;;
26187 *) as_fn_error $? "bad value ${enableval} for --enable-flv" "$LINENO" 5 ;;
26194 if test x$gst_use_flv = xno; then
26195 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin flv" >&5
26196 $as_echo "$as_me: disabling dependency-less plugin flv" >&6;}
26197 WITHOUT_PLUGINS="$WITHOUT_PLUGINS flv"
26201 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " flv " > /dev/null; then
26202 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED flv"
26204 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " flv " > /dev/null; then
26205 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ flv / /'`
26207 if echo " $GST_PLUGINS_SELECTED " | grep -i " flv " > /dev/null; then
26208 USE_PLUGIN_FLV_TRUE=
26209 USE_PLUGIN_FLV_FALSE='#'
26211 USE_PLUGIN_FLV_TRUE='#'
26212 USE_PLUGIN_FLV_FALSE=
26217 GST_PLUGINS_ALL="$GST_PLUGINS_ALL id3demux"
26221 # Check whether --enable-id3demux was given.
26222 if test "${enable_id3demux+set}" = set; then :
26223 enableval=$enable_id3demux;
26224 case "${enableval}" in
26225 yes) gst_use_id3demux=yes ;;
26226 no) gst_use_id3demux=no ;;
26227 *) as_fn_error $? "bad value ${enableval} for --enable-id3demux" "$LINENO" 5 ;;
26231 gst_use_id3demux=yes
26234 if test x$gst_use_id3demux = xno; then
26235 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin id3demux" >&5
26236 $as_echo "$as_me: disabling dependency-less plugin id3demux" >&6;}
26237 WITHOUT_PLUGINS="$WITHOUT_PLUGINS id3demux"
26241 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " id3demux " > /dev/null; then
26242 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED id3demux"
26244 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " id3demux " > /dev/null; then
26245 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ id3demux / /'`
26247 if echo " $GST_PLUGINS_SELECTED " | grep -i " id3demux " > /dev/null; then
26248 USE_PLUGIN_ID3DEMUX_TRUE=
26249 USE_PLUGIN_ID3DEMUX_FALSE='#'
26251 USE_PLUGIN_ID3DEMUX_TRUE='#'
26252 USE_PLUGIN_ID3DEMUX_FALSE=
26257 GST_PLUGINS_ALL="$GST_PLUGINS_ALL icydemux"
26261 # Check whether --enable-icydemux was given.
26262 if test "${enable_icydemux+set}" = set; then :
26263 enableval=$enable_icydemux;
26264 case "${enableval}" in
26265 yes) gst_use_icydemux=yes ;;
26266 no) gst_use_icydemux=no ;;
26267 *) as_fn_error $? "bad value ${enableval} for --enable-icydemux" "$LINENO" 5 ;;
26271 gst_use_icydemux=yes
26274 if test x$gst_use_icydemux = xno; then
26275 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin icydemux" >&5
26276 $as_echo "$as_me: disabling dependency-less plugin icydemux" >&6;}
26277 WITHOUT_PLUGINS="$WITHOUT_PLUGINS icydemux"
26281 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " icydemux " > /dev/null; then
26282 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED icydemux"
26284 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " icydemux " > /dev/null; then
26285 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ icydemux / /'`
26287 if echo " $GST_PLUGINS_SELECTED " | grep -i " icydemux " > /dev/null; then
26288 USE_PLUGIN_ICYDEMUX_TRUE=
26289 USE_PLUGIN_ICYDEMUX_FALSE='#'
26291 USE_PLUGIN_ICYDEMUX_TRUE='#'
26292 USE_PLUGIN_ICYDEMUX_FALSE=
26297 GST_PLUGINS_ALL="$GST_PLUGINS_ALL interleave"
26301 # Check whether --enable-interleave was given.
26302 if test "${enable_interleave+set}" = set; then :
26303 enableval=$enable_interleave;
26304 case "${enableval}" in
26305 yes) gst_use_interleave=yes ;;
26306 no) gst_use_interleave=no ;;
26307 *) as_fn_error $? "bad value ${enableval} for --enable-interleave" "$LINENO" 5 ;;
26311 gst_use_interleave=yes
26314 if test x$gst_use_interleave = xno; then
26315 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin interleave" >&5
26316 $as_echo "$as_me: disabling dependency-less plugin interleave" >&6;}
26317 WITHOUT_PLUGINS="$WITHOUT_PLUGINS interleave"
26321 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " interleave " > /dev/null; then
26322 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED interleave"
26324 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " interleave " > /dev/null; then
26325 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ interleave / /'`
26327 if echo " $GST_PLUGINS_SELECTED " | grep -i " interleave " > /dev/null; then
26328 USE_PLUGIN_INTERLEAVE_TRUE=
26329 USE_PLUGIN_INTERLEAVE_FALSE='#'
26331 USE_PLUGIN_INTERLEAVE_TRUE='#'
26332 USE_PLUGIN_INTERLEAVE_FALSE=
26337 GST_PLUGINS_ALL="$GST_PLUGINS_ALL flx"
26341 # Check whether --enable-flx was given.
26342 if test "${enable_flx+set}" = set; then :
26343 enableval=$enable_flx;
26344 case "${enableval}" in
26345 yes) gst_use_flx=yes ;;
26346 no) gst_use_flx=no ;;
26347 *) as_fn_error $? "bad value ${enableval} for --enable-flx" "$LINENO" 5 ;;
26354 if test x$gst_use_flx = xno; then
26355 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin flx" >&5
26356 $as_echo "$as_me: disabling dependency-less plugin flx" >&6;}
26357 WITHOUT_PLUGINS="$WITHOUT_PLUGINS flx"
26361 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " flx " > /dev/null; then
26362 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED flx"
26364 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " flx " > /dev/null; then
26365 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ flx / /'`
26367 if echo " $GST_PLUGINS_SELECTED " | grep -i " flx " > /dev/null; then
26368 USE_PLUGIN_FLX_TRUE=
26369 USE_PLUGIN_FLX_FALSE='#'
26371 USE_PLUGIN_FLX_TRUE='#'
26372 USE_PLUGIN_FLX_FALSE=
26377 GST_PLUGINS_ALL="$GST_PLUGINS_ALL goom"
26381 # Check whether --enable-goom was given.
26382 if test "${enable_goom+set}" = set; then :
26383 enableval=$enable_goom;
26384 case "${enableval}" in
26385 yes) gst_use_goom=yes ;;
26386 no) gst_use_goom=no ;;
26387 *) as_fn_error $? "bad value ${enableval} for --enable-goom" "$LINENO" 5 ;;
26394 if test x$gst_use_goom = xno; then
26395 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin goom" >&5
26396 $as_echo "$as_me: disabling dependency-less plugin goom" >&6;}
26397 WITHOUT_PLUGINS="$WITHOUT_PLUGINS goom"
26401 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " goom " > /dev/null; then
26402 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED goom"
26404 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " goom " > /dev/null; then
26405 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ goom / /'`
26407 if echo " $GST_PLUGINS_SELECTED " | grep -i " goom " > /dev/null; then
26408 USE_PLUGIN_GOOM_TRUE=
26409 USE_PLUGIN_GOOM_FALSE='#'
26411 USE_PLUGIN_GOOM_TRUE='#'
26412 USE_PLUGIN_GOOM_FALSE=
26417 GST_PLUGINS_ALL="$GST_PLUGINS_ALL goom2k1"
26421 # Check whether --enable-goom2k1 was given.
26422 if test "${enable_goom2k1+set}" = set; then :
26423 enableval=$enable_goom2k1;
26424 case "${enableval}" in
26425 yes) gst_use_goom2k1=yes ;;
26426 no) gst_use_goom2k1=no ;;
26427 *) as_fn_error $? "bad value ${enableval} for --enable-goom2k1" "$LINENO" 5 ;;
26431 gst_use_goom2k1=yes
26434 if test x$gst_use_goom2k1 = xno; then
26435 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin goom2k1" >&5
26436 $as_echo "$as_me: disabling dependency-less plugin goom2k1" >&6;}
26437 WITHOUT_PLUGINS="$WITHOUT_PLUGINS goom2k1"
26441 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " goom2k1 " > /dev/null; then
26442 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED goom2k1"
26444 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " goom2k1 " > /dev/null; then
26445 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ goom2k1 / /'`
26447 if echo " $GST_PLUGINS_SELECTED " | grep -i " goom2k1 " > /dev/null; then
26448 USE_PLUGIN_GOOM2K1_TRUE=
26449 USE_PLUGIN_GOOM2K1_FALSE='#'
26451 USE_PLUGIN_GOOM2K1_TRUE='#'
26452 USE_PLUGIN_GOOM2K1_FALSE=
26457 GST_PLUGINS_ALL="$GST_PLUGINS_ALL imagefreeze"
26461 # Check whether --enable-imagefreeze was given.
26462 if test "${enable_imagefreeze+set}" = set; then :
26463 enableval=$enable_imagefreeze;
26464 case "${enableval}" in
26465 yes) gst_use_imagefreeze=yes ;;
26466 no) gst_use_imagefreeze=no ;;
26467 *) as_fn_error $? "bad value ${enableval} for --enable-imagefreeze" "$LINENO" 5 ;;
26471 gst_use_imagefreeze=yes
26474 if test x$gst_use_imagefreeze = xno; then
26475 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin imagefreeze" >&5
26476 $as_echo "$as_me: disabling dependency-less plugin imagefreeze" >&6;}
26477 WITHOUT_PLUGINS="$WITHOUT_PLUGINS imagefreeze"
26481 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " imagefreeze " > /dev/null; then
26482 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED imagefreeze"
26484 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " imagefreeze " > /dev/null; then
26485 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ imagefreeze / /'`
26487 if echo " $GST_PLUGINS_SELECTED " | grep -i " imagefreeze " > /dev/null; then
26488 USE_PLUGIN_IMAGEFREEZE_TRUE=
26489 USE_PLUGIN_IMAGEFREEZE_FALSE='#'
26491 USE_PLUGIN_IMAGEFREEZE_TRUE='#'
26492 USE_PLUGIN_IMAGEFREEZE_FALSE=
26497 GST_PLUGINS_ALL="$GST_PLUGINS_ALL isomp4"
26501 # Check whether --enable-isomp4 was given.
26502 if test "${enable_isomp4+set}" = set; then :
26503 enableval=$enable_isomp4;
26504 case "${enableval}" in
26505 yes) gst_use_isomp4=yes ;;
26506 no) gst_use_isomp4=no ;;
26507 *) as_fn_error $? "bad value ${enableval} for --enable-isomp4" "$LINENO" 5 ;;
26514 if test x$gst_use_isomp4 = xno; then
26515 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin isomp4" >&5
26516 $as_echo "$as_me: disabling dependency-less plugin isomp4" >&6;}
26517 WITHOUT_PLUGINS="$WITHOUT_PLUGINS isomp4"
26521 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " isomp4 " > /dev/null; then
26522 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED isomp4"
26524 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " isomp4 " > /dev/null; then
26525 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ isomp4 / /'`
26527 if echo " $GST_PLUGINS_SELECTED " | grep -i " isomp4 " > /dev/null; then
26528 USE_PLUGIN_ISOMP4_TRUE=
26529 USE_PLUGIN_ISOMP4_FALSE='#'
26531 USE_PLUGIN_ISOMP4_TRUE='#'
26532 USE_PLUGIN_ISOMP4_FALSE=
26537 GST_PLUGINS_ALL="$GST_PLUGINS_ALL law"
26541 # Check whether --enable-law was given.
26542 if test "${enable_law+set}" = set; then :
26543 enableval=$enable_law;
26544 case "${enableval}" in
26545 yes) gst_use_law=yes ;;
26546 no) gst_use_law=no ;;
26547 *) as_fn_error $? "bad value ${enableval} for --enable-law" "$LINENO" 5 ;;
26554 if test x$gst_use_law = xno; then
26555 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin law" >&5
26556 $as_echo "$as_me: disabling dependency-less plugin law" >&6;}
26557 WITHOUT_PLUGINS="$WITHOUT_PLUGINS law"
26561 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " law " > /dev/null; then
26562 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED law"
26564 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " law " > /dev/null; then
26565 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ law / /'`
26567 if echo " $GST_PLUGINS_SELECTED " | grep -i " law " > /dev/null; then
26568 USE_PLUGIN_LAW_TRUE=
26569 USE_PLUGIN_LAW_FALSE='#'
26571 USE_PLUGIN_LAW_TRUE='#'
26572 USE_PLUGIN_LAW_FALSE=
26577 GST_PLUGINS_ALL="$GST_PLUGINS_ALL level"
26581 # Check whether --enable-level was given.
26582 if test "${enable_level+set}" = set; then :
26583 enableval=$enable_level;
26584 case "${enableval}" in
26585 yes) gst_use_level=yes ;;
26586 no) gst_use_level=no ;;
26587 *) as_fn_error $? "bad value ${enableval} for --enable-level" "$LINENO" 5 ;;
26594 if test x$gst_use_level = xno; then
26595 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin level" >&5
26596 $as_echo "$as_me: disabling dependency-less plugin level" >&6;}
26597 WITHOUT_PLUGINS="$WITHOUT_PLUGINS level"
26601 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " level " > /dev/null; then
26602 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED level"
26604 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " level " > /dev/null; then
26605 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ level / /'`
26607 if echo " $GST_PLUGINS_SELECTED " | grep -i " level " > /dev/null; then
26608 USE_PLUGIN_LEVEL_TRUE=
26609 USE_PLUGIN_LEVEL_FALSE='#'
26611 USE_PLUGIN_LEVEL_TRUE='#'
26612 USE_PLUGIN_LEVEL_FALSE=
26617 GST_PLUGINS_ALL="$GST_PLUGINS_ALL matroska"
26621 # Check whether --enable-matroska was given.
26622 if test "${enable_matroska+set}" = set; then :
26623 enableval=$enable_matroska;
26624 case "${enableval}" in
26625 yes) gst_use_matroska=yes ;;
26626 no) gst_use_matroska=no ;;
26627 *) as_fn_error $? "bad value ${enableval} for --enable-matroska" "$LINENO" 5 ;;
26631 gst_use_matroska=yes
26634 if test x$gst_use_matroska = xno; then
26635 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin matroska" >&5
26636 $as_echo "$as_me: disabling dependency-less plugin matroska" >&6;}
26637 WITHOUT_PLUGINS="$WITHOUT_PLUGINS matroska"
26641 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " matroska " > /dev/null; then
26642 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED matroska"
26644 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " matroska " > /dev/null; then
26645 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ matroska / /'`
26647 if echo " $GST_PLUGINS_SELECTED " | grep -i " matroska " > /dev/null; then
26648 USE_PLUGIN_MATROSKA_TRUE=
26649 USE_PLUGIN_MATROSKA_FALSE='#'
26651 USE_PLUGIN_MATROSKA_TRUE='#'
26652 USE_PLUGIN_MATROSKA_FALSE=
26657 GST_PLUGINS_ALL="$GST_PLUGINS_ALL monoscope"
26661 # Check whether --enable-monoscope was given.
26662 if test "${enable_monoscope+set}" = set; then :
26663 enableval=$enable_monoscope;
26664 case "${enableval}" in
26665 yes) gst_use_monoscope=yes ;;
26666 no) gst_use_monoscope=no ;;
26667 *) as_fn_error $? "bad value ${enableval} for --enable-monoscope" "$LINENO" 5 ;;
26671 gst_use_monoscope=yes
26674 if test x$gst_use_monoscope = xno; then
26675 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin monoscope" >&5
26676 $as_echo "$as_me: disabling dependency-less plugin monoscope" >&6;}
26677 WITHOUT_PLUGINS="$WITHOUT_PLUGINS monoscope"
26681 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " monoscope " > /dev/null; then
26682 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED monoscope"
26684 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " monoscope " > /dev/null; then
26685 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ monoscope / /'`
26687 if echo " $GST_PLUGINS_SELECTED " | grep -i " monoscope " > /dev/null; then
26688 USE_PLUGIN_MONOSCOPE_TRUE=
26689 USE_PLUGIN_MONOSCOPE_FALSE='#'
26691 USE_PLUGIN_MONOSCOPE_TRUE='#'
26692 USE_PLUGIN_MONOSCOPE_FALSE=
26697 GST_PLUGINS_ALL="$GST_PLUGINS_ALL multifile"
26701 # Check whether --enable-multifile was given.
26702 if test "${enable_multifile+set}" = set; then :
26703 enableval=$enable_multifile;
26704 case "${enableval}" in
26705 yes) gst_use_multifile=yes ;;
26706 no) gst_use_multifile=no ;;
26707 *) as_fn_error $? "bad value ${enableval} for --enable-multifile" "$LINENO" 5 ;;
26711 gst_use_multifile=yes
26714 if test x$gst_use_multifile = xno; then
26715 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin multifile" >&5
26716 $as_echo "$as_me: disabling dependency-less plugin multifile" >&6;}
26717 WITHOUT_PLUGINS="$WITHOUT_PLUGINS multifile"
26721 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " multifile " > /dev/null; then
26722 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED multifile"
26724 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " multifile " > /dev/null; then
26725 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ multifile / /'`
26727 if echo " $GST_PLUGINS_SELECTED " | grep -i " multifile " > /dev/null; then
26728 USE_PLUGIN_MULTIFILE_TRUE=
26729 USE_PLUGIN_MULTIFILE_FALSE='#'
26731 USE_PLUGIN_MULTIFILE_TRUE='#'
26732 USE_PLUGIN_MULTIFILE_FALSE=
26737 GST_PLUGINS_ALL="$GST_PLUGINS_ALL multipart"
26741 # Check whether --enable-multipart was given.
26742 if test "${enable_multipart+set}" = set; then :
26743 enableval=$enable_multipart;
26744 case "${enableval}" in
26745 yes) gst_use_multipart=yes ;;
26746 no) gst_use_multipart=no ;;
26747 *) as_fn_error $? "bad value ${enableval} for --enable-multipart" "$LINENO" 5 ;;
26751 gst_use_multipart=yes
26754 if test x$gst_use_multipart = xno; then
26755 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin multipart" >&5
26756 $as_echo "$as_me: disabling dependency-less plugin multipart" >&6;}
26757 WITHOUT_PLUGINS="$WITHOUT_PLUGINS multipart"
26761 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " multipart " > /dev/null; then
26762 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED multipart"
26764 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " multipart " > /dev/null; then
26765 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ multipart / /'`
26767 if echo " $GST_PLUGINS_SELECTED " | grep -i " multipart " > /dev/null; then
26768 USE_PLUGIN_MULTIPART_TRUE=
26769 USE_PLUGIN_MULTIPART_FALSE='#'
26771 USE_PLUGIN_MULTIPART_TRUE='#'
26772 USE_PLUGIN_MULTIPART_FALSE=
26777 GST_PLUGINS_ALL="$GST_PLUGINS_ALL replaygain"
26781 # Check whether --enable-replaygain was given.
26782 if test "${enable_replaygain+set}" = set; then :
26783 enableval=$enable_replaygain;
26784 case "${enableval}" in
26785 yes) gst_use_replaygain=yes ;;
26786 no) gst_use_replaygain=no ;;
26787 *) as_fn_error $? "bad value ${enableval} for --enable-replaygain" "$LINENO" 5 ;;
26791 gst_use_replaygain=yes
26794 if test x$gst_use_replaygain = xno; then
26795 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin replaygain" >&5
26796 $as_echo "$as_me: disabling dependency-less plugin replaygain" >&6;}
26797 WITHOUT_PLUGINS="$WITHOUT_PLUGINS replaygain"
26801 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " replaygain " > /dev/null; then
26802 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED replaygain"
26804 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " replaygain " > /dev/null; then
26805 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ replaygain / /'`
26807 if echo " $GST_PLUGINS_SELECTED " | grep -i " replaygain " > /dev/null; then
26808 USE_PLUGIN_REPLAYGAIN_TRUE=
26809 USE_PLUGIN_REPLAYGAIN_FALSE='#'
26811 USE_PLUGIN_REPLAYGAIN_TRUE='#'
26812 USE_PLUGIN_REPLAYGAIN_FALSE=
26817 GST_PLUGINS_ALL="$GST_PLUGINS_ALL rtp"
26821 # Check whether --enable-rtp was given.
26822 if test "${enable_rtp+set}" = set; then :
26823 enableval=$enable_rtp;
26824 case "${enableval}" in
26825 yes) gst_use_rtp=yes ;;
26826 no) gst_use_rtp=no ;;
26827 *) as_fn_error $? "bad value ${enableval} for --enable-rtp" "$LINENO" 5 ;;
26834 if test x$gst_use_rtp = xno; then
26835 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rtp" >&5
26836 $as_echo "$as_me: disabling dependency-less plugin rtp" >&6;}
26837 WITHOUT_PLUGINS="$WITHOUT_PLUGINS rtp"
26841 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " rtp " > /dev/null; then
26842 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED rtp"
26844 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " rtp " > /dev/null; then
26845 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtp / /'`
26847 if echo " $GST_PLUGINS_SELECTED " | grep -i " rtp " > /dev/null; then
26848 USE_PLUGIN_RTP_TRUE=
26849 USE_PLUGIN_RTP_FALSE='#'
26851 USE_PLUGIN_RTP_TRUE='#'
26852 USE_PLUGIN_RTP_FALSE=
26857 GST_PLUGINS_ALL="$GST_PLUGINS_ALL rtpmanager"
26861 # Check whether --enable-rtpmanager was given.
26862 if test "${enable_rtpmanager+set}" = set; then :
26863 enableval=$enable_rtpmanager;
26864 case "${enableval}" in
26865 yes) gst_use_rtpmanager=yes ;;
26866 no) gst_use_rtpmanager=no ;;
26867 *) as_fn_error $? "bad value ${enableval} for --enable-rtpmanager" "$LINENO" 5 ;;
26871 gst_use_rtpmanager=yes
26874 if test x$gst_use_rtpmanager = xno; then
26875 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rtpmanager" >&5
26876 $as_echo "$as_me: disabling dependency-less plugin rtpmanager" >&6;}
26877 WITHOUT_PLUGINS="$WITHOUT_PLUGINS rtpmanager"
26881 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " rtpmanager " > /dev/null; then
26882 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED rtpmanager"
26884 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " rtpmanager " > /dev/null; then
26885 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtpmanager / /'`
26887 if echo " $GST_PLUGINS_SELECTED " | grep -i " rtpmanager " > /dev/null; then
26888 USE_PLUGIN_RTPMANAGER_TRUE=
26889 USE_PLUGIN_RTPMANAGER_FALSE='#'
26891 USE_PLUGIN_RTPMANAGER_TRUE='#'
26892 USE_PLUGIN_RTPMANAGER_FALSE=
26897 GST_PLUGINS_ALL="$GST_PLUGINS_ALL rtsp"
26901 # Check whether --enable-rtsp was given.
26902 if test "${enable_rtsp+set}" = set; then :
26903 enableval=$enable_rtsp;
26904 case "${enableval}" in
26905 yes) gst_use_rtsp=yes ;;
26906 no) gst_use_rtsp=no ;;
26907 *) as_fn_error $? "bad value ${enableval} for --enable-rtsp" "$LINENO" 5 ;;
26914 if test x$gst_use_rtsp = xno; then
26915 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rtsp" >&5
26916 $as_echo "$as_me: disabling dependency-less plugin rtsp" >&6;}
26917 WITHOUT_PLUGINS="$WITHOUT_PLUGINS rtsp"
26921 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " rtsp " > /dev/null; then
26922 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED rtsp"
26924 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " rtsp " > /dev/null; then
26925 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtsp / /'`
26927 if echo " $GST_PLUGINS_SELECTED " | grep -i " rtsp " > /dev/null; then
26928 USE_PLUGIN_RTSP_TRUE=
26929 USE_PLUGIN_RTSP_FALSE='#'
26931 USE_PLUGIN_RTSP_TRUE='#'
26932 USE_PLUGIN_RTSP_FALSE=
26937 GST_PLUGINS_ALL="$GST_PLUGINS_ALL shapewipe"
26941 # Check whether --enable-shapewipe was given.
26942 if test "${enable_shapewipe+set}" = set; then :
26943 enableval=$enable_shapewipe;
26944 case "${enableval}" in
26945 yes) gst_use_shapewipe=yes ;;
26946 no) gst_use_shapewipe=no ;;
26947 *) as_fn_error $? "bad value ${enableval} for --enable-shapewipe" "$LINENO" 5 ;;
26951 gst_use_shapewipe=yes
26954 if test x$gst_use_shapewipe = xno; then
26955 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin shapewipe" >&5
26956 $as_echo "$as_me: disabling dependency-less plugin shapewipe" >&6;}
26957 WITHOUT_PLUGINS="$WITHOUT_PLUGINS shapewipe"
26961 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " shapewipe " > /dev/null; then
26962 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED shapewipe"
26964 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " shapewipe " > /dev/null; then
26965 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ shapewipe / /'`
26967 if echo " $GST_PLUGINS_SELECTED " | grep -i " shapewipe " > /dev/null; then
26968 USE_PLUGIN_SHAPEWIPE_TRUE=
26969 USE_PLUGIN_SHAPEWIPE_FALSE='#'
26971 USE_PLUGIN_SHAPEWIPE_TRUE='#'
26972 USE_PLUGIN_SHAPEWIPE_FALSE=
26977 GST_PLUGINS_ALL="$GST_PLUGINS_ALL smpte"
26981 # Check whether --enable-smpte was given.
26982 if test "${enable_smpte+set}" = set; then :
26983 enableval=$enable_smpte;
26984 case "${enableval}" in
26985 yes) gst_use_smpte=yes ;;
26986 no) gst_use_smpte=no ;;
26987 *) as_fn_error $? "bad value ${enableval} for --enable-smpte" "$LINENO" 5 ;;
26994 if test x$gst_use_smpte = xno; then
26995 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin smpte" >&5
26996 $as_echo "$as_me: disabling dependency-less plugin smpte" >&6;}
26997 WITHOUT_PLUGINS="$WITHOUT_PLUGINS smpte"
27001 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " smpte " > /dev/null; then
27002 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED smpte"
27004 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " smpte " > /dev/null; then
27005 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ smpte / /'`
27007 if echo " $GST_PLUGINS_SELECTED " | grep -i " smpte " > /dev/null; then
27008 USE_PLUGIN_SMPTE_TRUE=
27009 USE_PLUGIN_SMPTE_FALSE='#'
27011 USE_PLUGIN_SMPTE_TRUE='#'
27012 USE_PLUGIN_SMPTE_FALSE=
27017 GST_PLUGINS_ALL="$GST_PLUGINS_ALL spectrum"
27021 # Check whether --enable-spectrum was given.
27022 if test "${enable_spectrum+set}" = set; then :
27023 enableval=$enable_spectrum;
27024 case "${enableval}" in
27025 yes) gst_use_spectrum=yes ;;
27026 no) gst_use_spectrum=no ;;
27027 *) as_fn_error $? "bad value ${enableval} for --enable-spectrum" "$LINENO" 5 ;;
27031 gst_use_spectrum=yes
27034 if test x$gst_use_spectrum = xno; then
27035 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin spectrum" >&5
27036 $as_echo "$as_me: disabling dependency-less plugin spectrum" >&6;}
27037 WITHOUT_PLUGINS="$WITHOUT_PLUGINS spectrum"
27041 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " spectrum " > /dev/null; then
27042 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED spectrum"
27044 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " spectrum " > /dev/null; then
27045 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ spectrum / /'`
27047 if echo " $GST_PLUGINS_SELECTED " | grep -i " spectrum " > /dev/null; then
27048 USE_PLUGIN_SPECTRUM_TRUE=
27049 USE_PLUGIN_SPECTRUM_FALSE='#'
27051 USE_PLUGIN_SPECTRUM_TRUE='#'
27052 USE_PLUGIN_SPECTRUM_FALSE=
27057 GST_PLUGINS_ALL="$GST_PLUGINS_ALL udp"
27061 # Check whether --enable-udp was given.
27062 if test "${enable_udp+set}" = set; then :
27063 enableval=$enable_udp;
27064 case "${enableval}" in
27065 yes) gst_use_udp=yes ;;
27066 no) gst_use_udp=no ;;
27067 *) as_fn_error $? "bad value ${enableval} for --enable-udp" "$LINENO" 5 ;;
27074 if test x$gst_use_udp = xno; then
27075 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin udp" >&5
27076 $as_echo "$as_me: disabling dependency-less plugin udp" >&6;}
27077 WITHOUT_PLUGINS="$WITHOUT_PLUGINS udp"
27081 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " udp " > /dev/null; then
27082 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED udp"
27084 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " udp " > /dev/null; then
27085 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ udp / /'`
27087 if echo " $GST_PLUGINS_SELECTED " | grep -i " udp " > /dev/null; then
27088 USE_PLUGIN_UDP_TRUE=
27089 USE_PLUGIN_UDP_FALSE='#'
27091 USE_PLUGIN_UDP_TRUE='#'
27092 USE_PLUGIN_UDP_FALSE=
27097 GST_PLUGINS_ALL="$GST_PLUGINS_ALL videobox"
27101 # Check whether --enable-videobox was given.
27102 if test "${enable_videobox+set}" = set; then :
27103 enableval=$enable_videobox;
27104 case "${enableval}" in
27105 yes) gst_use_videobox=yes ;;
27106 no) gst_use_videobox=no ;;
27107 *) as_fn_error $? "bad value ${enableval} for --enable-videobox" "$LINENO" 5 ;;
27111 gst_use_videobox=yes
27114 if test x$gst_use_videobox = xno; then
27115 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videobox" >&5
27116 $as_echo "$as_me: disabling dependency-less plugin videobox" >&6;}
27117 WITHOUT_PLUGINS="$WITHOUT_PLUGINS videobox"
27121 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videobox " > /dev/null; then
27122 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videobox"
27124 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videobox " > /dev/null; then
27125 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videobox / /'`
27127 if echo " $GST_PLUGINS_SELECTED " | grep -i " videobox " > /dev/null; then
27128 USE_PLUGIN_VIDEOBOX_TRUE=
27129 USE_PLUGIN_VIDEOBOX_FALSE='#'
27131 USE_PLUGIN_VIDEOBOX_TRUE='#'
27132 USE_PLUGIN_VIDEOBOX_FALSE=
27137 GST_PLUGINS_ALL="$GST_PLUGINS_ALL videocrop"
27141 # Check whether --enable-videocrop was given.
27142 if test "${enable_videocrop+set}" = set; then :
27143 enableval=$enable_videocrop;
27144 case "${enableval}" in
27145 yes) gst_use_videocrop=yes ;;
27146 no) gst_use_videocrop=no ;;
27147 *) as_fn_error $? "bad value ${enableval} for --enable-videocrop" "$LINENO" 5 ;;
27151 gst_use_videocrop=yes
27154 if test x$gst_use_videocrop = xno; then
27155 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videocrop" >&5
27156 $as_echo "$as_me: disabling dependency-less plugin videocrop" >&6;}
27157 WITHOUT_PLUGINS="$WITHOUT_PLUGINS videocrop"
27161 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videocrop " > /dev/null; then
27162 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videocrop"
27164 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videocrop " > /dev/null; then
27165 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videocrop / /'`
27167 if echo " $GST_PLUGINS_SELECTED " | grep -i " videocrop " > /dev/null; then
27168 USE_PLUGIN_VIDEOCROP_TRUE=
27169 USE_PLUGIN_VIDEOCROP_FALSE='#'
27171 USE_PLUGIN_VIDEOCROP_TRUE='#'
27172 USE_PLUGIN_VIDEOCROP_FALSE=
27177 GST_PLUGINS_ALL="$GST_PLUGINS_ALL videomixer"
27181 # Check whether --enable-videomixer was given.
27182 if test "${enable_videomixer+set}" = set; then :
27183 enableval=$enable_videomixer;
27184 case "${enableval}" in
27185 yes) gst_use_videomixer=yes ;;
27186 no) gst_use_videomixer=no ;;
27187 *) as_fn_error $? "bad value ${enableval} for --enable-videomixer" "$LINENO" 5 ;;
27191 gst_use_videomixer=yes
27194 if test x$gst_use_videomixer = xno; then
27195 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videomixer" >&5
27196 $as_echo "$as_me: disabling dependency-less plugin videomixer" >&6;}
27197 WITHOUT_PLUGINS="$WITHOUT_PLUGINS videomixer"
27201 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videomixer " > /dev/null; then
27202 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videomixer"
27204 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videomixer " > /dev/null; then
27205 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videomixer / /'`
27207 if echo " $GST_PLUGINS_SELECTED " | grep -i " videomixer " > /dev/null; then
27208 USE_PLUGIN_VIDEOMIXER_TRUE=
27209 USE_PLUGIN_VIDEOMIXER_FALSE='#'
27211 USE_PLUGIN_VIDEOMIXER_TRUE='#'
27212 USE_PLUGIN_VIDEOMIXER_FALSE=
27217 GST_PLUGINS_ALL="$GST_PLUGINS_ALL wavenc"
27221 # Check whether --enable-wavenc was given.
27222 if test "${enable_wavenc+set}" = set; then :
27223 enableval=$enable_wavenc;
27224 case "${enableval}" in
27225 yes) gst_use_wavenc=yes ;;
27226 no) gst_use_wavenc=no ;;
27227 *) as_fn_error $? "bad value ${enableval} for --enable-wavenc" "$LINENO" 5 ;;
27234 if test x$gst_use_wavenc = xno; then
27235 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin wavenc" >&5
27236 $as_echo "$as_me: disabling dependency-less plugin wavenc" >&6;}
27237 WITHOUT_PLUGINS="$WITHOUT_PLUGINS wavenc"
27241 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " wavenc " > /dev/null; then
27242 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED wavenc"
27244 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " wavenc " > /dev/null; then
27245 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ wavenc / /'`
27247 if echo " $GST_PLUGINS_SELECTED " | grep -i " wavenc " > /dev/null; then
27248 USE_PLUGIN_WAVENC_TRUE=
27249 USE_PLUGIN_WAVENC_FALSE='#'
27251 USE_PLUGIN_WAVENC_TRUE='#'
27252 USE_PLUGIN_WAVENC_FALSE=
27257 GST_PLUGINS_ALL="$GST_PLUGINS_ALL wavparse"
27261 # Check whether --enable-wavparse was given.
27262 if test "${enable_wavparse+set}" = set; then :
27263 enableval=$enable_wavparse;
27264 case "${enableval}" in
27265 yes) gst_use_wavparse=yes ;;
27266 no) gst_use_wavparse=no ;;
27267 *) as_fn_error $? "bad value ${enableval} for --enable-wavparse" "$LINENO" 5 ;;
27271 gst_use_wavparse=yes
27274 if test x$gst_use_wavparse = xno; then
27275 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin wavparse" >&5
27276 $as_echo "$as_me: disabling dependency-less plugin wavparse" >&6;}
27277 WITHOUT_PLUGINS="$WITHOUT_PLUGINS wavparse"
27281 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " wavparse " > /dev/null; then
27282 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED wavparse"
27284 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " wavparse " > /dev/null; then
27285 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ wavparse / /'`
27287 if echo " $GST_PLUGINS_SELECTED " | grep -i " wavparse " > /dev/null; then
27288 USE_PLUGIN_WAVPARSE_TRUE=
27289 USE_PLUGIN_WAVPARSE_FALSE='#'
27291 USE_PLUGIN_WAVPARSE_TRUE='#'
27292 USE_PLUGIN_WAVPARSE_FALSE=
27297 GST_PLUGINS_ALL="$GST_PLUGINS_ALL y4m"
27301 # Check whether --enable-y4m was given.
27302 if test "${enable_y4m+set}" = set; then :
27303 enableval=$enable_y4m;
27304 case "${enableval}" in
27305 yes) gst_use_y4m=yes ;;
27306 no) gst_use_y4m=no ;;
27307 *) as_fn_error $? "bad value ${enableval} for --enable-y4m" "$LINENO" 5 ;;
27314 if test x$gst_use_y4m = xno; then
27315 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin y4m" >&5
27316 $as_echo "$as_me: disabling dependency-less plugin y4m" >&6;}
27317 WITHOUT_PLUGINS="$WITHOUT_PLUGINS y4m"
27321 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " y4m " > /dev/null; then
27322 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED y4m"
27324 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " y4m " > /dev/null; then
27325 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ y4m / /'`
27327 if echo " $GST_PLUGINS_SELECTED " | grep -i " y4m " > /dev/null; then
27328 USE_PLUGIN_Y4M_TRUE=
27329 USE_PLUGIN_Y4M_FALSE='#'
27331 USE_PLUGIN_Y4M_TRUE='#'
27332 USE_PLUGIN_Y4M_FALSE=
27337 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
27338 if test "x$ac_cv_func_socket" = x""yes; then :
27341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
27342 $as_echo_n "checking for socket in -lsocket... " >&6; }
27343 if test "${ac_cv_lib_socket_socket+set}" = set; then :
27344 $as_echo_n "(cached) " >&6
27346 ac_check_lib_save_LIBS=$LIBS
27347 LIBS="-lsocket $LIBS"
27348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27349 /* end confdefs.h. */
27351 /* Override any GCC internal prototype to avoid an error.
27352 Use char because int might match the return type of a GCC
27353 builtin and then its argument prototype would still apply. */
27366 if ac_fn_c_try_link "$LINENO"; then :
27367 ac_cv_lib_socket_socket=yes
27369 ac_cv_lib_socket_socket=no
27371 rm -f core conftest.err conftest.$ac_objext \
27372 conftest$ac_exeext conftest.$ac_ext
27373 LIBS=$ac_check_lib_save_LIBS
27375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
27376 $as_echo "$ac_cv_lib_socket_socket" >&6; }
27377 if test "x$ac_cv_lib_socket_socket" = x""yes; then :
27378 cat >>confdefs.h <<_ACEOF
27379 #define HAVE_LIBSOCKET 1
27382 LIBS="-lsocket $LIBS"
27389 for ac_header in sys/socket.h
27391 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
27392 if test "x$ac_cv_header_sys_socket_h" = x""yes; then :
27393 cat >>confdefs.h <<_ACEOF
27394 #define HAVE_SYS_SOCKET_H 1
27396 HAVE_SYS_SOCKET_H=yes
27401 for ac_header in winsock2.h
27403 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
27404 if test "x$ac_cv_header_winsock2_h" = x""yes; then :
27405 cat >>confdefs.h <<_ACEOF
27406 #define HAVE_WINSOCK2_H 1
27408 HAVE_WINSOCK2_H=yes
27414 if test "x$HAVE_SYS_SOCKET_H" != "xyes" -a "x$HAVE_WINSOCK2_H" != "xyes"; then
27416 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ udp / /'`
27418 USE_PLUGIN_UDP_TRUE=
27419 USE_PLUGIN_UDP_FALSE='#'
27421 USE_PLUGIN_UDP_TRUE='#'
27422 USE_PLUGIN_UDP_FALSE=
27427 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ rtsp / /'`
27429 USE_PLUGIN_RTSP_TRUE=
27430 USE_PLUGIN_RTSP_FALSE='#'
27432 USE_PLUGIN_RTSP_TRUE='#'
27433 USE_PLUGIN_RTSP_FALSE=
27439 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
27440 WIN32_LIBS="-lws2_32"
27444 if test "x$BUILD_EXPERIMENTAL" != "xyes"; then
27446 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ monoscope / /'`
27448 USE_PLUGIN_MONOSCOPE_TRUE=
27449 USE_PLUGIN_MONOSCOPE_FALSE='#'
27451 USE_PLUGIN_MONOSCOPE_TRUE='#'
27452 USE_PLUGIN_MONOSCOPE_FALSE=
27460 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking libraries for plugins in sys/" >&5
27461 $as_echo "$as_me: Checking libraries for plugins in sys/" >&6;}
27465 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: DirectSound plug-in ***" >&5
27466 $as_echo "$as_me: *** checking feature: DirectSound plug-in ***" >&6;}
27467 if test "xdirectsoundsink" != "x"
27469 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: directsoundsink ***" >&5
27470 $as_echo "$as_me: *** for plug-ins: directsoundsink ***" >&6;}
27473 if test "x$USE_DIRECTSOUND" = "xno"; then
27476 # Check whether --enable-directsound was given.
27477 if test "${enable_directsound+set}" = set; then :
27478 enableval=$enable_directsound; case "${enableval}" in
27479 yes) USE_DIRECTSOUND=yes;;
27480 no) USE_DIRECTSOUND=no;;
27481 *) as_fn_error $? "bad value ${enableval} for --enable-directsound" "$LINENO" 5 ;;
27484 USE_DIRECTSOUND=yes
27487 if test "x$NOUSE" = "xyes"; then
27488 USE_DIRECTSOUND="no"
27489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** directsoundsink pre-configured not to be built" >&5
27490 $as_echo "$as_me: WARNING: *** directsoundsink pre-configured not to be built" >&2;}
27495 if test x$USE_DIRECTSOUND = xyes; then
27497 gst_check_save_LIBS=$LIBS
27498 gst_check_save_LDFLAGS=$LDFLAGS
27499 gst_check_save_CFLAGS=$CFLAGS
27500 gst_check_save_CPPFLAGS=$CPPFLAGS
27501 gst_check_save_CXXFLAGS=$CXXFLAGS
27503 HAVE_DIRECTSOUND=no
27505 HAVE_DIRECTSOUND="no"
27506 save_CFLAGS="$CFLAGS"
27507 save_LDFLAGS="$LDFLAGS"
27509 CFLAGS="$CFLAGS $DIRECTSOUND_CFLAGS"
27510 LDFLAGS="$LDFLAGS $DIRECTSOUND_LDFLAGS"
27511 LIBS="$LIBS -ldsound -ldxerr9 -luser32"
27512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DirectSound LDFLAGS" >&5
27513 $as_echo_n "checking for DirectSound LDFLAGS... " >&6; }
27514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27515 /* end confdefs.h. */
27517 #include <windows.h>
27518 #include <dxerr9.h>
27519 #include <dsound.h>
27523 DXGetErrorString9 (0);
27524 DirectSoundCreate(NULL, NULL, NULL);
27530 if ac_fn_c_try_link "$LINENO"; then :
27531 HAVE_DIRECTSOUND="yes"
27533 HAVE_DIRECTSOUND="no"
27535 rm -f core conftest.err conftest.$ac_objext \
27536 conftest$ac_exeext conftest.$ac_ext
27537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DIRECTSOUND" >&5
27538 $as_echo "$HAVE_DIRECTSOUND" >&6; }
27539 CFLAGS=$save_CFLAGS
27540 LDFLAGS=$save_LDFLAGS
27543 if test "x$HAVE_DIRECTSOUND" = "xyes"; then
27544 DIRECTSOUND_LIBS="-ldsound -ldxerr9 -luser32"
27552 LIBS=$gst_check_save_LIBS
27553 LDFLAGS=$gst_check_save_LDFLAGS
27554 CFLAGS=$gst_check_save_CFLAGS
27555 CPPFLAGS=$gst_check_save_CPPFLAGS
27556 CXXFLAGS=$gst_check_save_CXXFLAGS
27558 if test x$HAVE_DIRECTSOUND = xno; then
27561 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: directsoundsink" >&5
27562 $as_echo "$as_me: *** These plugins will be built: directsoundsink" >&6;}
27565 if test x$USE_DIRECTSOUND = xyes; then
27567 if test "xdirectsoundsink" != "x"; then
27568 GST_PLUGINS_YES="\tdirectsoundsink\n$GST_PLUGINS_YES"
27571 $as_echo "#define HAVE_DIRECTSOUND /**/" >>confdefs.h
27574 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: directsoundsink" >&5
27575 $as_echo "$as_me: *** These plugins will not be built: directsoundsink" >&6;}
27576 if test "xdirectsoundsink" != "x"; then
27577 GST_PLUGINS_NO="\tdirectsoundsink\n$GST_PLUGINS_NO"
27581 if test x$USE_DIRECTSOUND = xyes; then
27582 USE_DIRECTSOUND_TRUE=
27583 USE_DIRECTSOUND_FALSE='#'
27585 USE_DIRECTSOUND_TRUE='#'
27586 USE_DIRECTSOUND_FALSE=
27592 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: OSS audio ***" >&5
27593 $as_echo "$as_me: *** checking feature: OSS audio ***" >&6;}
27594 if test "xossaudio" != "x"
27596 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ossaudio ***" >&5
27597 $as_echo "$as_me: *** for plug-ins: ossaudio ***" >&6;}
27600 if test "x$USE_OSS" = "xno"; then
27603 # Check whether --enable-oss was given.
27604 if test "${enable_oss+set}" = set; then :
27605 enableval=$enable_oss; case "${enableval}" in
27608 *) as_fn_error $? "bad value ${enableval} for --enable-oss" "$LINENO" 5 ;;
27614 if test "x$NOUSE" = "xyes"; then
27616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ossaudio pre-configured not to be built" >&5
27617 $as_echo "$as_me: WARNING: *** ossaudio pre-configured not to be built" >&2;}
27622 if test x$USE_OSS = xyes; then
27624 gst_check_save_LIBS=$LIBS
27625 gst_check_save_LDFLAGS=$LDFLAGS
27626 gst_check_save_CFLAGS=$CFLAGS
27627 gst_check_save_CPPFLAGS=$CPPFLAGS
27628 gst_check_save_CXXFLAGS=$CXXFLAGS
27633 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
27634 if test "x$ac_cv_header_sys_soundcard_h" = x""yes; then :
27637 $as_echo "#define HAVE_OSS_INCLUDE_IN_SYS /**/" >>confdefs.h
27642 ac_fn_c_check_header_mongrel "$LINENO" "soundcard.h" "ac_cv_header_soundcard_h" "$ac_includes_default"
27643 if test "x$ac_cv_header_soundcard_h" = x""yes; then :
27646 $as_echo "#define HAVE_OSS_INCLUDE_IN_ROOT /**/" >>confdefs.h
27651 ac_fn_c_check_header_mongrel "$LINENO" "machine/soundcard.h" "ac_cv_header_machine_soundcard_h" "$ac_includes_default"
27652 if test "x$ac_cv_header_machine_soundcard_h" = x""yes; then :
27655 $as_echo "#define HAVE_OSS_INCLUDE_IN_MACHINE /**/" >>confdefs.h
27675 LIBS=$gst_check_save_LIBS
27676 LDFLAGS=$gst_check_save_LDFLAGS
27677 CFLAGS=$gst_check_save_CFLAGS
27678 CPPFLAGS=$gst_check_save_CPPFLAGS
27679 CXXFLAGS=$gst_check_save_CXXFLAGS
27681 if test x$HAVE_OSS = xno; then
27684 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ossaudio" >&5
27685 $as_echo "$as_me: *** These plugins will be built: ossaudio" >&6;}
27688 if test x$USE_OSS = xyes; then
27690 if test "xossaudio" != "x"; then
27691 GST_PLUGINS_YES="\tossaudio\n$GST_PLUGINS_YES"
27694 $as_echo "#define HAVE_OSS /**/" >>confdefs.h
27697 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ossaudio" >&5
27698 $as_echo "$as_me: *** These plugins will not be built: ossaudio" >&6;}
27699 if test "xossaudio" != "x"; then
27700 GST_PLUGINS_NO="\tossaudio\n$GST_PLUGINS_NO"
27704 if test x$USE_OSS = xyes; then
27715 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Open Sound System 4 ***" >&5
27716 $as_echo "$as_me: *** checking feature: Open Sound System 4 ***" >&6;}
27717 if test "xoss4" != "x"
27719 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: oss4 ***" >&5
27720 $as_echo "$as_me: *** for plug-ins: oss4 ***" >&6;}
27723 if test "x$USE_OSS4" = "xno"; then
27726 # Check whether --enable-oss4 was given.
27727 if test "${enable_oss4+set}" = set; then :
27728 enableval=$enable_oss4; case "${enableval}" in
27729 yes) USE_OSS4=yes;;
27731 *) as_fn_error $? "bad value ${enableval} for --enable-oss4" "$LINENO" 5 ;;
27737 if test "x$NOUSE" = "xyes"; then
27739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** oss4 pre-configured not to be built" >&5
27740 $as_echo "$as_me: WARNING: *** oss4 pre-configured not to be built" >&2;}
27745 if test x$USE_OSS4 = xyes; then
27747 gst_check_save_LIBS=$LIBS
27748 gst_check_save_LDFLAGS=$LDFLAGS
27749 gst_check_save_CFLAGS=$CFLAGS
27750 gst_check_save_CPPFLAGS=$CPPFLAGS
27751 gst_check_save_CXXFLAGS=$CXXFLAGS
27755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking if we can build the OSS4 elements" >&5
27756 $as_echo_n "checking Checking if we can build the OSS4 elements... " >&6; }
27757 for ac_header in fcntl.h sys/ioctl.h sys/stat.h sys/types.h
27759 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
27760 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
27761 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
27762 cat >>confdefs.h <<_ACEOF
27763 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
27765 test -z "$OSS4_MISSING_HEADER" && HAVE_OSS4="yes"
27767 OSS4_MISSING_HEADER="yes";HAVE_OSS4="no"
27774 LIBS=$gst_check_save_LIBS
27775 LDFLAGS=$gst_check_save_LDFLAGS
27776 CFLAGS=$gst_check_save_CFLAGS
27777 CPPFLAGS=$gst_check_save_CPPFLAGS
27778 CXXFLAGS=$gst_check_save_CXXFLAGS
27780 if test x$HAVE_OSS4 = xno; then
27783 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: oss4" >&5
27784 $as_echo "$as_me: *** These plugins will be built: oss4" >&6;}
27787 if test x$USE_OSS4 = xyes; then
27789 if test "xoss4" != "x"; then
27790 GST_PLUGINS_YES="\toss4\n$GST_PLUGINS_YES"
27793 $as_echo "#define HAVE_OSS4 /**/" >>confdefs.h
27796 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: oss4" >&5
27797 $as_echo "$as_me: *** These plugins will not be built: oss4" >&6;}
27798 if test "xoss4" != "x"; then
27799 GST_PLUGINS_NO="\toss4\n$GST_PLUGINS_NO"
27803 if test x$USE_OSS4 = xyes; then
27814 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Sun Audio ***" >&5
27815 $as_echo "$as_me: *** checking feature: Sun Audio ***" >&6;}
27816 if test "xsunaudio" != "x"
27818 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: sunaudio ***" >&5
27819 $as_echo "$as_me: *** for plug-ins: sunaudio ***" >&6;}
27822 if test "x$USE_SUNAUDIO" = "xno"; then
27825 # Check whether --enable-sunaudio was given.
27826 if test "${enable_sunaudio+set}" = set; then :
27827 enableval=$enable_sunaudio; case "${enableval}" in
27828 yes) USE_SUNAUDIO=yes;;
27829 no) USE_SUNAUDIO=no;;
27830 *) as_fn_error $? "bad value ${enableval} for --enable-sunaudio" "$LINENO" 5 ;;
27836 if test "x$NOUSE" = "xyes"; then
27838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** sunaudio pre-configured not to be built" >&5
27839 $as_echo "$as_me: WARNING: *** sunaudio pre-configured not to be built" >&2;}
27844 if test x$USE_SUNAUDIO = xyes; then
27846 gst_check_save_LIBS=$LIBS
27847 gst_check_save_LDFLAGS=$LDFLAGS
27848 gst_check_save_CFLAGS=$CFLAGS
27849 gst_check_save_CPPFLAGS=$CPPFLAGS
27850 gst_check_save_CXXFLAGS=$CXXFLAGS
27854 ac_fn_c_check_header_mongrel "$LINENO" "sys/audioio.h" "ac_cv_header_sys_audioio_h" "$ac_includes_default"
27855 if test "x$ac_cv_header_sys_audioio_h" = x""yes; then :
27856 HAVE_SUNAUDIO="yes"
27864 LIBS=$gst_check_save_LIBS
27865 LDFLAGS=$gst_check_save_LDFLAGS
27866 CFLAGS=$gst_check_save_CFLAGS
27867 CPPFLAGS=$gst_check_save_CPPFLAGS
27868 CXXFLAGS=$gst_check_save_CXXFLAGS
27870 if test x$HAVE_SUNAUDIO = xno; then
27873 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: sunaudio" >&5
27874 $as_echo "$as_me: *** These plugins will be built: sunaudio" >&6;}
27877 if test x$USE_SUNAUDIO = xyes; then
27879 if test "xsunaudio" != "x"; then
27880 GST_PLUGINS_YES="\tsunaudio\n$GST_PLUGINS_YES"
27883 $as_echo "#define HAVE_SUNAUDIO /**/" >>confdefs.h
27886 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: sunaudio" >&5
27887 $as_echo "$as_me: *** These plugins will not be built: sunaudio" >&6;}
27888 if test "xsunaudio" != "x"; then
27889 GST_PLUGINS_NO="\tsunaudio\n$GST_PLUGINS_NO"
27893 if test x$USE_SUNAUDIO = xyes; then
27895 USE_SUNAUDIO_FALSE='#'
27897 USE_SUNAUDIO_TRUE='#'
27898 USE_SUNAUDIO_FALSE=
27904 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: OSX audio ***" >&5
27905 $as_echo "$as_me: *** checking feature: OSX audio ***" >&6;}
27906 if test "xosxaudio" != "x"
27908 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: osxaudio ***" >&5
27909 $as_echo "$as_me: *** for plug-ins: osxaudio ***" >&6;}
27912 if test "x$USE_OSX_AUDIO" = "xno"; then
27915 # Check whether --enable-osx_audio was given.
27916 if test "${enable_osx_audio+set}" = set; then :
27917 enableval=$enable_osx_audio; case "${enableval}" in
27918 yes) USE_OSX_AUDIO=yes;;
27919 no) USE_OSX_AUDIO=no;;
27920 *) as_fn_error $? "bad value ${enableval} for --enable-osx_audio" "$LINENO" 5 ;;
27926 if test "x$NOUSE" = "xyes"; then
27928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** osxaudio pre-configured not to be built" >&5
27929 $as_echo "$as_me: WARNING: *** osxaudio pre-configured not to be built" >&2;}
27934 if test x$USE_OSX_AUDIO = xyes; then
27936 gst_check_save_LIBS=$LIBS
27937 gst_check_save_LDFLAGS=$LDFLAGS
27938 gst_check_save_CFLAGS=$CFLAGS
27939 gst_check_save_CPPFLAGS=$CPPFLAGS
27940 gst_check_save_CXXFLAGS=$CXXFLAGS
27944 ac_fn_c_check_header_mongrel "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
27945 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = x""yes; then :
27946 HAVE_OSX_AUDIO="yes"
27948 HAVE_OSX_AUDIO="no"
27954 LIBS=$gst_check_save_LIBS
27955 LDFLAGS=$gst_check_save_LDFLAGS
27956 CFLAGS=$gst_check_save_CFLAGS
27957 CPPFLAGS=$gst_check_save_CPPFLAGS
27958 CXXFLAGS=$gst_check_save_CXXFLAGS
27960 if test x$HAVE_OSX_AUDIO = xno; then
27963 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: osxaudio" >&5
27964 $as_echo "$as_me: *** These plugins will be built: osxaudio" >&6;}
27967 if test x$USE_OSX_AUDIO = xyes; then
27969 if test "xosxaudio" != "x"; then
27970 GST_PLUGINS_YES="\tosxaudio\n$GST_PLUGINS_YES"
27973 $as_echo "#define HAVE_OSX_AUDIO /**/" >>confdefs.h
27976 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: osxaudio" >&5
27977 $as_echo "$as_me: *** These plugins will not be built: osxaudio" >&6;}
27978 if test "xosxaudio" != "x"; then
27979 GST_PLUGINS_NO="\tosxaudio\n$GST_PLUGINS_NO"
27983 if test x$USE_OSX_AUDIO = xyes; then
27984 USE_OSX_AUDIO_TRUE=
27985 USE_OSX_AUDIO_FALSE='#'
27987 USE_OSX_AUDIO_TRUE='#'
27988 USE_OSX_AUDIO_FALSE=
27993 HAVE_OSX_VIDEO="no"
27995 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: OSX video ***" >&5
27996 $as_echo "$as_me: *** checking feature: OSX video ***" >&6;}
27997 if test "xosxvideosink" != "x"
27999 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: osxvideosink ***" >&5
28000 $as_echo "$as_me: *** for plug-ins: osxvideosink ***" >&6;}
28003 if test "x$USE_OSX_VIDEO" = "xno"; then
28006 # Check whether --enable-osx_video was given.
28007 if test "${enable_osx_video+set}" = set; then :
28008 enableval=$enable_osx_video; case "${enableval}" in
28009 yes) USE_OSX_VIDEO=yes;;
28010 no) USE_OSX_VIDEO=no;;
28011 *) as_fn_error $? "bad value ${enableval} for --enable-osx_video" "$LINENO" 5 ;;
28017 if test "x$NOUSE" = "xyes"; then
28019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** osxvideosink pre-configured not to be built" >&5
28020 $as_echo "$as_me: WARNING: *** osxvideosink pre-configured not to be built" >&2;}
28025 if test x$USE_OSX_VIDEO = xyes; then
28027 gst_check_save_LIBS=$LIBS
28028 gst_check_save_LDFLAGS=$LDFLAGS
28029 gst_check_save_CFLAGS=$CFLAGS
28030 gst_check_save_CPPFLAGS=$CPPFLAGS
28031 gst_check_save_CXXFLAGS=$CXXFLAGS
28035 ac_fn_c_check_header_mongrel "$LINENO" "OpenGL/gl.h" "ac_cv_header_OpenGL_gl_h" "$ac_includes_default"
28036 if test "x$ac_cv_header_OpenGL_gl_h" = x""yes; then :
28037 HAVE_OSX_VIDEO="yes"
28039 HAVE_OSX_VIDEO="no"
28045 LIBS=$gst_check_save_LIBS
28046 LDFLAGS=$gst_check_save_LDFLAGS
28047 CFLAGS=$gst_check_save_CFLAGS
28048 CPPFLAGS=$gst_check_save_CPPFLAGS
28049 CXXFLAGS=$gst_check_save_CXXFLAGS
28051 if test x$HAVE_OSX_VIDEO = xno; then
28054 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: osxvideosink" >&5
28055 $as_echo "$as_me: *** These plugins will be built: osxvideosink" >&6;}
28058 if test x$USE_OSX_VIDEO = xyes; then
28060 if test "xosxvideosink" != "x"; then
28061 GST_PLUGINS_YES="\tosxvideosink\n$GST_PLUGINS_YES"
28064 $as_echo "#define HAVE_OSX_VIDEO /**/" >>confdefs.h
28067 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: osxvideosink" >&5
28068 $as_echo "$as_me: *** These plugins will not be built: osxvideosink" >&6;}
28069 if test "xosxvideosink" != "x"; then
28070 GST_PLUGINS_NO="\tosxvideosink\n$GST_PLUGINS_NO"
28074 if test x$USE_OSX_VIDEO = xyes; then
28075 USE_OSX_VIDEO_TRUE=
28076 USE_OSX_VIDEO_FALSE='#'
28078 USE_OSX_VIDEO_TRUE='#'
28079 USE_OSX_VIDEO_FALSE=
28087 HAVE_OSX_VIDEO="no"
28093 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Video 4 Linux 2 ***" >&5
28094 $as_echo "$as_me: *** checking feature: Video 4 Linux 2 ***" >&6;}
28095 if test "xv4l2src" != "x"
28097 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: v4l2src ***" >&5
28098 $as_echo "$as_me: *** for plug-ins: v4l2src ***" >&6;}
28101 if test "x$USE_GST_V4L2" = "xno"; then
28104 # Check whether --enable-gst_v4l2 was given.
28105 if test "${enable_gst_v4l2+set}" = set; then :
28106 enableval=$enable_gst_v4l2; case "${enableval}" in
28107 yes) USE_GST_V4L2=yes;;
28108 no) USE_GST_V4L2=no;;
28109 *) as_fn_error $? "bad value ${enableval} for --enable-gst_v4l2" "$LINENO" 5 ;;
28115 if test "x$NOUSE" = "xyes"; then
28117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** v4l2src pre-configured not to be built" >&5
28118 $as_echo "$as_me: WARNING: *** v4l2src pre-configured not to be built" >&2;}
28123 if test x$USE_GST_V4L2 = xyes; then
28125 gst_check_save_LIBS=$LIBS
28126 gst_check_save_LDFLAGS=$LDFLAGS
28127 gst_check_save_CFLAGS=$CFLAGS
28128 gst_check_save_CPPFLAGS=$CPPFLAGS
28129 gst_check_save_CXXFLAGS=$CXXFLAGS
28133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for up to date v4l2 installation" >&5
28134 $as_echo_n "checking Checking for up to date v4l2 installation... " >&6; }
28135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28136 /* end confdefs.h. */
28138 #include <sys/types.h>
28139 #ifdef __sun /* Solaris */
28140 #include <sys/types.h>
28141 #include <sys/videodev2.h>
28143 #include <linux/types.h>
28144 #define _LINUX_TIME_H
28146 #include <linux/videodev2.h>
28148 #if defined(V4L2_MAJOR_VERSION) || defined(V4L2_MINOR_VERSION)
28149 #error too early v4l2 version or no v4l2 at all
28162 if ac_fn_c_try_compile "$LINENO"; then :
28164 HAVE_GST_V4L2="yes"
28165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28166 $as_echo "yes" >&6; }
28171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28172 $as_echo "no" >&6; }
28175 ac_fn_c_check_header_mongrel "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "$ac_includes_default"
28176 if test "x$ac_cv_header_linux_videodev2_h" = x""yes; then :
28180 ac_fn_c_check_header_mongrel "$LINENO" "sys/videodev2.h" "ac_cv_header_sys_videodev2_h" "$ac_includes_default"
28181 if test "x$ac_cv_header_sys_videodev2_h" = x""yes; then :
28191 if test "x$HAVE_VIDEODEV" = "xyes"; then
28192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: video4linux2 headers were found, but they're old." >&5
28193 $as_echo "$as_me: WARNING: video4linux2 headers were found, but they're old." >&2;}
28194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Please update v4l2 to compile the v4l2 plugins" >&5
28195 $as_echo "$as_me: WARNING: Please update v4l2 to compile the v4l2 plugins" >&2;}
28197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: video4linux2 was not found" >&5
28198 $as_echo "$as_me: WARNING: video4linux2 was not found" >&2;}
28202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28204 if test x$HAVE_GST_V4L2 = xyes ; then
28206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking struct v4l2_buffer declaration" >&5
28207 $as_echo_n "checking struct v4l2_buffer declaration... " >&6; }
28208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28209 /* end confdefs.h. */
28211 #include <sys/types.h>
28212 #ifdef __sun /* Solaris */
28213 #include <sys/types.h>
28214 #include <sys/videodev2.h>
28216 #include <linux/types.h>
28217 #define _LINUX_TIME_H
28219 #include <linux/videodev2.h>
28226 struct v4l2_buffer buf;
28234 if ac_fn_c_try_compile "$LINENO"; then :
28235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28236 $as_echo "yes" >&6; }
28238 MISSING_DECL=1 && { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28239 $as_echo "no" >&6; }
28241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28242 if test x$MISSING_DECL = x1 ; then
28244 $as_echo "#define GST_V4L2_MISSING_BUFDECL 1" >>confdefs.h
28249 if test x$HAVE_X = xyes; then
28250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv_pic" >&5
28251 $as_echo_n "checking for XvQueryExtension in -lXv_pic... " >&6; }
28252 if test "${ac_cv_lib_Xv_pic_XvQueryExtension+set}" = set; then :
28253 $as_echo_n "(cached) " >&6
28255 ac_check_lib_save_LIBS=$LIBS
28256 LIBS="-lXv_pic $X_LIBS -lXext $LIBS"
28257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28258 /* end confdefs.h. */
28260 /* Override any GCC internal prototype to avoid an error.
28261 Use char because int might match the return type of a GCC
28262 builtin and then its argument prototype would still apply. */
28266 char XvQueryExtension ();
28270 return XvQueryExtension ();
28275 if ac_fn_c_try_link "$LINENO"; then :
28276 ac_cv_lib_Xv_pic_XvQueryExtension=yes
28278 ac_cv_lib_Xv_pic_XvQueryExtension=no
28280 rm -f core conftest.err conftest.$ac_objext \
28281 conftest$ac_exeext conftest.$ac_ext
28282 LIBS=$ac_check_lib_save_LIBS
28284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_pic_XvQueryExtension" >&5
28285 $as_echo "$ac_cv_lib_Xv_pic_XvQueryExtension" >&6; }
28286 if test "x$ac_cv_lib_Xv_pic_XvQueryExtension" = x""yes; then :
28293 if test x$HAVE_XVIDEO = xyes; then
28294 XVIDEO_LIBS="-lXv_pic -lXext"
28297 if test x$HAVE_XVIDEO = xno; then
28298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv" >&5
28299 $as_echo_n "checking for XvQueryExtension in -lXv... " >&6; }
28300 if test "${ac_cv_lib_Xv_XvQueryExtension+set}" = set; then :
28301 $as_echo_n "(cached) " >&6
28303 ac_check_lib_save_LIBS=$LIBS
28304 LIBS="-lXv $X_LIBS -lXext $LIBS"
28305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28306 /* end confdefs.h. */
28308 /* Override any GCC internal prototype to avoid an error.
28309 Use char because int might match the return type of a GCC
28310 builtin and then its argument prototype would still apply. */
28314 char XvQueryExtension ();
28318 return XvQueryExtension ();
28323 if ac_fn_c_try_link "$LINENO"; then :
28324 ac_cv_lib_Xv_XvQueryExtension=yes
28326 ac_cv_lib_Xv_XvQueryExtension=no
28328 rm -f core conftest.err conftest.$ac_objext \
28329 conftest$ac_exeext conftest.$ac_ext
28330 LIBS=$ac_check_lib_save_LIBS
28332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_XvQueryExtension" >&5
28333 $as_echo "$ac_cv_lib_Xv_XvQueryExtension" >&6; }
28334 if test "x$ac_cv_lib_Xv_XvQueryExtension" = x""yes; then :
28341 if test x$HAVE_XVIDEO = xyes; then
28342 XVIDEO_LIBS="-lXv -lXext"
28352 LIBS=$gst_check_save_LIBS
28353 LDFLAGS=$gst_check_save_LDFLAGS
28354 CFLAGS=$gst_check_save_CFLAGS
28355 CPPFLAGS=$gst_check_save_CPPFLAGS
28356 CXXFLAGS=$gst_check_save_CXXFLAGS
28358 if test x$HAVE_GST_V4L2 = xno; then
28361 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: v4l2src" >&5
28362 $as_echo "$as_me: *** These plugins will be built: v4l2src" >&6;}
28365 if test x$USE_GST_V4L2 = xyes; then
28367 if test "xv4l2src" != "x"; then
28368 GST_PLUGINS_YES="\tv4l2src\n$GST_PLUGINS_YES"
28371 $as_echo "#define HAVE_GST_V4L2 /**/" >>confdefs.h
28374 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: v4l2src" >&5
28375 $as_echo "$as_me: *** These plugins will not be built: v4l2src" >&6;}
28376 if test "xv4l2src" != "x"; then
28377 GST_PLUGINS_NO="\tv4l2src\n$GST_PLUGINS_NO"
28381 if test x$USE_GST_V4L2 = xyes; then
28383 USE_GST_V4L2_FALSE='#'
28385 USE_GST_V4L2_TRUE='#'
28386 USE_GST_V4L2_FALSE=
28391 # Optional gudev for device probing
28393 # Check whether --with-gudev was given.
28394 if test "${with_gudev+set}" = set; then :
28395 withval=$with_gudev;
28400 if test x$HAVE_GST_V4L2 = xyes; then
28401 if test x$with_gudev != xno; then
28404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUDEV" >&5
28405 $as_echo_n "checking for GUDEV... " >&6; }
28407 if test -n "$PKG_CONFIG"; then
28408 if test -n "$GUDEV_CFLAGS"; then
28409 pkg_cv_GUDEV_CFLAGS="$GUDEV_CFLAGS"
28411 if test -n "$PKG_CONFIG" && \
28412 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gudev-1.0 >= 143 \""; } >&5
28413 ($PKG_CONFIG --exists --print-errors " gudev-1.0 >= 143 ") 2>&5
28415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28416 test $ac_status = 0; }; then
28417 pkg_cv_GUDEV_CFLAGS=`$PKG_CONFIG --cflags " gudev-1.0 >= 143 " 2>/dev/null`
28425 if test -n "$PKG_CONFIG"; then
28426 if test -n "$GUDEV_LIBS"; then
28427 pkg_cv_GUDEV_LIBS="$GUDEV_LIBS"
28429 if test -n "$PKG_CONFIG" && \
28430 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gudev-1.0 >= 143 \""; } >&5
28431 ($PKG_CONFIG --exists --print-errors " gudev-1.0 >= 143 ") 2>&5
28433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28434 test $ac_status = 0; }; then
28435 pkg_cv_GUDEV_LIBS=`$PKG_CONFIG --libs " gudev-1.0 >= 143 " 2>/dev/null`
28446 if test $pkg_failed = yes; then
28448 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28449 _pkg_short_errors_supported=yes
28451 _pkg_short_errors_supported=no
28453 if test $_pkg_short_errors_supported = yes; then
28454 GUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " gudev-1.0 >= 143 "`
28456 GUDEV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " gudev-1.0 >= 143 "`
28458 # Put the nasty error message in config.log where it belongs
28459 echo "$GUDEV_PKG_ERRORS" >&5
28461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28462 $as_echo "no" >&6; }
28466 elif test $pkg_failed = untried; then
28471 GUDEV_CFLAGS=$pkg_cv_GUDEV_CFLAGS
28472 GUDEV_LIBS=$pkg_cv_GUDEV_LIBS
28473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28474 $as_echo "yes" >&6; }
28477 $as_echo "#define HAVE_GUDEV 1" >>confdefs.h
28480 $as_echo "#define G_UDEV_API_IS_SUBJECT_TO_CHANGE 1" >>confdefs.h
28491 # Make libv4l2 non-automagic
28493 # Check whether --with-libv4l2 was given.
28494 if test "${with_libv4l2+set}" = set; then :
28495 withval=$with_libv4l2;
28500 if test x$HAVE_GST_V4L2 = xyes; then
28501 if test x$with_libv4l2 != xno; then
28504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBV4L2" >&5
28505 $as_echo_n "checking for LIBV4L2... " >&6; }
28507 if test -n "$PKG_CONFIG"; then
28508 if test -n "$LIBV4L2_CFLAGS"; then
28509 pkg_cv_LIBV4L2_CFLAGS="$LIBV4L2_CFLAGS"
28511 if test -n "$PKG_CONFIG" && \
28512 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libv4l2\""; } >&5
28513 ($PKG_CONFIG --exists --print-errors "libv4l2") 2>&5
28515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28516 test $ac_status = 0; }; then
28517 pkg_cv_LIBV4L2_CFLAGS=`$PKG_CONFIG --cflags "libv4l2" 2>/dev/null`
28525 if test -n "$PKG_CONFIG"; then
28526 if test -n "$LIBV4L2_LIBS"; then
28527 pkg_cv_LIBV4L2_LIBS="$LIBV4L2_LIBS"
28529 if test -n "$PKG_CONFIG" && \
28530 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libv4l2\""; } >&5
28531 ($PKG_CONFIG --exists --print-errors "libv4l2") 2>&5
28533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28534 test $ac_status = 0; }; then
28535 pkg_cv_LIBV4L2_LIBS=`$PKG_CONFIG --libs "libv4l2" 2>/dev/null`
28546 if test $pkg_failed = yes; then
28548 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28549 _pkg_short_errors_supported=yes
28551 _pkg_short_errors_supported=no
28553 if test $_pkg_short_errors_supported = yes; then
28554 LIBV4L2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libv4l2"`
28556 LIBV4L2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libv4l2"`
28558 # Put the nasty error message in config.log where it belongs
28559 echo "$LIBV4L2_PKG_ERRORS" >&5
28561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28562 $as_echo "no" >&6; }
28566 elif test $pkg_failed = untried; then
28571 LIBV4L2_CFLAGS=$pkg_cv_LIBV4L2_CFLAGS
28572 LIBV4L2_LIBS=$pkg_cv_LIBV4L2_LIBS
28573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28574 $as_echo "yes" >&6; }
28577 $as_echo "#define HAVE_LIBV4L2 1" >>confdefs.h
28586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
28587 $as_echo_n "checking for X... " >&6; }
28590 # Check whether --with-x was given.
28591 if test "${with_x+set}" = set; then :
28595 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28596 if test "x$with_x" = xno; then
28597 # The user explicitly disabled X.
28600 case $x_includes,$x_libraries in #(
28601 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
28602 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
28603 $as_echo_n "(cached) " >&6
28605 # One or both of the vars are not set, and there is no cached value.
28606 ac_x_includes=no ac_x_libraries=no
28607 rm -f -r conftest.dir
28608 if mkdir conftest.dir; then
28610 cat >Imakefile <<'_ACEOF'
28612 @echo incroot='${INCROOT}'
28614 @echo usrlibdir='${USRLIBDIR}'
28616 @echo libdir='${LIBDIR}'
28618 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28619 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
28620 for ac_var in incroot usrlibdir libdir; do
28621 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28623 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28624 for ac_extension in a so sl dylib la dll; do
28625 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28626 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28627 ac_im_usrlibdir=$ac_im_libdir; break
28630 # Screen out bogus values from the imake configuration. They are
28631 # bogus both because they are the default anyway, and because
28632 # using them would break gcc on systems where it needs fixed includes.
28633 case $ac_im_incroot in
28634 /usr/include) ac_x_includes= ;;
28635 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28637 case $ac_im_usrlibdir in
28638 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
28639 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28643 rm -f -r conftest.dir
28646 # Standard set of common directories for X headers.
28647 # Check X11 before X11Rn because it is often a symlink to the current release.
28661 /usr/local/X11/include
28662 /usr/local/X11R7/include
28663 /usr/local/X11R6/include
28664 /usr/local/X11R5/include
28665 /usr/local/X11R4/include
28667 /usr/local/include/X11
28668 /usr/local/include/X11R7
28669 /usr/local/include/X11R6
28670 /usr/local/include/X11R5
28671 /usr/local/include/X11R4
28675 /usr/XFree86/include/X11
28679 /usr/unsupported/include
28680 /usr/athena/include
28681 /usr/local/x11r5/include
28682 /usr/lpp/Xamples/include
28684 /usr/openwin/include
28685 /usr/openwin/share/include'
28687 if test "$ac_x_includes" = no; then
28688 # Guess where to find include files, by looking for Xlib.h.
28689 # First, try using that file with no special directory specified.
28690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28691 /* end confdefs.h. */
28692 #include <X11/Xlib.h>
28694 if ac_fn_c_try_cpp "$LINENO"; then :
28695 # We can compile using X headers with no special include directory.
28698 for ac_dir in $ac_x_header_dirs; do
28699 if test -r "$ac_dir/X11/Xlib.h"; then
28700 ac_x_includes=$ac_dir
28705 rm -f conftest.err conftest.i conftest.$ac_ext
28706 fi # $ac_x_includes = no
28708 if test "$ac_x_libraries" = no; then
28709 # Check for the libraries.
28710 # See if we find them without any special options.
28711 # Don't add to $LIBS permanently.
28714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28715 /* end confdefs.h. */
28716 #include <X11/Xlib.h>
28725 if ac_fn_c_try_link "$LINENO"; then :
28727 # We can link X programs with no special library path.
28731 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28733 # Don't even attempt the hair of trying to link an X program!
28734 for ac_extension in a so sl dylib la dll; do
28735 if test -r "$ac_dir/libX11.$ac_extension"; then
28736 ac_x_libraries=$ac_dir
28742 rm -f core conftest.err conftest.$ac_objext \
28743 conftest$ac_exeext conftest.$ac_ext
28744 fi # $ac_x_libraries = no
28746 case $ac_x_includes,$ac_x_libraries in #(
28747 no,* | *,no | *\'*)
28748 # Didn't find X, or a directory has "'" in its name.
28749 ac_cv_have_x="have_x=no";; #(
28751 # Record where we found X for the cache.
28752 ac_cv_have_x="have_x=yes\
28753 ac_x_includes='$ac_x_includes'\
28754 ac_x_libraries='$ac_x_libraries'"
28760 eval "$ac_cv_have_x"
28763 if test "$have_x" != yes; then
28764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
28765 $as_echo "$have_x" >&6; }
28768 # If each of the values was on the command line, it overrides each guess.
28769 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28770 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28771 # Update the cache value to reflect the command line values.
28772 ac_cv_have_x="have_x=yes\
28773 ac_x_includes='$x_includes'\
28774 ac_x_libraries='$x_libraries'"
28775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
28776 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
28780 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X libraries and plugins ***" >&5
28781 $as_echo "$as_me: *** checking feature: X libraries and plugins ***" >&6;}
28782 if test "xximagesrc" != "x"
28784 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ximagesrc ***" >&5
28785 $as_echo "$as_me: *** for plug-ins: ximagesrc ***" >&6;}
28788 if test "x$USE_X" = "xno"; then
28791 # Check whether --enable-x was given.
28792 if test "${enable_x+set}" = set; then :
28793 enableval=$enable_x; case "${enableval}" in
28796 *) as_fn_error $? "bad value ${enableval} for --enable-x" "$LINENO" 5 ;;
28802 if test "x$NOUSE" = "xyes"; then
28804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ximagesrc pre-configured not to be built" >&5
28805 $as_echo "$as_me: WARNING: *** ximagesrc pre-configured not to be built" >&2;}
28810 if test x$USE_X = xyes; then
28812 gst_check_save_LIBS=$LIBS
28813 gst_check_save_LDFLAGS=$LDFLAGS
28814 gst_check_save_CFLAGS=$CFLAGS
28815 gst_check_save_CPPFLAGS=$CPPFLAGS
28816 gst_check_save_CXXFLAGS=$CXXFLAGS
28820 if test "$no_x" = yes; then
28821 # Not all programs may use this symbol, but it does not hurt to define it.
28823 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
28825 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28827 if test -n "$x_includes"; then
28828 X_CFLAGS="$X_CFLAGS -I$x_includes"
28831 # It would also be nice to do this for all -L options, not just this one.
28832 if test -n "$x_libraries"; then
28833 X_LIBS="$X_LIBS -L$x_libraries"
28834 # For Solaris; some versions of Sun CC require a space after -R and
28835 # others require no space. Words are not sufficient . . . .
28836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
28837 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
28838 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28839 ac_xsave_c_werror_flag=$ac_c_werror_flag
28840 ac_c_werror_flag=yes
28841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28842 /* end confdefs.h. */
28852 if ac_fn_c_try_link "$LINENO"; then :
28853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28854 $as_echo "no" >&6; }
28855 X_LIBS="$X_LIBS -R$x_libraries"
28857 LIBS="$ac_xsave_LIBS -R $x_libraries"
28858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28859 /* end confdefs.h. */
28869 if ac_fn_c_try_link "$LINENO"; then :
28870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28871 $as_echo "yes" >&6; }
28872 X_LIBS="$X_LIBS -R $x_libraries"
28874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
28875 $as_echo "neither works" >&6; }
28877 rm -f core conftest.err conftest.$ac_objext \
28878 conftest$ac_exeext conftest.$ac_ext
28880 rm -f core conftest.err conftest.$ac_objext \
28881 conftest$ac_exeext conftest.$ac_ext
28882 ac_c_werror_flag=$ac_xsave_c_werror_flag
28883 LIBS=$ac_xsave_LIBS
28886 # Check for system-dependent libraries X programs must link with.
28887 # Do this before checking for the system-independent R6 libraries
28888 # (-lICE), since we may need -lsocket or whatever for X linking.
28890 if test "$ISC" = yes; then
28891 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
28893 # Martyn Johnson says this is needed for Ultrix, if the X
28894 # libraries were built with DECnet support. And Karl Berry says
28895 # the Alpha needs dnet_stub (dnet does not exist).
28896 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
28897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28898 /* end confdefs.h. */
28900 /* Override any GCC internal prototype to avoid an error.
28901 Use char because int might match the return type of a GCC
28902 builtin and then its argument prototype would still apply. */
28906 char XOpenDisplay ();
28910 return XOpenDisplay ();
28915 if ac_fn_c_try_link "$LINENO"; then :
28918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
28919 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
28920 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
28921 $as_echo_n "(cached) " >&6
28923 ac_check_lib_save_LIBS=$LIBS
28924 LIBS="-ldnet $LIBS"
28925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28926 /* end confdefs.h. */
28928 /* Override any GCC internal prototype to avoid an error.
28929 Use char because int might match the return type of a GCC
28930 builtin and then its argument prototype would still apply. */
28938 return dnet_ntoa ();
28943 if ac_fn_c_try_link "$LINENO"; then :
28944 ac_cv_lib_dnet_dnet_ntoa=yes
28946 ac_cv_lib_dnet_dnet_ntoa=no
28948 rm -f core conftest.err conftest.$ac_objext \
28949 conftest$ac_exeext conftest.$ac_ext
28950 LIBS=$ac_check_lib_save_LIBS
28952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
28953 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
28954 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
28955 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
28958 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
28959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
28960 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
28961 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
28962 $as_echo_n "(cached) " >&6
28964 ac_check_lib_save_LIBS=$LIBS
28965 LIBS="-ldnet_stub $LIBS"
28966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28967 /* end confdefs.h. */
28969 /* Override any GCC internal prototype to avoid an error.
28970 Use char because int might match the return type of a GCC
28971 builtin and then its argument prototype would still apply. */
28979 return dnet_ntoa ();
28984 if ac_fn_c_try_link "$LINENO"; then :
28985 ac_cv_lib_dnet_stub_dnet_ntoa=yes
28987 ac_cv_lib_dnet_stub_dnet_ntoa=no
28989 rm -f core conftest.err conftest.$ac_objext \
28990 conftest$ac_exeext conftest.$ac_ext
28991 LIBS=$ac_check_lib_save_LIBS
28993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
28994 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
28995 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
28996 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29001 rm -f core conftest.err conftest.$ac_objext \
29002 conftest$ac_exeext conftest.$ac_ext
29003 LIBS="$ac_xsave_LIBS"
29005 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29006 # to get the SysV transport functions.
29007 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29009 # The nsl library prevents programs from opening the X display
29010 # on Irix 5.2, according to T.E. Dickey.
29011 # The functions gethostbyname, getservbyname, and inet_addr are
29012 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29013 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
29014 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
29018 if test $ac_cv_func_gethostbyname = no; then
29019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
29020 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
29021 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
29022 $as_echo_n "(cached) " >&6
29024 ac_check_lib_save_LIBS=$LIBS
29026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29027 /* end confdefs.h. */
29029 /* Override any GCC internal prototype to avoid an error.
29030 Use char because int might match the return type of a GCC
29031 builtin and then its argument prototype would still apply. */
29035 char gethostbyname ();
29039 return gethostbyname ();
29044 if ac_fn_c_try_link "$LINENO"; then :
29045 ac_cv_lib_nsl_gethostbyname=yes
29047 ac_cv_lib_nsl_gethostbyname=no
29049 rm -f core conftest.err conftest.$ac_objext \
29050 conftest$ac_exeext conftest.$ac_ext
29051 LIBS=$ac_check_lib_save_LIBS
29053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
29054 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
29055 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
29056 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29059 if test $ac_cv_lib_nsl_gethostbyname = no; then
29060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
29061 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
29062 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
29063 $as_echo_n "(cached) " >&6
29065 ac_check_lib_save_LIBS=$LIBS
29067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29068 /* end confdefs.h. */
29070 /* Override any GCC internal prototype to avoid an error.
29071 Use char because int might match the return type of a GCC
29072 builtin and then its argument prototype would still apply. */
29076 char gethostbyname ();
29080 return gethostbyname ();
29085 if ac_fn_c_try_link "$LINENO"; then :
29086 ac_cv_lib_bsd_gethostbyname=yes
29088 ac_cv_lib_bsd_gethostbyname=no
29090 rm -f core conftest.err conftest.$ac_objext \
29091 conftest$ac_exeext conftest.$ac_ext
29092 LIBS=$ac_check_lib_save_LIBS
29094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
29095 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
29096 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
29097 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29103 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29104 # socket/setsockopt and other routines are undefined under SCO ODT
29105 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29106 # on later versions), says Simon Leinen: it contains gethostby*
29107 # variants that don't use the name server (or something). -lsocket
29108 # must be given before -lnsl if both are needed. We assume that
29109 # if connect needs -lnsl, so does gethostbyname.
29110 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
29111 if test "x$ac_cv_func_connect" = x""yes; then :
29115 if test $ac_cv_func_connect = no; then
29116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
29117 $as_echo_n "checking for connect in -lsocket... " >&6; }
29118 if test "${ac_cv_lib_socket_connect+set}" = set; then :
29119 $as_echo_n "(cached) " >&6
29121 ac_check_lib_save_LIBS=$LIBS
29122 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29124 /* end confdefs.h. */
29126 /* Override any GCC internal prototype to avoid an error.
29127 Use char because int might match the return type of a GCC
29128 builtin and then its argument prototype would still apply. */
29141 if ac_fn_c_try_link "$LINENO"; then :
29142 ac_cv_lib_socket_connect=yes
29144 ac_cv_lib_socket_connect=no
29146 rm -f core conftest.err conftest.$ac_objext \
29147 conftest$ac_exeext conftest.$ac_ext
29148 LIBS=$ac_check_lib_save_LIBS
29150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
29151 $as_echo "$ac_cv_lib_socket_connect" >&6; }
29152 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
29153 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29158 # Guillermo Gomez says -lposix is necessary on A/UX.
29159 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
29160 if test "x$ac_cv_func_remove" = x""yes; then :
29164 if test $ac_cv_func_remove = no; then
29165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
29166 $as_echo_n "checking for remove in -lposix... " >&6; }
29167 if test "${ac_cv_lib_posix_remove+set}" = set; then :
29168 $as_echo_n "(cached) " >&6
29170 ac_check_lib_save_LIBS=$LIBS
29171 LIBS="-lposix $LIBS"
29172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29173 /* end confdefs.h. */
29175 /* Override any GCC internal prototype to avoid an error.
29176 Use char because int might match the return type of a GCC
29177 builtin and then its argument prototype would still apply. */
29190 if ac_fn_c_try_link "$LINENO"; then :
29191 ac_cv_lib_posix_remove=yes
29193 ac_cv_lib_posix_remove=no
29195 rm -f core conftest.err conftest.$ac_objext \
29196 conftest$ac_exeext conftest.$ac_ext
29197 LIBS=$ac_check_lib_save_LIBS
29199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
29200 $as_echo "$ac_cv_lib_posix_remove" >&6; }
29201 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
29202 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29207 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29208 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
29209 if test "x$ac_cv_func_shmat" = x""yes; then :
29213 if test $ac_cv_func_shmat = no; then
29214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
29215 $as_echo_n "checking for shmat in -lipc... " >&6; }
29216 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
29217 $as_echo_n "(cached) " >&6
29219 ac_check_lib_save_LIBS=$LIBS
29221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29222 /* end confdefs.h. */
29224 /* Override any GCC internal prototype to avoid an error.
29225 Use char because int might match the return type of a GCC
29226 builtin and then its argument prototype would still apply. */
29239 if ac_fn_c_try_link "$LINENO"; then :
29240 ac_cv_lib_ipc_shmat=yes
29242 ac_cv_lib_ipc_shmat=no
29244 rm -f core conftest.err conftest.$ac_objext \
29245 conftest$ac_exeext conftest.$ac_ext
29246 LIBS=$ac_check_lib_save_LIBS
29248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
29249 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
29250 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
29251 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29257 # Check for libraries that X11R6 Xt/Xaw programs need.
29258 ac_save_LDFLAGS=$LDFLAGS
29259 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29260 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29261 # check for ICE first), but we must link in the order -lSM -lICE or
29262 # we get undefined symbols. So assume we have SM if we have ICE.
29263 # These have to be linked with before -lX11, unlike the other
29264 # libraries we check for below, so use a different variable.
29265 # John Interrante, Karl Berry
29266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
29267 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
29268 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
29269 $as_echo_n "(cached) " >&6
29271 ac_check_lib_save_LIBS=$LIBS
29272 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29274 /* end confdefs.h. */
29276 /* Override any GCC internal prototype to avoid an error.
29277 Use char because int might match the return type of a GCC
29278 builtin and then its argument prototype would still apply. */
29282 char IceConnectionNumber ();
29286 return IceConnectionNumber ();
29291 if ac_fn_c_try_link "$LINENO"; then :
29292 ac_cv_lib_ICE_IceConnectionNumber=yes
29294 ac_cv_lib_ICE_IceConnectionNumber=no
29296 rm -f core conftest.err conftest.$ac_objext \
29297 conftest$ac_exeext conftest.$ac_ext
29298 LIBS=$ac_check_lib_save_LIBS
29300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29301 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
29302 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
29303 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
29306 LDFLAGS=$ac_save_LDFLAGS
29311 ac_cflags_save="$CFLAGS"
29312 ac_cppflags_save="$CPPFLAGS"
29313 CFLAGS="$CFLAGS $X_CFLAGS"
29314 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
29315 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "$ac_includes_default"
29316 if test "x$ac_cv_header_X11_Xlib_h" = x""yes; then :
29324 if test "x$HAVE_X" = "xno"
29326 { $as_echo "$as_me:${as_lineno-$LINENO}: cannot find X11 development files" >&5
29327 $as_echo "$as_me: cannot find X11 development files" >&6;}
29329 X_LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS"
29330 X_LIBS="$X_LIBS -lX11"
29336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFIXES" >&5
29337 $as_echo_n "checking for XFIXES... " >&6; }
29339 if test -n "$PKG_CONFIG"; then
29340 if test -n "$XFIXES_CFLAGS"; then
29341 pkg_cv_XFIXES_CFLAGS="$XFIXES_CFLAGS"
29343 if test -n "$PKG_CONFIG" && \
29344 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes\""; } >&5
29345 ($PKG_CONFIG --exists --print-errors "xfixes") 2>&5
29347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29348 test $ac_status = 0; }; then
29349 pkg_cv_XFIXES_CFLAGS=`$PKG_CONFIG --cflags "xfixes" 2>/dev/null`
29357 if test -n "$PKG_CONFIG"; then
29358 if test -n "$XFIXES_LIBS"; then
29359 pkg_cv_XFIXES_LIBS="$XFIXES_LIBS"
29361 if test -n "$PKG_CONFIG" && \
29362 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfixes\""; } >&5
29363 ($PKG_CONFIG --exists --print-errors "xfixes") 2>&5
29365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29366 test $ac_status = 0; }; then
29367 pkg_cv_XFIXES_LIBS=`$PKG_CONFIG --libs "xfixes" 2>/dev/null`
29378 if test $pkg_failed = yes; then
29380 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29381 _pkg_short_errors_supported=yes
29383 _pkg_short_errors_supported=no
29385 if test $_pkg_short_errors_supported = yes; then
29386 XFIXES_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xfixes"`
29388 XFIXES_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xfixes"`
29390 # Put the nasty error message in config.log where it belongs
29391 echo "$XFIXES_PKG_ERRORS" >&5
29393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29394 $as_echo "no" >&6; }
29396 elif test $pkg_failed = untried; then
29399 XFIXES_CFLAGS=$pkg_cv_XFIXES_CFLAGS
29400 XFIXES_LIBS=$pkg_cv_XFIXES_LIBS
29401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29402 $as_echo "yes" >&6; }
29405 if test "x$HAVE_XFIXES" = "xyes"
29407 XFIXES_CFLAGS="-DHAVE_XFIXES $XFIXES_CFLAGS"
29414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDAMAGE" >&5
29415 $as_echo_n "checking for XDAMAGE... " >&6; }
29417 if test -n "$PKG_CONFIG"; then
29418 if test -n "$XDAMAGE_CFLAGS"; then
29419 pkg_cv_XDAMAGE_CFLAGS="$XDAMAGE_CFLAGS"
29421 if test -n "$PKG_CONFIG" && \
29422 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdamage\""; } >&5
29423 ($PKG_CONFIG --exists --print-errors "xdamage") 2>&5
29425 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29426 test $ac_status = 0; }; then
29427 pkg_cv_XDAMAGE_CFLAGS=`$PKG_CONFIG --cflags "xdamage" 2>/dev/null`
29435 if test -n "$PKG_CONFIG"; then
29436 if test -n "$XDAMAGE_LIBS"; then
29437 pkg_cv_XDAMAGE_LIBS="$XDAMAGE_LIBS"
29439 if test -n "$PKG_CONFIG" && \
29440 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xdamage\""; } >&5
29441 ($PKG_CONFIG --exists --print-errors "xdamage") 2>&5
29443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29444 test $ac_status = 0; }; then
29445 pkg_cv_XDAMAGE_LIBS=`$PKG_CONFIG --libs "xdamage" 2>/dev/null`
29456 if test $pkg_failed = yes; then
29458 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29459 _pkg_short_errors_supported=yes
29461 _pkg_short_errors_supported=no
29463 if test $_pkg_short_errors_supported = yes; then
29464 XDAMAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "xdamage"`
29466 XDAMAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xdamage"`
29468 # Put the nasty error message in config.log where it belongs
29469 echo "$XDAMAGE_PKG_ERRORS" >&5
29471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29472 $as_echo "no" >&6; }
29474 elif test $pkg_failed = untried; then
29477 XDAMAGE_CFLAGS=$pkg_cv_XDAMAGE_CFLAGS
29478 XDAMAGE_LIBS=$pkg_cv_XDAMAGE_LIBS
29479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29480 $as_echo "yes" >&6; }
29483 if test "x$HAVE_XDAMAGE" = "xyes"
29485 XDAMAGE_CFLAGS="-DHAVE_XDAMAGE $XDAMAGE_CFLAGS"
29491 CFLAGS="$ac_cflags_save"
29492 CPPFLAGS="$ac_cppflags_save"
29495 LIBS=$gst_check_save_LIBS
29496 LDFLAGS=$gst_check_save_LDFLAGS
29497 CFLAGS=$gst_check_save_CFLAGS
29498 CPPFLAGS=$gst_check_save_CPPFLAGS
29499 CXXFLAGS=$gst_check_save_CXXFLAGS
29501 if test x$HAVE_X = xno; then
29504 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ximagesrc" >&5
29505 $as_echo "$as_me: *** These plugins will be built: ximagesrc" >&6;}
29508 if test x$USE_X = xyes; then
29510 if test "xximagesrc" != "x"; then
29511 GST_PLUGINS_YES="\tximagesrc\n$GST_PLUGINS_YES"
29514 $as_echo "#define HAVE_X /**/" >>confdefs.h
29517 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ximagesrc" >&5
29518 $as_echo "$as_me: *** These plugins will not be built: ximagesrc" >&6;}
29519 if test "xximagesrc" != "x"; then
29520 GST_PLUGINS_NO="\tximagesrc\n$GST_PLUGINS_NO"
29524 if test x$USE_X = xyes; then
29535 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X Shared Memory extension ***" >&5
29536 $as_echo "$as_me: *** checking feature: X Shared Memory extension ***" >&6;}
29539 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
29540 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
29543 if test "x$USE_XSHM" = "xno"; then
29546 # Check whether --enable-xshm was given.
29547 if test "${enable_xshm+set}" = set; then :
29548 enableval=$enable_xshm; case "${enableval}" in
29549 yes) USE_XSHM=yes;;
29551 *) as_fn_error $? "bad value ${enableval} for --enable-xshm" "$LINENO" 5 ;;
29557 if test "x$NOUSE" = "xyes"; then
29559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
29560 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
29565 if test x$USE_XSHM = xyes; then
29567 gst_check_save_LIBS=$LIBS
29568 gst_check_save_LDFLAGS=$LDFLAGS
29569 gst_check_save_CFLAGS=$CFLAGS
29570 gst_check_save_CPPFLAGS=$CPPFLAGS
29571 gst_check_save_CXXFLAGS=$CXXFLAGS
29575 if test x$HAVE_X = xyes; then
29576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmAttach in -lXext" >&5
29577 $as_echo_n "checking for XShmAttach in -lXext... " >&6; }
29578 if test "${ac_cv_lib_Xext_XShmAttach+set}" = set; then :
29579 $as_echo_n "(cached) " >&6
29581 ac_check_lib_save_LIBS=$LIBS
29582 LIBS="-lXext $X_LIBS $LIBS"
29583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29584 /* end confdefs.h. */
29586 /* Override any GCC internal prototype to avoid an error.
29587 Use char because int might match the return type of a GCC
29588 builtin and then its argument prototype would still apply. */
29592 char XShmAttach ();
29596 return XShmAttach ();
29601 if ac_fn_c_try_link "$LINENO"; then :
29602 ac_cv_lib_Xext_XShmAttach=yes
29604 ac_cv_lib_Xext_XShmAttach=no
29606 rm -f core conftest.err conftest.$ac_objext \
29607 conftest$ac_exeext conftest.$ac_ext
29608 LIBS=$ac_check_lib_save_LIBS
29610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmAttach" >&5
29611 $as_echo "$ac_cv_lib_Xext_XShmAttach" >&6; }
29612 if test "x$ac_cv_lib_Xext_XShmAttach" = x""yes; then :
29618 if test "x$HAVE_XSHM" = "xyes"; then
29621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmAttach in -lXextSam" >&5
29622 $as_echo_n "checking for XShmAttach in -lXextSam... " >&6; }
29623 if test "${ac_cv_lib_XextSam_XShmAttach+set}" = set; then :
29624 $as_echo_n "(cached) " >&6
29626 ac_check_lib_save_LIBS=$LIBS
29627 LIBS="-lXextSam $X_LIBS $LIBS"
29628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29629 /* end confdefs.h. */
29631 /* Override any GCC internal prototype to avoid an error.
29632 Use char because int might match the return type of a GCC
29633 builtin and then its argument prototype would still apply. */
29637 char XShmAttach ();
29641 return XShmAttach ();
29646 if ac_fn_c_try_link "$LINENO"; then :
29647 ac_cv_lib_XextSam_XShmAttach=yes
29649 ac_cv_lib_XextSam_XShmAttach=no
29651 rm -f core conftest.err conftest.$ac_objext \
29652 conftest$ac_exeext conftest.$ac_ext
29653 LIBS=$ac_check_lib_save_LIBS
29655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XextSam_XShmAttach" >&5
29656 $as_echo "$ac_cv_lib_XextSam_XShmAttach" >&6; }
29657 if test "x$ac_cv_lib_XextSam_XShmAttach" = x""yes; then :
29663 if test "x$HAVE_XSHM" = "xyes"; then
29664 XSHM_LIBS="-lXext -lXextSam"
29670 LIBS=$gst_check_save_LIBS
29671 LDFLAGS=$gst_check_save_LDFLAGS
29672 CFLAGS=$gst_check_save_CFLAGS
29673 CPPFLAGS=$gst_check_save_CPPFLAGS
29674 CXXFLAGS=$gst_check_save_CXXFLAGS
29676 if test x$HAVE_XSHM = xno; then
29682 if test x$USE_XSHM = xyes; then
29687 if test "x" != "x"; then
29688 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
29691 $as_echo "#define HAVE_XSHM /**/" >>confdefs.h
29695 if test "x" != "x"; then
29696 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
29700 if test x$USE_XSHM = xyes; then
29711 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X11 XVideo extensions ***" >&5
29712 $as_echo "$as_me: *** checking feature: X11 XVideo extensions ***" >&6;}
29715 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
29716 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
29719 if test "x$USE_XVIDEO" = "xno"; then
29722 # Check whether --enable-xvideo was given.
29723 if test "${enable_xvideo+set}" = set; then :
29724 enableval=$enable_xvideo; case "${enableval}" in
29725 yes) USE_XVIDEO=yes;;
29726 no) USE_XVIDEO=no;;
29727 *) as_fn_error $? "bad value ${enableval} for --enable-xvideo" "$LINENO" 5 ;;
29733 if test "x$NOUSE" = "xyes"; then
29735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
29736 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
29741 if test x$USE_XVIDEO = xyes; then
29743 gst_check_save_LIBS=$LIBS
29744 gst_check_save_LDFLAGS=$LDFLAGS
29745 gst_check_save_CFLAGS=$CFLAGS
29746 gst_check_save_CPPFLAGS=$CPPFLAGS
29747 gst_check_save_CXXFLAGS=$CXXFLAGS
29752 if test x$HAVE_X = xyes; then
29753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv_pic" >&5
29754 $as_echo_n "checking for XvQueryExtension in -lXv_pic... " >&6; }
29755 if test "${ac_cv_lib_Xv_pic_XvQueryExtension+set}" = set; then :
29756 $as_echo_n "(cached) " >&6
29758 ac_check_lib_save_LIBS=$LIBS
29759 LIBS="-lXv_pic $X_LIBS -lXext $LIBS"
29760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29761 /* end confdefs.h. */
29763 /* Override any GCC internal prototype to avoid an error.
29764 Use char because int might match the return type of a GCC
29765 builtin and then its argument prototype would still apply. */
29769 char XvQueryExtension ();
29773 return XvQueryExtension ();
29778 if ac_fn_c_try_link "$LINENO"; then :
29779 ac_cv_lib_Xv_pic_XvQueryExtension=yes
29781 ac_cv_lib_Xv_pic_XvQueryExtension=no
29783 rm -f core conftest.err conftest.$ac_objext \
29784 conftest$ac_exeext conftest.$ac_ext
29785 LIBS=$ac_check_lib_save_LIBS
29787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_pic_XvQueryExtension" >&5
29788 $as_echo "$ac_cv_lib_Xv_pic_XvQueryExtension" >&6; }
29789 if test "x$ac_cv_lib_Xv_pic_XvQueryExtension" = x""yes; then :
29796 if test x$HAVE_XVIDEO = xyes; then
29797 XVIDEO_LIBS="-lXv_pic -lXext"
29800 if test x$HAVE_XVIDEO = xno; then
29801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv" >&5
29802 $as_echo_n "checking for XvQueryExtension in -lXv... " >&6; }
29803 if test "${ac_cv_lib_Xv_XvQueryExtension+set}" = set; then :
29804 $as_echo_n "(cached) " >&6
29806 ac_check_lib_save_LIBS=$LIBS
29807 LIBS="-lXv $X_LIBS -lXext $LIBS"
29808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29809 /* end confdefs.h. */
29811 /* Override any GCC internal prototype to avoid an error.
29812 Use char because int might match the return type of a GCC
29813 builtin and then its argument prototype would still apply. */
29817 char XvQueryExtension ();
29821 return XvQueryExtension ();
29826 if ac_fn_c_try_link "$LINENO"; then :
29827 ac_cv_lib_Xv_XvQueryExtension=yes
29829 ac_cv_lib_Xv_XvQueryExtension=no
29831 rm -f core conftest.err conftest.$ac_objext \
29832 conftest$ac_exeext conftest.$ac_ext
29833 LIBS=$ac_check_lib_save_LIBS
29835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_XvQueryExtension" >&5
29836 $as_echo "$ac_cv_lib_Xv_XvQueryExtension" >&6; }
29837 if test "x$ac_cv_lib_Xv_XvQueryExtension" = x""yes; then :
29844 if test x$HAVE_XVIDEO = xyes; then
29845 XVIDEO_LIBS="-lXv -lXext"
29854 LIBS=$gst_check_save_LIBS
29855 LDFLAGS=$gst_check_save_LDFLAGS
29856 CFLAGS=$gst_check_save_CFLAGS
29857 CPPFLAGS=$gst_check_save_CPPFLAGS
29858 CXXFLAGS=$gst_check_save_CXXFLAGS
29860 if test x$HAVE_XVIDEO = xno; then
29866 if test x$USE_XVIDEO = xyes; then
29868 if test "x" != "x"; then
29869 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
29872 $as_echo "#define HAVE_XVIDEO /**/" >>confdefs.h
29876 if test "x" != "x"; then
29877 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
29881 if test x$USE_XVIDEO = xyes; then
29883 USE_XVIDEO_FALSE='#'
29885 USE_XVIDEO_TRUE='#'
29892 if test "x$BUILD_EXTERNAL" = "xyes"; then
29895 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking libraries for plugins in ext/" >&5
29896 $as_echo "$as_me: Checking libraries for plugins in ext/" >&6;}
29900 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: aalib ASCII Art library ***" >&5
29901 $as_echo "$as_me: *** checking feature: aalib ASCII Art library ***" >&6;}
29902 if test "xaasink" != "x"
29904 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: aasink ***" >&5
29905 $as_echo "$as_me: *** for plug-ins: aasink ***" >&6;}
29908 if test "x$USE_AALIB" = "xno"; then
29911 # Check whether --enable-aalib was given.
29912 if test "${enable_aalib+set}" = set; then :
29913 enableval=$enable_aalib; case "${enableval}" in
29914 yes) USE_AALIB=yes;;
29916 *) as_fn_error $? "bad value ${enableval} for --enable-aalib" "$LINENO" 5 ;;
29922 if test "x$NOUSE" = "xyes"; then
29924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** aasink pre-configured not to be built" >&5
29925 $as_echo "$as_me: WARNING: *** aasink pre-configured not to be built" >&2;}
29930 if test x$USE_AALIB = xyes; then
29932 gst_check_save_LIBS=$LIBS
29933 gst_check_save_LDFLAGS=$LDFLAGS
29934 gst_check_save_CFLAGS=$CFLAGS
29935 gst_check_save_CPPFLAGS=$CPPFLAGS
29936 gst_check_save_CXXFLAGS=$CXXFLAGS
29941 # Check whether --with-aalib-prefix was given.
29942 if test "${with_aalib_prefix+set}" = set; then :
29943 withval=$with_aalib_prefix; aalib_prefix="$withval"
29950 # Check whether --with-aalib-exec-prefix was given.
29951 if test "${with_aalib_exec_prefix+set}" = set; then :
29952 withval=$with_aalib_exec_prefix; aalib_exec_prefix="$withval"
29954 aalib_exec_prefix=""
29958 # Check whether --enable-aalibtest was given.
29959 if test "${enable_aalibtest+set}" = set; then :
29960 enableval=$enable_aalibtest;
29962 enable_aalibtest=yes
29966 if test x$aalib_exec_prefix != x ; then
29967 aalib_args="$aalib_args --exec-prefix=$aalib_exec_prefix"
29968 if test x${AALIB_CONFIG+set} != xset ; then
29969 AALIB_CONFIG=$aalib_exec_prefix/bin/aalib-config
29972 if test x$aalib_prefix != x ; then
29973 aalib_args="$aalib_args --prefix=$aalib_prefix"
29974 if test x${AALIB_CONFIG+set} != xset ; then
29975 AALIB_CONFIG=$aalib_prefix/bin/aalib-config
29979 # Extract the first word of "aalib-config", so it can be a program name with args.
29980 set dummy aalib-config; ac_word=$2
29981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29982 $as_echo_n "checking for $ac_word... " >&6; }
29983 if test "${ac_cv_path_AALIB_CONFIG+set}" = set; then :
29984 $as_echo_n "(cached) " >&6
29986 case $AALIB_CONFIG in
29988 ac_cv_path_AALIB_CONFIG="$AALIB_CONFIG" # Let the user override the test with a path.
29991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29992 for as_dir in $PATH
29995 test -z "$as_dir" && as_dir=.
29996 for ac_exec_ext in '' $ac_executable_extensions; do
29997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29998 ac_cv_path_AALIB_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30006 test -z "$ac_cv_path_AALIB_CONFIG" && ac_cv_path_AALIB_CONFIG="no"
30010 AALIB_CONFIG=$ac_cv_path_AALIB_CONFIG
30011 if test -n "$AALIB_CONFIG"; then
30012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AALIB_CONFIG" >&5
30013 $as_echo "$AALIB_CONFIG" >&6; }
30015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30016 $as_echo "no" >&6; }
30020 min_aalib_version=0.11.0
30021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AALIB - version >= $min_aalib_version" >&5
30022 $as_echo_n "checking for AALIB - version >= $min_aalib_version... " >&6; }
30024 if test "$AALIB_CONFIG" = "no" ; then
30027 AALIB_CFLAGS=`$AALIB_CONFIG $aalibconf_args --cflags`
30028 AALIB_LIBS=`$AALIB_CONFIG $aalibconf_args --libs`
30030 aalib_major_version=`$AALIB_CONFIG $aalib_args --version | \
30031 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30032 aalib_minor_version=`$AALIB_CONFIG $aalib_args --version | \
30033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30034 aalib_micro_version=`$AALIB_CONFIG $aalib_config_args --version | \
30035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30036 if test "x$enable_aalibtest" = "xyes" ; then
30037 ac_save_CFLAGS="$CFLAGS"
30038 ac_save_LIBS="$LIBS"
30039 CFLAGS="$CFLAGS $AALIB_CFLAGS"
30040 LIBS="$LIBS $AALIB_LIBS"
30041 rm -f conf.aalibtest
30042 if test "$cross_compiling" = yes; then :
30043 echo $ac_n "cross compiling; assumed OK... $ac_c"
30045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30046 /* end confdefs.h. */
30049 #include <stdlib.h>
30050 #include <string.h>
30054 my_strdup (char *str)
30060 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
30061 strcpy (new_str, str);
30069 int main (int argc, char *argv[])
30071 int major, minor, micro;
30074 /* This hangs on some systems (?)
30075 system ("touch conf.aalibtest");
30077 { FILE *fp = fopen("conf.aalibtest", "a"); if ( fp ) fclose(fp); }
30079 /* HP/UX 9 (%@#!) writes to sscanf strings */
30080 tmp_version = my_strdup("$min_aalib_version");
30081 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30082 printf("%s, bad version string\n", "$min_aalib_version");
30086 if (($aalib_major_version > major) ||
30087 (($aalib_major_version == major) && ($aalib_minor_version > minor)) ||
30088 (($aalib_major_version == major) && ($aalib_minor_version == minor) && ($aalib_micro_version >= micro)))
30094 printf("\n*** 'aalib-config --version' returned %d.%d.%d, but the minimum version\n", $aalib_major_version, $aalib_minor_version, $aalib_micro_version);
30095 printf("*** of AALIB required is %d.%d.%d. If aalib-config is correct, then it is\n", major, minor, micro);
30096 printf("*** best to upgrade to the required version.\n");
30097 printf("*** If aalib-config was wrong, set the environment variable AALIB_CONFIG\n");
30098 printf("*** to point to the correct copy of aalib-config, and remove the file\n");
30099 printf("*** config.cache before re-running configure\n");
30106 if ac_fn_c_try_run "$LINENO"; then :
30111 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30112 conftest.$ac_objext conftest.beam conftest.$ac_ext
30115 CFLAGS="$ac_save_CFLAGS"
30116 LIBS="$ac_save_LIBS"
30119 if test "x$no_aalib" = x ; then
30120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30121 $as_echo "yes" >&6; }
30124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30125 $as_echo "no" >&6; }
30126 if test "$AALIB_CONFIG" = "no" ; then
30127 echo "*** The aalib-config script installed by AALIB could not be found"
30128 echo "*** If AALIB was installed in PREFIX, make sure PREFIX/bin is in"
30129 echo "*** your path, or set the AALIB_CONFIG environment variable to the"
30130 echo "*** full path to aalib-config."
30132 if test -f conf.aalibtest ; then
30135 echo "*** Could not run AALIB test program, checking why..."
30136 CFLAGS="$CFLAGS $AALIB_CFLAGS"
30137 LIBS="$LIBS $AALIB_LIBS"
30138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30139 /* end confdefs.h. */
30152 if ac_fn_c_try_link "$LINENO"; then :
30153 echo "*** The test program compiled, but did not run. This usually means"
30154 echo "*** that the run-time linker is not finding AALIB or finding the wrong"
30155 echo "*** version of AALIB. If it is not finding AALIB, you'll need to set your"
30156 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30157 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30158 echo "*** is required on your system"
30160 echo "*** If you have an old version installed, it is best to remove it, although"
30161 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30163 echo "*** The test program failed to compile or link. See the file config.log for the"
30164 echo "*** exact error that occured. This usually means AALIB was incorrectly installed"
30165 echo "*** or that you have moved AALIB since it was installed. In the latter case, you"
30166 echo "*** may want to edit the aalib-config script: $AALIB_CONFIG"
30168 rm -f core conftest.err conftest.$ac_objext \
30169 conftest$ac_exeext conftest.$ac_ext
30170 CFLAGS="$ac_save_CFLAGS"
30171 LIBS="$ac_save_LIBS"
30180 rm -f conf.aalibtest
30183 GIVEN_CFLAGS=$AALIB_CFLAGS
30184 INCLUDE_DIRS=`echo | cpp -v 2>&1`
30186 INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
30187 for dir in $INCLUDE_DIRS; do
30188 GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
30190 AALIB_CFLAGS=$GIVEN_CFLAGS
30194 LIBS=$gst_check_save_LIBS
30195 LDFLAGS=$gst_check_save_LDFLAGS
30196 CFLAGS=$gst_check_save_CFLAGS
30197 CPPFLAGS=$gst_check_save_CPPFLAGS
30198 CXXFLAGS=$gst_check_save_CXXFLAGS
30200 if test x$HAVE_AALIB = xno; then
30203 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: aasink" >&5
30204 $as_echo "$as_me: *** These plugins will be built: aasink" >&6;}
30207 if test x$USE_AALIB = xyes; then
30209 if test "xaasink" != "x"; then
30210 GST_PLUGINS_YES="\taasink\n$GST_PLUGINS_YES"
30213 $as_echo "#define HAVE_AALIB /**/" >>confdefs.h
30216 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: aasink" >&5
30217 $as_echo "$as_me: *** These plugins will not be built: aasink" >&6;}
30218 if test "xaasink" != "x"; then
30219 GST_PLUGINS_NO="\taasink\n$GST_PLUGINS_NO"
30223 if test x$USE_AALIB = xyes; then
30225 USE_AALIB_FALSE='#'
30234 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: XML library ***" >&5
30235 $as_echo "$as_me: *** checking feature: XML library ***" >&6;}
30236 if test "xannodex" != "x"
30238 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: annodex ***" >&5
30239 $as_echo "$as_me: *** for plug-ins: annodex ***" >&6;}
30242 if test "x$USE_ANNODEX" = "xno"; then
30245 # Check whether --enable-annodex was given.
30246 if test "${enable_annodex+set}" = set; then :
30247 enableval=$enable_annodex; case "${enableval}" in
30248 yes) USE_ANNODEX=yes;;
30249 no) USE_ANNODEX=no;;
30250 *) as_fn_error $? "bad value ${enableval} for --enable-annodex" "$LINENO" 5 ;;
30256 if test "x$NOUSE" = "xyes"; then
30258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** annodex pre-configured not to be built" >&5
30259 $as_echo "$as_me: WARNING: *** annodex pre-configured not to be built" >&2;}
30264 if test x$USE_ANNODEX = xyes; then
30266 gst_check_save_LIBS=$LIBS
30267 gst_check_save_LDFLAGS=$LDFLAGS
30268 gst_check_save_CFLAGS=$CFLAGS
30269 gst_check_save_CPPFLAGS=$CPPFLAGS
30270 gst_check_save_CXXFLAGS=$CXXFLAGS
30275 which="libxml-2.0 >= 2.4.9"
30280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANNODEX" >&5
30281 $as_echo_n "checking for ANNODEX... " >&6; }
30283 if test -n "$PKG_CONFIG"; then
30284 if test -n "$ANNODEX_CFLAGS"; then
30285 pkg_cv_ANNODEX_CFLAGS="$ANNODEX_CFLAGS"
30287 if test -n "$PKG_CONFIG" && \
30288 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30289 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30292 test $ac_status = 0; }; then
30293 pkg_cv_ANNODEX_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
30301 if test -n "$PKG_CONFIG"; then
30302 if test -n "$ANNODEX_LIBS"; then
30303 pkg_cv_ANNODEX_LIBS="$ANNODEX_LIBS"
30305 if test -n "$PKG_CONFIG" && \
30306 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30307 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30310 test $ac_status = 0; }; then
30311 pkg_cv_ANNODEX_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
30322 if test $pkg_failed = yes; then
30324 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30325 _pkg_short_errors_supported=yes
30327 _pkg_short_errors_supported=no
30329 if test $_pkg_short_errors_supported = yes; then
30330 ANNODEX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
30332 ANNODEX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
30334 # Put the nasty error message in config.log where it belongs
30335 echo "$ANNODEX_PKG_ERRORS" >&5
30337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30338 $as_echo "no" >&6; }
30341 if test "x$required" = "xyes"; then
30342 as_fn_error $? "$ANNODEX_PKG_ERRORS" "$LINENO" 5
30344 { $as_echo "$as_me:${as_lineno-$LINENO}: $ANNODEX_PKG_ERRORS" >&5
30345 $as_echo "$as_me: $ANNODEX_PKG_ERRORS" >&6;}
30348 elif test $pkg_failed = untried; then
30351 if test "x$required" = "xyes"; then
30352 as_fn_error $? "$ANNODEX_PKG_ERRORS" "$LINENO" 5
30354 { $as_echo "$as_me:${as_lineno-$LINENO}: $ANNODEX_PKG_ERRORS" >&5
30355 $as_echo "$as_me: $ANNODEX_PKG_ERRORS" >&6;}
30359 ANNODEX_CFLAGS=$pkg_cv_ANNODEX_CFLAGS
30360 ANNODEX_LIBS=$pkg_cv_ANNODEX_LIBS
30361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30362 $as_echo "yes" >&6; }
30371 LIBS=$gst_check_save_LIBS
30372 LDFLAGS=$gst_check_save_LDFLAGS
30373 CFLAGS=$gst_check_save_CFLAGS
30374 CPPFLAGS=$gst_check_save_CPPFLAGS
30375 CXXFLAGS=$gst_check_save_CXXFLAGS
30377 if test x$HAVE_ANNODEX = xno; then
30380 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: annodex" >&5
30381 $as_echo "$as_me: *** These plugins will be built: annodex" >&6;}
30384 if test x$USE_ANNODEX = xyes; then
30386 if test "xannodex" != "x"; then
30387 GST_PLUGINS_YES="\tannodex\n$GST_PLUGINS_YES"
30390 $as_echo "#define HAVE_ANNODEX /**/" >>confdefs.h
30393 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: annodex" >&5
30394 $as_echo "$as_me: *** These plugins will not be built: annodex" >&6;}
30395 if test "xannodex" != "x"; then
30396 GST_PLUGINS_NO="\tannodex\n$GST_PLUGINS_NO"
30400 if test x$USE_ANNODEX = xyes; then
30402 USE_ANNODEX_FALSE='#'
30404 USE_ANNODEX_TRUE='#'
30411 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Cairo graphics rendering ***" >&5
30412 $as_echo "$as_me: *** checking feature: Cairo graphics rendering ***" >&6;}
30413 if test "xcairo" != "x"
30415 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cairo ***" >&5
30416 $as_echo "$as_me: *** for plug-ins: cairo ***" >&6;}
30419 if test "x$USE_CAIRO" = "xno"; then
30422 # Check whether --enable-cairo was given.
30423 if test "${enable_cairo+set}" = set; then :
30424 enableval=$enable_cairo; case "${enableval}" in
30425 yes) USE_CAIRO=yes;;
30427 *) as_fn_error $? "bad value ${enableval} for --enable-cairo" "$LINENO" 5 ;;
30433 if test "x$NOUSE" = "xyes"; then
30435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cairo pre-configured not to be built" >&5
30436 $as_echo "$as_me: WARNING: *** cairo pre-configured not to be built" >&2;}
30441 if test x$USE_CAIRO = xyes; then
30443 gst_check_save_LIBS=$LIBS
30444 gst_check_save_LDFLAGS=$LDFLAGS
30445 gst_check_save_CFLAGS=$CFLAGS
30446 gst_check_save_CPPFLAGS=$CPPFLAGS
30447 gst_check_save_CXXFLAGS=$CXXFLAGS
30452 which="cairo >= 1.0.0"
30457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
30458 $as_echo_n "checking for CAIRO... " >&6; }
30460 if test -n "$PKG_CONFIG"; then
30461 if test -n "$CAIRO_CFLAGS"; then
30462 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
30464 if test -n "$PKG_CONFIG" && \
30465 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30466 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30469 test $ac_status = 0; }; then
30470 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
30478 if test -n "$PKG_CONFIG"; then
30479 if test -n "$CAIRO_LIBS"; then
30480 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
30482 if test -n "$PKG_CONFIG" && \
30483 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30484 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30487 test $ac_status = 0; }; then
30488 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
30499 if test $pkg_failed = yes; then
30501 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30502 _pkg_short_errors_supported=yes
30504 _pkg_short_errors_supported=no
30506 if test $_pkg_short_errors_supported = yes; then
30507 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
30509 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
30511 # Put the nasty error message in config.log where it belongs
30512 echo "$CAIRO_PKG_ERRORS" >&5
30514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30515 $as_echo "no" >&6; }
30518 if test "x$required" = "xyes"; then
30519 as_fn_error $? "$CAIRO_PKG_ERRORS" "$LINENO" 5
30521 { $as_echo "$as_me:${as_lineno-$LINENO}: $CAIRO_PKG_ERRORS" >&5
30522 $as_echo "$as_me: $CAIRO_PKG_ERRORS" >&6;}
30525 elif test $pkg_failed = untried; then
30528 if test "x$required" = "xyes"; then
30529 as_fn_error $? "$CAIRO_PKG_ERRORS" "$LINENO" 5
30531 { $as_echo "$as_me:${as_lineno-$LINENO}: $CAIRO_PKG_ERRORS" >&5
30532 $as_echo "$as_me: $CAIRO_PKG_ERRORS" >&6;}
30536 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
30537 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
30538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30539 $as_echo "yes" >&6; }
30548 LIBS=$gst_check_save_LIBS
30549 LDFLAGS=$gst_check_save_LDFLAGS
30550 CFLAGS=$gst_check_save_CFLAGS
30551 CPPFLAGS=$gst_check_save_CPPFLAGS
30552 CXXFLAGS=$gst_check_save_CXXFLAGS
30554 if test x$HAVE_CAIRO = xno; then
30557 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cairo" >&5
30558 $as_echo "$as_me: *** These plugins will be built: cairo" >&6;}
30561 if test x$USE_CAIRO = xyes; then
30563 if test "xcairo" != "x"; then
30564 GST_PLUGINS_YES="\tcairo\n$GST_PLUGINS_YES"
30567 $as_echo "#define HAVE_CAIRO /**/" >>confdefs.h
30570 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cairo" >&5
30571 $as_echo "$as_me: *** These plugins will not be built: cairo" >&6;}
30572 if test "xcairo" != "x"; then
30573 GST_PLUGINS_NO="\tcairo\n$GST_PLUGINS_NO"
30577 if test x$USE_CAIRO = xyes; then
30579 USE_CAIRO_FALSE='#'
30588 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Cairo graphics rendering gobject bindings ***" >&5
30589 $as_echo "$as_me: *** checking feature: Cairo graphics rendering gobject bindings ***" >&6;}
30590 if test "xcairooverlay" != "x"
30592 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cairooverlay ***" >&5
30593 $as_echo "$as_me: *** for plug-ins: cairooverlay ***" >&6;}
30596 if test "x$USE_CAIRO_GOBJECT" = "xno"; then
30599 # Check whether --enable-cairo_gobject was given.
30600 if test "${enable_cairo_gobject+set}" = set; then :
30601 enableval=$enable_cairo_gobject; case "${enableval}" in
30602 yes) USE_CAIRO_GOBJECT=yes;;
30603 no) USE_CAIRO_GOBJECT=no;;
30604 *) as_fn_error $? "bad value ${enableval} for --enable-cairo_gobject" "$LINENO" 5 ;;
30607 USE_CAIRO_GOBJECT=yes
30610 if test "x$NOUSE" = "xyes"; then
30611 USE_CAIRO_GOBJECT="no"
30612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cairooverlay pre-configured not to be built" >&5
30613 $as_echo "$as_me: WARNING: *** cairooverlay pre-configured not to be built" >&2;}
30618 if test x$USE_CAIRO_GOBJECT = xyes; then
30620 gst_check_save_LIBS=$LIBS
30621 gst_check_save_LDFLAGS=$LDFLAGS
30622 gst_check_save_CFLAGS=$CFLAGS
30623 gst_check_save_CPPFLAGS=$CPPFLAGS
30624 gst_check_save_CXXFLAGS=$CXXFLAGS
30626 HAVE_CAIRO_GOBJECT=no
30629 which="cairo-gobject >= 1.10.0"
30634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_GOBJECT" >&5
30635 $as_echo_n "checking for CAIRO_GOBJECT... " >&6; }
30637 if test -n "$PKG_CONFIG"; then
30638 if test -n "$CAIRO_GOBJECT_CFLAGS"; then
30639 pkg_cv_CAIRO_GOBJECT_CFLAGS="$CAIRO_GOBJECT_CFLAGS"
30641 if test -n "$PKG_CONFIG" && \
30642 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30643 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30646 test $ac_status = 0; }; then
30647 pkg_cv_CAIRO_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
30655 if test -n "$PKG_CONFIG"; then
30656 if test -n "$CAIRO_GOBJECT_LIBS"; then
30657 pkg_cv_CAIRO_GOBJECT_LIBS="$CAIRO_GOBJECT_LIBS"
30659 if test -n "$PKG_CONFIG" && \
30660 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30661 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30664 test $ac_status = 0; }; then
30665 pkg_cv_CAIRO_GOBJECT_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
30676 if test $pkg_failed = yes; then
30678 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30679 _pkg_short_errors_supported=yes
30681 _pkg_short_errors_supported=no
30683 if test $_pkg_short_errors_supported = yes; then
30684 CAIRO_GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
30686 CAIRO_GOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
30688 # Put the nasty error message in config.log where it belongs
30689 echo "$CAIRO_GOBJECT_PKG_ERRORS" >&5
30691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30692 $as_echo "no" >&6; }
30694 HAVE_CAIRO_GOBJECT="no"
30695 if test "x$required" = "xyes"; then
30696 as_fn_error $? "$CAIRO_GOBJECT_PKG_ERRORS" "$LINENO" 5
30698 { $as_echo "$as_me:${as_lineno-$LINENO}: $CAIRO_GOBJECT_PKG_ERRORS" >&5
30699 $as_echo "$as_me: $CAIRO_GOBJECT_PKG_ERRORS" >&6;}
30702 elif test $pkg_failed = untried; then
30704 HAVE_CAIRO_GOBJECT="no"
30705 if test "x$required" = "xyes"; then
30706 as_fn_error $? "$CAIRO_GOBJECT_PKG_ERRORS" "$LINENO" 5
30708 { $as_echo "$as_me:${as_lineno-$LINENO}: $CAIRO_GOBJECT_PKG_ERRORS" >&5
30709 $as_echo "$as_me: $CAIRO_GOBJECT_PKG_ERRORS" >&6;}
30713 CAIRO_GOBJECT_CFLAGS=$pkg_cv_CAIRO_GOBJECT_CFLAGS
30714 CAIRO_GOBJECT_LIBS=$pkg_cv_CAIRO_GOBJECT_LIBS
30715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30716 $as_echo "yes" >&6; }
30718 HAVE_CAIRO_GOBJECT="yes"
30725 LIBS=$gst_check_save_LIBS
30726 LDFLAGS=$gst_check_save_LDFLAGS
30727 CFLAGS=$gst_check_save_CFLAGS
30728 CPPFLAGS=$gst_check_save_CPPFLAGS
30729 CXXFLAGS=$gst_check_save_CXXFLAGS
30731 if test x$HAVE_CAIRO_GOBJECT = xno; then
30732 USE_CAIRO_GOBJECT=no
30734 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cairooverlay" >&5
30735 $as_echo "$as_me: *** These plugins will be built: cairooverlay" >&6;}
30738 if test x$USE_CAIRO_GOBJECT = xyes; then
30740 if test "xcairooverlay" != "x"; then
30741 GST_PLUGINS_YES="\tcairooverlay\n$GST_PLUGINS_YES"
30744 $as_echo "#define HAVE_CAIRO_GOBJECT /**/" >>confdefs.h
30747 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cairooverlay" >&5
30748 $as_echo "$as_me: *** These plugins will not be built: cairooverlay" >&6;}
30749 if test "xcairooverlay" != "x"; then
30750 GST_PLUGINS_NO="\tcairooverlay\n$GST_PLUGINS_NO"
30754 if test x$USE_CAIRO_GOBJECT = xyes; then
30755 USE_CAIRO_GOBJECT_TRUE=
30756 USE_CAIRO_GOBJECT_FALSE='#'
30758 USE_CAIRO_GOBJECT_TRUE='#'
30759 USE_CAIRO_GOBJECT_FALSE=
30765 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: ESounD sound daemon ***" >&5
30766 $as_echo "$as_me: *** checking feature: ESounD sound daemon ***" >&6;}
30767 if test "xesdsink" != "x"
30769 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: esdsink ***" >&5
30770 $as_echo "$as_me: *** for plug-ins: esdsink ***" >&6;}
30773 if test "x$USE_ESD" = "xno"; then
30776 # Check whether --enable-esd was given.
30777 if test "${enable_esd+set}" = set; then :
30778 enableval=$enable_esd; case "${enableval}" in
30781 *) as_fn_error $? "bad value ${enableval} for --enable-esd" "$LINENO" 5 ;;
30787 if test "x$NOUSE" = "xyes"; then
30789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** esdsink pre-configured not to be built" >&5
30790 $as_echo "$as_me: WARNING: *** esdsink pre-configured not to be built" >&2;}
30795 if test x$USE_ESD = xyes; then
30797 gst_check_save_LIBS=$LIBS
30798 gst_check_save_LDFLAGS=$LDFLAGS
30799 gst_check_save_CFLAGS=$CFLAGS
30800 gst_check_save_CPPFLAGS=$CPPFLAGS
30801 gst_check_save_CXXFLAGS=$CXXFLAGS
30806 which="esound >= 0.2.12"
30811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ESD" >&5
30812 $as_echo_n "checking for ESD... " >&6; }
30814 if test -n "$PKG_CONFIG"; then
30815 if test -n "$ESD_CFLAGS"; then
30816 pkg_cv_ESD_CFLAGS="$ESD_CFLAGS"
30818 if test -n "$PKG_CONFIG" && \
30819 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30820 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30823 test $ac_status = 0; }; then
30824 pkg_cv_ESD_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
30832 if test -n "$PKG_CONFIG"; then
30833 if test -n "$ESD_LIBS"; then
30834 pkg_cv_ESD_LIBS="$ESD_LIBS"
30836 if test -n "$PKG_CONFIG" && \
30837 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
30838 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
30840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30841 test $ac_status = 0; }; then
30842 pkg_cv_ESD_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
30853 if test $pkg_failed = yes; then
30855 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30856 _pkg_short_errors_supported=yes
30858 _pkg_short_errors_supported=no
30860 if test $_pkg_short_errors_supported = yes; then
30861 ESD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
30863 ESD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
30865 # Put the nasty error message in config.log where it belongs
30866 echo "$ESD_PKG_ERRORS" >&5
30868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30869 $as_echo "no" >&6; }
30872 if test "x$required" = "xyes"; then
30873 as_fn_error $? "$ESD_PKG_ERRORS" "$LINENO" 5
30875 { $as_echo "$as_me:${as_lineno-$LINENO}: $ESD_PKG_ERRORS" >&5
30876 $as_echo "$as_me: $ESD_PKG_ERRORS" >&6;}
30879 elif test $pkg_failed = untried; then
30882 if test "x$required" = "xyes"; then
30883 as_fn_error $? "$ESD_PKG_ERRORS" "$LINENO" 5
30885 { $as_echo "$as_me:${as_lineno-$LINENO}: $ESD_PKG_ERRORS" >&5
30886 $as_echo "$as_me: $ESD_PKG_ERRORS" >&6;}
30890 ESD_CFLAGS=$pkg_cv_ESD_CFLAGS
30891 ESD_LIBS=$pkg_cv_ESD_LIBS
30892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30893 $as_echo "yes" >&6; }
30900 if test $HAVE_ESD = no
30903 # Check whether --with-esd-prefix was given.
30904 if test "${with_esd_prefix+set}" = set; then :
30905 withval=$with_esd_prefix; esd_prefix="$withval"
30912 # Check whether --with-esd-exec-prefix was given.
30913 if test "${with_esd_exec_prefix+set}" = set; then :
30914 withval=$with_esd_exec_prefix; esd_exec_prefix="$withval"
30920 # Check whether --enable-esdtest was given.
30921 if test "${enable_esdtest+set}" = set; then :
30922 enableval=$enable_esdtest;
30928 if test x$esd_exec_prefix != x ; then
30929 esd_args="$esd_args --exec-prefix=$esd_exec_prefix"
30930 if test x${ESD_CONFIG+set} != xset ; then
30931 ESD_CONFIG=$esd_exec_prefix/bin/esd-config
30934 if test x$esd_prefix != x ; then
30935 esd_args="$esd_args --prefix=$esd_prefix"
30936 if test x${ESD_CONFIG+set} != xset ; then
30937 ESD_CONFIG=$esd_prefix/bin/esd-config
30941 # Extract the first word of "esd-config", so it can be a program name with args.
30942 set dummy esd-config; ac_word=$2
30943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30944 $as_echo_n "checking for $ac_word... " >&6; }
30945 if test "${ac_cv_path_ESD_CONFIG+set}" = set; then :
30946 $as_echo_n "(cached) " >&6
30948 case $ESD_CONFIG in
30950 ac_cv_path_ESD_CONFIG="$ESD_CONFIG" # Let the user override the test with a path.
30953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30954 for as_dir in $PATH
30957 test -z "$as_dir" && as_dir=.
30958 for ac_exec_ext in '' $ac_executable_extensions; do
30959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30960 ac_cv_path_ESD_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30968 test -z "$ac_cv_path_ESD_CONFIG" && ac_cv_path_ESD_CONFIG="no"
30972 ESD_CONFIG=$ac_cv_path_ESD_CONFIG
30973 if test -n "$ESD_CONFIG"; then
30974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ESD_CONFIG" >&5
30975 $as_echo "$ESD_CONFIG" >&6; }
30977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30978 $as_echo "no" >&6; }
30982 min_esd_version=0.2.12
30983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ESD - version >= $min_esd_version" >&5
30984 $as_echo_n "checking for ESD - version >= $min_esd_version... " >&6; }
30986 if test "$ESD_CONFIG" = "no" ; then
30991 ac_cpp='$CPP $CPPFLAGS'
30992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30996 ESD_CFLAGS=`$ESD_CONFIG $esdconf_args --cflags`
30997 ESD_LIBS=`$ESD_CONFIG $esdconf_args --libs`
30999 esd_major_version=`$ESD_CONFIG $esd_args --version | \
31000 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31001 esd_minor_version=`$ESD_CONFIG $esd_args --version | \
31002 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31003 esd_micro_version=`$ESD_CONFIG $esd_config_args --version | \
31004 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31005 if test "x$enable_esdtest" = "xyes" ; then
31006 ac_save_CFLAGS="$CFLAGS"
31007 ac_save_LIBS="$LIBS"
31008 CFLAGS="$CFLAGS $ESD_CFLAGS"
31009 LIBS="$LIBS $ESD_LIBS"
31011 if test "$cross_compiling" = yes; then :
31012 echo $ac_n "cross compiling; assumed OK... $ac_c"
31014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31015 /* end confdefs.h. */
31018 #include <stdlib.h>
31019 #include <string.h>
31023 my_strdup (char *str)
31029 new_str = malloc ((strlen (str) + 1) * sizeof(char));
31030 strcpy (new_str, str);
31040 int major, minor, micro;
31043 system ("touch conf.esdtest");
31045 /* HP/UX 9 (%@#!) writes to sscanf strings */
31046 tmp_version = my_strdup("$min_esd_version");
31047 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
31048 printf("%s, bad version string\n", "$min_esd_version");
31052 if (($esd_major_version > major) ||
31053 (($esd_major_version == major) && ($esd_minor_version > minor)) ||
31054 (($esd_major_version == major) && ($esd_minor_version == minor) && ($esd_micro_version >= micro)))
31060 printf("\n*** 'esd-config --version' returned %d.%d.%d, but the minimum version\n", $esd_major_version, $esd_minor_version, $esd_micro_version);
31061 printf("*** of ESD required is %d.%d.%d. If esd-config is correct, then it is\n", major, minor, micro);
31062 printf("*** best to upgrade to the required version.\n");
31063 printf("*** If esd-config was wrong, set the environment variable ESD_CONFIG\n");
31064 printf("*** to point to the correct copy of esd-config, and remove the file\n");
31065 printf("*** config.cache before re-running configure\n");
31072 if ac_fn_c_try_run "$LINENO"; then :
31077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
31078 conftest.$ac_objext conftest.beam conftest.$ac_ext
31081 CFLAGS="$ac_save_CFLAGS"
31082 LIBS="$ac_save_LIBS"
31084 ac_cpp='$CPP $CPPFLAGS'
31085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31091 if test "x$no_esd" = x ; then
31092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31093 $as_echo "yes" >&6; }
31096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31097 $as_echo "no" >&6; }
31098 if test "$ESD_CONFIG" = "no" ; then
31099 echo "*** The esd-config script installed by ESD could not be found"
31100 echo "*** If ESD was installed in PREFIX, make sure PREFIX/bin is in"
31101 echo "*** your path, or set the ESD_CONFIG environment variable to the"
31102 echo "*** full path to esd-config."
31104 if test -f conf.esdtest ; then
31107 echo "*** Could not run ESD test program, checking why..."
31108 CFLAGS="$CFLAGS $ESD_CFLAGS"
31109 LIBS="$LIBS $ESD_LIBS"
31112 ac_cpp='$CPP $CPPFLAGS'
31113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31118 /* end confdefs.h. */
31131 if ac_fn_c_try_link "$LINENO"; then :
31132 echo "*** The test program compiled, but did not run. This usually means"
31133 echo "*** that the run-time linker is not finding ESD or finding the wrong"
31134 echo "*** version of ESD. If it is not finding ESD, you'll need to set your"
31135 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31136 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31137 echo "*** is required on your system"
31139 echo "*** If you have an old version installed, it is best to remove it, although"
31140 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31142 echo "*** The test program failed to compile or link. See the file config.log for the"
31143 echo "*** exact error that occured. This usually means ESD was incorrectly installed"
31144 echo "*** or that you have moved ESD since it was installed. In the latter case, you"
31145 echo "*** may want to edit the esd-config script: $ESD_CONFIG"
31147 rm -f core conftest.err conftest.$ac_objext \
31148 conftest$ac_exeext conftest.$ac_ext
31149 CFLAGS="$ac_save_CFLAGS"
31150 LIBS="$ac_save_LIBS"
31152 ac_cpp='$CPP $CPPFLAGS'
31153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31168 GIVEN_CFLAGS=$ESD_CFLAGS
31169 INCLUDE_DIRS=`echo | cpp -v 2>&1`
31171 INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
31172 for dir in $INCLUDE_DIRS; do
31173 GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
31175 ESD_CFLAGS=$GIVEN_CFLAGS
31180 LIBS=$gst_check_save_LIBS
31181 LDFLAGS=$gst_check_save_LDFLAGS
31182 CFLAGS=$gst_check_save_CFLAGS
31183 CPPFLAGS=$gst_check_save_CPPFLAGS
31184 CXXFLAGS=$gst_check_save_CXXFLAGS
31186 if test x$HAVE_ESD = xno; then
31189 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: esdsink" >&5
31190 $as_echo "$as_me: *** These plugins will be built: esdsink" >&6;}
31193 if test x$USE_ESD = xyes; then
31195 if test "xesdsink" != "x"; then
31196 GST_PLUGINS_YES="\tesdsink\n$GST_PLUGINS_YES"
31199 $as_echo "#define HAVE_ESD /**/" >>confdefs.h
31202 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: esdsink" >&5
31203 $as_echo "$as_me: *** These plugins will not be built: esdsink" >&6;}
31204 if test "xesdsink" != "x"; then
31205 GST_PLUGINS_NO="\tesdsink\n$GST_PLUGINS_NO"
31209 if test x$USE_ESD = xyes; then
31220 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: FLAC lossless audio ***" >&5
31221 $as_echo "$as_me: *** checking feature: FLAC lossless audio ***" >&6;}
31222 if test "xflac" != "x"
31224 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: flac ***" >&5
31225 $as_echo "$as_me: *** for plug-ins: flac ***" >&6;}
31228 if test "x$USE_FLAC" = "xno"; then
31231 # Check whether --enable-flac was given.
31232 if test "${enable_flac+set}" = set; then :
31233 enableval=$enable_flac; case "${enableval}" in
31234 yes) USE_FLAC=yes;;
31236 *) as_fn_error $? "bad value ${enableval} for --enable-flac" "$LINENO" 5 ;;
31242 if test "x$NOUSE" = "xyes"; then
31244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** flac pre-configured not to be built" >&5
31245 $as_echo "$as_me: WARNING: *** flac pre-configured not to be built" >&2;}
31250 if test x$USE_FLAC = xyes; then
31252 gst_check_save_LIBS=$LIBS
31253 gst_check_save_LDFLAGS=$LDFLAGS
31254 gst_check_save_CFLAGS=$CFLAGS
31255 gst_check_save_CPPFLAGS=$CPPFLAGS
31256 gst_check_save_CXXFLAGS=$CXXFLAGS
31261 which="flac >= 1.1.4"
31266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FLAC" >&5
31267 $as_echo_n "checking for FLAC... " >&6; }
31269 if test -n "$PKG_CONFIG"; then
31270 if test -n "$FLAC_CFLAGS"; then
31271 pkg_cv_FLAC_CFLAGS="$FLAC_CFLAGS"
31273 if test -n "$PKG_CONFIG" && \
31274 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31275 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31277 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31278 test $ac_status = 0; }; then
31279 pkg_cv_FLAC_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
31287 if test -n "$PKG_CONFIG"; then
31288 if test -n "$FLAC_LIBS"; then
31289 pkg_cv_FLAC_LIBS="$FLAC_LIBS"
31291 if test -n "$PKG_CONFIG" && \
31292 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31293 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31296 test $ac_status = 0; }; then
31297 pkg_cv_FLAC_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
31308 if test $pkg_failed = yes; then
31310 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31311 _pkg_short_errors_supported=yes
31313 _pkg_short_errors_supported=no
31315 if test $_pkg_short_errors_supported = yes; then
31316 FLAC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
31318 FLAC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
31320 # Put the nasty error message in config.log where it belongs
31321 echo "$FLAC_PKG_ERRORS" >&5
31323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31324 $as_echo "no" >&6; }
31327 if test "x$required" = "xyes"; then
31328 as_fn_error $? "$FLAC_PKG_ERRORS" "$LINENO" 5
31330 { $as_echo "$as_me:${as_lineno-$LINENO}: $FLAC_PKG_ERRORS" >&5
31331 $as_echo "$as_me: $FLAC_PKG_ERRORS" >&6;}
31334 elif test $pkg_failed = untried; then
31337 if test "x$required" = "xyes"; then
31338 as_fn_error $? "$FLAC_PKG_ERRORS" "$LINENO" 5
31340 { $as_echo "$as_me:${as_lineno-$LINENO}: $FLAC_PKG_ERRORS" >&5
31341 $as_echo "$as_me: $FLAC_PKG_ERRORS" >&6;}
31345 FLAC_CFLAGS=$pkg_cv_FLAC_CFLAGS
31346 FLAC_LIBS=$pkg_cv_FLAC_LIBS
31347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31348 $as_echo "yes" >&6; }
31357 LIBS=$gst_check_save_LIBS
31358 LDFLAGS=$gst_check_save_LDFLAGS
31359 CFLAGS=$gst_check_save_CFLAGS
31360 CPPFLAGS=$gst_check_save_CPPFLAGS
31361 CXXFLAGS=$gst_check_save_CXXFLAGS
31363 if test x$HAVE_FLAC = xno; then
31366 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: flac" >&5
31367 $as_echo "$as_me: *** These plugins will be built: flac" >&6;}
31370 if test x$USE_FLAC = xyes; then
31372 if test "xflac" != "x"; then
31373 GST_PLUGINS_YES="\tflac\n$GST_PLUGINS_YES"
31376 $as_echo "#define HAVE_FLAC /**/" >>confdefs.h
31379 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: flac" >&5
31380 $as_echo "$as_me: *** These plugins will not be built: flac" >&6;}
31381 if test "xflac" != "x"; then
31382 GST_PLUGINS_NO="\tflac\n$GST_PLUGINS_NO"
31386 if test x$USE_FLAC = xyes; then
31397 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GConf libraries ***" >&5
31398 $as_echo "$as_me: *** checking feature: GConf libraries ***" >&6;}
31399 if test "xgconfelements" != "x"
31401 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gconfelements ***" >&5
31402 $as_echo "$as_me: *** for plug-ins: gconfelements ***" >&6;}
31405 if test "x$USE_GCONF" = "xno"; then
31408 # Check whether --enable-gconf was given.
31409 if test "${enable_gconf+set}" = set; then :
31410 enableval=$enable_gconf; case "${enableval}" in
31411 yes) USE_GCONF=yes;;
31413 *) as_fn_error $? "bad value ${enableval} for --enable-gconf" "$LINENO" 5 ;;
31419 if test "x$NOUSE" = "xyes"; then
31421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gconfelements pre-configured not to be built" >&5
31422 $as_echo "$as_me: WARNING: *** gconfelements pre-configured not to be built" >&2;}
31427 if test x$USE_GCONF = xyes; then
31429 gst_check_save_LIBS=$LIBS
31430 gst_check_save_LDFLAGS=$LDFLAGS
31431 gst_check_save_CFLAGS=$CFLAGS
31432 gst_check_save_CPPFLAGS=$CPPFLAGS
31433 gst_check_save_CXXFLAGS=$CXXFLAGS
31443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
31444 $as_echo_n "checking for GCONF... " >&6; }
31446 if test -n "$PKG_CONFIG"; then
31447 if test -n "$GCONF_CFLAGS"; then
31448 pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
31450 if test -n "$PKG_CONFIG" && \
31451 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31452 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31455 test $ac_status = 0; }; then
31456 pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
31464 if test -n "$PKG_CONFIG"; then
31465 if test -n "$GCONF_LIBS"; then
31466 pkg_cv_GCONF_LIBS="$GCONF_LIBS"
31468 if test -n "$PKG_CONFIG" && \
31469 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31470 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31473 test $ac_status = 0; }; then
31474 pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
31485 if test $pkg_failed = yes; then
31487 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31488 _pkg_short_errors_supported=yes
31490 _pkg_short_errors_supported=no
31492 if test $_pkg_short_errors_supported = yes; then
31493 GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
31495 GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
31497 # Put the nasty error message in config.log where it belongs
31498 echo "$GCONF_PKG_ERRORS" >&5
31500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31501 $as_echo "no" >&6; }
31504 if test "x$required" = "xyes"; then
31505 as_fn_error $? "$GCONF_PKG_ERRORS" "$LINENO" 5
31507 { $as_echo "$as_me:${as_lineno-$LINENO}: $GCONF_PKG_ERRORS" >&5
31508 $as_echo "$as_me: $GCONF_PKG_ERRORS" >&6;}
31511 elif test $pkg_failed = untried; then
31514 if test "x$required" = "xyes"; then
31515 as_fn_error $? "$GCONF_PKG_ERRORS" "$LINENO" 5
31517 { $as_echo "$as_me:${as_lineno-$LINENO}: $GCONF_PKG_ERRORS" >&5
31518 $as_echo "$as_me: $GCONF_PKG_ERRORS" >&6;}
31522 GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
31523 GCONF_LIBS=$pkg_cv_GCONF_LIBS
31524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31525 $as_echo "yes" >&6; }
31534 LIBS=$gst_check_save_LIBS
31535 LDFLAGS=$gst_check_save_LDFLAGS
31536 CFLAGS=$gst_check_save_CFLAGS
31537 CPPFLAGS=$gst_check_save_CPPFLAGS
31538 CXXFLAGS=$gst_check_save_CXXFLAGS
31540 if test x$HAVE_GCONF = xno; then
31543 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gconfelements" >&5
31544 $as_echo "$as_me: *** These plugins will be built: gconfelements" >&6;}
31547 if test x$USE_GCONF = xyes; then
31549 if test "xgconfelements" != "x"; then
31550 GST_PLUGINS_YES="\tgconfelements\n$GST_PLUGINS_YES"
31553 $as_echo "#define HAVE_GCONF /**/" >>confdefs.h
31556 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gconfelements" >&5
31557 $as_echo "$as_me: *** These plugins will not be built: gconfelements" >&6;}
31558 if test "xgconfelements" != "x"; then
31559 GST_PLUGINS_NO="\tgconfelements\n$GST_PLUGINS_NO"
31563 if test x$USE_GCONF = xyes; then
31565 USE_GCONF_FALSE='#'
31574 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GDK pixbuf ***" >&5
31575 $as_echo "$as_me: *** checking feature: GDK pixbuf ***" >&6;}
31576 if test "xgdkpixbuf" != "x"
31578 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gdkpixbuf ***" >&5
31579 $as_echo "$as_me: *** for plug-ins: gdkpixbuf ***" >&6;}
31582 if test "x$USE_GDK_PIXBUF" = "xno"; then
31585 # Check whether --enable-gdk_pixbuf was given.
31586 if test "${enable_gdk_pixbuf+set}" = set; then :
31587 enableval=$enable_gdk_pixbuf; case "${enableval}" in
31588 yes) USE_GDK_PIXBUF=yes;;
31589 no) USE_GDK_PIXBUF=no;;
31590 *) as_fn_error $? "bad value ${enableval} for --enable-gdk_pixbuf" "$LINENO" 5 ;;
31596 if test "x$NOUSE" = "xyes"; then
31597 USE_GDK_PIXBUF="no"
31598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gdkpixbuf pre-configured not to be built" >&5
31599 $as_echo "$as_me: WARNING: *** gdkpixbuf pre-configured not to be built" >&2;}
31604 if test x$USE_GDK_PIXBUF = xyes; then
31606 gst_check_save_LIBS=$LIBS
31607 gst_check_save_LDFLAGS=$LDFLAGS
31608 gst_check_save_CFLAGS=$CFLAGS
31609 gst_check_save_CPPFLAGS=$CPPFLAGS
31610 gst_check_save_CXXFLAGS=$CXXFLAGS
31615 which="gdk-pixbuf-2.0 >= 2.8.0"
31620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDK_PIXBUF" >&5
31621 $as_echo_n "checking for GDK_PIXBUF... " >&6; }
31623 if test -n "$PKG_CONFIG"; then
31624 if test -n "$GDK_PIXBUF_CFLAGS"; then
31625 pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS"
31627 if test -n "$PKG_CONFIG" && \
31628 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31629 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31632 test $ac_status = 0; }; then
31633 pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
31641 if test -n "$PKG_CONFIG"; then
31642 if test -n "$GDK_PIXBUF_LIBS"; then
31643 pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS"
31645 if test -n "$PKG_CONFIG" && \
31646 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31647 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31650 test $ac_status = 0; }; then
31651 pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
31662 if test $pkg_failed = yes; then
31664 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31665 _pkg_short_errors_supported=yes
31667 _pkg_short_errors_supported=no
31669 if test $_pkg_short_errors_supported = yes; then
31670 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
31672 GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
31674 # Put the nasty error message in config.log where it belongs
31675 echo "$GDK_PIXBUF_PKG_ERRORS" >&5
31677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31678 $as_echo "no" >&6; }
31680 HAVE_GDK_PIXBUF="no"
31681 if test "x$required" = "xyes"; then
31682 as_fn_error $? "$GDK_PIXBUF_PKG_ERRORS" "$LINENO" 5
31684 { $as_echo "$as_me:${as_lineno-$LINENO}: $GDK_PIXBUF_PKG_ERRORS" >&5
31685 $as_echo "$as_me: $GDK_PIXBUF_PKG_ERRORS" >&6;}
31688 elif test $pkg_failed = untried; then
31690 HAVE_GDK_PIXBUF="no"
31691 if test "x$required" = "xyes"; then
31692 as_fn_error $? "$GDK_PIXBUF_PKG_ERRORS" "$LINENO" 5
31694 { $as_echo "$as_me:${as_lineno-$LINENO}: $GDK_PIXBUF_PKG_ERRORS" >&5
31695 $as_echo "$as_me: $GDK_PIXBUF_PKG_ERRORS" >&6;}
31699 GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS
31700 GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS
31701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31702 $as_echo "yes" >&6; }
31704 HAVE_GDK_PIXBUF="yes"
31711 LIBS=$gst_check_save_LIBS
31712 LDFLAGS=$gst_check_save_LDFLAGS
31713 CFLAGS=$gst_check_save_CFLAGS
31714 CPPFLAGS=$gst_check_save_CPPFLAGS
31715 CXXFLAGS=$gst_check_save_CXXFLAGS
31717 if test x$HAVE_GDK_PIXBUF = xno; then
31720 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gdkpixbuf" >&5
31721 $as_echo "$as_me: *** These plugins will be built: gdkpixbuf" >&6;}
31724 if test x$USE_GDK_PIXBUF = xyes; then
31726 if test "xgdkpixbuf" != "x"; then
31727 GST_PLUGINS_YES="\tgdkpixbuf\n$GST_PLUGINS_YES"
31730 $as_echo "#define HAVE_GDK_PIXBUF /**/" >>confdefs.h
31733 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gdkpixbuf" >&5
31734 $as_echo "$as_me: *** These plugins will not be built: gdkpixbuf" >&6;}
31735 if test "xgdkpixbuf" != "x"; then
31736 GST_PLUGINS_NO="\tgdkpixbuf\n$GST_PLUGINS_NO"
31740 if test x$USE_GDK_PIXBUF = xyes; then
31741 USE_GDK_PIXBUF_TRUE=
31742 USE_GDK_PIXBUF_FALSE='#'
31744 USE_GDK_PIXBUF_TRUE='#'
31745 USE_GDK_PIXBUF_FALSE=
31751 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: HAL libraries ***" >&5
31752 $as_echo "$as_me: *** checking feature: HAL libraries ***" >&6;}
31753 if test "xhalelements" != "x"
31755 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: halelements ***" >&5
31756 $as_echo "$as_me: *** for plug-ins: halelements ***" >&6;}
31759 if test "x$USE_HAL" = "xno"; then
31762 # Check whether --enable-hal was given.
31763 if test "${enable_hal+set}" = set; then :
31764 enableval=$enable_hal; case "${enableval}" in
31767 *) as_fn_error $? "bad value ${enableval} for --enable-hal" "$LINENO" 5 ;;
31773 if test "x$NOUSE" = "xyes"; then
31775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** halelements pre-configured not to be built" >&5
31776 $as_echo "$as_me: WARNING: *** halelements pre-configured not to be built" >&2;}
31781 if test x$USE_HAL = xyes; then
31783 gst_check_save_LIBS=$LIBS
31784 gst_check_save_LDFLAGS=$LDFLAGS
31785 gst_check_save_CFLAGS=$CFLAGS
31786 gst_check_save_CPPFLAGS=$CPPFLAGS
31787 gst_check_save_CXXFLAGS=$CXXFLAGS
31792 which="hal >= 0.5.6, dbus-1 >= 0.32"
31797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HAL" >&5
31798 $as_echo_n "checking for HAL... " >&6; }
31800 if test -n "$PKG_CONFIG"; then
31801 if test -n "$HAL_CFLAGS"; then
31802 pkg_cv_HAL_CFLAGS="$HAL_CFLAGS"
31804 if test -n "$PKG_CONFIG" && \
31805 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31806 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31809 test $ac_status = 0; }; then
31810 pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
31818 if test -n "$PKG_CONFIG"; then
31819 if test -n "$HAL_LIBS"; then
31820 pkg_cv_HAL_LIBS="$HAL_LIBS"
31822 if test -n "$PKG_CONFIG" && \
31823 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
31824 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
31826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31827 test $ac_status = 0; }; then
31828 pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
31839 if test $pkg_failed = yes; then
31841 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31842 _pkg_short_errors_supported=yes
31844 _pkg_short_errors_supported=no
31846 if test $_pkg_short_errors_supported = yes; then
31847 HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
31849 HAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
31851 # Put the nasty error message in config.log where it belongs
31852 echo "$HAL_PKG_ERRORS" >&5
31854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31855 $as_echo "no" >&6; }
31858 if test "x$required" = "xyes"; then
31859 as_fn_error $? "$HAL_PKG_ERRORS" "$LINENO" 5
31861 { $as_echo "$as_me:${as_lineno-$LINENO}: $HAL_PKG_ERRORS" >&5
31862 $as_echo "$as_me: $HAL_PKG_ERRORS" >&6;}
31865 elif test $pkg_failed = untried; then
31868 if test "x$required" = "xyes"; then
31869 as_fn_error $? "$HAL_PKG_ERRORS" "$LINENO" 5
31871 { $as_echo "$as_me:${as_lineno-$LINENO}: $HAL_PKG_ERRORS" >&5
31872 $as_echo "$as_me: $HAL_PKG_ERRORS" >&6;}
31876 HAL_CFLAGS=$pkg_cv_HAL_CFLAGS
31877 HAL_LIBS=$pkg_cv_HAL_LIBS
31878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31879 $as_echo "yes" >&6; }
31888 LIBS=$gst_check_save_LIBS
31889 LDFLAGS=$gst_check_save_LDFLAGS
31890 CFLAGS=$gst_check_save_CFLAGS
31891 CPPFLAGS=$gst_check_save_CPPFLAGS
31892 CXXFLAGS=$gst_check_save_CXXFLAGS
31894 if test x$HAVE_HAL = xno; then
31897 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: halelements" >&5
31898 $as_echo "$as_me: *** These plugins will be built: halelements" >&6;}
31901 if test x$USE_HAL = xyes; then
31903 if test "xhalelements" != "x"; then
31904 GST_PLUGINS_YES="\thalelements\n$GST_PLUGINS_YES"
31907 $as_echo "#define HAVE_HAL /**/" >>confdefs.h
31910 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: halelements" >&5
31911 $as_echo "$as_me: *** These plugins will not be built: halelements" >&6;}
31912 if test "xhalelements" != "x"; then
31913 GST_PLUGINS_NO="\thalelements\n$GST_PLUGINS_NO"
31917 if test x$USE_HAL = xyes; then
31928 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Jack ***" >&5
31929 $as_echo "$as_me: *** checking feature: Jack ***" >&6;}
31930 if test "xjack" != "x"
31932 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: jack ***" >&5
31933 $as_echo "$as_me: *** for plug-ins: jack ***" >&6;}
31936 if test "x$USE_JACK" = "xno"; then
31939 # Check whether --enable-jack was given.
31940 if test "${enable_jack+set}" = set; then :
31941 enableval=$enable_jack; case "${enableval}" in
31942 yes) USE_JACK=yes;;
31944 *) as_fn_error $? "bad value ${enableval} for --enable-jack" "$LINENO" 5 ;;
31950 if test "x$NOUSE" = "xyes"; then
31952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** jack pre-configured not to be built" >&5
31953 $as_echo "$as_me: WARNING: *** jack pre-configured not to be built" >&2;}
31958 if test x$USE_JACK = xyes; then
31960 gst_check_save_LIBS=$LIBS
31961 gst_check_save_LDFLAGS=$LDFLAGS
31962 gst_check_save_CFLAGS=$CFLAGS
31963 gst_check_save_CPPFLAGS=$CPPFLAGS
31964 gst_check_save_CXXFLAGS=$CXXFLAGS
31970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5
31971 $as_echo_n "checking for JACK... " >&6; }
31973 if test -n "$PKG_CONFIG"; then
31974 if test -n "$JACK_CFLAGS"; then
31975 pkg_cv_JACK_CFLAGS="$JACK_CFLAGS"
31977 if test -n "$PKG_CONFIG" && \
31978 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.10\""; } >&5
31979 ($PKG_CONFIG --exists --print-errors "jack >= 0.99.10") 2>&5
31981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31982 test $ac_status = 0; }; then
31983 pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack >= 0.99.10" 2>/dev/null`
31991 if test -n "$PKG_CONFIG"; then
31992 if test -n "$JACK_LIBS"; then
31993 pkg_cv_JACK_LIBS="$JACK_LIBS"
31995 if test -n "$PKG_CONFIG" && \
31996 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.10\""; } >&5
31997 ($PKG_CONFIG --exists --print-errors "jack >= 0.99.10") 2>&5
31999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32000 test $ac_status = 0; }; then
32001 pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack >= 0.99.10" 2>/dev/null`
32012 if test $pkg_failed = yes; then
32014 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32015 _pkg_short_errors_supported=yes
32017 _pkg_short_errors_supported=no
32019 if test $_pkg_short_errors_supported = yes; then
32020 JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "jack >= 0.99.10"`
32022 JACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "jack >= 0.99.10"`
32024 # Put the nasty error message in config.log where it belongs
32025 echo "$JACK_PKG_ERRORS" >&5
32027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32028 $as_echo "no" >&6; }
32030 elif test $pkg_failed = untried; then
32033 JACK_CFLAGS=$pkg_cv_JACK_CFLAGS
32034 JACK_LIBS=$pkg_cv_JACK_LIBS
32035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32036 $as_echo "yes" >&6; }
32043 which="jack >= 0.120.1 jack < 1.0"
32048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK_0_120_1" >&5
32049 $as_echo_n "checking for JACK_0_120_1... " >&6; }
32051 if test -n "$PKG_CONFIG"; then
32052 if test -n "$JACK_0_120_1_CFLAGS"; then
32053 pkg_cv_JACK_0_120_1_CFLAGS="$JACK_0_120_1_CFLAGS"
32055 if test -n "$PKG_CONFIG" && \
32056 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32057 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32060 test $ac_status = 0; }; then
32061 pkg_cv_JACK_0_120_1_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32069 if test -n "$PKG_CONFIG"; then
32070 if test -n "$JACK_0_120_1_LIBS"; then
32071 pkg_cv_JACK_0_120_1_LIBS="$JACK_0_120_1_LIBS"
32073 if test -n "$PKG_CONFIG" && \
32074 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32075 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32078 test $ac_status = 0; }; then
32079 pkg_cv_JACK_0_120_1_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
32090 if test $pkg_failed = yes; then
32092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32093 _pkg_short_errors_supported=yes
32095 _pkg_short_errors_supported=no
32097 if test $_pkg_short_errors_supported = yes; then
32098 JACK_0_120_1_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
32100 JACK_0_120_1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
32102 # Put the nasty error message in config.log where it belongs
32103 echo "$JACK_0_120_1_PKG_ERRORS" >&5
32105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32106 $as_echo "no" >&6; }
32108 HAVE_JACK_0_120_1="no"
32109 if test "x$required" = "xyes"; then
32110 as_fn_error $? "$JACK_0_120_1_PKG_ERRORS" "$LINENO" 5
32112 { $as_echo "$as_me:${as_lineno-$LINENO}: $JACK_0_120_1_PKG_ERRORS" >&5
32113 $as_echo "$as_me: $JACK_0_120_1_PKG_ERRORS" >&6;}
32116 elif test $pkg_failed = untried; then
32118 HAVE_JACK_0_120_1="no"
32119 if test "x$required" = "xyes"; then
32120 as_fn_error $? "$JACK_0_120_1_PKG_ERRORS" "$LINENO" 5
32122 { $as_echo "$as_me:${as_lineno-$LINENO}: $JACK_0_120_1_PKG_ERRORS" >&5
32123 $as_echo "$as_me: $JACK_0_120_1_PKG_ERRORS" >&6;}
32127 JACK_0_120_1_CFLAGS=$pkg_cv_JACK_0_120_1_CFLAGS
32128 JACK_0_120_1_LIBS=$pkg_cv_JACK_0_120_1_LIBS
32129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32130 $as_echo "yes" >&6; }
32132 HAVE_JACK_0_120_1="yes"
32137 if test x$HAVE_JACK_0_120_1 = xyes; then
32139 $as_echo "#define HAVE_JACK_0_120_1 1" >>confdefs.h
32143 which="jack >= 1.9.7"
32148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK_1_9_7" >&5
32149 $as_echo_n "checking for JACK_1_9_7... " >&6; }
32151 if test -n "$PKG_CONFIG"; then
32152 if test -n "$JACK_1_9_7_CFLAGS"; then
32153 pkg_cv_JACK_1_9_7_CFLAGS="$JACK_1_9_7_CFLAGS"
32155 if test -n "$PKG_CONFIG" && \
32156 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32157 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32160 test $ac_status = 0; }; then
32161 pkg_cv_JACK_1_9_7_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32169 if test -n "$PKG_CONFIG"; then
32170 if test -n "$JACK_1_9_7_LIBS"; then
32171 pkg_cv_JACK_1_9_7_LIBS="$JACK_1_9_7_LIBS"
32173 if test -n "$PKG_CONFIG" && \
32174 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32175 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32178 test $ac_status = 0; }; then
32179 pkg_cv_JACK_1_9_7_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
32190 if test $pkg_failed = yes; then
32192 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32193 _pkg_short_errors_supported=yes
32195 _pkg_short_errors_supported=no
32197 if test $_pkg_short_errors_supported = yes; then
32198 JACK_1_9_7_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
32200 JACK_1_9_7_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
32202 # Put the nasty error message in config.log where it belongs
32203 echo "$JACK_1_9_7_PKG_ERRORS" >&5
32205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32206 $as_echo "no" >&6; }
32208 HAVE_JACK_1_9_7="no"
32209 if test "x$required" = "xyes"; then
32210 as_fn_error $? "$JACK_1_9_7_PKG_ERRORS" "$LINENO" 5
32212 { $as_echo "$as_me:${as_lineno-$LINENO}: $JACK_1_9_7_PKG_ERRORS" >&5
32213 $as_echo "$as_me: $JACK_1_9_7_PKG_ERRORS" >&6;}
32216 elif test $pkg_failed = untried; then
32218 HAVE_JACK_1_9_7="no"
32219 if test "x$required" = "xyes"; then
32220 as_fn_error $? "$JACK_1_9_7_PKG_ERRORS" "$LINENO" 5
32222 { $as_echo "$as_me:${as_lineno-$LINENO}: $JACK_1_9_7_PKG_ERRORS" >&5
32223 $as_echo "$as_me: $JACK_1_9_7_PKG_ERRORS" >&6;}
32227 JACK_1_9_7_CFLAGS=$pkg_cv_JACK_1_9_7_CFLAGS
32228 JACK_1_9_7_LIBS=$pkg_cv_JACK_1_9_7_LIBS
32229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32230 $as_echo "yes" >&6; }
32232 HAVE_JACK_1_9_7="yes"
32237 if test x$HAVE_JACK_1_9_7 = xyes; then
32239 $as_echo "#define HAVE_JACK_1_9_7 1" >>confdefs.h
32245 LIBS=$gst_check_save_LIBS
32246 LDFLAGS=$gst_check_save_LDFLAGS
32247 CFLAGS=$gst_check_save_CFLAGS
32248 CPPFLAGS=$gst_check_save_CPPFLAGS
32249 CXXFLAGS=$gst_check_save_CXXFLAGS
32251 if test x$HAVE_JACK = xno; then
32254 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: jack" >&5
32255 $as_echo "$as_me: *** These plugins will be built: jack" >&6;}
32258 if test x$USE_JACK = xyes; then
32260 if test "xjack" != "x"; then
32261 GST_PLUGINS_YES="\tjack\n$GST_PLUGINS_YES"
32264 $as_echo "#define HAVE_JACK /**/" >>confdefs.h
32267 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: jack" >&5
32268 $as_echo "$as_me: *** These plugins will not be built: jack" >&6;}
32269 if test "xjack" != "x"; then
32270 GST_PLUGINS_NO="\tjack\n$GST_PLUGINS_NO"
32274 if test x$USE_JACK = xyes; then
32285 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: jpeg library ***" >&5
32286 $as_echo "$as_me: *** checking feature: jpeg library ***" >&6;}
32287 if test "xjpeg" != "x"
32289 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: jpeg ***" >&5
32290 $as_echo "$as_me: *** for plug-ins: jpeg ***" >&6;}
32293 if test "x$USE_JPEG" = "xno"; then
32296 # Check whether --enable-jpeg was given.
32297 if test "${enable_jpeg+set}" = set; then :
32298 enableval=$enable_jpeg; case "${enableval}" in
32299 yes) USE_JPEG=yes;;
32301 *) as_fn_error $? "bad value ${enableval} for --enable-jpeg" "$LINENO" 5 ;;
32307 if test "x$NOUSE" = "xyes"; then
32309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** jpeg pre-configured not to be built" >&5
32310 $as_echo "$as_me: WARNING: *** jpeg pre-configured not to be built" >&2;}
32315 if test x$USE_JPEG = xyes; then
32317 gst_check_save_LIBS=$LIBS
32318 gst_check_save_LDFLAGS=$LDFLAGS
32319 gst_check_save_CFLAGS=$CFLAGS
32320 gst_check_save_CPPFLAGS=$CPPFLAGS
32321 gst_check_save_CXXFLAGS=$CXXFLAGS
32326 # Check whether --with-jpeg-mmx was given.
32327 if test "${with_jpeg_mmx+set}" = set; then :
32328 withval=$with_jpeg_mmx;
32332 if test x$with_jpeg_mmx != x; then
32333 LIBS="$LIBS -L$with_jpeg_mmx"
32335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_set_defaults in -ljpeg-mmx" >&5
32336 $as_echo_n "checking for jpeg_set_defaults in -ljpeg-mmx... " >&6; }
32337 if test "${ac_cv_lib_jpeg_mmx_jpeg_set_defaults+set}" = set; then :
32338 $as_echo_n "(cached) " >&6
32340 ac_check_lib_save_LIBS=$LIBS
32341 LIBS="-ljpeg-mmx $LIBS"
32342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32343 /* end confdefs.h. */
32345 /* Override any GCC internal prototype to avoid an error.
32346 Use char because int might match the return type of a GCC
32347 builtin and then its argument prototype would still apply. */
32351 char jpeg_set_defaults ();
32355 return jpeg_set_defaults ();
32360 if ac_fn_c_try_link "$LINENO"; then :
32361 ac_cv_lib_jpeg_mmx_jpeg_set_defaults=yes
32363 ac_cv_lib_jpeg_mmx_jpeg_set_defaults=no
32365 rm -f core conftest.err conftest.$ac_objext \
32366 conftest$ac_exeext conftest.$ac_ext
32367 LIBS=$ac_check_lib_save_LIBS
32369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_mmx_jpeg_set_defaults" >&5
32370 $as_echo "$ac_cv_lib_jpeg_mmx_jpeg_set_defaults" >&6; }
32371 if test "x$ac_cv_lib_jpeg_mmx_jpeg_set_defaults" = x""yes; then :
32377 JPEG_LIBS="$LIBS -ljpeg-mmx"
32379 if test x$HAVE_JPEG != xyes; then
32380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_set_defaults in -ljpeg" >&5
32381 $as_echo_n "checking for jpeg_set_defaults in -ljpeg... " >&6; }
32382 if test "${ac_cv_lib_jpeg_jpeg_set_defaults+set}" = set; then :
32383 $as_echo_n "(cached) " >&6
32385 ac_check_lib_save_LIBS=$LIBS
32386 LIBS="-ljpeg $LIBS"
32387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32388 /* end confdefs.h. */
32390 /* Override any GCC internal prototype to avoid an error.
32391 Use char because int might match the return type of a GCC
32392 builtin and then its argument prototype would still apply. */
32396 char jpeg_set_defaults ();
32400 return jpeg_set_defaults ();
32405 if ac_fn_c_try_link "$LINENO"; then :
32406 ac_cv_lib_jpeg_jpeg_set_defaults=yes
32408 ac_cv_lib_jpeg_jpeg_set_defaults=no
32410 rm -f core conftest.err conftest.$ac_objext \
32411 conftest$ac_exeext conftest.$ac_ext
32412 LIBS=$ac_check_lib_save_LIBS
32414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_set_defaults" >&5
32415 $as_echo "$ac_cv_lib_jpeg_jpeg_set_defaults" >&6; }
32416 if test "x$ac_cv_lib_jpeg_jpeg_set_defaults" = x""yes; then :
32427 LIBS=$gst_check_save_LIBS
32428 LDFLAGS=$gst_check_save_LDFLAGS
32429 CFLAGS=$gst_check_save_CFLAGS
32430 CPPFLAGS=$gst_check_save_CPPFLAGS
32431 CXXFLAGS=$gst_check_save_CXXFLAGS
32433 if test x$HAVE_JPEG = xno; then
32436 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: jpeg" >&5
32437 $as_echo "$as_me: *** These plugins will be built: jpeg" >&6;}
32440 if test x$USE_JPEG = xyes; then
32442 if test "xjpeg" != "x"; then
32443 GST_PLUGINS_YES="\tjpeg\n$GST_PLUGINS_YES"
32446 $as_echo "#define HAVE_JPEG /**/" >>confdefs.h
32449 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: jpeg" >&5
32450 $as_echo "$as_me: *** These plugins will not be built: jpeg" >&6;}
32451 if test "xjpeg" != "x"; then
32452 GST_PLUGINS_NO="\tjpeg\n$GST_PLUGINS_NO"
32456 if test x$USE_JPEG = xyes; then
32467 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libcaca coloured ASCII art ***" >&5
32468 $as_echo "$as_me: *** checking feature: libcaca coloured ASCII art ***" >&6;}
32469 if test "xcacasink" != "x"
32471 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cacasink ***" >&5
32472 $as_echo "$as_me: *** for plug-ins: cacasink ***" >&6;}
32475 if test "x$USE_LIBCACA" = "xno"; then
32478 # Check whether --enable-libcaca was given.
32479 if test "${enable_libcaca+set}" = set; then :
32480 enableval=$enable_libcaca; case "${enableval}" in
32481 yes) USE_LIBCACA=yes;;
32482 no) USE_LIBCACA=no;;
32483 *) as_fn_error $? "bad value ${enableval} for --enable-libcaca" "$LINENO" 5 ;;
32489 if test "x$NOUSE" = "xyes"; then
32491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cacasink pre-configured not to be built" >&5
32492 $as_echo "$as_me: WARNING: *** cacasink pre-configured not to be built" >&2;}
32497 if test x$USE_LIBCACA = xyes; then
32499 gst_check_save_LIBS=$LIBS
32500 gst_check_save_LDFLAGS=$LDFLAGS
32501 gst_check_save_CFLAGS=$CFLAGS
32502 gst_check_save_CPPFLAGS=$CPPFLAGS
32503 gst_check_save_CXXFLAGS=$CXXFLAGS
32513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCACA" >&5
32514 $as_echo_n "checking for LIBCACA... " >&6; }
32516 if test -n "$PKG_CONFIG"; then
32517 if test -n "$LIBCACA_CFLAGS"; then
32518 pkg_cv_LIBCACA_CFLAGS="$LIBCACA_CFLAGS"
32520 if test -n "$PKG_CONFIG" && \
32521 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32522 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32525 test $ac_status = 0; }; then
32526 pkg_cv_LIBCACA_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32534 if test -n "$PKG_CONFIG"; then
32535 if test -n "$LIBCACA_LIBS"; then
32536 pkg_cv_LIBCACA_LIBS="$LIBCACA_LIBS"
32538 if test -n "$PKG_CONFIG" && \
32539 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32540 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32542 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32543 test $ac_status = 0; }; then
32544 pkg_cv_LIBCACA_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
32555 if test $pkg_failed = yes; then
32557 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32558 _pkg_short_errors_supported=yes
32560 _pkg_short_errors_supported=no
32562 if test $_pkg_short_errors_supported = yes; then
32563 LIBCACA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
32565 LIBCACA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
32567 # Put the nasty error message in config.log where it belongs
32568 echo "$LIBCACA_PKG_ERRORS" >&5
32570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32571 $as_echo "no" >&6; }
32574 if test "x$required" = "xyes"; then
32575 as_fn_error $? "$LIBCACA_PKG_ERRORS" "$LINENO" 5
32577 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBCACA_PKG_ERRORS" >&5
32578 $as_echo "$as_me: $LIBCACA_PKG_ERRORS" >&6;}
32581 elif test $pkg_failed = untried; then
32584 if test "x$required" = "xyes"; then
32585 as_fn_error $? "$LIBCACA_PKG_ERRORS" "$LINENO" 5
32587 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBCACA_PKG_ERRORS" >&5
32588 $as_echo "$as_me: $LIBCACA_PKG_ERRORS" >&6;}
32592 LIBCACA_CFLAGS=$pkg_cv_LIBCACA_CFLAGS
32593 LIBCACA_LIBS=$pkg_cv_LIBCACA_LIBS
32594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32595 $as_echo "yes" >&6; }
32602 if test "x$HAVE_LIBCACA" != "xyes"; then
32604 # Extract the first word of "caca-config", so it can be a program name with args.
32605 set dummy caca-config; ac_word=$2
32606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32607 $as_echo_n "checking for $ac_word... " >&6; }
32608 if test "${ac_cv_path_LIBCACA_CONFIG+set}" = set; then :
32609 $as_echo_n "(cached) " >&6
32611 case $LIBCACA_CONFIG in
32613 ac_cv_path_LIBCACA_CONFIG="$LIBCACA_CONFIG" # Let the user override the test with a path.
32616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32617 for as_dir in $PATH
32620 test -z "$as_dir" && as_dir=.
32621 for ac_exec_ext in '' $ac_executable_extensions; do
32622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32623 ac_cv_path_LIBCACA_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
32631 test -z "$ac_cv_path_LIBCACA_CONFIG" && ac_cv_path_LIBCACA_CONFIG="no"
32635 LIBCACA_CONFIG=$ac_cv_path_LIBCACA_CONFIG
32636 if test -n "$LIBCACA_CONFIG"; then
32637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBCACA_CONFIG" >&5
32638 $as_echo "$LIBCACA_CONFIG" >&6; }
32640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32641 $as_echo "no" >&6; }
32645 if test x$LIBCACA_CONFIG = xno; then
32650 if caca-config --plugin-libs &> /dev/null; then
32651 LIBCACA_LIBS=`caca-config --plugin-libs `
32653 LIBCACA_LIBS=`caca-config --libs `
32655 LIBCACA_CFLAGS=`caca-config --cflags `
32661 if test "x$HAVE_LIBCACA" = "xyes"; then
32662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for caca_init in -lcaca" >&5
32663 $as_echo_n "checking for caca_init in -lcaca... " >&6; }
32664 if test "${ac_cv_lib_caca_caca_init+set}" = set; then :
32665 $as_echo_n "(cached) " >&6
32667 ac_check_lib_save_LIBS=$LIBS
32668 LIBS="-lcaca $LIBCACA_LIBS $LIBS"
32669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32670 /* end confdefs.h. */
32672 /* Override any GCC internal prototype to avoid an error.
32673 Use char because int might match the return type of a GCC
32674 builtin and then its argument prototype would still apply. */
32682 return caca_init ();
32687 if ac_fn_c_try_link "$LINENO"; then :
32688 ac_cv_lib_caca_caca_init=yes
32690 ac_cv_lib_caca_caca_init=no
32692 rm -f core conftest.err conftest.$ac_objext \
32693 conftest$ac_exeext conftest.$ac_ext
32694 LIBS=$ac_check_lib_save_LIBS
32696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caca_caca_init" >&5
32697 $as_echo "$ac_cv_lib_caca_caca_init" >&6; }
32698 if test "x$ac_cv_lib_caca_caca_init" = x""yes; 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_LIBCACA = xno; then
32717 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cacasink" >&5
32718 $as_echo "$as_me: *** These plugins will be built: cacasink" >&6;}
32721 if test x$USE_LIBCACA = xyes; then
32723 if test "xcacasink" != "x"; then
32724 GST_PLUGINS_YES="\tcacasink\n$GST_PLUGINS_YES"
32727 $as_echo "#define HAVE_LIBCACA /**/" >>confdefs.h
32730 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cacasink" >&5
32731 $as_echo "$as_me: *** These plugins will not be built: cacasink" >&6;}
32732 if test "xcacasink" != "x"; then
32733 GST_PLUGINS_NO="\tcacasink\n$GST_PLUGINS_NO"
32737 if test x$USE_LIBCACA = xyes; then
32739 USE_LIBCACA_FALSE='#'
32741 USE_LIBCACA_TRUE='#'
32748 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libdv DV demuxer/decoder ***" >&5
32749 $as_echo "$as_me: *** checking feature: libdv DV demuxer/decoder ***" >&6;}
32750 if test "xdv" != "x"
32752 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dv ***" >&5
32753 $as_echo "$as_me: *** for plug-ins: dv ***" >&6;}
32756 if test "x$USE_LIBDV" = "xno"; then
32759 # Check whether --enable-libdv was given.
32760 if test "${enable_libdv+set}" = set; then :
32761 enableval=$enable_libdv; case "${enableval}" in
32762 yes) USE_LIBDV=yes;;
32764 *) as_fn_error $? "bad value ${enableval} for --enable-libdv" "$LINENO" 5 ;;
32770 if test "x$NOUSE" = "xyes"; then
32772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dv pre-configured not to be built" >&5
32773 $as_echo "$as_me: WARNING: *** dv pre-configured not to be built" >&2;}
32778 if test x$USE_LIBDV = 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
32789 which="libdv >= 0.100"
32794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDV" >&5
32795 $as_echo_n "checking for LIBDV... " >&6; }
32797 if test -n "$PKG_CONFIG"; then
32798 if test -n "$LIBDV_CFLAGS"; then
32799 pkg_cv_LIBDV_CFLAGS="$LIBDV_CFLAGS"
32801 if test -n "$PKG_CONFIG" && \
32802 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32803 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32806 test $ac_status = 0; }; then
32807 pkg_cv_LIBDV_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32815 if test -n "$PKG_CONFIG"; then
32816 if test -n "$LIBDV_LIBS"; then
32817 pkg_cv_LIBDV_LIBS="$LIBDV_LIBS"
32819 if test -n "$PKG_CONFIG" && \
32820 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32821 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32824 test $ac_status = 0; }; then
32825 pkg_cv_LIBDV_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
32836 if test $pkg_failed = yes; then
32838 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32839 _pkg_short_errors_supported=yes
32841 _pkg_short_errors_supported=no
32843 if test $_pkg_short_errors_supported = yes; then
32844 LIBDV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
32846 LIBDV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
32848 # Put the nasty error message in config.log where it belongs
32849 echo "$LIBDV_PKG_ERRORS" >&5
32851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32852 $as_echo "no" >&6; }
32855 if test "x$required" = "xyes"; then
32856 as_fn_error $? "$LIBDV_PKG_ERRORS" "$LINENO" 5
32858 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBDV_PKG_ERRORS" >&5
32859 $as_echo "$as_me: $LIBDV_PKG_ERRORS" >&6;}
32862 elif test $pkg_failed = untried; then
32865 if test "x$required" = "xyes"; then
32866 as_fn_error $? "$LIBDV_PKG_ERRORS" "$LINENO" 5
32868 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBDV_PKG_ERRORS" >&5
32869 $as_echo "$as_me: $LIBDV_PKG_ERRORS" >&6;}
32873 LIBDV_CFLAGS=$pkg_cv_LIBDV_CFLAGS
32874 LIBDV_LIBS=$pkg_cv_LIBDV_LIBS
32875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32876 $as_echo "yes" >&6; }
32885 LIBS=$gst_check_save_LIBS
32886 LDFLAGS=$gst_check_save_LDFLAGS
32887 CFLAGS=$gst_check_save_CFLAGS
32888 CPPFLAGS=$gst_check_save_CPPFLAGS
32889 CXXFLAGS=$gst_check_save_CXXFLAGS
32891 if test x$HAVE_LIBDV = xno; then
32894 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dv" >&5
32895 $as_echo "$as_me: *** These plugins will be built: dv" >&6;}
32898 if test x$USE_LIBDV = xyes; then
32900 if test "xdv" != "x"; then
32901 GST_PLUGINS_YES="\tdv\n$GST_PLUGINS_YES"
32904 $as_echo "#define HAVE_LIBDV /**/" >>confdefs.h
32907 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dv" >&5
32908 $as_echo "$as_me: *** These plugins will not be built: dv" >&6;}
32909 if test "xdv" != "x"; then
32910 GST_PLUGINS_NO="\tdv\n$GST_PLUGINS_NO"
32914 if test x$USE_LIBDV = xyes; then
32916 USE_LIBDV_FALSE='#'
32925 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Portable Network Graphics library ***" >&5
32926 $as_echo "$as_me: *** checking feature: Portable Network Graphics library ***" >&6;}
32927 if test "xpng" != "x"
32929 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: png ***" >&5
32930 $as_echo "$as_me: *** for plug-ins: png ***" >&6;}
32933 if test "x$USE_LIBPNG" = "xno"; then
32936 # Check whether --enable-libpng was given.
32937 if test "${enable_libpng+set}" = set; then :
32938 enableval=$enable_libpng; case "${enableval}" in
32939 yes) USE_LIBPNG=yes;;
32940 no) USE_LIBPNG=no;;
32941 *) as_fn_error $? "bad value ${enableval} for --enable-libpng" "$LINENO" 5 ;;
32947 if test "x$NOUSE" = "xyes"; then
32949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** png pre-configured not to be built" >&5
32950 $as_echo "$as_me: WARNING: *** png pre-configured not to be built" >&2;}
32955 if test x$USE_LIBPNG = xyes; then
32957 gst_check_save_LIBS=$LIBS
32958 gst_check_save_LDFLAGS=$LDFLAGS
32959 gst_check_save_CFLAGS=$CFLAGS
32960 gst_check_save_CPPFLAGS=$CPPFLAGS
32961 gst_check_save_CXXFLAGS=$CXXFLAGS
32966 which="libpng >= 1.2"
32971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPNG" >&5
32972 $as_echo_n "checking for LIBPNG... " >&6; }
32974 if test -n "$PKG_CONFIG"; then
32975 if test -n "$LIBPNG_CFLAGS"; then
32976 pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
32978 if test -n "$PKG_CONFIG" && \
32979 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32980 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
32982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32983 test $ac_status = 0; }; then
32984 pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
32992 if test -n "$PKG_CONFIG"; then
32993 if test -n "$LIBPNG_LIBS"; then
32994 pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
32996 if test -n "$PKG_CONFIG" && \
32997 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
32998 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33000 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33001 test $ac_status = 0; }; then
33002 pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33013 if test $pkg_failed = yes; then
33015 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33016 _pkg_short_errors_supported=yes
33018 _pkg_short_errors_supported=no
33020 if test $_pkg_short_errors_supported = yes; then
33021 LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33023 LIBPNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33025 # Put the nasty error message in config.log where it belongs
33026 echo "$LIBPNG_PKG_ERRORS" >&5
33028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33029 $as_echo "no" >&6; }
33032 if test "x$required" = "xyes"; then
33033 as_fn_error $? "$LIBPNG_PKG_ERRORS" "$LINENO" 5
33035 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBPNG_PKG_ERRORS" >&5
33036 $as_echo "$as_me: $LIBPNG_PKG_ERRORS" >&6;}
33039 elif test $pkg_failed = untried; then
33042 if test "x$required" = "xyes"; then
33043 as_fn_error $? "$LIBPNG_PKG_ERRORS" "$LINENO" 5
33045 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBPNG_PKG_ERRORS" >&5
33046 $as_echo "$as_me: $LIBPNG_PKG_ERRORS" >&6;}
33050 LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
33051 LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
33052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33053 $as_echo "yes" >&6; }
33062 LIBS=$gst_check_save_LIBS
33063 LDFLAGS=$gst_check_save_LDFLAGS
33064 CFLAGS=$gst_check_save_CFLAGS
33065 CPPFLAGS=$gst_check_save_CPPFLAGS
33066 CXXFLAGS=$gst_check_save_CXXFLAGS
33068 if test x$HAVE_LIBPNG = xno; then
33071 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: png" >&5
33072 $as_echo "$as_me: *** These plugins will be built: png" >&6;}
33075 if test x$USE_LIBPNG = xyes; then
33077 if test "xpng" != "x"; then
33078 GST_PLUGINS_YES="\tpng\n$GST_PLUGINS_YES"
33081 $as_echo "#define HAVE_LIBPNG /**/" >>confdefs.h
33084 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: png" >&5
33085 $as_echo "$as_me: *** These plugins will not be built: png" >&6;}
33086 if test "xpng" != "x"; then
33087 GST_PLUGINS_NO="\tpng\n$GST_PLUGINS_NO"
33091 if test x$USE_LIBPNG = xyes; then
33093 USE_LIBPNG_FALSE='#'
33095 USE_LIBPNG_TRUE='#'
33102 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: pulseaudio plug-in ***" >&5
33103 $as_echo "$as_me: *** checking feature: pulseaudio plug-in ***" >&6;}
33104 if test "xpulseaudio" != "x"
33106 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: pulseaudio ***" >&5
33107 $as_echo "$as_me: *** for plug-ins: pulseaudio ***" >&6;}
33110 if test "x$USE_PULSE" = "xno"; then
33113 # Check whether --enable-pulse was given.
33114 if test "${enable_pulse+set}" = set; then :
33115 enableval=$enable_pulse; case "${enableval}" in
33116 yes) USE_PULSE=yes;;
33118 *) as_fn_error $? "bad value ${enableval} for --enable-pulse" "$LINENO" 5 ;;
33124 if test "x$NOUSE" = "xyes"; then
33126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pulseaudio pre-configured not to be built" >&5
33127 $as_echo "$as_me: WARNING: *** pulseaudio pre-configured not to be built" >&2;}
33132 if test x$USE_PULSE = xyes; then
33134 gst_check_save_LIBS=$LIBS
33135 gst_check_save_LDFLAGS=$LDFLAGS
33136 gst_check_save_CFLAGS=$CFLAGS
33137 gst_check_save_CPPFLAGS=$CPPFLAGS
33138 gst_check_save_CXXFLAGS=$CXXFLAGS
33143 for ac_header in process.h
33145 ac_fn_c_check_header_mongrel "$LINENO" "process.h" "ac_cv_header_process_h" "$ac_includes_default"
33146 if test "x$ac_cv_header_process_h" = x""yes; then :
33147 cat >>confdefs.h <<_ACEOF
33148 #define HAVE_PROCESS_H 1
33157 which="libpulse >= 0.9.10"
33162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSE" >&5
33163 $as_echo_n "checking for PULSE... " >&6; }
33165 if test -n "$PKG_CONFIG"; then
33166 if test -n "$PULSE_CFLAGS"; then
33167 pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS"
33169 if test -n "$PKG_CONFIG" && \
33170 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33171 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33174 test $ac_status = 0; }; then
33175 pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33183 if test -n "$PKG_CONFIG"; then
33184 if test -n "$PULSE_LIBS"; then
33185 pkg_cv_PULSE_LIBS="$PULSE_LIBS"
33187 if test -n "$PKG_CONFIG" && \
33188 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33189 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33192 test $ac_status = 0; }; then
33193 pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33204 if test $pkg_failed = yes; then
33206 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33207 _pkg_short_errors_supported=yes
33209 _pkg_short_errors_supported=no
33211 if test $_pkg_short_errors_supported = yes; then
33212 PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33214 PULSE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33216 # Put the nasty error message in config.log where it belongs
33217 echo "$PULSE_PKG_ERRORS" >&5
33219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33220 $as_echo "no" >&6; }
33223 if test "x$required" = "xyes"; then
33224 as_fn_error $? "$PULSE_PKG_ERRORS" "$LINENO" 5
33226 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_PKG_ERRORS" >&5
33227 $as_echo "$as_me: $PULSE_PKG_ERRORS" >&6;}
33230 elif test $pkg_failed = untried; then
33233 if test "x$required" = "xyes"; then
33234 as_fn_error $? "$PULSE_PKG_ERRORS" "$LINENO" 5
33236 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_PKG_ERRORS" >&5
33237 $as_echo "$as_me: $PULSE_PKG_ERRORS" >&6;}
33241 PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS
33242 PULSE_LIBS=$pkg_cv_PULSE_LIBS
33243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33244 $as_echo "yes" >&6; }
33252 which="libpulse >= 0.9.11"
33257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSE_0_9_11" >&5
33258 $as_echo_n "checking for PULSE_0_9_11... " >&6; }
33260 if test -n "$PKG_CONFIG"; then
33261 if test -n "$PULSE_0_9_11_CFLAGS"; then
33262 pkg_cv_PULSE_0_9_11_CFLAGS="$PULSE_0_9_11_CFLAGS"
33264 if test -n "$PKG_CONFIG" && \
33265 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33266 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33269 test $ac_status = 0; }; then
33270 pkg_cv_PULSE_0_9_11_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33278 if test -n "$PKG_CONFIG"; then
33279 if test -n "$PULSE_0_9_11_LIBS"; then
33280 pkg_cv_PULSE_0_9_11_LIBS="$PULSE_0_9_11_LIBS"
33282 if test -n "$PKG_CONFIG" && \
33283 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33284 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33286 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33287 test $ac_status = 0; }; then
33288 pkg_cv_PULSE_0_9_11_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33299 if test $pkg_failed = yes; then
33301 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33302 _pkg_short_errors_supported=yes
33304 _pkg_short_errors_supported=no
33306 if test $_pkg_short_errors_supported = yes; then
33307 PULSE_0_9_11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33309 PULSE_0_9_11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33311 # Put the nasty error message in config.log where it belongs
33312 echo "$PULSE_0_9_11_PKG_ERRORS" >&5
33314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33315 $as_echo "no" >&6; }
33317 HAVE_PULSE_0_9_11="no"
33318 if test "x$required" = "xyes"; then
33319 as_fn_error $? "$PULSE_0_9_11_PKG_ERRORS" "$LINENO" 5
33321 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_0_9_11_PKG_ERRORS" >&5
33322 $as_echo "$as_me: $PULSE_0_9_11_PKG_ERRORS" >&6;}
33325 elif test $pkg_failed = untried; then
33327 HAVE_PULSE_0_9_11="no"
33328 if test "x$required" = "xyes"; then
33329 as_fn_error $? "$PULSE_0_9_11_PKG_ERRORS" "$LINENO" 5
33331 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_0_9_11_PKG_ERRORS" >&5
33332 $as_echo "$as_me: $PULSE_0_9_11_PKG_ERRORS" >&6;}
33336 PULSE_0_9_11_CFLAGS=$pkg_cv_PULSE_0_9_11_CFLAGS
33337 PULSE_0_9_11_LIBS=$pkg_cv_PULSE_0_9_11_LIBS
33338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33339 $as_echo "yes" >&6; }
33341 HAVE_PULSE_0_9_11="yes"
33346 if test x$HAVE_PULSE_0_9_11 = xyes; then
33348 $as_echo "#define HAVE_PULSE_0_9_11 1" >>confdefs.h
33352 which="libpulse >= 0.9.12"
33357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSE_0_9_12" >&5
33358 $as_echo_n "checking for PULSE_0_9_12... " >&6; }
33360 if test -n "$PKG_CONFIG"; then
33361 if test -n "$PULSE_0_9_12_CFLAGS"; then
33362 pkg_cv_PULSE_0_9_12_CFLAGS="$PULSE_0_9_12_CFLAGS"
33364 if test -n "$PKG_CONFIG" && \
33365 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33366 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33369 test $ac_status = 0; }; then
33370 pkg_cv_PULSE_0_9_12_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33378 if test -n "$PKG_CONFIG"; then
33379 if test -n "$PULSE_0_9_12_LIBS"; then
33380 pkg_cv_PULSE_0_9_12_LIBS="$PULSE_0_9_12_LIBS"
33382 if test -n "$PKG_CONFIG" && \
33383 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33384 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33387 test $ac_status = 0; }; then
33388 pkg_cv_PULSE_0_9_12_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33399 if test $pkg_failed = yes; then
33401 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33402 _pkg_short_errors_supported=yes
33404 _pkg_short_errors_supported=no
33406 if test $_pkg_short_errors_supported = yes; then
33407 PULSE_0_9_12_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33409 PULSE_0_9_12_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33411 # Put the nasty error message in config.log where it belongs
33412 echo "$PULSE_0_9_12_PKG_ERRORS" >&5
33414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33415 $as_echo "no" >&6; }
33417 HAVE_PULSE_0_9_12="no"
33418 if test "x$required" = "xyes"; then
33419 as_fn_error $? "$PULSE_0_9_12_PKG_ERRORS" "$LINENO" 5
33421 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_0_9_12_PKG_ERRORS" >&5
33422 $as_echo "$as_me: $PULSE_0_9_12_PKG_ERRORS" >&6;}
33425 elif test $pkg_failed = untried; then
33427 HAVE_PULSE_0_9_12="no"
33428 if test "x$required" = "xyes"; then
33429 as_fn_error $? "$PULSE_0_9_12_PKG_ERRORS" "$LINENO" 5
33431 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_0_9_12_PKG_ERRORS" >&5
33432 $as_echo "$as_me: $PULSE_0_9_12_PKG_ERRORS" >&6;}
33436 PULSE_0_9_12_CFLAGS=$pkg_cv_PULSE_0_9_12_CFLAGS
33437 PULSE_0_9_12_LIBS=$pkg_cv_PULSE_0_9_12_LIBS
33438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33439 $as_echo "yes" >&6; }
33441 HAVE_PULSE_0_9_12="yes"
33446 if test x$HAVE_PULSE_0_9_12 = xyes; then
33448 $as_echo "#define HAVE_PULSE_0_9_12 1" >>confdefs.h
33452 which="libpulse >= 0.9.13"
33457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSE_0_9_13" >&5
33458 $as_echo_n "checking for PULSE_0_9_13... " >&6; }
33460 if test -n "$PKG_CONFIG"; then
33461 if test -n "$PULSE_0_9_13_CFLAGS"; then
33462 pkg_cv_PULSE_0_9_13_CFLAGS="$PULSE_0_9_13_CFLAGS"
33464 if test -n "$PKG_CONFIG" && \
33465 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33466 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33469 test $ac_status = 0; }; then
33470 pkg_cv_PULSE_0_9_13_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33478 if test -n "$PKG_CONFIG"; then
33479 if test -n "$PULSE_0_9_13_LIBS"; then
33480 pkg_cv_PULSE_0_9_13_LIBS="$PULSE_0_9_13_LIBS"
33482 if test -n "$PKG_CONFIG" && \
33483 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33484 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33487 test $ac_status = 0; }; then
33488 pkg_cv_PULSE_0_9_13_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33499 if test $pkg_failed = yes; then
33501 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33502 _pkg_short_errors_supported=yes
33504 _pkg_short_errors_supported=no
33506 if test $_pkg_short_errors_supported = yes; then
33507 PULSE_0_9_13_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33509 PULSE_0_9_13_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33511 # Put the nasty error message in config.log where it belongs
33512 echo "$PULSE_0_9_13_PKG_ERRORS" >&5
33514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33515 $as_echo "no" >&6; }
33517 HAVE_PULSE_0_9_13="no"
33518 if test "x$required" = "xyes"; then
33519 as_fn_error $? "$PULSE_0_9_13_PKG_ERRORS" "$LINENO" 5
33521 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_0_9_13_PKG_ERRORS" >&5
33522 $as_echo "$as_me: $PULSE_0_9_13_PKG_ERRORS" >&6;}
33525 elif test $pkg_failed = untried; then
33527 HAVE_PULSE_0_9_13="no"
33528 if test "x$required" = "xyes"; then
33529 as_fn_error $? "$PULSE_0_9_13_PKG_ERRORS" "$LINENO" 5
33531 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_0_9_13_PKG_ERRORS" >&5
33532 $as_echo "$as_me: $PULSE_0_9_13_PKG_ERRORS" >&6;}
33536 PULSE_0_9_13_CFLAGS=$pkg_cv_PULSE_0_9_13_CFLAGS
33537 PULSE_0_9_13_LIBS=$pkg_cv_PULSE_0_9_13_LIBS
33538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33539 $as_echo "yes" >&6; }
33541 HAVE_PULSE_0_9_13="yes"
33546 if test x$HAVE_PULSE_0_9_13 = xyes; then
33548 $as_echo "#define HAVE_PULSE_0_9_13 1" >>confdefs.h
33552 which="libpulse >= 0.9.15"
33557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSE_0_9_15" >&5
33558 $as_echo_n "checking for PULSE_0_9_15... " >&6; }
33560 if test -n "$PKG_CONFIG"; then
33561 if test -n "$PULSE_0_9_15_CFLAGS"; then
33562 pkg_cv_PULSE_0_9_15_CFLAGS="$PULSE_0_9_15_CFLAGS"
33564 if test -n "$PKG_CONFIG" && \
33565 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33566 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33569 test $ac_status = 0; }; then
33570 pkg_cv_PULSE_0_9_15_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33578 if test -n "$PKG_CONFIG"; then
33579 if test -n "$PULSE_0_9_15_LIBS"; then
33580 pkg_cv_PULSE_0_9_15_LIBS="$PULSE_0_9_15_LIBS"
33582 if test -n "$PKG_CONFIG" && \
33583 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33584 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33587 test $ac_status = 0; }; then
33588 pkg_cv_PULSE_0_9_15_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33599 if test $pkg_failed = yes; then
33601 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33602 _pkg_short_errors_supported=yes
33604 _pkg_short_errors_supported=no
33606 if test $_pkg_short_errors_supported = yes; then
33607 PULSE_0_9_15_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33609 PULSE_0_9_15_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33611 # Put the nasty error message in config.log where it belongs
33612 echo "$PULSE_0_9_15_PKG_ERRORS" >&5
33614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33615 $as_echo "no" >&6; }
33617 HAVE_PULSE_0_9_15="no"
33618 if test "x$required" = "xyes"; then
33619 as_fn_error $? "$PULSE_0_9_15_PKG_ERRORS" "$LINENO" 5
33621 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_0_9_15_PKG_ERRORS" >&5
33622 $as_echo "$as_me: $PULSE_0_9_15_PKG_ERRORS" >&6;}
33625 elif test $pkg_failed = untried; then
33627 HAVE_PULSE_0_9_15="no"
33628 if test "x$required" = "xyes"; then
33629 as_fn_error $? "$PULSE_0_9_15_PKG_ERRORS" "$LINENO" 5
33631 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_0_9_15_PKG_ERRORS" >&5
33632 $as_echo "$as_me: $PULSE_0_9_15_PKG_ERRORS" >&6;}
33636 PULSE_0_9_15_CFLAGS=$pkg_cv_PULSE_0_9_15_CFLAGS
33637 PULSE_0_9_15_LIBS=$pkg_cv_PULSE_0_9_15_LIBS
33638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33639 $as_echo "yes" >&6; }
33641 HAVE_PULSE_0_9_15="yes"
33646 if test x$HAVE_PULSE_0_9_15 = xyes; then
33648 $as_echo "#define HAVE_PULSE_0_9_15 1" >>confdefs.h
33652 which="libpulse >= 0.9.16"
33657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSE_0_9_16" >&5
33658 $as_echo_n "checking for PULSE_0_9_16... " >&6; }
33660 if test -n "$PKG_CONFIG"; then
33661 if test -n "$PULSE_0_9_16_CFLAGS"; then
33662 pkg_cv_PULSE_0_9_16_CFLAGS="$PULSE_0_9_16_CFLAGS"
33664 if test -n "$PKG_CONFIG" && \
33665 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33666 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33669 test $ac_status = 0; }; then
33670 pkg_cv_PULSE_0_9_16_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33678 if test -n "$PKG_CONFIG"; then
33679 if test -n "$PULSE_0_9_16_LIBS"; then
33680 pkg_cv_PULSE_0_9_16_LIBS="$PULSE_0_9_16_LIBS"
33682 if test -n "$PKG_CONFIG" && \
33683 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33684 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33687 test $ac_status = 0; }; then
33688 pkg_cv_PULSE_0_9_16_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33699 if test $pkg_failed = yes; then
33701 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33702 _pkg_short_errors_supported=yes
33704 _pkg_short_errors_supported=no
33706 if test $_pkg_short_errors_supported = yes; then
33707 PULSE_0_9_16_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33709 PULSE_0_9_16_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33711 # Put the nasty error message in config.log where it belongs
33712 echo "$PULSE_0_9_16_PKG_ERRORS" >&5
33714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33715 $as_echo "no" >&6; }
33717 HAVE_PULSE_0_9_16="no"
33718 if test "x$required" = "xyes"; then
33719 as_fn_error $? "$PULSE_0_9_16_PKG_ERRORS" "$LINENO" 5
33721 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_0_9_16_PKG_ERRORS" >&5
33722 $as_echo "$as_me: $PULSE_0_9_16_PKG_ERRORS" >&6;}
33725 elif test $pkg_failed = untried; then
33727 HAVE_PULSE_0_9_16="no"
33728 if test "x$required" = "xyes"; then
33729 as_fn_error $? "$PULSE_0_9_16_PKG_ERRORS" "$LINENO" 5
33731 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_0_9_16_PKG_ERRORS" >&5
33732 $as_echo "$as_me: $PULSE_0_9_16_PKG_ERRORS" >&6;}
33736 PULSE_0_9_16_CFLAGS=$pkg_cv_PULSE_0_9_16_CFLAGS
33737 PULSE_0_9_16_LIBS=$pkg_cv_PULSE_0_9_16_LIBS
33738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33739 $as_echo "yes" >&6; }
33741 HAVE_PULSE_0_9_16="yes"
33746 if test x$HAVE_PULSE_0_9_16 = xyes; then
33748 $as_echo "#define HAVE_PULSE_0_9_16 1" >>confdefs.h
33752 which="libpulse >= 0.9.20"
33757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSE_0_9_20" >&5
33758 $as_echo_n "checking for PULSE_0_9_20... " >&6; }
33760 if test -n "$PKG_CONFIG"; then
33761 if test -n "$PULSE_0_9_20_CFLAGS"; then
33762 pkg_cv_PULSE_0_9_20_CFLAGS="$PULSE_0_9_20_CFLAGS"
33764 if test -n "$PKG_CONFIG" && \
33765 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33766 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33769 test $ac_status = 0; }; then
33770 pkg_cv_PULSE_0_9_20_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33778 if test -n "$PKG_CONFIG"; then
33779 if test -n "$PULSE_0_9_20_LIBS"; then
33780 pkg_cv_PULSE_0_9_20_LIBS="$PULSE_0_9_20_LIBS"
33782 if test -n "$PKG_CONFIG" && \
33783 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33784 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33787 test $ac_status = 0; }; then
33788 pkg_cv_PULSE_0_9_20_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33799 if test $pkg_failed = yes; then
33801 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33802 _pkg_short_errors_supported=yes
33804 _pkg_short_errors_supported=no
33806 if test $_pkg_short_errors_supported = yes; then
33807 PULSE_0_9_20_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33809 PULSE_0_9_20_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33811 # Put the nasty error message in config.log where it belongs
33812 echo "$PULSE_0_9_20_PKG_ERRORS" >&5
33814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33815 $as_echo "no" >&6; }
33817 HAVE_PULSE_0_9_20="no"
33818 if test "x$required" = "xyes"; then
33819 as_fn_error $? "$PULSE_0_9_20_PKG_ERRORS" "$LINENO" 5
33821 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_0_9_20_PKG_ERRORS" >&5
33822 $as_echo "$as_me: $PULSE_0_9_20_PKG_ERRORS" >&6;}
33825 elif test $pkg_failed = untried; then
33827 HAVE_PULSE_0_9_20="no"
33828 if test "x$required" = "xyes"; then
33829 as_fn_error $? "$PULSE_0_9_20_PKG_ERRORS" "$LINENO" 5
33831 { $as_echo "$as_me:${as_lineno-$LINENO}: $PULSE_0_9_20_PKG_ERRORS" >&5
33832 $as_echo "$as_me: $PULSE_0_9_20_PKG_ERRORS" >&6;}
33836 PULSE_0_9_20_CFLAGS=$pkg_cv_PULSE_0_9_20_CFLAGS
33837 PULSE_0_9_20_LIBS=$pkg_cv_PULSE_0_9_20_LIBS
33838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33839 $as_echo "yes" >&6; }
33841 HAVE_PULSE_0_9_20="yes"
33846 if test x$HAVE_PULSE_0_9_20 = xyes; then
33848 $as_echo "#define HAVE_PULSE_0_9_20 1" >>confdefs.h
33853 LIBS=$gst_check_save_LIBS
33854 LDFLAGS=$gst_check_save_LDFLAGS
33855 CFLAGS=$gst_check_save_CFLAGS
33856 CPPFLAGS=$gst_check_save_CPPFLAGS
33857 CXXFLAGS=$gst_check_save_CXXFLAGS
33859 if test x$HAVE_PULSE = xno; then
33862 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: pulseaudio" >&5
33863 $as_echo "$as_me: *** These plugins will be built: pulseaudio" >&6;}
33866 if test x$USE_PULSE = xyes; then
33868 if test "xpulseaudio" != "x"; then
33869 GST_PLUGINS_YES="\tpulseaudio\n$GST_PLUGINS_YES"
33872 $as_echo "#define HAVE_PULSE /**/" >>confdefs.h
33875 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: pulseaudio" >&5
33876 $as_echo "$as_me: *** These plugins will not be built: pulseaudio" >&6;}
33877 if test "xpulseaudio" != "x"; then
33878 GST_PLUGINS_NO="\tpulseaudio\n$GST_PLUGINS_NO"
33882 if test x$USE_PULSE = xyes; then
33884 USE_PULSE_FALSE='#'
33893 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: raw1394 and avc1394 library ***" >&5
33894 $as_echo "$as_me: *** checking feature: raw1394 and avc1394 library ***" >&6;}
33895 if test "x1394" != "x"
33897 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: 1394 ***" >&5
33898 $as_echo "$as_me: *** for plug-ins: 1394 ***" >&6;}
33901 if test "x$USE_DV1394" = "xno"; then
33904 # Check whether --enable-dv1394 was given.
33905 if test "${enable_dv1394+set}" = set; then :
33906 enableval=$enable_dv1394; case "${enableval}" in
33907 yes) USE_DV1394=yes;;
33908 no) USE_DV1394=no;;
33909 *) as_fn_error $? "bad value ${enableval} for --enable-dv1394" "$LINENO" 5 ;;
33915 if test "x$NOUSE" = "xyes"; then
33917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** 1394 pre-configured not to be built" >&5
33918 $as_echo "$as_me: WARNING: *** 1394 pre-configured not to be built" >&2;}
33923 if test x$USE_DV1394 = xyes; then
33925 gst_check_save_LIBS=$LIBS
33926 gst_check_save_LDFLAGS=$LDFLAGS
33927 gst_check_save_CFLAGS=$CFLAGS
33928 gst_check_save_CPPFLAGS=$CPPFLAGS
33929 gst_check_save_CXXFLAGS=$CXXFLAGS
33934 which="libraw1394 >= 2.0.0"
33939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAW1394" >&5
33940 $as_echo_n "checking for RAW1394... " >&6; }
33942 if test -n "$PKG_CONFIG"; then
33943 if test -n "$RAW1394_CFLAGS"; then
33944 pkg_cv_RAW1394_CFLAGS="$RAW1394_CFLAGS"
33946 if test -n "$PKG_CONFIG" && \
33947 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33948 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33951 test $ac_status = 0; }; then
33952 pkg_cv_RAW1394_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
33960 if test -n "$PKG_CONFIG"; then
33961 if test -n "$RAW1394_LIBS"; then
33962 pkg_cv_RAW1394_LIBS="$RAW1394_LIBS"
33964 if test -n "$PKG_CONFIG" && \
33965 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
33966 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
33968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
33969 test $ac_status = 0; }; then
33970 pkg_cv_RAW1394_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
33981 if test $pkg_failed = yes; then
33983 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33984 _pkg_short_errors_supported=yes
33986 _pkg_short_errors_supported=no
33988 if test $_pkg_short_errors_supported = yes; then
33989 RAW1394_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
33991 RAW1394_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
33993 # Put the nasty error message in config.log where it belongs
33994 echo "$RAW1394_PKG_ERRORS" >&5
33996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
33997 $as_echo "no" >&6; }
34000 if test "x$required" = "xyes"; then
34001 as_fn_error $? "$RAW1394_PKG_ERRORS" "$LINENO" 5
34003 { $as_echo "$as_me:${as_lineno-$LINENO}: $RAW1394_PKG_ERRORS" >&5
34004 $as_echo "$as_me: $RAW1394_PKG_ERRORS" >&6;}
34007 elif test $pkg_failed = untried; then
34010 if test "x$required" = "xyes"; then
34011 as_fn_error $? "$RAW1394_PKG_ERRORS" "$LINENO" 5
34013 { $as_echo "$as_me:${as_lineno-$LINENO}: $RAW1394_PKG_ERRORS" >&5
34014 $as_echo "$as_me: $RAW1394_PKG_ERRORS" >&6;}
34018 RAW1394_CFLAGS=$pkg_cv_RAW1394_CFLAGS
34019 RAW1394_LIBS=$pkg_cv_RAW1394_LIBS
34020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34021 $as_echo "yes" >&6; }
34029 which="libiec61883 >= 1.0.0"
34034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBIEC61883" >&5
34035 $as_echo_n "checking for LIBIEC61883... " >&6; }
34037 if test -n "$PKG_CONFIG"; then
34038 if test -n "$LIBIEC61883_CFLAGS"; then
34039 pkg_cv_LIBIEC61883_CFLAGS="$LIBIEC61883_CFLAGS"
34041 if test -n "$PKG_CONFIG" && \
34042 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34043 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34046 test $ac_status = 0; }; then
34047 pkg_cv_LIBIEC61883_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
34055 if test -n "$PKG_CONFIG"; then
34056 if test -n "$LIBIEC61883_LIBS"; then
34057 pkg_cv_LIBIEC61883_LIBS="$LIBIEC61883_LIBS"
34059 if test -n "$PKG_CONFIG" && \
34060 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34061 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34064 test $ac_status = 0; }; then
34065 pkg_cv_LIBIEC61883_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
34076 if test $pkg_failed = yes; then
34078 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34079 _pkg_short_errors_supported=yes
34081 _pkg_short_errors_supported=no
34083 if test $_pkg_short_errors_supported = yes; then
34084 LIBIEC61883_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
34086 LIBIEC61883_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
34088 # Put the nasty error message in config.log where it belongs
34089 echo "$LIBIEC61883_PKG_ERRORS" >&5
34091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34092 $as_echo "no" >&6; }
34094 HAVE_LIBIEC61883="no"
34095 if test "x$required" = "xyes"; then
34096 as_fn_error $? "$LIBIEC61883_PKG_ERRORS" "$LINENO" 5
34098 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBIEC61883_PKG_ERRORS" >&5
34099 $as_echo "$as_me: $LIBIEC61883_PKG_ERRORS" >&6;}
34102 elif test $pkg_failed = untried; then
34104 HAVE_LIBIEC61883="no"
34105 if test "x$required" = "xyes"; then
34106 as_fn_error $? "$LIBIEC61883_PKG_ERRORS" "$LINENO" 5
34108 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBIEC61883_PKG_ERRORS" >&5
34109 $as_echo "$as_me: $LIBIEC61883_PKG_ERRORS" >&6;}
34113 LIBIEC61883_CFLAGS=$pkg_cv_LIBIEC61883_CFLAGS
34114 LIBIEC61883_LIBS=$pkg_cv_LIBIEC61883_LIBS
34115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34116 $as_echo "yes" >&6; }
34118 HAVE_LIBIEC61883="yes"
34123 if test x$HAVE_RAW1394 = xyes && \
34124 test x$HAVE_LIBIEC61883 = xyes; then
34126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avc1394_send_command in -lavc1394" >&5
34127 $as_echo_n "checking for avc1394_send_command in -lavc1394... " >&6; }
34128 if test "${ac_cv_lib_avc1394_avc1394_send_command+set}" = set; then :
34129 $as_echo_n "(cached) " >&6
34131 ac_check_lib_save_LIBS=$LIBS
34132 LIBS="-lavc1394 $RAW1394_LIBS $LIBS"
34133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34134 /* end confdefs.h. */
34136 /* Override any GCC internal prototype to avoid an error.
34137 Use char because int might match the return type of a GCC
34138 builtin and then its argument prototype would still apply. */
34142 char avc1394_send_command ();
34146 return avc1394_send_command ();
34151 if ac_fn_c_try_link "$LINENO"; then :
34152 ac_cv_lib_avc1394_avc1394_send_command=yes
34154 ac_cv_lib_avc1394_avc1394_send_command=no
34156 rm -f core conftest.err conftest.$ac_objext \
34157 conftest$ac_exeext conftest.$ac_ext
34158 LIBS=$ac_check_lib_save_LIBS
34160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avc1394_avc1394_send_command" >&5
34161 $as_echo "$ac_cv_lib_avc1394_avc1394_send_command" >&6; }
34162 if test "x$ac_cv_lib_avc1394_avc1394_send_command" = x""yes; then :
34168 if test "x$HAVE_AVC1394" = "xyes"; then
34169 ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/avc1394.h" "ac_cv_header_libavc1394_avc1394_h" "$ac_includes_default"
34170 if test "x$ac_cv_header_libavc1394_avc1394_h" = x""yes; then :
34177 if test "x$HAVE_AVC1394" = "xyes"; then
34178 AVC1394_LIBS="-lavc1394"
34189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rom1394_free_directory in -lrom1394" >&5
34190 $as_echo_n "checking for rom1394_free_directory in -lrom1394... " >&6; }
34191 if test "${ac_cv_lib_rom1394_rom1394_free_directory+set}" = set; then :
34192 $as_echo_n "(cached) " >&6
34194 ac_check_lib_save_LIBS=$LIBS
34195 LIBS="-lrom1394 $RAW1394_LIBS $LIBS"
34196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34197 /* end confdefs.h. */
34199 /* Override any GCC internal prototype to avoid an error.
34200 Use char because int might match the return type of a GCC
34201 builtin and then its argument prototype would still apply. */
34205 char rom1394_free_directory ();
34209 return rom1394_free_directory ();
34214 if ac_fn_c_try_link "$LINENO"; then :
34215 ac_cv_lib_rom1394_rom1394_free_directory=yes
34217 ac_cv_lib_rom1394_rom1394_free_directory=no
34219 rm -f core conftest.err conftest.$ac_objext \
34220 conftest$ac_exeext conftest.$ac_ext
34221 LIBS=$ac_check_lib_save_LIBS
34223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rom1394_rom1394_free_directory" >&5
34224 $as_echo "$ac_cv_lib_rom1394_rom1394_free_directory" >&6; }
34225 if test "x$ac_cv_lib_rom1394_rom1394_free_directory" = x""yes; then :
34231 if test "x$HAVE_ROM1394" = "xyes"; then
34232 ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/rom1394.h" "ac_cv_header_libavc1394_rom1394_h" "$ac_includes_default"
34233 if test "x$ac_cv_header_libavc1394_rom1394_h" = x""yes; then :
34240 if test "x$HAVE_ROM1394" = "xyes"; then
34241 ROM1394_LIBS="-lrom1394"
34251 if test x$HAVE_AVC1394 = xyes && \
34252 test x$HAVE_AVC1394 = xyes && \
34253 test x$HAVE_ROM1394 = xyes; then
34255 DV1394_LIBS="$RAW1394_LIBS $AVC1394_LIBS $ROM1394_LIBS $LIBIEC61883_LIBS"
34256 DV1394_CFLAGS="$RAW1394_CFLAGS $LIBIEC61883_CFLAGS -DHAVE_LIBIEC61883"
34261 if test x$HAVE_RAW1394 = xno; then
34263 which="libraw1394 >= 1.1.0"
34268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAW1394" >&5
34269 $as_echo_n "checking for RAW1394... " >&6; }
34271 if test -n "$PKG_CONFIG"; then
34272 if test -n "$RAW1394_CFLAGS"; then
34273 pkg_cv_RAW1394_CFLAGS="$RAW1394_CFLAGS"
34275 if test -n "$PKG_CONFIG" && \
34276 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34277 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34280 test $ac_status = 0; }; then
34281 pkg_cv_RAW1394_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
34289 if test -n "$PKG_CONFIG"; then
34290 if test -n "$RAW1394_LIBS"; then
34291 pkg_cv_RAW1394_LIBS="$RAW1394_LIBS"
34293 if test -n "$PKG_CONFIG" && \
34294 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34295 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34298 test $ac_status = 0; }; then
34299 pkg_cv_RAW1394_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
34310 if test $pkg_failed = yes; then
34312 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34313 _pkg_short_errors_supported=yes
34315 _pkg_short_errors_supported=no
34317 if test $_pkg_short_errors_supported = yes; then
34318 RAW1394_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
34320 RAW1394_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
34322 # Put the nasty error message in config.log where it belongs
34323 echo "$RAW1394_PKG_ERRORS" >&5
34325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34326 $as_echo "no" >&6; }
34329 if test "x$required" = "xyes"; then
34330 as_fn_error $? "$RAW1394_PKG_ERRORS" "$LINENO" 5
34332 { $as_echo "$as_me:${as_lineno-$LINENO}: $RAW1394_PKG_ERRORS" >&5
34333 $as_echo "$as_me: $RAW1394_PKG_ERRORS" >&6;}
34336 elif test $pkg_failed = untried; then
34339 if test "x$required" = "xyes"; then
34340 as_fn_error $? "$RAW1394_PKG_ERRORS" "$LINENO" 5
34342 { $as_echo "$as_me:${as_lineno-$LINENO}: $RAW1394_PKG_ERRORS" >&5
34343 $as_echo "$as_me: $RAW1394_PKG_ERRORS" >&6;}
34347 RAW1394_CFLAGS=$pkg_cv_RAW1394_CFLAGS
34348 RAW1394_LIBS=$pkg_cv_RAW1394_LIBS
34349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34350 $as_echo "yes" >&6; }
34358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avc1394_send_command in -lavc1394" >&5
34359 $as_echo_n "checking for avc1394_send_command in -lavc1394... " >&6; }
34360 if test "${ac_cv_lib_avc1394_avc1394_send_command+set}" = set; then :
34361 $as_echo_n "(cached) " >&6
34363 ac_check_lib_save_LIBS=$LIBS
34364 LIBS="-lavc1394 $RAW1394_LIBS $LIBS"
34365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34366 /* end confdefs.h. */
34368 /* Override any GCC internal prototype to avoid an error.
34369 Use char because int might match the return type of a GCC
34370 builtin and then its argument prototype would still apply. */
34374 char avc1394_send_command ();
34378 return avc1394_send_command ();
34383 if ac_fn_c_try_link "$LINENO"; then :
34384 ac_cv_lib_avc1394_avc1394_send_command=yes
34386 ac_cv_lib_avc1394_avc1394_send_command=no
34388 rm -f core conftest.err conftest.$ac_objext \
34389 conftest$ac_exeext conftest.$ac_ext
34390 LIBS=$ac_check_lib_save_LIBS
34392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avc1394_avc1394_send_command" >&5
34393 $as_echo "$ac_cv_lib_avc1394_avc1394_send_command" >&6; }
34394 if test "x$ac_cv_lib_avc1394_avc1394_send_command" = x""yes; then :
34400 if test "x$HAVE_AVC1394" = "xyes"; then
34401 ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/avc1394.h" "ac_cv_header_libavc1394_avc1394_h" "$ac_includes_default"
34402 if test "x$ac_cv_header_libavc1394_avc1394_h" = x""yes; then :
34409 if test "x$HAVE_AVC1394" = "xyes"; then
34410 AVC1394_LIBS="-lavc1394"
34421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rom1394_free_directory in -lrom1394" >&5
34422 $as_echo_n "checking for rom1394_free_directory in -lrom1394... " >&6; }
34423 if test "${ac_cv_lib_rom1394_rom1394_free_directory+set}" = set; then :
34424 $as_echo_n "(cached) " >&6
34426 ac_check_lib_save_LIBS=$LIBS
34427 LIBS="-lrom1394 $RAW1394_LIBS $LIBS"
34428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34429 /* end confdefs.h. */
34431 /* Override any GCC internal prototype to avoid an error.
34432 Use char because int might match the return type of a GCC
34433 builtin and then its argument prototype would still apply. */
34437 char rom1394_free_directory ();
34441 return rom1394_free_directory ();
34446 if ac_fn_c_try_link "$LINENO"; then :
34447 ac_cv_lib_rom1394_rom1394_free_directory=yes
34449 ac_cv_lib_rom1394_rom1394_free_directory=no
34451 rm -f core conftest.err conftest.$ac_objext \
34452 conftest$ac_exeext conftest.$ac_ext
34453 LIBS=$ac_check_lib_save_LIBS
34455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rom1394_rom1394_free_directory" >&5
34456 $as_echo "$ac_cv_lib_rom1394_rom1394_free_directory" >&6; }
34457 if test "x$ac_cv_lib_rom1394_rom1394_free_directory" = x""yes; then :
34463 if test "x$HAVE_ROM1394" = "xyes"; then
34464 ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/rom1394.h" "ac_cv_header_libavc1394_rom1394_h" "$ac_includes_default"
34465 if test "x$ac_cv_header_libavc1394_rom1394_h" = x""yes; then :
34472 if test "x$HAVE_ROM1394" = "xyes"; then
34473 ROM1394_LIBS="-lrom1394"
34483 if test x$HAVE_RAW1394 = xyes && \
34484 test x$HAVE_AVC1394 = xyes && \
34485 test x$HAVE_ROM1394 = xyes; then
34487 DV1394_LIBS="$RAW1394_LIBS $AVC1394_LIBS $ROM1394_LIBS"
34488 DV1394_CFLAGS="$RAW1394_CFLAGS"
34489 if test x$HAVE_LIBIEC61883 = xyes; then
34490 DV1394_CFLAGS="$RAW1394_CFLAGS $LIBIEC61883_CFLAGS -DHAVE_LIBIEC61883"
34491 DV1394_LIBS="$DV1394_LIBS $LIBIEC61883_LIBS"
34500 LIBS=$gst_check_save_LIBS
34501 LDFLAGS=$gst_check_save_LDFLAGS
34502 CFLAGS=$gst_check_save_CFLAGS
34503 CPPFLAGS=$gst_check_save_CPPFLAGS
34504 CXXFLAGS=$gst_check_save_CXXFLAGS
34506 if test x$HAVE_DV1394 = xno; then
34509 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: 1394" >&5
34510 $as_echo "$as_me: *** These plugins will be built: 1394" >&6;}
34513 if test x$USE_DV1394 = xyes; then
34515 if test "x1394" != "x"; then
34516 GST_PLUGINS_YES="\t1394\n$GST_PLUGINS_YES"
34519 $as_echo "#define HAVE_DV1394 /**/" >>confdefs.h
34522 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: 1394" >&5
34523 $as_echo "$as_me: *** These plugins will not be built: 1394" >&6;}
34524 if test "x1394" != "x"; then
34525 GST_PLUGINS_NO="\t1394\n$GST_PLUGINS_NO"
34529 if test x$USE_DV1394 = xyes; then
34531 USE_DV1394_FALSE='#'
34533 USE_DV1394_TRUE='#'
34538 if test "x${HAVE_LIBIEC61883}" = xyes ; then
34539 USE_LIBIEC61883_TRUE=
34540 USE_LIBIEC61883_FALSE='#'
34542 USE_LIBIEC61883_TRUE='#'
34543 USE_LIBIEC61883_FALSE=
34548 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Shoutcast/Icecast client library ***" >&5
34549 $as_echo "$as_me: *** checking feature: Shoutcast/Icecast client library ***" >&6;}
34550 if test "xshout2" != "x"
34552 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: shout2 ***" >&5
34553 $as_echo "$as_me: *** for plug-ins: shout2 ***" >&6;}
34556 if test "x$USE_SHOUT2" = "xno"; then
34559 # Check whether --enable-shout2 was given.
34560 if test "${enable_shout2+set}" = set; then :
34561 enableval=$enable_shout2; case "${enableval}" in
34562 yes) USE_SHOUT2=yes;;
34563 no) USE_SHOUT2=no;;
34564 *) as_fn_error $? "bad value ${enableval} for --enable-shout2" "$LINENO" 5 ;;
34570 if test "x$NOUSE" = "xyes"; then
34572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** shout2 pre-configured not to be built" >&5
34573 $as_echo "$as_me: WARNING: *** shout2 pre-configured not to be built" >&2;}
34578 if test x$USE_SHOUT2 = xyes; then
34580 gst_check_save_LIBS=$LIBS
34581 gst_check_save_LDFLAGS=$LDFLAGS
34582 gst_check_save_CFLAGS=$CFLAGS
34583 gst_check_save_CPPFLAGS=$CPPFLAGS
34584 gst_check_save_CXXFLAGS=$CXXFLAGS
34589 which="shout >= 2.0"
34594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHOUT2" >&5
34595 $as_echo_n "checking for SHOUT2... " >&6; }
34597 if test -n "$PKG_CONFIG"; then
34598 if test -n "$SHOUT2_CFLAGS"; then
34599 pkg_cv_SHOUT2_CFLAGS="$SHOUT2_CFLAGS"
34601 if test -n "$PKG_CONFIG" && \
34602 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34603 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34606 test $ac_status = 0; }; then
34607 pkg_cv_SHOUT2_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
34615 if test -n "$PKG_CONFIG"; then
34616 if test -n "$SHOUT2_LIBS"; then
34617 pkg_cv_SHOUT2_LIBS="$SHOUT2_LIBS"
34619 if test -n "$PKG_CONFIG" && \
34620 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
34621 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
34623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34624 test $ac_status = 0; }; then
34625 pkg_cv_SHOUT2_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
34636 if test $pkg_failed = yes; then
34638 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34639 _pkg_short_errors_supported=yes
34641 _pkg_short_errors_supported=no
34643 if test $_pkg_short_errors_supported = yes; then
34644 SHOUT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
34646 SHOUT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
34648 # Put the nasty error message in config.log where it belongs
34649 echo "$SHOUT2_PKG_ERRORS" >&5
34651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34652 $as_echo "no" >&6; }
34655 if test "x$required" = "xyes"; then
34656 as_fn_error $? "$SHOUT2_PKG_ERRORS" "$LINENO" 5
34658 { $as_echo "$as_me:${as_lineno-$LINENO}: $SHOUT2_PKG_ERRORS" >&5
34659 $as_echo "$as_me: $SHOUT2_PKG_ERRORS" >&6;}
34662 elif test $pkg_failed = untried; then
34665 if test "x$required" = "xyes"; then
34666 as_fn_error $? "$SHOUT2_PKG_ERRORS" "$LINENO" 5
34668 { $as_echo "$as_me:${as_lineno-$LINENO}: $SHOUT2_PKG_ERRORS" >&5
34669 $as_echo "$as_me: $SHOUT2_PKG_ERRORS" >&6;}
34673 SHOUT2_CFLAGS=$pkg_cv_SHOUT2_CFLAGS
34674 SHOUT2_LIBS=$pkg_cv_SHOUT2_LIBS
34675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34676 $as_echo "yes" >&6; }
34683 if test $HAVE_SHOUT2 = no
34686 # Check whether --with-shout2-prefix was given.
34687 if test "${with_shout2_prefix+set}" = set; then :
34688 withval=$with_shout2_prefix; shout2_prefix="$withval"
34693 # Check whether --enable-shout2test was given.
34694 if test "${enable_shout2test+set}" = set; then :
34695 enableval=$enable_shout2test;
34697 enable_shout2test=yes
34701 if test "x$shout2_prefix" != "xNONE" ; then
34702 SHOUT2_CFLAGS="-I$shout2_prefix/include"
34703 SHOUT2_LIBS="-L$shout2_prefix/lib"
34704 elif test "x$prefix" != "x"; then
34705 SHOUT2_CFLAGS="-I$prefix/include"
34706 SHOUT2_LIBS="-L$prefix/lib"
34709 SHOUT2_LIBS="$SHOUT2_LIBS -lshout -lpthread"
34713 SHOUT2_LIBS="$SHOUT2_LIBS -lnsl -lsocket -lresolv"
34716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shout2" >&5
34717 $as_echo_n "checking for shout2... " >&6; }
34720 if test "x$enable_shout2test" = "xyes" ; then
34721 ac_save_CFLAGS="$CFLAGS"
34722 ac_save_LIBS="$LIBS"
34723 CFLAGS="$CFLAGS $SHOUT2_CFLAGS $OGG_CFLAGS $VORBIS_CFLAGS"
34724 LIBS="$LIBS $SHOUT2_LIBS $OGG_LIBS $VORBIS_LIBS"
34725 rm -f conf.shout2test
34726 if test "$cross_compiling" = yes; then :
34727 echo $ac_n "cross compiling; assumed OK... $ac_c"
34729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34730 /* end confdefs.h. */
34733 #include <stdlib.h>
34734 #include <string.h>
34735 #include <shout/shout.h>
34739 int major, minor, patch;
34741 system("touch conf.shout2test");
34742 shout_version(&major, &minor, &patch);
34750 if ac_fn_c_try_run "$LINENO"; then :
34755 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
34756 conftest.$ac_objext conftest.beam conftest.$ac_ext
34759 CFLAGS="$ac_save_CFLAGS"
34760 LIBS="$ac_save_LIBS"
34763 if test "x$no_shout2" = "x" ; then
34764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
34765 $as_echo "yes" >&6; }
34768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34769 $as_echo "no" >&6; }
34770 if test -f conf.shout2test ; then
34773 echo "*** Could not run Shout2 test program, checking why..."
34774 CFLAGS="$CFLAGS $SHOUT2_CFLAGS $OGG_CFLAGS $VORBIS_CFLAGS"
34775 LIBS="$LIBS $SHOUT2_LIBS $OGG_LIBS $VORBIS_LIBS"
34776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34777 /* end confdefs.h. */
34780 #include <shout/shout.h>
34790 if ac_fn_c_try_link "$LINENO"; then :
34791 echo "*** The test program compiled, but did not run. This usually means"
34792 echo "*** that the run-time linker is not finding Shout2 or finding the wrong"
34793 echo "*** version of Shout2. If it is not finding Shout2, you'll need to set your"
34794 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
34795 echo "*** to the installed location Also, make sure you have run ldconfig if that"
34796 echo "*** is required on your system"
34798 echo "*** If you have an old version installed, it is best to remove it, although"
34799 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
34801 echo "*** The test program failed to compile or link. See the file config.log for the"
34802 echo "*** exact error that occured. This usually means Shout2 was incorrectly installed"
34803 echo "*** or that you have moved Shout2 since it was installed. In the latter case, you"
34804 echo "*** may want to edit the shout-config script: $SHOUT2_CONFIG"
34806 rm -f core conftest.err conftest.$ac_objext \
34807 conftest$ac_exeext conftest.$ac_ext
34808 CFLAGS="$ac_save_CFLAGS"
34809 LIBS="$ac_save_LIBS"
34817 rm -f conf.shout2test
34824 LIBS=$gst_check_save_LIBS
34825 LDFLAGS=$gst_check_save_LDFLAGS
34826 CFLAGS=$gst_check_save_CFLAGS
34827 CPPFLAGS=$gst_check_save_CPPFLAGS
34828 CXXFLAGS=$gst_check_save_CXXFLAGS
34830 if test x$HAVE_SHOUT2 = xno; then
34833 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: shout2" >&5
34834 $as_echo "$as_me: *** These plugins will be built: shout2" >&6;}
34837 if test x$USE_SHOUT2 = xyes; then
34839 if test "xshout2" != "x"; then
34840 GST_PLUGINS_YES="\tshout2\n$GST_PLUGINS_YES"
34843 $as_echo "#define HAVE_SHOUT2 /**/" >>confdefs.h
34846 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: shout2" >&5
34847 $as_echo "$as_me: *** These plugins will not be built: shout2" >&6;}
34848 if test "xshout2" != "x"; then
34849 GST_PLUGINS_NO="\tshout2\n$GST_PLUGINS_NO"
34853 if test x$USE_SHOUT2 = xyes; then
34855 USE_SHOUT2_FALSE='#'
34857 USE_SHOUT2_TRUE='#'
34864 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: soup http client plugin (2.4) ***" >&5
34865 $as_echo "$as_me: *** checking feature: soup http client plugin (2.4) ***" >&6;}
34866 if test "xsouphttpsrc" != "x"
34868 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: souphttpsrc ***" >&5
34869 $as_echo "$as_me: *** for plug-ins: souphttpsrc ***" >&6;}
34872 if test "x$USE_SOUP" = "xno"; then
34875 # Check whether --enable-soup was given.
34876 if test "${enable_soup+set}" = set; then :
34877 enableval=$enable_soup; case "${enableval}" in
34878 yes) USE_SOUP=yes;;
34880 *) as_fn_error $? "bad value ${enableval} for --enable-soup" "$LINENO" 5 ;;
34886 if test "x$NOUSE" = "xyes"; then
34888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** souphttpsrc pre-configured not to be built" >&5
34889 $as_echo "$as_me: WARNING: *** souphttpsrc pre-configured not to be built" >&2;}
34894 if test x$USE_SOUP = xyes; then
34896 gst_check_save_LIBS=$LIBS
34897 gst_check_save_LDFLAGS=$LDFLAGS
34898 gst_check_save_CFLAGS=$CFLAGS
34899 gst_check_save_CPPFLAGS=$CPPFLAGS
34900 gst_check_save_CXXFLAGS=$CXXFLAGS
34906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
34907 $as_echo_n "checking for SOUP... " >&6; }
34909 if test -n "$PKG_CONFIG"; then
34910 if test -n "$SOUP_CFLAGS"; then
34911 pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
34913 if test -n "$PKG_CONFIG" && \
34914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4 >= 2.3.2\""; } >&5
34915 ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4 >= 2.3.2") 2>&5
34917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34918 test $ac_status = 0; }; then
34919 pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-gnome-2.4 >= 2.3.2" 2>/dev/null`
34927 if test -n "$PKG_CONFIG"; then
34928 if test -n "$SOUP_LIBS"; then
34929 pkg_cv_SOUP_LIBS="$SOUP_LIBS"
34931 if test -n "$PKG_CONFIG" && \
34932 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-gnome-2.4 >= 2.3.2\""; } >&5
34933 ($PKG_CONFIG --exists --print-errors "libsoup-gnome-2.4 >= 2.3.2") 2>&5
34935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34936 test $ac_status = 0; }; then
34937 pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-gnome-2.4 >= 2.3.2" 2>/dev/null`
34948 if test $pkg_failed = yes; then
34950 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34951 _pkg_short_errors_supported=yes
34953 _pkg_short_errors_supported=no
34955 if test $_pkg_short_errors_supported = yes; then
34956 SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-gnome-2.4 >= 2.3.2"`
34958 SOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-gnome-2.4 >= 2.3.2"`
34960 # Put the nasty error message in config.log where it belongs
34961 echo "$SOUP_PKG_ERRORS" >&5
34963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
34964 $as_echo "no" >&6; }
34968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
34969 $as_echo_n "checking for SOUP... " >&6; }
34971 if test -n "$PKG_CONFIG"; then
34972 if test -n "$SOUP_CFLAGS"; then
34973 pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
34975 if test -n "$PKG_CONFIG" && \
34976 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
34977 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
34979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34980 test $ac_status = 0; }; then
34981 pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.26" 2>/dev/null`
34989 if test -n "$PKG_CONFIG"; then
34990 if test -n "$SOUP_LIBS"; then
34991 pkg_cv_SOUP_LIBS="$SOUP_LIBS"
34993 if test -n "$PKG_CONFIG" && \
34994 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
34995 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
34997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
34998 test $ac_status = 0; }; then
34999 pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.26" 2>/dev/null`
35010 if test $pkg_failed = yes; then
35012 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35013 _pkg_short_errors_supported=yes
35015 _pkg_short_errors_supported=no
35017 if test $_pkg_short_errors_supported = yes; then
35018 SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4 >= 2.26"`
35020 SOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4 >= 2.26"`
35022 # Put the nasty error message in config.log where it belongs
35023 echo "$SOUP_PKG_ERRORS" >&5
35025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35026 $as_echo "no" >&6; }
35030 elif test $pkg_failed = untried; then
35035 SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
35036 SOUP_LIBS=$pkg_cv_SOUP_LIBS
35037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35038 $as_echo "yes" >&6; }
35042 elif test $pkg_failed = untried; then
35046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
35047 $as_echo_n "checking for SOUP... " >&6; }
35049 if test -n "$PKG_CONFIG"; then
35050 if test -n "$SOUP_CFLAGS"; then
35051 pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
35053 if test -n "$PKG_CONFIG" && \
35054 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
35055 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
35057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35058 test $ac_status = 0; }; then
35059 pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.26" 2>/dev/null`
35067 if test -n "$PKG_CONFIG"; then
35068 if test -n "$SOUP_LIBS"; then
35069 pkg_cv_SOUP_LIBS="$SOUP_LIBS"
35071 if test -n "$PKG_CONFIG" && \
35072 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26\""; } >&5
35073 ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26") 2>&5
35075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35076 test $ac_status = 0; }; then
35077 pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.26" 2>/dev/null`
35088 if test $pkg_failed = yes; then
35090 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35091 _pkg_short_errors_supported=yes
35093 _pkg_short_errors_supported=no
35095 if test $_pkg_short_errors_supported = yes; then
35096 SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4 >= 2.26"`
35098 SOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4 >= 2.26"`
35100 # Put the nasty error message in config.log where it belongs
35101 echo "$SOUP_PKG_ERRORS" >&5
35103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35104 $as_echo "no" >&6; }
35108 elif test $pkg_failed = untried; then
35113 SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
35114 SOUP_LIBS=$pkg_cv_SOUP_LIBS
35115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35116 $as_echo "yes" >&6; }
35121 SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
35122 SOUP_LIBS=$pkg_cv_SOUP_LIBS
35123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35124 $as_echo "yes" >&6; }
35128 $as_echo "#define HAVE_LIBSOUP_GNOME 1" >>confdefs.h
35136 LIBS=$gst_check_save_LIBS
35137 LDFLAGS=$gst_check_save_LDFLAGS
35138 CFLAGS=$gst_check_save_CFLAGS
35139 CPPFLAGS=$gst_check_save_CPPFLAGS
35140 CXXFLAGS=$gst_check_save_CXXFLAGS
35142 if test x$HAVE_SOUP = xno; then
35145 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: souphttpsrc" >&5
35146 $as_echo "$as_me: *** These plugins will be built: souphttpsrc" >&6;}
35149 if test x$USE_SOUP = xyes; then
35151 if test "xsouphttpsrc" != "x"; then
35152 GST_PLUGINS_YES="\tsouphttpsrc\n$GST_PLUGINS_YES"
35155 $as_echo "#define HAVE_SOUP /**/" >>confdefs.h
35158 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: souphttpsrc" >&5
35159 $as_echo "$as_me: *** These plugins will not be built: souphttpsrc" >&6;}
35160 if test "xsouphttpsrc" != "x"; then
35161 GST_PLUGINS_NO="\tsouphttpsrc\n$GST_PLUGINS_NO"
35165 if test x$USE_SOUP = xyes; then
35176 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: speex speech codec ***" >&5
35177 $as_echo "$as_me: *** checking feature: speex speech codec ***" >&6;}
35178 if test "xspeex" != "x"
35180 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: speex ***" >&5
35181 $as_echo "$as_me: *** for plug-ins: speex ***" >&6;}
35184 if test "x$USE_SPEEX" = "xno"; then
35187 # Check whether --enable-speex was given.
35188 if test "${enable_speex+set}" = set; then :
35189 enableval=$enable_speex; case "${enableval}" in
35190 yes) USE_SPEEX=yes;;
35192 *) as_fn_error $? "bad value ${enableval} for --enable-speex" "$LINENO" 5 ;;
35198 if test "x$NOUSE" = "xyes"; then
35200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** speex pre-configured not to be built" >&5
35201 $as_echo "$as_me: WARNING: *** speex pre-configured not to be built" >&2;}
35206 if test x$USE_SPEEX = xyes; then
35208 gst_check_save_LIBS=$LIBS
35209 gst_check_save_LDFLAGS=$LDFLAGS
35210 gst_check_save_CFLAGS=$CFLAGS
35211 gst_check_save_CPPFLAGS=$CPPFLAGS
35212 gst_check_save_CXXFLAGS=$CXXFLAGS
35217 which="speex >= 1.1.6"
35222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPEEX" >&5
35223 $as_echo_n "checking for SPEEX... " >&6; }
35225 if test -n "$PKG_CONFIG"; then
35226 if test -n "$SPEEX_CFLAGS"; then
35227 pkg_cv_SPEEX_CFLAGS="$SPEEX_CFLAGS"
35229 if test -n "$PKG_CONFIG" && \
35230 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
35231 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
35233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35234 test $ac_status = 0; }; then
35235 pkg_cv_SPEEX_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
35243 if test -n "$PKG_CONFIG"; then
35244 if test -n "$SPEEX_LIBS"; then
35245 pkg_cv_SPEEX_LIBS="$SPEEX_LIBS"
35247 if test -n "$PKG_CONFIG" && \
35248 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
35249 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
35251 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35252 test $ac_status = 0; }; then
35253 pkg_cv_SPEEX_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
35264 if test $pkg_failed = yes; then
35266 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35267 _pkg_short_errors_supported=yes
35269 _pkg_short_errors_supported=no
35271 if test $_pkg_short_errors_supported = yes; then
35272 SPEEX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
35274 SPEEX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
35276 # Put the nasty error message in config.log where it belongs
35277 echo "$SPEEX_PKG_ERRORS" >&5
35279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35280 $as_echo "no" >&6; }
35283 if test "x$required" = "xyes"; then
35284 as_fn_error $? "$SPEEX_PKG_ERRORS" "$LINENO" 5
35286 { $as_echo "$as_me:${as_lineno-$LINENO}: $SPEEX_PKG_ERRORS" >&5
35287 $as_echo "$as_me: $SPEEX_PKG_ERRORS" >&6;}
35290 elif test $pkg_failed = untried; then
35293 if test "x$required" = "xyes"; then
35294 as_fn_error $? "$SPEEX_PKG_ERRORS" "$LINENO" 5
35296 { $as_echo "$as_me:${as_lineno-$LINENO}: $SPEEX_PKG_ERRORS" >&5
35297 $as_echo "$as_me: $SPEEX_PKG_ERRORS" >&6;}
35301 SPEEX_CFLAGS=$pkg_cv_SPEEX_CFLAGS
35302 SPEEX_LIBS=$pkg_cv_SPEEX_LIBS
35303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35304 $as_echo "yes" >&6; }
35311 if test $HAVE_SPEEX = no
35314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speex_bits_init in -lspeex" >&5
35315 $as_echo_n "checking for speex_bits_init in -lspeex... " >&6; }
35316 if test "${ac_cv_lib_speex_speex_bits_init+set}" = set; then :
35317 $as_echo_n "(cached) " >&6
35319 ac_check_lib_save_LIBS=$LIBS
35320 LIBS="-lspeex $LIBS"
35321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35322 /* end confdefs.h. */
35324 /* Override any GCC internal prototype to avoid an error.
35325 Use char because int might match the return type of a GCC
35326 builtin and then its argument prototype would still apply. */
35330 char speex_bits_init ();
35334 return speex_bits_init ();
35339 if ac_fn_c_try_link "$LINENO"; then :
35340 ac_cv_lib_speex_speex_bits_init=yes
35342 ac_cv_lib_speex_speex_bits_init=no
35344 rm -f core conftest.err conftest.$ac_objext \
35345 conftest$ac_exeext conftest.$ac_ext
35346 LIBS=$ac_check_lib_save_LIBS
35348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_speex_speex_bits_init" >&5
35349 $as_echo "$ac_cv_lib_speex_speex_bits_init" >&6; }
35350 if test "x$ac_cv_lib_speex_speex_bits_init" = x""yes; then :
35356 if test "x$HAVE_SPEEX" = "xyes"; then
35357 ac_fn_c_check_header_mongrel "$LINENO" "speex/speex.h" "ac_cv_header_speex_speex_h" "$ac_includes_default"
35358 if test "x$ac_cv_header_speex_speex_h" = x""yes; then :
35365 if test "x$HAVE_SPEEX" = "xyes"; then
35367 ac_fn_c_check_header_mongrel "$LINENO" "speex/speex_jitter.h" "ac_cv_header_speex_speex_jitter_h" "$ac_includes_default"
35368 if test "x$ac_cv_header_speex_speex_jitter_h" = x""yes; then :
35371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for speex_encode_int in -lspeex" >&5
35372 $as_echo_n "checking for speex_encode_int in -lspeex... " >&6; }
35373 if test "${ac_cv_lib_speex_speex_encode_int+set}" = set; then :
35374 $as_echo_n "(cached) " >&6
35376 ac_check_lib_save_LIBS=$LIBS
35377 LIBS="-lspeex $LIBS"
35378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35379 /* end confdefs.h. */
35381 /* Override any GCC internal prototype to avoid an error.
35382 Use char because int might match the return type of a GCC
35383 builtin and then its argument prototype would still apply. */
35387 char speex_encode_int ();
35391 return speex_encode_int ();
35396 if ac_fn_c_try_link "$LINENO"; then :
35397 ac_cv_lib_speex_speex_encode_int=yes
35399 ac_cv_lib_speex_speex_encode_int=no
35401 rm -f core conftest.err conftest.$ac_objext \
35402 conftest$ac_exeext conftest.$ac_ext
35403 LIBS=$ac_check_lib_save_LIBS
35405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_speex_speex_encode_int" >&5
35406 $as_echo "$ac_cv_lib_speex_speex_encode_int" >&6; }
35407 if test "x$ac_cv_lib_speex_speex_encode_int" = x""yes; then :
35413 if test "x$HAVE_SPEEX" = "xyes"; then
35414 ac_fn_c_check_header_mongrel "$LINENO" "speex/speex.h" "ac_cv_header_speex_speex_h" "$ac_includes_default"
35415 if test "x$ac_cv_header_speex_speex_h" = x""yes; then :
35422 if test "x$HAVE_SPEEX" = "xyes"; then
35425 SPEEX_LIBS="-lspeex"
35445 ac_fn_c_check_decl "$LINENO" "SPEEX_GET_LOOKAHEAD" "ac_cv_have_decl_SPEEX_GET_LOOKAHEAD" "
35446 #include <speex/speex.h>
35449 if test "x$ac_cv_have_decl_SPEEX_GET_LOOKAHEAD" = x""yes; then :
35452 SPEEX_LIBS="-lspeex"
35457 cat >>confdefs.h <<_ACEOF
35458 #define SPEEX_1_0 1
35465 { $as_echo "$as_me:${as_lineno-$LINENO}: You need at least 1.0.4 to compile the speex plugin" >&5
35466 $as_echo "$as_me: You need at least 1.0.4 to compile the speex plugin" >&6;}
35487 LIBS=$gst_check_save_LIBS
35488 LDFLAGS=$gst_check_save_LDFLAGS
35489 CFLAGS=$gst_check_save_CFLAGS
35490 CPPFLAGS=$gst_check_save_CPPFLAGS
35491 CXXFLAGS=$gst_check_save_CXXFLAGS
35493 if test x$HAVE_SPEEX = xno; then
35496 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: speex" >&5
35497 $as_echo "$as_me: *** These plugins will be built: speex" >&6;}
35500 if test x$USE_SPEEX = xyes; then
35502 if test "xspeex" != "x"; then
35503 GST_PLUGINS_YES="\tspeex\n$GST_PLUGINS_YES"
35506 $as_echo "#define HAVE_SPEEX /**/" >>confdefs.h
35509 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: speex" >&5
35510 $as_echo "$as_me: *** These plugins will not be built: speex" >&6;}
35511 if test "xspeex" != "x"; then
35512 GST_PLUGINS_NO="\tspeex\n$GST_PLUGINS_NO"
35516 if test x$USE_SPEEX = xyes; then
35518 USE_SPEEX_FALSE='#'
35527 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: taglib tagging library ***" >&5
35528 $as_echo "$as_me: *** checking feature: taglib tagging library ***" >&6;}
35529 if test "xtaglib" != "x"
35531 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: taglib ***" >&5
35532 $as_echo "$as_me: *** for plug-ins: taglib ***" >&6;}
35535 if test "x$USE_TAGLIB" = "xno"; then
35538 # Check whether --enable-taglib was given.
35539 if test "${enable_taglib+set}" = set; then :
35540 enableval=$enable_taglib; case "${enableval}" in
35541 yes) USE_TAGLIB=yes;;
35542 no) USE_TAGLIB=no;;
35543 *) as_fn_error $? "bad value ${enableval} for --enable-taglib" "$LINENO" 5 ;;
35549 if test "x$NOUSE" = "xyes"; then
35551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** taglib pre-configured not to be built" >&5
35552 $as_echo "$as_me: WARNING: *** taglib pre-configured not to be built" >&2;}
35557 if test x$USE_TAGLIB = xyes; then
35559 gst_check_save_LIBS=$LIBS
35560 gst_check_save_LDFLAGS=$LDFLAGS
35561 gst_check_save_CFLAGS=$CFLAGS
35562 gst_check_save_CPPFLAGS=$CPPFLAGS
35563 gst_check_save_CXXFLAGS=$CXXFLAGS
35568 which="taglib >= 1.5"
35573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TAGLIB" >&5
35574 $as_echo_n "checking for TAGLIB... " >&6; }
35576 if test -n "$PKG_CONFIG"; then
35577 if test -n "$TAGLIB_CFLAGS"; then
35578 pkg_cv_TAGLIB_CFLAGS="$TAGLIB_CFLAGS"
35580 if test -n "$PKG_CONFIG" && \
35581 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
35582 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
35584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35585 test $ac_status = 0; }; then
35586 pkg_cv_TAGLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
35594 if test -n "$PKG_CONFIG"; then
35595 if test -n "$TAGLIB_LIBS"; then
35596 pkg_cv_TAGLIB_LIBS="$TAGLIB_LIBS"
35598 if test -n "$PKG_CONFIG" && \
35599 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
35600 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
35602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35603 test $ac_status = 0; }; then
35604 pkg_cv_TAGLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
35615 if test $pkg_failed = yes; then
35617 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35618 _pkg_short_errors_supported=yes
35620 _pkg_short_errors_supported=no
35622 if test $_pkg_short_errors_supported = yes; then
35623 TAGLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
35625 TAGLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
35627 # Put the nasty error message in config.log where it belongs
35628 echo "$TAGLIB_PKG_ERRORS" >&5
35630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35631 $as_echo "no" >&6; }
35634 if test "x$required" = "xyes"; then
35635 as_fn_error $? "$TAGLIB_PKG_ERRORS" "$LINENO" 5
35637 { $as_echo "$as_me:${as_lineno-$LINENO}: $TAGLIB_PKG_ERRORS" >&5
35638 $as_echo "$as_me: $TAGLIB_PKG_ERRORS" >&6;}
35641 elif test $pkg_failed = untried; then
35644 if test "x$required" = "xyes"; then
35645 as_fn_error $? "$TAGLIB_PKG_ERRORS" "$LINENO" 5
35647 { $as_echo "$as_me:${as_lineno-$LINENO}: $TAGLIB_PKG_ERRORS" >&5
35648 $as_echo "$as_me: $TAGLIB_PKG_ERRORS" >&6;}
35652 TAGLIB_CFLAGS=$pkg_cv_TAGLIB_CFLAGS
35653 TAGLIB_LIBS=$pkg_cv_TAGLIB_LIBS
35654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35655 $as_echo "yes" >&6; }
35662 if test "x$HAVE_CXX" != "xyes"; then
35664 { $as_echo "$as_me:${as_lineno-$LINENO}: Not building taglib plugin: no C++ compiler found" >&5
35665 $as_echo "$as_me: Not building taglib plugin: no C++ compiler found" >&6;}
35670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wno-attributes" >&5
35671 $as_echo_n "checking to see if c++ compiler understands -Wno-attributes... " >&6; }
35673 save_CPPFLAGS="$CPPFLAGS"
35674 CPPFLAGS="$CPPFLAGS -Wno-attributes"
35677 ac_cpp='$CXXCPP $CPPFLAGS'
35678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35684 /* end confdefs.h. */
35694 if ac_fn_cxx_try_compile "$LINENO"; then :
35699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35700 CPPFLAGS="$save_CPPFLAGS"
35702 if test "X$flag_ok" = Xyes ; then
35704 TAGLIB_CXXFLAGS="$TAGLIB_CFLAGS -Wno-attributes"
35709 TAGLIB_CXXFLAGS="$TAGLIB_CFLAGS"
35715 ac_cpp='$CPP $CPPFLAGS'
35716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
35722 $as_echo "$flag_ok" >&6; }
35728 LIBS=$gst_check_save_LIBS
35729 LDFLAGS=$gst_check_save_LDFLAGS
35730 CFLAGS=$gst_check_save_CFLAGS
35731 CPPFLAGS=$gst_check_save_CPPFLAGS
35732 CXXFLAGS=$gst_check_save_CXXFLAGS
35734 if test x$HAVE_TAGLIB = xno; then
35737 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: taglib" >&5
35738 $as_echo "$as_me: *** These plugins will be built: taglib" >&6;}
35741 if test x$USE_TAGLIB = xyes; then
35743 if test "xtaglib" != "x"; then
35744 GST_PLUGINS_YES="\ttaglib\n$GST_PLUGINS_YES"
35747 $as_echo "#define HAVE_TAGLIB /**/" >>confdefs.h
35750 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: taglib" >&5
35751 $as_echo "$as_me: *** These plugins will not be built: taglib" >&6;}
35752 if test "xtaglib" != "x"; then
35753 GST_PLUGINS_NO="\ttaglib\n$GST_PLUGINS_NO"
35757 if test x$USE_TAGLIB = xyes; then
35759 USE_TAGLIB_FALSE='#'
35761 USE_TAGLIB_TRUE='#'
35768 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: wavpack plug-in ***" >&5
35769 $as_echo "$as_me: *** checking feature: wavpack plug-in ***" >&6;}
35770 if test "xwavpack" != "x"
35772 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: wavpack ***" >&5
35773 $as_echo "$as_me: *** for plug-ins: wavpack ***" >&6;}
35776 if test "x$USE_WAVPACK" = "xno"; then
35779 # Check whether --enable-wavpack was given.
35780 if test "${enable_wavpack+set}" = set; then :
35781 enableval=$enable_wavpack; case "${enableval}" in
35782 yes) USE_WAVPACK=yes;;
35783 no) USE_WAVPACK=no;;
35784 *) as_fn_error $? "bad value ${enableval} for --enable-wavpack" "$LINENO" 5 ;;
35790 if test "x$NOUSE" = "xyes"; then
35792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** wavpack pre-configured not to be built" >&5
35793 $as_echo "$as_me: WARNING: *** wavpack pre-configured not to be built" >&2;}
35798 if test x$USE_WAVPACK = xyes; then
35800 gst_check_save_LIBS=$LIBS
35801 gst_check_save_LDFLAGS=$LDFLAGS
35802 gst_check_save_CFLAGS=$CFLAGS
35803 gst_check_save_CPPFLAGS=$CPPFLAGS
35804 gst_check_save_CXXFLAGS=$CXXFLAGS
35810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAVPACK" >&5
35811 $as_echo_n "checking for WAVPACK... " >&6; }
35813 if test -n "$PKG_CONFIG"; then
35814 if test -n "$WAVPACK_CFLAGS"; then
35815 pkg_cv_WAVPACK_CFLAGS="$WAVPACK_CFLAGS"
35817 if test -n "$PKG_CONFIG" && \
35818 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.40.0\""; } >&5
35819 ($PKG_CONFIG --exists --print-errors "wavpack >= 4.40.0") 2>&5
35821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35822 test $ac_status = 0; }; then
35823 pkg_cv_WAVPACK_CFLAGS=`$PKG_CONFIG --cflags "wavpack >= 4.40.0" 2>/dev/null`
35831 if test -n "$PKG_CONFIG"; then
35832 if test -n "$WAVPACK_LIBS"; then
35833 pkg_cv_WAVPACK_LIBS="$WAVPACK_LIBS"
35835 if test -n "$PKG_CONFIG" && \
35836 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.40.0\""; } >&5
35837 ($PKG_CONFIG --exists --print-errors "wavpack >= 4.40.0") 2>&5
35839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35840 test $ac_status = 0; }; then
35841 pkg_cv_WAVPACK_LIBS=`$PKG_CONFIG --libs "wavpack >= 4.40.0" 2>/dev/null`
35852 if test $pkg_failed = yes; then
35854 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35855 _pkg_short_errors_supported=yes
35857 _pkg_short_errors_supported=no
35859 if test $_pkg_short_errors_supported = yes; then
35860 WAVPACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "wavpack >= 4.40.0"`
35862 WAVPACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "wavpack >= 4.40.0"`
35864 # Put the nasty error message in config.log where it belongs
35865 echo "$WAVPACK_PKG_ERRORS" >&5
35867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35868 $as_echo "no" >&6; }
35872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAVPACK" >&5
35873 $as_echo_n "checking for WAVPACK... " >&6; }
35875 if test -n "$PKG_CONFIG"; then
35876 if test -n "$WAVPACK_CFLAGS"; then
35877 pkg_cv_WAVPACK_CFLAGS="$WAVPACK_CFLAGS"
35879 if test -n "$PKG_CONFIG" && \
35880 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.20\""; } >&5
35881 ($PKG_CONFIG --exists --print-errors "wavpack >= 4.20") 2>&5
35883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35884 test $ac_status = 0; }; then
35885 pkg_cv_WAVPACK_CFLAGS=`$PKG_CONFIG --cflags "wavpack >= 4.20" 2>/dev/null`
35893 if test -n "$PKG_CONFIG"; then
35894 if test -n "$WAVPACK_LIBS"; then
35895 pkg_cv_WAVPACK_LIBS="$WAVPACK_LIBS"
35897 if test -n "$PKG_CONFIG" && \
35898 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.20\""; } >&5
35899 ($PKG_CONFIG --exists --print-errors "wavpack >= 4.20") 2>&5
35901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35902 test $ac_status = 0; }; then
35903 pkg_cv_WAVPACK_LIBS=`$PKG_CONFIG --libs "wavpack >= 4.20" 2>/dev/null`
35914 if test $pkg_failed = yes; then
35916 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35917 _pkg_short_errors_supported=yes
35919 _pkg_short_errors_supported=no
35921 if test $_pkg_short_errors_supported = yes; then
35922 WAVPACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "wavpack >= 4.20"`
35924 WAVPACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "wavpack >= 4.20"`
35926 # Put the nasty error message in config.log where it belongs
35927 echo "$WAVPACK_PKG_ERRORS" >&5
35929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
35930 $as_echo "no" >&6; }
35934 elif test $pkg_failed = untried; then
35939 WAVPACK_CFLAGS=$pkg_cv_WAVPACK_CFLAGS
35940 WAVPACK_LIBS=$pkg_cv_WAVPACK_LIBS
35941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
35942 $as_echo "yes" >&6; }
35946 $as_echo "#define WAVPACK_OLD_API 1" >>confdefs.h
35951 elif test $pkg_failed = untried; then
35955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAVPACK" >&5
35956 $as_echo_n "checking for WAVPACK... " >&6; }
35958 if test -n "$PKG_CONFIG"; then
35959 if test -n "$WAVPACK_CFLAGS"; then
35960 pkg_cv_WAVPACK_CFLAGS="$WAVPACK_CFLAGS"
35962 if test -n "$PKG_CONFIG" && \
35963 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.20\""; } >&5
35964 ($PKG_CONFIG --exists --print-errors "wavpack >= 4.20") 2>&5
35966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35967 test $ac_status = 0; }; then
35968 pkg_cv_WAVPACK_CFLAGS=`$PKG_CONFIG --cflags "wavpack >= 4.20" 2>/dev/null`
35976 if test -n "$PKG_CONFIG"; then
35977 if test -n "$WAVPACK_LIBS"; then
35978 pkg_cv_WAVPACK_LIBS="$WAVPACK_LIBS"
35980 if test -n "$PKG_CONFIG" && \
35981 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.20\""; } >&5
35982 ($PKG_CONFIG --exists --print-errors "wavpack >= 4.20") 2>&5
35984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
35985 test $ac_status = 0; }; then
35986 pkg_cv_WAVPACK_LIBS=`$PKG_CONFIG --libs "wavpack >= 4.20" 2>/dev/null`
35997 if test $pkg_failed = yes; then
35999 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36000 _pkg_short_errors_supported=yes
36002 _pkg_short_errors_supported=no
36004 if test $_pkg_short_errors_supported = yes; then
36005 WAVPACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "wavpack >= 4.20"`
36007 WAVPACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "wavpack >= 4.20"`
36009 # Put the nasty error message in config.log where it belongs
36010 echo "$WAVPACK_PKG_ERRORS" >&5
36012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
36013 $as_echo "no" >&6; }
36017 elif test $pkg_failed = untried; then
36022 WAVPACK_CFLAGS=$pkg_cv_WAVPACK_CFLAGS
36023 WAVPACK_LIBS=$pkg_cv_WAVPACK_LIBS
36024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36025 $as_echo "yes" >&6; }
36029 $as_echo "#define WAVPACK_OLD_API 1" >>confdefs.h
36035 WAVPACK_CFLAGS=$pkg_cv_WAVPACK_CFLAGS
36036 WAVPACK_LIBS=$pkg_cv_WAVPACK_LIBS
36037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
36038 $as_echo "yes" >&6; }
36045 LIBS=$gst_check_save_LIBS
36046 LDFLAGS=$gst_check_save_LDFLAGS
36047 CFLAGS=$gst_check_save_CFLAGS
36048 CPPFLAGS=$gst_check_save_CPPFLAGS
36049 CXXFLAGS=$gst_check_save_CXXFLAGS
36051 if test x$HAVE_WAVPACK = xno; then
36054 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: wavpack" >&5
36055 $as_echo "$as_me: *** These plugins will be built: wavpack" >&6;}
36058 if test x$USE_WAVPACK = xyes; then
36060 if test "xwavpack" != "x"; then
36061 GST_PLUGINS_YES="\twavpack\n$GST_PLUGINS_YES"
36064 $as_echo "#define HAVE_WAVPACK /**/" >>confdefs.h
36067 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: wavpack" >&5
36068 $as_echo "$as_me: *** These plugins will not be built: wavpack" >&6;}
36069 if test "xwavpack" != "x"; then
36070 GST_PLUGINS_NO="\twavpack\n$GST_PLUGINS_NO"
36074 if test x$USE_WAVPACK = xyes; then
36076 USE_WAVPACK_FALSE='#'
36078 USE_WAVPACK_TRUE='#'
36085 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: zlib support for id3demux/qtdemux/matroska ***" >&5
36086 $as_echo "$as_me: *** checking feature: zlib support for id3demux/qtdemux/matroska ***" >&6;}
36089 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
36090 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
36093 if test "x$USE_ZLIB" = "xno"; then
36096 # Check whether --enable-zlib was given.
36097 if test "${enable_zlib+set}" = set; then :
36098 enableval=$enable_zlib; case "${enableval}" in
36099 yes) USE_ZLIB=yes;;
36101 *) as_fn_error $? "bad value ${enableval} for --enable-zlib" "$LINENO" 5 ;;
36107 if test "x$NOUSE" = "xyes"; then
36109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
36110 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
36115 if test x$USE_ZLIB = xyes; then
36117 gst_check_save_LIBS=$LIBS
36118 gst_check_save_LDFLAGS=$LDFLAGS
36119 gst_check_save_CFLAGS=$CFLAGS
36120 gst_check_save_CPPFLAGS=$CPPFLAGS
36121 gst_check_save_CXXFLAGS=$CXXFLAGS
36126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uncompress in -lz" >&5
36127 $as_echo_n "checking for uncompress in -lz... " >&6; }
36128 if test "${ac_cv_lib_z_uncompress+set}" = set; then :
36129 $as_echo_n "(cached) " >&6
36131 ac_check_lib_save_LIBS=$LIBS
36133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36134 /* end confdefs.h. */
36136 /* Override any GCC internal prototype to avoid an error.
36137 Use char because int might match the return type of a GCC
36138 builtin and then its argument prototype would still apply. */
36142 char uncompress ();
36146 return uncompress ();
36151 if ac_fn_c_try_link "$LINENO"; then :
36152 ac_cv_lib_z_uncompress=yes
36154 ac_cv_lib_z_uncompress=no
36156 rm -f core conftest.err conftest.$ac_objext \
36157 conftest$ac_exeext conftest.$ac_ext
36158 LIBS=$ac_check_lib_save_LIBS
36160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_uncompress" >&5
36161 $as_echo "$ac_cv_lib_z_uncompress" >&6; }
36162 if test "x$ac_cv_lib_z_uncompress" = x""yes; then :
36168 if test "x$HAVE_ZLIB" = "xyes"; then
36169 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
36170 if test "x$ac_cv_header_zlib_h" = x""yes; then :
36177 if test "x$HAVE_ZLIB" = "xyes"; then
36194 LIBS=$gst_check_save_LIBS
36195 LDFLAGS=$gst_check_save_LDFLAGS
36196 CFLAGS=$gst_check_save_CFLAGS
36197 CPPFLAGS=$gst_check_save_CPPFLAGS
36198 CXXFLAGS=$gst_check_save_CXXFLAGS
36200 if test x$HAVE_ZLIB = xno; then
36206 if test x$USE_ZLIB = xyes; then
36208 if test "x" != "x"; then
36209 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
36212 $as_echo "#define HAVE_ZLIB /**/" >>confdefs.h
36216 if test "x" != "x"; then
36217 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
36221 if test x$USE_ZLIB = xyes; then
36232 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: bz2 library for matroska ***" >&5
36233 $as_echo "$as_me: *** checking feature: bz2 library for matroska ***" >&6;}
36236 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
36237 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
36240 if test "x$USE_BZ2" = "xno"; then
36243 # Check whether --enable-bz2 was given.
36244 if test "${enable_bz2+set}" = set; then :
36245 enableval=$enable_bz2; case "${enableval}" in
36248 *) as_fn_error $? "bad value ${enableval} for --enable-bz2" "$LINENO" 5 ;;
36254 if test "x$NOUSE" = "xyes"; then
36256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
36257 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
36262 if test x$USE_BZ2 = xyes; then
36264 gst_check_save_LIBS=$LIBS
36265 gst_check_save_LDFLAGS=$LDFLAGS
36266 gst_check_save_CFLAGS=$CFLAGS
36267 gst_check_save_CPPFLAGS=$CPPFLAGS
36268 gst_check_save_CXXFLAGS=$CXXFLAGS
36273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzCompress in -lbz2" >&5
36274 $as_echo_n "checking for BZ2_bzCompress in -lbz2... " >&6; }
36275 if test "${ac_cv_lib_bz2_BZ2_bzCompress+set}" = set; then :
36276 $as_echo_n "(cached) " >&6
36278 ac_check_lib_save_LIBS=$LIBS
36280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36281 /* end confdefs.h. */
36283 /* Override any GCC internal prototype to avoid an error.
36284 Use char because int might match the return type of a GCC
36285 builtin and then its argument prototype would still apply. */
36289 char BZ2_bzCompress ();
36293 return BZ2_bzCompress ();
36298 if ac_fn_c_try_link "$LINENO"; then :
36299 ac_cv_lib_bz2_BZ2_bzCompress=yes
36301 ac_cv_lib_bz2_BZ2_bzCompress=no
36303 rm -f core conftest.err conftest.$ac_objext \
36304 conftest$ac_exeext conftest.$ac_ext
36305 LIBS=$ac_check_lib_save_LIBS
36307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzCompress" >&5
36308 $as_echo "$ac_cv_lib_bz2_BZ2_bzCompress" >&6; }
36309 if test "x$ac_cv_lib_bz2_BZ2_bzCompress" = x""yes; then :
36315 if test "x$HAVE_BZ2" = "xyes"; then
36316 ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
36317 if test "x$ac_cv_header_bzlib_h" = x""yes; then :
36324 if test "x$HAVE_BZ2" = "xyes"; then
36338 LIBS=$gst_check_save_LIBS
36339 LDFLAGS=$gst_check_save_LDFLAGS
36340 CFLAGS=$gst_check_save_CFLAGS
36341 CPPFLAGS=$gst_check_save_CPPFLAGS
36342 CXXFLAGS=$gst_check_save_CXXFLAGS
36344 if test x$HAVE_BZ2 = xno; then
36350 if test x$USE_BZ2 = xyes; then
36352 if test "x" != "x"; then
36353 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
36356 $as_echo "#define HAVE_BZ2 /**/" >>confdefs.h
36360 if test "x" != "x"; then
36361 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
36365 if test x$USE_BZ2 = xyes; then
36379 USE_AALIB_FALSE='#'
36387 USE_ANNODEX_FALSE='#'
36389 USE_ANNODEX_TRUE='#'
36403 USE_CAIRO_FALSE='#'
36410 USE_CAIRO_GOBJECT_TRUE=
36411 USE_CAIRO_GOBJECT_FALSE='#'
36413 USE_CAIRO_GOBJECT_TRUE='#'
36414 USE_CAIRO_GOBJECT_FALSE=
36418 USE_DIRECTSOUND_TRUE=
36419 USE_DIRECTSOUND_FALSE='#'
36421 USE_DIRECTSOUND_TRUE='#'
36422 USE_DIRECTSOUND_FALSE=
36427 USE_DV1394_FALSE='#'
36429 USE_DV1394_TRUE='#'
36451 USE_GCONF_FALSE='#'
36458 USE_GCONFTOOL_TRUE=
36459 USE_GCONFTOOL_FALSE='#'
36461 USE_GCONFTOOL_TRUE='#'
36462 USE_GCONFTOOL_FALSE=
36466 USE_GDK_PIXBUF_TRUE=
36467 USE_GDK_PIXBUF_FALSE='#'
36469 USE_GDK_PIXBUF_TRUE='#'
36470 USE_GDK_PIXBUF_FALSE=
36475 USE_GST_V4L2_FALSE='#'
36477 USE_GST_V4L2_TRUE='#'
36478 USE_GST_V4L2_FALSE=
36507 USE_LIBCACA_FALSE='#'
36509 USE_LIBCACA_TRUE='#'
36515 USE_LIBDV_FALSE='#'
36522 USE_LIBIEC61883_TRUE=
36523 USE_LIBIEC61883_FALSE='#'
36525 USE_LIBIEC61883_TRUE='#'
36526 USE_LIBIEC61883_FALSE=
36531 USE_LIBPNG_FALSE='#'
36533 USE_LIBPNG_TRUE='#'
36554 USE_OSX_AUDIO_TRUE=
36555 USE_OSX_AUDIO_FALSE='#'
36557 USE_OSX_AUDIO_TRUE='#'
36558 USE_OSX_AUDIO_FALSE=
36562 USE_OSX_VIDEO_TRUE=
36563 USE_OSX_VIDEO_FALSE='#'
36565 USE_OSX_VIDEO_TRUE='#'
36566 USE_OSX_VIDEO_FALSE=
36571 USE_PULSE_FALSE='#'
36579 USE_SHOUT2_FALSE='#'
36581 USE_SHOUT2_TRUE='#'
36595 USE_SPEEX_FALSE='#'
36603 USE_SUNAUDIO_FALSE='#'
36605 USE_SUNAUDIO_TRUE='#'
36606 USE_SUNAUDIO_FALSE=
36611 USE_TAGLIB_FALSE='#'
36613 USE_TAGLIB_TRUE='#'
36619 USE_WAVPACK_FALSE='#'
36621 USE_WAVPACK_TRUE='#'
36643 USE_XVIDEO_FALSE='#'
36645 USE_XVIDEO_TRUE='#'
36661 if test "x$USE_DEBUG" = xyes; then
36662 PROFILE_CFLAGS="-g"
36666 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
36667 DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
36669 DEPRECATED_CFLAGS=""
36673 GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
36674 GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
36680 GST_CXXFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CXXFLAGS)"
36681 GST_CFLAGS="-I\$(top_srcdir)/gst-libs $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CFLAGS)"
36686 GST_ALL_LDFLAGS="-no-undefined"
36689 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_desc.*' $GST_ALL_LDFLAGS"
36693 ac_config_files="$ac_config_files Makefile gst/Makefile gst/alpha/Makefile gst/apetag/Makefile gst/audiofx/Makefile gst/audioparsers/Makefile gst/auparse/Makefile gst/autodetect/Makefile gst/avi/Makefile gst/cutter/Makefile gst/deinterlace/Makefile gst/debugutils/Makefile gst/effectv/Makefile gst/equalizer/Makefile gst/flv/Makefile gst/goom/Makefile gst/goom2k1/Makefile gst/id3demux/Makefile gst/icydemux/Makefile gst/imagefreeze/Makefile gst/interleave/Makefile gst/isomp4/Makefile gst/law/Makefile gst/level/Makefile gst/matroska/Makefile gst/monoscope/Makefile gst/multifile/Makefile gst/multipart/Makefile gst/replaygain/Makefile gst/rtp/Makefile gst/rtpmanager/Makefile gst/rtsp/Makefile gst/shapewipe/Makefile gst/smpte/Makefile gst/spectrum/Makefile gst/udp/Makefile gst/videobox/Makefile gst/videocrop/Makefile gst/videofilter/Makefile gst/videomixer/Makefile gst/wavenc/Makefile gst/wavparse/Makefile gst/flx/Makefile gst/y4m/Makefile ext/Makefile ext/aalib/Makefile ext/annodex/Makefile ext/cairo/Makefile ext/dv/Makefile ext/esd/Makefile ext/flac/Makefile ext/gconf/Makefile ext/gdk_pixbuf/Makefile ext/hal/Makefile ext/jack/Makefile ext/jpeg/Makefile ext/libcaca/Makefile ext/libpng/Makefile ext/pulse/Makefile ext/raw1394/Makefile ext/shout2/Makefile ext/soup/Makefile ext/speex/Makefile ext/taglib/Makefile ext/wavpack/Makefile sys/Makefile sys/directsound/Makefile sys/oss/Makefile sys/oss4/Makefile sys/osxaudio/Makefile sys/osxvideo/Makefile sys/sunaudio/Makefile sys/v4l2/Makefile sys/waveform/Makefile sys/ximage/Makefile po/Makefile.in tests/Makefile tests/check/Makefile tests/examples/Makefile tests/examples/audiofx/Makefile tests/examples/cairo/Makefile tests/examples/equalizer/Makefile tests/examples/jack/Makefile tests/examples/level/Makefile tests/examples/pulse/Makefile tests/examples/rtp/Makefile tests/examples/shapewipe/Makefile tests/examples/spectrum/Makefile tests/examples/v4l2/Makefile tests/files/Makefile tests/icles/Makefile gconf/Makefile gconf/gstreamer.schemas common/Makefile common/m4/Makefile m4/Makefile docs/Makefile docs/plugins/Makefile docs/version.entities pkgconfig/Makefile pkgconfig/gstreamer-plugins-good-uninstalled.pc gst-plugins-good.spec"
36697 -e 's/.*config.h.in.*autoheader.*/\/* Autogenerated config.h created for win32 Visual Studio builds *\/\n\n\/* PREFIX -- specifically added for Windows for easier moving *\/\n#define PREFIX "C:\\\\gstreamer"\n\n#define GST_INSTALL_PLUGINS_HELPER PREFIX "\\\\libexec\\\\gst-install-plugins-helper.exe"/' \
36698 -e 's/.* GETTEXT_PACKAGE$/#define GETTEXT_PACKAGE "'$GETTEXT_PACKAGE'"/' \
36699 -e 's/.* GST_DATADIR$/#define GST_DATADIR PREFIX "\\\\share"/' \
36700 -e 's/.* GST_LEVEL_DEFAULT$/#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR/' \
36701 -e 's/.* GST_LICENSE$/#define GST_LICENSE "'$GST_LICENSE'"/' \
36702 -e 's/.* GST_MAJORMINOR$/#define GST_MAJORMINOR "'$GST_MAJORMINOR'"/' \
36703 -e "s,.* GST_PACKAGE_NAME$,#define GST_PACKAGE_NAME \"${GST_PACKAGE_NAME}\"," \
36704 -e 's/.* GST_PACKAGE_ORIGIN$/#define GST_PACKAGE_ORIGIN "Unknown package origin"/' \
36705 -e "s,.* GST_PACKAGE_RELEASE_DATETIME$,#define GST_PACKAGE_RELEASE_DATETIME \"${GST_PACKAGE_RELEASE_DATETIME}\"," \
36706 -e 's/.* HAVE_CPU_I386$/#define HAVE_CPU_I386 1/' \
36707 -e 's/.* HAVE_FGETPOS$/#define HAVE_FGETPOS 1/' \
36708 -e 's/.* HAVE_FSETPOS$/#define HAVE_FSETPOS 1/' \
36709 -e 's/.* HAVE_LIBXML2$/#define HAVE_LIBXML2 1/' \
36710 -e 's/.* HAVE_PROCESS_H$/#define HAVE_PROCESS_H 1/' \
36711 -e 's/.* HAVE_STDLIB_H$/#define HAVE_STDLIB_H 1/' \
36712 -e 's/.* HAVE_STRING_H$/#define HAVE_STRING_H 1/' \
36713 -e 's/.* HAVE_SYS_STAT_H$/#define HAVE_SYS_STAT_H 1/' \
36714 -e 's/.* HAVE_SYS_TYPES_H$/#define HAVE_SYS_TYPES_H 1/' \
36715 -e 's/.* HAVE_WIN32$/#define HAVE_WIN32 1/' \
36716 -e 's/.* HAVE_WINSOCK2_H$/#define HAVE_WINSOCK2_H 1/' \
36717 -e 's/.* HOST_CPU$/#define HOST_CPU "i686"/' \
36718 -e 's/.* LIBDIR$/#ifdef _DEBUG\n# define LIBDIR PREFIX "\\\\debug\\\\lib"\n#else\n# define LIBDIR PREFIX "\\\\lib"\n#endif/' \
36719 -e 's/.* LOCALEDIR$/#define LOCALEDIR PREFIX "\\\\share\\\\locale"/' \
36720 -e "s/.* PACKAGE$/#define PACKAGE \"$PACKAGE\"/" \
36721 -e 's/.* PACKAGE_BUGREPORT$/#define PACKAGE_BUGREPORT "http:\/\/bugzilla.gnome.org\/enter_bug.cgi?product=GStreamer"/' \
36722 -e "s/.* PACKAGE_NAME$/#define PACKAGE_NAME \"$PACKAGE_NAME\"/" \
36723 -e "s/.* PACKAGE_STRING$/#define PACKAGE_STRING \"$PACKAGE_STRING\"/" \
36724 -e 's/.* PACKAGE_TARNAME$/#define PACKAGE_TARNAME "'$PACKAGE_TARNAME'"/' \
36725 -e 's/.* PACKAGE_VERSION$/#define PACKAGE_VERSION "'$PACKAGE_VERSION'"/' \
36726 -e 's/.* PLUGINDIR$/#ifdef _DEBUG\n# define PLUGINDIR PREFIX "\\\\debug\\\\lib\\\\gstreamer-0.10"\n#else\n# define PLUGINDIR PREFIX "\\\\lib\\\\gstreamer-0.10"\n#endif/' \
36727 -e 's/.* USE_BINARY_REGISTRY$/#define USE_BINARY_REGISTRY/' \
36728 -e 's/.* VERSION$/#define VERSION "'$VERSION'"/' \
36729 -e "s/.* DEFAULT_AUDIOSINK$/#define DEFAULT_AUDIOSINK \"directsoundsink\"/" \
36730 -e "s/.* DEFAULT_AUDIOSRC$/#define DEFAULT_AUDIOSRC \"audiotestsrc\"/" \
36731 -e "s/.* DEFAULT_VIDEOSRC$/#define DEFAULT_VIDEOSRC \"videotestsrc\"/" \
36732 -e "s/.* DEFAULT_VISUALIZER$/#define DEFAULT_VISUALIZER \"goom\"/" \
36733 config.h.in >win32/common/config.h-new
36735 cat >confcache <<\_ACEOF
36736 # This file is a shell script that caches the results of configure
36737 # tests run on this system so they can be shared between configure
36738 # scripts and configure runs, see configure's option --config-cache.
36739 # It is not useful on other systems. If it contains results you don't
36740 # want to keep, you may remove or edit it.
36742 # config.status only pays attention to the cache file if you give it
36743 # the --recheck option to rerun configure.
36745 # `ac_cv_env_foo' variables (set or unset) will be overridden when
36746 # loading this file, other *unset* `ac_cv_foo' will be assigned the
36747 # following values.
36751 # The following way of writing the cache mishandles newlines in values,
36752 # but we know of no workaround that is simple, portable, and efficient.
36753 # So, we kill variables containing newlines.
36754 # Ultrix sh set writes to stderr and can't be redirected directly,
36755 # and sets the high bit in the cache file unless we assign to the vars.
36757 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
36758 eval ac_val=\$$ac_var
36762 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
36763 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
36766 _ | IFS | as_nl) ;; #(
36767 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
36768 *) { eval $ac_var=; unset $ac_var;} ;;
36774 case $as_nl`(ac_space=' '; set) 2>&1` in #(
36775 *${as_nl}ac_space=\ *)
36776 # `set' does not quote correctly, so add quotes: double-quote
36777 # substitution turns \\\\ into \\, and sed turns \\ into \.
36780 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
36783 # `set' quotes correctly as required by POSIX, so do not add quotes.
36784 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
36793 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
36795 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
36797 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
36798 if test -w "$cache_file"; then
36799 test "x$cache_file" != "x/dev/null" &&
36800 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
36801 $as_echo "$as_me: updating cache $cache_file" >&6;}
36802 cat confcache >$cache_file
36804 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
36805 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
36810 test "x$prefix" = xNONE && prefix=$ac_default_prefix
36811 # Let make expand exec_prefix.
36812 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
36814 DEFS=-DHAVE_CONFIG_H
36819 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
36820 # 1. Remove the extension, and $U if already installed.
36821 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
36822 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
36823 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
36824 # will be set to the directory where LIBOBJS objects are built.
36825 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
36826 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
36828 LIBOBJS=$ac_libobjs
36830 LTLIBOBJS=$ac_ltlibobjs
36833 if test -n "$EXEEXT"; then
36835 am__EXEEXT_FALSE='#'
36837 am__EXEEXT_TRUE='#'
36841 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
36842 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
36843 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36845 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
36846 as_fn_error $? "conditional \"AMDEP\" was never defined.
36847 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36849 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
36850 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
36851 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36853 if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
36854 as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
36855 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36857 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
36858 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
36859 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36861 if test -z "${USE_EXTERNAL_TRUE}" && test -z "${USE_EXTERNAL_FALSE}"; then
36862 as_fn_error $? "conditional \"USE_EXTERNAL\" was never defined.
36863 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36865 if test -z "${BUILD_EXTERNAL_TRUE}" && test -z "${BUILD_EXTERNAL_FALSE}"; then
36866 as_fn_error $? "conditional \"BUILD_EXTERNAL\" was never defined.
36867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36869 if test -z "${USE_EXPERIMENTAL_TRUE}" && test -z "${USE_EXPERIMENTAL_FALSE}"; then
36870 as_fn_error $? "conditional \"USE_EXPERIMENTAL\" was never defined.
36871 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36873 if test -z "${BUILD_EXPERIMENTAL_TRUE}" && test -z "${BUILD_EXPERIMENTAL_FALSE}"; then
36874 as_fn_error $? "conditional \"BUILD_EXPERIMENTAL\" was never defined.
36875 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36878 if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then
36879 as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined.
36880 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36882 if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then
36883 as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined.
36884 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36886 if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then
36887 as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined.
36888 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36890 if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then
36891 as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined.
36892 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36894 if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then
36895 as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined.
36896 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36898 if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then
36899 as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined.
36900 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36902 if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then
36903 as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined.
36904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36906 if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then
36907 as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined.
36908 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36910 if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then
36911 as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined.
36912 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36914 if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then
36915 as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined.
36916 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36918 if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then
36919 as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined.
36920 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36922 if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then
36923 as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined.
36924 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36926 if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then
36927 as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined.
36928 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36930 if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then
36931 as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined.
36932 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36935 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
36936 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
36937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36939 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
36940 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
36941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36943 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
36944 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
36945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36947 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
36948 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
36949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36951 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
36952 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
36953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36955 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
36956 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
36957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36959 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
36960 as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
36961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36963 if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
36964 as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
36965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36967 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
36968 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
36969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36971 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
36972 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
36973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36975 if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
36976 as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
36977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36979 if test -z "${HAVE_WINSOCK2_H_TRUE}" && test -z "${HAVE_WINSOCK2_H_FALSE}"; then
36980 as_fn_error $? "conditional \"HAVE_WINSOCK2_H\" was never defined.
36981 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36983 if test -z "${HAVE_GCC_ASM_TRUE}" && test -z "${HAVE_GCC_ASM_FALSE}"; then
36984 as_fn_error $? "conditional \"HAVE_GCC_ASM\" was never defined.
36985 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36987 if test -z "${GST_HAVE_MMAP_TRUE}" && test -z "${GST_HAVE_MMAP_FALSE}"; then
36988 as_fn_error $? "conditional \"GST_HAVE_MMAP\" was never defined.
36989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36991 if test -z "${HAVE_ORC_TRUE}" && test -z "${HAVE_ORC_FALSE}"; then
36992 as_fn_error $? "conditional \"HAVE_ORC\" was never defined.
36993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36995 if test -z "${HAVE_ORCC_TRUE}" && test -z "${HAVE_ORCC_FALSE}"; then
36996 as_fn_error $? "conditional \"HAVE_ORCC\" was never defined.
36997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
36999 if test -z "${HAVE_GST_CHECK_TRUE}" && test -z "${HAVE_GST_CHECK_FALSE}"; then
37000 as_fn_error $? "conditional \"HAVE_GST_CHECK\" was never defined.
37001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37003 if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
37004 as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
37005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37007 if test -z "${HAVE_GTK_X11_TRUE}" && test -z "${HAVE_GTK_X11_FALSE}"; then
37008 as_fn_error $? "conditional \"HAVE_GTK_X11\" was never defined.
37009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37011 if test -z "${USE_GCONFTOOL_TRUE}" && test -z "${USE_GCONFTOOL_FALSE}"; then
37012 as_fn_error $? "conditional \"USE_GCONFTOOL\" was never defined.
37013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37015 if test -z "${USE_DIVX_DRM_TRUE}" && test -z "${USE_DIVX_DRM_FALSE}"; then
37016 as_fn_error $? "conditional \"USE_DIVX_DRM\" was never defined.
37017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37019 if test -z "${USE_PLUGIN_VIDEOFILTER_TRUE}" && test -z "${USE_PLUGIN_VIDEOFILTER_FALSE}"; then
37020 as_fn_error $? "conditional \"USE_PLUGIN_VIDEOFILTER\" was never defined.
37021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37023 if test -z "${USE_PLUGIN_ALPHA_TRUE}" && test -z "${USE_PLUGIN_ALPHA_FALSE}"; then
37024 as_fn_error $? "conditional \"USE_PLUGIN_ALPHA\" was never defined.
37025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37027 if test -z "${USE_PLUGIN_APETAG_TRUE}" && test -z "${USE_PLUGIN_APETAG_FALSE}"; then
37028 as_fn_error $? "conditional \"USE_PLUGIN_APETAG\" was never defined.
37029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37031 if test -z "${USE_PLUGIN_AUDIOFX_TRUE}" && test -z "${USE_PLUGIN_AUDIOFX_FALSE}"; then
37032 as_fn_error $? "conditional \"USE_PLUGIN_AUDIOFX\" was never defined.
37033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37035 if test -z "${USE_PLUGIN_AUDIOPARSERS_TRUE}" && test -z "${USE_PLUGIN_AUDIOPARSERS_FALSE}"; then
37036 as_fn_error $? "conditional \"USE_PLUGIN_AUDIOPARSERS\" was never defined.
37037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37039 if test -z "${USE_PLUGIN_AUPARSE_TRUE}" && test -z "${USE_PLUGIN_AUPARSE_FALSE}"; then
37040 as_fn_error $? "conditional \"USE_PLUGIN_AUPARSE\" was never defined.
37041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37043 if test -z "${USE_PLUGIN_AUTODETECT_TRUE}" && test -z "${USE_PLUGIN_AUTODETECT_FALSE}"; then
37044 as_fn_error $? "conditional \"USE_PLUGIN_AUTODETECT\" was never defined.
37045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37047 if test -z "${USE_PLUGIN_AVI_TRUE}" && test -z "${USE_PLUGIN_AVI_FALSE}"; then
37048 as_fn_error $? "conditional \"USE_PLUGIN_AVI\" was never defined.
37049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37051 if test -z "${USE_PLUGIN_CUTTER_TRUE}" && test -z "${USE_PLUGIN_CUTTER_FALSE}"; then
37052 as_fn_error $? "conditional \"USE_PLUGIN_CUTTER\" was never defined.
37053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37055 if test -z "${USE_PLUGIN_DEBUGUTILS_TRUE}" && test -z "${USE_PLUGIN_DEBUGUTILS_FALSE}"; then
37056 as_fn_error $? "conditional \"USE_PLUGIN_DEBUGUTILS\" was never defined.
37057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37059 if test -z "${USE_PLUGIN_DEINTERLACE_TRUE}" && test -z "${USE_PLUGIN_DEINTERLACE_FALSE}"; then
37060 as_fn_error $? "conditional \"USE_PLUGIN_DEINTERLACE\" was never defined.
37061 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37063 if test -z "${USE_PLUGIN_EFFECTV_TRUE}" && test -z "${USE_PLUGIN_EFFECTV_FALSE}"; then
37064 as_fn_error $? "conditional \"USE_PLUGIN_EFFECTV\" was never defined.
37065 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37067 if test -z "${USE_PLUGIN_EQUALIZER_TRUE}" && test -z "${USE_PLUGIN_EQUALIZER_FALSE}"; then
37068 as_fn_error $? "conditional \"USE_PLUGIN_EQUALIZER\" was never defined.
37069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37071 if test -z "${USE_PLUGIN_FLV_TRUE}" && test -z "${USE_PLUGIN_FLV_FALSE}"; then
37072 as_fn_error $? "conditional \"USE_PLUGIN_FLV\" was never defined.
37073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37075 if test -z "${USE_PLUGIN_ID3DEMUX_TRUE}" && test -z "${USE_PLUGIN_ID3DEMUX_FALSE}"; then
37076 as_fn_error $? "conditional \"USE_PLUGIN_ID3DEMUX\" was never defined.
37077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37079 if test -z "${USE_PLUGIN_ICYDEMUX_TRUE}" && test -z "${USE_PLUGIN_ICYDEMUX_FALSE}"; then
37080 as_fn_error $? "conditional \"USE_PLUGIN_ICYDEMUX\" was never defined.
37081 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37083 if test -z "${USE_PLUGIN_INTERLEAVE_TRUE}" && test -z "${USE_PLUGIN_INTERLEAVE_FALSE}"; then
37084 as_fn_error $? "conditional \"USE_PLUGIN_INTERLEAVE\" was never defined.
37085 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37087 if test -z "${USE_PLUGIN_FLX_TRUE}" && test -z "${USE_PLUGIN_FLX_FALSE}"; then
37088 as_fn_error $? "conditional \"USE_PLUGIN_FLX\" was never defined.
37089 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37091 if test -z "${USE_PLUGIN_GOOM_TRUE}" && test -z "${USE_PLUGIN_GOOM_FALSE}"; then
37092 as_fn_error $? "conditional \"USE_PLUGIN_GOOM\" was never defined.
37093 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37095 if test -z "${USE_PLUGIN_GOOM2K1_TRUE}" && test -z "${USE_PLUGIN_GOOM2K1_FALSE}"; then
37096 as_fn_error $? "conditional \"USE_PLUGIN_GOOM2K1\" was never defined.
37097 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37099 if test -z "${USE_PLUGIN_IMAGEFREEZE_TRUE}" && test -z "${USE_PLUGIN_IMAGEFREEZE_FALSE}"; then
37100 as_fn_error $? "conditional \"USE_PLUGIN_IMAGEFREEZE\" was never defined.
37101 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37103 if test -z "${USE_PLUGIN_ISOMP4_TRUE}" && test -z "${USE_PLUGIN_ISOMP4_FALSE}"; then
37104 as_fn_error $? "conditional \"USE_PLUGIN_ISOMP4\" was never defined.
37105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37107 if test -z "${USE_PLUGIN_LAW_TRUE}" && test -z "${USE_PLUGIN_LAW_FALSE}"; then
37108 as_fn_error $? "conditional \"USE_PLUGIN_LAW\" was never defined.
37109 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37111 if test -z "${USE_PLUGIN_LEVEL_TRUE}" && test -z "${USE_PLUGIN_LEVEL_FALSE}"; then
37112 as_fn_error $? "conditional \"USE_PLUGIN_LEVEL\" was never defined.
37113 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37115 if test -z "${USE_PLUGIN_MATROSKA_TRUE}" && test -z "${USE_PLUGIN_MATROSKA_FALSE}"; then
37116 as_fn_error $? "conditional \"USE_PLUGIN_MATROSKA\" was never defined.
37117 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37119 if test -z "${USE_PLUGIN_MONOSCOPE_TRUE}" && test -z "${USE_PLUGIN_MONOSCOPE_FALSE}"; then
37120 as_fn_error $? "conditional \"USE_PLUGIN_MONOSCOPE\" was never defined.
37121 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37123 if test -z "${USE_PLUGIN_MULTIFILE_TRUE}" && test -z "${USE_PLUGIN_MULTIFILE_FALSE}"; then
37124 as_fn_error $? "conditional \"USE_PLUGIN_MULTIFILE\" was never defined.
37125 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37127 if test -z "${USE_PLUGIN_MULTIPART_TRUE}" && test -z "${USE_PLUGIN_MULTIPART_FALSE}"; then
37128 as_fn_error $? "conditional \"USE_PLUGIN_MULTIPART\" was never defined.
37129 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37131 if test -z "${USE_PLUGIN_REPLAYGAIN_TRUE}" && test -z "${USE_PLUGIN_REPLAYGAIN_FALSE}"; then
37132 as_fn_error $? "conditional \"USE_PLUGIN_REPLAYGAIN\" was never defined.
37133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37135 if test -z "${USE_PLUGIN_RTP_TRUE}" && test -z "${USE_PLUGIN_RTP_FALSE}"; then
37136 as_fn_error $? "conditional \"USE_PLUGIN_RTP\" was never defined.
37137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37139 if test -z "${USE_PLUGIN_RTPMANAGER_TRUE}" && test -z "${USE_PLUGIN_RTPMANAGER_FALSE}"; then
37140 as_fn_error $? "conditional \"USE_PLUGIN_RTPMANAGER\" was never defined.
37141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37143 if test -z "${USE_PLUGIN_RTSP_TRUE}" && test -z "${USE_PLUGIN_RTSP_FALSE}"; then
37144 as_fn_error $? "conditional \"USE_PLUGIN_RTSP\" was never defined.
37145 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37147 if test -z "${USE_PLUGIN_SHAPEWIPE_TRUE}" && test -z "${USE_PLUGIN_SHAPEWIPE_FALSE}"; then
37148 as_fn_error $? "conditional \"USE_PLUGIN_SHAPEWIPE\" was never defined.
37149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37151 if test -z "${USE_PLUGIN_SMPTE_TRUE}" && test -z "${USE_PLUGIN_SMPTE_FALSE}"; then
37152 as_fn_error $? "conditional \"USE_PLUGIN_SMPTE\" was never defined.
37153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37155 if test -z "${USE_PLUGIN_SPECTRUM_TRUE}" && test -z "${USE_PLUGIN_SPECTRUM_FALSE}"; then
37156 as_fn_error $? "conditional \"USE_PLUGIN_SPECTRUM\" was never defined.
37157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37159 if test -z "${USE_PLUGIN_UDP_TRUE}" && test -z "${USE_PLUGIN_UDP_FALSE}"; then
37160 as_fn_error $? "conditional \"USE_PLUGIN_UDP\" was never defined.
37161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37163 if test -z "${USE_PLUGIN_VIDEOBOX_TRUE}" && test -z "${USE_PLUGIN_VIDEOBOX_FALSE}"; then
37164 as_fn_error $? "conditional \"USE_PLUGIN_VIDEOBOX\" was never defined.
37165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37167 if test -z "${USE_PLUGIN_VIDEOCROP_TRUE}" && test -z "${USE_PLUGIN_VIDEOCROP_FALSE}"; then
37168 as_fn_error $? "conditional \"USE_PLUGIN_VIDEOCROP\" was never defined.
37169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37171 if test -z "${USE_PLUGIN_VIDEOMIXER_TRUE}" && test -z "${USE_PLUGIN_VIDEOMIXER_FALSE}"; then
37172 as_fn_error $? "conditional \"USE_PLUGIN_VIDEOMIXER\" was never defined.
37173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37175 if test -z "${USE_PLUGIN_WAVENC_TRUE}" && test -z "${USE_PLUGIN_WAVENC_FALSE}"; then
37176 as_fn_error $? "conditional \"USE_PLUGIN_WAVENC\" was never defined.
37177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37179 if test -z "${USE_PLUGIN_WAVPARSE_TRUE}" && test -z "${USE_PLUGIN_WAVPARSE_FALSE}"; then
37180 as_fn_error $? "conditional \"USE_PLUGIN_WAVPARSE\" was never defined.
37181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37183 if test -z "${USE_PLUGIN_Y4M_TRUE}" && test -z "${USE_PLUGIN_Y4M_FALSE}"; then
37184 as_fn_error $? "conditional \"USE_PLUGIN_Y4M\" was never defined.
37185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37187 if test -z "${USE_PLUGIN_UDP_TRUE}" && test -z "${USE_PLUGIN_UDP_FALSE}"; then
37188 as_fn_error $? "conditional \"USE_PLUGIN_UDP\" was never defined.
37189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37191 if test -z "${USE_PLUGIN_RTSP_TRUE}" && test -z "${USE_PLUGIN_RTSP_FALSE}"; then
37192 as_fn_error $? "conditional \"USE_PLUGIN_RTSP\" was never defined.
37193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37195 if test -z "${USE_PLUGIN_MONOSCOPE_TRUE}" && test -z "${USE_PLUGIN_MONOSCOPE_FALSE}"; then
37196 as_fn_error $? "conditional \"USE_PLUGIN_MONOSCOPE\" was never defined.
37197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37199 if test -z "${USE_DIRECTSOUND_TRUE}" && test -z "${USE_DIRECTSOUND_FALSE}"; then
37200 as_fn_error $? "conditional \"USE_DIRECTSOUND\" was never defined.
37201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37203 if test -z "${USE_OSS_TRUE}" && test -z "${USE_OSS_FALSE}"; then
37204 as_fn_error $? "conditional \"USE_OSS\" was never defined.
37205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37207 if test -z "${USE_OSS4_TRUE}" && test -z "${USE_OSS4_FALSE}"; then
37208 as_fn_error $? "conditional \"USE_OSS4\" was never defined.
37209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37211 if test -z "${USE_SUNAUDIO_TRUE}" && test -z "${USE_SUNAUDIO_FALSE}"; then
37212 as_fn_error $? "conditional \"USE_SUNAUDIO\" was never defined.
37213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37215 if test -z "${USE_OSX_AUDIO_TRUE}" && test -z "${USE_OSX_AUDIO_FALSE}"; then
37216 as_fn_error $? "conditional \"USE_OSX_AUDIO\" was never defined.
37217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37219 if test -z "${USE_OSX_VIDEO_TRUE}" && test -z "${USE_OSX_VIDEO_FALSE}"; then
37220 as_fn_error $? "conditional \"USE_OSX_VIDEO\" was never defined.
37221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37223 if test -z "${USE_GST_V4L2_TRUE}" && test -z "${USE_GST_V4L2_FALSE}"; then
37224 as_fn_error $? "conditional \"USE_GST_V4L2\" was never defined.
37225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37227 if test -z "${USE_X_TRUE}" && test -z "${USE_X_FALSE}"; then
37228 as_fn_error $? "conditional \"USE_X\" was never defined.
37229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37231 if test -z "${USE_XSHM_TRUE}" && test -z "${USE_XSHM_FALSE}"; then
37232 as_fn_error $? "conditional \"USE_XSHM\" was never defined.
37233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37235 if test -z "${USE_XVIDEO_TRUE}" && test -z "${USE_XVIDEO_FALSE}"; then
37236 as_fn_error $? "conditional \"USE_XVIDEO\" was never defined.
37237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37239 if test -z "${USE_AALIB_TRUE}" && test -z "${USE_AALIB_FALSE}"; then
37240 as_fn_error $? "conditional \"USE_AALIB\" was never defined.
37241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37243 if test -z "${USE_ANNODEX_TRUE}" && test -z "${USE_ANNODEX_FALSE}"; then
37244 as_fn_error $? "conditional \"USE_ANNODEX\" was never defined.
37245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37247 if test -z "${USE_CAIRO_TRUE}" && test -z "${USE_CAIRO_FALSE}"; then
37248 as_fn_error $? "conditional \"USE_CAIRO\" was never defined.
37249 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37251 if test -z "${USE_CAIRO_GOBJECT_TRUE}" && test -z "${USE_CAIRO_GOBJECT_FALSE}"; then
37252 as_fn_error $? "conditional \"USE_CAIRO_GOBJECT\" was never defined.
37253 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37255 if test -z "${USE_ESD_TRUE}" && test -z "${USE_ESD_FALSE}"; then
37256 as_fn_error $? "conditional \"USE_ESD\" was never defined.
37257 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37259 if test -z "${USE_FLAC_TRUE}" && test -z "${USE_FLAC_FALSE}"; then
37260 as_fn_error $? "conditional \"USE_FLAC\" was never defined.
37261 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37263 if test -z "${USE_GCONF_TRUE}" && test -z "${USE_GCONF_FALSE}"; then
37264 as_fn_error $? "conditional \"USE_GCONF\" was never defined.
37265 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37267 if test -z "${USE_GDK_PIXBUF_TRUE}" && test -z "${USE_GDK_PIXBUF_FALSE}"; then
37268 as_fn_error $? "conditional \"USE_GDK_PIXBUF\" was never defined.
37269 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37271 if test -z "${USE_HAL_TRUE}" && test -z "${USE_HAL_FALSE}"; then
37272 as_fn_error $? "conditional \"USE_HAL\" was never defined.
37273 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37275 if test -z "${USE_JACK_TRUE}" && test -z "${USE_JACK_FALSE}"; then
37276 as_fn_error $? "conditional \"USE_JACK\" was never defined.
37277 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37279 if test -z "${USE_JPEG_TRUE}" && test -z "${USE_JPEG_FALSE}"; then
37280 as_fn_error $? "conditional \"USE_JPEG\" was never defined.
37281 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37283 if test -z "${USE_LIBCACA_TRUE}" && test -z "${USE_LIBCACA_FALSE}"; then
37284 as_fn_error $? "conditional \"USE_LIBCACA\" was never defined.
37285 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37287 if test -z "${USE_LIBDV_TRUE}" && test -z "${USE_LIBDV_FALSE}"; then
37288 as_fn_error $? "conditional \"USE_LIBDV\" was never defined.
37289 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37291 if test -z "${USE_LIBPNG_TRUE}" && test -z "${USE_LIBPNG_FALSE}"; then
37292 as_fn_error $? "conditional \"USE_LIBPNG\" was never defined.
37293 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37295 if test -z "${USE_PULSE_TRUE}" && test -z "${USE_PULSE_FALSE}"; then
37296 as_fn_error $? "conditional \"USE_PULSE\" was never defined.
37297 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37299 if test -z "${USE_DV1394_TRUE}" && test -z "${USE_DV1394_FALSE}"; then
37300 as_fn_error $? "conditional \"USE_DV1394\" was never defined.
37301 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37303 if test -z "${USE_LIBIEC61883_TRUE}" && test -z "${USE_LIBIEC61883_FALSE}"; then
37304 as_fn_error $? "conditional \"USE_LIBIEC61883\" was never defined.
37305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37307 if test -z "${USE_SHOUT2_TRUE}" && test -z "${USE_SHOUT2_FALSE}"; then
37308 as_fn_error $? "conditional \"USE_SHOUT2\" was never defined.
37309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37311 if test -z "${USE_SOUP_TRUE}" && test -z "${USE_SOUP_FALSE}"; then
37312 as_fn_error $? "conditional \"USE_SOUP\" was never defined.
37313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37315 if test -z "${USE_SPEEX_TRUE}" && test -z "${USE_SPEEX_FALSE}"; then
37316 as_fn_error $? "conditional \"USE_SPEEX\" was never defined.
37317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37319 if test -z "${USE_TAGLIB_TRUE}" && test -z "${USE_TAGLIB_FALSE}"; then
37320 as_fn_error $? "conditional \"USE_TAGLIB\" was never defined.
37321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37323 if test -z "${USE_WAVPACK_TRUE}" && test -z "${USE_WAVPACK_FALSE}"; then
37324 as_fn_error $? "conditional \"USE_WAVPACK\" was never defined.
37325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37327 if test -z "${USE_ZLIB_TRUE}" && test -z "${USE_ZLIB_FALSE}"; then
37328 as_fn_error $? "conditional \"USE_ZLIB\" was never defined.
37329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37331 if test -z "${USE_BZ2_TRUE}" && test -z "${USE_BZ2_FALSE}"; then
37332 as_fn_error $? "conditional \"USE_BZ2\" was never defined.
37333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37335 if test -z "${USE_AALIB_TRUE}" && test -z "${USE_AALIB_FALSE}"; then
37336 as_fn_error $? "conditional \"USE_AALIB\" was never defined.
37337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37339 if test -z "${USE_ANNODEX_TRUE}" && test -z "${USE_ANNODEX_FALSE}"; then
37340 as_fn_error $? "conditional \"USE_ANNODEX\" was never defined.
37341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37343 if test -z "${USE_BZ2_TRUE}" && test -z "${USE_BZ2_FALSE}"; then
37344 as_fn_error $? "conditional \"USE_BZ2\" was never defined.
37345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37347 if test -z "${USE_CAIRO_TRUE}" && test -z "${USE_CAIRO_FALSE}"; then
37348 as_fn_error $? "conditional \"USE_CAIRO\" was never defined.
37349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37351 if test -z "${USE_CAIRO_GOBJECT_TRUE}" && test -z "${USE_CAIRO_GOBJECT_FALSE}"; then
37352 as_fn_error $? "conditional \"USE_CAIRO_GOBJECT\" was never defined.
37353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37355 if test -z "${USE_DIRECTSOUND_TRUE}" && test -z "${USE_DIRECTSOUND_FALSE}"; then
37356 as_fn_error $? "conditional \"USE_DIRECTSOUND\" was never defined.
37357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37359 if test -z "${USE_DV1394_TRUE}" && test -z "${USE_DV1394_FALSE}"; then
37360 as_fn_error $? "conditional \"USE_DV1394\" was never defined.
37361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37363 if test -z "${USE_ESD_TRUE}" && test -z "${USE_ESD_FALSE}"; then
37364 as_fn_error $? "conditional \"USE_ESD\" was never defined.
37365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37367 if test -z "${USE_FLAC_TRUE}" && test -z "${USE_FLAC_FALSE}"; then
37368 as_fn_error $? "conditional \"USE_FLAC\" was never defined.
37369 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37371 if test -z "${USE_GCONF_TRUE}" && test -z "${USE_GCONF_FALSE}"; then
37372 as_fn_error $? "conditional \"USE_GCONF\" was never defined.
37373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37375 if test -z "${USE_GCONFTOOL_TRUE}" && test -z "${USE_GCONFTOOL_FALSE}"; then
37376 as_fn_error $? "conditional \"USE_GCONFTOOL\" was never defined.
37377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37379 if test -z "${USE_GDK_PIXBUF_TRUE}" && test -z "${USE_GDK_PIXBUF_FALSE}"; then
37380 as_fn_error $? "conditional \"USE_GDK_PIXBUF\" was never defined.
37381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37383 if test -z "${USE_GST_V4L2_TRUE}" && test -z "${USE_GST_V4L2_FALSE}"; then
37384 as_fn_error $? "conditional \"USE_GST_V4L2\" was never defined.
37385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37387 if test -z "${USE_HAL_TRUE}" && test -z "${USE_HAL_FALSE}"; then
37388 as_fn_error $? "conditional \"USE_HAL\" was never defined.
37389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37391 if test -z "${USE_JACK_TRUE}" && test -z "${USE_JACK_FALSE}"; then
37392 as_fn_error $? "conditional \"USE_JACK\" was never defined.
37393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37395 if test -z "${USE_JPEG_TRUE}" && test -z "${USE_JPEG_FALSE}"; then
37396 as_fn_error $? "conditional \"USE_JPEG\" was never defined.
37397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37399 if test -z "${USE_LIBCACA_TRUE}" && test -z "${USE_LIBCACA_FALSE}"; then
37400 as_fn_error $? "conditional \"USE_LIBCACA\" was never defined.
37401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37403 if test -z "${USE_LIBDV_TRUE}" && test -z "${USE_LIBDV_FALSE}"; then
37404 as_fn_error $? "conditional \"USE_LIBDV\" was never defined.
37405 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37407 if test -z "${USE_LIBIEC61883_TRUE}" && test -z "${USE_LIBIEC61883_FALSE}"; then
37408 as_fn_error $? "conditional \"USE_LIBIEC61883\" was never defined.
37409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37411 if test -z "${USE_LIBPNG_TRUE}" && test -z "${USE_LIBPNG_FALSE}"; then
37412 as_fn_error $? "conditional \"USE_LIBPNG\" was never defined.
37413 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37415 if test -z "${USE_OSS_TRUE}" && test -z "${USE_OSS_FALSE}"; then
37416 as_fn_error $? "conditional \"USE_OSS\" was never defined.
37417 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37419 if test -z "${USE_OSS4_TRUE}" && test -z "${USE_OSS4_FALSE}"; then
37420 as_fn_error $? "conditional \"USE_OSS4\" was never defined.
37421 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37423 if test -z "${USE_OSX_AUDIO_TRUE}" && test -z "${USE_OSX_AUDIO_FALSE}"; then
37424 as_fn_error $? "conditional \"USE_OSX_AUDIO\" was never defined.
37425 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37427 if test -z "${USE_OSX_VIDEO_TRUE}" && test -z "${USE_OSX_VIDEO_FALSE}"; then
37428 as_fn_error $? "conditional \"USE_OSX_VIDEO\" was never defined.
37429 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37431 if test -z "${USE_PULSE_TRUE}" && test -z "${USE_PULSE_FALSE}"; then
37432 as_fn_error $? "conditional \"USE_PULSE\" was never defined.
37433 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37435 if test -z "${USE_SHOUT2_TRUE}" && test -z "${USE_SHOUT2_FALSE}"; then
37436 as_fn_error $? "conditional \"USE_SHOUT2\" was never defined.
37437 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37439 if test -z "${USE_SOUP_TRUE}" && test -z "${USE_SOUP_FALSE}"; then
37440 as_fn_error $? "conditional \"USE_SOUP\" was never defined.
37441 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37443 if test -z "${USE_SPEEX_TRUE}" && test -z "${USE_SPEEX_FALSE}"; then
37444 as_fn_error $? "conditional \"USE_SPEEX\" was never defined.
37445 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37447 if test -z "${USE_SUNAUDIO_TRUE}" && test -z "${USE_SUNAUDIO_FALSE}"; then
37448 as_fn_error $? "conditional \"USE_SUNAUDIO\" was never defined.
37449 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37451 if test -z "${USE_TAGLIB_TRUE}" && test -z "${USE_TAGLIB_FALSE}"; then
37452 as_fn_error $? "conditional \"USE_TAGLIB\" was never defined.
37453 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37455 if test -z "${USE_WAVPACK_TRUE}" && test -z "${USE_WAVPACK_FALSE}"; then
37456 as_fn_error $? "conditional \"USE_WAVPACK\" was never defined.
37457 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37459 if test -z "${USE_X_TRUE}" && test -z "${USE_X_FALSE}"; then
37460 as_fn_error $? "conditional \"USE_X\" was never defined.
37461 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37463 if test -z "${USE_XSHM_TRUE}" && test -z "${USE_XSHM_FALSE}"; then
37464 as_fn_error $? "conditional \"USE_XSHM\" was never defined.
37465 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37467 if test -z "${USE_XVIDEO_TRUE}" && test -z "${USE_XVIDEO_FALSE}"; then
37468 as_fn_error $? "conditional \"USE_XVIDEO\" was never defined.
37469 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37471 if test -z "${USE_ZLIB_TRUE}" && test -z "${USE_ZLIB_FALSE}"; then
37472 as_fn_error $? "conditional \"USE_ZLIB\" was never defined.
37473 Usually this means the macro was only invoked conditionally." "$LINENO" 5
37476 : ${CONFIG_STATUS=./config.status}
37478 ac_clean_files_save=$ac_clean_files
37479 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
37480 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
37481 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
37483 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
37485 # Generated by $as_me.
37486 # Run this file to recreate the current configuration.
37487 # Compiler output produced by configure, useful for debugging
37488 # configure, is in config.log if it exists.
37491 ac_cs_recheck=false
37494 SHELL=\${CONFIG_SHELL-$SHELL}
37497 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
37498 ## -------------------- ##
37499 ## M4sh Initialization. ##
37500 ## -------------------- ##
37502 # Be more Bourne compatible
37503 DUALCASE=1; export DUALCASE # for MKS sh
37504 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
37507 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
37508 # is contrary to our usage. Disable this feature.
37509 alias -g '${1+"$@"}'='"$@"'
37510 setopt NO_GLOB_SUBST
37512 case `(set -o) 2>/dev/null` in #(
37524 # Printing a long string crashes Solaris 7 /usr/bin/printf.
37525 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
37526 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
37527 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
37528 # Prefer a ksh shell builtin over an external printf program on Solaris,
37529 # but without wasting forks for bash or zsh.
37530 if test -z "$BASH_VERSION$ZSH_VERSION" \
37531 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
37532 as_echo='print -r --'
37533 as_echo_n='print -rn --'
37534 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
37535 as_echo='printf %s\n'
37536 as_echo_n='printf %s'
37538 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
37539 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
37540 as_echo_n='/usr/ucb/echo -n'
37542 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
37543 as_echo_n_body='eval
37547 expr "X$arg" : "X\\(.*\\)$as_nl";
37548 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
37550 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
37552 export as_echo_n_body
37553 as_echo_n='sh -c $as_echo_n_body as_echo'
37555 export as_echo_body
37556 as_echo='sh -c $as_echo_body as_echo'
37559 # The user is always right.
37560 if test "${PATH_SEPARATOR+set}" != set; then
37562 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
37563 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
37570 # We need space, tab and new line, in precisely that order. Quoting is
37571 # there to prevent editors from complaining about space-tab.
37572 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
37573 # splitting by setting IFS to empty value.)
37576 # Find who we are. Look in the path if we contain no directory separator.
37578 *[\\/]* ) as_myself=$0 ;;
37579 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37580 for as_dir in $PATH
37583 test -z "$as_dir" && as_dir=.
37584 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
37590 # We did not find ourselves, most probably we were run as `sh COMMAND'
37591 # in which case we are not to be found in the path.
37592 if test "x$as_myself" = x; then
37595 if test ! -f "$as_myself"; then
37596 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
37600 # Unset variables that we do not need and which cause bugs (e.g. in
37601 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
37602 # suppresses any "Segmentation fault" message there. '((' could
37603 # trigger a bug in pdksh 5.2.14.
37604 for as_var in BASH_ENV ENV MAIL MAILPATH
37605 do eval test x\${$as_var+set} = xset \
37606 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
37619 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
37622 # as_fn_error STATUS ERROR [LINENO LOG_FD]
37623 # ----------------------------------------
37624 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
37625 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
37626 # script with STATUS, using 1 if that was 0.
37629 as_status=$1; test $as_status -eq 0 && as_status=1
37631 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
37632 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
37634 $as_echo "$as_me: error: $2" >&2
37635 as_fn_exit $as_status
37639 # as_fn_set_status STATUS
37640 # -----------------------
37641 # Set $? to STATUS, without forking.
37642 as_fn_set_status ()
37645 } # as_fn_set_status
37647 # as_fn_exit STATUS
37648 # -----------------
37649 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
37653 as_fn_set_status $1
37659 # Portably unset VAR.
37662 { eval $1=; unset $1;}
37664 as_unset=as_fn_unset
37665 # as_fn_append VAR VALUE
37666 # ----------------------
37667 # Append the text in VALUE to the end of the definition contained in VAR. Take
37668 # advantage of any shell optimizations that allow amortized linear growth over
37669 # repeated appends, instead of the typical quadratic growth present in naive
37671 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
37672 eval 'as_fn_append ()
37683 # as_fn_arith ARG...
37684 # ------------------
37685 # Perform arithmetic evaluation on the ARGs, and store the result in the
37686 # global $as_val. Take advantage of shells that can avoid forks. The arguments
37687 # must be portable across $(()) and expr.
37688 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
37689 eval 'as_fn_arith ()
37696 as_val=`expr "$@" || test $? -eq 1`
37701 if expr a : '\(a\)' >/dev/null 2>&1 &&
37702 test "X`expr 00001 : '.*\(...\)'`" = X001; then
37708 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
37709 as_basename=basename
37714 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
37720 as_me=`$as_basename -- "$0" ||
37721 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
37722 X"$0" : 'X\(//\)$' \| \
37723 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
37725 sed '/^.*\/\([^/][^/]*\)\/*$/{
37739 # Avoid depending upon Character Ranges.
37740 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37741 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37742 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37743 as_cr_digits='0123456789'
37744 as_cr_alnum=$as_cr_Letters$as_cr_digits
37746 ECHO_C= ECHO_N= ECHO_T=
37747 case `echo -n x` in #(((((
37749 case `echo 'xy\c'` in
37750 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
37752 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
37759 rm -f conf$$ conf$$.exe conf$$.file
37760 if test -d conf$$.dir; then
37761 rm -f conf$$.dir/conf$$.file
37764 mkdir conf$$.dir 2>/dev/null
37766 if (echo >conf$$.file) 2>/dev/null; then
37767 if ln -s conf$$.file conf$$ 2>/dev/null; then
37769 # ... but there are two gotchas:
37770 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
37771 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
37772 # In both cases, we have to default to `cp -p'.
37773 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
37775 elif ln conf$$.file conf$$ 2>/dev/null; then
37783 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
37784 rmdir conf$$.dir 2>/dev/null
37789 # Create "$as_dir" as a directory, including parents if necessary.
37794 -*) as_dir=./$as_dir;;
37796 test -d "$as_dir" || eval $as_mkdir_p || {
37800 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
37801 *) as_qdir=$as_dir;;
37803 as_dirs="'$as_qdir' $as_dirs"
37804 as_dir=`$as_dirname -- "$as_dir" ||
37805 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
37806 X"$as_dir" : 'X\(//\)[^/]' \| \
37807 X"$as_dir" : 'X\(//\)$' \| \
37808 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
37809 $as_echo X"$as_dir" |
37810 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
37814 /^X\(\/\/\)[^/].*/{
37827 test -d "$as_dir" && break
37829 test -z "$as_dirs" || eval "mkdir $as_dirs"
37830 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
37834 if mkdir -p . 2>/dev/null; then
37835 as_mkdir_p='mkdir -p "$as_dir"'
37837 test -d ./-p && rmdir ./-p
37841 if test -x / >/dev/null 2>&1; then
37842 as_test_x='test -x'
37844 if ls -dL / >/dev/null 2>&1; then
37851 if test -d "$1"; then
37857 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
37858 ???[sx]*):;;*)false;;esac;fi
37862 as_executable_p=$as_test_x
37864 # Sed expression to map a string onto a valid CPP name.
37865 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
37867 # Sed expression to map a string onto a valid variable name.
37868 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
37872 ## ----------------------------------- ##
37873 ## Main body of $CONFIG_STATUS script. ##
37874 ## ----------------------------------- ##
37876 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
37878 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
37879 # Save the log message, to keep $0 and so on meaningful, and to
37880 # report actual input values of CONFIG_FILES etc. instead of their
37881 # values after options handling.
37883 This file was extended by GStreamer Good Plug-ins $as_me 0.10.29, which was
37884 generated by GNU Autoconf 2.67. Invocation command line was
37886 CONFIG_FILES = $CONFIG_FILES
37887 CONFIG_HEADERS = $CONFIG_HEADERS
37888 CONFIG_LINKS = $CONFIG_LINKS
37889 CONFIG_COMMANDS = $CONFIG_COMMANDS
37892 on `(hostname || uname -n) 2>/dev/null | sed 1q`
37897 case $ac_config_files in *"
37898 "*) set x $ac_config_files; shift; ac_config_files=$*;;
37901 case $ac_config_headers in *"
37902 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
37906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
37907 # Files that config.status was made for.
37908 config_files="$ac_config_files"
37909 config_headers="$ac_config_headers"
37910 config_commands="$ac_config_commands"
37914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
37916 \`$as_me' instantiates files and other configuration actions
37917 from templates according to the current configuration. Unless the files
37918 and actions are specified as TAGs, all are instantiated by default.
37920 Usage: $0 [OPTION]... [TAG]...
37922 -h, --help print this help, then exit
37923 -V, --version print version number and configuration settings, then exit
37924 --config print configuration, then exit
37925 -q, --quiet, --silent
37926 do not print progress messages
37927 -d, --debug don't remove temporary files
37928 --recheck update $as_me by reconfiguring in the same conditions
37929 --file=FILE[:TEMPLATE]
37930 instantiate the configuration file FILE
37931 --header=FILE[:TEMPLATE]
37932 instantiate the configuration header FILE
37934 Configuration files:
37937 Configuration headers:
37940 Configuration commands:
37943 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
37946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
37947 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
37949 GStreamer Good Plug-ins config.status 0.10.29
37950 configured by $0, generated by GNU Autoconf 2.67,
37951 with options \\"\$ac_cs_config\\"
37953 Copyright (C) 2010 Free Software Foundation, Inc.
37954 This config.status script is free software; the Free Software Foundation
37955 gives unlimited permission to copy, distribute and modify it."
37962 test -n "\$AWK" || AWK=awk
37965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
37966 # The default lists apply if the user does not specify any file.
37972 ac_option=`expr "X$1" : 'X\([^=]*\)='`
37973 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
37977 ac_option=`expr "X$1" : 'X\([^=]*\)='`
37989 # Handling of the options.
37990 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
37992 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
37993 $as_echo "$ac_cs_version"; exit ;;
37994 --config | --confi | --conf | --con | --co | --c )
37995 $as_echo "$ac_cs_config"; exit ;;
37996 --debug | --debu | --deb | --de | --d | -d )
37998 --file | --fil | --fi | --f )
38001 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
38002 '') as_fn_error $? "missing file argument" ;;
38004 as_fn_append CONFIG_FILES " '$ac_optarg'"
38005 ac_need_defaults=false;;
38006 --header | --heade | --head | --hea )
38009 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
38011 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
38012 ac_need_defaults=false;;
38014 # Conflict between --help and --header
38015 as_fn_error $? "ambiguous option: \`$1'
38016 Try \`$0 --help' for more information.";;
38017 --help | --hel | -h )
38018 $as_echo "$ac_cs_usage"; exit ;;
38019 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
38020 | -silent | --silent | --silen | --sile | --sil | --si | --s)
38023 # This is an error.
38024 -*) as_fn_error $? "unrecognized option: \`$1'
38025 Try \`$0 --help' for more information." ;;
38027 *) as_fn_append ac_config_targets " $1"
38028 ac_need_defaults=false ;;
38034 ac_configure_extra_args=
38036 if $ac_cs_silent; then
38038 ac_configure_extra_args="$ac_configure_extra_args --silent"
38042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38043 if \$ac_cs_recheck; then
38044 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
38046 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
38047 CONFIG_SHELL='$SHELL'
38048 export CONFIG_SHELL
38053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38057 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
38058 ## Running $as_me. ##
38064 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38068 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
38071 # The HP-UX ksh and POSIX shell print the target directory to stdout
38072 # if CDPATH is set.
38073 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
38075 sed_quote_subst='$sed_quote_subst'
38076 double_quote_subst='$double_quote_subst'
38077 delay_variable_subst='$delay_variable_subst'
38078 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
38079 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
38080 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
38081 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
38082 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
38083 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
38084 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
38085 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
38086 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
38087 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
38088 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
38089 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
38090 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
38091 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
38092 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
38093 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
38094 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
38095 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
38096 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
38097 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
38098 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
38099 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
38100 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
38101 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
38102 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
38103 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
38104 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
38105 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
38106 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
38107 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
38108 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
38109 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
38110 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
38111 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
38112 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
38113 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
38114 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
38115 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
38116 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
38117 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
38118 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
38119 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
38120 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
38121 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
38122 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
38123 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
38124 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
38125 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
38126 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
38127 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
38128 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
38129 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
38130 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
38131 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
38132 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
38133 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
38134 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
38135 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
38136 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
38137 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
38138 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
38139 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
38140 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
38141 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
38142 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
38143 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
38144 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
38145 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
38146 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
38147 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
38148 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
38149 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
38150 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
38151 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
38152 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
38153 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
38154 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
38155 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
38156 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
38157 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
38158 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
38159 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
38160 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
38161 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
38162 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
38163 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
38164 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
38165 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
38166 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
38167 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
38168 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
38169 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
38170 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
38171 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
38172 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
38173 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
38174 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
38175 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
38176 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
38177 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
38178 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
38179 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
38180 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
38181 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
38182 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
38183 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
38184 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
38185 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
38186 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
38187 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
38188 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
38189 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
38190 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
38191 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
38192 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
38193 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
38194 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
38195 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
38196 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
38197 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
38198 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
38199 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
38200 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
38201 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
38202 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
38203 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
38204 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38205 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38206 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38207 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38208 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38209 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38210 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38211 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38212 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38213 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38214 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38215 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38216 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38217 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38218 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38219 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38220 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38221 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38222 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38223 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38224 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38225 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38226 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38227 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38228 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38229 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38230 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38231 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38232 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38233 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38234 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38235 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38236 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38237 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38238 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38239 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38240 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38241 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38242 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38243 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38244 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38245 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38246 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38247 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38248 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38249 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38250 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
38253 LTCFLAGS='$LTCFLAGS'
38254 compiler='$compiler_DEFAULT'
38256 # Quote evaled strings.
38267 deplibs_check_method \
38276 lt_cv_sys_global_symbol_pipe \
38277 lt_cv_sys_global_symbol_to_cdecl \
38278 lt_cv_sys_global_symbol_to_c_name_address \
38279 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
38282 lt_prog_compiler_no_builtin_flag \
38283 lt_prog_compiler_wl \
38284 lt_prog_compiler_pic \
38285 lt_prog_compiler_static \
38286 lt_cv_prog_compiler_c_o \
38294 export_dynamic_flag_spec \
38295 whole_archive_flag_spec \
38296 compiler_needs_object \
38298 allow_undefined_flag \
38299 no_undefined_flag \
38300 hardcode_libdir_flag_spec \
38301 hardcode_libdir_flag_spec_ld \
38302 hardcode_libdir_separator \
38307 variables_saved_for_relink \
38309 library_names_spec \
38314 compiler_lib_search_dirs \
38319 compiler_lib_search_path \
38322 lt_prog_compiler_no_builtin_flag_CXX \
38323 lt_prog_compiler_wl_CXX \
38324 lt_prog_compiler_pic_CXX \
38325 lt_prog_compiler_static_CXX \
38326 lt_cv_prog_compiler_c_o_CXX \
38327 export_dynamic_flag_spec_CXX \
38328 whole_archive_flag_spec_CXX \
38329 compiler_needs_object_CXX \
38331 allow_undefined_flag_CXX \
38332 no_undefined_flag_CXX \
38333 hardcode_libdir_flag_spec_CXX \
38334 hardcode_libdir_flag_spec_ld_CXX \
38335 hardcode_libdir_separator_CXX \
38336 fix_srcfile_path_CXX \
38337 exclude_expsyms_CXX \
38338 include_expsyms_CXX \
38339 file_list_spec_CXX \
38340 compiler_lib_search_dirs_CXX \
38341 predep_objects_CXX \
38342 postdep_objects_CXX \
38345 compiler_lib_search_path_CXX; do
38346 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
38347 *[\\\\\\\`\\"\\\$]*)
38348 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
38351 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
38356 # Double-quote double-evaled strings.
38357 for var in reload_cmds \
38358 old_postinstall_cmds \
38359 old_postuninstall_cmds \
38361 extract_expsyms_cmds \
38362 old_archive_from_new_cmds \
38363 old_archive_from_expsyms_cmds \
38365 archive_expsym_cmds \
38367 module_expsym_cmds \
38368 export_symbols_cmds \
38371 postuninstall_cmds \
38373 sys_lib_search_path_spec \
38374 sys_lib_dlsearch_path_spec \
38375 old_archive_cmds_CXX \
38376 old_archive_from_new_cmds_CXX \
38377 old_archive_from_expsyms_cmds_CXX \
38379 archive_expsym_cmds_CXX \
38381 module_expsym_cmds_CXX \
38382 export_symbols_cmds_CXX \
38383 prelink_cmds_CXX; do
38384 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
38385 *[\\\\\\\`\\"\\\$]*)
38386 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
38389 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
38394 # Fix-up fallback echo if it was mangled by the above quoting rules.
38396 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
38400 ac_aux_dir='$ac_aux_dir'
38401 xsi_shell='$xsi_shell'
38402 lt_shell_append='$lt_shell_append'
38404 # See if we are running on zsh, and set the options which allow our
38405 # commands through without removal of \ escapes INIT.
38406 if test -n "\${ZSH_VERSION+set}" ; then
38407 setopt NO_GLOB_SUBST
38413 TIMESTAMP='$TIMESTAMP'
38421 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
38422 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
38423 # from automake < 1.5.
38424 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
38425 # Capture the value of LINGUAS because we need it to compute CATALOGS.
38426 LINGUAS="${LINGUAS-%UNSET%}"
38428 # variables for create stdint.h replacement
38431 ac_stdint_h="$ac_stdint_h"
38432 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
38433 ac_cv_stdint_message="$ac_cv_stdint_message"
38434 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
38435 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
38436 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
38437 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
38438 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
38439 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
38440 ac_cv_char_data_model="$ac_cv_char_data_model"
38441 ac_cv_long_data_model="$ac_cv_long_data_model"
38442 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
38443 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
38444 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
38449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38451 # Handling of arguments.
38452 for ac_config_target in $ac_config_targets
38454 case $ac_config_target in
38455 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
38456 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
38457 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
38458 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
38459 "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
38460 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
38461 "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
38462 "gst/alpha/Makefile") CONFIG_FILES="$CONFIG_FILES gst/alpha/Makefile" ;;
38463 "gst/apetag/Makefile") CONFIG_FILES="$CONFIG_FILES gst/apetag/Makefile" ;;
38464 "gst/audiofx/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audiofx/Makefile" ;;
38465 "gst/audioparsers/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audioparsers/Makefile" ;;
38466 "gst/auparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/auparse/Makefile" ;;
38467 "gst/autodetect/Makefile") CONFIG_FILES="$CONFIG_FILES gst/autodetect/Makefile" ;;
38468 "gst/avi/Makefile") CONFIG_FILES="$CONFIG_FILES gst/avi/Makefile" ;;
38469 "gst/cutter/Makefile") CONFIG_FILES="$CONFIG_FILES gst/cutter/Makefile" ;;
38470 "gst/deinterlace/Makefile") CONFIG_FILES="$CONFIG_FILES gst/deinterlace/Makefile" ;;
38471 "gst/debugutils/Makefile") CONFIG_FILES="$CONFIG_FILES gst/debugutils/Makefile" ;;
38472 "gst/effectv/Makefile") CONFIG_FILES="$CONFIG_FILES gst/effectv/Makefile" ;;
38473 "gst/equalizer/Makefile") CONFIG_FILES="$CONFIG_FILES gst/equalizer/Makefile" ;;
38474 "gst/flv/Makefile") CONFIG_FILES="$CONFIG_FILES gst/flv/Makefile" ;;
38475 "gst/goom/Makefile") CONFIG_FILES="$CONFIG_FILES gst/goom/Makefile" ;;
38476 "gst/goom2k1/Makefile") CONFIG_FILES="$CONFIG_FILES gst/goom2k1/Makefile" ;;
38477 "gst/id3demux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/id3demux/Makefile" ;;
38478 "gst/icydemux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/icydemux/Makefile" ;;
38479 "gst/imagefreeze/Makefile") CONFIG_FILES="$CONFIG_FILES gst/imagefreeze/Makefile" ;;
38480 "gst/interleave/Makefile") CONFIG_FILES="$CONFIG_FILES gst/interleave/Makefile" ;;
38481 "gst/isomp4/Makefile") CONFIG_FILES="$CONFIG_FILES gst/isomp4/Makefile" ;;
38482 "gst/law/Makefile") CONFIG_FILES="$CONFIG_FILES gst/law/Makefile" ;;
38483 "gst/level/Makefile") CONFIG_FILES="$CONFIG_FILES gst/level/Makefile" ;;
38484 "gst/matroska/Makefile") CONFIG_FILES="$CONFIG_FILES gst/matroska/Makefile" ;;
38485 "gst/monoscope/Makefile") CONFIG_FILES="$CONFIG_FILES gst/monoscope/Makefile" ;;
38486 "gst/multifile/Makefile") CONFIG_FILES="$CONFIG_FILES gst/multifile/Makefile" ;;
38487 "gst/multipart/Makefile") CONFIG_FILES="$CONFIG_FILES gst/multipart/Makefile" ;;
38488 "gst/replaygain/Makefile") CONFIG_FILES="$CONFIG_FILES gst/replaygain/Makefile" ;;
38489 "gst/rtp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rtp/Makefile" ;;
38490 "gst/rtpmanager/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rtpmanager/Makefile" ;;
38491 "gst/rtsp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/rtsp/Makefile" ;;
38492 "gst/shapewipe/Makefile") CONFIG_FILES="$CONFIG_FILES gst/shapewipe/Makefile" ;;
38493 "gst/smpte/Makefile") CONFIG_FILES="$CONFIG_FILES gst/smpte/Makefile" ;;
38494 "gst/spectrum/Makefile") CONFIG_FILES="$CONFIG_FILES gst/spectrum/Makefile" ;;
38495 "gst/udp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/udp/Makefile" ;;
38496 "gst/videobox/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videobox/Makefile" ;;
38497 "gst/videocrop/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videocrop/Makefile" ;;
38498 "gst/videofilter/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videofilter/Makefile" ;;
38499 "gst/videomixer/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videomixer/Makefile" ;;
38500 "gst/wavenc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/wavenc/Makefile" ;;
38501 "gst/wavparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/wavparse/Makefile" ;;
38502 "gst/flx/Makefile") CONFIG_FILES="$CONFIG_FILES gst/flx/Makefile" ;;
38503 "gst/y4m/Makefile") CONFIG_FILES="$CONFIG_FILES gst/y4m/Makefile" ;;
38504 "ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
38505 "ext/aalib/Makefile") CONFIG_FILES="$CONFIG_FILES ext/aalib/Makefile" ;;
38506 "ext/annodex/Makefile") CONFIG_FILES="$CONFIG_FILES ext/annodex/Makefile" ;;
38507 "ext/cairo/Makefile") CONFIG_FILES="$CONFIG_FILES ext/cairo/Makefile" ;;
38508 "ext/dv/Makefile") CONFIG_FILES="$CONFIG_FILES ext/dv/Makefile" ;;
38509 "ext/esd/Makefile") CONFIG_FILES="$CONFIG_FILES ext/esd/Makefile" ;;
38510 "ext/flac/Makefile") CONFIG_FILES="$CONFIG_FILES ext/flac/Makefile" ;;
38511 "ext/gconf/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gconf/Makefile" ;;
38512 "ext/gdk_pixbuf/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gdk_pixbuf/Makefile" ;;
38513 "ext/hal/Makefile") CONFIG_FILES="$CONFIG_FILES ext/hal/Makefile" ;;
38514 "ext/jack/Makefile") CONFIG_FILES="$CONFIG_FILES ext/jack/Makefile" ;;
38515 "ext/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES ext/jpeg/Makefile" ;;
38516 "ext/libcaca/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libcaca/Makefile" ;;
38517 "ext/libpng/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libpng/Makefile" ;;
38518 "ext/pulse/Makefile") CONFIG_FILES="$CONFIG_FILES ext/pulse/Makefile" ;;
38519 "ext/raw1394/Makefile") CONFIG_FILES="$CONFIG_FILES ext/raw1394/Makefile" ;;
38520 "ext/shout2/Makefile") CONFIG_FILES="$CONFIG_FILES ext/shout2/Makefile" ;;
38521 "ext/soup/Makefile") CONFIG_FILES="$CONFIG_FILES ext/soup/Makefile" ;;
38522 "ext/speex/Makefile") CONFIG_FILES="$CONFIG_FILES ext/speex/Makefile" ;;
38523 "ext/taglib/Makefile") CONFIG_FILES="$CONFIG_FILES ext/taglib/Makefile" ;;
38524 "ext/wavpack/Makefile") CONFIG_FILES="$CONFIG_FILES ext/wavpack/Makefile" ;;
38525 "sys/Makefile") CONFIG_FILES="$CONFIG_FILES sys/Makefile" ;;
38526 "sys/directsound/Makefile") CONFIG_FILES="$CONFIG_FILES sys/directsound/Makefile" ;;
38527 "sys/oss/Makefile") CONFIG_FILES="$CONFIG_FILES sys/oss/Makefile" ;;
38528 "sys/oss4/Makefile") CONFIG_FILES="$CONFIG_FILES sys/oss4/Makefile" ;;
38529 "sys/osxaudio/Makefile") CONFIG_FILES="$CONFIG_FILES sys/osxaudio/Makefile" ;;
38530 "sys/osxvideo/Makefile") CONFIG_FILES="$CONFIG_FILES sys/osxvideo/Makefile" ;;
38531 "sys/sunaudio/Makefile") CONFIG_FILES="$CONFIG_FILES sys/sunaudio/Makefile" ;;
38532 "sys/v4l2/Makefile") CONFIG_FILES="$CONFIG_FILES sys/v4l2/Makefile" ;;
38533 "sys/waveform/Makefile") CONFIG_FILES="$CONFIG_FILES sys/waveform/Makefile" ;;
38534 "sys/ximage/Makefile") CONFIG_FILES="$CONFIG_FILES sys/ximage/Makefile" ;;
38535 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
38536 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
38537 "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
38538 "tests/examples/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/Makefile" ;;
38539 "tests/examples/audiofx/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/audiofx/Makefile" ;;
38540 "tests/examples/cairo/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/cairo/Makefile" ;;
38541 "tests/examples/equalizer/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/equalizer/Makefile" ;;
38542 "tests/examples/jack/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/jack/Makefile" ;;
38543 "tests/examples/level/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/level/Makefile" ;;
38544 "tests/examples/pulse/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/pulse/Makefile" ;;
38545 "tests/examples/rtp/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/rtp/Makefile" ;;
38546 "tests/examples/shapewipe/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/shapewipe/Makefile" ;;
38547 "tests/examples/spectrum/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/spectrum/Makefile" ;;
38548 "tests/examples/v4l2/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/v4l2/Makefile" ;;
38549 "tests/files/Makefile") CONFIG_FILES="$CONFIG_FILES tests/files/Makefile" ;;
38550 "tests/icles/Makefile") CONFIG_FILES="$CONFIG_FILES tests/icles/Makefile" ;;
38551 "gconf/Makefile") CONFIG_FILES="$CONFIG_FILES gconf/Makefile" ;;
38552 "gconf/gstreamer.schemas") CONFIG_FILES="$CONFIG_FILES gconf/gstreamer.schemas" ;;
38553 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
38554 "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
38555 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
38556 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
38557 "docs/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES docs/plugins/Makefile" ;;
38558 "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
38559 "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
38560 "pkgconfig/gstreamer-plugins-good-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-plugins-good-uninstalled.pc" ;;
38561 "gst-plugins-good.spec") CONFIG_FILES="$CONFIG_FILES gst-plugins-good.spec" ;;
38563 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
38568 # If the user did not use the arguments to specify the items to instantiate,
38569 # then the envvar interface is used. Set only those that are not.
38570 # We use the long form for the default assignment because of an extremely
38571 # bizarre bug on SunOS 4.1.3.
38572 if $ac_need_defaults; then
38573 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
38574 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
38575 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
38578 # Have a temporary directory for convenience. Make it in the build tree
38579 # simply because there is no reason against having it here, and in addition,
38580 # creating and moving files from /tmp can sometimes cause problems.
38581 # Hook for its removal unless debugging.
38582 # Note that there is a small window in which the directory will not be cleaned:
38583 # after its creation but before its name has been assigned to `$tmp'.
38587 trap 'exit_status=$?
38588 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
38590 trap 'as_fn_exit 1' 1 2 13 15
38592 # Create a (secure) tmp directory for tmp files.
38595 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
38596 test -n "$tmp" && test -d "$tmp"
38599 tmp=./conf$$-$RANDOM
38600 (umask 077 && mkdir "$tmp")
38601 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
38603 # Set up the scripts for CONFIG_FILES section.
38604 # No need to generate them if there are no CONFIG_FILES.
38605 # This happens for instance with `./config.status config.h'.
38606 if test -n "$CONFIG_FILES"; then
38609 ac_cr=`echo X | tr X '\015'`
38610 # On cygwin, bash can eat \r inside `` if the user requested igncr.
38611 # But we know of no other shell where ac_cr would be empty at this
38612 # point, so we can use a bashism as a fallback.
38613 if test "x$ac_cr" = x; then
38614 eval ac_cr=\$\'\\r\'
38616 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
38617 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
38620 ac_cs_awk_cr=$ac_cr
38623 echo 'BEGIN {' >"$tmp/subs1.awk" &&
38628 echo "cat >conf$$subs.awk <<_ACEOF" &&
38629 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
38631 } >conf$$subs.sh ||
38632 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
38633 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
38635 for ac_last_try in false false false false false :; do
38636 . ./conf$$subs.sh ||
38637 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
38639 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
38640 if test $ac_delim_n = $ac_delim_num; then
38642 elif $ac_last_try; then
38643 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
38645 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
38648 rm -f conf$$subs.sh
38650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38651 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
38655 s/^/S["/; s/!.*/"]=/
38665 s/\(.\{148\}\)..*/\1/
38667 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
38672 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
38679 s/\(.\{148\}\)..*/\1/
38681 s/["\\]/\\&/g; s/^/"/; s/$/"/
38685 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
38690 ' <conf$$subs.awk | sed '
38695 ' >>$CONFIG_STATUS || ac_write_fail=1
38696 rm -f conf$$subs.awk
38697 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38699 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
38700 for (key in S) S_is_set[key] = 1
38706 nfields = split(line, field, "@")
38708 len = length(field[1])
38709 for (i = 2; i < nfields; i++) {
38711 keylen = length(key)
38712 if (S_is_set[key]) {
38714 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
38715 len += length(value) + length(field[++i])
38726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38727 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
38728 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
38731 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
38732 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
38735 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
38736 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
38737 # trailing colons and then remove the whole line if VPATH becomes empty
38738 # (actually we leave an empty line to preserve line numbers).
38739 if test "x$srcdir" = x.; then
38740 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
38758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38759 fi # test -n "$CONFIG_FILES"
38761 # Set up the scripts for CONFIG_HEADERS section.
38762 # No need to generate them if there are no CONFIG_HEADERS.
38763 # This happens for instance with `./config.status Makefile'.
38764 if test -n "$CONFIG_HEADERS"; then
38765 cat >"$tmp/defines.awk" <<\_ACAWK ||
38769 # Transform confdefs.h into an awk script `defines.awk', embedded as
38770 # here-document in config.status, that substitutes the proper values into
38771 # config.h.in to produce config.h.
38773 # Create a delimiter string that does not exist in confdefs.h, to ease
38774 # handling of long lines.
38776 for ac_last_try in false false :; do
38777 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
38778 if test -z "$ac_t"; then
38780 elif $ac_last_try; then
38781 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
38783 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
38787 # For the awk script, D is an array of macro values keyed by name,
38788 # likewise P contains macro parameters if any. Preserve backslash
38789 # newline sequences.
38791 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
38793 s/.\{148\}/&'"$ac_delim"'/g
38796 s/^[ ]*#[ ]*define[ ][ ]*/ /
38803 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
38805 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
38809 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
38810 D["\1"]=" \3\\\\\\n"\\/p
38812 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
38817 s/.\{148\}/&'"$ac_delim"'/g
38822 s/["\\]/\\&/g; s/^/"/; s/$/"/p
38825 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
38827 ' <confdefs.h | sed '
38828 s/'"$ac_delim"'/"\\\
38829 "/g' >>$CONFIG_STATUS || ac_write_fail=1
38831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
38832 for (key in D) D_is_set[key] = 1
38835 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
38837 split(line, arg, " ")
38838 if (arg[1] == "#") {
38842 defundef = substr(arg[1], 2)
38845 split(mac1, mac2, "(") #)
38847 prefix = substr(line, 1, index(line, defundef) - 1)
38848 if (D_is_set[macro]) {
38849 # Preserve the white space surrounding the "#".
38850 print prefix "define", macro P[macro] D[macro]
38853 # Replace #undef with comments. This is necessary, for example,
38854 # in the case of _POSIX_SOURCE, which is predefined and required
38855 # on some systems where configure will not decide to define it.
38856 if (defundef == "undef") {
38857 print "/*", prefix defundef, macro, "*/"
38865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
38866 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
38867 fi # test -n "$CONFIG_HEADERS"
38870 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
38875 :[FHLC]) ac_mode=$ac_tag; continue;;
38877 case $ac_mode$ac_tag in
38879 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
38880 :[FH]-) ac_tag=-:-;;
38881 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
38898 -) ac_f="$tmp/stdin";;
38899 *) # Look for the file first in the build tree, then in the source tree
38900 # (if the path is not absolute). The absolute path cannot be DOS-style,
38901 # because $ac_f cannot contain `:'.
38905 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
38907 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
38909 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
38910 as_fn_append ac_file_inputs " '$ac_f'"
38913 # Let's still pretend it is `configure' which instantiates (i.e., don't
38914 # use $as_me), people would be surprised to read:
38915 # /* config.h. Generated by config.status. */
38916 configure_input='Generated from '`
38917 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
38919 if test x"$ac_file" != x-; then
38920 configure_input="$ac_file. $configure_input"
38921 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
38922 $as_echo "$as_me: creating $ac_file" >&6;}
38924 # Neutralize special characters interpreted by sed in replacement strings.
38925 case $configure_input in #(
38926 *\&* | *\|* | *\\* )
38927 ac_sed_conf_input=`$as_echo "$configure_input" |
38928 sed 's/[\\\\&|]/\\\\&/g'`;; #(
38929 *) ac_sed_conf_input=$configure_input;;
38933 *:-:* | *:-) cat >"$tmp/stdin" \
38934 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
38939 ac_dir=`$as_dirname -- "$ac_file" ||
38940 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
38941 X"$ac_file" : 'X\(//\)[^/]' \| \
38942 X"$ac_file" : 'X\(//\)$' \| \
38943 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
38944 $as_echo X"$ac_file" |
38945 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
38949 /^X\(\/\/\)[^/].*/{
38962 as_dir="$ac_dir"; as_fn_mkdir_p
38966 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
38968 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
38969 # A ".." for each directory in $ac_dir_suffix.
38970 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
38971 case $ac_top_builddir_sub in
38972 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
38973 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
38976 ac_abs_top_builddir=$ac_pwd
38977 ac_abs_builddir=$ac_pwd$ac_dir_suffix
38978 # for backward compatibility:
38979 ac_top_builddir=$ac_top_build_prefix
38982 .) # We are building in place.
38984 ac_top_srcdir=$ac_top_builddir_sub
38985 ac_abs_top_srcdir=$ac_pwd ;;
38986 [\\/]* | ?:[\\/]* ) # Absolute name.
38987 ac_srcdir=$srcdir$ac_dir_suffix;
38988 ac_top_srcdir=$srcdir
38989 ac_abs_top_srcdir=$srcdir ;;
38990 *) # Relative name.
38991 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
38992 ac_top_srcdir=$ac_top_build_prefix$srcdir
38993 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
38995 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
39005 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
39006 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
39008 ac_MKDIR_P=$MKDIR_P
39010 [\\/$]* | ?:[\\/]* ) ;;
39011 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
39015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
39016 # If the template does not know about datarootdir, expand it.
39017 # FIXME: This hack should be removed a few years after 2.60.
39018 ac_datarootdir_hack=; ac_datarootdir_seen=
39029 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
39030 *datarootdir*) ac_datarootdir_seen=yes;;
39031 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
39032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
39033 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
39035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
39036 ac_datarootdir_hack='
39037 s&@datadir@&$datadir&g
39038 s&@docdir@&$docdir&g
39039 s&@infodir@&$infodir&g
39040 s&@localedir@&$localedir&g
39041 s&@mandir@&$mandir&g
39042 s&\\\${datarootdir}&$datarootdir&g' ;;
39046 # Neutralize VPATH when `$srcdir' = `.'.
39047 # Shell code in configure.ac might set extrasub.
39048 # FIXME: do we really want to maintain this feature?
39049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
39050 ac_sed_extra="$ac_vpsub
39053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
39055 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
39056 s|@configure_input@|$ac_sed_conf_input|;t t
39057 s&@top_builddir@&$ac_top_builddir_sub&;t t
39058 s&@top_build_prefix@&$ac_top_build_prefix&;t t
39059 s&@srcdir@&$ac_srcdir&;t t
39060 s&@abs_srcdir@&$ac_abs_srcdir&;t t
39061 s&@top_srcdir@&$ac_top_srcdir&;t t
39062 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
39063 s&@builddir@&$ac_builddir&;t t
39064 s&@abs_builddir@&$ac_abs_builddir&;t t
39065 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
39066 s&@INSTALL@&$ac_INSTALL&;t t
39067 s&@MKDIR_P@&$ac_MKDIR_P&;t t
39068 $ac_datarootdir_hack
39070 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
39071 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
39073 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
39074 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
39075 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
39076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
39077 which seems to be undefined. Please make sure it is defined" >&5
39078 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
39079 which seems to be undefined. Please make sure it is defined" >&2;}
39083 -) cat "$tmp/out" && rm -f "$tmp/out";;
39084 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
39086 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
39092 if test x"$ac_file" != x-; then
39094 $as_echo "/* $configure_input */" \
39095 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
39096 } >"$tmp/config.h" \
39097 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
39098 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
39099 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
39100 $as_echo "$as_me: $ac_file is unchanged" >&6;}
39103 mv "$tmp/config.h" "$ac_file" \
39104 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
39107 $as_echo "/* $configure_input */" \
39108 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
39109 || as_fn_error $? "could not create -" "$LINENO" 5
39111 # Compute "$ac_file"'s index in $config_headers.
39114 for _am_header in $config_headers :; do
39115 case $_am_header in
39116 $_am_arg | $_am_arg:* )
39119 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
39122 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
39123 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39124 X"$_am_arg" : 'X\(//\)[^/]' \| \
39125 X"$_am_arg" : 'X\(//\)$' \| \
39126 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
39127 $as_echo X"$_am_arg" |
39128 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39132 /^X\(\/\/\)[^/].*/{
39144 s/.*/./; q'`/stamp-h$_am_stamp_count
39147 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
39148 $as_echo "$as_me: executing $ac_file commands" >&6;}
39153 case $ac_file$ac_mode in
39154 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
39155 # Autoconf 2.62 quotes --file arguments for eval, but not when files
39156 # are listed without --file. Let's play safe and only enable the eval
39157 # if we detect the quoting.
39158 case $CONFIG_FILES in
39159 *\'*) eval set x "$CONFIG_FILES" ;;
39160 *) set x $CONFIG_FILES ;;
39165 # Strip MF so we end up with the name of the file.
39166 mf=`echo "$mf" | sed -e 's/:.*$//'`
39167 # Check whether this is an Automake generated Makefile or not.
39168 # We used to match only the files named `Makefile.in', but
39169 # some people rename them; so instead we look at the file content.
39170 # Grep'ing the first line is not enough: some people post-process
39171 # each Makefile.in and add a new line on top of each file to say so.
39172 # Grep'ing the whole file is not good either: AIX grep has a line
39173 # limit of 2048, but all sed's we know have understand at least 4000.
39174 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
39175 dirpart=`$as_dirname -- "$mf" ||
39176 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39177 X"$mf" : 'X\(//\)[^/]' \| \
39178 X"$mf" : 'X\(//\)$' \| \
39179 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
39181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39185 /^X\(\/\/\)[^/].*/{
39201 # Extract the definition of DEPDIR, am__include, and am__quote
39202 # from the Makefile without running `make'.
39203 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
39204 test -z "$DEPDIR" && continue
39205 am__include=`sed -n 's/^am__include = //p' < "$mf"`
39206 test -z "am__include" && continue
39207 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
39208 # When using ansi2knr, U may be empty or an underscore; expand it
39209 U=`sed -n 's/^U = //p' < "$mf"`
39210 # Find all dependency output files, they are included files with
39211 # $(DEPDIR) in their names. We invoke sed twice because it is the
39212 # simplest approach to changing $(DEPDIR) to its actual value in the
39214 for file in `sed -n "
39215 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
39216 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
39217 # Make sure the directory exists.
39218 test -f "$dirpart/$file" && continue
39219 fdir=`$as_dirname -- "$file" ||
39220 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
39221 X"$file" : 'X\(//\)[^/]' \| \
39222 X"$file" : 'X\(//\)$' \| \
39223 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
39224 $as_echo X"$file" |
39225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
39229 /^X\(\/\/\)[^/].*/{
39242 as_dir=$dirpart/$fdir; as_fn_mkdir_p
39243 # echo "creating $dirpart/$file"
39244 echo '# dummy' > "$dirpart/$file"
39251 # See if we are running on zsh, and set the options which allow our
39252 # commands through without removal of \ escapes.
39253 if test -n "${ZSH_VERSION+set}" ; then
39254 setopt NO_GLOB_SUBST
39257 cfgfile="${ofile}T"
39258 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
39261 cat <<_LT_EOF >> "$cfgfile"
39264 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
39265 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
39266 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
39267 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
39269 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
39270 # 2006, 2007, 2008 Free Software Foundation, Inc.
39271 # Written by Gordon Matzigkeit, 1996
39273 # This file is part of GNU Libtool.
39275 # GNU Libtool is free software; you can redistribute it and/or
39276 # modify it under the terms of the GNU General Public License as
39277 # published by the Free Software Foundation; either version 2 of
39278 # the License, or (at your option) any later version.
39280 # As a special exception to the GNU General Public License,
39281 # if you distribute this file as part of a program or library that
39282 # is built using GNU Libtool, you may include this file under the
39283 # same distribution terms that you use for the rest of that program.
39285 # GNU Libtool is distributed in the hope that it will be useful,
39286 # but WITHOUT ANY WARRANTY; without even the implied warranty of
39287 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
39288 # GNU General Public License for more details.
39290 # You should have received a copy of the GNU General Public License
39291 # along with GNU Libtool; see the file COPYING. If not, a copy
39292 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
39293 # obtained by writing to the Free Software Foundation, Inc.,
39294 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
39297 # The names of the tagged configurations supported by this script.
39298 available_tags="CXX "
39300 # ### BEGIN LIBTOOL CONFIG
39302 # Assembler program.
39305 # DLL creation program.
39308 # Object dumper program.
39311 # Which release of libtool.m4 was used?
39312 macro_version=$macro_version
39313 macro_revision=$macro_revision
39315 # Whether or not to build shared libraries.
39316 build_libtool_libs=$enable_shared
39318 # Whether or not to build static libraries.
39319 build_old_libs=$enable_static
39321 # What type of objects to build.
39324 # Whether or not to optimize for fast installation.
39325 fast_install=$enable_fast_install
39328 host_alias=$host_alias
39332 # The build system.
39333 build_alias=$build_alias
39337 # A sed program that does not truncate output.
39340 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
39341 Xsed="\$SED -e 1s/^X//"
39343 # A grep program that handles long lines.
39349 # A literal string matcher.
39352 # A BSD- or MS-compatible name lister.
39355 # Whether we need soft or hard links.
39358 # What is the maximum length of a command?
39359 max_cmd_len=$max_cmd_len
39361 # Object file suffix (normally "o").
39364 # Executable file suffix (normally "").
39367 # whether the shell understands "unset".
39370 # turn spaces into newlines.
39373 # turn newlines into spaces.
39376 # How to create reloadable object files.
39377 reload_flag=$lt_reload_flag
39378 reload_cmds=$lt_reload_cmds
39380 # Method to check whether dependent libraries are shared objects.
39381 deplibs_check_method=$lt_deplibs_check_method
39383 # Command to use when deplibs_check_method == "file_magic".
39384 file_magic_cmd=$lt_file_magic_cmd
39388 AR_FLAGS=$lt_AR_FLAGS
39390 # A symbol stripping program.
39393 # Commands used to install an old-style archive.
39395 old_postinstall_cmds=$lt_old_postinstall_cmds
39396 old_postuninstall_cmds=$lt_old_postuninstall_cmds
39401 # LTCC compiler flags.
39402 LTCFLAGS=$lt_CFLAGS
39404 # Take the output of nm and produce a listing of raw symbols and C names.
39405 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
39407 # Transform the output of nm in a proper C declaration.
39408 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
39410 # Transform the output of nm in a C name address pair.
39411 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
39413 # Transform the output of nm in a C name address pair when lib prefix is needed.
39414 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
39416 # The name of the directory that contains temporary libtool files.
39419 # Shell to use when invoking shell scripts.
39422 # An echo program that does not interpret backslashes.
39425 # Used to examine libraries when file_magic_cmd begins with "file".
39426 MAGIC_CMD=$MAGIC_CMD
39428 # Must we lock files when doing compilation?
39429 need_locks=$lt_need_locks
39431 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
39432 DSYMUTIL=$lt_DSYMUTIL
39434 # Tool to change global to local symbols on Mac OS X.
39437 # Tool to manipulate fat objects and archives on Mac OS X.
39440 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
39443 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
39444 OTOOL64=$lt_OTOOL64
39446 # Old archive suffix (normally "a").
39449 # Shared library suffix (normally ".so").
39450 shrext_cmds=$lt_shrext_cmds
39452 # The commands to extract the exported symbol list from a shared archive.
39453 extract_expsyms_cmds=$lt_extract_expsyms_cmds
39455 # Variables whose values should be saved in libtool wrapper scripts and
39456 # restored at link time.
39457 variables_saved_for_relink=$lt_variables_saved_for_relink
39459 # Do we need the "lib" prefix for modules?
39460 need_lib_prefix=$need_lib_prefix
39462 # Do we need a version for libraries?
39463 need_version=$need_version
39465 # Library versioning type.
39466 version_type=$version_type
39468 # Shared library runtime path variable.
39469 runpath_var=$runpath_var
39471 # Shared library path variable.
39472 shlibpath_var=$shlibpath_var
39474 # Is shlibpath searched before the hard-coded library search path?
39475 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
39477 # Format of library name prefix.
39478 libname_spec=$lt_libname_spec
39480 # List of archive names. First name is the real one, the rest are links.
39481 # The last name is the one that the linker finds with -lNAME
39482 library_names_spec=$lt_library_names_spec
39484 # The coded name of the library, if different from the real name.
39485 soname_spec=$lt_soname_spec
39487 # Command to use after installation of a shared archive.
39488 postinstall_cmds=$lt_postinstall_cmds
39490 # Command to use after uninstallation of a shared archive.
39491 postuninstall_cmds=$lt_postuninstall_cmds
39493 # Commands used to finish a libtool library installation in a directory.
39494 finish_cmds=$lt_finish_cmds
39496 # As "finish_cmds", except a single script fragment to be evaled but
39498 finish_eval=$lt_finish_eval
39500 # Whether we should hardcode library paths into libraries.
39501 hardcode_into_libs=$hardcode_into_libs
39503 # Compile-time system search path for libraries.
39504 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
39506 # Run-time system search path for libraries.
39507 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
39509 # Whether dlopen is supported.
39510 dlopen_support=$enable_dlopen
39512 # Whether dlopen of programs is supported.
39513 dlopen_self=$enable_dlopen_self
39515 # Whether dlopen of statically linked programs is supported.
39516 dlopen_self_static=$enable_dlopen_self_static
39518 # Commands to strip libraries.
39519 old_striplib=$lt_old_striplib
39520 striplib=$lt_striplib
39523 # The linker used to build libraries.
39526 # Commands used to build an old-style archive.
39527 old_archive_cmds=$lt_old_archive_cmds
39529 # A language specific compiler.
39532 # Is the compiler the GNU compiler?
39535 # Compiler flag to turn off builtin functions.
39536 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
39538 # How to pass a linker flag through the compiler.
39539 wl=$lt_lt_prog_compiler_wl
39541 # Additional compiler flags for building library objects.
39542 pic_flag=$lt_lt_prog_compiler_pic
39544 # Compiler flag to prevent dynamic linking.
39545 link_static_flag=$lt_lt_prog_compiler_static
39547 # Does compiler simultaneously support -c and -o options?
39548 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
39550 # Whether or not to add -lc for building shared libraries.
39551 build_libtool_need_lc=$archive_cmds_need_lc
39553 # Whether or not to disallow shared libs when runtime libs are static.
39554 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
39556 # Compiler flag to allow reflexive dlopens.
39557 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
39559 # Compiler flag to generate shared objects directly from archives.
39560 whole_archive_flag_spec=$lt_whole_archive_flag_spec
39562 # Whether the compiler copes with passing no objects directly.
39563 compiler_needs_object=$lt_compiler_needs_object
39565 # Create an old-style archive from a shared archive.
39566 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
39568 # Create a temporary old-style archive to link instead of a shared archive.
39569 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
39571 # Commands used to build a shared archive.
39572 archive_cmds=$lt_archive_cmds
39573 archive_expsym_cmds=$lt_archive_expsym_cmds
39575 # Commands used to build a loadable module if different from building
39576 # a shared archive.
39577 module_cmds=$lt_module_cmds
39578 module_expsym_cmds=$lt_module_expsym_cmds
39580 # Whether we are building with GNU ld or not.
39581 with_gnu_ld=$lt_with_gnu_ld
39583 # Flag that allows shared libraries with undefined symbols to be built.
39584 allow_undefined_flag=$lt_allow_undefined_flag
39586 # Flag that enforces no undefined symbols.
39587 no_undefined_flag=$lt_no_undefined_flag
39589 # Flag to hardcode \$libdir into a binary during linking.
39590 # This must work even if \$libdir does not exist
39591 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
39593 # If ld is used when linking, flag to hardcode \$libdir into a binary
39594 # during linking. This must work even if \$libdir does not exist.
39595 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
39597 # Whether we need a single "-rpath" flag with a separated argument.
39598 hardcode_libdir_separator=$lt_hardcode_libdir_separator
39600 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
39601 # DIR into the resulting binary.
39602 hardcode_direct=$hardcode_direct
39604 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
39605 # DIR into the resulting binary and the resulting library dependency is
39606 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
39607 # library is relocated.
39608 hardcode_direct_absolute=$hardcode_direct_absolute
39610 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
39611 # into the resulting binary.
39612 hardcode_minus_L=$hardcode_minus_L
39614 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
39615 # into the resulting binary.
39616 hardcode_shlibpath_var=$hardcode_shlibpath_var
39618 # Set to "yes" if building a shared library automatically hardcodes DIR
39619 # into the library and all subsequent libraries and executables linked
39621 hardcode_automatic=$hardcode_automatic
39623 # Set to yes if linker adds runtime paths of dependent libraries
39624 # to runtime path list.
39625 inherit_rpath=$inherit_rpath
39627 # Whether libtool must link a program against all its dependency libraries.
39628 link_all_deplibs=$link_all_deplibs
39630 # Fix the shell variable \$srcfile for the compiler.
39631 fix_srcfile_path=$lt_fix_srcfile_path
39633 # Set to "yes" if exported symbols are required.
39634 always_export_symbols=$always_export_symbols
39636 # The commands to list exported symbols.
39637 export_symbols_cmds=$lt_export_symbols_cmds
39639 # Symbols that should not be listed in the preloaded symbols.
39640 exclude_expsyms=$lt_exclude_expsyms
39642 # Symbols that must always be exported.
39643 include_expsyms=$lt_include_expsyms
39645 # Commands necessary for linking programs (against libraries) with templates.
39646 prelink_cmds=$lt_prelink_cmds
39648 # Specify filename containing input files.
39649 file_list_spec=$lt_file_list_spec
39651 # How to hardcode a shared library path into an executable.
39652 hardcode_action=$hardcode_action
39654 # The directories searched by this compiler when creating a shared library.
39655 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
39657 # Dependencies to place before and after the objects being linked to
39658 # create a shared library.
39659 predep_objects=$lt_predep_objects
39660 postdep_objects=$lt_postdep_objects
39661 predeps=$lt_predeps
39662 postdeps=$lt_postdeps
39664 # The library search path used internally by the compiler when linking
39665 # a shared library.
39666 compiler_lib_search_path=$lt_compiler_lib_search_path
39668 # ### END LIBTOOL CONFIG
39674 cat <<\_LT_EOF >> "$cfgfile"
39675 # AIX sometimes has problems with the GCC collect2 program. For some
39676 # reason, if we set the COLLECT_NAMES environment variable, the problems
39677 # vanish in a puff of smoke.
39678 if test "X${COLLECT_NAMES+set}" != Xset; then
39680 export COLLECT_NAMES
39687 ltmain="$ac_aux_dir/ltmain.sh"
39690 # We use sed instead of cat because bash on DJGPP gets confused if
39691 # if finds mixed CR/LF and LF-only lines. Since sed operates in
39692 # text mode, it properly converts lines to CR/LF. This bash problem
39693 # is reportedly fixed, but why not run on old versions too?
39694 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
39695 || (rm -f "$cfgfile"; exit 1)
39699 cat << \_LT_EOF >> "$cfgfile"
39701 # func_dirname file append nondir_replacement
39702 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
39703 # otherwise set result to NONDIR_REPLACEMENT.
39707 */*) func_dirname_result="${1%/*}${2}" ;;
39708 * ) func_dirname_result="${3}" ;;
39712 # func_basename file
39715 func_basename_result="${1##*/}"
39718 # func_dirname_and_basename file append nondir_replacement
39719 # perform func_basename and func_dirname in a single function
39721 # dirname: Compute the dirname of FILE. If nonempty,
39722 # add APPEND to the result, otherwise set result
39723 # to NONDIR_REPLACEMENT.
39724 # value returned in "$func_dirname_result"
39725 # basename: Compute filename of FILE.
39726 # value retuned in "$func_basename_result"
39727 # Implementation must be kept synchronized with func_dirname
39728 # and func_basename. For efficiency, we do not delegate to
39729 # those functions but instead duplicate the functionality here.
39730 func_dirname_and_basename ()
39733 */*) func_dirname_result="${1%/*}${2}" ;;
39734 * ) func_dirname_result="${3}" ;;
39736 func_basename_result="${1##*/}"
39739 # func_stripname prefix suffix name
39740 # strip PREFIX and SUFFIX off of NAME.
39741 # PREFIX and SUFFIX must not contain globbing or regex special
39742 # characters, hashes, percent signs, but SUFFIX may contain a leading
39743 # dot (in which case that matches only a dot).
39746 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
39747 # positional parameters, so assign one to ordinary parameter first.
39748 func_stripname_result=${3}
39749 func_stripname_result=${func_stripname_result#"${1}"}
39750 func_stripname_result=${func_stripname_result%"${2}"}
39756 func_opt_split_opt=${1%%=*}
39757 func_opt_split_arg=${1#*=}
39764 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
39765 *) func_lo2o_result=${1} ;;
39769 # func_xform libobj-or-source
39772 func_xform_result=${1%.*}.lo
39775 # func_arith arithmetic-term...
39778 func_arith_result=$(( $* ))
39782 # STRING may not start with a hyphen.
39785 func_len_result=${#1}
39790 *) # Bourne compatible functions.
39791 cat << \_LT_EOF >> "$cfgfile"
39793 # func_dirname file append nondir_replacement
39794 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
39795 # otherwise set result to NONDIR_REPLACEMENT.
39798 # Extract subdirectory from the argument.
39799 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
39800 if test "X$func_dirname_result" = "X${1}"; then
39801 func_dirname_result="${3}"
39803 func_dirname_result="$func_dirname_result${2}"
39807 # func_basename file
39810 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
39814 # func_stripname prefix suffix name
39815 # strip PREFIX and SUFFIX off of NAME.
39816 # PREFIX and SUFFIX must not contain globbing or regex special
39817 # characters, hashes, percent signs, but SUFFIX may contain a leading
39818 # dot (in which case that matches only a dot).
39819 # func_strip_suffix prefix name
39823 .*) func_stripname_result=`$ECHO "X${3}" \
39824 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
39825 *) func_stripname_result=`$ECHO "X${3}" \
39826 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
39831 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
39832 my_sed_long_arg='1s/^-[^=]*=//'
39837 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
39838 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
39844 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
39847 # func_xform libobj-or-source
39850 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
39853 # func_arith arithmetic-term...
39856 func_arith_result=`expr "$@"`
39860 # STRING may not start with a hyphen.
39863 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
39869 case $lt_shell_append in
39871 cat << \_LT_EOF >> "$cfgfile"
39873 # func_append var value
39874 # Append VALUE to the end of shell variable VAR.
39882 cat << \_LT_EOF >> "$cfgfile"
39884 # func_append var value
39885 # Append VALUE to the end of shell variable VAR.
39896 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
39897 || (rm -f "$cfgfile"; exit 1)
39899 mv -f "$cfgfile" "$ofile" ||
39900 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
39904 cat <<_LT_EOF >> "$ofile"
39906 # ### BEGIN LIBTOOL TAG CONFIG: CXX
39908 # The linker used to build libraries.
39911 # Commands used to build an old-style archive.
39912 old_archive_cmds=$lt_old_archive_cmds_CXX
39914 # A language specific compiler.
39915 CC=$lt_compiler_CXX
39917 # Is the compiler the GNU compiler?
39920 # Compiler flag to turn off builtin functions.
39921 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
39923 # How to pass a linker flag through the compiler.
39924 wl=$lt_lt_prog_compiler_wl_CXX
39926 # Additional compiler flags for building library objects.
39927 pic_flag=$lt_lt_prog_compiler_pic_CXX
39929 # Compiler flag to prevent dynamic linking.
39930 link_static_flag=$lt_lt_prog_compiler_static_CXX
39932 # Does compiler simultaneously support -c and -o options?
39933 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
39935 # Whether or not to add -lc for building shared libraries.
39936 build_libtool_need_lc=$archive_cmds_need_lc_CXX
39938 # Whether or not to disallow shared libs when runtime libs are static.
39939 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
39941 # Compiler flag to allow reflexive dlopens.
39942 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
39944 # Compiler flag to generate shared objects directly from archives.
39945 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
39947 # Whether the compiler copes with passing no objects directly.
39948 compiler_needs_object=$lt_compiler_needs_object_CXX
39950 # Create an old-style archive from a shared archive.
39951 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
39953 # Create a temporary old-style archive to link instead of a shared archive.
39954 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
39956 # Commands used to build a shared archive.
39957 archive_cmds=$lt_archive_cmds_CXX
39958 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
39960 # Commands used to build a loadable module if different from building
39961 # a shared archive.
39962 module_cmds=$lt_module_cmds_CXX
39963 module_expsym_cmds=$lt_module_expsym_cmds_CXX
39965 # Whether we are building with GNU ld or not.
39966 with_gnu_ld=$lt_with_gnu_ld_CXX
39968 # Flag that allows shared libraries with undefined symbols to be built.
39969 allow_undefined_flag=$lt_allow_undefined_flag_CXX
39971 # Flag that enforces no undefined symbols.
39972 no_undefined_flag=$lt_no_undefined_flag_CXX
39974 # Flag to hardcode \$libdir into a binary during linking.
39975 # This must work even if \$libdir does not exist
39976 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
39978 # If ld is used when linking, flag to hardcode \$libdir into a binary
39979 # during linking. This must work even if \$libdir does not exist.
39980 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
39982 # Whether we need a single "-rpath" flag with a separated argument.
39983 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
39985 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
39986 # DIR into the resulting binary.
39987 hardcode_direct=$hardcode_direct_CXX
39989 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
39990 # DIR into the resulting binary and the resulting library dependency is
39991 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
39992 # library is relocated.
39993 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
39995 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
39996 # into the resulting binary.
39997 hardcode_minus_L=$hardcode_minus_L_CXX
39999 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
40000 # into the resulting binary.
40001 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
40003 # Set to "yes" if building a shared library automatically hardcodes DIR
40004 # into the library and all subsequent libraries and executables linked
40006 hardcode_automatic=$hardcode_automatic_CXX
40008 # Set to yes if linker adds runtime paths of dependent libraries
40009 # to runtime path list.
40010 inherit_rpath=$inherit_rpath_CXX
40012 # Whether libtool must link a program against all its dependency libraries.
40013 link_all_deplibs=$link_all_deplibs_CXX
40015 # Fix the shell variable \$srcfile for the compiler.
40016 fix_srcfile_path=$lt_fix_srcfile_path_CXX
40018 # Set to "yes" if exported symbols are required.
40019 always_export_symbols=$always_export_symbols_CXX
40021 # The commands to list exported symbols.
40022 export_symbols_cmds=$lt_export_symbols_cmds_CXX
40024 # Symbols that should not be listed in the preloaded symbols.
40025 exclude_expsyms=$lt_exclude_expsyms_CXX
40027 # Symbols that must always be exported.
40028 include_expsyms=$lt_include_expsyms_CXX
40030 # Commands necessary for linking programs (against libraries) with templates.
40031 prelink_cmds=$lt_prelink_cmds_CXX
40033 # Specify filename containing input files.
40034 file_list_spec=$lt_file_list_spec_CXX
40036 # How to hardcode a shared library path into an executable.
40037 hardcode_action=$hardcode_action_CXX
40039 # The directories searched by this compiler when creating a shared library.
40040 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
40042 # Dependencies to place before and after the objects being linked to
40043 # create a shared library.
40044 predep_objects=$lt_predep_objects_CXX
40045 postdep_objects=$lt_postdep_objects_CXX
40046 predeps=$lt_predeps_CXX
40047 postdeps=$lt_postdeps_CXX
40049 # The library search path used internally by the compiler when linking
40050 # a shared library.
40051 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
40053 # ### END LIBTOOL TAG CONFIG: CXX
40057 "po-directories":C)
40058 for ac_file in $CONFIG_FILES; do
40059 # Support "outfile[:infile[:infile...]]"
40061 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
40063 # PO directories have a Makefile.in generated from Makefile.in.in.
40064 case "$ac_file" in */Makefile.in)
40065 # Adjust a relative srcdir.
40066 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
40067 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
40068 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
40069 # In autoconf-2.13 it is called $ac_given_srcdir.
40070 # In autoconf-2.50 it is called $srcdir.
40071 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
40072 case "$ac_given_srcdir" in
40073 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
40074 /*) top_srcdir="$ac_given_srcdir" ;;
40075 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
40077 # Treat a directory as a PO directory if and only if it has a
40078 # POTFILES.in file. This allows packages to have multiple PO
40079 # directories under different names or in different locations.
40080 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
40081 rm -f "$ac_dir/POTFILES"
40082 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
40083 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
40084 POMAKEFILEDEPS="POTFILES.in"
40085 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
40086 # on $ac_dir but don't depend on user-specified configuration
40088 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
40089 # The LINGUAS file contains the set of available languages.
40090 if test -n "$OBSOLETE_ALL_LINGUAS"; then
40091 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
40093 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
40094 # Hide the ALL_LINGUAS assigment from automake < 1.5.
40095 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
40096 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
40098 # The set of available languages was given in configure.in.
40099 # Hide the ALL_LINGUAS assigment from automake < 1.5.
40100 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
40103 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
40104 # Compute UPDATEPOFILES
40105 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
40106 # Compute DUMMYPOFILES
40107 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
40109 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
40110 case "$ac_given_srcdir" in
40112 *) srcdirpre='$(srcdir)/' ;;
40118 for lang in $ALL_LINGUAS; do
40119 POFILES="$POFILES $srcdirpre$lang.po"
40120 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
40121 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
40122 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
40124 # CATALOGS depends on both $ac_dir and the user's LINGUAS
40125 # environment variable.
40127 if test -n "$ALL_LINGUAS"; then
40128 for presentlang in $ALL_LINGUAS; do
40130 if test "%UNSET%" != "$LINGUAS"; then
40131 desiredlanguages="$LINGUAS"
40133 desiredlanguages="$ALL_LINGUAS"
40135 for desiredlang in $desiredlanguages; do
40136 # Use the presentlang catalog if desiredlang is
40137 # a. equal to presentlang, or
40138 # b. a variant of presentlang (because in this case,
40139 # presentlang can be used as a fallback for messages
40140 # which are not translated in the desiredlang catalog).
40141 case "$desiredlang" in
40142 "$presentlang"*) useit=yes;;
40145 if test $useit = yes; then
40146 INST_LINGUAS="$INST_LINGUAS $presentlang"
40151 if test -n "$INST_LINGUAS"; then
40152 for lang in $INST_LINGUAS; do
40153 CATALOGS="$CATALOGS $lang.gmo"
40156 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
40157 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"
40158 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
40159 if test -f "$f"; then
40161 *.orig | *.bak | *~) ;;
40162 *) cat "$f" >> "$ac_dir/Makefile" ;;
40171 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
40172 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
40173 ac_stdint=$tmp/_stdint.h
40175 echo "#ifndef" $_ac_stdint_h >$ac_stdint
40176 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
40177 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
40178 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
40179 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
40180 if test "_$ac_cv_header_stdint_t" != "_" ; then
40181 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
40182 echo "#include <stdint.h>" >>$ac_stdint
40183 echo "#endif" >>$ac_stdint
40184 echo "#endif" >>$ac_stdint
40187 cat >>$ac_stdint <<STDINT_EOF
40189 /* ................... shortcircuit part ........................... */
40191 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
40192 #include <stdint.h>
40194 #include <stddef.h>
40196 /* .................... configured part ............................ */
40200 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
40201 if test "_$ac_cv_header_stdint_x" != "_" ; then
40202 ac_header="$ac_cv_header_stdint_x"
40203 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
40205 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
40208 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
40209 if test "_$ac_cv_header_stdint_o" != "_" ; then
40210 ac_header="$ac_cv_header_stdint_o"
40211 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
40213 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
40216 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
40217 if test "_$ac_cv_header_stdint_u" != "_" ; then
40218 ac_header="$ac_cv_header_stdint_u"
40219 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
40221 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
40224 echo "" >>$ac_stdint
40226 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
40227 echo "#include <$ac_header>" >>$ac_stdint
40228 echo "" >>$ac_stdint
40231 echo "/* which 64bit typedef has been found */" >>$ac_stdint
40232 if test "$ac_cv_type_uint64_t" = "yes" ; then
40233 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
40235 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
40237 if test "$ac_cv_type_u_int64_t" = "yes" ; then
40238 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
40240 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
40242 echo "" >>$ac_stdint
40244 echo "/* which type model has been detected */" >>$ac_stdint
40245 if test "_$ac_cv_char_data_model" != "_" ; then
40246 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
40247 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
40249 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
40250 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
40252 echo "" >>$ac_stdint
40254 echo "/* whether int_least types were detected */" >>$ac_stdint
40255 if test "$ac_cv_type_int_least32_t" = "yes"; then
40256 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
40258 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
40260 echo "/* whether int_fast types were detected */" >>$ac_stdint
40261 if test "$ac_cv_type_int_fast32_t" = "yes"; then
40262 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
40264 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
40266 echo "/* whether intmax_t type was detected */" >>$ac_stdint
40267 if test "$ac_cv_type_intmax_t" = "yes"; then
40268 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
40270 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
40272 echo "" >>$ac_stdint
40274 cat >>$ac_stdint <<STDINT_EOF
40275 /* .................... detections part ............................ */
40277 /* whether we need to define bitspecific types from compiler base types */
40278 #ifndef _STDINT_HEADER_INTPTR
40279 #ifndef _STDINT_HEADER_UINT32
40280 #ifndef _STDINT_HEADER_U_INT32
40281 #define _STDINT_NEED_INT_MODEL_T
40283 #define _STDINT_HAVE_U_INT_TYPES
40288 #ifdef _STDINT_HAVE_U_INT_TYPES
40289 #undef _STDINT_NEED_INT_MODEL_T
40292 #ifdef _STDINT_CHAR_MODEL
40293 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
40294 #ifndef _STDINT_BYTE_MODEL
40295 #define _STDINT_BYTE_MODEL 12
40300 #ifndef _STDINT_HAVE_INT_LEAST32_T
40301 #define _STDINT_NEED_INT_LEAST_T
40304 #ifndef _STDINT_HAVE_INT_FAST32_T
40305 #define _STDINT_NEED_INT_FAST_T
40308 #ifndef _STDINT_HEADER_INTPTR
40309 #define _STDINT_NEED_INTPTR_T
40310 #ifndef _STDINT_HAVE_INTMAX_T
40311 #define _STDINT_NEED_INTMAX_T
40316 /* .................... definition part ............................ */
40318 /* some system headers have good uint64_t */
40319 #ifndef _HAVE_UINT64_T
40320 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
40321 #define _HAVE_UINT64_T
40322 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
40323 #define _HAVE_UINT64_T
40324 typedef u_int64_t uint64_t;
40328 #ifndef _HAVE_UINT64_T
40329 /* .. here are some common heuristics using compiler runtime specifics */
40330 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
40331 #define _HAVE_UINT64_T
40332 #define _HAVE_LONGLONG_UINT64_T
40333 typedef long long int64_t;
40334 typedef unsigned long long uint64_t;
40336 #elif !defined __STRICT_ANSI__
40337 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
40338 #define _HAVE_UINT64_T
40339 typedef __int64 int64_t;
40340 typedef unsigned __int64 uint64_t;
40342 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
40343 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
40344 #if !defined _NO_LONGLONG
40345 #define _HAVE_UINT64_T
40346 #define _HAVE_LONGLONG_UINT64_T
40347 typedef long long int64_t;
40348 typedef unsigned long long uint64_t;
40351 #elif defined __alpha || (defined __mips && defined _ABIN32)
40352 #if !defined _NO_LONGLONG
40353 typedef long int64_t;
40354 typedef unsigned long uint64_t;
40356 /* compiler/cpu type to define int64_t */
40361 #if defined _STDINT_HAVE_U_INT_TYPES
40362 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
40363 typedef u_int8_t uint8_t;
40364 typedef u_int16_t uint16_t;
40365 typedef u_int32_t uint32_t;
40367 /* glibc compatibility */
40368 #ifndef __int8_t_defined
40369 #define __int8_t_defined
40373 #ifdef _STDINT_NEED_INT_MODEL_T
40374 /* we must guess all the basic types. Apart from byte-adressable system, */
40375 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
40376 /* (btw, those nibble-addressable systems are way off, or so we assume) */
40379 #if defined _STDINT_BYTE_MODEL
40380 #if _STDINT_LONG_MODEL+0 == 242
40381 /* 2:4:2 = IP16 = a normal 16-bit system */
40382 typedef unsigned char uint8_t;
40383 typedef unsigned short uint16_t;
40384 typedef unsigned long uint32_t;
40385 #ifndef __int8_t_defined
40386 #define __int8_t_defined
40387 typedef char int8_t;
40388 typedef short int16_t;
40389 typedef long int32_t;
40391 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
40392 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
40393 /* 4:4:4 = ILP32 = a normal 32-bit system */
40394 typedef unsigned char uint8_t;
40395 typedef unsigned short uint16_t;
40396 typedef unsigned int uint32_t;
40397 #ifndef __int8_t_defined
40398 #define __int8_t_defined
40399 typedef char int8_t;
40400 typedef short int16_t;
40401 typedef int int32_t;
40403 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
40404 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
40405 /* 4:8:8 = LP64 = a normal 64-bit system */
40406 typedef unsigned char uint8_t;
40407 typedef unsigned short uint16_t;
40408 typedef unsigned int uint32_t;
40409 #ifndef __int8_t_defined
40410 #define __int8_t_defined
40411 typedef char int8_t;
40412 typedef short int16_t;
40413 typedef int int32_t;
40415 /* this system has a "long" of 64bit */
40416 #ifndef _HAVE_UINT64_T
40417 #define _HAVE_UINT64_T
40418 typedef unsigned long uint64_t;
40419 typedef long int64_t;
40421 #elif _STDINT_LONG_MODEL+0 == 448
40422 /* LLP64 a 64-bit system derived from a 32-bit system */
40423 typedef unsigned char uint8_t;
40424 typedef unsigned short uint16_t;
40425 typedef unsigned int uint32_t;
40426 #ifndef __int8_t_defined
40427 #define __int8_t_defined
40428 typedef char int8_t;
40429 typedef short int16_t;
40430 typedef int int32_t;
40432 /* assuming the system has a "long long" */
40433 #ifndef _HAVE_UINT64_T
40434 #define _HAVE_UINT64_T
40435 #define _HAVE_LONGLONG_UINT64_T
40436 typedef unsigned long long uint64_t;
40437 typedef long long int64_t;
40440 #define _STDINT_NO_INT32_T
40443 #define _STDINT_NO_INT8_T
40444 #define _STDINT_NO_INT32_T
40449 * quote from SunOS-5.8 sys/inttypes.h:
40450 * Use at your own risk. As of February 1996, the committee is squarely
40451 * behind the fixed sized types; the "least" and "fast" types are still being
40452 * discussed. The probability that the "fast" types may be removed before
40453 * the standard is finalized is high enough that they are not currently
40457 #if defined _STDINT_NEED_INT_LEAST_T
40458 typedef int8_t int_least8_t;
40459 typedef int16_t int_least16_t;
40460 typedef int32_t int_least32_t;
40461 #ifdef _HAVE_UINT64_T
40462 typedef int64_t int_least64_t;
40465 typedef uint8_t uint_least8_t;
40466 typedef uint16_t uint_least16_t;
40467 typedef uint32_t uint_least32_t;
40468 #ifdef _HAVE_UINT64_T
40469 typedef uint64_t uint_least64_t;
40474 #if defined _STDINT_NEED_INT_FAST_T
40475 typedef int8_t int_fast8_t;
40476 typedef int int_fast16_t;
40477 typedef int32_t int_fast32_t;
40478 #ifdef _HAVE_UINT64_T
40479 typedef int64_t int_fast64_t;
40482 typedef uint8_t uint_fast8_t;
40483 typedef unsigned uint_fast16_t;
40484 typedef uint32_t uint_fast32_t;
40485 #ifdef _HAVE_UINT64_T
40486 typedef uint64_t uint_fast64_t;
40491 #ifdef _STDINT_NEED_INTMAX_T
40492 #ifdef _HAVE_UINT64_T
40493 typedef int64_t intmax_t;
40494 typedef uint64_t uintmax_t;
40496 typedef long intmax_t;
40497 typedef unsigned long uintmax_t;
40501 #ifdef _STDINT_NEED_INTPTR_T
40502 #ifndef __intptr_t_defined
40503 #define __intptr_t_defined
40504 /* we encourage using "long" to store pointer values, never use "int" ! */
40505 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
40506 typedef unsigned int uintptr_t;
40507 typedef int intptr_t;
40508 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
40509 typedef unsigned long uintptr_t;
40510 typedef long intptr_t;
40511 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
40512 typedef uint64_t uintptr_t;
40513 typedef int64_t intptr_t;
40514 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
40515 typedef unsigned long uintptr_t;
40516 typedef long intptr_t;
40521 /* The ISO C99 standard specifies that in C++ implementations these
40522 should only be defined if explicitly requested. */
40523 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
40527 # define INT8_C(c) c
40528 # define INT16_C(c) c
40529 # define INT32_C(c) c
40530 # ifdef _HAVE_LONGLONG_UINT64_T
40531 # define INT64_C(c) c ## L
40533 # define INT64_C(c) c ## LL
40537 # define UINT8_C(c) c ## U
40538 # define UINT16_C(c) c ## U
40539 # define UINT32_C(c) c ## U
40540 # ifdef _HAVE_LONGLONG_UINT64_T
40541 # define UINT64_C(c) c ## UL
40543 # define UINT64_C(c) c ## ULL
40546 /* Maximal type. */
40547 # ifdef _HAVE_LONGLONG_UINT64_T
40548 # define INTMAX_C(c) c ## L
40549 # define UINTMAX_C(c) c ## UL
40551 # define INTMAX_C(c) c ## LL
40552 # define UINTMAX_C(c) c ## ULL
40555 /* literalnumbers */
40559 /* These limits are merily those of a two complement byte-oriented system */
40561 /* Minimum of signed integral types. */
40562 # define INT8_MIN (-128)
40563 # define INT16_MIN (-32767-1)
40564 # define INT32_MIN (-2147483647-1)
40565 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
40566 /* Maximum of signed integral types. */
40567 # define INT8_MAX (127)
40568 # define INT16_MAX (32767)
40569 # define INT32_MAX (2147483647)
40570 # define INT64_MAX (__INT64_C(9223372036854775807))
40572 /* Maximum of unsigned integral types. */
40573 # define UINT8_MAX (255)
40574 # define UINT16_MAX (65535)
40575 # define UINT32_MAX (4294967295U)
40576 # define UINT64_MAX (__UINT64_C(18446744073709551615))
40578 /* Minimum of signed integral types having a minimum size. */
40579 # define INT_LEAST8_MIN INT8_MIN
40580 # define INT_LEAST16_MIN INT16_MIN
40581 # define INT_LEAST32_MIN INT32_MIN
40582 # define INT_LEAST64_MIN INT64_MIN
40583 /* Maximum of signed integral types having a minimum size. */
40584 # define INT_LEAST8_MAX INT8_MAX
40585 # define INT_LEAST16_MAX INT16_MAX
40586 # define INT_LEAST32_MAX INT32_MAX
40587 # define INT_LEAST64_MAX INT64_MAX
40589 /* Maximum of unsigned integral types having a minimum size. */
40590 # define UINT_LEAST8_MAX UINT8_MAX
40591 # define UINT_LEAST16_MAX UINT16_MAX
40592 # define UINT_LEAST32_MAX UINT32_MAX
40593 # define UINT_LEAST64_MAX UINT64_MAX
40602 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
40603 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
40604 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
40606 ac_dir=`$as_dirname -- "$ac_stdint_h" ||
40607 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
40608 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
40609 X"$ac_stdint_h" : 'X\(//\)$' \| \
40610 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
40611 $as_echo X"$ac_stdint_h" |
40612 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
40616 /^X\(\/\/\)[^/].*/{
40629 as_dir="$ac_dir"; as_fn_mkdir_p
40631 mv $ac_stdint $ac_stdint_h
40641 ac_clean_files=$ac_clean_files_save
40643 test $ac_write_fail = 0 ||
40644 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
40647 # configure is writing to config.log, and then calls config.status.
40648 # config.status does its own redirection, appending to config.log.
40649 # Unfortunately, on DOS this fails, as config.log is still kept open
40650 # by configure, so config.status won't be able to write to it; its
40651 # output is simply discarded. So we exec the FD to /dev/null,
40652 # effectively closing config.log, so it can be properly (re)opened and
40653 # appended to by config.status. When coming back to configure, we
40654 # need to make the FD available again.
40655 if test "$no_create" != yes; then
40657 ac_config_status_args=
40658 test "$silent" = yes &&
40659 ac_config_status_args="$ac_config_status_args --quiet"
40661 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
40663 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
40664 # would make configure fail if this is the last instruction.
40665 $ac_cs_success || as_fn_exit 1
40667 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
40668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
40669 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
40675 printf "configure: *** Plug-ins without external dependencies that will be built:\n"
40676 ( for i in $GST_PLUGINS_SELECTED; do printf '\t'$i'\n'; done ) | sort
40679 printf "configure: *** Plug-ins without external dependencies that will NOT be built:\n"
40680 ( for i in $GST_PLUGINS_ALL; do
40681 case " $GST_PLUGINS_SELECTED " in
40691 if test "x$BUILD_EXTERNAL" = "xno"; then
40692 printf "configure: *** No plug-ins with external dependencies will be built\n"
40694 printf "configure: *** Plug-ins with dependencies that will be built:"
40695 printf "$GST_PLUGINS_YES\n" | sort
40697 printf "configure: *** Plug-ins with dependencies that will NOT be built:"
40698 printf "$GST_PLUGINS_NO\n" | sort
40703 if test "$HAVE_ORC" = yes ; then
40704 printf "configure: *** Orc acceleration enabled.\n"
40706 if test "x$enable_orc" = "xno" ; then
40707 printf "configure: *** Orc acceleration disabled by --disable-orc. Slower code paths\n"
40708 printf " will be used.\n"
40710 printf "configure: *** Orc acceleration disabled. Requires Orc >= $ORC_REQ, which was\n"
40711 printf " not found. Slower code paths will be used.\n"