2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for GStreamer Ugly Plug-ins 0.10.19.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
271 # Portably unset VAR.
274 { eval $1=; unset $1;}
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298 # Create "$as_dir" as a directory, including parents if necessary.
303 -*) as_dir=./$as_dir;;
305 test -d "$as_dir" || eval $as_mkdir_p || {
309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312 as_dirs="'$as_qdir' $as_dirs"
313 as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315 X"$as_dir" : 'X\(//\)[^/]' \| \
316 X"$as_dir" : 'X\(//\)$' \| \
317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 test -d "$as_dir" && break
338 test -z "$as_dirs" || eval "mkdir $as_dirs"
339 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350 eval 'as_fn_append ()
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
374 as_val=`expr "$@" || test $? -eq 1`
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
386 as_status=$1; test $as_status -eq 0 && as_status=1
388 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391 $as_echo "$as_me: error: $2" >&2
392 as_fn_exit $as_status
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416 X"$0" : 'X\(//\)$' \| \
417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419 sed '/^.*\/\([^/][^/]*\)\/*$/{
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
441 as_lineno_1=$LINENO as_lineno_1a=$LINENO
442 as_lineno_2=$LINENO as_lineno_2a=$LINENO
443 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461 chmod +x "$as_me.lineno" ||
462 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
464 # Don't try to exec as it changes $[0], causing all sort of problems
465 # (the dirname of $[0] is not the place where we might find the
466 # original and so on. Autoconf is especially sensitive to this).
468 # Exit status is that of the last command.
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
475 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
478 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
490 mkdir conf$$.dir 2>/dev/null
492 if (echo >conf$$.file) 2>/dev/null; then
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 elif ln conf$$.file conf$$ 2>/dev/null; then
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
512 if mkdir -p . 2>/dev/null; then
513 as_mkdir_p='mkdir -p "$as_dir"'
515 test -d ./-p && rmdir ./-p
519 if test -x / >/dev/null 2>&1; then
522 if ls -dL / >/dev/null 2>&1; then
529 if test -d "$1"; then
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 ???[sx]*):;;*)false;;esac;fi
540 as_executable_p=$as_test_x
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548 SHELL=${CONFIG_SHELL-/bin/sh}
551 test -n "$DJDIR" || exec 7<&0 </dev/null
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
571 # Identity of this package.
572 PACKAGE_NAME='GStreamer Ugly Plug-ins'
573 PACKAGE_TARNAME='gst-plugins-ugly'
574 PACKAGE_VERSION='0.10.19'
575 PACKAGE_STRING='GStreamer Ugly Plug-ins 0.10.19'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
579 ac_unique_file="ext/mad/gstmad.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
617 ac_subst_vars='am__EXEEXT_FALSE
676 USE_PLUGIN_SYNAESTHESIA_FALSE
677 USE_PLUGIN_SYNAESTHESIA_TRUE
678 USE_PLUGIN_REALMEDIA_FALSE
679 USE_PLUGIN_REALMEDIA_TRUE
680 USE_PLUGIN_MPEGSTREAM_FALSE
681 USE_PLUGIN_MPEGSTREAM_TRUE
682 USE_PLUGIN_MPEGAUDIOPARSE_FALSE
683 USE_PLUGIN_MPEGAUDIOPARSE_TRUE
684 USE_PLUGIN_IEC958_FALSE
685 USE_PLUGIN_IEC958_TRUE
686 USE_PLUGIN_DVDSUB_FALSE
687 USE_PLUGIN_DVDSUB_TRUE
688 USE_PLUGIN_DVDLPCMDEC_FALSE
689 USE_PLUGIN_DVDLPCMDEC_TRUE
690 USE_PLUGIN_ASFDEMUX_FALSE
691 USE_PLUGIN_ASFDEMUX_TRUE
712 GST_PLUGINS_BASE_LIBS
713 GST_PLUGINS_BASE_CFLAGS
735 ENABLE_PLUGIN_DOCS_FALSE
736 ENABLE_PLUGIN_DOCS_TRUE
746 GTK_DOC_USE_LIBTOOL_FALSE
747 GTK_DOC_USE_LIBTOOL_TRUE
762 HAVE_CPU_CRISV32_FALSE
763 HAVE_CPU_CRISV32_TRUE
766 HAVE_CPU_X86_64_FALSE
790 BUILD_EXPERIMENTAL_FALSE
791 BUILD_EXPERIMENTAL_TRUE
792 USE_EXPERIMENTAL_FALSE
793 USE_EXPERIMENTAL_TRUE
804 GST_GCOV_ENABLED_FALSE
805 GST_GCOV_ENABLED_TRUE
824 XGETTEXT_EXTRA_OPTIONS
832 GETTEXT_MACRO_VERSION
889 MAINTAINER_MODE_FALSE
891 PACKAGE_VERSION_RELEASE
893 PACKAGE_VERSION_MICRO
894 PACKAGE_VERSION_MINOR
895 PACKAGE_VERSION_MAJOR
904 INSTALL_STRIP_PROGRAM
946 program_transform_name
959 enable_option_checking
960 enable_maintainer_mode
966 enable_dependency_tracking
991 enable_gobject_cast_checks
994 with_default_audiosink
995 with_default_audiosrc
996 with_default_videosink
997 with_default_videosrc
998 with_default_visualizer
1003 enable_mpegaudioparse
1020 ac_precious_vars='build_alias
1046 GST_PLUGINS_BASE_CFLAGS
1047 GST_PLUGINS_BASE_LIBS
1064 # Initialize some variables set by options.
1066 ac_init_version=false
1067 ac_unrecognized_opts=
1068 ac_unrecognized_sep=
1069 # The variables have the same names as the options, with
1070 # dashes changed to underlines.
1071 cache_file=/dev/null
1078 program_transform_name=s,x,x,
1086 # Installation directory options.
1087 # These are left unexpanded so users can "make install exec_prefix=/foo"
1088 # and all the variables that are supposed to be based on exec_prefix
1089 # by default will actually change.
1090 # Use braces instead of parens because sh, perl, etc. also accept them.
1091 # (The list follows the same order as the GNU Coding Standards.)
1092 bindir='${exec_prefix}/bin'
1093 sbindir='${exec_prefix}/sbin'
1094 libexecdir='${exec_prefix}/libexec'
1095 datarootdir='${prefix}/share'
1096 datadir='${datarootdir}'
1097 sysconfdir='${prefix}/etc'
1098 sharedstatedir='${prefix}/com'
1099 localstatedir='${prefix}/var'
1100 includedir='${prefix}/include'
1101 oldincludedir='/usr/include'
1102 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1103 infodir='${datarootdir}/info'
1108 libdir='${exec_prefix}/lib'
1109 localedir='${datarootdir}/locale'
1110 mandir='${datarootdir}/man'
1116 # If the previous option needs an argument, assign it.
1117 if test -n "$ac_prev"; then
1118 eval $ac_prev=\$ac_option
1124 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1129 # Accept the important Cygnus configure options, so we can diagnose typos.
1131 case $ac_dashdash$ac_option in
1135 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1137 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1138 bindir=$ac_optarg ;;
1140 -build | --build | --buil | --bui | --bu)
1141 ac_prev=build_alias ;;
1142 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1143 build_alias=$ac_optarg ;;
1145 -cache-file | --cache-file | --cache-fil | --cache-fi \
1146 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1147 ac_prev=cache_file ;;
1148 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1149 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1150 cache_file=$ac_optarg ;;
1152 --config-cache | -C)
1153 cache_file=config.cache ;;
1155 -datadir | --datadir | --datadi | --datad)
1157 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1158 datadir=$ac_optarg ;;
1160 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1161 | --dataroo | --dataro | --datar)
1162 ac_prev=datarootdir ;;
1163 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1164 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1165 datarootdir=$ac_optarg ;;
1167 -disable-* | --disable-*)
1168 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1169 # Reject names that are not valid shell variable names.
1170 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1171 as_fn_error $? "invalid feature name: $ac_useropt"
1172 ac_useropt_orig=$ac_useropt
1173 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1174 case $ac_user_opts in
1176 "enable_$ac_useropt"
1178 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1179 ac_unrecognized_sep=', ';;
1181 eval enable_$ac_useropt=no ;;
1183 -docdir | --docdir | --docdi | --doc | --do)
1185 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1186 docdir=$ac_optarg ;;
1188 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1190 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1191 dvidir=$ac_optarg ;;
1193 -enable-* | --enable-*)
1194 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1197 as_fn_error $? "invalid feature name: $ac_useropt"
1198 ac_useropt_orig=$ac_useropt
1199 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1202 "enable_$ac_useropt"
1204 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1205 ac_unrecognized_sep=', ';;
1207 eval enable_$ac_useropt=\$ac_optarg ;;
1209 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1210 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1211 | --exec | --exe | --ex)
1212 ac_prev=exec_prefix ;;
1213 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1214 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1215 | --exec=* | --exe=* | --ex=*)
1216 exec_prefix=$ac_optarg ;;
1218 -gas | --gas | --ga | --g)
1219 # Obsolete; use --with-gas.
1222 -help | --help | --hel | --he | -h)
1223 ac_init_help=long ;;
1224 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1225 ac_init_help=recursive ;;
1226 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1227 ac_init_help=short ;;
1229 -host | --host | --hos | --ho)
1230 ac_prev=host_alias ;;
1231 -host=* | --host=* | --hos=* | --ho=*)
1232 host_alias=$ac_optarg ;;
1234 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1236 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1238 htmldir=$ac_optarg ;;
1240 -includedir | --includedir | --includedi | --included | --include \
1241 | --includ | --inclu | --incl | --inc)
1242 ac_prev=includedir ;;
1243 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1244 | --includ=* | --inclu=* | --incl=* | --inc=*)
1245 includedir=$ac_optarg ;;
1247 -infodir | --infodir | --infodi | --infod | --info | --inf)
1249 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1250 infodir=$ac_optarg ;;
1252 -libdir | --libdir | --libdi | --libd)
1254 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1255 libdir=$ac_optarg ;;
1257 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1258 | --libexe | --libex | --libe)
1259 ac_prev=libexecdir ;;
1260 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1261 | --libexe=* | --libex=* | --libe=*)
1262 libexecdir=$ac_optarg ;;
1264 -localedir | --localedir | --localedi | --localed | --locale)
1265 ac_prev=localedir ;;
1266 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1267 localedir=$ac_optarg ;;
1269 -localstatedir | --localstatedir | --localstatedi | --localstated \
1270 | --localstate | --localstat | --localsta | --localst | --locals)
1271 ac_prev=localstatedir ;;
1272 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1273 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1274 localstatedir=$ac_optarg ;;
1276 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1278 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1279 mandir=$ac_optarg ;;
1281 -nfp | --nfp | --nf)
1282 # Obsolete; use --without-fp.
1285 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1286 | --no-cr | --no-c | -n)
1289 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1290 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1293 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1294 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1295 | --oldin | --oldi | --old | --ol | --o)
1296 ac_prev=oldincludedir ;;
1297 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1298 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1299 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1300 oldincludedir=$ac_optarg ;;
1302 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1304 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1305 prefix=$ac_optarg ;;
1307 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1308 | --program-pre | --program-pr | --program-p)
1309 ac_prev=program_prefix ;;
1310 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1311 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1312 program_prefix=$ac_optarg ;;
1314 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1315 | --program-suf | --program-su | --program-s)
1316 ac_prev=program_suffix ;;
1317 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1318 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1319 program_suffix=$ac_optarg ;;
1321 -program-transform-name | --program-transform-name \
1322 | --program-transform-nam | --program-transform-na \
1323 | --program-transform-n | --program-transform- \
1324 | --program-transform | --program-transfor \
1325 | --program-transfo | --program-transf \
1326 | --program-trans | --program-tran \
1327 | --progr-tra | --program-tr | --program-t)
1328 ac_prev=program_transform_name ;;
1329 -program-transform-name=* | --program-transform-name=* \
1330 | --program-transform-nam=* | --program-transform-na=* \
1331 | --program-transform-n=* | --program-transform-=* \
1332 | --program-transform=* | --program-transfor=* \
1333 | --program-transfo=* | --program-transf=* \
1334 | --program-trans=* | --program-tran=* \
1335 | --progr-tra=* | --program-tr=* | --program-t=*)
1336 program_transform_name=$ac_optarg ;;
1338 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1340 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1341 pdfdir=$ac_optarg ;;
1343 -psdir | --psdir | --psdi | --psd | --ps)
1345 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1348 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1349 | -silent | --silent | --silen | --sile | --sil)
1352 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1354 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1356 sbindir=$ac_optarg ;;
1358 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1359 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1360 | --sharedst | --shareds | --shared | --share | --shar \
1362 ac_prev=sharedstatedir ;;
1363 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1364 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1365 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1367 sharedstatedir=$ac_optarg ;;
1369 -site | --site | --sit)
1371 -site=* | --site=* | --sit=*)
1374 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1376 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1377 srcdir=$ac_optarg ;;
1379 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1380 | --syscon | --sysco | --sysc | --sys | --sy)
1381 ac_prev=sysconfdir ;;
1382 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1383 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1384 sysconfdir=$ac_optarg ;;
1386 -target | --target | --targe | --targ | --tar | --ta | --t)
1387 ac_prev=target_alias ;;
1388 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1389 target_alias=$ac_optarg ;;
1391 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1394 -version | --version | --versio | --versi | --vers | -V)
1395 ac_init_version=: ;;
1398 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1399 # Reject names that are not valid shell variable names.
1400 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1401 as_fn_error $? "invalid package name: $ac_useropt"
1402 ac_useropt_orig=$ac_useropt
1403 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1404 case $ac_user_opts in
1408 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1409 ac_unrecognized_sep=', ';;
1411 eval with_$ac_useropt=\$ac_optarg ;;
1413 -without-* | --without-*)
1414 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1415 # Reject names that are not valid shell variable names.
1416 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1417 as_fn_error $? "invalid package name: $ac_useropt"
1418 ac_useropt_orig=$ac_useropt
1419 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1420 case $ac_user_opts in
1424 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1425 ac_unrecognized_sep=', ';;
1427 eval with_$ac_useropt=no ;;
1430 # Obsolete; use --with-x.
1433 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1434 | --x-incl | --x-inc | --x-in | --x-i)
1435 ac_prev=x_includes ;;
1436 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1437 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1438 x_includes=$ac_optarg ;;
1440 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1441 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1442 ac_prev=x_libraries ;;
1443 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1444 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1445 x_libraries=$ac_optarg ;;
1447 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1448 Try \`$0 --help' for more information"
1452 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1453 # Reject names that are not valid shell variable names.
1454 case $ac_envvar in #(
1455 '' | [0-9]* | *[!_$as_cr_alnum]* )
1456 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1458 eval $ac_envvar=\$ac_optarg
1459 export $ac_envvar ;;
1462 # FIXME: should be removed in autoconf 3.0.
1463 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1464 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1465 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1466 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1472 if test -n "$ac_prev"; then
1473 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1474 as_fn_error $? "missing argument to $ac_option"
1477 if test -n "$ac_unrecognized_opts"; then
1478 case $enable_option_checking in
1480 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1481 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1485 # Check all directory arguments for consistency.
1486 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1487 datadir sysconfdir sharedstatedir localstatedir includedir \
1488 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1489 libdir localedir mandir
1491 eval ac_val=\$$ac_var
1492 # Remove trailing slashes.
1495 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1496 eval $ac_var=\$ac_val;;
1498 # Be sure to have absolute directory names.
1500 [\\/$]* | ?:[\\/]* ) continue;;
1501 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1503 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1506 # There might be people who depend on the old broken behavior: `$host'
1507 # used to hold the argument of --host etc.
1508 # FIXME: To remove some day.
1511 target=$target_alias
1513 # FIXME: To remove some day.
1514 if test "x$host_alias" != x; then
1515 if test "x$build_alias" = x; then
1516 cross_compiling=maybe
1517 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1518 If a cross compiler is detected then cross compile mode will be used" >&2
1519 elif test "x$build_alias" != "x$host_alias"; then
1525 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1527 test "$silent" = yes && exec 6>/dev/null
1530 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1531 ac_ls_di=`ls -di .` &&
1532 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1533 as_fn_error $? "working directory cannot be determined"
1534 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1535 as_fn_error $? "pwd does not report name of working directory"
1538 # Find the source files, if location was not specified.
1539 if test -z "$srcdir"; then
1540 ac_srcdir_defaulted=yes
1541 # Try the directory containing this script, then the parent directory.
1542 ac_confdir=`$as_dirname -- "$as_myself" ||
1543 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1544 X"$as_myself" : 'X\(//\)[^/]' \| \
1545 X"$as_myself" : 'X\(//\)$' \| \
1546 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1547 $as_echo X"$as_myself" |
1548 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1566 if test ! -r "$srcdir/$ac_unique_file"; then
1570 ac_srcdir_defaulted=no
1572 if test ! -r "$srcdir/$ac_unique_file"; then
1573 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1574 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1576 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1578 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1580 # When building in place, set srcdir=.
1581 if test "$ac_abs_confdir" = "$ac_pwd"; then
1584 # Remove unnecessary trailing slashes from srcdir.
1585 # Double slashes in file names in object file debugging info
1586 # mess up M-x gdb in Emacs.
1588 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1590 for ac_var in $ac_precious_vars; do
1591 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1592 eval ac_env_${ac_var}_value=\$${ac_var}
1593 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1594 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1598 # Report the --help message.
1600 if test "$ac_init_help" = "long"; then
1601 # Omit some internal or obsolete options to make the list less imposing.
1602 # This message is too long to be a string in the A/UX 3.1 sh.
1604 \`configure' configures GStreamer Ugly Plug-ins 0.10.19 to adapt to many kinds of systems.
1606 Usage: $0 [OPTION]... [VAR=VALUE]...
1608 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1609 VAR=VALUE. See below for descriptions of some of the useful variables.
1611 Defaults for the options are specified in brackets.
1614 -h, --help display this help and exit
1615 --help=short display options specific to this package
1616 --help=recursive display the short help of all the included packages
1617 -V, --version display version information and exit
1618 -q, --quiet, --silent do not print \`checking ...' messages
1619 --cache-file=FILE cache test results in FILE [disabled]
1620 -C, --config-cache alias for \`--cache-file=config.cache'
1621 -n, --no-create do not create output files
1622 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1624 Installation directories:
1625 --prefix=PREFIX install architecture-independent files in PREFIX
1626 [$ac_default_prefix]
1627 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1630 By default, \`make install' will install all the files in
1631 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1632 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1633 for instance \`--prefix=\$HOME'.
1635 For better control, use the options below.
1637 Fine tuning of the installation directories:
1638 --bindir=DIR user executables [EPREFIX/bin]
1639 --sbindir=DIR system admin executables [EPREFIX/sbin]
1640 --libexecdir=DIR program executables [EPREFIX/libexec]
1641 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1642 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1643 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1644 --libdir=DIR object code libraries [EPREFIX/lib]
1645 --includedir=DIR C header files [PREFIX/include]
1646 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1647 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1648 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1649 --infodir=DIR info documentation [DATAROOTDIR/info]
1650 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1651 --mandir=DIR man documentation [DATAROOTDIR/man]
1652 --docdir=DIR documentation root
1653 [DATAROOTDIR/doc/gst-plugins-ugly]
1654 --htmldir=DIR html documentation [DOCDIR]
1655 --dvidir=DIR dvi documentation [DOCDIR]
1656 --pdfdir=DIR pdf documentation [DOCDIR]
1657 --psdir=DIR ps documentation [DOCDIR]
1663 --program-prefix=PREFIX prepend PREFIX to installed program names
1664 --program-suffix=SUFFIX append SUFFIX to installed program names
1665 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1668 --build=BUILD configure for building on BUILD [guessed]
1669 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1673 if test -n "$ac_init_help"; then
1674 case $ac_init_help in
1675 short | recursive ) echo "Configuration of GStreamer Ugly Plug-ins 0.10.19:";;
1680 --disable-option-checking ignore unrecognized --enable/--with options
1681 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1682 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1683 --enable-maintainer-mode enable make rules and dependencies not useful
1684 (and sometimes confusing) to the casual installer
1685 --enable-silent-rules less verbose build output (undo: `make V=1')
1686 --disable-silent-rules verbose build output (undo: `make V=0')
1687 --enable-shared[=PKGS] build shared libraries [default=yes]
1688 --enable-static[=PKGS] build static libraries [default=yes]
1689 --enable-fast-install[=PKGS]
1690 optimize for fast installation [default=yes]
1691 --disable-dependency-tracking speeds up one-time build
1692 --enable-dependency-tracking do not reject slow dependency extractors
1693 --disable-libtool-lock avoid locking (might break parallel builds)
1694 --disable-nls do not use Native Language Support
1695 --disable-rpath do not hardcode runtime library paths
1696 --disable-debug disable addition of -g debugging info
1697 --enable-profiling adds -pg to compiler commandline, for profiling
1698 --disable-valgrind disable run-time valgrind detection
1699 --enable-gcov compile with coverage profiling instrumentation (gcc
1701 --disable-examples disable building examples
1702 --disable-external disable building of plug-ins with external deps
1703 --enable-experimental enable building of experimental plug-ins
1704 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1705 --enable-gobject-cast-checks=[no/auto/yes]
1706 Enable GObject cast checks
1707 --enable-glib-asserts=[no/auto/yes]
1708 Enable GLib assertion
1709 --enable-orc use Orc if installed
1710 --disable-asfdemux disable dependency-less asfdemux plugin
1711 --disable-dvdlpcmdec disable dependency-less dvdlpcmdec plugin
1712 --disable-dvdsub disable dependency-less dvdsub plugin
1713 --disable-iec958 disable dependency-less iec958 plugin
1714 --disable-mpegaudioparse
1715 disable dependency-less mpegaudioparse plugin
1716 --disable-mpegstream disable dependency-less mpegstream plugin
1717 --disable-realmedia disable dependency-less realmedia plugin
1718 --disable-synaesthesia disable dependency-less synaesthesia plugin
1719 --disable-a52dec disable a52dec: a52dec
1720 --disable-amrnb disable amrnb library: amrnb
1721 --disable-amrwb disable amrwb library: amrwbdec
1722 --disable-cdio disable cdio library: cdio
1723 --disable-dvdread disable dvdread library: dvdreadsrc
1724 --disable-lame disable lame mp3 encoder library: lame
1725 --disable-mad disable mad mp3 decoder: mad
1726 --disable-mpeg2dec disable mpeg2dec: mpeg2dec
1727 --disable-sidplay disable libsidplay: sid
1728 --disable-twolame disable twolame: twolame
1729 --disable-x264 disable x264 plug-in: x264
1732 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1733 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1734 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1736 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1737 --with-sysroot=DIR Search for dependent libraries within DIR
1738 (or the compiler's sysroot if not specified).
1739 --with-autoconf use a different autoconf for regeneration of
1741 --with-autoheader use a different autoheader for regeneration of
1743 --with-automake use a different automake for regeneration of
1745 --with-aclocal use a different aclocal for regeneration of
1747 --with-gnu-ld assume the C compiler uses GNU ld default=no
1748 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1749 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1750 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1751 --without-libintl-prefix don't search for libintl in includedir and libdir
1752 --with-pkg-config-path colon-separated list of pkg-config(1) dirs
1753 --with-package-name specify package name to use in plugins
1754 --with-package-origin specify package origin URL to use in plugins
1755 --with-plugins comma-separated list of dependencyless plug-ins to
1757 --with-html-dir=PATH path to installed docs
1758 --with-default-audiosink
1759 specify default audio sink
1760 --with-default-audiosrc specify default audio source
1761 --with-default-videosink
1762 specify default video sink
1763 --with-default-videosrc specify default video source
1764 --with-default-visualizer
1765 specify default visualizer
1766 --with-a52dec-prefix=PFX
1767 prefix where a52dec is installed (optional)
1769 Some influential environment variables:
1770 CC C compiler command
1771 CFLAGS C compiler flags
1772 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1773 nonstandard directory <lib dir>
1774 LIBS libraries to pass to the linker, e.g. -l<library>
1775 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1776 you have headers in a nonstandard directory <include dir>
1778 PKG_CONFIG path to pkg-config utility
1780 C compiler flags for VALGRIND, overriding pkg-config
1782 linker flags for VALGRIND, overriding pkg-config
1783 CXX C++ compiler command
1784 CXXFLAGS C++ compiler flags
1785 CXXCPP C++ preprocessor
1786 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1787 GLIB_LIBS linker flags for GLIB, overriding pkg-config
1788 ORC_CFLAGS C compiler flags for ORC, overriding pkg-config
1789 ORC_LIBS linker flags for ORC, overriding pkg-config
1790 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1791 GST_LIBS linker flags for GST, overriding pkg-config
1793 C compiler flags for GST_BASE, overriding pkg-config
1795 linker flags for GST_BASE, overriding pkg-config
1797 C compiler flags for GST_CHECK, overriding pkg-config
1799 linker flags for GST_CHECK, overriding pkg-config
1800 GST_PLUGINS_BASE_CFLAGS
1801 C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
1802 GST_PLUGINS_BASE_LIBS
1803 linker flags for GST_PLUGINS_BASE, overriding pkg-config
1805 C compiler flags for AMRNB, overriding pkg-config
1806 AMRNB_LIBS linker flags for AMRNB, overriding pkg-config
1808 C compiler flags for AMRWB, overriding pkg-config
1809 AMRWB_LIBS linker flags for AMRWB, overriding pkg-config
1810 CDIO_CFLAGS C compiler flags for CDIO, overriding pkg-config
1811 CDIO_LIBS linker flags for CDIO, overriding pkg-config
1812 MAD_CFLAGS C compiler flags for MAD, overriding pkg-config
1813 MAD_LIBS linker flags for MAD, overriding pkg-config
1815 C compiler flags for MPEG2DEC, overriding pkg-config
1817 linker flags for MPEG2DEC, overriding pkg-config
1819 C compiler flags for TWOLAME, overriding pkg-config
1821 linker flags for TWOLAME, overriding pkg-config
1822 X264_CFLAGS C compiler flags for X264, overriding pkg-config
1823 X264_LIBS linker flags for X264, overriding pkg-config
1825 Use these variables to override the choices made by `configure' or to help
1826 it to find libraries and programs with nonstandard names/locations.
1828 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
1833 if test "$ac_init_help" = "recursive"; then
1834 # If there are subdirs, report their specific --help.
1835 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1836 test -d "$ac_dir" ||
1837 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1842 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1844 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1845 # A ".." for each directory in $ac_dir_suffix.
1846 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1847 case $ac_top_builddir_sub in
1848 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1849 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1852 ac_abs_top_builddir=$ac_pwd
1853 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1854 # for backward compatibility:
1855 ac_top_builddir=$ac_top_build_prefix
1858 .) # We are building in place.
1860 ac_top_srcdir=$ac_top_builddir_sub
1861 ac_abs_top_srcdir=$ac_pwd ;;
1862 [\\/]* | ?:[\\/]* ) # Absolute name.
1863 ac_srcdir=$srcdir$ac_dir_suffix;
1864 ac_top_srcdir=$srcdir
1865 ac_abs_top_srcdir=$srcdir ;;
1867 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1868 ac_top_srcdir=$ac_top_build_prefix$srcdir
1869 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1871 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1873 cd "$ac_dir" || { ac_status=$?; continue; }
1874 # Check for guested configure.
1875 if test -f "$ac_srcdir/configure.gnu"; then
1877 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1878 elif test -f "$ac_srcdir/configure"; then
1880 $SHELL "$ac_srcdir/configure" --help=recursive
1882 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1884 cd "$ac_pwd" || { ac_status=$?; break; }
1888 test -n "$ac_init_help" && exit $ac_status
1889 if $ac_init_version; then
1891 GStreamer Ugly Plug-ins configure 0.10.19
1892 generated by GNU Autoconf 2.68
1894 Copyright (C) 2010 Free Software Foundation, Inc.
1895 This configure script is free software; the Free Software Foundation
1896 gives unlimited permission to copy, distribute and modify it.
1901 ## ------------------------ ##
1902 ## Autoconf initialization. ##
1903 ## ------------------------ ##
1905 # ac_fn_c_try_compile LINENO
1906 # --------------------------
1907 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1908 ac_fn_c_try_compile ()
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 rm -f conftest.$ac_objext
1912 if { { ac_try="$ac_compile"
1914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1915 *) ac_try_echo=$ac_try;;
1917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1918 $as_echo "$ac_try_echo"; } >&5
1919 (eval "$ac_compile") 2>conftest.err
1921 if test -s conftest.err; then
1922 grep -v '^ *+' conftest.err >conftest.er1
1923 cat conftest.er1 >&5
1924 mv -f conftest.er1 conftest.err
1926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1927 test $ac_status = 0; } && {
1928 test -z "$ac_c_werror_flag" ||
1929 test ! -s conftest.err
1930 } && test -s conftest.$ac_objext; then :
1933 $as_echo "$as_me: failed program was:" >&5
1934 sed 's/^/| /' conftest.$ac_ext >&5
1938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939 as_fn_set_status $ac_retval
1941 } # ac_fn_c_try_compile
1943 # ac_fn_c_try_link LINENO
1944 # -----------------------
1945 # Try to link conftest.$ac_ext, and return whether this succeeded.
1948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949 rm -f conftest.$ac_objext conftest$ac_exeext
1950 if { { ac_try="$ac_link"
1952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1953 *) ac_try_echo=$ac_try;;
1955 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1956 $as_echo "$ac_try_echo"; } >&5
1957 (eval "$ac_link") 2>conftest.err
1959 if test -s conftest.err; then
1960 grep -v '^ *+' conftest.err >conftest.er1
1961 cat conftest.er1 >&5
1962 mv -f conftest.er1 conftest.err
1964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1965 test $ac_status = 0; } && {
1966 test -z "$ac_c_werror_flag" ||
1967 test ! -s conftest.err
1968 } && test -s conftest$ac_exeext && {
1969 test "$cross_compiling" = yes ||
1970 $as_test_x conftest$ac_exeext
1974 $as_echo "$as_me: failed program was:" >&5
1975 sed 's/^/| /' conftest.$ac_ext >&5
1979 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1980 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1981 # interfere with the next link command; also delete a directory that is
1982 # left behind by Apple's compiler. We do this before executing the actions.
1983 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1984 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1985 as_fn_set_status $ac_retval
1987 } # ac_fn_c_try_link
1989 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1990 # -------------------------------------------------------
1991 # Tests whether HEADER exists and can be compiled using the include files in
1992 # INCLUDES, setting the cache variable VAR accordingly.
1993 ac_fn_c_check_header_compile ()
1995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1997 $as_echo_n "checking for $2... " >&6; }
1998 if eval \${$3+:} false; then :
1999 $as_echo_n "(cached) " >&6
2001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */
2006 if ac_fn_c_try_compile "$LINENO"; then :
2011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2015 $as_echo "$ac_res" >&6; }
2016 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018 } # ac_fn_c_check_header_compile
2020 # ac_fn_c_try_cpp LINENO
2021 # ----------------------
2022 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2025 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026 if { { ac_try="$ac_cpp conftest.$ac_ext"
2028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2029 *) ac_try_echo=$ac_try;;
2031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2032 $as_echo "$ac_try_echo"; } >&5
2033 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2035 if test -s conftest.err; then
2036 grep -v '^ *+' conftest.err >conftest.er1
2037 cat conftest.er1 >&5
2038 mv -f conftest.er1 conftest.err
2040 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2041 test $ac_status = 0; } > conftest.i && {
2042 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2043 test ! -s conftest.err
2047 $as_echo "$as_me: failed program was:" >&5
2048 sed 's/^/| /' conftest.$ac_ext >&5
2052 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2053 as_fn_set_status $ac_retval
2057 # ac_fn_c_try_run LINENO
2058 # ----------------------
2059 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2060 # that executables *can* be run.
2063 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2064 if { { ac_try="$ac_link"
2066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2067 *) ac_try_echo=$ac_try;;
2069 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2070 $as_echo "$ac_try_echo"; } >&5
2071 (eval "$ac_link") 2>&5
2073 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2074 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2075 { { case "(($ac_try" in
2076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2077 *) ac_try_echo=$ac_try;;
2079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2080 $as_echo "$ac_try_echo"; } >&5
2081 (eval "$ac_try") 2>&5
2083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2084 test $ac_status = 0; }; }; then :
2087 $as_echo "$as_me: program exited with status $ac_status" >&5
2088 $as_echo "$as_me: failed program was:" >&5
2089 sed 's/^/| /' conftest.$ac_ext >&5
2091 ac_retval=$ac_status
2093 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2094 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2095 as_fn_set_status $ac_retval
2099 # ac_fn_c_check_func LINENO FUNC VAR
2100 # ----------------------------------
2101 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2102 ac_fn_c_check_func ()
2104 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2106 $as_echo_n "checking for $2... " >&6; }
2107 if eval \${$3+:} false; then :
2108 $as_echo_n "(cached) " >&6
2110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2111 /* end confdefs.h. */
2112 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2114 #define $2 innocuous_$2
2116 /* System header to define __stub macros and hopefully few prototypes,
2117 which can conflict with char $2 (); below.
2118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2119 <limits.h> exists even on freestanding compilers. */
2122 # include <limits.h>
2124 # include <assert.h>
2129 /* Override any GCC internal prototype to avoid an error.
2130 Use char because int might match the return type of a GCC
2131 builtin and then its argument prototype would still apply. */
2136 /* The GNU C library defines this for functions which it implements
2137 to always fail with ENOSYS. Some functions are actually named
2138 something starting with __ and the normal name is an alias. */
2139 #if defined __stub_$2 || defined __stub___$2
2151 if ac_fn_c_try_link "$LINENO"; then :
2156 rm -f core conftest.err conftest.$ac_objext \
2157 conftest$ac_exeext conftest.$ac_ext
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2161 $as_echo "$ac_res" >&6; }
2162 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2164 } # ac_fn_c_check_func
2166 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2167 # ---------------------------------------------
2168 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2170 ac_fn_c_check_decl ()
2172 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2173 as_decl_name=`echo $2|sed 's/ *(.*//'`
2174 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2176 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2177 if eval \${$3+:} false; then :
2178 $as_echo_n "(cached) " >&6
2180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2181 /* end confdefs.h. */
2186 #ifndef $as_decl_name
2188 (void) $as_decl_use;
2190 (void) $as_decl_name;
2198 if ac_fn_c_try_compile "$LINENO"; then :
2203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2207 $as_echo "$ac_res" >&6; }
2208 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2210 } # ac_fn_c_check_decl
2212 # ac_fn_cxx_try_compile LINENO
2213 # ----------------------------
2214 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2215 ac_fn_cxx_try_compile ()
2217 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2218 rm -f conftest.$ac_objext
2219 if { { ac_try="$ac_compile"
2221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2222 *) ac_try_echo=$ac_try;;
2224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2225 $as_echo "$ac_try_echo"; } >&5
2226 (eval "$ac_compile") 2>conftest.err
2228 if test -s conftest.err; then
2229 grep -v '^ *+' conftest.err >conftest.er1
2230 cat conftest.er1 >&5
2231 mv -f conftest.er1 conftest.err
2233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2234 test $ac_status = 0; } && {
2235 test -z "$ac_cxx_werror_flag" ||
2236 test ! -s conftest.err
2237 } && test -s conftest.$ac_objext; then :
2240 $as_echo "$as_me: failed program was:" >&5
2241 sed 's/^/| /' conftest.$ac_ext >&5
2245 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2246 as_fn_set_status $ac_retval
2248 } # ac_fn_cxx_try_compile
2250 # ac_fn_cxx_try_cpp LINENO
2251 # ------------------------
2252 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2253 ac_fn_cxx_try_cpp ()
2255 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2256 if { { ac_try="$ac_cpp conftest.$ac_ext"
2258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2259 *) ac_try_echo=$ac_try;;
2261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2262 $as_echo "$ac_try_echo"; } >&5
2263 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2265 if test -s conftest.err; then
2266 grep -v '^ *+' conftest.err >conftest.er1
2267 cat conftest.er1 >&5
2268 mv -f conftest.er1 conftest.err
2270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2271 test $ac_status = 0; } > conftest.i && {
2272 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2273 test ! -s conftest.err
2277 $as_echo "$as_me: failed program was:" >&5
2278 sed 's/^/| /' conftest.$ac_ext >&5
2282 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2283 as_fn_set_status $ac_retval
2285 } # ac_fn_cxx_try_cpp
2287 # ac_fn_cxx_try_link LINENO
2288 # -------------------------
2289 # Try to link conftest.$ac_ext, and return whether this succeeded.
2290 ac_fn_cxx_try_link ()
2292 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2293 rm -f conftest.$ac_objext conftest$ac_exeext
2294 if { { ac_try="$ac_link"
2296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2297 *) ac_try_echo=$ac_try;;
2299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2300 $as_echo "$ac_try_echo"; } >&5
2301 (eval "$ac_link") 2>conftest.err
2303 if test -s conftest.err; then
2304 grep -v '^ *+' conftest.err >conftest.er1
2305 cat conftest.er1 >&5
2306 mv -f conftest.er1 conftest.err
2308 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2309 test $ac_status = 0; } && {
2310 test -z "$ac_cxx_werror_flag" ||
2311 test ! -s conftest.err
2312 } && test -s conftest$ac_exeext && {
2313 test "$cross_compiling" = yes ||
2314 $as_test_x conftest$ac_exeext
2318 $as_echo "$as_me: failed program was:" >&5
2319 sed 's/^/| /' conftest.$ac_ext >&5
2323 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2324 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2325 # interfere with the next link command; also delete a directory that is
2326 # left behind by Apple's compiler. We do this before executing the actions.
2327 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2328 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2329 as_fn_set_status $ac_retval
2331 } # ac_fn_cxx_try_link
2333 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2334 # -------------------------------------------
2335 # Tests whether TYPE exists after having included INCLUDES, setting cache
2336 # variable VAR accordingly.
2337 ac_fn_c_check_type ()
2339 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2341 $as_echo_n "checking for $2... " >&6; }
2342 if eval \${$3+:} false; then :
2343 $as_echo_n "(cached) " >&6
2346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2347 /* end confdefs.h. */
2358 if ac_fn_c_try_compile "$LINENO"; then :
2359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2360 /* end confdefs.h. */
2371 if ac_fn_c_try_compile "$LINENO"; then :
2376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2382 $as_echo "$ac_res" >&6; }
2383 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2385 } # ac_fn_c_check_type
2387 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2388 # --------------------------------------------
2389 # Tries to find the compile-time value of EXPR in a program that includes
2390 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2392 ac_fn_c_compute_int ()
2394 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2395 if test "$cross_compiling" = yes; then
2396 # Depending upon the size, compute the lo and hi bounds.
2397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2398 /* end confdefs.h. */
2403 static int test_array [1 - 2 * !(($2) >= 0)];
2410 if ac_fn_c_try_compile "$LINENO"; then :
2413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2414 /* end confdefs.h. */
2419 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2426 if ac_fn_c_try_compile "$LINENO"; then :
2427 ac_hi=$ac_mid; break
2429 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2430 if test $ac_lo -le $ac_mid; then
2434 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2440 /* end confdefs.h. */
2445 static int test_array [1 - 2 * !(($2) < 0)];
2452 if ac_fn_c_try_compile "$LINENO"; then :
2455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2456 /* end confdefs.h. */
2461 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2468 if ac_fn_c_try_compile "$LINENO"; then :
2469 ac_lo=$ac_mid; break
2471 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2472 if test $ac_mid -le $ac_hi; then
2476 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2486 # Binary search between lo and hi bounds.
2487 while test "x$ac_lo" != "x$ac_hi"; do
2488 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2490 /* end confdefs.h. */
2495 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2502 if ac_fn_c_try_compile "$LINENO"; then :
2505 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2510 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2515 /* end confdefs.h. */
2517 static long int longval () { return $2; }
2518 static unsigned long int ulongval () { return $2; }
2525 FILE *f = fopen ("conftest.val", "w");
2530 long int i = longval ();
2533 fprintf (f, "%ld", i);
2537 unsigned long int i = ulongval ();
2540 fprintf (f, "%lu", i);
2542 /* Do not output a trailing newline, as this causes \r\n confusion
2543 on some platforms. */
2544 return ferror (f) || fclose (f) != 0;
2550 if ac_fn_c_try_run "$LINENO"; then :
2551 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2555 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2556 conftest.$ac_objext conftest.beam conftest.$ac_ext
2560 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2561 as_fn_set_status $ac_retval
2563 } # ac_fn_c_compute_int
2565 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2566 # -------------------------------------------------------
2567 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2568 # the include files in INCLUDES and setting the cache variable VAR
2570 ac_fn_c_check_header_mongrel ()
2572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2573 if eval \${$3+:} false; then :
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2575 $as_echo_n "checking for $2... " >&6; }
2576 if eval \${$3+:} false; then :
2577 $as_echo_n "(cached) " >&6
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2581 $as_echo "$ac_res" >&6; }
2583 # Is the header compilable?
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2585 $as_echo_n "checking $2 usability... " >&6; }
2586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2587 /* end confdefs.h. */
2591 if ac_fn_c_try_compile "$LINENO"; then :
2592 ac_header_compiler=yes
2594 ac_header_compiler=no
2596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2598 $as_echo "$ac_header_compiler" >&6; }
2600 # Is the header present?
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2602 $as_echo_n "checking $2 presence... " >&6; }
2603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2604 /* end confdefs.h. */
2607 if ac_fn_c_try_cpp "$LINENO"; then :
2608 ac_header_preproc=yes
2610 ac_header_preproc=no
2612 rm -f conftest.err conftest.i conftest.$ac_ext
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2614 $as_echo "$ac_header_preproc" >&6; }
2616 # So? What about this header?
2617 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2620 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2622 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2626 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2628 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2630 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2632 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2634 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2635 ( $as_echo "## ------------------------------------------------------------------------ ##
2636 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
2637 ## ------------------------------------------------------------------------ ##"
2638 ) | sed "s/^/$as_me: WARNING: /" >&2
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2642 $as_echo_n "checking for $2... " >&6; }
2643 if eval \${$3+:} false; then :
2644 $as_echo_n "(cached) " >&6
2646 eval "$3=\$ac_header_compiler"
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2650 $as_echo "$ac_res" >&6; }
2652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2654 } # ac_fn_c_check_header_mongrel
2656 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2657 # ---------------------------------------------------------
2658 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2659 # the include files in INCLUDES and setting the cache variable VAR
2661 ac_fn_cxx_check_header_mongrel ()
2663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2664 if eval \${$3+:} false; then :
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2666 $as_echo_n "checking for $2... " >&6; }
2667 if eval \${$3+:} false; then :
2668 $as_echo_n "(cached) " >&6
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2672 $as_echo "$ac_res" >&6; }
2674 # Is the header compilable?
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2676 $as_echo_n "checking $2 usability... " >&6; }
2677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h. */
2682 if ac_fn_cxx_try_compile "$LINENO"; then :
2683 ac_header_compiler=yes
2685 ac_header_compiler=no
2687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2689 $as_echo "$ac_header_compiler" >&6; }
2691 # Is the header present?
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2693 $as_echo_n "checking $2 presence... " >&6; }
2694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2695 /* end confdefs.h. */
2698 if ac_fn_cxx_try_cpp "$LINENO"; then :
2699 ac_header_preproc=yes
2701 ac_header_preproc=no
2703 rm -f conftest.err conftest.i conftest.$ac_ext
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2705 $as_echo "$ac_header_preproc" >&6; }
2707 # So? What about this header?
2708 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2711 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2713 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2717 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2719 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2721 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2723 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2725 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2726 ( $as_echo "## ------------------------------------------------------------------------ ##
2727 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
2728 ## ------------------------------------------------------------------------ ##"
2729 ) | sed "s/^/$as_me: WARNING: /" >&2
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2733 $as_echo_n "checking for $2... " >&6; }
2734 if eval \${$3+:} false; then :
2735 $as_echo_n "(cached) " >&6
2737 eval "$3=\$ac_header_compiler"
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2741 $as_echo "$ac_res" >&6; }
2743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2745 } # ac_fn_cxx_check_header_mongrel
2747 # ac_fn_cxx_try_run LINENO
2748 # ------------------------
2749 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2750 # that executables *can* be run.
2751 ac_fn_cxx_try_run ()
2753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2754 if { { ac_try="$ac_link"
2756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757 *) ac_try_echo=$ac_try;;
2759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2760 $as_echo "$ac_try_echo"; } >&5
2761 (eval "$ac_link") 2>&5
2763 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2764 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2765 { { case "(($ac_try" in
2766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2767 *) ac_try_echo=$ac_try;;
2769 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2770 $as_echo "$ac_try_echo"; } >&5
2771 (eval "$ac_try") 2>&5
2773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2774 test $ac_status = 0; }; }; then :
2777 $as_echo "$as_me: program exited with status $ac_status" >&5
2778 $as_echo "$as_me: failed program was:" >&5
2779 sed 's/^/| /' conftest.$ac_ext >&5
2781 ac_retval=$ac_status
2783 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2784 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2785 as_fn_set_status $ac_retval
2787 } # ac_fn_cxx_try_run
2788 cat >config.log <<_ACEOF
2789 This file contains any messages produced by compilers while
2790 running configure, to aid debugging if configure makes a mistake.
2792 It was created by GStreamer Ugly Plug-ins $as_me 0.10.19, which was
2793 generated by GNU Autoconf 2.68. Invocation command line was
2805 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2806 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2807 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2808 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2809 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2811 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2812 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2814 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2815 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2816 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2817 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2818 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2819 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2820 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir=.
2829 $as_echo "PATH: $as_dir"
2845 # Keep a trace of the command line.
2846 # Strip out --no-create and --no-recursion so they do not pile up.
2847 # Strip out --silent because we don't want to record it for future runs.
2848 # Also quote any args containing shell meta-characters.
2849 # Make two passes to allow for proper duplicate-argument suppression.
2853 ac_must_keep_next=false
2859 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2860 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2861 | -silent | --silent | --silen | --sile | --sil)
2864 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2867 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2869 as_fn_append ac_configure_args1 " '$ac_arg'"
2870 if test $ac_must_keep_next = true; then
2871 ac_must_keep_next=false # Got value, back to normal.
2874 *=* | --config-cache | -C | -disable-* | --disable-* \
2875 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2876 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2877 | -with-* | --with-* | -without-* | --without-* | --x)
2878 case "$ac_configure_args0 " in
2879 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2882 -* ) ac_must_keep_next=true ;;
2885 as_fn_append ac_configure_args " '$ac_arg'"
2890 { ac_configure_args0=; unset ac_configure_args0;}
2891 { ac_configure_args1=; unset ac_configure_args1;}
2893 # When interrupted or exit'd, cleanup temporary files, and complete
2894 # config.log. We remove comments because anyway the quotes in there
2895 # would cause problems or look ugly.
2896 # WARNING: Use '\'' to represent an apostrophe within the trap.
2897 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2898 trap 'exit_status=$?
2899 # Save into config.log some information that might help in debugging.
2903 $as_echo "## ---------------- ##
2904 ## Cache variables. ##
2905 ## ---------------- ##"
2907 # The following way of writing the cache mishandles newlines in values,
2909 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2910 eval ac_val=\$$ac_var
2914 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2915 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2918 _ | IFS | as_nl) ;; #(
2919 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2920 *) { eval $ac_var=; unset $ac_var;} ;;
2925 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2926 *${as_nl}ac_space=\ *)
2928 "s/'\''/'\''\\\\'\'''\''/g;
2929 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2932 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2939 $as_echo "## ----------------- ##
2940 ## Output variables. ##
2941 ## ----------------- ##"
2943 for ac_var in $ac_subst_vars
2945 eval ac_val=\$$ac_var
2947 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2949 $as_echo "$ac_var='\''$ac_val'\''"
2953 if test -n "$ac_subst_files"; then
2954 $as_echo "## ------------------- ##
2955 ## File substitutions. ##
2956 ## ------------------- ##"
2958 for ac_var in $ac_subst_files
2960 eval ac_val=\$$ac_var
2962 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2964 $as_echo "$ac_var='\''$ac_val'\''"
2969 if test -s confdefs.h; then
2970 $as_echo "## ----------- ##
2977 test "$ac_signal" != 0 &&
2978 $as_echo "$as_me: caught signal $ac_signal"
2979 $as_echo "$as_me: exit $exit_status"
2981 rm -f core *.core core.conftest.* &&
2982 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2985 for ac_signal in 1 2 13 15; do
2986 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2990 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2991 rm -f -r conftest* confdefs.h
2993 $as_echo "/* confdefs.h */" > confdefs.h
2995 # Predefined preprocessor variables.
2997 cat >>confdefs.h <<_ACEOF
2998 #define PACKAGE_NAME "$PACKAGE_NAME"
3001 cat >>confdefs.h <<_ACEOF
3002 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3005 cat >>confdefs.h <<_ACEOF
3006 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3009 cat >>confdefs.h <<_ACEOF
3010 #define PACKAGE_STRING "$PACKAGE_STRING"
3013 cat >>confdefs.h <<_ACEOF
3014 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3017 cat >>confdefs.h <<_ACEOF
3018 #define PACKAGE_URL "$PACKAGE_URL"
3022 # Let the site file select an alternate cache file if it wants to.
3023 # Prefer an explicitly selected file to automatically selected ones.
3026 if test -n "$CONFIG_SITE"; then
3027 # We do not want a PATH search for config.site.
3028 case $CONFIG_SITE in #((
3029 -*) ac_site_file1=./$CONFIG_SITE;;
3030 */*) ac_site_file1=$CONFIG_SITE;;
3031 *) ac_site_file1=./$CONFIG_SITE;;
3033 elif test "x$prefix" != xNONE; then
3034 ac_site_file1=$prefix/share/config.site
3035 ac_site_file2=$prefix/etc/config.site
3037 ac_site_file1=$ac_default_prefix/share/config.site
3038 ac_site_file2=$ac_default_prefix/etc/config.site
3040 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3042 test "x$ac_site_file" = xNONE && continue
3043 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3045 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3046 sed 's/^/| /' "$ac_site_file" >&5
3048 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3050 as_fn_error $? "failed to load site script $ac_site_file
3051 See \`config.log' for more details" "$LINENO" 5; }
3055 if test -r "$cache_file"; then
3056 # Some versions of bash will fail to source /dev/null (special files
3057 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3058 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3060 $as_echo "$as_me: loading cache $cache_file" >&6;}
3062 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3063 *) . "./$cache_file";;
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3068 $as_echo "$as_me: creating cache $cache_file" >&6;}
3072 gt_needs="$gt_needs "
3073 # Check that the precious variables saved in the cache have kept the same
3075 ac_cache_corrupted=false
3076 for ac_var in $ac_precious_vars; do
3077 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3078 eval ac_new_set=\$ac_env_${ac_var}_set
3079 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3080 eval ac_new_val=\$ac_env_${ac_var}_value
3081 case $ac_old_set,$ac_new_set in
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3084 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3085 ac_cache_corrupted=: ;;
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3088 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3089 ac_cache_corrupted=: ;;
3092 if test "x$ac_old_val" != "x$ac_new_val"; then
3093 # differences in whitespace do not lead to failure.
3094 ac_old_val_w=`echo x $ac_old_val`
3095 ac_new_val_w=`echo x $ac_new_val`
3096 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3098 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3099 ac_cache_corrupted=:
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3102 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3103 eval $ac_var=\$ac_old_val
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3106 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3108 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3111 # Pass precious variables to config.status.
3112 if test "$ac_new_set" = set; then
3114 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3115 *) ac_arg=$ac_var=$ac_new_val ;;
3117 case " $ac_configure_args " in
3118 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3119 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3123 if $ac_cache_corrupted; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3125 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3127 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3128 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3130 ## -------------------- ##
3131 ## Main body of script. ##
3132 ## -------------------- ##
3135 ac_cpp='$CPP $CPPFLAGS'
3136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3146 am__api_version='1.11'
3149 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3150 if test -f "$ac_dir/install-sh"; then
3152 ac_install_sh="$ac_aux_dir/install-sh -c"
3154 elif test -f "$ac_dir/install.sh"; then
3156 ac_install_sh="$ac_aux_dir/install.sh -c"
3158 elif test -f "$ac_dir/shtool"; then
3160 ac_install_sh="$ac_aux_dir/shtool install -c"
3164 if test -z "$ac_aux_dir"; then
3165 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3168 # These three variables are undocumented and unsupported,
3169 # and are intended to be withdrawn in a future Autoconf release.
3170 # They can cause serious problems if a builder's source tree is in a directory
3171 # whose full name contains unusual characters.
3172 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3173 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3174 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3177 # Find a good install program. We prefer a C program (faster),
3178 # so one script is as good as another. But avoid the broken or
3179 # incompatible versions:
3180 # SysV /etc/install, /usr/sbin/install
3181 # SunOS /usr/etc/install
3182 # IRIX /sbin/install
3184 # AmigaOS /C/install, which installs bootblocks on floppy discs
3185 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3186 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3187 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3188 # OS/2's system install, which has a completely different semantic
3189 # ./install, which can be erroneously created by make from ./install.sh.
3190 # Reject install programs that cannot install multiple files.
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3192 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3193 if test -z "$INSTALL"; then
3194 if ${ac_cv_path_install+:} false; then :
3195 $as_echo_n "(cached) " >&6
3197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201 test -z "$as_dir" && as_dir=.
3202 # Account for people who put trailing slashes in PATH elements.
3203 case $as_dir/ in #((
3204 ./ | .// | /[cC]/* | \
3205 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3206 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3209 # OSF1 and SCO ODT 3.0 have their own names for install.
3210 # Don't use installbsd from OSF since it installs stuff as root
3212 for ac_prog in ginstall scoinst install; do
3213 for ac_exec_ext in '' $ac_executable_extensions; do
3214 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3215 if test $ac_prog = install &&
3216 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3217 # AIX install. It has an incompatible calling convention.
3219 elif test $ac_prog = install &&
3220 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3221 # program-specific install script used by HP pwplus--don't use.
3224 rm -rf conftest.one conftest.two conftest.dir
3225 echo one > conftest.one
3226 echo two > conftest.two
3228 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3229 test -s conftest.one && test -s conftest.two &&
3230 test -s conftest.dir/conftest.one &&
3231 test -s conftest.dir/conftest.two
3233 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3246 rm -rf conftest.one conftest.two conftest.dir
3249 if test "${ac_cv_path_install+set}" = set; then
3250 INSTALL=$ac_cv_path_install
3252 # As a last resort, use the slow shell script. Don't cache a
3253 # value for INSTALL within a source directory, because that will
3254 # break other packages using the cache if that directory is
3255 # removed, or if the value is a relative name.
3256 INSTALL=$ac_install_sh
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3260 $as_echo "$INSTALL" >&6; }
3262 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3263 # It thinks the first close brace ends the variable substitution.
3264 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3266 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3268 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3271 $as_echo_n "checking whether build environment is sane... " >&6; }
3274 echo timestamp > conftest.file
3275 # Reject unsafe characters in $srcdir or the absolute working directory
3276 # name. Accept space and tab only in the latter.
3280 *[\\\"\#\$\&\'\`$am_lf]*)
3281 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3284 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3285 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3288 # Do `set' in a subshell so we don't clobber the current shell's
3289 # arguments. Must try -L first in case configure is actually a
3290 # symlink; some systems play weird games with the mod time of symlinks
3291 # (eg FreeBSD returns the mod time of the symlink's containing
3294 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3295 if test "$*" = "X"; then
3297 set X `ls -t "$srcdir/configure" conftest.file`
3300 if test "$*" != "X $srcdir/configure conftest.file" \
3301 && test "$*" != "X conftest.file $srcdir/configure"; then
3303 # If neither matched, then we have a broken ls. This can happen
3304 # if, for instance, CONFIG_SHELL is bash and it inherits a
3305 # broken ls alias from the environment. This has actually
3306 # happened. Such a system could not be considered "sane".
3307 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3308 alias in your environment" "$LINENO" 5
3311 test "$2" = conftest.file
3317 as_fn_error $? "newly created file is older than distributed files!
3318 Check your system clock" "$LINENO" 5
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3321 $as_echo "yes" >&6; }
3322 test "$program_prefix" != NONE &&
3323 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3324 # Use a double $ so make ignores it.
3325 test "$program_suffix" != NONE &&
3326 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3327 # Double any \ or $.
3328 # By default was `s,x,x', remove it if useless.
3329 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3330 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3332 # expand $ac_aux_dir to an absolute path
3333 am_aux_dir=`cd $ac_aux_dir && pwd`
3335 if test x"${MISSING+set}" != xset; then
3338 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3340 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3343 # Use eval to expand $SHELL
3344 if eval "$MISSING --run true"; then
3345 am_missing_run="$MISSING --run "
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3349 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3352 if test x"${install_sh}" != xset; then
3355 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3357 install_sh="\${SHELL} $am_aux_dir/install-sh"
3361 # Installed binaries are usually stripped using `strip' when the user
3362 # run `make install-strip'. However `strip' might not be the right
3363 # tool to use in cross-compilation environments, therefore Automake
3364 # will honor the `STRIP' environment variable to overrule this program.
3365 if test "$cross_compiling" != no; then
3366 if test -n "$ac_tool_prefix"; then
3367 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3368 set dummy ${ac_tool_prefix}strip; ac_word=$2
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3370 $as_echo_n "checking for $ac_word... " >&6; }
3371 if ${ac_cv_prog_STRIP+:} false; then :
3372 $as_echo_n "(cached) " >&6
3374 if test -n "$STRIP"; then
3375 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3381 test -z "$as_dir" && as_dir=.
3382 for ac_exec_ext in '' $ac_executable_extensions; do
3383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3384 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3394 STRIP=$ac_cv_prog_STRIP
3395 if test -n "$STRIP"; then
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3397 $as_echo "$STRIP" >&6; }
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3400 $as_echo "no" >&6; }
3405 if test -z "$ac_cv_prog_STRIP"; then
3407 # Extract the first word of "strip", so it can be a program name with args.
3408 set dummy strip; ac_word=$2
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3410 $as_echo_n "checking for $ac_word... " >&6; }
3411 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3412 $as_echo_n "(cached) " >&6
3414 if test -n "$ac_ct_STRIP"; then
3415 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 test -z "$as_dir" && as_dir=.
3422 for ac_exec_ext in '' $ac_executable_extensions; do
3423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3424 ac_cv_prog_ac_ct_STRIP="strip"
3425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3434 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3435 if test -n "$ac_ct_STRIP"; then
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3437 $as_echo "$ac_ct_STRIP" >&6; }
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3440 $as_echo "no" >&6; }
3443 if test "x$ac_ct_STRIP" = x; then
3446 case $cross_compiling:$ac_tool_warned in
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3450 ac_tool_warned=yes ;;
3455 STRIP="$ac_cv_prog_STRIP"
3459 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3462 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3463 if test -z "$MKDIR_P"; then
3464 if ${ac_cv_path_mkdir+:} false; then :
3465 $as_echo_n "(cached) " >&6
3467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3468 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3471 test -z "$as_dir" && as_dir=.
3472 for ac_prog in mkdir gmkdir; do
3473 for ac_exec_ext in '' $ac_executable_extensions; do
3474 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3475 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3476 'mkdir (GNU coreutils) '* | \
3477 'mkdir (coreutils) '* | \
3478 'mkdir (fileutils) '4.1*)
3479 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3489 test -d ./--version && rmdir ./--version
3490 if test "${ac_cv_path_mkdir+set}" = set; then
3491 MKDIR_P="$ac_cv_path_mkdir -p"
3493 # As a last resort, use the slow shell script. Don't cache a
3494 # value for MKDIR_P within a source directory, because that will
3495 # break other packages using the cache if that directory is
3496 # removed, or if the value is a relative name.
3497 MKDIR_P="$ac_install_sh -d"
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3501 $as_echo "$MKDIR_P" >&6; }
3505 [\\/$]* | ?:[\\/]*) ;;
3506 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3509 for ac_prog in gawk mawk nawk awk
3511 # Extract the first word of "$ac_prog", so it can be a program name with args.
3512 set dummy $ac_prog; ac_word=$2
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3514 $as_echo_n "checking for $ac_word... " >&6; }
3515 if ${ac_cv_prog_AWK+:} false; then :
3516 $as_echo_n "(cached) " >&6
3518 if test -n "$AWK"; then
3519 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3525 test -z "$as_dir" && as_dir=.
3526 for ac_exec_ext in '' $ac_executable_extensions; do
3527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3528 ac_cv_prog_AWK="$ac_prog"
3529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3539 if test -n "$AWK"; then
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3541 $as_echo "$AWK" >&6; }
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3544 $as_echo "no" >&6; }
3548 test -n "$AWK" && break
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3552 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3554 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3555 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3556 $as_echo_n "(cached) " >&6
3558 cat >conftest.make <<\_ACEOF
3561 @echo '@@@%%%=$(MAKE)=@@@%%%'
3563 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3564 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3566 eval ac_cv_prog_make_${ac_make}_set=yes;;
3568 eval ac_cv_prog_make_${ac_make}_set=no;;
3572 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3574 $as_echo "yes" >&6; }
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3579 SET_MAKE="MAKE=${MAKE-make}"
3582 rm -rf .tst 2>/dev/null
3583 mkdir .tst 2>/dev/null
3584 if test -d .tst; then
3589 rmdir .tst 2>/dev/null
3591 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3592 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3593 # is not polluted with repeated "-I."
3594 am__isrc=' -I$(srcdir)'
3595 # test to see if srcdir already configured
3596 if test -f $srcdir/config.status; then
3597 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3601 # test whether we have cygpath
3602 if test -z "$CYGPATH_W"; then
3603 if (cygpath --version) >/dev/null 2>/dev/null; then
3604 CYGPATH_W='cygpath -w'
3611 # Define the identity of the package.
3612 PACKAGE='gst-plugins-ugly'
3616 cat >>confdefs.h <<_ACEOF
3617 #define PACKAGE "$PACKAGE"
3621 cat >>confdefs.h <<_ACEOF
3622 #define VERSION "$VERSION"
3625 # Some tools Automake needs.
3627 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3630 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3633 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3636 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3639 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3641 # We need awk for the "check" target. The system "awk" is bad on
3643 # Always define AMTAR for backward compatibility. Yes, it's still used
3644 # in the wild :-( We should find a proper way to deprecate it ...
3647 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3655 PACKAGE_VERSION_MAJOR=$(echo 0.10.19 | cut -d'.' -f1)
3656 PACKAGE_VERSION_MINOR=$(echo 0.10.19 | cut -d'.' -f2)
3657 PACKAGE_VERSION_MICRO=$(echo 0.10.19 | cut -d'.' -f3)
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
3666 $as_echo_n "checking nano version... " >&6; }
3668 NANO=$(echo 0.10.19 | cut -d'.' -f4)
3670 if test x"$NANO" = x || test "x$NANO" = "x0" ; then
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
3672 $as_echo "0 (release)" >&6; }
3674 PACKAGE_VERSION_RELEASE=1
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
3678 $as_echo "$NANO" >&6; }
3679 PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
3680 if test "x$NANO" != "x1" ; then
3686 PACKAGE_VERSION_NANO=$NANO
3693 ac_config_headers="$ac_config_headers config.h"
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3698 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3699 # Check whether --enable-maintainer-mode was given.
3700 if test "${enable_maintainer_mode+set}" = set; then :
3701 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3703 USE_MAINTAINER_MODE=no
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3707 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3708 if test $USE_MAINTAINER_MODE = yes; then
3709 MAINTAINER_MODE_TRUE=
3710 MAINTAINER_MODE_FALSE='#'
3712 MAINTAINER_MODE_TRUE='#'
3713 MAINTAINER_MODE_FALSE=
3716 MAINT=$MAINTAINER_MODE_TRUE
3720 # Make sure we can run config.sub.
3721 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3722 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3725 $as_echo_n "checking build system type... " >&6; }
3726 if ${ac_cv_build+:} false; then :
3727 $as_echo_n "(cached) " >&6
3729 ac_build_alias=$build_alias
3730 test "x$ac_build_alias" = x &&
3731 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3732 test "x$ac_build_alias" = x &&
3733 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3734 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3735 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3739 $as_echo "$ac_cv_build" >&6; }
3740 case $ac_cv_build in
3742 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3745 ac_save_IFS=$IFS; IFS='-'
3751 # Remember, the first character of IFS is used to create $*,
3752 # except with old shells:
3755 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3759 $as_echo_n "checking host system type... " >&6; }
3760 if ${ac_cv_host+:} false; then :
3761 $as_echo_n "(cached) " >&6
3763 if test "x$host_alias" = x; then
3764 ac_cv_host=$ac_cv_build
3766 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3767 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3772 $as_echo "$ac_cv_host" >&6; }
3775 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3778 ac_save_IFS=$IFS; IFS='-'
3784 # Remember, the first character of IFS is used to create $*,
3785 # except with old shells:
3788 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3792 # Check whether --enable-silent-rules was given.
3793 if test "${enable_silent_rules+set}" = set; then :
3794 enableval=$enable_silent_rules;
3797 case $enable_silent_rules in
3798 yes) AM_DEFAULT_VERBOSITY=0;;
3799 no) AM_DEFAULT_VERBOSITY=1;;
3800 *) AM_DEFAULT_VERBOSITY=0;;
3802 am_make=${MAKE-make}
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3804 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3805 if ${am_cv_make_support_nested_variables+:} false; then :
3806 $as_echo_n "(cached) " >&6
3808 if $as_echo 'TRUE=$(BAR$(V))
3814 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3815 am_cv_make_support_nested_variables=yes
3817 am_cv_make_support_nested_variables=no
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3821 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3822 if test $am_cv_make_support_nested_variables = yes; then
3824 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3826 AM_V=$AM_DEFAULT_VERBOSITY
3827 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3832 GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
3837 enable_win32_dll=yes
3840 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3841 if test -n "$ac_tool_prefix"; then
3842 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3843 set dummy ${ac_tool_prefix}as; ac_word=$2
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3845 $as_echo_n "checking for $ac_word... " >&6; }
3846 if ${ac_cv_prog_AS+:} false; then :
3847 $as_echo_n "(cached) " >&6
3849 if test -n "$AS"; then
3850 ac_cv_prog_AS="$AS" # Let the user override the test.
3852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3856 test -z "$as_dir" && as_dir=.
3857 for ac_exec_ext in '' $ac_executable_extensions; do
3858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3859 ac_cv_prog_AS="${ac_tool_prefix}as"
3860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3870 if test -n "$AS"; then
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3872 $as_echo "$AS" >&6; }
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3875 $as_echo "no" >&6; }
3880 if test -z "$ac_cv_prog_AS"; then
3882 # Extract the first word of "as", so it can be a program name with args.
3883 set dummy as; ac_word=$2
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3885 $as_echo_n "checking for $ac_word... " >&6; }
3886 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3887 $as_echo_n "(cached) " >&6
3889 if test -n "$ac_ct_AS"; then
3890 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3896 test -z "$as_dir" && as_dir=.
3897 for ac_exec_ext in '' $ac_executable_extensions; do
3898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3899 ac_cv_prog_ac_ct_AS="as"
3900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3909 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3910 if test -n "$ac_ct_AS"; then
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3912 $as_echo "$ac_ct_AS" >&6; }
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3915 $as_echo "no" >&6; }
3918 if test "x$ac_ct_AS" = x; then
3921 case $cross_compiling:$ac_tool_warned in
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3925 ac_tool_warned=yes ;;
3933 if test -n "$ac_tool_prefix"; then
3934 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3935 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937 $as_echo_n "checking for $ac_word... " >&6; }
3938 if ${ac_cv_prog_DLLTOOL+:} false; then :
3939 $as_echo_n "(cached) " >&6
3941 if test -n "$DLLTOOL"; then
3942 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3948 test -z "$as_dir" && as_dir=.
3949 for ac_exec_ext in '' $ac_executable_extensions; do
3950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3951 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3961 DLLTOOL=$ac_cv_prog_DLLTOOL
3962 if test -n "$DLLTOOL"; then
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3964 $as_echo "$DLLTOOL" >&6; }
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3972 if test -z "$ac_cv_prog_DLLTOOL"; then
3973 ac_ct_DLLTOOL=$DLLTOOL
3974 # Extract the first word of "dlltool", so it can be a program name with args.
3975 set dummy dlltool; ac_word=$2
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3977 $as_echo_n "checking for $ac_word... " >&6; }
3978 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3979 $as_echo_n "(cached) " >&6
3981 if test -n "$ac_ct_DLLTOOL"; then
3982 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988 test -z "$as_dir" && as_dir=.
3989 for ac_exec_ext in '' $ac_executable_extensions; do
3990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3991 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4001 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4002 if test -n "$ac_ct_DLLTOOL"; then
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4004 $as_echo "$ac_ct_DLLTOOL" >&6; }
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4010 if test "x$ac_ct_DLLTOOL" = x; then
4013 case $cross_compiling:$ac_tool_warned in
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4017 ac_tool_warned=yes ;;
4019 DLLTOOL=$ac_ct_DLLTOOL
4022 DLLTOOL="$ac_cv_prog_DLLTOOL"
4025 if test -n "$ac_tool_prefix"; then
4026 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4027 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4029 $as_echo_n "checking for $ac_word... " >&6; }
4030 if ${ac_cv_prog_OBJDUMP+:} false; then :
4031 $as_echo_n "(cached) " >&6
4033 if test -n "$OBJDUMP"; then
4034 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4040 test -z "$as_dir" && as_dir=.
4041 for ac_exec_ext in '' $ac_executable_extensions; do
4042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4043 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4053 OBJDUMP=$ac_cv_prog_OBJDUMP
4054 if test -n "$OBJDUMP"; then
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4056 $as_echo "$OBJDUMP" >&6; }
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4059 $as_echo "no" >&6; }
4064 if test -z "$ac_cv_prog_OBJDUMP"; then
4065 ac_ct_OBJDUMP=$OBJDUMP
4066 # Extract the first word of "objdump", so it can be a program name with args.
4067 set dummy objdump; ac_word=$2
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4069 $as_echo_n "checking for $ac_word... " >&6; }
4070 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4071 $as_echo_n "(cached) " >&6
4073 if test -n "$ac_ct_OBJDUMP"; then
4074 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4080 test -z "$as_dir" && as_dir=.
4081 for ac_exec_ext in '' $ac_executable_extensions; do
4082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4083 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4093 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4094 if test -n "$ac_ct_OBJDUMP"; then
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4096 $as_echo "$ac_ct_OBJDUMP" >&6; }
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4099 $as_echo "no" >&6; }
4102 if test "x$ac_ct_OBJDUMP" = x; then
4105 case $cross_compiling:$ac_tool_warned in
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4108 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4109 ac_tool_warned=yes ;;
4111 OBJDUMP=$ac_ct_OBJDUMP
4114 OBJDUMP="$ac_cv_prog_OBJDUMP"
4120 test -z "$AS" && AS=as
4126 test -z "$DLLTOOL" && DLLTOOL=dlltool
4132 test -z "$OBJDUMP" && OBJDUMP=objdump
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4143 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4148 macro_version='2.4.2'
4149 macro_revision='1.3337'
4163 ltmain="$ac_aux_dir/ltmain.sh"
4165 # Backslashify metacharacters that are still active within
4166 # double-quoted strings.
4167 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4169 # Same as above, but do not quote variable references.
4170 double_quote_subst='s/\(["`\\]\)/\\\1/g'
4172 # Sed substitution to delay expansion of an escaped shell variable in a
4173 # double_quote_subst'ed string.
4174 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4176 # Sed substitution to delay expansion of an escaped single quote.
4177 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4179 # Sed substitution to avoid accidental globbing in evaled expressions
4180 no_glob_subst='s/\*/\\\*/g'
4182 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4183 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4184 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4187 $as_echo_n "checking how to print strings... " >&6; }
4188 # Test print first, because it will be a builtin if present.
4189 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4190 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4192 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4195 # Use this function as a fallback that always works.
4196 func_fallback_echo ()
4198 eval 'cat <<_LTECHO_EOF
4202 ECHO='func_fallback_echo'
4205 # func_echo_all arg...
4206 # Invoke $ECHO with all args, space-separated.
4213 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4214 $as_echo "printf" >&6; } ;;
4215 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4216 $as_echo "print -r" >&6; } ;;
4217 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4218 $as_echo "cat" >&6; } ;;
4234 DEPDIR="${am__leading_dot}deps"
4236 ac_config_commands="$ac_config_commands depfiles"
4239 am_make=${MAKE-make}
4240 cat > confinc << 'END'
4242 @echo this is the am__doit target
4245 # If we don't find an include directive, just comment out the code.
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4247 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4251 # First try GNU make style include.
4252 echo "include confinc" > confmf
4253 # Ignore all kinds of additional output from `make'.
4254 case `$am_make -s -f confmf 2> /dev/null` in #(
4255 *the\ am__doit\ target*)
4261 # Now try BSD make style include.
4262 if test "$am__include" = "#"; then
4263 echo '.include "confinc"' > confmf
4264 case `$am_make -s -f confmf 2> /dev/null` in #(
4265 *the\ am__doit\ target*)
4266 am__include=.include
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4275 $as_echo "$_am_result" >&6; }
4276 rm -f confinc confmf
4278 # Check whether --enable-dependency-tracking was given.
4279 if test "${enable_dependency_tracking+set}" = set; then :
4280 enableval=$enable_dependency_tracking;
4283 if test "x$enable_dependency_tracking" != xno; then
4284 am_depcomp="$ac_aux_dir/depcomp"
4288 if test "x$enable_dependency_tracking" != xno; then
4298 ac_cpp='$CPP $CPPFLAGS'
4299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4302 if test -n "$ac_tool_prefix"; then
4303 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4304 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4306 $as_echo_n "checking for $ac_word... " >&6; }
4307 if ${ac_cv_prog_CC+:} false; then :
4308 $as_echo_n "(cached) " >&6
4310 if test -n "$CC"; then
4311 ac_cv_prog_CC="$CC" # Let the user override the test.
4313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4317 test -z "$as_dir" && as_dir=.
4318 for ac_exec_ext in '' $ac_executable_extensions; do
4319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4320 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4331 if test -n "$CC"; then
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4333 $as_echo "$CC" >&6; }
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4336 $as_echo "no" >&6; }
4341 if test -z "$ac_cv_prog_CC"; then
4343 # Extract the first word of "gcc", so it can be a program name with args.
4344 set dummy gcc; ac_word=$2
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4346 $as_echo_n "checking for $ac_word... " >&6; }
4347 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4348 $as_echo_n "(cached) " >&6
4350 if test -n "$ac_ct_CC"; then
4351 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4357 test -z "$as_dir" && as_dir=.
4358 for ac_exec_ext in '' $ac_executable_extensions; do
4359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4360 ac_cv_prog_ac_ct_CC="gcc"
4361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4370 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4371 if test -n "$ac_ct_CC"; then
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4373 $as_echo "$ac_ct_CC" >&6; }
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4376 $as_echo "no" >&6; }
4379 if test "x$ac_ct_CC" = x; then
4382 case $cross_compiling:$ac_tool_warned in
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4385 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4386 ac_tool_warned=yes ;;
4394 if test -z "$CC"; then
4395 if test -n "$ac_tool_prefix"; then
4396 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4397 set dummy ${ac_tool_prefix}cc; ac_word=$2
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4399 $as_echo_n "checking for $ac_word... " >&6; }
4400 if ${ac_cv_prog_CC+:} false; then :
4401 $as_echo_n "(cached) " >&6
4403 if test -n "$CC"; then
4404 ac_cv_prog_CC="$CC" # Let the user override the test.
4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410 test -z "$as_dir" && as_dir=.
4411 for ac_exec_ext in '' $ac_executable_extensions; do
4412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4413 ac_cv_prog_CC="${ac_tool_prefix}cc"
4414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4424 if test -n "$CC"; then
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4426 $as_echo "$CC" >&6; }
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429 $as_echo "no" >&6; }
4435 if test -z "$CC"; then
4436 # Extract the first word of "cc", so it can be a program name with args.
4437 set dummy cc; ac_word=$2
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4439 $as_echo_n "checking for $ac_word... " >&6; }
4440 if ${ac_cv_prog_CC+:} false; then :
4441 $as_echo_n "(cached) " >&6
4443 if test -n "$CC"; then
4444 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 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4455 ac_prog_rejected=yes
4459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4466 if test $ac_prog_rejected = yes; then
4467 # We found a bogon in the path, so make sure we never use it.
4468 set dummy $ac_cv_prog_CC
4470 if test $# != 0; then
4471 # We chose a different compiler from the bogus one.
4472 # However, it has the same basename, so the bogon will be chosen
4473 # first if we set CC to just the basename; use the full file name.
4475 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4481 if test -n "$CC"; then
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4483 $as_echo "$CC" >&6; }
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4486 $as_echo "no" >&6; }
4491 if test -z "$CC"; then
4492 if test -n "$ac_tool_prefix"; then
4493 for ac_prog in cl.exe
4495 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4496 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4498 $as_echo_n "checking for $ac_word... " >&6; }
4499 if ${ac_cv_prog_CC+:} false; then :
4500 $as_echo_n "(cached) " >&6
4502 if test -n "$CC"; then
4503 ac_cv_prog_CC="$CC" # Let the user override the test.
4505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4509 test -z "$as_dir" && as_dir=.
4510 for ac_exec_ext in '' $ac_executable_extensions; do
4511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4512 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4523 if test -n "$CC"; then
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4525 $as_echo "$CC" >&6; }
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4528 $as_echo "no" >&6; }
4532 test -n "$CC" && break
4535 if test -z "$CC"; then
4537 for ac_prog in cl.exe
4539 # Extract the first word of "$ac_prog", so it can be a program name with args.
4540 set dummy $ac_prog; ac_word=$2
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4542 $as_echo_n "checking for $ac_word... " >&6; }
4543 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4544 $as_echo_n "(cached) " >&6
4546 if test -n "$ac_ct_CC"; then
4547 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4553 test -z "$as_dir" && as_dir=.
4554 for ac_exec_ext in '' $ac_executable_extensions; do
4555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4556 ac_cv_prog_ac_ct_CC="$ac_prog"
4557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4566 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4567 if test -n "$ac_ct_CC"; then
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4569 $as_echo "$ac_ct_CC" >&6; }
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4572 $as_echo "no" >&6; }
4576 test -n "$ac_ct_CC" && break
4579 if test "x$ac_ct_CC" = x; then
4582 case $cross_compiling:$ac_tool_warned in
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4586 ac_tool_warned=yes ;;
4595 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4596 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4597 as_fn_error $? "no acceptable C compiler found in \$PATH
4598 See \`config.log' for more details" "$LINENO" 5; }
4600 # Provide some information about the compiler.
4601 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4604 for ac_option in --version -v -V -qversion; do
4605 { { ac_try="$ac_compiler $ac_option >&5"
4607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4608 *) ac_try_echo=$ac_try;;
4610 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4611 $as_echo "$ac_try_echo"; } >&5
4612 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4614 if test -s conftest.err; then
4616 ... rest of stderr output deleted ...
4617 10q' conftest.err >conftest.er1
4618 cat conftest.er1 >&5
4620 rm -f conftest.er1 conftest.err
4621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4622 test $ac_status = 0; }
4625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4626 /* end confdefs.h. */
4636 ac_clean_files_save=$ac_clean_files
4637 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4638 # Try to create an executable without -o first, disregard a.out.
4639 # It will help us diagnose broken compilers, and finding out an intuition
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4642 $as_echo_n "checking whether the C compiler works... " >&6; }
4643 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4645 # The possible output files:
4646 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4649 for ac_file in $ac_files
4652 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4653 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4658 if { { ac_try="$ac_link_default"
4660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661 *) ac_try_echo=$ac_try;;
4663 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4664 $as_echo "$ac_try_echo"; } >&5
4665 (eval "$ac_link_default") 2>&5
4667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4668 test $ac_status = 0; }; then :
4669 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4670 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4671 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4672 # so that the user can short-circuit this test for compilers unknown to
4674 for ac_file in $ac_files ''
4676 test -f "$ac_file" || continue
4678 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4681 # We found the default executable, but exeext='' is most
4685 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4687 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4689 # We set ac_cv_exeext here because the later test for it is not
4690 # safe: cross compilers may not add the suffix if given an `-o'
4691 # argument, so we may need to know it at that point already.
4692 # Even if this section looks crufty: it has the advantage of
4699 test "$ac_cv_exeext" = no && ac_cv_exeext=
4704 if test -z "$ac_file"; then :
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4706 $as_echo "no" >&6; }
4707 $as_echo "$as_me: failed program was:" >&5
4708 sed 's/^/| /' conftest.$ac_ext >&5
4710 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4712 as_fn_error 77 "C compiler cannot create executables
4713 See \`config.log' for more details" "$LINENO" 5; }
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4716 $as_echo "yes" >&6; }
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4719 $as_echo_n "checking for C compiler default output file name... " >&6; }
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4721 $as_echo "$ac_file" >&6; }
4722 ac_exeext=$ac_cv_exeext
4724 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4725 ac_clean_files=$ac_clean_files_save
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4727 $as_echo_n "checking for suffix of executables... " >&6; }
4728 if { { ac_try="$ac_link"
4730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4731 *) ac_try_echo=$ac_try;;
4733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4734 $as_echo "$ac_try_echo"; } >&5
4735 (eval "$ac_link") 2>&5
4737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4738 test $ac_status = 0; }; then :
4739 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4740 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4741 # work properly (i.e., refer to `conftest.exe'), while it won't with
4743 for ac_file in conftest.exe conftest conftest.*; do
4744 test -f "$ac_file" || continue
4746 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4747 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4753 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4754 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4755 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4756 See \`config.log' for more details" "$LINENO" 5; }
4758 rm -f conftest conftest$ac_cv_exeext
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4760 $as_echo "$ac_cv_exeext" >&6; }
4762 rm -f conftest.$ac_ext
4763 EXEEXT=$ac_cv_exeext
4765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h. */
4771 FILE *f = fopen ("conftest.out", "w");
4772 return ferror (f) || fclose (f) != 0;
4778 ac_clean_files="$ac_clean_files conftest.out"
4779 # Check that the compiler produces executables we can run. If not, either
4780 # the compiler is broken, or we cross compile.
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4782 $as_echo_n "checking whether we are cross compiling... " >&6; }
4783 if test "$cross_compiling" != yes; then
4784 { { ac_try="$ac_link"
4786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4787 *) ac_try_echo=$ac_try;;
4789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4790 $as_echo "$ac_try_echo"; } >&5
4791 (eval "$ac_link") 2>&5
4793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4794 test $ac_status = 0; }
4795 if { ac_try='./conftest$ac_cv_exeext'
4796 { { case "(($ac_try" in
4797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4798 *) ac_try_echo=$ac_try;;
4800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4801 $as_echo "$ac_try_echo"; } >&5
4802 (eval "$ac_try") 2>&5
4804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4805 test $ac_status = 0; }; }; then
4808 if test "$cross_compiling" = maybe; then
4811 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4812 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4813 as_fn_error $? "cannot run C compiled programs.
4814 If you meant to cross compile, use \`--host'.
4815 See \`config.log' for more details" "$LINENO" 5; }
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4820 $as_echo "$cross_compiling" >&6; }
4822 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4823 ac_clean_files=$ac_clean_files_save
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4825 $as_echo_n "checking for suffix of object files... " >&6; }
4826 if ${ac_cv_objext+:} false; then :
4827 $as_echo_n "(cached) " >&6
4829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4830 /* end confdefs.h. */
4840 rm -f conftest.o conftest.obj
4841 if { { ac_try="$ac_compile"
4843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4844 *) ac_try_echo=$ac_try;;
4846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4847 $as_echo "$ac_try_echo"; } >&5
4848 (eval "$ac_compile") 2>&5
4850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4851 test $ac_status = 0; }; then :
4852 for ac_file in conftest.o conftest.obj conftest.*; do
4853 test -f "$ac_file" || continue;
4855 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4856 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4861 $as_echo "$as_me: failed program was:" >&5
4862 sed 's/^/| /' conftest.$ac_ext >&5
4864 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4865 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4866 as_fn_error $? "cannot compute suffix of object files: cannot compile
4867 See \`config.log' for more details" "$LINENO" 5; }
4869 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4872 $as_echo "$ac_cv_objext" >&6; }
4873 OBJEXT=$ac_cv_objext
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4876 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4877 if ${ac_cv_c_compiler_gnu+:} false; then :
4878 $as_echo_n "(cached) " >&6
4880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4881 /* end confdefs.h. */
4894 if ac_fn_c_try_compile "$LINENO"; then :
4899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4900 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4904 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4905 if test $ac_compiler_gnu = yes; then
4910 ac_test_CFLAGS=${CFLAGS+set}
4911 ac_save_CFLAGS=$CFLAGS
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4913 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4914 if ${ac_cv_prog_cc_g+:} false; then :
4915 $as_echo_n "(cached) " >&6
4917 ac_save_c_werror_flag=$ac_c_werror_flag
4918 ac_c_werror_flag=yes
4921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4922 /* end confdefs.h. */
4932 if ac_fn_c_try_compile "$LINENO"; then :
4936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h. */
4947 if ac_fn_c_try_compile "$LINENO"; then :
4950 ac_c_werror_flag=$ac_save_c_werror_flag
4952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4963 if ac_fn_c_try_compile "$LINENO"; then :
4966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4971 ac_c_werror_flag=$ac_save_c_werror_flag
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4974 $as_echo "$ac_cv_prog_cc_g" >&6; }
4975 if test "$ac_test_CFLAGS" = set; then
4976 CFLAGS=$ac_save_CFLAGS
4977 elif test $ac_cv_prog_cc_g = yes; then
4978 if test "$GCC" = yes; then
4984 if test "$GCC" = yes; then
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4991 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4992 if ${ac_cv_prog_cc_c89+:} false; then :
4993 $as_echo_n "(cached) " >&6
4995 ac_cv_prog_cc_c89=no
4997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4998 /* end confdefs.h. */
5001 #include <sys/types.h>
5002 #include <sys/stat.h>
5003 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5004 struct buf { int x; };
5005 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5006 static char *e (p, i)
5012 static char *f (char * (*g) (char **, int), char **p, ...)
5017 s = g (p, va_arg (v,int));
5022 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5023 function prototypes and stuff, but not '\xHH' hex character constants.
5024 These don't provoke an error unfortunately, instead are silently treated
5025 as 'x'. The following induces an error, until -std is added to get
5026 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5027 array size at least. It's necessary to write '\x00'==0 to get something
5028 that's true only with -std. */
5029 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5031 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5032 inside strings and character constants. */
5034 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5036 int test (int i, double x);
5037 struct s1 {int (*f) (int a);};
5038 struct s2 {int (*f) (double a);};
5039 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5045 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5050 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5051 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5053 CC="$ac_save_CC $ac_arg"
5054 if ac_fn_c_try_compile "$LINENO"; then :
5055 ac_cv_prog_cc_c89=$ac_arg
5057 rm -f core conftest.err conftest.$ac_objext
5058 test "x$ac_cv_prog_cc_c89" != "xno" && break
5060 rm -f conftest.$ac_ext
5065 case "x$ac_cv_prog_cc_c89" in
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5068 $as_echo "none needed" >&6; } ;;
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5071 $as_echo "unsupported" >&6; } ;;
5073 CC="$CC $ac_cv_prog_cc_c89"
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5075 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5077 if test "x$ac_cv_prog_cc_c89" != xno; then :
5082 ac_cpp='$CPP $CPPFLAGS'
5083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5087 depcc="$CC" am_compiler_list=
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5090 $as_echo_n "checking dependency style of $depcc... " >&6; }
5091 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5092 $as_echo_n "(cached) " >&6
5094 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5095 # We make a subdir and do the tests there. Otherwise we can end up
5096 # making bogus files that we don't know about and never remove. For
5097 # instance it was reported that on HP-UX the gcc test will end up
5098 # making a dummy file named `D' -- because `-MD' means `put the output
5102 # Copy depcomp to subdir because otherwise we won't find it if we're
5103 # using a relative directory.
5104 cp "$am_depcomp" conftest.dir
5106 # We will build objects and dependencies in a subdirectory because
5107 # it helps to detect inapplicable dependency modes. For instance
5108 # both Tru64's cc and ICC support -MD to output dependencies as a
5109 # side effect of compilation, but ICC will put the dependencies in
5110 # the current directory while Tru64 will put them in the object
5114 am_cv_CC_dependencies_compiler_type=none
5115 if test "$am_compiler_list" = ""; then
5116 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5119 case " $depcc " in #(
5120 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5123 for depmode in $am_compiler_list; do
5124 # Setup a source with many dependencies, because some compilers
5125 # like to wrap large dependency lists on column 80 (with \), and
5126 # we should not choose a depcomp mode which is confused by this.
5128 # We need to recreate these files for each test, as the compiler may
5129 # overwrite some of them when testing with obscure command lines.
5130 # This happens at least with the AIX C compiler.
5132 for i in 1 2 3 4 5 6; do
5133 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5134 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5135 # Solaris 8's {/usr,}/bin/sh.
5136 touch sub/conftst$i.h
5138 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5140 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5141 # mode. It turns out that the SunPro C++ compiler does not properly
5142 # handle `-M -o', and we need to detect this. Also, some Intel
5143 # versions had trouble with output in subdirs
5144 am__obj=sub/conftest.${OBJEXT-o}
5145 am__minus_obj="-o $am__obj"
5148 # This depmode causes a compiler race in universal mode.
5149 test "$am__universal" = false || continue
5152 # after this tag, mechanisms are not by side-effect, so they'll
5153 # only be used when explicitly requested
5154 if test "x$enable_dependency_tracking" = xyes; then
5160 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5161 # This compiler won't grok `-c -o', but also, the minuso test has
5162 # not run yet. These depmodes are late enough in the game, and
5163 # so weak that their functioning should not be impacted.
5164 am__obj=conftest.${OBJEXT-o}
5169 if depmode=$depmode \
5170 source=sub/conftest.c object=$am__obj \
5171 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5172 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5173 >/dev/null 2>conftest.err &&
5174 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5175 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5176 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5177 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5178 # icc doesn't choke on unknown options, it will just issue warnings
5179 # or remarks (even with -Werror). So we grep stderr for any message
5180 # that says an option was ignored or not supported.
5181 # When given -MP, icc 7.0 and 7.1 complain thusly:
5182 # icc: Command line warning: ignoring option '-M'; no argument required
5183 # The diagnosis changed in icc 8.0:
5184 # icc: Command line remark: option '-MP' not supported
5185 if (grep 'ignoring option' conftest.err ||
5186 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5187 am_cv_CC_dependencies_compiler_type=$depmode
5196 am_cv_CC_dependencies_compiler_type=none
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5201 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5202 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5205 test "x$enable_dependency_tracking" != xno \
5206 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5208 am__fastdepCC_FALSE='#'
5210 am__fastdepCC_TRUE='#'
5211 am__fastdepCC_FALSE=
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5216 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5217 if ${ac_cv_path_SED+:} false; then :
5218 $as_echo_n "(cached) " >&6
5220 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5221 for ac_i in 1 2 3 4 5 6 7; do
5222 ac_script="$ac_script$as_nl$ac_script"
5224 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5225 { ac_script=; unset ac_script;}
5226 if test -z "$SED"; then
5227 ac_path_SED_found=false
5228 # Loop through the user's path and test for each of PROGNAME-LIST
5229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5233 test -z "$as_dir" && as_dir=.
5234 for ac_prog in sed gsed; do
5235 for ac_exec_ext in '' $ac_executable_extensions; do
5236 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5237 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5238 # Check for GNU ac_path_SED and select it if it is found.
5239 # Check for GNU $ac_path_SED
5240 case `"$ac_path_SED" --version 2>&1` in
5242 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5245 $as_echo_n 0123456789 >"conftest.in"
5248 cat "conftest.in" "conftest.in" >"conftest.tmp"
5249 mv "conftest.tmp" "conftest.in"
5250 cp "conftest.in" "conftest.nl"
5251 $as_echo '' >> "conftest.nl"
5252 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5253 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5254 as_fn_arith $ac_count + 1 && ac_count=$as_val
5255 if test $ac_count -gt ${ac_path_SED_max-0}; then
5256 # Best one so far, save it but keep looking for a better one
5257 ac_cv_path_SED="$ac_path_SED"
5258 ac_path_SED_max=$ac_count
5260 # 10*(2^10) chars as input seems more than enough
5261 test $ac_count -gt 10 && break
5263 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5266 $ac_path_SED_found && break 3
5271 if test -z "$ac_cv_path_SED"; then
5272 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5280 $as_echo "$ac_cv_path_SED" >&6; }
5281 SED="$ac_cv_path_SED"
5284 test -z "$SED" && SED=sed
5285 Xsed="$SED -e 1s/^X//"
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5298 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5299 if ${ac_cv_path_GREP+:} false; then :
5300 $as_echo_n "(cached) " >&6
5302 if test -z "$GREP"; then
5303 ac_path_GREP_found=false
5304 # Loop through the user's path and test for each of PROGNAME-LIST
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5309 test -z "$as_dir" && as_dir=.
5310 for ac_prog in grep ggrep; do
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5313 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5314 # Check for GNU ac_path_GREP and select it if it is found.
5315 # Check for GNU $ac_path_GREP
5316 case `"$ac_path_GREP" --version 2>&1` in
5318 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5321 $as_echo_n 0123456789 >"conftest.in"
5324 cat "conftest.in" "conftest.in" >"conftest.tmp"
5325 mv "conftest.tmp" "conftest.in"
5326 cp "conftest.in" "conftest.nl"
5327 $as_echo 'GREP' >> "conftest.nl"
5328 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5329 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5330 as_fn_arith $ac_count + 1 && ac_count=$as_val
5331 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5332 # Best one so far, save it but keep looking for a better one
5333 ac_cv_path_GREP="$ac_path_GREP"
5334 ac_path_GREP_max=$ac_count
5336 # 10*(2^10) chars as input seems more than enough
5337 test $ac_count -gt 10 && break
5339 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5342 $ac_path_GREP_found && break 3
5347 if test -z "$ac_cv_path_GREP"; then
5348 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5351 ac_cv_path_GREP=$GREP
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5356 $as_echo "$ac_cv_path_GREP" >&6; }
5357 GREP="$ac_cv_path_GREP"
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5361 $as_echo_n "checking for egrep... " >&6; }
5362 if ${ac_cv_path_EGREP+:} false; then :
5363 $as_echo_n "(cached) " >&6
5365 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5366 then ac_cv_path_EGREP="$GREP -E"
5368 if test -z "$EGREP"; then
5369 ac_path_EGREP_found=false
5370 # Loop through the user's path and test for each of PROGNAME-LIST
5371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5372 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5375 test -z "$as_dir" && as_dir=.
5376 for ac_prog in egrep; do
5377 for ac_exec_ext in '' $ac_executable_extensions; do
5378 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5379 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5380 # Check for GNU ac_path_EGREP and select it if it is found.
5381 # Check for GNU $ac_path_EGREP
5382 case `"$ac_path_EGREP" --version 2>&1` in
5384 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5387 $as_echo_n 0123456789 >"conftest.in"
5390 cat "conftest.in" "conftest.in" >"conftest.tmp"
5391 mv "conftest.tmp" "conftest.in"
5392 cp "conftest.in" "conftest.nl"
5393 $as_echo 'EGREP' >> "conftest.nl"
5394 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5395 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5396 as_fn_arith $ac_count + 1 && ac_count=$as_val
5397 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5398 # Best one so far, save it but keep looking for a better one
5399 ac_cv_path_EGREP="$ac_path_EGREP"
5400 ac_path_EGREP_max=$ac_count
5402 # 10*(2^10) chars as input seems more than enough
5403 test $ac_count -gt 10 && break
5405 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5408 $ac_path_EGREP_found && break 3
5413 if test -z "$ac_cv_path_EGREP"; then
5414 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5417 ac_cv_path_EGREP=$EGREP
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5423 $as_echo "$ac_cv_path_EGREP" >&6; }
5424 EGREP="$ac_cv_path_EGREP"
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5428 $as_echo_n "checking for fgrep... " >&6; }
5429 if ${ac_cv_path_FGREP+:} false; then :
5430 $as_echo_n "(cached) " >&6
5432 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5433 then ac_cv_path_FGREP="$GREP -F"
5435 if test -z "$FGREP"; then
5436 ac_path_FGREP_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 fgrep; do
5444 for ac_exec_ext in '' $ac_executable_extensions; do
5445 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5446 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5447 # Check for GNU ac_path_FGREP and select it if it is found.
5448 # Check for GNU $ac_path_FGREP
5449 case `"$ac_path_FGREP" --version 2>&1` in
5451 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_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 'FGREP' >> "conftest.nl"
5461 "$ac_path_FGREP" FGREP < "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_FGREP_max-0}; then
5465 # Best one so far, save it but keep looking for a better one
5466 ac_cv_path_FGREP="$ac_path_FGREP"
5467 ac_path_FGREP_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_FGREP_found && break 3
5480 if test -z "$ac_cv_path_FGREP"; then
5481 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5484 ac_cv_path_FGREP=$FGREP
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5490 $as_echo "$ac_cv_path_FGREP" >&6; }
5491 FGREP="$ac_cv_path_FGREP"
5494 test -z "$GREP" && GREP=grep
5514 # Check whether --with-gnu-ld was given.
5515 if test "${with_gnu_ld+set}" = set; then :
5516 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5522 if test "$GCC" = yes; then
5523 # Check if gcc -print-prog-name=ld gives a path.
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5525 $as_echo_n "checking for ld used by $CC... " >&6; }
5528 # gcc leaves a trailing carriage return which upsets mingw
5529 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5531 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5534 # Accept absolute paths.
5536 re_direlt='/[^/][^/]*/\.\./'
5537 # Canonicalize the pathname of ld
5538 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5539 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5540 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5542 test -z "$LD" && LD="$ac_prog"
5545 # If it fails, then pretend we aren't using GCC.
5549 # If it is relative, then search for the first ld in PATH.
5553 elif test "$with_gnu_ld" = yes; then
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5555 $as_echo_n "checking for GNU ld... " >&6; }
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5558 $as_echo_n "checking for non-GNU ld... " >&6; }
5560 if ${lt_cv_path_LD+:} false; then :
5561 $as_echo_n "(cached) " >&6
5563 if test -z "$LD"; then
5564 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5565 for ac_dir in $PATH; do
5567 test -z "$ac_dir" && ac_dir=.
5568 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5569 lt_cv_path_LD="$ac_dir/$ac_prog"
5570 # Check to see if the program is GNU ld. I'd rather use --version,
5571 # but apparently some variants of GNU ld only accept -v.
5572 # Break only if it was the GNU/non-GNU ld that we prefer.
5573 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5574 *GNU* | *'with BFD'*)
5575 test "$with_gnu_ld" != no && break
5578 test "$with_gnu_ld" != yes && break
5585 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5590 if test -n "$LD"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5592 $as_echo "$LD" >&6; }
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5595 $as_echo "no" >&6; }
5597 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5599 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5600 if ${lt_cv_prog_gnu_ld+:} false; then :
5601 $as_echo_n "(cached) " >&6
5603 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5604 case `$LD -v 2>&1 </dev/null` in
5605 *GNU* | *'with BFD'*)
5606 lt_cv_prog_gnu_ld=yes
5609 lt_cv_prog_gnu_ld=no
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5614 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5615 with_gnu_ld=$lt_cv_prog_gnu_ld
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5626 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5627 if ${lt_cv_path_NM+:} false; then :
5628 $as_echo_n "(cached) " >&6
5630 if test -n "$NM"; then
5631 # Let the user override the test.
5634 lt_nm_to_check="${ac_tool_prefix}nm"
5635 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5636 lt_nm_to_check="$lt_nm_to_check nm"
5638 for lt_tmp_nm in $lt_nm_to_check; do
5639 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5640 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5642 test -z "$ac_dir" && ac_dir=.
5643 tmp_nm="$ac_dir/$lt_tmp_nm"
5644 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5645 # Check to see if the nm accepts a BSD-compat flag.
5646 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5647 # nm: unknown option "B" ignored
5648 # Tru64's nm complains that /dev/null is an invalid object file
5649 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5650 */dev/null* | *'Invalid file or object type'*)
5651 lt_cv_path_NM="$tmp_nm -B"
5655 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5657 lt_cv_path_NM="$tmp_nm -p"
5661 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5662 continue # so that we can try to find one that supports BSD flags
5671 : ${lt_cv_path_NM=no}
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5675 $as_echo "$lt_cv_path_NM" >&6; }
5676 if test "$lt_cv_path_NM" != "no"; then
5679 # Didn't find any BSD compatible name lister, look for dumpbin.
5680 if test -n "$DUMPBIN"; then :
5681 # Let the user override the test.
5683 if test -n "$ac_tool_prefix"; then
5684 for ac_prog in dumpbin "link -dump"
5686 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5687 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5689 $as_echo_n "checking for $ac_word... " >&6; }
5690 if ${ac_cv_prog_DUMPBIN+:} false; then :
5691 $as_echo_n "(cached) " >&6
5693 if test -n "$DUMPBIN"; then
5694 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5700 test -z "$as_dir" && as_dir=.
5701 for ac_exec_ext in '' $ac_executable_extensions; do
5702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5703 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5713 DUMPBIN=$ac_cv_prog_DUMPBIN
5714 if test -n "$DUMPBIN"; then
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5716 $as_echo "$DUMPBIN" >&6; }
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5719 $as_echo "no" >&6; }
5723 test -n "$DUMPBIN" && break
5726 if test -z "$DUMPBIN"; then
5727 ac_ct_DUMPBIN=$DUMPBIN
5728 for ac_prog in dumpbin "link -dump"
5730 # Extract the first word of "$ac_prog", so it can be a program name with args.
5731 set dummy $ac_prog; ac_word=$2
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5733 $as_echo_n "checking for $ac_word... " >&6; }
5734 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5735 $as_echo_n "(cached) " >&6
5737 if test -n "$ac_ct_DUMPBIN"; then
5738 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744 test -z "$as_dir" && as_dir=.
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5747 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5757 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5758 if test -n "$ac_ct_DUMPBIN"; then
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5760 $as_echo "$ac_ct_DUMPBIN" >&6; }
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5763 $as_echo "no" >&6; }
5767 test -n "$ac_ct_DUMPBIN" && break
5770 if test "x$ac_ct_DUMPBIN" = x; then
5773 case $cross_compiling:$ac_tool_warned in
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5777 ac_tool_warned=yes ;;
5779 DUMPBIN=$ac_ct_DUMPBIN
5783 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5785 DUMPBIN="$DUMPBIN -symbols"
5793 if test "$DUMPBIN" != ":"; then
5797 test -z "$NM" && NM=nm
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5805 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5806 if ${lt_cv_nm_interface+:} false; then :
5807 $as_echo_n "(cached) " >&6
5809 lt_cv_nm_interface="BSD nm"
5810 echo "int some_variable = 0;" > conftest.$ac_ext
5811 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5812 (eval "$ac_compile" 2>conftest.err)
5813 cat conftest.err >&5
5814 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5815 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5816 cat conftest.err >&5
5817 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5818 cat conftest.out >&5
5819 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5820 lt_cv_nm_interface="MS dumpbin"
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5825 $as_echo "$lt_cv_nm_interface" >&6; }
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5828 $as_echo_n "checking whether ln -s works... " >&6; }
5830 if test "$LN_S" = "ln -s"; then
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5832 $as_echo "yes" >&6; }
5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5835 $as_echo "no, using $LN_S" >&6; }
5838 # find the maximum length of command line arguments
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5840 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5841 if ${lt_cv_sys_max_cmd_len+:} false; then :
5842 $as_echo_n "(cached) " >&6
5849 # On DJGPP, this test can blow up pretty badly due to problems in libc
5850 # (any single argument exceeding 2000 bytes causes a buffer overrun
5851 # during glob expansion). Even if it were fixed, the result of this
5852 # check would be larger than it should be.
5853 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5857 # Under GNU Hurd, this test is not required because there is
5858 # no limit to the length of command line arguments.
5859 # Libtool will interpret -1 as no limit whatsoever
5860 lt_cv_sys_max_cmd_len=-1;
5863 cygwin* | mingw* | cegcc*)
5864 # On Win9x/ME, this test blows up -- it succeeds, but takes
5865 # about 5 minutes as the teststring grows exponentially.
5866 # Worse, since 9x/ME are not pre-emptively multitasking,
5867 # you end up with a "frozen" computer, even though with patience
5868 # the test eventually succeeds (with a max line length of 256k).
5869 # Instead, let's just punt: use the minimum linelength reported by
5870 # all of the supported platforms: 8192 (on NT/2K/XP).
5871 lt_cv_sys_max_cmd_len=8192;
5875 # On MiNT this can take a long time and run out of memory.
5876 lt_cv_sys_max_cmd_len=8192;
5880 # On AmigaOS with pdksh, this test takes hours, literally.
5881 # So we just punt and use a minimum line length of 8192.
5882 lt_cv_sys_max_cmd_len=8192;
5885 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5886 # This has been around since 386BSD, at least. Likely further.
5887 if test -x /sbin/sysctl; then
5888 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5889 elif test -x /usr/sbin/sysctl; then
5890 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5892 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5894 # And add a safety zone
5895 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5896 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5900 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5901 lt_cv_sys_max_cmd_len=196608
5905 # The test takes a long time on OS/2.
5906 lt_cv_sys_max_cmd_len=8192
5910 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5911 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5912 # nice to cause kernel panics so lets avoid the loop below.
5913 # First set a reasonable default.
5914 lt_cv_sys_max_cmd_len=16384
5916 if test -x /sbin/sysconfig; then
5917 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5918 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5923 lt_cv_sys_max_cmd_len=102400
5925 sysv5* | sco5v6* | sysv4.2uw2*)
5926 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5927 if test -n "$kargmax"; then
5928 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5930 lt_cv_sys_max_cmd_len=32768
5934 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5935 if test -n "$lt_cv_sys_max_cmd_len"; then
5936 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5937 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5939 # Make teststring a little bigger before we do anything with it.
5940 # a 1K string should be a reasonable start.
5941 for i in 1 2 3 4 5 6 7 8 ; do
5942 teststring=$teststring$teststring
5944 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5945 # If test is not a shell built-in, we'll probably end up computing a
5946 # maximum length that is only half of the actual maximum length, but
5948 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5949 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5950 test $i != 17 # 1/2 MB should be enough
5953 teststring=$teststring$teststring
5955 # Only check the string length outside the loop.
5956 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5958 # Add a significant safety factor because C++ compilers can tack on
5959 # massive amounts of additional arguments before passing them to the
5960 # linker. It appears as though 1/2 is a usable value.
5961 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5968 if test -n $lt_cv_sys_max_cmd_len ; then
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5970 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5973 $as_echo "none" >&6; }
5975 max_cmd_len=$lt_cv_sys_max_cmd_len
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5987 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5988 # Try some XSI features
5991 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5993 && eval 'test $(( 1 + 1 )) -eq 2 \
5994 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5997 $as_echo "$xsi_shell" >&6; }
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6001 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6003 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6005 && lt_shell_append=yes
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6007 $as_echo "$lt_shell_append" >&6; }
6010 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6020 # test EBCDIC or ASCII
6021 case `echo X|tr X '\101'` in
6022 A) # ASCII based system
6023 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6024 lt_SP2NL='tr \040 \012'
6025 lt_NL2SP='tr \015\012 \040\040'
6027 *) # EBCDIC based system
6028 lt_SP2NL='tr \100 \n'
6029 lt_NL2SP='tr \r\n \100\100'
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6042 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6043 if ${lt_cv_to_host_file_cmd+:} false; then :
6044 $as_echo_n "(cached) " >&6
6049 *-*-mingw* ) # actually msys
6050 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6053 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6055 * ) # otherwise, assume *nix
6056 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6062 *-*-mingw* ) # actually msys
6063 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6066 lt_cv_to_host_file_cmd=func_convert_file_noop
6068 * ) # otherwise, assume *nix
6069 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6073 * ) # unhandled hosts (and "normal" native builds)
6074 lt_cv_to_host_file_cmd=func_convert_file_noop
6080 to_host_file_cmd=$lt_cv_to_host_file_cmd
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6082 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6089 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6090 if ${lt_cv_to_tool_file_cmd+:} false; then :
6091 $as_echo_n "(cached) " >&6
6093 #assume ordinary cross tools, or native build.
6094 lt_cv_to_tool_file_cmd=func_convert_file_noop
6098 *-*-mingw* ) # actually msys
6099 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6107 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6109 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6116 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6117 if ${lt_cv_ld_reload_flag+:} false; then :
6118 $as_echo_n "(cached) " >&6
6120 lt_cv_ld_reload_flag='-r'
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6123 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6124 reload_flag=$lt_cv_ld_reload_flag
6125 case $reload_flag in
6127 *) reload_flag=" $reload_flag" ;;
6129 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6131 cygwin* | mingw* | pw32* | cegcc*)
6132 if test "$GCC" != yes; then
6137 if test "$GCC" = yes; then
6138 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6140 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6153 if test -n "$ac_tool_prefix"; then
6154 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6155 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6157 $as_echo_n "checking for $ac_word... " >&6; }
6158 if ${ac_cv_prog_OBJDUMP+:} false; then :
6159 $as_echo_n "(cached) " >&6
6161 if test -n "$OBJDUMP"; then
6162 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6168 test -z "$as_dir" && as_dir=.
6169 for ac_exec_ext in '' $ac_executable_extensions; do
6170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6171 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6172 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181 OBJDUMP=$ac_cv_prog_OBJDUMP
6182 if test -n "$OBJDUMP"; then
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6184 $as_echo "$OBJDUMP" >&6; }
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6187 $as_echo "no" >&6; }
6192 if test -z "$ac_cv_prog_OBJDUMP"; then
6193 ac_ct_OBJDUMP=$OBJDUMP
6194 # Extract the first word of "objdump", so it can be a program name with args.
6195 set dummy objdump; ac_word=$2
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6197 $as_echo_n "checking for $ac_word... " >&6; }
6198 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6199 $as_echo_n "(cached) " >&6
6201 if test -n "$ac_ct_OBJDUMP"; then
6202 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6208 test -z "$as_dir" && as_dir=.
6209 for ac_exec_ext in '' $ac_executable_extensions; do
6210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6211 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6221 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6222 if test -n "$ac_ct_OBJDUMP"; then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6224 $as_echo "$ac_ct_OBJDUMP" >&6; }
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227 $as_echo "no" >&6; }
6230 if test "x$ac_ct_OBJDUMP" = x; then
6233 case $cross_compiling:$ac_tool_warned in
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6237 ac_tool_warned=yes ;;
6239 OBJDUMP=$ac_ct_OBJDUMP
6242 OBJDUMP="$ac_cv_prog_OBJDUMP"
6245 test -z "$OBJDUMP" && OBJDUMP=objdump
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6253 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6254 if ${lt_cv_deplibs_check_method+:} false; then :
6255 $as_echo_n "(cached) " >&6
6257 lt_cv_file_magic_cmd='$MAGIC_CMD'
6258 lt_cv_file_magic_test_file=
6259 lt_cv_deplibs_check_method='unknown'
6260 # Need to set the preceding variable on all platforms that support
6261 # interlibrary dependencies.
6262 # 'none' -- dependencies not supported.
6263 # `unknown' -- same as none, but documents that we really don't know.
6264 # 'pass_all' -- all dependencies passed with no checks.
6265 # 'test_compile' -- check by making test program.
6266 # 'file_magic [[regex]]' -- check by looking for files in library path
6267 # which responds to the $file_magic_cmd with a given extended regex.
6268 # If you have `file' or equivalent on your system and you're not sure
6269 # whether `pass_all' will *always* work, you probably want this one.
6273 lt_cv_deplibs_check_method=pass_all
6277 lt_cv_deplibs_check_method=pass_all
6281 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6282 lt_cv_file_magic_cmd='/usr/bin/file -L'
6283 lt_cv_file_magic_test_file=/shlib/libc.so
6287 # func_win32_libid is a shell function defined in ltmain.sh
6288 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6289 lt_cv_file_magic_cmd='func_win32_libid'
6293 # Base MSYS/MinGW do not provide the 'file' command needed by
6294 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6295 # unless we find 'file', for example because we are cross-compiling.
6296 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6297 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6298 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6299 lt_cv_file_magic_cmd='func_win32_libid'
6301 # Keep this pattern in sync with the one in func_win32_libid.
6302 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6303 lt_cv_file_magic_cmd='$OBJDUMP -f'
6308 # use the weaker test based on 'objdump'. See mingw*.
6309 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6310 lt_cv_file_magic_cmd='$OBJDUMP -f'
6313 darwin* | rhapsody*)
6314 lt_cv_deplibs_check_method=pass_all
6317 freebsd* | dragonfly*)
6318 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6321 # Not sure whether the presence of OpenBSD here was a mistake.
6322 # Let's accept both of them until this is cleared up.
6323 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6324 lt_cv_file_magic_cmd=/usr/bin/file
6325 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6329 lt_cv_deplibs_check_method=pass_all
6334 lt_cv_deplibs_check_method=pass_all
6338 lt_cv_deplibs_check_method=pass_all
6341 hpux10.20* | hpux11*)
6342 lt_cv_file_magic_cmd=/usr/bin/file
6345 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6346 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6349 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6350 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6353 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6354 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6360 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6361 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6364 irix5* | irix6* | nonstopux*)
6366 *-32|*"-32 ") libmagic=32-bit;;
6367 *-n32|*"-n32 ") libmagic=N32;;
6368 *-64|*"-64 ") libmagic=64-bit;;
6369 *) libmagic=never-match;;
6371 lt_cv_deplibs_check_method=pass_all
6374 # This must be glibc/ELF.
6375 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6376 lt_cv_deplibs_check_method=pass_all
6379 netbsd* | netbsdelf*-gnu)
6380 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6381 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6383 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6388 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6389 lt_cv_file_magic_cmd=/usr/bin/file
6390 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6394 lt_cv_deplibs_check_method=pass_all
6398 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6399 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6401 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6405 osf3* | osf4* | osf5*)
6406 lt_cv_deplibs_check_method=pass_all
6410 lt_cv_deplibs_check_method=pass_all
6414 lt_cv_deplibs_check_method=pass_all
6417 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6418 lt_cv_deplibs_check_method=pass_all
6422 case $host_vendor in
6424 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]'
6425 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6428 lt_cv_deplibs_check_method=pass_all
6431 lt_cv_file_magic_cmd='/bin/file'
6432 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6435 lt_cv_file_magic_cmd='/bin/file'
6436 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6437 lt_cv_file_magic_test_file=/lib/libc.so
6440 lt_cv_deplibs_check_method=pass_all
6443 lt_cv_deplibs_check_method=pass_all
6449 lt_cv_deplibs_check_method=pass_all
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6455 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6459 if test "$build" = "$host"; then
6462 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6465 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6471 file_magic_cmd=$lt_cv_file_magic_cmd
6472 deplibs_check_method=$lt_cv_deplibs_check_method
6473 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6496 if test -n "$ac_tool_prefix"; then
6497 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6498 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6500 $as_echo_n "checking for $ac_word... " >&6; }
6501 if ${ac_cv_prog_DLLTOOL+:} false; then :
6502 $as_echo_n "(cached) " >&6
6504 if test -n "$DLLTOOL"; then
6505 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 test -z "$as_dir" && as_dir=.
6512 for ac_exec_ext in '' $ac_executable_extensions; do
6513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6514 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6524 DLLTOOL=$ac_cv_prog_DLLTOOL
6525 if test -n "$DLLTOOL"; then
6526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6527 $as_echo "$DLLTOOL" >&6; }
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6530 $as_echo "no" >&6; }
6535 if test -z "$ac_cv_prog_DLLTOOL"; then
6536 ac_ct_DLLTOOL=$DLLTOOL
6537 # Extract the first word of "dlltool", so it can be a program name with args.
6538 set dummy dlltool; ac_word=$2
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540 $as_echo_n "checking for $ac_word... " >&6; }
6541 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6542 $as_echo_n "(cached) " >&6
6544 if test -n "$ac_ct_DLLTOOL"; then
6545 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 test -z "$as_dir" && as_dir=.
6552 for ac_exec_ext in '' $ac_executable_extensions; do
6553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6564 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6565 if test -n "$ac_ct_DLLTOOL"; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6567 $as_echo "$ac_ct_DLLTOOL" >&6; }
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570 $as_echo "no" >&6; }
6573 if test "x$ac_ct_DLLTOOL" = x; then
6576 case $cross_compiling:$ac_tool_warned in
6578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6580 ac_tool_warned=yes ;;
6582 DLLTOOL=$ac_ct_DLLTOOL
6585 DLLTOOL="$ac_cv_prog_DLLTOOL"
6588 test -z "$DLLTOOL" && DLLTOOL=dlltool
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6597 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6598 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6599 $as_echo_n "(cached) " >&6
6601 lt_cv_sharedlib_from_linklib_cmd='unknown'
6604 cygwin* | mingw* | pw32* | cegcc*)
6605 # two different shell functions defined in ltmain.sh
6606 # decide which to use based on capabilities of $DLLTOOL
6607 case `$DLLTOOL --help 2>&1` in
6608 *--identify-strict*)
6609 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6612 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6617 # fallback: assume linklib IS sharedlib
6618 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6624 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6625 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6626 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6635 if test -n "$ac_tool_prefix"; then
6638 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6639 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6641 $as_echo_n "checking for $ac_word... " >&6; }
6642 if ${ac_cv_prog_AR+:} false; then :
6643 $as_echo_n "(cached) " >&6
6645 if test -n "$AR"; then
6646 ac_cv_prog_AR="$AR" # Let the user override the test.
6648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6652 test -z "$as_dir" && as_dir=.
6653 for ac_exec_ext in '' $ac_executable_extensions; do
6654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6655 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 if test -n "$AR"; then
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6668 $as_echo "$AR" >&6; }
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6671 $as_echo "no" >&6; }
6675 test -n "$AR" && break
6678 if test -z "$AR"; then
6682 # Extract the first word of "$ac_prog", so it can be a program name with args.
6683 set dummy $ac_prog; ac_word=$2
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685 $as_echo_n "checking for $ac_word... " >&6; }
6686 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6687 $as_echo_n "(cached) " >&6
6689 if test -n "$ac_ct_AR"; then
6690 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696 test -z "$as_dir" && as_dir=.
6697 for ac_exec_ext in '' $ac_executable_extensions; do
6698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6699 ac_cv_prog_ac_ct_AR="$ac_prog"
6700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6709 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6710 if test -n "$ac_ct_AR"; then
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6712 $as_echo "$ac_ct_AR" >&6; }
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715 $as_echo "no" >&6; }
6719 test -n "$ac_ct_AR" && break
6722 if test "x$ac_ct_AR" = x; then
6725 case $cross_compiling:$ac_tool_warned in
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6729 ac_tool_warned=yes ;;
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6749 $as_echo_n "checking for archiver @FILE support... " >&6; }
6750 if ${lt_cv_ar_at_file+:} false; then :
6751 $as_echo_n "(cached) " >&6
6754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6755 /* end confdefs.h. */
6765 if ac_fn_c_try_compile "$LINENO"; then :
6766 echo conftest.$ac_objext > conftest.lst
6767 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6768 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6769 (eval $lt_ar_try) 2>&5
6771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6772 test $ac_status = 0; }
6773 if test "$ac_status" -eq 0; then
6774 # Ensure the archiver fails upon bogus file names.
6775 rm -f conftest.$ac_objext libconftest.a
6776 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6777 (eval $lt_ar_try) 2>&5
6779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6780 test $ac_status = 0; }
6781 if test "$ac_status" -ne 0; then
6785 rm -f conftest.* libconftest.a
6788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6792 $as_echo "$lt_cv_ar_at_file" >&6; }
6794 if test "x$lt_cv_ar_at_file" = xno; then
6797 archiver_list_spec=$lt_cv_ar_at_file
6806 if test -n "$ac_tool_prefix"; then
6807 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6808 set dummy ${ac_tool_prefix}strip; ac_word=$2
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6810 $as_echo_n "checking for $ac_word... " >&6; }
6811 if ${ac_cv_prog_STRIP+:} false; then :
6812 $as_echo_n "(cached) " >&6
6814 if test -n "$STRIP"; then
6815 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6821 test -z "$as_dir" && as_dir=.
6822 for ac_exec_ext in '' $ac_executable_extensions; do
6823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6824 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6834 STRIP=$ac_cv_prog_STRIP
6835 if test -n "$STRIP"; then
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6837 $as_echo "$STRIP" >&6; }
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6840 $as_echo "no" >&6; }
6845 if test -z "$ac_cv_prog_STRIP"; then
6847 # Extract the first word of "strip", so it can be a program name with args.
6848 set dummy strip; ac_word=$2
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6850 $as_echo_n "checking for $ac_word... " >&6; }
6851 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6852 $as_echo_n "(cached) " >&6
6854 if test -n "$ac_ct_STRIP"; then
6855 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6861 test -z "$as_dir" && as_dir=.
6862 for ac_exec_ext in '' $ac_executable_extensions; do
6863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6864 ac_cv_prog_ac_ct_STRIP="strip"
6865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6874 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6875 if test -n "$ac_ct_STRIP"; then
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6877 $as_echo "$ac_ct_STRIP" >&6; }
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880 $as_echo "no" >&6; }
6883 if test "x$ac_ct_STRIP" = x; then
6886 case $cross_compiling:$ac_tool_warned in
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6890 ac_tool_warned=yes ;;
6895 STRIP="$ac_cv_prog_STRIP"
6898 test -z "$STRIP" && STRIP=:
6905 if test -n "$ac_tool_prefix"; then
6906 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6907 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6909 $as_echo_n "checking for $ac_word... " >&6; }
6910 if ${ac_cv_prog_RANLIB+:} false; then :
6911 $as_echo_n "(cached) " >&6
6913 if test -n "$RANLIB"; then
6914 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6920 test -z "$as_dir" && as_dir=.
6921 for ac_exec_ext in '' $ac_executable_extensions; do
6922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6923 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6933 RANLIB=$ac_cv_prog_RANLIB
6934 if test -n "$RANLIB"; then
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6936 $as_echo "$RANLIB" >&6; }
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6939 $as_echo "no" >&6; }
6944 if test -z "$ac_cv_prog_RANLIB"; then
6945 ac_ct_RANLIB=$RANLIB
6946 # Extract the first word of "ranlib", so it can be a program name with args.
6947 set dummy ranlib; ac_word=$2
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6949 $as_echo_n "checking for $ac_word... " >&6; }
6950 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6951 $as_echo_n "(cached) " >&6
6953 if test -n "$ac_ct_RANLIB"; then
6954 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6960 test -z "$as_dir" && as_dir=.
6961 for ac_exec_ext in '' $ac_executable_extensions; do
6962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6963 ac_cv_prog_ac_ct_RANLIB="ranlib"
6964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6973 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6974 if test -n "$ac_ct_RANLIB"; then
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6976 $as_echo "$ac_ct_RANLIB" >&6; }
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6979 $as_echo "no" >&6; }
6982 if test "x$ac_ct_RANLIB" = x; then
6985 case $cross_compiling:$ac_tool_warned in
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6988 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6989 ac_tool_warned=yes ;;
6991 RANLIB=$ac_ct_RANLIB
6994 RANLIB="$ac_cv_prog_RANLIB"
6997 test -z "$RANLIB" && RANLIB=:
7004 # Determine commands to create old-style static archives.
7005 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7006 old_postinstall_cmds='chmod 644 $oldlib'
7007 old_postuninstall_cmds=
7009 if test -n "$RANLIB"; then
7012 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7015 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7018 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7023 lock_old_archive_extraction=yes ;;
7025 lock_old_archive_extraction=no ;;
7066 # If no C compiler was specified, use CC.
7069 # If no C compiler flags were specified, use CFLAGS.
7070 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7072 # Allow CC to be a program name with arguments.
7076 # Check for command to grab the raw symbol name followed by C symbol from nm.
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7078 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7079 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7080 $as_echo_n "(cached) " >&6
7083 # These are sane defaults that work on at least a few old systems.
7084 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7086 # Character class describing NM global symbol codes.
7087 symcode='[BCDEGRST]'
7089 # Regexp to match symbols that can be accessed directly from C.
7090 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7092 # Define system-specific variables.
7097 cygwin* | mingw* | pw32* | cegcc*)
7098 symcode='[ABCDGISTW]'
7101 if test "$host_cpu" = ia64; then
7102 symcode='[ABCDEGRST]'
7106 symcode='[BCDEGRST]'
7109 symcode='[BCDEGQRST]'
7120 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7128 # If we're using GNU nm, then use its standard symbol codes.
7129 case `$NM -V 2>&1` in
7130 *GNU* | *'with BFD'*)
7131 symcode='[ABCDGIRSTW]' ;;
7134 # Transform an extracted symbol line into a proper C declaration.
7135 # Some systems (esp. on ia64) link data and code symbols differently,
7136 # so use this general approach.
7137 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7139 # Transform an extracted symbol line into symbol name and symbol address
7140 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7141 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'"
7143 # Handle CRLF in mingw tool chain
7147 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7151 # Try without a prefix underscore, then with it.
7152 for ac_symprfx in "" "_"; do
7154 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7155 symxfrm="\\1 $ac_symprfx\\2 \\2"
7157 # Write the raw and C identifiers.
7158 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7159 # Fake it for dumpbin and say T for any non-static function
7160 # and D for any global variable.
7161 # Also find C++ and __fastcall symbols from MSVC++,
7162 # which start with @ or ?.
7163 lt_cv_sys_global_symbol_pipe="$AWK '"\
7164 " {last_section=section; section=\$ 3};"\
7165 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7166 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7167 " \$ 0!~/External *\|/{next};"\
7168 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7169 " {if(hide[section]) next};"\
7170 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7171 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7172 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7173 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7174 " ' prfx=^$ac_symprfx"
7176 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7178 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7180 # Check to see that the pipe works correctly.
7184 cat > conftest.$ac_ext <<_LT_EOF
7189 void nm_test_func(void);
7190 void nm_test_func(void){}
7194 int main(){nm_test_var='a';nm_test_func();return(0);}
7197 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7198 (eval $ac_compile) 2>&5
7200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7201 test $ac_status = 0; }; then
7202 # Now try to grab the symbols.
7204 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7205 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7208 test $ac_status = 0; } && test -s "$nlist"; then
7209 # Try sorting and uniquifying the output.
7210 if sort "$nlist" | uniq > "$nlist"T; then
7211 mv -f "$nlist"T "$nlist"
7216 # Make sure that we snagged all the symbols we need.
7217 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7218 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7219 cat <<_LT_EOF > conftest.$ac_ext
7220 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7221 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7222 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7223 relocations are performed -- see ld's documentation on pseudo-relocs. */
7224 # define LT_DLSYM_CONST
7225 #elif defined(__osf__)
7226 /* This system does not cope well with relocations in const data. */
7227 # define LT_DLSYM_CONST
7229 # define LT_DLSYM_CONST const
7237 # Now generate the symbol file.
7238 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7240 cat <<_LT_EOF >> conftest.$ac_ext
7242 /* The mapping between symbol names and symbols. */
7243 LT_DLSYM_CONST struct {
7247 lt__PROGRAM__LTX_preloaded_symbols[] =
7249 { "@PROGRAM@", (void *) 0 },
7251 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7252 cat <<\_LT_EOF >> conftest.$ac_ext
7256 /* This works around a problem in FreeBSD linker */
7257 #ifdef FREEBSD_WORKAROUND
7258 static const void *lt_preloaded_setup() {
7259 return lt__PROGRAM__LTX_preloaded_symbols;
7267 # Now try linking the two files.
7268 mv conftest.$ac_objext conftstm.$ac_objext
7269 lt_globsym_save_LIBS=$LIBS
7270 lt_globsym_save_CFLAGS=$CFLAGS
7271 LIBS="conftstm.$ac_objext"
7272 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7273 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7274 (eval $ac_link) 2>&5
7276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7277 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7280 LIBS=$lt_globsym_save_LIBS
7281 CFLAGS=$lt_globsym_save_CFLAGS
7283 echo "cannot find nm_test_func in $nlist" >&5
7286 echo "cannot find nm_test_var in $nlist" >&5
7289 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7292 echo "$progname: failed program was:" >&5
7293 cat conftest.$ac_ext >&5
7295 rm -rf conftest* conftst*
7297 # Do not use the global_symbol_pipe unless it works.
7298 if test "$pipe_works" = yes; then
7301 lt_cv_sys_global_symbol_pipe=
7307 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7308 lt_cv_sys_global_symbol_to_cdecl=
7310 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7312 $as_echo "failed" >&6; }
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7315 $as_echo "ok" >&6; }
7318 # Response file support.
7319 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7320 nm_file_list_spec='@'
7321 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7322 nm_file_list_spec='@'
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7352 $as_echo_n "checking for sysroot... " >&6; }
7354 # Check whether --with-sysroot was given.
7355 if test "${with_sysroot+set}" = set; then :
7356 withval=$with_sysroot;
7363 case ${with_sysroot} in #(
7365 if test "$GCC" = yes; then
7366 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7370 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7376 $as_echo "${with_sysroot}" >&6; }
7377 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7382 $as_echo "${lt_sysroot:-no}" >&6; }
7388 # Check whether --enable-libtool-lock was given.
7389 if test "${enable_libtool_lock+set}" = set; then :
7390 enableval=$enable_libtool_lock;
7393 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7395 # Some flags need to be propagated to the compiler or linker for good
7399 # Find out which ABI we are using.
7400 echo 'int i;' > conftest.$ac_ext
7401 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7402 (eval $ac_compile) 2>&5
7404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7405 test $ac_status = 0; }; then
7406 case `/usr/bin/file conftest.$ac_objext` in
7418 # Find out which ABI we are using.
7419 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7420 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7421 (eval $ac_compile) 2>&5
7423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7424 test $ac_status = 0; }; then
7425 if test "$lt_cv_prog_gnu_ld" = yes; then
7426 case `/usr/bin/file conftest.$ac_objext` in
7428 LD="${LD-ld} -melf32bsmip"
7431 LD="${LD-ld} -melf32bmipn32"
7434 LD="${LD-ld} -melf64bmip"
7438 case `/usr/bin/file conftest.$ac_objext` in
7454 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7455 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7456 # Find out which ABI we are using.
7457 echo 'int i;' > conftest.$ac_ext
7458 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7459 (eval $ac_compile) 2>&5
7461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7462 test $ac_status = 0; }; then
7463 case `/usr/bin/file conftest.o` in
7466 x86_64-*kfreebsd*-gnu)
7467 LD="${LD-ld} -m elf_i386_fbsd"
7470 LD="${LD-ld} -m elf_i386"
7472 ppc64-*linux*|powerpc64-*linux*)
7473 LD="${LD-ld} -m elf32ppclinux"
7476 LD="${LD-ld} -m elf_s390"
7479 LD="${LD-ld} -m elf32_sparc"
7485 x86_64-*kfreebsd*-gnu)
7486 LD="${LD-ld} -m elf_x86_64_fbsd"
7489 LD="${LD-ld} -m elf_x86_64"
7491 ppc*-*linux*|powerpc*-*linux*)
7492 LD="${LD-ld} -m elf64ppc"
7494 s390*-*linux*|s390*-*tpf*)
7495 LD="${LD-ld} -m elf64_s390"
7498 LD="${LD-ld} -m elf64_sparc"
7508 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7509 SAVE_CFLAGS="$CFLAGS"
7510 CFLAGS="$CFLAGS -belf"
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7512 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7513 if ${lt_cv_cc_needs_belf+:} false; then :
7514 $as_echo_n "(cached) " >&6
7517 ac_cpp='$CPP $CPPFLAGS'
7518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7523 /* end confdefs.h. */
7533 if ac_fn_c_try_link "$LINENO"; then :
7534 lt_cv_cc_needs_belf=yes
7536 lt_cv_cc_needs_belf=no
7538 rm -f core conftest.err conftest.$ac_objext \
7539 conftest$ac_exeext conftest.$ac_ext
7541 ac_cpp='$CPP $CPPFLAGS'
7542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7548 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7549 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7550 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7551 CFLAGS="$SAVE_CFLAGS"
7555 # Find out which ABI we are using.
7556 echo 'int i;' > conftest.$ac_ext
7557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7558 (eval $ac_compile) 2>&5
7560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7561 test $ac_status = 0; }; then
7562 case `/usr/bin/file conftest.o` in
7564 case $lt_cv_prog_gnu_ld in
7568 LD="${LD-ld} -m elf_x86_64"
7571 LD="${LD-ld} -m elf64_sparc"
7574 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7575 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7580 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7592 need_locks="$enable_libtool_lock"
7594 if test -n "$ac_tool_prefix"; then
7595 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7596 set dummy ${ac_tool_prefix}mt; ac_word=$2
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7598 $as_echo_n "checking for $ac_word... " >&6; }
7599 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7600 $as_echo_n "(cached) " >&6
7602 if test -n "$MANIFEST_TOOL"; then
7603 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7609 test -z "$as_dir" && as_dir=.
7610 for ac_exec_ext in '' $ac_executable_extensions; do
7611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7612 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7622 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7623 if test -n "$MANIFEST_TOOL"; then
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7625 $as_echo "$MANIFEST_TOOL" >&6; }
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7628 $as_echo "no" >&6; }
7633 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7634 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7635 # Extract the first word of "mt", so it can be a program name with args.
7636 set dummy mt; ac_word=$2
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7638 $as_echo_n "checking for $ac_word... " >&6; }
7639 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7640 $as_echo_n "(cached) " >&6
7642 if test -n "$ac_ct_MANIFEST_TOOL"; then
7643 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7649 test -z "$as_dir" && as_dir=.
7650 for ac_exec_ext in '' $ac_executable_extensions; do
7651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7652 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7662 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7663 if test -n "$ac_ct_MANIFEST_TOOL"; then
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7665 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7668 $as_echo "no" >&6; }
7671 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7674 case $cross_compiling:$ac_tool_warned in
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7677 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7678 ac_tool_warned=yes ;;
7680 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7683 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7686 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7688 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7689 if ${lt_cv_path_mainfest_tool+:} false; then :
7690 $as_echo_n "(cached) " >&6
7692 lt_cv_path_mainfest_tool=no
7693 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7694 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7695 cat conftest.err >&5
7696 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7697 lt_cv_path_mainfest_tool=yes
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7702 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7703 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7713 rhapsody* | darwin*)
7714 if test -n "$ac_tool_prefix"; then
7715 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7716 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7718 $as_echo_n "checking for $ac_word... " >&6; }
7719 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7720 $as_echo_n "(cached) " >&6
7722 if test -n "$DSYMUTIL"; then
7723 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # 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_DSYMUTIL="${ac_tool_prefix}dsymutil"
7733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7742 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7743 if test -n "$DSYMUTIL"; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7745 $as_echo "$DSYMUTIL" >&6; }
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7748 $as_echo "no" >&6; }
7753 if test -z "$ac_cv_prog_DSYMUTIL"; then
7754 ac_ct_DSYMUTIL=$DSYMUTIL
7755 # Extract the first word of "dsymutil", so it can be a program name with args.
7756 set dummy dsymutil; ac_word=$2
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7758 $as_echo_n "checking for $ac_word... " >&6; }
7759 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7760 $as_echo_n "(cached) " >&6
7762 if test -n "$ac_ct_DSYMUTIL"; then
7763 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7769 test -z "$as_dir" && as_dir=.
7770 for ac_exec_ext in '' $ac_executable_extensions; do
7771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7772 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7782 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7783 if test -n "$ac_ct_DSYMUTIL"; then
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7785 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7788 $as_echo "no" >&6; }
7791 if test "x$ac_ct_DSYMUTIL" = x; then
7794 case $cross_compiling:$ac_tool_warned in
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7797 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7798 ac_tool_warned=yes ;;
7800 DSYMUTIL=$ac_ct_DSYMUTIL
7803 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7806 if test -n "$ac_tool_prefix"; then
7807 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7808 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7810 $as_echo_n "checking for $ac_word... " >&6; }
7811 if ${ac_cv_prog_NMEDIT+:} false; then :
7812 $as_echo_n "(cached) " >&6
7814 if test -n "$NMEDIT"; then
7815 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7821 test -z "$as_dir" && as_dir=.
7822 for ac_exec_ext in '' $ac_executable_extensions; do
7823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7824 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7834 NMEDIT=$ac_cv_prog_NMEDIT
7835 if test -n "$NMEDIT"; then
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7837 $as_echo "$NMEDIT" >&6; }
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7840 $as_echo "no" >&6; }
7845 if test -z "$ac_cv_prog_NMEDIT"; then
7846 ac_ct_NMEDIT=$NMEDIT
7847 # Extract the first word of "nmedit", so it can be a program name with args.
7848 set dummy nmedit; ac_word=$2
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7850 $as_echo_n "checking for $ac_word... " >&6; }
7851 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7852 $as_echo_n "(cached) " >&6
7854 if test -n "$ac_ct_NMEDIT"; then
7855 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7861 test -z "$as_dir" && as_dir=.
7862 for ac_exec_ext in '' $ac_executable_extensions; do
7863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7864 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7874 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7875 if test -n "$ac_ct_NMEDIT"; then
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7877 $as_echo "$ac_ct_NMEDIT" >&6; }
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7880 $as_echo "no" >&6; }
7883 if test "x$ac_ct_NMEDIT" = x; then
7886 case $cross_compiling:$ac_tool_warned in
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7890 ac_tool_warned=yes ;;
7892 NMEDIT=$ac_ct_NMEDIT
7895 NMEDIT="$ac_cv_prog_NMEDIT"
7898 if test -n "$ac_tool_prefix"; then
7899 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7900 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7902 $as_echo_n "checking for $ac_word... " >&6; }
7903 if ${ac_cv_prog_LIPO+:} false; then :
7904 $as_echo_n "(cached) " >&6
7906 if test -n "$LIPO"; then
7907 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7913 test -z "$as_dir" && as_dir=.
7914 for ac_exec_ext in '' $ac_executable_extensions; do
7915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7916 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7926 LIPO=$ac_cv_prog_LIPO
7927 if test -n "$LIPO"; then
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7929 $as_echo "$LIPO" >&6; }
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7932 $as_echo "no" >&6; }
7937 if test -z "$ac_cv_prog_LIPO"; then
7939 # Extract the first word of "lipo", so it can be a program name with args.
7940 set dummy lipo; ac_word=$2
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7942 $as_echo_n "checking for $ac_word... " >&6; }
7943 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7944 $as_echo_n "(cached) " >&6
7946 if test -n "$ac_ct_LIPO"; then
7947 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7953 test -z "$as_dir" && as_dir=.
7954 for ac_exec_ext in '' $ac_executable_extensions; do
7955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7956 ac_cv_prog_ac_ct_LIPO="lipo"
7957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7966 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7967 if test -n "$ac_ct_LIPO"; then
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7969 $as_echo "$ac_ct_LIPO" >&6; }
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7972 $as_echo "no" >&6; }
7975 if test "x$ac_ct_LIPO" = x; then
7978 case $cross_compiling:$ac_tool_warned in
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7982 ac_tool_warned=yes ;;
7987 LIPO="$ac_cv_prog_LIPO"
7990 if test -n "$ac_tool_prefix"; then
7991 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7992 set dummy ${ac_tool_prefix}otool; ac_word=$2
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7994 $as_echo_n "checking for $ac_word... " >&6; }
7995 if ${ac_cv_prog_OTOOL+:} false; then :
7996 $as_echo_n "(cached) " >&6
7998 if test -n "$OTOOL"; then
7999 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8005 test -z "$as_dir" && as_dir=.
8006 for ac_exec_ext in '' $ac_executable_extensions; do
8007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8008 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8018 OTOOL=$ac_cv_prog_OTOOL
8019 if test -n "$OTOOL"; then
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8021 $as_echo "$OTOOL" >&6; }
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8024 $as_echo "no" >&6; }
8029 if test -z "$ac_cv_prog_OTOOL"; then
8031 # Extract the first word of "otool", so it can be a program name with args.
8032 set dummy otool; ac_word=$2
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8034 $as_echo_n "checking for $ac_word... " >&6; }
8035 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8036 $as_echo_n "(cached) " >&6
8038 if test -n "$ac_ct_OTOOL"; then
8039 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8045 test -z "$as_dir" && as_dir=.
8046 for ac_exec_ext in '' $ac_executable_extensions; do
8047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8048 ac_cv_prog_ac_ct_OTOOL="otool"
8049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8058 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8059 if test -n "$ac_ct_OTOOL"; then
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8061 $as_echo "$ac_ct_OTOOL" >&6; }
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8064 $as_echo "no" >&6; }
8067 if test "x$ac_ct_OTOOL" = x; then
8070 case $cross_compiling:$ac_tool_warned in
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8074 ac_tool_warned=yes ;;
8079 OTOOL="$ac_cv_prog_OTOOL"
8082 if test -n "$ac_tool_prefix"; then
8083 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8084 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8086 $as_echo_n "checking for $ac_word... " >&6; }
8087 if ${ac_cv_prog_OTOOL64+:} false; then :
8088 $as_echo_n "(cached) " >&6
8090 if test -n "$OTOOL64"; then
8091 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8097 test -z "$as_dir" && as_dir=.
8098 for ac_exec_ext in '' $ac_executable_extensions; do
8099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8100 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8110 OTOOL64=$ac_cv_prog_OTOOL64
8111 if test -n "$OTOOL64"; then
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8113 $as_echo "$OTOOL64" >&6; }
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8116 $as_echo "no" >&6; }
8121 if test -z "$ac_cv_prog_OTOOL64"; then
8122 ac_ct_OTOOL64=$OTOOL64
8123 # Extract the first word of "otool64", so it can be a program name with args.
8124 set dummy otool64; ac_word=$2
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8126 $as_echo_n "checking for $ac_word... " >&6; }
8127 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8128 $as_echo_n "(cached) " >&6
8130 if test -n "$ac_ct_OTOOL64"; then
8131 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8137 test -z "$as_dir" && as_dir=.
8138 for ac_exec_ext in '' $ac_executable_extensions; do
8139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8140 ac_cv_prog_ac_ct_OTOOL64="otool64"
8141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8150 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8151 if test -n "$ac_ct_OTOOL64"; then
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8153 $as_echo "$ac_ct_OTOOL64" >&6; }
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8156 $as_echo "no" >&6; }
8159 if test "x$ac_ct_OTOOL64" = x; then
8162 case $cross_compiling:$ac_tool_warned in
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8165 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8166 ac_tool_warned=yes ;;
8168 OTOOL64=$ac_ct_OTOOL64
8171 OTOOL64="$ac_cv_prog_OTOOL64"
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8201 $as_echo_n "checking for -single_module linker flag... " >&6; }
8202 if ${lt_cv_apple_cc_single_mod+:} false; then :
8203 $as_echo_n "(cached) " >&6
8205 lt_cv_apple_cc_single_mod=no
8206 if test -z "${LT_MULTI_MODULE}"; then
8207 # By default we will add the -single_module flag. You can override
8208 # by either setting the environment variable LT_MULTI_MODULE
8209 # non-empty at configure time, or by adding -multi_module to the
8211 rm -rf libconftest.dylib*
8212 echo "int foo(void){return 1;}" > conftest.c
8213 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8214 -dynamiclib -Wl,-single_module conftest.c" >&5
8215 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8216 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8218 # If there is a non-empty error log, and "single_module"
8219 # appears in it, assume the flag caused a linker warning
8220 if test -s conftest.err && $GREP single_module conftest.err; then
8221 cat conftest.err >&5
8222 # Otherwise, if the output was created with a 0 exit code from
8223 # the compiler, it worked.
8224 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8225 lt_cv_apple_cc_single_mod=yes
8227 cat conftest.err >&5
8229 rm -rf libconftest.dylib*
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8234 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8237 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8238 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8239 $as_echo_n "(cached) " >&6
8241 lt_cv_ld_exported_symbols_list=no
8242 save_LDFLAGS=$LDFLAGS
8243 echo "_main" > conftest.sym
8244 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8246 /* end confdefs.h. */
8256 if ac_fn_c_try_link "$LINENO"; then :
8257 lt_cv_ld_exported_symbols_list=yes
8259 lt_cv_ld_exported_symbols_list=no
8261 rm -f core conftest.err conftest.$ac_objext \
8262 conftest$ac_exeext conftest.$ac_ext
8263 LDFLAGS="$save_LDFLAGS"
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8267 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8270 $as_echo_n "checking for -force_load linker flag... " >&6; }
8271 if ${lt_cv_ld_force_load+:} false; then :
8272 $as_echo_n "(cached) " >&6
8274 lt_cv_ld_force_load=no
8275 cat > conftest.c << _LT_EOF
8276 int forced_loaded() { return 2;}
8278 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8279 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8280 echo "$AR cru libconftest.a conftest.o" >&5
8281 $AR cru libconftest.a conftest.o 2>&5
8282 echo "$RANLIB libconftest.a" >&5
8283 $RANLIB libconftest.a 2>&5
8284 cat > conftest.c << _LT_EOF
8285 int main() { return 0;}
8287 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8288 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8290 if test -s conftest.err && $GREP force_load conftest.err; then
8291 cat conftest.err >&5
8292 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8293 lt_cv_ld_force_load=yes
8295 cat conftest.err >&5
8297 rm -f conftest.err libconftest.a conftest conftest.c
8298 rm -rf conftest.dSYM
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8302 $as_echo "$lt_cv_ld_force_load" >&6; }
8304 rhapsody* | darwin1.[012])
8305 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8307 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8308 darwin*) # darwin 5.x on
8309 # if running on 10.5 or later, the deployment target defaults
8310 # to the OS version, if on x86, and 10.4, the deployment
8311 # target defaults to 10.4. Don't you love it?
8312 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8313 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8314 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8316 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8318 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8322 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8323 _lt_dar_single_mod='$single_module'
8325 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8326 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8328 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8330 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8331 _lt_dsymutil='~$DSYMUTIL $lib || :'
8339 ac_cpp='$CPP $CPPFLAGS'
8340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8344 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8345 # On Suns, sometimes $CPP names a directory.
8346 if test -n "$CPP" && test -d "$CPP"; then
8349 if test -z "$CPP"; then
8350 if ${ac_cv_prog_CPP+:} false; then :
8351 $as_echo_n "(cached) " >&6
8353 # Double quotes because CPP needs to be expanded
8354 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8357 for ac_c_preproc_warn_flag in '' yes
8359 # Use a header file that comes with gcc, so configuring glibc
8360 # with a fresh cross-compiler works.
8361 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8362 # <limits.h> exists even on freestanding compilers.
8363 # On the NeXT, cc -E runs the code through the compiler's parser,
8364 # not just through cpp. "Syntax error" is here to catch this case.
8365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8366 /* end confdefs.h. */
8368 # include <limits.h>
8370 # include <assert.h>
8374 if ac_fn_c_try_cpp "$LINENO"; then :
8377 # Broken: fails on valid input.
8380 rm -f conftest.err conftest.i conftest.$ac_ext
8382 # OK, works on sane cases. Now check whether nonexistent headers
8383 # can be detected and how.
8384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8385 /* end confdefs.h. */
8386 #include <ac_nonexistent.h>
8388 if ac_fn_c_try_cpp "$LINENO"; then :
8389 # Broken: success on invalid input.
8392 # Passes both tests.
8396 rm -f conftest.err conftest.i conftest.$ac_ext
8399 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8400 rm -f conftest.i conftest.err conftest.$ac_ext
8401 if $ac_preproc_ok; then :
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8414 $as_echo "$CPP" >&6; }
8416 for ac_c_preproc_warn_flag in '' yes
8418 # Use a header file that comes with gcc, so configuring glibc
8419 # with a fresh cross-compiler works.
8420 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8421 # <limits.h> exists even on freestanding compilers.
8422 # On the NeXT, cc -E runs the code through the compiler's parser,
8423 # not just through cpp. "Syntax error" is here to catch this case.
8424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8427 # include <limits.h>
8429 # include <assert.h>
8433 if ac_fn_c_try_cpp "$LINENO"; then :
8436 # Broken: fails on valid input.
8439 rm -f conftest.err conftest.i conftest.$ac_ext
8441 # OK, works on sane cases. Now check whether nonexistent headers
8442 # can be detected and how.
8443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8444 /* end confdefs.h. */
8445 #include <ac_nonexistent.h>
8447 if ac_fn_c_try_cpp "$LINENO"; then :
8448 # Broken: success on invalid input.
8451 # Passes both tests.
8455 rm -f conftest.err conftest.i conftest.$ac_ext
8458 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8459 rm -f conftest.i conftest.err conftest.$ac_ext
8460 if $ac_preproc_ok; then :
8463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8465 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8466 See \`config.log' for more details" "$LINENO" 5; }
8470 ac_cpp='$CPP $CPPFLAGS'
8471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8477 $as_echo_n "checking for ANSI C header files... " >&6; }
8478 if ${ac_cv_header_stdc+:} false; then :
8479 $as_echo_n "(cached) " >&6
8481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8496 if ac_fn_c_try_compile "$LINENO"; then :
8497 ac_cv_header_stdc=yes
8499 ac_cv_header_stdc=no
8501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8503 if test $ac_cv_header_stdc = yes; then
8504 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8506 /* end confdefs.h. */
8510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8511 $EGREP "memchr" >/dev/null 2>&1; then :
8514 ac_cv_header_stdc=no
8520 if test $ac_cv_header_stdc = yes; then
8521 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8523 /* end confdefs.h. */
8527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8528 $EGREP "free" >/dev/null 2>&1; then :
8531 ac_cv_header_stdc=no
8537 if test $ac_cv_header_stdc = yes; then
8538 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8539 if test "$cross_compiling" = yes; then :
8542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8543 /* end confdefs.h. */
8546 #if ((' ' & 0x0FF) == 0x020)
8547 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8548 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8550 # define ISLOWER(c) \
8551 (('a' <= (c) && (c) <= 'i') \
8552 || ('j' <= (c) && (c) <= 'r') \
8553 || ('s' <= (c) && (c) <= 'z'))
8554 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8557 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8562 for (i = 0; i < 256; i++)
8563 if (XOR (islower (i), ISLOWER (i))
8564 || toupper (i) != TOUPPER (i))
8569 if ac_fn_c_try_run "$LINENO"; then :
8572 ac_cv_header_stdc=no
8574 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8575 conftest.$ac_objext conftest.beam conftest.$ac_ext
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8581 $as_echo "$ac_cv_header_stdc" >&6; }
8582 if test $ac_cv_header_stdc = yes; then
8584 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8588 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8589 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8590 inttypes.h stdint.h unistd.h
8592 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8593 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8595 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8596 cat >>confdefs.h <<_ACEOF
8597 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8605 for ac_header in dlfcn.h
8607 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8609 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8610 cat >>confdefs.h <<_ACEOF
8611 #define HAVE_DLFCN_H 1
8630 # Check whether --enable-shared was given.
8631 if test "${enable_shared+set}" = set; then :
8632 enableval=$enable_shared; p=${PACKAGE-default}
8634 yes) enable_shared=yes ;;
8635 no) enable_shared=no ;;
8638 # Look at the argument we got. We use all the common list separators.
8639 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8640 for pkg in $enableval; do
8642 if test "X$pkg" = "X$p"; then
8661 # Check whether --enable-static was given.
8662 if test "${enable_static+set}" = set; then :
8663 enableval=$enable_static; p=${PACKAGE-default}
8665 yes) enable_static=yes ;;
8666 no) enable_static=no ;;
8669 # Look at the argument we got. We use all the common list separators.
8670 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8671 for pkg in $enableval; do
8673 if test "X$pkg" = "X$p"; then
8693 # Check whether --with-pic was given.
8694 if test "${with_pic+set}" = set; then :
8695 withval=$with_pic; lt_p=${PACKAGE-default}
8697 yes|no) pic_mode=$withval ;;
8700 # Look at the argument we got. We use all the common list separators.
8701 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8702 for lt_pkg in $withval; do
8704 if test "X$lt_pkg" = "X$lt_p"; then
8716 test -z "$pic_mode" && pic_mode=default
8724 # Check whether --enable-fast-install was given.
8725 if test "${enable_fast_install+set}" = set; then :
8726 enableval=$enable_fast_install; p=${PACKAGE-default}
8728 yes) enable_fast_install=yes ;;
8729 no) enable_fast_install=no ;;
8731 enable_fast_install=no
8732 # Look at the argument we got. We use all the common list separators.
8733 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8734 for pkg in $enableval; do
8736 if test "X$pkg" = "X$p"; then
8737 enable_fast_install=yes
8744 enable_fast_install=yes
8757 # This can be used to rebuild libtool when needed
8758 LIBTOOL_DEPS="$ltmain"
8760 # Always use our own libtool.
8761 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8792 test -z "$LN_S" && LN_S="ln -s"
8807 if test -n "${ZSH_VERSION+set}" ; then
8808 setopt NO_GLOB_SUBST
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8812 $as_echo_n "checking for objdir... " >&6; }
8813 if ${lt_cv_objdir+:} false; then :
8814 $as_echo_n "(cached) " >&6
8816 rm -f .libs 2>/dev/null
8817 mkdir .libs 2>/dev/null
8818 if test -d .libs; then
8821 # MS-DOS does not allow filenames that begin with a dot.
8824 rmdir .libs 2>/dev/null
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8827 $as_echo "$lt_cv_objdir" >&6; }
8828 objdir=$lt_cv_objdir
8834 cat >>confdefs.h <<_ACEOF
8835 #define LT_OBJDIR "$lt_cv_objdir/"
8843 # AIX sometimes has problems with the GCC collect2 program. For some
8844 # reason, if we set the COLLECT_NAMES environment variable, the problems
8845 # vanish in a puff of smoke.
8846 if test "X${COLLECT_NAMES+set}" != Xset; then
8848 export COLLECT_NAMES
8855 can_build_shared=yes
8857 # All known linkers require a `.a' archive for static linking (except MSVC,
8858 # which needs '.lib').
8861 with_gnu_ld="$lt_cv_prog_gnu_ld"
8864 old_CFLAGS="$CFLAGS"
8866 # Set sane defaults for various variables
8867 test -z "$CC" && CC=cc
8868 test -z "$LTCC" && LTCC=$CC
8869 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8870 test -z "$LD" && LD=ld
8871 test -z "$ac_objext" && ac_objext=o
8873 for cc_temp in $compiler""; do
8875 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8876 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8881 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8884 # Only perform the check for file, if the check method requires it
8885 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8886 case $deplibs_check_method in
8888 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8890 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8891 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8892 $as_echo_n "(cached) " >&6
8896 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8899 lt_save_MAGIC_CMD="$MAGIC_CMD"
8900 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8901 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8902 for ac_dir in $ac_dummy; do
8904 test -z "$ac_dir" && ac_dir=.
8905 if test -f $ac_dir/${ac_tool_prefix}file; then
8906 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8907 if test -n "$file_magic_test_file"; then
8908 case $deplibs_check_method in
8910 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8911 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8912 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8913 $EGREP "$file_magic_regex" > /dev/null; then
8918 *** Warning: the command libtool uses to detect shared libraries,
8919 *** $file_magic_cmd, produces output that libtool cannot recognize.
8920 *** The result is that libtool may fail to recognize shared libraries
8921 *** as such. This will affect the creation of libtool libraries that
8922 *** depend on shared libraries, but programs linked with such libtool
8923 *** libraries will work regardless of this problem. Nevertheless, you
8924 *** may want to report the problem to your system manager and/or to
8925 *** bug-libtool@gnu.org
8935 MAGIC_CMD="$lt_save_MAGIC_CMD"
8940 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8941 if test -n "$MAGIC_CMD"; then
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8943 $as_echo "$MAGIC_CMD" >&6; }
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8946 $as_echo "no" >&6; }
8953 if test -z "$lt_cv_path_MAGIC_CMD"; then
8954 if test -n "$ac_tool_prefix"; then
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8956 $as_echo_n "checking for file... " >&6; }
8957 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8958 $as_echo_n "(cached) " >&6
8962 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8965 lt_save_MAGIC_CMD="$MAGIC_CMD"
8966 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8967 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8968 for ac_dir in $ac_dummy; do
8970 test -z "$ac_dir" && ac_dir=.
8971 if test -f $ac_dir/file; then
8972 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8973 if test -n "$file_magic_test_file"; then
8974 case $deplibs_check_method in
8976 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8977 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8978 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8979 $EGREP "$file_magic_regex" > /dev/null; then
8984 *** Warning: the command libtool uses to detect shared libraries,
8985 *** $file_magic_cmd, produces output that libtool cannot recognize.
8986 *** The result is that libtool may fail to recognize shared libraries
8987 *** as such. This will affect the creation of libtool libraries that
8988 *** depend on shared libraries, but programs linked with such libtool
8989 *** libraries will work regardless of this problem. Nevertheless, you
8990 *** may want to report the problem to your system manager and/or to
8991 *** bug-libtool@gnu.org
9001 MAGIC_CMD="$lt_save_MAGIC_CMD"
9006 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9007 if test -n "$MAGIC_CMD"; then
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9009 $as_echo "$MAGIC_CMD" >&6; }
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9012 $as_echo "no" >&6; }
9025 # Use C for the default configuration in the libtool script
9029 ac_cpp='$CPP $CPPFLAGS'
9030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9035 # Source file extension for C test sources.
9038 # Object file extension for compiled C test sources.
9042 # Code to be used in simple compile tests
9043 lt_simple_compile_test_code="int some_variable = 0;"
9045 # Code to be used in simple link tests
9046 lt_simple_link_test_code='int main(){return(0);}'
9054 # If no C compiler was specified, use CC.
9057 # If no C compiler flags were specified, use CFLAGS.
9058 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9060 # Allow CC to be a program name with arguments.
9063 # Save the default compiler, since it gets overwritten when the other
9064 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9065 compiler_DEFAULT=$CC
9067 # save warnings/boilerplate of simple test code
9068 ac_outfile=conftest.$ac_objext
9069 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9070 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9071 _lt_compiler_boilerplate=`cat conftest.err`
9074 ac_outfile=conftest.$ac_objext
9075 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9076 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9077 _lt_linker_boilerplate=`cat conftest.err`
9082 ## There is no encapsulation within the following macros, do not change
9083 ## the running order or otherwise move them around unless you know exactly
9084 ## what you are doing...
9085 if test -n "$compiler"; then
9087 lt_prog_compiler_no_builtin_flag=
9089 if test "$GCC" = yes; then
9090 case $cc_basename in
9092 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9094 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9098 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9099 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9100 $as_echo_n "(cached) " >&6
9102 lt_cv_prog_compiler_rtti_exceptions=no
9103 ac_outfile=conftest.$ac_objext
9104 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9105 lt_compiler_flag="-fno-rtti -fno-exceptions"
9106 # Insert the option either (1) after the last *FLAGS variable, or
9107 # (2) before a word containing "conftest.", or (3) at the end.
9108 # Note that $ac_compile itself does not contain backslashes and begins
9109 # with a dollar sign (not a hyphen), so the echo should work correctly.
9110 # The option is referenced via a variable to avoid confusing sed.
9111 lt_compile=`echo "$ac_compile" | $SED \
9112 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9113 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9114 -e 's:$: $lt_compiler_flag:'`
9115 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9116 (eval "$lt_compile" 2>conftest.err)
9118 cat conftest.err >&5
9119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9120 if (exit $ac_status) && test -s "$ac_outfile"; then
9121 # The compiler can only warn and ignore the option if not recognized
9122 # So say no if there are warnings other than the usual output.
9123 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9124 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9125 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9126 lt_cv_prog_compiler_rtti_exceptions=yes
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9133 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9135 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9136 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9148 lt_prog_compiler_wl=
9149 lt_prog_compiler_pic=
9150 lt_prog_compiler_static=
9153 if test "$GCC" = yes; then
9154 lt_prog_compiler_wl='-Wl,'
9155 lt_prog_compiler_static='-static'
9159 # All AIX code is PIC.
9160 if test "$host_cpu" = ia64; then
9161 # AIX 5 now supports IA64 processor
9162 lt_prog_compiler_static='-Bstatic'
9169 # see comment about AmigaOS4 .so support
9170 lt_prog_compiler_pic='-fPIC'
9173 # FIXME: we need at least 68020 code to build shared libraries, but
9174 # adding the `-m68020' flag to GCC prevents building anything better,
9176 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9181 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9182 # PIC is the default for these OSes.
9185 mingw* | cygwin* | pw32* | os2* | cegcc*)
9186 # This hack is so that the source file can tell whether it is being
9187 # built for inclusion in a dll (and should export symbols for example).
9188 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9189 # (--disable-auto-import) libraries
9190 lt_prog_compiler_pic='-DDLL_EXPORT'
9193 darwin* | rhapsody*)
9194 # PIC is the default on this platform
9195 # Common symbols not allowed in MH_DYLIB files
9196 lt_prog_compiler_pic='-fno-common'
9200 # PIC is the default for Haiku.
9201 # The "-static" flag exists, but is broken.
9202 lt_prog_compiler_static=
9206 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9207 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9208 # sets the default TLS model and affects inlining.
9214 lt_prog_compiler_pic='-fPIC'
9220 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9221 # Instead, we relocate shared libraries at runtime.
9225 # Just because we use GCC doesn't mean we suddenly get shared libraries
9226 # on systems that don't support them.
9227 lt_prog_compiler_can_build_shared=no
9232 # QNX uses GNU C++, but need to define -shared option too, otherwise
9234 lt_prog_compiler_pic='-fPIC -shared'
9238 if test -d /usr/nec; then
9239 lt_prog_compiler_pic=-Kconform_pic
9244 lt_prog_compiler_pic='-fPIC'
9248 case $cc_basename in
9249 nvcc*) # Cuda Compiler Driver 2.2
9250 lt_prog_compiler_wl='-Xlinker '
9251 if test -n "$lt_prog_compiler_pic"; then
9252 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9257 # PORTME Check for flag to pass linker flags through the system compiler.
9260 lt_prog_compiler_wl='-Wl,'
9261 if test "$host_cpu" = ia64; then
9262 # AIX 5 now supports IA64 processor
9263 lt_prog_compiler_static='-Bstatic'
9265 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9269 mingw* | cygwin* | pw32* | os2* | cegcc*)
9270 # This hack is so that the source file can tell whether it is being
9271 # built for inclusion in a dll (and should export symbols for example).
9272 lt_prog_compiler_pic='-DDLL_EXPORT'
9275 hpux9* | hpux10* | hpux11*)
9276 lt_prog_compiler_wl='-Wl,'
9277 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9284 lt_prog_compiler_pic='+Z'
9287 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9288 lt_prog_compiler_static='${wl}-a ${wl}archive'
9291 irix5* | irix6* | nonstopux*)
9292 lt_prog_compiler_wl='-Wl,'
9293 # PIC (with -KPIC) is the default.
9294 lt_prog_compiler_static='-non_shared'
9297 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9298 case $cc_basename in
9299 # old Intel for x86_64 which still supported -KPIC.
9301 lt_prog_compiler_wl='-Wl,'
9302 lt_prog_compiler_pic='-KPIC'
9303 lt_prog_compiler_static='-static'
9305 # icc used to be incompatible with GCC.
9306 # ICC 10 doesn't accept -KPIC any more.
9308 lt_prog_compiler_wl='-Wl,'
9309 lt_prog_compiler_pic='-fPIC'
9310 lt_prog_compiler_static='-static'
9312 # Lahey Fortran 8.1.
9314 lt_prog_compiler_wl='-Wl,'
9315 lt_prog_compiler_pic='--shared'
9316 lt_prog_compiler_static='--static'
9319 # NAG Fortran compiler
9320 lt_prog_compiler_wl='-Wl,-Wl,,'
9321 lt_prog_compiler_pic='-PIC'
9322 lt_prog_compiler_static='-Bstatic'
9324 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9325 # Portland Group compilers (*not* the Pentium gcc compiler,
9326 # which looks to be a dead project)
9327 lt_prog_compiler_wl='-Wl,'
9328 lt_prog_compiler_pic='-fpic'
9329 lt_prog_compiler_static='-Bstatic'
9332 lt_prog_compiler_wl='-Wl,'
9333 # All Alpha code is PIC.
9334 lt_prog_compiler_static='-non_shared'
9336 xl* | bgxl* | bgf* | mpixl*)
9337 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9338 lt_prog_compiler_wl='-Wl,'
9339 lt_prog_compiler_pic='-qpic'
9340 lt_prog_compiler_static='-qstaticlink'
9343 case `$CC -V 2>&1 | sed 5q` in
9344 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9345 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9346 lt_prog_compiler_pic='-KPIC'
9347 lt_prog_compiler_static='-Bstatic'
9348 lt_prog_compiler_wl=''
9350 *Sun\ F* | *Sun*Fortran*)
9351 lt_prog_compiler_pic='-KPIC'
9352 lt_prog_compiler_static='-Bstatic'
9353 lt_prog_compiler_wl='-Qoption ld '
9357 lt_prog_compiler_pic='-KPIC'
9358 lt_prog_compiler_static='-Bstatic'
9359 lt_prog_compiler_wl='-Wl,'
9361 *Intel*\ [CF]*Compiler*)
9362 lt_prog_compiler_wl='-Wl,'
9363 lt_prog_compiler_pic='-fPIC'
9364 lt_prog_compiler_static='-static'
9367 lt_prog_compiler_wl='-Wl,'
9368 lt_prog_compiler_pic='-fpic'
9369 lt_prog_compiler_static='-Bstatic'
9377 lt_prog_compiler_pic='-KPIC'
9378 lt_prog_compiler_static='-Bstatic'
9382 # QNX uses GNU C++, but need to define -shared option too, otherwise
9384 lt_prog_compiler_pic='-fPIC -shared'
9387 osf3* | osf4* | osf5*)
9388 lt_prog_compiler_wl='-Wl,'
9389 # All OSF/1 code is PIC.
9390 lt_prog_compiler_static='-non_shared'
9394 lt_prog_compiler_static='-non_shared'
9398 lt_prog_compiler_pic='-KPIC'
9399 lt_prog_compiler_static='-Bstatic'
9400 case $cc_basename in
9401 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9402 lt_prog_compiler_wl='-Qoption ld ';;
9404 lt_prog_compiler_wl='-Wl,';;
9409 lt_prog_compiler_wl='-Qoption ld '
9410 lt_prog_compiler_pic='-PIC'
9411 lt_prog_compiler_static='-Bstatic'
9414 sysv4 | sysv4.2uw2* | sysv4.3*)
9415 lt_prog_compiler_wl='-Wl,'
9416 lt_prog_compiler_pic='-KPIC'
9417 lt_prog_compiler_static='-Bstatic'
9421 if test -d /usr/nec ;then
9422 lt_prog_compiler_pic='-Kconform_pic'
9423 lt_prog_compiler_static='-Bstatic'
9427 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9428 lt_prog_compiler_wl='-Wl,'
9429 lt_prog_compiler_pic='-KPIC'
9430 lt_prog_compiler_static='-Bstatic'
9434 lt_prog_compiler_wl='-Wl,'
9435 lt_prog_compiler_can_build_shared=no
9439 lt_prog_compiler_pic='-pic'
9440 lt_prog_compiler_static='-Bstatic'
9444 lt_prog_compiler_can_build_shared=no
9450 # For platforms which do not support PIC, -DPIC is meaningless:
9452 lt_prog_compiler_pic=
9455 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9460 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9461 if ${lt_cv_prog_compiler_pic+:} false; then :
9462 $as_echo_n "(cached) " >&6
9464 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9467 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9468 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9471 # Check to make sure the PIC flag actually works.
9473 if test -n "$lt_prog_compiler_pic"; then
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9475 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9476 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9477 $as_echo_n "(cached) " >&6
9479 lt_cv_prog_compiler_pic_works=no
9480 ac_outfile=conftest.$ac_objext
9481 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9482 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9483 # Insert the option either (1) after the last *FLAGS variable, or
9484 # (2) before a word containing "conftest.", or (3) at the end.
9485 # Note that $ac_compile itself does not contain backslashes and begins
9486 # with a dollar sign (not a hyphen), so the echo should work correctly.
9487 # The option is referenced via a variable to avoid confusing sed.
9488 lt_compile=`echo "$ac_compile" | $SED \
9489 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9490 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9491 -e 's:$: $lt_compiler_flag:'`
9492 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9493 (eval "$lt_compile" 2>conftest.err)
9495 cat conftest.err >&5
9496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9497 if (exit $ac_status) && test -s "$ac_outfile"; then
9498 # The compiler can only warn and ignore the option if not recognized
9499 # So say no if there are warnings other than the usual output.
9500 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9501 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9502 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9503 lt_cv_prog_compiler_pic_works=yes
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9510 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9512 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9513 case $lt_prog_compiler_pic in
9515 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9518 lt_prog_compiler_pic=
9519 lt_prog_compiler_can_build_shared=no
9535 # Check to make sure the static flag actually works.
9537 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9539 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9540 if ${lt_cv_prog_compiler_static_works+:} false; then :
9541 $as_echo_n "(cached) " >&6
9543 lt_cv_prog_compiler_static_works=no
9544 save_LDFLAGS="$LDFLAGS"
9545 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9546 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9547 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9548 # The linker can only warn and ignore the option if not recognized
9549 # So say no if there are warnings
9550 if test -s conftest.err; then
9551 # Append any errors to the config.log.
9552 cat conftest.err 1>&5
9553 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9554 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9555 if diff conftest.exp conftest.er2 >/dev/null; then
9556 lt_cv_prog_compiler_static_works=yes
9559 lt_cv_prog_compiler_static_works=yes
9563 LDFLAGS="$save_LDFLAGS"
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9567 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9569 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9572 lt_prog_compiler_static=
9581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9582 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9583 if ${lt_cv_prog_compiler_c_o+:} false; then :
9584 $as_echo_n "(cached) " >&6
9586 lt_cv_prog_compiler_c_o=no
9587 $RM -r conftest 2>/dev/null
9591 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9593 lt_compiler_flag="-o out/conftest2.$ac_objext"
9594 # Insert the option either (1) after the last *FLAGS variable, or
9595 # (2) before a word containing "conftest.", or (3) at the end.
9596 # Note that $ac_compile itself does not contain backslashes and begins
9597 # with a dollar sign (not a hyphen), so the echo should work correctly.
9598 lt_compile=`echo "$ac_compile" | $SED \
9599 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9600 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9601 -e 's:$: $lt_compiler_flag:'`
9602 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9603 (eval "$lt_compile" 2>out/conftest.err)
9605 cat out/conftest.err >&5
9606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9607 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9609 # The compiler can only warn and ignore the option if not recognized
9610 # So say no if there are warnings
9611 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9612 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9613 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9614 lt_cv_prog_compiler_c_o=yes
9619 # SGI C++ compiler will create directory out/ii_files/ for
9620 # template instantiation
9621 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9622 $RM out/* && rmdir out
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9629 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9637 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9638 if ${lt_cv_prog_compiler_c_o+:} false; then :
9639 $as_echo_n "(cached) " >&6
9641 lt_cv_prog_compiler_c_o=no
9642 $RM -r conftest 2>/dev/null
9646 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9648 lt_compiler_flag="-o out/conftest2.$ac_objext"
9649 # Insert the option either (1) after the last *FLAGS variable, or
9650 # (2) before a word containing "conftest.", or (3) at the end.
9651 # Note that $ac_compile itself does not contain backslashes and begins
9652 # with a dollar sign (not a hyphen), so the echo should work correctly.
9653 lt_compile=`echo "$ac_compile" | $SED \
9654 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9655 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9656 -e 's:$: $lt_compiler_flag:'`
9657 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9658 (eval "$lt_compile" 2>out/conftest.err)
9660 cat out/conftest.err >&5
9661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9664 # The compiler can only warn and ignore the option if not recognized
9665 # So say no if there are warnings
9666 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9667 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9668 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9669 lt_cv_prog_compiler_c_o=yes
9674 # SGI C++ compiler will create directory out/ii_files/ for
9675 # template instantiation
9676 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9677 $RM out/* && rmdir out
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9684 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9689 hard_links="nottested"
9690 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9691 # do not overwrite the value of need_locks provided by the user
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9693 $as_echo_n "checking if we can lock with hard links... " >&6; }
9696 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9698 ln conftest.a conftest.b 2>&5 || hard_links=no
9699 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9701 $as_echo "$hard_links" >&6; }
9702 if test "$hard_links" = no; then
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9704 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9717 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9720 allow_undefined_flag=
9721 always_export_symbols=no
9723 archive_expsym_cmds=
9724 compiler_needs_object=no
9725 enable_shared_with_static_runtimes=no
9726 export_dynamic_flag_spec=
9727 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9728 hardcode_automatic=no
9730 hardcode_direct_absolute=no
9731 hardcode_libdir_flag_spec=
9732 hardcode_libdir_separator=
9734 hardcode_shlibpath_var=unsupported
9736 link_all_deplibs=unknown
9739 old_archive_from_new_cmds=
9740 old_archive_from_expsyms_cmds=
9741 thread_safe_flag_spec=
9742 whole_archive_flag_spec=
9743 # include_expsyms should be a list of space-separated symbols to be *always*
9744 # included in the symbol list
9746 # exclude_expsyms can be an extended regexp of symbols to exclude
9747 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9748 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9749 # as well as any symbol that contains `d'.
9750 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9751 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9752 # platforms (ab)use it in PIC code, but their linkers get confused if
9753 # the symbol is explicitly referenced. Since portable code cannot
9754 # rely on this symbol name, it's probably fine to never include it in
9755 # preloaded symbol tables.
9756 # Exclude shared library initialization/finalization symbols.
9757 extract_expsyms_cmds=
9760 cygwin* | mingw* | pw32* | cegcc*)
9761 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9762 # When not using gcc, we currently assume that we are using
9763 # Microsoft Visual C++.
9764 if test "$GCC" != yes; then
9769 # we just hope/assume this is gcc and not c89 (= MSVC++)
9775 linux* | k*bsd*-gnu | gnu*)
9782 # On some targets, GNU ld is compatible enough with the native linker
9783 # that we're better off using the native interface for both.
9784 lt_use_gnu_ld_interface=no
9785 if test "$with_gnu_ld" = yes; then
9788 # The AIX port of GNU ld has always aspired to compatibility
9789 # with the native linker. However, as the warning in the GNU ld
9790 # block says, versions before 2.19.5* couldn't really create working
9791 # shared libraries, regardless of the interface used.
9792 case `$LD -v 2>&1` in
9793 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9794 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9795 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9797 lt_use_gnu_ld_interface=yes
9802 lt_use_gnu_ld_interface=yes
9807 if test "$lt_use_gnu_ld_interface" = yes; then
9808 # If archive_cmds runs LD, not CC, wlarc should be empty
9811 # Set some defaults for GNU ld with shared library support. These
9812 # are reset later if shared libraries are not supported. Putting them
9813 # here allows them to be overridden if necessary.
9814 runpath_var=LD_RUN_PATH
9815 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9816 export_dynamic_flag_spec='${wl}--export-dynamic'
9817 # ancient GNU ld didn't support --whole-archive et. al.
9818 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9819 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9821 whole_archive_flag_spec=
9823 supports_anon_versioning=no
9824 case `$LD -v 2>&1` in
9825 *GNU\ gold*) supports_anon_versioning=yes ;;
9826 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9827 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9828 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9829 *\ 2.11.*) ;; # other 2.11 versions
9830 *) supports_anon_versioning=yes ;;
9833 # See if GNU ld supports shared libraries.
9836 # On AIX/PPC, the GNU linker is very broken
9837 if test "$host_cpu" != ia64; then
9841 *** Warning: the GNU linker, at least up to release 2.19, is reported
9842 *** to be unable to reliably create shared libraries on AIX.
9843 *** Therefore, libtool is disabling shared libraries support. If you
9844 *** really care for shared libraries, you may want to install binutils
9845 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9846 *** You will then need to restart the configuration process.
9855 # see comment about AmigaOS4 .so support
9856 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9857 archive_expsym_cmds=''
9860 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)'
9861 hardcode_libdir_flag_spec='-L$libdir'
9862 hardcode_minus_L=yes
9868 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9869 allow_undefined_flag=unsupported
9870 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9871 # support --undefined. This deserves some investigation. FIXME
9872 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9878 cygwin* | mingw* | pw32* | cegcc*)
9879 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9880 # as there is no search path for DLLs.
9881 hardcode_libdir_flag_spec='-L$libdir'
9882 export_dynamic_flag_spec='${wl}--export-all-symbols'
9883 allow_undefined_flag=unsupported
9884 always_export_symbols=no
9885 enable_shared_with_static_runtimes=yes
9886 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9887 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9889 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9890 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9891 # If the export-symbols file already is a .def file (1st line
9892 # is EXPORTS), use it as is; otherwise, prepend...
9893 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9894 cp $export_symbols $output_objdir/$soname.def;
9896 echo EXPORTS > $output_objdir/$soname.def;
9897 cat $export_symbols >> $output_objdir/$soname.def;
9899 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9906 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9907 link_all_deplibs=yes
9912 hardcode_shlibpath_var=no
9913 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9914 export_dynamic_flag_spec='${wl}-E'
9915 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9916 # Instead, shared libraries are loaded at an image base (0x10000000 by
9917 # default) and relocated if they conflict, which is a slow very memory
9918 # consuming and fragmenting process. To avoid this, we pick a random,
9919 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9920 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9921 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9922 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'
9925 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9927 if test "$host_os" = linux-dietlibc; then
9928 case $cc_basename in
9929 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9932 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9933 && test "$tmp_diet" = no
9935 tmp_addflag=' $pic_flag'
9936 tmp_sharedflag='-shared'
9937 case $cc_basename,$host_cpu in
9938 pgcc*) # Portland Group C compiler
9939 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9940 tmp_addflag=' $pic_flag'
9942 pgf77* | pgf90* | pgf95* | pgfortran*)
9943 # Portland Group f77 and f90 compilers
9944 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9945 tmp_addflag=' $pic_flag -Mnomain' ;;
9946 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9947 tmp_addflag=' -i_dynamic' ;;
9948 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9949 tmp_addflag=' -i_dynamic -nofor_main' ;;
9950 ifc* | ifort*) # Intel Fortran compiler
9951 tmp_addflag=' -nofor_main' ;;
9952 lf95*) # Lahey Fortran 8.1
9953 whole_archive_flag_spec=
9954 tmp_sharedflag='--shared' ;;
9955 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9956 tmp_sharedflag='-qmkshrobj'
9958 nvcc*) # Cuda Compiler Driver 2.2
9959 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9960 compiler_needs_object=yes
9963 case `$CC -V 2>&1 | sed 5q` in
9964 *Sun\ C*) # Sun C 5.9
9965 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9966 compiler_needs_object=yes
9967 tmp_sharedflag='-G' ;;
9968 *Sun\ F*) # Sun Fortran 8.3
9969 tmp_sharedflag='-G' ;;
9971 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9973 if test "x$supports_anon_versioning" = xyes; then
9974 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9975 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9976 echo "local: *; };" >> $output_objdir/$libname.ver~
9977 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9980 case $cc_basename in
9981 xlf* | bgf* | bgxlf* | mpixlf*)
9982 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9983 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9984 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9985 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9986 if test "x$supports_anon_versioning" = xyes; then
9987 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9988 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9989 echo "local: *; };" >> $output_objdir/$libname.ver~
9990 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9999 netbsd* | netbsdelf*-gnu)
10000 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10001 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10004 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10005 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10010 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10014 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10015 *** create shared libraries on Solaris systems. Therefore, libtool
10016 *** is disabling shared libraries support. We urge you to upgrade GNU
10017 *** binutils to release 2.9.1 or newer. Another option is to modify
10018 *** your PATH or compiler configuration so that the native linker is
10019 *** used, and then restart.
10022 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10023 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10024 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10030 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10031 case `$LD -v 2>&1` in
10032 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10036 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10037 *** reliably create shared libraries on SCO systems. Therefore, libtool
10038 *** is disabling shared libraries support. We urge you to upgrade GNU
10039 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10040 *** your PATH or compiler configuration so that the native linker is
10041 *** used, and then restart.
10046 # For security reasons, it is highly recommended that you always
10047 # use absolute paths for naming shared libraries, and exclude the
10048 # DT_RUNPATH tag from executables and libraries. But doing so
10049 # requires that you compile everything twice, which is a pain.
10050 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10051 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10052 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10053 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10062 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10064 hardcode_direct=yes
10065 hardcode_shlibpath_var=no
10069 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10070 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10071 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10078 if test "$ld_shlibs" = no; then
10080 hardcode_libdir_flag_spec=
10081 export_dynamic_flag_spec=
10082 whole_archive_flag_spec=
10085 # PORTME fill in a description of your system's linker (not GNU ld)
10088 allow_undefined_flag=unsupported
10089 always_export_symbols=yes
10090 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'
10091 # Note: this linker hardcodes the directories in LIBPATH if there
10092 # are no directories specified by -L.
10093 hardcode_minus_L=yes
10094 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10095 # Neither direct hardcoding nor static linking is supported with a
10097 hardcode_direct=unsupported
10102 if test "$host_cpu" = ia64; then
10103 # On IA64, the linker does run time linking by default, so we don't
10104 # have to do anything special.
10105 aix_use_runtimelinking=no
10106 exp_sym_flag='-Bexport'
10109 # If we're using GNU nm, then we don't want the "-C" option.
10110 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10111 # Also, AIX nm treats weak defined symbols like other global
10112 # defined symbols, whereas GNU nm marks them as "W".
10113 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10114 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10116 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'
10118 aix_use_runtimelinking=no
10120 # Test if we are trying to use run time linking or normal
10121 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10122 # need to do runtime linking.
10123 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10124 for ld_flag in $LDFLAGS; do
10125 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10126 aix_use_runtimelinking=yes
10133 exp_sym_flag='-bexport'
10134 no_entry_flag='-bnoentry'
10137 # When large executables or shared objects are built, AIX ld can
10138 # have problems creating the table of contents. If linking a library
10139 # or program results in "error TOC overflow" add -mminimal-toc to
10140 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10141 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10144 hardcode_direct=yes
10145 hardcode_direct_absolute=yes
10146 hardcode_libdir_separator=':'
10147 link_all_deplibs=yes
10148 file_list_spec='${wl}-f,'
10150 if test "$GCC" = yes; then
10151 case $host_os in aix4.[012]|aix4.[012].*)
10152 # We only want to do this on AIX 4.2 and lower, the check
10153 # below for broken collect2 doesn't work under 4.3+
10154 collect2name=`${CC} -print-prog-name=collect2`
10155 if test -f "$collect2name" &&
10156 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10158 # We have reworked collect2
10161 # We have old collect2
10162 hardcode_direct=unsupported
10163 # It fails to find uninstalled libraries when the uninstalled
10164 # path is not listed in the libpath. Setting hardcode_minus_L
10165 # to unsupported forces relinking
10166 hardcode_minus_L=yes
10167 hardcode_libdir_flag_spec='-L$libdir'
10168 hardcode_libdir_separator=
10172 shared_flag='-shared'
10173 if test "$aix_use_runtimelinking" = yes; then
10174 shared_flag="$shared_flag "'${wl}-G'
10176 link_all_deplibs=no
10179 if test "$host_cpu" = ia64; then
10180 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10181 # chokes on -Wl,-G. The following line is correct:
10184 if test "$aix_use_runtimelinking" = yes; then
10185 shared_flag='${wl}-G'
10187 shared_flag='${wl}-bM:SRE'
10192 export_dynamic_flag_spec='${wl}-bexpall'
10193 # It seems that -bexpall does not export symbols beginning with
10194 # underscore (_), so it is better to generate a list of symbols to export.
10195 always_export_symbols=yes
10196 if test "$aix_use_runtimelinking" = yes; then
10197 # Warning - without using the other runtime loading flags (-brtl),
10198 # -berok will link without error, but may produce a broken library.
10199 allow_undefined_flag='-berok'
10200 # Determine the default libpath from the value encoded in an
10201 # empty executable.
10202 if test "${lt_cv_aix_libpath+set}" = set; then
10203 aix_libpath=$lt_cv_aix_libpath
10205 if ${lt_cv_aix_libpath_+:} false; then :
10206 $as_echo_n "(cached) " >&6
10208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10209 /* end confdefs.h. */
10219 if ac_fn_c_try_link "$LINENO"; then :
10221 lt_aix_libpath_sed='
10222 /Import File Strings/,/^$/ {
10224 s/^0 *\([^ ]*\) *$/\1/
10228 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10229 # Check for a 64-bit object if we didn't find anything.
10230 if test -z "$lt_cv_aix_libpath_"; then
10231 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10234 rm -f core conftest.err conftest.$ac_objext \
10235 conftest$ac_exeext conftest.$ac_ext
10236 if test -z "$lt_cv_aix_libpath_"; then
10237 lt_cv_aix_libpath_="/usr/lib:/lib"
10242 aix_libpath=$lt_cv_aix_libpath_
10245 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10246 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10248 if test "$host_cpu" = ia64; then
10249 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10250 allow_undefined_flag="-z nodefs"
10251 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"
10253 # Determine the default libpath from the value encoded in an
10254 # empty executable.
10255 if test "${lt_cv_aix_libpath+set}" = set; then
10256 aix_libpath=$lt_cv_aix_libpath
10258 if ${lt_cv_aix_libpath_+:} false; then :
10259 $as_echo_n "(cached) " >&6
10261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10262 /* end confdefs.h. */
10272 if ac_fn_c_try_link "$LINENO"; then :
10274 lt_aix_libpath_sed='
10275 /Import File Strings/,/^$/ {
10277 s/^0 *\([^ ]*\) *$/\1/
10281 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10282 # Check for a 64-bit object if we didn't find anything.
10283 if test -z "$lt_cv_aix_libpath_"; then
10284 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10287 rm -f core conftest.err conftest.$ac_objext \
10288 conftest$ac_exeext conftest.$ac_ext
10289 if test -z "$lt_cv_aix_libpath_"; then
10290 lt_cv_aix_libpath_="/usr/lib:/lib"
10295 aix_libpath=$lt_cv_aix_libpath_
10298 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10299 # Warning - without using the other run time loading flags,
10300 # -berok will link without error, but may produce a broken library.
10301 no_undefined_flag=' ${wl}-bernotok'
10302 allow_undefined_flag=' ${wl}-berok'
10303 if test "$with_gnu_ld" = yes; then
10304 # We only use this code for GNU lds that support --whole-archive.
10305 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10307 # Exported symbols can be pulled into shared objects from archives
10308 whole_archive_flag_spec='$convenience'
10310 archive_cmds_need_lc=yes
10311 # This is similar to how AIX traditionally builds its shared libraries.
10312 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'
10320 # see comment about AmigaOS4 .so support
10321 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10322 archive_expsym_cmds=''
10325 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)'
10326 hardcode_libdir_flag_spec='-L$libdir'
10327 hardcode_minus_L=yes
10333 export_dynamic_flag_spec=-rdynamic
10336 cygwin* | mingw* | pw32* | cegcc*)
10337 # When not using gcc, we currently assume that we are using
10338 # Microsoft Visual C++.
10339 # hardcode_libdir_flag_spec is actually meaningless, as there is
10340 # no search path for DLLs.
10341 case $cc_basename in
10344 hardcode_libdir_flag_spec=' '
10345 allow_undefined_flag=unsupported
10346 always_export_symbols=yes
10348 # Tell ltmain to make .lib files, not .a files.
10350 # Tell ltmain to make .dll files, not .so files.
10352 # FIXME: Setting linknames here is a bad hack.
10353 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10354 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10355 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10357 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10359 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10361 # The linker will not automatically build a static lib if we build a DLL.
10362 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10363 enable_shared_with_static_runtimes=yes
10364 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10365 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10367 old_postinstall_cmds='chmod 644 $oldlib'
10368 postlink_cmds='lt_outputfile="@OUTPUT@"~
10369 lt_tool_outputfile="@TOOL_OUTPUT@"~
10370 case $lt_outputfile in
10373 lt_outputfile="$lt_outputfile.exe"
10374 lt_tool_outputfile="$lt_tool_outputfile.exe"
10377 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10378 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10379 $RM "$lt_outputfile.manifest";
10383 # Assume MSVC wrapper
10384 hardcode_libdir_flag_spec=' '
10385 allow_undefined_flag=unsupported
10386 # Tell ltmain to make .lib files, not .a files.
10388 # Tell ltmain to make .dll files, not .so files.
10390 # FIXME: Setting linknames here is a bad hack.
10391 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10392 # The linker will automatically build a .lib file if we build a DLL.
10393 old_archive_from_new_cmds='true'
10394 # FIXME: Should let the user specify the lib program.
10395 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10396 enable_shared_with_static_runtimes=yes
10401 darwin* | rhapsody*)
10404 archive_cmds_need_lc=no
10406 hardcode_automatic=yes
10407 hardcode_shlibpath_var=unsupported
10408 if test "$lt_cv_ld_force_load" = "yes"; then
10409 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10412 whole_archive_flag_spec=''
10414 link_all_deplibs=yes
10415 allow_undefined_flag="$_lt_dar_allow_undefined"
10416 case $cc_basename in
10417 ifort*) _lt_dar_can_shared=yes ;;
10418 *) _lt_dar_can_shared=$GCC ;;
10420 if test "$_lt_dar_can_shared" = "yes"; then
10421 output_verbose_link_cmd=func_echo_all
10422 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10423 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10424 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}"
10425 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}"
10434 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10435 hardcode_libdir_flag_spec='-L$libdir'
10436 hardcode_shlibpath_var=no
10439 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10440 # support. Future versions do this automatically, but an explicit c++rt0.o
10441 # does not break anything, and helps significantly (at the cost of a little
10444 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10445 hardcode_libdir_flag_spec='-R$libdir'
10446 hardcode_direct=yes
10447 hardcode_shlibpath_var=no
10450 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10452 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10453 hardcode_direct=yes
10454 hardcode_minus_L=yes
10455 hardcode_shlibpath_var=no
10458 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10459 freebsd* | dragonfly*)
10460 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10461 hardcode_libdir_flag_spec='-R$libdir'
10462 hardcode_direct=yes
10463 hardcode_shlibpath_var=no
10467 if test "$GCC" = yes; then
10468 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10470 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'
10472 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10473 hardcode_libdir_separator=:
10474 hardcode_direct=yes
10476 # hardcode_minus_L: Not really in the search PATH,
10477 # but as the default location of the library.
10478 hardcode_minus_L=yes
10479 export_dynamic_flag_spec='${wl}-E'
10483 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10484 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10486 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10488 if test "$with_gnu_ld" = no; then
10489 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10490 hardcode_libdir_separator=:
10491 hardcode_direct=yes
10492 hardcode_direct_absolute=yes
10493 export_dynamic_flag_spec='${wl}-E'
10494 # hardcode_minus_L: Not really in the search PATH,
10495 # but as the default location of the library.
10496 hardcode_minus_L=yes
10501 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10504 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10507 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10510 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10516 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10519 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10523 # Older versions of the 11.00 compiler do not understand -b yet
10524 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10526 $as_echo_n "checking if $CC understands -b... " >&6; }
10527 if ${lt_cv_prog_compiler__b+:} false; then :
10528 $as_echo_n "(cached) " >&6
10530 lt_cv_prog_compiler__b=no
10531 save_LDFLAGS="$LDFLAGS"
10532 LDFLAGS="$LDFLAGS -b"
10533 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10534 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10535 # The linker can only warn and ignore the option if not recognized
10536 # So say no if there are warnings
10537 if test -s conftest.err; then
10538 # Append any errors to the config.log.
10539 cat conftest.err 1>&5
10540 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10541 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10542 if diff conftest.exp conftest.er2 >/dev/null; then
10543 lt_cv_prog_compiler__b=yes
10546 lt_cv_prog_compiler__b=yes
10550 LDFLAGS="$save_LDFLAGS"
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10554 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10556 if test x"$lt_cv_prog_compiler__b" = xyes; then
10557 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10559 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10565 if test "$with_gnu_ld" = no; then
10566 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10567 hardcode_libdir_separator=:
10572 hardcode_shlibpath_var=no
10575 hardcode_direct=yes
10576 hardcode_direct_absolute=yes
10577 export_dynamic_flag_spec='${wl}-E'
10579 # hardcode_minus_L: Not really in the search PATH,
10580 # but as the default location of the library.
10581 hardcode_minus_L=yes
10587 irix5* | irix6* | nonstopux*)
10588 if test "$GCC" = yes; then
10589 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10590 # Try to use the -exported_symbol ld option, if it does not
10591 # work, assume that -exports_file does not work either and
10592 # implicitly export all symbols.
10593 # This should be the same for all languages, so no per-tag cache variable.
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10595 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10596 if ${lt_cv_irix_exported_symbol+:} false; then :
10597 $as_echo_n "(cached) " >&6
10599 save_LDFLAGS="$LDFLAGS"
10600 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10602 /* end confdefs.h. */
10603 int foo (void) { return 0; }
10605 if ac_fn_c_try_link "$LINENO"; then :
10606 lt_cv_irix_exported_symbol=yes
10608 lt_cv_irix_exported_symbol=no
10610 rm -f core conftest.err conftest.$ac_objext \
10611 conftest$ac_exeext conftest.$ac_ext
10612 LDFLAGS="$save_LDFLAGS"
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10615 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10616 if test "$lt_cv_irix_exported_symbol" = yes; then
10617 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10620 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10621 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10623 archive_cmds_need_lc='no'
10624 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10625 hardcode_libdir_separator=:
10627 link_all_deplibs=yes
10630 netbsd* | netbsdelf*-gnu)
10631 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10632 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10634 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10636 hardcode_libdir_flag_spec='-R$libdir'
10637 hardcode_direct=yes
10638 hardcode_shlibpath_var=no
10642 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10643 hardcode_direct=yes
10644 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10645 hardcode_libdir_separator=:
10646 hardcode_shlibpath_var=no
10653 if test -f /usr/libexec/ld.so; then
10654 hardcode_direct=yes
10655 hardcode_shlibpath_var=no
10656 hardcode_direct_absolute=yes
10657 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10658 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10659 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10660 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10661 export_dynamic_flag_spec='${wl}-E'
10664 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10665 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10666 hardcode_libdir_flag_spec='-R$libdir'
10669 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10670 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10680 hardcode_libdir_flag_spec='-L$libdir'
10681 hardcode_minus_L=yes
10682 allow_undefined_flag=unsupported
10683 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'
10684 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10688 if test "$GCC" = yes; then
10689 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10690 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10692 allow_undefined_flag=' -expect_unresolved \*'
10693 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10695 archive_cmds_need_lc='no'
10696 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10697 hardcode_libdir_separator=:
10700 osf4* | osf5*) # as osf3* with the addition of -msym flag
10701 if test "$GCC" = yes; then
10702 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10703 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10704 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10706 allow_undefined_flag=' -expect_unresolved \*'
10707 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10708 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~
10709 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10711 # Both c and cxx compiler support -rpath directly
10712 hardcode_libdir_flag_spec='-rpath $libdir'
10714 archive_cmds_need_lc='no'
10715 hardcode_libdir_separator=:
10719 no_undefined_flag=' -z defs'
10720 if test "$GCC" = yes; then
10722 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10723 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10724 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10726 case `$CC -V 2>&1` in
10729 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10730 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10731 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10735 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10736 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10737 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10741 hardcode_libdir_flag_spec='-R$libdir'
10742 hardcode_shlibpath_var=no
10744 solaris2.[0-5] | solaris2.[0-5].*) ;;
10746 # The compiler driver will combine and reorder linker options,
10747 # but understands `-z linker_flag'. GCC discards it without `$wl',
10748 # but is careful enough not to reorder.
10749 # Supported since Solaris 2.6 (maybe 2.5.1?)
10750 if test "$GCC" = yes; then
10751 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10753 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10757 link_all_deplibs=yes
10761 if test "x$host_vendor" = xsequent; then
10762 # Use $CC to link under sequent, because it throws in some extra .o
10763 # files that make .init and .fini sections work.
10764 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10766 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10768 hardcode_libdir_flag_spec='-L$libdir'
10769 hardcode_direct=yes
10770 hardcode_minus_L=yes
10771 hardcode_shlibpath_var=no
10775 case $host_vendor in
10777 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10778 hardcode_direct=yes # is this really true???
10781 ## LD is ld it makes a PLAMLIB
10782 ## CC just makes a GrossModule.
10783 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10784 reload_cmds='$CC -r -o $output$reload_objs'
10788 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10789 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10792 runpath_var='LD_RUN_PATH'
10793 hardcode_shlibpath_var=no
10797 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10798 hardcode_shlibpath_var=no
10799 export_dynamic_flag_spec='-Bexport'
10803 if test -d /usr/nec; then
10804 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10805 hardcode_shlibpath_var=no
10806 runpath_var=LD_RUN_PATH
10807 hardcode_runpath_var=yes
10812 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10813 no_undefined_flag='${wl}-z,text'
10814 archive_cmds_need_lc=no
10815 hardcode_shlibpath_var=no
10816 runpath_var='LD_RUN_PATH'
10818 if test "$GCC" = yes; then
10819 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10820 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10822 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10823 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10827 sysv5* | sco3.2v5* | sco5v6*)
10828 # Note: We can NOT use -z defs as we might desire, because we do not
10829 # link with -lc, and that would cause any symbols used from libc to
10830 # always be unresolved, which means just about no library would
10831 # ever link correctly. If we're not using GNU ld we use -z text
10832 # though, which does catch some bad symbols but isn't as heavy-handed
10834 no_undefined_flag='${wl}-z,text'
10835 allow_undefined_flag='${wl}-z,nodefs'
10836 archive_cmds_need_lc=no
10837 hardcode_shlibpath_var=no
10838 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10839 hardcode_libdir_separator=':'
10840 link_all_deplibs=yes
10841 export_dynamic_flag_spec='${wl}-Bexport'
10842 runpath_var='LD_RUN_PATH'
10844 if test "$GCC" = yes; then
10845 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10846 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10848 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10849 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10854 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10855 hardcode_libdir_flag_spec='-L$libdir'
10856 hardcode_shlibpath_var=no
10864 if test x$host_vendor = xsni; then
10866 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10867 export_dynamic_flag_spec='${wl}-Blargedynsym'
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10874 $as_echo "$ld_shlibs" >&6; }
10875 test "$ld_shlibs" = no && can_build_shared=no
10877 with_gnu_ld=$with_gnu_ld
10894 # Do we need to explicitly link libc?
10896 case "x$archive_cmds_need_lc" in
10898 # Assume -lc should be added
10899 archive_cmds_need_lc=yes
10901 if test "$enable_shared" = yes && test "$GCC" = yes; then
10902 case $archive_cmds in
10904 # FIXME: we may have to deal with multi-command sequences.
10907 # Test whether the compiler implicitly links with -lc since on some
10908 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10909 # to ld, don't add -lc before -lgcc.
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10911 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10912 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10913 $as_echo_n "(cached) " >&6
10916 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10918 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10919 (eval $ac_compile) 2>&5
10921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10922 test $ac_status = 0; } 2>conftest.err; then
10925 libobjs=conftest.$ac_objext
10927 wl=$lt_prog_compiler_wl
10928 pic_flag=$lt_prog_compiler_pic
10934 lt_save_allow_undefined_flag=$allow_undefined_flag
10935 allow_undefined_flag=
10936 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10937 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10940 test $ac_status = 0; }
10942 lt_cv_archive_cmds_need_lc=no
10944 lt_cv_archive_cmds_need_lc=yes
10946 allow_undefined_flag=$lt_save_allow_undefined_flag
10948 cat conftest.err 1>&5
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10954 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10955 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11114 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11116 if test "$GCC" = yes; then
11118 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11119 *) lt_awk_arg="/^libraries:/" ;;
11122 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11123 *) lt_sed_strip_eq="s,=/,/,g" ;;
11125 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11126 case $lt_search_path_spec in
11128 # if the path contains ";" then we assume it to be the separator
11129 # otherwise default to the standard path separator (i.e. ":") - it is
11130 # assumed that no part of a normal pathname contains ";" but that should
11131 # okay in the real world where ";" in dirpaths is itself problematic.
11132 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11135 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11138 # Ok, now we have the path, separated by spaces, we can step through it
11139 # and add multilib dir if necessary.
11140 lt_tmp_lt_search_path_spec=
11141 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11142 for lt_sys_path in $lt_search_path_spec; do
11143 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11144 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11146 test -d "$lt_sys_path" && \
11147 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11150 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11151 BEGIN {RS=" "; FS="/|\n";} {
11154 for (lt_i = NF; lt_i > 0; lt_i--) {
11155 if ($lt_i != "" && $lt_i != ".") {
11156 if ($lt_i == "..") {
11159 if (lt_count == 0) {
11160 lt_foo="/" $lt_i lt_foo;
11167 if (lt_foo != "") { lt_freq[lt_foo]++; }
11168 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11170 # AWK program above erroneously prepends '/' to C:/dos/paths
11173 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11174 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11176 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11178 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11180 library_names_spec=
11181 libname_spec='lib$name'
11185 postuninstall_cmds=
11189 shlibpath_overrides_runpath=unknown
11191 dynamic_linker="$host_os ld.so"
11192 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11193 need_lib_prefix=unknown
11194 hardcode_into_libs=no
11196 # when you set need_version to no, make sure it does not cause -set_version
11197 # flags to be left without arguments
11198 need_version=unknown
11202 version_type=linux # correct to gnu/linux during the next big refactor
11203 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11204 shlibpath_var=LIBPATH
11206 # AIX 3 has no versioning support, so we append a major version to the name.
11207 soname_spec='${libname}${release}${shared_ext}$major'
11211 version_type=linux # correct to gnu/linux during the next big refactor
11214 hardcode_into_libs=yes
11215 if test "$host_cpu" = ia64; then
11216 # AIX 5 supports IA64
11217 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11218 shlibpath_var=LD_LIBRARY_PATH
11220 # With GCC up to 2.95.x, collect2 would create an import file
11221 # for dependence libraries. The import file would start with
11222 # the line `#! .'. This would cause the generated library to
11223 # depend on `.', always an invalid library. This was fixed in
11224 # development snapshots of GCC prior to 3.0.
11226 aix4 | aix4.[01] | aix4.[01].*)
11227 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11229 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11232 can_build_shared=no
11236 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11237 # soname into executable. Probably we can add versioning support to
11238 # collect2, so additional links can be useful in future.
11239 if test "$aix_use_runtimelinking" = yes; then
11240 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11241 # instead of lib<name>.a to let people know that these are not
11242 # typical AIX shared libraries.
11243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11245 # We preserve .a as extension for shared libraries through AIX4.2
11246 # and later when we are not doing run time linking.
11247 library_names_spec='${libname}${release}.a $libname.a'
11248 soname_spec='${libname}${release}${shared_ext}$major'
11250 shlibpath_var=LIBPATH
11257 # Since July 2007 AmigaOS4 officially supports .so libraries.
11258 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11262 library_names_spec='$libname.ixlibrary $libname.a'
11263 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11264 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11270 library_names_spec='${libname}${shared_ext}'
11271 dynamic_linker="$host_os ld.so"
11272 shlibpath_var=LIBRARY_PATH
11276 version_type=linux # correct to gnu/linux during the next big refactor
11278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11279 soname_spec='${libname}${release}${shared_ext}$major'
11280 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11281 shlibpath_var=LD_LIBRARY_PATH
11282 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11283 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11284 # the default ld.so.conf also contains /usr/contrib/lib and
11285 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11286 # libtool to hard-code these into programs
11289 cygwin* | mingw* | pw32* | cegcc*)
11290 version_type=windows
11295 case $GCC,$cc_basename in
11298 library_names_spec='$libname.dll.a'
11299 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11300 postinstall_cmds='base_file=`basename \${file}`~
11301 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11302 dldir=$destdir/`dirname \$dlpath`~
11303 test -d \$dldir || mkdir -p \$dldir~
11304 $install_prog $dir/$dlname \$dldir/$dlname~
11305 chmod a+x \$dldir/$dlname~
11306 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11307 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11309 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11310 dlpath=$dir/\$dldll~
11312 shlibpath_overrides_runpath=yes
11316 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11317 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11319 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11322 # MinGW DLLs use traditional 'lib' prefix
11323 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11326 # pw32 DLLs use 'pw' prefix rather than 'lib'
11327 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11330 dynamic_linker='Win32 ld.exe'
11335 libname_spec='$name'
11336 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11337 library_names_spec='${libname}.dll.lib'
11341 sys_lib_search_path_spec=
11344 for lt_path in $LIB
11347 # Let DOS variable expansion print the short 8.3 style file name.
11348 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11349 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11352 # Convert to MSYS style.
11353 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11356 # Convert to unix form, then to dos form, then back to unix form
11357 # but this time dos style (no spaces!) so that the unix form looks
11358 # like /cygdrive/c/PROGRA~1:/cygdr...
11359 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11360 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11361 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11364 sys_lib_search_path_spec="$LIB"
11365 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11366 # It is most probably a Windows format PATH.
11367 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11369 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11371 # FIXME: find the short name or the path components, as spaces are
11372 # common. (e.g. "Program Files" -> "PROGRA~1")
11376 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11377 postinstall_cmds='base_file=`basename \${file}`~
11378 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11379 dldir=$destdir/`dirname \$dlpath`~
11380 test -d \$dldir || mkdir -p \$dldir~
11381 $install_prog $dir/$dlname \$dldir/$dlname'
11382 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11383 dlpath=$dir/\$dldll~
11385 shlibpath_overrides_runpath=yes
11386 dynamic_linker='Win32 link.exe'
11390 # Assume MSVC wrapper
11391 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11392 dynamic_linker='Win32 ld.exe'
11395 # FIXME: first we should search . and the directory the executable is in
11399 darwin* | rhapsody*)
11400 dynamic_linker="$host_os dyld"
11401 version_type=darwin
11404 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11405 soname_spec='${libname}${release}${major}$shared_ext'
11406 shlibpath_overrides_runpath=yes
11407 shlibpath_var=DYLD_LIBRARY_PATH
11408 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11410 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11411 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11415 version_type=linux # correct to gnu/linux during the next big refactor
11418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11419 soname_spec='${libname}${release}${shared_ext}$major'
11420 shlibpath_var=LD_LIBRARY_PATH
11423 freebsd* | dragonfly*)
11424 # DragonFly does not have aout. When/if they implement a new
11425 # versioning mechanism, adjust this.
11426 if test -x /usr/bin/objformat; then
11427 objformat=`/usr/bin/objformat`
11430 freebsd[23].*) objformat=aout ;;
11431 *) objformat=elf ;;
11434 version_type=freebsd-$objformat
11435 case $version_type in
11437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11442 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11446 shlibpath_var=LD_LIBRARY_PATH
11449 shlibpath_overrides_runpath=yes
11451 freebsd3.[01]* | freebsdelf3.[01]*)
11452 shlibpath_overrides_runpath=yes
11453 hardcode_into_libs=yes
11455 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11456 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11457 shlibpath_overrides_runpath=no
11458 hardcode_into_libs=yes
11460 *) # from 4.6 on, and DragonFly
11461 shlibpath_overrides_runpath=yes
11462 hardcode_into_libs=yes
11468 version_type=linux # correct to gnu/linux during the next big refactor
11471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11472 soname_spec='${libname}${release}${shared_ext}$major'
11473 shlibpath_var=LD_LIBRARY_PATH
11474 shlibpath_overrides_runpath=no
11475 hardcode_into_libs=yes
11479 version_type=linux # correct to gnu/linux during the next big refactor
11482 dynamic_linker="$host_os runtime_loader"
11483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11484 soname_spec='${libname}${release}${shared_ext}$major'
11485 shlibpath_var=LIBRARY_PATH
11486 shlibpath_overrides_runpath=yes
11487 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11488 hardcode_into_libs=yes
11491 hpux9* | hpux10* | hpux11*)
11492 # Give a soname corresponding to the major version so that dld.sl refuses to
11493 # link against other versions.
11500 hardcode_into_libs=yes
11501 dynamic_linker="$host_os dld.so"
11502 shlibpath_var=LD_LIBRARY_PATH
11503 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11505 soname_spec='${libname}${release}${shared_ext}$major'
11506 if test "X$HPUX_IA64_MODE" = X32; then
11507 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11509 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11511 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11515 hardcode_into_libs=yes
11516 dynamic_linker="$host_os dld.sl"
11517 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11518 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11520 soname_spec='${libname}${release}${shared_ext}$major'
11521 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11522 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11526 dynamic_linker="$host_os dld.sl"
11527 shlibpath_var=SHLIB_PATH
11528 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11530 soname_spec='${libname}${release}${shared_ext}$major'
11533 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11534 postinstall_cmds='chmod 555 $lib'
11535 # or fails outright, so override atomically:
11536 install_override_mode=555
11540 version_type=linux # correct to gnu/linux during the next big refactor
11543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11544 soname_spec='${libname}${release}${shared_ext}$major'
11545 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11546 shlibpath_var=LD_LIBRARY_PATH
11547 shlibpath_overrides_runpath=no
11548 hardcode_into_libs=yes
11551 irix5* | irix6* | nonstopux*)
11553 nonstopux*) version_type=nonstopux ;;
11555 if test "$lt_cv_prog_gnu_ld" = yes; then
11556 version_type=linux # correct to gnu/linux during the next big refactor
11563 soname_spec='${libname}${release}${shared_ext}$major'
11564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11566 irix5* | nonstopux*)
11567 libsuff= shlibsuff=
11570 case $LD in # libtool.m4 will add one of these switches to LD
11571 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11572 libsuff= shlibsuff= libmagic=32-bit;;
11573 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11574 libsuff=32 shlibsuff=N32 libmagic=N32;;
11575 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11576 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11577 *) libsuff= shlibsuff= libmagic=never-match;;
11581 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11582 shlibpath_overrides_runpath=no
11583 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11584 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11585 hardcode_into_libs=yes
11588 # No shared lib support for Linux oldld, aout, or coff.
11589 linux*oldld* | linux*aout* | linux*coff*)
11593 # This must be glibc/ELF.
11594 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11595 version_type=linux # correct to gnu/linux during the next big refactor
11598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11599 soname_spec='${libname}${release}${shared_ext}$major'
11600 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11601 shlibpath_var=LD_LIBRARY_PATH
11602 shlibpath_overrides_runpath=no
11604 # Some binutils ld are patched to set DT_RUNPATH
11605 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11606 $as_echo_n "(cached) " >&6
11608 lt_cv_shlibpath_overrides_runpath=no
11609 save_LDFLAGS=$LDFLAGS
11610 save_libdir=$libdir
11611 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11612 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11614 /* end confdefs.h. */
11624 if ac_fn_c_try_link "$LINENO"; then :
11625 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11626 lt_cv_shlibpath_overrides_runpath=yes
11629 rm -f core conftest.err conftest.$ac_objext \
11630 conftest$ac_exeext conftest.$ac_ext
11631 LDFLAGS=$save_LDFLAGS
11632 libdir=$save_libdir
11636 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11638 # This implies no fast_install, which is unacceptable.
11639 # Some rework will be needed to allow for fast_install
11640 # before this can be enabled.
11641 hardcode_into_libs=yes
11643 # Append ld.so.conf contents to the search path
11644 if test -f /etc/ld.so.conf; then
11645 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11646 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11649 # We used to test for /lib/ld.so.1 and disable shared libraries on
11650 # powerpc, because MkLinux only supported shared libraries with the
11651 # GNU dynamic linker. Since this was broken with cross compilers,
11652 # most powerpc-linux boxes support dynamic linking these days and
11653 # people can always --disable-shared, the test was removed, and we
11654 # assume the GNU/Linux dynamic linker is in use.
11655 dynamic_linker='GNU/Linux ld.so'
11662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11663 soname_spec='${libname}${release}${shared_ext}$major'
11664 shlibpath_var=LD_LIBRARY_PATH
11665 shlibpath_overrides_runpath=no
11666 hardcode_into_libs=yes
11667 dynamic_linker='NetBSD ld.elf_so'
11674 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11676 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11677 dynamic_linker='NetBSD (a.out) ld.so'
11679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11680 soname_spec='${libname}${release}${shared_ext}$major'
11681 dynamic_linker='NetBSD ld.elf_so'
11683 shlibpath_var=LD_LIBRARY_PATH
11684 shlibpath_overrides_runpath=yes
11685 hardcode_into_libs=yes
11689 version_type=linux # correct to gnu/linux during the next big refactor
11690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11691 shlibpath_var=LD_LIBRARY_PATH
11692 shlibpath_overrides_runpath=yes
11699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11700 soname_spec='${libname}${release}${shared_ext}$major'
11701 shlibpath_var=LD_LIBRARY_PATH
11702 shlibpath_overrides_runpath=no
11703 hardcode_into_libs=yes
11704 dynamic_linker='ldqnx.so'
11709 sys_lib_dlsearch_path_spec="/usr/lib"
11711 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11713 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11714 *) need_version=no ;;
11716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11717 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11718 shlibpath_var=LD_LIBRARY_PATH
11719 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11721 openbsd2.[89] | openbsd2.[89].*)
11722 shlibpath_overrides_runpath=no
11725 shlibpath_overrides_runpath=yes
11729 shlibpath_overrides_runpath=yes
11734 libname_spec='$name'
11737 library_names_spec='$libname${shared_ext} $libname.a'
11738 dynamic_linker='OS/2 ld.exe'
11739 shlibpath_var=LIBPATH
11742 osf3* | osf4* | osf5*)
11746 soname_spec='${libname}${release}${shared_ext}$major'
11747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11748 shlibpath_var=LD_LIBRARY_PATH
11749 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11750 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11758 version_type=linux # correct to gnu/linux during the next big refactor
11761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11762 soname_spec='${libname}${release}${shared_ext}$major'
11763 shlibpath_var=LD_LIBRARY_PATH
11764 shlibpath_overrides_runpath=yes
11765 hardcode_into_libs=yes
11766 # ldd complains unless libraries are executable
11767 postinstall_cmds='chmod +x $lib'
11772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11773 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11774 shlibpath_var=LD_LIBRARY_PATH
11775 shlibpath_overrides_runpath=yes
11776 if test "$with_gnu_ld" = yes; then
11783 version_type=linux # correct to gnu/linux during the next big refactor
11784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11785 soname_spec='${libname}${release}${shared_ext}$major'
11786 shlibpath_var=LD_LIBRARY_PATH
11787 case $host_vendor in
11789 shlibpath_overrides_runpath=no
11791 runpath_var=LD_RUN_PATH
11799 shlibpath_overrides_runpath=no
11800 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11806 if test -d /usr/nec ;then
11807 version_type=linux # correct to gnu/linux during the next big refactor
11808 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11809 soname_spec='$libname${shared_ext}.$major'
11810 shlibpath_var=LD_LIBRARY_PATH
11814 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11815 version_type=freebsd-elf
11818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11819 soname_spec='${libname}${release}${shared_ext}$major'
11820 shlibpath_var=LD_LIBRARY_PATH
11821 shlibpath_overrides_runpath=yes
11822 hardcode_into_libs=yes
11823 if test "$with_gnu_ld" = yes; then
11824 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11826 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11829 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11833 sys_lib_dlsearch_path_spec='/usr/lib'
11837 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11838 version_type=linux # correct to gnu/linux during the next big refactor
11841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11842 shlibpath_var=LD_LIBRARY_PATH
11843 shlibpath_overrides_runpath=no
11844 hardcode_into_libs=yes
11848 version_type=linux # correct to gnu/linux during the next big refactor
11849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11850 soname_spec='${libname}${release}${shared_ext}$major'
11851 shlibpath_var=LD_LIBRARY_PATH
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11859 $as_echo "$dynamic_linker" >&6; }
11860 test "$dynamic_linker" = no && can_build_shared=no
11862 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11863 if test "$GCC" = yes; then
11864 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11867 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11868 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11870 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11871 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11966 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11968 if test -n "$hardcode_libdir_flag_spec" ||
11969 test -n "$runpath_var" ||
11970 test "X$hardcode_automatic" = "Xyes" ; then
11972 # We can hardcode non-existent directories.
11973 if test "$hardcode_direct" != no &&
11974 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11975 # have to relink, otherwise we might link with an installed library
11976 # when we should be linking with a yet-to-be-installed one
11977 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11978 test "$hardcode_minus_L" != no; then
11979 # Linking always hardcodes the temporary library directory.
11980 hardcode_action=relink
11982 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11983 hardcode_action=immediate
11986 # We cannot hardcode anything, or else we can only hardcode existing
11988 hardcode_action=unsupported
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11991 $as_echo "$hardcode_action" >&6; }
11993 if test "$hardcode_action" = relink ||
11994 test "$inherit_rpath" = yes; then
11995 # Fast installation is not supported
11996 enable_fast_install=no
11997 elif test "$shlibpath_overrides_runpath" = yes ||
11998 test "$enable_shared" = no; then
11999 # Fast installation is not necessary
12000 enable_fast_install=needless
12008 if test "x$enable_dlopen" != xyes; then
12009 enable_dlopen=unknown
12010 enable_dlopen_self=unknown
12011 enable_dlopen_self_static=unknown
12018 lt_cv_dlopen="load_add_on"
12020 lt_cv_dlopen_self=yes
12023 mingw* | pw32* | cegcc*)
12024 lt_cv_dlopen="LoadLibrary"
12029 lt_cv_dlopen="dlopen"
12034 # if libdl is installed we need to link against it
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12036 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12037 if ${ac_cv_lib_dl_dlopen+:} false; then :
12038 $as_echo_n "(cached) " >&6
12040 ac_check_lib_save_LIBS=$LIBS
12042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12043 /* end confdefs.h. */
12045 /* Override any GCC internal prototype to avoid an error.
12046 Use char because int might match the return type of a GCC
12047 builtin and then its argument prototype would still apply. */
12060 if ac_fn_c_try_link "$LINENO"; then :
12061 ac_cv_lib_dl_dlopen=yes
12063 ac_cv_lib_dl_dlopen=no
12065 rm -f core conftest.err conftest.$ac_objext \
12066 conftest$ac_exeext conftest.$ac_ext
12067 LIBS=$ac_check_lib_save_LIBS
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12070 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12071 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12072 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12075 lt_cv_dlopen="dyld"
12077 lt_cv_dlopen_self=yes
12084 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12085 if test "x$ac_cv_func_shl_load" = xyes; then :
12086 lt_cv_dlopen="shl_load"
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12089 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12090 if ${ac_cv_lib_dld_shl_load+:} false; then :
12091 $as_echo_n "(cached) " >&6
12093 ac_check_lib_save_LIBS=$LIBS
12095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12096 /* end confdefs.h. */
12098 /* Override any GCC internal prototype to avoid an error.
12099 Use char because int might match the return type of a GCC
12100 builtin and then its argument prototype would still apply. */
12108 return shl_load ();
12113 if ac_fn_c_try_link "$LINENO"; then :
12114 ac_cv_lib_dld_shl_load=yes
12116 ac_cv_lib_dld_shl_load=no
12118 rm -f core conftest.err conftest.$ac_objext \
12119 conftest$ac_exeext conftest.$ac_ext
12120 LIBS=$ac_check_lib_save_LIBS
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12123 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12124 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12125 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12127 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12128 if test "x$ac_cv_func_dlopen" = xyes; then :
12129 lt_cv_dlopen="dlopen"
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12132 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12133 if ${ac_cv_lib_dl_dlopen+:} false; then :
12134 $as_echo_n "(cached) " >&6
12136 ac_check_lib_save_LIBS=$LIBS
12138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12139 /* end confdefs.h. */
12141 /* Override any GCC internal prototype to avoid an error.
12142 Use char because int might match the return type of a GCC
12143 builtin and then its argument prototype would still apply. */
12156 if ac_fn_c_try_link "$LINENO"; then :
12157 ac_cv_lib_dl_dlopen=yes
12159 ac_cv_lib_dl_dlopen=no
12161 rm -f core conftest.err conftest.$ac_objext \
12162 conftest$ac_exeext conftest.$ac_ext
12163 LIBS=$ac_check_lib_save_LIBS
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12166 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12167 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12168 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12171 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12172 if ${ac_cv_lib_svld_dlopen+:} false; then :
12173 $as_echo_n "(cached) " >&6
12175 ac_check_lib_save_LIBS=$LIBS
12176 LIBS="-lsvld $LIBS"
12177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12178 /* end confdefs.h. */
12180 /* Override any GCC internal prototype to avoid an error.
12181 Use char because int might match the return type of a GCC
12182 builtin and then its argument prototype would still apply. */
12195 if ac_fn_c_try_link "$LINENO"; then :
12196 ac_cv_lib_svld_dlopen=yes
12198 ac_cv_lib_svld_dlopen=no
12200 rm -f core conftest.err conftest.$ac_objext \
12201 conftest$ac_exeext conftest.$ac_ext
12202 LIBS=$ac_check_lib_save_LIBS
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12205 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12206 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12207 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12210 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12211 if ${ac_cv_lib_dld_dld_link+:} false; then :
12212 $as_echo_n "(cached) " >&6
12214 ac_check_lib_save_LIBS=$LIBS
12216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12217 /* end confdefs.h. */
12219 /* Override any GCC internal prototype to avoid an error.
12220 Use char because int might match the return type of a GCC
12221 builtin and then its argument prototype would still apply. */
12229 return dld_link ();
12234 if ac_fn_c_try_link "$LINENO"; then :
12235 ac_cv_lib_dld_dld_link=yes
12237 ac_cv_lib_dld_dld_link=no
12239 rm -f core conftest.err conftest.$ac_objext \
12240 conftest$ac_exeext conftest.$ac_ext
12241 LIBS=$ac_check_lib_save_LIBS
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12244 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12245 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12246 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12267 if test "x$lt_cv_dlopen" != xno; then
12273 case $lt_cv_dlopen in
12275 save_CPPFLAGS="$CPPFLAGS"
12276 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12278 save_LDFLAGS="$LDFLAGS"
12279 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12282 LIBS="$lt_cv_dlopen_libs $LIBS"
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12285 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12286 if ${lt_cv_dlopen_self+:} false; then :
12287 $as_echo_n "(cached) " >&6
12289 if test "$cross_compiling" = yes; then :
12290 lt_cv_dlopen_self=cross
12292 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12293 lt_status=$lt_dlunknown
12294 cat > conftest.$ac_ext <<_LT_EOF
12295 #line $LINENO "configure"
12296 #include "confdefs.h"
12305 # define LT_DLGLOBAL RTLD_GLOBAL
12308 # define LT_DLGLOBAL DL_GLOBAL
12310 # define LT_DLGLOBAL 0
12314 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12315 find out it does not work in some platform. */
12316 #ifndef LT_DLLAZY_OR_NOW
12318 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12321 # define LT_DLLAZY_OR_NOW DL_LAZY
12324 # define LT_DLLAZY_OR_NOW RTLD_NOW
12327 # define LT_DLLAZY_OR_NOW DL_NOW
12329 # define LT_DLLAZY_OR_NOW 0
12336 /* When -fvisbility=hidden is used, assume the code has been annotated
12337 correspondingly for the symbols needed. */
12338 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12339 int fnord () __attribute__((visibility("default")));
12342 int fnord () { return 42; }
12345 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12346 int status = $lt_dlunknown;
12350 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12353 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12354 else puts (dlerror ());
12356 /* dlclose (self); */
12364 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12365 (eval $ac_link) 2>&5
12367 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12368 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12369 (./conftest; exit; ) >&5 2>/dev/null
12371 case x$lt_status in
12372 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12373 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12374 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12377 # compilation failed
12378 lt_cv_dlopen_self=no
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12386 $as_echo "$lt_cv_dlopen_self" >&6; }
12388 if test "x$lt_cv_dlopen_self" = xyes; then
12389 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12391 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12392 if ${lt_cv_dlopen_self_static+:} false; then :
12393 $as_echo_n "(cached) " >&6
12395 if test "$cross_compiling" = yes; then :
12396 lt_cv_dlopen_self_static=cross
12398 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12399 lt_status=$lt_dlunknown
12400 cat > conftest.$ac_ext <<_LT_EOF
12401 #line $LINENO "configure"
12402 #include "confdefs.h"
12411 # define LT_DLGLOBAL RTLD_GLOBAL
12414 # define LT_DLGLOBAL DL_GLOBAL
12416 # define LT_DLGLOBAL 0
12420 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12421 find out it does not work in some platform. */
12422 #ifndef LT_DLLAZY_OR_NOW
12424 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12427 # define LT_DLLAZY_OR_NOW DL_LAZY
12430 # define LT_DLLAZY_OR_NOW RTLD_NOW
12433 # define LT_DLLAZY_OR_NOW DL_NOW
12435 # define LT_DLLAZY_OR_NOW 0
12442 /* When -fvisbility=hidden is used, assume the code has been annotated
12443 correspondingly for the symbols needed. */
12444 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12445 int fnord () __attribute__((visibility("default")));
12448 int fnord () { return 42; }
12451 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12452 int status = $lt_dlunknown;
12456 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12459 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12460 else puts (dlerror ());
12462 /* dlclose (self); */
12470 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12471 (eval $ac_link) 2>&5
12473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12474 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12475 (./conftest; exit; ) >&5 2>/dev/null
12477 case x$lt_status in
12478 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12479 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12480 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12483 # compilation failed
12484 lt_cv_dlopen_self_static=no
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12492 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12495 CPPFLAGS="$save_CPPFLAGS"
12496 LDFLAGS="$save_LDFLAGS"
12501 case $lt_cv_dlopen_self in
12502 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12503 *) enable_dlopen_self=unknown ;;
12506 case $lt_cv_dlopen_self_static in
12507 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12508 *) enable_dlopen_self_static=unknown ;;
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12531 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12532 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12533 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12534 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12536 $as_echo "yes" >&6; }
12538 # FIXME - insert some real tests, host_os isn't really good enough
12541 if test -n "$STRIP" ; then
12542 striplib="$STRIP -x"
12543 old_striplib="$STRIP -S"
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12545 $as_echo "yes" >&6; }
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12548 $as_echo "no" >&6; }
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12553 $as_echo "no" >&6; }
12569 # Report which library types will actually be built
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12571 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12573 $as_echo "$can_build_shared" >&6; }
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12576 $as_echo_n "checking whether to build shared libraries... " >&6; }
12577 test "$can_build_shared" = "no" && enable_shared=no
12579 # On AIX, shared libraries and static libraries use the same namespace, and
12580 # are all built from PIC.
12583 test "$enable_shared" = yes && enable_static=no
12584 if test -n "$RANLIB"; then
12585 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12586 postinstall_cmds='$RANLIB $lib'
12591 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12592 test "$enable_shared" = yes && enable_static=no
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12597 $as_echo "$enable_shared" >&6; }
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12600 $as_echo_n "checking whether to build static libraries... " >&6; }
12601 # Make sure either enable_shared or enable_static is yes.
12602 test "$enable_shared" = yes || enable_static=yes
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12604 $as_echo "$enable_static" >&6; }
12611 ac_cpp='$CPP $CPPFLAGS'
12612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12632 ac_config_commands="$ac_config_commands libtool"
12637 # Only expand once:
12647 # Check whether --with-autoconf was given.
12648 if test "${with_autoconf+set}" = set; then :
12649 withval=$with_autoconf;
12652 AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
12655 $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
12661 # Check whether --with-autoheader was given.
12662 if test "${with_autoheader+set}" = set; then :
12663 withval=$with_autoheader;
12666 AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
12669 $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
12675 # Check whether --with-automake was given.
12676 if test "${with_automake+set}" = set; then :
12677 withval=$with_automake;
12680 AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
12683 $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
12689 # Check whether --with-aclocal was given.
12690 if test "${with_aclocal+set}" = set; then :
12691 withval=$with_aclocal;
12694 ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
12697 $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
12703 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12709 $as_echo_n "checking whether NLS is requested... " >&6; }
12710 # Check whether --enable-nls was given.
12711 if test "${enable_nls+set}" = set; then :
12712 enableval=$enable_nls; USE_NLS=$enableval
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12718 $as_echo "$USE_NLS" >&6; }
12723 GETTEXT_MACRO_VERSION=0.17
12728 # Prepare PATH_SEPARATOR.
12729 # The user is always right.
12730 if test "${PATH_SEPARATOR+set}" != set; then
12731 echo "#! /bin/sh" >conf$$.sh
12732 echo "exit 0" >>conf$$.sh
12734 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12742 # Find out how to test for executable files. Don't use a zero-byte file,
12743 # as systems may use methods other than mode bits to determine executability.
12744 cat >conf$$.file <<_ASEOF
12748 chmod +x conf$$.file
12749 if test -x conf$$.file >/dev/null 2>&1; then
12750 ac_executable_p="test -x"
12752 ac_executable_p="test -f"
12756 # Extract the first word of "msgfmt", so it can be a program name with args.
12757 set dummy msgfmt; ac_word=$2
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12759 $as_echo_n "checking for $ac_word... " >&6; }
12760 if ${ac_cv_path_MSGFMT+:} false; then :
12761 $as_echo_n "(cached) " >&6
12765 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12768 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12769 for ac_dir in $PATH; do
12771 test -z "$ac_dir" && ac_dir=.
12772 for ac_exec_ext in '' $ac_executable_extensions; do
12773 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12774 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12775 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
12776 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12777 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12784 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12788 MSGFMT="$ac_cv_path_MSGFMT"
12789 if test "$MSGFMT" != ":"; then
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12791 $as_echo "$MSGFMT" >&6; }
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12794 $as_echo "no" >&6; }
12797 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12798 set dummy gmsgfmt; ac_word=$2
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12800 $as_echo_n "checking for $ac_word... " >&6; }
12801 if ${ac_cv_path_GMSGFMT+:} false; then :
12802 $as_echo_n "(cached) " >&6
12806 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12810 for as_dir in $PATH
12813 test -z "$as_dir" && as_dir=.
12814 for ac_exec_ext in '' $ac_executable_extensions; do
12815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12816 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12824 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12828 GMSGFMT=$ac_cv_path_GMSGFMT
12829 if test -n "$GMSGFMT"; then
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12831 $as_echo "$GMSGFMT" >&6; }
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12834 $as_echo "no" >&6; }
12839 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12840 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
12841 *) MSGFMT_015=$MSGFMT ;;
12844 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12845 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
12846 *) GMSGFMT_015=$GMSGFMT ;;
12851 # Prepare PATH_SEPARATOR.
12852 # The user is always right.
12853 if test "${PATH_SEPARATOR+set}" != set; then
12854 echo "#! /bin/sh" >conf$$.sh
12855 echo "exit 0" >>conf$$.sh
12857 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12865 # Find out how to test for executable files. Don't use a zero-byte file,
12866 # as systems may use methods other than mode bits to determine executability.
12867 cat >conf$$.file <<_ASEOF
12871 chmod +x conf$$.file
12872 if test -x conf$$.file >/dev/null 2>&1; then
12873 ac_executable_p="test -x"
12875 ac_executable_p="test -f"
12879 # Extract the first word of "xgettext", so it can be a program name with args.
12880 set dummy xgettext; ac_word=$2
12881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12882 $as_echo_n "checking for $ac_word... " >&6; }
12883 if ${ac_cv_path_XGETTEXT+:} false; then :
12884 $as_echo_n "(cached) " >&6
12886 case "$XGETTEXT" in
12888 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12891 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12892 for ac_dir in $PATH; do
12894 test -z "$ac_dir" && ac_dir=.
12895 for ac_exec_ext in '' $ac_executable_extensions; do
12896 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12897 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12898 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
12899 (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
12900 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
12907 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12911 XGETTEXT="$ac_cv_path_XGETTEXT"
12912 if test "$XGETTEXT" != ":"; then
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12914 $as_echo "$XGETTEXT" >&6; }
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12917 $as_echo "no" >&6; }
12922 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12923 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
12924 *) XGETTEXT_015=$XGETTEXT ;;
12929 # Prepare PATH_SEPARATOR.
12930 # The user is always right.
12931 if test "${PATH_SEPARATOR+set}" != set; then
12932 echo "#! /bin/sh" >conf$$.sh
12933 echo "exit 0" >>conf$$.sh
12935 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12943 # Find out how to test for executable files. Don't use a zero-byte file,
12944 # as systems may use methods other than mode bits to determine executability.
12945 cat >conf$$.file <<_ASEOF
12949 chmod +x conf$$.file
12950 if test -x conf$$.file >/dev/null 2>&1; then
12951 ac_executable_p="test -x"
12953 ac_executable_p="test -f"
12957 # Extract the first word of "msgmerge", so it can be a program name with args.
12958 set dummy msgmerge; ac_word=$2
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12960 $as_echo_n "checking for $ac_word... " >&6; }
12961 if ${ac_cv_path_MSGMERGE+:} false; then :
12962 $as_echo_n "(cached) " >&6
12964 case "$MSGMERGE" in
12966 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12969 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12970 for ac_dir in $PATH; do
12972 test -z "$ac_dir" && ac_dir=.
12973 for ac_exec_ext in '' $ac_executable_extensions; do
12974 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12975 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12976 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
12977 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12984 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12988 MSGMERGE="$ac_cv_path_MSGMERGE"
12989 if test "$MSGMERGE" != ":"; then
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12991 $as_echo "$MSGMERGE" >&6; }
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12994 $as_echo "no" >&6; }
12998 test -n "$localedir" || localedir='${datadir}/locale'
13001 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
13004 ac_config_commands="$ac_config_commands po-directories"
13008 if test "X$prefix" = "XNONE"; then
13009 acl_final_prefix="$ac_default_prefix"
13011 acl_final_prefix="$prefix"
13013 if test "X$exec_prefix" = "XNONE"; then
13014 acl_final_exec_prefix='${prefix}'
13016 acl_final_exec_prefix="$exec_prefix"
13018 acl_save_prefix="$prefix"
13019 prefix="$acl_final_prefix"
13020 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
13021 prefix="$acl_save_prefix"
13024 # Check whether --with-gnu-ld was given.
13025 if test "${with_gnu_ld+set}" = set; then :
13026 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13031 # Prepare PATH_SEPARATOR.
13032 # The user is always right.
13033 if test "${PATH_SEPARATOR+set}" != set; then
13034 echo "#! /bin/sh" >conf$$.sh
13035 echo "exit 0" >>conf$$.sh
13037 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13045 if test "$GCC" = yes; then
13046 # Check if gcc -print-prog-name=ld gives a path.
13047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13048 $as_echo_n "checking for ld used by GCC... " >&6; }
13051 # gcc leaves a trailing carriage return which upsets mingw
13052 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13054 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13057 # Accept absolute paths.
13058 [\\/]* | [A-Za-z]:[\\/]*)
13059 re_direlt='/[^/][^/]*/\.\./'
13060 # Canonicalize the path of ld
13061 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
13062 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
13063 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
13065 test -z "$LD" && LD="$ac_prog"
13068 # If it fails, then pretend we aren't using GCC.
13072 # If it is relative, then search for the first ld in PATH.
13073 with_gnu_ld=unknown
13076 elif test "$with_gnu_ld" = yes; then
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13078 $as_echo_n "checking for GNU ld... " >&6; }
13080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13081 $as_echo_n "checking for non-GNU ld... " >&6; }
13083 if ${acl_cv_path_LD+:} false; then :
13084 $as_echo_n "(cached) " >&6
13086 if test -z "$LD"; then
13087 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13088 for ac_dir in $PATH; do
13089 test -z "$ac_dir" && ac_dir=.
13090 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13091 acl_cv_path_LD="$ac_dir/$ac_prog"
13092 # Check to see if the program is GNU ld. I'd rather use --version,
13093 # but apparently some GNU ld's only accept -v.
13094 # Break only if it was the GNU/non-GNU ld that we prefer.
13095 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13096 *GNU* | *'with BFD'*)
13097 test "$with_gnu_ld" != no && break ;;
13099 test "$with_gnu_ld" != yes && break ;;
13105 acl_cv_path_LD="$LD" # Let the user override the test with a path.
13109 LD="$acl_cv_path_LD"
13110 if test -n "$LD"; then
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13112 $as_echo "$LD" >&6; }
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13115 $as_echo "no" >&6; }
13117 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13119 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13120 if ${acl_cv_prog_gnu_ld+:} false; then :
13121 $as_echo_n "(cached) " >&6
13123 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13124 case `$LD -v 2>&1 </dev/null` in
13125 *GNU* | *'with BFD'*)
13126 acl_cv_prog_gnu_ld=yes ;;
13128 acl_cv_prog_gnu_ld=no ;;
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13132 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13133 with_gnu_ld=$acl_cv_prog_gnu_ld
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13139 $as_echo_n "checking for shared library run path origin... " >&6; }
13140 if ${acl_cv_rpath+:} false; then :
13141 $as_echo_n "(cached) " >&6
13144 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
13145 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13147 rm -f ./conftest.sh
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13152 $as_echo "$acl_cv_rpath" >&6; }
13154 acl_libext="$acl_cv_libext"
13155 acl_shlibext="$acl_cv_shlibext"
13156 acl_libname_spec="$acl_cv_libname_spec"
13157 acl_library_names_spec="$acl_cv_library_names_spec"
13158 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
13159 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
13160 acl_hardcode_direct="$acl_cv_hardcode_direct"
13161 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
13162 # Check whether --enable-rpath was given.
13163 if test "${enable_rpath+set}" = set; then :
13164 enableval=$enable_rpath; :
13172 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13173 if test -n "$searchpath"; then
13174 acl_save_IFS="${IFS= }"; IFS=":"
13175 for searchdir in $searchpath; do
13176 if test -d "$searchdir"; then
13177 case "$searchdir" in
13178 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
13179 *) searchdir=`cd "$searchdir" && pwd`
13180 case "$searchdir" in
13181 */lib64 ) acl_libdirstem=lib64 ;;
13186 IFS="$acl_save_IFS"
13199 acl_save_prefix="$prefix"
13200 prefix="$acl_final_prefix"
13201 acl_save_exec_prefix="$exec_prefix"
13202 exec_prefix="$acl_final_exec_prefix"
13204 eval additional_includedir=\"$includedir\"
13205 eval additional_libdir=\"$libdir\"
13207 exec_prefix="$acl_save_exec_prefix"
13208 prefix="$acl_save_prefix"
13211 # Check whether --with-libiconv-prefix was given.
13212 if test "${with_libiconv_prefix+set}" = set; then :
13213 withval=$with_libiconv_prefix;
13214 if test "X$withval" = "Xno"; then
13217 if test "X$withval" = "X"; then
13219 acl_save_prefix="$prefix"
13220 prefix="$acl_final_prefix"
13221 acl_save_exec_prefix="$exec_prefix"
13222 exec_prefix="$acl_final_exec_prefix"
13224 eval additional_includedir=\"$includedir\"
13225 eval additional_libdir=\"$libdir\"
13227 exec_prefix="$acl_save_exec_prefix"
13228 prefix="$acl_save_prefix"
13231 additional_includedir="$withval/include"
13232 additional_libdir="$withval/$acl_libdirstem"
13244 names_already_handled=
13245 names_next_round='iconv '
13246 while test -n "$names_next_round"; do
13247 names_this_round="$names_next_round"
13249 for name in $names_this_round; do
13251 for n in $names_already_handled; do
13252 if test "$n" = "$name"; then
13253 already_handled=yes
13257 if test -z "$already_handled"; then
13258 names_already_handled="$names_already_handled $name"
13259 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13260 eval value=\"\$HAVE_LIB$uppername\"
13261 if test -n "$value"; then
13262 if test "$value" = yes; then
13263 eval value=\"\$LIB$uppername\"
13264 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
13265 eval value=\"\$LTLIB$uppername\"
13266 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
13275 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13276 if test -n "$acl_shlibext"; then
13277 shrext=".$acl_shlibext" # typically: shrext=.so
13281 if test $use_additional = yes; then
13282 dir="$additional_libdir"
13283 if test -n "$acl_shlibext"; then
13284 if test -f "$dir/$libname$shrext"; then
13286 found_so="$dir/$libname$shrext"
13288 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13289 ver=`(cd "$dir" && \
13290 for f in "$libname$shrext".*; do echo "$f"; done \
13291 | sed -e "s,^$libname$shrext\\\\.,," \
13292 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13293 | sed 1q ) 2>/dev/null`
13294 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13296 found_so="$dir/$libname$shrext.$ver"
13299 eval library_names=\"$acl_library_names_spec\"
13300 for f in $library_names; do
13301 if test -f "$dir/$f"; then
13310 if test "X$found_dir" = "X"; then
13311 if test -f "$dir/$libname.$acl_libext"; then
13313 found_a="$dir/$libname.$acl_libext"
13316 if test "X$found_dir" != "X"; then
13317 if test -f "$dir/$libname.la"; then
13318 found_la="$dir/$libname.la"
13322 if test "X$found_dir" = "X"; then
13323 for x in $LDFLAGS $LTLIBICONV; do
13325 acl_save_prefix="$prefix"
13326 prefix="$acl_final_prefix"
13327 acl_save_exec_prefix="$exec_prefix"
13328 exec_prefix="$acl_final_exec_prefix"
13330 exec_prefix="$acl_save_exec_prefix"
13331 prefix="$acl_save_prefix"
13335 dir=`echo "X$x" | sed -e 's/^X-L//'`
13336 if test -n "$acl_shlibext"; then
13337 if test -f "$dir/$libname$shrext"; then
13339 found_so="$dir/$libname$shrext"
13341 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13342 ver=`(cd "$dir" && \
13343 for f in "$libname$shrext".*; do echo "$f"; done \
13344 | sed -e "s,^$libname$shrext\\\\.,," \
13345 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13346 | sed 1q ) 2>/dev/null`
13347 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13349 found_so="$dir/$libname$shrext.$ver"
13352 eval library_names=\"$acl_library_names_spec\"
13353 for f in $library_names; do
13354 if test -f "$dir/$f"; then
13363 if test "X$found_dir" = "X"; then
13364 if test -f "$dir/$libname.$acl_libext"; then
13366 found_a="$dir/$libname.$acl_libext"
13369 if test "X$found_dir" != "X"; then
13370 if test -f "$dir/$libname.la"; then
13371 found_la="$dir/$libname.la"
13376 if test "X$found_dir" != "X"; then
13381 if test "X$found_dir" != "X"; then
13382 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13383 if test "X$found_so" != "X"; then
13384 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13385 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13388 for x in $ltrpathdirs; do
13389 if test "X$x" = "X$found_dir"; then
13394 if test -z "$haveit"; then
13395 ltrpathdirs="$ltrpathdirs $found_dir"
13397 if test "$acl_hardcode_direct" = yes; then
13398 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13400 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13401 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13403 for x in $rpathdirs; do
13404 if test "X$x" = "X$found_dir"; then
13409 if test -z "$haveit"; then
13410 rpathdirs="$rpathdirs $found_dir"
13414 for x in $LDFLAGS $LIBICONV; do
13416 acl_save_prefix="$prefix"
13417 prefix="$acl_final_prefix"
13418 acl_save_exec_prefix="$exec_prefix"
13419 exec_prefix="$acl_final_exec_prefix"
13421 exec_prefix="$acl_save_exec_prefix"
13422 prefix="$acl_save_prefix"
13424 if test "X$x" = "X-L$found_dir"; then
13429 if test -z "$haveit"; then
13430 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13432 if test "$acl_hardcode_minus_L" != no; then
13433 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
13435 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13441 if test "X$found_a" != "X"; then
13442 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
13444 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13447 additional_includedir=
13448 case "$found_dir" in
13449 */$acl_libdirstem | */$acl_libdirstem/)
13450 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13451 LIBICONV_PREFIX="$basedir"
13452 additional_includedir="$basedir/include"
13455 if test "X$additional_includedir" != "X"; then
13456 if test "X$additional_includedir" != "X/usr/include"; then
13458 if test "X$additional_includedir" = "X/usr/local/include"; then
13459 if test -n "$GCC"; then
13461 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13465 if test -z "$haveit"; then
13466 for x in $CPPFLAGS $INCICONV; do
13468 acl_save_prefix="$prefix"
13469 prefix="$acl_final_prefix"
13470 acl_save_exec_prefix="$exec_prefix"
13471 exec_prefix="$acl_final_exec_prefix"
13473 exec_prefix="$acl_save_exec_prefix"
13474 prefix="$acl_save_prefix"
13476 if test "X$x" = "X-I$additional_includedir"; then
13481 if test -z "$haveit"; then
13482 if test -d "$additional_includedir"; then
13483 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13489 if test -n "$found_la"; then
13490 save_libdir="$libdir"
13491 case "$found_la" in
13492 */* | *\\*) . "$found_la" ;;
13493 *) . "./$found_la" ;;
13495 libdir="$save_libdir"
13496 for dep in $dependency_libs; do
13499 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13500 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13502 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13503 if test -n "$GCC"; then
13505 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13509 if test -z "$haveit"; then
13511 for x in $LDFLAGS $LIBICONV; do
13513 acl_save_prefix="$prefix"
13514 prefix="$acl_final_prefix"
13515 acl_save_exec_prefix="$exec_prefix"
13516 exec_prefix="$acl_final_exec_prefix"
13518 exec_prefix="$acl_save_exec_prefix"
13519 prefix="$acl_save_prefix"
13521 if test "X$x" = "X-L$additional_libdir"; then
13526 if test -z "$haveit"; then
13527 if test -d "$additional_libdir"; then
13528 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13532 for x in $LDFLAGS $LTLIBICONV; do
13534 acl_save_prefix="$prefix"
13535 prefix="$acl_final_prefix"
13536 acl_save_exec_prefix="$exec_prefix"
13537 exec_prefix="$acl_final_exec_prefix"
13539 exec_prefix="$acl_save_exec_prefix"
13540 prefix="$acl_save_prefix"
13542 if test "X$x" = "X-L$additional_libdir"; then
13547 if test -z "$haveit"; then
13548 if test -d "$additional_libdir"; then
13549 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13556 dir=`echo "X$dep" | sed -e 's/^X-R//'`
13557 if test "$enable_rpath" != no; then
13559 for x in $rpathdirs; do
13560 if test "X$x" = "X$dir"; then
13565 if test -z "$haveit"; then
13566 rpathdirs="$rpathdirs $dir"
13569 for x in $ltrpathdirs; do
13570 if test "X$x" = "X$dir"; then
13575 if test -z "$haveit"; then
13576 ltrpathdirs="$ltrpathdirs $dir"
13581 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13584 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13587 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
13588 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13594 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
13595 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13601 if test "X$rpathdirs" != "X"; then
13602 if test -n "$acl_hardcode_libdir_separator"; then
13604 for found_dir in $rpathdirs; do
13605 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13607 acl_save_libdir="$libdir"
13609 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13610 libdir="$acl_save_libdir"
13611 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13613 for found_dir in $rpathdirs; do
13614 acl_save_libdir="$libdir"
13615 libdir="$found_dir"
13616 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13617 libdir="$acl_save_libdir"
13618 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13622 if test "X$ltrpathdirs" != "X"; then
13623 for found_dir in $ltrpathdirs; do
13624 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13653 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13654 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
13655 $as_echo_n "(cached) " >&6
13657 gt_save_LIBS="$LIBS"
13658 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13660 /* end confdefs.h. */
13661 #include <CoreFoundation/CFPreferences.h>
13665 CFPreferencesCopyAppValue(NULL, NULL)
13670 if ac_fn_c_try_link "$LINENO"; then :
13671 gt_cv_func_CFPreferencesCopyAppValue=yes
13673 gt_cv_func_CFPreferencesCopyAppValue=no
13675 rm -f core conftest.err conftest.$ac_objext \
13676 conftest$ac_exeext conftest.$ac_ext
13677 LIBS="$gt_save_LIBS"
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
13680 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
13681 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
13683 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13687 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13688 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
13689 $as_echo_n "(cached) " >&6
13691 gt_save_LIBS="$LIBS"
13692 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13694 /* end confdefs.h. */
13695 #include <CoreFoundation/CFLocale.h>
13699 CFLocaleCopyCurrent();
13704 if ac_fn_c_try_link "$LINENO"; then :
13705 gt_cv_func_CFLocaleCopyCurrent=yes
13707 gt_cv_func_CFLocaleCopyCurrent=no
13709 rm -f core conftest.err conftest.$ac_objext \
13710 conftest$ac_exeext conftest.$ac_ext
13711 LIBS="$gt_save_LIBS"
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
13714 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
13715 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13717 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
13721 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13722 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
13734 case " $gt_needs " in
13735 *" need-formatstring-macros "*) gt_api_version=3 ;;
13736 *" need-ngettext "*) gt_api_version=2 ;;
13737 *) gt_api_version=1 ;;
13739 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
13740 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
13742 if test "$USE_NLS" = "yes"; then
13743 gt_use_preinstalled_gnugettext=no
13746 if test $gt_api_version -ge 3; then
13747 gt_revision_test_code='
13748 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
13749 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
13751 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
13754 gt_revision_test_code=
13756 if test $gt_api_version -ge 2; then
13757 gt_expression_test_code=' + * ngettext ("", "", 0)'
13759 gt_expression_test_code=
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13763 $as_echo_n "checking for GNU gettext in libc... " >&6; }
13764 if eval \${$gt_func_gnugettext_libc+:} false; then :
13765 $as_echo_n "(cached) " >&6
13767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13768 /* end confdefs.h. */
13769 #include <libintl.h>
13770 $gt_revision_test_code
13771 extern int _nl_msg_cat_cntr;
13772 extern int *_nl_domain_bindings;
13776 bindtextdomain ("", "");
13777 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
13782 if ac_fn_c_try_link "$LINENO"; then :
13783 eval "$gt_func_gnugettext_libc=yes"
13785 eval "$gt_func_gnugettext_libc=no"
13787 rm -f core conftest.err conftest.$ac_objext \
13788 conftest$ac_exeext conftest.$ac_ext
13790 eval ac_res=\$$gt_func_gnugettext_libc
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13792 $as_echo "$ac_res" >&6; }
13794 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
13800 am_save_CPPFLAGS="$CPPFLAGS"
13802 for element in $INCICONV; do
13804 for x in $CPPFLAGS; do
13806 acl_save_prefix="$prefix"
13807 prefix="$acl_final_prefix"
13808 acl_save_exec_prefix="$exec_prefix"
13809 exec_prefix="$acl_final_exec_prefix"
13811 exec_prefix="$acl_save_exec_prefix"
13812 prefix="$acl_save_prefix"
13814 if test "X$x" = "X$element"; then
13819 if test -z "$haveit"; then
13820 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13826 $as_echo_n "checking for iconv... " >&6; }
13827 if ${am_cv_func_iconv+:} false; then :
13828 $as_echo_n "(cached) " >&6
13831 am_cv_func_iconv="no, consider installing GNU libiconv"
13833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13834 /* end confdefs.h. */
13835 #include <stdlib.h>
13840 iconv_t cd = iconv_open("","");
13841 iconv(cd,NULL,NULL,NULL,NULL);
13847 if ac_fn_c_try_link "$LINENO"; then :
13848 am_cv_func_iconv=yes
13850 rm -f core conftest.err conftest.$ac_objext \
13851 conftest$ac_exeext conftest.$ac_ext
13852 if test "$am_cv_func_iconv" != yes; then
13853 am_save_LIBS="$LIBS"
13854 LIBS="$LIBS $LIBICONV"
13855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13856 /* end confdefs.h. */
13857 #include <stdlib.h>
13862 iconv_t cd = iconv_open("","");
13863 iconv(cd,NULL,NULL,NULL,NULL);
13869 if ac_fn_c_try_link "$LINENO"; then :
13870 am_cv_lib_iconv=yes
13871 am_cv_func_iconv=yes
13873 rm -f core conftest.err conftest.$ac_objext \
13874 conftest$ac_exeext conftest.$ac_ext
13875 LIBS="$am_save_LIBS"
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13880 $as_echo "$am_cv_func_iconv" >&6; }
13881 if test "$am_cv_func_iconv" = yes; then
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13883 $as_echo_n "checking for working iconv... " >&6; }
13884 if ${am_cv_func_iconv_works+:} false; then :
13885 $as_echo_n "(cached) " >&6
13888 am_save_LIBS="$LIBS"
13889 if test $am_cv_lib_iconv = yes; then
13890 LIBS="$LIBS $LIBICONV"
13892 if test "$cross_compiling" = yes; then :
13894 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13895 *) am_cv_func_iconv_works="guessing yes" ;;
13898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13899 /* end confdefs.h. */
13902 #include <string.h>
13905 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13908 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13909 if (cd_utf8_to_88591 != (iconv_t)(-1))
13911 static const char input[] = "\342\202\254"; /* EURO SIGN */
13913 const char *inptr = input;
13914 size_t inbytesleft = strlen (input);
13915 char *outptr = buf;
13916 size_t outbytesleft = sizeof (buf);
13917 size_t res = iconv (cd_utf8_to_88591,
13918 (char **) &inptr, &inbytesleft,
13919 &outptr, &outbytesleft);
13924 #if 0 /* This bug could be worked around by the caller. */
13925 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
13927 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13928 if (cd_88591_to_utf8 != (iconv_t)(-1))
13930 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13932 const char *inptr = input;
13933 size_t inbytesleft = strlen (input);
13934 char *outptr = buf;
13935 size_t outbytesleft = sizeof (buf);
13936 size_t res = iconv (cd_88591_to_utf8,
13937 (char **) &inptr, &inbytesleft,
13938 &outptr, &outbytesleft);
13944 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13946 if (/* Try standardized names. */
13947 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13948 /* Try IRIX, OSF/1 names. */
13949 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13950 /* Try AIX names. */
13951 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13952 /* Try HP-UX names. */
13953 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13958 if ac_fn_c_try_run "$LINENO"; then :
13959 am_cv_func_iconv_works=yes
13961 am_cv_func_iconv_works=no
13963 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13964 conftest.$ac_objext conftest.beam conftest.$ac_ext
13967 LIBS="$am_save_LIBS"
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13971 $as_echo "$am_cv_func_iconv_works" >&6; }
13972 case "$am_cv_func_iconv_works" in
13973 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
13974 *) am_func_iconv=yes ;;
13977 am_func_iconv=no am_cv_lib_iconv=no
13979 if test "$am_func_iconv" = yes; then
13981 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13984 if test "$am_cv_lib_iconv" = yes; then
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13986 $as_echo_n "checking how to link with libiconv... " >&6; }
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13988 $as_echo "$LIBICONV" >&6; }
13990 CPPFLAGS="$am_save_CPPFLAGS"
14004 acl_save_prefix="$prefix"
14005 prefix="$acl_final_prefix"
14006 acl_save_exec_prefix="$exec_prefix"
14007 exec_prefix="$acl_final_exec_prefix"
14009 eval additional_includedir=\"$includedir\"
14010 eval additional_libdir=\"$libdir\"
14012 exec_prefix="$acl_save_exec_prefix"
14013 prefix="$acl_save_prefix"
14016 # Check whether --with-libintl-prefix was given.
14017 if test "${with_libintl_prefix+set}" = set; then :
14018 withval=$with_libintl_prefix;
14019 if test "X$withval" = "Xno"; then
14022 if test "X$withval" = "X"; then
14024 acl_save_prefix="$prefix"
14025 prefix="$acl_final_prefix"
14026 acl_save_exec_prefix="$exec_prefix"
14027 exec_prefix="$acl_final_exec_prefix"
14029 eval additional_includedir=\"$includedir\"
14030 eval additional_libdir=\"$libdir\"
14032 exec_prefix="$acl_save_exec_prefix"
14033 prefix="$acl_save_prefix"
14036 additional_includedir="$withval/include"
14037 additional_libdir="$withval/$acl_libdirstem"
14049 names_already_handled=
14050 names_next_round='intl '
14051 while test -n "$names_next_round"; do
14052 names_this_round="$names_next_round"
14054 for name in $names_this_round; do
14056 for n in $names_already_handled; do
14057 if test "$n" = "$name"; then
14058 already_handled=yes
14062 if test -z "$already_handled"; then
14063 names_already_handled="$names_already_handled $name"
14064 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14065 eval value=\"\$HAVE_LIB$uppername\"
14066 if test -n "$value"; then
14067 if test "$value" = yes; then
14068 eval value=\"\$LIB$uppername\"
14069 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
14070 eval value=\"\$LTLIB$uppername\"
14071 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
14080 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14081 if test -n "$acl_shlibext"; then
14082 shrext=".$acl_shlibext" # typically: shrext=.so
14086 if test $use_additional = yes; then
14087 dir="$additional_libdir"
14088 if test -n "$acl_shlibext"; then
14089 if test -f "$dir/$libname$shrext"; then
14091 found_so="$dir/$libname$shrext"
14093 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14094 ver=`(cd "$dir" && \
14095 for f in "$libname$shrext".*; do echo "$f"; done \
14096 | sed -e "s,^$libname$shrext\\\\.,," \
14097 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14098 | sed 1q ) 2>/dev/null`
14099 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14101 found_so="$dir/$libname$shrext.$ver"
14104 eval library_names=\"$acl_library_names_spec\"
14105 for f in $library_names; do
14106 if test -f "$dir/$f"; then
14115 if test "X$found_dir" = "X"; then
14116 if test -f "$dir/$libname.$acl_libext"; then
14118 found_a="$dir/$libname.$acl_libext"
14121 if test "X$found_dir" != "X"; then
14122 if test -f "$dir/$libname.la"; then
14123 found_la="$dir/$libname.la"
14127 if test "X$found_dir" = "X"; then
14128 for x in $LDFLAGS $LTLIBINTL; do
14130 acl_save_prefix="$prefix"
14131 prefix="$acl_final_prefix"
14132 acl_save_exec_prefix="$exec_prefix"
14133 exec_prefix="$acl_final_exec_prefix"
14135 exec_prefix="$acl_save_exec_prefix"
14136 prefix="$acl_save_prefix"
14140 dir=`echo "X$x" | sed -e 's/^X-L//'`
14141 if test -n "$acl_shlibext"; then
14142 if test -f "$dir/$libname$shrext"; then
14144 found_so="$dir/$libname$shrext"
14146 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14147 ver=`(cd "$dir" && \
14148 for f in "$libname$shrext".*; do echo "$f"; done \
14149 | sed -e "s,^$libname$shrext\\\\.,," \
14150 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14151 | sed 1q ) 2>/dev/null`
14152 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14154 found_so="$dir/$libname$shrext.$ver"
14157 eval library_names=\"$acl_library_names_spec\"
14158 for f in $library_names; do
14159 if test -f "$dir/$f"; then
14168 if test "X$found_dir" = "X"; then
14169 if test -f "$dir/$libname.$acl_libext"; then
14171 found_a="$dir/$libname.$acl_libext"
14174 if test "X$found_dir" != "X"; then
14175 if test -f "$dir/$libname.la"; then
14176 found_la="$dir/$libname.la"
14181 if test "X$found_dir" != "X"; then
14186 if test "X$found_dir" != "X"; then
14187 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14188 if test "X$found_so" != "X"; then
14189 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14190 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14193 for x in $ltrpathdirs; do
14194 if test "X$x" = "X$found_dir"; then
14199 if test -z "$haveit"; then
14200 ltrpathdirs="$ltrpathdirs $found_dir"
14202 if test "$acl_hardcode_direct" = yes; then
14203 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14205 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14206 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14208 for x in $rpathdirs; do
14209 if test "X$x" = "X$found_dir"; then
14214 if test -z "$haveit"; then
14215 rpathdirs="$rpathdirs $found_dir"
14219 for x in $LDFLAGS $LIBINTL; do
14221 acl_save_prefix="$prefix"
14222 prefix="$acl_final_prefix"
14223 acl_save_exec_prefix="$exec_prefix"
14224 exec_prefix="$acl_final_exec_prefix"
14226 exec_prefix="$acl_save_exec_prefix"
14227 prefix="$acl_save_prefix"
14229 if test "X$x" = "X-L$found_dir"; then
14234 if test -z "$haveit"; then
14235 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14237 if test "$acl_hardcode_minus_L" != no; then
14238 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
14240 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14246 if test "X$found_a" != "X"; then
14247 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
14249 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14252 additional_includedir=
14253 case "$found_dir" in
14254 */$acl_libdirstem | */$acl_libdirstem/)
14255 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14256 LIBINTL_PREFIX="$basedir"
14257 additional_includedir="$basedir/include"
14260 if test "X$additional_includedir" != "X"; then
14261 if test "X$additional_includedir" != "X/usr/include"; then
14263 if test "X$additional_includedir" = "X/usr/local/include"; then
14264 if test -n "$GCC"; then
14266 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14270 if test -z "$haveit"; then
14271 for x in $CPPFLAGS $INCINTL; do
14273 acl_save_prefix="$prefix"
14274 prefix="$acl_final_prefix"
14275 acl_save_exec_prefix="$exec_prefix"
14276 exec_prefix="$acl_final_exec_prefix"
14278 exec_prefix="$acl_save_exec_prefix"
14279 prefix="$acl_save_prefix"
14281 if test "X$x" = "X-I$additional_includedir"; then
14286 if test -z "$haveit"; then
14287 if test -d "$additional_includedir"; then
14288 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14294 if test -n "$found_la"; then
14295 save_libdir="$libdir"
14296 case "$found_la" in
14297 */* | *\\*) . "$found_la" ;;
14298 *) . "./$found_la" ;;
14300 libdir="$save_libdir"
14301 for dep in $dependency_libs; do
14304 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14305 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14307 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14308 if test -n "$GCC"; then
14310 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14314 if test -z "$haveit"; then
14316 for x in $LDFLAGS $LIBINTL; do
14318 acl_save_prefix="$prefix"
14319 prefix="$acl_final_prefix"
14320 acl_save_exec_prefix="$exec_prefix"
14321 exec_prefix="$acl_final_exec_prefix"
14323 exec_prefix="$acl_save_exec_prefix"
14324 prefix="$acl_save_prefix"
14326 if test "X$x" = "X-L$additional_libdir"; then
14331 if test -z "$haveit"; then
14332 if test -d "$additional_libdir"; then
14333 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14337 for x in $LDFLAGS $LTLIBINTL; do
14339 acl_save_prefix="$prefix"
14340 prefix="$acl_final_prefix"
14341 acl_save_exec_prefix="$exec_prefix"
14342 exec_prefix="$acl_final_exec_prefix"
14344 exec_prefix="$acl_save_exec_prefix"
14345 prefix="$acl_save_prefix"
14347 if test "X$x" = "X-L$additional_libdir"; then
14352 if test -z "$haveit"; then
14353 if test -d "$additional_libdir"; then
14354 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14361 dir=`echo "X$dep" | sed -e 's/^X-R//'`
14362 if test "$enable_rpath" != no; then
14364 for x in $rpathdirs; do
14365 if test "X$x" = "X$dir"; then
14370 if test -z "$haveit"; then
14371 rpathdirs="$rpathdirs $dir"
14374 for x in $ltrpathdirs; do
14375 if test "X$x" = "X$dir"; then
14380 if test -z "$haveit"; then
14381 ltrpathdirs="$ltrpathdirs $dir"
14386 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14389 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14392 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
14393 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14399 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
14400 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14406 if test "X$rpathdirs" != "X"; then
14407 if test -n "$acl_hardcode_libdir_separator"; then
14409 for found_dir in $rpathdirs; do
14410 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14412 acl_save_libdir="$libdir"
14414 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14415 libdir="$acl_save_libdir"
14416 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14418 for found_dir in $rpathdirs; do
14419 acl_save_libdir="$libdir"
14420 libdir="$found_dir"
14421 eval flag=\"$acl_hardcode_libdir_flag_spec\"
14422 libdir="$acl_save_libdir"
14423 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
14427 if test "X$ltrpathdirs" != "X"; then
14428 for found_dir in $ltrpathdirs; do
14429 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14434 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
14435 if eval \${$gt_func_gnugettext_libintl+:} false; then :
14436 $as_echo_n "(cached) " >&6
14438 gt_save_CPPFLAGS="$CPPFLAGS"
14439 CPPFLAGS="$CPPFLAGS $INCINTL"
14440 gt_save_LIBS="$LIBS"
14441 LIBS="$LIBS $LIBINTL"
14442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14443 /* end confdefs.h. */
14444 #include <libintl.h>
14445 $gt_revision_test_code
14446 extern int _nl_msg_cat_cntr;
14451 const char *_nl_expand_alias (const char *);
14455 bindtextdomain ("", "");
14456 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14461 if ac_fn_c_try_link "$LINENO"; then :
14462 eval "$gt_func_gnugettext_libintl=yes"
14464 eval "$gt_func_gnugettext_libintl=no"
14466 rm -f core conftest.err conftest.$ac_objext \
14467 conftest$ac_exeext conftest.$ac_ext
14468 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14469 LIBS="$LIBS $LIBICONV"
14470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14471 /* end confdefs.h. */
14472 #include <libintl.h>
14473 $gt_revision_test_code
14474 extern int _nl_msg_cat_cntr;
14479 const char *_nl_expand_alias (const char *);
14483 bindtextdomain ("", "");
14484 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14489 if ac_fn_c_try_link "$LINENO"; then :
14490 LIBINTL="$LIBINTL $LIBICONV"
14491 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
14492 eval "$gt_func_gnugettext_libintl=yes"
14495 rm -f core conftest.err conftest.$ac_objext \
14496 conftest$ac_exeext conftest.$ac_ext
14498 CPPFLAGS="$gt_save_CPPFLAGS"
14499 LIBS="$gt_save_LIBS"
14501 eval ac_res=\$$gt_func_gnugettext_libintl
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14503 $as_echo "$ac_res" >&6; }
14506 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14507 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14508 && test "$PACKAGE" != gettext-runtime \
14509 && test "$PACKAGE" != gettext-tools; }; then
14510 gt_use_preinstalled_gnugettext=yes
14519 if test -n "$INTL_MACOSX_LIBS"; then
14520 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14521 || test "$nls_cv_use_gnu_gettext" = "yes"; then
14522 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
14523 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
14527 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14528 || test "$nls_cv_use_gnu_gettext" = "yes"; then
14530 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14538 $as_echo_n "checking whether to use NLS... " >&6; }
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14540 $as_echo "$USE_NLS" >&6; }
14541 if test "$USE_NLS" = "yes"; then
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14543 $as_echo_n "checking where the gettext function comes from... " >&6; }
14544 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14545 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14546 gt_source="external libintl"
14551 gt_source="included intl directory"
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14554 $as_echo "$gt_source" >&6; }
14557 if test "$USE_NLS" = "yes"; then
14559 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14560 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14562 $as_echo_n "checking how to link with libintl... " >&6; }
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14564 $as_echo "$LIBINTL" >&6; }
14566 for element in $INCINTL; do
14568 for x in $CPPFLAGS; do
14570 acl_save_prefix="$prefix"
14571 prefix="$acl_final_prefix"
14572 acl_save_exec_prefix="$exec_prefix"
14573 exec_prefix="$acl_final_exec_prefix"
14575 exec_prefix="$acl_save_exec_prefix"
14576 prefix="$acl_save_prefix"
14578 if test "X$x" = "X$element"; then
14583 if test -z "$haveit"; then
14584 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
14591 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14594 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14603 INTLLIBS="$LIBINTL"
14611 if test "$USE_NLS" = "yes"; then
14612 GETTEXT_PACKAGE=gst-plugins-ugly-$GST_MAJORMINOR
14614 GETTEXT_PACKAGE=NULL
14618 cat >>confdefs.h <<_ACEOF
14619 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14625 FROM_VAR=$datadir/locale
14627 prefix_save=$prefix
14628 exec_prefix_save=$exec_prefix
14630 if test "x$prefix" = "xNONE"; then
14631 prefix="$ac_default_prefix"
14633 if test "x$exec_prefix" = "xNONE"; then
14634 exec_prefix=$prefix
14637 full_var="$FROM_VAR"
14639 new_full_var="`eval echo $full_var`"
14640 if test "x$new_full_var" = "x$full_var"; then break; fi
14641 full_var=$new_full_var
14644 full_var=$new_full_var
14645 LOCALEDIR="$full_var"
14648 prefix=$prefix_save
14649 exec_prefix=$exec_prefix_save
14652 cat >>confdefs.h <<_ACEOF
14653 #define LOCALEDIR "$LOCALEDIR"
14660 # Check whether --enable-debug was given.
14661 if test "${enable_debug+set}" = set; then :
14662 enableval=$enable_debug;
14663 case "${enableval}" in
14664 yes) USE_DEBUG=yes ;;
14665 no) USE_DEBUG=no ;;
14666 *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
14674 # Check whether --enable-profiling was given.
14675 if test "${enable_profiling+set}" = set; then :
14676 enableval=$enable_profiling;
14677 case "${enableval}" in
14678 yes) USE_PROFILING=yes ;;
14679 no) USE_PROFILING=no ;;
14680 *) as_fn_error $? "bad value ${enableval} for --enable-profiling" "$LINENO" 5 ;;
14689 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14690 if test -n "$ac_tool_prefix"; then
14691 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14692 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14694 $as_echo_n "checking for $ac_word... " >&6; }
14695 if ${ac_cv_path_PKG_CONFIG+:} false; then :
14696 $as_echo_n "(cached) " >&6
14698 case $PKG_CONFIG in
14700 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14704 for as_dir in $PATH
14707 test -z "$as_dir" && as_dir=.
14708 for ac_exec_ext in '' $ac_executable_extensions; do
14709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14710 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14721 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14722 if test -n "$PKG_CONFIG"; then
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14724 $as_echo "$PKG_CONFIG" >&6; }
14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14727 $as_echo "no" >&6; }
14732 if test -z "$ac_cv_path_PKG_CONFIG"; then
14733 ac_pt_PKG_CONFIG=$PKG_CONFIG
14734 # Extract the first word of "pkg-config", so it can be a program name with args.
14735 set dummy pkg-config; ac_word=$2
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14737 $as_echo_n "checking for $ac_word... " >&6; }
14738 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14739 $as_echo_n "(cached) " >&6
14741 case $ac_pt_PKG_CONFIG in
14743 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14747 for as_dir in $PATH
14750 test -z "$as_dir" && as_dir=.
14751 for ac_exec_ext in '' $ac_executable_extensions; do
14752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14753 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14764 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14765 if test -n "$ac_pt_PKG_CONFIG"; then
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14767 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14770 $as_echo "no" >&6; }
14773 if test "x$ac_pt_PKG_CONFIG" = x; then
14776 case $cross_compiling:$ac_tool_warned in
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14780 ac_tool_warned=yes ;;
14782 PKG_CONFIG=$ac_pt_PKG_CONFIG
14785 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14789 if test -n "$PKG_CONFIG"; then
14790 _pkg_min_version=0.9.0
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14792 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14793 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14795 $as_echo "yes" >&6; }
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14798 $as_echo "no" >&6; }
14804 # Check whether --enable-valgrind was given.
14805 if test "${enable_valgrind+set}" = set; then :
14806 enableval=$enable_valgrind;
14807 case "${enableval}" in
14808 yes) USE_VALGRIND="$USE_DEBUG" ;;
14809 no) USE_VALGRIND=no ;;
14810 *) as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
14814 USE_VALGRIND="$USE_DEBUG"
14817 if test "x$USE_VALGRIND" = xyes; then
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
14821 $as_echo_n "checking for VALGRIND... " >&6; }
14823 if test -n "$PKG_CONFIG"; then
14824 if test -n "$VALGRIND_CFLAGS"; then
14825 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
14827 if test -n "$PKG_CONFIG" && \
14828 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14829 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14832 test $ac_status = 0; }; then
14833 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14841 if test -n "$PKG_CONFIG"; then
14842 if test -n "$VALGRIND_LIBS"; then
14843 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
14845 if test -n "$PKG_CONFIG" && \
14846 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14847 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14850 test $ac_status = 0; }; then
14851 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14862 if test $pkg_failed = yes; then
14864 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14865 _pkg_short_errors_supported=yes
14867 _pkg_short_errors_supported=no
14869 if test $_pkg_short_errors_supported = yes; then
14870 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14872 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14874 # Put the nasty error message in config.log where it belongs
14875 echo "$VALGRIND_PKG_ERRORS" >&5
14877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14878 $as_echo "no" >&6; }
14880 elif test $pkg_failed = untried; then
14883 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
14884 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14886 $as_echo "yes" >&6; }
14890 if test "x$USE_VALGRIND" = xyes; then
14892 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
14894 { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
14895 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
14899 # Check whether --enable-gcov was given.
14900 if test "${enable_gcov+set}" = set; then :
14901 enableval=$enable_gcov; enable_gcov=$enableval
14906 if test x$enable_gcov = xyes ; then
14907 if test "x$GCC" != "xyes"
14909 as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
14914 $as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
14916 save_CFLAGS="$CFLAGS"
14917 CFLAGS="$CFLAGS "-fprofile-arcs""
14919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14920 /* end confdefs.h. */
14930 if ac_fn_c_try_compile "$LINENO"; then :
14935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14936 CFLAGS="$save_CFLAGS"
14938 if test "X$flag_ok" = Xyes ; then
14939 GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14946 $as_echo "$flag_ok" >&6; }
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
14950 $as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
14952 save_CFLAGS="$CFLAGS"
14953 CFLAGS="$CFLAGS "-ftest-coverage""
14955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14966 if ac_fn_c_try_compile "$LINENO"; then :
14971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14972 CFLAGS="$save_CFLAGS"
14974 if test "X$flag_ok" = Xyes ; then
14975 GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14982 $as_echo "$flag_ok" >&6; }
14984 GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
14988 GCOV=`echo $CC | sed s/gcc/gcov/g`
14991 GST_GCOV_ENABLED=yes
14993 cat >>confdefs.h <<_ACEOF
14994 #define GST_GCOV_ENABLED 1
14997 if test "x$GST_GCOV_ENABLED" = "xyes"
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
15008 $as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
15011 if test x$enable_gcov = xyes; then
15012 GST_GCOV_ENABLED_TRUE=
15013 GST_GCOV_ENABLED_FALSE='#'
15015 GST_GCOV_ENABLED_TRUE='#'
15016 GST_GCOV_ENABLED_FALSE=
15022 # Check whether --enable-examples was given.
15023 if test "${enable_examples+set}" = set; then :
15024 enableval=$enable_examples;
15025 case "${enableval}" in
15026 yes) BUILD_EXAMPLES=yes ;;
15027 no) BUILD_EXAMPLES=no ;;
15028 *) as_fn_error $? "bad value ${enableval} for --disable-examples" "$LINENO" 5 ;;
15034 if test "x$BUILD_EXAMPLES" = "xyes"; then
15035 BUILD_EXAMPLES_TRUE=
15036 BUILD_EXAMPLES_FALSE='#'
15038 BUILD_EXAMPLES_TRUE='#'
15039 BUILD_EXAMPLES_FALSE=
15046 # Check whether --with-pkg-config-path was given.
15047 if test "${with_pkg_config_path+set}" = set; then :
15048 withval=$with_pkg_config_path;
15049 export PKG_CONFIG_PATH=${withval}
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
15051 $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
15058 # Check whether --with-package-name was given.
15059 if test "${with_package_name+set}" = set; then :
15060 withval=$with_package_name;
15061 case "${withval}" in
15062 yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
15063 no) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
15064 *) GST_PACKAGE_NAME="${withval}" ;;
15070 if test "x$P" = "x"
15075 if test "x$PACKAGE_VERSION_NANO" = "x0"
15077 GST_PACKAGE_NAME="$P source release"
15079 if test "x$PACKAGE_VERSION_NANO" = "x1"
15081 GST_PACKAGE_NAME="$P git"
15083 GST_PACKAGE_NAME="$P prerelease"
15090 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
15091 $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
15093 cat >>confdefs.h <<_ACEOF
15094 #define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
15101 # Check whether --with-package-origin was given.
15102 if test "${with_package_origin+set}" = set; then :
15103 withval=$with_package_origin;
15104 case "${withval}" in
15105 yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
15106 no) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
15107 *) GST_PACKAGE_ORIGIN="${withval}" ;;
15111 GST_PACKAGE_ORIGIN="Unknown package origin"
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
15115 $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
15117 cat >>confdefs.h <<_ACEOF
15118 #define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
15126 # Check whether --with-plugins was given.
15127 if test "${with_plugins+set}" = set; then :
15128 withval=$with_plugins; WITH_PLUGINS=$withval
15135 GST_PLUGINS_SELECTED=""
15143 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of plug-ins with external deps ***" >&5
15144 $as_echo "$as_me: *** checking feature: building of plug-ins with external deps ***" >&6;}
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
15148 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
15151 if test "x$USE_EXTERNAL" = "xno"; then
15154 # Check whether --enable-external was given.
15155 if test "${enable_external+set}" = set; then :
15156 enableval=$enable_external; case "${enableval}" in
15157 yes) USE_EXTERNAL=yes;;
15158 no) USE_EXTERNAL=no;;
15159 *) as_fn_error $? "bad value ${enableval} for --enable-external" "$LINENO" 5 ;;
15165 if test "x$NOUSE" = "xyes"; then
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
15168 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
15173 if test x$USE_EXTERNAL = xyes; then
15175 gst_check_save_LIBS=$LIBS
15176 gst_check_save_LDFLAGS=$LDFLAGS
15177 gst_check_save_CFLAGS=$CFLAGS
15178 gst_check_save_CPPFLAGS=$CPPFLAGS
15179 gst_check_save_CXXFLAGS=$CXXFLAGS
15184 LIBS=$gst_check_save_LIBS
15185 LDFLAGS=$gst_check_save_LDFLAGS
15186 CFLAGS=$gst_check_save_CFLAGS
15187 CPPFLAGS=$gst_check_save_CPPFLAGS
15188 CXXFLAGS=$gst_check_save_CXXFLAGS
15190 if test x$HAVE_EXTERNAL = xno; then
15196 if test x$USE_EXTERNAL = xyes; then
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: building external plug-ins" >&5
15199 $as_echo "$as_me: building external plug-ins" >&6;}
15200 BUILD_EXTERNAL="yes"
15202 if test "x" != "x"; then
15203 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
15206 $as_echo "#define HAVE_EXTERNAL /**/" >>confdefs.h
15210 if test "x" != "x"; then
15211 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: all plug-ins with external dependencies will not be built" >&5
15215 $as_echo "$as_me: WARNING: all plug-ins with external dependencies will not be built" >&2;}
15216 BUILD_EXTERNAL="no"
15219 if test x$USE_EXTERNAL = xyes; then
15221 USE_EXTERNAL_FALSE='#'
15223 USE_EXTERNAL_TRUE='#'
15224 USE_EXTERNAL_FALSE=
15228 # make BUILD_EXTERNAL available to Makefile.am
15229 if test "x$BUILD_EXTERNAL" = "xyes"; then
15230 BUILD_EXTERNAL_TRUE=
15231 BUILD_EXTERNAL_FALSE='#'
15233 BUILD_EXTERNAL_TRUE='#'
15234 BUILD_EXTERNAL_FALSE=
15241 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of experimental plug-ins ***" >&5
15242 $as_echo "$as_me: *** checking feature: building of experimental plug-ins ***" >&6;}
15245 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5
15246 $as_echo "$as_me: *** for plug-ins: ***" >&6;}
15249 if test "x$USE_EXPERIMENTAL" = "xno"; then
15252 # Check whether --enable-experimental was given.
15253 if test "${enable_experimental+set}" = set; then :
15254 enableval=$enable_experimental; case "${enableval}" in
15255 yes) USE_EXPERIMENTAL=yes;;
15256 no) USE_EXPERIMENTAL=no;;
15257 *) as_fn_error $? "bad value ${enableval} for --enable-experimental" "$LINENO" 5 ;;
15260 USE_EXPERIMENTAL=no
15263 if test "x$NOUSE" = "xyes"; then
15264 USE_EXPERIMENTAL="no"
15265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5
15266 $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;}
15271 if test x$USE_EXPERIMENTAL = xyes; then
15273 gst_check_save_LIBS=$LIBS
15274 gst_check_save_LDFLAGS=$LDFLAGS
15275 gst_check_save_CFLAGS=$CFLAGS
15276 gst_check_save_CPPFLAGS=$CPPFLAGS
15277 gst_check_save_CXXFLAGS=$CXXFLAGS
15279 HAVE_EXPERIMENTAL=no
15280 HAVE_EXPERIMENTAL=yes
15282 LIBS=$gst_check_save_LIBS
15283 LDFLAGS=$gst_check_save_LDFLAGS
15284 CFLAGS=$gst_check_save_CFLAGS
15285 CPPFLAGS=$gst_check_save_CPPFLAGS
15286 CXXFLAGS=$gst_check_save_CXXFLAGS
15288 if test x$HAVE_EXPERIMENTAL = xno; then
15289 USE_EXPERIMENTAL=no
15294 if test x$USE_EXPERIMENTAL = xyes; then
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: building experimental plug-ins" >&5
15297 $as_echo "$as_me: WARNING: building experimental plug-ins" >&2;}
15298 BUILD_EXPERIMENTAL="yes"
15300 if test "x" != "x"; then
15301 GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES"
15304 $as_echo "#define HAVE_EXPERIMENTAL /**/" >>confdefs.h
15308 if test "x" != "x"; then
15309 GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO"
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: not building experimental plug-ins" >&5
15313 $as_echo "$as_me: not building experimental plug-ins" >&6;}
15314 BUILD_EXPERIMENTAL="no"
15317 if test x$USE_EXPERIMENTAL = xyes; then
15318 USE_EXPERIMENTAL_TRUE=
15319 USE_EXPERIMENTAL_FALSE='#'
15321 USE_EXPERIMENTAL_TRUE='#'
15322 USE_EXPERIMENTAL_FALSE=
15326 # make BUILD_EXPERIMENTAL available to Makefile.am
15327 if test "x$BUILD_EXPERIMENTAL" = "xyes"; then
15328 BUILD_EXPERIMENTAL_TRUE=
15329 BUILD_EXPERIMENTAL_FALSE='#'
15331 BUILD_EXPERIMENTAL_TRUE='#'
15332 BUILD_EXPERIMENTAL_FALSE=
15341 case "x${host_cpu}" in
15342 xi?86 | xk? | xi?86_64)
15345 ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default"
15346 if test "x$ac_cv_have_decl___i386" = xyes; then :
15352 ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
15353 if test "x$ac_cv_have_decl___amd64" = xyes; then :
15360 if test "x$I386_ABI" = "xyes" ; then
15363 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
15366 if test "x$AMD64_ABI" = "xyes" ; then
15367 HAVE_CPU_X86_64=yes
15369 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
15376 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
15379 case "x${host_cpu}" in
15383 $as_echo "#define HAVE_RDTSC 1" >>confdefs.h
15392 $as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h
15397 $as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h
15402 $as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h
15407 $as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h
15412 $as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h
15417 $as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h
15422 $as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h
15427 $as_echo "#define HAVE_CPU_S390 1" >>confdefs.h
15432 $as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h
15437 $as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h
15440 HAVE_CPU_X86_64=yes
15442 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
15447 $as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h
15450 HAVE_CPU_CRISV32=yes
15452 $as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15457 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15458 if ${ac_cv_c_bigendian+:} false; then :
15459 $as_echo_n "(cached) " >&6
15461 ac_cv_c_bigendian=unknown
15462 # See if we're dealing with a universal compiler.
15463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15464 /* end confdefs.h. */
15465 #ifndef __APPLE_CC__
15466 not a universal capable compiler
15471 if ac_fn_c_try_compile "$LINENO"; then :
15473 # Check for potential -arch flags. It is not universal unless
15474 # there are at least two -arch flags with different values.
15477 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15478 if test -n "$ac_prev"; then
15480 i?86 | x86_64 | ppc | ppc64)
15481 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15484 ac_cv_c_bigendian=universal
15490 elif test "x$ac_word" = "x-arch"; then
15495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15496 if test $ac_cv_c_bigendian = unknown; then
15497 # See if sys/param.h defines the BYTE_ORDER macro.
15498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15499 /* end confdefs.h. */
15500 #include <sys/types.h>
15501 #include <sys/param.h>
15506 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15507 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15509 bogus endian macros
15516 if ac_fn_c_try_compile "$LINENO"; then :
15517 # It does; now see whether it defined to BIG_ENDIAN or not.
15518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15519 /* end confdefs.h. */
15520 #include <sys/types.h>
15521 #include <sys/param.h>
15526 #if BYTE_ORDER != BIG_ENDIAN
15534 if ac_fn_c_try_compile "$LINENO"; then :
15535 ac_cv_c_bigendian=yes
15537 ac_cv_c_bigendian=no
15539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15543 if test $ac_cv_c_bigendian = unknown; then
15544 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15546 /* end confdefs.h. */
15547 #include <limits.h>
15552 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15553 bogus endian macros
15560 if ac_fn_c_try_compile "$LINENO"; then :
15561 # It does; now see whether it defined to _BIG_ENDIAN or not.
15562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15563 /* end confdefs.h. */
15564 #include <limits.h>
15569 #ifndef _BIG_ENDIAN
15577 if ac_fn_c_try_compile "$LINENO"; then :
15578 ac_cv_c_bigendian=yes
15580 ac_cv_c_bigendian=no
15582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15586 if test $ac_cv_c_bigendian = unknown; then
15587 # Compile a test program.
15588 if test "$cross_compiling" = yes; then :
15589 # Try to guess by grepping values from an object file.
15590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15591 /* end confdefs.h. */
15592 short int ascii_mm[] =
15593 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15594 short int ascii_ii[] =
15595 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15596 int use_ascii (int i) {
15597 return ascii_mm[i] + ascii_ii[i];
15599 short int ebcdic_ii[] =
15600 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15601 short int ebcdic_mm[] =
15602 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15603 int use_ebcdic (int i) {
15604 return ebcdic_mm[i] + ebcdic_ii[i];
15611 return use_ascii (foo) == use_ebcdic (foo);
15616 if ac_fn_c_try_compile "$LINENO"; then :
15617 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
15618 ac_cv_c_bigendian=yes
15620 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
15621 if test "$ac_cv_c_bigendian" = unknown; then
15622 ac_cv_c_bigendian=no
15624 # finding both strings is unlikely to happen, but who knows?
15625 ac_cv_c_bigendian=unknown
15629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15632 /* end confdefs.h. */
15633 $ac_includes_default
15638 /* Are we little or big endian? From Harbison&Steele. */
15642 char c[sizeof (long int)];
15645 return u.c[sizeof (long int) - 1] == 1;
15651 if ac_fn_c_try_run "$LINENO"; then :
15652 ac_cv_c_bigendian=no
15654 ac_cv_c_bigendian=yes
15656 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15657 conftest.$ac_objext conftest.beam conftest.$ac_ext
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15663 $as_echo "$ac_cv_c_bigendian" >&6; }
15664 case $ac_cv_c_bigendian in #(
15666 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
15672 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15676 as_fn_error $? "unknown endianness
15677 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15681 if test "x$HAVE_CPU_I386" = "xyes"; then
15682 HAVE_CPU_I386_TRUE=
15683 HAVE_CPU_I386_FALSE='#'
15685 HAVE_CPU_I386_TRUE='#'
15686 HAVE_CPU_I386_FALSE=
15689 if test "x$HAVE_CPU_PPC" = "xyes"; then
15691 HAVE_CPU_PPC_FALSE='#'
15693 HAVE_CPU_PPC_TRUE='#'
15694 HAVE_CPU_PPC_FALSE=
15697 if test "x$HAVE_CPU_PPC64" = "xyes"; then
15698 HAVE_CPU_PPC64_TRUE=
15699 HAVE_CPU_PPC64_FALSE='#'
15701 HAVE_CPU_PPC64_TRUE='#'
15702 HAVE_CPU_PPC64_FALSE=
15705 if test "x$HAVE_CPU_ALPHA" = "xyes"; then
15706 HAVE_CPU_ALPHA_TRUE=
15707 HAVE_CPU_ALPHA_FALSE='#'
15709 HAVE_CPU_ALPHA_TRUE='#'
15710 HAVE_CPU_ALPHA_FALSE=
15713 if test "x$HAVE_CPU_ARM" = "xyes"; then
15715 HAVE_CPU_ARM_FALSE='#'
15717 HAVE_CPU_ARM_TRUE='#'
15718 HAVE_CPU_ARM_FALSE=
15721 if test "x$HAVE_CPU_SPARC" = "xyes"; then
15722 HAVE_CPU_SPARC_TRUE=
15723 HAVE_CPU_SPARC_FALSE='#'
15725 HAVE_CPU_SPARC_TRUE='#'
15726 HAVE_CPU_SPARC_FALSE=
15729 if test "x$HAVE_CPU_HPPA" = "xyes"; then
15730 HAVE_CPU_HPPA_TRUE=
15731 HAVE_CPU_HPPA_FALSE='#'
15733 HAVE_CPU_HPPA_TRUE='#'
15734 HAVE_CPU_HPPA_FALSE=
15737 if test "x$HAVE_CPU_MIPS" = "xyes"; then
15738 HAVE_CPU_MIPS_TRUE=
15739 HAVE_CPU_MIPS_FALSE='#'
15741 HAVE_CPU_MIPS_TRUE='#'
15742 HAVE_CPU_MIPS_FALSE=
15745 if test "x$HAVE_CPU_S390" = "xyes"; then
15746 HAVE_CPU_S390_TRUE=
15747 HAVE_CPU_S390_FALSE='#'
15749 HAVE_CPU_S390_TRUE='#'
15750 HAVE_CPU_S390_FALSE=
15753 if test "x$HAVE_CPU_IA64" = "xyes"; then
15754 HAVE_CPU_IA64_TRUE=
15755 HAVE_CPU_IA64_FALSE='#'
15757 HAVE_CPU_IA64_TRUE='#'
15758 HAVE_CPU_IA64_FALSE=
15761 if test "x$HAVE_CPU_M68K" = "xyes"; then
15762 HAVE_CPU_M68K_TRUE=
15763 HAVE_CPU_M68K_FALSE='#'
15765 HAVE_CPU_M68K_TRUE='#'
15766 HAVE_CPU_M68K_FALSE=
15769 if test "x$HAVE_CPU_X86_64" = "xyes"; then
15770 HAVE_CPU_X86_64_TRUE=
15771 HAVE_CPU_X86_64_FALSE='#'
15773 HAVE_CPU_X86_64_TRUE='#'
15774 HAVE_CPU_X86_64_FALSE=
15777 if test "x$HAVE_CPU_CRIS" = "xyes"; then
15778 HAVE_CPU_CRIS_TRUE=
15779 HAVE_CPU_CRIS_FALSE='#'
15781 HAVE_CPU_CRIS_TRUE='#'
15782 HAVE_CPU_CRIS_FALSE=
15785 if test "x$HAVE_CPU_CRISV32" = "xyes"; then
15786 HAVE_CPU_CRISV32_TRUE=
15787 HAVE_CPU_CRISV32_FALSE='#'
15789 HAVE_CPU_CRISV32_TRUE='#'
15790 HAVE_CPU_CRISV32_FALSE=
15795 cat >>confdefs.h <<_ACEOF
15796 #define HOST_CPU "$host_cpu"
15801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15802 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15803 if ${ac_cv_c_bigendian+:} false; then :
15804 $as_echo_n "(cached) " >&6
15806 ac_cv_c_bigendian=unknown
15807 # See if we're dealing with a universal compiler.
15808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15809 /* end confdefs.h. */
15810 #ifndef __APPLE_CC__
15811 not a universal capable compiler
15816 if ac_fn_c_try_compile "$LINENO"; then :
15818 # Check for potential -arch flags. It is not universal unless
15819 # there are at least two -arch flags with different values.
15822 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15823 if test -n "$ac_prev"; then
15825 i?86 | x86_64 | ppc | ppc64)
15826 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15829 ac_cv_c_bigendian=universal
15835 elif test "x$ac_word" = "x-arch"; then
15840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15841 if test $ac_cv_c_bigendian = unknown; then
15842 # See if sys/param.h defines the BYTE_ORDER macro.
15843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15844 /* end confdefs.h. */
15845 #include <sys/types.h>
15846 #include <sys/param.h>
15851 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15852 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15854 bogus endian macros
15861 if ac_fn_c_try_compile "$LINENO"; then :
15862 # It does; now see whether it defined to BIG_ENDIAN or not.
15863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15864 /* end confdefs.h. */
15865 #include <sys/types.h>
15866 #include <sys/param.h>
15871 #if BYTE_ORDER != BIG_ENDIAN
15879 if ac_fn_c_try_compile "$LINENO"; then :
15880 ac_cv_c_bigendian=yes
15882 ac_cv_c_bigendian=no
15884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15888 if test $ac_cv_c_bigendian = unknown; then
15889 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 #include <limits.h>
15897 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15898 bogus endian macros
15905 if ac_fn_c_try_compile "$LINENO"; then :
15906 # It does; now see whether it defined to _BIG_ENDIAN or not.
15907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15908 /* end confdefs.h. */
15909 #include <limits.h>
15914 #ifndef _BIG_ENDIAN
15922 if ac_fn_c_try_compile "$LINENO"; then :
15923 ac_cv_c_bigendian=yes
15925 ac_cv_c_bigendian=no
15927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15931 if test $ac_cv_c_bigendian = unknown; then
15932 # Compile a test program.
15933 if test "$cross_compiling" = yes; then :
15934 # Try to guess by grepping values from an object file.
15935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15936 /* end confdefs.h. */
15937 short int ascii_mm[] =
15938 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15939 short int ascii_ii[] =
15940 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15941 int use_ascii (int i) {
15942 return ascii_mm[i] + ascii_ii[i];
15944 short int ebcdic_ii[] =
15945 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15946 short int ebcdic_mm[] =
15947 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15948 int use_ebcdic (int i) {
15949 return ebcdic_mm[i] + ebcdic_ii[i];
15956 return use_ascii (foo) == use_ebcdic (foo);
15961 if ac_fn_c_try_compile "$LINENO"; then :
15962 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
15963 ac_cv_c_bigendian=yes
15965 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
15966 if test "$ac_cv_c_bigendian" = unknown; then
15967 ac_cv_c_bigendian=no
15969 # finding both strings is unlikely to happen, but who knows?
15970 ac_cv_c_bigendian=unknown
15974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15977 /* end confdefs.h. */
15978 $ac_includes_default
15983 /* Are we little or big endian? From Harbison&Steele. */
15987 char c[sizeof (long int)];
15990 return u.c[sizeof (long int) - 1] == 1;
15996 if ac_fn_c_try_run "$LINENO"; then :
15997 ac_cv_c_bigendian=no
15999 ac_cv_c_bigendian=yes
16001 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16002 conftest.$ac_objext conftest.beam conftest.$ac_ext
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16008 $as_echo "$ac_cv_c_bigendian" >&6; }
16009 case $ac_cv_c_bigendian in #(
16011 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16017 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16021 as_fn_error $? "unknown endianness
16022 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16028 ac_cpp='$CPP $CPPFLAGS'
16029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16032 if test -n "$ac_tool_prefix"; then
16033 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16034 set dummy ${ac_tool_prefix}gcc; ac_word=$2
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16036 $as_echo_n "checking for $ac_word... " >&6; }
16037 if ${ac_cv_prog_CC+:} false; then :
16038 $as_echo_n "(cached) " >&6
16040 if test -n "$CC"; then
16041 ac_cv_prog_CC="$CC" # Let the user override the test.
16043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16044 for as_dir in $PATH
16047 test -z "$as_dir" && as_dir=.
16048 for ac_exec_ext in '' $ac_executable_extensions; do
16049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16050 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16061 if test -n "$CC"; then
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16063 $as_echo "$CC" >&6; }
16065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16066 $as_echo "no" >&6; }
16071 if test -z "$ac_cv_prog_CC"; then
16073 # Extract the first word of "gcc", so it can be a program name with args.
16074 set dummy gcc; ac_word=$2
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16076 $as_echo_n "checking for $ac_word... " >&6; }
16077 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16078 $as_echo_n "(cached) " >&6
16080 if test -n "$ac_ct_CC"; then
16081 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16084 for as_dir in $PATH
16087 test -z "$as_dir" && as_dir=.
16088 for ac_exec_ext in '' $ac_executable_extensions; do
16089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16090 ac_cv_prog_ac_ct_CC="gcc"
16091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16100 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16101 if test -n "$ac_ct_CC"; then
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16103 $as_echo "$ac_ct_CC" >&6; }
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16106 $as_echo "no" >&6; }
16109 if test "x$ac_ct_CC" = x; then
16112 case $cross_compiling:$ac_tool_warned in
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16115 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16116 ac_tool_warned=yes ;;
16121 CC="$ac_cv_prog_CC"
16124 if test -z "$CC"; then
16125 if test -n "$ac_tool_prefix"; then
16126 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16127 set dummy ${ac_tool_prefix}cc; ac_word=$2
16128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16129 $as_echo_n "checking for $ac_word... " >&6; }
16130 if ${ac_cv_prog_CC+:} false; then :
16131 $as_echo_n "(cached) " >&6
16133 if test -n "$CC"; then
16134 ac_cv_prog_CC="$CC" # Let the user override the test.
16136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16137 for as_dir in $PATH
16140 test -z "$as_dir" && as_dir=.
16141 for ac_exec_ext in '' $ac_executable_extensions; do
16142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16143 ac_cv_prog_CC="${ac_tool_prefix}cc"
16144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16154 if test -n "$CC"; then
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16156 $as_echo "$CC" >&6; }
16158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16159 $as_echo "no" >&6; }
16165 if test -z "$CC"; then
16166 # Extract the first word of "cc", so it can be a program name with args.
16167 set dummy cc; ac_word=$2
16168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16169 $as_echo_n "checking for $ac_word... " >&6; }
16170 if ${ac_cv_prog_CC+:} false; then :
16171 $as_echo_n "(cached) " >&6
16173 if test -n "$CC"; then
16174 ac_cv_prog_CC="$CC" # Let the user override the test.
16176 ac_prog_rejected=no
16177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16178 for as_dir in $PATH
16181 test -z "$as_dir" && as_dir=.
16182 for ac_exec_ext in '' $ac_executable_extensions; do
16183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16184 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16185 ac_prog_rejected=yes
16189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16196 if test $ac_prog_rejected = yes; then
16197 # We found a bogon in the path, so make sure we never use it.
16198 set dummy $ac_cv_prog_CC
16200 if test $# != 0; then
16201 # We chose a different compiler from the bogus one.
16202 # However, it has the same basename, so the bogon will be chosen
16203 # first if we set CC to just the basename; use the full file name.
16205 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16211 if test -n "$CC"; then
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16213 $as_echo "$CC" >&6; }
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16216 $as_echo "no" >&6; }
16221 if test -z "$CC"; then
16222 if test -n "$ac_tool_prefix"; then
16223 for ac_prog in cl.exe
16225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16228 $as_echo_n "checking for $ac_word... " >&6; }
16229 if ${ac_cv_prog_CC+:} false; then :
16230 $as_echo_n "(cached) " >&6
16232 if test -n "$CC"; then
16233 ac_cv_prog_CC="$CC" # Let the user override the test.
16235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16236 for as_dir in $PATH
16239 test -z "$as_dir" && as_dir=.
16240 for ac_exec_ext in '' $ac_executable_extensions; do
16241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16242 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16253 if test -n "$CC"; then
16254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16255 $as_echo "$CC" >&6; }
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16258 $as_echo "no" >&6; }
16262 test -n "$CC" && break
16265 if test -z "$CC"; then
16267 for ac_prog in cl.exe
16269 # Extract the first word of "$ac_prog", so it can be a program name with args.
16270 set dummy $ac_prog; ac_word=$2
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16272 $as_echo_n "checking for $ac_word... " >&6; }
16273 if ${ac_cv_prog_ac_ct_CC+:} false; then :
16274 $as_echo_n "(cached) " >&6
16276 if test -n "$ac_ct_CC"; then
16277 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16280 for as_dir in $PATH
16283 test -z "$as_dir" && as_dir=.
16284 for ac_exec_ext in '' $ac_executable_extensions; do
16285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16286 ac_cv_prog_ac_ct_CC="$ac_prog"
16287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16296 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16297 if test -n "$ac_ct_CC"; then
16298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16299 $as_echo "$ac_ct_CC" >&6; }
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16302 $as_echo "no" >&6; }
16306 test -n "$ac_ct_CC" && break
16309 if test "x$ac_ct_CC" = x; then
16312 case $cross_compiling:$ac_tool_warned in
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16316 ac_tool_warned=yes ;;
16325 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16327 as_fn_error $? "no acceptable C compiler found in \$PATH
16328 See \`config.log' for more details" "$LINENO" 5; }
16330 # Provide some information about the compiler.
16331 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16334 for ac_option in --version -v -V -qversion; do
16335 { { ac_try="$ac_compiler $ac_option >&5"
16336 case "(($ac_try" in
16337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16338 *) ac_try_echo=$ac_try;;
16340 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16341 $as_echo "$ac_try_echo"; } >&5
16342 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16344 if test -s conftest.err; then
16346 ... rest of stderr output deleted ...
16347 10q' conftest.err >conftest.er1
16348 cat conftest.er1 >&5
16350 rm -f conftest.er1 conftest.err
16351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16352 test $ac_status = 0; }
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16356 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16357 if ${ac_cv_c_compiler_gnu+:} false; then :
16358 $as_echo_n "(cached) " >&6
16360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16361 /* end confdefs.h. */
16374 if ac_fn_c_try_compile "$LINENO"; then :
16375 ac_compiler_gnu=yes
16379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16380 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16384 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
16385 if test $ac_compiler_gnu = yes; then
16390 ac_test_CFLAGS=${CFLAGS+set}
16391 ac_save_CFLAGS=$CFLAGS
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16393 $as_echo_n "checking whether $CC accepts -g... " >&6; }
16394 if ${ac_cv_prog_cc_g+:} false; then :
16395 $as_echo_n "(cached) " >&6
16397 ac_save_c_werror_flag=$ac_c_werror_flag
16398 ac_c_werror_flag=yes
16401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16402 /* end confdefs.h. */
16412 if ac_fn_c_try_compile "$LINENO"; then :
16413 ac_cv_prog_cc_g=yes
16416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16417 /* end confdefs.h. */
16427 if ac_fn_c_try_compile "$LINENO"; then :
16430 ac_c_werror_flag=$ac_save_c_werror_flag
16432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h. */
16443 if ac_fn_c_try_compile "$LINENO"; then :
16444 ac_cv_prog_cc_g=yes
16446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16451 ac_c_werror_flag=$ac_save_c_werror_flag
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
16454 $as_echo "$ac_cv_prog_cc_g" >&6; }
16455 if test "$ac_test_CFLAGS" = set; then
16456 CFLAGS=$ac_save_CFLAGS
16457 elif test $ac_cv_prog_cc_g = yes; then
16458 if test "$GCC" = yes; then
16464 if test "$GCC" = yes; then
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16471 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16472 if ${ac_cv_prog_cc_c89+:} false; then :
16473 $as_echo_n "(cached) " >&6
16475 ac_cv_prog_cc_c89=no
16477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16478 /* end confdefs.h. */
16479 #include <stdarg.h>
16481 #include <sys/types.h>
16482 #include <sys/stat.h>
16483 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16484 struct buf { int x; };
16485 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16486 static char *e (p, i)
16492 static char *f (char * (*g) (char **, int), char **p, ...)
16497 s = g (p, va_arg (v,int));
16502 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16503 function prototypes and stuff, but not '\xHH' hex character constants.
16504 These don't provoke an error unfortunately, instead are silently treated
16505 as 'x'. The following induces an error, until -std is added to get
16506 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16507 array size at least. It's necessary to write '\x00'==0 to get something
16508 that's true only with -std. */
16509 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16511 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16512 inside strings and character constants. */
16514 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16516 int test (int i, double x);
16517 struct s1 {int (*f) (int a);};
16518 struct s2 {int (*f) (double a);};
16519 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16525 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16530 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16531 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16533 CC="$ac_save_CC $ac_arg"
16534 if ac_fn_c_try_compile "$LINENO"; then :
16535 ac_cv_prog_cc_c89=$ac_arg
16537 rm -f core conftest.err conftest.$ac_objext
16538 test "x$ac_cv_prog_cc_c89" != "xno" && break
16540 rm -f conftest.$ac_ext
16545 case "x$ac_cv_prog_cc_c89" in
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16548 $as_echo "none needed" >&6; } ;;
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16551 $as_echo "unsupported" >&6; } ;;
16553 CC="$CC $ac_cv_prog_cc_c89"
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16555 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16557 if test "x$ac_cv_prog_cc_c89" != xno; then :
16562 ac_cpp='$CPP $CPPFLAGS'
16563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16567 depcc="$CC" am_compiler_list=
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16570 $as_echo_n "checking dependency style of $depcc... " >&6; }
16571 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
16572 $as_echo_n "(cached) " >&6
16574 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16575 # We make a subdir and do the tests there. Otherwise we can end up
16576 # making bogus files that we don't know about and never remove. For
16577 # instance it was reported that on HP-UX the gcc test will end up
16578 # making a dummy file named `D' -- because `-MD' means `put the output
16580 rm -rf conftest.dir
16582 # Copy depcomp to subdir because otherwise we won't find it if we're
16583 # using a relative directory.
16584 cp "$am_depcomp" conftest.dir
16586 # We will build objects and dependencies in a subdirectory because
16587 # it helps to detect inapplicable dependency modes. For instance
16588 # both Tru64's cc and ICC support -MD to output dependencies as a
16589 # side effect of compilation, but ICC will put the dependencies in
16590 # the current directory while Tru64 will put them in the object
16594 am_cv_CC_dependencies_compiler_type=none
16595 if test "$am_compiler_list" = ""; then
16596 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16598 am__universal=false
16599 case " $depcc " in #(
16600 *\ -arch\ *\ -arch\ *) am__universal=true ;;
16603 for depmode in $am_compiler_list; do
16604 # Setup a source with many dependencies, because some compilers
16605 # like to wrap large dependency lists on column 80 (with \), and
16606 # we should not choose a depcomp mode which is confused by this.
16608 # We need to recreate these files for each test, as the compiler may
16609 # overwrite some of them when testing with obscure command lines.
16610 # This happens at least with the AIX C compiler.
16612 for i in 1 2 3 4 5 6; do
16613 echo '#include "conftst'$i'.h"' >> sub/conftest.c
16614 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16615 # Solaris 8's {/usr,}/bin/sh.
16616 touch sub/conftst$i.h
16618 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16620 # We check with `-c' and `-o' for the sake of the "dashmstdout"
16621 # mode. It turns out that the SunPro C++ compiler does not properly
16622 # handle `-M -o', and we need to detect this. Also, some Intel
16623 # versions had trouble with output in subdirs
16624 am__obj=sub/conftest.${OBJEXT-o}
16625 am__minus_obj="-o $am__obj"
16628 # This depmode causes a compiler race in universal mode.
16629 test "$am__universal" = false || continue
16632 # after this tag, mechanisms are not by side-effect, so they'll
16633 # only be used when explicitly requested
16634 if test "x$enable_dependency_tracking" = xyes; then
16640 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
16641 # This compiler won't grok `-c -o', but also, the minuso test has
16642 # not run yet. These depmodes are late enough in the game, and
16643 # so weak that their functioning should not be impacted.
16644 am__obj=conftest.${OBJEXT-o}
16649 if depmode=$depmode \
16650 source=sub/conftest.c object=$am__obj \
16651 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16652 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16653 >/dev/null 2>conftest.err &&
16654 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16655 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16656 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16657 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16658 # icc doesn't choke on unknown options, it will just issue warnings
16659 # or remarks (even with -Werror). So we grep stderr for any message
16660 # that says an option was ignored or not supported.
16661 # When given -MP, icc 7.0 and 7.1 complain thusly:
16662 # icc: Command line warning: ignoring option '-M'; no argument required
16663 # The diagnosis changed in icc 8.0:
16664 # icc: Command line remark: option '-MP' not supported
16665 if (grep 'ignoring option' conftest.err ||
16666 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16667 am_cv_CC_dependencies_compiler_type=$depmode
16674 rm -rf conftest.dir
16676 am_cv_CC_dependencies_compiler_type=none
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
16681 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
16682 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
16685 test "x$enable_dependency_tracking" != xno \
16686 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
16687 am__fastdepCC_TRUE=
16688 am__fastdepCC_FALSE='#'
16690 am__fastdepCC_TRUE='#'
16691 am__fastdepCC_FALSE=
16695 case $ac_cv_prog_cc_stdc in #(
16697 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
16700 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
16701 if ${ac_cv_prog_cc_c99+:} false; then :
16702 $as_echo_n "(cached) " >&6
16704 ac_cv_prog_cc_c99=no
16706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16707 /* end confdefs.h. */
16708 #include <stdarg.h>
16709 #include <stdbool.h>
16710 #include <stdlib.h>
16714 // Check varargs macros. These examples are taken from C99 6.10.3.5.
16715 #define debug(...) fprintf (stderr, __VA_ARGS__)
16716 #define showlist(...) puts (#__VA_ARGS__)
16717 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
16719 test_varargs_macros (void)
16724 debug ("X = %d\n", x);
16725 showlist (The first, second, and third items.);
16726 report (x>y, "x is %d but y is %d", x, y);
16729 // Check long long types.
16730 #define BIG64 18446744073709551615ull
16731 #define BIG32 4294967295ul
16732 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
16734 your preprocessor is broken;
16738 your preprocessor is broken;
16740 static long long int bignum = -9223372036854775807LL;
16741 static unsigned long long int ubignum = BIG64;
16743 struct incomplete_array
16749 struct named_init {
16751 const wchar_t *name;
16755 typedef const char *ccp;
16758 test_restrict (ccp restrict text)
16760 // See if C++-style comments work.
16761 // Iterate through items via the restricted pointer.
16762 // Also check for declarations in for loops.
16763 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
16768 // Check varargs and va_copy.
16770 test_varargs (const char *format, ...)
16773 va_start (args, format);
16775 va_copy (args_copy, args);
16785 case 's': // string
16786 str = va_arg (args_copy, const char *);
16789 number = va_arg (args_copy, int);
16792 fnumber = va_arg (args_copy, double);
16798 va_end (args_copy);
16807 _Bool success = false;
16810 if (test_restrict ("String literal") == 0)
16812 char *restrict newvar = "Another string";
16815 test_varargs ("s, d' f .", "string", 65, 34.234);
16816 test_varargs_macros ();
16818 // Check flexible array members.
16819 struct incomplete_array *ia =
16820 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
16822 for (int i = 0; i < ia->datasize; ++i)
16823 ia->data[i] = i * 1.234;
16825 // Check named initializers.
16826 struct named_init ni = {
16828 .name = L"Test wide string",
16829 .average = 543.34343,
16834 int dynamic_array[ni.number];
16835 dynamic_array[ni.number - 1] = 543;
16837 // work around unused variable warnings
16838 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
16839 || dynamic_array[ni.number - 1] != 543);
16845 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
16847 CC="$ac_save_CC $ac_arg"
16848 if ac_fn_c_try_compile "$LINENO"; then :
16849 ac_cv_prog_cc_c99=$ac_arg
16851 rm -f core conftest.err conftest.$ac_objext
16852 test "x$ac_cv_prog_cc_c99" != "xno" && break
16854 rm -f conftest.$ac_ext
16859 case "x$ac_cv_prog_cc_c99" in
16861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16862 $as_echo "none needed" >&6; } ;;
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16865 $as_echo "unsupported" >&6; } ;;
16867 CC="$CC $ac_cv_prog_cc_c99"
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
16869 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
16871 if test "x$ac_cv_prog_cc_c99" != xno; then :
16872 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
16874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
16875 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
16876 if ${ac_cv_prog_cc_c89+:} false; then :
16877 $as_echo_n "(cached) " >&6
16879 ac_cv_prog_cc_c89=no
16881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16882 /* end confdefs.h. */
16883 #include <stdarg.h>
16885 #include <sys/types.h>
16886 #include <sys/stat.h>
16887 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16888 struct buf { int x; };
16889 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16890 static char *e (p, i)
16896 static char *f (char * (*g) (char **, int), char **p, ...)
16901 s = g (p, va_arg (v,int));
16906 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16907 function prototypes and stuff, but not '\xHH' hex character constants.
16908 These don't provoke an error unfortunately, instead are silently treated
16909 as 'x'. The following induces an error, until -std is added to get
16910 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16911 array size at least. It's necessary to write '\x00'==0 to get something
16912 that's true only with -std. */
16913 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16915 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16916 inside strings and character constants. */
16918 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16920 int test (int i, double x);
16921 struct s1 {int (*f) (int a);};
16922 struct s2 {int (*f) (double a);};
16923 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16929 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16934 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16935 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16937 CC="$ac_save_CC $ac_arg"
16938 if ac_fn_c_try_compile "$LINENO"; then :
16939 ac_cv_prog_cc_c89=$ac_arg
16941 rm -f core conftest.err conftest.$ac_objext
16942 test "x$ac_cv_prog_cc_c89" != "xno" && break
16944 rm -f conftest.$ac_ext
16949 case "x$ac_cv_prog_cc_c89" in
16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16952 $as_echo "none needed" >&6; } ;;
16954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16955 $as_echo "unsupported" >&6; } ;;
16957 CC="$CC $ac_cv_prog_cc_c89"
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
16959 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
16961 if test "x$ac_cv_prog_cc_c89" != xno; then :
16962 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
16964 ac_cv_prog_cc_stdc=no
16970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
16971 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
16972 if ${ac_cv_prog_cc_stdc+:} false; then :
16973 $as_echo_n "(cached) " >&6
16976 case $ac_cv_prog_cc_stdc in #(
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
16979 $as_echo "unsupported" >&6; } ;; #(
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
16982 $as_echo "none needed" >&6; } ;; #(
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
16985 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
16990 ac_cpp='$CXXCPP $CPPFLAGS'
16991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16994 if test -z "$CXX"; then
16995 if test -n "$CCC"; then
16998 if test -n "$ac_tool_prefix"; then
16999 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17001 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17002 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17004 $as_echo_n "checking for $ac_word... " >&6; }
17005 if ${ac_cv_prog_CXX+:} false; then :
17006 $as_echo_n "(cached) " >&6
17008 if test -n "$CXX"; then
17009 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17012 for as_dir in $PATH
17015 test -z "$as_dir" && as_dir=.
17016 for ac_exec_ext in '' $ac_executable_extensions; do
17017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17018 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17028 CXX=$ac_cv_prog_CXX
17029 if test -n "$CXX"; then
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
17031 $as_echo "$CXX" >&6; }
17033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17034 $as_echo "no" >&6; }
17038 test -n "$CXX" && break
17041 if test -z "$CXX"; then
17043 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17045 # Extract the first word of "$ac_prog", so it can be a program name with args.
17046 set dummy $ac_prog; ac_word=$2
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17048 $as_echo_n "checking for $ac_word... " >&6; }
17049 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
17050 $as_echo_n "(cached) " >&6
17052 if test -n "$ac_ct_CXX"; then
17053 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17056 for as_dir in $PATH
17059 test -z "$as_dir" && as_dir=.
17060 for ac_exec_ext in '' $ac_executable_extensions; do
17061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17062 ac_cv_prog_ac_ct_CXX="$ac_prog"
17063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17072 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17073 if test -n "$ac_ct_CXX"; then
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
17075 $as_echo "$ac_ct_CXX" >&6; }
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17078 $as_echo "no" >&6; }
17082 test -n "$ac_ct_CXX" && break
17085 if test "x$ac_ct_CXX" = x; then
17088 case $cross_compiling:$ac_tool_warned in
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17092 ac_tool_warned=yes ;;
17100 # Provide some information about the compiler.
17101 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
17104 for ac_option in --version -v -V -qversion; do
17105 { { ac_try="$ac_compiler $ac_option >&5"
17106 case "(($ac_try" in
17107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17108 *) ac_try_echo=$ac_try;;
17110 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
17111 $as_echo "$ac_try_echo"; } >&5
17112 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
17114 if test -s conftest.err; then
17116 ... rest of stderr output deleted ...
17117 10q' conftest.err >conftest.er1
17118 cat conftest.er1 >&5
17120 rm -f conftest.er1 conftest.err
17121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17122 test $ac_status = 0; }
17125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
17126 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
17127 if ${ac_cv_cxx_compiler_gnu+:} false; then :
17128 $as_echo_n "(cached) " >&6
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17144 if ac_fn_cxx_try_compile "$LINENO"; then :
17145 ac_compiler_gnu=yes
17149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17150 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
17154 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
17155 if test $ac_compiler_gnu = yes; then
17160 ac_test_CXXFLAGS=${CXXFLAGS+set}
17161 ac_save_CXXFLAGS=$CXXFLAGS
17162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
17163 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
17164 if ${ac_cv_prog_cxx_g+:} false; then :
17165 $as_echo_n "(cached) " >&6
17167 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17168 ac_cxx_werror_flag=yes
17169 ac_cv_prog_cxx_g=no
17171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17172 /* end confdefs.h. */
17182 if ac_fn_cxx_try_compile "$LINENO"; then :
17183 ac_cv_prog_cxx_g=yes
17186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17187 /* end confdefs.h. */
17197 if ac_fn_cxx_try_compile "$LINENO"; then :
17200 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17203 /* end confdefs.h. */
17213 if ac_fn_cxx_try_compile "$LINENO"; then :
17214 ac_cv_prog_cxx_g=yes
17216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17221 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
17224 $as_echo "$ac_cv_prog_cxx_g" >&6; }
17225 if test "$ac_test_CXXFLAGS" = set; then
17226 CXXFLAGS=$ac_save_CXXFLAGS
17227 elif test $ac_cv_prog_cxx_g = yes; then
17228 if test "$GXX" = yes; then
17234 if test "$GXX" = yes; then
17241 ac_cpp='$CPP $CPPFLAGS'
17242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17246 depcc="$CXX" am_compiler_list=
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17249 $as_echo_n "checking dependency style of $depcc... " >&6; }
17250 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
17251 $as_echo_n "(cached) " >&6
17253 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17254 # We make a subdir and do the tests there. Otherwise we can end up
17255 # making bogus files that we don't know about and never remove. For
17256 # instance it was reported that on HP-UX the gcc test will end up
17257 # making a dummy file named `D' -- because `-MD' means `put the output
17259 rm -rf conftest.dir
17261 # Copy depcomp to subdir because otherwise we won't find it if we're
17262 # using a relative directory.
17263 cp "$am_depcomp" conftest.dir
17265 # We will build objects and dependencies in a subdirectory because
17266 # it helps to detect inapplicable dependency modes. For instance
17267 # both Tru64's cc and ICC support -MD to output dependencies as a
17268 # side effect of compilation, but ICC will put the dependencies in
17269 # the current directory while Tru64 will put them in the object
17273 am_cv_CXX_dependencies_compiler_type=none
17274 if test "$am_compiler_list" = ""; then
17275 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17277 am__universal=false
17278 case " $depcc " in #(
17279 *\ -arch\ *\ -arch\ *) am__universal=true ;;
17282 for depmode in $am_compiler_list; do
17283 # Setup a source with many dependencies, because some compilers
17284 # like to wrap large dependency lists on column 80 (with \), and
17285 # we should not choose a depcomp mode which is confused by this.
17287 # We need to recreate these files for each test, as the compiler may
17288 # overwrite some of them when testing with obscure command lines.
17289 # This happens at least with the AIX C compiler.
17291 for i in 1 2 3 4 5 6; do
17292 echo '#include "conftst'$i'.h"' >> sub/conftest.c
17293 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17294 # Solaris 8's {/usr,}/bin/sh.
17295 touch sub/conftst$i.h
17297 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17299 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17300 # mode. It turns out that the SunPro C++ compiler does not properly
17301 # handle `-M -o', and we need to detect this. Also, some Intel
17302 # versions had trouble with output in subdirs
17303 am__obj=sub/conftest.${OBJEXT-o}
17304 am__minus_obj="-o $am__obj"
17307 # This depmode causes a compiler race in universal mode.
17308 test "$am__universal" = false || continue
17311 # after this tag, mechanisms are not by side-effect, so they'll
17312 # only be used when explicitly requested
17313 if test "x$enable_dependency_tracking" = xyes; then
17319 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
17320 # This compiler won't grok `-c -o', but also, the minuso test has
17321 # not run yet. These depmodes are late enough in the game, and
17322 # so weak that their functioning should not be impacted.
17323 am__obj=conftest.${OBJEXT-o}
17328 if depmode=$depmode \
17329 source=sub/conftest.c object=$am__obj \
17330 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17331 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17332 >/dev/null 2>conftest.err &&
17333 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17334 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17335 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17336 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17337 # icc doesn't choke on unknown options, it will just issue warnings
17338 # or remarks (even with -Werror). So we grep stderr for any message
17339 # that says an option was ignored or not supported.
17340 # When given -MP, icc 7.0 and 7.1 complain thusly:
17341 # icc: Command line warning: ignoring option '-M'; no argument required
17342 # The diagnosis changed in icc 8.0:
17343 # icc: Command line remark: option '-MP' not supported
17344 if (grep 'ignoring option' conftest.err ||
17345 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17346 am_cv_CXX_dependencies_compiler_type=$depmode
17353 rm -rf conftest.dir
17355 am_cv_CXX_dependencies_compiler_type=none
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
17360 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
17361 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
17364 test "x$enable_dependency_tracking" != xno \
17365 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
17366 am__fastdepCXX_TRUE=
17367 am__fastdepCXX_FALSE='#'
17369 am__fastdepCXX_TRUE='#'
17370 am__fastdepCXX_FALSE=
17376 func_stripname_cnf ()
17379 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
17380 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
17382 } # func_stripname_cnf
17384 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
17385 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
17386 (test "X$CXX" != "Xg++"))) ; then
17388 ac_cpp='$CXXCPP $CPPFLAGS'
17389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
17393 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
17394 if test -z "$CXXCPP"; then
17395 if ${ac_cv_prog_CXXCPP+:} false; then :
17396 $as_echo_n "(cached) " >&6
17398 # Double quotes because CXXCPP needs to be expanded
17399 for CXXCPP in "$CXX -E" "/lib/cpp"
17401 ac_preproc_ok=false
17402 for ac_cxx_preproc_warn_flag in '' yes
17404 # Use a header file that comes with gcc, so configuring glibc
17405 # with a fresh cross-compiler works.
17406 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17407 # <limits.h> exists even on freestanding compilers.
17408 # On the NeXT, cc -E runs the code through the compiler's parser,
17409 # not just through cpp. "Syntax error" is here to catch this case.
17410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17411 /* end confdefs.h. */
17413 # include <limits.h>
17415 # include <assert.h>
17419 if ac_fn_cxx_try_cpp "$LINENO"; then :
17422 # Broken: fails on valid input.
17425 rm -f conftest.err conftest.i conftest.$ac_ext
17427 # OK, works on sane cases. Now check whether nonexistent headers
17428 # can be detected and how.
17429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17430 /* end confdefs.h. */
17431 #include <ac_nonexistent.h>
17433 if ac_fn_cxx_try_cpp "$LINENO"; then :
17434 # Broken: success on invalid input.
17437 # Passes both tests.
17441 rm -f conftest.err conftest.i conftest.$ac_ext
17444 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17445 rm -f conftest.i conftest.err conftest.$ac_ext
17446 if $ac_preproc_ok; then :
17451 ac_cv_prog_CXXCPP=$CXXCPP
17454 CXXCPP=$ac_cv_prog_CXXCPP
17456 ac_cv_prog_CXXCPP=$CXXCPP
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
17459 $as_echo "$CXXCPP" >&6; }
17460 ac_preproc_ok=false
17461 for ac_cxx_preproc_warn_flag in '' yes
17463 # Use a header file that comes with gcc, so configuring glibc
17464 # with a fresh cross-compiler works.
17465 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17466 # <limits.h> exists even on freestanding compilers.
17467 # On the NeXT, cc -E runs the code through the compiler's parser,
17468 # not just through cpp. "Syntax error" is here to catch this case.
17469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17470 /* end confdefs.h. */
17472 # include <limits.h>
17474 # include <assert.h>
17478 if ac_fn_cxx_try_cpp "$LINENO"; then :
17481 # Broken: fails on valid input.
17484 rm -f conftest.err conftest.i conftest.$ac_ext
17486 # OK, works on sane cases. Now check whether nonexistent headers
17487 # can be detected and how.
17488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17489 /* end confdefs.h. */
17490 #include <ac_nonexistent.h>
17492 if ac_fn_cxx_try_cpp "$LINENO"; then :
17493 # Broken: success on invalid input.
17496 # Passes both tests.
17500 rm -f conftest.err conftest.i conftest.$ac_ext
17503 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17504 rm -f conftest.i conftest.err conftest.$ac_ext
17505 if $ac_preproc_ok; then :
17508 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17510 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
17511 See \`config.log' for more details" "$LINENO" 5; }
17515 ac_cpp='$CPP $CPPFLAGS'
17516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17521 _lt_caught_CXX_error=yes
17525 ac_cpp='$CXXCPP $CPPFLAGS'
17526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17530 archive_cmds_need_lc_CXX=no
17531 allow_undefined_flag_CXX=
17532 always_export_symbols_CXX=no
17533 archive_expsym_cmds_CXX=
17534 compiler_needs_object_CXX=no
17535 export_dynamic_flag_spec_CXX=
17536 hardcode_direct_CXX=no
17537 hardcode_direct_absolute_CXX=no
17538 hardcode_libdir_flag_spec_CXX=
17539 hardcode_libdir_separator_CXX=
17540 hardcode_minus_L_CXX=no
17541 hardcode_shlibpath_var_CXX=unsupported
17542 hardcode_automatic_CXX=no
17543 inherit_rpath_CXX=no
17545 module_expsym_cmds_CXX=
17546 link_all_deplibs_CXX=unknown
17547 old_archive_cmds_CXX=$old_archive_cmds
17548 reload_flag_CXX=$reload_flag
17549 reload_cmds_CXX=$reload_cmds
17550 no_undefined_flag_CXX=
17551 whole_archive_flag_spec_CXX=
17552 enable_shared_with_static_runtimes_CXX=no
17554 # Source file extension for C++ test sources.
17557 # Object file extension for compiled C++ test sources.
17561 # No sense in running all these tests if we already determined that
17562 # the CXX compiler isn't working. Some variables (like enable_shared)
17563 # are currently assumed to apply to all compilers on this platform,
17564 # and will be corrupted by setting them based on a non-working compiler.
17565 if test "$_lt_caught_CXX_error" != yes; then
17566 # Code to be used in simple compile tests
17567 lt_simple_compile_test_code="int some_variable = 0;"
17569 # Code to be used in simple link tests
17570 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
17572 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17579 # If no C compiler was specified, use CC.
17582 # If no C compiler flags were specified, use CFLAGS.
17583 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
17585 # Allow CC to be a program name with arguments.
17589 # save warnings/boilerplate of simple test code
17590 ac_outfile=conftest.$ac_objext
17591 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
17592 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17593 _lt_compiler_boilerplate=`cat conftest.err`
17596 ac_outfile=conftest.$ac_objext
17597 echo "$lt_simple_link_test_code" >conftest.$ac_ext
17598 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
17599 _lt_linker_boilerplate=`cat conftest.err`
17603 # Allow CC to be a program name with arguments.
17605 lt_save_CFLAGS=$CFLAGS
17609 lt_save_with_gnu_ld=$with_gnu_ld
17610 lt_save_path_LD=$lt_cv_path_LD
17611 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
17612 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
17614 $as_unset lt_cv_prog_gnu_ld
17616 if test -n "${lt_cv_path_LDCXX+set}"; then
17617 lt_cv_path_LD=$lt_cv_path_LDCXX
17619 $as_unset lt_cv_path_LD
17621 test -z "${LDCXX+set}" || LD=$LDCXX
17626 for cc_temp in $compiler""; do
17628 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17629 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17634 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17637 if test -n "$compiler"; then
17638 # We don't want -fno-exception when compiling C++ code, so set the
17639 # no_builtin_flag separately
17640 if test "$GXX" = yes; then
17641 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
17643 lt_prog_compiler_no_builtin_flag_CXX=
17646 if test "$GXX" = yes; then
17647 # Set up default GNU C++ configuration
17651 # Check whether --with-gnu-ld was given.
17652 if test "${with_gnu_ld+set}" = set; then :
17653 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17659 if test "$GCC" = yes; then
17660 # Check if gcc -print-prog-name=ld gives a path.
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
17662 $as_echo_n "checking for ld used by $CC... " >&6; }
17665 # gcc leaves a trailing carriage return which upsets mingw
17666 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17668 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17671 # Accept absolute paths.
17673 re_direlt='/[^/][^/]*/\.\./'
17674 # Canonicalize the pathname of ld
17675 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
17676 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
17677 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
17679 test -z "$LD" && LD="$ac_prog"
17682 # If it fails, then pretend we aren't using GCC.
17686 # If it is relative, then search for the first ld in PATH.
17687 with_gnu_ld=unknown
17690 elif test "$with_gnu_ld" = yes; then
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17692 $as_echo_n "checking for GNU ld... " >&6; }
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17695 $as_echo_n "checking for non-GNU ld... " >&6; }
17697 if ${lt_cv_path_LD+:} false; then :
17698 $as_echo_n "(cached) " >&6
17700 if test -z "$LD"; then
17701 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17702 for ac_dir in $PATH; do
17704 test -z "$ac_dir" && ac_dir=.
17705 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17706 lt_cv_path_LD="$ac_dir/$ac_prog"
17707 # Check to see if the program is GNU ld. I'd rather use --version,
17708 # but apparently some variants of GNU ld only accept -v.
17709 # Break only if it was the GNU/non-GNU ld that we prefer.
17710 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17711 *GNU* | *'with BFD'*)
17712 test "$with_gnu_ld" != no && break
17715 test "$with_gnu_ld" != yes && break
17722 lt_cv_path_LD="$LD" # Let the user override the test with a path.
17726 LD="$lt_cv_path_LD"
17727 if test -n "$LD"; then
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17729 $as_echo "$LD" >&6; }
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17732 $as_echo "no" >&6; }
17734 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17736 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17737 if ${lt_cv_prog_gnu_ld+:} false; then :
17738 $as_echo_n "(cached) " >&6
17740 # I'd rather use --version here, but apparently some GNU lds only accept -v.
17741 case `$LD -v 2>&1 </dev/null` in
17742 *GNU* | *'with BFD'*)
17743 lt_cv_prog_gnu_ld=yes
17746 lt_cv_prog_gnu_ld=no
17750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
17751 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
17752 with_gnu_ld=$lt_cv_prog_gnu_ld
17760 # Check if GNU C++ uses GNU ld as the underlying linker, since the
17761 # archiving commands below assume that GNU ld is being used.
17762 if test "$with_gnu_ld" = yes; then
17763 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
17764 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17766 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
17767 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
17769 # If archive_cmds runs LD, not CC, wlarc should be empty
17770 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
17771 # investigate it a little bit more. (MM)
17774 # ancient GNU ld didn't support --whole-archive et. al.
17775 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
17776 $GREP 'no-whole-archive' > /dev/null; then
17777 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17779 whole_archive_flag_spec_CXX=
17785 # A generic and very simple default shared library creation
17786 # command for GNU C++ for the case where it uses the native
17787 # linker, instead of GNU ld. If possible, this setting should
17788 # overridden to take advantage of the native linker features on
17789 # the platform it is being used on.
17790 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17793 # Commands to make compiler produce verbose output that lists
17794 # what "hidden" libraries, object files and flags are used when
17795 # linking a shared library.
17796 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
17804 # PORTME: fill in a description of your system's C++ link characteristics
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17806 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17810 # FIXME: insert proper C++ library support
17814 if test "$host_cpu" = ia64; then
17815 # On IA64, the linker does run time linking by default, so we don't
17816 # have to do anything special.
17817 aix_use_runtimelinking=no
17818 exp_sym_flag='-Bexport'
17821 aix_use_runtimelinking=no
17823 # Test if we are trying to use run time linking or normal
17824 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17825 # need to do runtime linking.
17826 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17827 for ld_flag in $LDFLAGS; do
17830 aix_use_runtimelinking=yes
17838 exp_sym_flag='-bexport'
17839 no_entry_flag='-bnoentry'
17842 # When large executables or shared objects are built, AIX ld can
17843 # have problems creating the table of contents. If linking a library
17844 # or program results in "error TOC overflow" add -mminimal-toc to
17845 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17846 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17848 archive_cmds_CXX=''
17849 hardcode_direct_CXX=yes
17850 hardcode_direct_absolute_CXX=yes
17851 hardcode_libdir_separator_CXX=':'
17852 link_all_deplibs_CXX=yes
17853 file_list_spec_CXX='${wl}-f,'
17855 if test "$GXX" = yes; then
17856 case $host_os in aix4.[012]|aix4.[012].*)
17857 # We only want to do this on AIX 4.2 and lower, the check
17858 # below for broken collect2 doesn't work under 4.3+
17859 collect2name=`${CC} -print-prog-name=collect2`
17860 if test -f "$collect2name" &&
17861 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
17863 # We have reworked collect2
17866 # We have old collect2
17867 hardcode_direct_CXX=unsupported
17868 # It fails to find uninstalled libraries when the uninstalled
17869 # path is not listed in the libpath. Setting hardcode_minus_L
17870 # to unsupported forces relinking
17871 hardcode_minus_L_CXX=yes
17872 hardcode_libdir_flag_spec_CXX='-L$libdir'
17873 hardcode_libdir_separator_CXX=
17876 shared_flag='-shared'
17877 if test "$aix_use_runtimelinking" = yes; then
17878 shared_flag="$shared_flag "'${wl}-G'
17882 if test "$host_cpu" = ia64; then
17883 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17884 # chokes on -Wl,-G. The following line is correct:
17887 if test "$aix_use_runtimelinking" = yes; then
17888 shared_flag='${wl}-G'
17890 shared_flag='${wl}-bM:SRE'
17895 export_dynamic_flag_spec_CXX='${wl}-bexpall'
17896 # It seems that -bexpall does not export symbols beginning with
17897 # underscore (_), so it is better to generate a list of symbols to
17899 always_export_symbols_CXX=yes
17900 if test "$aix_use_runtimelinking" = yes; then
17901 # Warning - without using the other runtime loading flags (-brtl),
17902 # -berok will link without error, but may produce a broken library.
17903 allow_undefined_flag_CXX='-berok'
17904 # Determine the default libpath from the value encoded in an empty
17906 if test "${lt_cv_aix_libpath+set}" = set; then
17907 aix_libpath=$lt_cv_aix_libpath
17909 if ${lt_cv_aix_libpath__CXX+:} false; then :
17910 $as_echo_n "(cached) " >&6
17912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17913 /* end confdefs.h. */
17923 if ac_fn_cxx_try_link "$LINENO"; then :
17925 lt_aix_libpath_sed='
17926 /Import File Strings/,/^$/ {
17928 s/^0 *\([^ ]*\) *$/\1/
17932 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17933 # Check for a 64-bit object if we didn't find anything.
17934 if test -z "$lt_cv_aix_libpath__CXX"; then
17935 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17938 rm -f core conftest.err conftest.$ac_objext \
17939 conftest$ac_exeext conftest.$ac_ext
17940 if test -z "$lt_cv_aix_libpath__CXX"; then
17941 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
17946 aix_libpath=$lt_cv_aix_libpath__CXX
17949 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17951 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17953 if test "$host_cpu" = ia64; then
17954 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
17955 allow_undefined_flag_CXX="-z nodefs"
17956 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"
17958 # Determine the default libpath from the value encoded in an
17959 # empty executable.
17960 if test "${lt_cv_aix_libpath+set}" = set; then
17961 aix_libpath=$lt_cv_aix_libpath
17963 if ${lt_cv_aix_libpath__CXX+:} false; then :
17964 $as_echo_n "(cached) " >&6
17966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17967 /* end confdefs.h. */
17977 if ac_fn_cxx_try_link "$LINENO"; then :
17979 lt_aix_libpath_sed='
17980 /Import File Strings/,/^$/ {
17982 s/^0 *\([^ ]*\) *$/\1/
17986 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17987 # Check for a 64-bit object if we didn't find anything.
17988 if test -z "$lt_cv_aix_libpath__CXX"; then
17989 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17992 rm -f core conftest.err conftest.$ac_objext \
17993 conftest$ac_exeext conftest.$ac_ext
17994 if test -z "$lt_cv_aix_libpath__CXX"; then
17995 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
18000 aix_libpath=$lt_cv_aix_libpath__CXX
18003 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
18004 # Warning - without using the other run time loading flags,
18005 # -berok will link without error, but may produce a broken library.
18006 no_undefined_flag_CXX=' ${wl}-bernotok'
18007 allow_undefined_flag_CXX=' ${wl}-berok'
18008 if test "$with_gnu_ld" = yes; then
18009 # We only use this code for GNU lds that support --whole-archive.
18010 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18012 # Exported symbols can be pulled into shared objects from archives
18013 whole_archive_flag_spec_CXX='$convenience'
18015 archive_cmds_need_lc_CXX=yes
18016 # This is similar to how AIX traditionally builds its shared
18018 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'
18024 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
18025 allow_undefined_flag_CXX=unsupported
18026 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
18027 # support --undefined. This deserves some investigation. FIXME
18028 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18035 case $cc_basename in
18037 # FIXME: insert proper C++ library support
18043 cygwin* | mingw* | pw32* | cegcc*)
18044 case $GXX,$cc_basename in
18047 # hardcode_libdir_flag_spec is actually meaningless, as there is
18048 # no search path for DLLs.
18049 hardcode_libdir_flag_spec_CXX=' '
18050 allow_undefined_flag_CXX=unsupported
18051 always_export_symbols_CXX=yes
18052 file_list_spec_CXX='@'
18053 # Tell ltmain to make .lib files, not .a files.
18055 # Tell ltmain to make .dll files, not .so files.
18057 # FIXME: Setting linknames here is a bad hack.
18058 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
18059 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18060 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
18062 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
18064 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
18066 # The linker will not automatically build a static lib if we build a DLL.
18067 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
18068 enable_shared_with_static_runtimes_CXX=yes
18070 old_postinstall_cmds_CXX='chmod 644 $oldlib'
18071 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
18072 lt_tool_outputfile="@TOOL_OUTPUT@"~
18073 case $lt_outputfile in
18076 lt_outputfile="$lt_outputfile.exe"
18077 lt_tool_outputfile="$lt_tool_outputfile.exe"
18080 func_to_tool_file "$lt_outputfile"~
18081 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
18082 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
18083 $RM "$lt_outputfile.manifest";
18088 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
18089 # as there is no search path for DLLs.
18090 hardcode_libdir_flag_spec_CXX='-L$libdir'
18091 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
18092 allow_undefined_flag_CXX=unsupported
18093 always_export_symbols_CXX=no
18094 enable_shared_with_static_runtimes_CXX=yes
18096 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
18097 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'
18098 # If the export-symbols file already is a .def file (1st line
18099 # is EXPORTS), use it as is; otherwise, prepend...
18100 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
18101 cp $export_symbols $output_objdir/$soname.def;
18103 echo EXPORTS > $output_objdir/$soname.def;
18104 cat $export_symbols >> $output_objdir/$soname.def;
18106 $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'
18113 darwin* | rhapsody*)
18116 archive_cmds_need_lc_CXX=no
18117 hardcode_direct_CXX=no
18118 hardcode_automatic_CXX=yes
18119 hardcode_shlibpath_var_CXX=unsupported
18120 if test "$lt_cv_ld_force_load" = "yes"; then
18121 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
18124 whole_archive_flag_spec_CXX=''
18126 link_all_deplibs_CXX=yes
18127 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
18128 case $cc_basename in
18129 ifort*) _lt_dar_can_shared=yes ;;
18130 *) _lt_dar_can_shared=$GCC ;;
18132 if test "$_lt_dar_can_shared" = "yes"; then
18133 output_verbose_link_cmd=func_echo_all
18134 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}"
18135 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
18136 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}"
18137 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}"
18138 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
18139 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}"
18140 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}"
18150 case $cc_basename in
18152 # FIXME: insert proper C++ library support
18156 # Green Hills C++ Compiler
18157 # FIXME: insert proper C++ library support
18161 # FIXME: insert proper C++ library support
18168 # C++ shared libraries reported to be fairly broken before
18174 archive_cmds_need_lc_CXX=no
18177 freebsd* | dragonfly*)
18178 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
18187 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18188 link_all_deplibs_CXX=yes
18192 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18193 hardcode_libdir_separator_CXX=:
18194 export_dynamic_flag_spec_CXX='${wl}-E'
18195 hardcode_direct_CXX=yes
18196 hardcode_minus_L_CXX=yes # Not in the search PATH,
18197 # but as the default
18198 # location of the library.
18200 case $cc_basename in
18202 # FIXME: insert proper C++ library support
18206 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'
18207 # Commands to make compiler produce verbose output that lists
18208 # what "hidden" libraries, object files and flags are used when
18209 # linking a shared library.
18211 # There doesn't appear to be a way to prevent this compiler from
18212 # explicitly linking system object files so we need to strip them
18213 # from the output so that they don't get included in the library
18215 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
18218 if test "$GXX" = yes; then
18219 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18221 # FIXME: insert proper C++ library support
18229 if test $with_gnu_ld = no; then
18230 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
18231 hardcode_libdir_separator_CXX=:
18237 export_dynamic_flag_spec_CXX='${wl}-E'
18243 hardcode_direct_CXX=no
18244 hardcode_shlibpath_var_CXX=no
18247 hardcode_direct_CXX=yes
18248 hardcode_direct_absolute_CXX=yes
18249 hardcode_minus_L_CXX=yes # Not in the search PATH,
18250 # but as the default
18251 # location of the library.
18255 case $cc_basename in
18257 # FIXME: insert proper C++ library support
18263 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18266 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18269 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18272 # Commands to make compiler produce verbose output that lists
18273 # what "hidden" libraries, object files and flags are used when
18274 # linking a shared library.
18276 # There doesn't appear to be a way to prevent this compiler from
18277 # explicitly linking system object files so we need to strip them
18278 # from the output so that they don't get included in the library
18280 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
18283 if test "$GXX" = yes; then
18284 if test $with_gnu_ld = no; then
18287 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18290 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18293 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18298 # FIXME: insert proper C++ library support
18306 hardcode_direct_CXX=no
18307 hardcode_shlibpath_var_CXX=no
18308 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18309 export_dynamic_flag_spec_CXX='${wl}-E'
18310 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
18311 # Instead, shared libraries are loaded at an image base (0x10000000 by
18312 # default) and relocated if they conflict, which is a slow very memory
18313 # consuming and fragmenting process. To avoid this, we pick a random,
18314 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
18315 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
18316 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'
18317 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'
18320 case $cc_basename in
18323 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
18325 # Archives containing C++ object files must be created using
18326 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
18327 # necessary to make sure instantiated templates are included
18329 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
18332 if test "$GXX" = yes; then
18333 if test "$with_gnu_ld" = no; then
18334 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18336 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
18339 link_all_deplibs_CXX=yes
18342 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18343 hardcode_libdir_separator_CXX=:
18344 inherit_rpath_CXX=yes
18347 linux* | k*bsd*-gnu | kopensolaris*-gnu)
18348 case $cc_basename in
18350 # Kuck and Associates, Inc. (KAI) C++ Compiler
18352 # KCC will only create a shared library if the output file
18353 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18354 # to its proper name (with version) after linking.
18355 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'
18356 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'
18357 # Commands to make compiler produce verbose output that lists
18358 # what "hidden" libraries, object files and flags are used when
18359 # linking a shared library.
18361 # There doesn't appear to be a way to prevent this compiler from
18362 # explicitly linking system object files so we need to strip them
18363 # from the output so that they don't get included in the library
18365 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
18367 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18368 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18370 # Archives containing C++ object files must be created using
18371 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
18372 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
18377 # version 8.0 and above of icpc choke on multiply defined symbols
18378 # if we add $predep_objects and $postdep_objects, however 7.1 and
18379 # earlier do not add the objects themselves.
18380 case `$CC -V 2>&1` in
18382 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18383 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'
18385 *) # Version 8.0 or newer
18388 ia64*) tmp_idyn=' -i_dynamic';;
18390 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18391 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'
18394 archive_cmds_need_lc_CXX=no
18395 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18396 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18397 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
18400 # Portland Group C++ compiler
18402 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
18403 prelink_cmds_CXX='tpldir=Template.dir~
18405 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
18406 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
18407 old_archive_cmds_CXX='tpldir=Template.dir~
18409 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
18410 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
18412 archive_cmds_CXX='tpldir=Template.dir~
18414 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18415 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18416 archive_expsym_cmds_CXX='tpldir=Template.dir~
18418 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
18419 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
18421 *) # Version 6 and above use weak symbols
18422 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
18423 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'
18427 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
18428 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18429 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
18433 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
18434 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'
18436 runpath_var=LD_RUN_PATH
18437 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18438 hardcode_libdir_separator_CXX=:
18440 # Commands to make compiler produce verbose output that lists
18441 # what "hidden" libraries, object files and flags are used when
18442 # linking a shared library.
18444 # There doesn't appear to be a way to prevent this compiler from
18445 # explicitly linking system object files so we need to strip them
18446 # from the output so that they don't get included in the library
18448 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
18450 xl* | mpixl* | bgxl*)
18451 # IBM XL 8.0 on PPC, with GNU ld
18452 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18453 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
18454 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
18455 if test "x$supports_anon_versioning" = xyes; then
18456 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
18457 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
18458 echo "local: *; };" >> $output_objdir/$libname.ver~
18459 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
18463 case `$CC -V 2>&1 | sed 5q` in
18466 no_undefined_flag_CXX=' -zdefs'
18467 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18468 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'
18469 hardcode_libdir_flag_spec_CXX='-R$libdir'
18470 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
18471 compiler_needs_object_CXX=yes
18473 # Not sure whether something based on
18474 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
18476 output_verbose_link_cmd='func_echo_all'
18478 # Archives containing C++ object files must be created using
18479 # "CC -xar", where "CC" is the Sun C++ compiler. This is
18480 # necessary to make sure instantiated templates are included
18482 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18490 # FIXME: insert proper C++ library support
18495 # FIXME: insert proper C++ library support
18500 case $cc_basename in
18502 # FIXME: insert proper C++ library support
18506 # FIXME: insert proper C++ library support
18513 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18514 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
18516 hardcode_libdir_flag_spec_CXX='-R$libdir'
18517 hardcode_direct_CXX=yes
18518 hardcode_shlibpath_var_CXX=no
18520 # Workaround some broken pre-1.5 toolchains
18521 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
18529 # C++ shared libraries are fairly broken
18534 if test -f /usr/libexec/ld.so; then
18535 hardcode_direct_CXX=yes
18536 hardcode_shlibpath_var_CXX=no
18537 hardcode_direct_absolute_CXX=yes
18538 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
18539 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18540 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18541 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
18542 export_dynamic_flag_spec_CXX='${wl}-E'
18543 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
18545 output_verbose_link_cmd=func_echo_all
18551 osf3* | osf4* | osf5*)
18552 case $cc_basename in
18554 # Kuck and Associates, Inc. (KAI) C++ Compiler
18556 # KCC will only create a shared library if the output file
18557 # ends with ".so" (or ".sl" for HP-UX), so rename the library
18558 # to its proper name (with version) after linking.
18559 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'
18561 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
18562 hardcode_libdir_separator_CXX=:
18564 # Archives containing C++ object files must be created using
18565 # the KAI C++ compiler.
18567 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
18568 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
18572 # Rational C++ 2.4.1
18573 # FIXME: insert proper C++ library support
18579 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18580 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
18581 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18584 allow_undefined_flag_CXX=' -expect_unresolved \*'
18585 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
18586 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
18587 echo "-hidden">> $lib.exp~
18588 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
18590 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
18594 hardcode_libdir_separator_CXX=:
18596 # Commands to make compiler produce verbose output that lists
18597 # what "hidden" libraries, object files and flags are used when
18598 # linking a shared library.
18600 # There doesn't appear to be a way to prevent this compiler from
18601 # explicitly linking system object files so we need to strip them
18602 # from the output so that they don't get included in the library
18604 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
18607 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18608 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
18611 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18614 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18618 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
18619 hardcode_libdir_separator_CXX=:
18621 # Commands to make compiler produce verbose output that lists
18622 # what "hidden" libraries, object files and flags are used when
18623 # linking a shared library.
18624 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
18627 # FIXME: insert proper C++ library support
18635 # FIXME: insert proper C++ library support
18640 case $cc_basename in
18643 # FIXME: insert proper C++ library support
18648 # FIXME: insert proper C++ library support
18652 # FIXME: insert proper C++ library support
18659 case $cc_basename in
18661 # Sun C++ 4.2, 5.x and Centerline C++
18662 archive_cmds_need_lc_CXX=yes
18663 no_undefined_flag_CXX=' -zdefs'
18664 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
18665 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18666 $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'
18668 hardcode_libdir_flag_spec_CXX='-R$libdir'
18669 hardcode_shlibpath_var_CXX=no
18671 solaris2.[0-5] | solaris2.[0-5].*) ;;
18673 # The compiler driver will combine and reorder linker options,
18674 # but understands `-z linker_flag'.
18675 # Supported since Solaris 2.6 (maybe 2.5.1?)
18676 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
18679 link_all_deplibs_CXX=yes
18681 output_verbose_link_cmd='func_echo_all'
18683 # Archives containing C++ object files must be created using
18684 # "CC -xar", where "CC" is the Sun C++ compiler. This is
18685 # necessary to make sure instantiated templates are included
18687 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
18690 # Green Hills C++ Compiler
18691 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18693 # The C++ compiler must be used to create the archive.
18694 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
18697 # GNU C++ compiler with Solaris linker
18698 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
18699 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
18700 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
18701 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18702 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18703 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18705 # Commands to make compiler produce verbose output that lists
18706 # what "hidden" libraries, object files and flags are used when
18707 # linking a shared library.
18708 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
18710 # g++ 2.7 appears to require `-G' NOT `-shared' on this
18712 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
18713 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
18714 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
18716 # Commands to make compiler produce verbose output that lists
18717 # what "hidden" libraries, object files and flags are used when
18718 # linking a shared library.
18719 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
18722 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
18724 solaris2.[0-5] | solaris2.[0-5].*) ;;
18726 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18734 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18735 no_undefined_flag_CXX='${wl}-z,text'
18736 archive_cmds_need_lc_CXX=no
18737 hardcode_shlibpath_var_CXX=no
18738 runpath_var='LD_RUN_PATH'
18740 case $cc_basename in
18742 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18743 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18746 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18747 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18752 sysv5* | sco3.2v5* | sco5v6*)
18753 # Note: We can NOT use -z defs as we might desire, because we do not
18754 # link with -lc, and that would cause any symbols used from libc to
18755 # always be unresolved, which means just about no library would
18756 # ever link correctly. If we're not using GNU ld we use -z text
18757 # though, which does catch some bad symbols but isn't as heavy-handed
18759 no_undefined_flag_CXX='${wl}-z,text'
18760 allow_undefined_flag_CXX='${wl}-z,nodefs'
18761 archive_cmds_need_lc_CXX=no
18762 hardcode_shlibpath_var_CXX=no
18763 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
18764 hardcode_libdir_separator_CXX=':'
18765 link_all_deplibs_CXX=yes
18766 export_dynamic_flag_spec_CXX='${wl}-Bexport'
18767 runpath_var='LD_RUN_PATH'
18769 case $cc_basename in
18771 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18772 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18773 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
18774 '"$old_archive_cmds_CXX"
18775 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
18776 '"$reload_cmds_CXX"
18779 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18780 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18786 case $cc_basename in
18788 # NonStop-UX NCC 3.20
18789 # FIXME: insert proper C++ library support
18793 # FIXME: insert proper C++ library support
18800 # FIXME: insert proper C++ library support
18805 # FIXME: insert proper C++ library support
18810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18811 $as_echo "$ld_shlibs_CXX" >&6; }
18812 test "$ld_shlibs_CXX" = no && can_build_shared=no
18818 ## There is no encapsulation within the following macros, do not change
18819 ## the running order or otherwise move them around unless you know exactly
18820 ## what you are doing...
18821 # Dependencies to place before and after the object being linked:
18822 predep_objects_CXX=
18823 postdep_objects_CXX=
18826 compiler_lib_search_path_CXX=
18828 cat > conftest.$ac_ext <<_LT_EOF
18832 Foo (void) { a = 0; }
18839 _lt_libdeps_save_CFLAGS=$CFLAGS
18840 case "$CC $CFLAGS " in #(
18841 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
18842 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
18843 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
18846 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
18847 (eval $ac_compile) 2>&5
18849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18850 test $ac_status = 0; }; then
18851 # Parse the compiler output and extract the necessary
18852 # objects, libraries and library flags.
18854 # Sentinel used to keep track of whether or not we are before
18855 # the conftest object file.
18856 pre_test_object_deps_done=no
18858 for p in `eval "$output_verbose_link_cmd"`; do
18859 case ${prev}${p} in
18862 # Some compilers place space between "-{L,R}" and the path.
18863 # Remove the space.
18864 if test $p = "-L" ||
18865 test $p = "-R"; then
18870 # Expand the sysroot to ease extracting the directories later.
18871 if test -z "$prev"; then
18873 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
18874 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
18875 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
18879 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
18881 if test "$pre_test_object_deps_done" = no; then
18884 # Internal compiler library paths should come after those
18885 # provided the user. The postdeps already come after the
18886 # user supplied libs so there is no need to process them.
18887 if test -z "$compiler_lib_search_path_CXX"; then
18888 compiler_lib_search_path_CXX="${prev}${p}"
18890 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
18893 # The "-l" case would never come before the object being
18894 # linked, so don't bother handling this case.
18897 if test -z "$postdeps_CXX"; then
18898 postdeps_CXX="${prev}${p}"
18900 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
18906 *.lto.$objext) ;; # Ignore GCC LTO objects
18908 # This assumes that the test object file only shows up
18909 # once in the compiler output.
18910 if test "$p" = "conftest.$objext"; then
18911 pre_test_object_deps_done=yes
18915 if test "$pre_test_object_deps_done" = no; then
18916 if test -z "$predep_objects_CXX"; then
18917 predep_objects_CXX="$p"
18919 predep_objects_CXX="$predep_objects_CXX $p"
18922 if test -z "$postdep_objects_CXX"; then
18923 postdep_objects_CXX="$p"
18925 postdep_objects_CXX="$postdep_objects_CXX $p"
18930 *) ;; # Ignore the rest.
18938 echo "libtool.m4: error: problem compiling CXX test program"
18941 $RM -f confest.$objext
18942 CFLAGS=$_lt_libdeps_save_CFLAGS
18944 # PORTME: override above test on systems where it is broken
18947 # Interix 3.5 installs completely hosed .la files for C++, so rather than
18948 # hack all around it, let's just trust "g++" to DTRT.
18949 predep_objects_CXX=
18950 postdep_objects_CXX=
18955 case `$CC -V 2>&1 | sed 5q` in
18959 # The more standards-conforming stlport4 library is
18960 # incompatible with the Cstd library. Avoid specifying
18961 # it if it's in CXXFLAGS. Ignore libCrun as
18962 # -library=stlport4 depends on it.
18963 case " $CXX $CXXFLAGS " in
18964 *" -library=stlport4 "*)
18965 solaris_use_stlport4=yes
18969 if test "$solaris_use_stlport4" != yes; then
18970 postdeps_CXX='-library=Cstd -library=Crun'
18977 case $cc_basename in
18979 # The more standards-conforming stlport4 library is
18980 # incompatible with the Cstd library. Avoid specifying
18981 # it if it's in CXXFLAGS. Ignore libCrun as
18982 # -library=stlport4 depends on it.
18983 case " $CXX $CXXFLAGS " in
18984 *" -library=stlport4 "*)
18985 solaris_use_stlport4=yes
18989 # Adding this requires a known-good setup of shared libraries for
18990 # Sun compiler versions before 5.6, else PIC objects from an old
18991 # archive will be linked into the output, leading to subtle bugs.
18992 if test "$solaris_use_stlport4" != yes; then
18993 postdeps_CXX='-library=Cstd -library=Crun'
19001 case " $postdeps_CXX " in
19002 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
19004 compiler_lib_search_dirs_CXX=
19005 if test -n "${compiler_lib_search_path_CXX}"; then
19006 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
19039 lt_prog_compiler_wl_CXX=
19040 lt_prog_compiler_pic_CXX=
19041 lt_prog_compiler_static_CXX=
19044 # C++ specific cases for pic, static, wl, etc.
19045 if test "$GXX" = yes; then
19046 lt_prog_compiler_wl_CXX='-Wl,'
19047 lt_prog_compiler_static_CXX='-static'
19051 # All AIX code is PIC.
19052 if test "$host_cpu" = ia64; then
19053 # AIX 5 now supports IA64 processor
19054 lt_prog_compiler_static_CXX='-Bstatic'
19061 # see comment about AmigaOS4 .so support
19062 lt_prog_compiler_pic_CXX='-fPIC'
19065 # FIXME: we need at least 68020 code to build shared libraries, but
19066 # adding the `-m68020' flag to GCC prevents building anything better,
19068 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
19073 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
19074 # PIC is the default for these OSes.
19076 mingw* | cygwin* | os2* | pw32* | cegcc*)
19077 # This hack is so that the source file can tell whether it is being
19078 # built for inclusion in a dll (and should export symbols for example).
19079 # Although the cygwin gcc ignores -fPIC, still need this for old-style
19080 # (--disable-auto-import) libraries
19081 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19083 darwin* | rhapsody*)
19084 # PIC is the default on this platform
19085 # Common symbols not allowed in MH_DYLIB files
19086 lt_prog_compiler_pic_CXX='-fno-common'
19089 # DJGPP does not support shared libraries at all
19090 lt_prog_compiler_pic_CXX=
19093 # PIC is the default for Haiku.
19094 # The "-static" flag exists, but is broken.
19095 lt_prog_compiler_static_CXX=
19098 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
19099 # Instead, we relocate shared libraries at runtime.
19102 if test -d /usr/nec; then
19103 lt_prog_compiler_pic_CXX=-Kconform_pic
19107 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
19108 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
19109 # sets the default TLS model and affects inlining.
19114 lt_prog_compiler_pic_CXX='-fPIC'
19119 # QNX uses GNU C++, but need to define -shared option too, otherwise
19120 # it will coredump.
19121 lt_prog_compiler_pic_CXX='-fPIC -shared'
19124 lt_prog_compiler_pic_CXX='-fPIC'
19130 # All AIX code is PIC.
19131 if test "$host_cpu" = ia64; then
19132 # AIX 5 now supports IA64 processor
19133 lt_prog_compiler_static_CXX='-Bstatic'
19135 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
19139 case $cc_basename in
19141 # Green Hills C++ Compiler
19142 # _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"
19146 mingw* | cygwin* | os2* | pw32* | cegcc*)
19147 # This hack is so that the source file can tell whether it is being
19148 # built for inclusion in a dll (and should export symbols for example).
19149 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
19152 case $cc_basename in
19154 lt_prog_compiler_pic_CXX='-KPIC'
19157 # Green Hills C++ Compiler
19158 lt_prog_compiler_pic_CXX='-pic'
19164 freebsd* | dragonfly*)
19165 # FreeBSD uses GNU C++
19167 hpux9* | hpux10* | hpux11*)
19168 case $cc_basename in
19170 lt_prog_compiler_wl_CXX='-Wl,'
19171 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19172 if test "$host_cpu" != ia64; then
19173 lt_prog_compiler_pic_CXX='+Z'
19177 lt_prog_compiler_wl_CXX='-Wl,'
19178 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
19184 lt_prog_compiler_pic_CXX='+Z'
19193 # This is c89, which is MS Visual C++ (no shared libs)
19194 # Anyone wants to do a port?
19196 irix5* | irix6* | nonstopux*)
19197 case $cc_basename in
19199 lt_prog_compiler_wl_CXX='-Wl,'
19200 lt_prog_compiler_static_CXX='-non_shared'
19201 # CC pic flag -KPIC is the default.
19207 linux* | k*bsd*-gnu | kopensolaris*-gnu)
19208 case $cc_basename in
19211 lt_prog_compiler_wl_CXX='--backend -Wl,'
19212 lt_prog_compiler_pic_CXX='-fPIC'
19215 # old Intel C++ for x86_64 which still supported -KPIC.
19216 lt_prog_compiler_wl_CXX='-Wl,'
19217 lt_prog_compiler_pic_CXX='-KPIC'
19218 lt_prog_compiler_static_CXX='-static'
19221 # Intel C++, used to be incompatible with GCC.
19222 # ICC 10 doesn't accept -KPIC any more.
19223 lt_prog_compiler_wl_CXX='-Wl,'
19224 lt_prog_compiler_pic_CXX='-fPIC'
19225 lt_prog_compiler_static_CXX='-static'
19228 # Portland Group C++ compiler
19229 lt_prog_compiler_wl_CXX='-Wl,'
19230 lt_prog_compiler_pic_CXX='-fpic'
19231 lt_prog_compiler_static_CXX='-Bstatic'
19235 # Make sure the PIC flag is empty. It appears that all Alpha
19236 # Linux and Compaq Tru64 Unix objects are PIC.
19237 lt_prog_compiler_pic_CXX=
19238 lt_prog_compiler_static_CXX='-non_shared'
19240 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
19241 # IBM XL 8.0, 9.0 on PPC and BlueGene
19242 lt_prog_compiler_wl_CXX='-Wl,'
19243 lt_prog_compiler_pic_CXX='-qpic'
19244 lt_prog_compiler_static_CXX='-qstaticlink'
19247 case `$CC -V 2>&1 | sed 5q` in
19250 lt_prog_compiler_pic_CXX='-KPIC'
19251 lt_prog_compiler_static_CXX='-Bstatic'
19252 lt_prog_compiler_wl_CXX='-Qoption ld '
19263 case $cc_basename in
19265 lt_prog_compiler_pic_CXX='-W c,exportall'
19271 netbsd* | netbsdelf*-gnu)
19274 # QNX uses GNU C++, but need to define -shared option too, otherwise
19275 # it will coredump.
19276 lt_prog_compiler_pic_CXX='-fPIC -shared'
19278 osf3* | osf4* | osf5*)
19279 case $cc_basename in
19281 lt_prog_compiler_wl_CXX='--backend -Wl,'
19284 # Rational C++ 2.4.1
19285 lt_prog_compiler_pic_CXX='-pic'
19288 # Digital/Compaq C++
19289 lt_prog_compiler_wl_CXX='-Wl,'
19290 # Make sure the PIC flag is empty. It appears that all Alpha
19291 # Linux and Compaq Tru64 Unix objects are PIC.
19292 lt_prog_compiler_pic_CXX=
19293 lt_prog_compiler_static_CXX='-non_shared'
19302 case $cc_basename in
19304 # Sun C++ 4.2, 5.x and Centerline C++
19305 lt_prog_compiler_pic_CXX='-KPIC'
19306 lt_prog_compiler_static_CXX='-Bstatic'
19307 lt_prog_compiler_wl_CXX='-Qoption ld '
19310 # Green Hills C++ Compiler
19311 lt_prog_compiler_pic_CXX='-PIC'
19318 case $cc_basename in
19321 lt_prog_compiler_pic_CXX='-pic'
19322 lt_prog_compiler_static_CXX='-Bstatic'
19326 lt_prog_compiler_pic_CXX='-pic'
19332 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
19333 case $cc_basename in
19335 lt_prog_compiler_wl_CXX='-Wl,'
19336 lt_prog_compiler_pic_CXX='-KPIC'
19337 lt_prog_compiler_static_CXX='-Bstatic'
19342 case $cc_basename in
19344 # NonStop-UX NCC 3.20
19345 lt_prog_compiler_pic_CXX='-KPIC'
19354 lt_prog_compiler_can_build_shared_CXX=no
19360 # For platforms which do not support PIC, -DPIC is meaningless:
19362 lt_prog_compiler_pic_CXX=
19365 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
19370 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
19371 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
19372 $as_echo_n "(cached) " >&6
19374 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
19376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
19377 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
19378 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
19381 # Check to make sure the PIC flag actually works.
19383 if test -n "$lt_prog_compiler_pic_CXX"; then
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
19385 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
19386 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
19387 $as_echo_n "(cached) " >&6
19389 lt_cv_prog_compiler_pic_works_CXX=no
19390 ac_outfile=conftest.$ac_objext
19391 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19392 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
19393 # Insert the option either (1) after the last *FLAGS variable, or
19394 # (2) before a word containing "conftest.", or (3) at the end.
19395 # Note that $ac_compile itself does not contain backslashes and begins
19396 # with a dollar sign (not a hyphen), so the echo should work correctly.
19397 # The option is referenced via a variable to avoid confusing sed.
19398 lt_compile=`echo "$ac_compile" | $SED \
19399 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19400 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19401 -e 's:$: $lt_compiler_flag:'`
19402 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19403 (eval "$lt_compile" 2>conftest.err)
19405 cat conftest.err >&5
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 if (exit $ac_status) && test -s "$ac_outfile"; then
19408 # The compiler can only warn and ignore the option if not recognized
19409 # So say no if there are warnings other than the usual output.
19410 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
19411 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19412 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
19413 lt_cv_prog_compiler_pic_works_CXX=yes
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
19420 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
19422 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
19423 case $lt_prog_compiler_pic_CXX in
19425 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
19428 lt_prog_compiler_pic_CXX=
19429 lt_prog_compiler_can_build_shared_CXX=no
19439 # Check to make sure the static flag actually works.
19441 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
19443 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
19444 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
19445 $as_echo_n "(cached) " >&6
19447 lt_cv_prog_compiler_static_works_CXX=no
19448 save_LDFLAGS="$LDFLAGS"
19449 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
19450 echo "$lt_simple_link_test_code" > conftest.$ac_ext
19451 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
19452 # The linker can only warn and ignore the option if not recognized
19453 # So say no if there are warnings
19454 if test -s conftest.err; then
19455 # Append any errors to the config.log.
19456 cat conftest.err 1>&5
19457 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
19458 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
19459 if diff conftest.exp conftest.er2 >/dev/null; then
19460 lt_cv_prog_compiler_static_works_CXX=yes
19463 lt_cv_prog_compiler_static_works_CXX=yes
19467 LDFLAGS="$save_LDFLAGS"
19470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
19471 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
19473 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
19476 lt_prog_compiler_static_CXX=
19482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19483 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19484 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
19485 $as_echo_n "(cached) " >&6
19487 lt_cv_prog_compiler_c_o_CXX=no
19488 $RM -r conftest 2>/dev/null
19492 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19494 lt_compiler_flag="-o out/conftest2.$ac_objext"
19495 # Insert the option either (1) after the last *FLAGS variable, or
19496 # (2) before a word containing "conftest.", or (3) at the end.
19497 # Note that $ac_compile itself does not contain backslashes and begins
19498 # with a dollar sign (not a hyphen), so the echo should work correctly.
19499 lt_compile=`echo "$ac_compile" | $SED \
19500 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19501 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19502 -e 's:$: $lt_compiler_flag:'`
19503 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19504 (eval "$lt_compile" 2>out/conftest.err)
19506 cat out/conftest.err >&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19510 # The compiler can only warn and ignore the option if not recognized
19511 # So say no if there are warnings
19512 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
19513 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19514 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19515 lt_cv_prog_compiler_c_o_CXX=yes
19520 # SGI C++ compiler will create directory out/ii_files/ for
19521 # template instantiation
19522 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19523 $RM out/* && rmdir out
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19530 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
19535 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
19536 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
19537 $as_echo_n "(cached) " >&6
19539 lt_cv_prog_compiler_c_o_CXX=no
19540 $RM -r conftest 2>/dev/null
19544 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19546 lt_compiler_flag="-o out/conftest2.$ac_objext"
19547 # Insert the option either (1) after the last *FLAGS variable, or
19548 # (2) before a word containing "conftest.", or (3) at the end.
19549 # Note that $ac_compile itself does not contain backslashes and begins
19550 # with a dollar sign (not a hyphen), so the echo should work correctly.
19551 lt_compile=`echo "$ac_compile" | $SED \
19552 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
19553 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
19554 -e 's:$: $lt_compiler_flag:'`
19555 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
19556 (eval "$lt_compile" 2>out/conftest.err)
19558 cat out/conftest.err >&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 if (exit $ac_status) && test -s out/conftest2.$ac_objext
19562 # The compiler can only warn and ignore the option if not recognized
19563 # So say no if there are warnings
19564 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
19565 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
19566 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
19567 lt_cv_prog_compiler_c_o_CXX=yes
19572 # SGI C++ compiler will create directory out/ii_files/ for
19573 # template instantiation
19574 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
19575 $RM out/* && rmdir out
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
19582 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
19587 hard_links="nottested"
19588 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
19589 # do not overwrite the value of need_locks provided by the user
19590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
19591 $as_echo_n "checking if we can lock with hard links... " >&6; }
19594 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19596 ln conftest.a conftest.b 2>&5 || hard_links=no
19597 ln conftest.a conftest.b 2>/dev/null && hard_links=no
19598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
19599 $as_echo "$hard_links" >&6; }
19600 if test "$hard_links" = no; then
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
19602 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
19612 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
19614 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19615 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
19618 # If we're using GNU nm, then we don't want the "-C" option.
19619 # -C means demangle to AIX nm, but means don't demangle with GNU nm
19620 # Also, AIX nm treats weak defined symbols like other global defined
19621 # symbols, whereas GNU nm marks them as "W".
19622 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
19623 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
19625 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'
19629 export_symbols_cmds_CXX="$ltdll_cmds"
19631 cygwin* | mingw* | cegcc*)
19632 case $cc_basename in
19634 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
19637 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
19638 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
19642 linux* | k*bsd*-gnu | gnu*)
19643 link_all_deplibs_CXX=no
19646 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
19650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
19651 $as_echo "$ld_shlibs_CXX" >&6; }
19652 test "$ld_shlibs_CXX" = no && can_build_shared=no
19654 with_gnu_ld_CXX=$with_gnu_ld
19662 # Do we need to explicitly link libc?
19664 case "x$archive_cmds_need_lc_CXX" in
19666 # Assume -lc should be added
19667 archive_cmds_need_lc_CXX=yes
19669 if test "$enable_shared" = yes && test "$GCC" = yes; then
19670 case $archive_cmds_CXX in
19672 # FIXME: we may have to deal with multi-command sequences.
19675 # Test whether the compiler implicitly links with -lc since on some
19676 # systems, -lgcc has to come before -lc. If gcc already passes -lc
19677 # to ld, don't add -lc before -lgcc.
19678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
19679 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
19680 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
19681 $as_echo_n "(cached) " >&6
19684 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
19686 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19687 (eval $ac_compile) 2>&5
19689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19690 test $ac_status = 0; } 2>conftest.err; then
19693 libobjs=conftest.$ac_objext
19695 wl=$lt_prog_compiler_wl_CXX
19696 pic_flag=$lt_prog_compiler_pic_CXX
19702 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
19703 allow_undefined_flag_CXX=
19704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
19705 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
19707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19708 test $ac_status = 0; }
19710 lt_cv_archive_cmds_need_lc_CXX=no
19712 lt_cv_archive_cmds_need_lc_CXX=yes
19714 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
19716 cat conftest.err 1>&5
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
19722 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
19723 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
19791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
19792 $as_echo_n "checking dynamic linker characteristics... " >&6; }
19794 library_names_spec=
19795 libname_spec='lib$name'
19799 postuninstall_cmds=
19803 shlibpath_overrides_runpath=unknown
19805 dynamic_linker="$host_os ld.so"
19806 sys_lib_dlsearch_path_spec="/lib /usr/lib"
19807 need_lib_prefix=unknown
19808 hardcode_into_libs=no
19810 # when you set need_version to no, make sure it does not cause -set_version
19811 # flags to be left without arguments
19812 need_version=unknown
19816 version_type=linux # correct to gnu/linux during the next big refactor
19817 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
19818 shlibpath_var=LIBPATH
19820 # AIX 3 has no versioning support, so we append a major version to the name.
19821 soname_spec='${libname}${release}${shared_ext}$major'
19825 version_type=linux # correct to gnu/linux during the next big refactor
19828 hardcode_into_libs=yes
19829 if test "$host_cpu" = ia64; then
19830 # AIX 5 supports IA64
19831 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
19832 shlibpath_var=LD_LIBRARY_PATH
19834 # With GCC up to 2.95.x, collect2 would create an import file
19835 # for dependence libraries. The import file would start with
19836 # the line `#! .'. This would cause the generated library to
19837 # depend on `.', always an invalid library. This was fixed in
19838 # development snapshots of GCC prior to 3.0.
19840 aix4 | aix4.[01] | aix4.[01].*)
19841 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
19843 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
19846 can_build_shared=no
19850 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
19851 # soname into executable. Probably we can add versioning support to
19852 # collect2, so additional links can be useful in future.
19853 if test "$aix_use_runtimelinking" = yes; then
19854 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
19855 # instead of lib<name>.a to let people know that these are not
19856 # typical AIX shared libraries.
19857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19859 # We preserve .a as extension for shared libraries through AIX4.2
19860 # and later when we are not doing run time linking.
19861 library_names_spec='${libname}${release}.a $libname.a'
19862 soname_spec='${libname}${release}${shared_ext}$major'
19864 shlibpath_var=LIBPATH
19871 # Since July 2007 AmigaOS4 officially supports .so libraries.
19872 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
19873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19876 library_names_spec='$libname.ixlibrary $libname.a'
19877 # Create ${libname}_ixlibrary.a entries in /sys/libs.
19878 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
19884 library_names_spec='${libname}${shared_ext}'
19885 dynamic_linker="$host_os ld.so"
19886 shlibpath_var=LIBRARY_PATH
19890 version_type=linux # correct to gnu/linux during the next big refactor
19892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
19893 soname_spec='${libname}${release}${shared_ext}$major'
19894 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
19895 shlibpath_var=LD_LIBRARY_PATH
19896 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
19897 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
19898 # the default ld.so.conf also contains /usr/contrib/lib and
19899 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
19900 # libtool to hard-code these into programs
19903 cygwin* | mingw* | pw32* | cegcc*)
19904 version_type=windows
19909 case $GCC,$cc_basename in
19912 library_names_spec='$libname.dll.a'
19913 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19914 postinstall_cmds='base_file=`basename \${file}`~
19915 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
19916 dldir=$destdir/`dirname \$dlpath`~
19917 test -d \$dldir || mkdir -p \$dldir~
19918 $install_prog $dir/$dlname \$dldir/$dlname~
19919 chmod a+x \$dldir/$dlname~
19920 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
19921 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
19923 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19924 dlpath=$dir/\$dldll~
19926 shlibpath_overrides_runpath=yes
19930 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
19931 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19935 # MinGW DLLs use traditional 'lib' prefix
19936 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19939 # pw32 DLLs use 'pw' prefix rather than 'lib'
19940 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19943 dynamic_linker='Win32 ld.exe'
19948 libname_spec='$name'
19949 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
19950 library_names_spec='${libname}.dll.lib'
19954 sys_lib_search_path_spec=
19957 for lt_path in $LIB
19960 # Let DOS variable expansion print the short 8.3 style file name.
19961 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
19962 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
19965 # Convert to MSYS style.
19966 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
19969 # Convert to unix form, then to dos form, then back to unix form
19970 # but this time dos style (no spaces!) so that the unix form looks
19971 # like /cygdrive/c/PROGRA~1:/cygdr...
19972 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
19973 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
19974 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19977 sys_lib_search_path_spec="$LIB"
19978 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
19979 # It is most probably a Windows format PATH.
19980 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
19982 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
19984 # FIXME: find the short name or the path components, as spaces are
19985 # common. (e.g. "Program Files" -> "PROGRA~1")
19989 # DLL is installed to $(libdir)/../bin by postinstall_cmds
19990 postinstall_cmds='base_file=`basename \${file}`~
19991 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
19992 dldir=$destdir/`dirname \$dlpath`~
19993 test -d \$dldir || mkdir -p \$dldir~
19994 $install_prog $dir/$dlname \$dldir/$dlname'
19995 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
19996 dlpath=$dir/\$dldll~
19998 shlibpath_overrides_runpath=yes
19999 dynamic_linker='Win32 link.exe'
20003 # Assume MSVC wrapper
20004 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
20005 dynamic_linker='Win32 ld.exe'
20008 # FIXME: first we should search . and the directory the executable is in
20012 darwin* | rhapsody*)
20013 dynamic_linker="$host_os dyld"
20014 version_type=darwin
20017 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
20018 soname_spec='${libname}${release}${major}$shared_ext'
20019 shlibpath_overrides_runpath=yes
20020 shlibpath_var=DYLD_LIBRARY_PATH
20021 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
20023 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
20027 version_type=linux # correct to gnu/linux during the next big refactor
20030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
20031 soname_spec='${libname}${release}${shared_ext}$major'
20032 shlibpath_var=LD_LIBRARY_PATH
20035 freebsd* | dragonfly*)
20036 # DragonFly does not have aout. When/if they implement a new
20037 # versioning mechanism, adjust this.
20038 if test -x /usr/bin/objformat; then
20039 objformat=`/usr/bin/objformat`
20042 freebsd[23].*) objformat=aout ;;
20043 *) objformat=elf ;;
20046 version_type=freebsd-$objformat
20047 case $version_type in
20049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20054 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
20058 shlibpath_var=LD_LIBRARY_PATH
20061 shlibpath_overrides_runpath=yes
20063 freebsd3.[01]* | freebsdelf3.[01]*)
20064 shlibpath_overrides_runpath=yes
20065 hardcode_into_libs=yes
20067 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
20068 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
20069 shlibpath_overrides_runpath=no
20070 hardcode_into_libs=yes
20072 *) # from 4.6 on, and DragonFly
20073 shlibpath_overrides_runpath=yes
20074 hardcode_into_libs=yes
20080 version_type=linux # correct to gnu/linux during the next big refactor
20083 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20084 soname_spec='${libname}${release}${shared_ext}$major'
20085 shlibpath_var=LD_LIBRARY_PATH
20086 shlibpath_overrides_runpath=no
20087 hardcode_into_libs=yes
20091 version_type=linux # correct to gnu/linux during the next big refactor
20094 dynamic_linker="$host_os runtime_loader"
20095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
20096 soname_spec='${libname}${release}${shared_ext}$major'
20097 shlibpath_var=LIBRARY_PATH
20098 shlibpath_overrides_runpath=yes
20099 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
20100 hardcode_into_libs=yes
20103 hpux9* | hpux10* | hpux11*)
20104 # Give a soname corresponding to the major version so that dld.sl refuses to
20105 # link against other versions.
20112 hardcode_into_libs=yes
20113 dynamic_linker="$host_os dld.so"
20114 shlibpath_var=LD_LIBRARY_PATH
20115 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20116 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20117 soname_spec='${libname}${release}${shared_ext}$major'
20118 if test "X$HPUX_IA64_MODE" = X32; then
20119 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
20121 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
20123 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20127 hardcode_into_libs=yes
20128 dynamic_linker="$host_os dld.sl"
20129 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
20130 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
20131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20132 soname_spec='${libname}${release}${shared_ext}$major'
20133 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
20134 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
20138 dynamic_linker="$host_os dld.sl"
20139 shlibpath_var=SHLIB_PATH
20140 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
20141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20142 soname_spec='${libname}${release}${shared_ext}$major'
20145 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
20146 postinstall_cmds='chmod 555 $lib'
20147 # or fails outright, so override atomically:
20148 install_override_mode=555
20152 version_type=linux # correct to gnu/linux during the next big refactor
20155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20156 soname_spec='${libname}${release}${shared_ext}$major'
20157 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
20158 shlibpath_var=LD_LIBRARY_PATH
20159 shlibpath_overrides_runpath=no
20160 hardcode_into_libs=yes
20163 irix5* | irix6* | nonstopux*)
20165 nonstopux*) version_type=nonstopux ;;
20167 if test "$lt_cv_prog_gnu_ld" = yes; then
20168 version_type=linux # correct to gnu/linux during the next big refactor
20175 soname_spec='${libname}${release}${shared_ext}$major'
20176 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
20178 irix5* | nonstopux*)
20179 libsuff= shlibsuff=
20182 case $LD in # libtool.m4 will add one of these switches to LD
20183 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
20184 libsuff= shlibsuff= libmagic=32-bit;;
20185 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
20186 libsuff=32 shlibsuff=N32 libmagic=N32;;
20187 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
20188 libsuff=64 shlibsuff=64 libmagic=64-bit;;
20189 *) libsuff= shlibsuff= libmagic=never-match;;
20193 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
20194 shlibpath_overrides_runpath=no
20195 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
20196 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
20197 hardcode_into_libs=yes
20200 # No shared lib support for Linux oldld, aout, or coff.
20201 linux*oldld* | linux*aout* | linux*coff*)
20205 # This must be glibc/ELF.
20206 linux* | k*bsd*-gnu | kopensolaris*-gnu)
20207 version_type=linux # correct to gnu/linux during the next big refactor
20210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20211 soname_spec='${libname}${release}${shared_ext}$major'
20212 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
20213 shlibpath_var=LD_LIBRARY_PATH
20214 shlibpath_overrides_runpath=no
20216 # Some binutils ld are patched to set DT_RUNPATH
20217 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
20218 $as_echo_n "(cached) " >&6
20220 lt_cv_shlibpath_overrides_runpath=no
20221 save_LDFLAGS=$LDFLAGS
20222 save_libdir=$libdir
20223 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
20224 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
20225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20226 /* end confdefs.h. */
20236 if ac_fn_cxx_try_link "$LINENO"; then :
20237 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
20238 lt_cv_shlibpath_overrides_runpath=yes
20241 rm -f core conftest.err conftest.$ac_objext \
20242 conftest$ac_exeext conftest.$ac_ext
20243 LDFLAGS=$save_LDFLAGS
20244 libdir=$save_libdir
20248 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
20250 # This implies no fast_install, which is unacceptable.
20251 # Some rework will be needed to allow for fast_install
20252 # before this can be enabled.
20253 hardcode_into_libs=yes
20255 # Append ld.so.conf contents to the search path
20256 if test -f /etc/ld.so.conf; then
20257 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
20258 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
20261 # We used to test for /lib/ld.so.1 and disable shared libraries on
20262 # powerpc, because MkLinux only supported shared libraries with the
20263 # GNU dynamic linker. Since this was broken with cross compilers,
20264 # most powerpc-linux boxes support dynamic linking these days and
20265 # people can always --disable-shared, the test was removed, and we
20266 # assume the GNU/Linux dynamic linker is in use.
20267 dynamic_linker='GNU/Linux ld.so'
20274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20275 soname_spec='${libname}${release}${shared_ext}$major'
20276 shlibpath_var=LD_LIBRARY_PATH
20277 shlibpath_overrides_runpath=no
20278 hardcode_into_libs=yes
20279 dynamic_linker='NetBSD ld.elf_so'
20286 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
20287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20288 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20289 dynamic_linker='NetBSD (a.out) ld.so'
20291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
20292 soname_spec='${libname}${release}${shared_ext}$major'
20293 dynamic_linker='NetBSD ld.elf_so'
20295 shlibpath_var=LD_LIBRARY_PATH
20296 shlibpath_overrides_runpath=yes
20297 hardcode_into_libs=yes
20301 version_type=linux # correct to gnu/linux during the next big refactor
20302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20303 shlibpath_var=LD_LIBRARY_PATH
20304 shlibpath_overrides_runpath=yes
20311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20312 soname_spec='${libname}${release}${shared_ext}$major'
20313 shlibpath_var=LD_LIBRARY_PATH
20314 shlibpath_overrides_runpath=no
20315 hardcode_into_libs=yes
20316 dynamic_linker='ldqnx.so'
20321 sys_lib_dlsearch_path_spec="/usr/lib"
20323 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
20325 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
20326 *) need_version=no ;;
20328 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20329 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
20330 shlibpath_var=LD_LIBRARY_PATH
20331 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
20333 openbsd2.[89] | openbsd2.[89].*)
20334 shlibpath_overrides_runpath=no
20337 shlibpath_overrides_runpath=yes
20341 shlibpath_overrides_runpath=yes
20346 libname_spec='$name'
20349 library_names_spec='$libname${shared_ext} $libname.a'
20350 dynamic_linker='OS/2 ld.exe'
20351 shlibpath_var=LIBPATH
20354 osf3* | osf4* | osf5*)
20358 soname_spec='${libname}${release}${shared_ext}$major'
20359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20360 shlibpath_var=LD_LIBRARY_PATH
20361 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
20362 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
20370 version_type=linux # correct to gnu/linux during the next big refactor
20373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20374 soname_spec='${libname}${release}${shared_ext}$major'
20375 shlibpath_var=LD_LIBRARY_PATH
20376 shlibpath_overrides_runpath=yes
20377 hardcode_into_libs=yes
20378 # ldd complains unless libraries are executable
20379 postinstall_cmds='chmod +x $lib'
20384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
20385 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
20386 shlibpath_var=LD_LIBRARY_PATH
20387 shlibpath_overrides_runpath=yes
20388 if test "$with_gnu_ld" = yes; then
20395 version_type=linux # correct to gnu/linux during the next big refactor
20396 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20397 soname_spec='${libname}${release}${shared_ext}$major'
20398 shlibpath_var=LD_LIBRARY_PATH
20399 case $host_vendor in
20401 shlibpath_overrides_runpath=no
20403 runpath_var=LD_RUN_PATH
20411 shlibpath_overrides_runpath=no
20412 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
20418 if test -d /usr/nec ;then
20419 version_type=linux # correct to gnu/linux during the next big refactor
20420 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
20421 soname_spec='$libname${shared_ext}.$major'
20422 shlibpath_var=LD_LIBRARY_PATH
20426 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
20427 version_type=freebsd-elf
20430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
20431 soname_spec='${libname}${release}${shared_ext}$major'
20432 shlibpath_var=LD_LIBRARY_PATH
20433 shlibpath_overrides_runpath=yes
20434 hardcode_into_libs=yes
20435 if test "$with_gnu_ld" = yes; then
20436 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
20438 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
20441 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
20445 sys_lib_dlsearch_path_spec='/usr/lib'
20449 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
20450 version_type=linux # correct to gnu/linux during the next big refactor
20453 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20454 shlibpath_var=LD_LIBRARY_PATH
20455 shlibpath_overrides_runpath=no
20456 hardcode_into_libs=yes
20460 version_type=linux # correct to gnu/linux during the next big refactor
20461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
20462 soname_spec='${libname}${release}${shared_ext}$major'
20463 shlibpath_var=LD_LIBRARY_PATH
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
20471 $as_echo "$dynamic_linker" >&6; }
20472 test "$dynamic_linker" = no && can_build_shared=no
20474 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
20475 if test "$GCC" = yes; then
20476 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
20479 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
20480 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
20482 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
20483 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
20523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
20524 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
20525 hardcode_action_CXX=
20526 if test -n "$hardcode_libdir_flag_spec_CXX" ||
20527 test -n "$runpath_var_CXX" ||
20528 test "X$hardcode_automatic_CXX" = "Xyes" ; then
20530 # We can hardcode non-existent directories.
20531 if test "$hardcode_direct_CXX" != no &&
20532 # If the only mechanism to avoid hardcoding is shlibpath_var, we
20533 # have to relink, otherwise we might link with an installed library
20534 # when we should be linking with a yet-to-be-installed one
20535 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
20536 test "$hardcode_minus_L_CXX" != no; then
20537 # Linking always hardcodes the temporary library directory.
20538 hardcode_action_CXX=relink
20540 # We can link without hardcoding, and we can hardcode nonexisting dirs.
20541 hardcode_action_CXX=immediate
20544 # We cannot hardcode anything, or else we can only hardcode existing
20546 hardcode_action_CXX=unsupported
20548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
20549 $as_echo "$hardcode_action_CXX" >&6; }
20551 if test "$hardcode_action_CXX" = relink ||
20552 test "$inherit_rpath_CXX" = yes; then
20553 # Fast installation is not supported
20554 enable_fast_install=no
20555 elif test "$shlibpath_overrides_runpath" = yes ||
20556 test "$enable_shared" = no; then
20557 # Fast installation is not necessary
20558 enable_fast_install=needless
20567 fi # test -n "$compiler"
20570 CFLAGS=$lt_save_CFLAGS
20574 with_gnu_ld=$lt_save_with_gnu_ld
20575 lt_cv_path_LDCXX=$lt_cv_path_LD
20576 lt_cv_path_LD=$lt_save_path_LD
20577 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
20578 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
20579 fi # test "$_lt_caught_CXX_error" != yes
20582 ac_cpp='$CPP $CPPFLAGS'
20583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20588 # Extract the first word of "$CXX", so it can be a program name with args.
20589 set dummy $CXX; ac_word=$2
20590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20591 $as_echo_n "checking for $ac_word... " >&6; }
20592 if ${ac_cv_prog_HAVE_CXX+:} false; then :
20593 $as_echo_n "(cached) " >&6
20595 if test -n "$HAVE_CXX"; then
20596 ac_cv_prog_HAVE_CXX="$HAVE_CXX" # Let the user override the test.
20598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20599 for as_dir in $PATH
20602 test -z "$as_dir" && as_dir=.
20603 for ac_exec_ext in '' $ac_executable_extensions; do
20604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20605 ac_cv_prog_HAVE_CXX="yes"
20606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20613 test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no"
20616 HAVE_CXX=$ac_cv_prog_HAVE_CXX
20617 if test -n "$HAVE_CXX"; then
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CXX" >&5
20619 $as_echo "$HAVE_CXX" >&6; }
20621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20622 $as_echo "no" >&6; }
20627 if test "x$CC" != xcc; then
20628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
20629 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
20631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
20632 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
20634 set dummy $CC; ac_cc=`$as_echo "$2" |
20635 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
20636 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
20637 $as_echo_n "(cached) " >&6
20639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20640 /* end confdefs.h. */
20650 # Make sure it works both with $CC and with simple cc.
20651 # We do the test twice because some compilers refuse to overwrite an
20652 # existing .o file with -o, though they will create one.
20653 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
20655 if { { case "(($ac_try" in
20656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20657 *) ac_try_echo=$ac_try;;
20659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20660 $as_echo "$ac_try_echo"; } >&5
20661 (eval "$ac_try") 2>&5
20663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20664 test $ac_status = 0; } &&
20665 test -f conftest2.$ac_objext && { { case "(($ac_try" in
20666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20667 *) ac_try_echo=$ac_try;;
20669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20670 $as_echo "$ac_try_echo"; } >&5
20671 (eval "$ac_try") 2>&5
20673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20674 test $ac_status = 0; };
20676 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
20677 if test "x$CC" != xcc; then
20678 # Test first that cc exists at all.
20679 if { ac_try='cc -c conftest.$ac_ext >&5'
20680 { { case "(($ac_try" in
20681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20682 *) ac_try_echo=$ac_try;;
20684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20685 $as_echo "$ac_try_echo"; } >&5
20686 (eval "$ac_try") 2>&5
20688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20689 test $ac_status = 0; }; }; then
20690 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
20692 if { { case "(($ac_try" in
20693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20694 *) ac_try_echo=$ac_try;;
20696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20697 $as_echo "$ac_try_echo"; } >&5
20698 (eval "$ac_try") 2>&5
20700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20701 test $ac_status = 0; } &&
20702 test -f conftest2.$ac_objext && { { case "(($ac_try" in
20703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20704 *) ac_try_echo=$ac_try;;
20706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
20707 $as_echo "$ac_try_echo"; } >&5
20708 (eval "$ac_try") 2>&5
20710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20711 test $ac_status = 0; };
20716 # cc exists but doesn't like -o.
20717 eval ac_cv_prog_cc_${ac_cc}_c_o=no
20722 eval ac_cv_prog_cc_${ac_cc}_c_o=no
20724 rm -f core conftest*
20727 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
20728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20729 $as_echo "yes" >&6; }
20731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20732 $as_echo "no" >&6; }
20734 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
20738 # FIXME: we rely on the cache variable name because
20739 # there is no other way.
20741 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
20742 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
20743 if test "$am_t" != yes; then
20744 # Losing compiler, so override with the script.
20745 # FIXME: It is wrong to rewrite CC.
20746 # But if we don't then we get into trouble of one sort or another.
20747 # A longer-term fix would be to have automake use am__CC in this case,
20748 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
20749 CC="$am_aux_dir/compile $CC"
20754 # Extract the first word of "valgrind", so it can be a program name with args.
20755 set dummy valgrind; ac_word=$2
20756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20757 $as_echo_n "checking for $ac_word... " >&6; }
20758 if ${ac_cv_path_VALGRIND_PATH+:} false; then :
20759 $as_echo_n "(cached) " >&6
20761 case $VALGRIND_PATH in
20763 ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
20766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20767 for as_dir in $PATH
20770 test -z "$as_dir" && as_dir=.
20771 for ac_exec_ext in '' $ac_executable_extensions; do
20772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20773 ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
20774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20781 test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
20785 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
20786 if test -n "$VALGRIND_PATH"; then
20787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
20788 $as_echo "$VALGRIND_PATH" >&6; }
20790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20791 $as_echo "no" >&6; }
20795 if test ! "x$VALGRIND_PATH" = "xno"; then
20796 HAVE_VALGRIND_TRUE=
20797 HAVE_VALGRIND_FALSE='#'
20799 HAVE_VALGRIND_TRUE='#'
20800 HAVE_VALGRIND_FALSE=
20806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working do while(0) macros" >&5
20807 $as_echo_n "checking for working do while(0) macros... " >&6; }
20808 if ${_cv_g_support_dowhile_macros+:} false; then :
20809 $as_echo_n "(cached) " >&6
20812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20813 /* end confdefs.h. */
20819 #define STMT_START do
20820 #define STMT_END while(0)
20821 #define STMT_TEST STMT_START { i = 0; } STMT_END
20822 int main(void) { int i = 1; STMT_TEST; return i; }
20827 if ac_fn_c_try_compile "$LINENO"; then :
20828 _cv_g_support_dowhile_macros=yes
20830 _cv_g_support_dowhile_macros=no
20832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_g_support_dowhile_macros" >&5
20836 $as_echo "$_cv_g_support_dowhile_macros" >&6; }
20837 if test x$_cv_g_support_dowhile_macros = xyes; then
20839 $as_echo "#define HAVE_DOWHILE_MACROS 1" >>confdefs.h
20846 # Check whether --with-html-dir was given.
20847 if test "${with_html_dir+set}" = set; then :
20848 withval=$with_html_dir;
20850 with_html_dir='${datadir}/gtk-doc/html'
20853 HTML_DIR="$with_html_dir"
20856 # Check whether --enable-gtk-doc was given.
20857 if test "${enable_gtk_doc+set}" = set; then :
20858 enableval=$enable_gtk_doc;
20864 if test x$enable_gtk_doc = xyes; then
20865 if test -n "$PKG_CONFIG" && \
20866 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5
20867 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5
20869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20870 test $ac_status = 0; }; then
20873 as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build gtk-doc" "$LINENO" 5
20875 if test -z "$SED"; then
20876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
20877 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
20878 if ${ac_cv_path_SED+:} false; then :
20879 $as_echo_n "(cached) " >&6
20881 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
20882 for ac_i in 1 2 3 4 5 6 7; do
20883 ac_script="$ac_script$as_nl$ac_script"
20885 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
20886 { ac_script=; unset ac_script;}
20887 if test -z "$SED"; then
20888 ac_path_SED_found=false
20889 # Loop through the user's path and test for each of PROGNAME-LIST
20890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20891 for as_dir in $PATH
20894 test -z "$as_dir" && as_dir=.
20895 for ac_prog in sed gsed; do
20896 for ac_exec_ext in '' $ac_executable_extensions; do
20897 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
20898 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
20899 # Check for GNU ac_path_SED and select it if it is found.
20900 # Check for GNU $ac_path_SED
20901 case `"$ac_path_SED" --version 2>&1` in
20903 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
20906 $as_echo_n 0123456789 >"conftest.in"
20909 cat "conftest.in" "conftest.in" >"conftest.tmp"
20910 mv "conftest.tmp" "conftest.in"
20911 cp "conftest.in" "conftest.nl"
20912 $as_echo '' >> "conftest.nl"
20913 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
20914 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
20915 as_fn_arith $ac_count + 1 && ac_count=$as_val
20916 if test $ac_count -gt ${ac_path_SED_max-0}; then
20917 # Best one so far, save it but keep looking for a better one
20918 ac_cv_path_SED="$ac_path_SED"
20919 ac_path_SED_max=$ac_count
20921 # 10*(2^10) chars as input seems more than enough
20922 test $ac_count -gt 10 && break
20924 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
20927 $ac_path_SED_found && break 3
20932 if test -z "$ac_cv_path_SED"; then
20933 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
20936 ac_cv_path_SED=$SED
20940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
20941 $as_echo "$ac_cv_path_SED" >&6; }
20942 SED="$ac_cv_path_SED"
20948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
20949 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
20950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
20951 $as_echo "$enable_gtk_doc" >&6; }
20953 for ac_prog in gtkdoc-check
20955 # Extract the first word of "$ac_prog", so it can be a program name with args.
20956 set dummy $ac_prog; ac_word=$2
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20958 $as_echo_n "checking for $ac_word... " >&6; }
20959 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
20960 $as_echo_n "(cached) " >&6
20962 case $GTKDOC_CHECK in
20964 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
20967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20968 for as_dir in $PATH
20971 test -z "$as_dir" && as_dir=.
20972 for ac_exec_ext in '' $ac_executable_extensions; do
20973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20974 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
20975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20985 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
20986 if test -n "$GTKDOC_CHECK"; then
20987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
20988 $as_echo "$GTKDOC_CHECK" >&6; }
20990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20991 $as_echo "no" >&6; }
20995 test -n "$GTKDOC_CHECK" && break
20999 if test x$enable_gtk_doc = xyes; then
21000 ENABLE_GTK_DOC_TRUE=
21001 ENABLE_GTK_DOC_FALSE='#'
21003 ENABLE_GTK_DOC_TRUE='#'
21004 ENABLE_GTK_DOC_FALSE=
21007 if test -n "$LIBTOOL"; then
21008 GTK_DOC_USE_LIBTOOL_TRUE=
21009 GTK_DOC_USE_LIBTOOL_FALSE='#'
21011 GTK_DOC_USE_LIBTOOL_TRUE='#'
21012 GTK_DOC_USE_LIBTOOL_FALSE=
21018 PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
21019 python1.6 python1.5"
21021 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5
21022 $as_echo "$as_me: Looking for Python version >= 2.1" >&6;}
21026 # split string by '.' and convert to numeric
21027 minver_info = map(string.atoi, string.split(minver, '.'))
21028 # we can now do comparisons on the two lists:
21029 if sys.version_info >= tuple(minver_info):
21035 for python_candidate in $PYTHON_CANDIDATES; do
21037 # Extract the first word of "$python_candidate", so it can be a program name with args.
21038 set dummy $python_candidate; ac_word=$2
21039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21040 $as_echo_n "checking for $ac_word... " >&6; }
21041 if ${ac_cv_path_PYTHON+:} false; then :
21042 $as_echo_n "(cached) " >&6
21046 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
21049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21050 for as_dir in $PATH
21053 test -z "$as_dir" && as_dir=.
21054 for ac_exec_ext in '' $ac_executable_extensions; do
21055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21056 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
21057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21067 PYTHON=$ac_cv_path_PYTHON
21068 if test -n "$PYTHON"; then
21069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
21070 $as_echo "$PYTHON" >&6; }
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21073 $as_echo "no" >&6; }
21076 1> /dev/null 2> /dev/null
21078 if test "x$PYTHON" = "x"; then continue; fi
21080 if $PYTHON -c "$prog" 1>&5 2>&5; then
21081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5
21082 $as_echo_n "checking \"$PYTHON\":... " >&6; }
21083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
21084 $as_echo "okay" >&6; }
21088 unset ac_cv_path_PYTHON
21093 if test "$python_good" != "true"; then
21094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5
21095 $as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
21099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5
21100 $as_echo_n "checking local Python configuration... " >&6; }
21104 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
21109 PYTHON_PREFIX='${prefix}'
21112 PYTHON_EXEC_PREFIX='${exec_prefix}'
21116 PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
21122 pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
21126 pkgpythondir=\${pythondir}/$PACKAGE
21130 pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
21134 pkgpyexecdir=\${pyexecdir}/$PACKAGE
21136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5
21137 $as_echo "looks good" >&6; }
21143 build_plugin_docs=no
21144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5
21145 $as_echo_n "checking whether to build plugin documentation... " >&6; }
21146 if test x$enable_gtk_doc = xyes; then
21147 build_plugin_docs=yes
21148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21149 $as_echo "yes" >&6; }
21151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5
21152 $as_echo "no (gtk-doc disabled or not available)" >&6; }
21155 if test x$build_plugin_docs = xyes; then
21156 ENABLE_PLUGIN_DOCS_TRUE=
21157 ENABLE_PLUGIN_DOCS_FALSE='#'
21159 ENABLE_PLUGIN_DOCS_TRUE='#'
21160 ENABLE_PLUGIN_DOCS_FALSE=
21168 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
21169 # These system don't have libm, or don't need it
21172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
21173 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
21174 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
21175 $as_echo_n "(cached) " >&6
21177 ac_check_lib_save_LIBS=$LIBS
21179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21180 /* end confdefs.h. */
21182 /* Override any GCC internal prototype to avoid an error.
21183 Use char because int might match the return type of a GCC
21184 builtin and then its argument prototype would still apply. */
21188 char _mwvalidcheckl ();
21192 return _mwvalidcheckl ();
21197 if ac_fn_c_try_link "$LINENO"; then :
21198 ac_cv_lib_mw__mwvalidcheckl=yes
21200 ac_cv_lib_mw__mwvalidcheckl=no
21202 rm -f core conftest.err conftest.$ac_objext \
21203 conftest$ac_exeext conftest.$ac_ext
21204 LIBS=$ac_check_lib_save_LIBS
21206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
21207 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
21208 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
21212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
21213 $as_echo_n "checking for cos in -lm... " >&6; }
21214 if ${ac_cv_lib_m_cos+:} false; then :
21215 $as_echo_n "(cached) " >&6
21217 ac_check_lib_save_LIBS=$LIBS
21219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21220 /* end confdefs.h. */
21222 /* Override any GCC internal prototype to avoid an error.
21223 Use char because int might match the return type of a GCC
21224 builtin and then its argument prototype would still apply. */
21237 if ac_fn_c_try_link "$LINENO"; then :
21238 ac_cv_lib_m_cos=yes
21242 rm -f core conftest.err conftest.$ac_objext \
21243 conftest$ac_exeext conftest.$ac_ext
21244 LIBS=$ac_check_lib_save_LIBS
21246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
21247 $as_echo "$ac_cv_lib_m_cos" >&6; }
21248 if test "x$ac_cv_lib_m_cos" = xyes; then :
21254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
21255 $as_echo_n "checking for cos in -lm... " >&6; }
21256 if ${ac_cv_lib_m_cos+:} false; then :
21257 $as_echo_n "(cached) " >&6
21259 ac_check_lib_save_LIBS=$LIBS
21261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21262 /* end confdefs.h. */
21264 /* Override any GCC internal prototype to avoid an error.
21265 Use char because int might match the return type of a GCC
21266 builtin and then its argument prototype would still apply. */
21279 if ac_fn_c_try_link "$LINENO"; then :
21280 ac_cv_lib_m_cos=yes
21284 rm -f core conftest.err conftest.$ac_objext \
21285 conftest$ac_exeext conftest.$ac_ext
21286 LIBS=$ac_check_lib_save_LIBS
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
21289 $as_echo "$ac_cv_lib_m_cos" >&6; }
21290 if test "x$ac_cv_lib_m_cos" = xyes; then :
21301 # ------ AX CREATE STDINT H -------------------------------------
21302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5
21303 $as_echo_n "checking for stdint types... " >&6; }
21304 ac_stdint_h=`echo _stdint.h`
21305 # try to shortcircuit - if the default include path of the compiler
21306 # can find a "stdint.h" header then we assume that all compilers can.
21307 if ${ac_cv_header_stdint_t+:} false; then :
21308 $as_echo_n "(cached) " >&6
21311 old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS=""
21312 old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS=""
21313 old_CFLAGS="$CFLAGS" ; CFLAGS=""
21314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21315 /* end confdefs.h. */
21316 #include <stdint.h>
21320 int_least32_t v = 0;
21325 if ac_fn_c_try_compile "$LINENO"; then :
21326 ac_cv_stdint_result="(assuming C99 compatible system)"
21327 ac_cv_header_stdint_t="stdint.h";
21329 ac_cv_header_stdint_t=""
21331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21332 if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then
21334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21335 /* end confdefs.h. */
21336 #include <stdint.h>
21340 int_least32_t v = 0;
21345 if ac_fn_c_try_compile "$LINENO"; then :
21346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5
21347 $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;}
21349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21351 CXXFLAGS="$old_CXXFLAGS"
21352 CPPFLAGS="$old_CPPFLAGS"
21353 CFLAGS="$old_CFLAGS"
21357 v="... $ac_cv_header_stdint_h"
21358 if test "$ac_stdint_h" = "stdint.h" ; then
21359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5
21360 $as_echo "(are you sure you want them in ./stdint.h?)" >&6; }
21361 elif test "$ac_stdint_h" = "inttypes.h" ; then
21362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5
21363 $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; }
21364 elif test "_$ac_cv_header_stdint_t" = "_" ; then
21365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5
21366 $as_echo "(putting them into $ac_stdint_h)$v" >&6; }
21368 ac_cv_header_stdint="$ac_cv_header_stdint_t"
21369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5
21370 $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; }
21373 if test "_$ac_cv_header_stdint_t" = "_" ; then # can not shortcircuit..
21376 inttype_headers=`echo | sed -e 's/,/ /g'`
21378 ac_cv_stdint_result="(no helpful system typedefs seen)"
21380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
21381 $as_echo_n "checking for stdint uintptr_t... " >&6; }
21382 if ${ac_cv_header_stdint_x+:} false; then :
21383 $as_echo_n "(cached) " >&6
21386 ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h)
21387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21388 $as_echo "(..)" >&6; }
21389 for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers
21391 unset ac_cv_type_uintptr_t
21392 unset ac_cv_type_uint64_t
21393 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i>
21395 if test "x$ac_cv_type_uintptr_t" = xyes; then :
21396 ac_cv_header_stdint_x=$i
21401 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
21403 if test "x$ac_cv_type_uint64_t" = xyes; then :
21409 ac_cv_stdint_result="(seen uintptr_t$and64 in $i)"
21412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5
21413 $as_echo_n "checking for stdint uintptr_t... " >&6; }
21416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5
21417 $as_echo "$ac_cv_header_stdint_x" >&6; }
21420 if test "_$ac_cv_header_stdint_x" = "_" ; then
21422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
21423 $as_echo_n "checking for stdint uint32_t... " >&6; }
21424 if ${ac_cv_header_stdint_o+:} false; then :
21425 $as_echo_n "(cached) " >&6
21428 ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h)
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21430 $as_echo "(..)" >&6; }
21431 for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers
21433 unset ac_cv_type_uint32_t
21434 unset ac_cv_type_uint64_t
21435 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i>
21437 if test "x$ac_cv_type_uint32_t" = xyes; then :
21438 ac_cv_header_stdint_o=$i
21443 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i>
21445 if test "x$ac_cv_type_uint64_t" = xyes; then :
21451 ac_cv_stdint_result="(seen uint32_t$and64 in $i)"
21455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5
21456 $as_echo_n "checking for stdint uint32_t... " >&6; }
21459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5
21460 $as_echo "$ac_cv_header_stdint_o" >&6; }
21464 if test "_$ac_cv_header_stdint_x" = "_" ; then
21465 if test "_$ac_cv_header_stdint_o" = "_" ; then
21467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
21468 $as_echo_n "checking for stdint u_int32_t... " >&6; }
21469 if ${ac_cv_header_stdint_u+:} false; then :
21470 $as_echo_n "(cached) " >&6
21473 ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h)
21474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21475 $as_echo "(..)" >&6; }
21476 for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do
21477 unset ac_cv_type_u_int32_t
21478 unset ac_cv_type_u_int64_t
21479 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i>
21481 if test "x$ac_cv_type_u_int32_t" = xyes; then :
21482 ac_cv_header_stdint_u=$i
21487 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i>
21489 if test "x$ac_cv_type_u_int64_t" = xyes; then :
21495 ac_cv_stdint_result="(seen u_int32_t$and64 in $i)"
21499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5
21500 $as_echo_n "checking for stdint u_int32_t... " >&6; }
21503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5
21504 $as_echo "$ac_cv_header_stdint_u" >&6; }
21508 if test "_$ac_cv_header_stdint_x" = "_" ; then
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5
21510 $as_echo_n "checking for stdint datatype model... " >&6; }
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5
21512 $as_echo "(..)" >&6; }
21514 # The cast to long int works around a bug in the HP C Compiler
21515 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21516 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21517 # This bug is HP SR number 8606223364.
21518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
21519 $as_echo_n "checking size of char... " >&6; }
21520 if ${ac_cv_sizeof_char+:} false; then :
21521 $as_echo_n "(cached) " >&6
21523 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
21526 if test "$ac_cv_type_char" = yes; then
21527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21529 as_fn_error 77 "cannot compute sizeof (char)
21530 See \`config.log' for more details" "$LINENO" 5; }
21532 ac_cv_sizeof_char=0
21537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
21538 $as_echo "$ac_cv_sizeof_char" >&6; }
21542 cat >>confdefs.h <<_ACEOF
21543 #define SIZEOF_CHAR $ac_cv_sizeof_char
21547 # The cast to long int works around a bug in the HP C Compiler
21548 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21549 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21550 # This bug is HP SR number 8606223364.
21551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
21552 $as_echo_n "checking size of short... " >&6; }
21553 if ${ac_cv_sizeof_short+:} false; then :
21554 $as_echo_n "(cached) " >&6
21556 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
21559 if test "$ac_cv_type_short" = yes; then
21560 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21562 as_fn_error 77 "cannot compute sizeof (short)
21563 See \`config.log' for more details" "$LINENO" 5; }
21565 ac_cv_sizeof_short=0
21570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
21571 $as_echo "$ac_cv_sizeof_short" >&6; }
21575 cat >>confdefs.h <<_ACEOF
21576 #define SIZEOF_SHORT $ac_cv_sizeof_short
21580 # The cast to long int works around a bug in the HP C Compiler
21581 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21582 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21583 # This bug is HP SR number 8606223364.
21584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
21585 $as_echo_n "checking size of int... " >&6; }
21586 if ${ac_cv_sizeof_int+:} false; then :
21587 $as_echo_n "(cached) " >&6
21589 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
21592 if test "$ac_cv_type_int" = yes; then
21593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21595 as_fn_error 77 "cannot compute sizeof (int)
21596 See \`config.log' for more details" "$LINENO" 5; }
21603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
21604 $as_echo "$ac_cv_sizeof_int" >&6; }
21608 cat >>confdefs.h <<_ACEOF
21609 #define SIZEOF_INT $ac_cv_sizeof_int
21613 # The cast to long int works around a bug in the HP C Compiler
21614 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21615 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21616 # This bug is HP SR number 8606223364.
21617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
21618 $as_echo_n "checking size of long... " >&6; }
21619 if ${ac_cv_sizeof_long+:} false; then :
21620 $as_echo_n "(cached) " >&6
21622 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
21625 if test "$ac_cv_type_long" = yes; then
21626 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21627 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21628 as_fn_error 77 "cannot compute sizeof (long)
21629 See \`config.log' for more details" "$LINENO" 5; }
21631 ac_cv_sizeof_long=0
21636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
21637 $as_echo "$ac_cv_sizeof_long" >&6; }
21641 cat >>confdefs.h <<_ACEOF
21642 #define SIZEOF_LONG $ac_cv_sizeof_long
21646 # The cast to long int works around a bug in the HP C Compiler
21647 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21648 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21649 # This bug is HP SR number 8606223364.
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5
21651 $as_echo_n "checking size of void*... " >&6; }
21652 if ${ac_cv_sizeof_voidp+:} false; then :
21653 $as_echo_n "(cached) " >&6
21655 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then :
21658 if test "$ac_cv_type_voidp" = yes; then
21659 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21661 as_fn_error 77 "cannot compute sizeof (void*)
21662 See \`config.log' for more details" "$LINENO" 5; }
21664 ac_cv_sizeof_voidp=0
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5
21670 $as_echo "$ac_cv_sizeof_voidp" >&6; }
21674 cat >>confdefs.h <<_ACEOF
21675 #define SIZEOF_VOIDP $ac_cv_sizeof_voidp
21679 ac_cv_char_data_model=""
21680 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_char"
21681 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_short"
21682 ac_cv_char_data_model="$ac_cv_char_data_model$ac_cv_sizeof_int"
21683 ac_cv_long_data_model=""
21684 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int"
21685 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long"
21686 ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp"
21687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5
21688 $as_echo_n "checking data model... " >&6; }
21689 case "$ac_cv_char_data_model/$ac_cv_long_data_model" in
21690 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;;
21691 122/244) ac_cv_data_model="LP32" ; n="standard 32bit machine" ;;
21692 122/*) ac_cv_data_model="i16" ; n="unusual int16 model" ;;
21693 124/444) ac_cv_data_model="ILP32" ; n="standard 32bit unixish" ;;
21694 124/488) ac_cv_data_model="LP64" ; n="standard 64bit unixish" ;;
21695 124/448) ac_cv_data_model="LLP64" ; n="unusual 64bit unixish" ;;
21696 124/*) ac_cv_data_model="i32" ; n="unusual int32 model" ;;
21697 128/888) ac_cv_data_model="ILP64" ; n="unusual 64bit numeric" ;;
21698 128/*) ac_cv_data_model="i64" ; n="unusual int64 model" ;;
21699 222/*2) ac_cv_data_model="DSP16" ; n="strict 16bit dsptype" ;;
21700 333/*3) ac_cv_data_model="DSP24" ; n="strict 24bit dsptype" ;;
21701 444/*4) ac_cv_data_model="DSP32" ; n="strict 32bit dsptype" ;;
21702 666/*6) ac_cv_data_model="DSP48" ; n="strict 48bit dsptype" ;;
21703 888/*8) ac_cv_data_model="DSP64" ; n="strict 64bit dsptype" ;;
21704 222/*|333/*|444/*|666/*|888/*) :
21705 ac_cv_data_model="iDSP" ; n="unusual dsptype" ;;
21706 *) ac_cv_data_model="none" ; n="very unusual model" ;;
21708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5
21709 $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; }
21713 if test "_$ac_cv_header_stdint_x" != "_" ; then
21714 ac_cv_header_stdint="$ac_cv_header_stdint_x"
21715 elif test "_$ac_cv_header_stdint_o" != "_" ; then
21716 ac_cv_header_stdint="$ac_cv_header_stdint_o"
21717 elif test "_$ac_cv_header_stdint_u" != "_" ; then
21718 ac_cv_header_stdint="$ac_cv_header_stdint_u"
21720 ac_cv_header_stdint="stddef.h"
21723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5
21724 $as_echo_n "checking for extra inttypes in chosen header... " >&6; }
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5
21726 $as_echo "($ac_cv_header_stdint)" >&6; }
21727 unset ac_cv_type_int_least32_t
21728 unset ac_cv_type_int_fast32_t
21729 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint>
21731 if test "x$ac_cv_type_int_least32_t" = xyes; then :
21735 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint>
21737 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
21741 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint>
21743 if test "x$ac_cv_type_intmax_t" = xyes; then :
21748 fi # shortcircut to system "stdint.h"
21749 # ------------------ PREPARE VARIABLES ------------------------------
21750 if test "$GCC" = "yes" ; then
21751 ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1`
21753 ac_cv_stdint_message="using $CC"
21756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5
21757 $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; }
21759 # ----------------- DONE inttypes.h checks START header -------------
21760 ac_config_commands="$ac_config_commands $ac_stdint_h"
21764 for ac_header in malloc.h
21766 ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
21767 if test "x$ac_cv_header_malloc_h" = xyes; then :
21768 cat >>confdefs.h <<_ACEOF
21769 #define HAVE_MALLOC_H 1
21782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __PRETTY_FUNCTION__" >&5
21783 $as_echo_n "checking whether $CC implements __PRETTY_FUNCTION__... " >&6; }
21784 if ${gst_cv_have_pretty_function+:} false; then :
21785 $as_echo_n "(cached) " >&6
21788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21789 /* end confdefs.h. */
21794 printf("%s", __PRETTY_FUNCTION__);
21799 if ac_fn_c_try_link "$LINENO"; then :
21800 gst_cv_have_pretty_function=yes
21802 gst_cv_have_pretty_function=no
21804 rm -f core conftest.err conftest.$ac_objext \
21805 conftest$ac_exeext conftest.$ac_ext
21809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_pretty_function" >&5
21810 $as_echo "$gst_cv_have_pretty_function" >&6; }
21811 if test "$gst_cv_have_pretty_function" = yes; then
21813 $as_echo "#define HAVE_PRETTY_FUNCTION 1" >>confdefs.h
21817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __FUNCTION__" >&5
21818 $as_echo_n "checking whether $CC implements __FUNCTION__... " >&6; }
21819 if ${gst_cv_have_function+:} false; then :
21820 $as_echo_n "(cached) " >&6
21823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21824 /* end confdefs.h. */
21829 printf("%s", __FUNCTION__);
21834 if ac_fn_c_try_link "$LINENO"; then :
21835 gst_cv_have_function=yes
21837 gst_cv_have_function=no
21839 rm -f core conftest.err conftest.$ac_objext \
21840 conftest$ac_exeext conftest.$ac_ext
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_function" >&5
21845 $as_echo "$gst_cv_have_function" >&6; }
21846 if test "$gst_cv_have_function" = yes; then
21848 $as_echo "#define HAVE_FUNCTION 1" >>confdefs.h
21852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC implements __func__" >&5
21853 $as_echo_n "checking whether $CC implements __func__... " >&6; }
21854 if ${gst_cv_have_func+:} false; then :
21855 $as_echo_n "(cached) " >&6
21858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21859 /* end confdefs.h. */
21864 printf("%s", __func__);
21869 if ac_fn_c_try_link "$LINENO"; then :
21870 gst_cv_have_func=yes
21872 gst_cv_have_func=no
21874 rm -f core conftest.err conftest.$ac_objext \
21875 conftest$ac_exeext conftest.$ac_ext
21879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gst_cv_have_func" >&5
21880 $as_echo "$gst_cv_have_func" >&6; }
21881 if test "$gst_cv_have_func" = yes; then
21883 $as_echo "#define HAVE_FUNC 1" >>confdefs.h
21887 if test "$gst_cv_have_pretty_function" = yes; then
21888 function=__PRETTY_FUNCTION__
21890 if test "$gst_cv_have_function" = yes; then
21891 function=__FUNCTION__
21893 if test "$gst_cv_have_func" = yes; then
21901 cat >>confdefs.h <<_ACEOF
21902 #define GST_FUNCTION $function
21912 if test "x$GLIB_REQ" = "x"
21914 as_fn_error $? "Please specify a required version for GLib 2.0" "$LINENO" 5
21919 which="glib-2.0 >= $GLIB_REQ gobject-2.0 gthread-2.0 gmodule-no-export-2.0"
21924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
21925 $as_echo_n "checking for GLIB... " >&6; }
21927 if test -n "$PKG_CONFIG"; then
21928 if test -n "$GLIB_CFLAGS"; then
21929 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
21931 if test -n "$PKG_CONFIG" && \
21932 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
21933 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
21935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21936 test $ac_status = 0; }; then
21937 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
21945 if test -n "$PKG_CONFIG"; then
21946 if test -n "$GLIB_LIBS"; then
21947 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
21949 if test -n "$PKG_CONFIG" && \
21950 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
21951 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
21953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21954 test $ac_status = 0; }; then
21955 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
21966 if test $pkg_failed = yes; then
21968 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21969 _pkg_short_errors_supported=yes
21971 _pkg_short_errors_supported=no
21973 if test $_pkg_short_errors_supported = yes; then
21974 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
21976 GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
21978 # Put the nasty error message in config.log where it belongs
21979 echo "$GLIB_PKG_ERRORS" >&5
21981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21982 $as_echo "no" >&6; }
21985 if test "x$required" = "xyes"; then
21986 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
21988 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
21989 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
21992 elif test $pkg_failed = untried; then
21995 if test "x$required" = "xyes"; then
21996 as_fn_error $? "$GLIB_PKG_ERRORS" "$LINENO" 5
21998 { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5
21999 $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;}
22003 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
22004 GLIB_LIBS=$pkg_cv_GLIB_LIBS
22005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22006 $as_echo "yes" >&6; }
22014 if test "x$HAVE_GLIB" = "xno"; then
22015 as_fn_error $? "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5
22018 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_THREADS_MANDATORY"
22020 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
22021 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_DEPRECATED"
22024 # Check whether --enable-gobject-cast-checks was given.
22025 if test "${enable_gobject_cast_checks+set}" = set; then :
22026 enableval=$enable_gobject_cast_checks;
22028 enable_gobject_cast_checks=auto
22032 if test "x$enable_gobject_cast_checks" = "xauto"; then
22033 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
22034 enable_gobject_cast_checks=yes
22036 enable_gobject_cast_checks=no
22040 if test "x$enable_gobject_cast_checks" = "xno"; then
22041 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_CAST_CHECKS"
22044 # Check whether --enable-glib-asserts was given.
22045 if test "${enable_glib_asserts+set}" = set; then :
22046 enableval=$enable_glib_asserts;
22048 enable_glib_assertions=auto
22052 if test "x$enable_glib_assertions" = "xauto"; then
22053 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
22054 enable_glib_assertions=yes
22056 enable_glib_assertions=no
22060 if test "x$enable_glib_assertions" = "xno"; then
22061 GLIB_EXTRA_CFLAGS="$GLIB_EXTRA_CFLAGS -DG_DISABLE_ASSERT"
22065 GIVEN_CFLAGS=$GLIB_CFLAGS
22066 INCLUDE_DIRS=`echo | cpp -v 2>&1`
22068 INCLUDE_DIRS=`echo $INCLUDE_DIRS | sed -e 's/.*<...> search starts here://' | sed -e 's/End of search list.*//'`
22069 for dir in $INCLUDE_DIRS; do
22070 GIVEN_CFLAGS=`echo $GIVEN_CFLAGS | sed -e "s#-I$dir ##"`
22072 GLIB_CFLAGS=$GIVEN_CFLAGS
22080 # Check whether --enable-orc was given.
22081 if test "${enable_orc+set}" = set; then :
22082 enableval=$enable_orc; case "${enableval}" in
22083 auto) enable_orc=auto ;;
22084 yes) enable_orc=yes ;;
22085 no) enable_orc=no ;;
22086 *) as_fn_error $? "bad value ${enableval} for --enable-orc" "$LINENO" 5 ;;
22093 if test "x$enable_orc" != "xno" ; then
22096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ORC" >&5
22097 $as_echo_n "checking for ORC... " >&6; }
22099 if test -n "$PKG_CONFIG"; then
22100 if test -n "$ORC_CFLAGS"; then
22101 pkg_cv_ORC_CFLAGS="$ORC_CFLAGS"
22103 if test -n "$PKG_CONFIG" && \
22104 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
22105 ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
22107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22108 test $ac_status = 0; }; then
22109 pkg_cv_ORC_CFLAGS=`$PKG_CONFIG --cflags "orc-0.4 >= $ORC_REQ" 2>/dev/null`
22117 if test -n "$PKG_CONFIG"; then
22118 if test -n "$ORC_LIBS"; then
22119 pkg_cv_ORC_LIBS="$ORC_LIBS"
22121 if test -n "$PKG_CONFIG" && \
22122 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
22123 ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
22125 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22126 test $ac_status = 0; }; then
22127 pkg_cv_ORC_LIBS=`$PKG_CONFIG --libs "orc-0.4 >= $ORC_REQ" 2>/dev/null`
22138 if test $pkg_failed = yes; then
22140 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22141 _pkg_short_errors_supported=yes
22143 _pkg_short_errors_supported=no
22145 if test $_pkg_short_errors_supported = yes; then
22146 ORC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
22148 ORC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
22150 # Put the nasty error message in config.log where it belongs
22151 echo "$ORC_PKG_ERRORS" >&5
22153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22154 $as_echo "no" >&6; }
22156 if test "x$enable_orc" = "xyes" ; then
22157 as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
22160 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
22165 elif test $pkg_failed = untried; then
22167 if test "x$enable_orc" = "xyes" ; then
22168 as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
22171 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
22177 ORC_CFLAGS=$pkg_cv_ORC_CFLAGS
22178 ORC_LIBS=$pkg_cv_ORC_LIBS
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22180 $as_echo "yes" >&6; }
22183 $as_echo "#define HAVE_ORC 1" >>confdefs.h
22186 if test "x$ORCC" = "x" ; then
22187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable orcc" >&5
22188 $as_echo_n "checking for usable orcc... " >&6; }
22189 ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
22190 if $ORCC --version 1> /dev/null 2> /dev/null; then :
22195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ORCC" >&5
22196 $as_echo "$ORCC" >&6; }
22199 ORCC_FLAGS="--compat $ORC_REQ"
22201 if test "x$ORCC" = "x"; then :
22210 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
22215 if test "x$HAVE_ORC" = "xyes"; then
22223 if test "x$HAVE_ORCC" = "xyes"; then
22225 HAVE_ORCC_FALSE='#'
22236 module=gstreamer-$GST_MAJORMINOR
22242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
22243 $as_echo_n "checking for GST... " >&6; }
22245 if test -n "$PKG_CONFIG"; then
22246 if test -n "$GST_CFLAGS"; then
22247 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
22249 if test -n "$PKG_CONFIG" && \
22250 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22251 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22254 test $ac_status = 0; }; then
22255 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
22263 if test -n "$PKG_CONFIG"; then
22264 if test -n "$GST_LIBS"; then
22265 pkg_cv_GST_LIBS="$GST_LIBS"
22267 if test -n "$PKG_CONFIG" && \
22268 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22269 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22272 test $ac_status = 0; }; then
22273 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
22284 if test $pkg_failed = yes; then
22286 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22287 _pkg_short_errors_supported=yes
22289 _pkg_short_errors_supported=no
22291 if test $_pkg_short_errors_supported = yes; then
22292 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
22294 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
22296 # Put the nasty error message in config.log where it belongs
22297 echo "$GST_PKG_ERRORS" >&5
22299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22300 $as_echo "no" >&6; }
22303 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
22304 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
22305 if test "x$required" = "xyes"; then
22306 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22309 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22312 elif test $pkg_failed = untried; then
22315 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
22316 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
22317 if test "x$required" = "xyes"; then
22318 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22320 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22321 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22325 GST_CFLAGS=$pkg_cv_GST_CFLAGS
22326 GST_LIBS=$pkg_cv_GST_LIBS
22327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22328 $as_echo "yes" >&6; }
22335 if test -z $GST_TOOLS_DIR; then
22336 GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
22337 if test -z $GST_TOOLS_DIR; then
22338 as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5
22342 $as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;}
22345 if test -z $GST_PLUGINS_DIR; then
22346 GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_MAJORMINOR`
22347 if test -z $GST_PLUGINS_DIR; then
22348 as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
22351 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5
22352 $as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;}
22357 module=gstreamer-base-$GST_MAJORMINOR
22359 name="GStreamer Base Libraries"
22363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
22364 $as_echo_n "checking for GST_BASE... " >&6; }
22366 if test -n "$PKG_CONFIG"; then
22367 if test -n "$GST_BASE_CFLAGS"; then
22368 pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
22370 if test -n "$PKG_CONFIG" && \
22371 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22372 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22375 test $ac_status = 0; }; then
22376 pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
22384 if test -n "$PKG_CONFIG"; then
22385 if test -n "$GST_BASE_LIBS"; then
22386 pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
22388 if test -n "$PKG_CONFIG" && \
22389 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22390 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22393 test $ac_status = 0; }; then
22394 pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
22405 if test $pkg_failed = yes; then
22407 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22408 _pkg_short_errors_supported=yes
22410 _pkg_short_errors_supported=no
22412 if test $_pkg_short_errors_supported = yes; then
22413 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
22415 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
22417 # Put the nasty error message in config.log where it belongs
22418 echo "$GST_BASE_PKG_ERRORS" >&5
22420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22421 $as_echo "no" >&6; }
22424 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
22425 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
22426 if test "x$required" = "xyes"; then
22427 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22430 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22433 elif test $pkg_failed = untried; then
22436 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
22437 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
22438 if test "x$required" = "xyes"; then
22439 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22441 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22442 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22446 GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
22447 GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
22448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22449 $as_echo "yes" >&6; }
22451 HAVE_GST_BASE="yes"
22459 module=gstreamer-check-$GST_MAJORMINOR
22461 name="GStreamer Check unittest Library"
22465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5
22466 $as_echo_n "checking for GST_CHECK... " >&6; }
22468 if test -n "$PKG_CONFIG"; then
22469 if test -n "$GST_CHECK_CFLAGS"; then
22470 pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS"
22472 if test -n "$PKG_CONFIG" && \
22473 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22474 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22477 test $ac_status = 0; }; then
22478 pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
22486 if test -n "$PKG_CONFIG"; then
22487 if test -n "$GST_CHECK_LIBS"; then
22488 pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS"
22490 if test -n "$PKG_CONFIG" && \
22491 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22492 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22495 test $ac_status = 0; }; then
22496 pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
22507 if test $pkg_failed = yes; then
22509 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22510 _pkg_short_errors_supported=yes
22512 _pkg_short_errors_supported=no
22514 if test $_pkg_short_errors_supported = yes; then
22515 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
22517 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
22519 # Put the nasty error message in config.log where it belongs
22520 echo "$GST_CHECK_PKG_ERRORS" >&5
22522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22523 $as_echo "no" >&6; }
22525 HAVE_GST_CHECK="no"
22526 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
22527 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
22528 if test "x$required" = "xyes"; then
22529 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22531 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22532 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22535 elif test $pkg_failed = untried; then
22537 HAVE_GST_CHECK="no"
22538 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
22539 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
22540 if test "x$required" = "xyes"; then
22541 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22543 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22544 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22548 GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
22549 GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
22550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22551 $as_echo "yes" >&6; }
22553 HAVE_GST_CHECK="yes"
22561 module=gstreamer-plugins-base-$GST_MAJORMINOR
22563 name="GStreamer Base Plugins"
22567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BASE" >&5
22568 $as_echo_n "checking for GST_PLUGINS_BASE... " >&6; }
22570 if test -n "$PKG_CONFIG"; then
22571 if test -n "$GST_PLUGINS_BASE_CFLAGS"; then
22572 pkg_cv_GST_PLUGINS_BASE_CFLAGS="$GST_PLUGINS_BASE_CFLAGS"
22574 if test -n "$PKG_CONFIG" && \
22575 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22576 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22578 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22579 test $ac_status = 0; }; then
22580 pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
22588 if test -n "$PKG_CONFIG"; then
22589 if test -n "$GST_PLUGINS_BASE_LIBS"; then
22590 pkg_cv_GST_PLUGINS_BASE_LIBS="$GST_PLUGINS_BASE_LIBS"
22592 if test -n "$PKG_CONFIG" && \
22593 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
22594 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
22596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22597 test $ac_status = 0; }; then
22598 pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
22609 if test $pkg_failed = yes; then
22611 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22612 _pkg_short_errors_supported=yes
22614 _pkg_short_errors_supported=no
22616 if test $_pkg_short_errors_supported = yes; then
22617 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
22619 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
22621 # Put the nasty error message in config.log where it belongs
22622 echo "$GST_PLUGINS_BASE_PKG_ERRORS" >&5
22624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22625 $as_echo "no" >&6; }
22627 HAVE_GST_PLUGINS_BASE="no"
22628 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
22629 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
22630 if test "x$required" = "xyes"; then
22631 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22633 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22634 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22637 elif test $pkg_failed = untried; then
22639 HAVE_GST_PLUGINS_BASE="no"
22640 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
22641 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
22642 if test "x$required" = "xyes"; then
22643 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
22645 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
22646 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
22650 GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
22651 GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22653 $as_echo "yes" >&6; }
22655 HAVE_GST_PLUGINS_BASE="yes"
22661 if test "x$HAVE_GST_PLUGINS_BASE" = "xyes"; then
22662 if test -z $GSTPB_PLUGINS_DIR; then
22663 GSTPB_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-base-$GST_MAJORMINOR`
22664 if test -z $GSTPB_PLUGINS_DIR; then
22665 as_fn_error $? "no pluginsdir set in GStreamer Base Plugins pkg-config file" "$LINENO" 5
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
22669 $as_echo "$as_me: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
22670 GST_PLUGINS_BASE_DIR="$GSTPB_PLUGINS_DIR/gst:$GSTPB_PLUGINS_DIR/sys:$GSTPB_PLUGINS_DIR/ext"
22675 if test "x$HAVE_GST_CHECK" = "xyes"; then
22676 HAVE_GST_CHECK_TRUE=
22677 HAVE_GST_CHECK_FALSE='#'
22679 HAVE_GST_CHECK_TRUE='#'
22680 HAVE_GST_CHECK_FALSE=
22684 GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
22685 GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_MAJORMINOR`"
22686 GSTPB_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-plugins-base-$GST_MAJORMINOR`"
22694 cat >>confdefs.h <<_ACEOF
22695 #define GST_LICENSE "$GST_LICENSE"
22703 FROM_VAR=${libdir}/gstreamer-$GST_MAJORMINOR
22705 prefix_save=$prefix
22706 exec_prefix_save=$exec_prefix
22708 if test "x$prefix" = "xNONE"; then
22709 prefix="$ac_default_prefix"
22711 if test "x$exec_prefix" = "xNONE"; then
22712 exec_prefix=$prefix
22715 full_var="$FROM_VAR"
22717 new_full_var="`eval echo $full_var`"
22718 if test "x$new_full_var" = "x$full_var"; then break; fi
22719 full_var=$new_full_var
22722 full_var=$new_full_var
22723 PLUGINDIR="$full_var"
22726 prefix=$prefix_save
22727 exec_prefix=$exec_prefix_save
22730 cat >>confdefs.h <<_ACEOF
22731 #define PLUGINDIR "$PLUGINDIR"
22734 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
22735 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
22737 plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
22742 if test "x$PACKAGE_VERSION_NANO" = "x0"; then
22744 if test "xyes" = "xno" -o "xyes" = "x"; then
22745 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
22746 elif test "xyes" = "xyes"; then
22747 if ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
22748 GST_PACKAGE_RELEASE_DATETIME=yes
22750 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO "${srcdir}/gst-plugins-ugly.doap" `;
22751 if test "x$YYYY_MM_DD" != "x"; then
22752 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
22754 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
22755 release date for release version $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO from \"${srcdir}/gst-plugins-ugly.doap\" " "$LINENO" 5
22756 GST_PACKAGE_RELEASE_DATETIME=""
22759 elif ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
22760 GST_PACKAGE_RELEASE_DATETIME=yes
22762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
22763 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
22764 GST_PACKAGE_RELEASE_DATETIME=""
22767 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
22768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
22769 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
22772 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
22775 cat >>confdefs.h <<_ACEOF
22776 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
22783 if test "xno" = "xno" -o "xno" = "x"; then
22784 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
22785 elif test "xno" = "xyes"; then
22786 if ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
22787 GST_PACKAGE_RELEASE_DATETIME=no
22789 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" `;
22790 if test "x$YYYY_MM_DD" != "x"; then
22791 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
22793 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
22794 release date for release version from " "$LINENO" 5
22795 GST_PACKAGE_RELEASE_DATETIME=""
22798 elif ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
22799 GST_PACKAGE_RELEASE_DATETIME=no
22801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
22802 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
22803 GST_PACKAGE_RELEASE_DATETIME=""
22806 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
22807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
22808 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
22810 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
22811 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
22814 cat >>confdefs.h <<_ACEOF
22815 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
22831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
22832 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
22834 save_CFLAGS="$CFLAGS"
22835 CFLAGS="$CFLAGS -Wall"
22837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22838 /* end confdefs.h. */
22848 if ac_fn_c_try_compile "$LINENO"; then :
22853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22854 CFLAGS="$save_CFLAGS"
22856 if test "X$flag_ok" = Xyes ; then
22857 WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
22863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
22864 $as_echo "$flag_ok" >&6; }
22868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
22869 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
22871 save_CFLAGS="$CFLAGS"
22872 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
22874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22875 /* end confdefs.h. */
22885 if ac_fn_c_try_compile "$LINENO"; then :
22890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22891 CFLAGS="$save_CFLAGS"
22893 if test "X$flag_ok" = Xyes ; then
22894 WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
22900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
22901 $as_echo "$flag_ok" >&6; }
22905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
22906 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
22908 save_CFLAGS="$CFLAGS"
22909 CFLAGS="$CFLAGS -Wvla"
22911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22912 /* end confdefs.h. */
22922 if ac_fn_c_try_compile "$LINENO"; then :
22927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22928 CFLAGS="$save_CFLAGS"
22930 if test "X$flag_ok" = Xyes ; then
22931 WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
22937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
22938 $as_echo "$flag_ok" >&6; }
22942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
22943 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
22945 save_CFLAGS="$CFLAGS"
22946 CFLAGS="$CFLAGS -Wpointer-arith"
22948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22949 /* end confdefs.h. */
22959 if ac_fn_c_try_compile "$LINENO"; then :
22964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22965 CFLAGS="$save_CFLAGS"
22967 if test "X$flag_ok" = Xyes ; then
22968 WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
22974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
22975 $as_echo "$flag_ok" >&6; }
22978 if test "x$GST_GIT" != "xno"
22981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
22982 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
22984 save_CFLAGS="$CFLAGS"
22985 CFLAGS="$CFLAGS -Werror"
22987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22988 /* end confdefs.h. */
22998 if ac_fn_c_try_compile "$LINENO"; then :
23003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23004 CFLAGS="$save_CFLAGS"
23006 if test "X$flag_ok" = Xyes ; then
23007 ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
23013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23014 $as_echo "$flag_ok" >&6; }
23017 if test "x$ERROR_CFLAGS" = "x"
23020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
23021 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
23023 save_CFLAGS="$CFLAGS"
23024 CFLAGS="$CFLAGS -errwarn=%all"
23026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23027 /* end confdefs.h. */
23037 if ac_fn_c_try_compile "$LINENO"; then :
23042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23043 CFLAGS="$save_CFLAGS"
23045 if test "X$flag_ok" = Xyes ; then
23047 ERROR_CFLAGS="-errwarn=%all"
23048 for f in 'no%E_EMPTY_DECLARATION' \
23049 'no%E_STATEMENT_NOT_REACHED' \
23050 'no%E_ARGUEMENT_MISMATCH' \
23051 'no%E_MACRO_REDEFINED' \
23052 'no%E_LOOP_NOT_ENTERED_AT_TOP'
23055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
23056 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
23058 save_CFLAGS="$CFLAGS"
23059 CFLAGS="$CFLAGS -errwarn=%all,$f"
23061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23062 /* end confdefs.h. */
23072 if ac_fn_c_try_compile "$LINENO"; then :
23077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23078 CFLAGS="$save_CFLAGS"
23080 if test "X$flag_ok" = Xyes ; then
23082 ERROR_CFLAGS="$ERROR_CFLAGS,$f"
23089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23090 $as_echo "$flag_ok" >&6; }
23099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23100 $as_echo "$flag_ok" >&6; }
23103 if test -n "$PKG_CONFIG" && \
23104 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
23105 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
23107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23108 test $ac_status = 0; }; then
23111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
23112 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
23114 save_CFLAGS="$CFLAGS"
23115 CFLAGS="$CFLAGS -fno-strict-aliasing"
23117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23118 /* end confdefs.h. */
23128 if ac_fn_c_try_compile "$LINENO"; then :
23133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23134 CFLAGS="$save_CFLAGS"
23136 if test "X$flag_ok" = Xyes ; then
23137 ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
23143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23144 $as_echo "$flag_ok" >&6; }
23152 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
23153 -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition
23154 -Winit-self -Wmissing-include-dirs -Waddress
23155 -Waggregate-return -Wno-multichar -Wnested-externs " != "x"
23159 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
23160 -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition
23161 -Winit-self -Wmissing-include-dirs -Waddress
23162 -Waggregate-return -Wno-multichar -Wnested-externs "
23166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
23167 $as_echo_n "checking to see if compiler understands $each... " >&6; }
23169 save_CFLAGS="$CFLAGS"
23170 CFLAGS="$CFLAGS $each"
23172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23173 /* end confdefs.h. */
23183 if ac_fn_c_try_compile "$LINENO"; then :
23188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23189 CFLAGS="$save_CFLAGS"
23191 if test "X$flag_ok" = Xyes ; then
23192 WARNING_CFLAGS="$WARNING_CFLAGS $each"
23195 UNSUPPORTED="$UNSUPPORTED $each"
23198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23199 $as_echo "$flag_ok" >&6; }
23202 if test "X$UNSUPPORTED" != X ; then
23203 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
23204 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
23210 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
23211 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
23212 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
23213 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
23219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands " >&5
23220 $as_echo_n "checking to see if c++ compiler understands ... " >&6; }
23222 save_CPPFLAGS="$CPPFLAGS"
23223 CPPFLAGS="$CPPFLAGS "
23226 ac_cpp='$CXXCPP $CPPFLAGS'
23227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23233 /* end confdefs.h. */
23243 if ac_fn_cxx_try_compile "$LINENO"; then :
23248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23249 CPPFLAGS="$save_CPPFLAGS"
23251 if test "X$flag_ok" = Xyes ; then
23260 ac_cpp='$CPP $CPPFLAGS'
23261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23267 $as_echo "$flag_ok" >&6; }
23274 WARNING_CXXFLAGS=""
23279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wall" >&5
23280 $as_echo_n "checking to see if c++ compiler understands -Wall... " >&6; }
23282 save_CPPFLAGS="$CPPFLAGS"
23283 CPPFLAGS="$CPPFLAGS -Wall"
23286 ac_cpp='$CXXCPP $CPPFLAGS'
23287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23293 /* end confdefs.h. */
23303 if ac_fn_cxx_try_compile "$LINENO"; then :
23308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23309 CPPFLAGS="$save_CPPFLAGS"
23311 if test "X$flag_ok" = Xyes ; then
23312 WARNING_CXXFLAGS="$WARNING_CXXFLAGS -Wall"
23320 ac_cpp='$CPP $CPPFLAGS'
23321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23327 $as_echo "$flag_ok" >&6; }
23330 if test "x$GST_GIT" != "xno"
23335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Werror" >&5
23336 $as_echo_n "checking to see if c++ compiler understands -Werror... " >&6; }
23338 save_CPPFLAGS="$CPPFLAGS"
23339 CPPFLAGS="$CPPFLAGS -Werror"
23342 ac_cpp='$CXXCPP $CPPFLAGS'
23343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23349 /* end confdefs.h. */
23359 if ac_fn_cxx_try_compile "$LINENO"; then :
23364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23365 CPPFLAGS="$save_CPPFLAGS"
23367 if test "X$flag_ok" = Xyes ; then
23368 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror"
23376 ac_cpp='$CPP $CPPFLAGS'
23377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23383 $as_echo "$flag_ok" >&6; }
23386 if test "x$ERROR_CXXFLAGS" != "x"
23391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wno-non-virtual-dtor" >&5
23392 $as_echo_n "checking to see if c++ compiler understands -Wno-non-virtual-dtor... " >&6; }
23394 save_CPPFLAGS="$CPPFLAGS"
23395 CPPFLAGS="$CPPFLAGS -Wno-non-virtual-dtor"
23398 ac_cpp='$CXXCPP $CPPFLAGS'
23399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23405 /* end confdefs.h. */
23415 if ac_fn_cxx_try_compile "$LINENO"; then :
23420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23421 CPPFLAGS="$save_CPPFLAGS"
23423 if test "X$flag_ok" = Xyes ; then
23424 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Wno-non-virtual-dtor"
23432 ac_cpp='$CPP $CPPFLAGS'
23433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23439 $as_echo "$flag_ok" >&6; }
23442 if test -n "$PKG_CONFIG" && \
23443 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
23444 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
23446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23447 test $ac_status = 0; }; then
23452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -fno-strict-aliasing" >&5
23453 $as_echo_n "checking to see if c++ compiler understands -fno-strict-aliasing... " >&6; }
23455 save_CPPFLAGS="$CPPFLAGS"
23456 CPPFLAGS="$CPPFLAGS -fno-strict-aliasing"
23459 ac_cpp='$CXXCPP $CPPFLAGS'
23460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23466 /* end confdefs.h. */
23476 if ac_fn_cxx_try_compile "$LINENO"; then :
23481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23482 CPPFLAGS="$save_CPPFLAGS"
23484 if test "X$flag_ok" = Xyes ; then
23485 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -fno-strict-aliasing"
23493 ac_cpp='$CPP $CPPFLAGS'
23494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23500 $as_echo "$flag_ok" >&6; }
23508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all" >&5
23509 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all... " >&6; }
23511 save_CPPFLAGS="$CPPFLAGS"
23512 CPPFLAGS="$CPPFLAGS -errwarn=%all"
23515 ac_cpp='$CXXCPP $CPPFLAGS'
23516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23522 /* end confdefs.h. */
23532 if ac_fn_cxx_try_compile "$LINENO"; then :
23537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23538 CPPFLAGS="$save_CPPFLAGS"
23540 if test "X$flag_ok" = Xyes ; then
23541 ERROR_CXXFLAGS="$ERROR_CXXFLAGS -errwarn=%all"
23549 ac_cpp='$CPP $CPPFLAGS'
23550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23556 $as_echo "$flag_ok" >&6; }
23558 if test "x$ERROR_CXXFLAGS" != "x"; then
23559 for f in 'no%E_EMPTY_DECLARATION' \
23560 'no%E_STATEMENT_NOT_REACHED' \
23561 'no%E_ARGUEMENT_MISMATCH' \
23562 'no%E_MACRO_REDEFINED' \
23563 'no%E_LOOP_NOT_ENTERED_AT_TOP'
23568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all,$f" >&5
23569 $as_echo_n "checking to see if c++ compiler understands -errwarn=%all,$f... " >&6; }
23571 save_CPPFLAGS="$CPPFLAGS"
23572 CPPFLAGS="$CPPFLAGS -errwarn=%all,$f"
23575 ac_cpp='$CXXCPP $CPPFLAGS'
23576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23582 /* end confdefs.h. */
23592 if ac_fn_cxx_try_compile "$LINENO"; then :
23597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23598 CPPFLAGS="$save_CPPFLAGS"
23600 if test "X$flag_ok" = Xyes ; then
23601 ERROR_CXXFLAGS="$ERROR_CXXFLAGS
23609 ac_cpp='$CPP $CPPFLAGS'
23610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23616 $as_echo "$flag_ok" >&6; }
23624 -Wmissing-declarations -Wredundant-decls
23625 -Wwrite-strings -Wformat-nonliteral -Wformat-security
23626 -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
23627 -Wno-multichar" != "x"
23631 -Wmissing-declarations -Wredundant-decls
23632 -Wwrite-strings -Wformat-nonliteral -Wformat-security
23633 -Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
23640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands $each" >&5
23641 $as_echo_n "checking to see if c++ compiler understands $each... " >&6; }
23643 save_CPPFLAGS="$CPPFLAGS"
23644 CPPFLAGS="$CPPFLAGS $each"
23647 ac_cpp='$CXXCPP $CPPFLAGS'
23648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23654 /* end confdefs.h. */
23664 if ac_fn_cxx_try_compile "$LINENO"; then :
23669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23670 CPPFLAGS="$save_CPPFLAGS"
23672 if test "X$flag_ok" = Xyes ; then
23673 WARNING_CXXFLAGS="$WARNING_CXXFLAGS $each"
23676 UNSUPPORTED="$UNSUPPORTED $each"
23681 ac_cpp='$CPP $CPPFLAGS'
23682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
23688 $as_echo "$flag_ok" >&6; }
23691 if test "X$UNSUPPORTED" != X ; then
23692 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
23693 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
23699 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&5
23700 $as_echo "$as_me: set WARNING_CXXFLAGS to $WARNING_CXXFLAGS" >&6;}
23701 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&5
23702 $as_echo "$as_me: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&6;}
23706 if test "x$GST_GIT" = "xyes"; then
23707 GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
23709 GST_LEVEL_DEFAULT=GST_LEVEL_NONE
23712 cat >>confdefs.h <<_ACEOF
23713 #define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
23720 DEFAULT_AUDIOSINK="autoaudiosink"
23721 DEFAULT_VIDEOSINK="autovideosink"
23722 DEFAULT_AUDIOSRC="alsasrc"
23723 DEFAULT_VIDEOSRC="v4l2src"
23724 DEFAULT_VISUALIZER="goom"
23726 *-sun-* | *pc-solaris* )
23727 DEFAULT_AUDIOSRC="sunaudiosrc"
23730 DEFAULT_AUDIOSRC="osxaudiosrc"
23735 # Check whether --with-default-audiosink was given.
23736 if test "${with_default_audiosink+set}" = set; then :
23737 withval=$with_default_audiosink;
23738 case "${withval}" in
23739 yes) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
23740 no) as_fn_error $? "bad value ${withval} for --with-default-audiosink" "$LINENO" 5 ;;
23741 *) DEFAULT_AUDIOSINK="${withval}" ;;
23746 DEFAULT_AUDIOSINK="$DEFAULT_AUDIOSINK"
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSINK as default audio sink" >&5
23751 $as_echo "$as_me: Using $DEFAULT_AUDIOSINK as default audio sink" >&6;}
23754 cat >>confdefs.h <<_ACEOF
23755 #define DEFAULT_AUDIOSINK "$DEFAULT_AUDIOSINK"
23760 # Check whether --with-default-audiosrc was given.
23761 if test "${with_default_audiosrc+set}" = set; then :
23762 withval=$with_default_audiosrc;
23763 case "${withval}" in
23764 yes) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
23765 no) as_fn_error $? "bad value ${withval} for --with-default-audiosrc" "$LINENO" 5 ;;
23766 *) DEFAULT_AUDIOSRC="${withval}" ;;
23771 DEFAULT_AUDIOSRC="$DEFAULT_AUDIOSRC"
23775 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_AUDIOSRC as default audio source" >&5
23776 $as_echo "$as_me: Using $DEFAULT_AUDIOSRC as default audio source" >&6;}
23779 cat >>confdefs.h <<_ACEOF
23780 #define DEFAULT_AUDIOSRC "$DEFAULT_AUDIOSRC"
23785 # Check whether --with-default-videosink was given.
23786 if test "${with_default_videosink+set}" = set; then :
23787 withval=$with_default_videosink;
23788 case "${withval}" in
23789 yes) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
23790 no) as_fn_error $? "bad value ${withval} for --with-default-videosink" "$LINENO" 5 ;;
23791 *) DEFAULT_VIDEOSINK="${withval}" ;;
23796 DEFAULT_VIDEOSINK="$DEFAULT_VIDEOSINK"
23800 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSINK as default video sink" >&5
23801 $as_echo "$as_me: Using $DEFAULT_VIDEOSINK as default video sink" >&6;}
23804 cat >>confdefs.h <<_ACEOF
23805 #define DEFAULT_VIDEOSINK "$DEFAULT_VIDEOSINK"
23810 # Check whether --with-default-videosrc was given.
23811 if test "${with_default_videosrc+set}" = set; then :
23812 withval=$with_default_videosrc;
23813 case "${withval}" in
23814 yes) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
23815 no) as_fn_error $? "bad value ${withval} for --with-default-videosrc" "$LINENO" 5 ;;
23816 *) DEFAULT_VIDEOSRC="${withval}" ;;
23821 DEFAULT_VIDEOSRC="$DEFAULT_VIDEOSRC"
23825 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VIDEOSRC as default video source" >&5
23826 $as_echo "$as_me: Using $DEFAULT_VIDEOSRC as default video source" >&6;}
23829 cat >>confdefs.h <<_ACEOF
23830 #define DEFAULT_VIDEOSRC "$DEFAULT_VIDEOSRC"
23835 # Check whether --with-default-visualizer was given.
23836 if test "${with_default_visualizer+set}" = set; then :
23837 withval=$with_default_visualizer;
23838 case "${withval}" in
23839 yes) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
23840 no) as_fn_error $? "bad value ${withval} for --with-default-visualizer" "$LINENO" 5 ;;
23841 *) DEFAULT_VISUALIZER="${withval}" ;;
23846 DEFAULT_VISUALIZER="$DEFAULT_VISUALIZER"
23850 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $DEFAULT_VISUALIZER as default visualizer" >&5
23851 $as_echo "$as_me: Using $DEFAULT_VISUALIZER as default visualizer" >&6;}
23854 cat >>confdefs.h <<_ACEOF
23855 #define DEFAULT_VISUALIZER "$DEFAULT_VISUALIZER"
23862 GST_PLUGINS_ALL="$GST_PLUGINS_ALL asfdemux"
23866 # Check whether --enable-asfdemux was given.
23867 if test "${enable_asfdemux+set}" = set; then :
23868 enableval=$enable_asfdemux;
23869 case "${enableval}" in
23870 yes) gst_use_asfdemux=yes ;;
23871 no) gst_use_asfdemux=no ;;
23872 *) as_fn_error $? "bad value ${enableval} for --enable-asfdemux" "$LINENO" 5 ;;
23876 gst_use_asfdemux=yes
23879 if test x$gst_use_asfdemux = xno; then
23880 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin asfdemux" >&5
23881 $as_echo "$as_me: disabling dependency-less plugin asfdemux" >&6;}
23882 WITHOUT_PLUGINS="$WITHOUT_PLUGINS asfdemux"
23886 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " asfdemux " > /dev/null; then
23887 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED asfdemux"
23889 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " asfdemux " > /dev/null; then
23890 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ asfdemux / /'`
23892 if echo " $GST_PLUGINS_SELECTED " | grep -i " asfdemux " > /dev/null; then
23893 USE_PLUGIN_ASFDEMUX_TRUE=
23894 USE_PLUGIN_ASFDEMUX_FALSE='#'
23896 USE_PLUGIN_ASFDEMUX_TRUE='#'
23897 USE_PLUGIN_ASFDEMUX_FALSE=
23902 GST_PLUGINS_ALL="$GST_PLUGINS_ALL dvdlpcmdec"
23906 # Check whether --enable-dvdlpcmdec was given.
23907 if test "${enable_dvdlpcmdec+set}" = set; then :
23908 enableval=$enable_dvdlpcmdec;
23909 case "${enableval}" in
23910 yes) gst_use_dvdlpcmdec=yes ;;
23911 no) gst_use_dvdlpcmdec=no ;;
23912 *) as_fn_error $? "bad value ${enableval} for --enable-dvdlpcmdec" "$LINENO" 5 ;;
23916 gst_use_dvdlpcmdec=yes
23919 if test x$gst_use_dvdlpcmdec = xno; then
23920 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dvdlpcmdec" >&5
23921 $as_echo "$as_me: disabling dependency-less plugin dvdlpcmdec" >&6;}
23922 WITHOUT_PLUGINS="$WITHOUT_PLUGINS dvdlpcmdec"
23926 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " dvdlpcmdec " > /dev/null; then
23927 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED dvdlpcmdec"
23929 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " dvdlpcmdec " > /dev/null; then
23930 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dvdlpcmdec / /'`
23932 if echo " $GST_PLUGINS_SELECTED " | grep -i " dvdlpcmdec " > /dev/null; then
23933 USE_PLUGIN_DVDLPCMDEC_TRUE=
23934 USE_PLUGIN_DVDLPCMDEC_FALSE='#'
23936 USE_PLUGIN_DVDLPCMDEC_TRUE='#'
23937 USE_PLUGIN_DVDLPCMDEC_FALSE=
23942 GST_PLUGINS_ALL="$GST_PLUGINS_ALL dvdsub"
23946 # Check whether --enable-dvdsub was given.
23947 if test "${enable_dvdsub+set}" = set; then :
23948 enableval=$enable_dvdsub;
23949 case "${enableval}" in
23950 yes) gst_use_dvdsub=yes ;;
23951 no) gst_use_dvdsub=no ;;
23952 *) as_fn_error $? "bad value ${enableval} for --enable-dvdsub" "$LINENO" 5 ;;
23959 if test x$gst_use_dvdsub = xno; then
23960 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dvdsub" >&5
23961 $as_echo "$as_me: disabling dependency-less plugin dvdsub" >&6;}
23962 WITHOUT_PLUGINS="$WITHOUT_PLUGINS dvdsub"
23966 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " dvdsub " > /dev/null; then
23967 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED dvdsub"
23969 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " dvdsub " > /dev/null; then
23970 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ dvdsub / /'`
23972 if echo " $GST_PLUGINS_SELECTED " | grep -i " dvdsub " > /dev/null; then
23973 USE_PLUGIN_DVDSUB_TRUE=
23974 USE_PLUGIN_DVDSUB_FALSE='#'
23976 USE_PLUGIN_DVDSUB_TRUE='#'
23977 USE_PLUGIN_DVDSUB_FALSE=
23982 GST_PLUGINS_ALL="$GST_PLUGINS_ALL iec958"
23986 # Check whether --enable-iec958 was given.
23987 if test "${enable_iec958+set}" = set; then :
23988 enableval=$enable_iec958;
23989 case "${enableval}" in
23990 yes) gst_use_iec958=yes ;;
23991 no) gst_use_iec958=no ;;
23992 *) as_fn_error $? "bad value ${enableval} for --enable-iec958" "$LINENO" 5 ;;
23999 if test x$gst_use_iec958 = xno; then
24000 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin iec958" >&5
24001 $as_echo "$as_me: disabling dependency-less plugin iec958" >&6;}
24002 WITHOUT_PLUGINS="$WITHOUT_PLUGINS iec958"
24006 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " iec958 " > /dev/null; then
24007 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED iec958"
24009 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " iec958 " > /dev/null; then
24010 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ iec958 / /'`
24012 if echo " $GST_PLUGINS_SELECTED " | grep -i " iec958 " > /dev/null; then
24013 USE_PLUGIN_IEC958_TRUE=
24014 USE_PLUGIN_IEC958_FALSE='#'
24016 USE_PLUGIN_IEC958_TRUE='#'
24017 USE_PLUGIN_IEC958_FALSE=
24022 GST_PLUGINS_ALL="$GST_PLUGINS_ALL mpegaudioparse"
24026 # Check whether --enable-mpegaudioparse was given.
24027 if test "${enable_mpegaudioparse+set}" = set; then :
24028 enableval=$enable_mpegaudioparse;
24029 case "${enableval}" in
24030 yes) gst_use_mpegaudioparse=yes ;;
24031 no) gst_use_mpegaudioparse=no ;;
24032 *) as_fn_error $? "bad value ${enableval} for --enable-mpegaudioparse" "$LINENO" 5 ;;
24036 gst_use_mpegaudioparse=yes
24039 if test x$gst_use_mpegaudioparse = xno; then
24040 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mpegaudioparse" >&5
24041 $as_echo "$as_me: disabling dependency-less plugin mpegaudioparse" >&6;}
24042 WITHOUT_PLUGINS="$WITHOUT_PLUGINS mpegaudioparse"
24046 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " mpegaudioparse " > /dev/null; then
24047 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED mpegaudioparse"
24049 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " mpegaudioparse " > /dev/null; then
24050 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ mpegaudioparse / /'`
24052 if echo " $GST_PLUGINS_SELECTED " | grep -i " mpegaudioparse " > /dev/null; then
24053 USE_PLUGIN_MPEGAUDIOPARSE_TRUE=
24054 USE_PLUGIN_MPEGAUDIOPARSE_FALSE='#'
24056 USE_PLUGIN_MPEGAUDIOPARSE_TRUE='#'
24057 USE_PLUGIN_MPEGAUDIOPARSE_FALSE=
24062 GST_PLUGINS_ALL="$GST_PLUGINS_ALL mpegstream"
24066 # Check whether --enable-mpegstream was given.
24067 if test "${enable_mpegstream+set}" = set; then :
24068 enableval=$enable_mpegstream;
24069 case "${enableval}" in
24070 yes) gst_use_mpegstream=yes ;;
24071 no) gst_use_mpegstream=no ;;
24072 *) as_fn_error $? "bad value ${enableval} for --enable-mpegstream" "$LINENO" 5 ;;
24076 gst_use_mpegstream=yes
24079 if test x$gst_use_mpegstream = xno; then
24080 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mpegstream" >&5
24081 $as_echo "$as_me: disabling dependency-less plugin mpegstream" >&6;}
24082 WITHOUT_PLUGINS="$WITHOUT_PLUGINS mpegstream"
24086 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " mpegstream " > /dev/null; then
24087 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED mpegstream"
24089 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " mpegstream " > /dev/null; then
24090 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ mpegstream / /'`
24092 if echo " $GST_PLUGINS_SELECTED " | grep -i " mpegstream " > /dev/null; then
24093 USE_PLUGIN_MPEGSTREAM_TRUE=
24094 USE_PLUGIN_MPEGSTREAM_FALSE='#'
24096 USE_PLUGIN_MPEGSTREAM_TRUE='#'
24097 USE_PLUGIN_MPEGSTREAM_FALSE=
24102 GST_PLUGINS_ALL="$GST_PLUGINS_ALL realmedia"
24106 # Check whether --enable-realmedia was given.
24107 if test "${enable_realmedia+set}" = set; then :
24108 enableval=$enable_realmedia;
24109 case "${enableval}" in
24110 yes) gst_use_realmedia=yes ;;
24111 no) gst_use_realmedia=no ;;
24112 *) as_fn_error $? "bad value ${enableval} for --enable-realmedia" "$LINENO" 5 ;;
24116 gst_use_realmedia=yes
24119 if test x$gst_use_realmedia = xno; then
24120 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin realmedia" >&5
24121 $as_echo "$as_me: disabling dependency-less plugin realmedia" >&6;}
24122 WITHOUT_PLUGINS="$WITHOUT_PLUGINS realmedia"
24126 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " realmedia " > /dev/null; then
24127 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED realmedia"
24129 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " realmedia " > /dev/null; then
24130 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ realmedia / /'`
24132 if echo " $GST_PLUGINS_SELECTED " | grep -i " realmedia " > /dev/null; then
24133 USE_PLUGIN_REALMEDIA_TRUE=
24134 USE_PLUGIN_REALMEDIA_FALSE='#'
24136 USE_PLUGIN_REALMEDIA_TRUE='#'
24137 USE_PLUGIN_REALMEDIA_FALSE=
24142 GST_PLUGINS_ALL="$GST_PLUGINS_ALL synaesthesia"
24146 # Check whether --enable-synaesthesia was given.
24147 if test "${enable_synaesthesia+set}" = set; then :
24148 enableval=$enable_synaesthesia;
24149 case "${enableval}" in
24150 yes) gst_use_synaesthesia=yes ;;
24151 no) gst_use_synaesthesia=no ;;
24152 *) as_fn_error $? "bad value ${enableval} for --enable-synaesthesia" "$LINENO" 5 ;;
24156 gst_use_synaesthesia=yes
24159 if test x$gst_use_synaesthesia = xno; then
24160 { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin synaesthesia" >&5
24161 $as_echo "$as_me: disabling dependency-less plugin synaesthesia" >&6;}
24162 WITHOUT_PLUGINS="$WITHOUT_PLUGINS synaesthesia"
24166 if [ -z "$WITH_PLUGINS" ] || echo " $WITH_PLUGINS " | tr , ' ' | grep -i " synaesthesia " > /dev/null; then
24167 GST_PLUGINS_SELECTED="$GST_PLUGINS_SELECTED synaesthesia"
24169 if echo " $WITHOUT_PLUGINS " | tr , ' ' | grep -i " synaesthesia " > /dev/null; then
24170 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ synaesthesia / /'`
24172 if echo " $GST_PLUGINS_SELECTED " | grep -i " synaesthesia " > /dev/null; then
24173 USE_PLUGIN_SYNAESTHESIA_TRUE=
24174 USE_PLUGIN_SYNAESTHESIA_FALSE='#'
24176 USE_PLUGIN_SYNAESTHESIA_TRUE='#'
24177 USE_PLUGIN_SYNAESTHESIA_FALSE=
24182 for ac_header in winsock2.h
24184 ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
24185 if test "x$ac_cv_header_winsock2_h" = xyes; then :
24186 cat >>confdefs.h <<_ACEOF
24187 #define HAVE_WINSOCK2_H 1
24189 HAVE_WINSOCK2_H=yes
24195 if test "x$HAVE_WINSOCK2_H" = "xyes"; then
24196 WIN32_LIBS="-lws2_32"
24200 if test "x$BUILD_EXPERIMENTAL" != "xyes"; then
24202 GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ synaesthesia / /'`
24204 USE_PLUGIN_SYNAESTHESIA_TRUE=
24205 USE_PLUGIN_SYNAESTHESIA_FALSE='#'
24207 USE_PLUGIN_SYNAESTHESIA_TRUE='#'
24208 USE_PLUGIN_SYNAESTHESIA_FALSE=
24215 if test "x$BUILD_EXTERNAL" = "xyes"; then
24218 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking libraries for plugins in ext/" >&5
24219 $as_echo "$as_me: Checking libraries for plugins in ext/" >&6;}
24223 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: a52dec ***" >&5
24224 $as_echo "$as_me: *** checking feature: a52dec ***" >&6;}
24225 if test "xa52dec" != "x"
24227 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: a52dec ***" >&5
24228 $as_echo "$as_me: *** for plug-ins: a52dec ***" >&6;}
24231 if test "x$USE_A52DEC" = "xno"; then
24234 # Check whether --enable-a52dec was given.
24235 if test "${enable_a52dec+set}" = set; then :
24236 enableval=$enable_a52dec; case "${enableval}" in
24237 yes) USE_A52DEC=yes;;
24238 no) USE_A52DEC=no;;
24239 *) as_fn_error $? "bad value ${enableval} for --enable-a52dec" "$LINENO" 5 ;;
24245 if test "x$NOUSE" = "xyes"; then
24247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** a52dec pre-configured not to be built" >&5
24248 $as_echo "$as_me: WARNING: *** a52dec pre-configured not to be built" >&2;}
24253 if test x$USE_A52DEC = xyes; then
24255 gst_check_save_LIBS=$LIBS
24256 gst_check_save_LDFLAGS=$LDFLAGS
24257 gst_check_save_CFLAGS=$CFLAGS
24258 gst_check_save_CPPFLAGS=$CPPFLAGS
24259 gst_check_save_CXXFLAGS=$CXXFLAGS
24264 # Check whether --with-a52dec-prefix was given.
24265 if test "${with_a52dec_prefix+set}" = set; then :
24266 withval=$with_a52dec_prefix; a52dec_config_prefix="$withval"
24268 a52dec_config_prefix=""
24272 if test x$a52dec_config_prefix = x ; then
24274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a52_init in -la52" >&5
24275 $as_echo_n "checking for a52_init in -la52... " >&6; }
24276 if ${ac_cv_lib_a52_a52_init+:} false; then :
24277 $as_echo_n "(cached) " >&6
24279 ac_check_lib_save_LIBS=$LIBS
24280 LIBS="-la52 -lm $LIBS"
24281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24282 /* end confdefs.h. */
24284 /* Override any GCC internal prototype to avoid an error.
24285 Use char because int might match the return type of a GCC
24286 builtin and then its argument prototype would still apply. */
24294 return a52_init ();
24299 if ac_fn_c_try_link "$LINENO"; then :
24300 ac_cv_lib_a52_a52_init=yes
24302 ac_cv_lib_a52_a52_init=no
24304 rm -f core conftest.err conftest.$ac_objext \
24305 conftest$ac_exeext conftest.$ac_ext
24306 LIBS=$ac_check_lib_save_LIBS
24308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_a52_a52_init" >&5
24309 $as_echo "$ac_cv_lib_a52_a52_init" >&6; }
24310 if test "x$ac_cv_lib_a52_a52_init" = xyes; then :
24316 check_libheader_feature_name=a52dec
24318 if test "x$HAVE_A52DEC" = "xyes"; then
24319 check_libheader_save_CPPFLAGS=$CPPFLAGS
24320 CPPFLAGS=" $CPPFLAGS"
24321 ac_fn_c_check_header_mongrel "$LINENO" "a52dec/a52.h" "ac_cv_header_a52dec_a52_h" "$ac_includes_default"
24322 if test "x$ac_cv_header_a52dec_a52_h" = xyes; then :
24329 CPPFLAGS=$check_libheader_save_CPPFLAGS
24332 if test "x$HAVE_A52DEC" = "xyes"; then
24333 A52DEC_LIBS="-la52 -lm"
24341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a52_init in -la52" >&5
24342 $as_echo_n "checking for a52_init in -la52... " >&6; }
24343 if ${ac_cv_lib_a52_a52_init+:} false; then :
24344 $as_echo_n "(cached) " >&6
24346 ac_check_lib_save_LIBS=$LIBS
24347 LIBS="-la52 -L$a52dec_config_prefix/lib $LIBS"
24348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24349 /* end confdefs.h. */
24351 /* Override any GCC internal prototype to avoid an error.
24352 Use char because int might match the return type of a GCC
24353 builtin and then its argument prototype would still apply. */
24361 return a52_init ();
24366 if ac_fn_c_try_link "$LINENO"; then :
24367 ac_cv_lib_a52_a52_init=yes
24369 ac_cv_lib_a52_a52_init=no
24371 rm -f core conftest.err conftest.$ac_objext \
24372 conftest$ac_exeext conftest.$ac_ext
24373 LIBS=$ac_check_lib_save_LIBS
24375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_a52_a52_init" >&5
24376 $as_echo "$ac_cv_lib_a52_a52_init" >&6; }
24377 if test "x$ac_cv_lib_a52_a52_init" = xyes; then :
24383 check_libheader_feature_name=a52dec
24385 if test "x$HAVE_A52DEC" = "xyes"; then
24386 check_libheader_save_CPPFLAGS=$CPPFLAGS
24387 CPPFLAGS="-I$a52dec_config_prefix/include $CPPFLAGS"
24388 ac_fn_c_check_header_mongrel "$LINENO" "a52dec/a52.h" "ac_cv_header_a52dec_a52_h" "$ac_includes_default"
24389 if test "x$ac_cv_header_a52dec_a52_h" = xyes; then :
24396 CPPFLAGS=$check_libheader_save_CPPFLAGS
24399 if test "x$HAVE_A52DEC" = "xyes"; then
24401 A52DEC_LIBS="-la52 -L$a52dec_config_prefix/lib -lm"
24402 A52DEC_CFLAGS="-I$a52dec_config_prefix/include"
24411 if test $HAVE_A52DEC = "yes"; then
24412 ac_save_CFLAGS="$CFLAGS"
24413 ac_save_LIBS="$LIBS"
24414 CFLAGS="$CFLAGS $A52DEC_CFLAGS"
24415 LIBS="$A52DEC_LIBS $LIBS"
24416 if test "$cross_compiling" = yes; then :
24417 echo $ac_n "cross compiling; assumed OK... $ac_c"
24419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24420 /* end confdefs.h. */
24422 #include <inttypes.h>
24423 #include <a52dec/a52.h>
24428 a52_state_t *state;
24429 state = a52_init (0);
24435 if ac_fn_c_try_run "$LINENO"; then :
24440 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24441 conftest.$ac_objext conftest.beam conftest.$ac_ext
24445 if test HAVE_A52DEC = "no"; then
24446 echo "*** Your a52dec is borked somehow. Please update to 0.7.4."
24448 if test "$cross_compiling" = yes; then :
24449 echo $ac_n "cross compiling; assumed OK... $ac_c"
24451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24452 /* end confdefs.h. */
24454 #include <inttypes.h>
24455 #include <a52dec/a52.h>
24460 int i = sizeof (a52_state_t);
24466 if ac_fn_c_try_run "$LINENO"; then :
24469 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
24470 conftest.$ac_objext conftest.beam conftest.$ac_ext
24474 if test HAVE_A52DEC = "no"; then
24475 echo "*** Your a52dec is too old. Please update to 0.7.4."
24478 CFLAGS="$ac_save_CFLAGS"
24479 LIBS="$ac_save_LIBS"
24482 if test HAVE_A52DEC = "no"; then
24487 if test "x$HAVE_A52DEC" = "xyes"; then
24498 LIBS=$gst_check_save_LIBS
24499 LDFLAGS=$gst_check_save_LDFLAGS
24500 CFLAGS=$gst_check_save_CFLAGS
24501 CPPFLAGS=$gst_check_save_CPPFLAGS
24502 CXXFLAGS=$gst_check_save_CXXFLAGS
24504 if test x$HAVE_A52DEC = xno; then
24507 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: a52dec" >&5
24508 $as_echo "$as_me: *** These plugins will be built: a52dec" >&6;}
24511 if test x$USE_A52DEC = xyes; then
24513 if test "xa52dec" != "x"; then
24514 GST_PLUGINS_YES="\ta52dec\n$GST_PLUGINS_YES"
24517 $as_echo "#define HAVE_A52DEC /**/" >>confdefs.h
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: a52dec" >&5
24521 $as_echo "$as_me: *** These plugins will not be built: a52dec" >&6;}
24522 if test "xa52dec" != "x"; then
24523 GST_PLUGINS_NO="\ta52dec\n$GST_PLUGINS_NO"
24527 if test x$USE_A52DEC = xyes; then
24529 USE_A52DEC_FALSE='#'
24531 USE_A52DEC_TRUE='#'
24538 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: amrnb library ***" >&5
24539 $as_echo "$as_me: *** checking feature: amrnb library ***" >&6;}
24540 if test "xamrnb" != "x"
24542 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: amrnb ***" >&5
24543 $as_echo "$as_me: *** for plug-ins: amrnb ***" >&6;}
24546 if test "x$USE_AMRNB" = "xno"; then
24549 # Check whether --enable-amrnb was given.
24550 if test "${enable_amrnb+set}" = set; then :
24551 enableval=$enable_amrnb; case "${enableval}" in
24552 yes) USE_AMRNB=yes;;
24554 *) as_fn_error $? "bad value ${enableval} for --enable-amrnb" "$LINENO" 5 ;;
24560 if test "x$NOUSE" = "xyes"; then
24562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** amrnb pre-configured not to be built" >&5
24563 $as_echo "$as_me: WARNING: *** amrnb pre-configured not to be built" >&2;}
24568 if test x$USE_AMRNB = xyes; then
24570 gst_check_save_LIBS=$LIBS
24571 gst_check_save_LDFLAGS=$LDFLAGS
24572 gst_check_save_CFLAGS=$CFLAGS
24573 gst_check_save_CPPFLAGS=$CPPFLAGS
24574 gst_check_save_CXXFLAGS=$CXXFLAGS
24580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AMRNB" >&5
24581 $as_echo_n "checking for AMRNB... " >&6; }
24583 if test -n "$PKG_CONFIG"; then
24584 if test -n "$AMRNB_CFLAGS"; then
24585 pkg_cv_AMRNB_CFLAGS="$AMRNB_CFLAGS"
24587 if test -n "$PKG_CONFIG" && \
24588 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencore-amrnb\""; } >&5
24589 ($PKG_CONFIG --exists --print-errors "opencore-amrnb") 2>&5
24591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24592 test $ac_status = 0; }; then
24593 pkg_cv_AMRNB_CFLAGS=`$PKG_CONFIG --cflags "opencore-amrnb" 2>/dev/null`
24601 if test -n "$PKG_CONFIG"; then
24602 if test -n "$AMRNB_LIBS"; then
24603 pkg_cv_AMRNB_LIBS="$AMRNB_LIBS"
24605 if test -n "$PKG_CONFIG" && \
24606 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencore-amrnb\""; } >&5
24607 ($PKG_CONFIG --exists --print-errors "opencore-amrnb") 2>&5
24609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24610 test $ac_status = 0; }; then
24611 pkg_cv_AMRNB_LIBS=`$PKG_CONFIG --libs "opencore-amrnb" 2>/dev/null`
24622 if test $pkg_failed = yes; then
24624 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24625 _pkg_short_errors_supported=yes
24627 _pkg_short_errors_supported=no
24629 if test $_pkg_short_errors_supported = yes; then
24630 AMRNB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "opencore-amrnb"`
24632 AMRNB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "opencore-amrnb"`
24634 # Put the nasty error message in config.log where it belongs
24635 echo "$AMRNB_PKG_ERRORS" >&5
24637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24638 $as_echo "no" >&6; }
24640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Decoder_Interface_init in -lopencore-amrnb" >&5
24641 $as_echo_n "checking for Decoder_Interface_init in -lopencore-amrnb... " >&6; }
24642 if ${ac_cv_lib_opencore_amrnb_Decoder_Interface_init+:} false; then :
24643 $as_echo_n "(cached) " >&6
24645 ac_check_lib_save_LIBS=$LIBS
24646 LIBS="-lopencore-amrnb $LIBM $LIBS"
24647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24648 /* end confdefs.h. */
24650 /* Override any GCC internal prototype to avoid an error.
24651 Use char because int might match the return type of a GCC
24652 builtin and then its argument prototype would still apply. */
24656 char Decoder_Interface_init ();
24660 return Decoder_Interface_init ();
24665 if ac_fn_c_try_link "$LINENO"; then :
24666 ac_cv_lib_opencore_amrnb_Decoder_Interface_init=yes
24668 ac_cv_lib_opencore_amrnb_Decoder_Interface_init=no
24670 rm -f core conftest.err conftest.$ac_objext \
24671 conftest$ac_exeext conftest.$ac_ext
24672 LIBS=$ac_check_lib_save_LIBS
24674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opencore_amrnb_Decoder_Interface_init" >&5
24675 $as_echo "$ac_cv_lib_opencore_amrnb_Decoder_Interface_init" >&6; }
24676 if test "x$ac_cv_lib_opencore_amrnb_Decoder_Interface_init" = xyes; then :
24682 if test "x$HAVE_AMRNB" = "xyes"; then
24683 ac_fn_c_check_header_mongrel "$LINENO" "opencore-amrnb/interf_dec.h" "ac_cv_header_opencore_amrnb_interf_dec_h" "$ac_includes_default"
24684 if test "x$ac_cv_header_opencore_amrnb_interf_dec_h" = xyes; then :
24691 if test "x$HAVE_AMRNB" = "xyes"; then
24692 AMRNB_LIBS="-lopencore-amrnb"
24703 elif test $pkg_failed = untried; then
24705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Decoder_Interface_init in -lopencore-amrnb" >&5
24706 $as_echo_n "checking for Decoder_Interface_init in -lopencore-amrnb... " >&6; }
24707 if ${ac_cv_lib_opencore_amrnb_Decoder_Interface_init+:} false; then :
24708 $as_echo_n "(cached) " >&6
24710 ac_check_lib_save_LIBS=$LIBS
24711 LIBS="-lopencore-amrnb $LIBM $LIBS"
24712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24713 /* end confdefs.h. */
24715 /* Override any GCC internal prototype to avoid an error.
24716 Use char because int might match the return type of a GCC
24717 builtin and then its argument prototype would still apply. */
24721 char Decoder_Interface_init ();
24725 return Decoder_Interface_init ();
24730 if ac_fn_c_try_link "$LINENO"; then :
24731 ac_cv_lib_opencore_amrnb_Decoder_Interface_init=yes
24733 ac_cv_lib_opencore_amrnb_Decoder_Interface_init=no
24735 rm -f core conftest.err conftest.$ac_objext \
24736 conftest$ac_exeext conftest.$ac_ext
24737 LIBS=$ac_check_lib_save_LIBS
24739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opencore_amrnb_Decoder_Interface_init" >&5
24740 $as_echo "$ac_cv_lib_opencore_amrnb_Decoder_Interface_init" >&6; }
24741 if test "x$ac_cv_lib_opencore_amrnb_Decoder_Interface_init" = xyes; then :
24747 if test "x$HAVE_AMRNB" = "xyes"; then
24748 ac_fn_c_check_header_mongrel "$LINENO" "opencore-amrnb/interf_dec.h" "ac_cv_header_opencore_amrnb_interf_dec_h" "$ac_includes_default"
24749 if test "x$ac_cv_header_opencore_amrnb_interf_dec_h" = xyes; then :
24756 if test "x$HAVE_AMRNB" = "xyes"; then
24757 AMRNB_LIBS="-lopencore-amrnb"
24769 AMRNB_CFLAGS=$pkg_cv_AMRNB_CFLAGS
24770 AMRNB_LIBS=$pkg_cv_AMRNB_LIBS
24771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24772 $as_echo "yes" >&6; }
24779 LIBS=$gst_check_save_LIBS
24780 LDFLAGS=$gst_check_save_LDFLAGS
24781 CFLAGS=$gst_check_save_CFLAGS
24782 CPPFLAGS=$gst_check_save_CPPFLAGS
24783 CXXFLAGS=$gst_check_save_CXXFLAGS
24785 if test x$HAVE_AMRNB = xno; then
24788 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: amrnb" >&5
24789 $as_echo "$as_me: *** These plugins will be built: amrnb" >&6;}
24792 if test x$USE_AMRNB = xyes; then
24794 if test "xamrnb" != "x"; then
24795 GST_PLUGINS_YES="\tamrnb\n$GST_PLUGINS_YES"
24798 $as_echo "#define HAVE_AMRNB /**/" >>confdefs.h
24801 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: amrnb" >&5
24802 $as_echo "$as_me: *** These plugins will not be built: amrnb" >&6;}
24803 if test "xamrnb" != "x"; then
24804 GST_PLUGINS_NO="\tamrnb\n$GST_PLUGINS_NO"
24808 if test x$USE_AMRNB = xyes; then
24810 USE_AMRNB_FALSE='#'
24819 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: amrwb library ***" >&5
24820 $as_echo "$as_me: *** checking feature: amrwb library ***" >&6;}
24821 if test "xamrwbdec" != "x"
24823 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: amrwbdec ***" >&5
24824 $as_echo "$as_me: *** for plug-ins: amrwbdec ***" >&6;}
24827 if test "x$USE_AMRWB" = "xno"; then
24830 # Check whether --enable-amrwb was given.
24831 if test "${enable_amrwb+set}" = set; then :
24832 enableval=$enable_amrwb; case "${enableval}" in
24833 yes) USE_AMRWB=yes;;
24835 *) as_fn_error $? "bad value ${enableval} for --enable-amrwb" "$LINENO" 5 ;;
24841 if test "x$NOUSE" = "xyes"; then
24843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** amrwbdec pre-configured not to be built" >&5
24844 $as_echo "$as_me: WARNING: *** amrwbdec pre-configured not to be built" >&2;}
24849 if test x$USE_AMRWB = xyes; then
24851 gst_check_save_LIBS=$LIBS
24852 gst_check_save_LDFLAGS=$LDFLAGS
24853 gst_check_save_CFLAGS=$CFLAGS
24854 gst_check_save_CPPFLAGS=$CPPFLAGS
24855 gst_check_save_CXXFLAGS=$CXXFLAGS
24861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AMRWB" >&5
24862 $as_echo_n "checking for AMRWB... " >&6; }
24864 if test -n "$PKG_CONFIG"; then
24865 if test -n "$AMRWB_CFLAGS"; then
24866 pkg_cv_AMRWB_CFLAGS="$AMRWB_CFLAGS"
24868 if test -n "$PKG_CONFIG" && \
24869 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencore-amrwb\""; } >&5
24870 ($PKG_CONFIG --exists --print-errors "opencore-amrwb") 2>&5
24872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24873 test $ac_status = 0; }; then
24874 pkg_cv_AMRWB_CFLAGS=`$PKG_CONFIG --cflags "opencore-amrwb" 2>/dev/null`
24882 if test -n "$PKG_CONFIG"; then
24883 if test -n "$AMRWB_LIBS"; then
24884 pkg_cv_AMRWB_LIBS="$AMRWB_LIBS"
24886 if test -n "$PKG_CONFIG" && \
24887 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opencore-amrwb\""; } >&5
24888 ($PKG_CONFIG --exists --print-errors "opencore-amrwb") 2>&5
24890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24891 test $ac_status = 0; }; then
24892 pkg_cv_AMRWB_LIBS=`$PKG_CONFIG --libs "opencore-amrwb" 2>/dev/null`
24903 if test $pkg_failed = yes; then
24905 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24906 _pkg_short_errors_supported=yes
24908 _pkg_short_errors_supported=no
24910 if test $_pkg_short_errors_supported = yes; then
24911 AMRWB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "opencore-amrwb"`
24913 AMRWB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "opencore-amrwb"`
24915 # Put the nasty error message in config.log where it belongs
24916 echo "$AMRWB_PKG_ERRORS" >&5
24918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24919 $as_echo "no" >&6; }
24921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for D_IF_decode in -lopencore-amrwb" >&5
24922 $as_echo_n "checking for D_IF_decode in -lopencore-amrwb... " >&6; }
24923 if ${ac_cv_lib_opencore_amrwb_D_IF_decode+:} false; then :
24924 $as_echo_n "(cached) " >&6
24926 ac_check_lib_save_LIBS=$LIBS
24927 LIBS="-lopencore-amrwb $LIBS"
24928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24929 /* end confdefs.h. */
24931 /* Override any GCC internal prototype to avoid an error.
24932 Use char because int might match the return type of a GCC
24933 builtin and then its argument prototype would still apply. */
24937 char D_IF_decode ();
24941 return D_IF_decode ();
24946 if ac_fn_c_try_link "$LINENO"; then :
24947 ac_cv_lib_opencore_amrwb_D_IF_decode=yes
24949 ac_cv_lib_opencore_amrwb_D_IF_decode=no
24951 rm -f core conftest.err conftest.$ac_objext \
24952 conftest$ac_exeext conftest.$ac_ext
24953 LIBS=$ac_check_lib_save_LIBS
24955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opencore_amrwb_D_IF_decode" >&5
24956 $as_echo "$ac_cv_lib_opencore_amrwb_D_IF_decode" >&6; }
24957 if test "x$ac_cv_lib_opencore_amrwb_D_IF_decode" = xyes; then :
24963 if test "x$HAVE_AMRWB" = "xyes"; then
24964 ac_fn_c_check_header_mongrel "$LINENO" "opencore-amrwb/dec_if.h" "ac_cv_header_opencore_amrwb_dec_if_h" "$ac_includes_default"
24965 if test "x$ac_cv_header_opencore_amrwb_dec_if_h" = xyes; then :
24972 if test "x$HAVE_AMRWB" = "xyes"; then
24973 AMRWB_LIBS="-lopencore-amrwb"
24984 elif test $pkg_failed = untried; then
24986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for D_IF_decode in -lopencore-amrwb" >&5
24987 $as_echo_n "checking for D_IF_decode in -lopencore-amrwb... " >&6; }
24988 if ${ac_cv_lib_opencore_amrwb_D_IF_decode+:} false; then :
24989 $as_echo_n "(cached) " >&6
24991 ac_check_lib_save_LIBS=$LIBS
24992 LIBS="-lopencore-amrwb $LIBS"
24993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24994 /* end confdefs.h. */
24996 /* Override any GCC internal prototype to avoid an error.
24997 Use char because int might match the return type of a GCC
24998 builtin and then its argument prototype would still apply. */
25002 char D_IF_decode ();
25006 return D_IF_decode ();
25011 if ac_fn_c_try_link "$LINENO"; then :
25012 ac_cv_lib_opencore_amrwb_D_IF_decode=yes
25014 ac_cv_lib_opencore_amrwb_D_IF_decode=no
25016 rm -f core conftest.err conftest.$ac_objext \
25017 conftest$ac_exeext conftest.$ac_ext
25018 LIBS=$ac_check_lib_save_LIBS
25020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_opencore_amrwb_D_IF_decode" >&5
25021 $as_echo "$ac_cv_lib_opencore_amrwb_D_IF_decode" >&6; }
25022 if test "x$ac_cv_lib_opencore_amrwb_D_IF_decode" = xyes; then :
25028 if test "x$HAVE_AMRWB" = "xyes"; then
25029 ac_fn_c_check_header_mongrel "$LINENO" "opencore-amrwb/dec_if.h" "ac_cv_header_opencore_amrwb_dec_if_h" "$ac_includes_default"
25030 if test "x$ac_cv_header_opencore_amrwb_dec_if_h" = xyes; then :
25037 if test "x$HAVE_AMRWB" = "xyes"; then
25038 AMRWB_LIBS="-lopencore-amrwb"
25050 AMRWB_CFLAGS=$pkg_cv_AMRWB_CFLAGS
25051 AMRWB_LIBS=$pkg_cv_AMRWB_LIBS
25052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25053 $as_echo "yes" >&6; }
25060 LIBS=$gst_check_save_LIBS
25061 LDFLAGS=$gst_check_save_LDFLAGS
25062 CFLAGS=$gst_check_save_CFLAGS
25063 CPPFLAGS=$gst_check_save_CPPFLAGS
25064 CXXFLAGS=$gst_check_save_CXXFLAGS
25066 if test x$HAVE_AMRWB = xno; then
25069 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: amrwbdec" >&5
25070 $as_echo "$as_me: *** These plugins will be built: amrwbdec" >&6;}
25073 if test x$USE_AMRWB = xyes; then
25075 if test "xamrwbdec" != "x"; then
25076 GST_PLUGINS_YES="\tamrwbdec\n$GST_PLUGINS_YES"
25079 $as_echo "#define HAVE_AMRWB /**/" >>confdefs.h
25082 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: amrwbdec" >&5
25083 $as_echo "$as_me: *** These plugins will not be built: amrwbdec" >&6;}
25084 if test "xamrwbdec" != "x"; then
25085 GST_PLUGINS_NO="\tamrwbdec\n$GST_PLUGINS_NO"
25089 if test x$USE_AMRWB = xyes; then
25091 USE_AMRWB_FALSE='#'
25100 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: cdio library ***" >&5
25101 $as_echo "$as_me: *** checking feature: cdio library ***" >&6;}
25102 if test "xcdio" != "x"
25104 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cdio ***" >&5
25105 $as_echo "$as_me: *** for plug-ins: cdio ***" >&6;}
25108 if test "x$USE_CDIO" = "xno"; then
25111 # Check whether --enable-cdio was given.
25112 if test "${enable_cdio+set}" = set; then :
25113 enableval=$enable_cdio; case "${enableval}" in
25114 yes) USE_CDIO=yes;;
25116 *) as_fn_error $? "bad value ${enableval} for --enable-cdio" "$LINENO" 5 ;;
25122 if test "x$NOUSE" = "xyes"; then
25124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cdio pre-configured not to be built" >&5
25125 $as_echo "$as_me: WARNING: *** cdio pre-configured not to be built" >&2;}
25130 if test x$USE_CDIO = xyes; then
25132 gst_check_save_LIBS=$LIBS
25133 gst_check_save_LDFLAGS=$LDFLAGS
25134 gst_check_save_CFLAGS=$CFLAGS
25135 gst_check_save_CPPFLAGS=$CPPFLAGS
25136 gst_check_save_CXXFLAGS=$CXXFLAGS
25141 which="libcdio >= 0.76"
25146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CDIO" >&5
25147 $as_echo_n "checking for CDIO... " >&6; }
25149 if test -n "$PKG_CONFIG"; then
25150 if test -n "$CDIO_CFLAGS"; then
25151 pkg_cv_CDIO_CFLAGS="$CDIO_CFLAGS"
25153 if test -n "$PKG_CONFIG" && \
25154 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
25155 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
25157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25158 test $ac_status = 0; }; then
25159 pkg_cv_CDIO_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
25167 if test -n "$PKG_CONFIG"; then
25168 if test -n "$CDIO_LIBS"; then
25169 pkg_cv_CDIO_LIBS="$CDIO_LIBS"
25171 if test -n "$PKG_CONFIG" && \
25172 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
25173 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
25175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25176 test $ac_status = 0; }; then
25177 pkg_cv_CDIO_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
25188 if test $pkg_failed = yes; then
25190 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25191 _pkg_short_errors_supported=yes
25193 _pkg_short_errors_supported=no
25195 if test $_pkg_short_errors_supported = yes; then
25196 CDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
25198 CDIO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
25200 # Put the nasty error message in config.log where it belongs
25201 echo "$CDIO_PKG_ERRORS" >&5
25203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25204 $as_echo "no" >&6; }
25207 if test "x$required" = "xyes"; then
25208 as_fn_error $? "$CDIO_PKG_ERRORS" "$LINENO" 5
25210 { $as_echo "$as_me:${as_lineno-$LINENO}: $CDIO_PKG_ERRORS" >&5
25211 $as_echo "$as_me: $CDIO_PKG_ERRORS" >&6;}
25214 elif test $pkg_failed = untried; then
25217 if test "x$required" = "xyes"; then
25218 as_fn_error $? "$CDIO_PKG_ERRORS" "$LINENO" 5
25220 { $as_echo "$as_me:${as_lineno-$LINENO}: $CDIO_PKG_ERRORS" >&5
25221 $as_echo "$as_me: $CDIO_PKG_ERRORS" >&6;}
25225 CDIO_CFLAGS=$pkg_cv_CDIO_CFLAGS
25226 CDIO_LIBS=$pkg_cv_CDIO_LIBS
25227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25228 $as_echo "yes" >&6; }
25237 LIBS=$gst_check_save_LIBS
25238 LDFLAGS=$gst_check_save_LDFLAGS
25239 CFLAGS=$gst_check_save_CFLAGS
25240 CPPFLAGS=$gst_check_save_CPPFLAGS
25241 CXXFLAGS=$gst_check_save_CXXFLAGS
25243 if test x$HAVE_CDIO = xno; then
25246 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cdio" >&5
25247 $as_echo "$as_me: *** These plugins will be built: cdio" >&6;}
25250 if test x$USE_CDIO = xyes; then
25252 if test "xcdio" != "x"; then
25253 GST_PLUGINS_YES="\tcdio\n$GST_PLUGINS_YES"
25256 $as_echo "#define HAVE_CDIO /**/" >>confdefs.h
25259 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cdio" >&5
25260 $as_echo "$as_me: *** These plugins will not be built: cdio" >&6;}
25261 if test "xcdio" != "x"; then
25262 GST_PLUGINS_NO="\tcdio\n$GST_PLUGINS_NO"
25266 if test x$USE_CDIO = xyes; then
25277 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: dvdread library ***" >&5
25278 $as_echo "$as_me: *** checking feature: dvdread library ***" >&6;}
25279 if test "xdvdreadsrc" != "x"
25281 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dvdreadsrc ***" >&5
25282 $as_echo "$as_me: *** for plug-ins: dvdreadsrc ***" >&6;}
25285 if test "x$USE_DVDREAD" = "xno"; then
25288 # Check whether --enable-dvdread was given.
25289 if test "${enable_dvdread+set}" = set; then :
25290 enableval=$enable_dvdread; case "${enableval}" in
25291 yes) USE_DVDREAD=yes;;
25292 no) USE_DVDREAD=no;;
25293 *) as_fn_error $? "bad value ${enableval} for --enable-dvdread" "$LINENO" 5 ;;
25299 if test "x$NOUSE" = "xyes"; then
25301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dvdreadsrc pre-configured not to be built" >&5
25302 $as_echo "$as_me: WARNING: *** dvdreadsrc pre-configured not to be built" >&2;}
25307 if test x$USE_DVDREAD = xyes; then
25309 gst_check_save_LIBS=$LIBS
25310 gst_check_save_LDFLAGS=$LDFLAGS
25311 gst_check_save_CFLAGS=$CFLAGS
25312 gst_check_save_CPPFLAGS=$CPPFLAGS
25313 gst_check_save_CXXFLAGS=$CXXFLAGS
25318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DVDOpen in -ldvdread" >&5
25319 $as_echo_n "checking for DVDOpen in -ldvdread... " >&6; }
25320 if ${ac_cv_lib_dvdread_DVDOpen+:} false; then :
25321 $as_echo_n "(cached) " >&6
25323 ac_check_lib_save_LIBS=$LIBS
25324 LIBS="-ldvdread $LIBS"
25325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25326 /* end confdefs.h. */
25328 /* Override any GCC internal prototype to avoid an error.
25329 Use char because int might match the return type of a GCC
25330 builtin and then its argument prototype would still apply. */
25343 if ac_fn_c_try_link "$LINENO"; then :
25344 ac_cv_lib_dvdread_DVDOpen=yes
25346 ac_cv_lib_dvdread_DVDOpen=no
25348 rm -f core conftest.err conftest.$ac_objext \
25349 conftest$ac_exeext conftest.$ac_ext
25350 LIBS=$ac_check_lib_save_LIBS
25352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dvdread_DVDOpen" >&5
25353 $as_echo "$ac_cv_lib_dvdread_DVDOpen" >&6; }
25354 if test "x$ac_cv_lib_dvdread_DVDOpen" = xyes; then :
25360 if test "x$HAVE_DVDREAD" = "xyes"; then
25361 ac_fn_c_check_header_mongrel "$LINENO" "dvdread/dvd_reader.h" "ac_cv_header_dvdread_dvd_reader_h" "$ac_includes_default"
25362 if test "x$ac_cv_header_dvdread_dvd_reader_h" = xyes; then :
25369 if test "x$HAVE_DVDREAD" = "xyes"; then
25370 DVDREAD_LIBS="-ldvdread"
25383 LIBS=$gst_check_save_LIBS
25384 LDFLAGS=$gst_check_save_LDFLAGS
25385 CFLAGS=$gst_check_save_CFLAGS
25386 CPPFLAGS=$gst_check_save_CPPFLAGS
25387 CXXFLAGS=$gst_check_save_CXXFLAGS
25389 if test x$HAVE_DVDREAD = xno; then
25392 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dvdreadsrc" >&5
25393 $as_echo "$as_me: *** These plugins will be built: dvdreadsrc" >&6;}
25396 if test x$USE_DVDREAD = xyes; then
25398 if test "xdvdreadsrc" != "x"; then
25399 GST_PLUGINS_YES="\tdvdreadsrc\n$GST_PLUGINS_YES"
25402 $as_echo "#define HAVE_DVDREAD /**/" >>confdefs.h
25405 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dvdreadsrc" >&5
25406 $as_echo "$as_me: *** These plugins will not be built: dvdreadsrc" >&6;}
25407 if test "xdvdreadsrc" != "x"; then
25408 GST_PLUGINS_NO="\tdvdreadsrc\n$GST_PLUGINS_NO"
25412 if test x$USE_DVDREAD = xyes; then
25414 USE_DVDREAD_FALSE='#'
25416 USE_DVDREAD_TRUE='#'
25423 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: lame mp3 encoder library ***" >&5
25424 $as_echo "$as_me: *** checking feature: lame mp3 encoder library ***" >&6;}
25425 if test "xlame" != "x"
25427 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: lame ***" >&5
25428 $as_echo "$as_me: *** for plug-ins: lame ***" >&6;}
25431 if test "x$USE_LAME" = "xno"; then
25434 # Check whether --enable-lame was given.
25435 if test "${enable_lame+set}" = set; then :
25436 enableval=$enable_lame; case "${enableval}" in
25437 yes) USE_LAME=yes;;
25439 *) as_fn_error $? "bad value ${enableval} for --enable-lame" "$LINENO" 5 ;;
25445 if test "x$NOUSE" = "xyes"; then
25447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** lame pre-configured not to be built" >&5
25448 $as_echo "$as_me: WARNING: *** lame pre-configured not to be built" >&2;}
25453 if test x$USE_LAME = xyes; then
25455 gst_check_save_LIBS=$LIBS
25456 gst_check_save_LDFLAGS=$LDFLAGS
25457 gst_check_save_CFLAGS=$CFLAGS
25458 gst_check_save_CPPFLAGS=$CPPFLAGS
25459 gst_check_save_CXXFLAGS=$CXXFLAGS
25464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lame_init in -lmp3lame" >&5
25465 $as_echo_n "checking for lame_init in -lmp3lame... " >&6; }
25466 if ${ac_cv_lib_mp3lame_lame_init+:} false; then :
25467 $as_echo_n "(cached) " >&6
25469 ac_check_lib_save_LIBS=$LIBS
25470 LIBS="-lmp3lame $LIBM $LIBS"
25471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25472 /* end confdefs.h. */
25474 /* Override any GCC internal prototype to avoid an error.
25475 Use char because int might match the return type of a GCC
25476 builtin and then its argument prototype would still apply. */
25484 return lame_init ();
25489 if ac_fn_c_try_link "$LINENO"; then :
25490 ac_cv_lib_mp3lame_lame_init=yes
25492 ac_cv_lib_mp3lame_lame_init=no
25494 rm -f core conftest.err conftest.$ac_objext \
25495 conftest$ac_exeext conftest.$ac_ext
25496 LIBS=$ac_check_lib_save_LIBS
25498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mp3lame_lame_init" >&5
25499 $as_echo "$ac_cv_lib_mp3lame_lame_init" >&6; }
25500 if test "x$ac_cv_lib_mp3lame_lame_init" = xyes; then :
25506 if test "x$HAVE_LAME" = "xyes"; then
25507 ac_fn_c_check_header_mongrel "$LINENO" "lame/lame.h" "ac_cv_header_lame_lame_h" "$ac_includes_default"
25508 if test "x$ac_cv_header_lame_lame_h" = xyes; then :
25515 if test "x$HAVE_LAME" = "xyes"; then
25518 LAME_LIBS="-lmp3lame $LIBM"
25520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25521 /* end confdefs.h. */
25522 #include <lame/lame.h>
25526 int preset = MEDIUM
25531 if ac_fn_c_try_compile "$LINENO"; then :
25532 LAME_CFLAGS="-DGSTLAME_PRESET"
25537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25539 /* end confdefs.h. */
25540 #include <lame/lame.h>
25545 void *ptr = &lame_set_VBR_quality
25551 if ac_fn_c_try_compile "$LINENO"; then :
25552 LAME_CFLAGS="$LAME_CFLAGS -DHAVE_LAME_SET_VBR_QUALITY"
25554 LAME_CFLAGS="$LAME_CFLAGS"
25557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25572 LIBS=$gst_check_save_LIBS
25573 LDFLAGS=$gst_check_save_LDFLAGS
25574 CFLAGS=$gst_check_save_CFLAGS
25575 CPPFLAGS=$gst_check_save_CPPFLAGS
25576 CXXFLAGS=$gst_check_save_CXXFLAGS
25578 if test x$HAVE_LAME = xno; then
25581 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: lame" >&5
25582 $as_echo "$as_me: *** These plugins will be built: lame" >&6;}
25585 if test x$USE_LAME = xyes; then
25587 if test "xlame" != "x"; then
25588 GST_PLUGINS_YES="\tlame\n$GST_PLUGINS_YES"
25591 $as_echo "#define HAVE_LAME /**/" >>confdefs.h
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: lame" >&5
25595 $as_echo "$as_me: *** These plugins will not be built: lame" >&6;}
25596 if test "xlame" != "x"; then
25597 GST_PLUGINS_NO="\tlame\n$GST_PLUGINS_NO"
25601 if test x$USE_LAME = xyes; then
25612 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: mad mp3 decoder ***" >&5
25613 $as_echo "$as_me: *** checking feature: mad mp3 decoder ***" >&6;}
25614 if test "xmad" != "x"
25616 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: mad ***" >&5
25617 $as_echo "$as_me: *** for plug-ins: mad ***" >&6;}
25620 if test "x$USE_MAD" = "xno"; then
25623 # Check whether --enable-mad was given.
25624 if test "${enable_mad+set}" = set; then :
25625 enableval=$enable_mad; case "${enableval}" in
25628 *) as_fn_error $? "bad value ${enableval} for --enable-mad" "$LINENO" 5 ;;
25634 if test "x$NOUSE" = "xyes"; then
25636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mad pre-configured not to be built" >&5
25637 $as_echo "$as_me: WARNING: *** mad pre-configured not to be built" >&2;}
25642 if test x$USE_MAD = xyes; then
25644 gst_check_save_LIBS=$LIBS
25645 gst_check_save_LDFLAGS=$LDFLAGS
25646 gst_check_save_CFLAGS=$CFLAGS
25647 gst_check_save_CPPFLAGS=$CPPFLAGS
25648 gst_check_save_CXXFLAGS=$CXXFLAGS
25654 which="mad >= 0.15"
25659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAD" >&5
25660 $as_echo_n "checking for MAD... " >&6; }
25662 if test -n "$PKG_CONFIG"; then
25663 if test -n "$MAD_CFLAGS"; then
25664 pkg_cv_MAD_CFLAGS="$MAD_CFLAGS"
25666 if test -n "$PKG_CONFIG" && \
25667 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
25668 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
25670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25671 test $ac_status = 0; }; then
25672 pkg_cv_MAD_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
25680 if test -n "$PKG_CONFIG"; then
25681 if test -n "$MAD_LIBS"; then
25682 pkg_cv_MAD_LIBS="$MAD_LIBS"
25684 if test -n "$PKG_CONFIG" && \
25685 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
25686 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
25688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25689 test $ac_status = 0; }; then
25690 pkg_cv_MAD_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
25701 if test $pkg_failed = yes; then
25703 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25704 _pkg_short_errors_supported=yes
25706 _pkg_short_errors_supported=no
25708 if test $_pkg_short_errors_supported = yes; then
25709 MAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
25711 MAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
25713 # Put the nasty error message in config.log where it belongs
25714 echo "$MAD_PKG_ERRORS" >&5
25716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25717 $as_echo "no" >&6; }
25720 if test "x$required" = "xyes"; then
25721 as_fn_error $? "$MAD_PKG_ERRORS" "$LINENO" 5
25723 { $as_echo "$as_me:${as_lineno-$LINENO}: $MAD_PKG_ERRORS" >&5
25724 $as_echo "$as_me: $MAD_PKG_ERRORS" >&6;}
25727 elif test $pkg_failed = untried; then
25730 if test "x$required" = "xyes"; then
25731 as_fn_error $? "$MAD_PKG_ERRORS" "$LINENO" 5
25733 { $as_echo "$as_me:${as_lineno-$LINENO}: $MAD_PKG_ERRORS" >&5
25734 $as_echo "$as_me: $MAD_PKG_ERRORS" >&6;}
25738 MAD_CFLAGS=$pkg_cv_MAD_CFLAGS
25739 MAD_LIBS=$pkg_cv_MAD_LIBS
25740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25741 $as_echo "yes" >&6; }
25748 MAD_LIBS="$MAD_LIBS"
25749 if test "x$HAVE_MAD" = "xno"; then
25750 ac_fn_c_check_header_mongrel "$LINENO" "mad.h" "ac_cv_header_mad_h" "$ac_includes_default"
25751 if test "x$ac_cv_header_mad_h" = xyes; then :
25753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mad_decoder_finish in -lmad" >&5
25754 $as_echo_n "checking for mad_decoder_finish in -lmad... " >&6; }
25755 if ${ac_cv_lib_mad_mad_decoder_finish+:} false; then :
25756 $as_echo_n "(cached) " >&6
25758 ac_check_lib_save_LIBS=$LIBS
25760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25761 /* end confdefs.h. */
25763 /* Override any GCC internal prototype to avoid an error.
25764 Use char because int might match the return type of a GCC
25765 builtin and then its argument prototype would still apply. */
25769 char mad_decoder_finish ();
25773 return mad_decoder_finish ();
25778 if ac_fn_c_try_link "$LINENO"; then :
25779 ac_cv_lib_mad_mad_decoder_finish=yes
25781 ac_cv_lib_mad_mad_decoder_finish=no
25783 rm -f core conftest.err conftest.$ac_objext \
25784 conftest$ac_exeext conftest.$ac_ext
25785 LIBS=$ac_check_lib_save_LIBS
25787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mad_mad_decoder_finish" >&5
25788 $as_echo "$ac_cv_lib_mad_mad_decoder_finish" >&6; }
25789 if test "x$ac_cv_lib_mad_mad_decoder_finish" = xyes; then :
25790 HAVE_MAD="yes" MAD_LIBS="-lmad"
25800 LIBS=$gst_check_save_LIBS
25801 LDFLAGS=$gst_check_save_LDFLAGS
25802 CFLAGS=$gst_check_save_CFLAGS
25803 CPPFLAGS=$gst_check_save_CPPFLAGS
25804 CXXFLAGS=$gst_check_save_CXXFLAGS
25806 if test x$HAVE_MAD = xno; then
25809 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: mad" >&5
25810 $as_echo "$as_me: *** These plugins will be built: mad" >&6;}
25813 if test x$USE_MAD = xyes; then
25815 if test "xmad" != "x"; then
25816 GST_PLUGINS_YES="\tmad\n$GST_PLUGINS_YES"
25819 $as_echo "#define HAVE_MAD /**/" >>confdefs.h
25822 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: mad" >&5
25823 $as_echo "$as_me: *** These plugins will not be built: mad" >&6;}
25824 if test "xmad" != "x"; then
25825 GST_PLUGINS_NO="\tmad\n$GST_PLUGINS_NO"
25829 if test x$USE_MAD = xyes; then
25841 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: mpeg2dec ***" >&5
25842 $as_echo "$as_me: *** checking feature: mpeg2dec ***" >&6;}
25843 if test "xmpeg2dec" != "x"
25845 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: mpeg2dec ***" >&5
25846 $as_echo "$as_me: *** for plug-ins: mpeg2dec ***" >&6;}
25849 if test "x$USE_MPEG2DEC" = "xno"; then
25852 # Check whether --enable-mpeg2dec was given.
25853 if test "${enable_mpeg2dec+set}" = set; then :
25854 enableval=$enable_mpeg2dec; case "${enableval}" in
25855 yes) USE_MPEG2DEC=yes;;
25856 no) USE_MPEG2DEC=no;;
25857 *) as_fn_error $? "bad value ${enableval} for --enable-mpeg2dec" "$LINENO" 5 ;;
25863 if test "x$NOUSE" = "xyes"; then
25865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mpeg2dec pre-configured not to be built" >&5
25866 $as_echo "$as_me: WARNING: *** mpeg2dec pre-configured not to be built" >&2;}
25871 if test x$USE_MPEG2DEC = xyes; then
25873 gst_check_save_LIBS=$LIBS
25874 gst_check_save_LDFLAGS=$LDFLAGS
25875 gst_check_save_CFLAGS=$CFLAGS
25876 gst_check_save_CPPFLAGS=$CPPFLAGS
25877 gst_check_save_CXXFLAGS=$CXXFLAGS
25882 which="libmpeg2 >= 0.4.0"
25887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPEG2DEC" >&5
25888 $as_echo_n "checking for MPEG2DEC... " >&6; }
25890 if test -n "$PKG_CONFIG"; then
25891 if test -n "$MPEG2DEC_CFLAGS"; then
25892 pkg_cv_MPEG2DEC_CFLAGS="$MPEG2DEC_CFLAGS"
25894 if test -n "$PKG_CONFIG" && \
25895 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
25896 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
25898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25899 test $ac_status = 0; }; then
25900 pkg_cv_MPEG2DEC_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
25908 if test -n "$PKG_CONFIG"; then
25909 if test -n "$MPEG2DEC_LIBS"; then
25910 pkg_cv_MPEG2DEC_LIBS="$MPEG2DEC_LIBS"
25912 if test -n "$PKG_CONFIG" && \
25913 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
25914 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
25916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25917 test $ac_status = 0; }; then
25918 pkg_cv_MPEG2DEC_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
25929 if test $pkg_failed = yes; then
25931 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25932 _pkg_short_errors_supported=yes
25934 _pkg_short_errors_supported=no
25936 if test $_pkg_short_errors_supported = yes; then
25937 MPEG2DEC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
25939 MPEG2DEC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
25941 # Put the nasty error message in config.log where it belongs
25942 echo "$MPEG2DEC_PKG_ERRORS" >&5
25944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25945 $as_echo "no" >&6; }
25948 if test "x$required" = "xyes"; then
25949 as_fn_error $? "$MPEG2DEC_PKG_ERRORS" "$LINENO" 5
25951 { $as_echo "$as_me:${as_lineno-$LINENO}: $MPEG2DEC_PKG_ERRORS" >&5
25952 $as_echo "$as_me: $MPEG2DEC_PKG_ERRORS" >&6;}
25955 elif test $pkg_failed = untried; then
25958 if test "x$required" = "xyes"; then
25959 as_fn_error $? "$MPEG2DEC_PKG_ERRORS" "$LINENO" 5
25961 { $as_echo "$as_me:${as_lineno-$LINENO}: $MPEG2DEC_PKG_ERRORS" >&5
25962 $as_echo "$as_me: $MPEG2DEC_PKG_ERRORS" >&6;}
25966 MPEG2DEC_CFLAGS=$pkg_cv_MPEG2DEC_CFLAGS
25967 MPEG2DEC_LIBS=$pkg_cv_MPEG2DEC_LIBS
25968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25969 $as_echo "yes" >&6; }
25971 HAVE_MPEG2DEC="yes"
25978 LIBS=$gst_check_save_LIBS
25979 LDFLAGS=$gst_check_save_LDFLAGS
25980 CFLAGS=$gst_check_save_CFLAGS
25981 CPPFLAGS=$gst_check_save_CPPFLAGS
25982 CXXFLAGS=$gst_check_save_CXXFLAGS
25984 if test x$HAVE_MPEG2DEC = xno; then
25987 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: mpeg2dec" >&5
25988 $as_echo "$as_me: *** These plugins will be built: mpeg2dec" >&6;}
25991 if test x$USE_MPEG2DEC = xyes; then
25993 if test "xmpeg2dec" != "x"; then
25994 GST_PLUGINS_YES="\tmpeg2dec\n$GST_PLUGINS_YES"
25997 $as_echo "#define HAVE_MPEG2DEC /**/" >>confdefs.h
26000 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: mpeg2dec" >&5
26001 $as_echo "$as_me: *** These plugins will not be built: mpeg2dec" >&6;}
26002 if test "xmpeg2dec" != "x"; then
26003 GST_PLUGINS_NO="\tmpeg2dec\n$GST_PLUGINS_NO"
26007 if test x$USE_MPEG2DEC = xyes; then
26009 USE_MPEG2DEC_FALSE='#'
26011 USE_MPEG2DEC_TRUE='#'
26012 USE_MPEG2DEC_FALSE=
26019 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libsidplay ***" >&5
26020 $as_echo "$as_me: *** checking feature: libsidplay ***" >&6;}
26021 if test "xsid" != "x"
26023 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: sid ***" >&5
26024 $as_echo "$as_me: *** for plug-ins: sid ***" >&6;}
26027 if test "x$USE_SIDPLAY" = "xno"; then
26030 # Check whether --enable-sidplay was given.
26031 if test "${enable_sidplay+set}" = set; then :
26032 enableval=$enable_sidplay; case "${enableval}" in
26033 yes) USE_SIDPLAY=yes;;
26034 no) USE_SIDPLAY=no;;
26035 *) as_fn_error $? "bad value ${enableval} for --enable-sidplay" "$LINENO" 5 ;;
26041 if test "x$NOUSE" = "xyes"; then
26043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** sid pre-configured not to be built" >&5
26044 $as_echo "$as_me: WARNING: *** sid pre-configured not to be built" >&2;}
26049 if test x$USE_SIDPLAY = xyes; then
26051 gst_check_save_LIBS=$LIBS
26052 gst_check_save_LDFLAGS=$LDFLAGS
26053 gst_check_save_CFLAGS=$CFLAGS
26054 gst_check_save_CPPFLAGS=$CPPFLAGS
26055 gst_check_save_CXXFLAGS=$CXXFLAGS
26060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsidplay 1.36.x" >&5
26061 $as_echo_n "checking for libsidplay 1.36.x... " >&6; }
26064 ac_cpp='$CXXCPP $CPPFLAGS'
26065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26070 ac_fn_cxx_check_header_mongrel "$LINENO" "sidplay/player.h" "ac_cv_header_sidplay_player_h" "$ac_includes_default"
26071 if test "x$ac_cv_header_sidplay_player_h" = xyes; then :
26079 if test $HAVE_SIDPLAY = "yes"; then
26080 SIDPLAY_LIBS="-lsidplay"
26082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lsidplay works" >&5
26083 $as_echo_n "checking whether -lsidplay works... " >&6; }
26088 if test "$cross_compiling" = yes; then :
26091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26092 /* end confdefs.h. */
26094 #include <sidplay/player.h>
26096 { sidTune tune = sidTune(0); }
26099 if ac_fn_cxx_try_run "$LINENO"; then :
26104 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26105 conftest.$ac_objext conftest.beam conftest.$ac_ext
26109 LIBS="$ac_libs_safe"
26111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_SIDPLAY" >&5
26112 $as_echo "$HAVE_SIDPLAY" >&6; }
26116 SIDPLAY_LIBS="-lsidplay"
26121 ac_cpp='$CPP $CPPFLAGS'
26122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26129 LIBS=$gst_check_save_LIBS
26130 LDFLAGS=$gst_check_save_LDFLAGS
26131 CFLAGS=$gst_check_save_CFLAGS
26132 CPPFLAGS=$gst_check_save_CPPFLAGS
26133 CXXFLAGS=$gst_check_save_CXXFLAGS
26135 if test x$HAVE_SIDPLAY = xno; then
26138 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: sid" >&5
26139 $as_echo "$as_me: *** These plugins will be built: sid" >&6;}
26142 if test x$USE_SIDPLAY = xyes; then
26144 if test "xsid" != "x"; then
26145 GST_PLUGINS_YES="\tsid\n$GST_PLUGINS_YES"
26148 $as_echo "#define HAVE_SIDPLAY /**/" >>confdefs.h
26151 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: sid" >&5
26152 $as_echo "$as_me: *** These plugins will not be built: sid" >&6;}
26153 if test "xsid" != "x"; then
26154 GST_PLUGINS_NO="\tsid\n$GST_PLUGINS_NO"
26158 if test x$USE_SIDPLAY = xyes; then
26160 USE_SIDPLAY_FALSE='#'
26162 USE_SIDPLAY_TRUE='#'
26169 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: twolame ***" >&5
26170 $as_echo "$as_me: *** checking feature: twolame ***" >&6;}
26171 if test "xtwolame" != "x"
26173 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: twolame ***" >&5
26174 $as_echo "$as_me: *** for plug-ins: twolame ***" >&6;}
26177 if test "x$USE_TWOLAME" = "xno"; then
26180 # Check whether --enable-twolame was given.
26181 if test "${enable_twolame+set}" = set; then :
26182 enableval=$enable_twolame; case "${enableval}" in
26183 yes) USE_TWOLAME=yes;;
26184 no) USE_TWOLAME=no;;
26185 *) as_fn_error $? "bad value ${enableval} for --enable-twolame" "$LINENO" 5 ;;
26191 if test "x$NOUSE" = "xyes"; then
26193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** twolame pre-configured not to be built" >&5
26194 $as_echo "$as_me: WARNING: *** twolame pre-configured not to be built" >&2;}
26199 if test x$USE_TWOLAME = xyes; then
26201 gst_check_save_LIBS=$LIBS
26202 gst_check_save_LDFLAGS=$LDFLAGS
26203 gst_check_save_CFLAGS=$CFLAGS
26204 gst_check_save_CPPFLAGS=$CPPFLAGS
26205 gst_check_save_CXXFLAGS=$CXXFLAGS
26211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TWOLAME" >&5
26212 $as_echo_n "checking for TWOLAME... " >&6; }
26214 if test -n "$PKG_CONFIG"; then
26215 if test -n "$TWOLAME_CFLAGS"; then
26216 pkg_cv_TWOLAME_CFLAGS="$TWOLAME_CFLAGS"
26218 if test -n "$PKG_CONFIG" && \
26219 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"twolame >= 0.3.10\""; } >&5
26220 ($PKG_CONFIG --exists --print-errors "twolame >= 0.3.10") 2>&5
26222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26223 test $ac_status = 0; }; then
26224 pkg_cv_TWOLAME_CFLAGS=`$PKG_CONFIG --cflags "twolame >= 0.3.10" 2>/dev/null`
26232 if test -n "$PKG_CONFIG"; then
26233 if test -n "$TWOLAME_LIBS"; then
26234 pkg_cv_TWOLAME_LIBS="$TWOLAME_LIBS"
26236 if test -n "$PKG_CONFIG" && \
26237 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"twolame >= 0.3.10\""; } >&5
26238 ($PKG_CONFIG --exists --print-errors "twolame >= 0.3.10") 2>&5
26240 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26241 test $ac_status = 0; }; then
26242 pkg_cv_TWOLAME_LIBS=`$PKG_CONFIG --libs "twolame >= 0.3.10" 2>/dev/null`
26253 if test $pkg_failed = yes; then
26255 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26256 _pkg_short_errors_supported=yes
26258 _pkg_short_errors_supported=no
26260 if test $_pkg_short_errors_supported = yes; then
26261 TWOLAME_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "twolame >= 0.3.10"`
26263 TWOLAME_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "twolame >= 0.3.10"`
26265 # Put the nasty error message in config.log where it belongs
26266 echo "$TWOLAME_PKG_ERRORS" >&5
26268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26269 $as_echo "no" >&6; }
26273 elif test $pkg_failed = untried; then
26278 TWOLAME_CFLAGS=$pkg_cv_TWOLAME_CFLAGS
26279 TWOLAME_LIBS=$pkg_cv_TWOLAME_LIBS
26280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26281 $as_echo "yes" >&6; }
26289 LIBS=$gst_check_save_LIBS
26290 LDFLAGS=$gst_check_save_LDFLAGS
26291 CFLAGS=$gst_check_save_CFLAGS
26292 CPPFLAGS=$gst_check_save_CPPFLAGS
26293 CXXFLAGS=$gst_check_save_CXXFLAGS
26295 if test x$HAVE_TWOLAME = xno; then
26298 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: twolame" >&5
26299 $as_echo "$as_me: *** These plugins will be built: twolame" >&6;}
26302 if test x$USE_TWOLAME = xyes; then
26304 if test "xtwolame" != "x"; then
26305 GST_PLUGINS_YES="\ttwolame\n$GST_PLUGINS_YES"
26308 $as_echo "#define HAVE_TWOLAME /**/" >>confdefs.h
26311 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: twolame" >&5
26312 $as_echo "$as_me: *** These plugins will not be built: twolame" >&6;}
26313 if test "xtwolame" != "x"; then
26314 GST_PLUGINS_NO="\ttwolame\n$GST_PLUGINS_NO"
26318 if test x$USE_TWOLAME = xyes; then
26320 USE_TWOLAME_FALSE='#'
26322 USE_TWOLAME_TRUE='#'
26329 { $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: x264 plug-in ***" >&5
26330 $as_echo "$as_me: *** checking feature: x264 plug-in ***" >&6;}
26331 if test "xx264" != "x"
26333 { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: x264 ***" >&5
26334 $as_echo "$as_me: *** for plug-ins: x264 ***" >&6;}
26337 if test "x$USE_X264" = "xno"; then
26340 # Check whether --enable-x264 was given.
26341 if test "${enable_x264+set}" = set; then :
26342 enableval=$enable_x264; case "${enableval}" in
26343 yes) USE_X264=yes;;
26345 *) as_fn_error $? "bad value ${enableval} for --enable-x264" "$LINENO" 5 ;;
26351 if test "x$NOUSE" = "xyes"; then
26353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** x264 pre-configured not to be built" >&5
26354 $as_echo "$as_me: WARNING: *** x264 pre-configured not to be built" >&2;}
26359 if test x$USE_X264 = xyes; then
26361 gst_check_save_LIBS=$LIBS
26362 gst_check_save_LDFLAGS=$LDFLAGS
26363 gst_check_save_CFLAGS=$CFLAGS
26364 gst_check_save_CPPFLAGS=$CPPFLAGS
26365 gst_check_save_CXXFLAGS=$CXXFLAGS
26370 which="x264 >= 0.55.0"
26375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X264" >&5
26376 $as_echo_n "checking for X264... " >&6; }
26378 if test -n "$PKG_CONFIG"; then
26379 if test -n "$X264_CFLAGS"; then
26380 pkg_cv_X264_CFLAGS="$X264_CFLAGS"
26382 if test -n "$PKG_CONFIG" && \
26383 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
26384 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
26386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26387 test $ac_status = 0; }; then
26388 pkg_cv_X264_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
26396 if test -n "$PKG_CONFIG"; then
26397 if test -n "$X264_LIBS"; then
26398 pkg_cv_X264_LIBS="$X264_LIBS"
26400 if test -n "$PKG_CONFIG" && \
26401 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
26402 ($PKG_CONFIG --exists --print-errors "$which") 2>&5
26404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26405 test $ac_status = 0; }; then
26406 pkg_cv_X264_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
26417 if test $pkg_failed = yes; then
26419 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26420 _pkg_short_errors_supported=yes
26422 _pkg_short_errors_supported=no
26424 if test $_pkg_short_errors_supported = yes; then
26425 X264_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
26427 X264_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
26429 # Put the nasty error message in config.log where it belongs
26430 echo "$X264_PKG_ERRORS" >&5
26432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26433 $as_echo "no" >&6; }
26436 if test "x$required" = "xyes"; then
26437 as_fn_error $? "$X264_PKG_ERRORS" "$LINENO" 5
26439 { $as_echo "$as_me:${as_lineno-$LINENO}: $X264_PKG_ERRORS" >&5
26440 $as_echo "$as_me: $X264_PKG_ERRORS" >&6;}
26443 elif test $pkg_failed = untried; then
26446 if test "x$required" = "xyes"; then
26447 as_fn_error $? "$X264_PKG_ERRORS" "$LINENO" 5
26449 { $as_echo "$as_me:${as_lineno-$LINENO}: $X264_PKG_ERRORS" >&5
26450 $as_echo "$as_me: $X264_PKG_ERRORS" >&6;}
26454 X264_CFLAGS=$pkg_cv_X264_CFLAGS
26455 X264_LIBS=$pkg_cv_X264_LIBS
26456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26457 $as_echo "yes" >&6; }
26466 LIBS=$gst_check_save_LIBS
26467 LDFLAGS=$gst_check_save_LDFLAGS
26468 CFLAGS=$gst_check_save_CFLAGS
26469 CPPFLAGS=$gst_check_save_CPPFLAGS
26470 CXXFLAGS=$gst_check_save_CXXFLAGS
26472 if test x$HAVE_X264 = xno; then
26475 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: x264" >&5
26476 $as_echo "$as_me: *** These plugins will be built: x264" >&6;}
26479 if test x$USE_X264 = xyes; then
26481 if test "xx264" != "x"; then
26482 GST_PLUGINS_YES="\tx264\n$GST_PLUGINS_YES"
26485 $as_echo "#define HAVE_X264 /**/" >>confdefs.h
26488 { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: x264" >&5
26489 $as_echo "$as_me: *** These plugins will not be built: x264" >&6;}
26490 if test "xx264" != "x"; then
26491 GST_PLUGINS_NO="\tx264\n$GST_PLUGINS_NO"
26495 if test x$USE_X264 = xyes; then
26510 USE_A52DEC_FALSE='#'
26512 USE_A52DEC_TRUE='#'
26518 USE_AMRNB_FALSE='#'
26526 USE_AMRWB_FALSE='#'
26542 USE_DVDREAD_FALSE='#'
26544 USE_DVDREAD_TRUE='#'
26566 USE_MPEG2DEC_FALSE='#'
26568 USE_MPEG2DEC_TRUE='#'
26569 USE_MPEG2DEC_FALSE=
26574 USE_SIDPLAY_FALSE='#'
26576 USE_SIDPLAY_TRUE='#'
26582 USE_TWOLAME_FALSE='#'
26584 USE_TWOLAME_TRUE='#'
26600 if test "x$USE_DEBUG" = xyes; then
26601 PROFILE_CFLAGS="-g"
26605 if test "x$PACKAGE_VERSION_NANO" = "x1"; then
26606 DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
26608 DEPRECATED_CFLAGS=""
26612 GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
26613 GST_OPTION_CXXFLAGS="\$(WARNING_CXXFLAGS) \$(ERROR_CXXFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
26617 GST_CXXFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CXXFLAGS)"
26618 GST_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CFLAGS)"
26623 GST_ALL_LDFLAGS="-no-undefined"
26626 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_desc.*' $GST_ALL_LDFLAGS"
26630 ac_config_files="$ac_config_files Makefile common/Makefile common/m4/Makefile gst-libs/Makefile gst-libs/gst/Makefile gst/Makefile gst/asfdemux/Makefile gst/dvdlpcmdec/Makefile gst/dvdsub/Makefile gst/iec958/Makefile gst/mpegaudioparse/Makefile gst/mpegstream/Makefile gst/realmedia/Makefile gst/synaesthesia/Makefile ext/Makefile ext/a52dec/Makefile ext/amrnb/Makefile ext/amrwbdec/Makefile ext/cdio/Makefile ext/dvdread/Makefile ext/lame/Makefile ext/mad/Makefile ext/mpeg2dec/Makefile ext/sidplay/Makefile ext/twolame/Makefile ext/x264/Makefile docs/Makefile docs/plugins/Makefile docs/version.entities tests/Makefile tests/check/Makefile m4/Makefile po/Makefile.in pkgconfig/Makefile pkgconfig/gstreamer-plugins-ugly-uninstalled.pc gst-plugins-ugly.spec"
26634 -e 's/.*config.h.in.*autoheader.*/\/* Autogenerated config.h created for win32 Visual Studio builds *\/\n\n\/* PREFIX -- specifically added for Windows for easier moving *\/\n#define PREFIX "C:\\\\gstreamer"\n\n/' \
26635 -e 's/.* GETTEXT_PACKAGE$/#define GETTEXT_PACKAGE "'$GETTEXT_PACKAGE'"/' \
26636 -e 's/.* GST_DATADIR$/#define GST_DATADIR PREFIX "\\\\share"/' \
26637 -e 's/.* GST_LEVEL_DEFAULT$/#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR/' \
26638 -e 's/.* GST_LICENSE$/#define GST_LICENSE "'$GST_LICENSE'"/' \
26639 -e 's/.* GST_MAJORMINOR$/#define GST_MAJORMINOR "'$GST_MAJORMINOR'"/' \
26640 -e "s,.* GST_PACKAGE_NAME$,#define GST_PACKAGE_NAME \"${GST_PACKAGE_NAME}\"," \
26641 -e 's/.* GST_PACKAGE_ORIGIN$/#define GST_PACKAGE_ORIGIN "Unknown package origin"/' \
26642 -e "s,.* GST_PACKAGE_RELEASE_DATETIME$,#define GST_PACKAGE_RELEASE_DATETIME \"${GST_PACKAGE_RELEASE_DATETIME}\"," \
26643 -e 's/.* HAVE_CPU_I386$/#define HAVE_CPU_I386 1/' \
26644 -e 's/.* HAVE_FGETPOS$/#define HAVE_FGETPOS 1/' \
26645 -e 's/.* HAVE_FSETPOS$/#define HAVE_FSETPOS 1/' \
26646 -e 's/.* HAVE_LIBXML2$/#define HAVE_LIBXML2 1/' \
26647 -e 's/.* HAVE_PROCESS_H$/#define HAVE_PROCESS_H 1/' \
26648 -e 's/.* HAVE_STDLIB_H$/#define HAVE_STDLIB_H 1/' \
26649 -e 's/.* HAVE_STRING_H$/#define HAVE_STRING_H 1/' \
26650 -e 's/.* HAVE_SYS_STAT_H$/#define HAVE_SYS_STAT_H 1/' \
26651 -e 's/.* HAVE_SYS_TYPES_H$/#define HAVE_SYS_TYPES_H 1/' \
26652 -e 's/.* HAVE_WIN32$/#define HAVE_WIN32 1/' \
26653 -e 's/.* HAVE_WINSOCK2_H$/#define HAVE_WINSOCK2_H 1/' \
26654 -e 's/.* HOST_CPU$/#define HOST_CPU "i686"/' \
26655 -e 's/.* LIBDIR$/#ifdef _DEBUG\n# define LIBDIR PREFIX "\\\\debug\\\\lib"\n#else\n# define LIBDIR PREFIX "\\\\lib"\n#endif/' \
26656 -e 's/.* LOCALEDIR$/#define LOCALEDIR PREFIX "\\\\share\\\\locale"/' \
26657 -e "s/.* PACKAGE$/#define PACKAGE \"$PACKAGE\"/" \
26658 -e 's/.* PACKAGE_BUGREPORT$/#define PACKAGE_BUGREPORT "http:\/\/bugzilla.gnome.org\/enter_bug.cgi?product=GStreamer"/' \
26659 -e "s/.* PACKAGE_NAME$/#define PACKAGE_NAME \"$PACKAGE_NAME\"/" \
26660 -e "s/.* PACKAGE_STRING$/#define PACKAGE_STRING \"$PACKAGE_STRING\"/" \
26661 -e 's/.* PACKAGE_TARNAME$/#define PACKAGE_TARNAME "'$PACKAGE_TARNAME'"/' \
26662 -e 's/.* PACKAGE_VERSION$/#define PACKAGE_VERSION "'$PACKAGE_VERSION'"/' \
26663 -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/' \
26664 -e 's/.* USE_BINARY_REGISTRY$/#define USE_BINARY_REGISTRY/' \
26665 -e 's/.* VERSION$/#define VERSION "'$VERSION'"/' \
26666 -e "s/.* DEFAULT_AUDIOSINK$/#define DEFAULT_AUDIOSINK \"directsoundsink\"/" \
26667 -e "s/.* DEFAULT_AUDIOSRC$/#define DEFAULT_AUDIOSRC \"audiotestsrc\"/" \
26668 -e "s/.* DEFAULT_VIDEOSRC$/#define DEFAULT_VIDEOSRC \"videotestsrc\"/" \
26669 -e "s/.* DEFAULT_VISUALIZER$/#define DEFAULT_VISUALIZER \"goom\"/" \
26670 config.h.in >win32/common/config.h-new
26672 cat >confcache <<\_ACEOF
26673 # This file is a shell script that caches the results of configure
26674 # tests run on this system so they can be shared between configure
26675 # scripts and configure runs, see configure's option --config-cache.
26676 # It is not useful on other systems. If it contains results you don't
26677 # want to keep, you may remove or edit it.
26679 # config.status only pays attention to the cache file if you give it
26680 # the --recheck option to rerun configure.
26682 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26683 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26684 # following values.
26688 # The following way of writing the cache mishandles newlines in values,
26689 # but we know of no workaround that is simple, portable, and efficient.
26690 # So, we kill variables containing newlines.
26691 # Ultrix sh set writes to stderr and can't be redirected directly,
26692 # and sets the high bit in the cache file unless we assign to the vars.
26694 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26695 eval ac_val=\$$ac_var
26699 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26700 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26703 _ | IFS | as_nl) ;; #(
26704 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26705 *) { eval $ac_var=; unset $ac_var;} ;;
26711 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26712 *${as_nl}ac_space=\ *)
26713 # `set' does not quote correctly, so add quotes: double-quote
26714 # substitution turns \\\\ into \\, and sed turns \\ into \.
26717 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26720 # `set' quotes correctly as required by POSIX, so do not add quotes.
26721 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26730 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26732 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26734 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26735 if test -w "$cache_file"; then
26736 if test "x$cache_file" != "x/dev/null"; then
26737 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26738 $as_echo "$as_me: updating cache $cache_file" >&6;}
26739 if test ! -f "$cache_file" || test -h "$cache_file"; then
26740 cat confcache >"$cache_file"
26742 case $cache_file in #(
26744 mv -f confcache "$cache_file"$$ &&
26745 mv -f "$cache_file"$$ "$cache_file" ;; #(
26747 mv -f confcache "$cache_file" ;;
26752 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26753 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26758 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26759 # Let make expand exec_prefix.
26760 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26762 DEFS=-DHAVE_CONFIG_H
26767 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26768 # 1. Remove the extension, and $U if already installed.
26769 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26770 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26771 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26772 # will be set to the directory where LIBOBJS objects are built.
26773 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26774 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26776 LIBOBJS=$ac_libobjs
26778 LTLIBOBJS=$ac_ltlibobjs
26781 if test -n "$EXEEXT"; then
26783 am__EXEEXT_FALSE='#'
26785 am__EXEEXT_TRUE='#'
26789 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26790 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
26791 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26793 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26794 as_fn_error $? "conditional \"AMDEP\" was never defined.
26795 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26797 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26798 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
26799 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26801 if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
26802 as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
26803 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26805 if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
26806 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
26807 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26809 if test -z "${USE_EXTERNAL_TRUE}" && test -z "${USE_EXTERNAL_FALSE}"; then
26810 as_fn_error $? "conditional \"USE_EXTERNAL\" was never defined.
26811 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26813 if test -z "${BUILD_EXTERNAL_TRUE}" && test -z "${BUILD_EXTERNAL_FALSE}"; then
26814 as_fn_error $? "conditional \"BUILD_EXTERNAL\" was never defined.
26815 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26817 if test -z "${USE_EXPERIMENTAL_TRUE}" && test -z "${USE_EXPERIMENTAL_FALSE}"; then
26818 as_fn_error $? "conditional \"USE_EXPERIMENTAL\" was never defined.
26819 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26821 if test -z "${BUILD_EXPERIMENTAL_TRUE}" && test -z "${BUILD_EXPERIMENTAL_FALSE}"; then
26822 as_fn_error $? "conditional \"BUILD_EXPERIMENTAL\" was never defined.
26823 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26826 if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then
26827 as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined.
26828 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26830 if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then
26831 as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined.
26832 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26834 if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then
26835 as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined.
26836 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26838 if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then
26839 as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined.
26840 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26842 if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then
26843 as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined.
26844 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26846 if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then
26847 as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined.
26848 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26850 if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then
26851 as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined.
26852 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26854 if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then
26855 as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined.
26856 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26858 if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then
26859 as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined.
26860 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26862 if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then
26863 as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined.
26864 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26866 if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then
26867 as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined.
26868 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26870 if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then
26871 as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined.
26872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26874 if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then
26875 as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined.
26876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26878 if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then
26879 as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined.
26880 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26883 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26884 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
26885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26887 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26888 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
26889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26891 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
26892 as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
26893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26895 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
26896 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
26897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26899 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
26900 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
26901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26903 if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
26904 as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
26905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26907 if test -z "${HAVE_ORC_TRUE}" && test -z "${HAVE_ORC_FALSE}"; then
26908 as_fn_error $? "conditional \"HAVE_ORC\" was never defined.
26909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26911 if test -z "${HAVE_ORCC_TRUE}" && test -z "${HAVE_ORCC_FALSE}"; then
26912 as_fn_error $? "conditional \"HAVE_ORCC\" was never defined.
26913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26915 if test -z "${HAVE_GST_CHECK_TRUE}" && test -z "${HAVE_GST_CHECK_FALSE}"; then
26916 as_fn_error $? "conditional \"HAVE_GST_CHECK\" was never defined.
26917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26919 if test -z "${USE_PLUGIN_ASFDEMUX_TRUE}" && test -z "${USE_PLUGIN_ASFDEMUX_FALSE}"; then
26920 as_fn_error $? "conditional \"USE_PLUGIN_ASFDEMUX\" was never defined.
26921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26923 if test -z "${USE_PLUGIN_DVDLPCMDEC_TRUE}" && test -z "${USE_PLUGIN_DVDLPCMDEC_FALSE}"; then
26924 as_fn_error $? "conditional \"USE_PLUGIN_DVDLPCMDEC\" was never defined.
26925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26927 if test -z "${USE_PLUGIN_DVDSUB_TRUE}" && test -z "${USE_PLUGIN_DVDSUB_FALSE}"; then
26928 as_fn_error $? "conditional \"USE_PLUGIN_DVDSUB\" was never defined.
26929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26931 if test -z "${USE_PLUGIN_IEC958_TRUE}" && test -z "${USE_PLUGIN_IEC958_FALSE}"; then
26932 as_fn_error $? "conditional \"USE_PLUGIN_IEC958\" was never defined.
26933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26935 if test -z "${USE_PLUGIN_MPEGAUDIOPARSE_TRUE}" && test -z "${USE_PLUGIN_MPEGAUDIOPARSE_FALSE}"; then
26936 as_fn_error $? "conditional \"USE_PLUGIN_MPEGAUDIOPARSE\" was never defined.
26937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26939 if test -z "${USE_PLUGIN_MPEGSTREAM_TRUE}" && test -z "${USE_PLUGIN_MPEGSTREAM_FALSE}"; then
26940 as_fn_error $? "conditional \"USE_PLUGIN_MPEGSTREAM\" was never defined.
26941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26943 if test -z "${USE_PLUGIN_REALMEDIA_TRUE}" && test -z "${USE_PLUGIN_REALMEDIA_FALSE}"; then
26944 as_fn_error $? "conditional \"USE_PLUGIN_REALMEDIA\" was never defined.
26945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26947 if test -z "${USE_PLUGIN_SYNAESTHESIA_TRUE}" && test -z "${USE_PLUGIN_SYNAESTHESIA_FALSE}"; then
26948 as_fn_error $? "conditional \"USE_PLUGIN_SYNAESTHESIA\" was never defined.
26949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26951 if test -z "${USE_PLUGIN_SYNAESTHESIA_TRUE}" && test -z "${USE_PLUGIN_SYNAESTHESIA_FALSE}"; then
26952 as_fn_error $? "conditional \"USE_PLUGIN_SYNAESTHESIA\" was never defined.
26953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26955 if test -z "${USE_A52DEC_TRUE}" && test -z "${USE_A52DEC_FALSE}"; then
26956 as_fn_error $? "conditional \"USE_A52DEC\" was never defined.
26957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26959 if test -z "${USE_AMRNB_TRUE}" && test -z "${USE_AMRNB_FALSE}"; then
26960 as_fn_error $? "conditional \"USE_AMRNB\" was never defined.
26961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26963 if test -z "${USE_AMRWB_TRUE}" && test -z "${USE_AMRWB_FALSE}"; then
26964 as_fn_error $? "conditional \"USE_AMRWB\" was never defined.
26965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26967 if test -z "${USE_CDIO_TRUE}" && test -z "${USE_CDIO_FALSE}"; then
26968 as_fn_error $? "conditional \"USE_CDIO\" was never defined.
26969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26971 if test -z "${USE_DVDREAD_TRUE}" && test -z "${USE_DVDREAD_FALSE}"; then
26972 as_fn_error $? "conditional \"USE_DVDREAD\" was never defined.
26973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26975 if test -z "${USE_LAME_TRUE}" && test -z "${USE_LAME_FALSE}"; then
26976 as_fn_error $? "conditional \"USE_LAME\" was never defined.
26977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26979 if test -z "${USE_MAD_TRUE}" && test -z "${USE_MAD_FALSE}"; then
26980 as_fn_error $? "conditional \"USE_MAD\" was never defined.
26981 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26983 if test -z "${USE_MPEG2DEC_TRUE}" && test -z "${USE_MPEG2DEC_FALSE}"; then
26984 as_fn_error $? "conditional \"USE_MPEG2DEC\" was never defined.
26985 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26987 if test -z "${USE_SIDPLAY_TRUE}" && test -z "${USE_SIDPLAY_FALSE}"; then
26988 as_fn_error $? "conditional \"USE_SIDPLAY\" was never defined.
26989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26991 if test -z "${USE_TWOLAME_TRUE}" && test -z "${USE_TWOLAME_FALSE}"; then
26992 as_fn_error $? "conditional \"USE_TWOLAME\" was never defined.
26993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26995 if test -z "${USE_X264_TRUE}" && test -z "${USE_X264_FALSE}"; then
26996 as_fn_error $? "conditional \"USE_X264\" was never defined.
26997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
26999 if test -z "${USE_A52DEC_TRUE}" && test -z "${USE_A52DEC_FALSE}"; then
27000 as_fn_error $? "conditional \"USE_A52DEC\" was never defined.
27001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27003 if test -z "${USE_AMRNB_TRUE}" && test -z "${USE_AMRNB_FALSE}"; then
27004 as_fn_error $? "conditional \"USE_AMRNB\" was never defined.
27005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27007 if test -z "${USE_AMRWB_TRUE}" && test -z "${USE_AMRWB_FALSE}"; then
27008 as_fn_error $? "conditional \"USE_AMRWB\" was never defined.
27009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27011 if test -z "${USE_CDIO_TRUE}" && test -z "${USE_CDIO_FALSE}"; then
27012 as_fn_error $? "conditional \"USE_CDIO\" was never defined.
27013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27015 if test -z "${USE_DVDREAD_TRUE}" && test -z "${USE_DVDREAD_FALSE}"; then
27016 as_fn_error $? "conditional \"USE_DVDREAD\" was never defined.
27017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27019 if test -z "${USE_LAME_TRUE}" && test -z "${USE_LAME_FALSE}"; then
27020 as_fn_error $? "conditional \"USE_LAME\" was never defined.
27021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27023 if test -z "${USE_MAD_TRUE}" && test -z "${USE_MAD_FALSE}"; then
27024 as_fn_error $? "conditional \"USE_MAD\" was never defined.
27025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27027 if test -z "${USE_MPEG2DEC_TRUE}" && test -z "${USE_MPEG2DEC_FALSE}"; then
27028 as_fn_error $? "conditional \"USE_MPEG2DEC\" was never defined.
27029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27031 if test -z "${USE_SIDPLAY_TRUE}" && test -z "${USE_SIDPLAY_FALSE}"; then
27032 as_fn_error $? "conditional \"USE_SIDPLAY\" was never defined.
27033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27035 if test -z "${USE_TWOLAME_TRUE}" && test -z "${USE_TWOLAME_FALSE}"; then
27036 as_fn_error $? "conditional \"USE_TWOLAME\" was never defined.
27037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27039 if test -z "${USE_X264_TRUE}" && test -z "${USE_X264_FALSE}"; then
27040 as_fn_error $? "conditional \"USE_X264\" was never defined.
27041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
27044 : "${CONFIG_STATUS=./config.status}"
27046 ac_clean_files_save=$ac_clean_files
27047 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27048 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
27049 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
27051 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
27053 # Generated by $as_me.
27054 # Run this file to recreate the current configuration.
27055 # Compiler output produced by configure, useful for debugging
27056 # configure, is in config.log if it exists.
27059 ac_cs_recheck=false
27062 SHELL=\${CONFIG_SHELL-$SHELL}
27065 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
27066 ## -------------------- ##
27067 ## M4sh Initialization. ##
27068 ## -------------------- ##
27070 # Be more Bourne compatible
27071 DUALCASE=1; export DUALCASE # for MKS sh
27072 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
27075 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27076 # is contrary to our usage. Disable this feature.
27077 alias -g '${1+"$@"}'='"$@"'
27078 setopt NO_GLOB_SUBST
27080 case `(set -o) 2>/dev/null` in #(
27092 # Printing a long string crashes Solaris 7 /usr/bin/printf.
27093 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27094 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27095 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27096 # Prefer a ksh shell builtin over an external printf program on Solaris,
27097 # but without wasting forks for bash or zsh.
27098 if test -z "$BASH_VERSION$ZSH_VERSION" \
27099 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
27100 as_echo='print -r --'
27101 as_echo_n='print -rn --'
27102 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
27103 as_echo='printf %s\n'
27104 as_echo_n='printf %s'
27106 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
27107 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
27108 as_echo_n='/usr/ucb/echo -n'
27110 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
27111 as_echo_n_body='eval
27115 expr "X$arg" : "X\\(.*\\)$as_nl";
27116 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
27118 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
27120 export as_echo_n_body
27121 as_echo_n='sh -c $as_echo_n_body as_echo'
27123 export as_echo_body
27124 as_echo='sh -c $as_echo_body as_echo'
27127 # The user is always right.
27128 if test "${PATH_SEPARATOR+set}" != set; then
27130 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27131 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27138 # We need space, tab and new line, in precisely that order. Quoting is
27139 # there to prevent editors from complaining about space-tab.
27140 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
27141 # splitting by setting IFS to empty value.)
27144 # Find who we are. Look in the path if we contain no directory separator.
27147 *[\\/]* ) as_myself=$0 ;;
27148 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27149 for as_dir in $PATH
27152 test -z "$as_dir" && as_dir=.
27153 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27159 # We did not find ourselves, most probably we were run as `sh COMMAND'
27160 # in which case we are not to be found in the path.
27161 if test "x$as_myself" = x; then
27164 if test ! -f "$as_myself"; then
27165 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27169 # Unset variables that we do not need and which cause bugs (e.g. in
27170 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
27171 # suppresses any "Segmentation fault" message there. '((' could
27172 # trigger a bug in pdksh 5.2.14.
27173 for as_var in BASH_ENV ENV MAIL MAILPATH
27174 do eval test x\${$as_var+set} = xset \
27175 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
27188 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27191 # as_fn_error STATUS ERROR [LINENO LOG_FD]
27192 # ----------------------------------------
27193 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27194 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27195 # script with STATUS, using 1 if that was 0.
27198 as_status=$1; test $as_status -eq 0 && as_status=1
27200 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
27201 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27203 $as_echo "$as_me: error: $2" >&2
27204 as_fn_exit $as_status
27208 # as_fn_set_status STATUS
27209 # -----------------------
27210 # Set $? to STATUS, without forking.
27211 as_fn_set_status ()
27214 } # as_fn_set_status
27216 # as_fn_exit STATUS
27217 # -----------------
27218 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27222 as_fn_set_status $1
27228 # Portably unset VAR.
27231 { eval $1=; unset $1;}
27233 as_unset=as_fn_unset
27234 # as_fn_append VAR VALUE
27235 # ----------------------
27236 # Append the text in VALUE to the end of the definition contained in VAR. Take
27237 # advantage of any shell optimizations that allow amortized linear growth over
27238 # repeated appends, instead of the typical quadratic growth present in naive
27240 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
27241 eval 'as_fn_append ()
27252 # as_fn_arith ARG...
27253 # ------------------
27254 # Perform arithmetic evaluation on the ARGs, and store the result in the
27255 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27256 # must be portable across $(()) and expr.
27257 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
27258 eval 'as_fn_arith ()
27265 as_val=`expr "$@" || test $? -eq 1`
27270 if expr a : '\(a\)' >/dev/null 2>&1 &&
27271 test "X`expr 00001 : '.*\(...\)'`" = X001; then
27277 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27278 as_basename=basename
27283 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
27289 as_me=`$as_basename -- "$0" ||
27290 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27291 X"$0" : 'X\(//\)$' \| \
27292 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27294 sed '/^.*\/\([^/][^/]*\)\/*$/{
27308 # Avoid depending upon Character Ranges.
27309 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27310 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27311 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27312 as_cr_digits='0123456789'
27313 as_cr_alnum=$as_cr_Letters$as_cr_digits
27315 ECHO_C= ECHO_N= ECHO_T=
27316 case `echo -n x` in #(((((
27318 case `echo 'xy\c'` in
27319 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
27321 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
27328 rm -f conf$$ conf$$.exe conf$$.file
27329 if test -d conf$$.dir; then
27330 rm -f conf$$.dir/conf$$.file
27333 mkdir conf$$.dir 2>/dev/null
27335 if (echo >conf$$.file) 2>/dev/null; then
27336 if ln -s conf$$.file conf$$ 2>/dev/null; then
27338 # ... but there are two gotchas:
27339 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27340 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27341 # In both cases, we have to default to `cp -p'.
27342 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27344 elif ln conf$$.file conf$$ 2>/dev/null; then
27352 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27353 rmdir conf$$.dir 2>/dev/null
27358 # Create "$as_dir" as a directory, including parents if necessary.
27363 -*) as_dir=./$as_dir;;
27365 test -d "$as_dir" || eval $as_mkdir_p || {
27369 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27370 *) as_qdir=$as_dir;;
27372 as_dirs="'$as_qdir' $as_dirs"
27373 as_dir=`$as_dirname -- "$as_dir" ||
27374 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27375 X"$as_dir" : 'X\(//\)[^/]' \| \
27376 X"$as_dir" : 'X\(//\)$' \| \
27377 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27378 $as_echo X"$as_dir" |
27379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27383 /^X\(\/\/\)[^/].*/{
27396 test -d "$as_dir" && break
27398 test -z "$as_dirs" || eval "mkdir $as_dirs"
27399 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
27403 if mkdir -p . 2>/dev/null; then
27404 as_mkdir_p='mkdir -p "$as_dir"'
27406 test -d ./-p && rmdir ./-p
27410 if test -x / >/dev/null 2>&1; then
27411 as_test_x='test -x'
27413 if ls -dL / >/dev/null 2>&1; then
27420 if test -d "$1"; then
27426 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
27427 ???[sx]*):;;*)false;;esac;fi
27431 as_executable_p=$as_test_x
27433 # Sed expression to map a string onto a valid CPP name.
27434 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27436 # Sed expression to map a string onto a valid variable name.
27437 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27441 ## ----------------------------------- ##
27442 ## Main body of $CONFIG_STATUS script. ##
27443 ## ----------------------------------- ##
27445 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27448 # Save the log message, to keep $0 and so on meaningful, and to
27449 # report actual input values of CONFIG_FILES etc. instead of their
27450 # values after options handling.
27452 This file was extended by GStreamer Ugly Plug-ins $as_me 0.10.19, which was
27453 generated by GNU Autoconf 2.68. Invocation command line was
27455 CONFIG_FILES = $CONFIG_FILES
27456 CONFIG_HEADERS = $CONFIG_HEADERS
27457 CONFIG_LINKS = $CONFIG_LINKS
27458 CONFIG_COMMANDS = $CONFIG_COMMANDS
27461 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27466 case $ac_config_files in *"
27467 "*) set x $ac_config_files; shift; ac_config_files=$*;;
27470 case $ac_config_headers in *"
27471 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27476 # Files that config.status was made for.
27477 config_files="$ac_config_files"
27478 config_headers="$ac_config_headers"
27479 config_commands="$ac_config_commands"
27483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27485 \`$as_me' instantiates files and other configuration actions
27486 from templates according to the current configuration. Unless the files
27487 and actions are specified as TAGs, all are instantiated by default.
27489 Usage: $0 [OPTION]... [TAG]...
27491 -h, --help print this help, then exit
27492 -V, --version print version number and configuration settings, then exit
27493 --config print configuration, then exit
27494 -q, --quiet, --silent
27495 do not print progress messages
27496 -d, --debug don't remove temporary files
27497 --recheck update $as_me by reconfiguring in the same conditions
27498 --file=FILE[:TEMPLATE]
27499 instantiate the configuration file FILE
27500 --header=FILE[:TEMPLATE]
27501 instantiate the configuration header FILE
27503 Configuration files:
27506 Configuration headers:
27509 Configuration commands:
27512 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
27515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27516 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
27518 GStreamer Ugly Plug-ins config.status 0.10.19
27519 configured by $0, generated by GNU Autoconf 2.68,
27520 with options \\"\$ac_cs_config\\"
27522 Copyright (C) 2010 Free Software Foundation, Inc.
27523 This config.status script is free software; the Free Software Foundation
27524 gives unlimited permission to copy, distribute and modify it."
27531 test -n "\$AWK" || AWK=awk
27534 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27535 # The default lists apply if the user does not specify any file.
27541 ac_option=`expr "X$1" : 'X\([^=]*\)='`
27542 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27546 ac_option=`expr "X$1" : 'X\([^=]*\)='`
27558 # Handling of the options.
27559 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27561 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27562 $as_echo "$ac_cs_version"; exit ;;
27563 --config | --confi | --conf | --con | --co | --c )
27564 $as_echo "$ac_cs_config"; exit ;;
27565 --debug | --debu | --deb | --de | --d | -d )
27567 --file | --fil | --fi | --f )
27570 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27571 '') as_fn_error $? "missing file argument" ;;
27573 as_fn_append CONFIG_FILES " '$ac_optarg'"
27574 ac_need_defaults=false;;
27575 --header | --heade | --head | --hea )
27578 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27580 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
27581 ac_need_defaults=false;;
27583 # Conflict between --help and --header
27584 as_fn_error $? "ambiguous option: \`$1'
27585 Try \`$0 --help' for more information.";;
27586 --help | --hel | -h )
27587 $as_echo "$ac_cs_usage"; exit ;;
27588 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27589 | -silent | --silent | --silen | --sile | --sil | --si | --s)
27592 # This is an error.
27593 -*) as_fn_error $? "unrecognized option: \`$1'
27594 Try \`$0 --help' for more information." ;;
27596 *) as_fn_append ac_config_targets " $1"
27597 ac_need_defaults=false ;;
27603 ac_configure_extra_args=
27605 if $ac_cs_silent; then
27607 ac_configure_extra_args="$ac_configure_extra_args --silent"
27611 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27612 if \$ac_cs_recheck; then
27613 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27615 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27616 CONFIG_SHELL='$SHELL'
27617 export CONFIG_SHELL
27622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27626 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27627 ## Running $as_me. ##
27633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27637 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
27640 # The HP-UX ksh and POSIX shell print the target directory to stdout
27641 # if CDPATH is set.
27642 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27644 sed_quote_subst='$sed_quote_subst'
27645 double_quote_subst='$double_quote_subst'
27646 delay_variable_subst='$delay_variable_subst'
27647 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
27648 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
27649 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27650 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27651 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27652 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27653 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27654 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27655 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27656 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27657 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27658 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
27659 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27660 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27661 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27662 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27663 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27664 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27665 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27666 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27667 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27668 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27669 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27670 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27671 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27672 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27673 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27674 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27675 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27676 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27677 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27678 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27679 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
27680 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
27681 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27682 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27683 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27684 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27685 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
27686 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
27687 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
27688 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27689 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27690 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
27691 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27692 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27693 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27694 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27695 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27696 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27697 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27698 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27699 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27700 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27701 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27702 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27703 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27704 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
27705 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
27706 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
27707 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27708 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27709 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27710 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27711 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27712 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27713 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27714 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27715 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
27716 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27717 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27718 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27719 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27720 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27721 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27722 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27723 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27724 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27725 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27726 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27727 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27728 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27729 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27730 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27731 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27732 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27733 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27734 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27735 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27736 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27737 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27738 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27739 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27740 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27741 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27742 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27743 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27744 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27745 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27746 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27747 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27748 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27749 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27750 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27751 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27752 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
27753 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27754 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27755 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27756 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27757 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27758 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27759 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27760 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27761 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27762 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27763 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27764 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27765 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27766 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27767 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27768 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27769 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27770 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27771 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
27772 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27773 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27774 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27775 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27776 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27777 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27778 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27779 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27780 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27781 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27782 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27783 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27784 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
27785 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
27786 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27787 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27788 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
27789 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
27790 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
27791 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
27792 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
27793 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
27794 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
27795 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
27796 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
27797 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27798 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27799 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
27800 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27801 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27802 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27803 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27804 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27805 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27806 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
27807 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
27808 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
27809 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27810 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
27811 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
27812 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
27813 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
27814 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
27815 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
27816 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
27817 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
27818 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
27819 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27820 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
27821 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
27822 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27823 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27824 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
27825 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
27826 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
27827 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
27828 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
27829 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
27830 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
27831 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
27834 LTCFLAGS='$LTCFLAGS'
27835 compiler='$compiler_DEFAULT'
27837 # A function that is used when there is no print builtin or printf.
27838 func_fallback_echo ()
27840 eval 'cat <<_LTECHO_EOF
27845 # Quote evaled strings.
27862 deplibs_check_method \
27866 sharedlib_from_linklib_cmd \
27869 archiver_list_spec \
27875 lt_cv_sys_global_symbol_pipe \
27876 lt_cv_sys_global_symbol_to_cdecl \
27877 lt_cv_sys_global_symbol_to_c_name_address \
27878 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27879 nm_file_list_spec \
27880 lt_prog_compiler_no_builtin_flag \
27881 lt_prog_compiler_pic \
27882 lt_prog_compiler_wl \
27883 lt_prog_compiler_static \
27884 lt_cv_prog_compiler_c_o \
27893 export_dynamic_flag_spec \
27894 whole_archive_flag_spec \
27895 compiler_needs_object \
27897 allow_undefined_flag \
27898 no_undefined_flag \
27899 hardcode_libdir_flag_spec \
27900 hardcode_libdir_separator \
27904 variables_saved_for_relink \
27906 library_names_spec \
27908 install_override_mode \
27912 compiler_lib_search_dirs \
27917 compiler_lib_search_path \
27921 lt_prog_compiler_no_builtin_flag_CXX \
27922 lt_prog_compiler_pic_CXX \
27923 lt_prog_compiler_wl_CXX \
27924 lt_prog_compiler_static_CXX \
27925 lt_cv_prog_compiler_c_o_CXX \
27926 export_dynamic_flag_spec_CXX \
27927 whole_archive_flag_spec_CXX \
27928 compiler_needs_object_CXX \
27930 allow_undefined_flag_CXX \
27931 no_undefined_flag_CXX \
27932 hardcode_libdir_flag_spec_CXX \
27933 hardcode_libdir_separator_CXX \
27934 exclude_expsyms_CXX \
27935 include_expsyms_CXX \
27936 file_list_spec_CXX \
27937 compiler_lib_search_dirs_CXX \
27938 predep_objects_CXX \
27939 postdep_objects_CXX \
27942 compiler_lib_search_path_CXX; do
27943 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27944 *[\\\\\\\`\\"\\\$]*)
27945 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
27948 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27953 # Double-quote double-evaled strings.
27954 for var in reload_cmds \
27955 old_postinstall_cmds \
27956 old_postuninstall_cmds \
27958 extract_expsyms_cmds \
27959 old_archive_from_new_cmds \
27960 old_archive_from_expsyms_cmds \
27962 archive_expsym_cmds \
27964 module_expsym_cmds \
27965 export_symbols_cmds \
27969 postuninstall_cmds \
27971 sys_lib_search_path_spec \
27972 sys_lib_dlsearch_path_spec \
27974 old_archive_cmds_CXX \
27975 old_archive_from_new_cmds_CXX \
27976 old_archive_from_expsyms_cmds_CXX \
27978 archive_expsym_cmds_CXX \
27980 module_expsym_cmds_CXX \
27981 export_symbols_cmds_CXX \
27983 postlink_cmds_CXX; do
27984 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27985 *[\\\\\\\`\\"\\\$]*)
27986 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
27989 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27994 ac_aux_dir='$ac_aux_dir'
27995 xsi_shell='$xsi_shell'
27996 lt_shell_append='$lt_shell_append'
27998 # See if we are running on zsh, and set the options which allow our
27999 # commands through without removal of \ escapes INIT.
28000 if test -n "\${ZSH_VERSION+set}" ; then
28001 setopt NO_GLOB_SUBST
28007 TIMESTAMP='$TIMESTAMP'
28015 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
28016 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
28017 # from automake < 1.5.
28018 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
28019 # Capture the value of LINGUAS because we need it to compute CATALOGS.
28020 LINGUAS="${LINGUAS-%UNSET%}"
28022 # variables for create stdint.h replacement
28025 ac_stdint_h="$ac_stdint_h"
28026 _ac_stdint_h=`$as_echo "_$PACKAGE-$ac_stdint_h" | $as_tr_cpp`
28027 ac_cv_stdint_message="$ac_cv_stdint_message"
28028 ac_cv_header_stdint_t="$ac_cv_header_stdint_t"
28029 ac_cv_header_stdint_x="$ac_cv_header_stdint_x"
28030 ac_cv_header_stdint_o="$ac_cv_header_stdint_o"
28031 ac_cv_header_stdint_u="$ac_cv_header_stdint_u"
28032 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
28033 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
28034 ac_cv_char_data_model="$ac_cv_char_data_model"
28035 ac_cv_long_data_model="$ac_cv_long_data_model"
28036 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
28037 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
28038 ac_cv_type_intmax_t="$ac_cv_type_intmax_t"
28043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28045 # Handling of arguments.
28046 for ac_config_target in $ac_config_targets
28048 case $ac_config_target in
28049 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
28050 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
28051 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
28052 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
28053 "$ac_stdint_h") CONFIG_COMMANDS="$CONFIG_COMMANDS $ac_stdint_h" ;;
28054 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
28055 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
28056 "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
28057 "gst-libs/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/Makefile" ;;
28058 "gst-libs/gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/gst/Makefile" ;;
28059 "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
28060 "gst/asfdemux/Makefile") CONFIG_FILES="$CONFIG_FILES gst/asfdemux/Makefile" ;;
28061 "gst/dvdlpcmdec/Makefile") CONFIG_FILES="$CONFIG_FILES gst/dvdlpcmdec/Makefile" ;;
28062 "gst/dvdsub/Makefile") CONFIG_FILES="$CONFIG_FILES gst/dvdsub/Makefile" ;;
28063 "gst/iec958/Makefile") CONFIG_FILES="$CONFIG_FILES gst/iec958/Makefile" ;;
28064 "gst/mpegaudioparse/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mpegaudioparse/Makefile" ;;
28065 "gst/mpegstream/Makefile") CONFIG_FILES="$CONFIG_FILES gst/mpegstream/Makefile" ;;
28066 "gst/realmedia/Makefile") CONFIG_FILES="$CONFIG_FILES gst/realmedia/Makefile" ;;
28067 "gst/synaesthesia/Makefile") CONFIG_FILES="$CONFIG_FILES gst/synaesthesia/Makefile" ;;
28068 "ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
28069 "ext/a52dec/Makefile") CONFIG_FILES="$CONFIG_FILES ext/a52dec/Makefile" ;;
28070 "ext/amrnb/Makefile") CONFIG_FILES="$CONFIG_FILES ext/amrnb/Makefile" ;;
28071 "ext/amrwbdec/Makefile") CONFIG_FILES="$CONFIG_FILES ext/amrwbdec/Makefile" ;;
28072 "ext/cdio/Makefile") CONFIG_FILES="$CONFIG_FILES ext/cdio/Makefile" ;;
28073 "ext/dvdread/Makefile") CONFIG_FILES="$CONFIG_FILES ext/dvdread/Makefile" ;;
28074 "ext/lame/Makefile") CONFIG_FILES="$CONFIG_FILES ext/lame/Makefile" ;;
28075 "ext/mad/Makefile") CONFIG_FILES="$CONFIG_FILES ext/mad/Makefile" ;;
28076 "ext/mpeg2dec/Makefile") CONFIG_FILES="$CONFIG_FILES ext/mpeg2dec/Makefile" ;;
28077 "ext/sidplay/Makefile") CONFIG_FILES="$CONFIG_FILES ext/sidplay/Makefile" ;;
28078 "ext/twolame/Makefile") CONFIG_FILES="$CONFIG_FILES ext/twolame/Makefile" ;;
28079 "ext/x264/Makefile") CONFIG_FILES="$CONFIG_FILES ext/x264/Makefile" ;;
28080 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
28081 "docs/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES docs/plugins/Makefile" ;;
28082 "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
28083 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
28084 "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
28085 "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
28086 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
28087 "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
28088 "pkgconfig/gstreamer-plugins-ugly-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gstreamer-plugins-ugly-uninstalled.pc" ;;
28089 "gst-plugins-ugly.spec") CONFIG_FILES="$CONFIG_FILES gst-plugins-ugly.spec" ;;
28091 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
28096 # If the user did not use the arguments to specify the items to instantiate,
28097 # then the envvar interface is used. Set only those that are not.
28098 # We use the long form for the default assignment because of an extremely
28099 # bizarre bug on SunOS 4.1.3.
28100 if $ac_need_defaults; then
28101 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
28102 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
28103 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
28106 # Have a temporary directory for convenience. Make it in the build tree
28107 # simply because there is no reason against having it here, and in addition,
28108 # creating and moving files from /tmp can sometimes cause problems.
28109 # Hook for its removal unless debugging.
28110 # Note that there is a small window in which the directory will not be cleaned:
28111 # after its creation but before its name has been assigned to `$tmp'.
28115 trap 'exit_status=$?
28116 : "${ac_tmp:=$tmp}"
28117 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
28119 trap 'as_fn_exit 1' 1 2 13 15
28121 # Create a (secure) tmp directory for tmp files.
28124 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28128 tmp=./conf$$-$RANDOM
28129 (umask 077 && mkdir "$tmp")
28130 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
28133 # Set up the scripts for CONFIG_FILES section.
28134 # No need to generate them if there are no CONFIG_FILES.
28135 # This happens for instance with `./config.status config.h'.
28136 if test -n "$CONFIG_FILES"; then
28139 ac_cr=`echo X | tr X '\015'`
28140 # On cygwin, bash can eat \r inside `` if the user requested igncr.
28141 # But we know of no other shell where ac_cr would be empty at this
28142 # point, so we can use a bashism as a fallback.
28143 if test "x$ac_cr" = x; then
28144 eval ac_cr=\$\'\\r\'
28146 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28147 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28150 ac_cs_awk_cr=$ac_cr
28153 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
28158 echo "cat >conf$$subs.awk <<_ACEOF" &&
28159 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
28161 } >conf$$subs.sh ||
28162 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28163 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
28165 for ac_last_try in false false false false false :; do
28166 . ./conf$$subs.sh ||
28167 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28169 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
28170 if test $ac_delim_n = $ac_delim_num; then
28172 elif $ac_last_try; then
28173 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28175 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28178 rm -f conf$$subs.sh
28180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28181 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
28185 s/^/S["/; s/!.*/"]=/
28195 s/\(.\{148\}\)..*/\1/
28197 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
28202 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28209 s/\(.\{148\}\)..*/\1/
28211 s/["\\]/\\&/g; s/^/"/; s/$/"/
28215 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28220 ' <conf$$subs.awk | sed '
28225 ' >>$CONFIG_STATUS || ac_write_fail=1
28226 rm -f conf$$subs.awk
28227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28229 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
28230 for (key in S) S_is_set[key] = 1
28236 nfields = split(line, field, "@")
28238 len = length(field[1])
28239 for (i = 2; i < nfields; i++) {
28241 keylen = length(key)
28242 if (S_is_set[key]) {
28244 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28245 len += length(value) + length(field[++i])
28256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28257 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28258 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
28261 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
28262 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
28265 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
28266 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
28267 # trailing colons and then remove the whole line if VPATH becomes empty
28268 # (actually we leave an empty line to preserve line numbers).
28269 if test "x$srcdir" = x.; then
28270 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
28288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28289 fi # test -n "$CONFIG_FILES"
28291 # Set up the scripts for CONFIG_HEADERS section.
28292 # No need to generate them if there are no CONFIG_HEADERS.
28293 # This happens for instance with `./config.status Makefile'.
28294 if test -n "$CONFIG_HEADERS"; then
28295 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
28299 # Transform confdefs.h into an awk script `defines.awk', embedded as
28300 # here-document in config.status, that substitutes the proper values into
28301 # config.h.in to produce config.h.
28303 # Create a delimiter string that does not exist in confdefs.h, to ease
28304 # handling of long lines.
28306 for ac_last_try in false false :; do
28307 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
28308 if test -z "$ac_tt"; then
28310 elif $ac_last_try; then
28311 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
28313 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28317 # For the awk script, D is an array of macro values keyed by name,
28318 # likewise P contains macro parameters if any. Preserve backslash
28319 # newline sequences.
28321 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28323 s/.\{148\}/&'"$ac_delim"'/g
28326 s/^[ ]*#[ ]*define[ ][ ]*/ /
28333 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
28335 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
28339 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
28340 D["\1"]=" \3\\\\\\n"\\/p
28342 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
28347 s/.\{148\}/&'"$ac_delim"'/g
28352 s/["\\]/\\&/g; s/^/"/; s/$/"/p
28355 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
28357 ' <confdefs.h | sed '
28358 s/'"$ac_delim"'/"\\\
28359 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28362 for (key in D) D_is_set[key] = 1
28365 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28367 split(line, arg, " ")
28368 if (arg[1] == "#") {
28372 defundef = substr(arg[1], 2)
28375 split(mac1, mac2, "(") #)
28377 prefix = substr(line, 1, index(line, defundef) - 1)
28378 if (D_is_set[macro]) {
28379 # Preserve the white space surrounding the "#".
28380 print prefix "define", macro P[macro] D[macro]
28383 # Replace #undef with comments. This is necessary, for example,
28384 # in the case of _POSIX_SOURCE, which is predefined and required
28385 # on some systems where configure will not decide to define it.
28386 if (defundef == "undef") {
28387 print "/*", prefix defundef, macro, "*/"
28395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28396 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
28397 fi # test -n "$CONFIG_HEADERS"
28400 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28405 :[FHLC]) ac_mode=$ac_tag; continue;;
28407 case $ac_mode$ac_tag in
28409 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
28410 :[FH]-) ac_tag=-:-;;
28411 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28428 -) ac_f="$ac_tmp/stdin";;
28429 *) # Look for the file first in the build tree, then in the source tree
28430 # (if the path is not absolute). The absolute path cannot be DOS-style,
28431 # because $ac_f cannot contain `:'.
28435 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28437 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28439 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28440 as_fn_append ac_file_inputs " '$ac_f'"
28443 # Let's still pretend it is `configure' which instantiates (i.e., don't
28444 # use $as_me), people would be surprised to read:
28445 # /* config.h. Generated by config.status. */
28446 configure_input='Generated from '`
28447 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28449 if test x"$ac_file" != x-; then
28450 configure_input="$ac_file. $configure_input"
28451 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28452 $as_echo "$as_me: creating $ac_file" >&6;}
28454 # Neutralize special characters interpreted by sed in replacement strings.
28455 case $configure_input in #(
28456 *\&* | *\|* | *\\* )
28457 ac_sed_conf_input=`$as_echo "$configure_input" |
28458 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28459 *) ac_sed_conf_input=$configure_input;;
28463 *:-:* | *:-) cat >"$ac_tmp/stdin" \
28464 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
28469 ac_dir=`$as_dirname -- "$ac_file" ||
28470 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28471 X"$ac_file" : 'X\(//\)[^/]' \| \
28472 X"$ac_file" : 'X\(//\)$' \| \
28473 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28474 $as_echo X"$ac_file" |
28475 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28479 /^X\(\/\/\)[^/].*/{
28492 as_dir="$ac_dir"; as_fn_mkdir_p
28496 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28498 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28499 # A ".." for each directory in $ac_dir_suffix.
28500 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28501 case $ac_top_builddir_sub in
28502 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28503 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28506 ac_abs_top_builddir=$ac_pwd
28507 ac_abs_builddir=$ac_pwd$ac_dir_suffix
28508 # for backward compatibility:
28509 ac_top_builddir=$ac_top_build_prefix
28512 .) # We are building in place.
28514 ac_top_srcdir=$ac_top_builddir_sub
28515 ac_abs_top_srcdir=$ac_pwd ;;
28516 [\\/]* | ?:[\\/]* ) # Absolute name.
28517 ac_srcdir=$srcdir$ac_dir_suffix;
28518 ac_top_srcdir=$srcdir
28519 ac_abs_top_srcdir=$srcdir ;;
28520 *) # Relative name.
28521 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28522 ac_top_srcdir=$ac_top_build_prefix$srcdir
28523 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28525 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
28535 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28536 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28538 ac_MKDIR_P=$MKDIR_P
28540 [\\/$]* | ?:[\\/]* ) ;;
28541 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
28545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28546 # If the template does not know about datarootdir, expand it.
28547 # FIXME: This hack should be removed a few years after 2.60.
28548 ac_datarootdir_hack=; ac_datarootdir_seen=
28559 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28560 *datarootdir*) ac_datarootdir_seen=yes;;
28561 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28563 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28565 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28566 ac_datarootdir_hack='
28567 s&@datadir@&$datadir&g
28568 s&@docdir@&$docdir&g
28569 s&@infodir@&$infodir&g
28570 s&@localedir@&$localedir&g
28571 s&@mandir@&$mandir&g
28572 s&\\\${datarootdir}&$datarootdir&g' ;;
28576 # Neutralize VPATH when `$srcdir' = `.'.
28577 # Shell code in configure.ac might set extrasub.
28578 # FIXME: do we really want to maintain this feature?
28579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28580 ac_sed_extra="$ac_vpsub
28583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28585 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28586 s|@configure_input@|$ac_sed_conf_input|;t t
28587 s&@top_builddir@&$ac_top_builddir_sub&;t t
28588 s&@top_build_prefix@&$ac_top_build_prefix&;t t
28589 s&@srcdir@&$ac_srcdir&;t t
28590 s&@abs_srcdir@&$ac_abs_srcdir&;t t
28591 s&@top_srcdir@&$ac_top_srcdir&;t t
28592 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28593 s&@builddir@&$ac_builddir&;t t
28594 s&@abs_builddir@&$ac_abs_builddir&;t t
28595 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28596 s&@INSTALL@&$ac_INSTALL&;t t
28597 s&@MKDIR_P@&$ac_MKDIR_P&;t t
28598 $ac_datarootdir_hack
28600 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
28601 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28603 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28604 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
28605 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
28606 "$ac_tmp/out"`; test -z "$ac_out"; } &&
28607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28608 which seems to be undefined. Please make sure it is defined" >&5
28609 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28610 which seems to be undefined. Please make sure it is defined" >&2;}
28612 rm -f "$ac_tmp/stdin"
28614 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
28615 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
28617 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28623 if test x"$ac_file" != x-; then
28625 $as_echo "/* $configure_input */" \
28626 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
28627 } >"$ac_tmp/config.h" \
28628 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28629 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
28630 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28631 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28634 mv "$ac_tmp/config.h" "$ac_file" \
28635 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28638 $as_echo "/* $configure_input */" \
28639 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
28640 || as_fn_error $? "could not create -" "$LINENO" 5
28642 # Compute "$ac_file"'s index in $config_headers.
28645 for _am_header in $config_headers :; do
28646 case $_am_header in
28647 $_am_arg | $_am_arg:* )
28650 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
28653 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28654 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28655 X"$_am_arg" : 'X\(//\)[^/]' \| \
28656 X"$_am_arg" : 'X\(//\)$' \| \
28657 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28658 $as_echo X"$_am_arg" |
28659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28663 /^X\(\/\/\)[^/].*/{
28675 s/.*/./; q'`/stamp-h$_am_stamp_count
28678 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28679 $as_echo "$as_me: executing $ac_file commands" >&6;}
28684 case $ac_file$ac_mode in
28685 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
28686 # Autoconf 2.62 quotes --file arguments for eval, but not when files
28687 # are listed without --file. Let's play safe and only enable the eval
28688 # if we detect the quoting.
28689 case $CONFIG_FILES in
28690 *\'*) eval set x "$CONFIG_FILES" ;;
28691 *) set x $CONFIG_FILES ;;
28696 # Strip MF so we end up with the name of the file.
28697 mf=`echo "$mf" | sed -e 's/:.*$//'`
28698 # Check whether this is an Automake generated Makefile or not.
28699 # We used to match only the files named `Makefile.in', but
28700 # some people rename them; so instead we look at the file content.
28701 # Grep'ing the first line is not enough: some people post-process
28702 # each Makefile.in and add a new line on top of each file to say so.
28703 # Grep'ing the whole file is not good either: AIX grep has a line
28704 # limit of 2048, but all sed's we know have understand at least 4000.
28705 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
28706 dirpart=`$as_dirname -- "$mf" ||
28707 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28708 X"$mf" : 'X\(//\)[^/]' \| \
28709 X"$mf" : 'X\(//\)$' \| \
28710 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28716 /^X\(\/\/\)[^/].*/{
28732 # Extract the definition of DEPDIR, am__include, and am__quote
28733 # from the Makefile without running `make'.
28734 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
28735 test -z "$DEPDIR" && continue
28736 am__include=`sed -n 's/^am__include = //p' < "$mf"`
28737 test -z "am__include" && continue
28738 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
28739 # When using ansi2knr, U may be empty or an underscore; expand it
28740 U=`sed -n 's/^U = //p' < "$mf"`
28741 # Find all dependency output files, they are included files with
28742 # $(DEPDIR) in their names. We invoke sed twice because it is the
28743 # simplest approach to changing $(DEPDIR) to its actual value in the
28745 for file in `sed -n "
28746 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28747 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28748 # Make sure the directory exists.
28749 test -f "$dirpart/$file" && continue
28750 fdir=`$as_dirname -- "$file" ||
28751 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28752 X"$file" : 'X\(//\)[^/]' \| \
28753 X"$file" : 'X\(//\)$' \| \
28754 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28755 $as_echo X"$file" |
28756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28760 /^X\(\/\/\)[^/].*/{
28773 as_dir=$dirpart/$fdir; as_fn_mkdir_p
28774 # echo "creating $dirpart/$file"
28775 echo '# dummy' > "$dirpart/$file"
28782 # See if we are running on zsh, and set the options which allow our
28783 # commands through without removal of \ escapes.
28784 if test -n "${ZSH_VERSION+set}" ; then
28785 setopt NO_GLOB_SUBST
28788 cfgfile="${ofile}T"
28789 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28792 cat <<_LT_EOF >> "$cfgfile"
28795 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
28796 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
28797 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28798 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28800 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
28801 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
28803 # Written by Gordon Matzigkeit, 1996
28805 # This file is part of GNU Libtool.
28807 # GNU Libtool is free software; you can redistribute it and/or
28808 # modify it under the terms of the GNU General Public License as
28809 # published by the Free Software Foundation; either version 2 of
28810 # the License, or (at your option) any later version.
28812 # As a special exception to the GNU General Public License,
28813 # if you distribute this file as part of a program or library that
28814 # is built using GNU Libtool, you may include this file under the
28815 # same distribution terms that you use for the rest of that program.
28817 # GNU Libtool is distributed in the hope that it will be useful,
28818 # but WITHOUT ANY WARRANTY; without even the implied warranty of
28819 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28820 # GNU General Public License for more details.
28822 # You should have received a copy of the GNU General Public License
28823 # along with GNU Libtool; see the file COPYING. If not, a copy
28824 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
28825 # obtained by writing to the Free Software Foundation, Inc.,
28826 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
28829 # The names of the tagged configurations supported by this script.
28830 available_tags="CXX "
28832 # ### BEGIN LIBTOOL CONFIG
28834 # Assembler program.
28837 # DLL creation program.
28838 DLLTOOL=$lt_DLLTOOL
28840 # Object dumper program.
28841 OBJDUMP=$lt_OBJDUMP
28843 # Which release of libtool.m4 was used?
28844 macro_version=$macro_version
28845 macro_revision=$macro_revision
28847 # Whether or not to build shared libraries.
28848 build_libtool_libs=$enable_shared
28850 # Whether or not to build static libraries.
28851 build_old_libs=$enable_static
28853 # What type of objects to build.
28856 # Whether or not to optimize for fast installation.
28857 fast_install=$enable_fast_install
28859 # Shell to use when invoking shell scripts.
28862 # An echo program that protects backslashes.
28865 # The PATH separator for the build system.
28866 PATH_SEPARATOR=$lt_PATH_SEPARATOR
28869 host_alias=$host_alias
28873 # The build system.
28874 build_alias=$build_alias
28878 # A sed program that does not truncate output.
28881 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28882 Xsed="\$SED -e 1s/^X//"
28884 # A grep program that handles long lines.
28890 # A literal string matcher.
28893 # A BSD- or MS-compatible name lister.
28896 # Whether we need soft or hard links.
28899 # What is the maximum length of a command?
28900 max_cmd_len=$max_cmd_len
28902 # Object file suffix (normally "o").
28905 # Executable file suffix (normally "").
28908 # whether the shell understands "unset".
28911 # turn spaces into newlines.
28914 # turn newlines into spaces.
28917 # convert \$build file names to \$host format.
28918 to_host_file_cmd=$lt_cv_to_host_file_cmd
28920 # convert \$build files to toolchain format.
28921 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
28923 # Method to check whether dependent libraries are shared objects.
28924 deplibs_check_method=$lt_deplibs_check_method
28926 # Command to use when deplibs_check_method = "file_magic".
28927 file_magic_cmd=$lt_file_magic_cmd
28929 # How to find potential files when deplibs_check_method = "file_magic".
28930 file_magic_glob=$lt_file_magic_glob
28932 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
28933 want_nocaseglob=$lt_want_nocaseglob
28935 # Command to associate shared and link libraries.
28936 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
28941 # Flags to create an archive.
28942 AR_FLAGS=$lt_AR_FLAGS
28944 # How to feed a file listing to the archiver.
28945 archiver_list_spec=$lt_archiver_list_spec
28947 # A symbol stripping program.
28950 # Commands used to install an old-style archive.
28952 old_postinstall_cmds=$lt_old_postinstall_cmds
28953 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28955 # Whether to use a lock for old archive extraction.
28956 lock_old_archive_extraction=$lock_old_archive_extraction
28961 # LTCC compiler flags.
28962 LTCFLAGS=$lt_CFLAGS
28964 # Take the output of nm and produce a listing of raw symbols and C names.
28965 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28967 # Transform the output of nm in a proper C declaration.
28968 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28970 # Transform the output of nm in a C name address pair.
28971 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28973 # Transform the output of nm in a C name address pair when lib prefix is needed.
28974 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28976 # Specify filename containing input files for \$NM.
28977 nm_file_list_spec=$lt_nm_file_list_spec
28979 # The root where to search for dependent libraries,and in which our libraries should be installed.
28980 lt_sysroot=$lt_sysroot
28982 # The name of the directory that contains temporary libtool files.
28985 # Used to examine libraries when file_magic_cmd begins with "file".
28986 MAGIC_CMD=$MAGIC_CMD
28988 # Must we lock files when doing compilation?
28989 need_locks=$lt_need_locks
28992 MANIFEST_TOOL=$lt_MANIFEST_TOOL
28994 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28995 DSYMUTIL=$lt_DSYMUTIL
28997 # Tool to change global to local symbols on Mac OS X.
29000 # Tool to manipulate fat objects and archives on Mac OS X.
29003 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
29006 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
29007 OTOOL64=$lt_OTOOL64
29009 # Old archive suffix (normally "a").
29012 # Shared library suffix (normally ".so").
29013 shrext_cmds=$lt_shrext_cmds
29015 # The commands to extract the exported symbol list from a shared archive.
29016 extract_expsyms_cmds=$lt_extract_expsyms_cmds
29018 # Variables whose values should be saved in libtool wrapper scripts and
29019 # restored at link time.
29020 variables_saved_for_relink=$lt_variables_saved_for_relink
29022 # Do we need the "lib" prefix for modules?
29023 need_lib_prefix=$need_lib_prefix
29025 # Do we need a version for libraries?
29026 need_version=$need_version
29028 # Library versioning type.
29029 version_type=$version_type
29031 # Shared library runtime path variable.
29032 runpath_var=$runpath_var
29034 # Shared library path variable.
29035 shlibpath_var=$shlibpath_var
29037 # Is shlibpath searched before the hard-coded library search path?
29038 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
29040 # Format of library name prefix.
29041 libname_spec=$lt_libname_spec
29043 # List of archive names. First name is the real one, the rest are links.
29044 # The last name is the one that the linker finds with -lNAME
29045 library_names_spec=$lt_library_names_spec
29047 # The coded name of the library, if different from the real name.
29048 soname_spec=$lt_soname_spec
29050 # Permission mode override for installation of shared libraries.
29051 install_override_mode=$lt_install_override_mode
29053 # Command to use after installation of a shared archive.
29054 postinstall_cmds=$lt_postinstall_cmds
29056 # Command to use after uninstallation of a shared archive.
29057 postuninstall_cmds=$lt_postuninstall_cmds
29059 # Commands used to finish a libtool library installation in a directory.
29060 finish_cmds=$lt_finish_cmds
29062 # As "finish_cmds", except a single script fragment to be evaled but
29064 finish_eval=$lt_finish_eval
29066 # Whether we should hardcode library paths into libraries.
29067 hardcode_into_libs=$hardcode_into_libs
29069 # Compile-time system search path for libraries.
29070 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
29072 # Run-time system search path for libraries.
29073 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
29075 # Whether dlopen is supported.
29076 dlopen_support=$enable_dlopen
29078 # Whether dlopen of programs is supported.
29079 dlopen_self=$enable_dlopen_self
29081 # Whether dlopen of statically linked programs is supported.
29082 dlopen_self_static=$enable_dlopen_self_static
29084 # Commands to strip libraries.
29085 old_striplib=$lt_old_striplib
29086 striplib=$lt_striplib
29089 # The linker used to build libraries.
29092 # How to create reloadable object files.
29093 reload_flag=$lt_reload_flag
29094 reload_cmds=$lt_reload_cmds
29096 # Commands used to build an old-style archive.
29097 old_archive_cmds=$lt_old_archive_cmds
29099 # A language specific compiler.
29102 # Is the compiler the GNU compiler?
29105 # Compiler flag to turn off builtin functions.
29106 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
29108 # Additional compiler flags for building library objects.
29109 pic_flag=$lt_lt_prog_compiler_pic
29111 # How to pass a linker flag through the compiler.
29112 wl=$lt_lt_prog_compiler_wl
29114 # Compiler flag to prevent dynamic linking.
29115 link_static_flag=$lt_lt_prog_compiler_static
29117 # Does compiler simultaneously support -c and -o options?
29118 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
29120 # Whether or not to add -lc for building shared libraries.
29121 build_libtool_need_lc=$archive_cmds_need_lc
29123 # Whether or not to disallow shared libs when runtime libs are static.
29124 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
29126 # Compiler flag to allow reflexive dlopens.
29127 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
29129 # Compiler flag to generate shared objects directly from archives.
29130 whole_archive_flag_spec=$lt_whole_archive_flag_spec
29132 # Whether the compiler copes with passing no objects directly.
29133 compiler_needs_object=$lt_compiler_needs_object
29135 # Create an old-style archive from a shared archive.
29136 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
29138 # Create a temporary old-style archive to link instead of a shared archive.
29139 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
29141 # Commands used to build a shared archive.
29142 archive_cmds=$lt_archive_cmds
29143 archive_expsym_cmds=$lt_archive_expsym_cmds
29145 # Commands used to build a loadable module if different from building
29146 # a shared archive.
29147 module_cmds=$lt_module_cmds
29148 module_expsym_cmds=$lt_module_expsym_cmds
29150 # Whether we are building with GNU ld or not.
29151 with_gnu_ld=$lt_with_gnu_ld
29153 # Flag that allows shared libraries with undefined symbols to be built.
29154 allow_undefined_flag=$lt_allow_undefined_flag
29156 # Flag that enforces no undefined symbols.
29157 no_undefined_flag=$lt_no_undefined_flag
29159 # Flag to hardcode \$libdir into a binary during linking.
29160 # This must work even if \$libdir does not exist
29161 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
29163 # Whether we need a single "-rpath" flag with a separated argument.
29164 hardcode_libdir_separator=$lt_hardcode_libdir_separator
29166 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29167 # DIR into the resulting binary.
29168 hardcode_direct=$hardcode_direct
29170 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29171 # DIR into the resulting binary and the resulting library dependency is
29172 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29173 # library is relocated.
29174 hardcode_direct_absolute=$hardcode_direct_absolute
29176 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29177 # into the resulting binary.
29178 hardcode_minus_L=$hardcode_minus_L
29180 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29181 # into the resulting binary.
29182 hardcode_shlibpath_var=$hardcode_shlibpath_var
29184 # Set to "yes" if building a shared library automatically hardcodes DIR
29185 # into the library and all subsequent libraries and executables linked
29187 hardcode_automatic=$hardcode_automatic
29189 # Set to yes if linker adds runtime paths of dependent libraries
29190 # to runtime path list.
29191 inherit_rpath=$inherit_rpath
29193 # Whether libtool must link a program against all its dependency libraries.
29194 link_all_deplibs=$link_all_deplibs
29196 # Set to "yes" if exported symbols are required.
29197 always_export_symbols=$always_export_symbols
29199 # The commands to list exported symbols.
29200 export_symbols_cmds=$lt_export_symbols_cmds
29202 # Symbols that should not be listed in the preloaded symbols.
29203 exclude_expsyms=$lt_exclude_expsyms
29205 # Symbols that must always be exported.
29206 include_expsyms=$lt_include_expsyms
29208 # Commands necessary for linking programs (against libraries) with templates.
29209 prelink_cmds=$lt_prelink_cmds
29211 # Commands necessary for finishing linking programs.
29212 postlink_cmds=$lt_postlink_cmds
29214 # Specify filename containing input files.
29215 file_list_spec=$lt_file_list_spec
29217 # How to hardcode a shared library path into an executable.
29218 hardcode_action=$hardcode_action
29220 # The directories searched by this compiler when creating a shared library.
29221 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
29223 # Dependencies to place before and after the objects being linked to
29224 # create a shared library.
29225 predep_objects=$lt_predep_objects
29226 postdep_objects=$lt_postdep_objects
29227 predeps=$lt_predeps
29228 postdeps=$lt_postdeps
29230 # The library search path used internally by the compiler when linking
29231 # a shared library.
29232 compiler_lib_search_path=$lt_compiler_lib_search_path
29234 # ### END LIBTOOL CONFIG
29240 cat <<\_LT_EOF >> "$cfgfile"
29241 # AIX sometimes has problems with the GCC collect2 program. For some
29242 # reason, if we set the COLLECT_NAMES environment variable, the problems
29243 # vanish in a puff of smoke.
29244 if test "X${COLLECT_NAMES+set}" != Xset; then
29246 export COLLECT_NAMES
29253 ltmain="$ac_aux_dir/ltmain.sh"
29256 # We use sed instead of cat because bash on DJGPP gets confused if
29257 # if finds mixed CR/LF and LF-only lines. Since sed operates in
29258 # text mode, it properly converts lines to CR/LF. This bash problem
29259 # is reportedly fixed, but why not run on old versions too?
29260 sed '$q' "$ltmain" >> "$cfgfile" \
29261 || (rm -f "$cfgfile"; exit 1)
29263 if test x"$xsi_shell" = xyes; then
29264 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
29268 \ */*) func_dirname_result="${1%/*}${2}" ;;\
29269 \ * ) func_dirname_result="${3}" ;;\
29271 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
29272 && mv -f "$cfgfile.tmp" "$cfgfile" \
29273 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29274 test 0 -eq $? || _lt_function_replace_fail=:
29277 sed -e '/^func_basename ()$/,/^} # func_basename /c\
29280 \ func_basename_result="${1##*/}"\
29281 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
29282 && mv -f "$cfgfile.tmp" "$cfgfile" \
29283 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29284 test 0 -eq $? || _lt_function_replace_fail=:
29287 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
29288 func_dirname_and_basename ()\
29291 \ */*) func_dirname_result="${1%/*}${2}" ;;\
29292 \ * ) func_dirname_result="${3}" ;;\
29294 \ func_basename_result="${1##*/}"\
29295 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
29296 && mv -f "$cfgfile.tmp" "$cfgfile" \
29297 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29298 test 0 -eq $? || _lt_function_replace_fail=:
29301 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
29304 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
29305 \ # positional parameters, so assign one to ordinary parameter first.\
29306 \ func_stripname_result=${3}\
29307 \ func_stripname_result=${func_stripname_result#"${1}"}\
29308 \ func_stripname_result=${func_stripname_result%"${2}"}\
29309 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
29310 && mv -f "$cfgfile.tmp" "$cfgfile" \
29311 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29312 test 0 -eq $? || _lt_function_replace_fail=:
29315 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
29316 func_split_long_opt ()\
29318 \ func_split_long_opt_name=${1%%=*}\
29319 \ func_split_long_opt_arg=${1#*=}\
29320 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
29321 && mv -f "$cfgfile.tmp" "$cfgfile" \
29322 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29323 test 0 -eq $? || _lt_function_replace_fail=:
29326 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
29327 func_split_short_opt ()\
29329 \ func_split_short_opt_arg=${1#??}\
29330 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
29331 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
29332 && mv -f "$cfgfile.tmp" "$cfgfile" \
29333 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29334 test 0 -eq $? || _lt_function_replace_fail=:
29337 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
29341 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
29342 \ *) func_lo2o_result=${1} ;;\
29344 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
29345 && mv -f "$cfgfile.tmp" "$cfgfile" \
29346 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29347 test 0 -eq $? || _lt_function_replace_fail=:
29350 sed -e '/^func_xform ()$/,/^} # func_xform /c\
29353 func_xform_result=${1%.*}.lo\
29354 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
29355 && mv -f "$cfgfile.tmp" "$cfgfile" \
29356 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29357 test 0 -eq $? || _lt_function_replace_fail=:
29360 sed -e '/^func_arith ()$/,/^} # func_arith /c\
29363 func_arith_result=$(( $* ))\
29364 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
29365 && mv -f "$cfgfile.tmp" "$cfgfile" \
29366 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29367 test 0 -eq $? || _lt_function_replace_fail=:
29370 sed -e '/^func_len ()$/,/^} # func_len /c\
29373 func_len_result=${#1}\
29374 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
29375 && mv -f "$cfgfile.tmp" "$cfgfile" \
29376 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29377 test 0 -eq $? || _lt_function_replace_fail=:
29381 if test x"$lt_shell_append" = xyes; then
29382 sed -e '/^func_append ()$/,/^} # func_append /c\
29385 eval "${1}+=\\${2}"\
29386 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
29387 && mv -f "$cfgfile.tmp" "$cfgfile" \
29388 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29389 test 0 -eq $? || _lt_function_replace_fail=:
29392 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
29393 func_append_quoted ()\
29395 \ func_quote_for_eval "${2}"\
29396 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
29397 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
29398 && mv -f "$cfgfile.tmp" "$cfgfile" \
29399 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29400 test 0 -eq $? || _lt_function_replace_fail=:
29403 # Save a `func_append' function call where possible by direct use of '+='
29404 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
29405 && mv -f "$cfgfile.tmp" "$cfgfile" \
29406 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29407 test 0 -eq $? || _lt_function_replace_fail=:
29409 # Save a `func_append' function call even when '+=' is not available
29410 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
29411 && mv -f "$cfgfile.tmp" "$cfgfile" \
29412 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
29413 test 0 -eq $? || _lt_function_replace_fail=:
29416 if test x"$_lt_function_replace_fail" = x":"; then
29417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
29418 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
29422 mv -f "$cfgfile" "$ofile" ||
29423 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29427 cat <<_LT_EOF >> "$ofile"
29429 # ### BEGIN LIBTOOL TAG CONFIG: CXX
29431 # The linker used to build libraries.
29434 # How to create reloadable object files.
29435 reload_flag=$lt_reload_flag_CXX
29436 reload_cmds=$lt_reload_cmds_CXX
29438 # Commands used to build an old-style archive.
29439 old_archive_cmds=$lt_old_archive_cmds_CXX
29441 # A language specific compiler.
29442 CC=$lt_compiler_CXX
29444 # Is the compiler the GNU compiler?
29447 # Compiler flag to turn off builtin functions.
29448 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
29450 # Additional compiler flags for building library objects.
29451 pic_flag=$lt_lt_prog_compiler_pic_CXX
29453 # How to pass a linker flag through the compiler.
29454 wl=$lt_lt_prog_compiler_wl_CXX
29456 # Compiler flag to prevent dynamic linking.
29457 link_static_flag=$lt_lt_prog_compiler_static_CXX
29459 # Does compiler simultaneously support -c and -o options?
29460 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
29462 # Whether or not to add -lc for building shared libraries.
29463 build_libtool_need_lc=$archive_cmds_need_lc_CXX
29465 # Whether or not to disallow shared libs when runtime libs are static.
29466 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
29468 # Compiler flag to allow reflexive dlopens.
29469 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
29471 # Compiler flag to generate shared objects directly from archives.
29472 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
29474 # Whether the compiler copes with passing no objects directly.
29475 compiler_needs_object=$lt_compiler_needs_object_CXX
29477 # Create an old-style archive from a shared archive.
29478 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
29480 # Create a temporary old-style archive to link instead of a shared archive.
29481 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
29483 # Commands used to build a shared archive.
29484 archive_cmds=$lt_archive_cmds_CXX
29485 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
29487 # Commands used to build a loadable module if different from building
29488 # a shared archive.
29489 module_cmds=$lt_module_cmds_CXX
29490 module_expsym_cmds=$lt_module_expsym_cmds_CXX
29492 # Whether we are building with GNU ld or not.
29493 with_gnu_ld=$lt_with_gnu_ld_CXX
29495 # Flag that allows shared libraries with undefined symbols to be built.
29496 allow_undefined_flag=$lt_allow_undefined_flag_CXX
29498 # Flag that enforces no undefined symbols.
29499 no_undefined_flag=$lt_no_undefined_flag_CXX
29501 # Flag to hardcode \$libdir into a binary during linking.
29502 # This must work even if \$libdir does not exist
29503 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
29505 # Whether we need a single "-rpath" flag with a separated argument.
29506 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
29508 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29509 # DIR into the resulting binary.
29510 hardcode_direct=$hardcode_direct_CXX
29512 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
29513 # DIR into the resulting binary and the resulting library dependency is
29514 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
29515 # library is relocated.
29516 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
29518 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29519 # into the resulting binary.
29520 hardcode_minus_L=$hardcode_minus_L_CXX
29522 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29523 # into the resulting binary.
29524 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
29526 # Set to "yes" if building a shared library automatically hardcodes DIR
29527 # into the library and all subsequent libraries and executables linked
29529 hardcode_automatic=$hardcode_automatic_CXX
29531 # Set to yes if linker adds runtime paths of dependent libraries
29532 # to runtime path list.
29533 inherit_rpath=$inherit_rpath_CXX
29535 # Whether libtool must link a program against all its dependency libraries.
29536 link_all_deplibs=$link_all_deplibs_CXX
29538 # Set to "yes" if exported symbols are required.
29539 always_export_symbols=$always_export_symbols_CXX
29541 # The commands to list exported symbols.
29542 export_symbols_cmds=$lt_export_symbols_cmds_CXX
29544 # Symbols that should not be listed in the preloaded symbols.
29545 exclude_expsyms=$lt_exclude_expsyms_CXX
29547 # Symbols that must always be exported.
29548 include_expsyms=$lt_include_expsyms_CXX
29550 # Commands necessary for linking programs (against libraries) with templates.
29551 prelink_cmds=$lt_prelink_cmds_CXX
29553 # Commands necessary for finishing linking programs.
29554 postlink_cmds=$lt_postlink_cmds_CXX
29556 # Specify filename containing input files.
29557 file_list_spec=$lt_file_list_spec_CXX
29559 # How to hardcode a shared library path into an executable.
29560 hardcode_action=$hardcode_action_CXX
29562 # The directories searched by this compiler when creating a shared library.
29563 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
29565 # Dependencies to place before and after the objects being linked to
29566 # create a shared library.
29567 predep_objects=$lt_predep_objects_CXX
29568 postdep_objects=$lt_postdep_objects_CXX
29569 predeps=$lt_predeps_CXX
29570 postdeps=$lt_postdeps_CXX
29572 # The library search path used internally by the compiler when linking
29573 # a shared library.
29574 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
29576 # ### END LIBTOOL TAG CONFIG: CXX
29580 "po-directories":C)
29581 for ac_file in $CONFIG_FILES; do
29582 # Support "outfile[:infile[:infile...]]"
29584 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
29586 # PO directories have a Makefile.in generated from Makefile.in.in.
29587 case "$ac_file" in */Makefile.in)
29588 # Adjust a relative srcdir.
29589 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
29590 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
29591 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
29592 # In autoconf-2.13 it is called $ac_given_srcdir.
29593 # In autoconf-2.50 it is called $srcdir.
29594 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
29595 case "$ac_given_srcdir" in
29596 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
29597 /*) top_srcdir="$ac_given_srcdir" ;;
29598 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
29600 # Treat a directory as a PO directory if and only if it has a
29601 # POTFILES.in file. This allows packages to have multiple PO
29602 # directories under different names or in different locations.
29603 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
29604 rm -f "$ac_dir/POTFILES"
29605 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
29606 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
29607 POMAKEFILEDEPS="POTFILES.in"
29608 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
29609 # on $ac_dir but don't depend on user-specified configuration
29611 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
29612 # The LINGUAS file contains the set of available languages.
29613 if test -n "$OBSOLETE_ALL_LINGUAS"; then
29614 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
29616 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
29617 # Hide the ALL_LINGUAS assigment from automake < 1.5.
29618 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
29619 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
29621 # The set of available languages was given in configure.in.
29622 # Hide the ALL_LINGUAS assigment from automake < 1.5.
29623 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
29626 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
29627 # Compute UPDATEPOFILES
29628 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
29629 # Compute DUMMYPOFILES
29630 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
29632 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
29633 case "$ac_given_srcdir" in
29635 *) srcdirpre='$(srcdir)/' ;;
29641 for lang in $ALL_LINGUAS; do
29642 POFILES="$POFILES $srcdirpre$lang.po"
29643 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
29644 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
29645 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
29647 # CATALOGS depends on both $ac_dir and the user's LINGUAS
29648 # environment variable.
29650 if test -n "$ALL_LINGUAS"; then
29651 for presentlang in $ALL_LINGUAS; do
29653 if test "%UNSET%" != "$LINGUAS"; then
29654 desiredlanguages="$LINGUAS"
29656 desiredlanguages="$ALL_LINGUAS"
29658 for desiredlang in $desiredlanguages; do
29659 # Use the presentlang catalog if desiredlang is
29660 # a. equal to presentlang, or
29661 # b. a variant of presentlang (because in this case,
29662 # presentlang can be used as a fallback for messages
29663 # which are not translated in the desiredlang catalog).
29664 case "$desiredlang" in
29665 "$presentlang"*) useit=yes;;
29668 if test $useit = yes; then
29669 INST_LINGUAS="$INST_LINGUAS $presentlang"
29674 if test -n "$INST_LINGUAS"; then
29675 for lang in $INST_LINGUAS; do
29676 CATALOGS="$CATALOGS $lang.gmo"
29679 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
29680 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"
29681 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
29682 if test -f "$f"; then
29684 *.orig | *.bak | *~) ;;
29685 *) cat "$f" >> "$ac_dir/Makefile" ;;
29694 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_stdint_h : $_ac_stdint_h" >&5
29695 $as_echo "$as_me: creating $ac_stdint_h : $_ac_stdint_h" >&6;}
29696 ac_stdint=$tmp/_stdint.h
29698 echo "#ifndef" $_ac_stdint_h >$ac_stdint
29699 echo "#define" $_ac_stdint_h "1" >>$ac_stdint
29700 echo "#ifndef" _GENERATED_STDINT_H >>$ac_stdint
29701 echo "#define" _GENERATED_STDINT_H '"'$PACKAGE $VERSION'"' >>$ac_stdint
29702 echo "/* generated $ac_cv_stdint_message */" >>$ac_stdint
29703 if test "_$ac_cv_header_stdint_t" != "_" ; then
29704 echo "#define _STDINT_HAVE_STDINT_H" "1" >>$ac_stdint
29705 echo "#include <stdint.h>" >>$ac_stdint
29706 echo "#endif" >>$ac_stdint
29707 echo "#endif" >>$ac_stdint
29710 cat >>$ac_stdint <<STDINT_EOF
29712 /* ................... shortcircuit part ........................... */
29714 #if defined HAVE_STDINT_H || defined _STDINT_HAVE_STDINT_H
29715 #include <stdint.h>
29717 #include <stddef.h>
29719 /* .................... configured part ............................ */
29723 echo "/* whether we have a C99 compatible stdint header file */" >>$ac_stdint
29724 if test "_$ac_cv_header_stdint_x" != "_" ; then
29725 ac_header="$ac_cv_header_stdint_x"
29726 echo "#define _STDINT_HEADER_INTPTR" '"'"$ac_header"'"' >>$ac_stdint
29728 echo "/* #undef _STDINT_HEADER_INTPTR */" >>$ac_stdint
29731 echo "/* whether we have a C96 compatible inttypes header file */" >>$ac_stdint
29732 if test "_$ac_cv_header_stdint_o" != "_" ; then
29733 ac_header="$ac_cv_header_stdint_o"
29734 echo "#define _STDINT_HEADER_UINT32" '"'"$ac_header"'"' >>$ac_stdint
29736 echo "/* #undef _STDINT_HEADER_UINT32 */" >>$ac_stdint
29739 echo "/* whether we have a BSD compatible inet types header */" >>$ac_stdint
29740 if test "_$ac_cv_header_stdint_u" != "_" ; then
29741 ac_header="$ac_cv_header_stdint_u"
29742 echo "#define _STDINT_HEADER_U_INT32" '"'"$ac_header"'"' >>$ac_stdint
29744 echo "/* #undef _STDINT_HEADER_U_INT32 */" >>$ac_stdint
29747 echo "" >>$ac_stdint
29749 if test "_$ac_header" != "_" ; then if test "$ac_header" != "stddef.h" ; then
29750 echo "#include <$ac_header>" >>$ac_stdint
29751 echo "" >>$ac_stdint
29754 echo "/* which 64bit typedef has been found */" >>$ac_stdint
29755 if test "$ac_cv_type_uint64_t" = "yes" ; then
29756 echo "#define _STDINT_HAVE_UINT64_T" "1" >>$ac_stdint
29758 echo "/* #undef _STDINT_HAVE_UINT64_T */" >>$ac_stdint
29760 if test "$ac_cv_type_u_int64_t" = "yes" ; then
29761 echo "#define _STDINT_HAVE_U_INT64_T" "1" >>$ac_stdint
29763 echo "/* #undef _STDINT_HAVE_U_INT64_T */" >>$ac_stdint
29765 echo "" >>$ac_stdint
29767 echo "/* which type model has been detected */" >>$ac_stdint
29768 if test "_$ac_cv_char_data_model" != "_" ; then
29769 echo "#define _STDINT_CHAR_MODEL" "$ac_cv_char_data_model" >>$ac_stdint
29770 echo "#define _STDINT_LONG_MODEL" "$ac_cv_long_data_model" >>$ac_stdint
29772 echo "/* #undef _STDINT_CHAR_MODEL // skipped */" >>$ac_stdint
29773 echo "/* #undef _STDINT_LONG_MODEL // skipped */" >>$ac_stdint
29775 echo "" >>$ac_stdint
29777 echo "/* whether int_least types were detected */" >>$ac_stdint
29778 if test "$ac_cv_type_int_least32_t" = "yes"; then
29779 echo "#define _STDINT_HAVE_INT_LEAST32_T" "1" >>$ac_stdint
29781 echo "/* #undef _STDINT_HAVE_INT_LEAST32_T */" >>$ac_stdint
29783 echo "/* whether int_fast types were detected */" >>$ac_stdint
29784 if test "$ac_cv_type_int_fast32_t" = "yes"; then
29785 echo "#define _STDINT_HAVE_INT_FAST32_T" "1" >>$ac_stdint
29787 echo "/* #undef _STDINT_HAVE_INT_FAST32_T */" >>$ac_stdint
29789 echo "/* whether intmax_t type was detected */" >>$ac_stdint
29790 if test "$ac_cv_type_intmax_t" = "yes"; then
29791 echo "#define _STDINT_HAVE_INTMAX_T" "1" >>$ac_stdint
29793 echo "/* #undef _STDINT_HAVE_INTMAX_T */" >>$ac_stdint
29795 echo "" >>$ac_stdint
29797 cat >>$ac_stdint <<STDINT_EOF
29798 /* .................... detections part ............................ */
29800 /* whether we need to define bitspecific types from compiler base types */
29801 #ifndef _STDINT_HEADER_INTPTR
29802 #ifndef _STDINT_HEADER_UINT32
29803 #ifndef _STDINT_HEADER_U_INT32
29804 #define _STDINT_NEED_INT_MODEL_T
29806 #define _STDINT_HAVE_U_INT_TYPES
29811 #ifdef _STDINT_HAVE_U_INT_TYPES
29812 #undef _STDINT_NEED_INT_MODEL_T
29815 #ifdef _STDINT_CHAR_MODEL
29816 #if _STDINT_CHAR_MODEL+0 == 122 || _STDINT_CHAR_MODEL+0 == 124
29817 #ifndef _STDINT_BYTE_MODEL
29818 #define _STDINT_BYTE_MODEL 12
29823 #ifndef _STDINT_HAVE_INT_LEAST32_T
29824 #define _STDINT_NEED_INT_LEAST_T
29827 #ifndef _STDINT_HAVE_INT_FAST32_T
29828 #define _STDINT_NEED_INT_FAST_T
29831 #ifndef _STDINT_HEADER_INTPTR
29832 #define _STDINT_NEED_INTPTR_T
29833 #ifndef _STDINT_HAVE_INTMAX_T
29834 #define _STDINT_NEED_INTMAX_T
29839 /* .................... definition part ............................ */
29841 /* some system headers have good uint64_t */
29842 #ifndef _HAVE_UINT64_T
29843 #if defined _STDINT_HAVE_UINT64_T || defined HAVE_UINT64_T
29844 #define _HAVE_UINT64_T
29845 #elif defined _STDINT_HAVE_U_INT64_T || defined HAVE_U_INT64_T
29846 #define _HAVE_UINT64_T
29847 typedef u_int64_t uint64_t;
29851 #ifndef _HAVE_UINT64_T
29852 /* .. here are some common heuristics using compiler runtime specifics */
29853 #if defined __STDC_VERSION__ && defined __STDC_VERSION__ >= 199901L
29854 #define _HAVE_UINT64_T
29855 #define _HAVE_LONGLONG_UINT64_T
29856 typedef long long int64_t;
29857 typedef unsigned long long uint64_t;
29859 #elif !defined __STRICT_ANSI__
29860 #if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
29861 #define _HAVE_UINT64_T
29862 typedef __int64 int64_t;
29863 typedef unsigned __int64 uint64_t;
29865 #elif defined __GNUC__ || defined __MWERKS__ || defined __ELF__
29866 /* note: all ELF-systems seem to have loff-support which needs 64-bit */
29867 #if !defined _NO_LONGLONG
29868 #define _HAVE_UINT64_T
29869 #define _HAVE_LONGLONG_UINT64_T
29870 typedef long long int64_t;
29871 typedef unsigned long long uint64_t;
29874 #elif defined __alpha || (defined __mips && defined _ABIN32)
29875 #if !defined _NO_LONGLONG
29876 typedef long int64_t;
29877 typedef unsigned long uint64_t;
29879 /* compiler/cpu type to define int64_t */
29884 #if defined _STDINT_HAVE_U_INT_TYPES
29885 /* int8_t int16_t int32_t defined by inet code, redeclare the u_intXX types */
29886 typedef u_int8_t uint8_t;
29887 typedef u_int16_t uint16_t;
29888 typedef u_int32_t uint32_t;
29890 /* glibc compatibility */
29891 #ifndef __int8_t_defined
29892 #define __int8_t_defined
29896 #ifdef _STDINT_NEED_INT_MODEL_T
29897 /* we must guess all the basic types. Apart from byte-adressable system, */
29898 /* there a few 32-bit-only dsp-systems that we guard with BYTE_MODEL 8-} */
29899 /* (btw, those nibble-addressable systems are way off, or so we assume) */
29902 #if defined _STDINT_BYTE_MODEL
29903 #if _STDINT_LONG_MODEL+0 == 242
29904 /* 2:4:2 = IP16 = a normal 16-bit system */
29905 typedef unsigned char uint8_t;
29906 typedef unsigned short uint16_t;
29907 typedef unsigned long uint32_t;
29908 #ifndef __int8_t_defined
29909 #define __int8_t_defined
29910 typedef char int8_t;
29911 typedef short int16_t;
29912 typedef long int32_t;
29914 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL == 444
29915 /* 2:4:4 = LP32 = a 32-bit system derived from a 16-bit */
29916 /* 4:4:4 = ILP32 = a normal 32-bit system */
29917 typedef unsigned char uint8_t;
29918 typedef unsigned short uint16_t;
29919 typedef unsigned int uint32_t;
29920 #ifndef __int8_t_defined
29921 #define __int8_t_defined
29922 typedef char int8_t;
29923 typedef short int16_t;
29924 typedef int int32_t;
29926 #elif _STDINT_LONG_MODEL+0 == 484 || _STDINT_LONG_MODEL+0 == 488
29927 /* 4:8:4 = IP32 = a 32-bit system prepared for 64-bit */
29928 /* 4:8:8 = LP64 = a normal 64-bit system */
29929 typedef unsigned char uint8_t;
29930 typedef unsigned short uint16_t;
29931 typedef unsigned int uint32_t;
29932 #ifndef __int8_t_defined
29933 #define __int8_t_defined
29934 typedef char int8_t;
29935 typedef short int16_t;
29936 typedef int int32_t;
29938 /* this system has a "long" of 64bit */
29939 #ifndef _HAVE_UINT64_T
29940 #define _HAVE_UINT64_T
29941 typedef unsigned long uint64_t;
29942 typedef long int64_t;
29944 #elif _STDINT_LONG_MODEL+0 == 448
29945 /* LLP64 a 64-bit system derived from a 32-bit system */
29946 typedef unsigned char uint8_t;
29947 typedef unsigned short uint16_t;
29948 typedef unsigned int uint32_t;
29949 #ifndef __int8_t_defined
29950 #define __int8_t_defined
29951 typedef char int8_t;
29952 typedef short int16_t;
29953 typedef int int32_t;
29955 /* assuming the system has a "long long" */
29956 #ifndef _HAVE_UINT64_T
29957 #define _HAVE_UINT64_T
29958 #define _HAVE_LONGLONG_UINT64_T
29959 typedef unsigned long long uint64_t;
29960 typedef long long int64_t;
29963 #define _STDINT_NO_INT32_T
29966 #define _STDINT_NO_INT8_T
29967 #define _STDINT_NO_INT32_T
29972 * quote from SunOS-5.8 sys/inttypes.h:
29973 * Use at your own risk. As of February 1996, the committee is squarely
29974 * behind the fixed sized types; the "least" and "fast" types are still being
29975 * discussed. The probability that the "fast" types may be removed before
29976 * the standard is finalized is high enough that they are not currently
29980 #if defined _STDINT_NEED_INT_LEAST_T
29981 typedef int8_t int_least8_t;
29982 typedef int16_t int_least16_t;
29983 typedef int32_t int_least32_t;
29984 #ifdef _HAVE_UINT64_T
29985 typedef int64_t int_least64_t;
29988 typedef uint8_t uint_least8_t;
29989 typedef uint16_t uint_least16_t;
29990 typedef uint32_t uint_least32_t;
29991 #ifdef _HAVE_UINT64_T
29992 typedef uint64_t uint_least64_t;
29997 #if defined _STDINT_NEED_INT_FAST_T
29998 typedef int8_t int_fast8_t;
29999 typedef int int_fast16_t;
30000 typedef int32_t int_fast32_t;
30001 #ifdef _HAVE_UINT64_T
30002 typedef int64_t int_fast64_t;
30005 typedef uint8_t uint_fast8_t;
30006 typedef unsigned uint_fast16_t;
30007 typedef uint32_t uint_fast32_t;
30008 #ifdef _HAVE_UINT64_T
30009 typedef uint64_t uint_fast64_t;
30014 #ifdef _STDINT_NEED_INTMAX_T
30015 #ifdef _HAVE_UINT64_T
30016 typedef int64_t intmax_t;
30017 typedef uint64_t uintmax_t;
30019 typedef long intmax_t;
30020 typedef unsigned long uintmax_t;
30024 #ifdef _STDINT_NEED_INTPTR_T
30025 #ifndef __intptr_t_defined
30026 #define __intptr_t_defined
30027 /* we encourage using "long" to store pointer values, never use "int" ! */
30028 #if _STDINT_LONG_MODEL+0 == 242 || _STDINT_LONG_MODEL+0 == 484
30029 typedef unsigned int uintptr_t;
30030 typedef int intptr_t;
30031 #elif _STDINT_LONG_MODEL+0 == 244 || _STDINT_LONG_MODEL+0 == 444
30032 typedef unsigned long uintptr_t;
30033 typedef long intptr_t;
30034 #elif _STDINT_LONG_MODEL+0 == 448 && defined _HAVE_UINT64_T
30035 typedef uint64_t uintptr_t;
30036 typedef int64_t intptr_t;
30037 #else /* matches typical system types ILP32 and LP64 - but not IP16 or LLP64 */
30038 typedef unsigned long uintptr_t;
30039 typedef long intptr_t;
30044 /* The ISO C99 standard specifies that in C++ implementations these
30045 should only be defined if explicitly requested. */
30046 #if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
30050 # define INT8_C(c) c
30051 # define INT16_C(c) c
30052 # define INT32_C(c) c
30053 # ifdef _HAVE_LONGLONG_UINT64_T
30054 # define INT64_C(c) c ## L
30056 # define INT64_C(c) c ## LL
30060 # define UINT8_C(c) c ## U
30061 # define UINT16_C(c) c ## U
30062 # define UINT32_C(c) c ## U
30063 # ifdef _HAVE_LONGLONG_UINT64_T
30064 # define UINT64_C(c) c ## UL
30066 # define UINT64_C(c) c ## ULL
30069 /* Maximal type. */
30070 # ifdef _HAVE_LONGLONG_UINT64_T
30071 # define INTMAX_C(c) c ## L
30072 # define UINTMAX_C(c) c ## UL
30074 # define INTMAX_C(c) c ## LL
30075 # define UINTMAX_C(c) c ## ULL
30078 /* literalnumbers */
30082 /* These limits are merily those of a two complement byte-oriented system */
30084 /* Minimum of signed integral types. */
30085 # define INT8_MIN (-128)
30086 # define INT16_MIN (-32767-1)
30087 # define INT32_MIN (-2147483647-1)
30088 # define INT64_MIN (-__INT64_C(9223372036854775807)-1)
30089 /* Maximum of signed integral types. */
30090 # define INT8_MAX (127)
30091 # define INT16_MAX (32767)
30092 # define INT32_MAX (2147483647)
30093 # define INT64_MAX (__INT64_C(9223372036854775807))
30095 /* Maximum of unsigned integral types. */
30096 # define UINT8_MAX (255)
30097 # define UINT16_MAX (65535)
30098 # define UINT32_MAX (4294967295U)
30099 # define UINT64_MAX (__UINT64_C(18446744073709551615))
30101 /* Minimum of signed integral types having a minimum size. */
30102 # define INT_LEAST8_MIN INT8_MIN
30103 # define INT_LEAST16_MIN INT16_MIN
30104 # define INT_LEAST32_MIN INT32_MIN
30105 # define INT_LEAST64_MIN INT64_MIN
30106 /* Maximum of signed integral types having a minimum size. */
30107 # define INT_LEAST8_MAX INT8_MAX
30108 # define INT_LEAST16_MAX INT16_MAX
30109 # define INT_LEAST32_MAX INT32_MAX
30110 # define INT_LEAST64_MAX INT64_MAX
30112 /* Maximum of unsigned integral types having a minimum size. */
30113 # define UINT_LEAST8_MAX UINT8_MAX
30114 # define UINT_LEAST16_MAX UINT16_MAX
30115 # define UINT_LEAST32_MAX UINT32_MAX
30116 # define UINT_LEAST64_MAX UINT64_MAX
30125 if cmp -s $ac_stdint_h $ac_stdint 2>/dev/null; then
30126 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_stdint_h is unchanged" >&5
30127 $as_echo "$as_me: $ac_stdint_h is unchanged" >&6;}
30129 ac_dir=`$as_dirname -- "$ac_stdint_h" ||
30130 $as_expr X"$ac_stdint_h" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30131 X"$ac_stdint_h" : 'X\(//\)[^/]' \| \
30132 X"$ac_stdint_h" : 'X\(//\)$' \| \
30133 X"$ac_stdint_h" : 'X\(/\)' \| . 2>/dev/null ||
30134 $as_echo X"$ac_stdint_h" |
30135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30139 /^X\(\/\/\)[^/].*/{
30152 as_dir="$ac_dir"; as_fn_mkdir_p
30154 mv $ac_stdint $ac_stdint_h
30164 ac_clean_files=$ac_clean_files_save
30166 test $ac_write_fail = 0 ||
30167 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
30170 # configure is writing to config.log, and then calls config.status.
30171 # config.status does its own redirection, appending to config.log.
30172 # Unfortunately, on DOS this fails, as config.log is still kept open
30173 # by configure, so config.status won't be able to write to it; its
30174 # output is simply discarded. So we exec the FD to /dev/null,
30175 # effectively closing config.log, so it can be properly (re)opened and
30176 # appended to by config.status. When coming back to configure, we
30177 # need to make the FD available again.
30178 if test "$no_create" != yes; then
30180 ac_config_status_args=
30181 test "$silent" = yes &&
30182 ac_config_status_args="$ac_config_status_args --quiet"
30184 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
30186 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
30187 # would make configure fail if this is the last instruction.
30188 $ac_cs_success || as_fn_exit 1
30190 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
30191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
30192 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
30198 printf "configure: *** Plug-ins without external dependencies that will be built:\n"
30199 ( for i in $GST_PLUGINS_SELECTED; do printf '\t'$i'\n'; done ) | sort
30202 printf "configure: *** Plug-ins without external dependencies that will NOT be built:\n"
30203 ( for i in $GST_PLUGINS_ALL; do
30204 case " $GST_PLUGINS_SELECTED " in
30214 if test "x$BUILD_EXTERNAL" = "xno"; then
30215 printf "configure: *** No plug-ins with external dependencies will be built\n"
30217 printf "configure: *** Plug-ins with dependencies that will be built:"
30218 printf "$GST_PLUGINS_YES\n" | sort
30220 printf "configure: *** Plug-ins with dependencies that will NOT be built:"
30221 printf "$GST_PLUGINS_NO\n" | sort
30227 if test "$HAVE_ORC" = yes ; then
30228 printf "configure: *** Orc acceleration enabled.\n"
30230 if test "x$enable_orc" = "xno" ; then
30231 printf "configure: *** Orc acceleration disabled by --disable-orc. Slower code paths\n"
30232 printf " will be used.\n"
30234 printf "configure: *** Orc acceleration disabled. Requires Orc >= $ORC_REQ, which was\n"
30235 printf " not found. Slower code paths will be used.\n"