2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for GStreamer Base Plug-ins 0.10.34.
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 Base Plug-ins'
704 PACKAGE_TARNAME='gst-plugins-base'
705 PACKAGE_VERSION='0.10.34'
706 PACKAGE_STRING='GStreamer Base Plug-ins 0.10.34'
707 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
710 ac_unique_file="gst/audiotestsrc/gstaudiotestsrc.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>
748 ac_subst_vars='am__EXEEXT_FALSE
756 GST_PLUGINS_BASE_CFLAGS
836 GST_DISABLE_ALLOC_TRACE
840 GST_DISABLE_GST_DEBUG
841 USE_PLUGIN_VOLUME_FALSE
842 USE_PLUGIN_VOLUME_TRUE
843 USE_PLUGIN_VIDEOSCALE_FALSE
844 USE_PLUGIN_VIDEOSCALE_TRUE
845 USE_PLUGIN_VIDEORATE_FALSE
846 USE_PLUGIN_VIDEORATE_TRUE
847 USE_PLUGIN_VIDEOTESTSRC_FALSE
848 USE_PLUGIN_VIDEOTESTSRC_TRUE
849 USE_PLUGIN_TYPEFIND_FALSE
850 USE_PLUGIN_TYPEFIND_TRUE
853 USE_PLUGIN_SUBPARSE_FALSE
854 USE_PLUGIN_SUBPARSE_TRUE
855 USE_PLUGIN_AUDIORESAMPLE_FALSE
856 USE_PLUGIN_AUDIORESAMPLE_TRUE
857 USE_PLUGIN_PLAYBACK_FALSE
858 USE_PLUGIN_PLAYBACK_TRUE
861 USE_PLUGIN_FFMPEGCOLORSPACE_FALSE
862 USE_PLUGIN_FFMPEGCOLORSPACE_TRUE
863 USE_PLUGIN_ENCODING_FALSE
864 USE_PLUGIN_ENCODING_TRUE
865 USE_PLUGIN_AUDIOTESTSRC_FALSE
866 USE_PLUGIN_AUDIOTESTSRC_TRUE
867 USE_PLUGIN_AUDIORATE_FALSE
868 USE_PLUGIN_AUDIORATE_TRUE
869 USE_PLUGIN_AUDIOCONVERT_FALSE
870 USE_PLUGIN_AUDIOCONVERT_TRUE
873 USE_PLUGIN_ADDER_FALSE
874 USE_PLUGIN_ADDER_TRUE
875 AUDIORESAMPLE_FORMAT_AUTO
876 AUDIORESAMPLE_FORMAT_FLOAT
877 AUDIORESAMPLE_FORMAT_INT
891 HAVE_LINUX_JOYSTICK_HEADERS_FALSE
892 HAVE_LINUX_JOYSTICK_HEADERS_TRUE
915 GST_CONTROLLER_CFLAGS
937 HAVE_SYS_SOCKET_H_FALSE
938 HAVE_SYS_SOCKET_H_TRUE
939 HAVE_LIBXML_HTML_FALSE
940 HAVE_LIBXML_HTML_TRUE
942 ENABLE_PLUGIN_DOCS_FALSE
943 ENABLE_PLUGIN_DOCS_TRUE
953 GTK_DOC_USE_LIBTOOL_FALSE
954 GTK_DOC_USE_LIBTOOL_TRUE
959 HAVE_INTROSPECTION_FALSE
960 HAVE_INTROSPECTION_TRUE
961 INTROSPECTION_TYPELIBDIR
963 INTROSPECTION_GENERATE
964 INTROSPECTION_COMPILER
965 INTROSPECTION_SCANNER
977 HAVE_CPU_CRISV32_FALSE
978 HAVE_CPU_CRISV32_TRUE
981 HAVE_CPU_X86_64_FALSE
1005 BUILD_EXPERIMENTAL_FALSE
1006 BUILD_EXPERIMENTAL_TRUE
1007 USE_EXPERIMENTAL_FALSE
1008 USE_EXPERIMENTAL_TRUE
1009 BUILD_EXTERNAL_FALSE
1013 GST_PLUGINS_SELECTED
1015 GST_INSTALL_PLUGINS_HELPER
1019 BUILD_EXAMPLES_FALSE
1021 GST_GCOV_ENABLED_FALSE
1022 GST_GCOV_ENABLED_TRUE
1041 XGETTEXT_EXTRA_OPTIONS
1049 GETTEXT_MACRO_VERSION
1097 AM_DEFAULT_VERBOSITY
1107 MAINTAINER_MODE_FALSE
1108 MAINTAINER_MODE_TRUE
1109 PACKAGE_VERSION_RELEASE
1110 PACKAGE_VERSION_NANO
1111 PACKAGE_VERSION_MICRO
1112 PACKAGE_VERSION_MINOR
1113 PACKAGE_VERSION_MAJOR
1122 INSTALL_STRIP_PROGRAM
1164 program_transform_name
1177 enable_option_checking
1178 enable_maintainer_mode
1184 enable_dependency_tracking
1193 with_libiconv_prefix
1200 with_pkg_config_path
1203 with_install_plugins_helper
1208 enable_introspection
1211 enable_gobject_cast_checks
1216 with_default_audiosink
1217 with_default_audiosrc
1218 with_default_videosink
1219 with_default_videosrc
1220 with_default_visualizer
1221 with_audioresample_format
1228 enable_ffmpegcolorspace
1231 enable_audioresample
1248 with_alsa_inc_prefix
1263 with_vorbis_libraries
1264 with_vorbis_includes
1270 ac_precious_vars='build_alias
1296 GST_CONTROLLER_CFLAGS
1333 # Initialize some variables set by options.
1335 ac_init_version=false
1336 ac_unrecognized_opts=
1337 ac_unrecognized_sep=
1338 # The variables have the same names as the options, with
1339 # dashes changed to underlines.
1340 cache_file=/dev/null
1347 program_transform_name=s,x,x,
1355 # Installation directory options.
1356 # These are left unexpanded so users can "make install exec_prefix=/foo"
1357 # and all the variables that are supposed to be based on exec_prefix
1358 # by default will actually change.
1359 # Use braces instead of parens because sh, perl, etc. also accept them.
1360 # (The list follows the same order as the GNU Coding Standards.)
1361 bindir='${exec_prefix}/bin'
1362 sbindir='${exec_prefix}/sbin'
1363 libexecdir='${exec_prefix}/libexec'
1364 datarootdir='${prefix}/share'
1365 datadir='${datarootdir}'
1366 sysconfdir='${prefix}/etc'
1367 sharedstatedir='${prefix}/com'
1368 localstatedir='${prefix}/var'
1369 includedir='${prefix}/include'
1370 oldincludedir='/usr/include'
1371 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1372 infodir='${datarootdir}/info'
1377 libdir='${exec_prefix}/lib'
1378 localedir='${datarootdir}/locale'
1379 mandir='${datarootdir}/man'
1385 # If the previous option needs an argument, assign it.
1386 if test -n "$ac_prev"; then
1387 eval $ac_prev=\$ac_option
1393 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1398 # Accept the important Cygnus configure options, so we can diagnose typos.
1400 case $ac_dashdash$ac_option in
1404 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1406 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1407 bindir=$ac_optarg ;;
1409 -build | --build | --buil | --bui | --bu)
1410 ac_prev=build_alias ;;
1411 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1412 build_alias=$ac_optarg ;;
1414 -cache-file | --cache-file | --cache-fil | --cache-fi \
1415 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1416 ac_prev=cache_file ;;
1417 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1418 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1419 cache_file=$ac_optarg ;;
1421 --config-cache | -C)
1422 cache_file=config.cache ;;
1424 -datadir | --datadir | --datadi | --datad)
1426 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1427 datadir=$ac_optarg ;;
1429 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1430 | --dataroo | --dataro | --datar)
1431 ac_prev=datarootdir ;;
1432 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1433 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1434 datarootdir=$ac_optarg ;;
1436 -disable-* | --disable-*)
1437 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1438 # Reject names that are not valid shell variable names.
1439 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1440 as_fn_error $? "invalid feature name: $ac_useropt"
1441 ac_useropt_orig=$ac_useropt
1442 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1443 case $ac_user_opts in
1445 "enable_$ac_useropt"
1447 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1448 ac_unrecognized_sep=', ';;
1450 eval enable_$ac_useropt=no ;;
1452 -docdir | --docdir | --docdi | --doc | --do)
1454 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1455 docdir=$ac_optarg ;;
1457 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1459 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1460 dvidir=$ac_optarg ;;
1462 -enable-* | --enable-*)
1463 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1464 # Reject names that are not valid shell variable names.
1465 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1466 as_fn_error $? "invalid feature name: $ac_useropt"
1467 ac_useropt_orig=$ac_useropt
1468 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1469 case $ac_user_opts in
1471 "enable_$ac_useropt"
1473 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1474 ac_unrecognized_sep=', ';;
1476 eval enable_$ac_useropt=\$ac_optarg ;;
1478 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1479 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1480 | --exec | --exe | --ex)
1481 ac_prev=exec_prefix ;;
1482 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1483 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1484 | --exec=* | --exe=* | --ex=*)
1485 exec_prefix=$ac_optarg ;;
1487 -gas | --gas | --ga | --g)
1488 # Obsolete; use --with-gas.
1491 -help | --help | --hel | --he | -h)
1492 ac_init_help=long ;;
1493 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1494 ac_init_help=recursive ;;
1495 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1496 ac_init_help=short ;;
1498 -host | --host | --hos | --ho)
1499 ac_prev=host_alias ;;
1500 -host=* | --host=* | --hos=* | --ho=*)
1501 host_alias=$ac_optarg ;;
1503 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1505 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1507 htmldir=$ac_optarg ;;
1509 -includedir | --includedir | --includedi | --included | --include \
1510 | --includ | --inclu | --incl | --inc)
1511 ac_prev=includedir ;;
1512 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1513 | --includ=* | --inclu=* | --incl=* | --inc=*)
1514 includedir=$ac_optarg ;;
1516 -infodir | --infodir | --infodi | --infod | --info | --inf)
1518 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1519 infodir=$ac_optarg ;;
1521 -libdir | --libdir | --libdi | --libd)
1523 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1524 libdir=$ac_optarg ;;
1526 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1527 | --libexe | --libex | --libe)
1528 ac_prev=libexecdir ;;
1529 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1530 | --libexe=* | --libex=* | --libe=*)
1531 libexecdir=$ac_optarg ;;
1533 -localedir | --localedir | --localedi | --localed | --locale)
1534 ac_prev=localedir ;;
1535 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1536 localedir=$ac_optarg ;;
1538 -localstatedir | --localstatedir | --localstatedi | --localstated \
1539 | --localstate | --localstat | --localsta | --localst | --locals)
1540 ac_prev=localstatedir ;;
1541 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1542 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1543 localstatedir=$ac_optarg ;;
1545 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1547 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1548 mandir=$ac_optarg ;;
1550 -nfp | --nfp | --nf)
1551 # Obsolete; use --without-fp.
1554 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1555 | --no-cr | --no-c | -n)
1558 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1559 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1562 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1563 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1564 | --oldin | --oldi | --old | --ol | --o)
1565 ac_prev=oldincludedir ;;
1566 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1567 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1568 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1569 oldincludedir=$ac_optarg ;;
1571 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1573 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1574 prefix=$ac_optarg ;;
1576 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1577 | --program-pre | --program-pr | --program-p)
1578 ac_prev=program_prefix ;;
1579 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1580 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1581 program_prefix=$ac_optarg ;;
1583 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1584 | --program-suf | --program-su | --program-s)
1585 ac_prev=program_suffix ;;
1586 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1587 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1588 program_suffix=$ac_optarg ;;
1590 -program-transform-name | --program-transform-name \
1591 | --program-transform-nam | --program-transform-na \
1592 | --program-transform-n | --program-transform- \
1593 | --program-transform | --program-transfor \
1594 | --program-transfo | --program-transf \
1595 | --program-trans | --program-tran \
1596 | --progr-tra | --program-tr | --program-t)
1597 ac_prev=program_transform_name ;;
1598 -program-transform-name=* | --program-transform-name=* \
1599 | --program-transform-nam=* | --program-transform-na=* \
1600 | --program-transform-n=* | --program-transform-=* \
1601 | --program-transform=* | --program-transfor=* \
1602 | --program-transfo=* | --program-transf=* \
1603 | --program-trans=* | --program-tran=* \
1604 | --progr-tra=* | --program-tr=* | --program-t=*)
1605 program_transform_name=$ac_optarg ;;
1607 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1609 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1610 pdfdir=$ac_optarg ;;
1612 -psdir | --psdir | --psdi | --psd | --ps)
1614 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1617 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1618 | -silent | --silent | --silen | --sile | --sil)
1621 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1623 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1625 sbindir=$ac_optarg ;;
1627 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1628 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1629 | --sharedst | --shareds | --shared | --share | --shar \
1631 ac_prev=sharedstatedir ;;
1632 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1633 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1634 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1636 sharedstatedir=$ac_optarg ;;
1638 -site | --site | --sit)
1640 -site=* | --site=* | --sit=*)
1643 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1645 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1646 srcdir=$ac_optarg ;;
1648 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1649 | --syscon | --sysco | --sysc | --sys | --sy)
1650 ac_prev=sysconfdir ;;
1651 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1652 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1653 sysconfdir=$ac_optarg ;;
1655 -target | --target | --targe | --targ | --tar | --ta | --t)
1656 ac_prev=target_alias ;;
1657 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1658 target_alias=$ac_optarg ;;
1660 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1663 -version | --version | --versio | --versi | --vers | -V)
1664 ac_init_version=: ;;
1667 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1668 # Reject names that are not valid shell variable names.
1669 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1670 as_fn_error $? "invalid package name: $ac_useropt"
1671 ac_useropt_orig=$ac_useropt
1672 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1673 case $ac_user_opts in
1677 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1678 ac_unrecognized_sep=', ';;
1680 eval with_$ac_useropt=\$ac_optarg ;;
1682 -without-* | --without-*)
1683 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1684 # Reject names that are not valid shell variable names.
1685 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1686 as_fn_error $? "invalid package name: $ac_useropt"
1687 ac_useropt_orig=$ac_useropt
1688 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1689 case $ac_user_opts in
1693 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1694 ac_unrecognized_sep=', ';;
1696 eval with_$ac_useropt=no ;;
1699 # Obsolete; use --with-x.
1702 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1703 | --x-incl | --x-inc | --x-in | --x-i)
1704 ac_prev=x_includes ;;
1705 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1706 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1707 x_includes=$ac_optarg ;;
1709 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1710 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1711 ac_prev=x_libraries ;;
1712 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1713 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1714 x_libraries=$ac_optarg ;;
1716 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1717 Try \`$0 --help' for more information"
1721 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1722 # Reject names that are not valid shell variable names.
1723 case $ac_envvar in #(
1724 '' | [0-9]* | *[!_$as_cr_alnum]* )
1725 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1727 eval $ac_envvar=\$ac_optarg
1728 export $ac_envvar ;;
1731 # FIXME: should be removed in autoconf 3.0.
1732 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1733 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1734 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1735 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1741 if test -n "$ac_prev"; then
1742 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1743 as_fn_error $? "missing argument to $ac_option"
1746 if test -n "$ac_unrecognized_opts"; then
1747 case $enable_option_checking in
1749 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1750 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1754 # Check all directory arguments for consistency.
1755 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1756 datadir sysconfdir sharedstatedir localstatedir includedir \
1757 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1758 libdir localedir mandir
1760 eval ac_val=\$$ac_var
1761 # Remove trailing slashes.
1764 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1765 eval $ac_var=\$ac_val;;
1767 # Be sure to have absolute directory names.
1769 [\\/$]* | ?:[\\/]* ) continue;;
1770 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1772 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1775 # There might be people who depend on the old broken behavior: `$host'
1776 # used to hold the argument of --host etc.
1777 # FIXME: To remove some day.
1780 target=$target_alias
1782 # FIXME: To remove some day.
1783 if test "x$host_alias" != x; then
1784 if test "x$build_alias" = x; then
1785 cross_compiling=maybe
1786 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1787 If a cross compiler is detected then cross compile mode will be used" >&2
1788 elif test "x$build_alias" != "x$host_alias"; then
1794 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1796 test "$silent" = yes && exec 6>/dev/null
1799 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1800 ac_ls_di=`ls -di .` &&
1801 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1802 as_fn_error $? "working directory cannot be determined"
1803 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1804 as_fn_error $? "pwd does not report name of working directory"
1807 # Find the source files, if location was not specified.
1808 if test -z "$srcdir"; then
1809 ac_srcdir_defaulted=yes
1810 # Try the directory containing this script, then the parent directory.
1811 ac_confdir=`$as_dirname -- "$as_myself" ||
1812 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1813 X"$as_myself" : 'X\(//\)[^/]' \| \
1814 X"$as_myself" : 'X\(//\)$' \| \
1815 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1816 $as_echo X"$as_myself" |
1817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1835 if test ! -r "$srcdir/$ac_unique_file"; then
1839 ac_srcdir_defaulted=no
1841 if test ! -r "$srcdir/$ac_unique_file"; then
1842 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1843 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1845 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1847 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1849 # When building in place, set srcdir=.
1850 if test "$ac_abs_confdir" = "$ac_pwd"; then
1853 # Remove unnecessary trailing slashes from srcdir.
1854 # Double slashes in file names in object file debugging info
1855 # mess up M-x gdb in Emacs.
1857 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1859 for ac_var in $ac_precious_vars; do
1860 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1861 eval ac_env_${ac_var}_value=\$${ac_var}
1862 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1863 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1867 # Report the --help message.
1869 if test "$ac_init_help" = "long"; then
1870 # Omit some internal or obsolete options to make the list less imposing.
1871 # This message is too long to be a string in the A/UX 3.1 sh.
1873 \`configure' configures GStreamer Base Plug-ins 0.10.34 to adapt to many kinds of systems.
1875 Usage: $0 [OPTION]... [VAR=VALUE]...
1877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1878 VAR=VALUE. See below for descriptions of some of the useful variables.
1880 Defaults for the options are specified in brackets.
1883 -h, --help display this help and exit
1884 --help=short display options specific to this package
1885 --help=recursive display the short help of all the included packages
1886 -V, --version display version information and exit
1887 -q, --quiet, --silent do not print \`checking ...' messages
1888 --cache-file=FILE cache test results in FILE [disabled]
1889 -C, --config-cache alias for \`--cache-file=config.cache'
1890 -n, --no-create do not create output files
1891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1893 Installation directories:
1894 --prefix=PREFIX install architecture-independent files in PREFIX
1895 [$ac_default_prefix]
1896 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1899 By default, \`make install' will install all the files in
1900 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1901 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1902 for instance \`--prefix=\$HOME'.
1904 For better control, use the options below.
1906 Fine tuning of the installation directories:
1907 --bindir=DIR user executables [EPREFIX/bin]
1908 --sbindir=DIR system admin executables [EPREFIX/sbin]
1909 --libexecdir=DIR program executables [EPREFIX/libexec]
1910 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1911 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1912 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1913 --libdir=DIR object code libraries [EPREFIX/lib]
1914 --includedir=DIR C header files [PREFIX/include]
1915 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1916 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1917 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1918 --infodir=DIR info documentation [DATAROOTDIR/info]
1919 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1920 --mandir=DIR man documentation [DATAROOTDIR/man]
1921 --docdir=DIR documentation root
1922 [DATAROOTDIR/doc/gst-plugins-base]
1923 --htmldir=DIR html documentation [DOCDIR]
1924 --dvidir=DIR dvi documentation [DOCDIR]
1925 --pdfdir=DIR pdf documentation [DOCDIR]
1926 --psdir=DIR ps documentation [DOCDIR]
1932 --program-prefix=PREFIX prepend PREFIX to installed program names
1933 --program-suffix=SUFFIX append SUFFIX to installed program names
1934 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1937 --x-includes=DIR X include files are in DIR
1938 --x-libraries=DIR X library files are in DIR
1941 --build=BUILD configure for building on BUILD [guessed]
1942 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1946 if test -n "$ac_init_help"; then
1947 case $ac_init_help in
1948 short | recursive ) echo "Configuration of GStreamer Base Plug-ins 0.10.34:";;
1953 --disable-option-checking ignore unrecognized --enable/--with options
1954 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1955 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1956 --enable-maintainer-mode enable make rules and dependencies not useful
1957 (and sometimes confusing) to the casual installer
1958 --enable-silent-rules less verbose build output (undo: `make V=1')
1959 --disable-silent-rules verbose build output (undo: `make V=0')
1960 --enable-shared[=PKGS] build shared libraries [default=yes]
1961 --enable-static[=PKGS] build static libraries [default=yes]
1962 --enable-fast-install[=PKGS]
1963 optimize for fast installation [default=yes]
1964 --disable-dependency-tracking speeds up one-time build
1965 --enable-dependency-tracking do not reject slow dependency extractors
1966 --disable-libtool-lock avoid locking (might break parallel builds)
1967 --disable-nls do not use Native Language Support
1968 --disable-rpath do not hardcode runtime library paths
1969 --disable-debug disable addition of -g debugging info
1970 --enable-profiling adds -pg to compiler commandline, for profiling
1971 --disable-valgrind disable run-time valgrind detection
1972 --enable-gcov compile with coverage profiling instrumentation (gcc
1974 --disable-examples disable building examples
1975 --disable-external disable building of plug-ins with external deps
1976 --enable-experimental enable building of experimental plug-ins
1977 --disable-largefile omit support for large files
1978 --enable-introspection=[no/auto/yes]
1979 Enable introspection for this build
1980 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1981 --enable-gobject-cast-checks=[no/auto/yes]
1982 Enable GObject cast checks
1983 --enable-glib-asserts=[no/auto/yes]
1984 Enable GLib assertion
1985 --enable-orc use Orc if installed
1986 --disable-Bsymbolic avoid linking with -Bsymbolic
1987 --disable-adder disable dependency-less adder plugin
1988 --disable-app disable dependency-less app plugin
1989 --disable-audioconvert disable dependency-less audioconvert plugin
1990 --disable-audiorate disable dependency-less audiorate plugin
1991 --disable-audiotestsrc disable dependency-less audiotestsrc plugin
1992 --disable-encoding disable dependency-less encoding plugin
1993 --disable-ffmpegcolorspace
1994 disable dependency-less ffmpegcolorspace plugin
1995 --disable-gdp disable dependency-less gdp plugin
1996 --disable-playback disable dependency-less playback plugin
1997 --disable-audioresample disable dependency-less audioresample plugin
1998 --disable-subparse disable dependency-less subparse plugin
1999 --disable-tcp disable dependency-less tcp plugin
2000 --disable-typefind disable dependency-less typefind plugin
2001 --disable-videotestsrc disable dependency-less videotestsrc plugin
2002 --disable-videorate disable dependency-less videorate plugin
2003 --disable-videoscale disable dependency-less videoscale plugin
2004 --disable-volume disable dependency-less volume plugin
2005 --enable-iso-codes use iso-codes if installed
2006 --disable-x disable X libraries and plugins: ximagesink
2007 --disable-xvideo disable X11 XVideo extensions: xvimagesink
2008 --disable-xshm disable X Shared Memory extension
2009 --disable-gst_v4l disable Video 4 Linux: video4linux
2010 --disable-alsa disable ALSA: alsa
2011 --disable-cdparanoia disable CDParanoia: cdparanoia
2012 --disable-gnome_vfs disable GNOME VFS: gnomevfs
2013 --disable-ivorbis disable integer vorbis plug-in: ivorbisdec
2014 --disable-gio disable GIO library: gio
2015 --disable-libvisual disable libvisual visualization library: libvisual
2016 --disable-ogg disable Xiph Ogg library: ogg
2017 --disable-oggtest Do not try to compile and run a test Ogg program
2018 --disable-pango disable Pango font rendering: pango
2019 --disable-theora disable Xiph Theora video codec: theora
2020 --disable-vorbis disable Xiph Vorbis audio codec: vorbis
2021 --disable-vorbistest Do not try to compile and run a test Vorbis program
2022 --disable-freetypetest Do not try to compile and run
2023 a test FreeType program
2026 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2027 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2028 --with-pic try to use only PIC/non-PIC objects [default=use
2030 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2031 --with-autoconf use a different autoconf for regeneration of
2033 --with-autoheader use a different autoheader for regeneration of
2035 --with-automake use a different automake for regeneration of
2037 --with-aclocal use a different aclocal for regeneration of
2039 --with-gnu-ld assume the C compiler uses GNU ld default=no
2040 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
2041 --without-libiconv-prefix don't search for libiconv in includedir and libdir
2042 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
2043 --without-libintl-prefix don't search for libintl in includedir and libdir
2044 --with-pkg-config-path colon-separated list of pkg-config(1) dirs
2045 --with-package-name specify package name to use in plugins
2046 --with-package-origin specify package origin URL to use in plugins
2047 --with-install-plugins-helper
2048 specify path of helper script to call to install
2050 --with-plugins comma-separated list of dependencyless plug-ins to
2052 --with-html-dir=PATH path to installed docs
2053 --with-gtk=3.0|2.0 which gtk+ version to compile against (default: 2.0)
2054 --with-default-audiosink
2055 specify default audio sink
2056 --with-default-audiosrc specify default audio source
2057 --with-default-videosink
2058 specify default video sink
2059 --with-default-videosrc specify default video source
2060 --with-default-visualizer
2061 specify default visualizer
2062 --with-audioresample-format
2063 Which implementation should be used for integer
2064 audio resampling, int/float/auto, (default is auto)
2065 --with-x use the X Window System
2066 --with-gudev device detection with gudev
2067 --with-alsa-prefix=PFX prefix where Alsa library is installed(optional)
2068 --with-alsa-inc-prefix=PFX
2069 prefix where include libraries are (optional)
2070 --with-ogg=PFX Prefix where libogg is installed (optional)
2071 --with-ogg-libraries=DIR Directory where libogg library is installed (optional)
2072 --with-ogg-includes=DIR Directory where libogg header files are installed (optional)
2073 --with-vorbis=PFX Prefix where libvorbis is installed (optional)
2074 --with-vorbis-libraries=DIR Directory where libvorbis library is installed (optional)
2075 --with-vorbis-includes=DIR Directory where libvorbis header files are installed (optional)
2076 --with-ft-prefix=PREFIX
2077 Prefix where FreeType is installed (optional)
2078 --with-ft-exec-prefix=PREFIX
2079 Exec prefix where FreeType is installed (optional)
2081 Some influential environment variables:
2082 CC C compiler command
2083 CFLAGS C compiler flags
2084 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2085 nonstandard directory <lib dir>
2086 LIBS libraries to pass to the linker, e.g. -l<library>
2087 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2088 you have headers in a nonstandard directory <include dir>
2090 PKG_CONFIG path to pkg-config utility
2092 C compiler flags for VALGRIND, overriding pkg-config
2094 linker flags for VALGRIND, overriding pkg-config
2095 CXX C++ compiler command
2096 CXXFLAGS C++ compiler flags
2097 CXXCPP C++ preprocessor
2098 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
2099 GLIB_LIBS linker flags for GLIB, overriding pkg-config
2100 ORC_CFLAGS C compiler flags for ORC, overriding pkg-config
2101 ORC_LIBS linker flags for ORC, overriding pkg-config
2102 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2103 GST_LIBS linker flags for GST, overriding pkg-config
2105 C compiler flags for GST_BASE, overriding pkg-config
2107 linker flags for GST_BASE, overriding pkg-config
2109 C compiler flags for GST_GDP, overriding pkg-config
2111 linker flags for GST_GDP, overriding pkg-config
2112 GST_CONTROLLER_CFLAGS
2113 C compiler flags for GST_CONTROLLER, overriding pkg-config
2115 linker flags for GST_CONTROLLER, overriding pkg-config
2117 C compiler flags for GST_CHECK, overriding pkg-config
2119 linker flags for GST_CHECK, overriding pkg-config
2120 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
2121 GTK_LIBS linker flags for GTK, overriding pkg-config
2123 C compiler flags for GTK_X11, overriding pkg-config
2125 linker flags for GTK_X11, overriding pkg-config
2126 QT_CFLAGS C compiler flags for QT, overriding pkg-config
2127 QT_LIBS linker flags for QT, overriding pkg-config
2128 XMKMF Path to xmkmf, Makefile generator for X Window System
2130 C compiler flags for GUDEV, overriding pkg-config
2131 GUDEV_LIBS linker flags for GUDEV, overriding pkg-config
2132 ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
2133 ALSA_LIBS linker flags for ALSA, overriding pkg-config
2135 C compiler flags for CDPARANOIA, overriding pkg-config
2137 linker flags for CDPARANOIA, overriding pkg-config
2139 C compiler flags for GNOME_VFS, overriding pkg-config
2141 linker flags for GNOME_VFS, overriding pkg-config
2143 C compiler flags for IVORBIS, overriding pkg-config
2145 linker flags for IVORBIS, overriding pkg-config
2146 GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
2147 GIO_LIBS linker flags for GIO, overriding pkg-config
2149 C compiler flags for LIBVISUAL, overriding pkg-config
2151 linker flags for LIBVISUAL, overriding pkg-config
2152 OGG_CFLAGS C compiler flags for OGG, overriding pkg-config
2153 OGG_LIBS linker flags for OGG, overriding pkg-config
2155 C compiler flags for PANGO, overriding pkg-config
2156 PANGO_LIBS linker flags for PANGO, overriding pkg-config
2158 C compiler flags for THEORA, overriding pkg-config
2159 THEORA_LIBS linker flags for THEORA, overriding pkg-config
2161 C compiler flags for VORBIS, overriding pkg-config
2162 VORBIS_LIBS linker flags for VORBIS, overriding pkg-config
2163 FT2_CFLAGS C compiler flags for FT2, overriding pkg-config
2164 FT2_LIBS linker flags for FT2, overriding pkg-config
2166 Use these variables to override the choices made by `configure' or to help
2167 it to find libraries and programs with nonstandard names/locations.
2169 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
2174 if test "$ac_init_help" = "recursive"; then
2175 # If there are subdirs, report their specific --help.
2176 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2177 test -d "$ac_dir" ||
2178 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2183 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2185 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2186 # A ".." for each directory in $ac_dir_suffix.
2187 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2188 case $ac_top_builddir_sub in
2189 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2190 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2193 ac_abs_top_builddir=$ac_pwd
2194 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2195 # for backward compatibility:
2196 ac_top_builddir=$ac_top_build_prefix
2199 .) # We are building in place.
2201 ac_top_srcdir=$ac_top_builddir_sub
2202 ac_abs_top_srcdir=$ac_pwd ;;
2203 [\\/]* | ?:[\\/]* ) # Absolute name.
2204 ac_srcdir=$srcdir$ac_dir_suffix;
2205 ac_top_srcdir=$srcdir
2206 ac_abs_top_srcdir=$srcdir ;;
2208 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2209 ac_top_srcdir=$ac_top_build_prefix$srcdir
2210 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2212 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2214 cd "$ac_dir" || { ac_status=$?; continue; }
2215 # Check for guested configure.
2216 if test -f "$ac_srcdir/configure.gnu"; then
2218 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2219 elif test -f "$ac_srcdir/configure"; then
2221 $SHELL "$ac_srcdir/configure" --help=recursive
2223 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2225 cd "$ac_pwd" || { ac_status=$?; break; }
2229 test -n "$ac_init_help" && exit $ac_status
2230 if $ac_init_version; then
2232 GStreamer Base Plug-ins configure 0.10.34
2233 generated by GNU Autoconf 2.67
2235 Copyright (C) 2010 Free Software Foundation, Inc.
2236 This configure script is free software; the Free Software Foundation
2237 gives unlimited permission to copy, distribute and modify it.
2242 ## ------------------------ ##
2243 ## Autoconf initialization. ##
2244 ## ------------------------ ##
2246 # ac_fn_c_try_compile LINENO
2247 # --------------------------
2248 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2249 ac_fn_c_try_compile ()
2251 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2252 rm -f conftest.$ac_objext
2253 if { { ac_try="$ac_compile"
2255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2256 *) ac_try_echo=$ac_try;;
2258 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2259 $as_echo "$ac_try_echo"; } >&5
2260 (eval "$ac_compile") 2>conftest.err
2262 if test -s conftest.err; then
2263 grep -v '^ *+' conftest.err >conftest.er1
2264 cat conftest.er1 >&5
2265 mv -f conftest.er1 conftest.err
2267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2268 test $ac_status = 0; } && {
2269 test -z "$ac_c_werror_flag" ||
2270 test ! -s conftest.err
2271 } && test -s conftest.$ac_objext; then :
2274 $as_echo "$as_me: failed program was:" >&5
2275 sed 's/^/| /' conftest.$ac_ext >&5
2279 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2280 as_fn_set_status $ac_retval
2282 } # ac_fn_c_try_compile
2284 # ac_fn_c_try_link LINENO
2285 # -----------------------
2286 # Try to link conftest.$ac_ext, and return whether this succeeded.
2289 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2290 rm -f conftest.$ac_objext conftest$ac_exeext
2291 if { { ac_try="$ac_link"
2293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2294 *) ac_try_echo=$ac_try;;
2296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2297 $as_echo "$ac_try_echo"; } >&5
2298 (eval "$ac_link") 2>conftest.err
2300 if test -s conftest.err; then
2301 grep -v '^ *+' conftest.err >conftest.er1
2302 cat conftest.er1 >&5
2303 mv -f conftest.er1 conftest.err
2305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2306 test $ac_status = 0; } && {
2307 test -z "$ac_c_werror_flag" ||
2308 test ! -s conftest.err
2309 } && test -s conftest$ac_exeext && {
2310 test "$cross_compiling" = yes ||
2311 $as_test_x conftest$ac_exeext
2315 $as_echo "$as_me: failed program was:" >&5
2316 sed 's/^/| /' conftest.$ac_ext >&5
2320 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2321 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2322 # interfere with the next link command; also delete a directory that is
2323 # left behind by Apple's compiler. We do this before executing the actions.
2324 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2325 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2326 as_fn_set_status $ac_retval
2328 } # ac_fn_c_try_link
2330 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2331 # -------------------------------------------------------
2332 # Tests whether HEADER exists and can be compiled using the include files in
2333 # INCLUDES, setting the cache variable VAR accordingly.
2334 ac_fn_c_check_header_compile ()
2336 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2338 $as_echo_n "checking for $2... " >&6; }
2339 if eval "test \"\${$3+set}\"" = set; then :
2340 $as_echo_n "(cached) " >&6
2342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2343 /* end confdefs.h. */
2347 if ac_fn_c_try_compile "$LINENO"; then :
2352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2356 $as_echo "$ac_res" >&6; }
2357 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2359 } # ac_fn_c_check_header_compile
2361 # ac_fn_c_try_cpp LINENO
2362 # ----------------------
2363 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2366 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2367 if { { ac_try="$ac_cpp conftest.$ac_ext"
2369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2370 *) ac_try_echo=$ac_try;;
2372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2373 $as_echo "$ac_try_echo"; } >&5
2374 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2376 if test -s conftest.err; then
2377 grep -v '^ *+' conftest.err >conftest.er1
2378 cat conftest.er1 >&5
2379 mv -f conftest.er1 conftest.err
2381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2382 test $ac_status = 0; } > conftest.i && {
2383 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2384 test ! -s conftest.err
2388 $as_echo "$as_me: failed program was:" >&5
2389 sed 's/^/| /' conftest.$ac_ext >&5
2393 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2394 as_fn_set_status $ac_retval
2398 # ac_fn_c_try_run LINENO
2399 # ----------------------
2400 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2401 # that executables *can* be run.
2404 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2405 if { { ac_try="$ac_link"
2407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2408 *) ac_try_echo=$ac_try;;
2410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2411 $as_echo "$ac_try_echo"; } >&5
2412 (eval "$ac_link") 2>&5
2414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2415 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2416 { { case "(($ac_try" in
2417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2418 *) ac_try_echo=$ac_try;;
2420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2421 $as_echo "$ac_try_echo"; } >&5
2422 (eval "$ac_try") 2>&5
2424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2425 test $ac_status = 0; }; }; then :
2428 $as_echo "$as_me: program exited with status $ac_status" >&5
2429 $as_echo "$as_me: failed program was:" >&5
2430 sed 's/^/| /' conftest.$ac_ext >&5
2432 ac_retval=$ac_status
2434 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2435 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2436 as_fn_set_status $ac_retval
2440 # ac_fn_c_check_func LINENO FUNC VAR
2441 # ----------------------------------
2442 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2443 ac_fn_c_check_func ()
2445 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2447 $as_echo_n "checking for $2... " >&6; }
2448 if eval "test \"\${$3+set}\"" = set; then :
2449 $as_echo_n "(cached) " >&6
2451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2452 /* end confdefs.h. */
2453 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2455 #define $2 innocuous_$2
2457 /* System header to define __stub macros and hopefully few prototypes,
2458 which can conflict with char $2 (); below.
2459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2460 <limits.h> exists even on freestanding compilers. */
2463 # include <limits.h>
2465 # include <assert.h>
2470 /* Override any GCC internal prototype to avoid an error.
2471 Use char because int might match the return type of a GCC
2472 builtin and then its argument prototype would still apply. */
2477 /* The GNU C library defines this for functions which it implements
2478 to always fail with ENOSYS. Some functions are actually named
2479 something starting with __ and the normal name is an alias. */
2480 #if defined __stub_$2 || defined __stub___$2
2492 if ac_fn_c_try_link "$LINENO"; then :
2497 rm -f core conftest.err conftest.$ac_objext \
2498 conftest$ac_exeext conftest.$ac_ext
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2502 $as_echo "$ac_res" >&6; }
2503 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2505 } # ac_fn_c_check_func
2507 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2508 # ---------------------------------------------
2509 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2511 ac_fn_c_check_decl ()
2513 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2514 as_decl_name=`echo $2|sed 's/ *(.*//'`
2515 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2517 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2518 if eval "test \"\${$3+set}\"" = set; then :
2519 $as_echo_n "(cached) " >&6
2521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2522 /* end confdefs.h. */
2527 #ifndef $as_decl_name
2529 (void) $as_decl_use;
2531 (void) $as_decl_name;
2539 if ac_fn_c_try_compile "$LINENO"; then :
2544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2548 $as_echo "$ac_res" >&6; }
2549 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2551 } # ac_fn_c_check_decl
2553 # ac_fn_cxx_try_compile LINENO
2554 # ----------------------------
2555 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2556 ac_fn_cxx_try_compile ()
2558 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2559 rm -f conftest.$ac_objext
2560 if { { ac_try="$ac_compile"
2562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2563 *) ac_try_echo=$ac_try;;
2565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2566 $as_echo "$ac_try_echo"; } >&5
2567 (eval "$ac_compile") 2>conftest.err
2569 if test -s conftest.err; then
2570 grep -v '^ *+' conftest.err >conftest.er1
2571 cat conftest.er1 >&5
2572 mv -f conftest.er1 conftest.err
2574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2575 test $ac_status = 0; } && {
2576 test -z "$ac_cxx_werror_flag" ||
2577 test ! -s conftest.err
2578 } && test -s conftest.$ac_objext; then :
2581 $as_echo "$as_me: failed program was:" >&5
2582 sed 's/^/| /' conftest.$ac_ext >&5
2586 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2587 as_fn_set_status $ac_retval
2589 } # ac_fn_cxx_try_compile
2591 # ac_fn_cxx_try_cpp LINENO
2592 # ------------------------
2593 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2594 ac_fn_cxx_try_cpp ()
2596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2597 if { { ac_try="$ac_cpp conftest.$ac_ext"
2599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2600 *) ac_try_echo=$ac_try;;
2602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2603 $as_echo "$ac_try_echo"; } >&5
2604 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2606 if test -s conftest.err; then
2607 grep -v '^ *+' conftest.err >conftest.er1
2608 cat conftest.er1 >&5
2609 mv -f conftest.er1 conftest.err
2611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2612 test $ac_status = 0; } > conftest.i && {
2613 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2614 test ! -s conftest.err
2618 $as_echo "$as_me: failed program was:" >&5
2619 sed 's/^/| /' conftest.$ac_ext >&5
2623 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2624 as_fn_set_status $ac_retval
2626 } # ac_fn_cxx_try_cpp
2628 # ac_fn_cxx_try_link LINENO
2629 # -------------------------
2630 # Try to link conftest.$ac_ext, and return whether this succeeded.
2631 ac_fn_cxx_try_link ()
2633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2634 rm -f conftest.$ac_objext conftest$ac_exeext
2635 if { { ac_try="$ac_link"
2637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638 *) ac_try_echo=$ac_try;;
2640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2641 $as_echo "$ac_try_echo"; } >&5
2642 (eval "$ac_link") 2>conftest.err
2644 if test -s conftest.err; then
2645 grep -v '^ *+' conftest.err >conftest.er1
2646 cat conftest.er1 >&5
2647 mv -f conftest.er1 conftest.err
2649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2650 test $ac_status = 0; } && {
2651 test -z "$ac_cxx_werror_flag" ||
2652 test ! -s conftest.err
2653 } && test -s conftest$ac_exeext && {
2654 test "$cross_compiling" = yes ||
2655 $as_test_x conftest$ac_exeext
2659 $as_echo "$as_me: failed program was:" >&5
2660 sed 's/^/| /' conftest.$ac_ext >&5
2664 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2665 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2666 # interfere with the next link command; also delete a directory that is
2667 # left behind by Apple's compiler. We do this before executing the actions.
2668 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2669 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2670 as_fn_set_status $ac_retval
2672 } # ac_fn_cxx_try_link
2674 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2675 # -------------------------------------------------------
2676 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2677 # the include files in INCLUDES and setting the cache variable VAR
2679 ac_fn_c_check_header_mongrel ()
2681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2682 if eval "test \"\${$3+set}\"" = set; then :
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2684 $as_echo_n "checking for $2... " >&6; }
2685 if eval "test \"\${$3+set}\"" = set; then :
2686 $as_echo_n "(cached) " >&6
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2690 $as_echo "$ac_res" >&6; }
2692 # Is the header compilable?
2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2694 $as_echo_n "checking $2 usability... " >&6; }
2695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2696 /* end confdefs.h. */
2700 if ac_fn_c_try_compile "$LINENO"; then :
2701 ac_header_compiler=yes
2703 ac_header_compiler=no
2705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2707 $as_echo "$ac_header_compiler" >&6; }
2709 # Is the header present?
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2711 $as_echo_n "checking $2 presence... " >&6; }
2712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2713 /* end confdefs.h. */
2716 if ac_fn_c_try_cpp "$LINENO"; then :
2717 ac_header_preproc=yes
2719 ac_header_preproc=no
2721 rm -f conftest.err conftest.i conftest.$ac_ext
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2723 $as_echo "$ac_header_preproc" >&6; }
2725 # So? What about this header?
2726 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2729 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2731 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2735 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2737 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2739 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2741 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2743 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2744 ( $as_echo "## ------------------------------------------------------------------------ ##
2745 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
2746 ## ------------------------------------------------------------------------ ##"
2747 ) | sed "s/^/$as_me: WARNING: /" >&2
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2751 $as_echo_n "checking for $2... " >&6; }
2752 if eval "test \"\${$3+set}\"" = set; then :
2753 $as_echo_n "(cached) " >&6
2755 eval "$3=\$ac_header_compiler"
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2759 $as_echo "$ac_res" >&6; }
2761 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2763 } # ac_fn_c_check_header_mongrel
2765 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2766 # -------------------------------------------
2767 # Tests whether TYPE exists after having included INCLUDES, setting cache
2768 # variable VAR accordingly.
2769 ac_fn_c_check_type ()
2771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2773 $as_echo_n "checking for $2... " >&6; }
2774 if eval "test \"\${$3+set}\"" = set; then :
2775 $as_echo_n "(cached) " >&6
2778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2779 /* end confdefs.h. */
2790 if ac_fn_c_try_compile "$LINENO"; then :
2791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2792 /* end confdefs.h. */
2803 if ac_fn_c_try_compile "$LINENO"; then :
2808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2814 $as_echo "$ac_res" >&6; }
2815 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2817 } # ac_fn_c_check_type
2819 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2820 # --------------------------------------------
2821 # Tries to find the compile-time value of EXPR in a program that includes
2822 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2824 ac_fn_c_compute_int ()
2826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2827 if test "$cross_compiling" = yes; then
2828 # Depending upon the size, compute the lo and hi bounds.
2829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2830 /* end confdefs.h. */
2835 static int test_array [1 - 2 * !(($2) >= 0)];
2842 if ac_fn_c_try_compile "$LINENO"; then :
2845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2846 /* end confdefs.h. */
2851 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2858 if ac_fn_c_try_compile "$LINENO"; then :
2859 ac_hi=$ac_mid; break
2861 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2862 if test $ac_lo -le $ac_mid; then
2866 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2872 /* end confdefs.h. */
2877 static int test_array [1 - 2 * !(($2) < 0)];
2884 if ac_fn_c_try_compile "$LINENO"; then :
2887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2888 /* end confdefs.h. */
2893 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2900 if ac_fn_c_try_compile "$LINENO"; then :
2901 ac_lo=$ac_mid; break
2903 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2904 if test $ac_mid -le $ac_hi; then
2908 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2918 # Binary search between lo and hi bounds.
2919 while test "x$ac_lo" != "x$ac_hi"; do
2920 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2922 /* end confdefs.h. */
2927 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2934 if ac_fn_c_try_compile "$LINENO"; then :
2937 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2942 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2947 /* end confdefs.h. */
2949 static long int longval () { return $2; }
2950 static unsigned long int ulongval () { return $2; }
2957 FILE *f = fopen ("conftest.val", "w");
2962 long int i = longval ();
2965 fprintf (f, "%ld", i);
2969 unsigned long int i = ulongval ();
2972 fprintf (f, "%lu", i);
2974 /* Do not output a trailing newline, as this causes \r\n confusion
2975 on some platforms. */
2976 return ferror (f) || fclose (f) != 0;
2982 if ac_fn_c_try_run "$LINENO"; then :
2983 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2987 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2988 conftest.$ac_objext conftest.beam conftest.$ac_ext
2992 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2993 as_fn_set_status $ac_retval
2995 } # ac_fn_c_compute_int
2996 cat >config.log <<_ACEOF
2997 This file contains any messages produced by compilers while
2998 running configure, to aid debugging if configure makes a mistake.
3000 It was created by GStreamer Base Plug-ins $as_me 0.10.34, which was
3001 generated by GNU Autoconf 2.67. Invocation command line was
3013 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3014 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3015 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3016 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3017 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3019 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3020 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3022 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3023 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3024 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3025 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3026 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3027 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3028 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3036 test -z "$as_dir" && as_dir=.
3037 $as_echo "PATH: $as_dir"
3053 # Keep a trace of the command line.
3054 # Strip out --no-create and --no-recursion so they do not pile up.
3055 # Strip out --silent because we don't want to record it for future runs.
3056 # Also quote any args containing shell meta-characters.
3057 # Make two passes to allow for proper duplicate-argument suppression.
3061 ac_must_keep_next=false
3067 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3069 | -silent | --silent | --silen | --sile | --sil)
3072 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3075 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3077 as_fn_append ac_configure_args1 " '$ac_arg'"
3078 if test $ac_must_keep_next = true; then
3079 ac_must_keep_next=false # Got value, back to normal.
3082 *=* | --config-cache | -C | -disable-* | --disable-* \
3083 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3084 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3085 | -with-* | --with-* | -without-* | --without-* | --x)
3086 case "$ac_configure_args0 " in
3087 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3090 -* ) ac_must_keep_next=true ;;
3093 as_fn_append ac_configure_args " '$ac_arg'"
3098 { ac_configure_args0=; unset ac_configure_args0;}
3099 { ac_configure_args1=; unset ac_configure_args1;}
3101 # When interrupted or exit'd, cleanup temporary files, and complete
3102 # config.log. We remove comments because anyway the quotes in there
3103 # would cause problems or look ugly.
3104 # WARNING: Use '\'' to represent an apostrophe within the trap.
3105 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3106 trap 'exit_status=$?
3107 # Save into config.log some information that might help in debugging.
3111 $as_echo "## ---------------- ##
3112 ## Cache variables. ##
3113 ## ---------------- ##"
3115 # The following way of writing the cache mishandles newlines in values,
3117 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3118 eval ac_val=\$$ac_var
3122 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3123 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3126 _ | IFS | as_nl) ;; #(
3127 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3128 *) { eval $ac_var=; unset $ac_var;} ;;
3133 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3134 *${as_nl}ac_space=\ *)
3136 "s/'\''/'\''\\\\'\'''\''/g;
3137 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3140 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3147 $as_echo "## ----------------- ##
3148 ## Output variables. ##
3149 ## ----------------- ##"
3151 for ac_var in $ac_subst_vars
3153 eval ac_val=\$$ac_var
3155 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3157 $as_echo "$ac_var='\''$ac_val'\''"
3161 if test -n "$ac_subst_files"; then
3162 $as_echo "## ------------------- ##
3163 ## File substitutions. ##
3164 ## ------------------- ##"
3166 for ac_var in $ac_subst_files
3168 eval ac_val=\$$ac_var
3170 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3172 $as_echo "$ac_var='\''$ac_val'\''"
3177 if test -s confdefs.h; then
3178 $as_echo "## ----------- ##
3185 test "$ac_signal" != 0 &&
3186 $as_echo "$as_me: caught signal $ac_signal"
3187 $as_echo "$as_me: exit $exit_status"
3189 rm -f core *.core core.conftest.* &&
3190 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3193 for ac_signal in 1 2 13 15; do
3194 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3198 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3199 rm -f -r conftest* confdefs.h
3201 $as_echo "/* confdefs.h */" > confdefs.h
3203 # Predefined preprocessor variables.
3205 cat >>confdefs.h <<_ACEOF
3206 #define PACKAGE_NAME "$PACKAGE_NAME"
3209 cat >>confdefs.h <<_ACEOF
3210 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3213 cat >>confdefs.h <<_ACEOF
3214 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3217 cat >>confdefs.h <<_ACEOF
3218 #define PACKAGE_STRING "$PACKAGE_STRING"
3221 cat >>confdefs.h <<_ACEOF
3222 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3225 cat >>confdefs.h <<_ACEOF
3226 #define PACKAGE_URL "$PACKAGE_URL"
3230 # Let the site file select an alternate cache file if it wants to.
3231 # Prefer an explicitly selected file to automatically selected ones.
3234 if test -n "$CONFIG_SITE"; then
3235 # We do not want a PATH search for config.site.
3236 case $CONFIG_SITE in #((
3237 -*) ac_site_file1=./$CONFIG_SITE;;
3238 */*) ac_site_file1=$CONFIG_SITE;;
3239 *) ac_site_file1=./$CONFIG_SITE;;
3241 elif test "x$prefix" != xNONE; then
3242 ac_site_file1=$prefix/share/config.site
3243 ac_site_file2=$prefix/etc/config.site
3245 ac_site_file1=$ac_default_prefix/share/config.site
3246 ac_site_file2=$ac_default_prefix/etc/config.site
3248 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3250 test "x$ac_site_file" = xNONE && continue
3251 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3253 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3254 sed 's/^/| /' "$ac_site_file" >&5
3256 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3258 as_fn_error $? "failed to load site script $ac_site_file
3259 See \`config.log' for more details" "$LINENO" 5 ; }
3263 if test -r "$cache_file"; then
3264 # Some versions of bash will fail to source /dev/null (special files
3265 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3266 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3268 $as_echo "$as_me: loading cache $cache_file" >&6;}
3270 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3271 *) . "./$cache_file";;
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3276 $as_echo "$as_me: creating cache $cache_file" >&6;}
3280 gt_needs="$gt_needs "
3281 # Check that the precious variables saved in the cache have kept the same
3283 ac_cache_corrupted=false
3284 for ac_var in $ac_precious_vars; do
3285 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3286 eval ac_new_set=\$ac_env_${ac_var}_set
3287 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3288 eval ac_new_val=\$ac_env_${ac_var}_value
3289 case $ac_old_set,$ac_new_set in
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3292 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3293 ac_cache_corrupted=: ;;
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3296 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3297 ac_cache_corrupted=: ;;
3300 if test "x$ac_old_val" != "x$ac_new_val"; then
3301 # differences in whitespace do not lead to failure.
3302 ac_old_val_w=`echo x $ac_old_val`
3303 ac_new_val_w=`echo x $ac_new_val`
3304 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3306 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3307 ac_cache_corrupted=:
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3310 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3311 eval $ac_var=\$ac_old_val
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3314 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3316 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3319 # Pass precious variables to config.status.
3320 if test "$ac_new_set" = set; then
3322 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3323 *) ac_arg=$ac_var=$ac_new_val ;;
3325 case " $ac_configure_args " in
3326 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3327 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3331 if $ac_cache_corrupted; then
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3333 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3335 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3336 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3338 ## -------------------- ##
3339 ## Main body of script. ##
3340 ## -------------------- ##
3343 ac_cpp='$CPP $CPPFLAGS'
3344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3354 am__api_version='1.11'
3357 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3358 if test -f "$ac_dir/install-sh"; then
3360 ac_install_sh="$ac_aux_dir/install-sh -c"
3362 elif test -f "$ac_dir/install.sh"; then
3364 ac_install_sh="$ac_aux_dir/install.sh -c"
3366 elif test -f "$ac_dir/shtool"; then
3368 ac_install_sh="$ac_aux_dir/shtool install -c"
3372 if test -z "$ac_aux_dir"; then
3373 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3376 # These three variables are undocumented and unsupported,
3377 # and are intended to be withdrawn in a future Autoconf release.
3378 # They can cause serious problems if a builder's source tree is in a directory
3379 # whose full name contains unusual characters.
3380 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3381 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3382 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3385 # Find a good install program. We prefer a C program (faster),
3386 # so one script is as good as another. But avoid the broken or
3387 # incompatible versions:
3388 # SysV /etc/install, /usr/sbin/install
3389 # SunOS /usr/etc/install
3390 # IRIX /sbin/install
3392 # AmigaOS /C/install, which installs bootblocks on floppy discs
3393 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3394 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3395 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3396 # OS/2's system install, which has a completely different semantic
3397 # ./install, which can be erroneously created by make from ./install.sh.
3398 # Reject install programs that cannot install multiple files.
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3400 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3401 if test -z "$INSTALL"; then
3402 if test "${ac_cv_path_install+set}" = set; then :
3403 $as_echo_n "(cached) " >&6
3405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3409 test -z "$as_dir" && as_dir=.
3410 # Account for people who put trailing slashes in PATH elements.
3411 case $as_dir/ in #((
3412 ./ | .// | /[cC]/* | \
3413 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3414 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3417 # OSF1 and SCO ODT 3.0 have their own names for install.
3418 # Don't use installbsd from OSF since it installs stuff as root
3420 for ac_prog in ginstall scoinst install; do
3421 for ac_exec_ext in '' $ac_executable_extensions; do
3422 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3423 if test $ac_prog = install &&
3424 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3425 # AIX install. It has an incompatible calling convention.
3427 elif test $ac_prog = install &&
3428 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3429 # program-specific install script used by HP pwplus--don't use.
3432 rm -rf conftest.one conftest.two conftest.dir
3433 echo one > conftest.one
3434 echo two > conftest.two
3436 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3437 test -s conftest.one && test -s conftest.two &&
3438 test -s conftest.dir/conftest.one &&
3439 test -s conftest.dir/conftest.two
3441 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3454 rm -rf conftest.one conftest.two conftest.dir
3457 if test "${ac_cv_path_install+set}" = set; then
3458 INSTALL=$ac_cv_path_install
3460 # As a last resort, use the slow shell script. Don't cache a
3461 # value for INSTALL within a source directory, because that will
3462 # break other packages using the cache if that directory is
3463 # removed, or if the value is a relative name.
3464 INSTALL=$ac_install_sh
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3468 $as_echo "$INSTALL" >&6; }
3470 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3471 # It thinks the first close brace ends the variable substitution.
3472 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3474 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3476 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3479 $as_echo_n "checking whether build environment is sane... " >&6; }
3482 echo timestamp > conftest.file
3483 # Reject unsafe characters in $srcdir or the absolute working directory
3484 # name. Accept space and tab only in the latter.
3488 *[\\\"\#\$\&\'\`$am_lf]*)
3489 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3492 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3493 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3496 # Do `set' in a subshell so we don't clobber the current shell's
3497 # arguments. Must try -L first in case configure is actually a
3498 # symlink; some systems play weird games with the mod time of symlinks
3499 # (eg FreeBSD returns the mod time of the symlink's containing
3502 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3503 if test "$*" = "X"; then
3505 set X `ls -t "$srcdir/configure" conftest.file`
3508 if test "$*" != "X $srcdir/configure conftest.file" \
3509 && test "$*" != "X conftest.file $srcdir/configure"; then
3511 # If neither matched, then we have a broken ls. This can happen
3512 # if, for instance, CONFIG_SHELL is bash and it inherits a
3513 # broken ls alias from the environment. This has actually
3514 # happened. Such a system could not be considered "sane".
3515 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3516 alias in your environment" "$LINENO" 5
3519 test "$2" = conftest.file
3525 as_fn_error $? "newly created file is older than distributed files!
3526 Check your system clock" "$LINENO" 5
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3529 $as_echo "yes" >&6; }
3530 test "$program_prefix" != NONE &&
3531 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3532 # Use a double $ so make ignores it.
3533 test "$program_suffix" != NONE &&
3534 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3535 # Double any \ or $.
3536 # By default was `s,x,x', remove it if useless.
3537 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3538 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3540 # expand $ac_aux_dir to an absolute path
3541 am_aux_dir=`cd $ac_aux_dir && pwd`
3543 if test x"${MISSING+set}" != xset; then
3546 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3548 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3551 # Use eval to expand $SHELL
3552 if eval "$MISSING --run true"; then
3553 am_missing_run="$MISSING --run "
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3557 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3560 if test x"${install_sh}" != xset; then
3563 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3565 install_sh="\${SHELL} $am_aux_dir/install-sh"
3569 # Installed binaries are usually stripped using `strip' when the user
3570 # run `make install-strip'. However `strip' might not be the right
3571 # tool to use in cross-compilation environments, therefore Automake
3572 # will honor the `STRIP' environment variable to overrule this program.
3573 if test "$cross_compiling" != no; then
3574 if test -n "$ac_tool_prefix"; then
3575 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3576 set dummy ${ac_tool_prefix}strip; ac_word=$2
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3578 $as_echo_n "checking for $ac_word... " >&6; }
3579 if test "${ac_cv_prog_STRIP+set}" = set; then :
3580 $as_echo_n "(cached) " >&6
3582 if test -n "$STRIP"; then
3583 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3589 test -z "$as_dir" && as_dir=.
3590 for ac_exec_ext in '' $ac_executable_extensions; do
3591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3592 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3602 STRIP=$ac_cv_prog_STRIP
3603 if test -n "$STRIP"; then
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3605 $as_echo "$STRIP" >&6; }
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3608 $as_echo "no" >&6; }
3613 if test -z "$ac_cv_prog_STRIP"; then
3615 # Extract the first word of "strip", so it can be a program name with args.
3616 set dummy strip; ac_word=$2
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3618 $as_echo_n "checking for $ac_word... " >&6; }
3619 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3620 $as_echo_n "(cached) " >&6
3622 if test -n "$ac_ct_STRIP"; then
3623 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3629 test -z "$as_dir" && as_dir=.
3630 for ac_exec_ext in '' $ac_executable_extensions; do
3631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3632 ac_cv_prog_ac_ct_STRIP="strip"
3633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3642 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3643 if test -n "$ac_ct_STRIP"; then
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3645 $as_echo "$ac_ct_STRIP" >&6; }
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3648 $as_echo "no" >&6; }
3651 if test "x$ac_ct_STRIP" = x; then
3654 case $cross_compiling:$ac_tool_warned in
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3658 ac_tool_warned=yes ;;
3663 STRIP="$ac_cv_prog_STRIP"
3667 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3670 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3671 if test -z "$MKDIR_P"; then
3672 if test "${ac_cv_path_mkdir+set}" = set; then :
3673 $as_echo_n "(cached) " >&6
3675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3676 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3679 test -z "$as_dir" && as_dir=.
3680 for ac_prog in mkdir gmkdir; do
3681 for ac_exec_ext in '' $ac_executable_extensions; do
3682 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3683 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3684 'mkdir (GNU coreutils) '* | \
3685 'mkdir (coreutils) '* | \
3686 'mkdir (fileutils) '4.1*)
3687 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3697 test -d ./--version && rmdir ./--version
3698 if test "${ac_cv_path_mkdir+set}" = set; then
3699 MKDIR_P="$ac_cv_path_mkdir -p"
3701 # As a last resort, use the slow shell script. Don't cache a
3702 # value for MKDIR_P within a source directory, because that will
3703 # break other packages using the cache if that directory is
3704 # removed, or if the value is a relative name.
3705 MKDIR_P="$ac_install_sh -d"
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3709 $as_echo "$MKDIR_P" >&6; }
3713 [\\/$]* | ?:[\\/]*) ;;
3714 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3717 for ac_prog in gawk mawk nawk awk
3719 # Extract the first word of "$ac_prog", so it can be a program name with args.
3720 set dummy $ac_prog; ac_word=$2
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3722 $as_echo_n "checking for $ac_word... " >&6; }
3723 if test "${ac_cv_prog_AWK+set}" = set; then :
3724 $as_echo_n "(cached) " >&6
3726 if test -n "$AWK"; then
3727 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3733 test -z "$as_dir" && as_dir=.
3734 for ac_exec_ext in '' $ac_executable_extensions; do
3735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3736 ac_cv_prog_AWK="$ac_prog"
3737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3747 if test -n "$AWK"; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3749 $as_echo "$AWK" >&6; }
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3752 $as_echo "no" >&6; }
3756 test -n "$AWK" && break
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3760 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3762 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3763 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3764 $as_echo_n "(cached) " >&6
3766 cat >conftest.make <<\_ACEOF
3769 @echo '@@@%%%=$(MAKE)=@@@%%%'
3771 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3772 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3774 eval ac_cv_prog_make_${ac_make}_set=yes;;
3776 eval ac_cv_prog_make_${ac_make}_set=no;;
3780 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3782 $as_echo "yes" >&6; }
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3786 $as_echo "no" >&6; }
3787 SET_MAKE="MAKE=${MAKE-make}"
3790 rm -rf .tst 2>/dev/null
3791 mkdir .tst 2>/dev/null
3792 if test -d .tst; then
3797 rmdir .tst 2>/dev/null
3799 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3800 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3801 # is not polluted with repeated "-I."
3802 am__isrc=' -I$(srcdir)'
3803 # test to see if srcdir already configured
3804 if test -f $srcdir/config.status; then
3805 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3809 # test whether we have cygpath
3810 if test -z "$CYGPATH_W"; then
3811 if (cygpath --version) >/dev/null 2>/dev/null; then
3812 CYGPATH_W='cygpath -w'
3819 # Define the identity of the package.
3820 PACKAGE='gst-plugins-base'
3824 cat >>confdefs.h <<_ACEOF
3825 #define PACKAGE "$PACKAGE"
3829 cat >>confdefs.h <<_ACEOF
3830 #define VERSION "$VERSION"
3833 # Some tools Automake needs.
3835 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3838 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3841 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3844 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3847 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3849 # We need awk for the "check" target. The system "awk" is bad on
3851 # Always define AMTAR for backward compatibility.
3853 AMTAR=${AMTAR-"${am_missing_run}tar"}
3855 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3863 PACKAGE_VERSION_MAJOR=$(echo 0.10.34 | cut -d'.' -f1)
3864 PACKAGE_VERSION_MINOR=$(echo 0.10.34 | cut -d'.' -f2)
3865 PACKAGE_VERSION_MICRO=$(echo 0.10.34 | cut -d'.' -f3)
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
3874 $as_echo_n "checking nano version... " >&6; }
3876 NANO=$(echo 0.10.34 | cut -d'.' -f4)
3878 if test x"$NANO" = x || test "x$NANO" = "x0" ; then
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
3880 $as_echo "0 (release)" >&6; }
3882 PACKAGE_VERSION_RELEASE=1
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
3886 $as_echo "$NANO" >&6; }
3887 PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
3888 if test "x$NANO" != "x1" ; then
3894 PACKAGE_VERSION_NANO=$NANO
3901 ac_config_headers="$ac_config_headers config.h"
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3906 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3907 # Check whether --enable-maintainer-mode was given.
3908 if test "${enable_maintainer_mode+set}" = set; then :
3909 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3911 USE_MAINTAINER_MODE=no
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3915 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3916 if test $USE_MAINTAINER_MODE = yes; then
3917 MAINTAINER_MODE_TRUE=
3918 MAINTAINER_MODE_FALSE='#'
3920 MAINTAINER_MODE_TRUE='#'
3921 MAINTAINER_MODE_FALSE=
3924 MAINT=$MAINTAINER_MODE_TRUE
3928 # Make sure we can run config.sub.
3929 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3930 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3933 $as_echo_n "checking build system type... " >&6; }
3934 if test "${ac_cv_build+set}" = set; then :
3935 $as_echo_n "(cached) " >&6
3937 ac_build_alias=$build_alias
3938 test "x$ac_build_alias" = x &&
3939 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3940 test "x$ac_build_alias" = x &&
3941 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3942 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3943 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3947 $as_echo "$ac_cv_build" >&6; }
3948 case $ac_cv_build in
3950 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3953 ac_save_IFS=$IFS; IFS='-'
3959 # Remember, the first character of IFS is used to create $*,
3960 # except with old shells:
3963 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3967 $as_echo_n "checking host system type... " >&6; }
3968 if test "${ac_cv_host+set}" = set; then :
3969 $as_echo_n "(cached) " >&6
3971 if test "x$host_alias" = x; then
3972 ac_cv_host=$ac_cv_build
3974 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3975 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3980 $as_echo "$ac_cv_host" >&6; }
3983 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3986 ac_save_IFS=$IFS; IFS='-'
3992 # Remember, the first character of IFS is used to create $*,
3993 # except with old shells:
3996 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4000 # Check whether --enable-silent-rules was given.
4001 if test "${enable_silent_rules+set}" = set; then :
4002 enableval=$enable_silent_rules;
4005 case $enable_silent_rules in
4006 yes) AM_DEFAULT_VERBOSITY=0;;
4007 no) AM_DEFAULT_VERBOSITY=1;;
4008 *) AM_DEFAULT_VERBOSITY=0;;
4013 GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
4021 GST_LIBVERSION=24:0:24
4027 GST_LT_LDFLAGS="$GST_LT_LDFLAGS -version-info $GST_LIBVERSION"
4030 GST_LT_LDFLAGS="$GST_LT_LDFLAGS -release "
4041 enable_win32_dll=yes
4044 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
4045 if test -n "$ac_tool_prefix"; then
4046 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4047 set dummy ${ac_tool_prefix}as; ac_word=$2
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4049 $as_echo_n "checking for $ac_word... " >&6; }
4050 if test "${ac_cv_prog_AS+set}" = set; then :
4051 $as_echo_n "(cached) " >&6
4053 if test -n "$AS"; then
4054 ac_cv_prog_AS="$AS" # Let the user override the test.
4056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4060 test -z "$as_dir" && as_dir=.
4061 for ac_exec_ext in '' $ac_executable_extensions; do
4062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4063 ac_cv_prog_AS="${ac_tool_prefix}as"
4064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4074 if test -n "$AS"; then
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4076 $as_echo "$AS" >&6; }
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4079 $as_echo "no" >&6; }
4084 if test -z "$ac_cv_prog_AS"; then
4086 # Extract the first word of "as", so it can be a program name with args.
4087 set dummy as; ac_word=$2
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4089 $as_echo_n "checking for $ac_word... " >&6; }
4090 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4091 $as_echo_n "(cached) " >&6
4093 if test -n "$ac_ct_AS"; then
4094 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4100 test -z "$as_dir" && as_dir=.
4101 for ac_exec_ext in '' $ac_executable_extensions; do
4102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4103 ac_cv_prog_ac_ct_AS="as"
4104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4113 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4114 if test -n "$ac_ct_AS"; then
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4116 $as_echo "$ac_ct_AS" >&6; }
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4119 $as_echo "no" >&6; }
4122 if test "x$ac_ct_AS" = x; then
4125 case $cross_compiling:$ac_tool_warned in
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4129 ac_tool_warned=yes ;;
4137 if test -n "$ac_tool_prefix"; then
4138 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4139 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4141 $as_echo_n "checking for $ac_word... " >&6; }
4142 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
4143 $as_echo_n "(cached) " >&6
4145 if test -n "$DLLTOOL"; then
4146 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4152 test -z "$as_dir" && as_dir=.
4153 for ac_exec_ext in '' $ac_executable_extensions; do
4154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4155 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4165 DLLTOOL=$ac_cv_prog_DLLTOOL
4166 if test -n "$DLLTOOL"; then
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4168 $as_echo "$DLLTOOL" >&6; }
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4171 $as_echo "no" >&6; }
4176 if test -z "$ac_cv_prog_DLLTOOL"; then
4177 ac_ct_DLLTOOL=$DLLTOOL
4178 # Extract the first word of "dlltool", so it can be a program name with args.
4179 set dummy dlltool; ac_word=$2
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4181 $as_echo_n "checking for $ac_word... " >&6; }
4182 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
4183 $as_echo_n "(cached) " >&6
4185 if test -n "$ac_ct_DLLTOOL"; then
4186 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4192 test -z "$as_dir" && as_dir=.
4193 for ac_exec_ext in '' $ac_executable_extensions; do
4194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4195 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4205 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4206 if test -n "$ac_ct_DLLTOOL"; then
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4208 $as_echo "$ac_ct_DLLTOOL" >&6; }
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4211 $as_echo "no" >&6; }
4214 if test "x$ac_ct_DLLTOOL" = x; then
4217 case $cross_compiling:$ac_tool_warned in
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4221 ac_tool_warned=yes ;;
4223 DLLTOOL=$ac_ct_DLLTOOL
4226 DLLTOOL="$ac_cv_prog_DLLTOOL"
4229 if test -n "$ac_tool_prefix"; then
4230 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4231 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4233 $as_echo_n "checking for $ac_word... " >&6; }
4234 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4235 $as_echo_n "(cached) " >&6
4237 if test -n "$OBJDUMP"; then
4238 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4244 test -z "$as_dir" && as_dir=.
4245 for ac_exec_ext in '' $ac_executable_extensions; do
4246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4247 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4257 OBJDUMP=$ac_cv_prog_OBJDUMP
4258 if test -n "$OBJDUMP"; then
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4260 $as_echo "$OBJDUMP" >&6; }
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4263 $as_echo "no" >&6; }
4268 if test -z "$ac_cv_prog_OBJDUMP"; then
4269 ac_ct_OBJDUMP=$OBJDUMP
4270 # Extract the first word of "objdump", so it can be a program name with args.
4271 set dummy objdump; ac_word=$2
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4273 $as_echo_n "checking for $ac_word... " >&6; }
4274 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4275 $as_echo_n "(cached) " >&6
4277 if test -n "$ac_ct_OBJDUMP"; then
4278 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4284 test -z "$as_dir" && as_dir=.
4285 for ac_exec_ext in '' $ac_executable_extensions; do
4286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4287 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4297 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4298 if test -n "$ac_ct_OBJDUMP"; then
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4300 $as_echo "$ac_ct_OBJDUMP" >&6; }
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4303 $as_echo "no" >&6; }
4306 if test "x$ac_ct_OBJDUMP" = x; then
4309 case $cross_compiling:$ac_tool_warned in
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4313 ac_tool_warned=yes ;;
4315 OBJDUMP=$ac_ct_OBJDUMP
4318 OBJDUMP="$ac_cv_prog_OBJDUMP"
4324 test -z "$AS" && AS=as
4330 test -z "$DLLTOOL" && DLLTOOL=dlltool
4336 test -z "$OBJDUMP" && OBJDUMP=objdump
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4347 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4352 macro_version='2.2.6b'
4353 macro_revision='1.3017'
4367 ltmain="$ac_aux_dir/ltmain.sh"
4369 DEPDIR="${am__leading_dot}deps"
4371 ac_config_commands="$ac_config_commands depfiles"
4374 am_make=${MAKE-make}
4375 cat > confinc << 'END'
4377 @echo this is the am__doit target
4380 # If we don't find an include directive, just comment out the code.
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4382 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4386 # First try GNU make style include.
4387 echo "include confinc" > confmf
4388 # Ignore all kinds of additional output from `make'.
4389 case `$am_make -s -f confmf 2> /dev/null` in #(
4390 *the\ am__doit\ target*)
4396 # Now try BSD make style include.
4397 if test "$am__include" = "#"; then
4398 echo '.include "confinc"' > confmf
4399 case `$am_make -s -f confmf 2> /dev/null` in #(
4400 *the\ am__doit\ target*)
4401 am__include=.include
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4410 $as_echo "$_am_result" >&6; }
4411 rm -f confinc confmf
4413 # Check whether --enable-dependency-tracking was given.
4414 if test "${enable_dependency_tracking+set}" = set; then :
4415 enableval=$enable_dependency_tracking;
4418 if test "x$enable_dependency_tracking" != xno; then
4419 am_depcomp="$ac_aux_dir/depcomp"
4422 if test "x$enable_dependency_tracking" != xno; then
4432 ac_cpp='$CPP $CPPFLAGS'
4433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4436 if test -n "$ac_tool_prefix"; then
4437 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4438 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4440 $as_echo_n "checking for $ac_word... " >&6; }
4441 if test "${ac_cv_prog_CC+set}" = set; then :
4442 $as_echo_n "(cached) " >&6
4444 if test -n "$CC"; then
4445 ac_cv_prog_CC="$CC" # Let the user override the test.
4447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4451 test -z "$as_dir" && as_dir=.
4452 for ac_exec_ext in '' $ac_executable_extensions; do
4453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4454 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4465 if test -n "$CC"; then
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4467 $as_echo "$CC" >&6; }
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4470 $as_echo "no" >&6; }
4475 if test -z "$ac_cv_prog_CC"; then
4477 # Extract the first word of "gcc", so it can be a program name with args.
4478 set dummy gcc; ac_word=$2
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4480 $as_echo_n "checking for $ac_word... " >&6; }
4481 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4482 $as_echo_n "(cached) " >&6
4484 if test -n "$ac_ct_CC"; then
4485 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4491 test -z "$as_dir" && as_dir=.
4492 for ac_exec_ext in '' $ac_executable_extensions; do
4493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4494 ac_cv_prog_ac_ct_CC="gcc"
4495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4504 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4505 if test -n "$ac_ct_CC"; then
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4507 $as_echo "$ac_ct_CC" >&6; }
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4510 $as_echo "no" >&6; }
4513 if test "x$ac_ct_CC" = x; then
4516 case $cross_compiling:$ac_tool_warned in
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4520 ac_tool_warned=yes ;;
4528 if test -z "$CC"; then
4529 if test -n "$ac_tool_prefix"; then
4530 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4531 set dummy ${ac_tool_prefix}cc; ac_word=$2
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4533 $as_echo_n "checking for $ac_word... " >&6; }
4534 if test "${ac_cv_prog_CC+set}" = set; then :
4535 $as_echo_n "(cached) " >&6
4537 if test -n "$CC"; then
4538 ac_cv_prog_CC="$CC" # Let the user override the test.
4540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4544 test -z "$as_dir" && as_dir=.
4545 for ac_exec_ext in '' $ac_executable_extensions; do
4546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4547 ac_cv_prog_CC="${ac_tool_prefix}cc"
4548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4558 if test -n "$CC"; then
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4560 $as_echo "$CC" >&6; }
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4563 $as_echo "no" >&6; }
4569 if test -z "$CC"; then
4570 # Extract the first word of "cc", so it can be a program name with args.
4571 set dummy cc; ac_word=$2
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4573 $as_echo_n "checking for $ac_word... " >&6; }
4574 if test "${ac_cv_prog_CC+set}" = set; then :
4575 $as_echo_n "(cached) " >&6
4577 if test -n "$CC"; then
4578 ac_cv_prog_CC="$CC" # Let the user override the test.
4581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4585 test -z "$as_dir" && as_dir=.
4586 for ac_exec_ext in '' $ac_executable_extensions; do
4587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4588 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4589 ac_prog_rejected=yes
4593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4600 if test $ac_prog_rejected = yes; then
4601 # We found a bogon in the path, so make sure we never use it.
4602 set dummy $ac_cv_prog_CC
4604 if test $# != 0; then
4605 # We chose a different compiler from the bogus one.
4606 # However, it has the same basename, so the bogon will be chosen
4607 # first if we set CC to just the basename; use the full file name.
4609 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4615 if test -n "$CC"; then
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4617 $as_echo "$CC" >&6; }
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4620 $as_echo "no" >&6; }
4625 if test -z "$CC"; then
4626 if test -n "$ac_tool_prefix"; then
4627 for ac_prog in cl.exe
4629 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4630 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4632 $as_echo_n "checking for $ac_word... " >&6; }
4633 if test "${ac_cv_prog_CC+set}" = set; then :
4634 $as_echo_n "(cached) " >&6
4636 if test -n "$CC"; then
4637 ac_cv_prog_CC="$CC" # Let the user override the test.
4639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4643 test -z "$as_dir" && as_dir=.
4644 for ac_exec_ext in '' $ac_executable_extensions; do
4645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4646 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4657 if test -n "$CC"; then
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4659 $as_echo "$CC" >&6; }
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4662 $as_echo "no" >&6; }
4666 test -n "$CC" && break
4669 if test -z "$CC"; then
4671 for ac_prog in cl.exe
4673 # Extract the first word of "$ac_prog", so it can be a program name with args.
4674 set dummy $ac_prog; ac_word=$2
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4676 $as_echo_n "checking for $ac_word... " >&6; }
4677 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4678 $as_echo_n "(cached) " >&6
4680 if test -n "$ac_ct_CC"; then
4681 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4687 test -z "$as_dir" && as_dir=.
4688 for ac_exec_ext in '' $ac_executable_extensions; do
4689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4690 ac_cv_prog_ac_ct_CC="$ac_prog"
4691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4700 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4701 if test -n "$ac_ct_CC"; then
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4703 $as_echo "$ac_ct_CC" >&6; }
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4706 $as_echo "no" >&6; }
4710 test -n "$ac_ct_CC" && break
4713 if test "x$ac_ct_CC" = x; then
4716 case $cross_compiling:$ac_tool_warned in
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4720 ac_tool_warned=yes ;;
4729 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4730 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4731 as_fn_error $? "no acceptable C compiler found in \$PATH
4732 See \`config.log' for more details" "$LINENO" 5 ; }
4734 # Provide some information about the compiler.
4735 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4738 for ac_option in --version -v -V -qversion; do
4739 { { ac_try="$ac_compiler $ac_option >&5"
4741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4742 *) ac_try_echo=$ac_try;;
4744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4745 $as_echo "$ac_try_echo"; } >&5
4746 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4748 if test -s conftest.err; then
4750 ... rest of stderr output deleted ...
4751 10q' conftest.err >conftest.er1
4752 cat conftest.er1 >&5
4754 rm -f conftest.er1 conftest.err
4755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4756 test $ac_status = 0; }
4759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4760 /* end confdefs.h. */
4770 ac_clean_files_save=$ac_clean_files
4771 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4772 # Try to create an executable without -o first, disregard a.out.
4773 # It will help us diagnose broken compilers, and finding out an intuition
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4776 $as_echo_n "checking whether the C compiler works... " >&6; }
4777 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4779 # The possible output files:
4780 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4783 for ac_file in $ac_files
4786 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4787 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4792 if { { ac_try="$ac_link_default"
4794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4795 *) ac_try_echo=$ac_try;;
4797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4798 $as_echo "$ac_try_echo"; } >&5
4799 (eval "$ac_link_default") 2>&5
4801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4802 test $ac_status = 0; }; then :
4803 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4804 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4805 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4806 # so that the user can short-circuit this test for compilers unknown to
4808 for ac_file in $ac_files ''
4810 test -f "$ac_file" || continue
4812 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4815 # We found the default executable, but exeext='' is most
4819 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4821 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4823 # We set ac_cv_exeext here because the later test for it is not
4824 # safe: cross compilers may not add the suffix if given an `-o'
4825 # argument, so we may need to know it at that point already.
4826 # Even if this section looks crufty: it has the advantage of
4833 test "$ac_cv_exeext" = no && ac_cv_exeext=
4838 if test -z "$ac_file"; then :
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4840 $as_echo "no" >&6; }
4841 $as_echo "$as_me: failed program was:" >&5
4842 sed 's/^/| /' conftest.$ac_ext >&5
4844 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4845 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4846 as_fn_error 77 "C compiler cannot create executables
4847 See \`config.log' for more details" "$LINENO" 5 ; }
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4850 $as_echo "yes" >&6; }
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4853 $as_echo_n "checking for C compiler default output file name... " >&6; }
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4855 $as_echo "$ac_file" >&6; }
4856 ac_exeext=$ac_cv_exeext
4858 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4859 ac_clean_files=$ac_clean_files_save
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4861 $as_echo_n "checking for suffix of executables... " >&6; }
4862 if { { ac_try="$ac_link"
4864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4865 *) ac_try_echo=$ac_try;;
4867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4868 $as_echo "$ac_try_echo"; } >&5
4869 (eval "$ac_link") 2>&5
4871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4872 test $ac_status = 0; }; then :
4873 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4874 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4875 # work properly (i.e., refer to `conftest.exe'), while it won't with
4877 for ac_file in conftest.exe conftest conftest.*; do
4878 test -f "$ac_file" || continue
4880 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4881 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4887 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4888 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4889 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4890 See \`config.log' for more details" "$LINENO" 5 ; }
4892 rm -f conftest conftest$ac_cv_exeext
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4894 $as_echo "$ac_cv_exeext" >&6; }
4896 rm -f conftest.$ac_ext
4897 EXEEXT=$ac_cv_exeext
4899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4900 /* end confdefs.h. */
4905 FILE *f = fopen ("conftest.out", "w");
4906 return ferror (f) || fclose (f) != 0;
4912 ac_clean_files="$ac_clean_files conftest.out"
4913 # Check that the compiler produces executables we can run. If not, either
4914 # the compiler is broken, or we cross compile.
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4916 $as_echo_n "checking whether we are cross compiling... " >&6; }
4917 if test "$cross_compiling" != yes; then
4918 { { ac_try="$ac_link"
4920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4921 *) ac_try_echo=$ac_try;;
4923 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4924 $as_echo "$ac_try_echo"; } >&5
4925 (eval "$ac_link") 2>&5
4927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4928 test $ac_status = 0; }
4929 if { ac_try='./conftest$ac_cv_exeext'
4930 { { case "(($ac_try" in
4931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4932 *) ac_try_echo=$ac_try;;
4934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4935 $as_echo "$ac_try_echo"; } >&5
4936 (eval "$ac_try") 2>&5
4938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4939 test $ac_status = 0; }; }; then
4942 if test "$cross_compiling" = maybe; then
4945 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4947 as_fn_error $? "cannot run C compiled programs.
4948 If you meant to cross compile, use \`--host'.
4949 See \`config.log' for more details" "$LINENO" 5 ; }
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4954 $as_echo "$cross_compiling" >&6; }
4956 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4957 ac_clean_files=$ac_clean_files_save
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4959 $as_echo_n "checking for suffix of object files... " >&6; }
4960 if test "${ac_cv_objext+set}" = set; then :
4961 $as_echo_n "(cached) " >&6
4963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h. */
4974 rm -f conftest.o conftest.obj
4975 if { { ac_try="$ac_compile"
4977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4978 *) ac_try_echo=$ac_try;;
4980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4981 $as_echo "$ac_try_echo"; } >&5
4982 (eval "$ac_compile") 2>&5
4984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4985 test $ac_status = 0; }; then :
4986 for ac_file in conftest.o conftest.obj conftest.*; do
4987 test -f "$ac_file" || continue;
4989 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4990 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4995 $as_echo "$as_me: failed program was:" >&5
4996 sed 's/^/| /' conftest.$ac_ext >&5
4998 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4999 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5000 as_fn_error $? "cannot compute suffix of object files: cannot compile
5001 See \`config.log' for more details" "$LINENO" 5 ; }
5003 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5006 $as_echo "$ac_cv_objext" >&6; }
5007 OBJEXT=$ac_cv_objext
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5010 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5011 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5012 $as_echo_n "(cached) " >&6
5014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5015 /* end confdefs.h. */
5028 if ac_fn_c_try_compile "$LINENO"; then :
5033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5034 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5038 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5039 if test $ac_compiler_gnu = yes; then
5044 ac_test_CFLAGS=${CFLAGS+set}
5045 ac_save_CFLAGS=$CFLAGS
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5047 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5048 if test "${ac_cv_prog_cc_g+set}" = set; then :
5049 $as_echo_n "(cached) " >&6
5051 ac_save_c_werror_flag=$ac_c_werror_flag
5052 ac_c_werror_flag=yes
5055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5056 /* end confdefs.h. */
5066 if ac_fn_c_try_compile "$LINENO"; then :
5070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5071 /* end confdefs.h. */
5081 if ac_fn_c_try_compile "$LINENO"; then :
5084 ac_c_werror_flag=$ac_save_c_werror_flag
5086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5087 /* end confdefs.h. */
5097 if ac_fn_c_try_compile "$LINENO"; then :
5100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5105 ac_c_werror_flag=$ac_save_c_werror_flag
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5108 $as_echo "$ac_cv_prog_cc_g" >&6; }
5109 if test "$ac_test_CFLAGS" = set; then
5110 CFLAGS=$ac_save_CFLAGS
5111 elif test $ac_cv_prog_cc_g = yes; then
5112 if test "$GCC" = yes; then
5118 if test "$GCC" = yes; then
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5125 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5126 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5127 $as_echo_n "(cached) " >&6
5129 ac_cv_prog_cc_c89=no
5131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5132 /* end confdefs.h. */
5135 #include <sys/types.h>
5136 #include <sys/stat.h>
5137 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5138 struct buf { int x; };
5139 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5140 static char *e (p, i)
5146 static char *f (char * (*g) (char **, int), char **p, ...)
5151 s = g (p, va_arg (v,int));
5156 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5157 function prototypes and stuff, but not '\xHH' hex character constants.
5158 These don't provoke an error unfortunately, instead are silently treated
5159 as 'x'. The following induces an error, until -std is added to get
5160 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5161 array size at least. It's necessary to write '\x00'==0 to get something
5162 that's true only with -std. */
5163 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5165 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5166 inside strings and character constants. */
5168 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5170 int test (int i, double x);
5171 struct s1 {int (*f) (int a);};
5172 struct s2 {int (*f) (double a);};
5173 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5179 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5184 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5185 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5187 CC="$ac_save_CC $ac_arg"
5188 if ac_fn_c_try_compile "$LINENO"; then :
5189 ac_cv_prog_cc_c89=$ac_arg
5191 rm -f core conftest.err conftest.$ac_objext
5192 test "x$ac_cv_prog_cc_c89" != "xno" && break
5194 rm -f conftest.$ac_ext
5199 case "x$ac_cv_prog_cc_c89" in
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5202 $as_echo "none needed" >&6; } ;;
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5205 $as_echo "unsupported" >&6; } ;;
5207 CC="$CC $ac_cv_prog_cc_c89"
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5209 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5211 if test "x$ac_cv_prog_cc_c89" != xno; then :
5216 ac_cpp='$CPP $CPPFLAGS'
5217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5221 depcc="$CC" am_compiler_list=
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5224 $as_echo_n "checking dependency style of $depcc... " >&6; }
5225 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5226 $as_echo_n "(cached) " >&6
5228 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5229 # We make a subdir and do the tests there. Otherwise we can end up
5230 # making bogus files that we don't know about and never remove. For
5231 # instance it was reported that on HP-UX the gcc test will end up
5232 # making a dummy file named `D' -- because `-MD' means `put the output
5235 # Copy depcomp to subdir because otherwise we won't find it if we're
5236 # using a relative directory.
5237 cp "$am_depcomp" conftest.dir
5239 # We will build objects and dependencies in a subdirectory because
5240 # it helps to detect inapplicable dependency modes. For instance
5241 # both Tru64's cc and ICC support -MD to output dependencies as a
5242 # side effect of compilation, but ICC will put the dependencies in
5243 # the current directory while Tru64 will put them in the object
5247 am_cv_CC_dependencies_compiler_type=none
5248 if test "$am_compiler_list" = ""; then
5249 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5252 case " $depcc " in #(
5253 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5256 for depmode in $am_compiler_list; do
5257 # Setup a source with many dependencies, because some compilers
5258 # like to wrap large dependency lists on column 80 (with \), and
5259 # we should not choose a depcomp mode which is confused by this.
5261 # We need to recreate these files for each test, as the compiler may
5262 # overwrite some of them when testing with obscure command lines.
5263 # This happens at least with the AIX C compiler.
5265 for i in 1 2 3 4 5 6; do
5266 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5267 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5268 # Solaris 8's {/usr,}/bin/sh.
5269 touch sub/conftst$i.h
5271 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5273 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5274 # mode. It turns out that the SunPro C++ compiler does not properly
5275 # handle `-M -o', and we need to detect this. Also, some Intel
5276 # versions had trouble with output in subdirs
5277 am__obj=sub/conftest.${OBJEXT-o}
5278 am__minus_obj="-o $am__obj"
5281 # This depmode causes a compiler race in universal mode.
5282 test "$am__universal" = false || continue
5285 # after this tag, mechanisms are not by side-effect, so they'll
5286 # only be used when explicitly requested
5287 if test "x$enable_dependency_tracking" = xyes; then
5293 msvisualcpp | msvcmsys)
5294 # This compiler won't grok `-c -o', but also, the minuso test has
5295 # not run yet. These depmodes are late enough in the game, and
5296 # so weak that their functioning should not be impacted.
5297 am__obj=conftest.${OBJEXT-o}
5302 if depmode=$depmode \
5303 source=sub/conftest.c object=$am__obj \
5304 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5305 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5306 >/dev/null 2>conftest.err &&
5307 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5308 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5309 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5310 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5311 # icc doesn't choke on unknown options, it will just issue warnings
5312 # or remarks (even with -Werror). So we grep stderr for any message
5313 # that says an option was ignored or not supported.
5314 # When given -MP, icc 7.0 and 7.1 complain thusly:
5315 # icc: Command line warning: ignoring option '-M'; no argument required
5316 # The diagnosis changed in icc 8.0:
5317 # icc: Command line remark: option '-MP' not supported
5318 if (grep 'ignoring option' conftest.err ||
5319 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5320 am_cv_CC_dependencies_compiler_type=$depmode
5329 am_cv_CC_dependencies_compiler_type=none
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5334 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5335 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5338 test "x$enable_dependency_tracking" != xno \
5339 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5341 am__fastdepCC_FALSE='#'
5343 am__fastdepCC_TRUE='#'
5344 am__fastdepCC_FALSE=
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5349 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5350 if test "${ac_cv_path_SED+set}" = set; then :
5351 $as_echo_n "(cached) " >&6
5353 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5354 for ac_i in 1 2 3 4 5 6 7; do
5355 ac_script="$ac_script$as_nl$ac_script"
5357 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5358 { ac_script=; unset ac_script;}
5359 if test -z "$SED"; then
5360 ac_path_SED_found=false
5361 # Loop through the user's path and test for each of PROGNAME-LIST
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 test -z "$as_dir" && as_dir=.
5367 for ac_prog in sed gsed; do
5368 for ac_exec_ext in '' $ac_executable_extensions; do
5369 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5370 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5371 # Check for GNU ac_path_SED and select it if it is found.
5372 # Check for GNU $ac_path_SED
5373 case `"$ac_path_SED" --version 2>&1` in
5375 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5378 $as_echo_n 0123456789 >"conftest.in"
5381 cat "conftest.in" "conftest.in" >"conftest.tmp"
5382 mv "conftest.tmp" "conftest.in"
5383 cp "conftest.in" "conftest.nl"
5384 $as_echo '' >> "conftest.nl"
5385 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5386 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5387 as_fn_arith $ac_count + 1 && ac_count=$as_val
5388 if test $ac_count -gt ${ac_path_SED_max-0}; then
5389 # Best one so far, save it but keep looking for a better one
5390 ac_cv_path_SED="$ac_path_SED"
5391 ac_path_SED_max=$ac_count
5393 # 10*(2^10) chars as input seems more than enough
5394 test $ac_count -gt 10 && break
5396 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5399 $ac_path_SED_found && break 3
5404 if test -z "$ac_cv_path_SED"; then
5405 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5413 $as_echo "$ac_cv_path_SED" >&6; }
5414 SED="$ac_cv_path_SED"
5417 test -z "$SED" && SED=sed
5418 Xsed="$SED -e 1s/^X//"
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5431 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5432 if test "${ac_cv_path_GREP+set}" = set; then :
5433 $as_echo_n "(cached) " >&6
5435 if test -z "$GREP"; then
5436 ac_path_GREP_found=false
5437 # Loop through the user's path and test for each of PROGNAME-LIST
5438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5439 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5442 test -z "$as_dir" && as_dir=.
5443 for ac_prog in grep ggrep; do
5444 for ac_exec_ext in '' $ac_executable_extensions; do
5445 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5446 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5447 # Check for GNU ac_path_GREP and select it if it is found.
5448 # Check for GNU $ac_path_GREP
5449 case `"$ac_path_GREP" --version 2>&1` in
5451 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5454 $as_echo_n 0123456789 >"conftest.in"
5457 cat "conftest.in" "conftest.in" >"conftest.tmp"
5458 mv "conftest.tmp" "conftest.in"
5459 cp "conftest.in" "conftest.nl"
5460 $as_echo 'GREP' >> "conftest.nl"
5461 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5462 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5463 as_fn_arith $ac_count + 1 && ac_count=$as_val
5464 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5465 # Best one so far, save it but keep looking for a better one
5466 ac_cv_path_GREP="$ac_path_GREP"
5467 ac_path_GREP_max=$ac_count
5469 # 10*(2^10) chars as input seems more than enough
5470 test $ac_count -gt 10 && break
5472 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5475 $ac_path_GREP_found && break 3
5480 if test -z "$ac_cv_path_GREP"; then
5481 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5484 ac_cv_path_GREP=$GREP
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5489 $as_echo "$ac_cv_path_GREP" >&6; }
5490 GREP="$ac_cv_path_GREP"
5493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5494 $as_echo_n "checking for egrep... " >&6; }
5495 if test "${ac_cv_path_EGREP+set}" = set; then :
5496 $as_echo_n "(cached) " >&6
5498 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5499 then ac_cv_path_EGREP="$GREP -E"
5501 if test -z "$EGREP"; then
5502 ac_path_EGREP_found=false
5503 # Loop through the user's path and test for each of PROGNAME-LIST
5504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5508 test -z "$as_dir" && as_dir=.
5509 for ac_prog in egrep; do
5510 for ac_exec_ext in '' $ac_executable_extensions; do
5511 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5512 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5513 # Check for GNU ac_path_EGREP and select it if it is found.
5514 # Check for GNU $ac_path_EGREP
5515 case `"$ac_path_EGREP" --version 2>&1` in
5517 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5520 $as_echo_n 0123456789 >"conftest.in"
5523 cat "conftest.in" "conftest.in" >"conftest.tmp"
5524 mv "conftest.tmp" "conftest.in"
5525 cp "conftest.in" "conftest.nl"
5526 $as_echo 'EGREP' >> "conftest.nl"
5527 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5528 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5529 as_fn_arith $ac_count + 1 && ac_count=$as_val
5530 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5531 # Best one so far, save it but keep looking for a better one
5532 ac_cv_path_EGREP="$ac_path_EGREP"
5533 ac_path_EGREP_max=$ac_count
5535 # 10*(2^10) chars as input seems more than enough
5536 test $ac_count -gt 10 && break
5538 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5541 $ac_path_EGREP_found && break 3
5546 if test -z "$ac_cv_path_EGREP"; then
5547 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5550 ac_cv_path_EGREP=$EGREP
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5556 $as_echo "$ac_cv_path_EGREP" >&6; }
5557 EGREP="$ac_cv_path_EGREP"
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5561 $as_echo_n "checking for fgrep... " >&6; }
5562 if test "${ac_cv_path_FGREP+set}" = set; then :
5563 $as_echo_n "(cached) " >&6
5565 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5566 then ac_cv_path_FGREP="$GREP -F"
5568 if test -z "$FGREP"; then
5569 ac_path_FGREP_found=false
5570 # Loop through the user's path and test for each of PROGNAME-LIST
5571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5572 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5575 test -z "$as_dir" && as_dir=.
5576 for ac_prog in fgrep; do
5577 for ac_exec_ext in '' $ac_executable_extensions; do
5578 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5579 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5580 # Check for GNU ac_path_FGREP and select it if it is found.
5581 # Check for GNU $ac_path_FGREP
5582 case `"$ac_path_FGREP" --version 2>&1` in
5584 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5587 $as_echo_n 0123456789 >"conftest.in"
5590 cat "conftest.in" "conftest.in" >"conftest.tmp"
5591 mv "conftest.tmp" "conftest.in"
5592 cp "conftest.in" "conftest.nl"
5593 $as_echo 'FGREP' >> "conftest.nl"
5594 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5595 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5596 as_fn_arith $ac_count + 1 && ac_count=$as_val
5597 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5598 # Best one so far, save it but keep looking for a better one
5599 ac_cv_path_FGREP="$ac_path_FGREP"
5600 ac_path_FGREP_max=$ac_count
5602 # 10*(2^10) chars as input seems more than enough
5603 test $ac_count -gt 10 && break
5605 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5608 $ac_path_FGREP_found && break 3
5613 if test -z "$ac_cv_path_FGREP"; then
5614 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5617 ac_cv_path_FGREP=$FGREP
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5623 $as_echo "$ac_cv_path_FGREP" >&6; }
5624 FGREP="$ac_cv_path_FGREP"
5627 test -z "$GREP" && GREP=grep
5647 # Check whether --with-gnu-ld was given.
5648 if test "${with_gnu_ld+set}" = set; then :
5649 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5655 if test "$GCC" = yes; then
5656 # Check if gcc -print-prog-name=ld gives a path.
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5658 $as_echo_n "checking for ld used by $CC... " >&6; }
5661 # gcc leaves a trailing carriage return which upsets mingw
5662 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5664 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5667 # Accept absolute paths.
5669 re_direlt='/[^/][^/]*/\.\./'
5670 # Canonicalize the pathname of ld
5671 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5672 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5673 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5675 test -z "$LD" && LD="$ac_prog"
5678 # If it fails, then pretend we aren't using GCC.
5682 # If it is relative, then search for the first ld in PATH.
5686 elif test "$with_gnu_ld" = yes; then
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5688 $as_echo_n "checking for GNU ld... " >&6; }
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5691 $as_echo_n "checking for non-GNU ld... " >&6; }
5693 if test "${lt_cv_path_LD+set}" = set; then :
5694 $as_echo_n "(cached) " >&6
5696 if test -z "$LD"; then
5697 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5698 for ac_dir in $PATH; do
5700 test -z "$ac_dir" && ac_dir=.
5701 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5702 lt_cv_path_LD="$ac_dir/$ac_prog"
5703 # Check to see if the program is GNU ld. I'd rather use --version,
5704 # but apparently some variants of GNU ld only accept -v.
5705 # Break only if it was the GNU/non-GNU ld that we prefer.
5706 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5707 *GNU* | *'with BFD'*)
5708 test "$with_gnu_ld" != no && break
5711 test "$with_gnu_ld" != yes && break
5718 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5723 if test -n "$LD"; then
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5725 $as_echo "$LD" >&6; }
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 $as_echo "no" >&6; }
5730 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5732 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5733 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5734 $as_echo_n "(cached) " >&6
5736 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5737 case `$LD -v 2>&1 </dev/null` in
5738 *GNU* | *'with BFD'*)
5739 lt_cv_prog_gnu_ld=yes
5742 lt_cv_prog_gnu_ld=no
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5747 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5748 with_gnu_ld=$lt_cv_prog_gnu_ld
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5759 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5760 if test "${lt_cv_path_NM+set}" = set; then :
5761 $as_echo_n "(cached) " >&6
5763 if test -n "$NM"; then
5764 # Let the user override the test.
5767 lt_nm_to_check="${ac_tool_prefix}nm"
5768 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5769 lt_nm_to_check="$lt_nm_to_check nm"
5771 for lt_tmp_nm in $lt_nm_to_check; do
5772 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5773 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5775 test -z "$ac_dir" && ac_dir=.
5776 tmp_nm="$ac_dir/$lt_tmp_nm"
5777 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5778 # Check to see if the nm accepts a BSD-compat flag.
5779 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5780 # nm: unknown option "B" ignored
5781 # Tru64's nm complains that /dev/null is an invalid object file
5782 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5783 */dev/null* | *'Invalid file or object type'*)
5784 lt_cv_path_NM="$tmp_nm -B"
5788 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5790 lt_cv_path_NM="$tmp_nm -p"
5794 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5795 continue # so that we can try to find one that supports BSD flags
5804 : ${lt_cv_path_NM=no}
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5808 $as_echo "$lt_cv_path_NM" >&6; }
5809 if test "$lt_cv_path_NM" != "no"; then
5812 # Didn't find any BSD compatible name lister, look for dumpbin.
5813 if test -n "$ac_tool_prefix"; then
5814 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5816 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5817 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5819 $as_echo_n "checking for $ac_word... " >&6; }
5820 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5821 $as_echo_n "(cached) " >&6
5823 if test -n "$DUMPBIN"; then
5824 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 test -z "$as_dir" && as_dir=.
5831 for ac_exec_ext in '' $ac_executable_extensions; do
5832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5833 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5843 DUMPBIN=$ac_cv_prog_DUMPBIN
5844 if test -n "$DUMPBIN"; then
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5846 $as_echo "$DUMPBIN" >&6; }
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5849 $as_echo "no" >&6; }
5853 test -n "$DUMPBIN" && break
5856 if test -z "$DUMPBIN"; then
5857 ac_ct_DUMPBIN=$DUMPBIN
5858 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5860 # Extract the first word of "$ac_prog", so it can be a program name with args.
5861 set dummy $ac_prog; ac_word=$2
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5863 $as_echo_n "checking for $ac_word... " >&6; }
5864 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5865 $as_echo_n "(cached) " >&6
5867 if test -n "$ac_ct_DUMPBIN"; then
5868 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5874 test -z "$as_dir" && as_dir=.
5875 for ac_exec_ext in '' $ac_executable_extensions; do
5876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5877 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5887 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5888 if test -n "$ac_ct_DUMPBIN"; then
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5890 $as_echo "$ac_ct_DUMPBIN" >&6; }
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5893 $as_echo "no" >&6; }
5897 test -n "$ac_ct_DUMPBIN" && break
5900 if test "x$ac_ct_DUMPBIN" = x; then
5903 case $cross_compiling:$ac_tool_warned in
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5907 ac_tool_warned=yes ;;
5909 DUMPBIN=$ac_ct_DUMPBIN
5914 if test "$DUMPBIN" != ":"; then
5918 test -z "$NM" && NM=nm
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5926 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5927 if test "${lt_cv_nm_interface+set}" = set; then :
5928 $as_echo_n "(cached) " >&6
5930 lt_cv_nm_interface="BSD nm"
5931 echo "int some_variable = 0;" > conftest.$ac_ext
5932 (eval echo "\"\$as_me:5932: $ac_compile\"" >&5)
5933 (eval "$ac_compile" 2>conftest.err)
5934 cat conftest.err >&5
5935 (eval echo "\"\$as_me:5935: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5936 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5937 cat conftest.err >&5
5938 (eval echo "\"\$as_me:5938: output\"" >&5)
5939 cat conftest.out >&5
5940 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5941 lt_cv_nm_interface="MS dumpbin"
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5946 $as_echo "$lt_cv_nm_interface" >&6; }
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5949 $as_echo_n "checking whether ln -s works... " >&6; }
5951 if test "$LN_S" = "ln -s"; then
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5953 $as_echo "yes" >&6; }
5955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5956 $as_echo "no, using $LN_S" >&6; }
5959 # find the maximum length of command line arguments
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5961 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5962 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5963 $as_echo_n "(cached) " >&6
5970 # On DJGPP, this test can blow up pretty badly due to problems in libc
5971 # (any single argument exceeding 2000 bytes causes a buffer overrun
5972 # during glob expansion). Even if it were fixed, the result of this
5973 # check would be larger than it should be.
5974 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5978 # Under GNU Hurd, this test is not required because there is
5979 # no limit to the length of command line arguments.
5980 # Libtool will interpret -1 as no limit whatsoever
5981 lt_cv_sys_max_cmd_len=-1;
5984 cygwin* | mingw* | cegcc*)
5985 # On Win9x/ME, this test blows up -- it succeeds, but takes
5986 # about 5 minutes as the teststring grows exponentially.
5987 # Worse, since 9x/ME are not pre-emptively multitasking,
5988 # you end up with a "frozen" computer, even though with patience
5989 # the test eventually succeeds (with a max line length of 256k).
5990 # Instead, let's just punt: use the minimum linelength reported by
5991 # all of the supported platforms: 8192 (on NT/2K/XP).
5992 lt_cv_sys_max_cmd_len=8192;
5996 # On AmigaOS with pdksh, this test takes hours, literally.
5997 # So we just punt and use a minimum line length of 8192.
5998 lt_cv_sys_max_cmd_len=8192;
6001 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6002 # This has been around since 386BSD, at least. Likely further.
6003 if test -x /sbin/sysctl; then
6004 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6005 elif test -x /usr/sbin/sysctl; then
6006 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6008 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6010 # And add a safety zone
6011 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6012 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6016 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6017 lt_cv_sys_max_cmd_len=196608
6021 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6022 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6023 # nice to cause kernel panics so lets avoid the loop below.
6024 # First set a reasonable default.
6025 lt_cv_sys_max_cmd_len=16384
6027 if test -x /sbin/sysconfig; then
6028 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6029 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6034 lt_cv_sys_max_cmd_len=102400
6036 sysv5* | sco5v6* | sysv4.2uw2*)
6037 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6038 if test -n "$kargmax"; then
6039 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6041 lt_cv_sys_max_cmd_len=32768
6045 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6046 if test -n "$lt_cv_sys_max_cmd_len"; then
6047 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6048 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6050 # Make teststring a little bigger before we do anything with it.
6051 # a 1K string should be a reasonable start.
6052 for i in 1 2 3 4 5 6 7 8 ; do
6053 teststring=$teststring$teststring
6055 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6056 # If test is not a shell built-in, we'll probably end up computing a
6057 # maximum length that is only half of the actual maximum length, but
6059 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6060 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6061 test $i != 17 # 1/2 MB should be enough
6064 teststring=$teststring$teststring
6066 # Only check the string length outside the loop.
6067 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6069 # Add a significant safety factor because C++ compilers can tack on
6070 # massive amounts of additional arguments before passing them to the
6071 # linker. It appears as though 1/2 is a usable value.
6072 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6079 if test -n $lt_cv_sys_max_cmd_len ; then
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6081 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6084 $as_echo "none" >&6; }
6086 max_cmd_len=$lt_cv_sys_max_cmd_len
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6098 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6099 # Try some XSI features
6102 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6104 && eval 'test $(( 1 + 1 )) -eq 2 \
6105 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6108 $as_echo "$xsi_shell" >&6; }
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6112 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6114 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6116 && lt_shell_append=yes
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6118 $as_echo "$lt_shell_append" >&6; }
6121 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6131 # test EBCDIC or ASCII
6132 case `echo X|tr X '\101'` in
6133 A) # ASCII based system
6134 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6135 lt_SP2NL='tr \040 \012'
6136 lt_NL2SP='tr \015\012 \040\040'
6138 *) # EBCDIC based system
6139 lt_SP2NL='tr \100 \n'
6140 lt_NL2SP='tr \r\n \100\100'
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6153 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6154 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6155 $as_echo_n "(cached) " >&6
6157 lt_cv_ld_reload_flag='-r'
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6160 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6161 reload_flag=$lt_cv_ld_reload_flag
6162 case $reload_flag in
6164 *) reload_flag=" $reload_flag" ;;
6166 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6169 if test "$GCC" = yes; then
6170 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6172 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6185 if test -n "$ac_tool_prefix"; then
6186 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6187 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6189 $as_echo_n "checking for $ac_word... " >&6; }
6190 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6191 $as_echo_n "(cached) " >&6
6193 if test -n "$OBJDUMP"; then
6194 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6200 test -z "$as_dir" && as_dir=.
6201 for ac_exec_ext in '' $ac_executable_extensions; do
6202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6203 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6213 OBJDUMP=$ac_cv_prog_OBJDUMP
6214 if test -n "$OBJDUMP"; then
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6216 $as_echo "$OBJDUMP" >&6; }
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6219 $as_echo "no" >&6; }
6224 if test -z "$ac_cv_prog_OBJDUMP"; then
6225 ac_ct_OBJDUMP=$OBJDUMP
6226 # Extract the first word of "objdump", so it can be a program name with args.
6227 set dummy objdump; ac_word=$2
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6229 $as_echo_n "checking for $ac_word... " >&6; }
6230 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6231 $as_echo_n "(cached) " >&6
6233 if test -n "$ac_ct_OBJDUMP"; then
6234 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6240 test -z "$as_dir" && as_dir=.
6241 for ac_exec_ext in '' $ac_executable_extensions; do
6242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6243 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6253 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6254 if test -n "$ac_ct_OBJDUMP"; then
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6256 $as_echo "$ac_ct_OBJDUMP" >&6; }
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6259 $as_echo "no" >&6; }
6262 if test "x$ac_ct_OBJDUMP" = x; then
6265 case $cross_compiling:$ac_tool_warned in
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6269 ac_tool_warned=yes ;;
6271 OBJDUMP=$ac_ct_OBJDUMP
6274 OBJDUMP="$ac_cv_prog_OBJDUMP"
6277 test -z "$OBJDUMP" && OBJDUMP=objdump
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6285 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6286 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6287 $as_echo_n "(cached) " >&6
6289 lt_cv_file_magic_cmd='$MAGIC_CMD'
6290 lt_cv_file_magic_test_file=
6291 lt_cv_deplibs_check_method='unknown'
6292 # Need to set the preceding variable on all platforms that support
6293 # interlibrary dependencies.
6294 # 'none' -- dependencies not supported.
6295 # `unknown' -- same as none, but documents that we really don't know.
6296 # 'pass_all' -- all dependencies passed with no checks.
6297 # 'test_compile' -- check by making test program.
6298 # 'file_magic [[regex]]' -- check by looking for files in library path
6299 # which responds to the $file_magic_cmd with a given extended regex.
6300 # If you have `file' or equivalent on your system and you're not sure
6301 # whether `pass_all' will *always* work, you probably want this one.
6305 lt_cv_deplibs_check_method=pass_all
6309 lt_cv_deplibs_check_method=pass_all
6313 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6314 lt_cv_file_magic_cmd='/usr/bin/file -L'
6315 lt_cv_file_magic_test_file=/shlib/libc.so
6319 # func_win32_libid is a shell function defined in ltmain.sh
6320 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6321 lt_cv_file_magic_cmd='func_win32_libid'
6325 # Base MSYS/MinGW do not provide the 'file' command needed by
6326 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6327 # unless we find 'file', for example because we are cross-compiling.
6328 if ( file / ) >/dev/null 2>&1; then
6329 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6330 lt_cv_file_magic_cmd='func_win32_libid'
6332 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6333 lt_cv_file_magic_cmd='$OBJDUMP -f'
6338 # use the weaker test based on 'objdump'. See mingw*.
6339 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6340 lt_cv_file_magic_cmd='$OBJDUMP -f'
6343 darwin* | rhapsody*)
6344 lt_cv_deplibs_check_method=pass_all
6347 freebsd* | dragonfly*)
6348 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6351 # Not sure whether the presence of OpenBSD here was a mistake.
6352 # Let's accept both of them until this is cleared up.
6353 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6354 lt_cv_file_magic_cmd=/usr/bin/file
6355 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6359 lt_cv_deplibs_check_method=pass_all
6364 lt_cv_deplibs_check_method=pass_all
6367 hpux10.20* | hpux11*)
6368 lt_cv_file_magic_cmd=/usr/bin/file
6371 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6372 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6375 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]'
6376 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6379 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6380 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6386 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6387 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6390 irix5* | irix6* | nonstopux*)
6392 *-32|*"-32 ") libmagic=32-bit;;
6393 *-n32|*"-n32 ") libmagic=N32;;
6394 *-64|*"-64 ") libmagic=64-bit;;
6395 *) libmagic=never-match;;
6397 lt_cv_deplibs_check_method=pass_all
6400 # This must be Linux ELF.
6401 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6402 lt_cv_deplibs_check_method=pass_all
6405 netbsd* | netbsdelf*-gnu)
6406 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6407 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6409 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6414 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6415 lt_cv_file_magic_cmd=/usr/bin/file
6416 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6420 lt_cv_deplibs_check_method=pass_all
6424 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6425 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6427 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6431 osf3* | osf4* | osf5*)
6432 lt_cv_deplibs_check_method=pass_all
6436 lt_cv_deplibs_check_method=pass_all
6440 lt_cv_deplibs_check_method=pass_all
6443 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6444 lt_cv_deplibs_check_method=pass_all
6448 case $host_vendor in
6450 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]'
6451 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6454 lt_cv_deplibs_check_method=pass_all
6457 lt_cv_file_magic_cmd='/bin/file'
6458 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6461 lt_cv_file_magic_cmd='/bin/file'
6462 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6463 lt_cv_file_magic_test_file=/lib/libc.so
6466 lt_cv_deplibs_check_method=pass_all
6469 lt_cv_deplibs_check_method=pass_all
6475 lt_cv_deplibs_check_method=pass_all
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6481 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6482 file_magic_cmd=$lt_cv_file_magic_cmd
6483 deplibs_check_method=$lt_cv_deplibs_check_method
6484 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6497 if test -n "$ac_tool_prefix"; then
6498 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6499 set dummy ${ac_tool_prefix}ar; ac_word=$2
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6501 $as_echo_n "checking for $ac_word... " >&6; }
6502 if test "${ac_cv_prog_AR+set}" = set; then :
6503 $as_echo_n "(cached) " >&6
6505 if test -n "$AR"; then
6506 ac_cv_prog_AR="$AR" # Let the user override the test.
6508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6512 test -z "$as_dir" && as_dir=.
6513 for ac_exec_ext in '' $ac_executable_extensions; do
6514 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6515 ac_cv_prog_AR="${ac_tool_prefix}ar"
6516 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526 if test -n "$AR"; then
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6528 $as_echo "$AR" >&6; }
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6531 $as_echo "no" >&6; }
6536 if test -z "$ac_cv_prog_AR"; then
6538 # Extract the first word of "ar", so it can be a program name with args.
6539 set dummy ar; ac_word=$2
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6541 $as_echo_n "checking for $ac_word... " >&6; }
6542 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6543 $as_echo_n "(cached) " >&6
6545 if test -n "$ac_ct_AR"; then
6546 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6552 test -z "$as_dir" && as_dir=.
6553 for ac_exec_ext in '' $ac_executable_extensions; do
6554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6555 ac_cv_prog_ac_ct_AR="ar"
6556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6565 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6566 if test -n "$ac_ct_AR"; then
6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6568 $as_echo "$ac_ct_AR" >&6; }
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6571 $as_echo "no" >&6; }
6574 if test "x$ac_ct_AR" = x; then
6577 case $cross_compiling:$ac_tool_warned in
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6580 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6581 ac_tool_warned=yes ;;
6589 test -z "$AR" && AR=ar
6590 test -z "$AR_FLAGS" && AR_FLAGS=cru
6602 if test -n "$ac_tool_prefix"; then
6603 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6604 set dummy ${ac_tool_prefix}strip; ac_word=$2
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6606 $as_echo_n "checking for $ac_word... " >&6; }
6607 if test "${ac_cv_prog_STRIP+set}" = set; then :
6608 $as_echo_n "(cached) " >&6
6610 if test -n "$STRIP"; then
6611 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6617 test -z "$as_dir" && as_dir=.
6618 for ac_exec_ext in '' $ac_executable_extensions; do
6619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6620 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6630 STRIP=$ac_cv_prog_STRIP
6631 if test -n "$STRIP"; then
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6633 $as_echo "$STRIP" >&6; }
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6636 $as_echo "no" >&6; }
6641 if test -z "$ac_cv_prog_STRIP"; then
6643 # Extract the first word of "strip", so it can be a program name with args.
6644 set dummy strip; ac_word=$2
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6646 $as_echo_n "checking for $ac_word... " >&6; }
6647 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6648 $as_echo_n "(cached) " >&6
6650 if test -n "$ac_ct_STRIP"; then
6651 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6657 test -z "$as_dir" && as_dir=.
6658 for ac_exec_ext in '' $ac_executable_extensions; do
6659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6660 ac_cv_prog_ac_ct_STRIP="strip"
6661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6670 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6671 if test -n "$ac_ct_STRIP"; then
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6673 $as_echo "$ac_ct_STRIP" >&6; }
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6676 $as_echo "no" >&6; }
6679 if test "x$ac_ct_STRIP" = x; then
6682 case $cross_compiling:$ac_tool_warned in
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6685 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6686 ac_tool_warned=yes ;;
6691 STRIP="$ac_cv_prog_STRIP"
6694 test -z "$STRIP" && STRIP=:
6701 if test -n "$ac_tool_prefix"; then
6702 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6703 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6705 $as_echo_n "checking for $ac_word... " >&6; }
6706 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6707 $as_echo_n "(cached) " >&6
6709 if test -n "$RANLIB"; then
6710 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6716 test -z "$as_dir" && as_dir=.
6717 for ac_exec_ext in '' $ac_executable_extensions; do
6718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6719 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6729 RANLIB=$ac_cv_prog_RANLIB
6730 if test -n "$RANLIB"; then
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6732 $as_echo "$RANLIB" >&6; }
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6735 $as_echo "no" >&6; }
6740 if test -z "$ac_cv_prog_RANLIB"; then
6741 ac_ct_RANLIB=$RANLIB
6742 # Extract the first word of "ranlib", so it can be a program name with args.
6743 set dummy ranlib; ac_word=$2
6744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6745 $as_echo_n "checking for $ac_word... " >&6; }
6746 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6747 $as_echo_n "(cached) " >&6
6749 if test -n "$ac_ct_RANLIB"; then
6750 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6756 test -z "$as_dir" && as_dir=.
6757 for ac_exec_ext in '' $ac_executable_extensions; do
6758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6759 ac_cv_prog_ac_ct_RANLIB="ranlib"
6760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6769 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6770 if test -n "$ac_ct_RANLIB"; then
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6772 $as_echo "$ac_ct_RANLIB" >&6; }
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6775 $as_echo "no" >&6; }
6778 if test "x$ac_ct_RANLIB" = x; then
6781 case $cross_compiling:$ac_tool_warned in
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6785 ac_tool_warned=yes ;;
6787 RANLIB=$ac_ct_RANLIB
6790 RANLIB="$ac_cv_prog_RANLIB"
6793 test -z "$RANLIB" && RANLIB=:
6800 # Determine commands to create old-style static archives.
6801 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6802 old_postinstall_cmds='chmod 644 $oldlib'
6803 old_postuninstall_cmds=
6805 if test -n "$RANLIB"; then
6808 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6811 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6814 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6850 # If no C compiler was specified, use CC.
6853 # If no C compiler flags were specified, use CFLAGS.
6854 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6856 # Allow CC to be a program name with arguments.
6860 # Check for command to grab the raw symbol name followed by C symbol from nm.
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6862 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6863 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6864 $as_echo_n "(cached) " >&6
6867 # These are sane defaults that work on at least a few old systems.
6868 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6870 # Character class describing NM global symbol codes.
6871 symcode='[BCDEGRST]'
6873 # Regexp to match symbols that can be accessed directly from C.
6874 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6876 # Define system-specific variables.
6881 cygwin* | mingw* | pw32* | cegcc*)
6882 symcode='[ABCDGISTW]'
6885 if test "$host_cpu" = ia64; then
6886 symcode='[ABCDEGRST]'
6890 symcode='[BCDEGRST]'
6893 symcode='[BCDEGQRST]'
6904 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6912 # If we're using GNU nm, then use its standard symbol codes.
6913 case `$NM -V 2>&1` in
6914 *GNU* | *'with BFD'*)
6915 symcode='[ABCDGIRSTW]' ;;
6918 # Transform an extracted symbol line into a proper C declaration.
6919 # Some systems (esp. on ia64) link data and code symbols differently,
6920 # so use this general approach.
6921 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6923 # Transform an extracted symbol line into symbol name and symbol address
6924 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6925 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'"
6927 # Handle CRLF in mingw tool chain
6931 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6935 # Try without a prefix underscore, then with it.
6936 for ac_symprfx in "" "_"; do
6938 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6939 symxfrm="\\1 $ac_symprfx\\2 \\2"
6941 # Write the raw and C identifiers.
6942 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6943 # Fake it for dumpbin and say T for any non-static function
6944 # and D for any global variable.
6945 # Also find C++ and __fastcall symbols from MSVC++,
6946 # which start with @ or ?.
6947 lt_cv_sys_global_symbol_pipe="$AWK '"\
6948 " {last_section=section; section=\$ 3};"\
6949 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6950 " \$ 0!~/External *\|/{next};"\
6951 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6952 " {if(hide[section]) next};"\
6953 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6954 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6955 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6956 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6957 " ' prfx=^$ac_symprfx"
6959 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6962 # Check to see that the pipe works correctly.
6966 cat > conftest.$ac_ext <<_LT_EOF
6971 void nm_test_func(void);
6972 void nm_test_func(void){}
6976 int main(){nm_test_var='a';nm_test_func();return(0);}
6979 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6980 (eval $ac_compile) 2>&5
6982 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6983 test $ac_status = 0; }; then
6984 # Now try to grab the symbols.
6986 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6987 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6990 test $ac_status = 0; } && test -s "$nlist"; then
6991 # Try sorting and uniquifying the output.
6992 if sort "$nlist" | uniq > "$nlist"T; then
6993 mv -f "$nlist"T "$nlist"
6998 # Make sure that we snagged all the symbols we need.
6999 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7000 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7001 cat <<_LT_EOF > conftest.$ac_ext
7007 # Now generate the symbol file.
7008 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7010 cat <<_LT_EOF >> conftest.$ac_ext
7012 /* The mapping between symbol names and symbols. */
7017 lt__PROGRAM__LTX_preloaded_symbols[] =
7019 { "@PROGRAM@", (void *) 0 },
7021 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7022 cat <<\_LT_EOF >> conftest.$ac_ext
7026 /* This works around a problem in FreeBSD linker */
7027 #ifdef FREEBSD_WORKAROUND
7028 static const void *lt_preloaded_setup() {
7029 return lt__PROGRAM__LTX_preloaded_symbols;
7037 # Now try linking the two files.
7038 mv conftest.$ac_objext conftstm.$ac_objext
7039 lt_save_LIBS="$LIBS"
7040 lt_save_CFLAGS="$CFLAGS"
7041 LIBS="conftstm.$ac_objext"
7042 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7043 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7044 (eval $ac_link) 2>&5
7046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7047 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7050 LIBS="$lt_save_LIBS"
7051 CFLAGS="$lt_save_CFLAGS"
7053 echo "cannot find nm_test_func in $nlist" >&5
7056 echo "cannot find nm_test_var in $nlist" >&5
7059 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7062 echo "$progname: failed program was:" >&5
7063 cat conftest.$ac_ext >&5
7065 rm -rf conftest* conftst*
7067 # Do not use the global_symbol_pipe unless it works.
7068 if test "$pipe_works" = yes; then
7071 lt_cv_sys_global_symbol_pipe=
7077 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7078 lt_cv_sys_global_symbol_to_cdecl=
7080 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7082 $as_echo "failed" >&6; }
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7085 $as_echo "ok" >&6; }
7110 # Check whether --enable-libtool-lock was given.
7111 if test "${enable_libtool_lock+set}" = set; then :
7112 enableval=$enable_libtool_lock;
7115 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7117 # Some flags need to be propagated to the compiler or linker for good
7121 # Find out which ABI we are using.
7122 echo 'int i;' > conftest.$ac_ext
7123 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7124 (eval $ac_compile) 2>&5
7126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7127 test $ac_status = 0; }; then
7128 case `/usr/bin/file conftest.$ac_objext` in
7140 # Find out which ABI we are using.
7141 echo '#line 7141 "configure"' > conftest.$ac_ext
7142 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7143 (eval $ac_compile) 2>&5
7145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7146 test $ac_status = 0; }; then
7147 if test "$lt_cv_prog_gnu_ld" = yes; then
7148 case `/usr/bin/file conftest.$ac_objext` in
7150 LD="${LD-ld} -melf32bsmip"
7153 LD="${LD-ld} -melf32bmipn32"
7156 LD="${LD-ld} -melf64bmip"
7160 case `/usr/bin/file conftest.$ac_objext` in
7176 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7177 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7178 # Find out which ABI we are using.
7179 echo 'int i;' > conftest.$ac_ext
7180 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7181 (eval $ac_compile) 2>&5
7183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7184 test $ac_status = 0; }; then
7185 case `/usr/bin/file conftest.o` in
7188 x86_64-*kfreebsd*-gnu)
7189 LD="${LD-ld} -m elf_i386_fbsd"
7192 LD="${LD-ld} -m elf_i386"
7194 ppc64-*linux*|powerpc64-*linux*)
7195 LD="${LD-ld} -m elf32ppclinux"
7198 LD="${LD-ld} -m elf_s390"
7201 LD="${LD-ld} -m elf32_sparc"
7207 x86_64-*kfreebsd*-gnu)
7208 LD="${LD-ld} -m elf_x86_64_fbsd"
7211 LD="${LD-ld} -m elf_x86_64"
7213 ppc*-*linux*|powerpc*-*linux*)
7214 LD="${LD-ld} -m elf64ppc"
7216 s390*-*linux*|s390*-*tpf*)
7217 LD="${LD-ld} -m elf64_s390"
7220 LD="${LD-ld} -m elf64_sparc"
7230 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7231 SAVE_CFLAGS="$CFLAGS"
7232 CFLAGS="$CFLAGS -belf"
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7234 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7235 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7236 $as_echo_n "(cached) " >&6
7239 ac_cpp='$CPP $CPPFLAGS'
7240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7245 /* end confdefs.h. */
7255 if ac_fn_c_try_link "$LINENO"; then :
7256 lt_cv_cc_needs_belf=yes
7258 lt_cv_cc_needs_belf=no
7260 rm -f core conftest.err conftest.$ac_objext \
7261 conftest$ac_exeext conftest.$ac_ext
7263 ac_cpp='$CPP $CPPFLAGS'
7264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7270 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7271 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7272 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7273 CFLAGS="$SAVE_CFLAGS"
7277 # Find out which ABI we are using.
7278 echo 'int i;' > conftest.$ac_ext
7279 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7280 (eval $ac_compile) 2>&5
7282 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7283 test $ac_status = 0; }; then
7284 case `/usr/bin/file conftest.o` in
7286 case $lt_cv_prog_gnu_ld in
7287 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7289 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7301 need_locks="$enable_libtool_lock"
7305 rhapsody* | darwin*)
7306 if test -n "$ac_tool_prefix"; then
7307 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7308 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7310 $as_echo_n "checking for $ac_word... " >&6; }
7311 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7312 $as_echo_n "(cached) " >&6
7314 if test -n "$DSYMUTIL"; then
7315 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7321 test -z "$as_dir" && as_dir=.
7322 for ac_exec_ext in '' $ac_executable_extensions; do
7323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7324 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7334 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7335 if test -n "$DSYMUTIL"; then
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7337 $as_echo "$DSYMUTIL" >&6; }
7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7340 $as_echo "no" >&6; }
7345 if test -z "$ac_cv_prog_DSYMUTIL"; then
7346 ac_ct_DSYMUTIL=$DSYMUTIL
7347 # Extract the first word of "dsymutil", so it can be a program name with args.
7348 set dummy dsymutil; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7352 $as_echo_n "(cached) " >&6
7354 if test -n "$ac_ct_DSYMUTIL"; then
7355 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7364 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7374 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7375 if test -n "$ac_ct_DSYMUTIL"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7377 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7383 if test "x$ac_ct_DSYMUTIL" = x; then
7386 case $cross_compiling:$ac_tool_warned in
7388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7389 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7390 ac_tool_warned=yes ;;
7392 DSYMUTIL=$ac_ct_DSYMUTIL
7395 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7398 if test -n "$ac_tool_prefix"; then
7399 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7400 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7402 $as_echo_n "checking for $ac_word... " >&6; }
7403 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7404 $as_echo_n "(cached) " >&6
7406 if test -n "$NMEDIT"; then
7407 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7413 test -z "$as_dir" && as_dir=.
7414 for ac_exec_ext in '' $ac_executable_extensions; do
7415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7416 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7417 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7426 NMEDIT=$ac_cv_prog_NMEDIT
7427 if test -n "$NMEDIT"; then
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7429 $as_echo "$NMEDIT" >&6; }
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7432 $as_echo "no" >&6; }
7437 if test -z "$ac_cv_prog_NMEDIT"; then
7438 ac_ct_NMEDIT=$NMEDIT
7439 # Extract the first word of "nmedit", so it can be a program name with args.
7440 set dummy nmedit; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7444 $as_echo_n "(cached) " >&6
7446 if test -n "$ac_ct_NMEDIT"; then
7447 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7453 test -z "$as_dir" && as_dir=.
7454 for ac_exec_ext in '' $ac_executable_extensions; do
7455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7456 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7466 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7467 if test -n "$ac_ct_NMEDIT"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7469 $as_echo "$ac_ct_NMEDIT" >&6; }
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7475 if test "x$ac_ct_NMEDIT" = x; then
7478 case $cross_compiling:$ac_tool_warned in
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7481 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7482 ac_tool_warned=yes ;;
7484 NMEDIT=$ac_ct_NMEDIT
7487 NMEDIT="$ac_cv_prog_NMEDIT"
7490 if test -n "$ac_tool_prefix"; then
7491 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7492 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7494 $as_echo_n "checking for $ac_word... " >&6; }
7495 if test "${ac_cv_prog_LIPO+set}" = set; then :
7496 $as_echo_n "(cached) " >&6
7498 if test -n "$LIPO"; then
7499 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7505 test -z "$as_dir" && as_dir=.
7506 for ac_exec_ext in '' $ac_executable_extensions; do
7507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7508 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7509 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7518 LIPO=$ac_cv_prog_LIPO
7519 if test -n "$LIPO"; then
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7521 $as_echo "$LIPO" >&6; }
7523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7524 $as_echo "no" >&6; }
7529 if test -z "$ac_cv_prog_LIPO"; then
7531 # Extract the first word of "lipo", so it can be a program name with args.
7532 set dummy lipo; ac_word=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7536 $as_echo_n "(cached) " >&6
7538 if test -n "$ac_ct_LIPO"; then
7539 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7545 test -z "$as_dir" && as_dir=.
7546 for ac_exec_ext in '' $ac_executable_extensions; do
7547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7548 ac_cv_prog_ac_ct_LIPO="lipo"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7558 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7559 if test -n "$ac_ct_LIPO"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7561 $as_echo "$ac_ct_LIPO" >&6; }
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7567 if test "x$ac_ct_LIPO" = x; then
7570 case $cross_compiling:$ac_tool_warned in
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7573 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7574 ac_tool_warned=yes ;;
7579 LIPO="$ac_cv_prog_LIPO"
7582 if test -n "$ac_tool_prefix"; then
7583 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7584 set dummy ${ac_tool_prefix}otool; ac_word=$2
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7586 $as_echo_n "checking for $ac_word... " >&6; }
7587 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7588 $as_echo_n "(cached) " >&6
7590 if test -n "$OTOOL"; then
7591 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7597 test -z "$as_dir" && as_dir=.
7598 for ac_exec_ext in '' $ac_executable_extensions; do
7599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7600 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7610 OTOOL=$ac_cv_prog_OTOOL
7611 if test -n "$OTOOL"; then
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7613 $as_echo "$OTOOL" >&6; }
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7616 $as_echo "no" >&6; }
7621 if test -z "$ac_cv_prog_OTOOL"; then
7623 # Extract the first word of "otool", so it can be a program name with args.
7624 set dummy otool; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7628 $as_echo_n "(cached) " >&6
7630 if test -n "$ac_ct_OTOOL"; then
7631 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640 ac_cv_prog_ac_ct_OTOOL="otool"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7650 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7651 if test -n "$ac_ct_OTOOL"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7653 $as_echo "$ac_ct_OTOOL" >&6; }
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7659 if test "x$ac_ct_OTOOL" = x; then
7662 case $cross_compiling:$ac_tool_warned in
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7666 ac_tool_warned=yes ;;
7671 OTOOL="$ac_cv_prog_OTOOL"
7674 if test -n "$ac_tool_prefix"; then
7675 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7676 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7678 $as_echo_n "checking for $ac_word... " >&6; }
7679 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7680 $as_echo_n "(cached) " >&6
7682 if test -n "$OTOOL64"; then
7683 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7689 test -z "$as_dir" && as_dir=.
7690 for ac_exec_ext in '' $ac_executable_extensions; do
7691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7692 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7702 OTOOL64=$ac_cv_prog_OTOOL64
7703 if test -n "$OTOOL64"; then
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7705 $as_echo "$OTOOL64" >&6; }
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7708 $as_echo "no" >&6; }
7713 if test -z "$ac_cv_prog_OTOOL64"; then
7714 ac_ct_OTOOL64=$OTOOL64
7715 # Extract the first word of "otool64", so it can be a program name with args.
7716 set dummy otool64; ac_word=$2
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7718 $as_echo_n "checking for $ac_word... " >&6; }
7719 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7720 $as_echo_n "(cached) " >&6
7722 if test -n "$ac_ct_OTOOL64"; then
7723 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7729 test -z "$as_dir" && as_dir=.
7730 for ac_exec_ext in '' $ac_executable_extensions; do
7731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7732 ac_cv_prog_ac_ct_OTOOL64="otool64"
7733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7742 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7743 if test -n "$ac_ct_OTOOL64"; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7745 $as_echo "$ac_ct_OTOOL64" >&6; }
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7748 $as_echo "no" >&6; }
7751 if test "x$ac_ct_OTOOL64" = x; then
7754 case $cross_compiling:$ac_tool_warned in
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7758 ac_tool_warned=yes ;;
7760 OTOOL64=$ac_ct_OTOOL64
7763 OTOOL64="$ac_cv_prog_OTOOL64"
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7793 $as_echo_n "checking for -single_module linker flag... " >&6; }
7794 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7795 $as_echo_n "(cached) " >&6
7797 lt_cv_apple_cc_single_mod=no
7798 if test -z "${LT_MULTI_MODULE}"; then
7799 # By default we will add the -single_module flag. You can override
7800 # by either setting the environment variable LT_MULTI_MODULE
7801 # non-empty at configure time, or by adding -multi_module to the
7803 rm -rf libconftest.dylib*
7804 echo "int foo(void){return 1;}" > conftest.c
7805 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7806 -dynamiclib -Wl,-single_module conftest.c" >&5
7807 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7808 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7810 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7811 lt_cv_apple_cc_single_mod=yes
7813 cat conftest.err >&5
7815 rm -rf libconftest.dylib*
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7820 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7822 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7823 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7824 $as_echo_n "(cached) " >&6
7826 lt_cv_ld_exported_symbols_list=no
7827 save_LDFLAGS=$LDFLAGS
7828 echo "_main" > conftest.sym
7829 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7831 /* end confdefs.h. */
7841 if ac_fn_c_try_link "$LINENO"; then :
7842 lt_cv_ld_exported_symbols_list=yes
7844 lt_cv_ld_exported_symbols_list=no
7846 rm -f core conftest.err conftest.$ac_objext \
7847 conftest$ac_exeext conftest.$ac_ext
7848 LDFLAGS="$save_LDFLAGS"
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7852 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7854 rhapsody* | darwin1.[012])
7855 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7857 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7858 darwin*) # darwin 5.x on
7859 # if running on 10.5 or later, the deployment target defaults
7860 # to the OS version, if on x86, and 10.4, the deployment
7861 # target defaults to 10.4. Don't you love it?
7862 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7863 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7864 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7866 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7868 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7872 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7873 _lt_dar_single_mod='$single_module'
7875 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7876 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7878 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7880 if test "$DSYMUTIL" != ":"; then
7881 _lt_dsymutil='~$DSYMUTIL $lib || :'
7889 ac_cpp='$CPP $CPPFLAGS'
7890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7894 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7895 # On Suns, sometimes $CPP names a directory.
7896 if test -n "$CPP" && test -d "$CPP"; then
7899 if test -z "$CPP"; then
7900 if test "${ac_cv_prog_CPP+set}" = set; then :
7901 $as_echo_n "(cached) " >&6
7903 # Double quotes because CPP needs to be expanded
7904 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7907 for ac_c_preproc_warn_flag in '' yes
7909 # Use a header file that comes with gcc, so configuring glibc
7910 # with a fresh cross-compiler works.
7911 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7912 # <limits.h> exists even on freestanding compilers.
7913 # On the NeXT, cc -E runs the code through the compiler's parser,
7914 # not just through cpp. "Syntax error" is here to catch this case.
7915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h. */
7918 # include <limits.h>
7920 # include <assert.h>
7924 if ac_fn_c_try_cpp "$LINENO"; then :
7927 # Broken: fails on valid input.
7930 rm -f conftest.err conftest.i conftest.$ac_ext
7932 # OK, works on sane cases. Now check whether nonexistent headers
7933 # can be detected and how.
7934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7935 /* end confdefs.h. */
7936 #include <ac_nonexistent.h>
7938 if ac_fn_c_try_cpp "$LINENO"; then :
7939 # Broken: success on invalid input.
7942 # Passes both tests.
7946 rm -f conftest.err conftest.i conftest.$ac_ext
7949 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7950 rm -f conftest.i conftest.err conftest.$ac_ext
7951 if $ac_preproc_ok; then :
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7964 $as_echo "$CPP" >&6; }
7966 for ac_c_preproc_warn_flag in '' yes
7968 # Use a header file that comes with gcc, so configuring glibc
7969 # with a fresh cross-compiler works.
7970 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7971 # <limits.h> exists even on freestanding compilers.
7972 # On the NeXT, cc -E runs the code through the compiler's parser,
7973 # not just through cpp. "Syntax error" is here to catch this case.
7974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7975 /* end confdefs.h. */
7977 # include <limits.h>
7979 # include <assert.h>
7983 if ac_fn_c_try_cpp "$LINENO"; then :
7986 # Broken: fails on valid input.
7989 rm -f conftest.err conftest.i conftest.$ac_ext
7991 # OK, works on sane cases. Now check whether nonexistent headers
7992 # can be detected and how.
7993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7994 /* end confdefs.h. */
7995 #include <ac_nonexistent.h>
7997 if ac_fn_c_try_cpp "$LINENO"; then :
7998 # Broken: success on invalid input.
8001 # Passes both tests.
8005 rm -f conftest.err conftest.i conftest.$ac_ext
8008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8009 rm -f conftest.i conftest.err conftest.$ac_ext
8010 if $ac_preproc_ok; then :
8013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8015 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8016 See \`config.log' for more details" "$LINENO" 5 ; }
8020 ac_cpp='$CPP $CPPFLAGS'
8021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8027 $as_echo_n "checking for ANSI C header files... " >&6; }
8028 if test "${ac_cv_header_stdc+set}" = set; then :
8029 $as_echo_n "(cached) " >&6
8031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8032 /* end confdefs.h. */
8046 if ac_fn_c_try_compile "$LINENO"; then :
8047 ac_cv_header_stdc=yes
8049 ac_cv_header_stdc=no
8051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8053 if test $ac_cv_header_stdc = yes; then
8054 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8056 /* end confdefs.h. */
8060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8061 $EGREP "memchr" >/dev/null 2>&1; then :
8064 ac_cv_header_stdc=no
8070 if test $ac_cv_header_stdc = yes; then
8071 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8073 /* end confdefs.h. */
8077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8078 $EGREP "free" >/dev/null 2>&1; then :
8081 ac_cv_header_stdc=no
8087 if test $ac_cv_header_stdc = yes; then
8088 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8089 if test "$cross_compiling" = yes; then :
8092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8093 /* end confdefs.h. */
8096 #if ((' ' & 0x0FF) == 0x020)
8097 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8098 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8100 # define ISLOWER(c) \
8101 (('a' <= (c) && (c) <= 'i') \
8102 || ('j' <= (c) && (c) <= 'r') \
8103 || ('s' <= (c) && (c) <= 'z'))
8104 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8107 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8112 for (i = 0; i < 256; i++)
8113 if (XOR (islower (i), ISLOWER (i))
8114 || toupper (i) != TOUPPER (i))
8119 if ac_fn_c_try_run "$LINENO"; then :
8122 ac_cv_header_stdc=no
8124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8125 conftest.$ac_objext conftest.beam conftest.$ac_ext
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8131 $as_echo "$ac_cv_header_stdc" >&6; }
8132 if test $ac_cv_header_stdc = yes; then
8134 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8138 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8139 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8140 inttypes.h stdint.h unistd.h
8142 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8143 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8145 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8146 cat >>confdefs.h <<_ACEOF
8147 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8155 for ac_header in dlfcn.h
8157 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8159 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8160 cat >>confdefs.h <<_ACEOF
8161 #define HAVE_DLFCN_H 1
8176 # Check whether --enable-shared was given.
8177 if test "${enable_shared+set}" = set; then :
8178 enableval=$enable_shared; p=${PACKAGE-default}
8180 yes) enable_shared=yes ;;
8181 no) enable_shared=no ;;
8184 # Look at the argument we got. We use all the common list separators.
8185 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8186 for pkg in $enableval; do
8188 if test "X$pkg" = "X$p"; then
8207 # Check whether --enable-static was given.
8208 if test "${enable_static+set}" = set; then :
8209 enableval=$enable_static; p=${PACKAGE-default}
8211 yes) enable_static=yes ;;
8212 no) enable_static=no ;;
8215 # Look at the argument we got. We use all the common list separators.
8216 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8217 for pkg in $enableval; do
8219 if test "X$pkg" = "X$p"; then
8239 # Check whether --with-pic was given.
8240 if test "${with_pic+set}" = set; then :
8241 withval=$with_pic; pic_mode="$withval"
8247 test -z "$pic_mode" && pic_mode=default
8255 # Check whether --enable-fast-install was given.
8256 if test "${enable_fast_install+set}" = set; then :
8257 enableval=$enable_fast_install; p=${PACKAGE-default}
8259 yes) enable_fast_install=yes ;;
8260 no) enable_fast_install=no ;;
8262 enable_fast_install=no
8263 # Look at the argument we got. We use all the common list separators.
8264 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8265 for pkg in $enableval; do
8267 if test "X$pkg" = "X$p"; then
8268 enable_fast_install=yes
8275 enable_fast_install=yes
8288 # This can be used to rebuild libtool when needed
8289 LIBTOOL_DEPS="$ltmain"
8291 # Always use our own libtool.
8292 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8318 test -z "$LN_S" && LN_S="ln -s"
8333 if test -n "${ZSH_VERSION+set}" ; then
8334 setopt NO_GLOB_SUBST
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8338 $as_echo_n "checking for objdir... " >&6; }
8339 if test "${lt_cv_objdir+set}" = set; then :
8340 $as_echo_n "(cached) " >&6
8342 rm -f .libs 2>/dev/null
8343 mkdir .libs 2>/dev/null
8344 if test -d .libs; then
8347 # MS-DOS does not allow filenames that begin with a dot.
8350 rmdir .libs 2>/dev/null
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8353 $as_echo "$lt_cv_objdir" >&6; }
8354 objdir=$lt_cv_objdir
8360 cat >>confdefs.h <<_ACEOF
8361 #define LT_OBJDIR "$lt_cv_objdir/"
8382 # AIX sometimes has problems with the GCC collect2 program. For some
8383 # reason, if we set the COLLECT_NAMES environment variable, the problems
8384 # vanish in a puff of smoke.
8385 if test "X${COLLECT_NAMES+set}" != Xset; then
8387 export COLLECT_NAMES
8392 # Sed substitution that helps us do robust quoting. It backslashifies
8393 # metacharacters that are still active within double-quoted strings.
8394 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8396 # Same as above, but do not quote variable references.
8397 double_quote_subst='s/\(["`\\]\)/\\\1/g'
8399 # Sed substitution to delay expansion of an escaped shell variable in a
8400 # double_quote_subst'ed string.
8401 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8403 # Sed substitution to delay expansion of an escaped single quote.
8404 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8406 # Sed substitution to avoid accidental globbing in evaled expressions
8407 no_glob_subst='s/\*/\\\*/g'
8411 can_build_shared=yes
8413 # All known linkers require a `.a' archive for static linking (except MSVC,
8414 # which needs '.lib').
8417 with_gnu_ld="$lt_cv_prog_gnu_ld"
8420 old_CFLAGS="$CFLAGS"
8422 # Set sane defaults for various variables
8423 test -z "$CC" && CC=cc
8424 test -z "$LTCC" && LTCC=$CC
8425 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8426 test -z "$LD" && LD=ld
8427 test -z "$ac_objext" && ac_objext=o
8429 for cc_temp in $compiler""; do
8431 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8432 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8437 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8440 # Only perform the check for file, if the check method requires it
8441 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8442 case $deplibs_check_method in
8444 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8446 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8447 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8448 $as_echo_n "(cached) " >&6
8452 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8455 lt_save_MAGIC_CMD="$MAGIC_CMD"
8456 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8457 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8458 for ac_dir in $ac_dummy; do
8460 test -z "$ac_dir" && ac_dir=.
8461 if test -f $ac_dir/${ac_tool_prefix}file; then
8462 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8463 if test -n "$file_magic_test_file"; then
8464 case $deplibs_check_method in
8466 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8467 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8468 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8469 $EGREP "$file_magic_regex" > /dev/null; then
8474 *** Warning: the command libtool uses to detect shared libraries,
8475 *** $file_magic_cmd, produces output that libtool cannot recognize.
8476 *** The result is that libtool may fail to recognize shared libraries
8477 *** as such. This will affect the creation of libtool libraries that
8478 *** depend on shared libraries, but programs linked with such libtool
8479 *** libraries will work regardless of this problem. Nevertheless, you
8480 *** may want to report the problem to your system manager and/or to
8481 *** bug-libtool@gnu.org
8491 MAGIC_CMD="$lt_save_MAGIC_CMD"
8496 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8497 if test -n "$MAGIC_CMD"; then
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8499 $as_echo "$MAGIC_CMD" >&6; }
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8502 $as_echo "no" >&6; }
8509 if test -z "$lt_cv_path_MAGIC_CMD"; then
8510 if test -n "$ac_tool_prefix"; then
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8512 $as_echo_n "checking for file... " >&6; }
8513 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8514 $as_echo_n "(cached) " >&6
8518 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8521 lt_save_MAGIC_CMD="$MAGIC_CMD"
8522 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8523 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8524 for ac_dir in $ac_dummy; do
8526 test -z "$ac_dir" && ac_dir=.
8527 if test -f $ac_dir/file; then
8528 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8529 if test -n "$file_magic_test_file"; then
8530 case $deplibs_check_method in
8532 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8533 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8534 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8535 $EGREP "$file_magic_regex" > /dev/null; then
8540 *** Warning: the command libtool uses to detect shared libraries,
8541 *** $file_magic_cmd, produces output that libtool cannot recognize.
8542 *** The result is that libtool may fail to recognize shared libraries
8543 *** as such. This will affect the creation of libtool libraries that
8544 *** depend on shared libraries, but programs linked with such libtool
8545 *** libraries will work regardless of this problem. Nevertheless, you
8546 *** may want to report the problem to your system manager and/or to
8547 *** bug-libtool@gnu.org
8557 MAGIC_CMD="$lt_save_MAGIC_CMD"
8562 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8563 if test -n "$MAGIC_CMD"; then
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8565 $as_echo "$MAGIC_CMD" >&6; }
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8568 $as_echo "no" >&6; }
8581 # Use C for the default configuration in the libtool script
8585 ac_cpp='$CPP $CPPFLAGS'
8586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8591 # Source file extension for C test sources.
8594 # Object file extension for compiled C test sources.
8598 # Code to be used in simple compile tests
8599 lt_simple_compile_test_code="int some_variable = 0;"
8601 # Code to be used in simple link tests
8602 lt_simple_link_test_code='int main(){return(0);}'
8610 # If no C compiler was specified, use CC.
8613 # If no C compiler flags were specified, use CFLAGS.
8614 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8616 # Allow CC to be a program name with arguments.
8619 # Save the default compiler, since it gets overwritten when the other
8620 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8621 compiler_DEFAULT=$CC
8623 # save warnings/boilerplate of simple test code
8624 ac_outfile=conftest.$ac_objext
8625 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8626 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8627 _lt_compiler_boilerplate=`cat conftest.err`
8630 ac_outfile=conftest.$ac_objext
8631 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8632 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8633 _lt_linker_boilerplate=`cat conftest.err`
8638 ## There is no encapsulation within the following macros, do not change
8639 ## the running order or otherwise move them around unless you know exactly
8640 ## what you are doing...
8641 if test -n "$compiler"; then
8643 lt_prog_compiler_no_builtin_flag=
8645 if test "$GCC" = yes; then
8646 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8649 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8650 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8651 $as_echo_n "(cached) " >&6
8653 lt_cv_prog_compiler_rtti_exceptions=no
8654 ac_outfile=conftest.$ac_objext
8655 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8656 lt_compiler_flag="-fno-rtti -fno-exceptions"
8657 # Insert the option either (1) after the last *FLAGS variable, or
8658 # (2) before a word containing "conftest.", or (3) at the end.
8659 # Note that $ac_compile itself does not contain backslashes and begins
8660 # with a dollar sign (not a hyphen), so the echo should work correctly.
8661 # The option is referenced via a variable to avoid confusing sed.
8662 lt_compile=`echo "$ac_compile" | $SED \
8663 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8664 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8665 -e 's:$: $lt_compiler_flag:'`
8666 (eval echo "\"\$as_me:8666: $lt_compile\"" >&5)
8667 (eval "$lt_compile" 2>conftest.err)
8669 cat conftest.err >&5
8670 echo "$as_me:8670: \$? = $ac_status" >&5
8671 if (exit $ac_status) && test -s "$ac_outfile"; then
8672 # The compiler can only warn and ignore the option if not recognized
8673 # So say no if there are warnings other than the usual output.
8674 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8675 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8676 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8677 lt_cv_prog_compiler_rtti_exceptions=yes
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8684 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8686 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8687 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8699 lt_prog_compiler_wl=
8700 lt_prog_compiler_pic=
8701 lt_prog_compiler_static=
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8704 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8706 if test "$GCC" = yes; then
8707 lt_prog_compiler_wl='-Wl,'
8708 lt_prog_compiler_static='-static'
8712 # All AIX code is PIC.
8713 if test "$host_cpu" = ia64; then
8714 # AIX 5 now supports IA64 processor
8715 lt_prog_compiler_static='-Bstatic'
8722 # see comment about AmigaOS4 .so support
8723 lt_prog_compiler_pic='-fPIC'
8726 # FIXME: we need at least 68020 code to build shared libraries, but
8727 # adding the `-m68020' flag to GCC prevents building anything better,
8729 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8734 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8735 # PIC is the default for these OSes.
8738 mingw* | cygwin* | pw32* | os2* | cegcc*)
8739 # This hack is so that the source file can tell whether it is being
8740 # built for inclusion in a dll (and should export symbols for example).
8741 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8742 # (--disable-auto-import) libraries
8743 lt_prog_compiler_pic='-DDLL_EXPORT'
8746 darwin* | rhapsody*)
8747 # PIC is the default on this platform
8748 # Common symbols not allowed in MH_DYLIB files
8749 lt_prog_compiler_pic='-fno-common'
8753 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8754 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8755 # sets the default TLS model and affects inlining.
8761 lt_prog_compiler_pic='-fPIC'
8767 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8768 # Instead, we relocate shared libraries at runtime.
8772 # Just because we use GCC doesn't mean we suddenly get shared libraries
8773 # on systems that don't support them.
8774 lt_prog_compiler_can_build_shared=no
8779 # QNX uses GNU C++, but need to define -shared option too, otherwise
8781 lt_prog_compiler_pic='-fPIC -shared'
8785 if test -d /usr/nec; then
8786 lt_prog_compiler_pic=-Kconform_pic
8791 lt_prog_compiler_pic='-fPIC'
8795 # PORTME Check for flag to pass linker flags through the system compiler.
8798 lt_prog_compiler_wl='-Wl,'
8799 if test "$host_cpu" = ia64; then
8800 # AIX 5 now supports IA64 processor
8801 lt_prog_compiler_static='-Bstatic'
8803 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8807 mingw* | cygwin* | pw32* | os2* | cegcc*)
8808 # This hack is so that the source file can tell whether it is being
8809 # built for inclusion in a dll (and should export symbols for example).
8810 lt_prog_compiler_pic='-DDLL_EXPORT'
8813 hpux9* | hpux10* | hpux11*)
8814 lt_prog_compiler_wl='-Wl,'
8815 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8822 lt_prog_compiler_pic='+Z'
8825 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8826 lt_prog_compiler_static='${wl}-a ${wl}archive'
8829 irix5* | irix6* | nonstopux*)
8830 lt_prog_compiler_wl='-Wl,'
8831 # PIC (with -KPIC) is the default.
8832 lt_prog_compiler_static='-non_shared'
8835 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8836 case $cc_basename in
8837 # old Intel for x86_64 which still supported -KPIC.
8839 lt_prog_compiler_wl='-Wl,'
8840 lt_prog_compiler_pic='-KPIC'
8841 lt_prog_compiler_static='-static'
8843 # icc used to be incompatible with GCC.
8844 # ICC 10 doesn't accept -KPIC any more.
8846 lt_prog_compiler_wl='-Wl,'
8847 lt_prog_compiler_pic='-fPIC'
8848 lt_prog_compiler_static='-static'
8850 # Lahey Fortran 8.1.
8852 lt_prog_compiler_wl='-Wl,'
8853 lt_prog_compiler_pic='--shared'
8854 lt_prog_compiler_static='--static'
8856 pgcc* | pgf77* | pgf90* | pgf95*)
8857 # Portland Group compilers (*not* the Pentium gcc compiler,
8858 # which looks to be a dead project)
8859 lt_prog_compiler_wl='-Wl,'
8860 lt_prog_compiler_pic='-fpic'
8861 lt_prog_compiler_static='-Bstatic'
8864 lt_prog_compiler_wl='-Wl,'
8865 # All Alpha code is PIC.
8866 lt_prog_compiler_static='-non_shared'
8869 # IBM XL C 8.0/Fortran 10.1 on PPC
8870 lt_prog_compiler_wl='-Wl,'
8871 lt_prog_compiler_pic='-qpic'
8872 lt_prog_compiler_static='-qstaticlink'
8875 case `$CC -V 2>&1 | sed 5q` in
8878 lt_prog_compiler_pic='-KPIC'
8879 lt_prog_compiler_static='-Bstatic'
8880 lt_prog_compiler_wl='-Wl,'
8883 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8884 lt_prog_compiler_pic='-KPIC'
8885 lt_prog_compiler_static='-Bstatic'
8886 lt_prog_compiler_wl=''
8894 lt_prog_compiler_pic='-KPIC'
8895 lt_prog_compiler_static='-Bstatic'
8899 # QNX uses GNU C++, but need to define -shared option too, otherwise
8901 lt_prog_compiler_pic='-fPIC -shared'
8904 osf3* | osf4* | osf5*)
8905 lt_prog_compiler_wl='-Wl,'
8906 # All OSF/1 code is PIC.
8907 lt_prog_compiler_static='-non_shared'
8911 lt_prog_compiler_static='-non_shared'
8915 lt_prog_compiler_pic='-KPIC'
8916 lt_prog_compiler_static='-Bstatic'
8917 case $cc_basename in
8919 lt_prog_compiler_wl='-Qoption ld ';;
8921 lt_prog_compiler_wl='-Wl,';;
8926 lt_prog_compiler_wl='-Qoption ld '
8927 lt_prog_compiler_pic='-PIC'
8928 lt_prog_compiler_static='-Bstatic'
8931 sysv4 | sysv4.2uw2* | sysv4.3*)
8932 lt_prog_compiler_wl='-Wl,'
8933 lt_prog_compiler_pic='-KPIC'
8934 lt_prog_compiler_static='-Bstatic'
8938 if test -d /usr/nec ;then
8939 lt_prog_compiler_pic='-Kconform_pic'
8940 lt_prog_compiler_static='-Bstatic'
8944 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8945 lt_prog_compiler_wl='-Wl,'
8946 lt_prog_compiler_pic='-KPIC'
8947 lt_prog_compiler_static='-Bstatic'
8951 lt_prog_compiler_wl='-Wl,'
8952 lt_prog_compiler_can_build_shared=no
8956 lt_prog_compiler_pic='-pic'
8957 lt_prog_compiler_static='-Bstatic'
8961 lt_prog_compiler_can_build_shared=no
8967 # For platforms which do not support PIC, -DPIC is meaningless:
8969 lt_prog_compiler_pic=
8972 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8976 $as_echo "$lt_prog_compiler_pic" >&6; }
8984 # Check to make sure the PIC flag actually works.
8986 if test -n "$lt_prog_compiler_pic"; then
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8988 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8989 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8990 $as_echo_n "(cached) " >&6
8992 lt_cv_prog_compiler_pic_works=no
8993 ac_outfile=conftest.$ac_objext
8994 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8995 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8996 # Insert the option either (1) after the last *FLAGS variable, or
8997 # (2) before a word containing "conftest.", or (3) at the end.
8998 # Note that $ac_compile itself does not contain backslashes and begins
8999 # with a dollar sign (not a hyphen), so the echo should work correctly.
9000 # The option is referenced via a variable to avoid confusing sed.
9001 lt_compile=`echo "$ac_compile" | $SED \
9002 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9003 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9004 -e 's:$: $lt_compiler_flag:'`
9005 (eval echo "\"\$as_me:9005: $lt_compile\"" >&5)
9006 (eval "$lt_compile" 2>conftest.err)
9008 cat conftest.err >&5
9009 echo "$as_me:9009: \$? = $ac_status" >&5
9010 if (exit $ac_status) && test -s "$ac_outfile"; then
9011 # The compiler can only warn and ignore the option if not recognized
9012 # So say no if there are warnings other than the usual output.
9013 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9014 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9015 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9016 lt_cv_prog_compiler_pic_works=yes
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9023 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9025 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9026 case $lt_prog_compiler_pic in
9028 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9031 lt_prog_compiler_pic=
9032 lt_prog_compiler_can_build_shared=no
9043 # Check to make sure the static flag actually works.
9045 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9047 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9048 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9049 $as_echo_n "(cached) " >&6
9051 lt_cv_prog_compiler_static_works=no
9052 save_LDFLAGS="$LDFLAGS"
9053 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9054 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9055 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9056 # The linker can only warn and ignore the option if not recognized
9057 # So say no if there are warnings
9058 if test -s conftest.err; then
9059 # Append any errors to the config.log.
9060 cat conftest.err 1>&5
9061 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9062 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9063 if diff conftest.exp conftest.er2 >/dev/null; then
9064 lt_cv_prog_compiler_static_works=yes
9067 lt_cv_prog_compiler_static_works=yes
9071 LDFLAGS="$save_LDFLAGS"
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9075 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9077 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9080 lt_prog_compiler_static=
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9090 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9091 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9092 $as_echo_n "(cached) " >&6
9094 lt_cv_prog_compiler_c_o=no
9095 $RM -r conftest 2>/dev/null
9099 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9101 lt_compiler_flag="-o out/conftest2.$ac_objext"
9102 # Insert the option either (1) after the last *FLAGS variable, or
9103 # (2) before a word containing "conftest.", or (3) at the end.
9104 # Note that $ac_compile itself does not contain backslashes and begins
9105 # with a dollar sign (not a hyphen), so the echo should work correctly.
9106 lt_compile=`echo "$ac_compile" | $SED \
9107 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9108 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9109 -e 's:$: $lt_compiler_flag:'`
9110 (eval echo "\"\$as_me:9110: $lt_compile\"" >&5)
9111 (eval "$lt_compile" 2>out/conftest.err)
9113 cat out/conftest.err >&5
9114 echo "$as_me:9114: \$? = $ac_status" >&5
9115 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9117 # The compiler can only warn and ignore the option if not recognized
9118 # So say no if there are warnings
9119 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9120 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9121 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9122 lt_cv_prog_compiler_c_o=yes
9127 # SGI C++ compiler will create directory out/ii_files/ for
9128 # template instantiation
9129 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9130 $RM out/* && rmdir out
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9137 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9145 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9146 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9147 $as_echo_n "(cached) " >&6
9149 lt_cv_prog_compiler_c_o=no
9150 $RM -r conftest 2>/dev/null
9154 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9156 lt_compiler_flag="-o out/conftest2.$ac_objext"
9157 # Insert the option either (1) after the last *FLAGS variable, or
9158 # (2) before a word containing "conftest.", or (3) at the end.
9159 # Note that $ac_compile itself does not contain backslashes and begins
9160 # with a dollar sign (not a hyphen), so the echo should work correctly.
9161 lt_compile=`echo "$ac_compile" | $SED \
9162 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9163 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9164 -e 's:$: $lt_compiler_flag:'`
9165 (eval echo "\"\$as_me:9165: $lt_compile\"" >&5)
9166 (eval "$lt_compile" 2>out/conftest.err)
9168 cat out/conftest.err >&5
9169 echo "$as_me:9169: \$? = $ac_status" >&5
9170 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9172 # The compiler can only warn and ignore the option if not recognized
9173 # So say no if there are warnings
9174 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9175 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9176 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9177 lt_cv_prog_compiler_c_o=yes
9182 # SGI C++ compiler will create directory out/ii_files/ for
9183 # template instantiation
9184 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9185 $RM out/* && rmdir out
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9192 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9197 hard_links="nottested"
9198 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9199 # do not overwrite the value of need_locks provided by the user
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9201 $as_echo_n "checking if we can lock with hard links... " >&6; }
9204 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9206 ln conftest.a conftest.b 2>&5 || hard_links=no
9207 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9209 $as_echo "$hard_links" >&6; }
9210 if test "$hard_links" = no; then
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9212 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9225 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9228 allow_undefined_flag=
9229 always_export_symbols=no
9231 archive_expsym_cmds=
9232 compiler_needs_object=no
9233 enable_shared_with_static_runtimes=no
9234 export_dynamic_flag_spec=
9235 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9236 hardcode_automatic=no
9238 hardcode_direct_absolute=no
9239 hardcode_libdir_flag_spec=
9240 hardcode_libdir_flag_spec_ld=
9241 hardcode_libdir_separator=
9243 hardcode_shlibpath_var=unsupported
9245 link_all_deplibs=unknown
9248 old_archive_from_new_cmds=
9249 old_archive_from_expsyms_cmds=
9250 thread_safe_flag_spec=
9251 whole_archive_flag_spec=
9252 # include_expsyms should be a list of space-separated symbols to be *always*
9253 # included in the symbol list
9255 # exclude_expsyms can be an extended regexp of symbols to exclude
9256 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9257 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9258 # as well as any symbol that contains `d'.
9259 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9260 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9261 # platforms (ab)use it in PIC code, but their linkers get confused if
9262 # the symbol is explicitly referenced. Since portable code cannot
9263 # rely on this symbol name, it's probably fine to never include it in
9264 # preloaded symbol tables.
9265 # Exclude shared library initialization/finalization symbols.
9266 extract_expsyms_cmds=
9269 cygwin* | mingw* | pw32* | cegcc*)
9270 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9271 # When not using gcc, we currently assume that we are using
9272 # Microsoft Visual C++.
9273 if test "$GCC" != yes; then
9278 # we just hope/assume this is gcc and not c89 (= MSVC++)
9284 linux* | k*bsd*-gnu)
9290 if test "$with_gnu_ld" = yes; then
9291 # If archive_cmds runs LD, not CC, wlarc should be empty
9294 # Set some defaults for GNU ld with shared library support. These
9295 # are reset later if shared libraries are not supported. Putting them
9296 # here allows them to be overridden if necessary.
9297 runpath_var=LD_RUN_PATH
9298 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9299 export_dynamic_flag_spec='${wl}--export-dynamic'
9300 # ancient GNU ld didn't support --whole-archive et. al.
9301 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9302 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9304 whole_archive_flag_spec=
9306 supports_anon_versioning=no
9307 case `$LD -v 2>&1` in
9308 *GNU\ gold*) supports_anon_versioning=yes ;;
9309 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9310 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9311 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9312 *\ 2.11.*) ;; # other 2.11 versions
9313 *) supports_anon_versioning=yes ;;
9316 # See if GNU ld supports shared libraries.
9319 # On AIX/PPC, the GNU linker is very broken
9320 if test "$host_cpu" != ia64; then
9324 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
9325 *** to be unable to reliably create shared libraries on AIX.
9326 *** Therefore, libtool is disabling shared libraries support. If you
9327 *** really care for shared libraries, you may want to modify your PATH
9328 *** so that a non-GNU linker is found, and then restart.
9337 # see comment about AmigaOS4 .so support
9338 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9339 archive_expsym_cmds=''
9342 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)'
9343 hardcode_libdir_flag_spec='-L$libdir'
9344 hardcode_minus_L=yes
9350 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9351 allow_undefined_flag=unsupported
9352 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9353 # support --undefined. This deserves some investigation. FIXME
9354 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9360 cygwin* | mingw* | pw32* | cegcc*)
9361 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9362 # as there is no search path for DLLs.
9363 hardcode_libdir_flag_spec='-L$libdir'
9364 allow_undefined_flag=unsupported
9365 always_export_symbols=no
9366 enable_shared_with_static_runtimes=yes
9367 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9369 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9370 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9371 # If the export-symbols file already is a .def file (1st line
9372 # is EXPORTS), use it as is; otherwise, prepend...
9373 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9374 cp $export_symbols $output_objdir/$soname.def;
9376 echo EXPORTS > $output_objdir/$soname.def;
9377 cat $export_symbols >> $output_objdir/$soname.def;
9379 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9387 hardcode_shlibpath_var=no
9388 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9389 export_dynamic_flag_spec='${wl}-E'
9390 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9391 # Instead, shared libraries are loaded at an image base (0x10000000 by
9392 # default) and relocated if they conflict, which is a slow very memory
9393 # consuming and fragmenting process. To avoid this, we pick a random,
9394 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9395 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9396 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9397 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'
9400 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9402 if test "$host_os" = linux-dietlibc; then
9403 case $cc_basename in
9404 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9407 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9408 && test "$tmp_diet" = no
9411 tmp_sharedflag='-shared'
9412 case $cc_basename,$host_cpu in
9413 pgcc*) # Portland Group C compiler
9414 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'
9415 tmp_addflag=' $pic_flag'
9417 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9418 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'
9419 tmp_addflag=' $pic_flag -Mnomain' ;;
9420 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9421 tmp_addflag=' -i_dynamic' ;;
9422 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9423 tmp_addflag=' -i_dynamic -nofor_main' ;;
9424 ifc* | ifort*) # Intel Fortran compiler
9425 tmp_addflag=' -nofor_main' ;;
9426 lf95*) # Lahey Fortran 8.1
9427 whole_archive_flag_spec=
9428 tmp_sharedflag='--shared' ;;
9429 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9430 tmp_sharedflag='-qmkshrobj'
9433 case `$CC -V 2>&1 | sed 5q` in
9434 *Sun\ C*) # Sun C 5.9
9435 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'
9436 compiler_needs_object=yes
9437 tmp_sharedflag='-G' ;;
9438 *Sun\ F*) # Sun Fortran 8.3
9439 tmp_sharedflag='-G' ;;
9441 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9443 if test "x$supports_anon_versioning" = xyes; then
9444 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9445 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9446 echo "local: *; };" >> $output_objdir/$libname.ver~
9447 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9450 case $cc_basename in
9452 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9453 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9454 hardcode_libdir_flag_spec=
9455 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9456 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9457 if test "x$supports_anon_versioning" = xyes; then
9458 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9459 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9460 echo "local: *; };" >> $output_objdir/$libname.ver~
9461 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9470 netbsd* | netbsdelf*-gnu)
9471 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9472 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9475 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9476 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9481 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9485 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9486 *** create shared libraries on Solaris systems. Therefore, libtool
9487 *** is disabling shared libraries support. We urge you to upgrade GNU
9488 *** binutils to release 2.9.1 or newer. Another option is to modify
9489 *** your PATH or compiler configuration so that the native linker is
9490 *** used, and then restart.
9493 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9494 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9495 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9501 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9502 case `$LD -v 2>&1` in
9503 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9507 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9508 *** reliably create shared libraries on SCO systems. Therefore, libtool
9509 *** is disabling shared libraries support. We urge you to upgrade GNU
9510 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9511 *** your PATH or compiler configuration so that the native linker is
9512 *** used, and then restart.
9517 # For security reasons, it is highly recommended that you always
9518 # use absolute paths for naming shared libraries, and exclude the
9519 # DT_RUNPATH tag from executables and libraries. But doing so
9520 # requires that you compile everything twice, which is a pain.
9521 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9522 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9523 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9524 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9533 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9536 hardcode_shlibpath_var=no
9540 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9541 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9542 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9549 if test "$ld_shlibs" = no; then
9551 hardcode_libdir_flag_spec=
9552 export_dynamic_flag_spec=
9553 whole_archive_flag_spec=
9556 # PORTME fill in a description of your system's linker (not GNU ld)
9559 allow_undefined_flag=unsupported
9560 always_export_symbols=yes
9561 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'
9562 # Note: this linker hardcodes the directories in LIBPATH if there
9563 # are no directories specified by -L.
9564 hardcode_minus_L=yes
9565 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9566 # Neither direct hardcoding nor static linking is supported with a
9568 hardcode_direct=unsupported
9573 if test "$host_cpu" = ia64; then
9574 # On IA64, the linker does run time linking by default, so we don't
9575 # have to do anything special.
9576 aix_use_runtimelinking=no
9577 exp_sym_flag='-Bexport'
9580 # If we're using GNU nm, then we don't want the "-C" option.
9581 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9582 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9583 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'
9585 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'
9587 aix_use_runtimelinking=no
9589 # Test if we are trying to use run time linking or normal
9590 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9591 # need to do runtime linking.
9592 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9593 for ld_flag in $LDFLAGS; do
9594 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9595 aix_use_runtimelinking=yes
9602 exp_sym_flag='-bexport'
9603 no_entry_flag='-bnoentry'
9606 # When large executables or shared objects are built, AIX ld can
9607 # have problems creating the table of contents. If linking a library
9608 # or program results in "error TOC overflow" add -mminimal-toc to
9609 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9610 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9614 hardcode_direct_absolute=yes
9615 hardcode_libdir_separator=':'
9616 link_all_deplibs=yes
9617 file_list_spec='${wl}-f,'
9619 if test "$GCC" = yes; then
9620 case $host_os in aix4.[012]|aix4.[012].*)
9621 # We only want to do this on AIX 4.2 and lower, the check
9622 # below for broken collect2 doesn't work under 4.3+
9623 collect2name=`${CC} -print-prog-name=collect2`
9624 if test -f "$collect2name" &&
9625 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9627 # We have reworked collect2
9630 # We have old collect2
9631 hardcode_direct=unsupported
9632 # It fails to find uninstalled libraries when the uninstalled
9633 # path is not listed in the libpath. Setting hardcode_minus_L
9634 # to unsupported forces relinking
9635 hardcode_minus_L=yes
9636 hardcode_libdir_flag_spec='-L$libdir'
9637 hardcode_libdir_separator=
9641 shared_flag='-shared'
9642 if test "$aix_use_runtimelinking" = yes; then
9643 shared_flag="$shared_flag "'${wl}-G'
9648 if test "$host_cpu" = ia64; then
9649 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9650 # chokes on -Wl,-G. The following line is correct:
9653 if test "$aix_use_runtimelinking" = yes; then
9654 shared_flag='${wl}-G'
9656 shared_flag='${wl}-bM:SRE'
9661 export_dynamic_flag_spec='${wl}-bexpall'
9662 # It seems that -bexpall does not export symbols beginning with
9663 # underscore (_), so it is better to generate a list of symbols to export.
9664 always_export_symbols=yes
9665 if test "$aix_use_runtimelinking" = yes; then
9666 # Warning - without using the other runtime loading flags (-brtl),
9667 # -berok will link without error, but may produce a broken library.
9668 allow_undefined_flag='-berok'
9669 # Determine the default libpath from the value encoded in an
9671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9672 /* end confdefs.h. */
9682 if ac_fn_c_try_link "$LINENO"; then :
9684 lt_aix_libpath_sed='
9685 /Import File Strings/,/^$/ {
9691 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9692 # Check for a 64-bit object if we didn't find anything.
9693 if test -z "$aix_libpath"; then
9694 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9697 rm -f core conftest.err conftest.$ac_objext \
9698 conftest$ac_exeext conftest.$ac_ext
9699 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9701 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9702 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"
9704 if test "$host_cpu" = ia64; then
9705 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9706 allow_undefined_flag="-z nodefs"
9707 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"
9709 # Determine the default libpath from the value encoded in an
9711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9712 /* end confdefs.h. */
9722 if ac_fn_c_try_link "$LINENO"; then :
9724 lt_aix_libpath_sed='
9725 /Import File Strings/,/^$/ {
9731 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9732 # Check for a 64-bit object if we didn't find anything.
9733 if test -z "$aix_libpath"; then
9734 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9737 rm -f core conftest.err conftest.$ac_objext \
9738 conftest$ac_exeext conftest.$ac_ext
9739 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9741 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9742 # Warning - without using the other run time loading flags,
9743 # -berok will link without error, but may produce a broken library.
9744 no_undefined_flag=' ${wl}-bernotok'
9745 allow_undefined_flag=' ${wl}-berok'
9746 # Exported symbols can be pulled into shared objects from archives
9747 whole_archive_flag_spec='$convenience'
9748 archive_cmds_need_lc=yes
9749 # This is similar to how AIX traditionally builds its shared libraries.
9750 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'
9758 # see comment about AmigaOS4 .so support
9759 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9760 archive_expsym_cmds=''
9763 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)'
9764 hardcode_libdir_flag_spec='-L$libdir'
9765 hardcode_minus_L=yes
9771 export_dynamic_flag_spec=-rdynamic
9774 cygwin* | mingw* | pw32* | cegcc*)
9775 # When not using gcc, we currently assume that we are using
9776 # Microsoft Visual C++.
9777 # hardcode_libdir_flag_spec is actually meaningless, as there is
9778 # no search path for DLLs.
9779 hardcode_libdir_flag_spec=' '
9780 allow_undefined_flag=unsupported
9781 # Tell ltmain to make .lib files, not .a files.
9783 # Tell ltmain to make .dll files, not .so files.
9785 # FIXME: Setting linknames here is a bad hack.
9786 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9787 # The linker will automatically build a .lib file if we build a DLL.
9788 old_archive_from_new_cmds='true'
9789 # FIXME: Should let the user specify the lib program.
9790 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9791 fix_srcfile_path='`cygpath -w "$srcfile"`'
9792 enable_shared_with_static_runtimes=yes
9795 darwin* | rhapsody*)
9798 archive_cmds_need_lc=no
9800 hardcode_automatic=yes
9801 hardcode_shlibpath_var=unsupported
9802 whole_archive_flag_spec=''
9803 link_all_deplibs=yes
9804 allow_undefined_flag="$_lt_dar_allow_undefined"
9805 case $cc_basename in
9806 ifort*) _lt_dar_can_shared=yes ;;
9807 *) _lt_dar_can_shared=$GCC ;;
9809 if test "$_lt_dar_can_shared" = "yes"; then
9810 output_verbose_link_cmd=echo
9811 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9812 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9813 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}"
9814 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}"
9823 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9824 hardcode_libdir_flag_spec='-L$libdir'
9825 hardcode_shlibpath_var=no
9832 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9833 # support. Future versions do this automatically, but an explicit c++rt0.o
9834 # does not break anything, and helps significantly (at the cost of a little
9837 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9838 hardcode_libdir_flag_spec='-R$libdir'
9840 hardcode_shlibpath_var=no
9843 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9845 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9847 hardcode_minus_L=yes
9848 hardcode_shlibpath_var=no
9851 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9852 freebsd* | dragonfly*)
9853 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9854 hardcode_libdir_flag_spec='-R$libdir'
9856 hardcode_shlibpath_var=no
9860 if test "$GCC" = yes; then
9861 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'
9863 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'
9865 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9866 hardcode_libdir_separator=:
9869 # hardcode_minus_L: Not really in the search PATH,
9870 # but as the default location of the library.
9871 hardcode_minus_L=yes
9872 export_dynamic_flag_spec='${wl}-E'
9876 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9877 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9879 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9881 if test "$with_gnu_ld" = no; then
9882 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9883 hardcode_libdir_flag_spec_ld='+b $libdir'
9884 hardcode_libdir_separator=:
9886 hardcode_direct_absolute=yes
9887 export_dynamic_flag_spec='${wl}-E'
9888 # hardcode_minus_L: Not really in the search PATH,
9889 # but as the default location of the library.
9890 hardcode_minus_L=yes
9895 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9898 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9901 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9904 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9910 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9913 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9916 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9920 if test "$with_gnu_ld" = no; then
9921 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9922 hardcode_libdir_separator=:
9927 hardcode_shlibpath_var=no
9931 hardcode_direct_absolute=yes
9932 export_dynamic_flag_spec='${wl}-E'
9934 # hardcode_minus_L: Not really in the search PATH,
9935 # but as the default location of the library.
9936 hardcode_minus_L=yes
9942 irix5* | irix6* | nonstopux*)
9943 if test "$GCC" = yes; then
9944 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'
9945 # Try to use the -exported_symbol ld option, if it does not
9946 # work, assume that -exports_file does not work either and
9947 # implicitly export all symbols.
9948 save_LDFLAGS="$LDFLAGS"
9949 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9951 /* end confdefs.h. */
9954 if ac_fn_c_try_link "$LINENO"; then :
9955 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'
9958 rm -f core conftest.err conftest.$ac_objext \
9959 conftest$ac_exeext conftest.$ac_ext
9960 LDFLAGS="$save_LDFLAGS"
9962 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'
9963 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'
9965 archive_cmds_need_lc='no'
9966 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9967 hardcode_libdir_separator=:
9969 link_all_deplibs=yes
9972 netbsd* | netbsdelf*-gnu)
9973 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9974 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9976 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9978 hardcode_libdir_flag_spec='-R$libdir'
9980 hardcode_shlibpath_var=no
9984 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9986 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9987 hardcode_libdir_separator=:
9988 hardcode_shlibpath_var=no
9995 if test -f /usr/libexec/ld.so; then
9997 hardcode_shlibpath_var=no
9998 hardcode_direct_absolute=yes
9999 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10000 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10001 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10002 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10003 export_dynamic_flag_spec='${wl}-E'
10006 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10007 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10008 hardcode_libdir_flag_spec='-R$libdir'
10011 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10012 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10022 hardcode_libdir_flag_spec='-L$libdir'
10023 hardcode_minus_L=yes
10024 allow_undefined_flag=unsupported
10025 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'
10026 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10030 if test "$GCC" = yes; then
10031 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10032 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'
10034 allow_undefined_flag=' -expect_unresolved \*'
10035 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'
10037 archive_cmds_need_lc='no'
10038 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10039 hardcode_libdir_separator=:
10042 osf4* | osf5*) # as osf3* with the addition of -msym flag
10043 if test "$GCC" = yes; then
10044 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10045 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'
10046 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10048 allow_undefined_flag=' -expect_unresolved \*'
10049 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'
10050 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~
10051 $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'
10053 # Both c and cxx compiler support -rpath directly
10054 hardcode_libdir_flag_spec='-rpath $libdir'
10056 archive_cmds_need_lc='no'
10057 hardcode_libdir_separator=:
10061 no_undefined_flag=' -z defs'
10062 if test "$GCC" = yes; then
10064 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10065 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10066 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10068 case `$CC -V 2>&1` in
10071 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10072 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10073 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10077 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10078 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10079 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10083 hardcode_libdir_flag_spec='-R$libdir'
10084 hardcode_shlibpath_var=no
10086 solaris2.[0-5] | solaris2.[0-5].*) ;;
10088 # The compiler driver will combine and reorder linker options,
10089 # but understands `-z linker_flag'. GCC discards it without `$wl',
10090 # but is careful enough not to reorder.
10091 # Supported since Solaris 2.6 (maybe 2.5.1?)
10092 if test "$GCC" = yes; then
10093 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10095 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10099 link_all_deplibs=yes
10103 if test "x$host_vendor" = xsequent; then
10104 # Use $CC to link under sequent, because it throws in some extra .o
10105 # files that make .init and .fini sections work.
10106 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10108 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10110 hardcode_libdir_flag_spec='-L$libdir'
10111 hardcode_direct=yes
10112 hardcode_minus_L=yes
10113 hardcode_shlibpath_var=no
10117 case $host_vendor in
10119 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10120 hardcode_direct=yes # is this really true???
10123 ## LD is ld it makes a PLAMLIB
10124 ## CC just makes a GrossModule.
10125 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10126 reload_cmds='$CC -r -o $output$reload_objs'
10130 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10131 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10134 runpath_var='LD_RUN_PATH'
10135 hardcode_shlibpath_var=no
10139 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10140 hardcode_shlibpath_var=no
10141 export_dynamic_flag_spec='-Bexport'
10145 if test -d /usr/nec; then
10146 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10147 hardcode_shlibpath_var=no
10148 runpath_var=LD_RUN_PATH
10149 hardcode_runpath_var=yes
10154 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10155 no_undefined_flag='${wl}-z,text'
10156 archive_cmds_need_lc=no
10157 hardcode_shlibpath_var=no
10158 runpath_var='LD_RUN_PATH'
10160 if test "$GCC" = yes; then
10161 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10162 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10164 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10165 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10169 sysv5* | sco3.2v5* | sco5v6*)
10170 # Note: We can NOT use -z defs as we might desire, because we do not
10171 # link with -lc, and that would cause any symbols used from libc to
10172 # always be unresolved, which means just about no library would
10173 # ever link correctly. If we're not using GNU ld we use -z text
10174 # though, which does catch some bad symbols but isn't as heavy-handed
10176 no_undefined_flag='${wl}-z,text'
10177 allow_undefined_flag='${wl}-z,nodefs'
10178 archive_cmds_need_lc=no
10179 hardcode_shlibpath_var=no
10180 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10181 hardcode_libdir_separator=':'
10182 link_all_deplibs=yes
10183 export_dynamic_flag_spec='${wl}-Bexport'
10184 runpath_var='LD_RUN_PATH'
10186 if test "$GCC" = yes; then
10187 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10188 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10190 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10191 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10196 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10197 hardcode_libdir_flag_spec='-L$libdir'
10198 hardcode_shlibpath_var=no
10206 if test x$host_vendor = xsni; then
10208 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10209 export_dynamic_flag_spec='${wl}-Blargedynsym'
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10216 $as_echo "$ld_shlibs" >&6; }
10217 test "$ld_shlibs" = no && can_build_shared=no
10219 with_gnu_ld=$with_gnu_ld
10236 # Do we need to explicitly link libc?
10238 case "x$archive_cmds_need_lc" in
10240 # Assume -lc should be added
10241 archive_cmds_need_lc=yes
10243 if test "$enable_shared" = yes && test "$GCC" = yes; then
10244 case $archive_cmds in
10246 # FIXME: we may have to deal with multi-command sequences.
10249 # Test whether the compiler implicitly links with -lc since on some
10250 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10251 # to ld, don't add -lc before -lgcc.
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10253 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10255 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10257 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10258 (eval $ac_compile) 2>&5
10260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10261 test $ac_status = 0; } 2>conftest.err; then
10264 libobjs=conftest.$ac_objext
10266 wl=$lt_prog_compiler_wl
10267 pic_flag=$lt_prog_compiler_pic
10273 lt_save_allow_undefined_flag=$allow_undefined_flag
10274 allow_undefined_flag=
10275 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10276 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10279 test $ac_status = 0; }
10281 archive_cmds_need_lc=no
10283 archive_cmds_need_lc=yes
10285 allow_undefined_flag=$lt_save_allow_undefined_flag
10287 cat conftest.err 1>&5
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10291 $as_echo "$archive_cmds_need_lc" >&6; }
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10455 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10457 if test "$GCC" = yes; then
10459 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10460 *) lt_awk_arg="/^libraries:/" ;;
10462 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10463 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10464 # if the path contains ";" then we assume it to be the separator
10465 # otherwise default to the standard path separator (i.e. ":") - it is
10466 # assumed that no part of a normal pathname contains ";" but that should
10467 # okay in the real world where ";" in dirpaths is itself problematic.
10468 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10470 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10472 # Ok, now we have the path, separated by spaces, we can step through it
10473 # and add multilib dir if necessary.
10474 lt_tmp_lt_search_path_spec=
10475 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10476 for lt_sys_path in $lt_search_path_spec; do
10477 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10478 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10480 test -d "$lt_sys_path" && \
10481 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10484 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10485 BEGIN {RS=" "; FS="/|\n";} {
10488 for (lt_i = NF; lt_i > 0; lt_i--) {
10489 if ($lt_i != "" && $lt_i != ".") {
10490 if ($lt_i == "..") {
10493 if (lt_count == 0) {
10494 lt_foo="/" $lt_i lt_foo;
10501 if (lt_foo != "") { lt_freq[lt_foo]++; }
10502 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10504 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10506 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10508 library_names_spec=
10509 libname_spec='lib$name'
10513 postuninstall_cmds=
10517 shlibpath_overrides_runpath=unknown
10519 dynamic_linker="$host_os ld.so"
10520 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10521 need_lib_prefix=unknown
10522 hardcode_into_libs=no
10524 # when you set need_version to no, make sure it does not cause -set_version
10525 # flags to be left without arguments
10526 need_version=unknown
10531 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10532 shlibpath_var=LIBPATH
10534 # AIX 3 has no versioning support, so we append a major version to the name.
10535 soname_spec='${libname}${release}${shared_ext}$major'
10542 hardcode_into_libs=yes
10543 if test "$host_cpu" = ia64; then
10544 # AIX 5 supports IA64
10545 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10546 shlibpath_var=LD_LIBRARY_PATH
10548 # With GCC up to 2.95.x, collect2 would create an import file
10549 # for dependence libraries. The import file would start with
10550 # the line `#! .'. This would cause the generated library to
10551 # depend on `.', always an invalid library. This was fixed in
10552 # development snapshots of GCC prior to 3.0.
10554 aix4 | aix4.[01] | aix4.[01].*)
10555 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10557 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10560 can_build_shared=no
10564 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10565 # soname into executable. Probably we can add versioning support to
10566 # collect2, so additional links can be useful in future.
10567 if test "$aix_use_runtimelinking" = yes; then
10568 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10569 # instead of lib<name>.a to let people know that these are not
10570 # typical AIX shared libraries.
10571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10573 # We preserve .a as extension for shared libraries through AIX4.2
10574 # and later when we are not doing run time linking.
10575 library_names_spec='${libname}${release}.a $libname.a'
10576 soname_spec='${libname}${release}${shared_ext}$major'
10578 shlibpath_var=LIBPATH
10585 # Since July 2007 AmigaOS4 officially supports .so libraries.
10586 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10590 library_names_spec='$libname.ixlibrary $libname.a'
10591 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10592 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'
10598 library_names_spec='${libname}${shared_ext}'
10599 dynamic_linker="$host_os ld.so"
10600 shlibpath_var=LIBRARY_PATH
10606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10607 soname_spec='${libname}${release}${shared_ext}$major'
10608 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10609 shlibpath_var=LD_LIBRARY_PATH
10610 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10611 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10612 # the default ld.so.conf also contains /usr/contrib/lib and
10613 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10614 # libtool to hard-code these into programs
10617 cygwin* | mingw* | pw32* | cegcc*)
10618 version_type=windows
10623 case $GCC,$host_os in
10624 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10625 library_names_spec='$libname.dll.a'
10626 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10627 postinstall_cmds='base_file=`basename \${file}`~
10628 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10629 dldir=$destdir/`dirname \$dlpath`~
10630 test -d \$dldir || mkdir -p \$dldir~
10631 $install_prog $dir/$dlname \$dldir/$dlname~
10632 chmod a+x \$dldir/$dlname~
10633 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10634 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10636 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10637 dlpath=$dir/\$dldll~
10639 shlibpath_overrides_runpath=yes
10643 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10644 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10645 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10648 # MinGW DLLs use traditional 'lib' prefix
10649 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10650 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10651 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10652 # It is most probably a Windows format PATH printed by
10653 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10654 # path with ; separators, and with drive letters. We can handle the
10655 # drive letters (cygwin fileutils understands them), so leave them,
10656 # especially as we might pass files found there to a mingw objdump,
10657 # which wouldn't understand a cygwinified path. Ahh.
10658 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10660 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10664 # pw32 DLLs use 'pw' prefix rather than 'lib'
10665 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10671 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10674 dynamic_linker='Win32 ld.exe'
10675 # FIXME: first we should search . and the directory the executable is in
10679 darwin* | rhapsody*)
10680 dynamic_linker="$host_os dyld"
10681 version_type=darwin
10684 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10685 soname_spec='${libname}${release}${major}$shared_ext'
10686 shlibpath_overrides_runpath=yes
10687 shlibpath_var=DYLD_LIBRARY_PATH
10688 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10690 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10691 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10699 soname_spec='${libname}${release}${shared_ext}$major'
10700 shlibpath_var=LD_LIBRARY_PATH
10707 freebsd* | dragonfly*)
10708 # DragonFly does not have aout. When/if they implement a new
10709 # versioning mechanism, adjust this.
10710 if test -x /usr/bin/objformat; then
10711 objformat=`/usr/bin/objformat`
10714 freebsd[123]*) objformat=aout ;;
10715 *) objformat=elf ;;
10718 version_type=freebsd-$objformat
10719 case $version_type in
10721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10726 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10730 shlibpath_var=LD_LIBRARY_PATH
10733 shlibpath_overrides_runpath=yes
10735 freebsd3.[01]* | freebsdelf3.[01]*)
10736 shlibpath_overrides_runpath=yes
10737 hardcode_into_libs=yes
10739 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10740 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10741 shlibpath_overrides_runpath=no
10742 hardcode_into_libs=yes
10744 *) # from 4.6 on, and DragonFly
10745 shlibpath_overrides_runpath=yes
10746 hardcode_into_libs=yes
10755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10756 soname_spec='${libname}${release}${shared_ext}$major'
10757 shlibpath_var=LD_LIBRARY_PATH
10758 hardcode_into_libs=yes
10761 hpux9* | hpux10* | hpux11*)
10762 # Give a soname corresponding to the major version so that dld.sl refuses to
10763 # link against other versions.
10770 hardcode_into_libs=yes
10771 dynamic_linker="$host_os dld.so"
10772 shlibpath_var=LD_LIBRARY_PATH
10773 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10775 soname_spec='${libname}${release}${shared_ext}$major'
10776 if test "X$HPUX_IA64_MODE" = X32; then
10777 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10779 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10781 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10785 hardcode_into_libs=yes
10786 dynamic_linker="$host_os dld.sl"
10787 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10788 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10790 soname_spec='${libname}${release}${shared_ext}$major'
10791 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10792 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10796 dynamic_linker="$host_os dld.sl"
10797 shlibpath_var=SHLIB_PATH
10798 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10800 soname_spec='${libname}${release}${shared_ext}$major'
10803 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10804 postinstall_cmds='chmod 555 $lib'
10811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10812 soname_spec='${libname}${release}${shared_ext}$major'
10813 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10814 shlibpath_var=LD_LIBRARY_PATH
10815 shlibpath_overrides_runpath=no
10816 hardcode_into_libs=yes
10819 irix5* | irix6* | nonstopux*)
10821 nonstopux*) version_type=nonstopux ;;
10823 if test "$lt_cv_prog_gnu_ld" = yes; then
10831 soname_spec='${libname}${release}${shared_ext}$major'
10832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10834 irix5* | nonstopux*)
10835 libsuff= shlibsuff=
10838 case $LD in # libtool.m4 will add one of these switches to LD
10839 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10840 libsuff= shlibsuff= libmagic=32-bit;;
10841 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10842 libsuff=32 shlibsuff=N32 libmagic=N32;;
10843 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10844 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10845 *) libsuff= shlibsuff= libmagic=never-match;;
10849 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10850 shlibpath_overrides_runpath=no
10851 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10852 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10853 hardcode_into_libs=yes
10856 # No shared lib support for Linux oldld, aout, or coff.
10857 linux*oldld* | linux*aout* | linux*coff*)
10861 # This must be Linux ELF.
10862 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867 soname_spec='${libname}${release}${shared_ext}$major'
10868 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10869 shlibpath_var=LD_LIBRARY_PATH
10870 shlibpath_overrides_runpath=no
10871 # Some binutils ld are patched to set DT_RUNPATH
10872 save_LDFLAGS=$LDFLAGS
10873 save_libdir=$libdir
10874 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10875 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10877 /* end confdefs.h. */
10887 if ac_fn_c_try_link "$LINENO"; then :
10888 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10889 shlibpath_overrides_runpath=yes
10892 rm -f core conftest.err conftest.$ac_objext \
10893 conftest$ac_exeext conftest.$ac_ext
10894 LDFLAGS=$save_LDFLAGS
10895 libdir=$save_libdir
10897 # This implies no fast_install, which is unacceptable.
10898 # Some rework will be needed to allow for fast_install
10899 # before this can be enabled.
10900 hardcode_into_libs=yes
10902 # Append ld.so.conf contents to the search path
10903 if test -f /etc/ld.so.conf; then
10904 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' ' '`
10905 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10908 # We used to test for /lib/ld.so.1 and disable shared libraries on
10909 # powerpc, because MkLinux only supported shared libraries with the
10910 # GNU dynamic linker. Since this was broken with cross compilers,
10911 # most powerpc-linux boxes support dynamic linking these days and
10912 # people can always --disable-shared, the test was removed, and we
10913 # assume the GNU/Linux dynamic linker is in use.
10914 dynamic_linker='GNU/Linux ld.so'
10921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10922 soname_spec='${libname}${release}${shared_ext}$major'
10923 shlibpath_var=LD_LIBRARY_PATH
10924 shlibpath_overrides_runpath=no
10925 hardcode_into_libs=yes
10926 dynamic_linker='NetBSD ld.elf_so'
10933 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10934 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10935 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10936 dynamic_linker='NetBSD (a.out) ld.so'
10938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10939 soname_spec='${libname}${release}${shared_ext}$major'
10940 dynamic_linker='NetBSD ld.elf_so'
10942 shlibpath_var=LD_LIBRARY_PATH
10943 shlibpath_overrides_runpath=yes
10944 hardcode_into_libs=yes
10949 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10950 shlibpath_var=LD_LIBRARY_PATH
10951 shlibpath_overrides_runpath=yes
10958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10959 soname_spec='${libname}${release}${shared_ext}$major'
10960 shlibpath_var=LD_LIBRARY_PATH
10961 shlibpath_overrides_runpath=no
10962 hardcode_into_libs=yes
10963 dynamic_linker='ldqnx.so'
10968 sys_lib_dlsearch_path_spec="/usr/lib"
10970 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10972 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10973 *) need_version=no ;;
10975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10976 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10977 shlibpath_var=LD_LIBRARY_PATH
10978 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10980 openbsd2.[89] | openbsd2.[89].*)
10981 shlibpath_overrides_runpath=no
10984 shlibpath_overrides_runpath=yes
10988 shlibpath_overrides_runpath=yes
10993 libname_spec='$name'
10996 library_names_spec='$libname${shared_ext} $libname.a'
10997 dynamic_linker='OS/2 ld.exe'
10998 shlibpath_var=LIBPATH
11001 osf3* | osf4* | osf5*)
11005 soname_spec='${libname}${release}${shared_ext}$major'
11006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11007 shlibpath_var=LD_LIBRARY_PATH
11008 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11009 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11021 soname_spec='${libname}${release}${shared_ext}$major'
11022 shlibpath_var=LD_LIBRARY_PATH
11023 shlibpath_overrides_runpath=yes
11024 hardcode_into_libs=yes
11025 # ldd complains unless libraries are executable
11026 postinstall_cmds='chmod +x $lib'
11031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11032 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11033 shlibpath_var=LD_LIBRARY_PATH
11034 shlibpath_overrides_runpath=yes
11035 if test "$with_gnu_ld" = yes; then
11043 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11044 soname_spec='${libname}${release}${shared_ext}$major'
11045 shlibpath_var=LD_LIBRARY_PATH
11046 case $host_vendor in
11048 shlibpath_overrides_runpath=no
11050 runpath_var=LD_RUN_PATH
11058 shlibpath_overrides_runpath=no
11059 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11065 if test -d /usr/nec ;then
11067 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11068 soname_spec='$libname${shared_ext}.$major'
11069 shlibpath_var=LD_LIBRARY_PATH
11073 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11074 version_type=freebsd-elf
11077 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11078 soname_spec='${libname}${release}${shared_ext}$major'
11079 shlibpath_var=LD_LIBRARY_PATH
11080 shlibpath_overrides_runpath=yes
11081 hardcode_into_libs=yes
11082 if test "$with_gnu_ld" = yes; then
11083 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11085 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11088 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11092 sys_lib_dlsearch_path_spec='/usr/lib'
11096 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11101 shlibpath_var=LD_LIBRARY_PATH
11102 shlibpath_overrides_runpath=no
11103 hardcode_into_libs=yes
11108 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11109 soname_spec='${libname}${release}${shared_ext}$major'
11110 shlibpath_var=LD_LIBRARY_PATH
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11118 $as_echo "$dynamic_linker" >&6; }
11119 test "$dynamic_linker" = no && can_build_shared=no
11121 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11122 if test "$GCC" = yes; then
11123 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11126 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11127 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11129 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11130 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11220 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11222 if test -n "$hardcode_libdir_flag_spec" ||
11223 test -n "$runpath_var" ||
11224 test "X$hardcode_automatic" = "Xyes" ; then
11226 # We can hardcode non-existent directories.
11227 if test "$hardcode_direct" != no &&
11228 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11229 # have to relink, otherwise we might link with an installed library
11230 # when we should be linking with a yet-to-be-installed one
11231 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11232 test "$hardcode_minus_L" != no; then
11233 # Linking always hardcodes the temporary library directory.
11234 hardcode_action=relink
11236 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11237 hardcode_action=immediate
11240 # We cannot hardcode anything, or else we can only hardcode existing
11242 hardcode_action=unsupported
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11245 $as_echo "$hardcode_action" >&6; }
11247 if test "$hardcode_action" = relink ||
11248 test "$inherit_rpath" = yes; then
11249 # Fast installation is not supported
11250 enable_fast_install=no
11251 elif test "$shlibpath_overrides_runpath" = yes ||
11252 test "$enable_shared" = no; then
11253 # Fast installation is not necessary
11254 enable_fast_install=needless
11262 if test "x$enable_dlopen" != xyes; then
11263 enable_dlopen=unknown
11264 enable_dlopen_self=unknown
11265 enable_dlopen_self_static=unknown
11272 lt_cv_dlopen="load_add_on"
11274 lt_cv_dlopen_self=yes
11277 mingw* | pw32* | cegcc*)
11278 lt_cv_dlopen="LoadLibrary"
11283 lt_cv_dlopen="dlopen"
11288 # if libdl is installed we need to link against it
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11290 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11291 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11292 $as_echo_n "(cached) " >&6
11294 ac_check_lib_save_LIBS=$LIBS
11296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11297 /* end confdefs.h. */
11299 /* Override any GCC internal prototype to avoid an error.
11300 Use char because int might match the return type of a GCC
11301 builtin and then its argument prototype would still apply. */
11314 if ac_fn_c_try_link "$LINENO"; then :
11315 ac_cv_lib_dl_dlopen=yes
11317 ac_cv_lib_dl_dlopen=no
11319 rm -f core conftest.err conftest.$ac_objext \
11320 conftest$ac_exeext conftest.$ac_ext
11321 LIBS=$ac_check_lib_save_LIBS
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11324 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11325 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11326 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11329 lt_cv_dlopen="dyld"
11331 lt_cv_dlopen_self=yes
11338 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11339 if test "x$ac_cv_func_shl_load" = x""yes; then :
11340 lt_cv_dlopen="shl_load"
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11343 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11344 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11345 $as_echo_n "(cached) " >&6
11347 ac_check_lib_save_LIBS=$LIBS
11349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11350 /* end confdefs.h. */
11352 /* Override any GCC internal prototype to avoid an error.
11353 Use char because int might match the return type of a GCC
11354 builtin and then its argument prototype would still apply. */
11362 return shl_load ();
11367 if ac_fn_c_try_link "$LINENO"; then :
11368 ac_cv_lib_dld_shl_load=yes
11370 ac_cv_lib_dld_shl_load=no
11372 rm -f core conftest.err conftest.$ac_objext \
11373 conftest$ac_exeext conftest.$ac_ext
11374 LIBS=$ac_check_lib_save_LIBS
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11377 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11378 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11379 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11381 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11382 if test "x$ac_cv_func_dlopen" = x""yes; then :
11383 lt_cv_dlopen="dlopen"
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11386 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11387 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11388 $as_echo_n "(cached) " >&6
11390 ac_check_lib_save_LIBS=$LIBS
11392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11395 /* Override any GCC internal prototype to avoid an error.
11396 Use char because int might match the return type of a GCC
11397 builtin and then its argument prototype would still apply. */
11410 if ac_fn_c_try_link "$LINENO"; then :
11411 ac_cv_lib_dl_dlopen=yes
11413 ac_cv_lib_dl_dlopen=no
11415 rm -f core conftest.err conftest.$ac_objext \
11416 conftest$ac_exeext conftest.$ac_ext
11417 LIBS=$ac_check_lib_save_LIBS
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11420 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11421 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11422 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11425 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11426 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11427 $as_echo_n "(cached) " >&6
11429 ac_check_lib_save_LIBS=$LIBS
11430 LIBS="-lsvld $LIBS"
11431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11432 /* end confdefs.h. */
11434 /* Override any GCC internal prototype to avoid an error.
11435 Use char because int might match the return type of a GCC
11436 builtin and then its argument prototype would still apply. */
11449 if ac_fn_c_try_link "$LINENO"; then :
11450 ac_cv_lib_svld_dlopen=yes
11452 ac_cv_lib_svld_dlopen=no
11454 rm -f core conftest.err conftest.$ac_objext \
11455 conftest$ac_exeext conftest.$ac_ext
11456 LIBS=$ac_check_lib_save_LIBS
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11459 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11460 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11461 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11464 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11465 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11466 $as_echo_n "(cached) " >&6
11468 ac_check_lib_save_LIBS=$LIBS
11470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11471 /* end confdefs.h. */
11473 /* Override any GCC internal prototype to avoid an error.
11474 Use char because int might match the return type of a GCC
11475 builtin and then its argument prototype would still apply. */
11483 return dld_link ();
11488 if ac_fn_c_try_link "$LINENO"; then :
11489 ac_cv_lib_dld_dld_link=yes
11491 ac_cv_lib_dld_dld_link=no
11493 rm -f core conftest.err conftest.$ac_objext \
11494 conftest$ac_exeext conftest.$ac_ext
11495 LIBS=$ac_check_lib_save_LIBS
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11498 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11499 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11500 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11521 if test "x$lt_cv_dlopen" != xno; then
11527 case $lt_cv_dlopen in
11529 save_CPPFLAGS="$CPPFLAGS"
11530 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11532 save_LDFLAGS="$LDFLAGS"
11533 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11536 LIBS="$lt_cv_dlopen_libs $LIBS"
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11539 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11540 if test "${lt_cv_dlopen_self+set}" = set; then :
11541 $as_echo_n "(cached) " >&6
11543 if test "$cross_compiling" = yes; then :
11544 lt_cv_dlopen_self=cross
11546 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11547 lt_status=$lt_dlunknown
11548 cat > conftest.$ac_ext <<_LT_EOF
11549 #line 11549 "configure"
11550 #include "confdefs.h"
11559 # define LT_DLGLOBAL RTLD_GLOBAL
11562 # define LT_DLGLOBAL DL_GLOBAL
11564 # define LT_DLGLOBAL 0
11568 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11569 find out it does not work in some platform. */
11570 #ifndef LT_DLLAZY_OR_NOW
11572 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11575 # define LT_DLLAZY_OR_NOW DL_LAZY
11578 # define LT_DLLAZY_OR_NOW RTLD_NOW
11581 # define LT_DLLAZY_OR_NOW DL_NOW
11583 # define LT_DLLAZY_OR_NOW 0
11590 void fnord() { int i=42;}
11593 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11594 int status = $lt_dlunknown;
11598 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11599 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11600 /* dlclose (self); */
11608 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11609 (eval $ac_link) 2>&5
11611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11612 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11613 (./conftest; exit; ) >&5 2>/dev/null
11615 case x$lt_status in
11616 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11617 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11618 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11621 # compilation failed
11622 lt_cv_dlopen_self=no
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11630 $as_echo "$lt_cv_dlopen_self" >&6; }
11632 if test "x$lt_cv_dlopen_self" = xyes; then
11633 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11635 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11636 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11637 $as_echo_n "(cached) " >&6
11639 if test "$cross_compiling" = yes; then :
11640 lt_cv_dlopen_self_static=cross
11642 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11643 lt_status=$lt_dlunknown
11644 cat > conftest.$ac_ext <<_LT_EOF
11645 #line 11645 "configure"
11646 #include "confdefs.h"
11655 # define LT_DLGLOBAL RTLD_GLOBAL
11658 # define LT_DLGLOBAL DL_GLOBAL
11660 # define LT_DLGLOBAL 0
11664 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11665 find out it does not work in some platform. */
11666 #ifndef LT_DLLAZY_OR_NOW
11668 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11671 # define LT_DLLAZY_OR_NOW DL_LAZY
11674 # define LT_DLLAZY_OR_NOW RTLD_NOW
11677 # define LT_DLLAZY_OR_NOW DL_NOW
11679 # define LT_DLLAZY_OR_NOW 0
11686 void fnord() { int i=42;}
11689 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11690 int status = $lt_dlunknown;
11694 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11695 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11696 /* dlclose (self); */
11704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11705 (eval $ac_link) 2>&5
11707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11708 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11709 (./conftest; exit; ) >&5 2>/dev/null
11711 case x$lt_status in
11712 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11713 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11714 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11717 # compilation failed
11718 lt_cv_dlopen_self_static=no
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11726 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11729 CPPFLAGS="$save_CPPFLAGS"
11730 LDFLAGS="$save_LDFLAGS"
11735 case $lt_cv_dlopen_self in
11736 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11737 *) enable_dlopen_self=unknown ;;
11740 case $lt_cv_dlopen_self_static in
11741 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11742 *) enable_dlopen_self_static=unknown ;;
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11765 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11766 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11767 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11768 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11770 $as_echo "yes" >&6; }
11772 # FIXME - insert some real tests, host_os isn't really good enough
11775 if test -n "$STRIP" ; then
11776 striplib="$STRIP -x"
11777 old_striplib="$STRIP -S"
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11779 $as_echo "yes" >&6; }
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11782 $as_echo "no" >&6; }
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787 $as_echo "no" >&6; }
11803 # Report which library types will actually be built
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11805 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11807 $as_echo "$can_build_shared" >&6; }
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11810 $as_echo_n "checking whether to build shared libraries... " >&6; }
11811 test "$can_build_shared" = "no" && enable_shared=no
11813 # On AIX, shared libraries and static libraries use the same namespace, and
11814 # are all built from PIC.
11817 test "$enable_shared" = yes && enable_static=no
11818 if test -n "$RANLIB"; then
11819 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11820 postinstall_cmds='$RANLIB $lib'
11825 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11826 test "$enable_shared" = yes && enable_static=no
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11831 $as_echo "$enable_shared" >&6; }
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11834 $as_echo_n "checking whether to build static libraries... " >&6; }
11835 # Make sure either enable_shared or enable_static is yes.
11836 test "$enable_shared" = yes || enable_static=yes
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11838 $as_echo "$enable_static" >&6; }
11845 ac_cpp='$CPP $CPPFLAGS'
11846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11864 ac_config_commands="$ac_config_commands libtool"
11869 # Only expand once:
11878 # Check whether --with-autoconf was given.
11879 if test "${with_autoconf+set}" = set; then :
11880 withval=$with_autoconf;
11883 AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
11886 $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
11892 # Check whether --with-autoheader was given.
11893 if test "${with_autoheader+set}" = set; then :
11894 withval=$with_autoheader;
11897 AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
11900 $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
11906 # Check whether --with-automake was given.
11907 if test "${with_automake+set}" = set; then :
11908 withval=$with_automake;
11911 AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
11914 $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
11920 # Check whether --with-aclocal was given.
11921 if test "${with_aclocal+set}" = set; then :
11922 withval=$with_aclocal;
11925 ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
11928 $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
11934 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11940 $as_echo_n "checking whether NLS is requested... " >&6; }
11941 # Check whether --enable-nls was given.
11942 if test "${enable_nls+set}" = set; then :
11943 enableval=$enable_nls; USE_NLS=$enableval
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11949 $as_echo "$USE_NLS" >&6; }
11954 GETTEXT_MACRO_VERSION=0.17
11959 # Prepare PATH_SEPARATOR.
11960 # The user is always right.
11961 if test "${PATH_SEPARATOR+set}" != set; then
11962 echo "#! /bin/sh" >conf$$.sh
11963 echo "exit 0" >>conf$$.sh
11965 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11973 # Find out how to test for executable files. Don't use a zero-byte file,
11974 # as systems may use methods other than mode bits to determine executability.
11975 cat >conf$$.file <<_ASEOF
11979 chmod +x conf$$.file
11980 if test -x conf$$.file >/dev/null 2>&1; then
11981 ac_executable_p="test -x"
11983 ac_executable_p="test -f"
11987 # Extract the first word of "msgfmt", so it can be a program name with args.
11988 set dummy msgfmt; ac_word=$2
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11990 $as_echo_n "checking for $ac_word... " >&6; }
11991 if test "${ac_cv_path_MSGFMT+set}" = set; then :
11992 $as_echo_n "(cached) " >&6
11996 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11999 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12000 for ac_dir in $PATH; do
12002 test -z "$ac_dir" && ac_dir=.
12003 for ac_exec_ext in '' $ac_executable_extensions; do
12004 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12005 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12006 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
12007 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12008 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12015 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12019 MSGFMT="$ac_cv_path_MSGFMT"
12020 if test "$MSGFMT" != ":"; then
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12022 $as_echo "$MSGFMT" >&6; }
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12025 $as_echo "no" >&6; }
12028 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12029 set dummy gmsgfmt; ac_word=$2
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12031 $as_echo_n "checking for $ac_word... " >&6; }
12032 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12033 $as_echo_n "(cached) " >&6
12037 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12041 for as_dir in $PATH
12044 test -z "$as_dir" && as_dir=.
12045 for ac_exec_ext in '' $ac_executable_extensions; do
12046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12047 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12055 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12059 GMSGFMT=$ac_cv_path_GMSGFMT
12060 if test -n "$GMSGFMT"; then
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12062 $as_echo "$GMSGFMT" >&6; }
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12065 $as_echo "no" >&6; }
12070 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12071 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
12072 *) MSGFMT_015=$MSGFMT ;;
12075 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12076 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
12077 *) GMSGFMT_015=$GMSGFMT ;;
12082 # Prepare PATH_SEPARATOR.
12083 # The user is always right.
12084 if test "${PATH_SEPARATOR+set}" != set; then
12085 echo "#! /bin/sh" >conf$$.sh
12086 echo "exit 0" >>conf$$.sh
12088 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12096 # Find out how to test for executable files. Don't use a zero-byte file,
12097 # as systems may use methods other than mode bits to determine executability.
12098 cat >conf$$.file <<_ASEOF
12102 chmod +x conf$$.file
12103 if test -x conf$$.file >/dev/null 2>&1; then
12104 ac_executable_p="test -x"
12106 ac_executable_p="test -f"
12110 # Extract the first word of "xgettext", so it can be a program name with args.
12111 set dummy xgettext; ac_word=$2
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12113 $as_echo_n "checking for $ac_word... " >&6; }
12114 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12115 $as_echo_n "(cached) " >&6
12117 case "$XGETTEXT" in
12119 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12122 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12123 for ac_dir in $PATH; do
12125 test -z "$ac_dir" && ac_dir=.
12126 for ac_exec_ext in '' $ac_executable_extensions; do
12127 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12128 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12129 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
12130 (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
12131 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
12138 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12142 XGETTEXT="$ac_cv_path_XGETTEXT"
12143 if test "$XGETTEXT" != ":"; then
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12145 $as_echo "$XGETTEXT" >&6; }
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12148 $as_echo "no" >&6; }
12153 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12154 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
12155 *) XGETTEXT_015=$XGETTEXT ;;
12160 # Prepare PATH_SEPARATOR.
12161 # The user is always right.
12162 if test "${PATH_SEPARATOR+set}" != set; then
12163 echo "#! /bin/sh" >conf$$.sh
12164 echo "exit 0" >>conf$$.sh
12166 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12174 # Find out how to test for executable files. Don't use a zero-byte file,
12175 # as systems may use methods other than mode bits to determine executability.
12176 cat >conf$$.file <<_ASEOF
12180 chmod +x conf$$.file
12181 if test -x conf$$.file >/dev/null 2>&1; then
12182 ac_executable_p="test -x"
12184 ac_executable_p="test -f"
12188 # Extract the first word of "msgmerge", so it can be a program name with args.
12189 set dummy msgmerge; ac_word=$2
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12191 $as_echo_n "checking for $ac_word... " >&6; }
12192 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12193 $as_echo_n "(cached) " >&6
12195 case "$MSGMERGE" in
12197 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12200 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12201 for ac_dir in $PATH; do
12203 test -z "$ac_dir" && ac_dir=.
12204 for ac_exec_ext in '' $ac_executable_extensions; do
12205 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12206 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12207 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
12208 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12215 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12219 MSGMERGE="$ac_cv_path_MSGMERGE"
12220 if test "$MSGMERGE" != ":"; then
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12222 $as_echo "$MSGMERGE" >&6; }
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12225 $as_echo "no" >&6; }
12229 test -n "$localedir" || localedir='${datadir}/locale'
12232 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
12235 ac_config_commands="$ac_config_commands po-directories"
12239 if test "X$prefix" = "XNONE"; then
12240 acl_final_prefix="$ac_default_prefix"
12242 acl_final_prefix="$prefix"
12244 if test "X$exec_prefix" = "XNONE"; then
12245 acl_final_exec_prefix='${prefix}'
12247 acl_final_exec_prefix="$exec_prefix"
12249 acl_save_prefix="$prefix"
12250 prefix="$acl_final_prefix"
12251 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12252 prefix="$acl_save_prefix"
12255 # Check whether --with-gnu-ld was given.
12256 if test "${with_gnu_ld+set}" = set; then :
12257 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12262 # Prepare PATH_SEPARATOR.
12263 # The user is always right.
12264 if test "${PATH_SEPARATOR+set}" != set; then
12265 echo "#! /bin/sh" >conf$$.sh
12266 echo "exit 0" >>conf$$.sh
12268 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12276 if test "$GCC" = yes; then
12277 # Check if gcc -print-prog-name=ld gives a path.
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12279 $as_echo_n "checking for ld used by GCC... " >&6; }
12282 # gcc leaves a trailing carriage return which upsets mingw
12283 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12285 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12288 # Accept absolute paths.
12289 [\\/]* | [A-Za-z]:[\\/]*)
12290 re_direlt='/[^/][^/]*/\.\./'
12291 # Canonicalize the path of ld
12292 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12293 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12294 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12296 test -z "$LD" && LD="$ac_prog"
12299 # If it fails, then pretend we aren't using GCC.
12303 # If it is relative, then search for the first ld in PATH.
12304 with_gnu_ld=unknown
12307 elif test "$with_gnu_ld" = yes; then
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12309 $as_echo_n "checking for GNU ld... " >&6; }
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12312 $as_echo_n "checking for non-GNU ld... " >&6; }
12314 if test "${acl_cv_path_LD+set}" = set; then :
12315 $as_echo_n "(cached) " >&6
12317 if test -z "$LD"; then
12318 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12319 for ac_dir in $PATH; do
12320 test -z "$ac_dir" && ac_dir=.
12321 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12322 acl_cv_path_LD="$ac_dir/$ac_prog"
12323 # Check to see if the program is GNU ld. I'd rather use --version,
12324 # but apparently some GNU ld's only accept -v.
12325 # Break only if it was the GNU/non-GNU ld that we prefer.
12326 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12327 *GNU* | *'with BFD'*)
12328 test "$with_gnu_ld" != no && break ;;
12330 test "$with_gnu_ld" != yes && break ;;
12336 acl_cv_path_LD="$LD" # Let the user override the test with a path.
12340 LD="$acl_cv_path_LD"
12341 if test -n "$LD"; then
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12343 $as_echo "$LD" >&6; }
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12346 $as_echo "no" >&6; }
12348 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12350 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12351 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
12352 $as_echo_n "(cached) " >&6
12354 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12355 case `$LD -v 2>&1 </dev/null` in
12356 *GNU* | *'with BFD'*)
12357 acl_cv_prog_gnu_ld=yes ;;
12359 acl_cv_prog_gnu_ld=no ;;
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12363 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12364 with_gnu_ld=$acl_cv_prog_gnu_ld
12369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12370 $as_echo_n "checking for shared library run path origin... " >&6; }
12371 if test "${acl_cv_rpath+set}" = set; then :
12372 $as_echo_n "(cached) " >&6
12375 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12376 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12378 rm -f ./conftest.sh
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12383 $as_echo "$acl_cv_rpath" >&6; }
12385 acl_libext="$acl_cv_libext"
12386 acl_shlibext="$acl_cv_shlibext"
12387 acl_libname_spec="$acl_cv_libname_spec"
12388 acl_library_names_spec="$acl_cv_library_names_spec"
12389 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12390 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12391 acl_hardcode_direct="$acl_cv_hardcode_direct"
12392 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12393 # Check whether --enable-rpath was given.
12394 if test "${enable_rpath+set}" = set; then :
12395 enableval=$enable_rpath; :
12403 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12404 if test -n "$searchpath"; then
12405 acl_save_IFS="${IFS= }"; IFS=":"
12406 for searchdir in $searchpath; do
12407 if test -d "$searchdir"; then
12408 case "$searchdir" in
12409 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12410 *) searchdir=`cd "$searchdir" && pwd`
12411 case "$searchdir" in
12412 */lib64 ) acl_libdirstem=lib64 ;;
12417 IFS="$acl_save_IFS"
12430 acl_save_prefix="$prefix"
12431 prefix="$acl_final_prefix"
12432 acl_save_exec_prefix="$exec_prefix"
12433 exec_prefix="$acl_final_exec_prefix"
12435 eval additional_includedir=\"$includedir\"
12436 eval additional_libdir=\"$libdir\"
12438 exec_prefix="$acl_save_exec_prefix"
12439 prefix="$acl_save_prefix"
12442 # Check whether --with-libiconv-prefix was given.
12443 if test "${with_libiconv_prefix+set}" = set; then :
12444 withval=$with_libiconv_prefix;
12445 if test "X$withval" = "Xno"; then
12448 if test "X$withval" = "X"; then
12450 acl_save_prefix="$prefix"
12451 prefix="$acl_final_prefix"
12452 acl_save_exec_prefix="$exec_prefix"
12453 exec_prefix="$acl_final_exec_prefix"
12455 eval additional_includedir=\"$includedir\"
12456 eval additional_libdir=\"$libdir\"
12458 exec_prefix="$acl_save_exec_prefix"
12459 prefix="$acl_save_prefix"
12462 additional_includedir="$withval/include"
12463 additional_libdir="$withval/$acl_libdirstem"
12475 names_already_handled=
12476 names_next_round='iconv '
12477 while test -n "$names_next_round"; do
12478 names_this_round="$names_next_round"
12480 for name in $names_this_round; do
12482 for n in $names_already_handled; do
12483 if test "$n" = "$name"; then
12484 already_handled=yes
12488 if test -z "$already_handled"; then
12489 names_already_handled="$names_already_handled $name"
12490 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12491 eval value=\"\$HAVE_LIB$uppername\"
12492 if test -n "$value"; then
12493 if test "$value" = yes; then
12494 eval value=\"\$LIB$uppername\"
12495 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12496 eval value=\"\$LTLIB$uppername\"
12497 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12506 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
12507 if test -n "$acl_shlibext"; then
12508 shrext=".$acl_shlibext" # typically: shrext=.so
12512 if test $use_additional = yes; then
12513 dir="$additional_libdir"
12514 if test -n "$acl_shlibext"; then
12515 if test -f "$dir/$libname$shrext"; then
12517 found_so="$dir/$libname$shrext"
12519 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12520 ver=`(cd "$dir" && \
12521 for f in "$libname$shrext".*; do echo "$f"; done \
12522 | sed -e "s,^$libname$shrext\\\\.,," \
12523 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12524 | sed 1q ) 2>/dev/null`
12525 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12527 found_so="$dir/$libname$shrext.$ver"
12530 eval library_names=\"$acl_library_names_spec\"
12531 for f in $library_names; do
12532 if test -f "$dir/$f"; then
12541 if test "X$found_dir" = "X"; then
12542 if test -f "$dir/$libname.$acl_libext"; then
12544 found_a="$dir/$libname.$acl_libext"
12547 if test "X$found_dir" != "X"; then
12548 if test -f "$dir/$libname.la"; then
12549 found_la="$dir/$libname.la"
12553 if test "X$found_dir" = "X"; then
12554 for x in $LDFLAGS $LTLIBICONV; do
12556 acl_save_prefix="$prefix"
12557 prefix="$acl_final_prefix"
12558 acl_save_exec_prefix="$exec_prefix"
12559 exec_prefix="$acl_final_exec_prefix"
12561 exec_prefix="$acl_save_exec_prefix"
12562 prefix="$acl_save_prefix"
12566 dir=`echo "X$x" | sed -e 's/^X-L//'`
12567 if test -n "$acl_shlibext"; then
12568 if test -f "$dir/$libname$shrext"; then
12570 found_so="$dir/$libname$shrext"
12572 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12573 ver=`(cd "$dir" && \
12574 for f in "$libname$shrext".*; do echo "$f"; done \
12575 | sed -e "s,^$libname$shrext\\\\.,," \
12576 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12577 | sed 1q ) 2>/dev/null`
12578 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12580 found_so="$dir/$libname$shrext.$ver"
12583 eval library_names=\"$acl_library_names_spec\"
12584 for f in $library_names; do
12585 if test -f "$dir/$f"; then
12594 if test "X$found_dir" = "X"; then
12595 if test -f "$dir/$libname.$acl_libext"; then
12597 found_a="$dir/$libname.$acl_libext"
12600 if test "X$found_dir" != "X"; then
12601 if test -f "$dir/$libname.la"; then
12602 found_la="$dir/$libname.la"
12607 if test "X$found_dir" != "X"; then
12612 if test "X$found_dir" != "X"; then
12613 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12614 if test "X$found_so" != "X"; then
12615 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12616 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12619 for x in $ltrpathdirs; do
12620 if test "X$x" = "X$found_dir"; then
12625 if test -z "$haveit"; then
12626 ltrpathdirs="$ltrpathdirs $found_dir"
12628 if test "$acl_hardcode_direct" = yes; then
12629 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12631 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
12632 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12634 for x in $rpathdirs; do
12635 if test "X$x" = "X$found_dir"; then
12640 if test -z "$haveit"; then
12641 rpathdirs="$rpathdirs $found_dir"
12645 for x in $LDFLAGS $LIBICONV; do
12647 acl_save_prefix="$prefix"
12648 prefix="$acl_final_prefix"
12649 acl_save_exec_prefix="$exec_prefix"
12650 exec_prefix="$acl_final_exec_prefix"
12652 exec_prefix="$acl_save_exec_prefix"
12653 prefix="$acl_save_prefix"
12655 if test "X$x" = "X-L$found_dir"; then
12660 if test -z "$haveit"; then
12661 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12663 if test "$acl_hardcode_minus_L" != no; then
12664 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12666 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12672 if test "X$found_a" != "X"; then
12673 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12675 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12678 additional_includedir=
12679 case "$found_dir" in
12680 */$acl_libdirstem | */$acl_libdirstem/)
12681 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12682 LIBICONV_PREFIX="$basedir"
12683 additional_includedir="$basedir/include"
12686 if test "X$additional_includedir" != "X"; then
12687 if test "X$additional_includedir" != "X/usr/include"; then
12689 if test "X$additional_includedir" = "X/usr/local/include"; then
12690 if test -n "$GCC"; then
12692 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12696 if test -z "$haveit"; then
12697 for x in $CPPFLAGS $INCICONV; do
12699 acl_save_prefix="$prefix"
12700 prefix="$acl_final_prefix"
12701 acl_save_exec_prefix="$exec_prefix"
12702 exec_prefix="$acl_final_exec_prefix"
12704 exec_prefix="$acl_save_exec_prefix"
12705 prefix="$acl_save_prefix"
12707 if test "X$x" = "X-I$additional_includedir"; then
12712 if test -z "$haveit"; then
12713 if test -d "$additional_includedir"; then
12714 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12720 if test -n "$found_la"; then
12721 save_libdir="$libdir"
12722 case "$found_la" in
12723 */* | *\\*) . "$found_la" ;;
12724 *) . "./$found_la" ;;
12726 libdir="$save_libdir"
12727 for dep in $dependency_libs; do
12730 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12731 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
12733 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
12734 if test -n "$GCC"; then
12736 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12740 if test -z "$haveit"; then
12742 for x in $LDFLAGS $LIBICONV; do
12744 acl_save_prefix="$prefix"
12745 prefix="$acl_final_prefix"
12746 acl_save_exec_prefix="$exec_prefix"
12747 exec_prefix="$acl_final_exec_prefix"
12749 exec_prefix="$acl_save_exec_prefix"
12750 prefix="$acl_save_prefix"
12752 if test "X$x" = "X-L$additional_libdir"; then
12757 if test -z "$haveit"; then
12758 if test -d "$additional_libdir"; then
12759 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12763 for x in $LDFLAGS $LTLIBICONV; do
12765 acl_save_prefix="$prefix"
12766 prefix="$acl_final_prefix"
12767 acl_save_exec_prefix="$exec_prefix"
12768 exec_prefix="$acl_final_exec_prefix"
12770 exec_prefix="$acl_save_exec_prefix"
12771 prefix="$acl_save_prefix"
12773 if test "X$x" = "X-L$additional_libdir"; then
12778 if test -z "$haveit"; then
12779 if test -d "$additional_libdir"; then
12780 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12787 dir=`echo "X$dep" | sed -e 's/^X-R//'`
12788 if test "$enable_rpath" != no; then
12790 for x in $rpathdirs; do
12791 if test "X$x" = "X$dir"; then
12796 if test -z "$haveit"; then
12797 rpathdirs="$rpathdirs $dir"
12800 for x in $ltrpathdirs; do
12801 if test "X$x" = "X$dir"; then
12806 if test -z "$haveit"; then
12807 ltrpathdirs="$ltrpathdirs $dir"
12812 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12815 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12818 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
12819 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12825 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12826 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12832 if test "X$rpathdirs" != "X"; then
12833 if test -n "$acl_hardcode_libdir_separator"; then
12835 for found_dir in $rpathdirs; do
12836 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
12838 acl_save_libdir="$libdir"
12840 eval flag=\"$acl_hardcode_libdir_flag_spec\"
12841 libdir="$acl_save_libdir"
12842 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12844 for found_dir in $rpathdirs; do
12845 acl_save_libdir="$libdir"
12846 libdir="$found_dir"
12847 eval flag=\"$acl_hardcode_libdir_flag_spec\"
12848 libdir="$acl_save_libdir"
12849 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
12853 if test "X$ltrpathdirs" != "X"; then
12854 for found_dir in $ltrpathdirs; do
12855 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
12884 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
12885 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
12886 $as_echo_n "(cached) " >&6
12888 gt_save_LIBS="$LIBS"
12889 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12891 /* end confdefs.h. */
12892 #include <CoreFoundation/CFPreferences.h>
12896 CFPreferencesCopyAppValue(NULL, NULL)
12901 if ac_fn_c_try_link "$LINENO"; then :
12902 gt_cv_func_CFPreferencesCopyAppValue=yes
12904 gt_cv_func_CFPreferencesCopyAppValue=no
12906 rm -f core conftest.err conftest.$ac_objext \
12907 conftest$ac_exeext conftest.$ac_ext
12908 LIBS="$gt_save_LIBS"
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
12911 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
12912 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
12914 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
12918 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
12919 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
12920 $as_echo_n "(cached) " >&6
12922 gt_save_LIBS="$LIBS"
12923 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
12924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12925 /* end confdefs.h. */
12926 #include <CoreFoundation/CFLocale.h>
12930 CFLocaleCopyCurrent();
12935 if ac_fn_c_try_link "$LINENO"; then :
12936 gt_cv_func_CFLocaleCopyCurrent=yes
12938 gt_cv_func_CFLocaleCopyCurrent=no
12940 rm -f core conftest.err conftest.$ac_objext \
12941 conftest$ac_exeext conftest.$ac_ext
12942 LIBS="$gt_save_LIBS"
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
12945 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
12946 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12948 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
12952 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12953 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
12965 case " $gt_needs " in
12966 *" need-formatstring-macros "*) gt_api_version=3 ;;
12967 *" need-ngettext "*) gt_api_version=2 ;;
12968 *) gt_api_version=1 ;;
12970 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
12971 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
12973 if test "$USE_NLS" = "yes"; then
12974 gt_use_preinstalled_gnugettext=no
12977 if test $gt_api_version -ge 3; then
12978 gt_revision_test_code='
12979 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
12980 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
12982 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
12985 gt_revision_test_code=
12987 if test $gt_api_version -ge 2; then
12988 gt_expression_test_code=' + * ngettext ("", "", 0)'
12990 gt_expression_test_code=
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
12994 $as_echo_n "checking for GNU gettext in libc... " >&6; }
12995 if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
12996 $as_echo_n "(cached) " >&6
12998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12999 /* end confdefs.h. */
13000 #include <libintl.h>
13001 $gt_revision_test_code
13002 extern int _nl_msg_cat_cntr;
13003 extern int *_nl_domain_bindings;
13007 bindtextdomain ("", "");
13008 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
13013 if ac_fn_c_try_link "$LINENO"; then :
13014 eval "$gt_func_gnugettext_libc=yes"
13016 eval "$gt_func_gnugettext_libc=no"
13018 rm -f core conftest.err conftest.$ac_objext \
13019 conftest$ac_exeext conftest.$ac_ext
13021 eval ac_res=\$$gt_func_gnugettext_libc
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13023 $as_echo "$ac_res" >&6; }
13025 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
13031 am_save_CPPFLAGS="$CPPFLAGS"
13033 for element in $INCICONV; do
13035 for x in $CPPFLAGS; do
13037 acl_save_prefix="$prefix"
13038 prefix="$acl_final_prefix"
13039 acl_save_exec_prefix="$exec_prefix"
13040 exec_prefix="$acl_final_exec_prefix"
13042 exec_prefix="$acl_save_exec_prefix"
13043 prefix="$acl_save_prefix"
13045 if test "X$x" = "X$element"; then
13050 if test -z "$haveit"; then
13051 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13057 $as_echo_n "checking for iconv... " >&6; }
13058 if test "${am_cv_func_iconv+set}" = set; then :
13059 $as_echo_n "(cached) " >&6
13062 am_cv_func_iconv="no, consider installing GNU libiconv"
13064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13065 /* end confdefs.h. */
13066 #include <stdlib.h>
13071 iconv_t cd = iconv_open("","");
13072 iconv(cd,NULL,NULL,NULL,NULL);
13078 if ac_fn_c_try_link "$LINENO"; then :
13079 am_cv_func_iconv=yes
13081 rm -f core conftest.err conftest.$ac_objext \
13082 conftest$ac_exeext conftest.$ac_ext
13083 if test "$am_cv_func_iconv" != yes; then
13084 am_save_LIBS="$LIBS"
13085 LIBS="$LIBS $LIBICONV"
13086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13087 /* end confdefs.h. */
13088 #include <stdlib.h>
13093 iconv_t cd = iconv_open("","");
13094 iconv(cd,NULL,NULL,NULL,NULL);
13100 if ac_fn_c_try_link "$LINENO"; then :
13101 am_cv_lib_iconv=yes
13102 am_cv_func_iconv=yes
13104 rm -f core conftest.err conftest.$ac_objext \
13105 conftest$ac_exeext conftest.$ac_ext
13106 LIBS="$am_save_LIBS"
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13111 $as_echo "$am_cv_func_iconv" >&6; }
13112 if test "$am_cv_func_iconv" = yes; then
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13114 $as_echo_n "checking for working iconv... " >&6; }
13115 if test "${am_cv_func_iconv_works+set}" = set; then :
13116 $as_echo_n "(cached) " >&6
13119 am_save_LIBS="$LIBS"
13120 if test $am_cv_lib_iconv = yes; then
13121 LIBS="$LIBS $LIBICONV"
13123 if test "$cross_compiling" = yes; then :
13125 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13126 *) am_cv_func_iconv_works="guessing yes" ;;
13129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13130 /* end confdefs.h. */
13133 #include <string.h>
13136 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13139 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13140 if (cd_utf8_to_88591 != (iconv_t)(-1))
13142 static const char input[] = "\342\202\254"; /* EURO SIGN */
13144 const char *inptr = input;
13145 size_t inbytesleft = strlen (input);
13146 char *outptr = buf;
13147 size_t outbytesleft = sizeof (buf);
13148 size_t res = iconv (cd_utf8_to_88591,
13149 (char **) &inptr, &inbytesleft,
13150 &outptr, &outbytesleft);
13155 #if 0 /* This bug could be worked around by the caller. */
13156 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
13158 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13159 if (cd_88591_to_utf8 != (iconv_t)(-1))
13161 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13163 const char *inptr = input;
13164 size_t inbytesleft = strlen (input);
13165 char *outptr = buf;
13166 size_t outbytesleft = sizeof (buf);
13167 size_t res = iconv (cd_88591_to_utf8,
13168 (char **) &inptr, &inbytesleft,
13169 &outptr, &outbytesleft);
13175 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13177 if (/* Try standardized names. */
13178 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13179 /* Try IRIX, OSF/1 names. */
13180 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13181 /* Try AIX names. */
13182 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13183 /* Try HP-UX names. */
13184 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13189 if ac_fn_c_try_run "$LINENO"; then :
13190 am_cv_func_iconv_works=yes
13192 am_cv_func_iconv_works=no
13194 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13195 conftest.$ac_objext conftest.beam conftest.$ac_ext
13198 LIBS="$am_save_LIBS"
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13202 $as_echo "$am_cv_func_iconv_works" >&6; }
13203 case "$am_cv_func_iconv_works" in
13204 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
13205 *) am_func_iconv=yes ;;
13208 am_func_iconv=no am_cv_lib_iconv=no
13210 if test "$am_func_iconv" = yes; then
13212 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13215 if test "$am_cv_lib_iconv" = yes; then
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13217 $as_echo_n "checking how to link with libiconv... " >&6; }
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13219 $as_echo "$LIBICONV" >&6; }
13221 CPPFLAGS="$am_save_CPPFLAGS"
13235 acl_save_prefix="$prefix"
13236 prefix="$acl_final_prefix"
13237 acl_save_exec_prefix="$exec_prefix"
13238 exec_prefix="$acl_final_exec_prefix"
13240 eval additional_includedir=\"$includedir\"
13241 eval additional_libdir=\"$libdir\"
13243 exec_prefix="$acl_save_exec_prefix"
13244 prefix="$acl_save_prefix"
13247 # Check whether --with-libintl-prefix was given.
13248 if test "${with_libintl_prefix+set}" = set; then :
13249 withval=$with_libintl_prefix;
13250 if test "X$withval" = "Xno"; then
13253 if test "X$withval" = "X"; then
13255 acl_save_prefix="$prefix"
13256 prefix="$acl_final_prefix"
13257 acl_save_exec_prefix="$exec_prefix"
13258 exec_prefix="$acl_final_exec_prefix"
13260 eval additional_includedir=\"$includedir\"
13261 eval additional_libdir=\"$libdir\"
13263 exec_prefix="$acl_save_exec_prefix"
13264 prefix="$acl_save_prefix"
13267 additional_includedir="$withval/include"
13268 additional_libdir="$withval/$acl_libdirstem"
13280 names_already_handled=
13281 names_next_round='intl '
13282 while test -n "$names_next_round"; do
13283 names_this_round="$names_next_round"
13285 for name in $names_this_round; do
13287 for n in $names_already_handled; do
13288 if test "$n" = "$name"; then
13289 already_handled=yes
13293 if test -z "$already_handled"; then
13294 names_already_handled="$names_already_handled $name"
13295 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13296 eval value=\"\$HAVE_LIB$uppername\"
13297 if test -n "$value"; then
13298 if test "$value" = yes; then
13299 eval value=\"\$LIB$uppername\"
13300 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
13301 eval value=\"\$LTLIB$uppername\"
13302 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
13311 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13312 if test -n "$acl_shlibext"; then
13313 shrext=".$acl_shlibext" # typically: shrext=.so
13317 if test $use_additional = yes; then
13318 dir="$additional_libdir"
13319 if test -n "$acl_shlibext"; then
13320 if test -f "$dir/$libname$shrext"; then
13322 found_so="$dir/$libname$shrext"
13324 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13325 ver=`(cd "$dir" && \
13326 for f in "$libname$shrext".*; do echo "$f"; done \
13327 | sed -e "s,^$libname$shrext\\\\.,," \
13328 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13329 | sed 1q ) 2>/dev/null`
13330 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13332 found_so="$dir/$libname$shrext.$ver"
13335 eval library_names=\"$acl_library_names_spec\"
13336 for f in $library_names; do
13337 if test -f "$dir/$f"; then
13346 if test "X$found_dir" = "X"; then
13347 if test -f "$dir/$libname.$acl_libext"; then
13349 found_a="$dir/$libname.$acl_libext"
13352 if test "X$found_dir" != "X"; then
13353 if test -f "$dir/$libname.la"; then
13354 found_la="$dir/$libname.la"
13358 if test "X$found_dir" = "X"; then
13359 for x in $LDFLAGS $LTLIBINTL; do
13361 acl_save_prefix="$prefix"
13362 prefix="$acl_final_prefix"
13363 acl_save_exec_prefix="$exec_prefix"
13364 exec_prefix="$acl_final_exec_prefix"
13366 exec_prefix="$acl_save_exec_prefix"
13367 prefix="$acl_save_prefix"
13371 dir=`echo "X$x" | sed -e 's/^X-L//'`
13372 if test -n "$acl_shlibext"; then
13373 if test -f "$dir/$libname$shrext"; then
13375 found_so="$dir/$libname$shrext"
13377 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13378 ver=`(cd "$dir" && \
13379 for f in "$libname$shrext".*; do echo "$f"; done \
13380 | sed -e "s,^$libname$shrext\\\\.,," \
13381 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13382 | sed 1q ) 2>/dev/null`
13383 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13385 found_so="$dir/$libname$shrext.$ver"
13388 eval library_names=\"$acl_library_names_spec\"
13389 for f in $library_names; do
13390 if test -f "$dir/$f"; then
13399 if test "X$found_dir" = "X"; then
13400 if test -f "$dir/$libname.$acl_libext"; then
13402 found_a="$dir/$libname.$acl_libext"
13405 if test "X$found_dir" != "X"; then
13406 if test -f "$dir/$libname.la"; then
13407 found_la="$dir/$libname.la"
13412 if test "X$found_dir" != "X"; then
13417 if test "X$found_dir" != "X"; then
13418 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13419 if test "X$found_so" != "X"; then
13420 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13421 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13424 for x in $ltrpathdirs; do
13425 if test "X$x" = "X$found_dir"; then
13430 if test -z "$haveit"; then
13431 ltrpathdirs="$ltrpathdirs $found_dir"
13433 if test "$acl_hardcode_direct" = yes; then
13434 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13436 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13437 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13439 for x in $rpathdirs; do
13440 if test "X$x" = "X$found_dir"; then
13445 if test -z "$haveit"; then
13446 rpathdirs="$rpathdirs $found_dir"
13450 for x in $LDFLAGS $LIBINTL; do
13452 acl_save_prefix="$prefix"
13453 prefix="$acl_final_prefix"
13454 acl_save_exec_prefix="$exec_prefix"
13455 exec_prefix="$acl_final_exec_prefix"
13457 exec_prefix="$acl_save_exec_prefix"
13458 prefix="$acl_save_prefix"
13460 if test "X$x" = "X-L$found_dir"; then
13465 if test -z "$haveit"; then
13466 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13468 if test "$acl_hardcode_minus_L" != no; then
13469 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13471 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13477 if test "X$found_a" != "X"; then
13478 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
13480 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13483 additional_includedir=
13484 case "$found_dir" in
13485 */$acl_libdirstem | */$acl_libdirstem/)
13486 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13487 LIBINTL_PREFIX="$basedir"
13488 additional_includedir="$basedir/include"
13491 if test "X$additional_includedir" != "X"; then
13492 if test "X$additional_includedir" != "X/usr/include"; then
13494 if test "X$additional_includedir" = "X/usr/local/include"; then
13495 if test -n "$GCC"; then
13497 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13501 if test -z "$haveit"; then
13502 for x in $CPPFLAGS $INCINTL; do
13504 acl_save_prefix="$prefix"
13505 prefix="$acl_final_prefix"
13506 acl_save_exec_prefix="$exec_prefix"
13507 exec_prefix="$acl_final_exec_prefix"
13509 exec_prefix="$acl_save_exec_prefix"
13510 prefix="$acl_save_prefix"
13512 if test "X$x" = "X-I$additional_includedir"; then
13517 if test -z "$haveit"; then
13518 if test -d "$additional_includedir"; then
13519 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13525 if test -n "$found_la"; then
13526 save_libdir="$libdir"
13527 case "$found_la" in
13528 */* | *\\*) . "$found_la" ;;
13529 *) . "./$found_la" ;;
13531 libdir="$save_libdir"
13532 for dep in $dependency_libs; do
13535 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13536 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13538 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13539 if test -n "$GCC"; then
13541 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13545 if test -z "$haveit"; then
13547 for x in $LDFLAGS $LIBINTL; do
13549 acl_save_prefix="$prefix"
13550 prefix="$acl_final_prefix"
13551 acl_save_exec_prefix="$exec_prefix"
13552 exec_prefix="$acl_final_exec_prefix"
13554 exec_prefix="$acl_save_exec_prefix"
13555 prefix="$acl_save_prefix"
13557 if test "X$x" = "X-L$additional_libdir"; then
13562 if test -z "$haveit"; then
13563 if test -d "$additional_libdir"; then
13564 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13568 for x in $LDFLAGS $LTLIBINTL; do
13570 acl_save_prefix="$prefix"
13571 prefix="$acl_final_prefix"
13572 acl_save_exec_prefix="$exec_prefix"
13573 exec_prefix="$acl_final_exec_prefix"
13575 exec_prefix="$acl_save_exec_prefix"
13576 prefix="$acl_save_prefix"
13578 if test "X$x" = "X-L$additional_libdir"; then
13583 if test -z "$haveit"; then
13584 if test -d "$additional_libdir"; then
13585 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13592 dir=`echo "X$dep" | sed -e 's/^X-R//'`
13593 if test "$enable_rpath" != no; then
13595 for x in $rpathdirs; do
13596 if test "X$x" = "X$dir"; then
13601 if test -z "$haveit"; then
13602 rpathdirs="$rpathdirs $dir"
13605 for x in $ltrpathdirs; do
13606 if test "X$x" = "X$dir"; then
13611 if test -z "$haveit"; then
13612 ltrpathdirs="$ltrpathdirs $dir"
13617 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13620 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13623 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
13624 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13630 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13631 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13637 if test "X$rpathdirs" != "X"; then
13638 if test -n "$acl_hardcode_libdir_separator"; then
13640 for found_dir in $rpathdirs; do
13641 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13643 acl_save_libdir="$libdir"
13645 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13646 libdir="$acl_save_libdir"
13647 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13649 for found_dir in $rpathdirs; do
13650 acl_save_libdir="$libdir"
13651 libdir="$found_dir"
13652 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13653 libdir="$acl_save_libdir"
13654 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13658 if test "X$ltrpathdirs" != "X"; then
13659 for found_dir in $ltrpathdirs; do
13660 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13665 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13666 if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
13667 $as_echo_n "(cached) " >&6
13669 gt_save_CPPFLAGS="$CPPFLAGS"
13670 CPPFLAGS="$CPPFLAGS $INCINTL"
13671 gt_save_LIBS="$LIBS"
13672 LIBS="$LIBS $LIBINTL"
13673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13674 /* end confdefs.h. */
13675 #include <libintl.h>
13676 $gt_revision_test_code
13677 extern int _nl_msg_cat_cntr;
13682 const char *_nl_expand_alias (const char *);
13686 bindtextdomain ("", "");
13687 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13692 if ac_fn_c_try_link "$LINENO"; then :
13693 eval "$gt_func_gnugettext_libintl=yes"
13695 eval "$gt_func_gnugettext_libintl=no"
13697 rm -f core conftest.err conftest.$ac_objext \
13698 conftest$ac_exeext conftest.$ac_ext
13699 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
13700 LIBS="$LIBS $LIBICONV"
13701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13702 /* end confdefs.h. */
13703 #include <libintl.h>
13704 $gt_revision_test_code
13705 extern int _nl_msg_cat_cntr;
13710 const char *_nl_expand_alias (const char *);
13714 bindtextdomain ("", "");
13715 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13720 if ac_fn_c_try_link "$LINENO"; then :
13721 LIBINTL="$LIBINTL $LIBICONV"
13722 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
13723 eval "$gt_func_gnugettext_libintl=yes"
13726 rm -f core conftest.err conftest.$ac_objext \
13727 conftest$ac_exeext conftest.$ac_ext
13729 CPPFLAGS="$gt_save_CPPFLAGS"
13730 LIBS="$gt_save_LIBS"
13732 eval ac_res=\$$gt_func_gnugettext_libintl
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13734 $as_echo "$ac_res" >&6; }
13737 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
13738 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
13739 && test "$PACKAGE" != gettext-runtime \
13740 && test "$PACKAGE" != gettext-tools; }; then
13741 gt_use_preinstalled_gnugettext=yes
13750 if test -n "$INTL_MACOSX_LIBS"; then
13751 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13752 || test "$nls_cv_use_gnu_gettext" = "yes"; then
13753 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
13754 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
13758 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13759 || test "$nls_cv_use_gnu_gettext" = "yes"; then
13761 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
13769 $as_echo_n "checking whether to use NLS... " >&6; }
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13771 $as_echo "$USE_NLS" >&6; }
13772 if test "$USE_NLS" = "yes"; then
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
13774 $as_echo_n "checking where the gettext function comes from... " >&6; }
13775 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13776 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13777 gt_source="external libintl"
13782 gt_source="included intl directory"
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
13785 $as_echo "$gt_source" >&6; }
13788 if test "$USE_NLS" = "yes"; then
13790 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13791 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13793 $as_echo_n "checking how to link with libintl... " >&6; }
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13795 $as_echo "$LIBINTL" >&6; }
13797 for element in $INCINTL; do
13799 for x in $CPPFLAGS; do
13801 acl_save_prefix="$prefix"
13802 prefix="$acl_final_prefix"
13803 acl_save_exec_prefix="$exec_prefix"
13804 exec_prefix="$acl_final_exec_prefix"
13806 exec_prefix="$acl_save_exec_prefix"
13807 prefix="$acl_save_prefix"
13809 if test "X$x" = "X$element"; then
13814 if test -z "$haveit"; then
13815 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13822 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13825 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13834 INTLLIBS="$LIBINTL"
13842 if test "$USE_NLS" = "yes"; then
13843 GETTEXT_PACKAGE=gst-plugins-base-$GST_MAJORMINOR
13845 GETTEXT_PACKAGE=NULL
13849 cat >>confdefs.h <<_ACEOF
13850 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
13856 FROM_VAR=$datadir/locale
13858 prefix_save=$prefix
13859 exec_prefix_save=$exec_prefix
13861 if test "x$prefix" = "xNONE"; then
13862 prefix="$ac_default_prefix"
13864 if test "x$exec_prefix" = "xNONE"; then
13865 exec_prefix=$prefix
13868 full_var="$FROM_VAR"
13870 new_full_var="`eval echo $full_var`"
13871 if test "x$new_full_var" = "x$full_var"; then break; fi
13872 full_var=$new_full_var
13875 full_var=$new_full_var
13876 LOCALEDIR="$full_var"
13879 prefix=$prefix_save
13880 exec_prefix=$exec_prefix_save
13883 cat >>confdefs.h <<_ACEOF
13884 #define LOCALEDIR "$LOCALEDIR"
13891 # Check whether --enable-debug was given.
13892 if test "${enable_debug+set}" = set; then :
13893 enableval=$enable_debug;
13894 case "${enableval}" in
13895 yes) USE_DEBUG=yes ;;
13896 no) USE_DEBUG=no ;;
13897 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
13905 # Check whether --enable-profiling was given.
13906 if test "${enable_profiling+set}" = set; then :
13907 enableval=$enable_profiling;
13908 case "${enableval}" in
13909 yes) USE_PROFILING=yes ;;
13910 no) USE_PROFILING=no ;;
13911 *) as_fn_error $? "bad value ${enableval} for --enable-profiling" "$LINENO" 5 ;;
13920 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13921 if test -n "$ac_tool_prefix"; then
13922 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13923 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13925 $as_echo_n "checking for $ac_word... " >&6; }
13926 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
13927 $as_echo_n "(cached) " >&6
13929 case $PKG_CONFIG in
13931 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13935 for as_dir in $PATH
13938 test -z "$as_dir" && as_dir=.
13939 for ac_exec_ext in '' $ac_executable_extensions; do
13940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13941 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13952 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13953 if test -n "$PKG_CONFIG"; then
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13955 $as_echo "$PKG_CONFIG" >&6; }
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13958 $as_echo "no" >&6; }
13963 if test -z "$ac_cv_path_PKG_CONFIG"; then
13964 ac_pt_PKG_CONFIG=$PKG_CONFIG
13965 # Extract the first word of "pkg-config", so it can be a program name with args.
13966 set dummy pkg-config; ac_word=$2
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13968 $as_echo_n "checking for $ac_word... " >&6; }
13969 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
13970 $as_echo_n "(cached) " >&6
13972 case $ac_pt_PKG_CONFIG in
13974 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13978 for as_dir in $PATH
13981 test -z "$as_dir" && as_dir=.
13982 for ac_exec_ext in '' $ac_executable_extensions; do
13983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13984 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13995 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13996 if test -n "$ac_pt_PKG_CONFIG"; then
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13998 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14001 $as_echo "no" >&6; }
14004 if test "x$ac_pt_PKG_CONFIG" = x; then
14007 case $cross_compiling:$ac_tool_warned in
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14011 ac_tool_warned=yes ;;
14013 PKG_CONFIG=$ac_pt_PKG_CONFIG
14016 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14020 if test -n "$PKG_CONFIG"; then
14021 _pkg_min_version=0.9.0
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14023 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14024 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14026 $as_echo "yes" >&6; }
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14029 $as_echo "no" >&6; }
14035 # Check whether --enable-valgrind was given.
14036 if test "${enable_valgrind+set}" = set; then :
14037 enableval=$enable_valgrind;
14038 case "${enableval}" in
14039 yes) USE_VALGRIND="$USE_DEBUG" ;;
14040 no) USE_VALGRIND=no ;;
14041 *) as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
14045 USE_VALGRIND="$USE_DEBUG"
14048 if test "x$USE_VALGRIND" = xyes; then
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
14052 $as_echo_n "checking for VALGRIND... " >&6; }
14054 if test -n "$PKG_CONFIG"; then
14055 if test -n "$VALGRIND_CFLAGS"; then
14056 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
14058 if test -n "$PKG_CONFIG" && \
14059 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14060 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14063 test $ac_status = 0; }; then
14064 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14072 if test -n "$PKG_CONFIG"; then
14073 if test -n "$VALGRIND_LIBS"; then
14074 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
14076 if test -n "$PKG_CONFIG" && \
14077 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14078 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14081 test $ac_status = 0; }; then
14082 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14093 if test $pkg_failed = yes; then
14095 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14096 _pkg_short_errors_supported=yes
14098 _pkg_short_errors_supported=no
14100 if test $_pkg_short_errors_supported = yes; then
14101 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14103 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14105 # Put the nasty error message in config.log where it belongs
14106 echo "$VALGRIND_PKG_ERRORS" >&5
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14109 $as_echo "no" >&6; }
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14113 $as_echo "no" >&6; }
14115 elif test $pkg_failed = untried; then
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14119 $as_echo "no" >&6; }
14122 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
14123 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14125 $as_echo "yes" >&6; }
14129 if test "x$USE_VALGRIND" = xyes; then
14131 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
14134 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
14138 # Check whether --enable-gcov was given.
14139 if test "${enable_gcov+set}" = set; then :
14140 enableval=$enable_gcov; enable_gcov=$enableval
14145 if test x$enable_gcov = xyes ; then
14146 if test "x$GCC" != "xyes"
14148 as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
14153 $as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
14155 save_CFLAGS="$CFLAGS"
14156 CFLAGS="$CFLAGS "-fprofile-arcs""
14158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14159 /* end confdefs.h. */
14169 if ac_fn_c_try_compile "$LINENO"; then :
14174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14175 CFLAGS="$save_CFLAGS"
14177 if test "X$flag_ok" = Xyes ; then
14178 GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14185 $as_echo "$flag_ok" >&6; }
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
14189 $as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
14191 save_CFLAGS="$CFLAGS"
14192 CFLAGS="$CFLAGS "-ftest-coverage""
14194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14195 /* end confdefs.h. */
14205 if ac_fn_c_try_compile "$LINENO"; then :
14210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14211 CFLAGS="$save_CFLAGS"
14213 if test "X$flag_ok" = Xyes ; then
14214 GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14221 $as_echo "$flag_ok" >&6; }
14223 GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
14227 GCOV=`echo $CC | sed s/gcc/gcov/g`
14230 GST_GCOV_ENABLED=yes
14232 cat >>confdefs.h <<_ACEOF
14233 #define GST_GCOV_ENABLED 1
14236 if test "x$GST_GCOV_ENABLED" = "xyes"
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
14247 $as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
14250 if test x$enable_gcov = xyes; then
14251 GST_GCOV_ENABLED_TRUE=
14252 GST_GCOV_ENABLED_FALSE='#'
14254 GST_GCOV_ENABLED_TRUE='#'
14255 GST_GCOV_ENABLED_FALSE=
14261 # Check whether --enable-examples was given.
14262 if test "${enable_examples+set}" = set; then :
14263 enableval=$enable_examples;
14264 case "${enableval}" in
14265 yes) BUILD_EXAMPLES=yes ;;
14266 no) BUILD_EXAMPLES=no ;;
14267 *) as_fn_error $? "bad value ${enableval} for --disable-examples" "$LINENO" 5 ;;
14273 if test "x$BUILD_EXAMPLES" = "xyes"; then
14274 BUILD_EXAMPLES_TRUE=
14275 BUILD_EXAMPLES_FALSE='#'
14277 BUILD_EXAMPLES_TRUE='#'
14278 BUILD_EXAMPLES_FALSE=
14285 # Check whether --with-pkg-config-path was given.
14286 if test "${with_pkg_config_path+set}" = set; then :
14287 withval=$with_pkg_config_path;
14288 export PKG_CONFIG_PATH=${withval}
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
14290 $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
14297 # Check whether --with-package-name was given.
14298 if test "${with_package_name+set}" = set; then :
14299 withval=$with_package_name;
14300 case "${withval}" in
14301 yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
14302 no) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
14303 *) GST_PACKAGE_NAME="${withval}" ;;
14309 if test "x$P" = "x"
14314 if test "x$PACKAGE_VERSION_NANO" = "x0"
14316 GST_PACKAGE_NAME="$P source release"
14318 if test "x$PACKAGE_VERSION_NANO" = "x1"
14320 GST_PACKAGE_NAME="$P git"
14322 GST_PACKAGE_NAME="$P prerelease"
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
14330 $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
14332 cat >>confdefs.h <<_ACEOF
14333 #define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
14340 # Check whether --with-package-origin was given.
14341 if test "${with_package_origin+set}" = set; then :
14342 withval=$with_package_origin;
14343 case "${withval}" in
14344 yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
14345 no) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
14346 *) GST_PACKAGE_ORIGIN="${withval}" ;;
14350 GST_PACKAGE_ORIGIN="Unknown package origin"
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
14354 $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
14356 cat >>confdefs.h <<_ACEOF
14357 #define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
14364 GST_PKG_CONFIG_PATH="\$(top_builddir)/pkgconfig"
14365 if test "x$PKG_CONFIG_PATH" != "x"; then
14366 GST_PKG_CONFIG_PATH="$GST_PKG_CONFIG_PATH:$PKG_CONFIG_PATH"
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&5
14370 $as_echo "$as_me: Using GST_PKG_CONFIG_PATH = $GST_PKG_CONFIG_PATH" >&6;}
14374 # Check whether --with-install-plugins-helper was given.
14375 if test "${with_install_plugins_helper+set}" = set; then :
14376 withval=$with_install_plugins_helper;
14377 case "${withval}" in
14378 yes) as_fn_error $? "bad value ${withval} for --with-install-plugins-helper" "$LINENO" 5 ;;
14379 no) as_fn_error $? "bad value ${withval} for --with-install-plugins-helper" "$LINENO" 5 ;;
14380 *) GST_INSTALL_PLUGINS_HELPER="${withval}" ;;
14386 EXP_VAR=GST_INSTALL_PLUGINS_HELPER
14387 FROM_VAR=${libexecdir}/gst-install-plugins-helper
14389 prefix_save=$prefix
14390 exec_prefix_save=$exec_prefix
14392 if test "x$prefix" = "xNONE"; then
14393 prefix="$ac_default_prefix"
14395 if test "x$exec_prefix" = "xNONE"; then
14396 exec_prefix=$prefix
14399 full_var="$FROM_VAR"
14401 new_full_var="`eval echo $full_var`"
14402 if test "x$new_full_var" = "x$full_var"; then break; fi
14403 full_var=$new_full_var
14406 full_var=$new_full_var
14407 GST_INSTALL_PLUGINS_HELPER="$full_var"
14410 prefix=$prefix_save
14411 exec_prefix=$exec_prefix_save
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_INSTALL_PLUGINS_HELPER as plugin install helper" >&5
14418 $as_echo "$as_me: Using $GST_INSTALL_PLUGINS_HELPER as plugin install helper" >&6;}
14420 cat >>confdefs.h <<_ACEOF
14421 #define GST_INSTALL_PLUGINS_HELPER "$GST_INSTALL_PLUGINS_HELPER"
14428 # Check whether --with-plugins was given.
14429 if test "${with_plugins+set}" = set; then :
14430 withval=$with_plugins; WITH_PLUGINS=$withval
14437 GST_PLUGINS_SELECTED=""
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of plug-ins with external deps ***" >&5
14446 $as_echo "$as_me: *** checking feature: building of plug-ins with external deps ***" >&6;}
14449 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
14450 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
14453 if test "x$USE_EXTERNAL" = "xno"; then
14456 # Check whether --enable-external was given.
14457 if test "${enable_external+set}" = set; then :
14458 enableval=$enable_external; case "${enableval}" in
14459 yes) USE_EXTERNAL=yes;;
14460 no) USE_EXTERNAL=no;;
14461 *) as_fn_error $? "bad value ${enableval} for --enable-external" "$LINENO" 5 ;;
14467 if test "x$NOUSE" = "xyes"; then
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
14470 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
14475 if test x$USE_EXTERNAL = xyes; then
14477 gst_check_save_LIBS=$LIBS
14478 gst_check_save_LDFLAGS=$LDFLAGS
14479 gst_check_save_CFLAGS=$CFLAGS
14480 gst_check_save_CPPFLAGS=$CPPFLAGS
14481 gst_check_save_CXXFLAGS=$CXXFLAGS
14486 LIBS=$gst_check_save_LIBS
14487 LDFLAGS=$gst_check_save_LDFLAGS
14488 CFLAGS=$gst_check_save_CFLAGS
14489 CPPFLAGS=$gst_check_save_CPPFLAGS
14490 CXXFLAGS=$gst_check_save_CXXFLAGS
14492 if test x$HAVE_EXTERNAL = xno; then
14498 if test x$USE_EXTERNAL = xyes; then
14500 { $as_echo "$as_me:${as_lineno-$LINENO}: building external plug-ins" >&5
14501 $as_echo "$as_me: building external plug-ins" >&6;}
14502 BUILD_EXTERNAL="yes"
14504 if test "x" != "x"; then
14505 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
14508 $as_echo "#define HAVE_EXTERNAL /**/" >>confdefs.h
14512 if test "x" != "x"; then
14513 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: all plug-ins with external dependencies will not be built" >&5
14517 $as_echo "$as_me: WARNING: all plug-ins with external dependencies will not be built" >&2;}
14518 BUILD_EXTERNAL="no"
14521 if test x$USE_EXTERNAL = xyes; then
14523 USE_EXTERNAL_FALSE='#'
14525 USE_EXTERNAL_TRUE='#'
14526 USE_EXTERNAL_FALSE=
14530 # make BUILD_EXTERNAL available to Makefile.am
14531 if test "x$BUILD_EXTERNAL" = "xyes"; then
14532 BUILD_EXTERNAL_TRUE=
14533 BUILD_EXTERNAL_FALSE='#'
14535 BUILD_EXTERNAL_TRUE='#'
14536 BUILD_EXTERNAL_FALSE=
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of experimental plug-ins ***" >&5
14544 $as_echo "$as_me: *** checking feature: building of experimental plug-ins ***" >&6;}
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
14548 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
14551 if test "x$USE_EXPERIMENTAL" = "xno"; then
14554 # Check whether --enable-experimental was given.
14555 if test "${enable_experimental+set}" = set; then :
14556 enableval=$enable_experimental; case "${enableval}" in
14557 yes) USE_EXPERIMENTAL=yes;;
14558 no) USE_EXPERIMENTAL=no;;
14559 *) as_fn_error $? "bad value ${enableval} for --enable-experimental" "$LINENO" 5 ;;
14562 USE_EXPERIMENTAL=no
14565 if test "x$NOUSE" = "xyes"; then
14566 USE_EXPERIMENTAL="no"
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
14568 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
14573 if test x$USE_EXPERIMENTAL = xyes; then
14575 gst_check_save_LIBS=$LIBS
14576 gst_check_save_LDFLAGS=$LDFLAGS
14577 gst_check_save_CFLAGS=$CFLAGS
14578 gst_check_save_CPPFLAGS=$CPPFLAGS
14579 gst_check_save_CXXFLAGS=$CXXFLAGS
14581 HAVE_EXPERIMENTAL=no
14582 HAVE_EXPERIMENTAL=yes
14584 LIBS=$gst_check_save_LIBS
14585 LDFLAGS=$gst_check_save_LDFLAGS
14586 CFLAGS=$gst_check_save_CFLAGS
14587 CPPFLAGS=$gst_check_save_CPPFLAGS
14588 CXXFLAGS=$gst_check_save_CXXFLAGS
14590 if test x$HAVE_EXPERIMENTAL = xno; then
14591 USE_EXPERIMENTAL=no
14596 if test x$USE_EXPERIMENTAL = xyes; then
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: building experimental plug-ins" >&5
14599 $as_echo "$as_me: WARNING: building experimental plug-ins" >&2;}
14600 BUILD_EXPERIMENTAL="yes"
14602 if test "x" != "x"; then
14603 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
14606 $as_echo "#define HAVE_EXPERIMENTAL /**/" >>confdefs.h
14610 if test "x" != "x"; then
14611 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: not building experimental plug-ins" >&5
14615 $as_echo "$as_me: not building experimental plug-ins" >&6;}
14616 BUILD_EXPERIMENTAL="no"
14619 if test x$USE_EXPERIMENTAL = xyes; then
14620 USE_EXPERIMENTAL_TRUE=
14621 USE_EXPERIMENTAL_FALSE='#'
14623 USE_EXPERIMENTAL_TRUE='#'
14624 USE_EXPERIMENTAL_FALSE=
14628 # make BUILD_EXPERIMENTAL available to Makefile.am
14629 if test "x$BUILD_EXPERIMENTAL" = "xyes"; then
14630 BUILD_EXPERIMENTAL_TRUE=
14631 BUILD_EXPERIMENTAL_FALSE='#'
14633 BUILD_EXPERIMENTAL_TRUE='#'
14634 BUILD_EXPERIMENTAL_FALSE=
14643 case "x${host_cpu}" in
14644 xi?86 | xk? | xi?86_64)
14647 ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default"
14648 if test "x$ac_cv_have_decl___i386" = x""yes; then :
14654 ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
14655 if test "x$ac_cv_have_decl___amd64" = x""yes; then :
14662 if test "x$I386_ABI" = "xyes" ; then
14665 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
14668 if test "x$AMD64_ABI" = "xyes" ; then
14669 HAVE_CPU_X86_64=yes
14671 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
14678 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
14681 case "x${host_cpu}" in
14685 $as_echo "#define HAVE_RDTSC 1" >>confdefs.h
14694 $as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h
14699 $as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h
14704 $as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h
14709 $as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h
14714 $as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h
14719 $as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h
14724 $as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h
14729 $as_echo "#define HAVE_CPU_S390 1" >>confdefs.h
14734 $as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h
14739 $as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h
14742 HAVE_CPU_X86_64=yes
14744 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
14749 $as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h
14752 HAVE_CPU_CRISV32=yes
14754 $as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
14759 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
14760 if test "${ac_cv_c_bigendian+set}" = set; then :
14761 $as_echo_n "(cached) " >&6
14763 ac_cv_c_bigendian=unknown
14764 # See if we're dealing with a universal compiler.
14765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14766 /* end confdefs.h. */
14767 #ifndef __APPLE_CC__
14768 not a universal capable compiler
14773 if ac_fn_c_try_compile "$LINENO"; then :
14775 # Check for potential -arch flags. It is not universal unless
14776 # there are at least two -arch flags with different values.
14779 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
14780 if test -n "$ac_prev"; then
14782 i?86 | x86_64 | ppc | ppc64)
14783 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
14786 ac_cv_c_bigendian=universal
14792 elif test "x$ac_word" = "x-arch"; then
14797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14798 if test $ac_cv_c_bigendian = unknown; then
14799 # See if sys/param.h defines the BYTE_ORDER macro.
14800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14801 /* end confdefs.h. */
14802 #include <sys/types.h>
14803 #include <sys/param.h>
14808 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
14809 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
14811 bogus endian macros
14818 if ac_fn_c_try_compile "$LINENO"; then :
14819 # It does; now see whether it defined to BIG_ENDIAN or not.
14820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14821 /* end confdefs.h. */
14822 #include <sys/types.h>
14823 #include <sys/param.h>
14828 #if BYTE_ORDER != BIG_ENDIAN
14836 if ac_fn_c_try_compile "$LINENO"; then :
14837 ac_cv_c_bigendian=yes
14839 ac_cv_c_bigendian=no
14841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14845 if test $ac_cv_c_bigendian = unknown; then
14846 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
14847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14849 #include <limits.h>
14854 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
14855 bogus endian macros
14862 if ac_fn_c_try_compile "$LINENO"; then :
14863 # It does; now see whether it defined to _BIG_ENDIAN or not.
14864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14865 /* end confdefs.h. */
14866 #include <limits.h>
14871 #ifndef _BIG_ENDIAN
14879 if ac_fn_c_try_compile "$LINENO"; then :
14880 ac_cv_c_bigendian=yes
14882 ac_cv_c_bigendian=no
14884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14888 if test $ac_cv_c_bigendian = unknown; then
14889 # Compile a test program.
14890 if test "$cross_compiling" = yes; then :
14891 # Try to guess by grepping values from an object file.
14892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14893 /* end confdefs.h. */
14894 short int ascii_mm[] =
14895 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
14896 short int ascii_ii[] =
14897 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
14898 int use_ascii (int i) {
14899 return ascii_mm[i] + ascii_ii[i];
14901 short int ebcdic_ii[] =
14902 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
14903 short int ebcdic_mm[] =
14904 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
14905 int use_ebcdic (int i) {
14906 return ebcdic_mm[i] + ebcdic_ii[i];
14913 return use_ascii (foo) == use_ebcdic (foo);
14918 if ac_fn_c_try_compile "$LINENO"; then :
14919 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
14920 ac_cv_c_bigendian=yes
14922 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
14923 if test "$ac_cv_c_bigendian" = unknown; then
14924 ac_cv_c_bigendian=no
14926 # finding both strings is unlikely to happen, but who knows?
14927 ac_cv_c_bigendian=unknown
14931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14934 /* end confdefs.h. */
14935 $ac_includes_default
14940 /* Are we little or big endian? From Harbison&Steele. */
14944 char c[sizeof (long int)];
14947 return u.c[sizeof (long int) - 1] == 1;
14953 if ac_fn_c_try_run "$LINENO"; then :
14954 ac_cv_c_bigendian=no
14956 ac_cv_c_bigendian=yes
14958 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14959 conftest.$ac_objext conftest.beam conftest.$ac_ext
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
14965 $as_echo "$ac_cv_c_bigendian" >&6; }
14966 case $ac_cv_c_bigendian in #(
14968 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
14974 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
14978 as_fn_error $? "unknown endianness
14979 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
14983 if test "x$HAVE_CPU_I386" = "xyes"; then
14984 HAVE_CPU_I386_TRUE=
14985 HAVE_CPU_I386_FALSE='#'
14987 HAVE_CPU_I386_TRUE='#'
14988 HAVE_CPU_I386_FALSE=
14991 if test "x$HAVE_CPU_PPC" = "xyes"; then
14993 HAVE_CPU_PPC_FALSE='#'
14995 HAVE_CPU_PPC_TRUE='#'
14996 HAVE_CPU_PPC_FALSE=
14999 if test "x$HAVE_CPU_PPC64" = "xyes"; then
15000 HAVE_CPU_PPC64_TRUE=
15001 HAVE_CPU_PPC64_FALSE='#'
15003 HAVE_CPU_PPC64_TRUE='#'
15004 HAVE_CPU_PPC64_FALSE=
15007 if test "x$HAVE_CPU_ALPHA" = "xyes"; then
15008 HAVE_CPU_ALPHA_TRUE=
15009 HAVE_CPU_ALPHA_FALSE='#'
15011 HAVE_CPU_ALPHA_TRUE='#'
15012 HAVE_CPU_ALPHA_FALSE=
15015 if test "x$HAVE_CPU_ARM" = "xyes"; then
15017 HAVE_CPU_ARM_FALSE='#'
15019 HAVE_CPU_ARM_TRUE='#'
15020 HAVE_CPU_ARM_FALSE=
15023 if test "x$HAVE_CPU_SPARC" = "xyes"; then
15024 HAVE_CPU_SPARC_TRUE=
15025 HAVE_CPU_SPARC_FALSE='#'
15027 HAVE_CPU_SPARC_TRUE='#'
15028 HAVE_CPU_SPARC_FALSE=
15031 if test "x$HAVE_CPU_HPPA" = "xyes"; then
15032 HAVE_CPU_HPPA_TRUE=
15033 HAVE_CPU_HPPA_FALSE='#'
15035 HAVE_CPU_HPPA_TRUE='#'
15036 HAVE_CPU_HPPA_FALSE=
15039 if test "x$HAVE_CPU_MIPS" = "xyes"; then
15040 HAVE_CPU_MIPS_TRUE=
15041 HAVE_CPU_MIPS_FALSE='#'
15043 HAVE_CPU_MIPS_TRUE='#'
15044 HAVE_CPU_MIPS_FALSE=
15047 if test "x$HAVE_CPU_S390" = "xyes"; then
15048 HAVE_CPU_S390_TRUE=
15049 HAVE_CPU_S390_FALSE='#'
15051 HAVE_CPU_S390_TRUE='#'
15052 HAVE_CPU_S390_FALSE=
15055 if test "x$HAVE_CPU_IA64" = "xyes"; then
15056 HAVE_CPU_IA64_TRUE=
15057 HAVE_CPU_IA64_FALSE='#'
15059 HAVE_CPU_IA64_TRUE='#'
15060 HAVE_CPU_IA64_FALSE=
15063 if test "x$HAVE_CPU_M68K" = "xyes"; then
15064 HAVE_CPU_M68K_TRUE=
15065 HAVE_CPU_M68K_FALSE='#'
15067 HAVE_CPU_M68K_TRUE='#'
15068 HAVE_CPU_M68K_FALSE=
15071 if test "x$HAVE_CPU_X86_64" = "xyes"; then
15072 HAVE_CPU_X86_64_TRUE=
15073 HAVE_CPU_X86_64_FALSE='#'
15075 HAVE_CPU_X86_64_TRUE='#'
15076 HAVE_CPU_X86_64_FALSE=
15079 if test "x$HAVE_CPU_CRIS" = "xyes"; then
15080 HAVE_CPU_CRIS_TRUE=
15081 HAVE_CPU_CRIS_FALSE='#'
15083 HAVE_CPU_CRIS_TRUE='#'
15084 HAVE_CPU_CRIS_FALSE=
15087 if test "x$HAVE_CPU_CRISV32" = "xyes"; then
15088 HAVE_CPU_CRISV32_TRUE=
15089 HAVE_CPU_CRISV32_FALSE='#'
15091 HAVE_CPU_CRISV32_TRUE='#'
15092 HAVE_CPU_CRISV32_FALSE=
15097 cat >>confdefs.h <<_ACEOF
15098 #define HOST_CPU "$host_cpu"
15103 # Check whether --enable-largefile was given.
15104 if test "${enable_largefile+set}" = set; then :
15105 enableval=$enable_largefile;
15108 if test "$enable_largefile" != no; then
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
15111 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
15112 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
15113 $as_echo_n "(cached) " >&6
15115 ac_cv_sys_largefile_CC=no
15116 if test "$GCC" != yes; then
15119 # IRIX 6.2 and later do not support large files by default,
15120 # so use the C compiler's -n32 option if that helps.
15121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h. */
15123 #include <sys/types.h>
15124 /* Check that off_t can represent 2**63 - 1 correctly.
15125 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15126 since some C++ compilers masquerading as C compilers
15127 incorrectly reject 9223372036854775807. */
15128 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15129 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15130 && LARGE_OFF_T % 2147483647 == 1)
15140 if ac_fn_c_try_compile "$LINENO"; then :
15143 rm -f core conftest.err conftest.$ac_objext
15145 if ac_fn_c_try_compile "$LINENO"; then :
15146 ac_cv_sys_largefile_CC=' -n32'; break
15148 rm -f core conftest.err conftest.$ac_objext
15152 rm -f conftest.$ac_ext
15155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
15156 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
15157 if test "$ac_cv_sys_largefile_CC" != no; then
15158 CC=$CC$ac_cv_sys_largefile_CC
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15162 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
15163 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
15164 $as_echo_n "(cached) " >&6
15167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15168 /* end confdefs.h. */
15169 #include <sys/types.h>
15170 /* Check that off_t can represent 2**63 - 1 correctly.
15171 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15172 since some C++ compilers masquerading as C compilers
15173 incorrectly reject 9223372036854775807. */
15174 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15175 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15176 && LARGE_OFF_T % 2147483647 == 1)
15186 if ac_fn_c_try_compile "$LINENO"; then :
15187 ac_cv_sys_file_offset_bits=no; break
15189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15191 /* end confdefs.h. */
15192 #define _FILE_OFFSET_BITS 64
15193 #include <sys/types.h>
15194 /* Check that off_t can represent 2**63 - 1 correctly.
15195 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15196 since some C++ compilers masquerading as C compilers
15197 incorrectly reject 9223372036854775807. */
15198 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15199 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15200 && LARGE_OFF_T % 2147483647 == 1)
15210 if ac_fn_c_try_compile "$LINENO"; then :
15211 ac_cv_sys_file_offset_bits=64; break
15213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15214 ac_cv_sys_file_offset_bits=unknown
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
15219 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
15220 case $ac_cv_sys_file_offset_bits in #(
15223 cat >>confdefs.h <<_ACEOF
15224 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
15229 if test $ac_cv_sys_file_offset_bits = unknown; then
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
15231 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
15232 if test "${ac_cv_sys_large_files+set}" = set; then :
15233 $as_echo_n "(cached) " >&6
15236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15237 /* end confdefs.h. */
15238 #include <sys/types.h>
15239 /* Check that off_t can represent 2**63 - 1 correctly.
15240 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15241 since some C++ compilers masquerading as C compilers
15242 incorrectly reject 9223372036854775807. */
15243 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15244 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15245 && LARGE_OFF_T % 2147483647 == 1)
15255 if ac_fn_c_try_compile "$LINENO"; then :
15256 ac_cv_sys_large_files=no; break
15258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h. */
15261 #define _LARGE_FILES 1
15262 #include <sys/types.h>
15263 /* Check that off_t can represent 2**63 - 1 correctly.
15264 We can't simply define LARGE_OFF_T to be 9223372036854775807,
15265 since some C++ compilers masquerading as C compilers
15266 incorrectly reject 9223372036854775807. */
15267 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
15268 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
15269 && LARGE_OFF_T % 2147483647 == 1)
15279 if ac_fn_c_try_compile "$LINENO"; then :
15280 ac_cv_sys_large_files=1; break
15282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15283 ac_cv_sys_large_files=unknown
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
15288 $as_echo "$ac_cv_sys_large_files" >&6; }
15289 case $ac_cv_sys_large_files in #(
15292 cat >>confdefs.h <<_ACEOF
15293 #define _LARGE_FILES $ac_cv_sys_large_files
15304 ac_cpp='$CPP $CPPFLAGS'
15305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15308 if test -n "$ac_tool_prefix"; then
15309 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15310 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15312 $as_echo_n "checking for $ac_word... " >&6; }
15313 if test "${ac_cv_prog_CC+set}" = set; then :
15314 $as_echo_n "(cached) " >&6
15316 if test -n "$CC"; then
15317 ac_cv_prog_CC="$CC" # Let the user override the test.
15319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15320 for as_dir in $PATH
15323 test -z "$as_dir" && as_dir=.
15324 for ac_exec_ext in '' $ac_executable_extensions; do
15325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15326 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15337 if test -n "$CC"; then
15338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15339 $as_echo "$CC" >&6; }
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15342 $as_echo "no" >&6; }
15347 if test -z "$ac_cv_prog_CC"; then
15349 # Extract the first word of "gcc", so it can be a program name with args.
15350 set dummy gcc; ac_word=$2
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15352 $as_echo_n "checking for $ac_word... " >&6; }
15353 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
15354 $as_echo_n "(cached) " >&6
15356 if test -n "$ac_ct_CC"; then
15357 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15360 for as_dir in $PATH
15363 test -z "$as_dir" && as_dir=.
15364 for ac_exec_ext in '' $ac_executable_extensions; do
15365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15366 ac_cv_prog_ac_ct_CC="gcc"
15367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15376 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15377 if test -n "$ac_ct_CC"; then
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15379 $as_echo "$ac_ct_CC" >&6; }
15381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15382 $as_echo "no" >&6; }
15385 if test "x$ac_ct_CC" = x; then
15388 case $cross_compiling:$ac_tool_warned in
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15392 ac_tool_warned=yes ;;
15397 CC="$ac_cv_prog_CC"
15400 if test -z "$CC"; then
15401 if test -n "$ac_tool_prefix"; then
15402 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15403 set dummy ${ac_tool_prefix}cc; ac_word=$2
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15405 $as_echo_n "checking for $ac_word... " >&6; }
15406 if test "${ac_cv_prog_CC+set}" = set; then :
15407 $as_echo_n "(cached) " >&6
15409 if test -n "$CC"; then
15410 ac_cv_prog_CC="$CC" # Let the user override the test.
15412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15413 for as_dir in $PATH
15416 test -z "$as_dir" && as_dir=.
15417 for ac_exec_ext in '' $ac_executable_extensions; do
15418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15419 ac_cv_prog_CC="${ac_tool_prefix}cc"
15420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15430 if test -n "$CC"; then
15431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15432 $as_echo "$CC" >&6; }
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15435 $as_echo "no" >&6; }
15441 if test -z "$CC"; then
15442 # Extract the first word of "cc", so it can be a program name with args.
15443 set dummy cc; ac_word=$2
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15445 $as_echo_n "checking for $ac_word... " >&6; }
15446 if test "${ac_cv_prog_CC+set}" = set; then :
15447 $as_echo_n "(cached) " >&6
15449 if test -n "$CC"; then
15450 ac_cv_prog_CC="$CC" # Let the user override the test.
15452 ac_prog_rejected=no
15453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15454 for as_dir in $PATH
15457 test -z "$as_dir" && as_dir=.
15458 for ac_exec_ext in '' $ac_executable_extensions; do
15459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15460 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15461 ac_prog_rejected=yes
15465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15472 if test $ac_prog_rejected = yes; then
15473 # We found a bogon in the path, so make sure we never use it.
15474 set dummy $ac_cv_prog_CC
15476 if test $# != 0; then
15477 # We chose a different compiler from the bogus one.
15478 # However, it has the same basename, so the bogon will be chosen
15479 # first if we set CC to just the basename; use the full file name.
15481 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15487 if test -n "$CC"; then
15488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15489 $as_echo "$CC" >&6; }
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15492 $as_echo "no" >&6; }
15497 if test -z "$CC"; then
15498 if test -n "$ac_tool_prefix"; then
15499 for ac_prog in cl.exe
15501 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15502 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15504 $as_echo_n "checking for $ac_word... " >&6; }
15505 if test "${ac_cv_prog_CC+set}" = set; then :
15506 $as_echo_n "(cached) " >&6
15508 if test -n "$CC"; then
15509 ac_cv_prog_CC="$CC" # Let the user override the test.
15511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15512 for as_dir in $PATH
15515 test -z "$as_dir" && as_dir=.
15516 for ac_exec_ext in '' $ac_executable_extensions; do
15517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15518 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15529 if test -n "$CC"; then
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15531 $as_echo "$CC" >&6; }
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15534 $as_echo "no" >&6; }
15538 test -n "$CC" && break
15541 if test -z "$CC"; then
15543 for ac_prog in cl.exe
15545 # Extract the first word of "$ac_prog", so it can be a program name with args.
15546 set dummy $ac_prog; ac_word=$2
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15548 $as_echo_n "checking for $ac_word... " >&6; }
15549 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
15550 $as_echo_n "(cached) " >&6
15552 if test -n "$ac_ct_CC"; then
15553 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15556 for as_dir in $PATH
15559 test -z "$as_dir" && as_dir=.
15560 for ac_exec_ext in '' $ac_executable_extensions; do
15561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15562 ac_cv_prog_ac_ct_CC="$ac_prog"
15563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15572 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15573 if test -n "$ac_ct_CC"; then
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15575 $as_echo "$ac_ct_CC" >&6; }
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15578 $as_echo "no" >&6; }
15582 test -n "$ac_ct_CC" && break
15585 if test "x$ac_ct_CC" = x; then
15588 case $cross_compiling:$ac_tool_warned in
15590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15591 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15592 ac_tool_warned=yes ;;
15601 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15603 as_fn_error $? "no acceptable C compiler found in \$PATH
15604 See \`config.log' for more details" "$LINENO" 5 ; }
15606 # Provide some information about the compiler.
15607 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
15610 for ac_option in --version -v -V -qversion; do
15611 { { ac_try="$ac_compiler $ac_option >&5"
15612 case "(($ac_try" in
15613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15614 *) ac_try_echo=$ac_try;;
15616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15617 $as_echo "$ac_try_echo"; } >&5
15618 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15620 if test -s conftest.err; then
15622 ... rest of stderr output deleted ...
15623 10q' conftest.err >conftest.er1
15624 cat conftest.er1 >&5
15626 rm -f conftest.er1 conftest.err
15627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15628 test $ac_status = 0; }
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
15632 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
15633 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
15634 $as_echo_n "(cached) " >&6
15636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15637 /* end confdefs.h. */
15650 if ac_fn_c_try_compile "$LINENO"; then :
15651 ac_compiler_gnu=yes
15655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15656 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
15660 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
15661 if test $ac_compiler_gnu = yes; then
15666 ac_test_CFLAGS=${CFLAGS+set}
15667 ac_save_CFLAGS=$CFLAGS
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
15669 $as_echo_n "checking whether $CC accepts -g... " >&6; }
15670 if test "${ac_cv_prog_cc_g+set}" = set; then :
15671 $as_echo_n "(cached) " >&6
15673 ac_save_c_werror_flag=$ac_c_werror_flag
15674 ac_c_werror_flag=yes
15677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15678 /* end confdefs.h. */
15688 if ac_fn_c_try_compile "$LINENO"; then :
15689 ac_cv_prog_cc_g=yes
15692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15693 /* end confdefs.h. */
15703 if ac_fn_c_try_compile "$LINENO"; then :
15706 ac_c_werror_flag=$ac_save_c_werror_flag
15708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15709 /* end confdefs.h. */
15719 if ac_fn_c_try_compile "$LINENO"; then :
15720 ac_cv_prog_cc_g=yes
15722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15727 ac_c_werror_flag=$ac_save_c_werror_flag
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
15730 $as_echo "$ac_cv_prog_cc_g" >&6; }
15731 if test "$ac_test_CFLAGS" = set; then
15732 CFLAGS=$ac_save_CFLAGS
15733 elif test $ac_cv_prog_cc_g = yes; then
15734 if test "$GCC" = yes; then
15740 if test "$GCC" = yes; then
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
15747 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
15748 if test "${ac_cv_prog_cc_c89+set}" = set; then :
15749 $as_echo_n "(cached) " >&6
15751 ac_cv_prog_cc_c89=no
15753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15754 /* end confdefs.h. */
15755 #include <stdarg.h>
15757 #include <sys/types.h>
15758 #include <sys/stat.h>
15759 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15760 struct buf { int x; };
15761 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15762 static char *e (p, i)
15768 static char *f (char * (*g) (char **, int), char **p, ...)
15773 s = g (p, va_arg (v,int));
15778 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15779 function prototypes and stuff, but not '\xHH' hex character constants.
15780 These don't provoke an error unfortunately, instead are silently treated
15781 as 'x'. The following induces an error, until -std is added to get
15782 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15783 array size at least. It's necessary to write '\x00'==0 to get something
15784 that's true only with -std. */
15785 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15787 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15788 inside strings and character constants. */
15790 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15792 int test (int i, double x);
15793 struct s1 {int (*f) (int a);};
15794 struct s2 {int (*f) (double a);};
15795 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15801 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15806 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15807 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15809 CC="$ac_save_CC $ac_arg"
15810 if ac_fn_c_try_compile "$LINENO"; then :
15811 ac_cv_prog_cc_c89=$ac_arg
15813 rm -f core conftest.err conftest.$ac_objext
15814 test "x$ac_cv_prog_cc_c89" != "xno" && break
15816 rm -f conftest.$ac_ext
15821 case "x$ac_cv_prog_cc_c89" in
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
15824 $as_echo "none needed" >&6; } ;;
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
15827 $as_echo "unsupported" >&6; } ;;
15829 CC="$CC $ac_cv_prog_cc_c89"
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
15831 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
15833 if test "x$ac_cv_prog_cc_c89" != xno; then :
15838 ac_cpp='$CPP $CPPFLAGS'
15839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15843 depcc="$CC" am_compiler_list=
15845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15846 $as_echo_n "checking dependency style of $depcc... " >&6; }
15847 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
15848 $as_echo_n "(cached) " >&6
15850 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15851 # We make a subdir and do the tests there. Otherwise we can end up
15852 # making bogus files that we don't know about and never remove. For
15853 # instance it was reported that on HP-UX the gcc test will end up
15854 # making a dummy file named `D' -- because `-MD' means `put the output
15857 # Copy depcomp to subdir because otherwise we won't find it if we're
15858 # using a relative directory.
15859 cp "$am_depcomp" conftest.dir
15861 # We will build objects and dependencies in a subdirectory because
15862 # it helps to detect inapplicable dependency modes. For instance
15863 # both Tru64's cc and ICC support -MD to output dependencies as a
15864 # side effect of compilation, but ICC will put the dependencies in
15865 # the current directory while Tru64 will put them in the object
15869 am_cv_CC_dependencies_compiler_type=none
15870 if test "$am_compiler_list" = ""; then
15871 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15873 am__universal=false
15874 case " $depcc " in #(
15875 *\ -arch\ *\ -arch\ *) am__universal=true ;;
15878 for depmode in $am_compiler_list; do
15879 # Setup a source with many dependencies, because some compilers
15880 # like to wrap large dependency lists on column 80 (with \), and
15881 # we should not choose a depcomp mode which is confused by this.
15883 # We need to recreate these files for each test, as the compiler may
15884 # overwrite some of them when testing with obscure command lines.
15885 # This happens at least with the AIX C compiler.
15887 for i in 1 2 3 4 5 6; do
15888 echo '#include "conftst'$i'.h"' >> sub/conftest.c
15889 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15890 # Solaris 8's {/usr,}/bin/sh.
15891 touch sub/conftst$i.h
15893 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15895 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15896 # mode. It turns out that the SunPro C++ compiler does not properly
15897 # handle `-M -o', and we need to detect this. Also, some Intel
15898 # versions had trouble with output in subdirs
15899 am__obj=sub/conftest.${OBJEXT-o}
15900 am__minus_obj="-o $am__obj"
15903 # This depmode causes a compiler race in universal mode.
15904 test "$am__universal" = false || continue
15907 # after this tag, mechanisms are not by side-effect, so they'll
15908 # only be used when explicitly requested
15909 if test "x$enable_dependency_tracking" = xyes; then
15915 msvisualcpp | msvcmsys)
15916 # This compiler won't grok `-c -o', but also, the minuso test has
15917 # not run yet. These depmodes are late enough in the game, and
15918 # so weak that their functioning should not be impacted.
15919 am__obj=conftest.${OBJEXT-o}
15924 if depmode=$depmode \
15925 source=sub/conftest.c object=$am__obj \
15926 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15927 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15928 >/dev/null 2>conftest.err &&
15929 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15930 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15931 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15932 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15933 # icc doesn't choke on unknown options, it will just issue warnings
15934 # or remarks (even with -Werror). So we grep stderr for any message
15935 # that says an option was ignored or not supported.
15936 # When given -MP, icc 7.0 and 7.1 complain thusly:
15937 # icc: Command line warning: ignoring option '-M'; no argument required
15938 # The diagnosis changed in icc 8.0:
15939 # icc: Command line remark: option '-MP' not supported
15940 if (grep 'ignoring option' conftest.err ||
15941 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15942 am_cv_CC_dependencies_compiler_type=$depmode
15949 rm -rf conftest.dir
15951 am_cv_CC_dependencies_compiler_type=none
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
15956 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
15957 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
15960 test "x$enable_dependency_tracking" != xno \
15961 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
15962 am__fastdepCC_TRUE=
15963 am__fastdepCC_FALSE='#'
15965 am__fastdepCC_TRUE='#'
15966 am__fastdepCC_FALSE=
15970 case $ac_cv_prog_cc_stdc in #(
15972 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
15975 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
15976 if test "${ac_cv_prog_cc_c99+set}" = set; then :
15977 $as_echo_n "(cached) " >&6
15979 ac_cv_prog_cc_c99=no
15981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15982 /* end confdefs.h. */
15983 #include <stdarg.h>
15984 #include <stdbool.h>
15985 #include <stdlib.h>
15989 // Check varargs macros. These examples are taken from C99 6.10.3.5.
15990 #define debug(...) fprintf (stderr, __VA_ARGS__)
15991 #define showlist(...) puts (#__VA_ARGS__)
15992 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
15994 test_varargs_macros (void)
15999 debug ("X = %d\n", x);
16000 showlist (The first, second, and third items.);
16001 report (x>y, "x is %d but y is %d", x, y);
16004 // Check long long types.
16005 #define BIG64 18446744073709551615ull
16006 #define BIG32 4294967295ul
16007 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
16009 your preprocessor is broken;
16013 your preprocessor is broken;
16015 static long long int bignum = -9223372036854775807LL;
16016 static unsigned long long int ubignum = BIG64;
16018 struct incomplete_array
16024 struct named_init {
16026 const wchar_t *name;
16030 typedef const char *ccp;
16033 test_restrict (ccp restrict text)
16035 // See if C++-style comments work.
16036 // Iterate through items via the restricted pointer.
16037 // Also check for declarations in for loops.
16038 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
16043 // Check varargs and va_copy.
16045 test_varargs (const char *format, ...)
16048 va_start (args, format);
16050 va_copy (args_copy, args);
16060 case 's': // string
16061 str = va_arg (args_copy, const char *);
16064 number = va_arg (args_copy, int);
16067 fnumber = va_arg (args_copy, double);
16073 va_end (args_copy);
16082 _Bool success = false;
16085 if (test_restrict ("String literal") == 0)
16087 char *restrict newvar = "Another string";
16090 test_varargs ("s, d' f .", "string", 65, 34.234);
16091 test_varargs_macros ();
16093 // Check flexible array members.
16094 struct incomplete_array *ia =
16095 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
16097 for (int i = 0; i < ia->datasize; ++i)
16098 ia->data[i] = i * 1.234;
16100 // Check named initializers.
16101 struct named_init ni = {
16103 .name = L"Test wide string",
16104 .average = 543.34343,
16109 int dynamic_array[ni.number];
16110 dynamic_array[ni.number - 1] = 543;
16112 // work around unused variable warnings
16113 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
16114 || dynamic_array[ni.number - 1] != 543);
16120 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
16122 CC="$ac_save_CC $ac_arg"
16123 if ac_fn_c_try_compile "$LINENO"; then :
16124 ac_cv_prog_cc_c99=$ac_arg
16126 rm -f core conftest.err conftest.$ac_objext
16127 test "x$ac_cv_prog_cc_c99" != "xno" && break
16129 rm -f conftest.$ac_ext
16134 case "x$ac_cv_prog_cc_c99" in
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16137 $as_echo "none needed" >&6; } ;;
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16140 $as_echo "unsupported" >&6; } ;;
16142 CC="$CC $ac_cv_prog_cc_c99"
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
16144 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
16146 if test "x$ac_cv_prog_cc_c99" != xno; then :
16147 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16150 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16151 if test "${ac_cv_prog_cc_c89+set}" = set; then :
16152 $as_echo_n "(cached) " >&6
16154 ac_cv_prog_cc_c89=no
16156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16157 /* end confdefs.h. */
16158 #include <stdarg.h>
16160 #include <sys/types.h>
16161 #include <sys/stat.h>
16162 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16163 struct buf { int x; };
16164 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16165 static char *e (p, i)
16171 static char *f (char * (*g) (char **, int), char **p, ...)
16176 s = g (p, va_arg (v,int));
16181 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16182 function prototypes and stuff, but not '\xHH' hex character constants.
16183 These don't provoke an error unfortunately, instead are silently treated
16184 as 'x'. The following induces an error, until -std is added to get
16185 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16186 array size at least. It's necessary to write '\x00'==0 to get something
16187 that's true only with -std. */
16188 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16190 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16191 inside strings and character constants. */
16193 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16195 int test (int i, double x);
16196 struct s1 {int (*f) (int a);};
16197 struct s2 {int (*f) (double a);};
16198 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16204 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16209 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16210 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16212 CC="$ac_save_CC $ac_arg"
16213 if ac_fn_c_try_compile "$LINENO"; then :
16214 ac_cv_prog_cc_c89=$ac_arg
16216 rm -f core conftest.err conftest.$ac_objext
16217 test "x$ac_cv_prog_cc_c89" != "xno" && break
16219 rm -f conftest.$ac_ext
16224 case "x$ac_cv_prog_cc_c89" in
16226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16227 $as_echo "none needed" >&6; } ;;
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16230 $as_echo "unsupported" >&6; } ;;
16232 CC="$CC $ac_cv_prog_cc_c89"
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16234 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16236 if test "x$ac_cv_prog_cc_c89" != xno; then :
16237 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
16239 ac_cv_prog_cc_stdc=no
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
16246 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
16247 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
16248 $as_echo_n "(cached) " >&6
16251 case $ac_cv_prog_cc_stdc in #(
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16254 $as_echo "unsupported" >&6; } ;; #(
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16257 $as_echo "none needed" >&6; } ;; #(
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
16260 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
16264 if test "x$CC" != xcc; then
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
16266 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
16268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
16269 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
16271 set dummy $CC; ac_cc=`$as_echo "$2" |
16272 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16273 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
16274 $as_echo_n "(cached) " >&6
16276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16277 /* end confdefs.h. */
16287 # Make sure it works both with $CC and with simple cc.
16288 # We do the test twice because some compilers refuse to overwrite an
16289 # existing .o file with -o, though they will create one.
16290 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16292 if { { case "(($ac_try" in
16293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16294 *) ac_try_echo=$ac_try;;
16296 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16297 $as_echo "$ac_try_echo"; } >&5
16298 (eval "$ac_try") 2>&5
16300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16301 test $ac_status = 0; } &&
16302 test -f conftest2.$ac_objext && { { case "(($ac_try" in
16303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16304 *) ac_try_echo=$ac_try;;
16306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16307 $as_echo "$ac_try_echo"; } >&5
16308 (eval "$ac_try") 2>&5
16310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16311 test $ac_status = 0; };
16313 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
16314 if test "x$CC" != xcc; then
16315 # Test first that cc exists at all.
16316 if { ac_try='cc -c conftest.$ac_ext >&5'
16317 { { case "(($ac_try" in
16318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16319 *) ac_try_echo=$ac_try;;
16321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16322 $as_echo "$ac_try_echo"; } >&5
16323 (eval "$ac_try") 2>&5
16325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16326 test $ac_status = 0; }; }; then
16327 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
16329 if { { case "(($ac_try" in
16330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16331 *) ac_try_echo=$ac_try;;
16333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16334 $as_echo "$ac_try_echo"; } >&5
16335 (eval "$ac_try") 2>&5
16337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16338 test $ac_status = 0; } &&
16339 test -f conftest2.$ac_objext && { { case "(($ac_try" in
16340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16341 *) ac_try_echo=$ac_try;;
16343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16344 $as_echo "$ac_try_echo"; } >&5
16345 (eval "$ac_try") 2>&5
16347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16348 test $ac_status = 0; };
16353 # cc exists but doesn't like -o.
16354 eval ac_cv_prog_cc_${ac_cc}_c_o=no
16359 eval ac_cv_prog_cc_${ac_cc}_c_o=no
16361 rm -f core conftest*
16364 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16366 $as_echo "yes" >&6; }
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16369 $as_echo "no" >&6; }
16371 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
16375 # FIXME: we rely on the cache variable name because
16376 # there is no other way.
16378 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
16379 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
16380 if test "$am_t" != yes; then
16381 # Losing compiler, so override with the script.
16382 # FIXME: It is wrong to rewrite CC.
16383 # But if we don't then we get into trouble of one sort or another.
16384 # A longer-term fix would be to have automake use am__CC in this case,
16385 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
16386 CC="$am_aux_dir/compile $CC"
16392 ac_cpp='$CXXCPP $CPPFLAGS'
16393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16396 if test -z "$CXX"; then
16397 if test -n "$CCC"; then
16400 if test -n "$ac_tool_prefix"; then
16401 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16403 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16404 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16406 $as_echo_n "checking for $ac_word... " >&6; }
16407 if test "${ac_cv_prog_CXX+set}" = set; then :
16408 $as_echo_n "(cached) " >&6
16410 if test -n "$CXX"; then
16411 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16414 for as_dir in $PATH
16417 test -z "$as_dir" && as_dir=.
16418 for ac_exec_ext in '' $ac_executable_extensions; do
16419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16420 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16430 CXX=$ac_cv_prog_CXX
16431 if test -n "$CXX"; then
16432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
16433 $as_echo "$CXX" >&6; }
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16436 $as_echo "no" >&6; }
16440 test -n "$CXX" && break
16443 if test -z "$CXX"; then
16445 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16447 # Extract the first word of "$ac_prog", so it can be a program name with args.
16448 set dummy $ac_prog; ac_word=$2
16449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16450 $as_echo_n "checking for $ac_word... " >&6; }
16451 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
16452 $as_echo_n "(cached) " >&6
16454 if test -n "$ac_ct_CXX"; then
16455 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16458 for as_dir in $PATH
16461 test -z "$as_dir" && as_dir=.
16462 for ac_exec_ext in '' $ac_executable_extensions; do
16463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16464 ac_cv_prog_ac_ct_CXX="$ac_prog"
16465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16474 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16475 if test -n "$ac_ct_CXX"; then
16476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
16477 $as_echo "$ac_ct_CXX" >&6; }
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16480 $as_echo "no" >&6; }
16484 test -n "$ac_ct_CXX" && break
16487 if test "x$ac_ct_CXX" = x; then
16490 case $cross_compiling:$ac_tool_warned in
16492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16494 ac_tool_warned=yes ;;
16502 # Provide some information about the compiler.
16503 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
16506 for ac_option in --version -v -V -qversion; do
16507 { { ac_try="$ac_compiler $ac_option >&5"
16508 case "(($ac_try" in
16509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16510 *) ac_try_echo=$ac_try;;
16512 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16513 $as_echo "$ac_try_echo"; } >&5
16514 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16516 if test -s conftest.err; then
16518 ... rest of stderr output deleted ...
16519 10q' conftest.err >conftest.er1
16520 cat conftest.er1 >&5
16522 rm -f conftest.er1 conftest.err
16523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16524 test $ac_status = 0; }
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
16528 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
16529 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
16530 $as_echo_n "(cached) " >&6
16532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16533 /* end confdefs.h. */
16546 if ac_fn_cxx_try_compile "$LINENO"; then :
16547 ac_compiler_gnu=yes
16551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16552 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
16556 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
16557 if test $ac_compiler_gnu = yes; then
16562 ac_test_CXXFLAGS=${CXXFLAGS+set}
16563 ac_save_CXXFLAGS=$CXXFLAGS
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
16565 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
16566 if test "${ac_cv_prog_cxx_g+set}" = set; then :
16567 $as_echo_n "(cached) " >&6
16569 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16570 ac_cxx_werror_flag=yes
16571 ac_cv_prog_cxx_g=no
16573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16574 /* end confdefs.h. */
16584 if ac_fn_cxx_try_compile "$LINENO"; then :
16585 ac_cv_prog_cxx_g=yes
16588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16589 /* end confdefs.h. */
16599 if ac_fn_cxx_try_compile "$LINENO"; then :
16602 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16605 /* end confdefs.h. */
16615 if ac_fn_cxx_try_compile "$LINENO"; then :
16616 ac_cv_prog_cxx_g=yes
16618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16623 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
16626 $as_echo "$ac_cv_prog_cxx_g" >&6; }
16627 if test "$ac_test_CXXFLAGS" = set; then
16628 CXXFLAGS=$ac_save_CXXFLAGS
16629 elif test $ac_cv_prog_cxx_g = yes; then
16630 if test "$GXX" = yes; then
16636 if test "$GXX" = yes; then
16643 ac_cpp='$CPP $CPPFLAGS'
16644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16648 depcc="$CXX" am_compiler_list=
16650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16651 $as_echo_n "checking dependency style of $depcc... " >&6; }
16652 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
16653 $as_echo_n "(cached) " >&6
16655 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16656 # We make a subdir and do the tests there. Otherwise we can end up
16657 # making bogus files that we don't know about and never remove. For
16658 # instance it was reported that on HP-UX the gcc test will end up
16659 # making a dummy file named `D' -- because `-MD' means `put the output
16662 # Copy depcomp to subdir because otherwise we won't find it if we're
16663 # using a relative directory.
16664 cp "$am_depcomp" conftest.dir
16666 # We will build objects and dependencies in a subdirectory because
16667 # it helps to detect inapplicable dependency modes. For instance
16668 # both Tru64's cc and ICC support -MD to output dependencies as a
16669 # side effect of compilation, but ICC will put the dependencies in
16670 # the current directory while Tru64 will put them in the object
16674 am_cv_CXX_dependencies_compiler_type=none
16675 if test "$am_compiler_list" = ""; then
16676 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16678 am__universal=false
16679 case " $depcc " in #(
16680 *\ -arch\ *\ -arch\ *) am__universal=true ;;
16683 for depmode in $am_compiler_list; do
16684 # Setup a source with many dependencies, because some compilers
16685 # like to wrap large dependency lists on column 80 (with \), and
16686 # we should not choose a depcomp mode which is confused by this.
16688 # We need to recreate these files for each test, as the compiler may
16689 # overwrite some of them when testing with obscure command lines.
16690 # This happens at least with the AIX C compiler.
16692 for i in 1 2 3 4 5 6; do
16693 echo '#include "conftst'$i'.h"' >> sub/conftest.c
16694 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16695 # Solaris 8's {/usr,}/bin/sh.
16696 touch sub/conftst$i.h
16698 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16700 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16701 # mode. It turns out that the SunPro C++ compiler does not properly
16702 # handle `-M -o', and we need to detect this. Also, some Intel
16703 # versions had trouble with output in subdirs
16704 am__obj=sub/conftest.${OBJEXT-o}
16705 am__minus_obj="-o $am__obj"
16708 # This depmode causes a compiler race in universal mode.
16709 test "$am__universal" = false || continue
16712 # after this tag, mechanisms are not by side-effect, so they'll
16713 # only be used when explicitly requested
16714 if test "x$enable_dependency_tracking" = xyes; then
16720 msvisualcpp | msvcmsys)
16721 # This compiler won't grok `-c -o', but also, the minuso test has
16722 # not run yet. These depmodes are late enough in the game, and
16723 # so weak that their functioning should not be impacted.
16724 am__obj=conftest.${OBJEXT-o}
16729 if depmode=$depmode \
16730 source=sub/conftest.c object=$am__obj \
16731 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16732 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16733 >/dev/null 2>conftest.err &&
16734 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16735 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16736 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16737 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16738 # icc doesn't choke on unknown options, it will just issue warnings
16739 # or remarks (even with -Werror). So we grep stderr for any message
16740 # that says an option was ignored or not supported.
16741 # When given -MP, icc 7.0 and 7.1 complain thusly:
16742 # icc: Command line warning: ignoring option '-M'; no argument required
16743 # The diagnosis changed in icc 8.0:
16744 # icc: Command line remark: option '-MP' not supported
16745 if (grep 'ignoring option' conftest.err ||
16746 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16747 am_cv_CXX_dependencies_compiler_type=$depmode
16754 rm -rf conftest.dir
16756 am_cv_CXX_dependencies_compiler_type=none
16760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
16761 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
16762 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
16765 test "x$enable_dependency_tracking" != xno \
16766 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
16767 am__fastdepCXX_TRUE=
16768 am__fastdepCXX_FALSE='#'
16770 am__fastdepCXX_TRUE='#'
16771 am__fastdepCXX_FALSE=
16777 ac_cpp='$CXXCPP $CPPFLAGS'
16778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16781 if test -z "$CXX"; then
16782 if test -n "$CCC"; then
16785 if test -n "$ac_tool_prefix"; then
16786 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16788 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16789 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16791 $as_echo_n "checking for $ac_word... " >&6; }
16792 if test "${ac_cv_prog_CXX+set}" = set; then :
16793 $as_echo_n "(cached) " >&6
16795 if test -n "$CXX"; then
16796 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16799 for as_dir in $PATH
16802 test -z "$as_dir" && as_dir=.
16803 for ac_exec_ext in '' $ac_executable_extensions; do
16804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16805 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16815 CXX=$ac_cv_prog_CXX
16816 if test -n "$CXX"; then
16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
16818 $as_echo "$CXX" >&6; }
16820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16821 $as_echo "no" >&6; }
16825 test -n "$CXX" && break
16828 if test -z "$CXX"; then
16830 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16832 # Extract the first word of "$ac_prog", so it can be a program name with args.
16833 set dummy $ac_prog; ac_word=$2
16834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16835 $as_echo_n "checking for $ac_word... " >&6; }
16836 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
16837 $as_echo_n "(cached) " >&6
16839 if test -n "$ac_ct_CXX"; then
16840 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16843 for as_dir in $PATH
16846 test -z "$as_dir" && as_dir=.
16847 for ac_exec_ext in '' $ac_executable_extensions; do
16848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16849 ac_cv_prog_ac_ct_CXX="$ac_prog"
16850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16859 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16860 if test -n "$ac_ct_CXX"; then
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
16862 $as_echo "$ac_ct_CXX" >&6; }
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16865 $as_echo "no" >&6; }
16869 test -n "$ac_ct_CXX" && break
16872 if test "x$ac_ct_CXX" = x; then
16875 case $cross_compiling:$ac_tool_warned in
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16878 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16879 ac_tool_warned=yes ;;
16887 # Provide some information about the compiler.
16888 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
16891 for ac_option in --version -v -V -qversion; do
16892 { { ac_try="$ac_compiler $ac_option >&5"
16893 case "(($ac_try" in
16894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16895 *) ac_try_echo=$ac_try;;
16897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16898 $as_echo "$ac_try_echo"; } >&5
16899 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16901 if test -s conftest.err; then
16903 ... rest of stderr output deleted ...
16904 10q' conftest.err >conftest.er1
16905 cat conftest.er1 >&5
16907 rm -f conftest.er1 conftest.err
16908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16909 test $ac_status = 0; }
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
16913 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
16914 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
16915 $as_echo_n "(cached) " >&6
16917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16918 /* end confdefs.h. */
16931 if ac_fn_cxx_try_compile "$LINENO"; then :
16932 ac_compiler_gnu=yes
16936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16937 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
16941 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
16942 if test $ac_compiler_gnu = yes; then
16947 ac_test_CXXFLAGS=${CXXFLAGS+set}
16948 ac_save_CXXFLAGS=$CXXFLAGS
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
16950 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
16951 if test "${ac_cv_prog_cxx_g+set}" = set; then :
16952 $as_echo_n "(cached) " >&6
16954 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16955 ac_cxx_werror_flag=yes
16956 ac_cv_prog_cxx_g=no
16958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h. */
16969 if ac_fn_cxx_try_compile "$LINENO"; then :
16970 ac_cv_prog_cxx_g=yes
16973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16984 if ac_fn_cxx_try_compile "$LINENO"; then :
16987 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16990 /* end confdefs.h. */
17000 if ac_fn_cxx_try_compile "$LINENO"; then :
17001 ac_cv_prog_cxx_g=yes
17003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17008 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
17011 $as_echo "$ac_cv_prog_cxx_g" >&6; }
17012 if test "$ac_test_CXXFLAGS" = set; then
17013 CXXFLAGS=$ac_save_CXXFLAGS
17014 elif test $ac_cv_prog_cxx_g = yes; then
17015 if test "$GXX" = yes; then
17021 if test "$GXX" = yes; then
17028 ac_cpp='$CPP $CPPFLAGS'
17029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17033 depcc="$CXX" am_compiler_list=
17035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17036 $as_echo_n "checking dependency style of $depcc... " >&6; }
17037 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
17038 $as_echo_n "(cached) " >&6
17040 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17041 # We make a subdir and do the tests there. Otherwise we can end up
17042 # making bogus files that we don't know about and never remove. For
17043 # instance it was reported that on HP-UX the gcc test will end up
17044 # making a dummy file named `D' -- because `-MD' means `put the output
17047 # Copy depcomp to subdir because otherwise we won't find it if we're
17048 # using a relative directory.
17049 cp "$am_depcomp" conftest.dir
17051 # We will build objects and dependencies in a subdirectory because
17052 # it helps to detect inapplicable dependency modes. For instance
17053 # both Tru64's cc and ICC support -MD to output dependencies as a
17054 # side effect of compilation, but ICC will put the dependencies in
17055 # the current directory while Tru64 will put them in the object
17059 am_cv_CXX_dependencies_compiler_type=none
17060 if test "$am_compiler_list" = ""; then
17061 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17063 am__universal=false
17064 case " $depcc " in #(
17065 *\ -arch\ *\ -arch\ *) am__universal=true ;;
17068 for depmode in $am_compiler_list; do
17069 # Setup a source with many dependencies, because some compilers
17070 # like to wrap large dependency lists on column 80 (with \), and
17071 # we should not choose a depcomp mode which is confused by this.
17073 # We need to recreate these files for each test, as the compiler may
17074 # overwrite some of them when testing with obscure command lines.
17075 # This happens at least with the AIX C compiler.
17077 for i in 1 2 3 4 5 6; do
17078 echo '#include "conftst'$i'.h"' >> sub/conftest.c
17079 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17080 # Solaris 8's {/usr,}/bin/sh.
17081 touch sub/conftst$i.h
17083 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17085 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17086 # mode. It turns out that the SunPro C++ compiler does not properly
17087 # handle `-M -o', and we need to detect this. Also, some Intel
17088 # versions had trouble with output in subdirs
17089 am__obj=sub/conftest.${OBJEXT-o}
17090 am__minus_obj="-o $am__obj"
17093 # This depmode causes a compiler race in universal mode.
17094 test "$am__universal" = false || continue
17097 # after this tag, mechanisms are not by side-effect, so they'll
17098 # only be used when explicitly requested
17099 if test "x$enable_dependency_tracking" = xyes; then
17105 msvisualcpp | msvcmsys)
17106 # This compiler won't grok `-c -o', but also, the minuso test has
17107 # not run yet. These depmodes are late enough in the game, and
17108 # so weak that their functioning should not be impacted.
17109 am__obj=conftest.${OBJEXT-o}
17114 if depmode=$depmode \
17115 source=sub/conftest.c object=$am__obj \
17116 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17117 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17118 >/dev/null 2>conftest.err &&
17119 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17120 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17121 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17122 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17123 # icc doesn't choke on unknown options, it will just issue warnings
17124 # or remarks (even with -Werror). So we grep stderr for any message
17125 # that says an option was ignored or not supported.
17126 # When given -MP, icc 7.0 and 7.1 complain thusly:
17127 # icc: Command line warning: ignoring option '-M'; no argument required
17128 # The diagnosis changed in icc 8.0:
17129 # icc: Command line remark: option '-MP' not supported
17130 if (grep 'ignoring option' conftest.err ||
17131 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17132 am_cv_CXX_dependencies_compiler_type=$depmode
17139 rm -rf conftest.dir
17141 am_cv_CXX_dependencies_compiler_type=none
17145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
17146 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
17147 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
17150 test "x$enable_dependency_tracking" != xno \
17151 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
17152 am__fastdepCXX_TRUE=
17153 am__fastdepCXX_FALSE='#'
17155 am__fastdepCXX_TRUE='#'
17156 am__fastdepCXX_FALSE=
17160 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
17161 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
17162 (test "X$CXX" != "Xg++"))) ; then
17164 ac_cpp='$CXXCPP $CPPFLAGS'
17165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
17169 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
17170 if test -z "$CXXCPP"; then
17171 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
17172 $as_echo_n "(cached) " >&6
17174 # Double quotes because CXXCPP needs to be expanded
17175 for CXXCPP in "$CXX -E" "/lib/cpp"
17177 ac_preproc_ok=false
17178 for ac_cxx_preproc_warn_flag in '' yes
17180 # Use a header file that comes with gcc, so configuring glibc
17181 # with a fresh cross-compiler works.
17182 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17183 # <limits.h> exists even on freestanding compilers.
17184 # On the NeXT, cc -E runs the code through the compiler's parser,
17185 # not just through cpp. "Syntax error" is here to catch this case.
17186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17187 /* end confdefs.h. */
17189 # include <limits.h>
17191 # include <assert.h>
17195 if ac_fn_cxx_try_cpp "$LINENO"; then :
17198 # Broken: fails on valid input.
17201 rm -f conftest.err conftest.i conftest.$ac_ext
17203 # OK, works on sane cases. Now check whether nonexistent headers
17204 # can be detected and how.
17205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17207 #include <ac_nonexistent.h>
17209 if ac_fn_cxx_try_cpp "$LINENO"; then :
17210 # Broken: success on invalid input.
17213 # Passes both tests.
17217 rm -f conftest.err conftest.i conftest.$ac_ext
17220 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17221 rm -f conftest.i conftest.err conftest.$ac_ext
17222 if $ac_preproc_ok; then :
17227 ac_cv_prog_CXXCPP=$CXXCPP
17230 CXXCPP=$ac_cv_prog_CXXCPP
17232 ac_cv_prog_CXXCPP=$CXXCPP
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
17235 $as_echo "$CXXCPP" >&6; }
17236 ac_preproc_ok=false
17237 for ac_cxx_preproc_warn_flag in '' yes
17239 # Use a header file that comes with gcc, so configuring glibc
17240 # with a fresh cross-compiler works.
17241 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17242 # <limits.h> exists even on freestanding compilers.
17243 # On the NeXT, cc -E runs the code through the compiler's parser,
17244 # not just through cpp. "Syntax error" is here to catch this case.
17245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17246 /* end confdefs.h. */
17248 # include <limits.h>
17250 # include <assert.h>
17254 if ac_fn_cxx_try_cpp "$LINENO"; then :
17257 # Broken: fails on valid input.
17260 rm -f conftest.err conftest.i conftest.$ac_ext
17262 # OK, works on sane cases. Now check whether nonexistent headers
17263 # can be detected and how.
17264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17265 /* end confdefs.h. */
17266 #include <ac_nonexistent.h>
17268 if ac_fn_cxx_try_cpp "$LINENO"; then :
17269 # Broken: success on invalid input.
17272 # Passes both tests.
17276 rm -f conftest.err conftest.i conftest.$ac_ext
17279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17280 rm -f conftest.i conftest.err conftest.$ac_ext
17281 if $ac_preproc_ok; then :
17284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17285 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17286 _lt_caught_CXX_error=yes; }
17290 ac_cpp='$CPP $CPPFLAGS'
17291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17296 _lt_caught_CXX_error=yes
17303 ac_cpp='$CXXCPP $CPPFLAGS'
17304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17308 archive_cmds_need_lc_CXX=no
17309 allow_undefined_flag_CXX=
17310 always_export_symbols_CXX=no
17311 archive_expsym_cmds_CXX=
17312 compiler_needs_object_CXX=no
17313 export_dynamic_flag_spec_CXX=
17314 hardcode_direct_CXX=no
17315 hardcode_direct_absolute_CXX=no
17316 hardcode_libdir_flag_spec_CXX=
17317 hardcode_libdir_flag_spec_ld_CXX=
17318 hardcode_libdir_separator_CXX=
17319 hardcode_minus_L_CXX=no
17320 hardcode_shlibpath_var_CXX=unsupported
17321 hardcode_automatic_CXX=no
17322 inherit_rpath_CXX=no
17324 module_expsym_cmds_CXX=
17325 link_all_deplibs_CXX=unknown
17326 old_archive_cmds_CXX=$old_archive_cmds
17327 no_undefined_flag_CXX=
17328 whole_archive_flag_spec_CXX=
17329 enable_shared_with_static_runtimes_CXX=no
17331 # Source file extension for C++ test sources.
17334 # Object file extension for compiled C++ test sources.
17338 # No sense in running all these tests if we already determined that
17339 # the CXX compiler isn't working. Some variables (like enable_shared)
17340 # are currently assumed to apply to all compilers on this platform,
17341 # and will be corrupted by setting them based on a non-working compiler.
17342 if test "$_lt_caught_CXX_error" != yes; then
17343 # Code to be used in simple compile tests
17344 lt_simple_compile_test_code="int some_variable = 0;"
17346 # Code to be used in simple link tests
17347 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
17349 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17356 # If no C compiler was specified, use CC.
17359 # If no C compiler flags were specified, use CFLAGS.
17360 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17362 # Allow CC to be a program name with arguments.
17366 # save warnings/boilerplate of simple test code
17367 ac_outfile=conftest.$ac_objext
17368 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17369 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17370 _lt_compiler_boilerplate=`cat conftest.err`
17373 ac_outfile=conftest.$ac_objext
17374 echo "$lt_simple_link_test_code" >conftest.$ac_ext
17375 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17376 _lt_linker_boilerplate=`cat conftest.err`
17380 # Allow CC to be a program name with arguments.
17385 lt_save_with_gnu_ld=$with_gnu_ld
17386 lt_save_path_LD=$lt_cv_path_LD
17387 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
17388 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
17390 $as_unset lt_cv_prog_gnu_ld
17392 if test -n "${lt_cv_path_LDCXX+set}"; then
17393 lt_cv_path_LD=$lt_cv_path_LDCXX
17395 $as_unset lt_cv_path_LD
17397 test -z "${LDCXX+set}" || LD=$LDCXX
17401 for cc_temp in $compiler""; do
17403 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17404 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17409 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17412 if test -n "$compiler"; then
17413 # We don't want -fno-exception when compiling C++ code, so set the
17414 # no_builtin_flag separately
17415 if test "$GXX" = yes; then
17416 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
17418 lt_prog_compiler_no_builtin_flag_CXX=
17421 if test "$GXX" = yes; then
17422 # Set up default GNU C++ configuration
17426 # Check whether --with-gnu-ld was given.
17427 if test "${with_gnu_ld+set}" = set; then :
17428 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17434 if test "$GCC" = yes; then
17435 # Check if gcc -print-prog-name=ld gives a path.
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
17437 $as_echo_n "checking for ld used by $CC... " >&6; }
17440 # gcc leaves a trailing carriage return which upsets mingw
17441 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17443 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17446 # Accept absolute paths.
17448 re_direlt='/[^/][^/]*/\.\./'
17449 # Canonicalize the pathname of ld
17450 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
17451 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
17452 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
17454 test -z "$LD" && LD="$ac_prog"
17457 # If it fails, then pretend we aren't using GCC.
17461 # If it is relative, then search for the first ld in PATH.
17462 with_gnu_ld=unknown
17465 elif test "$with_gnu_ld" = yes; then
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17467 $as_echo_n "checking for GNU ld... " >&6; }
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17470 $as_echo_n "checking for non-GNU ld... " >&6; }
17472 if test "${lt_cv_path_LD+set}" = set; then :
17473 $as_echo_n "(cached) " >&6
17475 if test -z "$LD"; then
17476 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17477 for ac_dir in $PATH; do
17479 test -z "$ac_dir" && ac_dir=.
17480 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17481 lt_cv_path_LD="$ac_dir/$ac_prog"
17482 # Check to see if the program is GNU ld. I'd rather use --version,
17483 # but apparently some variants of GNU ld only accept -v.
17484 # Break only if it was the GNU/non-GNU ld that we prefer.
17485 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17486 *GNU* | *'with BFD'*)
17487 test "$with_gnu_ld" != no && break
17490 test "$with_gnu_ld" != yes && break
17497 lt_cv_path_LD="$LD" # Let the user override the test with a path.
17501 LD="$lt_cv_path_LD"
17502 if test -n "$LD"; then
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17504 $as_echo "$LD" >&6; }
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17507 $as_echo "no" >&6; }
17509 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17511 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17512 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
17513 $as_echo_n "(cached) " >&6
17515 # I'd rather use --version here, but apparently some GNU lds only accept -v.
17516 case `$LD -v 2>&1 </dev/null` in
17517 *GNU* | *'with BFD'*)
17518 lt_cv_prog_gnu_ld=yes
17521 lt_cv_prog_gnu_ld=no
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
17526 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
17527 with_gnu_ld=$lt_cv_prog_gnu_ld
17535 # Check if GNU C++ uses GNU ld as the underlying linker, since the
17536 # archiving commands below assume that GNU ld is being used.
17537 if test "$with_gnu_ld" = yes; then
17538 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17539 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'
17541 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17542 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17544 # If archive_cmds runs LD, not CC, wlarc should be empty
17545 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
17546 # investigate it a little bit more. (MM)
17549 # ancient GNU ld didn't support --whole-archive et. al.
17550 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
17551 $GREP 'no-whole-archive' > /dev/null; then
17552 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17554 whole_archive_flag_spec_CXX=
17560 # A generic and very simple default shared library creation
17561 # command for GNU C++ for the case where it uses the native
17562 # linker, instead of GNU ld. If possible, this setting should
17563 # overridden to take advantage of the native linker features on
17564 # the platform it is being used on.
17565 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17568 # Commands to make compiler produce verbose output that lists
17569 # what "hidden" libraries, object files and flags are used when
17570 # linking a shared library.
17571 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
17579 # PORTME: fill in a description of your system's C++ link characteristics
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17581 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17585 # FIXME: insert proper C++ library support
17589 if test "$host_cpu" = ia64; then
17590 # On IA64, the linker does run time linking by default, so we don't
17591 # have to do anything special.
17592 aix_use_runtimelinking=no
17593 exp_sym_flag='-Bexport'
17596 aix_use_runtimelinking=no
17598 # Test if we are trying to use run time linking or normal
17599 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17600 # need to do runtime linking.
17601 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17602 for ld_flag in $LDFLAGS; do
17605 aix_use_runtimelinking=yes
17613 exp_sym_flag='-bexport'
17614 no_entry_flag='-bnoentry'
17617 # When large executables or shared objects are built, AIX ld can
17618 # have problems creating the table of contents. If linking a library
17619 # or program results in "error TOC overflow" add -mminimal-toc to
17620 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17621 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17623 archive_cmds_CXX=''
17624 hardcode_direct_CXX=yes
17625 hardcode_direct_absolute_CXX=yes
17626 hardcode_libdir_separator_CXX=':'
17627 link_all_deplibs_CXX=yes
17628 file_list_spec_CXX='${wl}-f,'
17630 if test "$GXX" = yes; then
17631 case $host_os in aix4.[012]|aix4.[012].*)
17632 # We only want to do this on AIX 4.2 and lower, the check
17633 # below for broken collect2 doesn't work under 4.3+
17634 collect2name=`${CC} -print-prog-name=collect2`
17635 if test -f "$collect2name" &&
17636 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
17638 # We have reworked collect2
17641 # We have old collect2
17642 hardcode_direct_CXX=unsupported
17643 # It fails to find uninstalled libraries when the uninstalled
17644 # path is not listed in the libpath. Setting hardcode_minus_L
17645 # to unsupported forces relinking
17646 hardcode_minus_L_CXX=yes
17647 hardcode_libdir_flag_spec_CXX='-L$libdir'
17648 hardcode_libdir_separator_CXX=
17651 shared_flag='-shared'
17652 if test "$aix_use_runtimelinking" = yes; then
17653 shared_flag="$shared_flag "'${wl}-G'
17657 if test "$host_cpu" = ia64; then
17658 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17659 # chokes on -Wl,-G. The following line is correct:
17662 if test "$aix_use_runtimelinking" = yes; then
17663 shared_flag='${wl}-G'
17665 shared_flag='${wl}-bM:SRE'
17670 export_dynamic_flag_spec_CXX='${wl}-bexpall'
17671 # It seems that -bexpall does not export symbols beginning with
17672 # underscore (_), so it is better to generate a list of symbols to
17674 always_export_symbols_CXX=yes
17675 if test "$aix_use_runtimelinking" = yes; then
17676 # Warning - without using the other runtime loading flags (-brtl),
17677 # -berok will link without error, but may produce a broken library.
17678 allow_undefined_flag_CXX='-berok'
17679 # Determine the default libpath from the value encoded in an empty
17681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17682 /* end confdefs.h. */
17692 if ac_fn_cxx_try_link "$LINENO"; then :
17694 lt_aix_libpath_sed='
17695 /Import File Strings/,/^$/ {
17701 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17702 # Check for a 64-bit object if we didn't find anything.
17703 if test -z "$aix_libpath"; then
17704 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17707 rm -f core conftest.err conftest.$ac_objext \
17708 conftest$ac_exeext conftest.$ac_ext
17709 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17711 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17713 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"
17715 if test "$host_cpu" = ia64; then
17716 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
17717 allow_undefined_flag_CXX="-z nodefs"
17718 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"
17720 # Determine the default libpath from the value encoded in an
17721 # empty executable.
17722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17723 /* end confdefs.h. */
17733 if ac_fn_cxx_try_link "$LINENO"; then :
17735 lt_aix_libpath_sed='
17736 /Import File Strings/,/^$/ {
17742 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17743 # Check for a 64-bit object if we didn't find anything.
17744 if test -z "$aix_libpath"; then
17745 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17748 rm -f core conftest.err conftest.$ac_objext \
17749 conftest$ac_exeext conftest.$ac_ext
17750 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17752 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17753 # Warning - without using the other run time loading flags,
17754 # -berok will link without error, but may produce a broken library.
17755 no_undefined_flag_CXX=' ${wl}-bernotok'
17756 allow_undefined_flag_CXX=' ${wl}-berok'
17757 # Exported symbols can be pulled into shared objects from archives
17758 whole_archive_flag_spec_CXX='$convenience'
17759 archive_cmds_need_lc_CXX=yes
17760 # This is similar to how AIX traditionally builds its shared
17762 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'
17768 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17769 allow_undefined_flag_CXX=unsupported
17770 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17771 # support --undefined. This deserves some investigation. FIXME
17772 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17779 case $cc_basename in
17781 # FIXME: insert proper C++ library support
17787 cygwin* | mingw* | pw32* | cegcc*)
17788 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
17789 # as there is no search path for DLLs.
17790 hardcode_libdir_flag_spec_CXX='-L$libdir'
17791 allow_undefined_flag_CXX=unsupported
17792 always_export_symbols_CXX=no
17793 enable_shared_with_static_runtimes_CXX=yes
17795 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
17796 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'
17797 # If the export-symbols file already is a .def file (1st line
17798 # is EXPORTS), use it as is; otherwise, prepend...
17799 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17800 cp $export_symbols $output_objdir/$soname.def;
17802 echo EXPORTS > $output_objdir/$soname.def;
17803 cat $export_symbols >> $output_objdir/$soname.def;
17805 $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'
17810 darwin* | rhapsody*)
17813 archive_cmds_need_lc_CXX=no
17814 hardcode_direct_CXX=no
17815 hardcode_automatic_CXX=yes
17816 hardcode_shlibpath_var_CXX=unsupported
17817 whole_archive_flag_spec_CXX=''
17818 link_all_deplibs_CXX=yes
17819 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
17820 case $cc_basename in
17821 ifort*) _lt_dar_can_shared=yes ;;
17822 *) _lt_dar_can_shared=$GCC ;;
17824 if test "$_lt_dar_can_shared" = "yes"; then
17825 output_verbose_link_cmd=echo
17826 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}"
17827 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17828 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}"
17829 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}"
17830 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
17831 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}"
17832 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}"
17842 case $cc_basename in
17844 # FIXME: insert proper C++ library support
17848 # Green Hills C++ Compiler
17849 # FIXME: insert proper C++ library support
17853 # FIXME: insert proper C++ library support
17860 # C++ shared libraries reported to be fairly broken before
17866 archive_cmds_need_lc_CXX=no
17869 freebsd* | dragonfly*)
17870 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
17879 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
17880 hardcode_libdir_separator_CXX=:
17881 export_dynamic_flag_spec_CXX='${wl}-E'
17882 hardcode_direct_CXX=yes
17883 hardcode_minus_L_CXX=yes # Not in the search PATH,
17884 # but as the default
17885 # location of the library.
17887 case $cc_basename in
17889 # FIXME: insert proper C++ library support
17893 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'
17894 # Commands to make compiler produce verbose output that lists
17895 # what "hidden" libraries, object files and flags are used when
17896 # linking a shared library.
17898 # There doesn't appear to be a way to prevent this compiler from
17899 # explicitly linking system object files so we need to strip them
17900 # from the output so that they don't get included in the library
17902 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'
17905 if test "$GXX" = yes; then
17906 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'
17908 # FIXME: insert proper C++ library support
17916 if test $with_gnu_ld = no; then
17917 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
17918 hardcode_libdir_separator_CXX=:
17924 export_dynamic_flag_spec_CXX='${wl}-E'
17930 hardcode_direct_CXX=no
17931 hardcode_shlibpath_var_CXX=no
17934 hardcode_direct_CXX=yes
17935 hardcode_direct_absolute_CXX=yes
17936 hardcode_minus_L_CXX=yes # Not in the search PATH,
17937 # but as the default
17938 # location of the library.
17942 case $cc_basename in
17944 # FIXME: insert proper C++ library support
17950 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17953 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17956 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17959 # Commands to make compiler produce verbose output that lists
17960 # what "hidden" libraries, object files and flags are used when
17961 # linking a shared library.
17963 # There doesn't appear to be a way to prevent this compiler from
17964 # explicitly linking system object files so we need to strip them
17965 # from the output so that they don't get included in the library
17967 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'
17970 if test "$GXX" = yes; then
17971 if test $with_gnu_ld = no; then
17974 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17977 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17980 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'
17985 # FIXME: insert proper C++ library support
17993 hardcode_direct_CXX=no
17994 hardcode_shlibpath_var_CXX=no
17995 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
17996 export_dynamic_flag_spec_CXX='${wl}-E'
17997 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17998 # Instead, shared libraries are loaded at an image base (0x10000000 by
17999 # default) and relocated if they conflict, which is a slow very memory
18000 # consuming and fragmenting process. To avoid this, we pick a random,
18001 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18002 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18003 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'
18004 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'
18007 case $cc_basename in
18010 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'
18012 # Archives containing C++ object files must be created using
18013 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18014 # necessary to make sure instantiated templates are included
18016 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18019 if test "$GXX" = yes; then
18020 if test "$with_gnu_ld" = no; then
18021 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'
18023 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'
18026 link_all_deplibs_CXX=yes
18029 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18030 hardcode_libdir_separator_CXX=:
18031 inherit_rpath_CXX=yes
18034 linux* | k*bsd*-gnu | kopensolaris*-gnu)
18035 case $cc_basename in
18037 # Kuck and Associates, Inc. (KAI) C++ Compiler
18039 # KCC will only create a shared library if the output file
18040 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18041 # to its proper name (with version) after linking.
18042 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'
18043 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'
18044 # Commands to make compiler produce verbose output that lists
18045 # what "hidden" libraries, object files and flags are used when
18046 # linking a shared library.
18048 # There doesn't appear to be a way to prevent this compiler from
18049 # explicitly linking system object files so we need to strip them
18050 # from the output so that they don't get included in the library
18052 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'
18054 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18055 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18057 # Archives containing C++ object files must be created using
18058 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18059 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18064 # version 8.0 and above of icpc choke on multiply defined symbols
18065 # if we add $predep_objects and $postdep_objects, however 7.1 and
18066 # earlier do not add the objects themselves.
18067 case `$CC -V 2>&1` in
18069 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18070 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'
18072 *) # Version 8.0 or newer
18075 ia64*) tmp_idyn=' -i_dynamic';;
18077 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18078 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'
18081 archive_cmds_need_lc_CXX=no
18082 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18083 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18084 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18087 # Portland Group C++ compiler
18089 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
18090 prelink_cmds_CXX='tpldir=Template.dir~
18092 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
18093 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
18094 old_archive_cmds_CXX='tpldir=Template.dir~
18096 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
18097 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
18099 archive_cmds_CXX='tpldir=Template.dir~
18101 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18102 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18103 archive_expsym_cmds_CXX='tpldir=Template.dir~
18105 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18106 $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'
18108 *) # Version 6 will use weak symbols
18109 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18110 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'
18114 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18115 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18116 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'
18120 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18121 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'
18123 runpath_var=LD_RUN_PATH
18124 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18125 hardcode_libdir_separator_CXX=:
18127 # Commands to make compiler produce verbose output that lists
18128 # what "hidden" libraries, object files and flags are used when
18129 # linking a shared library.
18131 # There doesn't appear to be a way to prevent this compiler from
18132 # explicitly linking system object files so we need to strip them
18133 # from the output so that they don't get included in the library
18135 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'
18138 # IBM XL 8.0 on PPC, with GNU ld
18139 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18140 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18141 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18142 if test "x$supports_anon_versioning" = xyes; then
18143 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
18144 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18145 echo "local: *; };" >> $output_objdir/$libname.ver~
18146 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18150 case `$CC -V 2>&1 | sed 5q` in
18153 no_undefined_flag_CXX=' -zdefs'
18154 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18155 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'
18156 hardcode_libdir_flag_spec_CXX='-R$libdir'
18157 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'
18158 compiler_needs_object_CXX=yes
18160 # Not sure whether something based on
18161 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
18163 output_verbose_link_cmd='echo'
18165 # Archives containing C++ object files must be created using
18166 # "CC -xar", where "CC" is the Sun C++ compiler. This is
18167 # necessary to make sure instantiated templates are included
18169 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18177 # FIXME: insert proper C++ library support
18182 # FIXME: insert proper C++ library support
18187 case $cc_basename in
18189 # FIXME: insert proper C++ library support
18193 # FIXME: insert proper C++ library support
18200 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18201 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18203 hardcode_libdir_flag_spec_CXX='-R$libdir'
18204 hardcode_direct_CXX=yes
18205 hardcode_shlibpath_var_CXX=no
18207 # Workaround some broken pre-1.5 toolchains
18208 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18216 # C++ shared libraries are fairly broken
18221 if test -f /usr/libexec/ld.so; then
18222 hardcode_direct_CXX=yes
18223 hardcode_shlibpath_var_CXX=no
18224 hardcode_direct_absolute_CXX=yes
18225 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18226 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18227 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18228 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18229 export_dynamic_flag_spec_CXX='${wl}-E'
18230 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18232 output_verbose_link_cmd=echo
18238 osf3* | osf4* | osf5*)
18239 case $cc_basename in
18241 # Kuck and Associates, Inc. (KAI) C++ Compiler
18243 # KCC will only create a shared library if the output file
18244 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18245 # to its proper name (with version) after linking.
18246 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'
18248 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18249 hardcode_libdir_separator_CXX=:
18251 # Archives containing C++ object files must be created using
18252 # the KAI C++ compiler.
18254 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
18255 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
18259 # Rational C++ 2.4.1
18260 # FIXME: insert proper C++ library support
18266 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18267 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'
18268 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18271 allow_undefined_flag_CXX=' -expect_unresolved \*'
18272 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'
18273 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18274 echo "-hidden">> $lib.exp~
18275 $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~
18277 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18281 hardcode_libdir_separator_CXX=:
18283 # Commands to make compiler produce verbose output that lists
18284 # what "hidden" libraries, object files and flags are used when
18285 # linking a shared library.
18287 # There doesn't appear to be a way to prevent this compiler from
18288 # explicitly linking system object files so we need to strip them
18289 # from the output so that they don't get included in the library
18291 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'
18294 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18295 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18298 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'
18301 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'
18305 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18306 hardcode_libdir_separator_CXX=:
18308 # Commands to make compiler produce verbose output that lists
18309 # what "hidden" libraries, object files and flags are used when
18310 # linking a shared library.
18311 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18314 # FIXME: insert proper C++ library support
18322 # FIXME: insert proper C++ library support
18327 case $cc_basename in
18330 # FIXME: insert proper C++ library support
18335 # FIXME: insert proper C++ library support
18339 # FIXME: insert proper C++ library support
18346 case $cc_basename in
18348 # Sun C++ 4.2, 5.x and Centerline C++
18349 archive_cmds_need_lc_CXX=yes
18350 no_undefined_flag_CXX=' -zdefs'
18351 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18352 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18353 $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'
18355 hardcode_libdir_flag_spec_CXX='-R$libdir'
18356 hardcode_shlibpath_var_CXX=no
18358 solaris2.[0-5] | solaris2.[0-5].*) ;;
18360 # The compiler driver will combine and reorder linker options,
18361 # but understands `-z linker_flag'.
18362 # Supported since Solaris 2.6 (maybe 2.5.1?)
18363 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
18366 link_all_deplibs_CXX=yes
18368 output_verbose_link_cmd='echo'
18370 # Archives containing C++ object files must be created using
18371 # "CC -xar", where "CC" is the Sun C++ compiler. This is
18372 # necessary to make sure instantiated templates are included
18374 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18377 # Green Hills C++ Compiler
18378 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18380 # The C++ compiler must be used to create the archive.
18381 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18384 # GNU C++ compiler with Solaris linker
18385 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18386 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
18387 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
18388 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18389 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18390 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18392 # Commands to make compiler produce verbose output that lists
18393 # what "hidden" libraries, object files and flags are used when
18394 # linking a shared library.
18395 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18397 # g++ 2.7 appears to require `-G' NOT `-shared' on this
18399 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18400 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18401 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18403 # Commands to make compiler produce verbose output that lists
18404 # what "hidden" libraries, object files and flags are used when
18405 # linking a shared library.
18406 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
18409 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
18411 solaris2.[0-5] | solaris2.[0-5].*) ;;
18413 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18421 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18422 no_undefined_flag_CXX='${wl}-z,text'
18423 archive_cmds_need_lc_CXX=no
18424 hardcode_shlibpath_var_CXX=no
18425 runpath_var='LD_RUN_PATH'
18427 case $cc_basename in
18429 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18430 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18433 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18434 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18439 sysv5* | sco3.2v5* | sco5v6*)
18440 # Note: We can NOT use -z defs as we might desire, because we do not
18441 # link with -lc, and that would cause any symbols used from libc to
18442 # always be unresolved, which means just about no library would
18443 # ever link correctly. If we're not using GNU ld we use -z text
18444 # though, which does catch some bad symbols but isn't as heavy-handed
18446 no_undefined_flag_CXX='${wl}-z,text'
18447 allow_undefined_flag_CXX='${wl}-z,nodefs'
18448 archive_cmds_need_lc_CXX=no
18449 hardcode_shlibpath_var_CXX=no
18450 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
18451 hardcode_libdir_separator_CXX=':'
18452 link_all_deplibs_CXX=yes
18453 export_dynamic_flag_spec_CXX='${wl}-Bexport'
18454 runpath_var='LD_RUN_PATH'
18456 case $cc_basename in
18458 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18459 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18462 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18463 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18469 case $cc_basename in
18471 # NonStop-UX NCC 3.20
18472 # FIXME: insert proper C++ library support
18476 # FIXME: insert proper C++ library support
18483 # FIXME: insert proper C++ library support
18488 # FIXME: insert proper C++ library support
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18494 $as_echo "$ld_shlibs_CXX" >&6; }
18495 test "$ld_shlibs_CXX" = no && can_build_shared=no
18501 ## There is no encapsulation within the following macros, do not change
18502 ## the running order or otherwise move them around unless you know exactly
18503 ## what you are doing...
18504 # Dependencies to place before and after the object being linked:
18505 predep_objects_CXX=
18506 postdep_objects_CXX=
18509 compiler_lib_search_path_CXX=
18511 cat > conftest.$ac_ext <<_LT_EOF
18515 Foo (void) { a = 0; }
18521 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18522 (eval $ac_compile) 2>&5
18524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18525 test $ac_status = 0; }; then
18526 # Parse the compiler output and extract the necessary
18527 # objects, libraries and library flags.
18529 # Sentinel used to keep track of whether or not we are before
18530 # the conftest object file.
18531 pre_test_object_deps_done=no
18533 for p in `eval "$output_verbose_link_cmd"`; do
18537 # Some compilers place space between "-{L,R}" and the path.
18538 # Remove the space.
18539 if test $p = "-L" ||
18540 test $p = "-R"; then
18547 if test "$pre_test_object_deps_done" = no; then
18550 # Internal compiler library paths should come after those
18551 # provided the user. The postdeps already come after the
18552 # user supplied libs so there is no need to process them.
18553 if test -z "$compiler_lib_search_path_CXX"; then
18554 compiler_lib_search_path_CXX="${prev}${p}"
18556 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
18559 # The "-l" case would never come before the object being
18560 # linked, so don't bother handling this case.
18563 if test -z "$postdeps_CXX"; then
18564 postdeps_CXX="${prev}${p}"
18566 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
18572 # This assumes that the test object file only shows up
18573 # once in the compiler output.
18574 if test "$p" = "conftest.$objext"; then
18575 pre_test_object_deps_done=yes
18579 if test "$pre_test_object_deps_done" = no; then
18580 if test -z "$predep_objects_CXX"; then
18581 predep_objects_CXX="$p"
18583 predep_objects_CXX="$predep_objects_CXX $p"
18586 if test -z "$postdep_objects_CXX"; then
18587 postdep_objects_CXX="$p"
18589 postdep_objects_CXX="$postdep_objects_CXX $p"
18594 *) ;; # Ignore the rest.
18602 echo "libtool.m4: error: problem compiling CXX test program"
18605 $RM -f confest.$objext
18607 # PORTME: override above test on systems where it is broken
18610 # Interix 3.5 installs completely hosed .la files for C++, so rather than
18611 # hack all around it, let's just trust "g++" to DTRT.
18612 predep_objects_CXX=
18613 postdep_objects_CXX=
18618 case `$CC -V 2>&1 | sed 5q` in
18622 # The more standards-conforming stlport4 library is
18623 # incompatible with the Cstd library. Avoid specifying
18624 # it if it's in CXXFLAGS. Ignore libCrun as
18625 # -library=stlport4 depends on it.
18626 case " $CXX $CXXFLAGS " in
18627 *" -library=stlport4 "*)
18628 solaris_use_stlport4=yes
18632 if test "$solaris_use_stlport4" != yes; then
18633 postdeps_CXX='-library=Cstd -library=Crun'
18640 case $cc_basename in
18642 # The more standards-conforming stlport4 library is
18643 # incompatible with the Cstd library. Avoid specifying
18644 # it if it's in CXXFLAGS. Ignore libCrun as
18645 # -library=stlport4 depends on it.
18646 case " $CXX $CXXFLAGS " in
18647 *" -library=stlport4 "*)
18648 solaris_use_stlport4=yes
18652 # Adding this requires a known-good setup of shared libraries for
18653 # Sun compiler versions before 5.6, else PIC objects from an old
18654 # archive will be linked into the output, leading to subtle bugs.
18655 if test "$solaris_use_stlport4" != yes; then
18656 postdeps_CXX='-library=Cstd -library=Crun'
18664 case " $postdeps_CXX " in
18665 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
18667 compiler_lib_search_dirs_CXX=
18668 if test -n "${compiler_lib_search_path_CXX}"; then
18669 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
18702 lt_prog_compiler_wl_CXX=
18703 lt_prog_compiler_pic_CXX=
18704 lt_prog_compiler_static_CXX=
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
18707 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18709 # C++ specific cases for pic, static, wl, etc.
18710 if test "$GXX" = yes; then
18711 lt_prog_compiler_wl_CXX='-Wl,'
18712 lt_prog_compiler_static_CXX='-static'
18716 # All AIX code is PIC.
18717 if test "$host_cpu" = ia64; then
18718 # AIX 5 now supports IA64 processor
18719 lt_prog_compiler_static_CXX='-Bstatic'
18726 # see comment about AmigaOS4 .so support
18727 lt_prog_compiler_pic_CXX='-fPIC'
18730 # FIXME: we need at least 68020 code to build shared libraries, but
18731 # adding the `-m68020' flag to GCC prevents building anything better,
18733 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
18738 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
18739 # PIC is the default for these OSes.
18741 mingw* | cygwin* | os2* | pw32* | cegcc*)
18742 # This hack is so that the source file can tell whether it is being
18743 # built for inclusion in a dll (and should export symbols for example).
18744 # Although the cygwin gcc ignores -fPIC, still need this for old-style
18745 # (--disable-auto-import) libraries
18746 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
18748 darwin* | rhapsody*)
18749 # PIC is the default on this platform
18750 # Common symbols not allowed in MH_DYLIB files
18751 lt_prog_compiler_pic_CXX='-fno-common'
18754 # DJGPP does not support shared libraries at all
18755 lt_prog_compiler_pic_CXX=
18758 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
18759 # Instead, we relocate shared libraries at runtime.
18762 if test -d /usr/nec; then
18763 lt_prog_compiler_pic_CXX=-Kconform_pic
18767 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
18768 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
18769 # sets the default TLS model and affects inlining.
18774 lt_prog_compiler_pic_CXX='-fPIC'
18779 # QNX uses GNU C++, but need to define -shared option too, otherwise
18780 # it will coredump.
18781 lt_prog_compiler_pic_CXX='-fPIC -shared'
18784 lt_prog_compiler_pic_CXX='-fPIC'
18790 # All AIX code is PIC.
18791 if test "$host_cpu" = ia64; then
18792 # AIX 5 now supports IA64 processor
18793 lt_prog_compiler_static_CXX='-Bstatic'
18795 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
18799 case $cc_basename in
18801 # Green Hills C++ Compiler
18802 # _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"
18807 case $cc_basename in
18809 lt_prog_compiler_pic_CXX='-KPIC'
18812 # Green Hills C++ Compiler
18813 lt_prog_compiler_pic_CXX='-pic'
18819 freebsd* | dragonfly*)
18820 # FreeBSD uses GNU C++
18822 hpux9* | hpux10* | hpux11*)
18823 case $cc_basename in
18825 lt_prog_compiler_wl_CXX='-Wl,'
18826 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
18827 if test "$host_cpu" != ia64; then
18828 lt_prog_compiler_pic_CXX='+Z'
18832 lt_prog_compiler_wl_CXX='-Wl,'
18833 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
18839 lt_prog_compiler_pic_CXX='+Z'
18848 # This is c89, which is MS Visual C++ (no shared libs)
18849 # Anyone wants to do a port?
18851 irix5* | irix6* | nonstopux*)
18852 case $cc_basename in
18854 lt_prog_compiler_wl_CXX='-Wl,'
18855 lt_prog_compiler_static_CXX='-non_shared'
18856 # CC pic flag -KPIC is the default.
18862 linux* | k*bsd*-gnu | kopensolaris*-gnu)
18863 case $cc_basename in
18866 lt_prog_compiler_wl_CXX='--backend -Wl,'
18867 lt_prog_compiler_pic_CXX='-fPIC'
18870 # old Intel C++ for x86_64 which still supported -KPIC.
18871 lt_prog_compiler_wl_CXX='-Wl,'
18872 lt_prog_compiler_pic_CXX='-KPIC'
18873 lt_prog_compiler_static_CXX='-static'
18876 # Intel C++, used to be incompatible with GCC.
18877 # ICC 10 doesn't accept -KPIC any more.
18878 lt_prog_compiler_wl_CXX='-Wl,'
18879 lt_prog_compiler_pic_CXX='-fPIC'
18880 lt_prog_compiler_static_CXX='-static'
18883 # Portland Group C++ compiler
18884 lt_prog_compiler_wl_CXX='-Wl,'
18885 lt_prog_compiler_pic_CXX='-fpic'
18886 lt_prog_compiler_static_CXX='-Bstatic'
18890 # Make sure the PIC flag is empty. It appears that all Alpha
18891 # Linux and Compaq Tru64 Unix objects are PIC.
18892 lt_prog_compiler_pic_CXX=
18893 lt_prog_compiler_static_CXX='-non_shared'
18896 # IBM XL 8.0 on PPC
18897 lt_prog_compiler_wl_CXX='-Wl,'
18898 lt_prog_compiler_pic_CXX='-qpic'
18899 lt_prog_compiler_static_CXX='-qstaticlink'
18902 case `$CC -V 2>&1 | sed 5q` in
18905 lt_prog_compiler_pic_CXX='-KPIC'
18906 lt_prog_compiler_static_CXX='-Bstatic'
18907 lt_prog_compiler_wl_CXX='-Qoption ld '
18918 case $cc_basename in
18920 lt_prog_compiler_pic_CXX='-W c,exportall'
18926 netbsd* | netbsdelf*-gnu)
18929 # QNX uses GNU C++, but need to define -shared option too, otherwise
18930 # it will coredump.
18931 lt_prog_compiler_pic_CXX='-fPIC -shared'
18933 osf3* | osf4* | osf5*)
18934 case $cc_basename in
18936 lt_prog_compiler_wl_CXX='--backend -Wl,'
18939 # Rational C++ 2.4.1
18940 lt_prog_compiler_pic_CXX='-pic'
18943 # Digital/Compaq C++
18944 lt_prog_compiler_wl_CXX='-Wl,'
18945 # Make sure the PIC flag is empty. It appears that all Alpha
18946 # Linux and Compaq Tru64 Unix objects are PIC.
18947 lt_prog_compiler_pic_CXX=
18948 lt_prog_compiler_static_CXX='-non_shared'
18957 case $cc_basename in
18959 # Sun C++ 4.2, 5.x and Centerline C++
18960 lt_prog_compiler_pic_CXX='-KPIC'
18961 lt_prog_compiler_static_CXX='-Bstatic'
18962 lt_prog_compiler_wl_CXX='-Qoption ld '
18965 # Green Hills C++ Compiler
18966 lt_prog_compiler_pic_CXX='-PIC'
18973 case $cc_basename in
18976 lt_prog_compiler_pic_CXX='-pic'
18977 lt_prog_compiler_static_CXX='-Bstatic'
18981 lt_prog_compiler_pic_CXX='-pic'
18987 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
18988 case $cc_basename in
18990 lt_prog_compiler_wl_CXX='-Wl,'
18991 lt_prog_compiler_pic_CXX='-KPIC'
18992 lt_prog_compiler_static_CXX='-Bstatic'
18997 case $cc_basename in
18999 # NonStop-UX NCC 3.20
19000 lt_prog_compiler_pic_CXX='-KPIC'
19009 lt_prog_compiler_can_build_shared_CXX=no
19015 # For platforms which do not support PIC, -DPIC is meaningless:
19017 lt_prog_compiler_pic_CXX=
19020 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
19023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
19024 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
19029 # Check to make sure the PIC flag actually works.
19031 if test -n "$lt_prog_compiler_pic_CXX"; then
19032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19033 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
19034 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
19035 $as_echo_n "(cached) " >&6
19037 lt_cv_prog_compiler_pic_works_CXX=no
19038 ac_outfile=conftest.$ac_objext
19039 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19040 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19041 # Insert the option either (1) after the last *FLAGS variable, or
19042 # (2) before a word containing "conftest.", or (3) at the end.
19043 # Note that $ac_compile itself does not contain backslashes and begins
19044 # with a dollar sign (not a hyphen), so the echo should work correctly.
19045 # The option is referenced via a variable to avoid confusing sed.
19046 lt_compile=`echo "$ac_compile" | $SED \
19047 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19048 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19049 -e 's:$: $lt_compiler_flag:'`
19050 (eval echo "\"\$as_me:19050: $lt_compile\"" >&5)
19051 (eval "$lt_compile" 2>conftest.err)
19053 cat conftest.err >&5
19054 echo "$as_me:19054: \$? = $ac_status" >&5
19055 if (exit $ac_status) && test -s "$ac_outfile"; then
19056 # The compiler can only warn and ignore the option if not recognized
19057 # So say no if there are warnings other than the usual output.
19058 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
19059 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19060 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19061 lt_cv_prog_compiler_pic_works_CXX=yes
19067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
19068 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
19070 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
19071 case $lt_prog_compiler_pic_CXX in
19073 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
19076 lt_prog_compiler_pic_CXX=
19077 lt_prog_compiler_can_build_shared_CXX=no
19085 # Check to make sure the static flag actually works.
19087 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19089 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
19090 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
19091 $as_echo_n "(cached) " >&6
19093 lt_cv_prog_compiler_static_works_CXX=no
19094 save_LDFLAGS="$LDFLAGS"
19095 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19096 echo "$lt_simple_link_test_code" > conftest.$ac_ext
19097 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19098 # The linker can only warn and ignore the option if not recognized
19099 # So say no if there are warnings
19100 if test -s conftest.err; then
19101 # Append any errors to the config.log.
19102 cat conftest.err 1>&5
19103 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
19104 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19105 if diff conftest.exp conftest.er2 >/dev/null; then
19106 lt_cv_prog_compiler_static_works_CXX=yes
19109 lt_cv_prog_compiler_static_works_CXX=yes
19113 LDFLAGS="$save_LDFLAGS"
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
19117 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
19119 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
19122 lt_prog_compiler_static_CXX=
19128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19129 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19130 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
19131 $as_echo_n "(cached) " >&6
19133 lt_cv_prog_compiler_c_o_CXX=no
19134 $RM -r conftest 2>/dev/null
19138 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19140 lt_compiler_flag="-o out/conftest2.$ac_objext"
19141 # Insert the option either (1) after the last *FLAGS variable, or
19142 # (2) before a word containing "conftest.", or (3) at the end.
19143 # Note that $ac_compile itself does not contain backslashes and begins
19144 # with a dollar sign (not a hyphen), so the echo should work correctly.
19145 lt_compile=`echo "$ac_compile" | $SED \
19146 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19147 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19148 -e 's:$: $lt_compiler_flag:'`
19149 (eval echo "\"\$as_me:19149: $lt_compile\"" >&5)
19150 (eval "$lt_compile" 2>out/conftest.err)
19152 cat out/conftest.err >&5
19153 echo "$as_me:19153: \$? = $ac_status" >&5
19154 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19156 # The compiler can only warn and ignore the option if not recognized
19157 # So say no if there are warnings
19158 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19159 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19160 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19161 lt_cv_prog_compiler_c_o_CXX=yes
19166 # SGI C++ compiler will create directory out/ii_files/ for
19167 # template instantiation
19168 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19169 $RM out/* && rmdir out
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19176 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19181 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19182 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
19183 $as_echo_n "(cached) " >&6
19185 lt_cv_prog_compiler_c_o_CXX=no
19186 $RM -r conftest 2>/dev/null
19190 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19192 lt_compiler_flag="-o out/conftest2.$ac_objext"
19193 # Insert the option either (1) after the last *FLAGS variable, or
19194 # (2) before a word containing "conftest.", or (3) at the end.
19195 # Note that $ac_compile itself does not contain backslashes and begins
19196 # with a dollar sign (not a hyphen), so the echo should work correctly.
19197 lt_compile=`echo "$ac_compile" | $SED \
19198 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19199 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19200 -e 's:$: $lt_compiler_flag:'`
19201 (eval echo "\"\$as_me:19201: $lt_compile\"" >&5)
19202 (eval "$lt_compile" 2>out/conftest.err)
19204 cat out/conftest.err >&5
19205 echo "$as_me:19205: \$? = $ac_status" >&5
19206 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19208 # The compiler can only warn and ignore the option if not recognized
19209 # So say no if there are warnings
19210 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
19211 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19212 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19213 lt_cv_prog_compiler_c_o_CXX=yes
19218 # SGI C++ compiler will create directory out/ii_files/ for
19219 # template instantiation
19220 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19221 $RM out/* && rmdir out
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19228 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19233 hard_links="nottested"
19234 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
19235 # do not overwrite the value of need_locks provided by the user
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
19237 $as_echo_n "checking if we can lock with hard links... " >&6; }
19240 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19242 ln conftest.a conftest.b 2>&5 || hard_links=no
19243 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
19245 $as_echo "$hard_links" >&6; }
19246 if test "$hard_links" = no; then
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19248 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19258 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19260 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19263 # If we're using GNU nm, then we don't want the "-C" option.
19264 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19265 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
19266 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'
19268 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'
19272 export_symbols_cmds_CXX="$ltdll_cmds"
19274 cygwin* | mingw* | cegcc*)
19275 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'
19277 linux* | k*bsd*-gnu)
19278 link_all_deplibs_CXX=no
19281 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19284 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
19287 $as_echo "$ld_shlibs_CXX" >&6; }
19288 test "$ld_shlibs_CXX" = no && can_build_shared=no
19290 with_gnu_ld_CXX=$with_gnu_ld
19298 # Do we need to explicitly link libc?
19300 case "x$archive_cmds_need_lc_CXX" in
19302 # Assume -lc should be added
19303 archive_cmds_need_lc_CXX=yes
19305 if test "$enable_shared" = yes && test "$GCC" = yes; then
19306 case $archive_cmds_CXX in
19308 # FIXME: we may have to deal with multi-command sequences.
19311 # Test whether the compiler implicitly links with -lc since on some
19312 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19313 # to ld, don't add -lc before -lgcc.
19314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
19315 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
19317 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19319 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19320 (eval $ac_compile) 2>&5
19322 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19323 test $ac_status = 0; } 2>conftest.err; then
19326 libobjs=conftest.$ac_objext
19328 wl=$lt_prog_compiler_wl_CXX
19329 pic_flag=$lt_prog_compiler_pic_CXX
19335 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
19336 allow_undefined_flag_CXX=
19337 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
19338 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
19340 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19341 test $ac_status = 0; }
19343 archive_cmds_need_lc_CXX=no
19345 archive_cmds_need_lc_CXX=yes
19347 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
19349 cat conftest.err 1>&5
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
19353 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
19424 $as_echo_n "checking dynamic linker characteristics... " >&6; }
19426 library_names_spec=
19427 libname_spec='lib$name'
19431 postuninstall_cmds=
19435 shlibpath_overrides_runpath=unknown
19437 dynamic_linker="$host_os ld.so"
19438 sys_lib_dlsearch_path_spec="/lib /usr/lib"
19439 need_lib_prefix=unknown
19440 hardcode_into_libs=no
19442 # when you set need_version to no, make sure it does not cause -set_version
19443 # flags to be left without arguments
19444 need_version=unknown
19449 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19450 shlibpath_var=LIBPATH
19452 # AIX 3 has no versioning support, so we append a major version to the name.
19453 soname_spec='${libname}${release}${shared_ext}$major'
19460 hardcode_into_libs=yes
19461 if test "$host_cpu" = ia64; then
19462 # AIX 5 supports IA64
19463 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19464 shlibpath_var=LD_LIBRARY_PATH
19466 # With GCC up to 2.95.x, collect2 would create an import file
19467 # for dependence libraries. The import file would start with
19468 # the line `#! .'. This would cause the generated library to
19469 # depend on `.', always an invalid library. This was fixed in
19470 # development snapshots of GCC prior to 3.0.
19472 aix4 | aix4.[01] | aix4.[01].*)
19473 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19475 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
19478 can_build_shared=no
19482 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19483 # soname into executable. Probably we can add versioning support to
19484 # collect2, so additional links can be useful in future.
19485 if test "$aix_use_runtimelinking" = yes; then
19486 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19487 # instead of lib<name>.a to let people know that these are not
19488 # typical AIX shared libraries.
19489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19491 # We preserve .a as extension for shared libraries through AIX4.2
19492 # and later when we are not doing run time linking.
19493 library_names_spec='${libname}${release}.a $libname.a'
19494 soname_spec='${libname}${release}${shared_ext}$major'
19496 shlibpath_var=LIBPATH
19503 # Since July 2007 AmigaOS4 officially supports .so libraries.
19504 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
19505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19508 library_names_spec='$libname.ixlibrary $libname.a'
19509 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19510 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'
19516 library_names_spec='${libname}${shared_ext}'
19517 dynamic_linker="$host_os ld.so"
19518 shlibpath_var=LIBRARY_PATH
19524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19525 soname_spec='${libname}${release}${shared_ext}$major'
19526 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19527 shlibpath_var=LD_LIBRARY_PATH
19528 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19529 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19530 # the default ld.so.conf also contains /usr/contrib/lib and
19531 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19532 # libtool to hard-code these into programs
19535 cygwin* | mingw* | pw32* | cegcc*)
19536 version_type=windows
19541 case $GCC,$host_os in
19542 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
19543 library_names_spec='$libname.dll.a'
19544 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19545 postinstall_cmds='base_file=`basename \${file}`~
19546 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
19547 dldir=$destdir/`dirname \$dlpath`~
19548 test -d \$dldir || mkdir -p \$dldir~
19549 $install_prog $dir/$dlname \$dldir/$dlname~
19550 chmod a+x \$dldir/$dlname~
19551 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
19552 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
19554 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19555 dlpath=$dir/\$dldll~
19557 shlibpath_overrides_runpath=yes
19561 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19562 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19563 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
19566 # MinGW DLLs use traditional 'lib' prefix
19567 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19568 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
19569 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
19570 # It is most probably a Windows format PATH printed by
19571 # mingw gcc, but we are running on Cygwin. Gcc prints its search
19572 # path with ; separators, and with drive letters. We can handle the
19573 # drive letters (cygwin fileutils understands them), so leave them,
19574 # especially as we might pass files found there to a mingw objdump,
19575 # which wouldn't understand a cygwinified path. Ahh.
19576 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19578 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19582 # pw32 DLLs use 'pw' prefix rather than 'lib'
19583 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19589 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
19592 dynamic_linker='Win32 ld.exe'
19593 # FIXME: first we should search . and the directory the executable is in
19597 darwin* | rhapsody*)
19598 dynamic_linker="$host_os dyld"
19599 version_type=darwin
19602 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
19603 soname_spec='${libname}${release}${major}$shared_ext'
19604 shlibpath_overrides_runpath=yes
19605 shlibpath_var=DYLD_LIBRARY_PATH
19606 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
19608 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
19615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
19616 soname_spec='${libname}${release}${shared_ext}$major'
19617 shlibpath_var=LD_LIBRARY_PATH
19624 freebsd* | dragonfly*)
19625 # DragonFly does not have aout. When/if they implement a new
19626 # versioning mechanism, adjust this.
19627 if test -x /usr/bin/objformat; then
19628 objformat=`/usr/bin/objformat`
19631 freebsd[123]*) objformat=aout ;;
19632 *) objformat=elf ;;
19635 version_type=freebsd-$objformat
19636 case $version_type in
19638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19643 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
19647 shlibpath_var=LD_LIBRARY_PATH
19650 shlibpath_overrides_runpath=yes
19652 freebsd3.[01]* | freebsdelf3.[01]*)
19653 shlibpath_overrides_runpath=yes
19654 hardcode_into_libs=yes
19656 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
19657 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
19658 shlibpath_overrides_runpath=no
19659 hardcode_into_libs=yes
19661 *) # from 4.6 on, and DragonFly
19662 shlibpath_overrides_runpath=yes
19663 hardcode_into_libs=yes
19672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19673 soname_spec='${libname}${release}${shared_ext}$major'
19674 shlibpath_var=LD_LIBRARY_PATH
19675 hardcode_into_libs=yes
19678 hpux9* | hpux10* | hpux11*)
19679 # Give a soname corresponding to the major version so that dld.sl refuses to
19680 # link against other versions.
19687 hardcode_into_libs=yes
19688 dynamic_linker="$host_os dld.so"
19689 shlibpath_var=LD_LIBRARY_PATH
19690 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19692 soname_spec='${libname}${release}${shared_ext}$major'
19693 if test "X$HPUX_IA64_MODE" = X32; then
19694 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
19696 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
19698 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19702 hardcode_into_libs=yes
19703 dynamic_linker="$host_os dld.sl"
19704 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
19705 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
19706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19707 soname_spec='${libname}${release}${shared_ext}$major'
19708 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
19709 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
19713 dynamic_linker="$host_os dld.sl"
19714 shlibpath_var=SHLIB_PATH
19715 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
19716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19717 soname_spec='${libname}${release}${shared_ext}$major'
19720 # HP-UX runs *really* slowly unless shared libraries are mode 555.
19721 postinstall_cmds='chmod 555 $lib'
19728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19729 soname_spec='${libname}${release}${shared_ext}$major'
19730 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
19731 shlibpath_var=LD_LIBRARY_PATH
19732 shlibpath_overrides_runpath=no
19733 hardcode_into_libs=yes
19736 irix5* | irix6* | nonstopux*)
19738 nonstopux*) version_type=nonstopux ;;
19740 if test "$lt_cv_prog_gnu_ld" = yes; then
19748 soname_spec='${libname}${release}${shared_ext}$major'
19749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
19751 irix5* | nonstopux*)
19752 libsuff= shlibsuff=
19755 case $LD in # libtool.m4 will add one of these switches to LD
19756 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
19757 libsuff= shlibsuff= libmagic=32-bit;;
19758 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
19759 libsuff=32 shlibsuff=N32 libmagic=N32;;
19760 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
19761 libsuff=64 shlibsuff=64 libmagic=64-bit;;
19762 *) libsuff= shlibsuff= libmagic=never-match;;
19766 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
19767 shlibpath_overrides_runpath=no
19768 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
19769 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
19770 hardcode_into_libs=yes
19773 # No shared lib support for Linux oldld, aout, or coff.
19774 linux*oldld* | linux*aout* | linux*coff*)
19778 # This must be Linux ELF.
19779 linux* | k*bsd*-gnu | kopensolaris*-gnu)
19783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19784 soname_spec='${libname}${release}${shared_ext}$major'
19785 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
19786 shlibpath_var=LD_LIBRARY_PATH
19787 shlibpath_overrides_runpath=no
19788 # Some binutils ld are patched to set DT_RUNPATH
19789 save_LDFLAGS=$LDFLAGS
19790 save_libdir=$libdir
19791 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
19792 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
19793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19794 /* end confdefs.h. */
19804 if ac_fn_cxx_try_link "$LINENO"; then :
19805 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
19806 shlibpath_overrides_runpath=yes
19809 rm -f core conftest.err conftest.$ac_objext \
19810 conftest$ac_exeext conftest.$ac_ext
19811 LDFLAGS=$save_LDFLAGS
19812 libdir=$save_libdir
19814 # This implies no fast_install, which is unacceptable.
19815 # Some rework will be needed to allow for fast_install
19816 # before this can be enabled.
19817 hardcode_into_libs=yes
19819 # Append ld.so.conf contents to the search path
19820 if test -f /etc/ld.so.conf; then
19821 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' ' '`
19822 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
19825 # We used to test for /lib/ld.so.1 and disable shared libraries on
19826 # powerpc, because MkLinux only supported shared libraries with the
19827 # GNU dynamic linker. Since this was broken with cross compilers,
19828 # most powerpc-linux boxes support dynamic linking these days and
19829 # people can always --disable-shared, the test was removed, and we
19830 # assume the GNU/Linux dynamic linker is in use.
19831 dynamic_linker='GNU/Linux ld.so'
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 shlibpath_var=LD_LIBRARY_PATH
19841 shlibpath_overrides_runpath=no
19842 hardcode_into_libs=yes
19843 dynamic_linker='NetBSD ld.elf_so'
19850 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
19851 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19852 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19853 dynamic_linker='NetBSD (a.out) ld.so'
19855 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
19856 soname_spec='${libname}${release}${shared_ext}$major'
19857 dynamic_linker='NetBSD ld.elf_so'
19859 shlibpath_var=LD_LIBRARY_PATH
19860 shlibpath_overrides_runpath=yes
19861 hardcode_into_libs=yes
19866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19867 shlibpath_var=LD_LIBRARY_PATH
19868 shlibpath_overrides_runpath=yes
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 shlibpath_var=LD_LIBRARY_PATH
19878 shlibpath_overrides_runpath=no
19879 hardcode_into_libs=yes
19880 dynamic_linker='ldqnx.so'
19885 sys_lib_dlsearch_path_spec="/usr/lib"
19887 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
19889 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
19890 *) need_version=no ;;
19892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19893 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
19894 shlibpath_var=LD_LIBRARY_PATH
19895 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
19897 openbsd2.[89] | openbsd2.[89].*)
19898 shlibpath_overrides_runpath=no
19901 shlibpath_overrides_runpath=yes
19905 shlibpath_overrides_runpath=yes
19910 libname_spec='$name'
19913 library_names_spec='$libname${shared_ext} $libname.a'
19914 dynamic_linker='OS/2 ld.exe'
19915 shlibpath_var=LIBPATH
19918 osf3* | osf4* | osf5*)
19922 soname_spec='${libname}${release}${shared_ext}$major'
19923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19924 shlibpath_var=LD_LIBRARY_PATH
19925 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
19926 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
19937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19938 soname_spec='${libname}${release}${shared_ext}$major'
19939 shlibpath_var=LD_LIBRARY_PATH
19940 shlibpath_overrides_runpath=yes
19941 hardcode_into_libs=yes
19942 # ldd complains unless libraries are executable
19943 postinstall_cmds='chmod +x $lib'
19948 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
19949 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
19950 shlibpath_var=LD_LIBRARY_PATH
19951 shlibpath_overrides_runpath=yes
19952 if test "$with_gnu_ld" = yes; then
19960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19961 soname_spec='${libname}${release}${shared_ext}$major'
19962 shlibpath_var=LD_LIBRARY_PATH
19963 case $host_vendor in
19965 shlibpath_overrides_runpath=no
19967 runpath_var=LD_RUN_PATH
19975 shlibpath_overrides_runpath=no
19976 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
19982 if test -d /usr/nec ;then
19984 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
19985 soname_spec='$libname${shared_ext}.$major'
19986 shlibpath_var=LD_LIBRARY_PATH
19990 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
19991 version_type=freebsd-elf
19994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
19995 soname_spec='${libname}${release}${shared_ext}$major'
19996 shlibpath_var=LD_LIBRARY_PATH
19997 shlibpath_overrides_runpath=yes
19998 hardcode_into_libs=yes
19999 if test "$with_gnu_ld" = yes; then
20000 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20002 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20005 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20009 sys_lib_dlsearch_path_spec='/usr/lib'
20013 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
20017 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20018 shlibpath_var=LD_LIBRARY_PATH
20019 shlibpath_overrides_runpath=no
20020 hardcode_into_libs=yes
20025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20026 soname_spec='${libname}${release}${shared_ext}$major'
20027 shlibpath_var=LD_LIBRARY_PATH
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
20035 $as_echo "$dynamic_linker" >&6; }
20036 test "$dynamic_linker" = no && can_build_shared=no
20038 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20039 if test "$GCC" = yes; then
20040 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20043 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20044 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20046 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20047 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
20086 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20087 hardcode_action_CXX=
20088 if test -n "$hardcode_libdir_flag_spec_CXX" ||
20089 test -n "$runpath_var_CXX" ||
20090 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20092 # We can hardcode non-existent directories.
20093 if test "$hardcode_direct_CXX" != no &&
20094 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20095 # have to relink, otherwise we might link with an installed library
20096 # when we should be linking with a yet-to-be-installed one
20097 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20098 test "$hardcode_minus_L_CXX" != no; then
20099 # Linking always hardcodes the temporary library directory.
20100 hardcode_action_CXX=relink
20102 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20103 hardcode_action_CXX=immediate
20106 # We cannot hardcode anything, or else we can only hardcode existing
20108 hardcode_action_CXX=unsupported
20110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
20111 $as_echo "$hardcode_action_CXX" >&6; }
20113 if test "$hardcode_action_CXX" = relink ||
20114 test "$inherit_rpath_CXX" = yes; then
20115 # Fast installation is not supported
20116 enable_fast_install=no
20117 elif test "$shlibpath_overrides_runpath" = yes ||
20118 test "$enable_shared" = no; then
20119 # Fast installation is not necessary
20120 enable_fast_install=needless
20129 fi # test -n "$compiler"
20135 with_gnu_ld=$lt_save_with_gnu_ld
20136 lt_cv_path_LDCXX=$lt_cv_path_LD
20137 lt_cv_path_LD=$lt_save_path_LD
20138 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
20139 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
20140 fi # test "$_lt_caught_CXX_error" != yes
20143 ac_cpp='$CPP $CPPFLAGS'
20144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20150 ac_cpp='$CXXCPP $CPPFLAGS'
20151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20156 /* end confdefs.h. */
20157 class Foo { int bar; };
20166 if ac_fn_cxx_try_compile "$LINENO"; then :
20171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20173 ac_cpp='$CPP $CPPFLAGS'
20174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20178 { $as_echo "$as_me:${as_lineno-$LINENO}: working c++ compiler found: $working_cxx" >&5
20179 $as_echo "$as_me: working c++ compiler found: $working_cxx" >&6;}
20180 if test "x$working_cxx" = "xyes"; then
20189 # Extract the first word of "valgrind", so it can be a program name with args.
20190 set dummy valgrind; ac_word=$2
20191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20192 $as_echo_n "checking for $ac_word... " >&6; }
20193 if test "${ac_cv_path_VALGRIND_PATH+set}" = set; then :
20194 $as_echo_n "(cached) " >&6
20196 case $VALGRIND_PATH in
20198 ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
20201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20202 for as_dir in $PATH
20205 test -z "$as_dir" && as_dir=.
20206 for ac_exec_ext in '' $ac_executable_extensions; do
20207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20208 ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
20209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20216 test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
20220 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
20221 if test -n "$VALGRIND_PATH"; then
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
20223 $as_echo "$VALGRIND_PATH" >&6; }
20225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20226 $as_echo "no" >&6; }
20230 if test ! "x$VALGRIND_PATH" = "xno"; then
20231 HAVE_VALGRIND_TRUE=
20232 HAVE_VALGRIND_FALSE='#'
20234 HAVE_VALGRIND_TRUE='#'
20235 HAVE_VALGRIND_FALSE=
20242 # Check whether --enable-introspection was given.
20243 if test "${enable_introspection+set}" = set; then :
20244 enableval=$enable_introspection;
20246 enable_introspection=auto
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
20251 $as_echo_n "checking for gobject-introspection... " >&6; }
20253 case $enable_introspection in #(
20255 found_introspection="no (disabled, use --enable-introspection to enable)"
20258 if test -n "$PKG_CONFIG" && \
20259 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
20260 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
20262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20263 test $ac_status = 0; }; then
20266 as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
20268 if test -n "$PKG_CONFIG" && \
20269 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.12\""; } >&5
20270 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.12") 2>&5
20272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20273 test $ac_status = 0; }; then
20274 found_introspection=yes
20276 as_fn_error $? "You need to have gobject-introspection >= 0.9.12 installed to build GStreamer Base Plug-ins" "$LINENO" 5
20280 if test -n "$PKG_CONFIG" && \
20281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.12\""; } >&5
20282 ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.12") 2>&5
20284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20285 test $ac_status = 0; }; then
20286 found_introspection=yes
20288 found_introspection=no
20292 as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
20295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
20296 $as_echo "$found_introspection" >&6; }
20298 INTROSPECTION_SCANNER=
20299 INTROSPECTION_COMPILER=
20300 INTROSPECTION_GENERATE=
20301 INTROSPECTION_GIRDIR=
20302 INTROSPECTION_TYPELIBDIR=
20303 if test "x$found_introspection" = "xyes"; then
20304 INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
20305 INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
20306 INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
20307 INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
20308 INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
20316 if test "x$found_introspection" = "xyes"; then
20317 HAVE_INTROSPECTION_TRUE=
20318 HAVE_INTROSPECTION_FALSE='#'
20320 HAVE_INTROSPECTION_TRUE='#'
20321 HAVE_INTROSPECTION_FALSE=
20329 # Check whether --with-html-dir was given.
20330 if test "${with_html_dir+set}" = set; then :
20331 withval=$with_html_dir;
20333 with_html_dir='${datadir}/gtk-doc/html'
20336 HTML_DIR="$with_html_dir"
20339 # Check whether --enable-gtk-doc was given.
20340 if test "${enable_gtk_doc+set}" = set; then :
20341 enableval=$enable_gtk_doc;
20347 if test x$enable_gtk_doc = xyes; then
20348 if test -n "$PKG_CONFIG" && \
20349 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5
20350 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5
20352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20353 test $ac_status = 0; }; then
20356 as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build gtk-doc" "$LINENO" 5
20358 if test -z "$SED"; then
20359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
20360 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
20361 if test "${ac_cv_path_SED+set}" = set; then :
20362 $as_echo_n "(cached) " >&6
20364 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
20365 for ac_i in 1 2 3 4 5 6 7; do
20366 ac_script="$ac_script$as_nl$ac_script"
20368 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
20369 { ac_script=; unset ac_script;}
20370 if test -z "$SED"; then
20371 ac_path_SED_found=false
20372 # Loop through the user's path and test for each of PROGNAME-LIST
20373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20374 for as_dir in $PATH
20377 test -z "$as_dir" && as_dir=.
20378 for ac_prog in sed gsed; do
20379 for ac_exec_ext in '' $ac_executable_extensions; do
20380 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
20381 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
20382 # Check for GNU ac_path_SED and select it if it is found.
20383 # Check for GNU $ac_path_SED
20384 case `"$ac_path_SED" --version 2>&1` in
20386 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
20389 $as_echo_n 0123456789 >"conftest.in"
20392 cat "conftest.in" "conftest.in" >"conftest.tmp"
20393 mv "conftest.tmp" "conftest.in"
20394 cp "conftest.in" "conftest.nl"
20395 $as_echo '' >> "conftest.nl"
20396 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
20397 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
20398 as_fn_arith $ac_count + 1 && ac_count=$as_val
20399 if test $ac_count -gt ${ac_path_SED_max-0}; then
20400 # Best one so far, save it but keep looking for a better one
20401 ac_cv_path_SED="$ac_path_SED"
20402 ac_path_SED_max=$ac_count
20404 # 10*(2^10) chars as input seems more than enough
20405 test $ac_count -gt 10 && break
20407 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
20410 $ac_path_SED_found && break 3
20415 if test -z "$ac_cv_path_SED"; then
20416 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
20419 ac_cv_path_SED=$SED
20423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
20424 $as_echo "$ac_cv_path_SED" >&6; }
20425 SED="$ac_cv_path_SED"
20431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
20432 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
20433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
20434 $as_echo "$enable_gtk_doc" >&6; }
20436 for ac_prog in gtkdoc-check
20438 # Extract the first word of "$ac_prog", so it can be a program name with args.
20439 set dummy $ac_prog; ac_word=$2
20440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20441 $as_echo_n "checking for $ac_word... " >&6; }
20442 if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
20443 $as_echo_n "(cached) " >&6
20445 case $GTKDOC_CHECK in
20447 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
20450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20451 for as_dir in $PATH
20454 test -z "$as_dir" && as_dir=.
20455 for ac_exec_ext in '' $ac_executable_extensions; do
20456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20457 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
20458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20468 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
20469 if test -n "$GTKDOC_CHECK"; then
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
20471 $as_echo "$GTKDOC_CHECK" >&6; }
20473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20474 $as_echo "no" >&6; }
20478 test -n "$GTKDOC_CHECK" && break
20482 if test x$enable_gtk_doc = xyes; then
20483 ENABLE_GTK_DOC_TRUE=
20484 ENABLE_GTK_DOC_FALSE='#'
20486 ENABLE_GTK_DOC_TRUE='#'
20487 ENABLE_GTK_DOC_FALSE=
20490 if test -n "$LIBTOOL"; then
20491 GTK_DOC_USE_LIBTOOL_TRUE=
20492 GTK_DOC_USE_LIBTOOL_FALSE='#'
20494 GTK_DOC_USE_LIBTOOL_TRUE='#'
20495 GTK_DOC_USE_LIBTOOL_FALSE=
20501 PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
20502 python1.6 python1.5"
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5
20505 $as_echo "$as_me: Looking for Python version >= 2.1" >&6;}
20509 # split string by '.' and convert to numeric
20510 minver_info = map(string.atoi, string.split(minver, '.'))
20511 # we can now do comparisons on the two lists:
20512 if sys.version_info >= tuple(minver_info):
20518 for python_candidate in $PYTHON_CANDIDATES; do
20520 # Extract the first word of "$python_candidate", so it can be a program name with args.
20521 set dummy $python_candidate; ac_word=$2
20522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20523 $as_echo_n "checking for $ac_word... " >&6; }
20524 if test "${ac_cv_path_PYTHON+set}" = set; then :
20525 $as_echo_n "(cached) " >&6
20529 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
20532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20533 for as_dir in $PATH
20536 test -z "$as_dir" && as_dir=.
20537 for ac_exec_ext in '' $ac_executable_extensions; do
20538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20539 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
20540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20550 PYTHON=$ac_cv_path_PYTHON
20551 if test -n "$PYTHON"; then
20552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
20553 $as_echo "$PYTHON" >&6; }
20555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20556 $as_echo "no" >&6; }
20559 1> /dev/null 2> /dev/null
20561 if test "x$PYTHON" = "x"; then continue; fi
20563 if $PYTHON -c "$prog" 1>&5 2>&5; then
20564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5
20565 $as_echo_n "checking \"$PYTHON\":... " >&6; }
20566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
20567 $as_echo "okay" >&6; }
20571 unset ac_cv_path_PYTHON
20576 if test "$python_good" != "true"; then
20577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5
20578 $as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
20582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5
20583 $as_echo_n "checking local Python configuration... " >&6; }
20587 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
20592 PYTHON_PREFIX='${prefix}'
20595 PYTHON_EXEC_PREFIX='${exec_prefix}'
20599 PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
20605 pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
20609 pkgpythondir=\${pythondir}/$PACKAGE
20613 pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
20617 pkgpyexecdir=\${pyexecdir}/$PACKAGE
20619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5
20620 $as_echo "looks good" >&6; }
20626 build_plugin_docs=no
20627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5
20628 $as_echo_n "checking whether to build plugin documentation... " >&6; }
20629 if test x$enable_gtk_doc = xyes; then
20630 build_plugin_docs=yes
20631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20632 $as_echo "yes" >&6; }
20634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5
20635 $as_echo "no (gtk-doc disabled or not available)" >&6; }
20638 if test x$build_plugin_docs = xyes; then
20639 ENABLE_PLUGIN_DOCS_TRUE=
20640 ENABLE_PLUGIN_DOCS_FALSE='#'
20642 ENABLE_PLUGIN_DOCS_TRUE='#'
20643 ENABLE_PLUGIN_DOCS_FALSE=
20651 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
20652 # These system don't have libm, or don't need it
20655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
20656 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
20657 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
20658 $as_echo_n "(cached) " >&6
20660 ac_check_lib_save_LIBS=$LIBS
20662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20663 /* end confdefs.h. */
20665 /* Override any GCC internal prototype to avoid an error.
20666 Use char because int might match the return type of a GCC
20667 builtin and then its argument prototype would still apply. */
20671 char _mwvalidcheckl ();
20675 return _mwvalidcheckl ();
20680 if ac_fn_c_try_link "$LINENO"; then :
20681 ac_cv_lib_mw__mwvalidcheckl=yes
20683 ac_cv_lib_mw__mwvalidcheckl=no
20685 rm -f core conftest.err conftest.$ac_objext \
20686 conftest$ac_exeext conftest.$ac_ext
20687 LIBS=$ac_check_lib_save_LIBS
20689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
20690 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
20691 if test "x$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then :
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
20696 $as_echo_n "checking for cos in -lm... " >&6; }
20697 if test "${ac_cv_lib_m_cos+set}" = set; then :
20698 $as_echo_n "(cached) " >&6
20700 ac_check_lib_save_LIBS=$LIBS
20702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20703 /* end confdefs.h. */
20705 /* Override any GCC internal prototype to avoid an error.
20706 Use char because int might match the return type of a GCC
20707 builtin and then its argument prototype would still apply. */
20720 if ac_fn_c_try_link "$LINENO"; then :
20721 ac_cv_lib_m_cos=yes
20725 rm -f core conftest.err conftest.$ac_objext \
20726 conftest$ac_exeext conftest.$ac_ext
20727 LIBS=$ac_check_lib_save_LIBS
20729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
20730 $as_echo "$ac_cv_lib_m_cos" >&6; }
20731 if test "x$ac_cv_lib_m_cos" = x""yes; then :
20737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
20738 $as_echo_n "checking for cos in -lm... " >&6; }
20739 if test "${ac_cv_lib_m_cos+set}" = set; then :
20740 $as_echo_n "(cached) " >&6
20742 ac_check_lib_save_LIBS=$LIBS
20744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20745 /* end confdefs.h. */
20747 /* Override any GCC internal prototype to avoid an error.
20748 Use char because int might match the return type of a GCC
20749 builtin and then its argument prototype would still apply. */
20762 if ac_fn_c_try_link "$LINENO"; then :
20763 ac_cv_lib_m_cos=yes
20767 rm -f core conftest.err conftest.$ac_objext \
20768 conftest$ac_exeext conftest.$ac_ext
20769 LIBS=$ac_check_lib_save_LIBS
20771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
20772 $as_echo "$ac_cv_lib_m_cos" >&6; }
20773 if test "x$ac_cv_lib_m_cos" = x""yes; then :
20784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
20785 $as_echo_n "checking for ANSI C header files... " >&6; }
20786 if test "${ac_cv_header_stdc+set}" = set; then :
20787 $as_echo_n "(cached) " >&6
20789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20790 /* end confdefs.h. */
20791 #include <stdlib.h>
20792 #include <stdarg.h>
20793 #include <string.h>
20804 if ac_fn_c_try_compile "$LINENO"; then :
20805 ac_cv_header_stdc=yes
20807 ac_cv_header_stdc=no
20809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20811 if test $ac_cv_header_stdc = yes; then
20812 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20814 /* end confdefs.h. */
20815 #include <string.h>
20818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20819 $EGREP "memchr" >/dev/null 2>&1; then :
20822 ac_cv_header_stdc=no
20828 if test $ac_cv_header_stdc = yes; then
20829 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20831 /* end confdefs.h. */
20832 #include <stdlib.h>
20835 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20836 $EGREP "free" >/dev/null 2>&1; then :
20839 ac_cv_header_stdc=no
20845 if test $ac_cv_header_stdc = yes; then
20846 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20847 if test "$cross_compiling" = yes; then :
20850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20851 /* end confdefs.h. */
20853 #include <stdlib.h>
20854 #if ((' ' & 0x0FF) == 0x020)
20855 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20856 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20858 # define ISLOWER(c) \
20859 (('a' <= (c) && (c) <= 'i') \
20860 || ('j' <= (c) && (c) <= 'r') \
20861 || ('s' <= (c) && (c) <= 'z'))
20862 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20865 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20870 for (i = 0; i < 256; i++)
20871 if (XOR (islower (i), ISLOWER (i))
20872 || toupper (i) != TOUPPER (i))
20877 if ac_fn_c_try_run "$LINENO"; then :
20880 ac_cv_header_stdc=no
20882 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20883 conftest.$ac_objext conftest.beam conftest.$ac_ext
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20889 $as_echo "$ac_cv_header_stdc" >&6; }
20890 if test $ac_cv_header_stdc = yes; then
20892 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20897 for ac_header in malloc.h
20899 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
20900 if test "x$ac_cv_header_malloc_h" = x""yes; then :
20901 cat >>confdefs.h <<_ACEOF
20902 #define HAVE_MALLOC_H 1
20910 ac_cppflags_save="$CPPFLAGS"
20911 CPPFLAGS="`$PKG_CONFIG --cflags libxml-2.0`"
20912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20913 /* end confdefs.h. */
20915 #include <libxml/HTMLparser.h>
20921 #ifndef LIBXML_HTML_ENABLED
20922 #error libxml2 has no HTML support
20923 #endif /* LIBXML_HTML_ENABLED */
20929 if ac_fn_c_try_compile "$LINENO"; then :
20930 HAVE_LIBXML_HTML="yes"
20932 HAVE_LIBXML_HTML="no"
20934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20935 CPPFLAGS="$ac_cppflags_save"
20936 if test "x$HAVE_LIBXML_HTML" = "xyes"; then
20937 HAVE_LIBXML_HTML_TRUE=
20938 HAVE_LIBXML_HTML_FALSE='#'
20940 HAVE_LIBXML_HTML_TRUE='#'
20941 HAVE_LIBXML_HTML_FALSE=
20945 for ac_header in sys/socket.h
20947 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
20948 if test "x$ac_cv_header_sys_socket_h" = x""yes; then :
20949 cat >>confdefs.h <<_ACEOF
20950 #define HAVE_SYS_SOCKET_H 1
20952 HAVE_SYS_SOCKET_H="yes"
20954 HAVE_SYS_SOCKET_H="no"
20959 if test "x$HAVE_SYS_SOCKET_H" = "xyes"; then
20960 HAVE_SYS_SOCKET_H_TRUE=
20961 HAVE_SYS_SOCKET_H_FALSE='#'
20963 HAVE_SYS_SOCKET_H_TRUE='#'
20964 HAVE_SYS_SOCKET_H_FALSE=
20968 for ac_header in winsock2.h
20970 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
20971 if test "x$ac_cv_header_winsock2_h" = x""yes; then :
20972 cat >>confdefs.h <<_ACEOF
20973 #define HAVE_WINSOCK2_H 1
20975 HAVE_WINSOCK2_H=yes
20980 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
20981 WIN32_LIBS="-lws2_32"
20986 ac_fn_c_check_func "$LINENO" "hstrerror" "ac_cv_func_hstrerror"
20987 if test "x$ac_cv_func_hstrerror" = x""yes; then :
20990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hstrerror in -lresolv" >&5
20991 $as_echo_n "checking for hstrerror in -lresolv... " >&6; }
20992 if test "${ac_cv_lib_resolv_hstrerror+set}" = set; then :
20993 $as_echo_n "(cached) " >&6
20995 ac_check_lib_save_LIBS=$LIBS
20996 LIBS="-lresolv $LIBS"
20997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20998 /* end confdefs.h. */
21000 /* Override any GCC internal prototype to avoid an error.
21001 Use char because int might match the return type of a GCC
21002 builtin and then its argument prototype would still apply. */
21010 return hstrerror ();
21015 if ac_fn_c_try_link "$LINENO"; then :
21016 ac_cv_lib_resolv_hstrerror=yes
21018 ac_cv_lib_resolv_hstrerror=no
21020 rm -f core conftest.err conftest.$ac_objext \
21021 conftest$ac_exeext conftest.$ac_ext
21022 LIBS=$ac_check_lib_save_LIBS
21024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_hstrerror" >&5
21025 $as_echo "$ac_cv_lib_resolv_hstrerror" >&6; }
21026 if test "x$ac_cv_lib_resolv_hstrerror" = x""yes; then :
21027 cat >>confdefs.h <<_ACEOF
21028 #define HAVE_LIBRESOLV 1
21031 LIBS="-lresolv $LIBS"
21035 $as_echo "#define NO_HSTRERROR 1" >>confdefs.h
21041 HSTRERROR_LIBS=$LIBS
21045 for ac_header in process.h sys/types.h sys/wait.h sys/stat.h
21047 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21048 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21049 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21050 cat >>confdefs.h <<_ACEOF
21051 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21059 # ------ AX CREATE STDINT H -------------------------------------
21060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
21061 $as_echo_n "checking for stdint types... " >&6; }
21062 ac_stdint_h=`echo _stdint.h`
21063 # try to shortcircuit - if the default include path of the compiler
21064 # can find a "stdint.h" header then we assume that all compilers can.
21065 if test "${ac_cv_header_stdint_t+set}" = set; then :
21066 $as_echo_n "(cached) " >&6
21069 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
21070 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
21071 old_CFLAGS="$CFLAGS" ; CFLAGS=""
21072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21073 /* end confdefs.h. */
21074 #include <stdint.h>
21078 int_least32_t v = 0;
21083 if ac_fn_c_try_compile "$LINENO"; then :
21084 ac_cv_stdint_result="(assuming C99 compatible system)"
21085 ac_cv_header_stdint_t="stdint.h";
21087 ac_cv_header_stdint_t=""
21089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21090 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
21092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21093 /* end confdefs.h. */
21094 #include <stdint.h>
21098 int_least32_t v = 0;
21103 if ac_fn_c_try_compile "$LINENO"; then :
21104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
21105 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
21107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21109 CXXFLAGS="$old_CXXFLAGS"
21110 CPPFLAGS="$old_CPPFLAGS"
21111 CFLAGS="$old_CFLAGS"
21115 v="... $ac_cv_header_stdint_h"
21116 if test "$ac_stdint_h" = "stdint.h" ; then
21117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
21118 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
21119 elif test "$ac_stdint_h" = "inttypes.h" ; then
21120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
21121 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
21122 elif test "_$ac_cv_header_stdint_t" = "_" ; then
21123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
21124 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
21126 ac_cv_header_stdint="$ac_cv_header_stdint_t"
21127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
21128 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
21131 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
21134 inttype_headers=`echo | sed -e 's/,/ /g'`
21136 ac_cv_stdint_result="(no helpful system typedefs seen)"
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
21139 $as_echo_n "checking for stdint uintptr_t... " >&6; }
21140 if test "${ac_cv_header_stdint_x+set}" = set; then :
21141 $as_echo_n "(cached) " >&6
21144 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
21145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21146 $as_echo "(..)" >&6; }
21147 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers
21149 unset ac_cv_type_uintptr_t
21150 unset ac_cv_type_uint64_t
21151 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
21153 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
21154 ac_cv_header_stdint_x=$i
21159 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
21161 if test "x$ac_cv_type_uint64_t" = x""yes; then :
21167 ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
21170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
21171 $as_echo_n "checking for stdint uintptr_t... " >&6; }
21174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
21175 $as_echo "$ac_cv_header_stdint_x" >&6; }
21178 if test "_$ac_cv_header_stdint_x" = "_" ; then
21180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
21181 $as_echo_n "checking for stdint uint32_t... " >&6; }
21182 if test "${ac_cv_header_stdint_o+set}" = set; then :
21183 $as_echo_n "(cached) " >&6
21186 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
21187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21188 $as_echo "(..)" >&6; }
21189 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers
21191 unset ac_cv_type_uint32_t
21192 unset ac_cv_type_uint64_t
21193 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
21195 if test "x$ac_cv_type_uint32_t" = x""yes; then :
21196 ac_cv_header_stdint_o=$i
21201 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
21203 if test "x$ac_cv_type_uint64_t" = x""yes; then :
21209 ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
21213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
21214 $as_echo_n "checking for stdint uint32_t... " >&6; }
21217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
21218 $as_echo "$ac_cv_header_stdint_o" >&6; }
21222 if test "_$ac_cv_header_stdint_x" = "_" ; then
21223 if test "_$ac_cv_header_stdint_o" = "_" ; then
21225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
21226 $as_echo_n "checking for stdint u_int32_t... " >&6; }
21227 if test "${ac_cv_header_stdint_u+set}" = set; then :
21228 $as_echo_n "(cached) " >&6
21231 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
21232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21233 $as_echo "(..)" >&6; }
21234 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
21235 unset ac_cv_type_u_int32_t
21236 unset ac_cv_type_u_int64_t
21237 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
21239 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
21240 ac_cv_header_stdint_u=$i
21245 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
21247 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
21253 ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
21257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
21258 $as_echo_n "checking for stdint u_int32_t... " >&6; }
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
21262 $as_echo "$ac_cv_header_stdint_u" >&6; }
21266 if test "_$ac_cv_header_stdint_x" = "_" ; then
21267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
21268 $as_echo_n "checking for stdint datatype model... " >&6; }
21269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21270 $as_echo "(..)" >&6; }
21272 # The cast to long int works around a bug in the HP C Compiler
21273 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21274 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21275 # This bug is HP SR number 8606223364.
21276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
21277 $as_echo_n "checking size of char... " >&6; }
21278 if test "${ac_cv_sizeof_char+set}" = set; then :
21279 $as_echo_n "(cached) " >&6
21281 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
21284 if test "$ac_cv_type_char" = yes; then
21285 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21287 as_fn_error 77 "cannot compute sizeof (char)
21288 See \`config.log' for more details" "$LINENO" 5 ; }
21290 ac_cv_sizeof_char=0
21295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
21296 $as_echo "$ac_cv_sizeof_char" >&6; }
21300 cat >>confdefs.h <<_ACEOF
21301 #define SIZEOF_CHAR $ac_cv_sizeof_char
21305 # The cast to long int works around a bug in the HP C Compiler
21306 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21307 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21308 # This bug is HP SR number 8606223364.
21309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
21310 $as_echo_n "checking size of short... " >&6; }
21311 if test "${ac_cv_sizeof_short+set}" = set; then :
21312 $as_echo_n "(cached) " >&6
21314 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
21317 if test "$ac_cv_type_short" = yes; then
21318 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21319 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21320 as_fn_error 77 "cannot compute sizeof (short)
21321 See \`config.log' for more details" "$LINENO" 5 ; }
21323 ac_cv_sizeof_short=0
21328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
21329 $as_echo "$ac_cv_sizeof_short" >&6; }
21333 cat >>confdefs.h <<_ACEOF
21334 #define SIZEOF_SHORT $ac_cv_sizeof_short
21338 # The cast to long int works around a bug in the HP C Compiler
21339 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21340 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21341 # This bug is HP SR number 8606223364.
21342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
21343 $as_echo_n "checking size of int... " >&6; }
21344 if test "${ac_cv_sizeof_int+set}" = set; then :
21345 $as_echo_n "(cached) " >&6
21347 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
21350 if test "$ac_cv_type_int" = yes; then
21351 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21353 as_fn_error 77 "cannot compute sizeof (int)
21354 See \`config.log' for more details" "$LINENO" 5 ; }
21361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
21362 $as_echo "$ac_cv_sizeof_int" >&6; }
21366 cat >>confdefs.h <<_ACEOF
21367 #define SIZEOF_INT $ac_cv_sizeof_int
21371 # The cast to long int works around a bug in the HP C Compiler
21372 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21373 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21374 # This bug is HP SR number 8606223364.
21375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
21376 $as_echo_n "checking size of long... " >&6; }
21377 if test "${ac_cv_sizeof_long+set}" = set; then :
21378 $as_echo_n "(cached) " >&6
21380 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
21383 if test "$ac_cv_type_long" = yes; then
21384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21386 as_fn_error 77 "cannot compute sizeof (long)
21387 See \`config.log' for more details" "$LINENO" 5 ; }
21389 ac_cv_sizeof_long=0
21394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
21395 $as_echo "$ac_cv_sizeof_long" >&6; }
21399 cat >>confdefs.h <<_ACEOF
21400 #define SIZEOF_LONG $ac_cv_sizeof_long
21404 # The cast to long int works around a bug in the HP C Compiler
21405 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21406 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21407 # This bug is HP SR number 8606223364.
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
21409 $as_echo_n "checking size of void*... " >&6; }
21410 if test "${ac_cv_sizeof_voidp+set}" = set; then :
21411 $as_echo_n "(cached) " >&6
21413 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
21416 if test "$ac_cv_type_voidp" = yes; then
21417 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21419 as_fn_error 77 "cannot compute sizeof (void*)
21420 See \`config.log' for more details" "$LINENO" 5 ; }
21422 ac_cv_sizeof_voidp=0
21427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
21428 $as_echo "$ac_cv_sizeof_voidp" >&6; }
21432 cat >>confdefs.h <<_ACEOF
21433 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
21437 ac_cv_char_data_model=""
21438 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
21439 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
21440 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
21441 ac_cv_long_data_model=""
21442 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
21443 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
21444 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
21445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
21446 $as_echo_n "checking data model... " >&6; }
21447 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
21448 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
21449 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
21450 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
21451 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
21452 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
21453 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
21454 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
21455 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
21456 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
21457 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
21458 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
21459 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
21460 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
21461 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
21462 222/*|333/*|444/*|666/*|888/*) :
21463 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
21464 *) ac_cv_data_model="none" ; n="very unusual model" ;;
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
21467 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
21471 if test "_$ac_cv_header_stdint_x" != "_" ; then
21472 ac_cv_header_stdint="$ac_cv_header_stdint_x"
21473 elif test "_$ac_cv_header_stdint_o" != "_" ; then
21474 ac_cv_header_stdint="$ac_cv_header_stdint_o"
21475 elif test "_$ac_cv_header_stdint_u" != "_" ; then
21476 ac_cv_header_stdint="$ac_cv_header_stdint_u"
21478 ac_cv_header_stdint="stddef.h"
21481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
21482 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
21484 $as_echo "($ac_cv_header_stdint)" >&6; }
21485 unset ac_cv_type_int_least32_t
21486 unset ac_cv_type_int_fast32_t
21487 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
21489 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
21493 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
21495 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
21499 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
21501 if test "x$ac_cv_type_intmax_t" = x""yes; then :
21506 fi # shortcircut to system "stdint.h"
21507 # ------------------ PREPARE VARIABLES ------------------------------
21508 if test "$GCC" = "yes" ; then
21509 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
21511 ac_cv_stdint_message="using $CC"
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
21515 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
21517 # ----------------- DONE inttypes.h checks START header -------------
21518 ac_config_commands="$ac_config_commands $ac_stdint_h"
21522 for ac_func in localtime_r gmtime_r
21524 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21525 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21526 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
21527 cat >>confdefs.h <<_ACEOF
21528 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21537 for ac_func in log2
21539 ac_fn_c_check_func "$LINENO" "log2" "ac_cv_func_log2"
21540 if test "x$ac_cv_func_log2" = x""yes; then :
21541 cat >>confdefs.h <<_ACEOF
21542 #define HAVE_LOG2 1
21553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/ioctl.h" >&5
21554 $as_echo_n "checking for FIONREAD in sys/ioctl.h... " >&6; }
21555 if test "${_cv_gst_fionread_in_sys_ioctl+set}" = set; then :
21556 $as_echo_n "(cached) " >&6
21559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21560 /* end confdefs.h. */
21562 #include <sys/types.h>
21563 #include <sys/ioctl.h>
21577 if ac_fn_c_try_compile "$LINENO"; then :
21578 _cv_gst_fionread_in_sys_ioctl="yes"
21580 _cv_gst_fionread_in_sys_ioctl="no"
21582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_ioctl" >&5
21588 $as_echo "$_cv_gst_fionread_in_sys_ioctl" >&6; }
21590 if test "$_cv_gst_fionread_in_sys_ioctl" = "yes"; then
21592 $as_echo "#define HAVE_FIONREAD_IN_SYS_IOCTL 1" >>confdefs.h
21597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/filio.h" >&5
21598 $as_echo_n "checking for FIONREAD in sys/filio.h... " >&6; }
21599 if test "${_cv_gst_fionread_in_sys_filio+set}" = set; then :
21600 $as_echo_n "(cached) " >&6
21603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21604 /* end confdefs.h. */
21606 #include <sys/types.h>
21607 #include <sys/filio.h>
21621 if ac_fn_c_try_compile "$LINENO"; then :
21622 _cv_gst_fionread_in_sys_filio="yes"
21624 _cv_gst_fionread_in_sys_filio="no"
21626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_filio" >&5
21632 $as_echo "$_cv_gst_fionread_in_sys_filio" >&6; }
21634 if test "$_cv_gst_fionread_in_sys_filio" = "yes"; then
21636 $as_echo "#define HAVE_FIONREAD_IN_SYS_FILIO 1" >>confdefs.h
21647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
21648 $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
21649 if test "${ac_cv_sys_largefile_source+set}" = set; then :
21650 $as_echo_n "(cached) " >&6
21653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21654 /* end confdefs.h. */
21655 #include <sys/types.h> /* for off_t */
21660 int (*fp) (FILE *, off_t, int) = fseeko;
21661 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21666 if ac_fn_c_try_link "$LINENO"; then :
21667 ac_cv_sys_largefile_source=no; break
21669 rm -f core conftest.err conftest.$ac_objext \
21670 conftest$ac_exeext conftest.$ac_ext
21671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21672 /* end confdefs.h. */
21673 #define _LARGEFILE_SOURCE 1
21674 #include <sys/types.h> /* for off_t */
21679 int (*fp) (FILE *, off_t, int) = fseeko;
21680 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
21685 if ac_fn_c_try_link "$LINENO"; then :
21686 ac_cv_sys_largefile_source=1; break
21688 rm -f core conftest.err conftest.$ac_objext \
21689 conftest$ac_exeext conftest.$ac_ext
21690 ac_cv_sys_largefile_source=unknown
21694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
21695 $as_echo "$ac_cv_sys_largefile_source" >&6; }
21696 case $ac_cv_sys_largefile_source in #(
21699 cat >>confdefs.h <<_ACEOF
21700 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
21706 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
21707 # in glibc 2.1.3, but that breaks too many other things.
21708 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
21709 if test $ac_cv_sys_largefile_source != unknown; then
21711 $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
21718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrint" >&5
21719 $as_echo_n "checking for lrint... " >&6; }
21720 if test "${ac_cv_c99_lrint+set}" = set; then :
21721 $as_echo_n "(cached) " >&6
21723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21724 /* end confdefs.h. */
21726 #define _ISOC9X_SOURCE 1
21727 #define _ISOC99_SOURCE 1
21728 #define __USE_ISOC99 1
21729 #define __USE_ISOC9X 1
21734 int value = lrint (0.432) ;
21739 if ac_fn_c_try_link "$LINENO"; then :
21740 ac_cv_c99_lrint=yes
21744 rm -f core conftest.err conftest.$ac_objext \
21745 conftest$ac_exeext conftest.$ac_ext
21747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99_lrint" >&5
21748 $as_echo "$ac_cv_c99_lrint" >&6; }
21749 if test $ac_cv_c99_lrint = yes; then
21751 $as_echo "#define HAVE_LRINT 1" >>confdefs.h
21755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lrintf" >&5
21756 $as_echo_n "checking for lrintf... " >&6; }
21757 if test "${ac_cv_c99_lrintf+set}" = set; then :
21758 $as_echo_n "(cached) " >&6
21760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21761 /* end confdefs.h. */
21763 #define _ISOC9X_SOURCE 1
21764 #define _ISOC99_SOURCE 1
21765 #define __USE_ISOC99 1
21766 #define __USE_ISOC9X 1
21771 int value = lrintf (0.432) ;
21776 if ac_fn_c_try_link "$LINENO"; then :
21777 ac_cv_c99_lrintf=yes
21779 ac_cv_c99_lrintf=no
21781 rm -f core conftest.err conftest.$ac_objext \
21782 conftest$ac_exeext conftest.$ac_ext
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c99_lrintf" >&5
21785 $as_echo "$ac_cv_c99_lrintf" >&6; }
21786 if test $ac_cv_c99_lrintf = yes; then
21788 $as_echo "#define HAVE_LRINTF 1" >>confdefs.h
21795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __PRETTY_FUNCTION__" >&5
21796 $as_echo_n "checking whether $CC implements __PRETTY_FUNCTION__... " >&6; }
21797 if test "${gst_cv_have_pretty_function+set}" = set; then :
21798 $as_echo_n "(cached) " >&6
21801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21802 /* end confdefs.h. */
21807 printf("%s", __PRETTY_FUNCTION__);
21812 if ac_fn_c_try_link "$LINENO"; then :
21813 gst_cv_have_pretty_function=yes
21815 gst_cv_have_pretty_function=no
21817 rm -f core conftest.err conftest.$ac_objext \
21818 conftest$ac_exeext conftest.$ac_ext
21822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_pretty_function" >&5
21823 $as_echo "$gst_cv_have_pretty_function" >&6; }
21824 if test "$gst_cv_have_pretty_function" = yes; then
21826 $as_echo "#define HAVE_PRETTY_FUNCTION 1" >>confdefs.h
21830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __FUNCTION__" >&5
21831 $as_echo_n "checking whether $CC implements __FUNCTION__... " >&6; }
21832 if test "${gst_cv_have_function+set}" = set; then :
21833 $as_echo_n "(cached) " >&6
21836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21837 /* end confdefs.h. */
21842 printf("%s", __FUNCTION__);
21847 if ac_fn_c_try_link "$LINENO"; then :
21848 gst_cv_have_function=yes
21850 gst_cv_have_function=no
21852 rm -f core conftest.err conftest.$ac_objext \
21853 conftest$ac_exeext conftest.$ac_ext
21857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_function" >&5
21858 $as_echo "$gst_cv_have_function" >&6; }
21859 if test "$gst_cv_have_function" = yes; then
21861 $as_echo "#define HAVE_FUNCTION 1" >>confdefs.h
21865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __func__" >&5
21866 $as_echo_n "checking whether $CC implements __func__... " >&6; }
21867 if test "${gst_cv_have_func+set}" = set; then :
21868 $as_echo_n "(cached) " >&6
21871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21872 /* end confdefs.h. */
21877 printf("%s", __func__);
21882 if ac_fn_c_try_link "$LINENO"; then :
21883 gst_cv_have_func=yes
21885 gst_cv_have_func=no
21887 rm -f core conftest.err conftest.$ac_objext \
21888 conftest$ac_exeext conftest.$ac_ext
21892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_func" >&5
21893 $as_echo "$gst_cv_have_func" >&6; }
21894 if test "$gst_cv_have_func" = yes; then
21896 $as_echo "#define HAVE_FUNC 1" >>confdefs.h
21900 if test "$gst_cv_have_pretty_function" = yes; then
21901 function=__PRETTY_FUNCTION__
21903 if test "$gst_cv_have_function" = yes; then
21904 function=__FUNCTION__
21906 if test "$gst_cv_have_func" = yes; then
21914 cat >>confdefs.h <<_ACEOF
21915 #define GST_FUNCTION $function
21920 ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
21921 if test "x$ac_cv_func_socket" = x""yes; then :
21924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
21925 $as_echo_n "checking for socket in -lsocket... " >&6; }
21926 if test "${ac_cv_lib_socket_socket+set}" = set; then :
21927 $as_echo_n "(cached) " >&6
21929 ac_check_lib_save_LIBS=$LIBS
21930 LIBS="-lsocket $LIBS"
21931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21932 /* end confdefs.h. */
21934 /* Override any GCC internal prototype to avoid an error.
21935 Use char because int might match the return type of a GCC
21936 builtin and then its argument prototype would still apply. */
21949 if ac_fn_c_try_link "$LINENO"; then :
21950 ac_cv_lib_socket_socket=yes
21952 ac_cv_lib_socket_socket=no
21954 rm -f core conftest.err conftest.$ac_objext \
21955 conftest$ac_exeext conftest.$ac_ext
21956 LIBS=$ac_check_lib_save_LIBS
21958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
21959 $as_echo "$ac_cv_lib_socket_socket" >&6; }
21960 if test "x$ac_cv_lib_socket_socket" = x""yes; then :
21961 cat >>confdefs.h <<_ACEOF
21962 #define HAVE_LIBSOCKET 1
21965 LIBS="-lsocket $LIBS"
21971 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
21972 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
21975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
21976 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
21977 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
21978 $as_echo_n "(cached) " >&6
21980 ac_check_lib_save_LIBS=$LIBS
21982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21983 /* end confdefs.h. */
21985 /* Override any GCC internal prototype to avoid an error.
21986 Use char because int might match the return type of a GCC
21987 builtin and then its argument prototype would still apply. */
21991 char gethostbyname ();
21995 return gethostbyname ();
22000 if ac_fn_c_try_link "$LINENO"; then :
22001 ac_cv_lib_nsl_gethostbyname=yes
22003 ac_cv_lib_nsl_gethostbyname=no
22005 rm -f core conftest.err conftest.$ac_objext \
22006 conftest$ac_exeext conftest.$ac_ext
22007 LIBS=$ac_check_lib_save_LIBS
22009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
22010 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
22011 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
22012 cat >>confdefs.h <<_ACEOF
22013 #define HAVE_LIBNSL 1
22028 if test "x$GLIB_REQ" = "x"
22030 as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5
22035 which="glib-2.0 >= $GLIB_REQ gobject-2.0 gthread-2.0 gmodule-no-export-2.0"
22040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
22041 $as_echo_n "checking for GLIB... " >&6; }
22043 if test -n "$PKG_CONFIG"; then
22044 if test -n "$GLIB_CFLAGS"; then
22045 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
22047 if test -n "$PKG_CONFIG" && \
22048 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
22049 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
22051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22052 test $ac_status = 0; }; then
22053 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
22061 if test -n "$PKG_CONFIG"; then
22062 if test -n "$GLIB_LIBS"; then
22063 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
22065 if test -n "$PKG_CONFIG" && \
22066 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
22067 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
22069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22070 test $ac_status = 0; }; then
22071 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
22082 if test $pkg_failed = yes; then
22084 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22085 _pkg_short_errors_supported=yes
22087 _pkg_short_errors_supported=no
22089 if test $_pkg_short_errors_supported = yes; then
22090 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
22092 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
22094 # Put the nasty error message in config.log where it belongs
22095 echo "$GLIB_PKG_ERRORS" >&5
22097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22098 $as_echo "no" >&6; }
22101 if test "x$required" = "xyes"; then
22102 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
22104 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
22105 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
22108 elif test $pkg_failed = untried; then
22111 if test "x$required" = "xyes"; then
22112 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
22114 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
22115 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
22119 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
22120 GLIB_LIBS=$pkg_cv_GLIB_LIBS
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22122 $as_echo "yes" >&6; }
22130 if test "x$HAVE_GLIB" = "xno"; then
22131 as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5
22134 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY"
22136 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
22137 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED"
22140 # Check whether --enable-gobject-cast-checks was given.
22141 if test "${enable_gobject_cast_checks+set}" = set; then :
22142 enableval=$enable_gobject_cast_checks;
22144 enable_gobject_cast_checks=auto
22148 if test "x$enable_gobject_cast_checks" = "xauto"; then
22149 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
22150 enable_gobject_cast_checks=yes
22152 enable_gobject_cast_checks=no
22156 if test "x$enable_gobject_cast_checks" = "xno"; then
22157 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS"
22160 # Check whether --enable-glib-asserts was given.
22161 if test "${enable_glib_asserts+set}" = set; then :
22162 enableval=$enable_glib_asserts;
22164 enable_glib_assertions=auto
22168 if test "x$enable_glib_assertions" = "xauto"; then
22169 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
22170 enable_glib_assertions=yes
22172 enable_glib_assertions=no
22176 if test "x$enable_glib_assertions" = "xno"; then
22177 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT"
22181 GIVEN_CFLAGS=$GLIB_CFLAGS
22182 INCLUDE_DIRS=`echo | cpp -v 2>&1`
22184 INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
22185 for dir in $INCLUDE_DIRS; do
22186 GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
22188 GLIB_CFLAGS=$GIVEN_CFLAGS
22195 # Check whether --enable-orc was given.
22196 if test "${enable_orc+set}" = set; then :
22197 enableval=$enable_orc; case "${enableval}" in
22198 auto) enable_orc=auto ;;
22199 yes) enable_orc=yes ;;
22200 no) enable_orc=no ;;
22201 *) as_fn_error $? "bad value ${enableval} for --enable-orc" "$LINENO" 5 ;;
22208 if test "x$enable_orc" != "xno" ; then
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ORC" >&5
22212 $as_echo_n "checking for ORC... " >&6; }
22214 if test -n "$PKG_CONFIG"; then
22215 if test -n "$ORC_CFLAGS"; then
22216 pkg_cv_ORC_CFLAGS="$ORC_CFLAGS"
22218 if test -n "$PKG_CONFIG" && \
22219 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
22220 ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
22222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22223 test $ac_status = 0; }; then
22224 pkg_cv_ORC_CFLAGS=`$PKG_CONFIG --cflags "orc-0.4 >= $ORC_REQ" 2>/dev/null`
22232 if test -n "$PKG_CONFIG"; then
22233 if test -n "$ORC_LIBS"; then
22234 pkg_cv_ORC_LIBS="$ORC_LIBS"
22236 if test -n "$PKG_CONFIG" && \
22237 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
22238 ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
22240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22241 test $ac_status = 0; }; then
22242 pkg_cv_ORC_LIBS=`$PKG_CONFIG --libs "orc-0.4 >= $ORC_REQ" 2>/dev/null`
22253 if test $pkg_failed = yes; then
22255 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22256 _pkg_short_errors_supported=yes
22258 _pkg_short_errors_supported=no
22260 if test $_pkg_short_errors_supported = yes; then
22261 ORC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
22263 ORC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
22265 # Put the nasty error message in config.log where it belongs
22266 echo "$ORC_PKG_ERRORS" >&5
22268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22269 $as_echo "no" >&6; }
22271 if test "x$enable_orc" = "xyes" ; then
22272 as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
22275 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
22280 elif test $pkg_failed = untried; then
22282 if test "x$enable_orc" = "xyes" ; then
22283 as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
22286 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
22292 ORC_CFLAGS=$pkg_cv_ORC_CFLAGS
22293 ORC_LIBS=$pkg_cv_ORC_LIBS
22294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22295 $as_echo "yes" >&6; }
22298 $as_echo "#define HAVE_ORC 1" >>confdefs.h
22300 if test "x$ORCC" = "x" ; then
22301 ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
22304 ORCC_FLAGS="--compat $ORC_REQ"
22308 if test "x$cross_compiling" = "xyes" ; then
22315 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
22320 if test "x$HAVE_ORC" = "xyes"; then
22328 if test "x$HAVE_ORCC" = "xyes"; then
22330 HAVE_ORCC_FALSE='#'
22341 module=gstreamer-$GST_MAJORMINOR
22347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
22348 $as_echo_n "checking for GST... " >&6; }
22350 if test -n "$PKG_CONFIG"; then
22351 if test -n "$GST_CFLAGS"; then
22352 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
22354 if test -n "$PKG_CONFIG" && \
22355 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22356 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22359 test $ac_status = 0; }; then
22360 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
22368 if test -n "$PKG_CONFIG"; then
22369 if test -n "$GST_LIBS"; then
22370 pkg_cv_GST_LIBS="$GST_LIBS"
22372 if test -n "$PKG_CONFIG" && \
22373 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22374 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22377 test $ac_status = 0; }; then
22378 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
22389 if test $pkg_failed = yes; then
22391 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22392 _pkg_short_errors_supported=yes
22394 _pkg_short_errors_supported=no
22396 if test $_pkg_short_errors_supported = yes; then
22397 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
22399 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
22401 # Put the nasty error message in config.log where it belongs
22402 echo "$GST_PKG_ERRORS" >&5
22404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22405 $as_echo "no" >&6; }
22408 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
22409 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
22410 if test "x$required" = "xyes"; then
22411 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22413 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22414 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22417 elif test $pkg_failed = untried; then
22420 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
22421 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
22422 if test "x$required" = "xyes"; then
22423 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22425 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22426 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22430 GST_CFLAGS=$pkg_cv_GST_CFLAGS
22431 GST_LIBS=$pkg_cv_GST_LIBS
22432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22433 $as_echo "yes" >&6; }
22440 if test -z $GST_TOOLS_DIR; then
22441 GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
22442 if test -z $GST_TOOLS_DIR; then
22443 as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
22446 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5
22447 $as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;}
22450 if test -z $GST_PLUGINS_DIR; then
22451 GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_MAJORMINOR`
22452 if test -z $GST_PLUGINS_DIR; then
22453 as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
22456 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5
22457 $as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;}
22462 module=gstreamer-base-$GST_MAJORMINOR
22464 name="GStreamer Base Libraries"
22468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
22469 $as_echo_n "checking for GST_BASE... " >&6; }
22471 if test -n "$PKG_CONFIG"; then
22472 if test -n "$GST_BASE_CFLAGS"; then
22473 pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
22475 if test -n "$PKG_CONFIG" && \
22476 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22477 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22480 test $ac_status = 0; }; then
22481 pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
22489 if test -n "$PKG_CONFIG"; then
22490 if test -n "$GST_BASE_LIBS"; then
22491 pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
22493 if test -n "$PKG_CONFIG" && \
22494 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22495 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22498 test $ac_status = 0; }; then
22499 pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
22510 if test $pkg_failed = yes; then
22512 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22513 _pkg_short_errors_supported=yes
22515 _pkg_short_errors_supported=no
22517 if test $_pkg_short_errors_supported = yes; then
22518 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
22520 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
22522 # Put the nasty error message in config.log where it belongs
22523 echo "$GST_BASE_PKG_ERRORS" >&5
22525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22526 $as_echo "no" >&6; }
22529 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
22530 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
22531 if test "x$required" = "xyes"; then
22532 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22534 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22535 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22538 elif test $pkg_failed = untried; then
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
22542 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
22543 if test "x$required" = "xyes"; then
22544 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22546 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22547 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22551 GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
22552 GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
22553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22554 $as_echo "yes" >&6; }
22556 HAVE_GST_BASE="yes"
22564 module=gstreamer-dataprotocol-$GST_MAJORMINOR
22566 name="GStreamer Data Protocol Library"
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_GDP" >&5
22571 $as_echo_n "checking for GST_GDP... " >&6; }
22573 if test -n "$PKG_CONFIG"; then
22574 if test -n "$GST_GDP_CFLAGS"; then
22575 pkg_cv_GST_GDP_CFLAGS="$GST_GDP_CFLAGS"
22577 if test -n "$PKG_CONFIG" && \
22578 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22579 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22582 test $ac_status = 0; }; then
22583 pkg_cv_GST_GDP_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
22591 if test -n "$PKG_CONFIG"; then
22592 if test -n "$GST_GDP_LIBS"; then
22593 pkg_cv_GST_GDP_LIBS="$GST_GDP_LIBS"
22595 if test -n "$PKG_CONFIG" && \
22596 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22597 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22599 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22600 test $ac_status = 0; }; then
22601 pkg_cv_GST_GDP_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
22612 if test $pkg_failed = yes; then
22614 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22615 _pkg_short_errors_supported=yes
22617 _pkg_short_errors_supported=no
22619 if test $_pkg_short_errors_supported = yes; then
22620 GST_GDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
22622 GST_GDP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
22624 # Put the nasty error message in config.log where it belongs
22625 echo "$GST_GDP_PKG_ERRORS" >&5
22627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22628 $as_echo "no" >&6; }
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5
22632 $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;}
22633 if test "x$required" = "xyes"; then
22634 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22636 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22637 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22640 elif test $pkg_failed = untried; then
22643 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5
22644 $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;}
22645 if test "x$required" = "xyes"; then
22646 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22648 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22649 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22653 GST_GDP_CFLAGS=$pkg_cv_GST_GDP_CFLAGS
22654 GST_GDP_LIBS=$pkg_cv_GST_GDP_LIBS
22655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22656 $as_echo "yes" >&6; }
22666 module=gstreamer-controller-$GST_MAJORMINOR
22668 name="GStreamer Controller Library"
22672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CONTROLLER" >&5
22673 $as_echo_n "checking for GST_CONTROLLER... " >&6; }
22675 if test -n "$PKG_CONFIG"; then
22676 if test -n "$GST_CONTROLLER_CFLAGS"; then
22677 pkg_cv_GST_CONTROLLER_CFLAGS="$GST_CONTROLLER_CFLAGS"
22679 if test -n "$PKG_CONFIG" && \
22680 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22681 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22684 test $ac_status = 0; }; then
22685 pkg_cv_GST_CONTROLLER_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
22693 if test -n "$PKG_CONFIG"; then
22694 if test -n "$GST_CONTROLLER_LIBS"; then
22695 pkg_cv_GST_CONTROLLER_LIBS="$GST_CONTROLLER_LIBS"
22697 if test -n "$PKG_CONFIG" && \
22698 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22699 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22702 test $ac_status = 0; }; then
22703 pkg_cv_GST_CONTROLLER_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
22714 if test $pkg_failed = yes; then
22716 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22717 _pkg_short_errors_supported=yes
22719 _pkg_short_errors_supported=no
22721 if test $_pkg_short_errors_supported = yes; then
22722 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
22724 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
22726 # Put the nasty error message in config.log where it belongs
22727 echo "$GST_CONTROLLER_PKG_ERRORS" >&5
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22730 $as_echo "no" >&6; }
22732 HAVE_GST_CONTROLLER="no"
22733 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
22734 $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
22735 if test "x$required" = "xyes"; then
22736 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22738 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22739 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22742 elif test $pkg_failed = untried; then
22744 HAVE_GST_CONTROLLER="no"
22745 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5
22746 $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;}
22747 if test "x$required" = "xyes"; then
22748 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22750 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22751 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22755 GST_CONTROLLER_CFLAGS=$pkg_cv_GST_CONTROLLER_CFLAGS
22756 GST_CONTROLLER_LIBS=$pkg_cv_GST_CONTROLLER_LIBS
22757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22758 $as_echo "yes" >&6; }
22760 HAVE_GST_CONTROLLER="yes"
22768 module=gstreamer-check-$GST_MAJORMINOR
22770 name="GStreamer Check unittest Library"
22774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5
22775 $as_echo_n "checking for GST_CHECK... " >&6; }
22777 if test -n "$PKG_CONFIG"; then
22778 if test -n "$GST_CHECK_CFLAGS"; then
22779 pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS"
22781 if test -n "$PKG_CONFIG" && \
22782 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22783 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22786 test $ac_status = 0; }; then
22787 pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
22795 if test -n "$PKG_CONFIG"; then
22796 if test -n "$GST_CHECK_LIBS"; then
22797 pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS"
22799 if test -n "$PKG_CONFIG" && \
22800 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22801 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22804 test $ac_status = 0; }; then
22805 pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
22816 if test $pkg_failed = yes; then
22818 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22819 _pkg_short_errors_supported=yes
22821 _pkg_short_errors_supported=no
22823 if test $_pkg_short_errors_supported = yes; then
22824 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
22826 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
22828 # Put the nasty error message in config.log where it belongs
22829 echo "$GST_CHECK_PKG_ERRORS" >&5
22831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22832 $as_echo "no" >&6; }
22834 HAVE_GST_CHECK="no"
22835 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
22836 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
22837 if test "x$required" = "xyes"; then
22838 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22840 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22841 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22844 elif test $pkg_failed = untried; then
22846 HAVE_GST_CHECK="no"
22847 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
22848 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
22849 if test "x$required" = "xyes"; then
22850 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22852 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22853 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22857 GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
22858 GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
22859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22860 $as_echo "yes" >&6; }
22862 HAVE_GST_CHECK="yes"
22868 if test "x$HAVE_GST_CHECK" = "xyes"; then
22869 HAVE_GST_CHECK_TRUE=
22870 HAVE_GST_CHECK_FALSE='#'
22872 HAVE_GST_CHECK_TRUE='#'
22873 HAVE_GST_CHECK_FALSE=
22877 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
22878 GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`"
22886 if test "x$BUILD_EXAMPLES" = "xyes"; then
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which gtk+ version to compile examples against (optional)" >&5
22888 $as_echo_n "checking which gtk+ version to compile examples against (optional)... " >&6; }
22890 # Check whether --with-gtk was given.
22891 if test "${with_gtk+set}" = set; then :
22892 withval=$with_gtk; case "$with_gtk" in
22893 2.0) GTK_REQ=$GTK2_REQ ;;
22894 3.0) GTK_REQ=$GTK3_REQ ;;
22895 *) as_fn_error $? "invalid gtk+ version specified" "$LINENO" 5 ;;
22902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gtk (>= $GTK_REQ)" >&5
22903 $as_echo "$with_gtk (>= $GTK_REQ)" >&6; }
22906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
22907 $as_echo_n "checking for GTK... " >&6; }
22909 if test -n "$PKG_CONFIG"; then
22910 if test -n "$GTK_CFLAGS"; then
22911 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
22913 if test -n "$PKG_CONFIG" && \
22914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$with_gtk >= \$GTK_REQ\""; } >&5
22915 ($PKG_CONFIG --exists --print-errors "gtk+-$with_gtk >= $GTK_REQ") 2>&5
22917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22918 test $ac_status = 0; }; then
22919 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$with_gtk >= $GTK_REQ" 2>/dev/null`
22927 if test -n "$PKG_CONFIG"; then
22928 if test -n "$GTK_LIBS"; then
22929 pkg_cv_GTK_LIBS="$GTK_LIBS"
22931 if test -n "$PKG_CONFIG" && \
22932 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$with_gtk >= \$GTK_REQ\""; } >&5
22933 ($PKG_CONFIG --exists --print-errors "gtk+-$with_gtk >= $GTK_REQ") 2>&5
22935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22936 test $ac_status = 0; }; then
22937 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-$with_gtk >= $GTK_REQ" 2>/dev/null`
22948 if test $pkg_failed = yes; then
22950 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22951 _pkg_short_errors_supported=yes
22953 _pkg_short_errors_supported=no
22955 if test $_pkg_short_errors_supported = yes; then
22956 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-$with_gtk >= $GTK_REQ"`
22958 GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-$with_gtk >= $GTK_REQ"`
22960 # Put the nasty error message in config.log where it belongs
22961 echo "$GTK_PKG_ERRORS" >&5
22963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22964 $as_echo "no" >&6; }
22966 elif test $pkg_failed = untried; then
22969 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
22970 GTK_LIBS=$pkg_cv_GTK_LIBS
22971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22972 $as_echo "yes" >&6; }
22977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK_X11" >&5
22978 $as_echo_n "checking for GTK_X11... " >&6; }
22980 if test -n "$PKG_CONFIG"; then
22981 if test -n "$GTK_X11_CFLAGS"; then
22982 pkg_cv_GTK_X11_CFLAGS="$GTK_X11_CFLAGS"
22984 if test -n "$PKG_CONFIG" && \
22985 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-\$with_gtk >= \$GTK_REQ\""; } >&5
22986 ($PKG_CONFIG --exists --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ") 2>&5
22988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22989 test $ac_status = 0; }; then
22990 pkg_cv_GTK_X11_CFLAGS=`$PKG_CONFIG --cflags "gtk+-x11-$with_gtk >= $GTK_REQ" 2>/dev/null`
22998 if test -n "$PKG_CONFIG"; then
22999 if test -n "$GTK_X11_LIBS"; then
23000 pkg_cv_GTK_X11_LIBS="$GTK_X11_LIBS"
23002 if test -n "$PKG_CONFIG" && \
23003 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-x11-\$with_gtk >= \$GTK_REQ\""; } >&5
23004 ($PKG_CONFIG --exists --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ") 2>&5
23006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23007 test $ac_status = 0; }; then
23008 pkg_cv_GTK_X11_LIBS=`$PKG_CONFIG --libs "gtk+-x11-$with_gtk >= $GTK_REQ" 2>/dev/null`
23019 if test $pkg_failed = yes; then
23021 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23022 _pkg_short_errors_supported=yes
23024 _pkg_short_errors_supported=no
23026 if test $_pkg_short_errors_supported = yes; then
23027 GTK_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ"`
23029 GTK_X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-x11-$with_gtk >= $GTK_REQ"`
23031 # Put the nasty error message in config.log where it belongs
23032 echo "$GTK_X11_PKG_ERRORS" >&5
23034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23035 $as_echo "no" >&6; }
23037 elif test $pkg_failed = untried; then
23040 GTK_X11_CFLAGS=$pkg_cv_GTK_X11_CFLAGS
23041 GTK_X11_LIBS=$pkg_cv_GTK_X11_LIBS
23042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23043 $as_echo "yes" >&6; }
23049 if test "x$HAVE_GTK" = "xyes"; then
23057 if test "x$HAVE_GTK_X11" = "xyes"; then
23059 HAVE_GTK_X11_FALSE='#'
23061 HAVE_GTK_X11_TRUE='#'
23062 HAVE_GTK_X11_FALSE=
23068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT" >&5
23069 $as_echo_n "checking for QT... " >&6; }
23071 if test -n "$PKG_CONFIG"; then
23072 if test -n "$QT_CFLAGS"; then
23073 pkg_cv_QT_CFLAGS="$QT_CFLAGS"
23075 if test -n "$PKG_CONFIG" && \
23076 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.6\""; } >&5
23077 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.6") 2>&5
23079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23080 test $ac_status = 0; }; then
23081 pkg_cv_QT_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= 4.6" 2>/dev/null`
23089 if test -n "$PKG_CONFIG"; then
23090 if test -n "$QT_LIBS"; then
23091 pkg_cv_QT_LIBS="$QT_LIBS"
23093 if test -n "$PKG_CONFIG" && \
23094 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.6\""; } >&5
23095 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.6") 2>&5
23097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23098 test $ac_status = 0; }; then
23099 pkg_cv_QT_LIBS=`$PKG_CONFIG --libs "QtGui >= 4.6" 2>/dev/null`
23110 if test $pkg_failed = yes; then
23112 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23113 _pkg_short_errors_supported=yes
23115 _pkg_short_errors_supported=no
23117 if test $_pkg_short_errors_supported = yes; then
23118 QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtGui >= 4.6"`
23120 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.6"`
23122 # Put the nasty error message in config.log where it belongs
23123 echo "$QT_PKG_ERRORS" >&5
23125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23126 $as_echo "no" >&6; }
23131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT" >&5
23132 $as_echo_n "checking for QT... " >&6; }
23134 if test -n "$PKG_CONFIG"; then
23135 if test -n "$QT_CFLAGS"; then
23136 pkg_cv_QT_CFLAGS="$QT_CFLAGS"
23138 if test -n "$PKG_CONFIG" && \
23139 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.0\""; } >&5
23140 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.0") 2>&5
23142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23143 test $ac_status = 0; }; then
23144 pkg_cv_QT_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= 4.0" 2>/dev/null`
23152 if test -n "$PKG_CONFIG"; then
23153 if test -n "$QT_LIBS"; then
23154 pkg_cv_QT_LIBS="$QT_LIBS"
23156 if test -n "$PKG_CONFIG" && \
23157 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.0\""; } >&5
23158 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.0") 2>&5
23160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23161 test $ac_status = 0; }; then
23162 pkg_cv_QT_LIBS=`$PKG_CONFIG --libs "QtGui >= 4.0" 2>/dev/null`
23173 if test $pkg_failed = yes; then
23175 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23176 _pkg_short_errors_supported=yes
23178 _pkg_short_errors_supported=no
23180 if test $_pkg_short_errors_supported = yes; then
23181 QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtGui >= 4.0"`
23183 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.0"`
23185 # Put the nasty error message in config.log where it belongs
23186 echo "$QT_PKG_ERRORS" >&5
23188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23189 $as_echo "no" >&6; }
23191 elif test $pkg_failed = untried; then
23194 QT_CFLAGS=$pkg_cv_QT_CFLAGS
23195 QT_LIBS=$pkg_cv_QT_LIBS
23196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23197 $as_echo "yes" >&6; }
23201 elif test $pkg_failed = untried; then
23206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QT" >&5
23207 $as_echo_n "checking for QT... " >&6; }
23209 if test -n "$PKG_CONFIG"; then
23210 if test -n "$QT_CFLAGS"; then
23211 pkg_cv_QT_CFLAGS="$QT_CFLAGS"
23213 if test -n "$PKG_CONFIG" && \
23214 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.0\""; } >&5
23215 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.0") 2>&5
23217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23218 test $ac_status = 0; }; then
23219 pkg_cv_QT_CFLAGS=`$PKG_CONFIG --cflags "QtGui >= 4.0" 2>/dev/null`
23227 if test -n "$PKG_CONFIG"; then
23228 if test -n "$QT_LIBS"; then
23229 pkg_cv_QT_LIBS="$QT_LIBS"
23231 if test -n "$PKG_CONFIG" && \
23232 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtGui >= 4.0\""; } >&5
23233 ($PKG_CONFIG --exists --print-errors "QtGui >= 4.0") 2>&5
23235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23236 test $ac_status = 0; }; then
23237 pkg_cv_QT_LIBS=`$PKG_CONFIG --libs "QtGui >= 4.0" 2>/dev/null`
23248 if test $pkg_failed = yes; then
23250 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23251 _pkg_short_errors_supported=yes
23253 _pkg_short_errors_supported=no
23255 if test $_pkg_short_errors_supported = yes; then
23256 QT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "QtGui >= 4.0"`
23258 QT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "QtGui >= 4.0"`
23260 # Put the nasty error message in config.log where it belongs
23261 echo "$QT_PKG_ERRORS" >&5
23263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23264 $as_echo "no" >&6; }
23266 elif test $pkg_failed = untried; then
23269 QT_CFLAGS=$pkg_cv_QT_CFLAGS
23270 QT_LIBS=$pkg_cv_QT_LIBS
23271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23272 $as_echo "yes" >&6; }
23277 QT_CFLAGS=$pkg_cv_QT_CFLAGS
23278 QT_LIBS=$pkg_cv_QT_LIBS
23279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23280 $as_echo "yes" >&6; }
23286 if test "x$HAVE_QT" = "xyes"; then
23287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Qt moc" >&5
23288 $as_echo_n "checking Qt moc... " >&6; }
23289 QT4_MOC=`$PKG_CONFIG --variable=moc_location QtGui`
23290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QT4_MOC" >&5
23291 $as_echo "$QT4_MOC" >&6; }
23294 if test "x$HAVE_QT" = "xyes"; then
23302 if test "x$HAVE_QT_GV" = "xyes"; then
23304 HAVE_QT_GV_FALSE='#'
23306 HAVE_QT_GV_TRUE='#'
23311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23312 /* end confdefs.h. */
23315 #include <linux/input.h>
23316 #include <linux/joystick.h>
23322 struct js_event js;
23323 js.type = JS_EVENT_AXIS;
23330 if ac_fn_c_try_compile "$LINENO"; then :
23332 HAVE_LINUX_JOYSTICK_HEADERS="yes"
23336 HAVE_LINUX_JOYSTICK_HEADERS="no"
23339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23340 if test "x$HAVE_LINUX_JOYSTICK_HEADERS" = "xyes"; then
23341 HAVE_LINUX_JOYSTICK_HEADERS_TRUE=
23342 HAVE_LINUX_JOYSTICK_HEADERS_FALSE='#'
23344 HAVE_LINUX_JOYSTICK_HEADERS_TRUE='#'
23345 HAVE_LINUX_JOYSTICK_HEADERS_FALSE=
23349 # Check whether --enable-Bsymbolic was given.
23350 if test "${enable_Bsymbolic+set}" = set; then :
23351 enableval=$enable_Bsymbolic;
23353 SAVED_LDFLAGS="${LDFLAGS}"
23354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Bsymbolic-functions linker flag" >&5
23355 $as_echo_n "checking for -Bsymbolic-functions linker flag... " >&6; }
23356 LDFLAGS=-Wl,-Bsymbolic-functions
23357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23358 /* end confdefs.h. */
23363 int main (void) { return 0; }
23368 if ac_fn_c_try_link "$LINENO"; then :
23369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23370 $as_echo "yes" >&6; }
23371 enable_Bsymbolic=yes
23373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23374 $as_echo "no" >&6; }
23375 enable_Bsymbolic=no
23377 rm -f core conftest.err conftest.$ac_objext \
23378 conftest$ac_exeext conftest.$ac_ext
23379 LDFLAGS="${SAVED_LDFLAGS}"
23387 cat >>confdefs.h <<_ACEOF
23388 #define GST_LICENSE "$GST_LICENSE"
23396 FROM_VAR=${libdir}/gstreamer-$GST_MAJORMINOR
23398 prefix_save=$prefix
23399 exec_prefix_save=$exec_prefix
23401 if test "x$prefix" = "xNONE"; then
23402 prefix="$ac_default_prefix"
23404 if test "x$exec_prefix" = "xNONE"; then
23405 exec_prefix=$prefix
23408 full_var="$FROM_VAR"
23410 new_full_var="`eval echo $full_var`"
23411 if test "x$new_full_var" = "x$full_var"; then break; fi
23412 full_var=$new_full_var
23415 full_var=$new_full_var
23416 PLUGINDIR="$full_var"
23419 prefix=$prefix_save
23420 exec_prefix=$exec_prefix_save
23423 cat >>confdefs.h <<_ACEOF
23424 #define PLUGINDIR "$PLUGINDIR"
23427 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
23428 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
23430 plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
23435 if test "x$PACKAGE_VERSION_NANO" = "x0"; then
23437 if test "xyes" = "xno" -o "xyes" = "x"; then
23438 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
23439 elif test "xyes" = "xyes"; then
23440 if ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
23441 GST_PACKAGE_RELEASE_DATETIME=yes
23443 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO "${srcdir}/gst-plugins-base.doap" `;
23444 if test "x$YYYY_MM_DD" != "x"; then
23445 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
23447 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
23448 release date for release version $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO from \"${srcdir}/gst-plugins-base.doap\" " "$LINENO" 5
23449 GST_PACKAGE_RELEASE_DATETIME=""
23452 elif ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
23453 GST_PACKAGE_RELEASE_DATETIME=yes
23455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
23456 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
23457 GST_PACKAGE_RELEASE_DATETIME=""
23460 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
23461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
23462 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
23464 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
23465 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
23468 cat >>confdefs.h <<_ACEOF
23469 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
23476 if test "xno" = "xno" -o "xno" = "x"; then
23477 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
23478 elif test "xno" = "xyes"; then
23479 if ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
23480 GST_PACKAGE_RELEASE_DATETIME=no
23482 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" `;
23483 if test "x$YYYY_MM_DD" != "x"; then
23484 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
23486 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
23487 release date for release version from " "$LINENO" 5
23488 GST_PACKAGE_RELEASE_DATETIME=""
23491 elif ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
23492 GST_PACKAGE_RELEASE_DATETIME=no
23494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
23495 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
23496 GST_PACKAGE_RELEASE_DATETIME=""
23499 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
23500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
23501 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
23503 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
23504 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
23507 cat >>confdefs.h <<_ACEOF
23508 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
23524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
23525 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
23527 save_CFLAGS="$CFLAGS"
23528 CFLAGS="$CFLAGS -Wall"
23530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23531 /* end confdefs.h. */
23541 if ac_fn_c_try_compile "$LINENO"; then :
23546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23547 CFLAGS="$save_CFLAGS"
23549 if test "X$flag_ok" = Xyes ; then
23550 WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
23556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23557 $as_echo "$flag_ok" >&6; }
23561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
23562 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
23564 save_CFLAGS="$CFLAGS"
23565 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
23567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23568 /* end confdefs.h. */
23578 if ac_fn_c_try_compile "$LINENO"; then :
23583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23584 CFLAGS="$save_CFLAGS"
23586 if test "X$flag_ok" = Xyes ; then
23587 WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
23593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23594 $as_echo "$flag_ok" >&6; }
23598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
23599 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
23601 save_CFLAGS="$CFLAGS"
23602 CFLAGS="$CFLAGS -Wvla"
23604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23605 /* end confdefs.h. */
23615 if ac_fn_c_try_compile "$LINENO"; then :
23620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23621 CFLAGS="$save_CFLAGS"
23623 if test "X$flag_ok" = Xyes ; then
23624 WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
23630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23631 $as_echo "$flag_ok" >&6; }
23635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
23636 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
23638 save_CFLAGS="$CFLAGS"
23639 CFLAGS="$CFLAGS -Wpointer-arith"
23641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23642 /* end confdefs.h. */
23652 if ac_fn_c_try_compile "$LINENO"; then :
23657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23658 CFLAGS="$save_CFLAGS"
23660 if test "X$flag_ok" = Xyes ; then
23661 WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
23667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23668 $as_echo "$flag_ok" >&6; }
23671 if test "x$GST_GIT" != "xno"
23674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
23675 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
23677 save_CFLAGS="$CFLAGS"
23678 CFLAGS="$CFLAGS -Werror"
23680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23681 /* end confdefs.h. */
23691 if ac_fn_c_try_compile "$LINENO"; then :
23696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23697 CFLAGS="$save_CFLAGS"
23699 if test "X$flag_ok" = Xyes ; then
23700 ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
23706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23707 $as_echo "$flag_ok" >&6; }
23710 if test "x$ERROR_CFLAGS" = "x"
23713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
23714 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
23716 save_CFLAGS="$CFLAGS"
23717 CFLAGS="$CFLAGS -errwarn=%all"
23719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23720 /* end confdefs.h. */
23730 if ac_fn_c_try_compile "$LINENO"; then :
23735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23736 CFLAGS="$save_CFLAGS"
23738 if test "X$flag_ok" = Xyes ; then
23740 ERROR_CFLAGS="-errwarn=%all"
23741 for f in 'no%E_EMPTY_DECLARATION' \
23742 'no%E_STATEMENT_NOT_REACHED' \
23743 'no%E_ARGUEMENT_MISMATCH' \
23744 'no%E_MACRO_REDEFINED' \
23745 'no%E_LOOP_NOT_ENTERED_AT_TOP'
23748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
23749 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
23751 save_CFLAGS="$CFLAGS"
23752 CFLAGS="$CFLAGS -errwarn=%all,$f"
23754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23755 /* end confdefs.h. */
23765 if ac_fn_c_try_compile "$LINENO"; then :
23770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23771 CFLAGS="$save_CFLAGS"
23773 if test "X$flag_ok" = Xyes ; then
23775 ERROR_CFLAGS="$ERROR_CFLAGS,$f"
23782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23783 $as_echo "$flag_ok" >&6; }
23792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23793 $as_echo "$flag_ok" >&6; }
23796 if test -n "$PKG_CONFIG" && \
23797 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
23798 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
23800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23801 test $ac_status = 0; }; then
23804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
23805 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
23807 save_CFLAGS="$CFLAGS"
23808 CFLAGS="$CFLAGS -fno-strict-aliasing"
23810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23811 /* end confdefs.h. */
23821 if ac_fn_c_try_compile "$LINENO"; then :
23826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23827 CFLAGS="$save_CFLAGS"
23829 if test "X$flag_ok" = Xyes ; then
23830 ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
23836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23837 $as_echo "$flag_ok" >&6; }
23845 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
23846 -Wwrite-strings -Wformat-nonliteral -Wformat-security
23847 -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
23848 -Wno-multichar -Wnested-externs " != "x"
23852 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
23853 -Wwrite-strings -Wformat-nonliteral -Wformat-security
23854 -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
23855 -Wno-multichar -Wnested-externs "
23859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
23860 $as_echo_n "checking to see if compiler understands $each... " >&6; }
23862 save_CFLAGS="$CFLAGS"
23863 CFLAGS="$CFLAGS $each"
23865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23866 /* end confdefs.h. */
23876 if ac_fn_c_try_compile "$LINENO"; then :
23881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23882 CFLAGS="$save_CFLAGS"
23884 if test "X$flag_ok" = Xyes ; then
23885 WARNING_CFLAGS="$WARNING_CFLAGS $each"
23888 UNSUPPORTED="$UNSUPPORTED $each"
23891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23892 $as_echo "$flag_ok" >&6; }
23895 if test "X$UNSUPPORTED" != X ; then
23896 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
23897 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
23903 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
23904 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
23905 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
23906 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
23912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands " >&5
23913 $as_echo_n "checking to see if c++ compiler understands ... " >&6; }
23915 save_CPPFLAGS="$CPPFLAGS"
23916 CPPFLAGS="$CPPFLAGS "
23919 ac_cpp='$CXXCPP $CPPFLAGS'
23920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23926 /* end confdefs.h. */
23936 if ac_fn_cxx_try_compile "$LINENO"; then :
23941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23942 CPPFLAGS="$save_CPPFLAGS"
23944 if test "X$flag_ok" = Xyes ; then
23953 ac_cpp='$CPP $CPPFLAGS'
23954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23960 $as_echo "$flag_ok" >&6; }
23967 WARNING_CXXFLAGS=""
23972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wall" >&5
23973 $as_echo_n "checking to see if c++ compiler understands -Wall... " >&6; }
23975 save_CPPFLAGS="$CPPFLAGS"
23976 CPPFLAGS="$CPPFLAGS -Wall"
23979 ac_cpp='$CXXCPP $CPPFLAGS'
23980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23986 /* end confdefs.h. */
23996 if ac_fn_cxx_try_compile "$LINENO"; then :
24001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24002 CPPFLAGS="$save_CPPFLAGS"
24004 if test "X$flag_ok" = Xyes ; then
24005 WARNING_CXXFLAGS="$WARNING_CXXFLAGS -Wall"
24013 ac_cpp='$CPP $CPPFLAGS'
24014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24020 $as_echo "$flag_ok" >&6; }
24023 if test "x$GST_GIT" != "xno"
24028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Werror" >&5
24029 $as_echo_n "checking to see if c++ compiler understands -Werror... " >&6; }
24031 save_CPPFLAGS="$CPPFLAGS"
24032 CPPFLAGS="$CPPFLAGS -Werror"
24035 ac_cpp='$CXXCPP $CPPFLAGS'
24036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24042 /* end confdefs.h. */
24052 if ac_fn_cxx_try_compile "$LINENO"; then :
24057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24058 CPPFLAGS="$save_CPPFLAGS"
24060 if test "X$flag_ok" = Xyes ; then
24061 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror"
24069 ac_cpp='$CPP $CPPFLAGS'
24070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24076 $as_echo "$flag_ok" >&6; }
24079 if test "x$ERROR_CXXFLAGS" != "x"
24084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wno-non-virtual-dtor" >&5
24085 $as_echo_n "checking to see if c++ compiler understands -Wno-non-virtual-dtor... " >&6; }
24087 save_CPPFLAGS="$CPPFLAGS"
24088 CPPFLAGS="$CPPFLAGS -Wno-non-virtual-dtor"
24091 ac_cpp='$CXXCPP $CPPFLAGS'
24092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24098 /* end confdefs.h. */
24108 if ac_fn_cxx_try_compile "$LINENO"; then :
24113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24114 CPPFLAGS="$save_CPPFLAGS"
24116 if test "X$flag_ok" = Xyes ; then
24117 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Wno-non-virtual-dtor"
24125 ac_cpp='$CPP $CPPFLAGS'
24126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24132 $as_echo "$flag_ok" >&6; }
24135 if test -n "$PKG_CONFIG" && \
24136 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
24137 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
24139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24140 test $ac_status = 0; }; then
24145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -fno-strict-aliasing" >&5
24146 $as_echo_n "checking to see if c++ compiler understands -fno-strict-aliasing... " >&6; }
24148 save_CPPFLAGS="$CPPFLAGS"
24149 CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
24152 ac_cpp='$CXXCPP $CPPFLAGS'
24153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24159 /* end confdefs.h. */
24169 if ac_fn_cxx_try_compile "$LINENO"; then :
24174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24175 CPPFLAGS="$save_CPPFLAGS"
24177 if test "X$flag_ok" = Xyes ; then
24178 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -fno-strict-aliasing"
24186 ac_cpp='$CPP $CPPFLAGS'
24187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24193 $as_echo "$flag_ok" >&6; }
24201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all" >&5
24202 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all... " >&6; }
24204 save_CPPFLAGS="$CPPFLAGS"
24205 CPPFLAGS="$CPPFLAGS -errwarn=%all"
24208 ac_cpp='$CXXCPP $CPPFLAGS'
24209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24215 /* end confdefs.h. */
24225 if ac_fn_cxx_try_compile "$LINENO"; then :
24230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24231 CPPFLAGS="$save_CPPFLAGS"
24233 if test "X$flag_ok" = Xyes ; then
24234 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -errwarn=%all"
24242 ac_cpp='$CPP $CPPFLAGS'
24243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24249 $as_echo "$flag_ok" >&6; }
24251 if test "x$ERROR_CXXFLAGS" != "x"; then
24252 for f in 'no%E_EMPTY_DECLARATION' \
24253 'no%E_STATEMENT_NOT_REACHED' \
24254 'no%E_ARGUEMENT_MISMATCH' \
24255 'no%E_MACRO_REDEFINED' \
24256 'no%E_LOOP_NOT_ENTERED_AT_TOP'
24261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all,$f" >&5
24262 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all,$f... " >&6; }
24264 save_CPPFLAGS="$CPPFLAGS"
24265 CPPFLAGS="$CPPFLAGS -errwarn=%all,$f"
24268 ac_cpp='$CXXCPP $CPPFLAGS'
24269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24275 /* end confdefs.h. */
24285 if ac_fn_cxx_try_compile "$LINENO"; then :
24290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24291 CPPFLAGS="$save_CPPFLAGS"
24293 if test "X$flag_ok" = Xyes ; then
24294 ERROR_CXXFLAGS="$ERROR_CXXFLAGS
24302 ac_cpp='$CPP $CPPFLAGS'
24303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24309 $as_echo "$flag_ok" >&6; }
24317 -Wmissing-declarations -Wredundant-decls -Wundef
24318 -Wwrite-strings -Wformat-nonliteral -Wformat-security
24319 -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
24320 -Wno-multichar" != "x"
24324 -Wmissing-declarations -Wredundant-decls -Wundef
24325 -Wwrite-strings -Wformat-nonliteral -Wformat-security
24326 -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
24333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands $each" >&5
24334 $as_echo_n "checking to see if c++ compiler understands $each... " >&6; }
24336 save_CPPFLAGS="$CPPFLAGS"
24337 CPPFLAGS="$CPPFLAGS $each"
24340 ac_cpp='$CXXCPP $CPPFLAGS'
24341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24347 /* end confdefs.h. */
24357 if ac_fn_cxx_try_compile "$LINENO"; then :
24362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24363 CPPFLAGS="$save_CPPFLAGS"
24365 if test "X$flag_ok" = Xyes ; then
24366 WARNING_CXXFLAGS="$WARNING_CXXFLAGS $each"
24369 UNSUPPORTED="$UNSUPPORTED $each"
24374 ac_cpp='$CPP $CPPFLAGS'
24375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
24381 $as_echo "$flag_ok" >&6; }
24384 if test "X$UNSUPPORTED" != X ; then
24385 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
24386 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
24392 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&5
24393 $as_echo "$as_me: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&6;}
24394 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&5
24395 $as_echo "$as_me: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&6;}
24399 if test "x$GST_GIT" = "xyes"; then
24400 GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
24402 GST_LEVEL_DEFAULT=GST_LEVEL_NONE
24405 cat >>confdefs.h <<_ACEOF
24406 #define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
24413 DEFAULT_AUDIOSINK="autoaudiosink"
24414 DEFAULT_VIDEOSINK="autovideosink"
24415 DEFAULT_AUDIOSRC="alsasrc"
24416 DEFAULT_VIDEOSRC="v4l2src"
24417 DEFAULT_VISUALIZER="goom"
24419 *-sun-* | *pc-solaris* )
24420 DEFAULT_AUDIOSRC="sunaudiosrc"
24423 DEFAULT_AUDIOSRC="osxaudiosrc"
24428 # Check whether --with-default-audiosink was given.
24429 if test "${with_default_audiosink+set}" = set; then :
24430 withval=$with_default_audiosink;
24431 case "${withval}" in
24432 yes) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
24433 no) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
24434 *) DEFAULT_AUDIOSINK="${withval}" ;;
24439 DEFAULT_AUDIOSINK="$DEFAULT_AUDIOSINK"
24443 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSINK as default audio sink" >&5
24444 $as_echo "$as_me: Using $DEFAULT_AUDIOSINK as default audio sink" >&6;}
24447 cat >>confdefs.h <<_ACEOF
24448 #define DEFAULT_AUDIOSINK "$DEFAULT_AUDIOSINK"
24453 # Check whether --with-default-audiosrc was given.
24454 if test "${with_default_audiosrc+set}" = set; then :
24455 withval=$with_default_audiosrc;
24456 case "${withval}" in
24457 yes) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
24458 no) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
24459 *) DEFAULT_AUDIOSRC="${withval}" ;;
24464 DEFAULT_AUDIOSRC="$DEFAULT_AUDIOSRC"
24468 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSRC as default audio source" >&5
24469 $as_echo "$as_me: Using $DEFAULT_AUDIOSRC as default audio source" >&6;}
24472 cat >>confdefs.h <<_ACEOF
24473 #define DEFAULT_AUDIOSRC "$DEFAULT_AUDIOSRC"
24478 # Check whether --with-default-videosink was given.
24479 if test "${with_default_videosink+set}" = set; then :
24480 withval=$with_default_videosink;
24481 case "${withval}" in
24482 yes) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
24483 no) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
24484 *) DEFAULT_VIDEOSINK="${withval}" ;;
24489 DEFAULT_VIDEOSINK="$DEFAULT_VIDEOSINK"
24493 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSINK as default video sink" >&5
24494 $as_echo "$as_me: Using $DEFAULT_VIDEOSINK as default video sink" >&6;}
24497 cat >>confdefs.h <<_ACEOF
24498 #define DEFAULT_VIDEOSINK "$DEFAULT_VIDEOSINK"
24503 # Check whether --with-default-videosrc was given.
24504 if test "${with_default_videosrc+set}" = set; then :
24505 withval=$with_default_videosrc;
24506 case "${withval}" in
24507 yes) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
24508 no) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
24509 *) DEFAULT_VIDEOSRC="${withval}" ;;
24514 DEFAULT_VIDEOSRC="$DEFAULT_VIDEOSRC"
24518 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSRC as default video source" >&5
24519 $as_echo "$as_me: Using $DEFAULT_VIDEOSRC as default video source" >&6;}
24522 cat >>confdefs.h <<_ACEOF
24523 #define DEFAULT_VIDEOSRC "$DEFAULT_VIDEOSRC"
24528 # Check whether --with-default-visualizer was given.
24529 if test "${with_default_visualizer+set}" = set; then :
24530 withval=$with_default_visualizer;
24531 case "${withval}" in
24532 yes) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
24533 no) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
24534 *) DEFAULT_VISUALIZER="${withval}" ;;
24539 DEFAULT_VISUALIZER="$DEFAULT_VISUALIZER"
24543 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VISUALIZER as default visualizer" >&5
24544 $as_echo "$as_me: Using $DEFAULT_VISUALIZER as default visualizer" >&6;}
24547 cat >>confdefs.h <<_ACEOF
24548 #define DEFAULT_VISUALIZER "$DEFAULT_VISUALIZER"
24553 GST_DATADIR="$GST_PREFIX/share"
24555 cat >>confdefs.h <<_ACEOF
24556 #define GST_DATADIR "$GST_DATADIR"
24560 cat >>confdefs.h <<_ACEOF
24561 #define GST_MAJORMINOR "$GST_MAJORMINOR"
24565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which audio resample format to use for integer" >&5
24566 $as_echo_n "checking which audio resample format to use for integer... " >&6; }
24568 # Check whether --with-audioresample_format was given.
24569 if test "${with_audioresample_format+set}" = set; then :
24570 withval=$with_audioresample_format; ac_cv_audioresample_format=$withval
24572 ac_cv_audioresample_format=auto
24574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_audioresample_format" >&5
24575 $as_echo "$ac_cv_audioresample_format" >&6; }
24576 case $ac_cv_audioresample_format in
24579 $as_echo "#define AUDIORESAMPLE_FORMAT_INT 1" >>confdefs.h
24585 $as_echo "#define AUDIORESAMPLE_FORMAT_FLOAT 1" >>confdefs.h
24591 $as_echo "#define AUDIORESAMPLE_FORMAT_AUTO 1" >>confdefs.h
24598 GST_PLUGINS_ALL="$GST_PLUGINS_ALL adder"
24602 # Check whether --enable-adder was given.
24603 if test "${enable_adder+set}" = set; then :
24604 enableval=$enable_adder;
24605 case "${enableval}" in
24606 yes) gst_use_adder=yes ;;
24607 no) gst_use_adder=no ;;
24608 *) as_fn_error $? "bad value ${enableval} for --enable-adder" "$LINENO" 5 ;;
24615 if test x$gst_use_adder = xno; then
24616 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin adder" >&5
24617 $as_echo "$as_me: disabling dependency-less plugin adder" >&6;}
24618 WITHOUT_PLUGINS="$WITHOUT_PLUGINS adder"
24622 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " adder " > /dev/null; then
24623 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED adder"
24625 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " adder " > /dev/null; then
24626 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ adder / /'`
24628 if echo " $GST_PLUGINS_SELECTED " | grep -i " adder " > /dev/null; then
24629 USE_PLUGIN_ADDER_TRUE=
24630 USE_PLUGIN_ADDER_FALSE='#'
24632 USE_PLUGIN_ADDER_TRUE='#'
24633 USE_PLUGIN_ADDER_FALSE=
24638 GST_PLUGINS_ALL="$GST_PLUGINS_ALL app"
24642 # Check whether --enable-app was given.
24643 if test "${enable_app+set}" = set; then :
24644 enableval=$enable_app;
24645 case "${enableval}" in
24646 yes) gst_use_app=yes ;;
24647 no) gst_use_app=no ;;
24648 *) as_fn_error $? "bad value ${enableval} for --enable-app" "$LINENO" 5 ;;
24655 if test x$gst_use_app = xno; then
24656 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin app" >&5
24657 $as_echo "$as_me: disabling dependency-less plugin app" >&6;}
24658 WITHOUT_PLUGINS="$WITHOUT_PLUGINS app"
24662 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " app " > /dev/null; then
24663 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED app"
24665 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " app " > /dev/null; then
24666 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ app / /'`
24668 if echo " $GST_PLUGINS_SELECTED " | grep -i " app " > /dev/null; then
24669 USE_PLUGIN_APP_TRUE=
24670 USE_PLUGIN_APP_FALSE='#'
24672 USE_PLUGIN_APP_TRUE='#'
24673 USE_PLUGIN_APP_FALSE=
24678 GST_PLUGINS_ALL="$GST_PLUGINS_ALL audioconvert"
24682 # Check whether --enable-audioconvert was given.
24683 if test "${enable_audioconvert+set}" = set; then :
24684 enableval=$enable_audioconvert;
24685 case "${enableval}" in
24686 yes) gst_use_audioconvert=yes ;;
24687 no) gst_use_audioconvert=no ;;
24688 *) as_fn_error $? "bad value ${enableval} for --enable-audioconvert" "$LINENO" 5 ;;
24692 gst_use_audioconvert=yes
24695 if test x$gst_use_audioconvert = xno; then
24696 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audioconvert" >&5
24697 $as_echo "$as_me: disabling dependency-less plugin audioconvert" >&6;}
24698 WITHOUT_PLUGINS="$WITHOUT_PLUGINS audioconvert"
24702 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audioconvert " > /dev/null; then
24703 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audioconvert"
24705 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audioconvert " > /dev/null; then
24706 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audioconvert / /'`
24708 if echo " $GST_PLUGINS_SELECTED " | grep -i " audioconvert " > /dev/null; then
24709 USE_PLUGIN_AUDIOCONVERT_TRUE=
24710 USE_PLUGIN_AUDIOCONVERT_FALSE='#'
24712 USE_PLUGIN_AUDIOCONVERT_TRUE='#'
24713 USE_PLUGIN_AUDIOCONVERT_FALSE=
24718 GST_PLUGINS_ALL="$GST_PLUGINS_ALL audiorate"
24722 # Check whether --enable-audiorate was given.
24723 if test "${enable_audiorate+set}" = set; then :
24724 enableval=$enable_audiorate;
24725 case "${enableval}" in
24726 yes) gst_use_audiorate=yes ;;
24727 no) gst_use_audiorate=no ;;
24728 *) as_fn_error $? "bad value ${enableval} for --enable-audiorate" "$LINENO" 5 ;;
24732 gst_use_audiorate=yes
24735 if test x$gst_use_audiorate = xno; then
24736 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audiorate" >&5
24737 $as_echo "$as_me: disabling dependency-less plugin audiorate" >&6;}
24738 WITHOUT_PLUGINS="$WITHOUT_PLUGINS audiorate"
24742 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audiorate " > /dev/null; then
24743 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audiorate"
24745 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audiorate " > /dev/null; then
24746 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audiorate / /'`
24748 if echo " $GST_PLUGINS_SELECTED " | grep -i " audiorate " > /dev/null; then
24749 USE_PLUGIN_AUDIORATE_TRUE=
24750 USE_PLUGIN_AUDIORATE_FALSE='#'
24752 USE_PLUGIN_AUDIORATE_TRUE='#'
24753 USE_PLUGIN_AUDIORATE_FALSE=
24758 GST_PLUGINS_ALL="$GST_PLUGINS_ALL audiotestsrc"
24762 # Check whether --enable-audiotestsrc was given.
24763 if test "${enable_audiotestsrc+set}" = set; then :
24764 enableval=$enable_audiotestsrc;
24765 case "${enableval}" in
24766 yes) gst_use_audiotestsrc=yes ;;
24767 no) gst_use_audiotestsrc=no ;;
24768 *) as_fn_error $? "bad value ${enableval} for --enable-audiotestsrc" "$LINENO" 5 ;;
24772 gst_use_audiotestsrc=yes
24775 if test x$gst_use_audiotestsrc = xno; then
24776 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audiotestsrc" >&5
24777 $as_echo "$as_me: disabling dependency-less plugin audiotestsrc" >&6;}
24778 WITHOUT_PLUGINS="$WITHOUT_PLUGINS audiotestsrc"
24782 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audiotestsrc " > /dev/null; then
24783 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audiotestsrc"
24785 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audiotestsrc " > /dev/null; then
24786 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audiotestsrc / /'`
24788 if echo " $GST_PLUGINS_SELECTED " | grep -i " audiotestsrc " > /dev/null; then
24789 USE_PLUGIN_AUDIOTESTSRC_TRUE=
24790 USE_PLUGIN_AUDIOTESTSRC_FALSE='#'
24792 USE_PLUGIN_AUDIOTESTSRC_TRUE='#'
24793 USE_PLUGIN_AUDIOTESTSRC_FALSE=
24798 GST_PLUGINS_ALL="$GST_PLUGINS_ALL encoding"
24802 # Check whether --enable-encoding was given.
24803 if test "${enable_encoding+set}" = set; then :
24804 enableval=$enable_encoding;
24805 case "${enableval}" in
24806 yes) gst_use_encoding=yes ;;
24807 no) gst_use_encoding=no ;;
24808 *) as_fn_error $? "bad value ${enableval} for --enable-encoding" "$LINENO" 5 ;;
24812 gst_use_encoding=yes
24815 if test x$gst_use_encoding = xno; then
24816 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin encoding" >&5
24817 $as_echo "$as_me: disabling dependency-less plugin encoding" >&6;}
24818 WITHOUT_PLUGINS="$WITHOUT_PLUGINS encoding"
24822 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " encoding " > /dev/null; then
24823 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED encoding"
24825 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " encoding " > /dev/null; then
24826 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ encoding / /'`
24828 if echo " $GST_PLUGINS_SELECTED " | grep -i " encoding " > /dev/null; then
24829 USE_PLUGIN_ENCODING_TRUE=
24830 USE_PLUGIN_ENCODING_FALSE='#'
24832 USE_PLUGIN_ENCODING_TRUE='#'
24833 USE_PLUGIN_ENCODING_FALSE=
24838 GST_PLUGINS_ALL="$GST_PLUGINS_ALL ffmpegcolorspace"
24842 # Check whether --enable-ffmpegcolorspace was given.
24843 if test "${enable_ffmpegcolorspace+set}" = set; then :
24844 enableval=$enable_ffmpegcolorspace;
24845 case "${enableval}" in
24846 yes) gst_use_ffmpegcolorspace=yes ;;
24847 no) gst_use_ffmpegcolorspace=no ;;
24848 *) as_fn_error $? "bad value ${enableval} for --enable-ffmpegcolorspace" "$LINENO" 5 ;;
24852 gst_use_ffmpegcolorspace=yes
24855 if test x$gst_use_ffmpegcolorspace = xno; then
24856 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin ffmpegcolorspace" >&5
24857 $as_echo "$as_me: disabling dependency-less plugin ffmpegcolorspace" >&6;}
24858 WITHOUT_PLUGINS="$WITHOUT_PLUGINS ffmpegcolorspace"
24862 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " ffmpegcolorspace " > /dev/null; then
24863 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED ffmpegcolorspace"
24865 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " ffmpegcolorspace " > /dev/null; then
24866 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ ffmpegcolorspace / /'`
24868 if echo " $GST_PLUGINS_SELECTED " | grep -i " ffmpegcolorspace " > /dev/null; then
24869 USE_PLUGIN_FFMPEGCOLORSPACE_TRUE=
24870 USE_PLUGIN_FFMPEGCOLORSPACE_FALSE='#'
24872 USE_PLUGIN_FFMPEGCOLORSPACE_TRUE='#'
24873 USE_PLUGIN_FFMPEGCOLORSPACE_FALSE=
24878 GST_PLUGINS_ALL="$GST_PLUGINS_ALL gdp"
24882 # Check whether --enable-gdp was given.
24883 if test "${enable_gdp+set}" = set; then :
24884 enableval=$enable_gdp;
24885 case "${enableval}" in
24886 yes) gst_use_gdp=yes ;;
24887 no) gst_use_gdp=no ;;
24888 *) as_fn_error $? "bad value ${enableval} for --enable-gdp" "$LINENO" 5 ;;
24895 if test x$gst_use_gdp = xno; then
24896 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin gdp" >&5
24897 $as_echo "$as_me: disabling dependency-less plugin gdp" >&6;}
24898 WITHOUT_PLUGINS="$WITHOUT_PLUGINS gdp"
24902 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " gdp " > /dev/null; then
24903 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED gdp"
24905 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " gdp " > /dev/null; then
24906 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ gdp / /'`
24908 if echo " $GST_PLUGINS_SELECTED " | grep -i " gdp " > /dev/null; then
24909 USE_PLUGIN_GDP_TRUE=
24910 USE_PLUGIN_GDP_FALSE='#'
24912 USE_PLUGIN_GDP_TRUE='#'
24913 USE_PLUGIN_GDP_FALSE=
24918 GST_PLUGINS_ALL="$GST_PLUGINS_ALL playback"
24922 # Check whether --enable-playback was given.
24923 if test "${enable_playback+set}" = set; then :
24924 enableval=$enable_playback;
24925 case "${enableval}" in
24926 yes) gst_use_playback=yes ;;
24927 no) gst_use_playback=no ;;
24928 *) as_fn_error $? "bad value ${enableval} for --enable-playback" "$LINENO" 5 ;;
24932 gst_use_playback=yes
24935 if test x$gst_use_playback = xno; then
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin playback" >&5
24937 $as_echo "$as_me: disabling dependency-less plugin playback" >&6;}
24938 WITHOUT_PLUGINS="$WITHOUT_PLUGINS playback"
24942 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " playback " > /dev/null; then
24943 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED playback"
24945 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " playback " > /dev/null; then
24946 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ playback / /'`
24948 if echo " $GST_PLUGINS_SELECTED " | grep -i " playback " > /dev/null; then
24949 USE_PLUGIN_PLAYBACK_TRUE=
24950 USE_PLUGIN_PLAYBACK_FALSE='#'
24952 USE_PLUGIN_PLAYBACK_TRUE='#'
24953 USE_PLUGIN_PLAYBACK_FALSE=
24958 GST_PLUGINS_ALL="$GST_PLUGINS_ALL audioresample"
24962 # Check whether --enable-audioresample was given.
24963 if test "${enable_audioresample+set}" = set; then :
24964 enableval=$enable_audioresample;
24965 case "${enableval}" in
24966 yes) gst_use_audioresample=yes ;;
24967 no) gst_use_audioresample=no ;;
24968 *) as_fn_error $? "bad value ${enableval} for --enable-audioresample" "$LINENO" 5 ;;
24972 gst_use_audioresample=yes
24975 if test x$gst_use_audioresample = xno; then
24976 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin audioresample" >&5
24977 $as_echo "$as_me: disabling dependency-less plugin audioresample" >&6;}
24978 WITHOUT_PLUGINS="$WITHOUT_PLUGINS audioresample"
24982 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " audioresample " > /dev/null; then
24983 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED audioresample"
24985 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " audioresample " > /dev/null; then
24986 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ audioresample / /'`
24988 if echo " $GST_PLUGINS_SELECTED " | grep -i " audioresample " > /dev/null; then
24989 USE_PLUGIN_AUDIORESAMPLE_TRUE=
24990 USE_PLUGIN_AUDIORESAMPLE_FALSE='#'
24992 USE_PLUGIN_AUDIORESAMPLE_TRUE='#'
24993 USE_PLUGIN_AUDIORESAMPLE_FALSE=
24998 GST_PLUGINS_ALL="$GST_PLUGINS_ALL subparse"
25002 # Check whether --enable-subparse was given.
25003 if test "${enable_subparse+set}" = set; then :
25004 enableval=$enable_subparse;
25005 case "${enableval}" in
25006 yes) gst_use_subparse=yes ;;
25007 no) gst_use_subparse=no ;;
25008 *) as_fn_error $? "bad value ${enableval} for --enable-subparse" "$LINENO" 5 ;;
25012 gst_use_subparse=yes
25015 if test x$gst_use_subparse = xno; then
25016 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin subparse" >&5
25017 $as_echo "$as_me: disabling dependency-less plugin subparse" >&6;}
25018 WITHOUT_PLUGINS="$WITHOUT_PLUGINS subparse"
25022 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " subparse " > /dev/null; then
25023 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED subparse"
25025 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " subparse " > /dev/null; then
25026 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ subparse / /'`
25028 if echo " $GST_PLUGINS_SELECTED " | grep -i " subparse " > /dev/null; then
25029 USE_PLUGIN_SUBPARSE_TRUE=
25030 USE_PLUGIN_SUBPARSE_FALSE='#'
25032 USE_PLUGIN_SUBPARSE_TRUE='#'
25033 USE_PLUGIN_SUBPARSE_FALSE=
25038 GST_PLUGINS_ALL="$GST_PLUGINS_ALL tcp"
25042 # Check whether --enable-tcp was given.
25043 if test "${enable_tcp+set}" = set; then :
25044 enableval=$enable_tcp;
25045 case "${enableval}" in
25046 yes) gst_use_tcp=yes ;;
25047 no) gst_use_tcp=no ;;
25048 *) as_fn_error $? "bad value ${enableval} for --enable-tcp" "$LINENO" 5 ;;
25055 if test x$gst_use_tcp = xno; then
25056 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin tcp" >&5
25057 $as_echo "$as_me: disabling dependency-less plugin tcp" >&6;}
25058 WITHOUT_PLUGINS="$WITHOUT_PLUGINS tcp"
25062 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " tcp " > /dev/null; then
25063 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED tcp"
25065 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " tcp " > /dev/null; then
25066 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ tcp / /'`
25068 if echo " $GST_PLUGINS_SELECTED " | grep -i " tcp " > /dev/null; then
25069 USE_PLUGIN_TCP_TRUE=
25070 USE_PLUGIN_TCP_FALSE='#'
25072 USE_PLUGIN_TCP_TRUE='#'
25073 USE_PLUGIN_TCP_FALSE=
25078 GST_PLUGINS_ALL="$GST_PLUGINS_ALL typefind"
25082 # Check whether --enable-typefind was given.
25083 if test "${enable_typefind+set}" = set; then :
25084 enableval=$enable_typefind;
25085 case "${enableval}" in
25086 yes) gst_use_typefind=yes ;;
25087 no) gst_use_typefind=no ;;
25088 *) as_fn_error $? "bad value ${enableval} for --enable-typefind" "$LINENO" 5 ;;
25092 gst_use_typefind=yes
25095 if test x$gst_use_typefind = xno; then
25096 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin typefind" >&5
25097 $as_echo "$as_me: disabling dependency-less plugin typefind" >&6;}
25098 WITHOUT_PLUGINS="$WITHOUT_PLUGINS typefind"
25102 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " typefind " > /dev/null; then
25103 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED typefind"
25105 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " typefind " > /dev/null; then
25106 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ typefind / /'`
25108 if echo " $GST_PLUGINS_SELECTED " | grep -i " typefind " > /dev/null; then
25109 USE_PLUGIN_TYPEFIND_TRUE=
25110 USE_PLUGIN_TYPEFIND_FALSE='#'
25112 USE_PLUGIN_TYPEFIND_TRUE='#'
25113 USE_PLUGIN_TYPEFIND_FALSE=
25118 GST_PLUGINS_ALL="$GST_PLUGINS_ALL videotestsrc"
25122 # Check whether --enable-videotestsrc was given.
25123 if test "${enable_videotestsrc+set}" = set; then :
25124 enableval=$enable_videotestsrc;
25125 case "${enableval}" in
25126 yes) gst_use_videotestsrc=yes ;;
25127 no) gst_use_videotestsrc=no ;;
25128 *) as_fn_error $? "bad value ${enableval} for --enable-videotestsrc" "$LINENO" 5 ;;
25132 gst_use_videotestsrc=yes
25135 if test x$gst_use_videotestsrc = xno; then
25136 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videotestsrc" >&5
25137 $as_echo "$as_me: disabling dependency-less plugin videotestsrc" >&6;}
25138 WITHOUT_PLUGINS="$WITHOUT_PLUGINS videotestsrc"
25142 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videotestsrc " > /dev/null; then
25143 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videotestsrc"
25145 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videotestsrc " > /dev/null; then
25146 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videotestsrc / /'`
25148 if echo " $GST_PLUGINS_SELECTED " | grep -i " videotestsrc " > /dev/null; then
25149 USE_PLUGIN_VIDEOTESTSRC_TRUE=
25150 USE_PLUGIN_VIDEOTESTSRC_FALSE='#'
25152 USE_PLUGIN_VIDEOTESTSRC_TRUE='#'
25153 USE_PLUGIN_VIDEOTESTSRC_FALSE=
25158 GST_PLUGINS_ALL="$GST_PLUGINS_ALL videorate"
25162 # Check whether --enable-videorate was given.
25163 if test "${enable_videorate+set}" = set; then :
25164 enableval=$enable_videorate;
25165 case "${enableval}" in
25166 yes) gst_use_videorate=yes ;;
25167 no) gst_use_videorate=no ;;
25168 *) as_fn_error $? "bad value ${enableval} for --enable-videorate" "$LINENO" 5 ;;
25172 gst_use_videorate=yes
25175 if test x$gst_use_videorate = xno; then
25176 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videorate" >&5
25177 $as_echo "$as_me: disabling dependency-less plugin videorate" >&6;}
25178 WITHOUT_PLUGINS="$WITHOUT_PLUGINS videorate"
25182 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videorate " > /dev/null; then
25183 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videorate"
25185 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videorate " > /dev/null; then
25186 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videorate / /'`
25188 if echo " $GST_PLUGINS_SELECTED " | grep -i " videorate " > /dev/null; then
25189 USE_PLUGIN_VIDEORATE_TRUE=
25190 USE_PLUGIN_VIDEORATE_FALSE='#'
25192 USE_PLUGIN_VIDEORATE_TRUE='#'
25193 USE_PLUGIN_VIDEORATE_FALSE=
25198 GST_PLUGINS_ALL="$GST_PLUGINS_ALL videoscale"
25202 # Check whether --enable-videoscale was given.
25203 if test "${enable_videoscale+set}" = set; then :
25204 enableval=$enable_videoscale;
25205 case "${enableval}" in
25206 yes) gst_use_videoscale=yes ;;
25207 no) gst_use_videoscale=no ;;
25208 *) as_fn_error $? "bad value ${enableval} for --enable-videoscale" "$LINENO" 5 ;;
25212 gst_use_videoscale=yes
25215 if test x$gst_use_videoscale = xno; then
25216 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videoscale" >&5
25217 $as_echo "$as_me: disabling dependency-less plugin videoscale" >&6;}
25218 WITHOUT_PLUGINS="$WITHOUT_PLUGINS videoscale"
25222 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " videoscale " > /dev/null; then
25223 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED videoscale"
25225 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " videoscale " > /dev/null; then
25226 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ videoscale / /'`
25228 if echo " $GST_PLUGINS_SELECTED " | grep -i " videoscale " > /dev/null; then
25229 USE_PLUGIN_VIDEOSCALE_TRUE=
25230 USE_PLUGIN_VIDEOSCALE_FALSE='#'
25232 USE_PLUGIN_VIDEOSCALE_TRUE='#'
25233 USE_PLUGIN_VIDEOSCALE_FALSE=
25238 GST_PLUGINS_ALL="$GST_PLUGINS_ALL volume"
25242 # Check whether --enable-volume was given.
25243 if test "${enable_volume+set}" = set; then :
25244 enableval=$enable_volume;
25245 case "${enableval}" in
25246 yes) gst_use_volume=yes ;;
25247 no) gst_use_volume=no ;;
25248 *) as_fn_error $? "bad value ${enableval} for --enable-volume" "$LINENO" 5 ;;
25255 if test x$gst_use_volume = xno; then
25256 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin volume" >&5
25257 $as_echo "$as_me: disabling dependency-less plugin volume" >&6;}
25258 WITHOUT_PLUGINS="$WITHOUT_PLUGINS volume"
25262 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " volume " > /dev/null; then
25263 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED volume"
25265 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " volume " > /dev/null; then
25266 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ volume / /'`
25268 if echo " $GST_PLUGINS_SELECTED " | grep -i " volume " > /dev/null; then
25269 USE_PLUGIN_VOLUME_TRUE=
25270 USE_PLUGIN_VOLUME_FALSE='#'
25272 USE_PLUGIN_VOLUME_TRUE='#'
25273 USE_PLUGIN_VOLUME_FALSE=
25278 GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir gstreamer-0.10`"/gst/gstconfig.h"
25281 grep >/dev/null "#undef GST_DISABLE_GST_DEBUG" $GST_CONFIGPATH
25282 if test $? = 0; then
25283 GST_DISABLE_GST_DEBUG=0
25285 GST_DISABLE_GST_DEBUG=1
25290 grep >/dev/null "#undef GST_DISABLE_LOADSAVE" $GST_CONFIGPATH
25291 if test $? = 0; then
25292 GST_DISABLE_LOADSAVE=0
25294 GST_DISABLE_LOADSAVE=1
25299 grep >/dev/null "#undef GST_DISABLE_PARSE" $GST_CONFIGPATH
25300 if test $? = 0; then
25301 GST_DISABLE_PARSE=0
25303 GST_DISABLE_PARSE=1
25308 grep >/dev/null "#undef GST_DISABLE_TRACE" $GST_CONFIGPATH
25309 if test $? = 0; then
25310 GST_DISABLE_TRACE=0
25312 GST_DISABLE_TRACE=1
25317 grep >/dev/null "#undef GST_DISABLE_ALLOC_TRACE" $GST_CONFIGPATH
25318 if test $? = 0; then
25319 GST_DISABLE_ALLOC_TRACE=0
25321 GST_DISABLE_ALLOC_TRACE=1
25326 grep >/dev/null "#undef GST_DISABLE_REGISTRY" $GST_CONFIGPATH
25327 if test $? = 0; then
25328 GST_DISABLE_REGISTRY=0
25330 GST_DISABLE_REGISTRY=1
25335 grep >/dev/null "#undef GST_DISABLE_PLUGIN" $GST_CONFIGPATH
25336 if test $? = 0; then
25337 GST_DISABLE_PLUGIN=0
25339 GST_DISABLE_PLUGIN=1
25344 grep >/dev/null "#undef GST_DISABLE_XML" $GST_CONFIGPATH
25345 if test $? = 0; then
25353 if test $GST_DISABLE_XML != "1"; then
25362 if test "x$HAVE_LIBXML_HTML" != "xyes"; then
25364 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ subparse / /'`
25366 USE_PLUGIN_SUBPARSE_TRUE=
25367 USE_PLUGIN_SUBPARSE_FALSE='#'
25369 USE_PLUGIN_SUBPARSE_TRUE='#'
25370 USE_PLUGIN_SUBPARSE_FALSE=
25376 if test "x$HAVE_SYS_SOCKET_H" != "xyes"; then
25378 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ tcp / /'`
25380 USE_PLUGIN_TCP_TRUE=
25381 USE_PLUGIN_TCP_FALSE='#'
25383 USE_PLUGIN_TCP_TRUE='#'
25384 USE_PLUGIN_TCP_FALSE=
25390 # Check whether --enable-iso-codes was given.
25391 if test "${enable_iso_codes+set}" = set; then :
25392 enableval=$enable_iso_codes; case "${enableval}" in
25393 yes) enable_iso_codes=yes ;;
25394 no) enable_iso_codes=no ;;
25395 *) as_fn_error $? "bad value ${enableval} for --enable-iso-codes" "$LINENO" 5 ;;
25399 enable_iso_codes=yes
25402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use iso-codes if they are available" >&5
25403 $as_echo_n "checking whether to use iso-codes if they are available... " >&6; }
25404 if test "x$enable_iso_codes" = "xyes"; then
25405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25406 $as_echo "yes" >&6; }
25408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iso-codes are available on this system" >&5
25409 $as_echo_n "checking whether iso-codes are available on this system... " >&6; }
25410 if $PKG_CONFIG iso-codes; then
25411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25412 $as_echo "yes" >&6; }
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iso-codes has iso-639 domain" >&5
25414 $as_echo_n "checking whether iso-codes has iso-639 domain... " >&6; }
25415 if $PKG_CONFIG --variable=domains iso-codes | $GREP -q 639 ; then
25416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25417 $as_echo "yes" >&6; }
25418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iso-codes prefix" >&5
25419 $as_echo_n "checking for iso-codes prefix... " >&6; }
25420 ISO_CODES_PREFIX=`$PKG_CONFIG --variable=prefix iso-codes`
25421 if test -d "$ISO_CODES_PREFIX"; then
25422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25423 $as_echo "yes" >&6; }
25424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ISO_CODES_PREFIX" >&5
25425 $as_echo_n "checking ISO_CODES_PREFIX... " >&6; }
25426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO_CODES_PREFIX" >&5
25427 $as_echo "$ISO_CODES_PREFIX" >&6; }
25428 ISO_639_DOMAIN="iso_639"
25429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ISO_639_DOMAIN" >&5
25430 $as_echo_n "checking ISO_639_DOMAIN... " >&6; }
25431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISO_639_DOMAIN" >&5
25432 $as_echo "$ISO_639_DOMAIN" >&6; }
25435 $as_echo "#define HAVE_ISO_CODES 1" >>confdefs.h
25438 cat >>confdefs.h <<_ACEOF
25439 #define ISO_CODES_PREFIX "$ISO_CODES_PREFIX"
25442 ISO_CODES_VERSION=`$PKG_CONFIG --modversion iso-codes`
25444 cat >>confdefs.h <<_ACEOF
25445 #define ISO_CODES_VERSION "$ISO_CODES_VERSION"
25449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25450 $as_echo "no" >&6; }
25453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25454 $as_echo "no" >&6; }
25457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25458 $as_echo "no" >&6; }
25460 if test "x$have_iso_codes" = "xyes"; then
25461 USE_ISO_CODES_TRUE=
25462 USE_ISO_CODES_FALSE='#'
25464 USE_ISO_CODES_TRUE='#'
25465 USE_ISO_CODES_FALSE=
25469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (disabled via --disable-iso-codes)" >&5
25470 $as_echo "no (disabled via --disable-iso-codes)" >&6; }
25472 USE_ISO_CODES_TRUE=
25473 USE_ISO_CODES_FALSE='#'
25475 USE_ISO_CODES_TRUE='#'
25476 USE_ISO_CODES_FALSE=
25483 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking libraries for plugins in sys/" >&5
25484 $as_echo "$as_me: Checking libraries for plugins in sys/" >&6;}
25487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
25488 $as_echo_n "checking for X... " >&6; }
25491 # Check whether --with-x was given.
25492 if test "${with_x+set}" = set; then :
25496 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
25497 if test "x$with_x" = xno; then
25498 # The user explicitly disabled X.
25501 case $x_includes,$x_libraries in #(
25502 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
25503 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
25504 $as_echo_n "(cached) " >&6
25506 # One or both of the vars are not set, and there is no cached value.
25507 ac_x_includes=no ac_x_libraries=no
25508 rm -f -r conftest.dir
25509 if mkdir conftest.dir; then
25511 cat >Imakefile <<'_ACEOF'
25513 @echo incroot='${INCROOT}'
25515 @echo usrlibdir='${USRLIBDIR}'
25517 @echo libdir='${LIBDIR}'
25519 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
25520 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
25521 for ac_var in incroot usrlibdir libdir; do
25522 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
25524 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
25525 for ac_extension in a so sl dylib la dll; do
25526 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
25527 test -f "$ac_im_libdir/libX11.$ac_extension"; then
25528 ac_im_usrlibdir=$ac_im_libdir; break
25531 # Screen out bogus values from the imake configuration. They are
25532 # bogus both because they are the default anyway, and because
25533 # using them would break gcc on systems where it needs fixed includes.
25534 case $ac_im_incroot in
25535 /usr/include) ac_x_includes= ;;
25536 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
25538 case $ac_im_usrlibdir in
25539 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
25540 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
25544 rm -f -r conftest.dir
25547 # Standard set of common directories for X headers.
25548 # Check X11 before X11Rn because it is often a symlink to the current release.
25562 /usr/local/X11/include
25563 /usr/local/X11R7/include
25564 /usr/local/X11R6/include
25565 /usr/local/X11R5/include
25566 /usr/local/X11R4/include
25568 /usr/local/include/X11
25569 /usr/local/include/X11R7
25570 /usr/local/include/X11R6
25571 /usr/local/include/X11R5
25572 /usr/local/include/X11R4
25576 /usr/XFree86/include/X11
25580 /usr/unsupported/include
25581 /usr/athena/include
25582 /usr/local/x11r5/include
25583 /usr/lpp/Xamples/include
25585 /usr/openwin/include
25586 /usr/openwin/share/include'
25588 if test "$ac_x_includes" = no; then
25589 # Guess where to find include files, by looking for Xlib.h.
25590 # First, try using that file with no special directory specified.
25591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25592 /* end confdefs.h. */
25593 #include <X11/Xlib.h>
25595 if ac_fn_c_try_cpp "$LINENO"; then :
25596 # We can compile using X headers with no special include directory.
25599 for ac_dir in $ac_x_header_dirs; do
25600 if test -r "$ac_dir/X11/Xlib.h"; then
25601 ac_x_includes=$ac_dir
25606 rm -f conftest.err conftest.i conftest.$ac_ext
25607 fi # $ac_x_includes = no
25609 if test "$ac_x_libraries" = no; then
25610 # Check for the libraries.
25611 # See if we find them without any special options.
25612 # Don't add to $LIBS permanently.
25615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25616 /* end confdefs.h. */
25617 #include <X11/Xlib.h>
25626 if ac_fn_c_try_link "$LINENO"; then :
25628 # We can link X programs with no special library path.
25632 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
25634 # Don't even attempt the hair of trying to link an X program!
25635 for ac_extension in a so sl dylib la dll; do
25636 if test -r "$ac_dir/libX11.$ac_extension"; then
25637 ac_x_libraries=$ac_dir
25643 rm -f core conftest.err conftest.$ac_objext \
25644 conftest$ac_exeext conftest.$ac_ext
25645 fi # $ac_x_libraries = no
25647 case $ac_x_includes,$ac_x_libraries in #(
25648 no,* | *,no | *\'*)
25649 # Didn't find X, or a directory has "'" in its name.
25650 ac_cv_have_x="have_x=no";; #(
25652 # Record where we found X for the cache.
25653 ac_cv_have_x="have_x=yes\
25654 ac_x_includes='$ac_x_includes'\
25655 ac_x_libraries='$ac_x_libraries'"
25661 eval "$ac_cv_have_x"
25664 if test "$have_x" != yes; then
25665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25666 $as_echo "$have_x" >&6; }
25669 # If each of the values was on the command line, it overrides each guess.
25670 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25671 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25672 # Update the cache value to reflect the command line values.
25673 ac_cv_have_x="have_x=yes\
25674 ac_x_includes='$x_includes'\
25675 ac_x_libraries='$x_libraries'"
25676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25677 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25681 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X libraries and plugins ***" >&5
25682 $as_echo "$as_me: *** checking feature: X libraries and plugins ***" >&6;}
25683 if test "xximagesink" != "x"
25685 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ximagesink ***" >&5
25686 $as_echo "$as_me: *** for plug-ins: ximagesink ***" >&6;}
25689 if test "x$USE_X" = "xno"; then
25692 # Check whether --enable-x was given.
25693 if test "${enable_x+set}" = set; then :
25694 enableval=$enable_x; case "${enableval}" in
25697 *) as_fn_error $? "bad value ${enableval} for --enable-x" "$LINENO" 5 ;;
25703 if test "x$NOUSE" = "xyes"; then
25705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ximagesink pre-configured not to be built" >&5
25706 $as_echo "$as_me: WARNING: *** ximagesink pre-configured not to be built" >&2;}
25711 if test x$USE_X = xyes; then
25713 gst_check_save_LIBS=$LIBS
25714 gst_check_save_LDFLAGS=$LDFLAGS
25715 gst_check_save_CFLAGS=$CFLAGS
25716 gst_check_save_CPPFLAGS=$CPPFLAGS
25717 gst_check_save_CXXFLAGS=$CXXFLAGS
25721 if test "$no_x" = yes; then
25722 # Not all programs may use this symbol, but it does not hurt to define it.
25724 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25726 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25728 if test -n "$x_includes"; then
25729 X_CFLAGS="$X_CFLAGS -I$x_includes"
25732 # It would also be nice to do this for all -L options, not just this one.
25733 if test -n "$x_libraries"; then
25734 X_LIBS="$X_LIBS -L$x_libraries"
25735 # For Solaris; some versions of Sun CC require a space after -R and
25736 # others require no space. Words are not sufficient . . . .
25737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25738 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
25739 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25740 ac_xsave_c_werror_flag=$ac_c_werror_flag
25741 ac_c_werror_flag=yes
25742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25743 /* end confdefs.h. */
25753 if ac_fn_c_try_link "$LINENO"; then :
25754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25755 $as_echo "no" >&6; }
25756 X_LIBS="$X_LIBS -R$x_libraries"
25758 LIBS="$ac_xsave_LIBS -R $x_libraries"
25759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25760 /* end confdefs.h. */
25770 if ac_fn_c_try_link "$LINENO"; then :
25771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25772 $as_echo "yes" >&6; }
25773 X_LIBS="$X_LIBS -R $x_libraries"
25775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25776 $as_echo "neither works" >&6; }
25778 rm -f core conftest.err conftest.$ac_objext \
25779 conftest$ac_exeext conftest.$ac_ext
25781 rm -f core conftest.err conftest.$ac_objext \
25782 conftest$ac_exeext conftest.$ac_ext
25783 ac_c_werror_flag=$ac_xsave_c_werror_flag
25784 LIBS=$ac_xsave_LIBS
25787 # Check for system-dependent libraries X programs must link with.
25788 # Do this before checking for the system-independent R6 libraries
25789 # (-lICE), since we may need -lsocket or whatever for X linking.
25791 if test "$ISC" = yes; then
25792 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25794 # Martyn Johnson says this is needed for Ultrix, if the X
25795 # libraries were built with DECnet support. And Karl Berry says
25796 # the Alpha needs dnet_stub (dnet does not exist).
25797 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25799 /* end confdefs.h. */
25801 /* Override any GCC internal prototype to avoid an error.
25802 Use char because int might match the return type of a GCC
25803 builtin and then its argument prototype would still apply. */
25807 char XOpenDisplay ();
25811 return XOpenDisplay ();
25816 if ac_fn_c_try_link "$LINENO"; then :
25819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25820 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25821 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
25822 $as_echo_n "(cached) " >&6
25824 ac_check_lib_save_LIBS=$LIBS
25825 LIBS="-ldnet $LIBS"
25826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25827 /* end confdefs.h. */
25829 /* Override any GCC internal prototype to avoid an error.
25830 Use char because int might match the return type of a GCC
25831 builtin and then its argument prototype would still apply. */
25839 return dnet_ntoa ();
25844 if ac_fn_c_try_link "$LINENO"; then :
25845 ac_cv_lib_dnet_dnet_ntoa=yes
25847 ac_cv_lib_dnet_dnet_ntoa=no
25849 rm -f core conftest.err conftest.$ac_objext \
25850 conftest$ac_exeext conftest.$ac_ext
25851 LIBS=$ac_check_lib_save_LIBS
25853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25854 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25855 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
25856 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25859 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25861 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25862 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
25863 $as_echo_n "(cached) " >&6
25865 ac_check_lib_save_LIBS=$LIBS
25866 LIBS="-ldnet_stub $LIBS"
25867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25868 /* end confdefs.h. */
25870 /* Override any GCC internal prototype to avoid an error.
25871 Use char because int might match the return type of a GCC
25872 builtin and then its argument prototype would still apply. */
25880 return dnet_ntoa ();
25885 if ac_fn_c_try_link "$LINENO"; then :
25886 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25888 ac_cv_lib_dnet_stub_dnet_ntoa=no
25890 rm -f core conftest.err conftest.$ac_objext \
25891 conftest$ac_exeext conftest.$ac_ext
25892 LIBS=$ac_check_lib_save_LIBS
25894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25895 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25896 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
25897 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25902 rm -f core conftest.err conftest.$ac_objext \
25903 conftest$ac_exeext conftest.$ac_ext
25904 LIBS="$ac_xsave_LIBS"
25906 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25907 # to get the SysV transport functions.
25908 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25910 # The nsl library prevents programs from opening the X display
25911 # on Irix 5.2, according to T.E. Dickey.
25912 # The functions gethostbyname, getservbyname, and inet_addr are
25913 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25914 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25915 if test "x$ac_cv_func_gethostbyname" = x""yes; then :
25919 if test $ac_cv_func_gethostbyname = no; then
25920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25921 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25922 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
25923 $as_echo_n "(cached) " >&6
25925 ac_check_lib_save_LIBS=$LIBS
25927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25928 /* end confdefs.h. */
25930 /* Override any GCC internal prototype to avoid an error.
25931 Use char because int might match the return type of a GCC
25932 builtin and then its argument prototype would still apply. */
25936 char gethostbyname ();
25940 return gethostbyname ();
25945 if ac_fn_c_try_link "$LINENO"; then :
25946 ac_cv_lib_nsl_gethostbyname=yes
25948 ac_cv_lib_nsl_gethostbyname=no
25950 rm -f core conftest.err conftest.$ac_objext \
25951 conftest$ac_exeext conftest.$ac_ext
25952 LIBS=$ac_check_lib_save_LIBS
25954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25955 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25956 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
25957 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25960 if test $ac_cv_lib_nsl_gethostbyname = no; then
25961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25962 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25963 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
25964 $as_echo_n "(cached) " >&6
25966 ac_check_lib_save_LIBS=$LIBS
25968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25969 /* end confdefs.h. */
25971 /* Override any GCC internal prototype to avoid an error.
25972 Use char because int might match the return type of a GCC
25973 builtin and then its argument prototype would still apply. */
25977 char gethostbyname ();
25981 return gethostbyname ();
25986 if ac_fn_c_try_link "$LINENO"; then :
25987 ac_cv_lib_bsd_gethostbyname=yes
25989 ac_cv_lib_bsd_gethostbyname=no
25991 rm -f core conftest.err conftest.$ac_objext \
25992 conftest$ac_exeext conftest.$ac_ext
25993 LIBS=$ac_check_lib_save_LIBS
25995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25996 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25997 if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
25998 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26004 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26005 # socket/setsockopt and other routines are undefined under SCO ODT
26006 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26007 # on later versions), says Simon Leinen: it contains gethostby*
26008 # variants that don't use the name server (or something). -lsocket
26009 # must be given before -lnsl if both are needed. We assume that
26010 # if connect needs -lnsl, so does gethostbyname.
26011 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
26012 if test "x$ac_cv_func_connect" = x""yes; then :
26016 if test $ac_cv_func_connect = no; then
26017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
26018 $as_echo_n "checking for connect in -lsocket... " >&6; }
26019 if test "${ac_cv_lib_socket_connect+set}" = set; then :
26020 $as_echo_n "(cached) " >&6
26022 ac_check_lib_save_LIBS=$LIBS
26023 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
26024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26025 /* end confdefs.h. */
26027 /* Override any GCC internal prototype to avoid an error.
26028 Use char because int might match the return type of a GCC
26029 builtin and then its argument prototype would still apply. */
26042 if ac_fn_c_try_link "$LINENO"; then :
26043 ac_cv_lib_socket_connect=yes
26045 ac_cv_lib_socket_connect=no
26047 rm -f core conftest.err conftest.$ac_objext \
26048 conftest$ac_exeext conftest.$ac_ext
26049 LIBS=$ac_check_lib_save_LIBS
26051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
26052 $as_echo "$ac_cv_lib_socket_connect" >&6; }
26053 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
26054 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
26059 # Guillermo Gomez says -lposix is necessary on A/UX.
26060 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
26061 if test "x$ac_cv_func_remove" = x""yes; then :
26065 if test $ac_cv_func_remove = no; then
26066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
26067 $as_echo_n "checking for remove in -lposix... " >&6; }
26068 if test "${ac_cv_lib_posix_remove+set}" = set; then :
26069 $as_echo_n "(cached) " >&6
26071 ac_check_lib_save_LIBS=$LIBS
26072 LIBS="-lposix $LIBS"
26073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26074 /* end confdefs.h. */
26076 /* Override any GCC internal prototype to avoid an error.
26077 Use char because int might match the return type of a GCC
26078 builtin and then its argument prototype would still apply. */
26091 if ac_fn_c_try_link "$LINENO"; then :
26092 ac_cv_lib_posix_remove=yes
26094 ac_cv_lib_posix_remove=no
26096 rm -f core conftest.err conftest.$ac_objext \
26097 conftest$ac_exeext conftest.$ac_ext
26098 LIBS=$ac_check_lib_save_LIBS
26100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
26101 $as_echo "$ac_cv_lib_posix_remove" >&6; }
26102 if test "x$ac_cv_lib_posix_remove" = x""yes; then :
26103 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
26108 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26109 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
26110 if test "x$ac_cv_func_shmat" = x""yes; then :
26114 if test $ac_cv_func_shmat = no; then
26115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
26116 $as_echo_n "checking for shmat in -lipc... " >&6; }
26117 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
26118 $as_echo_n "(cached) " >&6
26120 ac_check_lib_save_LIBS=$LIBS
26122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26123 /* end confdefs.h. */
26125 /* Override any GCC internal prototype to avoid an error.
26126 Use char because int might match the return type of a GCC
26127 builtin and then its argument prototype would still apply. */
26140 if ac_fn_c_try_link "$LINENO"; then :
26141 ac_cv_lib_ipc_shmat=yes
26143 ac_cv_lib_ipc_shmat=no
26145 rm -f core conftest.err conftest.$ac_objext \
26146 conftest$ac_exeext conftest.$ac_ext
26147 LIBS=$ac_check_lib_save_LIBS
26149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
26150 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
26151 if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
26152 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26158 # Check for libraries that X11R6 Xt/Xaw programs need.
26159 ac_save_LDFLAGS=$LDFLAGS
26160 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26161 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26162 # check for ICE first), but we must link in the order -lSM -lICE or
26163 # we get undefined symbols. So assume we have SM if we have ICE.
26164 # These have to be linked with before -lX11, unlike the other
26165 # libraries we check for below, so use a different variable.
26166 # John Interrante, Karl Berry
26167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
26168 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
26169 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
26170 $as_echo_n "(cached) " >&6
26172 ac_check_lib_save_LIBS=$LIBS
26173 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
26174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26175 /* end confdefs.h. */
26177 /* Override any GCC internal prototype to avoid an error.
26178 Use char because int might match the return type of a GCC
26179 builtin and then its argument prototype would still apply. */
26183 char IceConnectionNumber ();
26187 return IceConnectionNumber ();
26192 if ac_fn_c_try_link "$LINENO"; then :
26193 ac_cv_lib_ICE_IceConnectionNumber=yes
26195 ac_cv_lib_ICE_IceConnectionNumber=no
26197 rm -f core conftest.err conftest.$ac_objext \
26198 conftest$ac_exeext conftest.$ac_ext
26199 LIBS=$ac_check_lib_save_LIBS
26201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26202 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
26203 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
26204 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26207 LDFLAGS=$ac_save_LDFLAGS
26211 ac_cflags_save="$CFLAGS"
26212 ac_cppflags_save="$CPPFLAGS"
26213 CFLAGS="$CFLAGS $X_CFLAGS"
26214 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
26216 ac_fn_c_check_header_mongrel "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "$ac_includes_default"
26217 if test "x$ac_cv_header_X11_Xlib_h" = x""yes; then :
26225 if test "x$HAVE_X" = "xno"
26227 { $as_echo "$as_me:${as_lineno-$LINENO}: cannot find X11 development files" >&5
26228 $as_echo "$as_me: cannot find X11 development files" >&6;}
26230 X_LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS"
26231 X_LIBS="$X_LIBS -lX11"
26236 CFLAGS="$ac_cflags_save"
26237 CPPFLAGS="$ac_cppflags_save"
26240 LIBS=$gst_check_save_LIBS
26241 LDFLAGS=$gst_check_save_LDFLAGS
26242 CFLAGS=$gst_check_save_CFLAGS
26243 CPPFLAGS=$gst_check_save_CPPFLAGS
26244 CXXFLAGS=$gst_check_save_CXXFLAGS
26246 if test x$HAVE_X = xno; then
26249 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ximagesink" >&5
26250 $as_echo "$as_me: *** These plugins will be built: ximagesink" >&6;}
26253 if test x$USE_X = xyes; then
26255 if test "xximagesink" != "x"; then
26256 GST_PLUGINS_YES="\tximagesink\n$GST_PLUGINS_YES"
26259 $as_echo "#define HAVE_X /**/" >>confdefs.h
26262 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ximagesink" >&5
26263 $as_echo "$as_me: *** These plugins will not be built: ximagesink" >&6;}
26264 if test "xximagesink" != "x"; then
26265 GST_PLUGINS_NO="\tximagesink\n$GST_PLUGINS_NO"
26269 if test x$USE_X = xyes; then
26280 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X11 XVideo extensions ***" >&5
26281 $as_echo "$as_me: *** checking feature: X11 XVideo extensions ***" >&6;}
26282 if test "xxvimagesink" != "x"
26284 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: xvimagesink ***" >&5
26285 $as_echo "$as_me: *** for plug-ins: xvimagesink ***" >&6;}
26288 if test "x$USE_XVIDEO" = "xno"; then
26291 # Check whether --enable-xvideo was given.
26292 if test "${enable_xvideo+set}" = set; then :
26293 enableval=$enable_xvideo; case "${enableval}" in
26294 yes) USE_XVIDEO=yes;;
26295 no) USE_XVIDEO=no;;
26296 *) as_fn_error $? "bad value ${enableval} for --enable-xvideo" "$LINENO" 5 ;;
26302 if test "x$NOUSE" = "xyes"; then
26304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** xvimagesink pre-configured not to be built" >&5
26305 $as_echo "$as_me: WARNING: *** xvimagesink pre-configured not to be built" >&2;}
26310 if test x$USE_XVIDEO = xyes; then
26312 gst_check_save_LIBS=$LIBS
26313 gst_check_save_LDFLAGS=$LDFLAGS
26314 gst_check_save_CFLAGS=$CFLAGS
26315 gst_check_save_CPPFLAGS=$CPPFLAGS
26316 gst_check_save_CXXFLAGS=$CXXFLAGS
26321 if test x$HAVE_X = xyes; then
26322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv_pic" >&5
26323 $as_echo_n "checking for XvQueryExtension in -lXv_pic... " >&6; }
26324 if test "${ac_cv_lib_Xv_pic_XvQueryExtension+set}" = set; then :
26325 $as_echo_n "(cached) " >&6
26327 ac_check_lib_save_LIBS=$LIBS
26328 LIBS="-lXv_pic $X_LIBS -lXext $LIBS"
26329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26330 /* end confdefs.h. */
26332 /* Override any GCC internal prototype to avoid an error.
26333 Use char because int might match the return type of a GCC
26334 builtin and then its argument prototype would still apply. */
26338 char XvQueryExtension ();
26342 return XvQueryExtension ();
26347 if ac_fn_c_try_link "$LINENO"; then :
26348 ac_cv_lib_Xv_pic_XvQueryExtension=yes
26350 ac_cv_lib_Xv_pic_XvQueryExtension=no
26352 rm -f core conftest.err conftest.$ac_objext \
26353 conftest$ac_exeext conftest.$ac_ext
26354 LIBS=$ac_check_lib_save_LIBS
26356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_pic_XvQueryExtension" >&5
26357 $as_echo "$ac_cv_lib_Xv_pic_XvQueryExtension" >&6; }
26358 if test "x$ac_cv_lib_Xv_pic_XvQueryExtension" = x""yes; then :
26365 if test x$HAVE_XVIDEO = xyes; then
26366 XVIDEO_LIBS="-lXv_pic -lXext"
26369 if test x$HAVE_XVIDEO = xno; then
26370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XvQueryExtension in -lXv" >&5
26371 $as_echo_n "checking for XvQueryExtension in -lXv... " >&6; }
26372 if test "${ac_cv_lib_Xv_XvQueryExtension+set}" = set; then :
26373 $as_echo_n "(cached) " >&6
26375 ac_check_lib_save_LIBS=$LIBS
26376 LIBS="-lXv $X_LIBS -lXext $LIBS"
26377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26378 /* end confdefs.h. */
26380 /* Override any GCC internal prototype to avoid an error.
26381 Use char because int might match the return type of a GCC
26382 builtin and then its argument prototype would still apply. */
26386 char XvQueryExtension ();
26390 return XvQueryExtension ();
26395 if ac_fn_c_try_link "$LINENO"; then :
26396 ac_cv_lib_Xv_XvQueryExtension=yes
26398 ac_cv_lib_Xv_XvQueryExtension=no
26400 rm -f core conftest.err conftest.$ac_objext \
26401 conftest$ac_exeext conftest.$ac_ext
26402 LIBS=$ac_check_lib_save_LIBS
26404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xv_XvQueryExtension" >&5
26405 $as_echo "$ac_cv_lib_Xv_XvQueryExtension" >&6; }
26406 if test "x$ac_cv_lib_Xv_XvQueryExtension" = x""yes; then :
26413 if test x$HAVE_XVIDEO = xyes; then
26414 XVIDEO_LIBS="-lXv -lXext"
26423 LIBS=$gst_check_save_LIBS
26424 LDFLAGS=$gst_check_save_LDFLAGS
26425 CFLAGS=$gst_check_save_CFLAGS
26426 CPPFLAGS=$gst_check_save_CPPFLAGS
26427 CXXFLAGS=$gst_check_save_CXXFLAGS
26429 if test x$HAVE_XVIDEO = xno; then
26432 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: xvimagesink" >&5
26433 $as_echo "$as_me: *** These plugins will be built: xvimagesink" >&6;}
26436 if test x$USE_XVIDEO = xyes; then
26438 if test "xxvimagesink" != "x"; then
26439 GST_PLUGINS_YES="\txvimagesink\n$GST_PLUGINS_YES"
26442 $as_echo "#define HAVE_XVIDEO /**/" >>confdefs.h
26445 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: xvimagesink" >&5
26446 $as_echo "$as_me: *** These plugins will not be built: xvimagesink" >&6;}
26447 if test "xxvimagesink" != "x"; then
26448 GST_PLUGINS_NO="\txvimagesink\n$GST_PLUGINS_NO"
26452 if test x$USE_XVIDEO = xyes; then
26454 USE_XVIDEO_FALSE='#'
26456 USE_XVIDEO_TRUE='#'
26463 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: X Shared Memory extension ***" >&5
26464 $as_echo "$as_me: *** checking feature: X Shared Memory extension ***" >&6;}
26467 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
26468 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
26471 if test "x$USE_XSHM" = "xno"; then
26474 # Check whether --enable-xshm was given.
26475 if test "${enable_xshm+set}" = set; then :
26476 enableval=$enable_xshm; case "${enableval}" in
26477 yes) USE_XSHM=yes;;
26479 *) as_fn_error $? "bad value ${enableval} for --enable-xshm" "$LINENO" 5 ;;
26485 if test "x$NOUSE" = "xyes"; then
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
26488 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
26493 if test x$USE_XSHM = xyes; then
26495 gst_check_save_LIBS=$LIBS
26496 gst_check_save_LDFLAGS=$LDFLAGS
26497 gst_check_save_CFLAGS=$CFLAGS
26498 gst_check_save_CPPFLAGS=$CPPFLAGS
26499 gst_check_save_CXXFLAGS=$CXXFLAGS
26503 if test x$HAVE_X = xyes; then
26504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmAttach in -lXext" >&5
26505 $as_echo_n "checking for XShmAttach in -lXext... " >&6; }
26506 if test "${ac_cv_lib_Xext_XShmAttach+set}" = set; then :
26507 $as_echo_n "(cached) " >&6
26509 ac_check_lib_save_LIBS=$LIBS
26510 LIBS="-lXext $X_LIBS $LIBS"
26511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26512 /* end confdefs.h. */
26514 /* Override any GCC internal prototype to avoid an error.
26515 Use char because int might match the return type of a GCC
26516 builtin and then its argument prototype would still apply. */
26520 char XShmAttach ();
26524 return XShmAttach ();
26529 if ac_fn_c_try_link "$LINENO"; then :
26530 ac_cv_lib_Xext_XShmAttach=yes
26532 ac_cv_lib_Xext_XShmAttach=no
26534 rm -f core conftest.err conftest.$ac_objext \
26535 conftest$ac_exeext conftest.$ac_ext
26536 LIBS=$ac_check_lib_save_LIBS
26538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmAttach" >&5
26539 $as_echo "$ac_cv_lib_Xext_XShmAttach" >&6; }
26540 if test "x$ac_cv_lib_Xext_XShmAttach" = x""yes; then :
26546 if test "x$HAVE_XSHM" = "xyes"; then
26549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmAttach in -lXextSam" >&5
26550 $as_echo_n "checking for XShmAttach in -lXextSam... " >&6; }
26551 if test "${ac_cv_lib_XextSam_XShmAttach+set}" = set; then :
26552 $as_echo_n "(cached) " >&6
26554 ac_check_lib_save_LIBS=$LIBS
26555 LIBS="-lXextSam $X_LIBS $LIBS"
26556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26557 /* end confdefs.h. */
26559 /* Override any GCC internal prototype to avoid an error.
26560 Use char because int might match the return type of a GCC
26561 builtin and then its argument prototype would still apply. */
26565 char XShmAttach ();
26569 return XShmAttach ();
26574 if ac_fn_c_try_link "$LINENO"; then :
26575 ac_cv_lib_XextSam_XShmAttach=yes
26577 ac_cv_lib_XextSam_XShmAttach=no
26579 rm -f core conftest.err conftest.$ac_objext \
26580 conftest$ac_exeext conftest.$ac_ext
26581 LIBS=$ac_check_lib_save_LIBS
26583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_XextSam_XShmAttach" >&5
26584 $as_echo "$ac_cv_lib_XextSam_XShmAttach" >&6; }
26585 if test "x$ac_cv_lib_XextSam_XShmAttach" = x""yes; then :
26591 if test "x$HAVE_XSHM" = "xyes"; then
26592 XSHM_LIBS="-lXext -lXextSam"
26598 LIBS=$gst_check_save_LIBS
26599 LDFLAGS=$gst_check_save_LDFLAGS
26600 CFLAGS=$gst_check_save_CFLAGS
26601 CPPFLAGS=$gst_check_save_CPPFLAGS
26602 CXXFLAGS=$gst_check_save_CXXFLAGS
26604 if test x$HAVE_XSHM = xno; then
26610 if test x$USE_XSHM = xyes; then
26615 if test "x" != "x"; then
26616 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
26619 $as_echo "#define HAVE_XSHM /**/" >>confdefs.h
26623 if test "x" != "x"; then
26624 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
26628 if test x$USE_XSHM = xyes; then
26640 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Video 4 Linux ***" >&5
26641 $as_echo "$as_me: *** checking feature: Video 4 Linux ***" >&6;}
26642 if test "xvideo4linux" != "x"
26644 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: video4linux ***" >&5
26645 $as_echo "$as_me: *** for plug-ins: video4linux ***" >&6;}
26648 if test "x$USE_GST_V4L" = "xno"; then
26651 # Check whether --enable-gst_v4l was given.
26652 if test "${enable_gst_v4l+set}" = set; then :
26653 enableval=$enable_gst_v4l; case "${enableval}" in
26654 yes) USE_GST_V4L=yes;;
26655 no) USE_GST_V4L=no;;
26656 *) as_fn_error $? "bad value ${enableval} for --enable-gst_v4l" "$LINENO" 5 ;;
26662 if test "x$NOUSE" = "xyes"; then
26664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** video4linux pre-configured not to be built" >&5
26665 $as_echo "$as_me: WARNING: *** video4linux pre-configured not to be built" >&2;}
26670 if test x$USE_GST_V4L = xyes; then
26672 gst_check_save_LIBS=$LIBS
26673 gst_check_save_LDFLAGS=$LDFLAGS
26674 gst_check_save_CFLAGS=$CFLAGS
26675 gst_check_save_CPPFLAGS=$CPPFLAGS
26676 gst_check_save_CXXFLAGS=$CXXFLAGS
26680 ac_fn_c_check_decl "$LINENO" "VID_TYPE_MPEG_ENCODER" "ac_cv_have_decl_VID_TYPE_MPEG_ENCODER" "
26681 #include <sys/types.h>
26682 #define _LINUX_TIME_H
26684 #include <linux/videodev.h>
26687 if test "x$ac_cv_have_decl_VID_TYPE_MPEG_ENCODER" = x""yes; then :
26694 if test "x$HAVE_GST_V4L" = "xyes" -a "x$HAVE_XVIDEO" != "xyes"
26696 { $as_echo "$as_me:${as_lineno-$LINENO}: NO XVIDEO FOUND, VIDEO4LINUX WILL BE BUILT" >&5
26697 $as_echo "$as_me: NO XVIDEO FOUND, VIDEO4LINUX WILL BE BUILT" >&6;}
26698 { $as_echo "$as_me:${as_lineno-$LINENO}: WITHOUT XOVERLAY SUPPORT" >&5
26699 $as_echo "$as_me: WITHOUT XOVERLAY SUPPORT" >&6;}
26703 LIBS=$gst_check_save_LIBS
26704 LDFLAGS=$gst_check_save_LDFLAGS
26705 CFLAGS=$gst_check_save_CFLAGS
26706 CPPFLAGS=$gst_check_save_CPPFLAGS
26707 CXXFLAGS=$gst_check_save_CXXFLAGS
26709 if test x$HAVE_GST_V4L = xno; then
26712 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: video4linux" >&5
26713 $as_echo "$as_me: *** These plugins will be built: video4linux" >&6;}
26716 if test x$USE_GST_V4L = xyes; then
26718 if test "xvideo4linux" != "x"; then
26719 GST_PLUGINS_YES="\tvideo4linux\n$GST_PLUGINS_YES"
26722 $as_echo "#define HAVE_GST_V4L /**/" >>confdefs.h
26725 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: video4linux" >&5
26726 $as_echo "$as_me: *** These plugins will not be built: video4linux" >&6;}
26727 if test "xvideo4linux" != "x"; then
26728 GST_PLUGINS_NO="\tvideo4linux\n$GST_PLUGINS_NO"
26732 if test x$USE_GST_V4L = xyes; then
26734 USE_GST_V4L_FALSE='#'
26736 USE_GST_V4L_TRUE='#'
26742 # Optional gudev for device probing
26744 # Check whether --with-gudev was given.
26745 if test "${with_gudev+set}" = set; then :
26746 withval=$with_gudev;
26751 if test x$HAVE_GST_V4L = xyes; then
26752 if test x$with_gudev != xno; then
26755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUDEV" >&5
26756 $as_echo_n "checking for GUDEV... " >&6; }
26758 if test -n "$PKG_CONFIG"; then
26759 if test -n "$GUDEV_CFLAGS"; then
26760 pkg_cv_GUDEV_CFLAGS="$GUDEV_CFLAGS"
26762 if test -n "$PKG_CONFIG" && \
26763 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gudev-1.0 >= 143 \""; } >&5
26764 ($PKG_CONFIG --exists --print-errors " gudev-1.0 >= 143 ") 2>&5
26766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26767 test $ac_status = 0; }; then
26768 pkg_cv_GUDEV_CFLAGS=`$PKG_CONFIG --cflags " gudev-1.0 >= 143 " 2>/dev/null`
26776 if test -n "$PKG_CONFIG"; then
26777 if test -n "$GUDEV_LIBS"; then
26778 pkg_cv_GUDEV_LIBS="$GUDEV_LIBS"
26780 if test -n "$PKG_CONFIG" && \
26781 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \" gudev-1.0 >= 143 \""; } >&5
26782 ($PKG_CONFIG --exists --print-errors " gudev-1.0 >= 143 ") 2>&5
26784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26785 test $ac_status = 0; }; then
26786 pkg_cv_GUDEV_LIBS=`$PKG_CONFIG --libs " gudev-1.0 >= 143 " 2>/dev/null`
26797 if test $pkg_failed = yes; then
26799 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26800 _pkg_short_errors_supported=yes
26802 _pkg_short_errors_supported=no
26804 if test $_pkg_short_errors_supported = yes; then
26805 GUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors " gudev-1.0 >= 143 "`
26807 GUDEV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors " gudev-1.0 >= 143 "`
26809 # Put the nasty error message in config.log where it belongs
26810 echo "$GUDEV_PKG_ERRORS" >&5
26812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26813 $as_echo "no" >&6; }
26817 elif test $pkg_failed = untried; then
26822 GUDEV_CFLAGS=$pkg_cv_GUDEV_CFLAGS
26823 GUDEV_LIBS=$pkg_cv_GUDEV_LIBS
26824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26825 $as_echo "yes" >&6; }
26828 $as_echo "#define HAVE_GUDEV 1" >>confdefs.h
26831 $as_echo "#define G_UDEV_API_IS_SUBJECT_TO_CHANGE 1" >>confdefs.h
26843 if test "x$BUILD_EXTERNAL" = "xyes"; then
26846 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking libraries for plugins in ext/" >&5
26847 $as_echo "$as_me: Checking libraries for plugins in ext/" >&6;}
26851 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: ALSA ***" >&5
26852 $as_echo "$as_me: *** checking feature: ALSA ***" >&6;}
26853 if test "xalsa" != "x"
26855 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: alsa ***" >&5
26856 $as_echo "$as_me: *** for plug-ins: alsa ***" >&6;}
26859 if test "x$USE_ALSA" = "xno"; then
26862 # Check whether --enable-alsa was given.
26863 if test "${enable_alsa+set}" = set; then :
26864 enableval=$enable_alsa; case "${enableval}" in
26865 yes) USE_ALSA=yes;;
26867 *) as_fn_error $? "bad value ${enableval} for --enable-alsa" "$LINENO" 5 ;;
26873 if test "x$NOUSE" = "xyes"; then
26875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** alsa pre-configured not to be built" >&5
26876 $as_echo "$as_me: WARNING: *** alsa pre-configured not to be built" >&2;}
26881 if test x$USE_ALSA = xyes; then
26883 gst_check_save_LIBS=$LIBS
26884 gst_check_save_LDFLAGS=$LDFLAGS
26885 gst_check_save_CFLAGS=$CFLAGS
26886 gst_check_save_CPPFLAGS=$CPPFLAGS
26887 gst_check_save_CXXFLAGS=$CXXFLAGS
26893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
26894 $as_echo_n "checking for ALSA... " >&6; }
26896 if test -n "$PKG_CONFIG"; then
26897 if test -n "$ALSA_CFLAGS"; then
26898 pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
26900 if test -n "$PKG_CONFIG" && \
26901 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9.1\""; } >&5
26902 ($PKG_CONFIG --exists --print-errors "alsa >= 0.9.1") 2>&5
26904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26905 test $ac_status = 0; }; then
26906 pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 0.9.1" 2>/dev/null`
26914 if test -n "$PKG_CONFIG"; then
26915 if test -n "$ALSA_LIBS"; then
26916 pkg_cv_ALSA_LIBS="$ALSA_LIBS"
26918 if test -n "$PKG_CONFIG" && \
26919 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9.1\""; } >&5
26920 ($PKG_CONFIG --exists --print-errors "alsa >= 0.9.1") 2>&5
26922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26923 test $ac_status = 0; }; then
26924 pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa >= 0.9.1" 2>/dev/null`
26935 if test $pkg_failed = yes; then
26937 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26938 _pkg_short_errors_supported=yes
26940 _pkg_short_errors_supported=no
26942 if test $_pkg_short_errors_supported = yes; then
26943 ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "alsa >= 0.9.1"`
26945 ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "alsa >= 0.9.1"`
26947 # Put the nasty error message in config.log where it belongs
26948 echo "$ALSA_PKG_ERRORS" >&5
26950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26951 $as_echo "no" >&6; }
26953 alsa_save_CFLAGS="$CFLAGS"
26954 alsa_save_LDFLAGS="$LDFLAGS"
26955 alsa_save_LIBS="$LIBS"
26959 # Check whether --with-alsa-prefix was given.
26960 if test "${with_alsa_prefix+set}" = set; then :
26961 withval=$with_alsa_prefix; alsa_prefix="$withval"
26968 # Check whether --with-alsa-inc-prefix was given.
26969 if test "${with_alsa_inc_prefix+set}" = set; then :
26970 withval=$with_alsa_inc_prefix; alsa_inc_prefix="$withval"
26977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA CFLAGS" >&5
26978 $as_echo_n "checking for ALSA CFLAGS... " >&6; }
26979 if test "$alsa_inc_prefix" != "" ; then
26980 ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix"
26981 CFLAGS="$CFLAGS -I$alsa_inc_prefix"
26983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5
26984 $as_echo "$ALSA_CFLAGS" >&6; }
26986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA LDFLAGS" >&5
26987 $as_echo_n "checking for ALSA LDFLAGS... " >&6; }
26988 if test "$alsa_prefix" != "" ; then
26989 ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix"
26990 LDFLAGS="$LDFLAGS $ALSA_LIBS"
26993 ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
26994 LIBS=`echo $LIBS | sed 's/-lm//'`
26995 LIBS=`echo $LIBS | sed 's/-ldl//'`
26996 LIBS=`echo $LIBS | sed 's/-lpthread//'`
26997 LIBS=`echo $LIBS | sed 's/ //'`
26998 LIBS="$ALSA_LIBS $LIBS"
26999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5
27000 $as_echo "$ALSA_LIBS" >&6; }
27002 min_alsa_version=0.9.1
27003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libasound headers version >= $min_alsa_version" >&5
27004 $as_echo_n "checking for libasound headers version >= $min_alsa_version... " >&6; }
27006 alsa_min_major_version=`echo $min_alsa_version | \
27007 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27008 alsa_min_minor_version=`echo $min_alsa_version | \
27009 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27010 alsa_min_micro_version=`echo $min_alsa_version | \
27011 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27015 ac_cpp='$CPP $CPPFLAGS'
27016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27021 /* end confdefs.h. */
27023 #include <alsa/asoundlib.h>
27031 /* ensure backward compatibility */
27032 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
27033 #define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR
27035 #if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR)
27036 #define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR
27038 #if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR)
27039 #define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR
27042 # if(SND_LIB_MAJOR > $alsa_min_major_version)
27045 # if(SND_LIB_MAJOR < $alsa_min_major_version)
27046 # error not present
27049 # if(SND_LIB_MINOR > $alsa_min_minor_version)
27052 # if(SND_LIB_MINOR < $alsa_min_minor_version)
27053 # error not present
27056 # if(SND_LIB_SUBMINOR < $alsa_min_micro_version)
27057 # error not present
27068 if ac_fn_c_try_compile "$LINENO"; then :
27069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found." >&5
27070 $as_echo "found." >&6; }
27072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not present." >&5
27073 $as_echo "not present." >&6; }
27078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27080 ac_cpp='$CPP $CPPFLAGS'
27081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27086 if test "x$enable_alsatest" = "xyes"; then
27087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_ctl_open in -lasound" >&5
27088 $as_echo_n "checking for snd_ctl_open in -lasound... " >&6; }
27089 if test "${ac_cv_lib_asound_snd_ctl_open+set}" = set; then :
27090 $as_echo_n "(cached) " >&6
27092 ac_check_lib_save_LIBS=$LIBS
27093 LIBS="-lasound $LIBS"
27094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27095 /* end confdefs.h. */
27097 /* Override any GCC internal prototype to avoid an error.
27098 Use char because int might match the return type of a GCC
27099 builtin and then its argument prototype would still apply. */
27103 char snd_ctl_open ();
27107 return snd_ctl_open ();
27112 if ac_fn_c_try_link "$LINENO"; then :
27113 ac_cv_lib_asound_snd_ctl_open=yes
27115 ac_cv_lib_asound_snd_ctl_open=no
27117 rm -f core conftest.err conftest.$ac_objext \
27118 conftest$ac_exeext conftest.$ac_ext
27119 LIBS=$ac_check_lib_save_LIBS
27121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_ctl_open" >&5
27122 $as_echo "$ac_cv_lib_asound_snd_ctl_open" >&6; }
27123 if test "x$ac_cv_lib_asound_snd_ctl_open" = x""yes; then :
27124 cat >>confdefs.h <<_ACEOF
27125 #define HAVE_LIBASOUND 1
27128 LIBS="-lasound $LIBS"
27138 if test "x$alsa_found" = "xyes" ; then
27140 LIBS=`echo $LIBS | sed 's/-lasound//g'`
27141 LIBS=`echo $LIBS | sed 's/ //'`
27142 LIBS="-lasound $LIBS"
27144 if test "x$alsa_found" = "xno" ; then
27146 CFLAGS="$alsa_save_CFLAGS"
27147 LDFLAGS="$alsa_save_LDFLAGS"
27148 LIBS="$alsa_save_LIBS"
27157 elif test $pkg_failed = untried; then
27159 alsa_save_CFLAGS="$CFLAGS"
27160 alsa_save_LDFLAGS="$LDFLAGS"
27161 alsa_save_LIBS="$LIBS"
27165 # Check whether --with-alsa-prefix was given.
27166 if test "${with_alsa_prefix+set}" = set; then :
27167 withval=$with_alsa_prefix; alsa_prefix="$withval"
27174 # Check whether --with-alsa-inc-prefix was given.
27175 if test "${with_alsa_inc_prefix+set}" = set; then :
27176 withval=$with_alsa_inc_prefix; alsa_inc_prefix="$withval"
27183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA CFLAGS" >&5
27184 $as_echo_n "checking for ALSA CFLAGS... " >&6; }
27185 if test "$alsa_inc_prefix" != "" ; then
27186 ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix"
27187 CFLAGS="$CFLAGS -I$alsa_inc_prefix"
27189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5
27190 $as_echo "$ALSA_CFLAGS" >&6; }
27192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA LDFLAGS" >&5
27193 $as_echo_n "checking for ALSA LDFLAGS... " >&6; }
27194 if test "$alsa_prefix" != "" ; then
27195 ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix"
27196 LDFLAGS="$LDFLAGS $ALSA_LIBS"
27199 ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread"
27200 LIBS=`echo $LIBS | sed 's/-lm//'`
27201 LIBS=`echo $LIBS | sed 's/-ldl//'`
27202 LIBS=`echo $LIBS | sed 's/-lpthread//'`
27203 LIBS=`echo $LIBS | sed 's/ //'`
27204 LIBS="$ALSA_LIBS $LIBS"
27205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5
27206 $as_echo "$ALSA_LIBS" >&6; }
27208 min_alsa_version=0.9.1
27209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libasound headers version >= $min_alsa_version" >&5
27210 $as_echo_n "checking for libasound headers version >= $min_alsa_version... " >&6; }
27212 alsa_min_major_version=`echo $min_alsa_version | \
27213 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27214 alsa_min_minor_version=`echo $min_alsa_version | \
27215 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27216 alsa_min_micro_version=`echo $min_alsa_version | \
27217 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27221 ac_cpp='$CPP $CPPFLAGS'
27222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27227 /* end confdefs.h. */
27229 #include <alsa/asoundlib.h>
27237 /* ensure backward compatibility */
27238 #if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR)
27239 #define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR
27241 #if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR)
27242 #define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR
27244 #if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR)
27245 #define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR
27248 # if(SND_LIB_MAJOR > $alsa_min_major_version)
27251 # if(SND_LIB_MAJOR < $alsa_min_major_version)
27252 # error not present
27255 # if(SND_LIB_MINOR > $alsa_min_minor_version)
27258 # if(SND_LIB_MINOR < $alsa_min_minor_version)
27259 # error not present
27262 # if(SND_LIB_SUBMINOR < $alsa_min_micro_version)
27263 # error not present
27274 if ac_fn_c_try_compile "$LINENO"; then :
27275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found." >&5
27276 $as_echo "found." >&6; }
27278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not present." >&5
27279 $as_echo "not present." >&6; }
27284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27286 ac_cpp='$CPP $CPPFLAGS'
27287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27292 if test "x$enable_alsatest" = "xyes"; then
27293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_ctl_open in -lasound" >&5
27294 $as_echo_n "checking for snd_ctl_open in -lasound... " >&6; }
27295 if test "${ac_cv_lib_asound_snd_ctl_open+set}" = set; then :
27296 $as_echo_n "(cached) " >&6
27298 ac_check_lib_save_LIBS=$LIBS
27299 LIBS="-lasound $LIBS"
27300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27301 /* end confdefs.h. */
27303 /* Override any GCC internal prototype to avoid an error.
27304 Use char because int might match the return type of a GCC
27305 builtin and then its argument prototype would still apply. */
27309 char snd_ctl_open ();
27313 return snd_ctl_open ();
27318 if ac_fn_c_try_link "$LINENO"; then :
27319 ac_cv_lib_asound_snd_ctl_open=yes
27321 ac_cv_lib_asound_snd_ctl_open=no
27323 rm -f core conftest.err conftest.$ac_objext \
27324 conftest$ac_exeext conftest.$ac_ext
27325 LIBS=$ac_check_lib_save_LIBS
27327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_ctl_open" >&5
27328 $as_echo "$ac_cv_lib_asound_snd_ctl_open" >&6; }
27329 if test "x$ac_cv_lib_asound_snd_ctl_open" = x""yes; then :
27330 cat >>confdefs.h <<_ACEOF
27331 #define HAVE_LIBASOUND 1
27334 LIBS="-lasound $LIBS"
27344 if test "x$alsa_found" = "xyes" ; then
27346 LIBS=`echo $LIBS | sed 's/-lasound//g'`
27347 LIBS=`echo $LIBS | sed 's/ //'`
27348 LIBS="-lasound $LIBS"
27350 if test "x$alsa_found" = "xno" ; then
27352 CFLAGS="$alsa_save_CFLAGS"
27353 LDFLAGS="$alsa_save_LDFLAGS"
27354 LIBS="$alsa_save_LIBS"
27364 ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
27365 ALSA_LIBS=$pkg_cv_ALSA_LIBS
27366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27367 $as_echo "yes" >&6; }
27376 LIBS=$gst_check_save_LIBS
27377 LDFLAGS=$gst_check_save_LDFLAGS
27378 CFLAGS=$gst_check_save_CFLAGS
27379 CPPFLAGS=$gst_check_save_CPPFLAGS
27380 CXXFLAGS=$gst_check_save_CXXFLAGS
27382 if test x$HAVE_ALSA = xno; then
27385 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: alsa" >&5
27386 $as_echo "$as_me: *** These plugins will be built: alsa" >&6;}
27389 if test x$USE_ALSA = xyes; then
27391 if test "xalsa" != "x"; then
27392 GST_PLUGINS_YES="\talsa\n$GST_PLUGINS_YES"
27395 $as_echo "#define HAVE_ALSA /**/" >>confdefs.h
27398 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: alsa" >&5
27399 $as_echo "$as_me: *** These plugins will not be built: alsa" >&6;}
27400 if test "xalsa" != "x"; then
27401 GST_PLUGINS_NO="\talsa\n$GST_PLUGINS_NO"
27405 if test x$USE_ALSA = xyes; then
27416 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: CDParanoia ***" >&5
27417 $as_echo "$as_me: *** checking feature: CDParanoia ***" >&6;}
27418 if test "xcdparanoia" != "x"
27420 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cdparanoia ***" >&5
27421 $as_echo "$as_me: *** for plug-ins: cdparanoia ***" >&6;}
27424 if test "x$USE_CDPARANOIA" = "xno"; then
27427 # Check whether --enable-cdparanoia was given.
27428 if test "${enable_cdparanoia+set}" = set; then :
27429 enableval=$enable_cdparanoia; case "${enableval}" in
27430 yes) USE_CDPARANOIA=yes;;
27431 no) USE_CDPARANOIA=no;;
27432 *) as_fn_error $? "bad value ${enableval} for --enable-cdparanoia" "$LINENO" 5 ;;
27438 if test "x$NOUSE" = "xyes"; then
27439 USE_CDPARANOIA="no"
27440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cdparanoia pre-configured not to be built" >&5
27441 $as_echo "$as_me: WARNING: *** cdparanoia pre-configured not to be built" >&2;}
27446 if test x$USE_CDPARANOIA = xyes; then
27448 gst_check_save_LIBS=$LIBS
27449 gst_check_save_LDFLAGS=$LDFLAGS
27450 gst_check_save_CFLAGS=$CFLAGS
27451 gst_check_save_CPPFLAGS=$CPPFLAGS
27452 gst_check_save_CXXFLAGS=$CXXFLAGS
27458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CDPARANOIA" >&5
27459 $as_echo_n "checking for CDPARANOIA... " >&6; }
27461 if test -n "$PKG_CONFIG"; then
27462 if test -n "$CDPARANOIA_CFLAGS"; then
27463 pkg_cv_CDPARANOIA_CFLAGS="$CDPARANOIA_CFLAGS"
27465 if test -n "$PKG_CONFIG" && \
27466 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cdparanoia-3 >= 10.2\""; } >&5
27467 ($PKG_CONFIG --exists --print-errors "cdparanoia-3 >= 10.2") 2>&5
27469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27470 test $ac_status = 0; }; then
27471 pkg_cv_CDPARANOIA_CFLAGS=`$PKG_CONFIG --cflags "cdparanoia-3 >= 10.2" 2>/dev/null`
27479 if test -n "$PKG_CONFIG"; then
27480 if test -n "$CDPARANOIA_LIBS"; then
27481 pkg_cv_CDPARANOIA_LIBS="$CDPARANOIA_LIBS"
27483 if test -n "$PKG_CONFIG" && \
27484 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cdparanoia-3 >= 10.2\""; } >&5
27485 ($PKG_CONFIG --exists --print-errors "cdparanoia-3 >= 10.2") 2>&5
27487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27488 test $ac_status = 0; }; then
27489 pkg_cv_CDPARANOIA_LIBS=`$PKG_CONFIG --libs "cdparanoia-3 >= 10.2" 2>/dev/null`
27500 if test $pkg_failed = yes; then
27502 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27503 _pkg_short_errors_supported=yes
27505 _pkg_short_errors_supported=no
27507 if test $_pkg_short_errors_supported = yes; then
27508 CDPARANOIA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cdparanoia-3 >= 10.2"`
27510 CDPARANOIA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cdparanoia-3 >= 10.2"`
27512 # Put the nasty error message in config.log where it belongs
27513 echo "$CDPARANOIA_PKG_ERRORS" >&5
27515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27516 $as_echo "no" >&6; }
27519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdda_open in -lcdda_interface" >&5
27520 $as_echo_n "checking for cdda_open in -lcdda_interface... " >&6; }
27521 if test "${ac_cv_lib_cdda_interface_cdda_open+set}" = set; then :
27522 $as_echo_n "(cached) " >&6
27524 ac_check_lib_save_LIBS=$LIBS
27525 LIBS="-lcdda_interface -lm $LIBS"
27526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27527 /* end confdefs.h. */
27529 /* Override any GCC internal prototype to avoid an error.
27530 Use char because int might match the return type of a GCC
27531 builtin and then its argument prototype would still apply. */
27539 return cdda_open ();
27544 if ac_fn_c_try_link "$LINENO"; then :
27545 ac_cv_lib_cdda_interface_cdda_open=yes
27547 ac_cv_lib_cdda_interface_cdda_open=no
27549 rm -f core conftest.err conftest.$ac_objext \
27550 conftest$ac_exeext conftest.$ac_ext
27551 LIBS=$ac_check_lib_save_LIBS
27553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_interface_cdda_open" >&5
27554 $as_echo "$ac_cv_lib_cdda_interface_cdda_open" >&6; }
27555 if test "x$ac_cv_lib_cdda_interface_cdda_open" = x""yes; then :
27556 HAVE_CDPARANOIA=yes
27561 if test "x$HAVE_CDPARANOIA" = "xyes"; then
27562 ac_fn_c_check_header_mongrel "$LINENO" "cdda_interface.h" "ac_cv_header_cdda_interface_h" "$ac_includes_default"
27563 if test "x$ac_cv_header_cdda_interface_h" = x""yes; then :
27570 if test "x$HAVE_CDPARANOIA" = "xyes"; then
27571 CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
27573 FOUND_CDPARANOIA="yes"
27583 if test "x$FOUND_CDPARANOIA" != "xyes";
27586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdda_open in -lcdda_interface" >&5
27587 $as_echo_n "checking for cdda_open in -lcdda_interface... " >&6; }
27588 if test "${ac_cv_lib_cdda_interface_cdda_open+set}" = set; then :
27589 $as_echo_n "(cached) " >&6
27591 ac_check_lib_save_LIBS=$LIBS
27592 LIBS="-lcdda_interface -lm $LIBS"
27593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27594 /* end confdefs.h. */
27596 /* Override any GCC internal prototype to avoid an error.
27597 Use char because int might match the return type of a GCC
27598 builtin and then its argument prototype would still apply. */
27606 return cdda_open ();
27611 if ac_fn_c_try_link "$LINENO"; then :
27612 ac_cv_lib_cdda_interface_cdda_open=yes
27614 ac_cv_lib_cdda_interface_cdda_open=no
27616 rm -f core conftest.err conftest.$ac_objext \
27617 conftest$ac_exeext conftest.$ac_ext
27618 LIBS=$ac_check_lib_save_LIBS
27620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_interface_cdda_open" >&5
27621 $as_echo "$ac_cv_lib_cdda_interface_cdda_open" >&6; }
27622 if test "x$ac_cv_lib_cdda_interface_cdda_open" = x""yes; then :
27623 HAVE_CDPARANOIA=yes
27628 if test "x$HAVE_CDPARANOIA" = "xyes"; then
27629 ac_fn_c_check_header_mongrel "$LINENO" "cdda/cdda_interface.h" "ac_cv_header_cdda_cdda_interface_h" "$ac_includes_default"
27630 if test "x$ac_cv_header_cdda_cdda_interface_h" = x""yes; then :
27637 if test "x$HAVE_CDPARANOIA" = "xyes"; then
27638 CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
27640 FOUND_CDPARANOIA="yes"
27651 if test "x$HEADER_DIR" = "xyes";
27654 cat >>confdefs.h <<_ACEOF
27655 #define CDPARANOIA_HEADERS_IN_DIR /**/
27659 if test "x$FOUND_CDPARANOIA" = "xyes";
27661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for paranoia_cachemodel_size in -lcdda_paranoia" >&5
27662 $as_echo_n "checking for paranoia_cachemodel_size in -lcdda_paranoia... " >&6; }
27663 if test "${ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size+set}" = set; then :
27664 $as_echo_n "(cached) " >&6
27666 ac_check_lib_save_LIBS=$LIBS
27667 LIBS="-lcdda_paranoia -lcdda_interface $LIBS"
27668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27669 /* end confdefs.h. */
27671 /* Override any GCC internal prototype to avoid an error.
27672 Use char because int might match the return type of a GCC
27673 builtin and then its argument prototype would still apply. */
27677 char paranoia_cachemodel_size ();
27681 return paranoia_cachemodel_size ();
27686 if ac_fn_c_try_link "$LINENO"; then :
27687 ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size=yes
27689 ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size=no
27691 rm -f core conftest.err conftest.$ac_objext \
27692 conftest$ac_exeext conftest.$ac_ext
27693 LIBS=$ac_check_lib_save_LIBS
27695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" >&5
27696 $as_echo "$ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" >&6; }
27697 if test "x$ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" = x""yes; then :
27707 elif test $pkg_failed = untried; then
27710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdda_open in -lcdda_interface" >&5
27711 $as_echo_n "checking for cdda_open in -lcdda_interface... " >&6; }
27712 if test "${ac_cv_lib_cdda_interface_cdda_open+set}" = set; then :
27713 $as_echo_n "(cached) " >&6
27715 ac_check_lib_save_LIBS=$LIBS
27716 LIBS="-lcdda_interface -lm $LIBS"
27717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27718 /* end confdefs.h. */
27720 /* Override any GCC internal prototype to avoid an error.
27721 Use char because int might match the return type of a GCC
27722 builtin and then its argument prototype would still apply. */
27730 return cdda_open ();
27735 if ac_fn_c_try_link "$LINENO"; then :
27736 ac_cv_lib_cdda_interface_cdda_open=yes
27738 ac_cv_lib_cdda_interface_cdda_open=no
27740 rm -f core conftest.err conftest.$ac_objext \
27741 conftest$ac_exeext conftest.$ac_ext
27742 LIBS=$ac_check_lib_save_LIBS
27744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_interface_cdda_open" >&5
27745 $as_echo "$ac_cv_lib_cdda_interface_cdda_open" >&6; }
27746 if test "x$ac_cv_lib_cdda_interface_cdda_open" = x""yes; then :
27747 HAVE_CDPARANOIA=yes
27752 if test "x$HAVE_CDPARANOIA" = "xyes"; then
27753 ac_fn_c_check_header_mongrel "$LINENO" "cdda_interface.h" "ac_cv_header_cdda_interface_h" "$ac_includes_default"
27754 if test "x$ac_cv_header_cdda_interface_h" = x""yes; then :
27761 if test "x$HAVE_CDPARANOIA" = "xyes"; then
27762 CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
27764 FOUND_CDPARANOIA="yes"
27774 if test "x$FOUND_CDPARANOIA" != "xyes";
27777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdda_open in -lcdda_interface" >&5
27778 $as_echo_n "checking for cdda_open in -lcdda_interface... " >&6; }
27779 if test "${ac_cv_lib_cdda_interface_cdda_open+set}" = set; then :
27780 $as_echo_n "(cached) " >&6
27782 ac_check_lib_save_LIBS=$LIBS
27783 LIBS="-lcdda_interface -lm $LIBS"
27784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27785 /* end confdefs.h. */
27787 /* Override any GCC internal prototype to avoid an error.
27788 Use char because int might match the return type of a GCC
27789 builtin and then its argument prototype would still apply. */
27797 return cdda_open ();
27802 if ac_fn_c_try_link "$LINENO"; then :
27803 ac_cv_lib_cdda_interface_cdda_open=yes
27805 ac_cv_lib_cdda_interface_cdda_open=no
27807 rm -f core conftest.err conftest.$ac_objext \
27808 conftest$ac_exeext conftest.$ac_ext
27809 LIBS=$ac_check_lib_save_LIBS
27811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_interface_cdda_open" >&5
27812 $as_echo "$ac_cv_lib_cdda_interface_cdda_open" >&6; }
27813 if test "x$ac_cv_lib_cdda_interface_cdda_open" = x""yes; then :
27814 HAVE_CDPARANOIA=yes
27819 if test "x$HAVE_CDPARANOIA" = "xyes"; then
27820 ac_fn_c_check_header_mongrel "$LINENO" "cdda/cdda_interface.h" "ac_cv_header_cdda_cdda_interface_h" "$ac_includes_default"
27821 if test "x$ac_cv_header_cdda_cdda_interface_h" = x""yes; then :
27828 if test "x$HAVE_CDPARANOIA" = "xyes"; then
27829 CDPARANOIA_LIBS="-lcdda_interface -lcdda_paranoia"
27831 FOUND_CDPARANOIA="yes"
27842 if test "x$HEADER_DIR" = "xyes";
27845 cat >>confdefs.h <<_ACEOF
27846 #define CDPARANOIA_HEADERS_IN_DIR /**/
27850 if test "x$FOUND_CDPARANOIA" = "xyes";
27852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for paranoia_cachemodel_size in -lcdda_paranoia" >&5
27853 $as_echo_n "checking for paranoia_cachemodel_size in -lcdda_paranoia... " >&6; }
27854 if test "${ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size+set}" = set; then :
27855 $as_echo_n "(cached) " >&6
27857 ac_check_lib_save_LIBS=$LIBS
27858 LIBS="-lcdda_paranoia -lcdda_interface $LIBS"
27859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27860 /* end confdefs.h. */
27862 /* Override any GCC internal prototype to avoid an error.
27863 Use char because int might match the return type of a GCC
27864 builtin and then its argument prototype would still apply. */
27868 char paranoia_cachemodel_size ();
27872 return paranoia_cachemodel_size ();
27877 if ac_fn_c_try_link "$LINENO"; then :
27878 ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size=yes
27880 ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size=no
27882 rm -f core conftest.err conftest.$ac_objext \
27883 conftest$ac_exeext conftest.$ac_ext
27884 LIBS=$ac_check_lib_save_LIBS
27886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" >&5
27887 $as_echo "$ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" >&6; }
27888 if test "x$ac_cv_lib_cdda_paranoia_paranoia_cachemodel_size" = x""yes; then :
27899 CDPARANOIA_CFLAGS=$pkg_cv_CDPARANOIA_CFLAGS
27900 CDPARANOIA_LIBS=$pkg_cv_CDPARANOIA_LIBS
27901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27902 $as_echo "yes" >&6; }
27904 HAVE_CDPARANOIA="yes"
27909 LIBS=$gst_check_save_LIBS
27910 LDFLAGS=$gst_check_save_LDFLAGS
27911 CFLAGS=$gst_check_save_CFLAGS
27912 CPPFLAGS=$gst_check_save_CPPFLAGS
27913 CXXFLAGS=$gst_check_save_CXXFLAGS
27915 if test x$HAVE_CDPARANOIA = xno; then
27918 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cdparanoia" >&5
27919 $as_echo "$as_me: *** These plugins will be built: cdparanoia" >&6;}
27922 if test x$USE_CDPARANOIA = xyes; then
27924 if test "xcdparanoia" != "x"; then
27925 GST_PLUGINS_YES="\tcdparanoia\n$GST_PLUGINS_YES"
27928 $as_echo "#define HAVE_CDPARANOIA /**/" >>confdefs.h
27931 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cdparanoia" >&5
27932 $as_echo "$as_me: *** These plugins will not be built: cdparanoia" >&6;}
27933 if test "xcdparanoia" != "x"; then
27934 GST_PLUGINS_NO="\tcdparanoia\n$GST_PLUGINS_NO"
27938 if test x$USE_CDPARANOIA = xyes; then
27939 USE_CDPARANOIA_TRUE=
27940 USE_CDPARANOIA_FALSE='#'
27942 USE_CDPARANOIA_TRUE='#'
27943 USE_CDPARANOIA_FALSE=
27949 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GNOME VFS ***" >&5
27950 $as_echo "$as_me: *** checking feature: GNOME VFS ***" >&6;}
27951 if test "xgnomevfs" != "x"
27953 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gnomevfs ***" >&5
27954 $as_echo "$as_me: *** for plug-ins: gnomevfs ***" >&6;}
27957 if test "x$USE_GNOME_VFS" = "xno"; then
27960 # Check whether --enable-gnome_vfs was given.
27961 if test "${enable_gnome_vfs+set}" = set; then :
27962 enableval=$enable_gnome_vfs; case "${enableval}" in
27963 yes) USE_GNOME_VFS=yes;;
27964 no) USE_GNOME_VFS=no;;
27965 *) as_fn_error $? "bad value ${enableval} for --enable-gnome_vfs" "$LINENO" 5 ;;
27971 if test "x$NOUSE" = "xyes"; then
27973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gnomevfs pre-configured not to be built" >&5
27974 $as_echo "$as_me: WARNING: *** gnomevfs pre-configured not to be built" >&2;}
27979 if test x$USE_GNOME_VFS = xyes; then
27981 gst_check_save_LIBS=$LIBS
27982 gst_check_save_LDFLAGS=$LDFLAGS
27983 gst_check_save_CFLAGS=$CFLAGS
27984 gst_check_save_CPPFLAGS=$CPPFLAGS
27985 gst_check_save_CXXFLAGS=$CXXFLAGS
27991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME_VFS" >&5
27992 $as_echo_n "checking for GNOME_VFS... " >&6; }
27994 if test -n "$PKG_CONFIG"; then
27995 if test -n "$GNOME_VFS_CFLAGS"; then
27996 pkg_cv_GNOME_VFS_CFLAGS="$GNOME_VFS_CFLAGS"
27998 if test -n "$PKG_CONFIG" && \
27999 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0\""; } >&5
28000 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0") 2>&5
28002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28003 test $ac_status = 0; }; then
28004 pkg_cv_GNOME_VFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0" 2>/dev/null`
28012 if test -n "$PKG_CONFIG"; then
28013 if test -n "$GNOME_VFS_LIBS"; then
28014 pkg_cv_GNOME_VFS_LIBS="$GNOME_VFS_LIBS"
28016 if test -n "$PKG_CONFIG" && \
28017 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0\""; } >&5
28018 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0") 2>&5
28020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28021 test $ac_status = 0; }; then
28022 pkg_cv_GNOME_VFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0" 2>/dev/null`
28033 if test $pkg_failed = yes; then
28035 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28036 _pkg_short_errors_supported=yes
28038 _pkg_short_errors_supported=no
28040 if test $_pkg_short_errors_supported = yes; then
28041 GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0"`
28043 GNOME_VFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0"`
28045 # Put the nasty error message in config.log where it belongs
28046 echo "$GNOME_VFS_PKG_ERRORS" >&5
28048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28049 $as_echo "no" >&6; }
28051 HAVE_GNOME_VFS="no"
28054 elif test $pkg_failed = untried; then
28056 HAVE_GNOME_VFS="no"
28060 GNOME_VFS_CFLAGS=$pkg_cv_GNOME_VFS_CFLAGS
28061 GNOME_VFS_LIBS=$pkg_cv_GNOME_VFS_LIBS
28062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28063 $as_echo "yes" >&6; }
28065 HAVE_GNOME_VFS="yes"
28068 GNOME_VFS_MODULES_DIR="`$PKG_CONFIG --variable=modulesdir gnome-vfs-2.0`"
28070 cat >>confdefs.h <<_ACEOF
28071 #define GNOME_VFS_MODULES_DIR "$GNOME_VFS_MODULES_DIR"
28078 LIBS=$gst_check_save_LIBS
28079 LDFLAGS=$gst_check_save_LDFLAGS
28080 CFLAGS=$gst_check_save_CFLAGS
28081 CPPFLAGS=$gst_check_save_CPPFLAGS
28082 CXXFLAGS=$gst_check_save_CXXFLAGS
28084 if test x$HAVE_GNOME_VFS = xno; then
28087 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gnomevfs" >&5
28088 $as_echo "$as_me: *** These plugins will be built: gnomevfs" >&6;}
28091 if test x$USE_GNOME_VFS = xyes; then
28093 if test "xgnomevfs" != "x"; then
28094 GST_PLUGINS_YES="\tgnomevfs\n$GST_PLUGINS_YES"
28097 $as_echo "#define HAVE_GNOME_VFS /**/" >>confdefs.h
28100 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gnomevfs" >&5
28101 $as_echo "$as_me: *** These plugins will not be built: gnomevfs" >&6;}
28102 if test "xgnomevfs" != "x"; then
28103 GST_PLUGINS_NO="\tgnomevfs\n$GST_PLUGINS_NO"
28107 if test x$USE_GNOME_VFS = xyes; then
28108 USE_GNOME_VFS_TRUE=
28109 USE_GNOME_VFS_FALSE='#'
28111 USE_GNOME_VFS_TRUE='#'
28112 USE_GNOME_VFS_FALSE=
28118 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: integer vorbis plug-in ***" >&5
28119 $as_echo "$as_me: *** checking feature: integer vorbis plug-in ***" >&6;}
28120 if test "xivorbisdec" != "x"
28122 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ivorbisdec ***" >&5
28123 $as_echo "$as_me: *** for plug-ins: ivorbisdec ***" >&6;}
28126 if test "x$USE_IVORBIS" = "xno"; then
28129 # Check whether --enable-ivorbis was given.
28130 if test "${enable_ivorbis+set}" = set; then :
28131 enableval=$enable_ivorbis; case "${enableval}" in
28132 yes) USE_IVORBIS=yes;;
28133 no) USE_IVORBIS=no;;
28134 *) as_fn_error $? "bad value ${enableval} for --enable-ivorbis" "$LINENO" 5 ;;
28140 if test "x$NOUSE" = "xyes"; then
28142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ivorbisdec pre-configured not to be built" >&5
28143 $as_echo "$as_me: WARNING: *** ivorbisdec pre-configured not to be built" >&2;}
28148 if test x$USE_IVORBIS = xyes; then
28150 gst_check_save_LIBS=$LIBS
28151 gst_check_save_LDFLAGS=$LDFLAGS
28152 gst_check_save_CFLAGS=$CFLAGS
28153 gst_check_save_CPPFLAGS=$CPPFLAGS
28154 gst_check_save_CXXFLAGS=$CXXFLAGS
28164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IVORBIS" >&5
28165 $as_echo_n "checking for IVORBIS... " >&6; }
28167 if test -n "$PKG_CONFIG"; then
28168 if test -n "$IVORBIS_CFLAGS"; then
28169 pkg_cv_IVORBIS_CFLAGS="$IVORBIS_CFLAGS"
28171 if test -n "$PKG_CONFIG" && \
28172 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
28173 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
28175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28176 test $ac_status = 0; }; then
28177 pkg_cv_IVORBIS_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
28185 if test -n "$PKG_CONFIG"; then
28186 if test -n "$IVORBIS_LIBS"; then
28187 pkg_cv_IVORBIS_LIBS="$IVORBIS_LIBS"
28189 if test -n "$PKG_CONFIG" && \
28190 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
28191 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
28193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28194 test $ac_status = 0; }; then
28195 pkg_cv_IVORBIS_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
28206 if test $pkg_failed = yes; then
28208 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28209 _pkg_short_errors_supported=yes
28211 _pkg_short_errors_supported=no
28213 if test $_pkg_short_errors_supported = yes; then
28214 IVORBIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
28216 IVORBIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
28218 # Put the nasty error message in config.log where it belongs
28219 echo "$IVORBIS_PKG_ERRORS" >&5
28221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28222 $as_echo "no" >&6; }
28225 if test "x$required" = "xyes"; then
28226 as_fn_error $? "$IVORBIS_PKG_ERRORS" "$LINENO" 5
28228 { $as_echo "$as_me:${as_lineno-$LINENO}: $IVORBIS_PKG_ERRORS" >&5
28229 $as_echo "$as_me: $IVORBIS_PKG_ERRORS" >&6;}
28232 elif test $pkg_failed = untried; then
28235 if test "x$required" = "xyes"; then
28236 as_fn_error $? "$IVORBIS_PKG_ERRORS" "$LINENO" 5
28238 { $as_echo "$as_me:${as_lineno-$LINENO}: $IVORBIS_PKG_ERRORS" >&5
28239 $as_echo "$as_me: $IVORBIS_PKG_ERRORS" >&6;}
28243 IVORBIS_CFLAGS=$pkg_cv_IVORBIS_CFLAGS
28244 IVORBIS_LIBS=$pkg_cv_IVORBIS_LIBS
28245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28246 $as_echo "yes" >&6; }
28253 if test $HAVE_IVORBIS = no
28257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbis_block_init in -lvorbisidec" >&5
28258 $as_echo_n "checking for vorbis_block_init in -lvorbisidec... " >&6; }
28259 if test "${ac_cv_lib_vorbisidec_vorbis_block_init+set}" = set; then :
28260 $as_echo_n "(cached) " >&6
28262 ac_check_lib_save_LIBS=$LIBS
28263 LIBS="-lvorbisidec $LIBS"
28264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28265 /* end confdefs.h. */
28267 /* Override any GCC internal prototype to avoid an error.
28268 Use char because int might match the return type of a GCC
28269 builtin and then its argument prototype would still apply. */
28273 char vorbis_block_init ();
28277 return vorbis_block_init ();
28282 if ac_fn_c_try_link "$LINENO"; then :
28283 ac_cv_lib_vorbisidec_vorbis_block_init=yes
28285 ac_cv_lib_vorbisidec_vorbis_block_init=no
28287 rm -f core conftest.err conftest.$ac_objext \
28288 conftest$ac_exeext conftest.$ac_ext
28289 LIBS=$ac_check_lib_save_LIBS
28291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vorbisidec_vorbis_block_init" >&5
28292 $as_echo "$ac_cv_lib_vorbisidec_vorbis_block_init" >&6; }
28293 if test "x$ac_cv_lib_vorbisidec_vorbis_block_init" = x""yes; then :
28294 IVORBIS_LIBS=-lvorbisidec
28298 IVORBIS_CFLAGS="-D_ARM_ASSEM_ $IVORBIS_CFLAGS"
28308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbis_dsp_pcmout in -lvorbisidec" >&5
28309 $as_echo_n "checking for vorbis_dsp_pcmout in -lvorbisidec... " >&6; }
28310 if test "${ac_cv_lib_vorbisidec_vorbis_dsp_pcmout+set}" = set; then :
28311 $as_echo_n "(cached) " >&6
28313 ac_check_lib_save_LIBS=$LIBS
28314 LIBS="-lvorbisidec $LIBS"
28315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28316 /* end confdefs.h. */
28318 /* Override any GCC internal prototype to avoid an error.
28319 Use char because int might match the return type of a GCC
28320 builtin and then its argument prototype would still apply. */
28324 char vorbis_dsp_pcmout ();
28328 return vorbis_dsp_pcmout ();
28333 if ac_fn_c_try_link "$LINENO"; then :
28334 ac_cv_lib_vorbisidec_vorbis_dsp_pcmout=yes
28336 ac_cv_lib_vorbisidec_vorbis_dsp_pcmout=no
28338 rm -f core conftest.err conftest.$ac_objext \
28339 conftest$ac_exeext conftest.$ac_ext
28340 LIBS=$ac_check_lib_save_LIBS
28342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vorbisidec_vorbis_dsp_pcmout" >&5
28343 $as_echo "$ac_cv_lib_vorbisidec_vorbis_dsp_pcmout" >&6; }
28344 if test "x$ac_cv_lib_vorbisidec_vorbis_dsp_pcmout" = x""yes; then :
28346 $as_echo "#define USE_TREMOLO 1" >>confdefs.h
28355 LIBS=$gst_check_save_LIBS
28356 LDFLAGS=$gst_check_save_LDFLAGS
28357 CFLAGS=$gst_check_save_CFLAGS
28358 CPPFLAGS=$gst_check_save_CPPFLAGS
28359 CXXFLAGS=$gst_check_save_CXXFLAGS
28361 if test x$HAVE_IVORBIS = xno; then
28364 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ivorbisdec" >&5
28365 $as_echo "$as_me: *** These plugins will be built: ivorbisdec" >&6;}
28368 if test x$USE_IVORBIS = xyes; then
28370 if test "xivorbisdec" != "x"; then
28371 GST_PLUGINS_YES="\tivorbisdec\n$GST_PLUGINS_YES"
28374 $as_echo "#define HAVE_IVORBIS /**/" >>confdefs.h
28377 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ivorbisdec" >&5
28378 $as_echo "$as_me: *** These plugins will not be built: ivorbisdec" >&6;}
28379 if test "xivorbisdec" != "x"; then
28380 GST_PLUGINS_NO="\tivorbisdec\n$GST_PLUGINS_NO"
28384 if test x$USE_IVORBIS = xyes; then
28386 USE_IVORBIS_FALSE='#'
28388 USE_IVORBIS_TRUE='#'
28395 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GIO library ***" >&5
28396 $as_echo "$as_me: *** checking feature: GIO library ***" >&6;}
28397 if test "xgio" != "x"
28399 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gio ***" >&5
28400 $as_echo "$as_me: *** for plug-ins: gio ***" >&6;}
28403 if test "x$USE_GIO" = "xno"; then
28406 # Check whether --enable-gio was given.
28407 if test "${enable_gio+set}" = set; then :
28408 enableval=$enable_gio; case "${enableval}" in
28411 *) as_fn_error $? "bad value ${enableval} for --enable-gio" "$LINENO" 5 ;;
28417 if test "x$NOUSE" = "xyes"; then
28419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gio pre-configured not to be built" >&5
28420 $as_echo "$as_me: WARNING: *** gio pre-configured not to be built" >&2;}
28425 if test x$USE_GIO = xyes; then
28427 gst_check_save_LIBS=$LIBS
28428 gst_check_save_LDFLAGS=$LDFLAGS
28429 gst_check_save_CFLAGS=$CFLAGS
28430 gst_check_save_CPPFLAGS=$CPPFLAGS
28431 gst_check_save_CXXFLAGS=$CXXFLAGS
28437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
28438 $as_echo_n "checking for GIO... " >&6; }
28440 if test -n "$PKG_CONFIG"; then
28441 if test -n "$GIO_CFLAGS"; then
28442 pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
28444 if test -n "$PKG_CONFIG" && \
28445 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16\""; } >&5
28446 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.16") 2>&5
28448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28449 test $ac_status = 0; }; then
28450 pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.16" 2>/dev/null`
28458 if test -n "$PKG_CONFIG"; then
28459 if test -n "$GIO_LIBS"; then
28460 pkg_cv_GIO_LIBS="$GIO_LIBS"
28462 if test -n "$PKG_CONFIG" && \
28463 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16\""; } >&5
28464 ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.16") 2>&5
28466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28467 test $ac_status = 0; }; then
28468 pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.16" 2>/dev/null`
28479 if test $pkg_failed = yes; then
28481 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28482 _pkg_short_errors_supported=yes
28484 _pkg_short_errors_supported=no
28486 if test $_pkg_short_errors_supported = yes; then
28487 GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gio-2.0 >= 2.16"`
28489 GIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gio-2.0 >= 2.16"`
28491 # Put the nasty error message in config.log where it belongs
28492 echo "$GIO_PKG_ERRORS" >&5
28494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28495 $as_echo "no" >&6; }
28499 elif test $pkg_failed = untried; then
28504 GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
28505 GIO_LIBS=$pkg_cv_GIO_LIBS
28506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28507 $as_echo "yes" >&6; }
28510 GIO_MODULE_DIR="`$PKG_CONFIG --variable=giomoduledir gio-2.0`"
28512 cat >>confdefs.h <<_ACEOF
28513 #define GIO_MODULE_DIR "$GIO_MODULE_DIR"
28516 GIO_LIBDIR="`$PKG_CONFIG --variable=libdir gio-2.0`"
28518 cat >>confdefs.h <<_ACEOF
28519 #define GIO_LIBDIR "$GIO_LIBDIR"
28529 LIBS=$gst_check_save_LIBS
28530 LDFLAGS=$gst_check_save_LDFLAGS
28531 CFLAGS=$gst_check_save_CFLAGS
28532 CPPFLAGS=$gst_check_save_CPPFLAGS
28533 CXXFLAGS=$gst_check_save_CXXFLAGS
28535 if test x$HAVE_GIO = xno; then
28538 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gio" >&5
28539 $as_echo "$as_me: *** These plugins will be built: gio" >&6;}
28542 if test x$USE_GIO = xyes; then
28544 if test "xgio" != "x"; then
28545 GST_PLUGINS_YES="\tgio\n$GST_PLUGINS_YES"
28548 $as_echo "#define HAVE_GIO /**/" >>confdefs.h
28551 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gio" >&5
28552 $as_echo "$as_me: *** These plugins will not be built: gio" >&6;}
28553 if test "xgio" != "x"; then
28554 GST_PLUGINS_NO="\tgio\n$GST_PLUGINS_NO"
28558 if test x$USE_GIO = xyes; then
28569 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libvisual visualization library ***" >&5
28570 $as_echo "$as_me: *** checking feature: libvisual visualization library ***" >&6;}
28571 if test "xlibvisual" != "x"
28573 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: libvisual ***" >&5
28574 $as_echo "$as_me: *** for plug-ins: libvisual ***" >&6;}
28577 if test "x$USE_LIBVISUAL" = "xno"; then
28580 # Check whether --enable-libvisual was given.
28581 if test "${enable_libvisual+set}" = set; then :
28582 enableval=$enable_libvisual; case "${enableval}" in
28583 yes) USE_LIBVISUAL=yes;;
28584 no) USE_LIBVISUAL=no;;
28585 *) as_fn_error $? "bad value ${enableval} for --enable-libvisual" "$LINENO" 5 ;;
28591 if test "x$NOUSE" = "xyes"; then
28593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** libvisual pre-configured not to be built" >&5
28594 $as_echo "$as_me: WARNING: *** libvisual pre-configured not to be built" >&2;}
28599 if test x$USE_LIBVISUAL = xyes; then
28601 gst_check_save_LIBS=$LIBS
28602 gst_check_save_LDFLAGS=$LDFLAGS
28603 gst_check_save_CFLAGS=$CFLAGS
28604 gst_check_save_CPPFLAGS=$CPPFLAGS
28605 gst_check_save_CXXFLAGS=$CXXFLAGS
28610 which="libvisual-0.4 >= 0.4.0"
28615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBVISUAL" >&5
28616 $as_echo_n "checking for LIBVISUAL... " >&6; }
28618 if test -n "$PKG_CONFIG"; then
28619 if test -n "$LIBVISUAL_CFLAGS"; then
28620 pkg_cv_LIBVISUAL_CFLAGS="$LIBVISUAL_CFLAGS"
28622 if test -n "$PKG_CONFIG" && \
28623 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
28624 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
28626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28627 test $ac_status = 0; }; then
28628 pkg_cv_LIBVISUAL_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
28636 if test -n "$PKG_CONFIG"; then
28637 if test -n "$LIBVISUAL_LIBS"; then
28638 pkg_cv_LIBVISUAL_LIBS="$LIBVISUAL_LIBS"
28640 if test -n "$PKG_CONFIG" && \
28641 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
28642 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
28644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28645 test $ac_status = 0; }; then
28646 pkg_cv_LIBVISUAL_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
28657 if test $pkg_failed = yes; then
28659 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28660 _pkg_short_errors_supported=yes
28662 _pkg_short_errors_supported=no
28664 if test $_pkg_short_errors_supported = yes; then
28665 LIBVISUAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
28667 LIBVISUAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
28669 # Put the nasty error message in config.log where it belongs
28670 echo "$LIBVISUAL_PKG_ERRORS" >&5
28672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28673 $as_echo "no" >&6; }
28675 HAVE_LIBVISUAL="no"
28676 if test "x$required" = "xyes"; then
28677 as_fn_error $? "$LIBVISUAL_PKG_ERRORS" "$LINENO" 5
28679 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBVISUAL_PKG_ERRORS" >&5
28680 $as_echo "$as_me: $LIBVISUAL_PKG_ERRORS" >&6;}
28683 elif test $pkg_failed = untried; then
28685 HAVE_LIBVISUAL="no"
28686 if test "x$required" = "xyes"; then
28687 as_fn_error $? "$LIBVISUAL_PKG_ERRORS" "$LINENO" 5
28689 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBVISUAL_PKG_ERRORS" >&5
28690 $as_echo "$as_me: $LIBVISUAL_PKG_ERRORS" >&6;}
28694 LIBVISUAL_CFLAGS=$pkg_cv_LIBVISUAL_CFLAGS
28695 LIBVISUAL_LIBS=$pkg_cv_LIBVISUAL_LIBS
28696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28697 $as_echo "yes" >&6; }
28699 HAVE_LIBVISUAL="yes"
28704 if test $HAVE_LIBVISUAL = no
28707 which="libvisual = 0.2.0"
28712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBVISUAL" >&5
28713 $as_echo_n "checking for LIBVISUAL... " >&6; }
28715 if test -n "$PKG_CONFIG"; then
28716 if test -n "$LIBVISUAL_CFLAGS"; then
28717 pkg_cv_LIBVISUAL_CFLAGS="$LIBVISUAL_CFLAGS"
28719 if test -n "$PKG_CONFIG" && \
28720 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
28721 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
28723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28724 test $ac_status = 0; }; then
28725 pkg_cv_LIBVISUAL_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
28733 if test -n "$PKG_CONFIG"; then
28734 if test -n "$LIBVISUAL_LIBS"; then
28735 pkg_cv_LIBVISUAL_LIBS="$LIBVISUAL_LIBS"
28737 if test -n "$PKG_CONFIG" && \
28738 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
28739 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
28741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28742 test $ac_status = 0; }; then
28743 pkg_cv_LIBVISUAL_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
28754 if test $pkg_failed = yes; then
28756 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28757 _pkg_short_errors_supported=yes
28759 _pkg_short_errors_supported=no
28761 if test $_pkg_short_errors_supported = yes; then
28762 LIBVISUAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
28764 LIBVISUAL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
28766 # Put the nasty error message in config.log where it belongs
28767 echo "$LIBVISUAL_PKG_ERRORS" >&5
28769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28770 $as_echo "no" >&6; }
28772 HAVE_LIBVISUAL="no"
28773 if test "x$required" = "xyes"; then
28774 as_fn_error $? "$LIBVISUAL_PKG_ERRORS" "$LINENO" 5
28776 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBVISUAL_PKG_ERRORS" >&5
28777 $as_echo "$as_me: $LIBVISUAL_PKG_ERRORS" >&6;}
28780 elif test $pkg_failed = untried; then
28782 HAVE_LIBVISUAL="no"
28783 if test "x$required" = "xyes"; then
28784 as_fn_error $? "$LIBVISUAL_PKG_ERRORS" "$LINENO" 5
28786 { $as_echo "$as_me:${as_lineno-$LINENO}: $LIBVISUAL_PKG_ERRORS" >&5
28787 $as_echo "$as_me: $LIBVISUAL_PKG_ERRORS" >&6;}
28791 LIBVISUAL_CFLAGS=$pkg_cv_LIBVISUAL_CFLAGS
28792 LIBVISUAL_LIBS=$pkg_cv_LIBVISUAL_LIBS
28793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28794 $as_echo "yes" >&6; }
28796 HAVE_LIBVISUAL="yes"
28801 if test x$HAVE_LIBVISUAL = xyes; then
28802 LIBVIS_PLUGINSDIR="`$PKG_CONFIG --variable=pluginsbasedir libvisual-0.2`"
28805 if test x$HAVE_LIBVISUAL = xyes; then
28806 LIBVIS_PLUGINSDIR="`$PKG_CONFIG --variable=pluginsbasedir libvisual-0.4`"
28809 { $as_echo "$as_me:${as_lineno-$LINENO}: libvisual pluginsdir: $LIBVIS_PLUGINSDIR" >&5
28810 $as_echo "$as_me: libvisual pluginsdir: $LIBVIS_PLUGINSDIR" >&6;}
28811 if test x$LIBVIS_PLUGINSDIR != x; then
28813 cat >>confdefs.h <<_ACEOF
28814 #define LIBVISUAL_PLUGINSBASEDIR "$LIBVIS_PLUGINSDIR"
28820 LIBS=$gst_check_save_LIBS
28821 LDFLAGS=$gst_check_save_LDFLAGS
28822 CFLAGS=$gst_check_save_CFLAGS
28823 CPPFLAGS=$gst_check_save_CPPFLAGS
28824 CXXFLAGS=$gst_check_save_CXXFLAGS
28826 if test x$HAVE_LIBVISUAL = xno; then
28829 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: libvisual" >&5
28830 $as_echo "$as_me: *** These plugins will be built: libvisual" >&6;}
28833 if test x$USE_LIBVISUAL = xyes; then
28835 if test "xlibvisual" != "x"; then
28836 GST_PLUGINS_YES="\tlibvisual\n$GST_PLUGINS_YES"
28839 $as_echo "#define HAVE_LIBVISUAL /**/" >>confdefs.h
28842 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: libvisual" >&5
28843 $as_echo "$as_me: *** These plugins will not be built: libvisual" >&6;}
28844 if test "xlibvisual" != "x"; then
28845 GST_PLUGINS_NO="\tlibvisual\n$GST_PLUGINS_NO"
28849 if test x$USE_LIBVISUAL = xyes; then
28850 USE_LIBVISUAL_TRUE=
28851 USE_LIBVISUAL_FALSE='#'
28853 USE_LIBVISUAL_TRUE='#'
28854 USE_LIBVISUAL_FALSE=
28860 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Xiph Ogg library ***" >&5
28861 $as_echo "$as_me: *** checking feature: Xiph Ogg library ***" >&6;}
28862 if test "xogg" != "x"
28864 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ogg ***" >&5
28865 $as_echo "$as_me: *** for plug-ins: ogg ***" >&6;}
28868 if test "x$USE_OGG" = "xno"; then
28871 # Check whether --enable-ogg was given.
28872 if test "${enable_ogg+set}" = set; then :
28873 enableval=$enable_ogg; case "${enableval}" in
28876 *) as_fn_error $? "bad value ${enableval} for --enable-ogg" "$LINENO" 5 ;;
28882 if test "x$NOUSE" = "xyes"; then
28884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ogg pre-configured not to be built" >&5
28885 $as_echo "$as_me: WARNING: *** ogg pre-configured not to be built" >&2;}
28890 if test x$USE_OGG = xyes; then
28892 gst_check_save_LIBS=$LIBS
28893 gst_check_save_LDFLAGS=$LDFLAGS
28894 gst_check_save_CFLAGS=$CFLAGS
28895 gst_check_save_CPPFLAGS=$CPPFLAGS
28896 gst_check_save_CXXFLAGS=$CXXFLAGS
28906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OGG" >&5
28907 $as_echo_n "checking for OGG... " >&6; }
28909 if test -n "$PKG_CONFIG"; then
28910 if test -n "$OGG_CFLAGS"; then
28911 pkg_cv_OGG_CFLAGS="$OGG_CFLAGS"
28913 if test -n "$PKG_CONFIG" && \
28914 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
28915 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
28917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28918 test $ac_status = 0; }; then
28919 pkg_cv_OGG_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
28927 if test -n "$PKG_CONFIG"; then
28928 if test -n "$OGG_LIBS"; then
28929 pkg_cv_OGG_LIBS="$OGG_LIBS"
28931 if test -n "$PKG_CONFIG" && \
28932 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
28933 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
28935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28936 test $ac_status = 0; }; then
28937 pkg_cv_OGG_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
28948 if test $pkg_failed = yes; then
28950 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28951 _pkg_short_errors_supported=yes
28953 _pkg_short_errors_supported=no
28955 if test $_pkg_short_errors_supported = yes; then
28956 OGG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
28958 OGG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
28960 # Put the nasty error message in config.log where it belongs
28961 echo "$OGG_PKG_ERRORS" >&5
28963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28964 $as_echo "no" >&6; }
28967 if test "x$required" = "xyes"; then
28968 as_fn_error $? "$OGG_PKG_ERRORS" "$LINENO" 5
28970 { $as_echo "$as_me:${as_lineno-$LINENO}: $OGG_PKG_ERRORS" >&5
28971 $as_echo "$as_me: $OGG_PKG_ERRORS" >&6;}
28974 elif test $pkg_failed = untried; then
28977 if test "x$required" = "xyes"; then
28978 as_fn_error $? "$OGG_PKG_ERRORS" "$LINENO" 5
28980 { $as_echo "$as_me:${as_lineno-$LINENO}: $OGG_PKG_ERRORS" >&5
28981 $as_echo "$as_me: $OGG_PKG_ERRORS" >&6;}
28985 OGG_CFLAGS=$pkg_cv_OGG_CFLAGS
28986 OGG_LIBS=$pkg_cv_OGG_LIBS
28987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28988 $as_echo "yes" >&6; }
28995 if test $HAVE_OGG = no
28998 # Check whether --with-ogg was given.
28999 if test "${with_ogg+set}" = set; then :
29000 withval=$with_ogg; ogg_prefix="$withval"
29006 # Check whether --with-ogg-libraries was given.
29007 if test "${with_ogg_libraries+set}" = set; then :
29008 withval=$with_ogg_libraries; ogg_libraries="$withval"
29014 # Check whether --with-ogg-includes was given.
29015 if test "${with_ogg_includes+set}" = set; then :
29016 withval=$with_ogg_includes; ogg_includes="$withval"
29021 # Check whether --enable-oggtest was given.
29022 if test "${enable_oggtest+set}" = set; then :
29023 enableval=$enable_oggtest;
29029 if test "x$ogg_libraries" != "x" ; then
29030 OGG_LIBS="-L$ogg_libraries"
29031 elif test "x$ogg_prefix" != "x" ; then
29032 OGG_LIBS="-L$ogg_prefix/lib"
29033 elif test "x$prefix" != "xNONE" ; then
29034 OGG_LIBS="-L$prefix/lib"
29037 OGG_LIBS="$OGG_LIBS -logg"
29039 if test "x$ogg_includes" != "x" ; then
29040 OGG_CFLAGS="-I$ogg_includes"
29041 elif test "x$ogg_prefix" != "x" ; then
29042 OGG_CFLAGS="-I$ogg_prefix/include"
29043 elif test "x$prefix" != "xNONE"; then
29044 OGG_CFLAGS="-I$prefix/include"
29047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ogg" >&5
29048 $as_echo_n "checking for Ogg... " >&6; }
29052 if test "x$enable_oggtest" = "xyes" ; then
29053 ac_save_CFLAGS="$CFLAGS"
29054 ac_save_LIBS="$LIBS"
29055 CFLAGS="$CFLAGS $OGG_CFLAGS"
29056 LIBS="$LIBS $OGG_LIBS"
29058 if test "$cross_compiling" = yes; then :
29059 echo $ac_n "cross compiling; assumed OK... $ac_c"
29061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29062 /* end confdefs.h. */
29065 #include <stdlib.h>
29066 #include <string.h>
29067 #include <ogg/ogg.h>
29071 system("touch conf.oggtest");
29077 if ac_fn_c_try_run "$LINENO"; then :
29082 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29083 conftest.$ac_objext conftest.beam conftest.$ac_ext
29086 CFLAGS="$ac_save_CFLAGS"
29087 LIBS="$ac_save_LIBS"
29090 if test "x$no_ogg" = "x" ; then
29091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29092 $as_echo "yes" >&6; }
29095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29096 $as_echo "no" >&6; }
29097 if test -f conf.oggtest ; then
29100 echo "*** Could not run Ogg test program, checking why..."
29101 CFLAGS="$CFLAGS $OGG_CFLAGS"
29102 LIBS="$LIBS $OGG_LIBS"
29103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29104 /* end confdefs.h. */
29107 #include <ogg/ogg.h>
29117 if ac_fn_c_try_link "$LINENO"; then :
29118 echo "*** The test program compiled, but did not run. This usually means"
29119 echo "*** that the run-time linker is not finding Ogg or finding the wrong"
29120 echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your"
29121 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29122 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29123 echo "*** is required on your system"
29125 echo "*** If you have an old version installed, it is best to remove it, although"
29126 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29128 echo "*** The test program failed to compile or link. See the file config.log for the"
29129 echo "*** exact error that occured. This usually means Ogg was incorrectly installed"
29130 echo "*** or that you have moved Ogg since it was installed."
29132 rm -f core conftest.err conftest.$ac_objext \
29133 conftest$ac_exeext conftest.$ac_ext
29134 CFLAGS="$ac_save_CFLAGS"
29135 LIBS="$ac_save_LIBS"
29146 GIVEN_CFLAGS=$OGG_CFLAGS
29147 INCLUDE_DIRS=`echo | cpp -v 2>&1`
29149 INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
29150 for dir in $INCLUDE_DIRS; do
29151 GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
29153 OGG_CFLAGS=$GIVEN_CFLAGS
29158 LIBS=$gst_check_save_LIBS
29159 LDFLAGS=$gst_check_save_LDFLAGS
29160 CFLAGS=$gst_check_save_CFLAGS
29161 CPPFLAGS=$gst_check_save_CPPFLAGS
29162 CXXFLAGS=$gst_check_save_CXXFLAGS
29164 if test x$HAVE_OGG = xno; then
29167 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ogg" >&5
29168 $as_echo "$as_me: *** These plugins will be built: ogg" >&6;}
29171 if test x$USE_OGG = xyes; then
29173 if test "xogg" != "x"; then
29174 GST_PLUGINS_YES="\togg\n$GST_PLUGINS_YES"
29177 $as_echo "#define HAVE_OGG /**/" >>confdefs.h
29180 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ogg" >&5
29181 $as_echo "$as_me: *** These plugins will not be built: ogg" >&6;}
29182 if test "xogg" != "x"; then
29183 GST_PLUGINS_NO="\togg\n$GST_PLUGINS_NO"
29187 if test x$USE_OGG = xyes; then
29198 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Pango font rendering ***" >&5
29199 $as_echo "$as_me: *** checking feature: Pango font rendering ***" >&6;}
29200 if test "xpango" != "x"
29202 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: pango ***" >&5
29203 $as_echo "$as_me: *** for plug-ins: pango ***" >&6;}
29206 if test "x$USE_PANGO" = "xno"; then
29209 # Check whether --enable-pango was given.
29210 if test "${enable_pango+set}" = set; then :
29211 enableval=$enable_pango; case "${enableval}" in
29212 yes) USE_PANGO=yes;;
29214 *) as_fn_error $? "bad value ${enableval} for --enable-pango" "$LINENO" 5 ;;
29220 if test "x$NOUSE" = "xyes"; then
29222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pango pre-configured not to be built" >&5
29223 $as_echo "$as_me: WARNING: *** pango pre-configured not to be built" >&2;}
29228 if test x$USE_PANGO = xyes; then
29230 gst_check_save_LIBS=$LIBS
29231 gst_check_save_LDFLAGS=$LDFLAGS
29232 gst_check_save_CFLAGS=$CFLAGS
29233 gst_check_save_CPPFLAGS=$CPPFLAGS
29234 gst_check_save_CXXFLAGS=$CXXFLAGS
29239 which="pango >= 1.16.0 pangocairo >= 1.16.0"
29244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGO" >&5
29245 $as_echo_n "checking for PANGO... " >&6; }
29247 if test -n "$PKG_CONFIG"; then
29248 if test -n "$PANGO_CFLAGS"; then
29249 pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
29251 if test -n "$PKG_CONFIG" && \
29252 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29253 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29256 test $ac_status = 0; }; then
29257 pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
29265 if test -n "$PKG_CONFIG"; then
29266 if test -n "$PANGO_LIBS"; then
29267 pkg_cv_PANGO_LIBS="$PANGO_LIBS"
29269 if test -n "$PKG_CONFIG" && \
29270 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29271 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29274 test $ac_status = 0; }; then
29275 pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
29286 if test $pkg_failed = yes; then
29288 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29289 _pkg_short_errors_supported=yes
29291 _pkg_short_errors_supported=no
29293 if test $_pkg_short_errors_supported = yes; then
29294 PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
29296 PANGO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
29298 # Put the nasty error message in config.log where it belongs
29299 echo "$PANGO_PKG_ERRORS" >&5
29301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29302 $as_echo "no" >&6; }
29305 if test "x$required" = "xyes"; then
29306 as_fn_error $? "$PANGO_PKG_ERRORS" "$LINENO" 5
29308 { $as_echo "$as_me:${as_lineno-$LINENO}: $PANGO_PKG_ERRORS" >&5
29309 $as_echo "$as_me: $PANGO_PKG_ERRORS" >&6;}
29312 elif test $pkg_failed = untried; then
29315 if test "x$required" = "xyes"; then
29316 as_fn_error $? "$PANGO_PKG_ERRORS" "$LINENO" 5
29318 { $as_echo "$as_me:${as_lineno-$LINENO}: $PANGO_PKG_ERRORS" >&5
29319 $as_echo "$as_me: $PANGO_PKG_ERRORS" >&6;}
29323 PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
29324 PANGO_LIBS=$pkg_cv_PANGO_LIBS
29325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29326 $as_echo "yes" >&6; }
29335 LIBS=$gst_check_save_LIBS
29336 LDFLAGS=$gst_check_save_LDFLAGS
29337 CFLAGS=$gst_check_save_CFLAGS
29338 CPPFLAGS=$gst_check_save_CPPFLAGS
29339 CXXFLAGS=$gst_check_save_CXXFLAGS
29341 if test x$HAVE_PANGO = xno; then
29344 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: pango" >&5
29345 $as_echo "$as_me: *** These plugins will be built: pango" >&6;}
29348 if test x$USE_PANGO = xyes; then
29350 if test "xpango" != "x"; then
29351 GST_PLUGINS_YES="\tpango\n$GST_PLUGINS_YES"
29354 $as_echo "#define HAVE_PANGO /**/" >>confdefs.h
29357 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: pango" >&5
29358 $as_echo "$as_me: *** These plugins will not be built: pango" >&6;}
29359 if test "xpango" != "x"; then
29360 GST_PLUGINS_NO="\tpango\n$GST_PLUGINS_NO"
29364 if test x$USE_PANGO = xyes; then
29366 USE_PANGO_FALSE='#'
29375 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Xiph Theora video codec ***" >&5
29376 $as_echo "$as_me: *** checking feature: Xiph Theora video codec ***" >&6;}
29377 if test "xtheora" != "x"
29379 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: theora ***" >&5
29380 $as_echo "$as_me: *** for plug-ins: theora ***" >&6;}
29383 if test "x$USE_THEORA" = "xno"; then
29386 # Check whether --enable-theora was given.
29387 if test "${enable_theora+set}" = set; then :
29388 enableval=$enable_theora; case "${enableval}" in
29389 yes) USE_THEORA=yes;;
29390 no) USE_THEORA=no;;
29391 *) as_fn_error $? "bad value ${enableval} for --enable-theora" "$LINENO" 5 ;;
29397 if test "x$NOUSE" = "xyes"; then
29399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** theora pre-configured not to be built" >&5
29400 $as_echo "$as_me: WARNING: *** theora pre-configured not to be built" >&2;}
29405 if test x$USE_THEORA = xyes; then
29407 gst_check_save_LIBS=$LIBS
29408 gst_check_save_LDFLAGS=$LDFLAGS
29409 gst_check_save_CFLAGS=$CFLAGS
29410 gst_check_save_CPPFLAGS=$CPPFLAGS
29411 gst_check_save_CXXFLAGS=$CXXFLAGS
29416 which="theoradec >= 1.1 theoraenc >= 1.1"
29421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for THEORA" >&5
29422 $as_echo_n "checking for THEORA... " >&6; }
29424 if test -n "$PKG_CONFIG"; then
29425 if test -n "$THEORA_CFLAGS"; then
29426 pkg_cv_THEORA_CFLAGS="$THEORA_CFLAGS"
29428 if test -n "$PKG_CONFIG" && \
29429 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29430 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29433 test $ac_status = 0; }; then
29434 pkg_cv_THEORA_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
29442 if test -n "$PKG_CONFIG"; then
29443 if test -n "$THEORA_LIBS"; then
29444 pkg_cv_THEORA_LIBS="$THEORA_LIBS"
29446 if test -n "$PKG_CONFIG" && \
29447 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29448 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29451 test $ac_status = 0; }; then
29452 pkg_cv_THEORA_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
29463 if test $pkg_failed = yes; then
29465 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29466 _pkg_short_errors_supported=yes
29468 _pkg_short_errors_supported=no
29470 if test $_pkg_short_errors_supported = yes; then
29471 THEORA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
29473 THEORA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
29475 # Put the nasty error message in config.log where it belongs
29476 echo "$THEORA_PKG_ERRORS" >&5
29478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29479 $as_echo "no" >&6; }
29482 if test "x$required" = "xyes"; then
29483 as_fn_error $? "$THEORA_PKG_ERRORS" "$LINENO" 5
29485 { $as_echo "$as_me:${as_lineno-$LINENO}: $THEORA_PKG_ERRORS" >&5
29486 $as_echo "$as_me: $THEORA_PKG_ERRORS" >&6;}
29489 elif test $pkg_failed = untried; then
29492 if test "x$required" = "xyes"; then
29493 as_fn_error $? "$THEORA_PKG_ERRORS" "$LINENO" 5
29495 { $as_echo "$as_me:${as_lineno-$LINENO}: $THEORA_PKG_ERRORS" >&5
29496 $as_echo "$as_me: $THEORA_PKG_ERRORS" >&6;}
29500 THEORA_CFLAGS=$pkg_cv_THEORA_CFLAGS
29501 THEORA_LIBS=$pkg_cv_THEORA_LIBS
29502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29503 $as_echo "yes" >&6; }
29512 LIBS=$gst_check_save_LIBS
29513 LDFLAGS=$gst_check_save_LDFLAGS
29514 CFLAGS=$gst_check_save_CFLAGS
29515 CPPFLAGS=$gst_check_save_CPPFLAGS
29516 CXXFLAGS=$gst_check_save_CXXFLAGS
29518 if test x$HAVE_THEORA = xno; then
29521 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: theora" >&5
29522 $as_echo "$as_me: *** These plugins will be built: theora" >&6;}
29525 if test x$USE_THEORA = xyes; then
29527 if test "xtheora" != "x"; then
29528 GST_PLUGINS_YES="\ttheora\n$GST_PLUGINS_YES"
29531 $as_echo "#define HAVE_THEORA /**/" >>confdefs.h
29534 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: theora" >&5
29535 $as_echo "$as_me: *** These plugins will not be built: theora" >&6;}
29536 if test "xtheora" != "x"; then
29537 GST_PLUGINS_NO="\ttheora\n$GST_PLUGINS_NO"
29541 if test x$USE_THEORA = xyes; then
29543 USE_THEORA_FALSE='#'
29545 USE_THEORA_TRUE='#'
29552 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Xiph Vorbis audio codec ***" >&5
29553 $as_echo "$as_me: *** checking feature: Xiph Vorbis audio codec ***" >&6;}
29554 if test "xvorbis" != "x"
29556 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: vorbis ***" >&5
29557 $as_echo "$as_me: *** for plug-ins: vorbis ***" >&6;}
29560 if test "x$USE_VORBIS" = "xno"; then
29563 # Check whether --enable-vorbis was given.
29564 if test "${enable_vorbis+set}" = set; then :
29565 enableval=$enable_vorbis; case "${enableval}" in
29566 yes) USE_VORBIS=yes;;
29567 no) USE_VORBIS=no;;
29568 *) as_fn_error $? "bad value ${enableval} for --enable-vorbis" "$LINENO" 5 ;;
29574 if test "x$NOUSE" = "xyes"; then
29576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** vorbis pre-configured not to be built" >&5
29577 $as_echo "$as_me: WARNING: *** vorbis pre-configured not to be built" >&2;}
29582 if test x$USE_VORBIS = xyes; then
29584 gst_check_save_LIBS=$LIBS
29585 gst_check_save_LDFLAGS=$LDFLAGS
29586 gst_check_save_CFLAGS=$CFLAGS
29587 gst_check_save_CPPFLAGS=$CPPFLAGS
29588 gst_check_save_CXXFLAGS=$CXXFLAGS
29593 which="vorbis >= 1.0 vorbisenc >= 1.0"
29598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VORBIS" >&5
29599 $as_echo_n "checking for VORBIS... " >&6; }
29601 if test -n "$PKG_CONFIG"; then
29602 if test -n "$VORBIS_CFLAGS"; then
29603 pkg_cv_VORBIS_CFLAGS="$VORBIS_CFLAGS"
29605 if test -n "$PKG_CONFIG" && \
29606 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29607 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29610 test $ac_status = 0; }; then
29611 pkg_cv_VORBIS_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
29619 if test -n "$PKG_CONFIG"; then
29620 if test -n "$VORBIS_LIBS"; then
29621 pkg_cv_VORBIS_LIBS="$VORBIS_LIBS"
29623 if test -n "$PKG_CONFIG" && \
29624 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
29625 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
29627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29628 test $ac_status = 0; }; then
29629 pkg_cv_VORBIS_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
29640 if test $pkg_failed = yes; then
29642 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29643 _pkg_short_errors_supported=yes
29645 _pkg_short_errors_supported=no
29647 if test $_pkg_short_errors_supported = yes; then
29648 VORBIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
29650 VORBIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
29652 # Put the nasty error message in config.log where it belongs
29653 echo "$VORBIS_PKG_ERRORS" >&5
29655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29656 $as_echo "no" >&6; }
29659 if test "x$required" = "xyes"; then
29660 as_fn_error $? "$VORBIS_PKG_ERRORS" "$LINENO" 5
29662 { $as_echo "$as_me:${as_lineno-$LINENO}: $VORBIS_PKG_ERRORS" >&5
29663 $as_echo "$as_me: $VORBIS_PKG_ERRORS" >&6;}
29666 elif test $pkg_failed = untried; then
29669 if test "x$required" = "xyes"; then
29670 as_fn_error $? "$VORBIS_PKG_ERRORS" "$LINENO" 5
29672 { $as_echo "$as_me:${as_lineno-$LINENO}: $VORBIS_PKG_ERRORS" >&5
29673 $as_echo "$as_me: $VORBIS_PKG_ERRORS" >&6;}
29677 VORBIS_CFLAGS=$pkg_cv_VORBIS_CFLAGS
29678 VORBIS_LIBS=$pkg_cv_VORBIS_LIBS
29679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29680 $as_echo "yes" >&6; }
29687 if test $HAVE_VORBIS = no
29690 # Check whether --with-vorbis was given.
29691 if test "${with_vorbis+set}" = set; then :
29692 withval=$with_vorbis; vorbis_prefix="$withval"
29698 # Check whether --with-vorbis-libraries was given.
29699 if test "${with_vorbis_libraries+set}" = set; then :
29700 withval=$with_vorbis_libraries; vorbis_libraries="$withval"
29702 vorbis_libraries=""
29706 # Check whether --with-vorbis-includes was given.
29707 if test "${with_vorbis_includes+set}" = set; then :
29708 withval=$with_vorbis_includes; vorbis_includes="$withval"
29713 # Check whether --enable-vorbistest was given.
29714 if test "${enable_vorbistest+set}" = set; then :
29715 enableval=$enable_vorbistest;
29717 enable_vorbistest=yes
29721 if test "x$vorbis_libraries" != "x" ; then
29722 VORBIS_LIBS="-L$vorbis_libraries"
29723 elif test "x$vorbis_prefix" != "x" ; then
29724 VORBIS_LIBS="-L$vorbis_prefix/lib"
29725 elif test "x$prefix" != "xNONE"; then
29726 VORBIS_LIBS="-L$prefix/lib"
29729 VORBIS_LIBS="$VORBIS_LIBS -lvorbis -lm"
29730 VORBISFILE_LIBS="-lvorbisfile"
29731 VORBISENC_LIBS="-lvorbisenc"
29733 if test "x$vorbis_includes" != "x" ; then
29734 VORBIS_CFLAGS="-I$vorbis_includes"
29735 elif test "x$vorbis_prefix" != "x" ; then
29736 VORBIS_CFLAGS="-I$vorbis_prefix/include"
29737 elif test "x$prefix" != "xNONE"; then
29738 VORBIS_CFLAGS="-I$prefix/include"
29742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Vorbis" >&5
29743 $as_echo_n "checking for Vorbis... " >&6; }
29747 if test "x$enable_vorbistest" = "xyes" ; then
29748 ac_save_CFLAGS="$CFLAGS"
29749 ac_save_LIBS="$LIBS"
29750 CFLAGS="$CFLAGS $VORBIS_CFLAGS $OGG_CFLAGS"
29751 LIBS="$LIBS $VORBIS_LIBS $VORBISENC_LIBS $OGG_LIBS"
29752 rm -f conf.vorbistest
29753 if test "$cross_compiling" = yes; then :
29754 echo $ac_n "cross compiling; assumed OK... $ac_c"
29756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29757 /* end confdefs.h. */
29760 #include <stdlib.h>
29761 #include <string.h>
29762 #include <vorbis/codec.h>
29763 #include <vorbis/vorbisenc.h>
29768 vorbis_dsp_state vd;
29771 vorbis_info_init (&vi);
29772 vorbis_encode_init (&vi, 2, 44100, -1, 128000, -1);
29773 vorbis_analysis_init (&vd, &vi);
29774 vorbis_block_init (&vd, &vb);
29775 /* this function was added in 1.0rc3, so this is what we're testing for */
29776 vorbis_bitrate_addblock (&vb);
29778 /* this define was added in 1.0 final */
29779 #ifdef OV_ECTL_RATEMANAGE_SET
29780 system("touch conf.vorbistest");
29789 if ac_fn_c_try_run "$LINENO"; then :
29794 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
29795 conftest.$ac_objext conftest.beam conftest.$ac_ext
29798 CFLAGS="$ac_save_CFLAGS"
29799 LIBS="$ac_save_LIBS"
29802 if test "x$no_vorbis" = "x" ; then
29803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29804 $as_echo "yes" >&6; }
29807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29808 $as_echo "no" >&6; }
29809 if test -f conf.vorbistest ; then
29812 echo "*** Could not run Vorbis test program, checking why..."
29813 CFLAGS="$CFLAGS $VORBIS_CFLAGS"
29814 LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS"
29815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29816 /* end confdefs.h. */
29819 #include <vorbis/codec.h>
29829 if ac_fn_c_try_link "$LINENO"; then :
29830 echo "*** The test program compiled, but did not run. This usually means"
29831 echo "*** that the run-time linker is not finding Vorbis or finding the wrong"
29832 echo "*** version of Vorbis. If it is not finding Vorbis, you'll need to set your"
29833 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29834 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29835 echo "*** is required on your system"
29837 echo "*** If you have an old version installed, it is best to remove it, although"
29838 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29840 echo "*** The test program failed to compile or link. See the file config.log for the"
29841 echo "*** exact error that occured. This usually means Vorbis was incorrectly installed"
29842 echo "*** or that you have moved Vorbis since it was installed."
29844 rm -f core conftest.err conftest.$ac_objext \
29845 conftest$ac_exeext conftest.$ac_ext
29846 CFLAGS="$ac_save_CFLAGS"
29847 LIBS="$ac_save_LIBS"
29859 rm -f conf.vorbistest
29862 GIVEN_CFLAGS=$VORBIS_CFLAGS
29863 INCLUDE_DIRS=`echo | cpp -v 2>&1`
29865 INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
29866 for dir in $INCLUDE_DIRS; do
29867 GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
29869 VORBIS_CFLAGS=$GIVEN_CFLAGS
29874 LIBS=$gst_check_save_LIBS
29875 LDFLAGS=$gst_check_save_LDFLAGS
29876 CFLAGS=$gst_check_save_CFLAGS
29877 CPPFLAGS=$gst_check_save_CPPFLAGS
29878 CXXFLAGS=$gst_check_save_CXXFLAGS
29880 if test x$HAVE_VORBIS = xno; then
29883 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: vorbis" >&5
29884 $as_echo "$as_me: *** These plugins will be built: vorbis" >&6;}
29887 if test x$USE_VORBIS = xyes; then
29889 if test "xvorbis" != "x"; then
29890 GST_PLUGINS_YES="\tvorbis\n$GST_PLUGINS_YES"
29893 $as_echo "#define HAVE_VORBIS /**/" >>confdefs.h
29896 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: vorbis" >&5
29897 $as_echo "$as_me: *** These plugins will not be built: vorbis" >&6;}
29898 if test "xvorbis" != "x"; then
29899 GST_PLUGINS_NO="\tvorbis\n$GST_PLUGINS_NO"
29903 if test x$USE_VORBIS = xyes; then
29905 USE_VORBIS_FALSE='#'
29907 USE_VORBIS_TRUE='#'
29913 if test "x$HAVE_VORBIS" = "xyes"; then
29914 ac_cflags_save="$CFLAGS"
29915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29916 /* end confdefs.h. */
29918 #include <vorbis/codec.h>
29924 vorbis_dsp_state *v;
29926 vorbis_synthesis_restart (v);
29932 if ac_fn_c_try_compile "$LINENO"; then :
29937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29938 if test "x$HAVE_VSR" = "xyes"; then
29940 cat >>confdefs.h <<_ACEOF
29941 #define HAVE_VORBIS_SYNTHESIS_RESTART 1
29945 CFLAGS="$ac_cflags_save"
29959 USE_CDPARANOIA_TRUE=
29960 USE_CDPARANOIA_FALSE='#'
29962 USE_CDPARANOIA_TRUE='#'
29963 USE_CDPARANOIA_FALSE=
29975 USE_GNOME_VFS_TRUE=
29976 USE_GNOME_VFS_FALSE='#'
29978 USE_GNOME_VFS_TRUE='#'
29979 USE_GNOME_VFS_FALSE=
29984 USE_IVORBIS_FALSE='#'
29986 USE_IVORBIS_TRUE='#'
29991 USE_LIBVISUAL_TRUE=
29992 USE_LIBVISUAL_FALSE='#'
29994 USE_LIBVISUAL_TRUE='#'
29995 USE_LIBVISUAL_FALSE=
30008 USE_PANGO_FALSE='#'
30016 USE_THEORA_FALSE='#'
30018 USE_THEORA_TRUE='#'
30024 USE_VORBIS_FALSE='#'
30026 USE_VORBIS_TRUE='#'
30034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FT2" >&5
30035 $as_echo_n "checking for FT2... " >&6; }
30037 if test -n "$PKG_CONFIG"; then
30038 if test -n "$FT2_CFLAGS"; then
30039 pkg_cv_FT2_CFLAGS="$FT2_CFLAGS"
30041 if test -n "$PKG_CONFIG" && \
30042 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.0.9\""; } >&5
30043 ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.0.9") 2>&5
30045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30046 test $ac_status = 0; }; then
30047 pkg_cv_FT2_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 2.0.9" 2>/dev/null`
30055 if test -n "$PKG_CONFIG"; then
30056 if test -n "$FT2_LIBS"; then
30057 pkg_cv_FT2_LIBS="$FT2_LIBS"
30059 if test -n "$PKG_CONFIG" && \
30060 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.0.9\""; } >&5
30061 ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.0.9") 2>&5
30063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30064 test $ac_status = 0; }; then
30065 pkg_cv_FT2_LIBS=`$PKG_CONFIG --libs "freetype2 >= 2.0.9" 2>/dev/null`
30076 if test $pkg_failed = yes; then
30078 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30079 _pkg_short_errors_supported=yes
30081 _pkg_short_errors_supported=no
30083 if test $_pkg_short_errors_supported = yes; then
30084 FT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "freetype2 >= 2.0.9"`
30086 FT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "freetype2 >= 2.0.9"`
30088 # Put the nasty error message in config.log where it belongs
30089 echo "$FT2_PKG_ERRORS" >&5
30091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30092 $as_echo "no" >&6; }
30095 # Check whether --with-ft-prefix was given.
30096 if test "${with_ft_prefix+set}" = set; then :
30097 withval=$with_ft_prefix; ft_config_prefix="$withval"
30099 ft_config_prefix=""
30103 # Check whether --with-ft-exec-prefix was given.
30104 if test "${with_ft_exec_prefix+set}" = set; then :
30105 withval=$with_ft_exec_prefix; ft_config_exec_prefix="$withval"
30107 ft_config_exec_prefix=""
30110 # Check whether --enable-freetypetest was given.
30111 if test "${enable_freetypetest+set}" = set; then :
30112 enableval=$enable_freetypetest;
30118 if test x$ft_config_exec_prefix != x ; then
30119 ft_config_args="$ft_config_args --exec-prefix=$ft_config_exec_prefix"
30120 if test x${FT2_CONFIG+set} != xset ; then
30121 FT2_CONFIG=$ft_config_exec_prefix/bin/freetype-config
30124 if test x$ft_config_prefix != x ; then
30125 ft_config_args="$ft_config_args --prefix=$ft_config_prefix"
30126 if test x${FT2_CONFIG+set} != xset ; then
30127 FT2_CONFIG=$ft_config_prefix/bin/freetype-config
30130 # Extract the first word of "freetype-config", so it can be a program name with args.
30131 set dummy freetype-config; ac_word=$2
30132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30133 $as_echo_n "checking for $ac_word... " >&6; }
30134 if test "${ac_cv_path_FT2_CONFIG+set}" = set; then :
30135 $as_echo_n "(cached) " >&6
30137 case $FT2_CONFIG in
30139 ac_cv_path_FT2_CONFIG="$FT2_CONFIG" # Let the user override the test with a path.
30142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30143 for as_dir in $PATH
30146 test -z "$as_dir" && as_dir=.
30147 for ac_exec_ext in '' $ac_executable_extensions; do
30148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30149 ac_cv_path_FT2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30157 test -z "$ac_cv_path_FT2_CONFIG" && ac_cv_path_FT2_CONFIG="no"
30161 FT2_CONFIG=$ac_cv_path_FT2_CONFIG
30162 if test -n "$FT2_CONFIG"; then
30163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FT2_CONFIG" >&5
30164 $as_echo "$FT2_CONFIG" >&6; }
30166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30167 $as_echo "no" >&6; }
30172 min_ft_version=2.0.9
30173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FreeType - version >= $min_ft_version" >&5
30174 $as_echo_n "checking for FreeType - version >= $min_ft_version... " >&6; }
30176 if test "$FT2_CONFIG" = "no" ; then
30179 FT2_CFLAGS=`$FT2_CONFIG $ft_config_args --cflags`
30180 FT2_LIBS=`$FT2_CONFIG $ft_config_args --libs`
30181 ft_config_major_version=`$FT2_CONFIG $ft_config_args --version | \
30182 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30183 ft_config_minor_version=`$FT2_CONFIG $ft_config_args --version | \
30184 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30185 ft_config_micro_version=`$FT2_CONFIG $ft_config_args --version | \
30186 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30187 ft_min_major_version=`echo $min_ft_version | \
30188 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30189 ft_min_minor_version=`echo $min_ft_version | \
30190 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30191 ft_min_micro_version=`echo $min_ft_version | \
30192 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30193 if test x$enable_fttest = xyes ; then
30195 if test $ft_config_major_version -lt $ft_min_major_version ; then
30196 ft_config_is_lt=yes
30198 if test $ft_config_major_version -eq $ft_min_major_version ; then
30199 if test $ft_config_minor_version -lt $ft_min_minor_version ; then
30200 ft_config_is_lt=yes
30202 if test $ft_config_minor_version -eq $ft_min_minor_version ; then
30203 if test $ft_config_micro_version -lt $ft_min_micro_version ; then
30204 ft_config_is_lt=yes
30210 if test x$ft_config_is_lt = xyes ; then
30213 ac_save_CFLAGS="$CFLAGS"
30214 ac_save_LIBS="$LIBS"
30215 CFLAGS="$CFLAGS $FT2_CFLAGS"
30216 LIBS="$FT2_LIBS $LIBS"
30217 if test "$cross_compiling" = yes; then :
30218 echo $ac_n "cross compiling; assumed OK... $ac_c"
30220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30221 /* end confdefs.h. */
30223 #include <ft2build.h>
30224 #include FT_FREETYPE_H
30226 #include <stdlib.h>
30231 FT_Library library;
30234 error = FT_Init_FreeType(&library);
30240 FT_Done_FreeType(library);
30246 if ac_fn_c_try_run "$LINENO"; then :
30251 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30252 conftest.$ac_objext conftest.beam conftest.$ac_ext
30255 CFLAGS="$ac_save_CFLAGS"
30256 LIBS="$ac_save_LIBS"
30257 fi # test $ft_config_version -lt $ft_min_version
30258 fi # test x$enable_fttest = xyes
30259 fi # test "$FT2_CONFIG" = "no"
30260 if test x$no_ft = x ; then
30261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30262 $as_echo "yes" >&6; }
30265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30266 $as_echo "no" >&6; }
30267 if test "$FT2_CONFIG" = "no" ; then
30268 echo "*** The freetype-config script installed by FreeType 2 could not be found."
30269 echo "*** If FreeType 2 was installed in PREFIX, make sure PREFIX/bin is in"
30270 echo "*** your path, or set the FT2_CONFIG environment variable to the"
30271 echo "*** full path to freetype-config."
30273 if test x$ft_config_is_lt = xyes ; then
30274 echo "*** Your installed version of the FreeType 2 library is too old."
30275 echo "*** If you have different versions of FreeType 2, make sure that"
30276 echo "*** correct values for --with-ft-prefix or --with-ft-exec-prefix"
30277 echo "*** are used, or set the FT2_CONFIG environment variable to the"
30278 echo "*** full path to freetype-config."
30280 echo "*** The FreeType test program failed to run. If your system uses"
30281 echo "*** shared libraries and they are installed outside the normal"
30282 echo "*** system library path, make sure the variable LD_LIBRARY_PATH"
30283 echo "*** (or whatever is appropiate for your system) is correctly set."
30294 elif test $pkg_failed = untried; then
30297 # Check whether --with-ft-prefix was given.
30298 if test "${with_ft_prefix+set}" = set; then :
30299 withval=$with_ft_prefix; ft_config_prefix="$withval"
30301 ft_config_prefix=""
30305 # Check whether --with-ft-exec-prefix was given.
30306 if test "${with_ft_exec_prefix+set}" = set; then :
30307 withval=$with_ft_exec_prefix; ft_config_exec_prefix="$withval"
30309 ft_config_exec_prefix=""
30312 # Check whether --enable-freetypetest was given.
30313 if test "${enable_freetypetest+set}" = set; then :
30314 enableval=$enable_freetypetest;
30320 if test x$ft_config_exec_prefix != x ; then
30321 ft_config_args="$ft_config_args --exec-prefix=$ft_config_exec_prefix"
30322 if test x${FT2_CONFIG+set} != xset ; then
30323 FT2_CONFIG=$ft_config_exec_prefix/bin/freetype-config
30326 if test x$ft_config_prefix != x ; then
30327 ft_config_args="$ft_config_args --prefix=$ft_config_prefix"
30328 if test x${FT2_CONFIG+set} != xset ; then
30329 FT2_CONFIG=$ft_config_prefix/bin/freetype-config
30332 # Extract the first word of "freetype-config", so it can be a program name with args.
30333 set dummy freetype-config; ac_word=$2
30334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30335 $as_echo_n "checking for $ac_word... " >&6; }
30336 if test "${ac_cv_path_FT2_CONFIG+set}" = set; then :
30337 $as_echo_n "(cached) " >&6
30339 case $FT2_CONFIG in
30341 ac_cv_path_FT2_CONFIG="$FT2_CONFIG" # Let the user override the test with a path.
30344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30345 for as_dir in $PATH
30348 test -z "$as_dir" && as_dir=.
30349 for ac_exec_ext in '' $ac_executable_extensions; do
30350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30351 ac_cv_path_FT2_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30352 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30359 test -z "$ac_cv_path_FT2_CONFIG" && ac_cv_path_FT2_CONFIG="no"
30363 FT2_CONFIG=$ac_cv_path_FT2_CONFIG
30364 if test -n "$FT2_CONFIG"; then
30365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FT2_CONFIG" >&5
30366 $as_echo "$FT2_CONFIG" >&6; }
30368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30369 $as_echo "no" >&6; }
30374 min_ft_version=2.0.9
30375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FreeType - version >= $min_ft_version" >&5
30376 $as_echo_n "checking for FreeType - version >= $min_ft_version... " >&6; }
30378 if test "$FT2_CONFIG" = "no" ; then
30381 FT2_CFLAGS=`$FT2_CONFIG $ft_config_args --cflags`
30382 FT2_LIBS=`$FT2_CONFIG $ft_config_args --libs`
30383 ft_config_major_version=`$FT2_CONFIG $ft_config_args --version | \
30384 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30385 ft_config_minor_version=`$FT2_CONFIG $ft_config_args --version | \
30386 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30387 ft_config_micro_version=`$FT2_CONFIG $ft_config_args --version | \
30388 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30389 ft_min_major_version=`echo $min_ft_version | \
30390 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30391 ft_min_minor_version=`echo $min_ft_version | \
30392 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30393 ft_min_micro_version=`echo $min_ft_version | \
30394 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30395 if test x$enable_fttest = xyes ; then
30397 if test $ft_config_major_version -lt $ft_min_major_version ; then
30398 ft_config_is_lt=yes
30400 if test $ft_config_major_version -eq $ft_min_major_version ; then
30401 if test $ft_config_minor_version -lt $ft_min_minor_version ; then
30402 ft_config_is_lt=yes
30404 if test $ft_config_minor_version -eq $ft_min_minor_version ; then
30405 if test $ft_config_micro_version -lt $ft_min_micro_version ; then
30406 ft_config_is_lt=yes
30412 if test x$ft_config_is_lt = xyes ; then
30415 ac_save_CFLAGS="$CFLAGS"
30416 ac_save_LIBS="$LIBS"
30417 CFLAGS="$CFLAGS $FT2_CFLAGS"
30418 LIBS="$FT2_LIBS $LIBS"
30419 if test "$cross_compiling" = yes; then :
30420 echo $ac_n "cross compiling; assumed OK... $ac_c"
30422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30423 /* end confdefs.h. */
30425 #include <ft2build.h>
30426 #include FT_FREETYPE_H
30428 #include <stdlib.h>
30433 FT_Library library;
30436 error = FT_Init_FreeType(&library);
30442 FT_Done_FreeType(library);
30448 if ac_fn_c_try_run "$LINENO"; then :
30453 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
30454 conftest.$ac_objext conftest.beam conftest.$ac_ext
30457 CFLAGS="$ac_save_CFLAGS"
30458 LIBS="$ac_save_LIBS"
30459 fi # test $ft_config_version -lt $ft_min_version
30460 fi # test x$enable_fttest = xyes
30461 fi # test "$FT2_CONFIG" = "no"
30462 if test x$no_ft = x ; then
30463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30464 $as_echo "yes" >&6; }
30467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30468 $as_echo "no" >&6; }
30469 if test "$FT2_CONFIG" = "no" ; then
30470 echo "*** The freetype-config script installed by FreeType 2 could not be found."
30471 echo "*** If FreeType 2 was installed in PREFIX, make sure PREFIX/bin is in"
30472 echo "*** your path, or set the FT2_CONFIG environment variable to the"
30473 echo "*** full path to freetype-config."
30475 if test x$ft_config_is_lt = xyes ; then
30476 echo "*** Your installed version of the FreeType 2 library is too old."
30477 echo "*** If you have different versions of FreeType 2, make sure that"
30478 echo "*** correct values for --with-ft-prefix or --with-ft-exec-prefix"
30479 echo "*** are used, or set the FT2_CONFIG environment variable to the"
30480 echo "*** full path to freetype-config."
30482 echo "*** The FreeType test program failed to run. If your system uses"
30483 echo "*** shared libraries and they are installed outside the normal"
30484 echo "*** system library path, make sure the variable LD_LIBRARY_PATH"
30485 echo "*** (or whatever is appropiate for your system) is correctly set."
30497 FT2_CFLAGS=$pkg_cv_FT2_CFLAGS
30498 FT2_LIBS=$pkg_cv_FT2_LIBS
30499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30500 $as_echo "yes" >&6; }
30503 if test "x$HAVE_FT2" = "xyes"; then
30516 if test "x$USE_DEBUG" = xyes; then
30517 PROFILE_CFLAGS="-g"
30521 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
30522 DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
30524 DEPRECATED_CFLAGS=""
30528 GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
30529 GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
30535 GST_PLUGINS_BASE_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs"
30538 GST_CXXFLAGS="$GLIB_CFLAGS $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CXXFLAGS)"
30539 GST_CFLAGS="$GLIB_CFLAGS $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CFLAGS)"
30542 GST_LIBS="$GST_LIBS \$(GCOV_LIBS)"
30545 GST_ALL_LDFLAGS="-no-undefined"
30546 if test "x${enable_Bsymbolic}" = "xyes"; then
30547 GST_ALL_LDFLAGS="$GST_ALL_LDFLAGS -Wl,-Bsymbolic-functions"
30551 GST_LIB_LDFLAGS="-export-symbols-regex ^_?\(gst_\|Gst\|GST_\).*"
30554 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_desc.*' $GST_ALL_LDFLAGS"
30558 ac_config_files="$ac_config_files Makefile gst-plugins-base.spec gst/Makefile gst/adder/Makefile gst/app/Makefile gst/audioconvert/Makefile gst/audiorate/Makefile gst/audiotestsrc/Makefile gst/encoding/Makefile gst/ffmpegcolorspace/Makefile gst/gdp/Makefile gst/playback/Makefile gst/audioresample/Makefile gst/subparse/Makefile gst/tcp/Makefile gst/typefind/Makefile gst/videotestsrc/Makefile gst/videorate/Makefile gst/videoscale/Makefile gst/volume/Makefile sys/Makefile sys/ximage/Makefile sys/xvimage/Makefile sys/v4l/Makefile ext/Makefile ext/alsa/Makefile ext/cdparanoia/Makefile ext/gnomevfs/Makefile ext/gio/Makefile ext/libvisual/Makefile ext/ogg/Makefile ext/pango/Makefile ext/theora/Makefile ext/vorbis/Makefile gst-libs/Makefile gst-libs/gst/Makefile gst-libs/gst/audio/Makefile gst-libs/gst/app/Makefile gst-libs/gst/cdda/Makefile gst-libs/gst/fft/Makefile gst-libs/gst/floatcast/Makefile gst-libs/gst/interfaces/Makefile gst-libs/gst/netbuffer/Makefile gst-libs/gst/riff/Makefile gst-libs/gst/rtp/Makefile gst-libs/gst/rtsp/Makefile gst-libs/gst/sdp/Makefile gst-libs/gst/tag/Makefile gst-libs/gst/pbutils/Makefile gst-libs/gst/pbutils/gstpluginsbaseversion.h gst-libs/gst/video/Makefile tools/Makefile pkgconfig/Makefile pkgconfig/gstreamer-audio.pc pkgconfig/gstreamer-audio-uninstalled.pc pkgconfig/gstreamer-app.pc pkgconfig/gstreamer-app-uninstalled.pc pkgconfig/gstreamer-cdda.pc pkgconfig/gstreamer-cdda-uninstalled.pc pkgconfig/gstreamer-fft.pc pkgconfig/gstreamer-fft-uninstalled.pc pkgconfig/gstreamer-floatcast.pc pkgconfig/gstreamer-floatcast-uninstalled.pc pkgconfig/gstreamer-interfaces.pc pkgconfig/gstreamer-interfaces-uninstalled.pc pkgconfig/gstreamer-netbuffer.pc pkgconfig/gstreamer-netbuffer-uninstalled.pc pkgconfig/gstreamer-pbutils.pc pkgconfig/gstreamer-pbutils-uninstalled.pc pkgconfig/gstreamer-riff.pc pkgconfig/gstreamer-riff-uninstalled.pc pkgconfig/gstreamer-rtp.pc pkgconfig/gstreamer-rtp-uninstalled.pc pkgconfig/gstreamer-rtsp.pc pkgconfig/gstreamer-rtsp-uninstalled.pc pkgconfig/gstreamer-sdp.pc pkgconfig/gstreamer-sdp-uninstalled.pc pkgconfig/gstreamer-tag.pc pkgconfig/gstreamer-tag-uninstalled.pc pkgconfig/gstreamer-video.pc pkgconfig/gstreamer-video-uninstalled.pc pkgconfig/gstreamer-plugins-base.pc pkgconfig/gstreamer-plugins-base-uninstalled.pc tests/Makefile tests/check/Makefile tests/examples/Makefile tests/examples/app/Makefile tests/examples/dynamic/Makefile tests/examples/encoding/Makefile tests/examples/gio/Makefile tests/examples/overlay/Makefile tests/examples/seek/Makefile tests/examples/snapshot/Makefile tests/examples/playrec/Makefile tests/examples/volume/Makefile tests/examples/v4l/Makefile tests/files/Makefile tests/icles/Makefile tests/icles/playback/Makefile docs/Makefile docs/design/Makefile docs/libs/Makefile docs/plugins/Makefile docs/version.entities po/Makefile.in common/Makefile common/m4/Makefile m4/Makefile"
30562 -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"/' \
30563 -e 's/.* GST_INSTALL_PLUGINS_HELPER/#define GST_INSTALL_PLUGINS_HELPER PREFIX "\\\\libexec\\\\gst-install-plugins-helper.exe"/' \
30564 -e 's/.* GETTEXT_PACKAGE$/#define GETTEXT_PACKAGE "'$GETTEXT_PACKAGE'"/' \
30565 -e 's/.* GST_DATADIR$/#define GST_DATADIR PREFIX "\\\\share"/' \
30566 -e 's/.* GST_LEVEL_DEFAULT$/#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR/' \
30567 -e 's/.* GST_LICENSE$/#define GST_LICENSE "'$GST_LICENSE'"/' \
30568 -e 's/.* GST_MAJORMINOR$/#define GST_MAJORMINOR "'$GST_MAJORMINOR'"/' \
30569 -e "s,.* GST_PACKAGE_NAME$,#define GST_PACKAGE_NAME \"${GST_PACKAGE_NAME}\"," \
30570 -e 's/.* GST_PACKAGE_ORIGIN$/#define GST_PACKAGE_ORIGIN "Unknown package origin"/' \
30571 -e "s,.* GST_PACKAGE_RELEASE_DATETIME$,#define GST_PACKAGE_RELEASE_DATETIME \"${GST_PACKAGE_RELEASE_DATETIME}\"," \
30572 -e 's/.* HAVE_CPU_I386$/#define HAVE_CPU_I386 1/' \
30573 -e 's/.* HAVE_FGETPOS$/#define HAVE_FGETPOS 1/' \
30574 -e 's/.* HAVE_FSETPOS$/#define HAVE_FSETPOS 1/' \
30575 -e 's/.* HAVE_ISO_CODES$/#undef HAVE_ISO_CODES/' \
30576 -e 's/.* HAVE_LIBXML2$/#define HAVE_LIBXML2 1/' \
30577 -e 's/.* HAVE_PROCESS_H$/#define HAVE_PROCESS_H 1/' \
30578 -e 's/.* HAVE_STDLIB_H$/#define HAVE_STDLIB_H 1/' \
30579 -e 's/.* HAVE_STRING_H$/#define HAVE_STRING_H 1/' \
30580 -e 's/.* HAVE_SYS_STAT_H$/#define HAVE_SYS_STAT_H 1/' \
30581 -e 's/.* HAVE_SYS_TYPES_H$/#define HAVE_SYS_TYPES_H 1/' \
30582 -e 's/.* HAVE_WIN32$/#define HAVE_WIN32 1/' \
30583 -e 's/.* HAVE_WINSOCK2_H$/#define HAVE_WINSOCK2_H 1/' \
30584 -e 's/.* HOST_CPU$/#define HOST_CPU "i686"/' \
30585 -e 's/.* ISO_CODES_PREFIX$/#undef ISO_CODES_PREFIX/' \
30586 -e 's/.* ISO_CODES_VERSION$/#undef ISO_CODES_VERSION/' \
30587 -e 's/.* LIBDIR$/#ifdef _DEBUG\n# define LIBDIR PREFIX "\\\\debug\\\\lib"\n#else\n# define LIBDIR PREFIX "\\\\lib"\n#endif/' \
30588 -e 's/.* LOCALEDIR$/#define LOCALEDIR PREFIX "\\\\share\\\\locale"/' \
30589 -e "s/.* PACKAGE$/#define PACKAGE \"$PACKAGE\"/" \
30590 -e 's/.* PACKAGE_BUGREPORT$/#define PACKAGE_BUGREPORT "http:\/\/bugzilla.gnome.org\/enter_bug.cgi?product=GStreamer"/' \
30591 -e "s/.* PACKAGE_NAME$/#define PACKAGE_NAME \"$PACKAGE_NAME\"/" \
30592 -e "s/.* PACKAGE_STRING$/#define PACKAGE_STRING \"$PACKAGE_STRING\"/" \
30593 -e 's/.* PACKAGE_TARNAME$/#define PACKAGE_TARNAME "'$PACKAGE_TARNAME'"/' \
30594 -e 's/.* PACKAGE_VERSION$/#define PACKAGE_VERSION "'$PACKAGE_VERSION'"/' \
30595 -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/' \
30596 -e 's/.* USE_BINARY_REGISTRY$/#define USE_BINARY_REGISTRY/' \
30597 -e 's/.* VERSION$/#define VERSION "'$VERSION'"/' \
30598 -e "s/.* DEFAULT_AUDIOSINK$/#define DEFAULT_AUDIOSINK \"directsoundsink\"/" \
30599 -e "s/.* DEFAULT_VIDEOSINK$/#define DEFAULT_VIDEOSINK \"directdrawsink\"/" \
30600 -e "s/.* DEFAULT_VISUALIZER$/#define DEFAULT_VISUALIZER \"goom\"/" \
30601 config.h.in >win32/common/config.h-new
30605 cat >confcache <<\_ACEOF
30606 # This file is a shell script that caches the results of configure
30607 # tests run on this system so they can be shared between configure
30608 # scripts and configure runs, see configure's option --config-cache.
30609 # It is not useful on other systems. If it contains results you don't
30610 # want to keep, you may remove or edit it.
30612 # config.status only pays attention to the cache file if you give it
30613 # the --recheck option to rerun configure.
30615 # `ac_cv_env_foo' variables (set or unset) will be overridden when
30616 # loading this file, other *unset* `ac_cv_foo' will be assigned the
30617 # following values.
30621 # The following way of writing the cache mishandles newlines in values,
30622 # but we know of no workaround that is simple, portable, and efficient.
30623 # So, we kill variables containing newlines.
30624 # Ultrix sh set writes to stderr and can't be redirected directly,
30625 # and sets the high bit in the cache file unless we assign to the vars.
30627 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
30628 eval ac_val=\$$ac_var
30632 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
30633 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
30636 _ | IFS | as_nl) ;; #(
30637 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
30638 *) { eval $ac_var=; unset $ac_var;} ;;
30644 case $as_nl`(ac_space=' '; set) 2>&1` in #(
30645 *${as_nl}ac_space=\ *)
30646 # `set' does not quote correctly, so add quotes: double-quote
30647 # substitution turns \\\\ into \\, and sed turns \\ into \.
30650 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
30653 # `set' quotes correctly as required by POSIX, so do not add quotes.
30654 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
30663 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
30665 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
30667 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
30668 if test -w "$cache_file"; then
30669 test "x$cache_file" != "x/dev/null" &&
30670 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
30671 $as_echo "$as_me: updating cache $cache_file" >&6;}
30672 cat confcache >$cache_file
30674 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
30675 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
30680 test "x$prefix" = xNONE && prefix=$ac_default_prefix
30681 # Let make expand exec_prefix.
30682 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
30684 DEFS=-DHAVE_CONFIG_H
30689 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
30690 # 1. Remove the extension, and $U if already installed.
30691 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
30692 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
30693 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
30694 # will be set to the directory where LIBOBJS objects are built.
30695 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
30696 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
30698 LIBOBJS=$ac_libobjs
30700 LTLIBOBJS=$ac_ltlibobjs
30703 if test -n "$EXEEXT"; then
30705 am__EXEEXT_FALSE='#'
30707 am__EXEEXT_TRUE='#'
30711 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
30712 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
30713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30715 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
30716 as_fn_error $? "conditional \"AMDEP\" was never defined.
30717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30719 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
30720 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
30721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30723 if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
30724 as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
30725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30727 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
30728 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
30729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30731 if test -z "${USE_EXTERNAL_TRUE}" && test -z "${USE_EXTERNAL_FALSE}"; then
30732 as_fn_error $? "conditional \"USE_EXTERNAL\" was never defined.
30733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30735 if test -z "${BUILD_EXTERNAL_TRUE}" && test -z "${BUILD_EXTERNAL_FALSE}"; then
30736 as_fn_error $? "conditional \"BUILD_EXTERNAL\" was never defined.
30737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30739 if test -z "${USE_EXPERIMENTAL_TRUE}" && test -z "${USE_EXPERIMENTAL_FALSE}"; then
30740 as_fn_error $? "conditional \"USE_EXPERIMENTAL\" was never defined.
30741 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30743 if test -z "${BUILD_EXPERIMENTAL_TRUE}" && test -z "${BUILD_EXPERIMENTAL_FALSE}"; then
30744 as_fn_error $? "conditional \"BUILD_EXPERIMENTAL\" was never defined.
30745 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30748 if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then
30749 as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined.
30750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30752 if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then
30753 as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined.
30754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30756 if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then
30757 as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined.
30758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30760 if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then
30761 as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined.
30762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30764 if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then
30765 as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined.
30766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30768 if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then
30769 as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined.
30770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30772 if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then
30773 as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined.
30774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30776 if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then
30777 as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined.
30778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30780 if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then
30781 as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined.
30782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30784 if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then
30785 as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined.
30786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30788 if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then
30789 as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined.
30790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30792 if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then
30793 as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined.
30794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30796 if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then
30797 as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined.
30798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30800 if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then
30801 as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined.
30802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30804 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
30805 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
30806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30808 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
30809 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
30810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30812 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
30813 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
30814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30816 if test -z "${HAVE_CXX_TRUE}" && test -z "${HAVE_CXX_FALSE}"; then
30817 as_fn_error $? "conditional \"HAVE_CXX\" was never defined.
30818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30820 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
30821 as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
30822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30824 if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
30825 as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
30826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30828 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
30829 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
30830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30832 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
30833 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
30834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30836 if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
30837 as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
30838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30840 if test -z "${HAVE_LIBXML_HTML_TRUE}" && test -z "${HAVE_LIBXML_HTML_FALSE}"; then
30841 as_fn_error $? "conditional \"HAVE_LIBXML_HTML\" was never defined.
30842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30844 if test -z "${HAVE_SYS_SOCKET_H_TRUE}" && test -z "${HAVE_SYS_SOCKET_H_FALSE}"; then
30845 as_fn_error $? "conditional \"HAVE_SYS_SOCKET_H\" was never defined.
30846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30848 if test -z "${HAVE_ORC_TRUE}" && test -z "${HAVE_ORC_FALSE}"; then
30849 as_fn_error $? "conditional \"HAVE_ORC\" was never defined.
30850 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30852 if test -z "${HAVE_ORCC_TRUE}" && test -z "${HAVE_ORCC_FALSE}"; then
30853 as_fn_error $? "conditional \"HAVE_ORCC\" was never defined.
30854 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30856 if test -z "${HAVE_GST_CHECK_TRUE}" && test -z "${HAVE_GST_CHECK_FALSE}"; then
30857 as_fn_error $? "conditional \"HAVE_GST_CHECK\" was never defined.
30858 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30860 if test -z "${HAVE_GTK_TRUE}" && test -z "${HAVE_GTK_FALSE}"; then
30861 as_fn_error $? "conditional \"HAVE_GTK\" was never defined.
30862 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30864 if test -z "${HAVE_GTK_X11_TRUE}" && test -z "${HAVE_GTK_X11_FALSE}"; then
30865 as_fn_error $? "conditional \"HAVE_GTK_X11\" was never defined.
30866 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30868 if test -z "${HAVE_QT_TRUE}" && test -z "${HAVE_QT_FALSE}"; then
30869 as_fn_error $? "conditional \"HAVE_QT\" was never defined.
30870 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30872 if test -z "${HAVE_QT_GV_TRUE}" && test -z "${HAVE_QT_GV_FALSE}"; then
30873 as_fn_error $? "conditional \"HAVE_QT_GV\" was never defined.
30874 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30876 if test -z "${HAVE_LINUX_JOYSTICK_HEADERS_TRUE}" && test -z "${HAVE_LINUX_JOYSTICK_HEADERS_FALSE}"; then
30877 as_fn_error $? "conditional \"HAVE_LINUX_JOYSTICK_HEADERS\" was never defined.
30878 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30880 if test -z "${USE_PLUGIN_ADDER_TRUE}" && test -z "${USE_PLUGIN_ADDER_FALSE}"; then
30881 as_fn_error $? "conditional \"USE_PLUGIN_ADDER\" was never defined.
30882 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30884 if test -z "${USE_PLUGIN_APP_TRUE}" && test -z "${USE_PLUGIN_APP_FALSE}"; then
30885 as_fn_error $? "conditional \"USE_PLUGIN_APP\" was never defined.
30886 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30888 if test -z "${USE_PLUGIN_AUDIOCONVERT_TRUE}" && test -z "${USE_PLUGIN_AUDIOCONVERT_FALSE}"; then
30889 as_fn_error $? "conditional \"USE_PLUGIN_AUDIOCONVERT\" was never defined.
30890 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30892 if test -z "${USE_PLUGIN_AUDIORATE_TRUE}" && test -z "${USE_PLUGIN_AUDIORATE_FALSE}"; then
30893 as_fn_error $? "conditional \"USE_PLUGIN_AUDIORATE\" was never defined.
30894 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30896 if test -z "${USE_PLUGIN_AUDIOTESTSRC_TRUE}" && test -z "${USE_PLUGIN_AUDIOTESTSRC_FALSE}"; then
30897 as_fn_error $? "conditional \"USE_PLUGIN_AUDIOTESTSRC\" was never defined.
30898 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30900 if test -z "${USE_PLUGIN_ENCODING_TRUE}" && test -z "${USE_PLUGIN_ENCODING_FALSE}"; then
30901 as_fn_error $? "conditional \"USE_PLUGIN_ENCODING\" was never defined.
30902 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30904 if test -z "${USE_PLUGIN_FFMPEGCOLORSPACE_TRUE}" && test -z "${USE_PLUGIN_FFMPEGCOLORSPACE_FALSE}"; then
30905 as_fn_error $? "conditional \"USE_PLUGIN_FFMPEGCOLORSPACE\" was never defined.
30906 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30908 if test -z "${USE_PLUGIN_GDP_TRUE}" && test -z "${USE_PLUGIN_GDP_FALSE}"; then
30909 as_fn_error $? "conditional \"USE_PLUGIN_GDP\" was never defined.
30910 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30912 if test -z "${USE_PLUGIN_PLAYBACK_TRUE}" && test -z "${USE_PLUGIN_PLAYBACK_FALSE}"; then
30913 as_fn_error $? "conditional \"USE_PLUGIN_PLAYBACK\" was never defined.
30914 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30916 if test -z "${USE_PLUGIN_AUDIORESAMPLE_TRUE}" && test -z "${USE_PLUGIN_AUDIORESAMPLE_FALSE}"; then
30917 as_fn_error $? "conditional \"USE_PLUGIN_AUDIORESAMPLE\" was never defined.
30918 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30920 if test -z "${USE_PLUGIN_SUBPARSE_TRUE}" && test -z "${USE_PLUGIN_SUBPARSE_FALSE}"; then
30921 as_fn_error $? "conditional \"USE_PLUGIN_SUBPARSE\" was never defined.
30922 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30924 if test -z "${USE_PLUGIN_TCP_TRUE}" && test -z "${USE_PLUGIN_TCP_FALSE}"; then
30925 as_fn_error $? "conditional \"USE_PLUGIN_TCP\" was never defined.
30926 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30928 if test -z "${USE_PLUGIN_TYPEFIND_TRUE}" && test -z "${USE_PLUGIN_TYPEFIND_FALSE}"; then
30929 as_fn_error $? "conditional \"USE_PLUGIN_TYPEFIND\" was never defined.
30930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30932 if test -z "${USE_PLUGIN_VIDEOTESTSRC_TRUE}" && test -z "${USE_PLUGIN_VIDEOTESTSRC_FALSE}"; then
30933 as_fn_error $? "conditional \"USE_PLUGIN_VIDEOTESTSRC\" was never defined.
30934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30936 if test -z "${USE_PLUGIN_VIDEORATE_TRUE}" && test -z "${USE_PLUGIN_VIDEORATE_FALSE}"; then
30937 as_fn_error $? "conditional \"USE_PLUGIN_VIDEORATE\" was never defined.
30938 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30940 if test -z "${USE_PLUGIN_VIDEOSCALE_TRUE}" && test -z "${USE_PLUGIN_VIDEOSCALE_FALSE}"; then
30941 as_fn_error $? "conditional \"USE_PLUGIN_VIDEOSCALE\" was never defined.
30942 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30944 if test -z "${USE_PLUGIN_VOLUME_TRUE}" && test -z "${USE_PLUGIN_VOLUME_FALSE}"; then
30945 as_fn_error $? "conditional \"USE_PLUGIN_VOLUME\" was never defined.
30946 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30948 if test -z "${USE_XML_TRUE}" && test -z "${USE_XML_FALSE}"; then
30949 as_fn_error $? "conditional \"USE_XML\" was never defined.
30950 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30952 if test -z "${USE_PLUGIN_SUBPARSE_TRUE}" && test -z "${USE_PLUGIN_SUBPARSE_FALSE}"; then
30953 as_fn_error $? "conditional \"USE_PLUGIN_SUBPARSE\" was never defined.
30954 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30956 if test -z "${USE_PLUGIN_TCP_TRUE}" && test -z "${USE_PLUGIN_TCP_FALSE}"; then
30957 as_fn_error $? "conditional \"USE_PLUGIN_TCP\" was never defined.
30958 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30960 if test -z "${USE_ISO_CODES_TRUE}" && test -z "${USE_ISO_CODES_FALSE}"; then
30961 as_fn_error $? "conditional \"USE_ISO_CODES\" was never defined.
30962 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30964 if test -z "${USE_ISO_CODES_TRUE}" && test -z "${USE_ISO_CODES_FALSE}"; then
30965 as_fn_error $? "conditional \"USE_ISO_CODES\" was never defined.
30966 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30968 if test -z "${USE_X_TRUE}" && test -z "${USE_X_FALSE}"; then
30969 as_fn_error $? "conditional \"USE_X\" was never defined.
30970 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30972 if test -z "${USE_XVIDEO_TRUE}" && test -z "${USE_XVIDEO_FALSE}"; then
30973 as_fn_error $? "conditional \"USE_XVIDEO\" was never defined.
30974 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30976 if test -z "${USE_XSHM_TRUE}" && test -z "${USE_XSHM_FALSE}"; then
30977 as_fn_error $? "conditional \"USE_XSHM\" was never defined.
30978 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30980 if test -z "${USE_GST_V4L_TRUE}" && test -z "${USE_GST_V4L_FALSE}"; then
30981 as_fn_error $? "conditional \"USE_GST_V4L\" was never defined.
30982 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30984 if test -z "${USE_ALSA_TRUE}" && test -z "${USE_ALSA_FALSE}"; then
30985 as_fn_error $? "conditional \"USE_ALSA\" was never defined.
30986 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30988 if test -z "${USE_CDPARANOIA_TRUE}" && test -z "${USE_CDPARANOIA_FALSE}"; then
30989 as_fn_error $? "conditional \"USE_CDPARANOIA\" was never defined.
30990 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30992 if test -z "${USE_GNOME_VFS_TRUE}" && test -z "${USE_GNOME_VFS_FALSE}"; then
30993 as_fn_error $? "conditional \"USE_GNOME_VFS\" was never defined.
30994 Usually this means the macro was only invoked conditionally." "$LINENO" 5
30996 if test -z "${USE_IVORBIS_TRUE}" && test -z "${USE_IVORBIS_FALSE}"; then
30997 as_fn_error $? "conditional \"USE_IVORBIS\" was never defined.
30998 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31000 if test -z "${USE_GIO_TRUE}" && test -z "${USE_GIO_FALSE}"; then
31001 as_fn_error $? "conditional \"USE_GIO\" was never defined.
31002 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31004 if test -z "${USE_LIBVISUAL_TRUE}" && test -z "${USE_LIBVISUAL_FALSE}"; then
31005 as_fn_error $? "conditional \"USE_LIBVISUAL\" was never defined.
31006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31008 if test -z "${USE_OGG_TRUE}" && test -z "${USE_OGG_FALSE}"; then
31009 as_fn_error $? "conditional \"USE_OGG\" was never defined.
31010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31012 if test -z "${USE_PANGO_TRUE}" && test -z "${USE_PANGO_FALSE}"; then
31013 as_fn_error $? "conditional \"USE_PANGO\" was never defined.
31014 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31016 if test -z "${USE_THEORA_TRUE}" && test -z "${USE_THEORA_FALSE}"; then
31017 as_fn_error $? "conditional \"USE_THEORA\" was never defined.
31018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31020 if test -z "${USE_VORBIS_TRUE}" && test -z "${USE_VORBIS_FALSE}"; then
31021 as_fn_error $? "conditional \"USE_VORBIS\" was never defined.
31022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31024 if test -z "${USE_ALSA_TRUE}" && test -z "${USE_ALSA_FALSE}"; then
31025 as_fn_error $? "conditional \"USE_ALSA\" was never defined.
31026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31028 if test -z "${USE_CDPARANOIA_TRUE}" && test -z "${USE_CDPARANOIA_FALSE}"; then
31029 as_fn_error $? "conditional \"USE_CDPARANOIA\" was never defined.
31030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31032 if test -z "${USE_GIO_TRUE}" && test -z "${USE_GIO_FALSE}"; then
31033 as_fn_error $? "conditional \"USE_GIO\" was never defined.
31034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31036 if test -z "${USE_GNOME_VFS_TRUE}" && test -z "${USE_GNOME_VFS_FALSE}"; then
31037 as_fn_error $? "conditional \"USE_GNOME_VFS\" was never defined.
31038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31040 if test -z "${USE_IVORBIS_TRUE}" && test -z "${USE_IVORBIS_FALSE}"; then
31041 as_fn_error $? "conditional \"USE_IVORBIS\" was never defined.
31042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31044 if test -z "${USE_LIBVISUAL_TRUE}" && test -z "${USE_LIBVISUAL_FALSE}"; then
31045 as_fn_error $? "conditional \"USE_LIBVISUAL\" was never defined.
31046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31048 if test -z "${USE_OGG_TRUE}" && test -z "${USE_OGG_FALSE}"; then
31049 as_fn_error $? "conditional \"USE_OGG\" was never defined.
31050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31052 if test -z "${USE_PANGO_TRUE}" && test -z "${USE_PANGO_FALSE}"; then
31053 as_fn_error $? "conditional \"USE_PANGO\" was never defined.
31054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31056 if test -z "${USE_THEORA_TRUE}" && test -z "${USE_THEORA_FALSE}"; then
31057 as_fn_error $? "conditional \"USE_THEORA\" was never defined.
31058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31060 if test -z "${USE_VORBIS_TRUE}" && test -z "${USE_VORBIS_FALSE}"; then
31061 as_fn_error $? "conditional \"USE_VORBIS\" was never defined.
31062 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31064 if test -z "${HAVE_FT2_TRUE}" && test -z "${HAVE_FT2_FALSE}"; then
31065 as_fn_error $? "conditional \"HAVE_FT2\" was never defined.
31066 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31069 : ${CONFIG_STATUS=./config.status}
31071 ac_clean_files_save=$ac_clean_files
31072 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
31073 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31074 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31076 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31078 # Generated by $as_me.
31079 # Run this file to recreate the current configuration.
31080 # Compiler output produced by configure, useful for debugging
31081 # configure, is in config.log if it exists.
31084 ac_cs_recheck=false
31087 SHELL=\${CONFIG_SHELL-$SHELL}
31090 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
31091 ## -------------------- ##
31092 ## M4sh Initialization. ##
31093 ## -------------------- ##
31095 # Be more Bourne compatible
31096 DUALCASE=1; export DUALCASE # for MKS sh
31097 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
31100 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31101 # is contrary to our usage. Disable this feature.
31102 alias -g '${1+"$@"}'='"$@"'
31103 setopt NO_GLOB_SUBST
31105 case `(set -o) 2>/dev/null` in #(
31117 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31118 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31119 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31120 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31121 # Prefer a ksh shell builtin over an external printf program on Solaris,
31122 # but without wasting forks for bash or zsh.
31123 if test -z "$BASH_VERSION$ZSH_VERSION" \
31124 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31125 as_echo='print -r --'
31126 as_echo_n='print -rn --'
31127 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31128 as_echo='printf %s\n'
31129 as_echo_n='printf %s'
31131 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31132 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
31133 as_echo_n='/usr/ucb/echo -n'
31135 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31136 as_echo_n_body='eval
31140 expr "X$arg" : "X\\(.*\\)$as_nl";
31141 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31143 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
31145 export as_echo_n_body
31146 as_echo_n='sh -c $as_echo_n_body as_echo'
31148 export as_echo_body
31149 as_echo='sh -c $as_echo_body as_echo'
31152 # The user is always right.
31153 if test "${PATH_SEPARATOR+set}" != set; then
31155 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31156 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31163 # We need space, tab and new line, in precisely that order. Quoting is
31164 # there to prevent editors from complaining about space-tab.
31165 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31166 # splitting by setting IFS to empty value.)
31169 # Find who we are. Look in the path if we contain no directory separator.
31171 *[\\/]* ) as_myself=$0 ;;
31172 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31173 for as_dir in $PATH
31176 test -z "$as_dir" && as_dir=.
31177 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31183 # We did not find ourselves, most probably we were run as `sh COMMAND'
31184 # in which case we are not to be found in the path.
31185 if test "x$as_myself" = x; then
31188 if test ! -f "$as_myself"; then
31189 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31193 # Unset variables that we do not need and which cause bugs (e.g. in
31194 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31195 # suppresses any "Segmentation fault" message there. '((' could
31196 # trigger a bug in pdksh 5.2.14.
31197 for as_var in BASH_ENV ENV MAIL MAILPATH
31198 do eval test x\${$as_var+set} = xset \
31199 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
31212 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31215 # as_fn_error STATUS ERROR [LINENO LOG_FD]
31216 # ----------------------------------------
31217 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31218 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31219 # script with STATUS, using 1 if that was 0.
31222 as_status=$1; test $as_status -eq 0 && as_status=1
31224 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
31225 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31227 $as_echo "$as_me: error: $2" >&2
31228 as_fn_exit $as_status
31232 # as_fn_set_status STATUS
31233 # -----------------------
31234 # Set $? to STATUS, without forking.
31235 as_fn_set_status ()
31238 } # as_fn_set_status
31240 # as_fn_exit STATUS
31241 # -----------------
31242 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31246 as_fn_set_status $1
31252 # Portably unset VAR.
31255 { eval $1=; unset $1;}
31257 as_unset=as_fn_unset
31258 # as_fn_append VAR VALUE
31259 # ----------------------
31260 # Append the text in VALUE to the end of the definition contained in VAR. Take
31261 # advantage of any shell optimizations that allow amortized linear growth over
31262 # repeated appends, instead of the typical quadratic growth present in naive
31264 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
31265 eval 'as_fn_append ()
31276 # as_fn_arith ARG...
31277 # ------------------
31278 # Perform arithmetic evaluation on the ARGs, and store the result in the
31279 # global $as_val. Take advantage of shells that can avoid forks. The arguments
31280 # must be portable across $(()) and expr.
31281 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
31282 eval 'as_fn_arith ()
31289 as_val=`expr "$@" || test $? -eq 1`
31294 if expr a : '\(a\)' >/dev/null 2>&1 &&
31295 test "X`expr 00001 : '.*\(...\)'`" = X001; then
31301 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31302 as_basename=basename
31307 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
31313 as_me=`$as_basename -- "$0" ||
31314 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31315 X"$0" : 'X\(//\)$' \| \
31316 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31318 sed '/^.*\/\([^/][^/]*\)\/*$/{
31332 # Avoid depending upon Character Ranges.
31333 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31334 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31335 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
31336 as_cr_digits='0123456789'
31337 as_cr_alnum=$as_cr_Letters$as_cr_digits
31339 ECHO_C= ECHO_N= ECHO_T=
31340 case `echo -n x` in #(((((
31342 case `echo 'xy\c'` in
31343 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
31345 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
31352 rm -f conf$$ conf$$.exe conf$$.file
31353 if test -d conf$$.dir; then
31354 rm -f conf$$.dir/conf$$.file
31357 mkdir conf$$.dir 2>/dev/null
31359 if (echo >conf$$.file) 2>/dev/null; then
31360 if ln -s conf$$.file conf$$ 2>/dev/null; then
31362 # ... but there are two gotchas:
31363 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
31364 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
31365 # In both cases, we have to default to `cp -p'.
31366 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
31368 elif ln conf$$.file conf$$ 2>/dev/null; then
31376 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
31377 rmdir conf$$.dir 2>/dev/null
31382 # Create "$as_dir" as a directory, including parents if necessary.
31387 -*) as_dir=./$as_dir;;
31389 test -d "$as_dir" || eval $as_mkdir_p || {
31393 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
31394 *) as_qdir=$as_dir;;
31396 as_dirs="'$as_qdir' $as_dirs"
31397 as_dir=`$as_dirname -- "$as_dir" ||
31398 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31399 X"$as_dir" : 'X\(//\)[^/]' \| \
31400 X"$as_dir" : 'X\(//\)$' \| \
31401 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31402 $as_echo X"$as_dir" |
31403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31407 /^X\(\/\/\)[^/].*/{
31420 test -d "$as_dir" && break
31422 test -z "$as_dirs" || eval "mkdir $as_dirs"
31423 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
31427 if mkdir -p . 2>/dev/null; then
31428 as_mkdir_p='mkdir -p "$as_dir"'
31430 test -d ./-p && rmdir ./-p
31434 if test -x / >/dev/null 2>&1; then
31435 as_test_x='test -x'
31437 if ls -dL / >/dev/null 2>&1; then
31444 if test -d "$1"; then
31450 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
31451 ???[sx]*):;;*)false;;esac;fi
31455 as_executable_p=$as_test_x
31457 # Sed expression to map a string onto a valid CPP name.
31458 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
31460 # Sed expression to map a string onto a valid variable name.
31461 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
31465 ## ----------------------------------- ##
31466 ## Main body of $CONFIG_STATUS script. ##
31467 ## ----------------------------------- ##
31469 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
31471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31472 # Save the log message, to keep $0 and so on meaningful, and to
31473 # report actual input values of CONFIG_FILES etc. instead of their
31474 # values after options handling.
31476 This file was extended by GStreamer Base Plug-ins $as_me 0.10.34, which was
31477 generated by GNU Autoconf 2.67. Invocation command line was
31479 CONFIG_FILES = $CONFIG_FILES
31480 CONFIG_HEADERS = $CONFIG_HEADERS
31481 CONFIG_LINKS = $CONFIG_LINKS
31482 CONFIG_COMMANDS = $CONFIG_COMMANDS
31485 on `(hostname || uname -n) 2>/dev/null | sed 1q`
31490 case $ac_config_files in *"
31491 "*) set x $ac_config_files; shift; ac_config_files=$*;;
31494 case $ac_config_headers in *"
31495 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
31499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31500 # Files that config.status was made for.
31501 config_files="$ac_config_files"
31502 config_headers="$ac_config_headers"
31503 config_commands="$ac_config_commands"
31507 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31509 \`$as_me' instantiates files and other configuration actions
31510 from templates according to the current configuration. Unless the files
31511 and actions are specified as TAGs, all are instantiated by default.
31513 Usage: $0 [OPTION]... [TAG]...
31515 -h, --help print this help, then exit
31516 -V, --version print version number and configuration settings, then exit
31517 --config print configuration, then exit
31518 -q, --quiet, --silent
31519 do not print progress messages
31520 -d, --debug don't remove temporary files
31521 --recheck update $as_me by reconfiguring in the same conditions
31522 --file=FILE[:TEMPLATE]
31523 instantiate the configuration file FILE
31524 --header=FILE[:TEMPLATE]
31525 instantiate the configuration header FILE
31527 Configuration files:
31530 Configuration headers:
31533 Configuration commands:
31536 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
31539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31540 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
31542 GStreamer Base Plug-ins config.status 0.10.34
31543 configured by $0, generated by GNU Autoconf 2.67,
31544 with options \\"\$ac_cs_config\\"
31546 Copyright (C) 2010 Free Software Foundation, Inc.
31547 This config.status script is free software; the Free Software Foundation
31548 gives unlimited permission to copy, distribute and modify it."
31555 test -n "\$AWK" || AWK=awk
31558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31559 # The default lists apply if the user does not specify any file.
31565 ac_option=`expr "X$1" : 'X\([^=]*\)='`
31566 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
31570 ac_option=`expr "X$1" : 'X\([^=]*\)='`
31582 # Handling of the options.
31583 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
31585 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
31586 $as_echo "$ac_cs_version"; exit ;;
31587 --config | --confi | --conf | --con | --co | --c )
31588 $as_echo "$ac_cs_config"; exit ;;
31589 --debug | --debu | --deb | --de | --d | -d )
31591 --file | --fil | --fi | --f )
31594 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
31595 '') as_fn_error $? "missing file argument" ;;
31597 as_fn_append CONFIG_FILES " '$ac_optarg'"
31598 ac_need_defaults=false;;
31599 --header | --heade | --head | --hea )
31602 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
31604 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
31605 ac_need_defaults=false;;
31607 # Conflict between --help and --header
31608 as_fn_error $? "ambiguous option: \`$1'
31609 Try \`$0 --help' for more information.";;
31610 --help | --hel | -h )
31611 $as_echo "$ac_cs_usage"; exit ;;
31612 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
31613 | -silent | --silent | --silen | --sile | --sil | --si | --s)
31616 # This is an error.
31617 -*) as_fn_error $? "unrecognized option: \`$1'
31618 Try \`$0 --help' for more information." ;;
31620 *) as_fn_append ac_config_targets " $1"
31621 ac_need_defaults=false ;;
31627 ac_configure_extra_args=
31629 if $ac_cs_silent; then
31631 ac_configure_extra_args="$ac_configure_extra_args --silent"
31635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31636 if \$ac_cs_recheck; then
31637 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
31639 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
31640 CONFIG_SHELL='$SHELL'
31641 export CONFIG_SHELL
31646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31650 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
31651 ## Running $as_me. ##
31657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31661 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
31664 # The HP-UX ksh and POSIX shell print the target directory to stdout
31665 # if CDPATH is set.
31666 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31668 sed_quote_subst='$sed_quote_subst'
31669 double_quote_subst='$double_quote_subst'
31670 delay_variable_subst='$delay_variable_subst'
31671 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
31672 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
31673 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
31674 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
31675 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
31676 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
31677 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
31678 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
31679 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
31680 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
31681 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
31682 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
31683 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
31684 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
31685 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
31686 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
31687 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
31688 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
31689 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
31690 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
31691 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
31692 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
31693 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
31694 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
31695 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
31696 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
31697 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
31698 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
31699 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
31700 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
31701 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31702 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
31703 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
31704 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
31705 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
31706 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
31707 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
31708 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31709 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31710 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31711 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
31712 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
31713 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
31714 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
31715 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
31716 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
31717 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"`'
31718 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"`'
31719 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
31720 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
31721 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
31722 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
31723 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
31724 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
31725 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
31726 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
31727 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
31728 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
31729 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
31730 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
31731 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
31732 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
31733 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
31734 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
31735 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31736 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31737 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
31738 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
31739 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
31740 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
31741 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
31742 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31743 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31744 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31745 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31746 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31747 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31748 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
31749 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
31750 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
31751 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
31752 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
31753 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
31754 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
31755 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
31756 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
31757 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
31758 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
31759 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
31760 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
31761 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
31762 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
31763 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31764 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
31765 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
31766 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31767 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
31768 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
31769 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
31770 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
31771 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
31772 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
31773 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
31774 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
31775 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
31776 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
31777 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
31778 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31779 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31780 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
31781 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
31782 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
31783 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
31784 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
31785 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
31786 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
31787 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
31788 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
31789 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
31790 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
31791 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
31792 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
31793 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
31794 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
31795 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
31796 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
31797 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31798 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31799 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31800 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31801 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31802 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31803 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31804 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31805 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31806 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31807 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31808 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31809 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31810 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31811 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31812 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31813 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31814 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31815 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31816 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31817 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31818 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31819 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31820 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31821 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31822 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31823 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31824 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31825 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31826 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31827 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31828 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31829 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31830 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31831 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31832 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31833 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31834 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31835 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31836 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31837 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31838 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31839 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31840 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31841 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31842 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31843 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
31846 LTCFLAGS='$LTCFLAGS'
31847 compiler='$compiler_DEFAULT'
31849 # Quote evaled strings.
31860 deplibs_check_method \
31869 lt_cv_sys_global_symbol_pipe \
31870 lt_cv_sys_global_symbol_to_cdecl \
31871 lt_cv_sys_global_symbol_to_c_name_address \
31872 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
31875 lt_prog_compiler_no_builtin_flag \
31876 lt_prog_compiler_wl \
31877 lt_prog_compiler_pic \
31878 lt_prog_compiler_static \
31879 lt_cv_prog_compiler_c_o \
31887 export_dynamic_flag_spec \
31888 whole_archive_flag_spec \
31889 compiler_needs_object \
31891 allow_undefined_flag \
31892 no_undefined_flag \
31893 hardcode_libdir_flag_spec \
31894 hardcode_libdir_flag_spec_ld \
31895 hardcode_libdir_separator \
31900 variables_saved_for_relink \
31902 library_names_spec \
31907 compiler_lib_search_dirs \
31912 compiler_lib_search_path \
31915 lt_prog_compiler_no_builtin_flag_CXX \
31916 lt_prog_compiler_wl_CXX \
31917 lt_prog_compiler_pic_CXX \
31918 lt_prog_compiler_static_CXX \
31919 lt_cv_prog_compiler_c_o_CXX \
31920 export_dynamic_flag_spec_CXX \
31921 whole_archive_flag_spec_CXX \
31922 compiler_needs_object_CXX \
31924 allow_undefined_flag_CXX \
31925 no_undefined_flag_CXX \
31926 hardcode_libdir_flag_spec_CXX \
31927 hardcode_libdir_flag_spec_ld_CXX \
31928 hardcode_libdir_separator_CXX \
31929 fix_srcfile_path_CXX \
31930 exclude_expsyms_CXX \
31931 include_expsyms_CXX \
31932 file_list_spec_CXX \
31933 compiler_lib_search_dirs_CXX \
31934 predep_objects_CXX \
31935 postdep_objects_CXX \
31938 compiler_lib_search_path_CXX; do
31939 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
31940 *[\\\\\\\`\\"\\\$]*)
31941 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
31944 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
31949 # Double-quote double-evaled strings.
31950 for var in reload_cmds \
31951 old_postinstall_cmds \
31952 old_postuninstall_cmds \
31954 extract_expsyms_cmds \
31955 old_archive_from_new_cmds \
31956 old_archive_from_expsyms_cmds \
31958 archive_expsym_cmds \
31960 module_expsym_cmds \
31961 export_symbols_cmds \
31964 postuninstall_cmds \
31966 sys_lib_search_path_spec \
31967 sys_lib_dlsearch_path_spec \
31968 old_archive_cmds_CXX \
31969 old_archive_from_new_cmds_CXX \
31970 old_archive_from_expsyms_cmds_CXX \
31972 archive_expsym_cmds_CXX \
31974 module_expsym_cmds_CXX \
31975 export_symbols_cmds_CXX \
31976 prelink_cmds_CXX; do
31977 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
31978 *[\\\\\\\`\\"\\\$]*)
31979 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
31982 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
31987 # Fix-up fallback echo if it was mangled by the above quoting rules.
31989 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
31993 ac_aux_dir='$ac_aux_dir'
31994 xsi_shell='$xsi_shell'
31995 lt_shell_append='$lt_shell_append'
31997 # See if we are running on zsh, and set the options which allow our
31998 # commands through without removal of \ escapes INIT.
31999 if test -n "\${ZSH_VERSION+set}" ; then
32000 setopt NO_GLOB_SUBST
32006 TIMESTAMP='$TIMESTAMP'
32014 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
32015 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
32016 # from automake < 1.5.
32017 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
32018 # Capture the value of LINGUAS because we need it to compute CATALOGS.
32019 LINGUAS="${LINGUAS-%UNSET%}"
32021 # variables for create stdint.h replacement
32024 ac_stdint_h="$ac_stdint_h"
32025 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
32026 ac_cv_stdint_message="$ac_cv_stdint_message"
32027 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
32028 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
32029 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
32030 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
32031 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
32032 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
32033 ac_cv_char_data_model="$ac_cv_char_data_model"
32034 ac_cv_long_data_model="$ac_cv_long_data_model"
32035 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
32036 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
32037 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
32042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32044 # Handling of arguments.
32045 for ac_config_target in $ac_config_targets
32047 case $ac_config_target in
32048 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
32049 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
32050 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
32051 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
32052 "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
32053 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
32054 "gst-plugins-base.spec") CONFIG_FILES="$CONFIG_FILES gst-plugins-base.spec" ;;
32055 "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
32056 "gst/adder/Makefile") CONFIG_FILES="$CONFIG_FILES gst/adder/Makefile" ;;
32057 "gst/app/Makefile") CONFIG_FILES="$CONFIG_FILES gst/app/Makefile" ;;
32058 "gst/audioconvert/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audioconvert/Makefile" ;;
32059 "gst/audiorate/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audiorate/Makefile" ;;
32060 "gst/audiotestsrc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audiotestsrc/Makefile" ;;
32061 "gst/encoding/Makefile") CONFIG_FILES="$CONFIG_FILES gst/encoding/Makefile" ;;
32062 "gst/ffmpegcolorspace/Makefile") CONFIG_FILES="$CONFIG_FILES gst/ffmpegcolorspace/Makefile" ;;
32063 "gst/gdp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/gdp/Makefile" ;;
32064 "gst/playback/Makefile") CONFIG_FILES="$CONFIG_FILES gst/playback/Makefile" ;;
32065 "gst/audioresample/Makefile") CONFIG_FILES="$CONFIG_FILES gst/audioresample/Makefile" ;;
32066 "gst/subparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/subparse/Makefile" ;;
32067 "gst/tcp/Makefile") CONFIG_FILES="$CONFIG_FILES gst/tcp/Makefile" ;;
32068 "gst/typefind/Makefile") CONFIG_FILES="$CONFIG_FILES gst/typefind/Makefile" ;;
32069 "gst/videotestsrc/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videotestsrc/Makefile" ;;
32070 "gst/videorate/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videorate/Makefile" ;;
32071 "gst/videoscale/Makefile") CONFIG_FILES="$CONFIG_FILES gst/videoscale/Makefile" ;;
32072 "gst/volume/Makefile") CONFIG_FILES="$CONFIG_FILES gst/volume/Makefile" ;;
32073 "sys/Makefile") CONFIG_FILES="$CONFIG_FILES sys/Makefile" ;;
32074 "sys/ximage/Makefile") CONFIG_FILES="$CONFIG_FILES sys/ximage/Makefile" ;;
32075 "sys/xvimage/Makefile") CONFIG_FILES="$CONFIG_FILES sys/xvimage/Makefile" ;;
32076 "sys/v4l/Makefile") CONFIG_FILES="$CONFIG_FILES sys/v4l/Makefile" ;;
32077 "ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
32078 "ext/alsa/Makefile") CONFIG_FILES="$CONFIG_FILES ext/alsa/Makefile" ;;
32079 "ext/cdparanoia/Makefile") CONFIG_FILES="$CONFIG_FILES ext/cdparanoia/Makefile" ;;
32080 "ext/gnomevfs/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gnomevfs/Makefile" ;;
32081 "ext/gio/Makefile") CONFIG_FILES="$CONFIG_FILES ext/gio/Makefile" ;;
32082 "ext/libvisual/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libvisual/Makefile" ;;
32083 "ext/ogg/Makefile") CONFIG_FILES="$CONFIG_FILES ext/ogg/Makefile" ;;
32084 "ext/pango/Makefile") CONFIG_FILES="$CONFIG_FILES ext/pango/Makefile" ;;
32085 "ext/theora/Makefile") CONFIG_FILES="$CONFIG_FILES ext/theora/Makefile" ;;
32086 "ext/vorbis/Makefile") CONFIG_FILES="$CONFIG_FILES ext/vorbis/Makefile" ;;
32087 "gst-libs/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/Makefile" ;;
32088 "gst-libs/gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/Makefile" ;;
32089 "gst-libs/gst/audio/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/audio/Makefile" ;;
32090 "gst-libs/gst/app/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/app/Makefile" ;;
32091 "gst-libs/gst/cdda/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/cdda/Makefile" ;;
32092 "gst-libs/gst/fft/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/fft/Makefile" ;;
32093 "gst-libs/gst/floatcast/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/floatcast/Makefile" ;;
32094 "gst-libs/gst/interfaces/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/interfaces/Makefile" ;;
32095 "gst-libs/gst/netbuffer/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/netbuffer/Makefile" ;;
32096 "gst-libs/gst/riff/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/riff/Makefile" ;;
32097 "gst-libs/gst/rtp/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/rtp/Makefile" ;;
32098 "gst-libs/gst/rtsp/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/rtsp/Makefile" ;;
32099 "gst-libs/gst/sdp/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/sdp/Makefile" ;;
32100 "gst-libs/gst/tag/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/tag/Makefile" ;;
32101 "gst-libs/gst/pbutils/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/pbutils/Makefile" ;;
32102 "gst-libs/gst/pbutils/gstpluginsbaseversion.h") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/pbutils/gstpluginsbaseversion.h" ;;
32103 "gst-libs/gst/video/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/video/Makefile" ;;
32104 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
32105 "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
32106 "pkgconfig/gstreamer-audio.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-audio.pc" ;;
32107 "pkgconfig/gstreamer-audio-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-audio-uninstalled.pc" ;;
32108 "pkgconfig/gstreamer-app.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-app.pc" ;;
32109 "pkgconfig/gstreamer-app-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-app-uninstalled.pc" ;;
32110 "pkgconfig/gstreamer-cdda.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-cdda.pc" ;;
32111 "pkgconfig/gstreamer-cdda-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-cdda-uninstalled.pc" ;;
32112 "pkgconfig/gstreamer-fft.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-fft.pc" ;;
32113 "pkgconfig/gstreamer-fft-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-fft-uninstalled.pc" ;;
32114 "pkgconfig/gstreamer-floatcast.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-floatcast.pc" ;;
32115 "pkgconfig/gstreamer-floatcast-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-floatcast-uninstalled.pc" ;;
32116 "pkgconfig/gstreamer-interfaces.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-interfaces.pc" ;;
32117 "pkgconfig/gstreamer-interfaces-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-interfaces-uninstalled.pc" ;;
32118 "pkgconfig/gstreamer-netbuffer.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-netbuffer.pc" ;;
32119 "pkgconfig/gstreamer-netbuffer-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-netbuffer-uninstalled.pc" ;;
32120 "pkgconfig/gstreamer-pbutils.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-pbutils.pc" ;;
32121 "pkgconfig/gstreamer-pbutils-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-pbutils-uninstalled.pc" ;;
32122 "pkgconfig/gstreamer-riff.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-riff.pc" ;;
32123 "pkgconfig/gstreamer-riff-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-riff-uninstalled.pc" ;;
32124 "pkgconfig/gstreamer-rtp.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtp.pc" ;;
32125 "pkgconfig/gstreamer-rtp-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtp-uninstalled.pc" ;;
32126 "pkgconfig/gstreamer-rtsp.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtsp.pc" ;;
32127 "pkgconfig/gstreamer-rtsp-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-rtsp-uninstalled.pc" ;;
32128 "pkgconfig/gstreamer-sdp.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-sdp.pc" ;;
32129 "pkgconfig/gstreamer-sdp-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-sdp-uninstalled.pc" ;;
32130 "pkgconfig/gstreamer-tag.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-tag.pc" ;;
32131 "pkgconfig/gstreamer-tag-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-tag-uninstalled.pc" ;;
32132 "pkgconfig/gstreamer-video.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-video.pc" ;;
32133 "pkgconfig/gstreamer-video-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-video-uninstalled.pc" ;;
32134 "pkgconfig/gstreamer-plugins-base.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-plugins-base.pc" ;;
32135 "pkgconfig/gstreamer-plugins-base-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-plugins-base-uninstalled.pc" ;;
32136 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
32137 "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
32138 "tests/examples/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/Makefile" ;;
32139 "tests/examples/app/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/app/Makefile" ;;
32140 "tests/examples/dynamic/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/dynamic/Makefile" ;;
32141 "tests/examples/encoding/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/encoding/Makefile" ;;
32142 "tests/examples/gio/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/gio/Makefile" ;;
32143 "tests/examples/overlay/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/overlay/Makefile" ;;
32144 "tests/examples/seek/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/seek/Makefile" ;;
32145 "tests/examples/snapshot/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/snapshot/Makefile" ;;
32146 "tests/examples/playrec/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/playrec/Makefile" ;;
32147 "tests/examples/volume/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/volume/Makefile" ;;
32148 "tests/examples/v4l/Makefile") CONFIG_FILES="$CONFIG_FILES tests/examples/v4l/Makefile" ;;
32149 "tests/files/Makefile") CONFIG_FILES="$CONFIG_FILES tests/files/Makefile" ;;
32150 "tests/icles/Makefile") CONFIG_FILES="$CONFIG_FILES tests/icles/Makefile" ;;
32151 "tests/icles/playback/Makefile") CONFIG_FILES="$CONFIG_FILES tests/icles/playback/Makefile" ;;
32152 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
32153 "docs/design/Makefile") CONFIG_FILES="$CONFIG_FILES docs/design/Makefile" ;;
32154 "docs/libs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/libs/Makefile" ;;
32155 "docs/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES docs/plugins/Makefile" ;;
32156 "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
32157 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
32158 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
32159 "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
32160 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
32162 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
32167 # If the user did not use the arguments to specify the items to instantiate,
32168 # then the envvar interface is used. Set only those that are not.
32169 # We use the long form for the default assignment because of an extremely
32170 # bizarre bug on SunOS 4.1.3.
32171 if $ac_need_defaults; then
32172 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
32173 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
32174 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
32177 # Have a temporary directory for convenience. Make it in the build tree
32178 # simply because there is no reason against having it here, and in addition,
32179 # creating and moving files from /tmp can sometimes cause problems.
32180 # Hook for its removal unless debugging.
32181 # Note that there is a small window in which the directory will not be cleaned:
32182 # after its creation but before its name has been assigned to `$tmp'.
32186 trap 'exit_status=$?
32187 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
32189 trap 'as_fn_exit 1' 1 2 13 15
32191 # Create a (secure) tmp directory for tmp files.
32194 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32195 test -n "$tmp" && test -d "$tmp"
32198 tmp=./conf$$-$RANDOM
32199 (umask 077 && mkdir "$tmp")
32200 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
32202 # Set up the scripts for CONFIG_FILES section.
32203 # No need to generate them if there are no CONFIG_FILES.
32204 # This happens for instance with `./config.status config.h'.
32205 if test -n "$CONFIG_FILES"; then
32208 ac_cr=`echo X | tr X '\015'`
32209 # On cygwin, bash can eat \r inside `` if the user requested igncr.
32210 # But we know of no other shell where ac_cr would be empty at this
32211 # point, so we can use a bashism as a fallback.
32212 if test "x$ac_cr" = x; then
32213 eval ac_cr=\$\'\\r\'
32215 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32216 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32219 ac_cs_awk_cr=$ac_cr
32222 echo 'BEGIN {' >"$tmp/subs1.awk" &&
32227 echo "cat >conf$$subs.awk <<_ACEOF" &&
32228 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32230 } >conf$$subs.sh ||
32231 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32232 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32234 for ac_last_try in false false false false false :; do
32235 . ./conf$$subs.sh ||
32236 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32238 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
32239 if test $ac_delim_n = $ac_delim_num; then
32241 elif $ac_last_try; then
32242 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32244 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32247 rm -f conf$$subs.sh
32249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32250 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
32254 s/^/S["/; s/!.*/"]=/
32264 s/\(.\{148\}\)..*/\1/
32266 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
32271 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32278 s/\(.\{148\}\)..*/\1/
32280 s/["\\]/\\&/g; s/^/"/; s/$/"/
32284 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32289 ' <conf$$subs.awk | sed '
32294 ' >>$CONFIG_STATUS || ac_write_fail=1
32295 rm -f conf$$subs.awk
32296 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32298 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
32299 for (key in S) S_is_set[key] = 1
32305 nfields = split(line, field, "@")
32307 len = length(field[1])
32308 for (i = 2; i < nfields; i++) {
32310 keylen = length(key)
32311 if (S_is_set[key]) {
32313 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32314 len += length(value) + length(field[++i])
32325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32326 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32327 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
32330 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
32331 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
32334 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32335 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
32336 # trailing colons and then remove the whole line if VPATH becomes empty
32337 # (actually we leave an empty line to preserve line numbers).
32338 if test "x$srcdir" = x.; then
32339 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32358 fi # test -n "$CONFIG_FILES"
32360 # Set up the scripts for CONFIG_HEADERS section.
32361 # No need to generate them if there are no CONFIG_HEADERS.
32362 # This happens for instance with `./config.status Makefile'.
32363 if test -n "$CONFIG_HEADERS"; then
32364 cat >"$tmp/defines.awk" <<\_ACAWK ||
32368 # Transform confdefs.h into an awk script `defines.awk', embedded as
32369 # here-document in config.status, that substitutes the proper values into
32370 # config.h.in to produce config.h.
32372 # Create a delimiter string that does not exist in confdefs.h, to ease
32373 # handling of long lines.
32375 for ac_last_try in false false :; do
32376 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
32377 if test -z "$ac_t"; then
32379 elif $ac_last_try; then
32380 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
32382 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32386 # For the awk script, D is an array of macro values keyed by name,
32387 # likewise P contains macro parameters if any. Preserve backslash
32388 # newline sequences.
32390 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32392 s/.\{148\}/&'"$ac_delim"'/g
32395 s/^[ ]*#[ ]*define[ ][ ]*/ /
32402 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32404 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
32408 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32409 D["\1"]=" \3\\\\\\n"\\/p
32411 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
32416 s/.\{148\}/&'"$ac_delim"'/g
32421 s/["\\]/\\&/g; s/^/"/; s/$/"/p
32424 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
32426 ' <confdefs.h | sed '
32427 s/'"$ac_delim"'/"\\\
32428 "/g' >>$CONFIG_STATUS || ac_write_fail=1
32430 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32431 for (key in D) D_is_set[key] = 1
32434 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32436 split(line, arg, " ")
32437 if (arg[1] == "#") {
32441 defundef = substr(arg[1], 2)
32444 split(mac1, mac2, "(") #)
32446 prefix = substr(line, 1, index(line, defundef) - 1)
32447 if (D_is_set[macro]) {
32448 # Preserve the white space surrounding the "#".
32449 print prefix "define", macro P[macro] D[macro]
32452 # Replace #undef with comments. This is necessary, for example,
32453 # in the case of _POSIX_SOURCE, which is predefined and required
32454 # on some systems where configure will not decide to define it.
32455 if (defundef == "undef") {
32456 print "/*", prefix defundef, macro, "*/"
32464 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32465 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
32466 fi # test -n "$CONFIG_HEADERS"
32469 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
32474 :[FHLC]) ac_mode=$ac_tag; continue;;
32476 case $ac_mode$ac_tag in
32478 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
32479 :[FH]-) ac_tag=-:-;;
32480 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
32497 -) ac_f="$tmp/stdin";;
32498 *) # Look for the file first in the build tree, then in the source tree
32499 # (if the path is not absolute). The absolute path cannot be DOS-style,
32500 # because $ac_f cannot contain `:'.
32504 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
32506 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
32508 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
32509 as_fn_append ac_file_inputs " '$ac_f'"
32512 # Let's still pretend it is `configure' which instantiates (i.e., don't
32513 # use $as_me), people would be surprised to read:
32514 # /* config.h. Generated by config.status. */
32515 configure_input='Generated from '`
32516 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
32518 if test x"$ac_file" != x-; then
32519 configure_input="$ac_file. $configure_input"
32520 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
32521 $as_echo "$as_me: creating $ac_file" >&6;}
32523 # Neutralize special characters interpreted by sed in replacement strings.
32524 case $configure_input in #(
32525 *\&* | *\|* | *\\* )
32526 ac_sed_conf_input=`$as_echo "$configure_input" |
32527 sed 's/[\\\\&|]/\\\\&/g'`;; #(
32528 *) ac_sed_conf_input=$configure_input;;
32532 *:-:* | *:-) cat >"$tmp/stdin" \
32533 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
32538 ac_dir=`$as_dirname -- "$ac_file" ||
32539 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32540 X"$ac_file" : 'X\(//\)[^/]' \| \
32541 X"$ac_file" : 'X\(//\)$' \| \
32542 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32543 $as_echo X"$ac_file" |
32544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32548 /^X\(\/\/\)[^/].*/{
32561 as_dir="$ac_dir"; as_fn_mkdir_p
32565 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
32567 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
32568 # A ".." for each directory in $ac_dir_suffix.
32569 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
32570 case $ac_top_builddir_sub in
32571 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
32572 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
32575 ac_abs_top_builddir=$ac_pwd
32576 ac_abs_builddir=$ac_pwd$ac_dir_suffix
32577 # for backward compatibility:
32578 ac_top_builddir=$ac_top_build_prefix
32581 .) # We are building in place.
32583 ac_top_srcdir=$ac_top_builddir_sub
32584 ac_abs_top_srcdir=$ac_pwd ;;
32585 [\\/]* | ?:[\\/]* ) # Absolute name.
32586 ac_srcdir=$srcdir$ac_dir_suffix;
32587 ac_top_srcdir=$srcdir
32588 ac_abs_top_srcdir=$srcdir ;;
32589 *) # Relative name.
32590 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
32591 ac_top_srcdir=$ac_top_build_prefix$srcdir
32592 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
32594 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
32604 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
32605 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
32607 ac_MKDIR_P=$MKDIR_P
32609 [\\/$]* | ?:[\\/]* ) ;;
32610 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
32614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32615 # If the template does not know about datarootdir, expand it.
32616 # FIXME: This hack should be removed a few years after 2.60.
32617 ac_datarootdir_hack=; ac_datarootdir_seen=
32628 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
32629 *datarootdir*) ac_datarootdir_seen=yes;;
32630 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
32631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
32632 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
32634 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32635 ac_datarootdir_hack='
32636 s&@datadir@&$datadir&g
32637 s&@docdir@&$docdir&g
32638 s&@infodir@&$infodir&g
32639 s&@localedir@&$localedir&g
32640 s&@mandir@&$mandir&g
32641 s&\\\${datarootdir}&$datarootdir&g' ;;
32645 # Neutralize VPATH when `$srcdir' = `.'.
32646 # Shell code in configure.ac might set extrasub.
32647 # FIXME: do we really want to maintain this feature?
32648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32649 ac_sed_extra="$ac_vpsub
32652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32654 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
32655 s|@configure_input@|$ac_sed_conf_input|;t t
32656 s&@top_builddir@&$ac_top_builddir_sub&;t t
32657 s&@top_build_prefix@&$ac_top_build_prefix&;t t
32658 s&@srcdir@&$ac_srcdir&;t t
32659 s&@abs_srcdir@&$ac_abs_srcdir&;t t
32660 s&@top_srcdir@&$ac_top_srcdir&;t t
32661 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
32662 s&@builddir@&$ac_builddir&;t t
32663 s&@abs_builddir@&$ac_abs_builddir&;t t
32664 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
32665 s&@INSTALL@&$ac_INSTALL&;t t
32666 s&@MKDIR_P@&$ac_MKDIR_P&;t t
32667 $ac_datarootdir_hack
32669 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
32670 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
32672 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
32673 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
32674 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
32675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
32676 which seems to be undefined. Please make sure it is defined" >&5
32677 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
32678 which seems to be undefined. Please make sure it is defined" >&2;}
32682 -) cat "$tmp/out" && rm -f "$tmp/out";;
32683 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
32685 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
32691 if test x"$ac_file" != x-; then
32693 $as_echo "/* $configure_input */" \
32694 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
32695 } >"$tmp/config.h" \
32696 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
32697 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
32698 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
32699 $as_echo "$as_me: $ac_file is unchanged" >&6;}
32702 mv "$tmp/config.h" "$ac_file" \
32703 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
32706 $as_echo "/* $configure_input */" \
32707 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
32708 || as_fn_error $? "could not create -" "$LINENO" 5
32710 # Compute "$ac_file"'s index in $config_headers.
32713 for _am_header in $config_headers :; do
32714 case $_am_header in
32715 $_am_arg | $_am_arg:* )
32718 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
32721 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
32722 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32723 X"$_am_arg" : 'X\(//\)[^/]' \| \
32724 X"$_am_arg" : 'X\(//\)$' \| \
32725 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
32726 $as_echo X"$_am_arg" |
32727 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32731 /^X\(\/\/\)[^/].*/{
32743 s/.*/./; q'`/stamp-h$_am_stamp_count
32746 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
32747 $as_echo "$as_me: executing $ac_file commands" >&6;}
32752 case $ac_file$ac_mode in
32753 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
32754 # Autoconf 2.62 quotes --file arguments for eval, but not when files
32755 # are listed without --file. Let's play safe and only enable the eval
32756 # if we detect the quoting.
32757 case $CONFIG_FILES in
32758 *\'*) eval set x "$CONFIG_FILES" ;;
32759 *) set x $CONFIG_FILES ;;
32764 # Strip MF so we end up with the name of the file.
32765 mf=`echo "$mf" | sed -e 's/:.*$//'`
32766 # Check whether this is an Automake generated Makefile or not.
32767 # We used to match only the files named `Makefile.in', but
32768 # some people rename them; so instead we look at the file content.
32769 # Grep'ing the first line is not enough: some people post-process
32770 # each Makefile.in and add a new line on top of each file to say so.
32771 # Grep'ing the whole file is not good either: AIX grep has a line
32772 # limit of 2048, but all sed's we know have understand at least 4000.
32773 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
32774 dirpart=`$as_dirname -- "$mf" ||
32775 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32776 X"$mf" : 'X\(//\)[^/]' \| \
32777 X"$mf" : 'X\(//\)$' \| \
32778 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
32780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32784 /^X\(\/\/\)[^/].*/{
32800 # Extract the definition of DEPDIR, am__include, and am__quote
32801 # from the Makefile without running `make'.
32802 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
32803 test -z "$DEPDIR" && continue
32804 am__include=`sed -n 's/^am__include = //p' < "$mf"`
32805 test -z "am__include" && continue
32806 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
32807 # When using ansi2knr, U may be empty or an underscore; expand it
32808 U=`sed -n 's/^U = //p' < "$mf"`
32809 # Find all dependency output files, they are included files with
32810 # $(DEPDIR) in their names. We invoke sed twice because it is the
32811 # simplest approach to changing $(DEPDIR) to its actual value in the
32813 for file in `sed -n "
32814 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
32815 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
32816 # Make sure the directory exists.
32817 test -f "$dirpart/$file" && continue
32818 fdir=`$as_dirname -- "$file" ||
32819 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32820 X"$file" : 'X\(//\)[^/]' \| \
32821 X"$file" : 'X\(//\)$' \| \
32822 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
32823 $as_echo X"$file" |
32824 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32828 /^X\(\/\/\)[^/].*/{
32841 as_dir=$dirpart/$fdir; as_fn_mkdir_p
32842 # echo "creating $dirpart/$file"
32843 echo '# dummy' > "$dirpart/$file"
32850 # See if we are running on zsh, and set the options which allow our
32851 # commands through without removal of \ escapes.
32852 if test -n "${ZSH_VERSION+set}" ; then
32853 setopt NO_GLOB_SUBST
32856 cfgfile="${ofile}T"
32857 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
32860 cat <<_LT_EOF >> "$cfgfile"
32863 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
32864 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
32865 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
32866 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
32868 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
32869 # 2006, 2007, 2008 Free Software Foundation, Inc.
32870 # Written by Gordon Matzigkeit, 1996
32872 # This file is part of GNU Libtool.
32874 # GNU Libtool is free software; you can redistribute it and/or
32875 # modify it under the terms of the GNU General Public License as
32876 # published by the Free Software Foundation; either version 2 of
32877 # the License, or (at your option) any later version.
32879 # As a special exception to the GNU General Public License,
32880 # if you distribute this file as part of a program or library that
32881 # is built using GNU Libtool, you may include this file under the
32882 # same distribution terms that you use for the rest of that program.
32884 # GNU Libtool is distributed in the hope that it will be useful,
32885 # but WITHOUT ANY WARRANTY; without even the implied warranty of
32886 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32887 # GNU General Public License for more details.
32889 # You should have received a copy of the GNU General Public License
32890 # along with GNU Libtool; see the file COPYING. If not, a copy
32891 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
32892 # obtained by writing to the Free Software Foundation, Inc.,
32893 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
32896 # The names of the tagged configurations supported by this script.
32897 available_tags="CXX "
32899 # ### BEGIN LIBTOOL CONFIG
32901 # Assembler program.
32904 # DLL creation program.
32907 # Object dumper program.
32910 # Which release of libtool.m4 was used?
32911 macro_version=$macro_version
32912 macro_revision=$macro_revision
32914 # Whether or not to build shared libraries.
32915 build_libtool_libs=$enable_shared
32917 # Whether or not to build static libraries.
32918 build_old_libs=$enable_static
32920 # What type of objects to build.
32923 # Whether or not to optimize for fast installation.
32924 fast_install=$enable_fast_install
32927 host_alias=$host_alias
32931 # The build system.
32932 build_alias=$build_alias
32936 # A sed program that does not truncate output.
32939 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
32940 Xsed="\$SED -e 1s/^X//"
32942 # A grep program that handles long lines.
32948 # A literal string matcher.
32951 # A BSD- or MS-compatible name lister.
32954 # Whether we need soft or hard links.
32957 # What is the maximum length of a command?
32958 max_cmd_len=$max_cmd_len
32960 # Object file suffix (normally "o").
32963 # Executable file suffix (normally "").
32966 # whether the shell understands "unset".
32969 # turn spaces into newlines.
32972 # turn newlines into spaces.
32975 # How to create reloadable object files.
32976 reload_flag=$lt_reload_flag
32977 reload_cmds=$lt_reload_cmds
32979 # Method to check whether dependent libraries are shared objects.
32980 deplibs_check_method=$lt_deplibs_check_method
32982 # Command to use when deplibs_check_method == "file_magic".
32983 file_magic_cmd=$lt_file_magic_cmd
32987 AR_FLAGS=$lt_AR_FLAGS
32989 # A symbol stripping program.
32992 # Commands used to install an old-style archive.
32994 old_postinstall_cmds=$lt_old_postinstall_cmds
32995 old_postuninstall_cmds=$lt_old_postuninstall_cmds
33000 # LTCC compiler flags.
33001 LTCFLAGS=$lt_CFLAGS
33003 # Take the output of nm and produce a listing of raw symbols and C names.
33004 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33006 # Transform the output of nm in a proper C declaration.
33007 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33009 # Transform the output of nm in a C name address pair.
33010 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33012 # Transform the output of nm in a C name address pair when lib prefix is needed.
33013 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33015 # The name of the directory that contains temporary libtool files.
33018 # Shell to use when invoking shell scripts.
33021 # An echo program that does not interpret backslashes.
33024 # Used to examine libraries when file_magic_cmd begins with "file".
33025 MAGIC_CMD=$MAGIC_CMD
33027 # Must we lock files when doing compilation?
33028 need_locks=$lt_need_locks
33030 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33031 DSYMUTIL=$lt_DSYMUTIL
33033 # Tool to change global to local symbols on Mac OS X.
33036 # Tool to manipulate fat objects and archives on Mac OS X.
33039 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
33042 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33043 OTOOL64=$lt_OTOOL64
33045 # Old archive suffix (normally "a").
33048 # Shared library suffix (normally ".so").
33049 shrext_cmds=$lt_shrext_cmds
33051 # The commands to extract the exported symbol list from a shared archive.
33052 extract_expsyms_cmds=$lt_extract_expsyms_cmds
33054 # Variables whose values should be saved in libtool wrapper scripts and
33055 # restored at link time.
33056 variables_saved_for_relink=$lt_variables_saved_for_relink
33058 # Do we need the "lib" prefix for modules?
33059 need_lib_prefix=$need_lib_prefix
33061 # Do we need a version for libraries?
33062 need_version=$need_version
33064 # Library versioning type.
33065 version_type=$version_type
33067 # Shared library runtime path variable.
33068 runpath_var=$runpath_var
33070 # Shared library path variable.
33071 shlibpath_var=$shlibpath_var
33073 # Is shlibpath searched before the hard-coded library search path?
33074 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33076 # Format of library name prefix.
33077 libname_spec=$lt_libname_spec
33079 # List of archive names. First name is the real one, the rest are links.
33080 # The last name is the one that the linker finds with -lNAME
33081 library_names_spec=$lt_library_names_spec
33083 # The coded name of the library, if different from the real name.
33084 soname_spec=$lt_soname_spec
33086 # Command to use after installation of a shared archive.
33087 postinstall_cmds=$lt_postinstall_cmds
33089 # Command to use after uninstallation of a shared archive.
33090 postuninstall_cmds=$lt_postuninstall_cmds
33092 # Commands used to finish a libtool library installation in a directory.
33093 finish_cmds=$lt_finish_cmds
33095 # As "finish_cmds", except a single script fragment to be evaled but
33097 finish_eval=$lt_finish_eval
33099 # Whether we should hardcode library paths into libraries.
33100 hardcode_into_libs=$hardcode_into_libs
33102 # Compile-time system search path for libraries.
33103 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33105 # Run-time system search path for libraries.
33106 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33108 # Whether dlopen is supported.
33109 dlopen_support=$enable_dlopen
33111 # Whether dlopen of programs is supported.
33112 dlopen_self=$enable_dlopen_self
33114 # Whether dlopen of statically linked programs is supported.
33115 dlopen_self_static=$enable_dlopen_self_static
33117 # Commands to strip libraries.
33118 old_striplib=$lt_old_striplib
33119 striplib=$lt_striplib
33122 # The linker used to build libraries.
33125 # Commands used to build an old-style archive.
33126 old_archive_cmds=$lt_old_archive_cmds
33128 # A language specific compiler.
33131 # Is the compiler the GNU compiler?
33134 # Compiler flag to turn off builtin functions.
33135 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33137 # How to pass a linker flag through the compiler.
33138 wl=$lt_lt_prog_compiler_wl
33140 # Additional compiler flags for building library objects.
33141 pic_flag=$lt_lt_prog_compiler_pic
33143 # Compiler flag to prevent dynamic linking.
33144 link_static_flag=$lt_lt_prog_compiler_static
33146 # Does compiler simultaneously support -c and -o options?
33147 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33149 # Whether or not to add -lc for building shared libraries.
33150 build_libtool_need_lc=$archive_cmds_need_lc
33152 # Whether or not to disallow shared libs when runtime libs are static.
33153 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33155 # Compiler flag to allow reflexive dlopens.
33156 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33158 # Compiler flag to generate shared objects directly from archives.
33159 whole_archive_flag_spec=$lt_whole_archive_flag_spec
33161 # Whether the compiler copes with passing no objects directly.
33162 compiler_needs_object=$lt_compiler_needs_object
33164 # Create an old-style archive from a shared archive.
33165 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33167 # Create a temporary old-style archive to link instead of a shared archive.
33168 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33170 # Commands used to build a shared archive.
33171 archive_cmds=$lt_archive_cmds
33172 archive_expsym_cmds=$lt_archive_expsym_cmds
33174 # Commands used to build a loadable module if different from building
33175 # a shared archive.
33176 module_cmds=$lt_module_cmds
33177 module_expsym_cmds=$lt_module_expsym_cmds
33179 # Whether we are building with GNU ld or not.
33180 with_gnu_ld=$lt_with_gnu_ld
33182 # Flag that allows shared libraries with undefined symbols to be built.
33183 allow_undefined_flag=$lt_allow_undefined_flag
33185 # Flag that enforces no undefined symbols.
33186 no_undefined_flag=$lt_no_undefined_flag
33188 # Flag to hardcode \$libdir into a binary during linking.
33189 # This must work even if \$libdir does not exist
33190 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33192 # If ld is used when linking, flag to hardcode \$libdir into a binary
33193 # during linking. This must work even if \$libdir does not exist.
33194 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33196 # Whether we need a single "-rpath" flag with a separated argument.
33197 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33199 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33200 # DIR into the resulting binary.
33201 hardcode_direct=$hardcode_direct
33203 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33204 # DIR into the resulting binary and the resulting library dependency is
33205 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33206 # library is relocated.
33207 hardcode_direct_absolute=$hardcode_direct_absolute
33209 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33210 # into the resulting binary.
33211 hardcode_minus_L=$hardcode_minus_L
33213 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33214 # into the resulting binary.
33215 hardcode_shlibpath_var=$hardcode_shlibpath_var
33217 # Set to "yes" if building a shared library automatically hardcodes DIR
33218 # into the library and all subsequent libraries and executables linked
33220 hardcode_automatic=$hardcode_automatic
33222 # Set to yes if linker adds runtime paths of dependent libraries
33223 # to runtime path list.
33224 inherit_rpath=$inherit_rpath
33226 # Whether libtool must link a program against all its dependency libraries.
33227 link_all_deplibs=$link_all_deplibs
33229 # Fix the shell variable \$srcfile for the compiler.
33230 fix_srcfile_path=$lt_fix_srcfile_path
33232 # Set to "yes" if exported symbols are required.
33233 always_export_symbols=$always_export_symbols
33235 # The commands to list exported symbols.
33236 export_symbols_cmds=$lt_export_symbols_cmds
33238 # Symbols that should not be listed in the preloaded symbols.
33239 exclude_expsyms=$lt_exclude_expsyms
33241 # Symbols that must always be exported.
33242 include_expsyms=$lt_include_expsyms
33244 # Commands necessary for linking programs (against libraries) with templates.
33245 prelink_cmds=$lt_prelink_cmds
33247 # Specify filename containing input files.
33248 file_list_spec=$lt_file_list_spec
33250 # How to hardcode a shared library path into an executable.
33251 hardcode_action=$hardcode_action
33253 # The directories searched by this compiler when creating a shared library.
33254 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33256 # Dependencies to place before and after the objects being linked to
33257 # create a shared library.
33258 predep_objects=$lt_predep_objects
33259 postdep_objects=$lt_postdep_objects
33260 predeps=$lt_predeps
33261 postdeps=$lt_postdeps
33263 # The library search path used internally by the compiler when linking
33264 # a shared library.
33265 compiler_lib_search_path=$lt_compiler_lib_search_path
33267 # ### END LIBTOOL CONFIG
33273 cat <<\_LT_EOF >> "$cfgfile"
33274 # AIX sometimes has problems with the GCC collect2 program. For some
33275 # reason, if we set the COLLECT_NAMES environment variable, the problems
33276 # vanish in a puff of smoke.
33277 if test "X${COLLECT_NAMES+set}" != Xset; then
33279 export COLLECT_NAMES
33286 ltmain="$ac_aux_dir/ltmain.sh"
33289 # We use sed instead of cat because bash on DJGPP gets confused if
33290 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33291 # text mode, it properly converts lines to CR/LF. This bash problem
33292 # is reportedly fixed, but why not run on old versions too?
33293 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33294 || (rm -f "$cfgfile"; exit 1)
33298 cat << \_LT_EOF >> "$cfgfile"
33300 # func_dirname file append nondir_replacement
33301 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33302 # otherwise set result to NONDIR_REPLACEMENT.
33306 */*) func_dirname_result="${1%/*}${2}" ;;
33307 * ) func_dirname_result="${3}" ;;
33311 # func_basename file
33314 func_basename_result="${1##*/}"
33317 # func_dirname_and_basename file append nondir_replacement
33318 # perform func_basename and func_dirname in a single function
33320 # dirname: Compute the dirname of FILE. If nonempty,
33321 # add APPEND to the result, otherwise set result
33322 # to NONDIR_REPLACEMENT.
33323 # value returned in "$func_dirname_result"
33324 # basename: Compute filename of FILE.
33325 # value retuned in "$func_basename_result"
33326 # Implementation must be kept synchronized with func_dirname
33327 # and func_basename. For efficiency, we do not delegate to
33328 # those functions but instead duplicate the functionality here.
33329 func_dirname_and_basename ()
33332 */*) func_dirname_result="${1%/*}${2}" ;;
33333 * ) func_dirname_result="${3}" ;;
33335 func_basename_result="${1##*/}"
33338 # func_stripname prefix suffix name
33339 # strip PREFIX and SUFFIX off of NAME.
33340 # PREFIX and SUFFIX must not contain globbing or regex special
33341 # characters, hashes, percent signs, but SUFFIX may contain a leading
33342 # dot (in which case that matches only a dot).
33345 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33346 # positional parameters, so assign one to ordinary parameter first.
33347 func_stripname_result=${3}
33348 func_stripname_result=${func_stripname_result#"${1}"}
33349 func_stripname_result=${func_stripname_result%"${2}"}
33355 func_opt_split_opt=${1%%=*}
33356 func_opt_split_arg=${1#*=}
33363 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
33364 *) func_lo2o_result=${1} ;;
33368 # func_xform libobj-or-source
33371 func_xform_result=${1%.*}.lo
33374 # func_arith arithmetic-term...
33377 func_arith_result=$(( $* ))
33381 # STRING may not start with a hyphen.
33384 func_len_result=${#1}
33389 *) # Bourne compatible functions.
33390 cat << \_LT_EOF >> "$cfgfile"
33392 # func_dirname file append nondir_replacement
33393 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33394 # otherwise set result to NONDIR_REPLACEMENT.
33397 # Extract subdirectory from the argument.
33398 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
33399 if test "X$func_dirname_result" = "X${1}"; then
33400 func_dirname_result="${3}"
33402 func_dirname_result="$func_dirname_result${2}"
33406 # func_basename file
33409 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
33413 # func_stripname prefix suffix name
33414 # strip PREFIX and SUFFIX off of NAME.
33415 # PREFIX and SUFFIX must not contain globbing or regex special
33416 # characters, hashes, percent signs, but SUFFIX may contain a leading
33417 # dot (in which case that matches only a dot).
33418 # func_strip_suffix prefix name
33422 .*) func_stripname_result=`$ECHO "X${3}" \
33423 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
33424 *) func_stripname_result=`$ECHO "X${3}" \
33425 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
33430 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
33431 my_sed_long_arg='1s/^-[^=]*=//'
33436 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
33437 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
33443 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
33446 # func_xform libobj-or-source
33449 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
33452 # func_arith arithmetic-term...
33455 func_arith_result=`expr "$@"`
33459 # STRING may not start with a hyphen.
33462 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
33468 case $lt_shell_append in
33470 cat << \_LT_EOF >> "$cfgfile"
33472 # func_append var value
33473 # Append VALUE to the end of shell variable VAR.
33481 cat << \_LT_EOF >> "$cfgfile"
33483 # func_append var value
33484 # Append VALUE to the end of shell variable VAR.
33495 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
33496 || (rm -f "$cfgfile"; exit 1)
33498 mv -f "$cfgfile" "$ofile" ||
33499 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
33503 cat <<_LT_EOF >> "$ofile"
33505 # ### BEGIN LIBTOOL TAG CONFIG: CXX
33507 # The linker used to build libraries.
33510 # Commands used to build an old-style archive.
33511 old_archive_cmds=$lt_old_archive_cmds_CXX
33513 # A language specific compiler.
33514 CC=$lt_compiler_CXX
33516 # Is the compiler the GNU compiler?
33519 # Compiler flag to turn off builtin functions.
33520 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
33522 # How to pass a linker flag through the compiler.
33523 wl=$lt_lt_prog_compiler_wl_CXX
33525 # Additional compiler flags for building library objects.
33526 pic_flag=$lt_lt_prog_compiler_pic_CXX
33528 # Compiler flag to prevent dynamic linking.
33529 link_static_flag=$lt_lt_prog_compiler_static_CXX
33531 # Does compiler simultaneously support -c and -o options?
33532 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
33534 # Whether or not to add -lc for building shared libraries.
33535 build_libtool_need_lc=$archive_cmds_need_lc_CXX
33537 # Whether or not to disallow shared libs when runtime libs are static.
33538 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
33540 # Compiler flag to allow reflexive dlopens.
33541 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
33543 # Compiler flag to generate shared objects directly from archives.
33544 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
33546 # Whether the compiler copes with passing no objects directly.
33547 compiler_needs_object=$lt_compiler_needs_object_CXX
33549 # Create an old-style archive from a shared archive.
33550 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
33552 # Create a temporary old-style archive to link instead of a shared archive.
33553 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
33555 # Commands used to build a shared archive.
33556 archive_cmds=$lt_archive_cmds_CXX
33557 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
33559 # Commands used to build a loadable module if different from building
33560 # a shared archive.
33561 module_cmds=$lt_module_cmds_CXX
33562 module_expsym_cmds=$lt_module_expsym_cmds_CXX
33564 # Whether we are building with GNU ld or not.
33565 with_gnu_ld=$lt_with_gnu_ld_CXX
33567 # Flag that allows shared libraries with undefined symbols to be built.
33568 allow_undefined_flag=$lt_allow_undefined_flag_CXX
33570 # Flag that enforces no undefined symbols.
33571 no_undefined_flag=$lt_no_undefined_flag_CXX
33573 # Flag to hardcode \$libdir into a binary during linking.
33574 # This must work even if \$libdir does not exist
33575 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
33577 # If ld is used when linking, flag to hardcode \$libdir into a binary
33578 # during linking. This must work even if \$libdir does not exist.
33579 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
33581 # Whether we need a single "-rpath" flag with a separated argument.
33582 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
33584 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33585 # DIR into the resulting binary.
33586 hardcode_direct=$hardcode_direct_CXX
33588 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33589 # DIR into the resulting binary and the resulting library dependency is
33590 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33591 # library is relocated.
33592 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
33594 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33595 # into the resulting binary.
33596 hardcode_minus_L=$hardcode_minus_L_CXX
33598 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33599 # into the resulting binary.
33600 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
33602 # Set to "yes" if building a shared library automatically hardcodes DIR
33603 # into the library and all subsequent libraries and executables linked
33605 hardcode_automatic=$hardcode_automatic_CXX
33607 # Set to yes if linker adds runtime paths of dependent libraries
33608 # to runtime path list.
33609 inherit_rpath=$inherit_rpath_CXX
33611 # Whether libtool must link a program against all its dependency libraries.
33612 link_all_deplibs=$link_all_deplibs_CXX
33614 # Fix the shell variable \$srcfile for the compiler.
33615 fix_srcfile_path=$lt_fix_srcfile_path_CXX
33617 # Set to "yes" if exported symbols are required.
33618 always_export_symbols=$always_export_symbols_CXX
33620 # The commands to list exported symbols.
33621 export_symbols_cmds=$lt_export_symbols_cmds_CXX
33623 # Symbols that should not be listed in the preloaded symbols.
33624 exclude_expsyms=$lt_exclude_expsyms_CXX
33626 # Symbols that must always be exported.
33627 include_expsyms=$lt_include_expsyms_CXX
33629 # Commands necessary for linking programs (against libraries) with templates.
33630 prelink_cmds=$lt_prelink_cmds_CXX
33632 # Specify filename containing input files.
33633 file_list_spec=$lt_file_list_spec_CXX
33635 # How to hardcode a shared library path into an executable.
33636 hardcode_action=$hardcode_action_CXX
33638 # The directories searched by this compiler when creating a shared library.
33639 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
33641 # Dependencies to place before and after the objects being linked to
33642 # create a shared library.
33643 predep_objects=$lt_predep_objects_CXX
33644 postdep_objects=$lt_postdep_objects_CXX
33645 predeps=$lt_predeps_CXX
33646 postdeps=$lt_postdeps_CXX
33648 # The library search path used internally by the compiler when linking
33649 # a shared library.
33650 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
33652 # ### END LIBTOOL TAG CONFIG: CXX
33656 "po-directories":C)
33657 for ac_file in $CONFIG_FILES; do
33658 # Support "outfile[:infile[:infile...]]"
33660 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
33662 # PO directories have a Makefile.in generated from Makefile.in.in.
33663 case "$ac_file" in */Makefile.in)
33664 # Adjust a relative srcdir.
33665 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
33666 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
33667 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
33668 # In autoconf-2.13 it is called $ac_given_srcdir.
33669 # In autoconf-2.50 it is called $srcdir.
33670 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
33671 case "$ac_given_srcdir" in
33672 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
33673 /*) top_srcdir="$ac_given_srcdir" ;;
33674 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
33676 # Treat a directory as a PO directory if and only if it has a
33677 # POTFILES.in file. This allows packages to have multiple PO
33678 # directories under different names or in different locations.
33679 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
33680 rm -f "$ac_dir/POTFILES"
33681 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
33682 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
33683 POMAKEFILEDEPS="POTFILES.in"
33684 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
33685 # on $ac_dir but don't depend on user-specified configuration
33687 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
33688 # The LINGUAS file contains the set of available languages.
33689 if test -n "$OBSOLETE_ALL_LINGUAS"; then
33690 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
33692 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
33693 # Hide the ALL_LINGUAS assigment from automake < 1.5.
33694 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
33695 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
33697 # The set of available languages was given in configure.in.
33698 # Hide the ALL_LINGUAS assigment from automake < 1.5.
33699 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
33702 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
33703 # Compute UPDATEPOFILES
33704 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
33705 # Compute DUMMYPOFILES
33706 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
33708 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
33709 case "$ac_given_srcdir" in
33711 *) srcdirpre='$(srcdir)/' ;;
33717 for lang in $ALL_LINGUAS; do
33718 POFILES="$POFILES $srcdirpre$lang.po"
33719 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
33720 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
33721 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
33723 # CATALOGS depends on both $ac_dir and the user's LINGUAS
33724 # environment variable.
33726 if test -n "$ALL_LINGUAS"; then
33727 for presentlang in $ALL_LINGUAS; do
33729 if test "%UNSET%" != "$LINGUAS"; then
33730 desiredlanguages="$LINGUAS"
33732 desiredlanguages="$ALL_LINGUAS"
33734 for desiredlang in $desiredlanguages; do
33735 # Use the presentlang catalog if desiredlang is
33736 # a. equal to presentlang, or
33737 # b. a variant of presentlang (because in this case,
33738 # presentlang can be used as a fallback for messages
33739 # which are not translated in the desiredlang catalog).
33740 case "$desiredlang" in
33741 "$presentlang"*) useit=yes;;
33744 if test $useit = yes; then
33745 INST_LINGUAS="$INST_LINGUAS $presentlang"
33750 if test -n "$INST_LINGUAS"; then
33751 for lang in $INST_LINGUAS; do
33752 CATALOGS="$CATALOGS $lang.gmo"
33755 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
33756 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"
33757 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
33758 if test -f "$f"; then
33760 *.orig | *.bak | *~) ;;
33761 *) cat "$f" >> "$ac_dir/Makefile" ;;
33770 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
33771 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
33772 ac_stdint=$tmp/_stdint.h
33774 echo "#ifndef" $_ac_stdint_h >$ac_stdint
33775 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
33776 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
33777 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
33778 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
33779 if test "_$ac_cv_header_stdint_t" != "_" ; then
33780 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
33781 echo "#include <stdint.h>" >>$ac_stdint
33782 echo "#endif" >>$ac_stdint
33783 echo "#endif" >>$ac_stdint
33786 cat >>$ac_stdint <<STDINT_EOF
33788 /* ................... shortcircuit part ........................... */
33790 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
33791 #include <stdint.h>
33793 #include <stddef.h>
33795 /* .................... configured part ............................ */
33799 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
33800 if test "_$ac_cv_header_stdint_x" != "_" ; then
33801 ac_header="$ac_cv_header_stdint_x"
33802 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
33804 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
33807 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
33808 if test "_$ac_cv_header_stdint_o" != "_" ; then
33809 ac_header="$ac_cv_header_stdint_o"
33810 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
33812 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
33815 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
33816 if test "_$ac_cv_header_stdint_u" != "_" ; then
33817 ac_header="$ac_cv_header_stdint_u"
33818 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
33820 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
33823 echo "" >>$ac_stdint
33825 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
33826 echo "#include <$ac_header>" >>$ac_stdint
33827 echo "" >>$ac_stdint
33830 echo "/* which 64bit typedef has been found */" >>$ac_stdint
33831 if test "$ac_cv_type_uint64_t" = "yes" ; then
33832 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
33834 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
33836 if test "$ac_cv_type_u_int64_t" = "yes" ; then
33837 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
33839 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
33841 echo "" >>$ac_stdint
33843 echo "/* which type model has been detected */" >>$ac_stdint
33844 if test "_$ac_cv_char_data_model" != "_" ; then
33845 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
33846 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
33848 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
33849 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
33851 echo "" >>$ac_stdint
33853 echo "/* whether int_least types were detected */" >>$ac_stdint
33854 if test "$ac_cv_type_int_least32_t" = "yes"; then
33855 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
33857 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
33859 echo "/* whether int_fast types were detected */" >>$ac_stdint
33860 if test "$ac_cv_type_int_fast32_t" = "yes"; then
33861 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
33863 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
33865 echo "/* whether intmax_t type was detected */" >>$ac_stdint
33866 if test "$ac_cv_type_intmax_t" = "yes"; then
33867 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
33869 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
33871 echo "" >>$ac_stdint
33873 cat >>$ac_stdint <<STDINT_EOF
33874 /* .................... detections part ............................ */
33876 /* whether we need to define bitspecific types from compiler base types */
33877 #ifndef _STDINT_HEADER_INTPTR
33878 #ifndef _STDINT_HEADER_UINT32
33879 #ifndef _STDINT_HEADER_U_INT32
33880 #define _STDINT_NEED_INT_MODEL_T
33882 #define _STDINT_HAVE_U_INT_TYPES
33887 #ifdef _STDINT_HAVE_U_INT_TYPES
33888 #undef _STDINT_NEED_INT_MODEL_T
33891 #ifdef _STDINT_CHAR_MODEL
33892 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
33893 #ifndef _STDINT_BYTE_MODEL
33894 #define _STDINT_BYTE_MODEL 12
33899 #ifndef _STDINT_HAVE_INT_LEAST32_T
33900 #define _STDINT_NEED_INT_LEAST_T
33903 #ifndef _STDINT_HAVE_INT_FAST32_T
33904 #define _STDINT_NEED_INT_FAST_T
33907 #ifndef _STDINT_HEADER_INTPTR
33908 #define _STDINT_NEED_INTPTR_T
33909 #ifndef _STDINT_HAVE_INTMAX_T
33910 #define _STDINT_NEED_INTMAX_T
33915 /* .................... definition part ............................ */
33917 /* some system headers have good uint64_t */
33918 #ifndef _HAVE_UINT64_T
33919 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
33920 #define _HAVE_UINT64_T
33921 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
33922 #define _HAVE_UINT64_T
33923 typedef u_int64_t uint64_t;
33927 #ifndef _HAVE_UINT64_T
33928 /* .. here are some common heuristics using compiler runtime specifics */
33929 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
33930 #define _HAVE_UINT64_T
33931 #define _HAVE_LONGLONG_UINT64_T
33932 typedef long long int64_t;
33933 typedef unsigned long long uint64_t;
33935 #elif !defined __STRICT_ANSI__
33936 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
33937 #define _HAVE_UINT64_T
33938 typedef __int64 int64_t;
33939 typedef unsigned __int64 uint64_t;
33941 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
33942 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
33943 #if !defined _NO_LONGLONG
33944 #define _HAVE_UINT64_T
33945 #define _HAVE_LONGLONG_UINT64_T
33946 typedef long long int64_t;
33947 typedef unsigned long long uint64_t;
33950 #elif defined __alpha || (defined __mips && defined _ABIN32)
33951 #if !defined _NO_LONGLONG
33952 typedef long int64_t;
33953 typedef unsigned long uint64_t;
33955 /* compiler/cpu type to define int64_t */
33960 #if defined _STDINT_HAVE_U_INT_TYPES
33961 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
33962 typedef u_int8_t uint8_t;
33963 typedef u_int16_t uint16_t;
33964 typedef u_int32_t uint32_t;
33966 /* glibc compatibility */
33967 #ifndef __int8_t_defined
33968 #define __int8_t_defined
33972 #ifdef _STDINT_NEED_INT_MODEL_T
33973 /* we must guess all the basic types. Apart from byte-adressable system, */
33974 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
33975 /* (btw, those nibble-addressable systems are way off, or so we assume) */
33978 #if defined _STDINT_BYTE_MODEL
33979 #if _STDINT_LONG_MODEL+0 == 242
33980 /* 2:4:2 = IP16 = a normal 16-bit system */
33981 typedef unsigned char uint8_t;
33982 typedef unsigned short uint16_t;
33983 typedef unsigned long uint32_t;
33984 #ifndef __int8_t_defined
33985 #define __int8_t_defined
33986 typedef char int8_t;
33987 typedef short int16_t;
33988 typedef long int32_t;
33990 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
33991 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
33992 /* 4:4:4 = ILP32 = a normal 32-bit system */
33993 typedef unsigned char uint8_t;
33994 typedef unsigned short uint16_t;
33995 typedef unsigned int uint32_t;
33996 #ifndef __int8_t_defined
33997 #define __int8_t_defined
33998 typedef char int8_t;
33999 typedef short int16_t;
34000 typedef int int32_t;
34002 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
34003 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
34004 /* 4:8:8 = LP64 = a normal 64-bit system */
34005 typedef unsigned char uint8_t;
34006 typedef unsigned short uint16_t;
34007 typedef unsigned int uint32_t;
34008 #ifndef __int8_t_defined
34009 #define __int8_t_defined
34010 typedef char int8_t;
34011 typedef short int16_t;
34012 typedef int int32_t;
34014 /* this system has a "long" of 64bit */
34015 #ifndef _HAVE_UINT64_T
34016 #define _HAVE_UINT64_T
34017 typedef unsigned long uint64_t;
34018 typedef long int64_t;
34020 #elif _STDINT_LONG_MODEL+0 == 448
34021 /* LLP64 a 64-bit system derived from a 32-bit system */
34022 typedef unsigned char uint8_t;
34023 typedef unsigned short uint16_t;
34024 typedef unsigned int uint32_t;
34025 #ifndef __int8_t_defined
34026 #define __int8_t_defined
34027 typedef char int8_t;
34028 typedef short int16_t;
34029 typedef int int32_t;
34031 /* assuming the system has a "long long" */
34032 #ifndef _HAVE_UINT64_T
34033 #define _HAVE_UINT64_T
34034 #define _HAVE_LONGLONG_UINT64_T
34035 typedef unsigned long long uint64_t;
34036 typedef long long int64_t;
34039 #define _STDINT_NO_INT32_T
34042 #define _STDINT_NO_INT8_T
34043 #define _STDINT_NO_INT32_T
34048 * quote from SunOS-5.8 sys/inttypes.h:
34049 * Use at your own risk. As of February 1996, the committee is squarely
34050 * behind the fixed sized types; the "least" and "fast" types are still being
34051 * discussed. The probability that the "fast" types may be removed before
34052 * the standard is finalized is high enough that they are not currently
34056 #if defined _STDINT_NEED_INT_LEAST_T
34057 typedef int8_t int_least8_t;
34058 typedef int16_t int_least16_t;
34059 typedef int32_t int_least32_t;
34060 #ifdef _HAVE_UINT64_T
34061 typedef int64_t int_least64_t;
34064 typedef uint8_t uint_least8_t;
34065 typedef uint16_t uint_least16_t;
34066 typedef uint32_t uint_least32_t;
34067 #ifdef _HAVE_UINT64_T
34068 typedef uint64_t uint_least64_t;
34073 #if defined _STDINT_NEED_INT_FAST_T
34074 typedef int8_t int_fast8_t;
34075 typedef int int_fast16_t;
34076 typedef int32_t int_fast32_t;
34077 #ifdef _HAVE_UINT64_T
34078 typedef int64_t int_fast64_t;
34081 typedef uint8_t uint_fast8_t;
34082 typedef unsigned uint_fast16_t;
34083 typedef uint32_t uint_fast32_t;
34084 #ifdef _HAVE_UINT64_T
34085 typedef uint64_t uint_fast64_t;
34090 #ifdef _STDINT_NEED_INTMAX_T
34091 #ifdef _HAVE_UINT64_T
34092 typedef int64_t intmax_t;
34093 typedef uint64_t uintmax_t;
34095 typedef long intmax_t;
34096 typedef unsigned long uintmax_t;
34100 #ifdef _STDINT_NEED_INTPTR_T
34101 #ifndef __intptr_t_defined
34102 #define __intptr_t_defined
34103 /* we encourage using "long" to store pointer values, never use "int" ! */
34104 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
34105 typedef unsigned int uintptr_t;
34106 typedef int intptr_t;
34107 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
34108 typedef unsigned long uintptr_t;
34109 typedef long intptr_t;
34110 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
34111 typedef uint64_t uintptr_t;
34112 typedef int64_t intptr_t;
34113 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
34114 typedef unsigned long uintptr_t;
34115 typedef long intptr_t;
34120 /* The ISO C99 standard specifies that in C++ implementations these
34121 should only be defined if explicitly requested. */
34122 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
34126 # define INT8_C(c) c
34127 # define INT16_C(c) c
34128 # define INT32_C(c) c
34129 # ifdef _HAVE_LONGLONG_UINT64_T
34130 # define INT64_C(c) c ## L
34132 # define INT64_C(c) c ## LL
34136 # define UINT8_C(c) c ## U
34137 # define UINT16_C(c) c ## U
34138 # define UINT32_C(c) c ## U
34139 # ifdef _HAVE_LONGLONG_UINT64_T
34140 # define UINT64_C(c) c ## UL
34142 # define UINT64_C(c) c ## ULL
34145 /* Maximal type. */
34146 # ifdef _HAVE_LONGLONG_UINT64_T
34147 # define INTMAX_C(c) c ## L
34148 # define UINTMAX_C(c) c ## UL
34150 # define INTMAX_C(c) c ## LL
34151 # define UINTMAX_C(c) c ## ULL
34154 /* literalnumbers */
34158 /* These limits are merily those of a two complement byte-oriented system */
34160 /* Minimum of signed integral types. */
34161 # define INT8_MIN (-128)
34162 # define INT16_MIN (-32767-1)
34163 # define INT32_MIN (-2147483647-1)
34164 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
34165 /* Maximum of signed integral types. */
34166 # define INT8_MAX (127)
34167 # define INT16_MAX (32767)
34168 # define INT32_MAX (2147483647)
34169 # define INT64_MAX (__INT64_C(9223372036854775807))
34171 /* Maximum of unsigned integral types. */
34172 # define UINT8_MAX (255)
34173 # define UINT16_MAX (65535)
34174 # define UINT32_MAX (4294967295U)
34175 # define UINT64_MAX (__UINT64_C(18446744073709551615))
34177 /* Minimum of signed integral types having a minimum size. */
34178 # define INT_LEAST8_MIN INT8_MIN
34179 # define INT_LEAST16_MIN INT16_MIN
34180 # define INT_LEAST32_MIN INT32_MIN
34181 # define INT_LEAST64_MIN INT64_MIN
34182 /* Maximum of signed integral types having a minimum size. */
34183 # define INT_LEAST8_MAX INT8_MAX
34184 # define INT_LEAST16_MAX INT16_MAX
34185 # define INT_LEAST32_MAX INT32_MAX
34186 # define INT_LEAST64_MAX INT64_MAX
34188 /* Maximum of unsigned integral types having a minimum size. */
34189 # define UINT_LEAST8_MAX UINT8_MAX
34190 # define UINT_LEAST16_MAX UINT16_MAX
34191 # define UINT_LEAST32_MAX UINT32_MAX
34192 # define UINT_LEAST64_MAX UINT64_MAX
34201 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
34202 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
34203 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
34205 ac_dir=`$as_dirname -- "$ac_stdint_h" ||
34206 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34207 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
34208 X"$ac_stdint_h" : 'X\(//\)$' \| \
34209 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
34210 $as_echo X"$ac_stdint_h" |
34211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34215 /^X\(\/\/\)[^/].*/{
34228 as_dir="$ac_dir"; as_fn_mkdir_p
34230 mv $ac_stdint $ac_stdint_h
34240 ac_clean_files=$ac_clean_files_save
34242 test $ac_write_fail = 0 ||
34243 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
34246 # configure is writing to config.log, and then calls config.status.
34247 # config.status does its own redirection, appending to config.log.
34248 # Unfortunately, on DOS this fails, as config.log is still kept open
34249 # by configure, so config.status won't be able to write to it; its
34250 # output is simply discarded. So we exec the FD to /dev/null,
34251 # effectively closing config.log, so it can be properly (re)opened and
34252 # appended to by config.status. When coming back to configure, we
34253 # need to make the FD available again.
34254 if test "$no_create" != yes; then
34256 ac_config_status_args=
34257 test "$silent" = yes &&
34258 ac_config_status_args="$ac_config_status_args --quiet"
34260 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34262 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34263 # would make configure fail if this is the last instruction.
34264 $ac_cs_success || as_fn_exit 1
34266 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
34267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34268 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
34274 printf "configure: *** Plug-ins without external dependencies that will be built:\n"
34275 ( for i in $GST_PLUGINS_SELECTED; do printf '\t'$i'\n'; done ) | sort
34278 printf "configure: *** Plug-ins without external dependencies that will NOT be built:\n"
34279 ( for i in $GST_PLUGINS_ALL; do
34280 case " $GST_PLUGINS_SELECTED " in
34290 if test "x$BUILD_EXTERNAL" = "xno"; then
34291 printf "configure: *** No plug-ins with external dependencies will be built\n"
34293 printf "configure: *** Plug-ins with dependencies that will be built:"
34294 printf "$GST_PLUGINS_YES\n" | sort
34296 printf "configure: *** Plug-ins with dependencies that will NOT be built:"
34297 printf "$GST_PLUGINS_NO\n" | sort
34302 if test "$HAVE_ORC" = yes ; then
34303 printf "configure: *** Orc acceleration enabled.\n"
34305 if test "x$enable_orc" = "xno" ; then
34306 printf "configure: *** Orc acceleration disabled by --disable-orc. Slower code paths\n"
34307 printf " will be used.\n"
34309 printf "configure: *** Orc acceleration disabled. Requires Orc >= $ORC_REQ, which was\n"
34310 printf " not found. Slower code paths will be used.\n"