2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for GStreamer Libav 0.10.13.
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 Libav'
573 PACKAGE_TARNAME='gst-ffmpeg'
574 PACKAGE_VERSION='0.10.13'
575 PACKAGE_STRING='GStreamer Libav 0.10.13'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
579 ac_unique_file="ext/ffmpeg/gstffmpeg.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>
616 ac_subst_vars='am__EXEEXT_FALSE
620 HAVE_FFMPEG_UNINSTALLED_FALSE
621 HAVE_FFMPEG_UNINSTALLED_TRUE
624 FFMPEG_EXTERNALS_REVISION
634 GST_FFMPEG_ENABLE_LGPL_FALSE
635 GST_FFMPEG_ENABLE_LGPL_TRUE
664 GST_PLUGINS_BASE_LIBS
665 GST_PLUGINS_BASE_CFLAGS
673 ENABLE_PLUGIN_DOCS_FALSE
674 ENABLE_PLUGIN_DOCS_TRUE
684 GTK_DOC_USE_LIBTOOL_FALSE
685 GTK_DOC_USE_LIBTOOL_TRUE
717 HAVE_CPU_CRISV32_FALSE
718 HAVE_CPU_CRISV32_TRUE
721 HAVE_CPU_X86_64_FALSE
802 MAINTAINER_MODE_FALSE
804 PACKAGE_VERSION_RELEASE
806 PACKAGE_VERSION_MICRO
807 PACKAGE_VERSION_MINOR
808 PACKAGE_VERSION_MAJOR
817 INSTALL_STRIP_PROGRAM
859 program_transform_name
872 enable_option_checking
873 enable_maintainer_mode
879 enable_dependency_tracking
897 with_ffmpeg_extra_configure
899 ac_precious_vars='build_alias
915 GST_PLUGINS_BASE_CFLAGS
916 GST_PLUGINS_BASE_LIBS
929 # Initialize some variables set by options.
931 ac_init_version=false
932 ac_unrecognized_opts=
934 # The variables have the same names as the options, with
935 # dashes changed to underlines.
943 program_transform_name=s,x,x,
951 # Installation directory options.
952 # These are left unexpanded so users can "make install exec_prefix=/foo"
953 # and all the variables that are supposed to be based on exec_prefix
954 # by default will actually change.
955 # Use braces instead of parens because sh, perl, etc. also accept them.
956 # (The list follows the same order as the GNU Coding Standards.)
957 bindir='${exec_prefix}/bin'
958 sbindir='${exec_prefix}/sbin'
959 libexecdir='${exec_prefix}/libexec'
960 datarootdir='${prefix}/share'
961 datadir='${datarootdir}'
962 sysconfdir='${prefix}/etc'
963 sharedstatedir='${prefix}/com'
964 localstatedir='${prefix}/var'
965 includedir='${prefix}/include'
966 oldincludedir='/usr/include'
967 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
968 infodir='${datarootdir}/info'
973 libdir='${exec_prefix}/lib'
974 localedir='${datarootdir}/locale'
975 mandir='${datarootdir}/man'
981 # If the previous option needs an argument, assign it.
982 if test -n "$ac_prev"; then
983 eval $ac_prev=\$ac_option
989 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
994 # Accept the important Cygnus configure options, so we can diagnose typos.
996 case $ac_dashdash$ac_option in
1000 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1002 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1003 bindir=$ac_optarg ;;
1005 -build | --build | --buil | --bui | --bu)
1006 ac_prev=build_alias ;;
1007 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1008 build_alias=$ac_optarg ;;
1010 -cache-file | --cache-file | --cache-fil | --cache-fi \
1011 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1012 ac_prev=cache_file ;;
1013 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1014 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1015 cache_file=$ac_optarg ;;
1017 --config-cache | -C)
1018 cache_file=config.cache ;;
1020 -datadir | --datadir | --datadi | --datad)
1022 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1023 datadir=$ac_optarg ;;
1025 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1026 | --dataroo | --dataro | --datar)
1027 ac_prev=datarootdir ;;
1028 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1029 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1030 datarootdir=$ac_optarg ;;
1032 -disable-* | --disable-*)
1033 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1036 as_fn_error $? "invalid feature name: $ac_useropt"
1037 ac_useropt_orig=$ac_useropt
1038 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1041 "enable_$ac_useropt"
1043 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1044 ac_unrecognized_sep=', ';;
1046 eval enable_$ac_useropt=no ;;
1048 -docdir | --docdir | --docdi | --doc | --do)
1050 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1051 docdir=$ac_optarg ;;
1053 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1055 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1056 dvidir=$ac_optarg ;;
1058 -enable-* | --enable-*)
1059 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1060 # Reject names that are not valid shell variable names.
1061 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1062 as_fn_error $? "invalid feature name: $ac_useropt"
1063 ac_useropt_orig=$ac_useropt
1064 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1065 case $ac_user_opts in
1067 "enable_$ac_useropt"
1069 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1070 ac_unrecognized_sep=', ';;
1072 eval enable_$ac_useropt=\$ac_optarg ;;
1074 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1075 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1076 | --exec | --exe | --ex)
1077 ac_prev=exec_prefix ;;
1078 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1079 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1080 | --exec=* | --exe=* | --ex=*)
1081 exec_prefix=$ac_optarg ;;
1083 -gas | --gas | --ga | --g)
1084 # Obsolete; use --with-gas.
1087 -help | --help | --hel | --he | -h)
1088 ac_init_help=long ;;
1089 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1090 ac_init_help=recursive ;;
1091 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1092 ac_init_help=short ;;
1094 -host | --host | --hos | --ho)
1095 ac_prev=host_alias ;;
1096 -host=* | --host=* | --hos=* | --ho=*)
1097 host_alias=$ac_optarg ;;
1099 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1101 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1103 htmldir=$ac_optarg ;;
1105 -includedir | --includedir | --includedi | --included | --include \
1106 | --includ | --inclu | --incl | --inc)
1107 ac_prev=includedir ;;
1108 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1109 | --includ=* | --inclu=* | --incl=* | --inc=*)
1110 includedir=$ac_optarg ;;
1112 -infodir | --infodir | --infodi | --infod | --info | --inf)
1114 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1115 infodir=$ac_optarg ;;
1117 -libdir | --libdir | --libdi | --libd)
1119 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1120 libdir=$ac_optarg ;;
1122 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1123 | --libexe | --libex | --libe)
1124 ac_prev=libexecdir ;;
1125 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1126 | --libexe=* | --libex=* | --libe=*)
1127 libexecdir=$ac_optarg ;;
1129 -localedir | --localedir | --localedi | --localed | --locale)
1130 ac_prev=localedir ;;
1131 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1132 localedir=$ac_optarg ;;
1134 -localstatedir | --localstatedir | --localstatedi | --localstated \
1135 | --localstate | --localstat | --localsta | --localst | --locals)
1136 ac_prev=localstatedir ;;
1137 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1138 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1139 localstatedir=$ac_optarg ;;
1141 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1143 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1144 mandir=$ac_optarg ;;
1146 -nfp | --nfp | --nf)
1147 # Obsolete; use --without-fp.
1150 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1151 | --no-cr | --no-c | -n)
1154 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1155 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1158 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1159 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1160 | --oldin | --oldi | --old | --ol | --o)
1161 ac_prev=oldincludedir ;;
1162 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1163 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1164 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1165 oldincludedir=$ac_optarg ;;
1167 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1169 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1170 prefix=$ac_optarg ;;
1172 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1173 | --program-pre | --program-pr | --program-p)
1174 ac_prev=program_prefix ;;
1175 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1176 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1177 program_prefix=$ac_optarg ;;
1179 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1180 | --program-suf | --program-su | --program-s)
1181 ac_prev=program_suffix ;;
1182 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1183 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1184 program_suffix=$ac_optarg ;;
1186 -program-transform-name | --program-transform-name \
1187 | --program-transform-nam | --program-transform-na \
1188 | --program-transform-n | --program-transform- \
1189 | --program-transform | --program-transfor \
1190 | --program-transfo | --program-transf \
1191 | --program-trans | --program-tran \
1192 | --progr-tra | --program-tr | --program-t)
1193 ac_prev=program_transform_name ;;
1194 -program-transform-name=* | --program-transform-name=* \
1195 | --program-transform-nam=* | --program-transform-na=* \
1196 | --program-transform-n=* | --program-transform-=* \
1197 | --program-transform=* | --program-transfor=* \
1198 | --program-transfo=* | --program-transf=* \
1199 | --program-trans=* | --program-tran=* \
1200 | --progr-tra=* | --program-tr=* | --program-t=*)
1201 program_transform_name=$ac_optarg ;;
1203 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1205 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1206 pdfdir=$ac_optarg ;;
1208 -psdir | --psdir | --psdi | --psd | --ps)
1210 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1213 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1214 | -silent | --silent | --silen | --sile | --sil)
1217 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1219 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1221 sbindir=$ac_optarg ;;
1223 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1224 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1225 | --sharedst | --shareds | --shared | --share | --shar \
1227 ac_prev=sharedstatedir ;;
1228 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1229 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1230 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1232 sharedstatedir=$ac_optarg ;;
1234 -site | --site | --sit)
1236 -site=* | --site=* | --sit=*)
1239 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1241 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1242 srcdir=$ac_optarg ;;
1244 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1245 | --syscon | --sysco | --sysc | --sys | --sy)
1246 ac_prev=sysconfdir ;;
1247 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1248 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1249 sysconfdir=$ac_optarg ;;
1251 -target | --target | --targe | --targ | --tar | --ta | --t)
1252 ac_prev=target_alias ;;
1253 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1254 target_alias=$ac_optarg ;;
1256 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1259 -version | --version | --versio | --versi | --vers | -V)
1260 ac_init_version=: ;;
1263 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1266 as_fn_error $? "invalid package name: $ac_useropt"
1267 ac_useropt_orig=$ac_useropt
1268 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1269 case $ac_user_opts in
1273 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1274 ac_unrecognized_sep=', ';;
1276 eval with_$ac_useropt=\$ac_optarg ;;
1278 -without-* | --without-*)
1279 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1280 # Reject names that are not valid shell variable names.
1281 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1282 as_fn_error $? "invalid package name: $ac_useropt"
1283 ac_useropt_orig=$ac_useropt
1284 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1285 case $ac_user_opts in
1289 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1290 ac_unrecognized_sep=', ';;
1292 eval with_$ac_useropt=no ;;
1295 # Obsolete; use --with-x.
1298 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1299 | --x-incl | --x-inc | --x-in | --x-i)
1300 ac_prev=x_includes ;;
1301 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1302 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1303 x_includes=$ac_optarg ;;
1305 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1306 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1307 ac_prev=x_libraries ;;
1308 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1309 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1310 x_libraries=$ac_optarg ;;
1312 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1313 Try \`$0 --help' for more information"
1317 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1318 # Reject names that are not valid shell variable names.
1319 case $ac_envvar in #(
1320 '' | [0-9]* | *[!_$as_cr_alnum]* )
1321 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1323 eval $ac_envvar=\$ac_optarg
1324 export $ac_envvar ;;
1327 # FIXME: should be removed in autoconf 3.0.
1328 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1329 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1330 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1331 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1337 if test -n "$ac_prev"; then
1338 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1339 as_fn_error $? "missing argument to $ac_option"
1342 if test -n "$ac_unrecognized_opts"; then
1343 case $enable_option_checking in
1345 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1346 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1350 # Check all directory arguments for consistency.
1351 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1352 datadir sysconfdir sharedstatedir localstatedir includedir \
1353 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1354 libdir localedir mandir
1356 eval ac_val=\$$ac_var
1357 # Remove trailing slashes.
1360 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1361 eval $ac_var=\$ac_val;;
1363 # Be sure to have absolute directory names.
1365 [\\/$]* | ?:[\\/]* ) continue;;
1366 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1368 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1371 # There might be people who depend on the old broken behavior: `$host'
1372 # used to hold the argument of --host etc.
1373 # FIXME: To remove some day.
1376 target=$target_alias
1378 # FIXME: To remove some day.
1379 if test "x$host_alias" != x; then
1380 if test "x$build_alias" = x; then
1381 cross_compiling=maybe
1382 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1383 If a cross compiler is detected then cross compile mode will be used" >&2
1384 elif test "x$build_alias" != "x$host_alias"; then
1390 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1392 test "$silent" = yes && exec 6>/dev/null
1395 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1396 ac_ls_di=`ls -di .` &&
1397 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1398 as_fn_error $? "working directory cannot be determined"
1399 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1400 as_fn_error $? "pwd does not report name of working directory"
1403 # Find the source files, if location was not specified.
1404 if test -z "$srcdir"; then
1405 ac_srcdir_defaulted=yes
1406 # Try the directory containing this script, then the parent directory.
1407 ac_confdir=`$as_dirname -- "$as_myself" ||
1408 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1409 X"$as_myself" : 'X\(//\)[^/]' \| \
1410 X"$as_myself" : 'X\(//\)$' \| \
1411 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1412 $as_echo X"$as_myself" |
1413 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1431 if test ! -r "$srcdir/$ac_unique_file"; then
1435 ac_srcdir_defaulted=no
1437 if test ! -r "$srcdir/$ac_unique_file"; then
1438 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1439 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1441 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1443 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1445 # When building in place, set srcdir=.
1446 if test "$ac_abs_confdir" = "$ac_pwd"; then
1449 # Remove unnecessary trailing slashes from srcdir.
1450 # Double slashes in file names in object file debugging info
1451 # mess up M-x gdb in Emacs.
1453 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1455 for ac_var in $ac_precious_vars; do
1456 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1457 eval ac_env_${ac_var}_value=\$${ac_var}
1458 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1459 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1463 # Report the --help message.
1465 if test "$ac_init_help" = "long"; then
1466 # Omit some internal or obsolete options to make the list less imposing.
1467 # This message is too long to be a string in the A/UX 3.1 sh.
1469 \`configure' configures GStreamer Libav 0.10.13 to adapt to many kinds of systems.
1471 Usage: $0 [OPTION]... [VAR=VALUE]...
1473 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1474 VAR=VALUE. See below for descriptions of some of the useful variables.
1476 Defaults for the options are specified in brackets.
1479 -h, --help display this help and exit
1480 --help=short display options specific to this package
1481 --help=recursive display the short help of all the included packages
1482 -V, --version display version information and exit
1483 -q, --quiet, --silent do not print \`checking ...' messages
1484 --cache-file=FILE cache test results in FILE [disabled]
1485 -C, --config-cache alias for \`--cache-file=config.cache'
1486 -n, --no-create do not create output files
1487 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1489 Installation directories:
1490 --prefix=PREFIX install architecture-independent files in PREFIX
1491 [$ac_default_prefix]
1492 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1495 By default, \`make install' will install all the files in
1496 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1497 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1498 for instance \`--prefix=\$HOME'.
1500 For better control, use the options below.
1502 Fine tuning of the installation directories:
1503 --bindir=DIR user executables [EPREFIX/bin]
1504 --sbindir=DIR system admin executables [EPREFIX/sbin]
1505 --libexecdir=DIR program executables [EPREFIX/libexec]
1506 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1507 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1508 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1509 --libdir=DIR object code libraries [EPREFIX/lib]
1510 --includedir=DIR C header files [PREFIX/include]
1511 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1512 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1513 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1514 --infodir=DIR info documentation [DATAROOTDIR/info]
1515 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1516 --mandir=DIR man documentation [DATAROOTDIR/man]
1517 --docdir=DIR documentation root [DATAROOTDIR/doc/gst-ffmpeg]
1518 --htmldir=DIR html documentation [DOCDIR]
1519 --dvidir=DIR dvi documentation [DOCDIR]
1520 --pdfdir=DIR pdf documentation [DOCDIR]
1521 --psdir=DIR ps documentation [DOCDIR]
1527 --program-prefix=PREFIX prepend PREFIX to installed program names
1528 --program-suffix=SUFFIX append SUFFIX to installed program names
1529 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1532 --build=BUILD configure for building on BUILD [guessed]
1533 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1537 if test -n "$ac_init_help"; then
1538 case $ac_init_help in
1539 short | recursive ) echo "Configuration of GStreamer Libav 0.10.13:";;
1544 --disable-option-checking ignore unrecognized --enable/--with options
1545 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1546 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1547 --enable-maintainer-mode enable make rules and dependencies not useful
1548 (and sometimes confusing) to the casual installer
1549 --enable-silent-rules less verbose build output (undo: `make V=1')
1550 --disable-silent-rules verbose build output (undo: `make V=0')
1551 --enable-shared[=PKGS] build shared libraries [default=yes]
1552 --enable-static[=PKGS] build static libraries [default=yes]
1553 --enable-fast-install[=PKGS]
1554 optimize for fast installation [default=yes]
1555 --disable-dependency-tracking speeds up one-time build
1556 --enable-dependency-tracking do not reject slow dependency extractors
1557 --disable-libtool-lock avoid locking (might break parallel builds)
1558 --disable-valgrind disable run-time valgrind detection
1559 --enable-docbook use docbook to build documentation [default=no]
1560 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1561 --enable-orc use Orc if installed
1562 --enable-lgpl build a LGPL licensed gst-ffmpeg
1565 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1566 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1567 --with-pic try to use only PIC/non-PIC objects [default=use
1569 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1570 --with-sysroot=DIR Search for dependent libraries within DIR
1571 (or the compiler's sysroot if not specified).
1572 --with-autoconf use a different autoconf for regeneration of
1574 --with-autoheader use a different autoheader for regeneration of
1576 --with-automake use a different automake for regeneration of
1578 --with-aclocal use a different aclocal for regeneration of
1580 --with-pkg-config-path colon-separated list of pkg-config(1) dirs
1581 --with-package-name specify package name to use in plugins
1582 --with-package-origin specify package origin URL to use in plugins
1583 --with-html-dir=PATH path to installed docs
1584 --with-system-ffmpeg use system Libav libraries
1585 --with-ffmpeg-extra-configure="xxx"
1586 extra configure options for internal ffmpeg
1589 Some influential environment variables:
1590 CC C compiler command
1591 CFLAGS C compiler flags
1592 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1593 nonstandard directory <lib dir>
1594 LIBS libraries to pass to the linker, e.g. -l<library>
1595 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1596 you have headers in a nonstandard directory <include dir>
1598 PKG_CONFIG path to pkg-config utility
1600 C compiler flags for VALGRIND, overriding pkg-config
1602 linker flags for VALGRIND, overriding pkg-config
1603 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1604 GST_LIBS linker flags for GST, overriding pkg-config
1606 C compiler flags for GST_BASE, overriding pkg-config
1608 linker flags for GST_BASE, overriding pkg-config
1609 GST_PLUGINS_BASE_CFLAGS
1610 C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
1611 GST_PLUGINS_BASE_LIBS
1612 linker flags for GST_PLUGINS_BASE, overriding pkg-config
1614 C compiler flags for GST_CHECK, overriding pkg-config
1616 linker flags for GST_CHECK, overriding pkg-config
1617 ORC_CFLAGS C compiler flags for ORC, overriding pkg-config
1618 ORC_LIBS linker flags for ORC, overriding pkg-config
1620 C compiler flags for FFMPEG, overriding pkg-config
1621 FFMPEG_LIBS linker flags for FFMPEG, overriding pkg-config
1623 C compiler flags for POSTPROC, overriding pkg-config
1625 linker flags for POSTPROC, overriding pkg-config
1627 C compiler flags for SWSCALE, overriding pkg-config
1629 linker flags for SWSCALE, overriding pkg-config
1631 Use these variables to override the choices made by `configure' or to help
1632 it to find libraries and programs with nonstandard names/locations.
1634 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
1639 if test "$ac_init_help" = "recursive"; then
1640 # If there are subdirs, report their specific --help.
1641 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1642 test -d "$ac_dir" ||
1643 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1648 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1650 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1651 # A ".." for each directory in $ac_dir_suffix.
1652 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1653 case $ac_top_builddir_sub in
1654 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1655 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1658 ac_abs_top_builddir=$ac_pwd
1659 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1660 # for backward compatibility:
1661 ac_top_builddir=$ac_top_build_prefix
1664 .) # We are building in place.
1666 ac_top_srcdir=$ac_top_builddir_sub
1667 ac_abs_top_srcdir=$ac_pwd ;;
1668 [\\/]* | ?:[\\/]* ) # Absolute name.
1669 ac_srcdir=$srcdir$ac_dir_suffix;
1670 ac_top_srcdir=$srcdir
1671 ac_abs_top_srcdir=$srcdir ;;
1673 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1674 ac_top_srcdir=$ac_top_build_prefix$srcdir
1675 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1677 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1679 cd "$ac_dir" || { ac_status=$?; continue; }
1680 # Check for guested configure.
1681 if test -f "$ac_srcdir/configure.gnu"; then
1683 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1684 elif test -f "$ac_srcdir/configure"; then
1686 $SHELL "$ac_srcdir/configure" --help=recursive
1688 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1690 cd "$ac_pwd" || { ac_status=$?; break; }
1694 test -n "$ac_init_help" && exit $ac_status
1695 if $ac_init_version; then
1697 GStreamer Libav configure 0.10.13
1698 generated by GNU Autoconf 2.68
1700 Copyright (C) 2010 Free Software Foundation, Inc.
1701 This configure script is free software; the Free Software Foundation
1702 gives unlimited permission to copy, distribute and modify it.
1707 ## ------------------------ ##
1708 ## Autoconf initialization. ##
1709 ## ------------------------ ##
1711 # ac_fn_c_try_compile LINENO
1712 # --------------------------
1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_c_try_compile ()
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 rm -f conftest.$ac_objext
1718 if { { ac_try="$ac_compile"
1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_compile") 2>conftest.err
1727 if test -s conftest.err; then
1728 grep -v '^ *+' conftest.err >conftest.er1
1729 cat conftest.er1 >&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_c_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest.$ac_objext; then :
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1744 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745 as_fn_set_status $ac_retval
1747 } # ac_fn_c_try_compile
1749 # ac_fn_c_try_link LINENO
1750 # -----------------------
1751 # Try to link conftest.$ac_ext, and return whether this succeeded.
1754 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1755 rm -f conftest.$ac_objext conftest$ac_exeext
1756 if { { ac_try="$ac_link"
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_link") 2>conftest.err
1765 if test -s conftest.err; then
1766 grep -v '^ *+' conftest.err >conftest.er1
1767 cat conftest.er1 >&5
1768 mv -f conftest.er1 conftest.err
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } && {
1772 test -z "$ac_c_werror_flag" ||
1773 test ! -s conftest.err
1774 } && test -s conftest$ac_exeext && {
1775 test "$cross_compiling" = yes ||
1776 $as_test_x conftest$ac_exeext
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1785 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1786 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1787 # interfere with the next link command; also delete a directory that is
1788 # left behind by Apple's compiler. We do this before executing the actions.
1789 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1790 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1791 as_fn_set_status $ac_retval
1793 } # ac_fn_c_try_link
1795 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1796 # -------------------------------------------------------
1797 # Tests whether HEADER exists and can be compiled using the include files in
1798 # INCLUDES, setting the cache variable VAR accordingly.
1799 ac_fn_c_check_header_compile ()
1801 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1803 $as_echo_n "checking for $2... " >&6; }
1804 if eval \${$3+:} false; then :
1805 $as_echo_n "(cached) " >&6
1807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1808 /* end confdefs.h. */
1812 if ac_fn_c_try_compile "$LINENO"; then :
1817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1821 $as_echo "$ac_res" >&6; }
1822 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1824 } # ac_fn_c_check_header_compile
1826 # ac_fn_c_try_cpp LINENO
1827 # ----------------------
1828 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832 if { { ac_try="$ac_cpp conftest.$ac_ext"
1834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1835 *) ac_try_echo=$ac_try;;
1837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1841 if test -s conftest.err; then
1842 grep -v '^ *+' conftest.err >conftest.er1
1843 cat conftest.er1 >&5
1844 mv -f conftest.er1 conftest.err
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } > conftest.i && {
1848 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1849 test ! -s conftest.err
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.$ac_ext >&5
1858 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 as_fn_set_status $ac_retval
1863 # ac_fn_c_try_run LINENO
1864 # ----------------------
1865 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1866 # that executables *can* be run.
1869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870 if { { ac_try="$ac_link"
1872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1873 *) ac_try_echo=$ac_try;;
1875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876 $as_echo "$ac_try_echo"; } >&5
1877 (eval "$ac_link") 2>&5
1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1881 { { case "(($ac_try" in
1882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1883 *) ac_try_echo=$ac_try;;
1885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1886 $as_echo "$ac_try_echo"; } >&5
1887 (eval "$ac_try") 2>&5
1889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1890 test $ac_status = 0; }; }; then :
1893 $as_echo "$as_me: program exited with status $ac_status" >&5
1894 $as_echo "$as_me: failed program was:" >&5
1895 sed 's/^/| /' conftest.$ac_ext >&5
1897 ac_retval=$ac_status
1899 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1900 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1901 as_fn_set_status $ac_retval
1905 # ac_fn_c_check_func LINENO FUNC VAR
1906 # ----------------------------------
1907 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1908 ac_fn_c_check_func ()
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1912 $as_echo_n "checking for $2... " >&6; }
1913 if eval \${$3+:} false; then :
1914 $as_echo_n "(cached) " >&6
1916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1917 /* end confdefs.h. */
1918 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1920 #define $2 innocuous_$2
1922 /* System header to define __stub macros and hopefully few prototypes,
1923 which can conflict with char $2 (); below.
1924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1925 <limits.h> exists even on freestanding compilers. */
1928 # include <limits.h>
1930 # include <assert.h>
1935 /* Override any GCC internal prototype to avoid an error.
1936 Use char because int might match the return type of a GCC
1937 builtin and then its argument prototype would still apply. */
1942 /* The GNU C library defines this for functions which it implements
1943 to always fail with ENOSYS. Some functions are actually named
1944 something starting with __ and the normal name is an alias. */
1945 #if defined __stub_$2 || defined __stub___$2
1957 if ac_fn_c_try_link "$LINENO"; then :
1962 rm -f core conftest.err conftest.$ac_objext \
1963 conftest$ac_exeext conftest.$ac_ext
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1967 $as_echo "$ac_res" >&6; }
1968 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1970 } # ac_fn_c_check_func
1972 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1973 # ---------------------------------------------
1974 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1976 ac_fn_c_check_decl ()
1978 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1979 as_decl_name=`echo $2|sed 's/ *(.*//'`
1980 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1982 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1983 if eval \${$3+:} false; then :
1984 $as_echo_n "(cached) " >&6
1986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h. */
1992 #ifndef $as_decl_name
1994 (void) $as_decl_use;
1996 (void) $as_decl_name;
2004 if ac_fn_c_try_compile "$LINENO"; then :
2009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013 $as_echo "$ac_res" >&6; }
2014 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2016 } # ac_fn_c_check_decl
2018 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2019 # -------------------------------------------------------
2020 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2021 # the include files in INCLUDES and setting the cache variable VAR
2023 ac_fn_c_check_header_mongrel ()
2025 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2026 if eval \${$3+:} false; then :
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2028 $as_echo_n "checking for $2... " >&6; }
2029 if eval \${$3+:} false; then :
2030 $as_echo_n "(cached) " >&6
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2034 $as_echo "$ac_res" >&6; }
2036 # Is the header compilable?
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2038 $as_echo_n "checking $2 usability... " >&6; }
2039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2040 /* end confdefs.h. */
2044 if ac_fn_c_try_compile "$LINENO"; then :
2045 ac_header_compiler=yes
2047 ac_header_compiler=no
2049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2051 $as_echo "$ac_header_compiler" >&6; }
2053 # Is the header present?
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2055 $as_echo_n "checking $2 presence... " >&6; }
2056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2057 /* end confdefs.h. */
2060 if ac_fn_c_try_cpp "$LINENO"; then :
2061 ac_header_preproc=yes
2063 ac_header_preproc=no
2065 rm -f conftest.err conftest.i conftest.$ac_ext
2066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2067 $as_echo "$ac_header_preproc" >&6; }
2069 # So? What about this header?
2070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2073 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2075 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2079 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2081 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2083 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2085 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2087 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2088 ( $as_echo "## ------------------------------------------------------------------------ ##
2089 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
2090 ## ------------------------------------------------------------------------ ##"
2091 ) | sed "s/^/$as_me: WARNING: /" >&2
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2095 $as_echo_n "checking for $2... " >&6; }
2096 if eval \${$3+:} false; then :
2097 $as_echo_n "(cached) " >&6
2099 eval "$3=\$ac_header_compiler"
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103 $as_echo "$ac_res" >&6; }
2105 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2107 } # ac_fn_c_check_header_mongrel
2108 cat >config.log <<_ACEOF
2109 This file contains any messages produced by compilers while
2110 running configure, to aid debugging if configure makes a mistake.
2112 It was created by GStreamer Libav $as_me 0.10.13, which was
2113 generated by GNU Autoconf 2.68. Invocation command line was
2125 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2126 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2127 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2128 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2129 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2131 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2132 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2134 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2135 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2136 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2137 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2138 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2139 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2140 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148 test -z "$as_dir" && as_dir=.
2149 $as_echo "PATH: $as_dir"
2165 # Keep a trace of the command line.
2166 # Strip out --no-create and --no-recursion so they do not pile up.
2167 # Strip out --silent because we don't want to record it for future runs.
2168 # Also quote any args containing shell meta-characters.
2169 # Make two passes to allow for proper duplicate-argument suppression.
2173 ac_must_keep_next=false
2179 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2181 | -silent | --silent | --silen | --sile | --sil)
2184 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2187 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2189 as_fn_append ac_configure_args1 " '$ac_arg'"
2190 if test $ac_must_keep_next = true; then
2191 ac_must_keep_next=false # Got value, back to normal.
2194 *=* | --config-cache | -C | -disable-* | --disable-* \
2195 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2196 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2197 | -with-* | --with-* | -without-* | --without-* | --x)
2198 case "$ac_configure_args0 " in
2199 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2202 -* ) ac_must_keep_next=true ;;
2205 as_fn_append ac_configure_args " '$ac_arg'"
2210 { ac_configure_args0=; unset ac_configure_args0;}
2211 { ac_configure_args1=; unset ac_configure_args1;}
2213 # When interrupted or exit'd, cleanup temporary files, and complete
2214 # config.log. We remove comments because anyway the quotes in there
2215 # would cause problems or look ugly.
2216 # WARNING: Use '\'' to represent an apostrophe within the trap.
2217 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2218 trap 'exit_status=$?
2219 # Save into config.log some information that might help in debugging.
2223 $as_echo "## ---------------- ##
2224 ## Cache variables. ##
2225 ## ---------------- ##"
2227 # The following way of writing the cache mishandles newlines in values,
2229 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2230 eval ac_val=\$$ac_var
2234 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2235 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2238 _ | IFS | as_nl) ;; #(
2239 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2240 *) { eval $ac_var=; unset $ac_var;} ;;
2245 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2246 *${as_nl}ac_space=\ *)
2248 "s/'\''/'\''\\\\'\'''\''/g;
2249 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2252 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2259 $as_echo "## ----------------- ##
2260 ## Output variables. ##
2261 ## ----------------- ##"
2263 for ac_var in $ac_subst_vars
2265 eval ac_val=\$$ac_var
2267 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2269 $as_echo "$ac_var='\''$ac_val'\''"
2273 if test -n "$ac_subst_files"; then
2274 $as_echo "## ------------------- ##
2275 ## File substitutions. ##
2276 ## ------------------- ##"
2278 for ac_var in $ac_subst_files
2280 eval ac_val=\$$ac_var
2282 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2284 $as_echo "$ac_var='\''$ac_val'\''"
2289 if test -s confdefs.h; then
2290 $as_echo "## ----------- ##
2297 test "$ac_signal" != 0 &&
2298 $as_echo "$as_me: caught signal $ac_signal"
2299 $as_echo "$as_me: exit $exit_status"
2301 rm -f core *.core core.conftest.* &&
2302 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2305 for ac_signal in 1 2 13 15; do
2306 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2310 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2311 rm -f -r conftest* confdefs.h
2313 $as_echo "/* confdefs.h */" > confdefs.h
2315 # Predefined preprocessor variables.
2317 cat >>confdefs.h <<_ACEOF
2318 #define PACKAGE_NAME "$PACKAGE_NAME"
2321 cat >>confdefs.h <<_ACEOF
2322 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2325 cat >>confdefs.h <<_ACEOF
2326 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2329 cat >>confdefs.h <<_ACEOF
2330 #define PACKAGE_STRING "$PACKAGE_STRING"
2333 cat >>confdefs.h <<_ACEOF
2334 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2337 cat >>confdefs.h <<_ACEOF
2338 #define PACKAGE_URL "$PACKAGE_URL"
2342 # Let the site file select an alternate cache file if it wants to.
2343 # Prefer an explicitly selected file to automatically selected ones.
2346 if test -n "$CONFIG_SITE"; then
2347 # We do not want a PATH search for config.site.
2348 case $CONFIG_SITE in #((
2349 -*) ac_site_file1=./$CONFIG_SITE;;
2350 */*) ac_site_file1=$CONFIG_SITE;;
2351 *) ac_site_file1=./$CONFIG_SITE;;
2353 elif test "x$prefix" != xNONE; then
2354 ac_site_file1=$prefix/share/config.site
2355 ac_site_file2=$prefix/etc/config.site
2357 ac_site_file1=$ac_default_prefix/share/config.site
2358 ac_site_file2=$ac_default_prefix/etc/config.site
2360 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2362 test "x$ac_site_file" = xNONE && continue
2363 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2365 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2366 sed 's/^/| /' "$ac_site_file" >&5
2368 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2370 as_fn_error $? "failed to load site script $ac_site_file
2371 See \`config.log' for more details" "$LINENO" 5; }
2375 if test -r "$cache_file"; then
2376 # Some versions of bash will fail to source /dev/null (special files
2377 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2378 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2380 $as_echo "$as_me: loading cache $cache_file" >&6;}
2382 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2383 *) . "./$cache_file";;
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2388 $as_echo "$as_me: creating cache $cache_file" >&6;}
2392 # Check that the precious variables saved in the cache have kept the same
2394 ac_cache_corrupted=false
2395 for ac_var in $ac_precious_vars; do
2396 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2397 eval ac_new_set=\$ac_env_${ac_var}_set
2398 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2399 eval ac_new_val=\$ac_env_${ac_var}_value
2400 case $ac_old_set,$ac_new_set in
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2403 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2404 ac_cache_corrupted=: ;;
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2407 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2408 ac_cache_corrupted=: ;;
2411 if test "x$ac_old_val" != "x$ac_new_val"; then
2412 # differences in whitespace do not lead to failure.
2413 ac_old_val_w=`echo x $ac_old_val`
2414 ac_new_val_w=`echo x $ac_new_val`
2415 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2417 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2418 ac_cache_corrupted=:
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2421 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2422 eval $ac_var=\$ac_old_val
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2425 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2427 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2430 # Pass precious variables to config.status.
2431 if test "$ac_new_set" = set; then
2433 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2434 *) ac_arg=$ac_var=$ac_new_val ;;
2436 case " $ac_configure_args " in
2437 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2438 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2442 if $ac_cache_corrupted; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2446 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2447 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2449 ## -------------------- ##
2450 ## Main body of script. ##
2451 ## -------------------- ##
2454 ac_cpp='$CPP $CPPFLAGS'
2455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2465 am__api_version='1.11'
2468 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2469 if test -f "$ac_dir/install-sh"; then
2471 ac_install_sh="$ac_aux_dir/install-sh -c"
2473 elif test -f "$ac_dir/install.sh"; then
2475 ac_install_sh="$ac_aux_dir/install.sh -c"
2477 elif test -f "$ac_dir/shtool"; then
2479 ac_install_sh="$ac_aux_dir/shtool install -c"
2483 if test -z "$ac_aux_dir"; then
2484 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2487 # These three variables are undocumented and unsupported,
2488 # and are intended to be withdrawn in a future Autoconf release.
2489 # They can cause serious problems if a builder's source tree is in a directory
2490 # whose full name contains unusual characters.
2491 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2492 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2493 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2496 # Find a good install program. We prefer a C program (faster),
2497 # so one script is as good as another. But avoid the broken or
2498 # incompatible versions:
2499 # SysV /etc/install, /usr/sbin/install
2500 # SunOS /usr/etc/install
2501 # IRIX /sbin/install
2503 # AmigaOS /C/install, which installs bootblocks on floppy discs
2504 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2505 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2506 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2507 # OS/2's system install, which has a completely different semantic
2508 # ./install, which can be erroneously created by make from ./install.sh.
2509 # Reject install programs that cannot install multiple files.
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2511 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2512 if test -z "$INSTALL"; then
2513 if ${ac_cv_path_install+:} false; then :
2514 $as_echo_n "(cached) " >&6
2516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2520 test -z "$as_dir" && as_dir=.
2521 # Account for people who put trailing slashes in PATH elements.
2522 case $as_dir/ in #((
2523 ./ | .// | /[cC]/* | \
2524 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2525 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2528 # OSF1 and SCO ODT 3.0 have their own names for install.
2529 # Don't use installbsd from OSF since it installs stuff as root
2531 for ac_prog in ginstall scoinst install; do
2532 for ac_exec_ext in '' $ac_executable_extensions; do
2533 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2534 if test $ac_prog = install &&
2535 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2536 # AIX install. It has an incompatible calling convention.
2538 elif test $ac_prog = install &&
2539 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2540 # program-specific install script used by HP pwplus--don't use.
2543 rm -rf conftest.one conftest.two conftest.dir
2544 echo one > conftest.one
2545 echo two > conftest.two
2547 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2548 test -s conftest.one && test -s conftest.two &&
2549 test -s conftest.dir/conftest.one &&
2550 test -s conftest.dir/conftest.two
2552 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2565 rm -rf conftest.one conftest.two conftest.dir
2568 if test "${ac_cv_path_install+set}" = set; then
2569 INSTALL=$ac_cv_path_install
2571 # As a last resort, use the slow shell script. Don't cache a
2572 # value for INSTALL within a source directory, because that will
2573 # break other packages using the cache if that directory is
2574 # removed, or if the value is a relative name.
2575 INSTALL=$ac_install_sh
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2579 $as_echo "$INSTALL" >&6; }
2581 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2582 # It thinks the first close brace ends the variable substitution.
2583 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2585 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2587 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2590 $as_echo_n "checking whether build environment is sane... " >&6; }
2593 echo timestamp > conftest.file
2594 # Reject unsafe characters in $srcdir or the absolute working directory
2595 # name. Accept space and tab only in the latter.
2599 *[\\\"\#\$\&\'\`$am_lf]*)
2600 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2603 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2604 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2607 # Do `set' in a subshell so we don't clobber the current shell's
2608 # arguments. Must try -L first in case configure is actually a
2609 # symlink; some systems play weird games with the mod time of symlinks
2610 # (eg FreeBSD returns the mod time of the symlink's containing
2613 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2614 if test "$*" = "X"; then
2616 set X `ls -t "$srcdir/configure" conftest.file`
2619 if test "$*" != "X $srcdir/configure conftest.file" \
2620 && test "$*" != "X conftest.file $srcdir/configure"; then
2622 # If neither matched, then we have a broken ls. This can happen
2623 # if, for instance, CONFIG_SHELL is bash and it inherits a
2624 # broken ls alias from the environment. This has actually
2625 # happened. Such a system could not be considered "sane".
2626 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2627 alias in your environment" "$LINENO" 5
2630 test "$2" = conftest.file
2636 as_fn_error $? "newly created file is older than distributed files!
2637 Check your system clock" "$LINENO" 5
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2640 $as_echo "yes" >&6; }
2641 test "$program_prefix" != NONE &&
2642 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2643 # Use a double $ so make ignores it.
2644 test "$program_suffix" != NONE &&
2645 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2646 # Double any \ or $.
2647 # By default was `s,x,x', remove it if useless.
2648 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2649 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2651 # expand $ac_aux_dir to an absolute path
2652 am_aux_dir=`cd $ac_aux_dir && pwd`
2654 if test x"${MISSING+set}" != xset; then
2657 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2659 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2662 # Use eval to expand $SHELL
2663 if eval "$MISSING --run true"; then
2664 am_missing_run="$MISSING --run "
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2668 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2671 if test x"${install_sh}" != xset; then
2674 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2676 install_sh="\${SHELL} $am_aux_dir/install-sh"
2680 # Installed binaries are usually stripped using `strip' when the user
2681 # run `make install-strip'. However `strip' might not be the right
2682 # tool to use in cross-compilation environments, therefore Automake
2683 # will honor the `STRIP' environment variable to overrule this program.
2684 if test "$cross_compiling" != no; then
2685 if test -n "$ac_tool_prefix"; then
2686 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2687 set dummy ${ac_tool_prefix}strip; ac_word=$2
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2689 $as_echo_n "checking for $ac_word... " >&6; }
2690 if ${ac_cv_prog_STRIP+:} false; then :
2691 $as_echo_n "(cached) " >&6
2693 if test -n "$STRIP"; then
2694 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700 test -z "$as_dir" && as_dir=.
2701 for ac_exec_ext in '' $ac_executable_extensions; do
2702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2703 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713 STRIP=$ac_cv_prog_STRIP
2714 if test -n "$STRIP"; then
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2716 $as_echo "$STRIP" >&6; }
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719 $as_echo "no" >&6; }
2724 if test -z "$ac_cv_prog_STRIP"; then
2726 # Extract the first word of "strip", so it can be a program name with args.
2727 set dummy strip; ac_word=$2
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2729 $as_echo_n "checking for $ac_word... " >&6; }
2730 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2731 $as_echo_n "(cached) " >&6
2733 if test -n "$ac_ct_STRIP"; then
2734 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740 test -z "$as_dir" && as_dir=.
2741 for ac_exec_ext in '' $ac_executable_extensions; do
2742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2743 ac_cv_prog_ac_ct_STRIP="strip"
2744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2753 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2754 if test -n "$ac_ct_STRIP"; then
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2756 $as_echo "$ac_ct_STRIP" >&6; }
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2759 $as_echo "no" >&6; }
2762 if test "x$ac_ct_STRIP" = x; then
2765 case $cross_compiling:$ac_tool_warned in
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2769 ac_tool_warned=yes ;;
2774 STRIP="$ac_cv_prog_STRIP"
2778 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2781 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2782 if test -z "$MKDIR_P"; then
2783 if ${ac_cv_path_mkdir+:} false; then :
2784 $as_echo_n "(cached) " >&6
2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2787 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2790 test -z "$as_dir" && as_dir=.
2791 for ac_prog in mkdir gmkdir; do
2792 for ac_exec_ext in '' $ac_executable_extensions; do
2793 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2794 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2795 'mkdir (GNU coreutils) '* | \
2796 'mkdir (coreutils) '* | \
2797 'mkdir (fileutils) '4.1*)
2798 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2808 test -d ./--version && rmdir ./--version
2809 if test "${ac_cv_path_mkdir+set}" = set; then
2810 MKDIR_P="$ac_cv_path_mkdir -p"
2812 # As a last resort, use the slow shell script. Don't cache a
2813 # value for MKDIR_P within a source directory, because that will
2814 # break other packages using the cache if that directory is
2815 # removed, or if the value is a relative name.
2816 MKDIR_P="$ac_install_sh -d"
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2820 $as_echo "$MKDIR_P" >&6; }
2824 [\\/$]* | ?:[\\/]*) ;;
2825 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2828 for ac_prog in gawk mawk nawk awk
2830 # Extract the first word of "$ac_prog", so it can be a program name with args.
2831 set dummy $ac_prog; ac_word=$2
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2833 $as_echo_n "checking for $ac_word... " >&6; }
2834 if ${ac_cv_prog_AWK+:} false; then :
2835 $as_echo_n "(cached) " >&6
2837 if test -n "$AWK"; then
2838 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2844 test -z "$as_dir" && as_dir=.
2845 for ac_exec_ext in '' $ac_executable_extensions; do
2846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2847 ac_cv_prog_AWK="$ac_prog"
2848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2858 if test -n "$AWK"; then
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2860 $as_echo "$AWK" >&6; }
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2863 $as_echo "no" >&6; }
2867 test -n "$AWK" && break
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2871 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2873 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2874 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2875 $as_echo_n "(cached) " >&6
2877 cat >conftest.make <<\_ACEOF
2880 @echo '@@@%%%=$(MAKE)=@@@%%%'
2882 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2883 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2885 eval ac_cv_prog_make_${ac_make}_set=yes;;
2887 eval ac_cv_prog_make_${ac_make}_set=no;;
2891 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2893 $as_echo "yes" >&6; }
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2897 $as_echo "no" >&6; }
2898 SET_MAKE="MAKE=${MAKE-make}"
2901 rm -rf .tst 2>/dev/null
2902 mkdir .tst 2>/dev/null
2903 if test -d .tst; then
2908 rmdir .tst 2>/dev/null
2910 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2911 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2912 # is not polluted with repeated "-I."
2913 am__isrc=' -I$(srcdir)'
2914 # test to see if srcdir already configured
2915 if test -f $srcdir/config.status; then
2916 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2920 # test whether we have cygpath
2921 if test -z "$CYGPATH_W"; then
2922 if (cygpath --version) >/dev/null 2>/dev/null; then
2923 CYGPATH_W='cygpath -w'
2930 # Define the identity of the package.
2931 PACKAGE='gst-ffmpeg'
2935 cat >>confdefs.h <<_ACEOF
2936 #define PACKAGE "$PACKAGE"
2940 cat >>confdefs.h <<_ACEOF
2941 #define VERSION "$VERSION"
2944 # Some tools Automake needs.
2946 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2949 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2952 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2955 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2958 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2960 # We need awk for the "check" target. The system "awk" is bad on
2962 # Always define AMTAR for backward compatibility.
2964 AMTAR=${AMTAR-"${am_missing_run}tar"}
2966 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2974 PACKAGE_VERSION_MAJOR=$(echo 0.10.13 | cut -d'.' -f1)
2975 PACKAGE_VERSION_MINOR=$(echo 0.10.13 | cut -d'.' -f2)
2976 PACKAGE_VERSION_MICRO=$(echo 0.10.13 | cut -d'.' -f3)
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
2985 $as_echo_n "checking nano version... " >&6; }
2987 NANO=$(echo 0.10.13 | cut -d'.' -f4)
2989 if test x"$NANO" = x || test "x$NANO" = "x0" ; then
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
2991 $as_echo "0 (release)" >&6; }
2993 PACKAGE_VERSION_RELEASE=1
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
2997 $as_echo "$NANO" >&6; }
2998 PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
2999 if test "x$NANO" != "x1" ; then
3005 PACKAGE_VERSION_NANO=$NANO
3012 ac_config_headers="$ac_config_headers config.h"
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3017 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3018 # Check whether --enable-maintainer-mode was given.
3019 if test "${enable_maintainer_mode+set}" = set; then :
3020 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3022 USE_MAINTAINER_MODE=no
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3026 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3027 if test $USE_MAINTAINER_MODE = yes; then
3028 MAINTAINER_MODE_TRUE=
3029 MAINTAINER_MODE_FALSE='#'
3031 MAINTAINER_MODE_TRUE='#'
3032 MAINTAINER_MODE_FALSE=
3035 MAINT=$MAINTAINER_MODE_TRUE
3039 # Make sure we can run config.sub.
3040 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3041 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3044 $as_echo_n "checking build system type... " >&6; }
3045 if ${ac_cv_build+:} false; then :
3046 $as_echo_n "(cached) " >&6
3048 ac_build_alias=$build_alias
3049 test "x$ac_build_alias" = x &&
3050 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3051 test "x$ac_build_alias" = x &&
3052 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3053 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3054 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3058 $as_echo "$ac_cv_build" >&6; }
3059 case $ac_cv_build in
3061 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3064 ac_save_IFS=$IFS; IFS='-'
3070 # Remember, the first character of IFS is used to create $*,
3071 # except with old shells:
3074 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3078 $as_echo_n "checking host system type... " >&6; }
3079 if ${ac_cv_host+:} false; then :
3080 $as_echo_n "(cached) " >&6
3082 if test "x$host_alias" = x; then
3083 ac_cv_host=$ac_cv_build
3085 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3086 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3091 $as_echo "$ac_cv_host" >&6; }
3094 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3097 ac_save_IFS=$IFS; IFS='-'
3103 # Remember, the first character of IFS is used to create $*,
3104 # except with old shells:
3107 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3111 # Check whether --enable-silent-rules was given.
3112 if test "${enable_silent_rules+set}" = set; then :
3113 enableval=$enable_silent_rules;
3116 case $enable_silent_rules in
3117 yes) AM_DEFAULT_VERBOSITY=0;;
3118 no) AM_DEFAULT_VERBOSITY=1;;
3119 *) AM_DEFAULT_VERBOSITY=0;;
3124 GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
3131 lt_cv_deplibs_check_method=pass_all
3136 enable_win32_dll=yes
3139 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3140 if test -n "$ac_tool_prefix"; then
3141 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3142 set dummy ${ac_tool_prefix}as; ac_word=$2
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3144 $as_echo_n "checking for $ac_word... " >&6; }
3145 if ${ac_cv_prog_AS+:} false; then :
3146 $as_echo_n "(cached) " >&6
3148 if test -n "$AS"; then
3149 ac_cv_prog_AS="$AS" # Let the user override the test.
3151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3155 test -z "$as_dir" && as_dir=.
3156 for ac_exec_ext in '' $ac_executable_extensions; do
3157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3158 ac_cv_prog_AS="${ac_tool_prefix}as"
3159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3169 if test -n "$AS"; then
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3171 $as_echo "$AS" >&6; }
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3174 $as_echo "no" >&6; }
3179 if test -z "$ac_cv_prog_AS"; then
3181 # Extract the first word of "as", so it can be a program name with args.
3182 set dummy as; ac_word=$2
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3184 $as_echo_n "checking for $ac_word... " >&6; }
3185 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3186 $as_echo_n "(cached) " >&6
3188 if test -n "$ac_ct_AS"; then
3189 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3195 test -z "$as_dir" && as_dir=.
3196 for ac_exec_ext in '' $ac_executable_extensions; do
3197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3198 ac_cv_prog_ac_ct_AS="as"
3199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3208 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3209 if test -n "$ac_ct_AS"; then
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3211 $as_echo "$ac_ct_AS" >&6; }
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3214 $as_echo "no" >&6; }
3217 if test "x$ac_ct_AS" = x; then
3220 case $cross_compiling:$ac_tool_warned in
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3224 ac_tool_warned=yes ;;
3232 if test -n "$ac_tool_prefix"; then
3233 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3234 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3236 $as_echo_n "checking for $ac_word... " >&6; }
3237 if ${ac_cv_prog_DLLTOOL+:} false; then :
3238 $as_echo_n "(cached) " >&6
3240 if test -n "$DLLTOOL"; then
3241 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3247 test -z "$as_dir" && as_dir=.
3248 for ac_exec_ext in '' $ac_executable_extensions; do
3249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3250 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3260 DLLTOOL=$ac_cv_prog_DLLTOOL
3261 if test -n "$DLLTOOL"; then
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3263 $as_echo "$DLLTOOL" >&6; }
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3266 $as_echo "no" >&6; }
3271 if test -z "$ac_cv_prog_DLLTOOL"; then
3272 ac_ct_DLLTOOL=$DLLTOOL
3273 # Extract the first word of "dlltool", so it can be a program name with args.
3274 set dummy dlltool; ac_word=$2
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276 $as_echo_n "checking for $ac_word... " >&6; }
3277 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3278 $as_echo_n "(cached) " >&6
3280 if test -n "$ac_ct_DLLTOOL"; then
3281 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3287 test -z "$as_dir" && as_dir=.
3288 for ac_exec_ext in '' $ac_executable_extensions; do
3289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3290 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3300 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3301 if test -n "$ac_ct_DLLTOOL"; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3303 $as_echo "$ac_ct_DLLTOOL" >&6; }
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3309 if test "x$ac_ct_DLLTOOL" = x; then
3312 case $cross_compiling:$ac_tool_warned in
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3316 ac_tool_warned=yes ;;
3318 DLLTOOL=$ac_ct_DLLTOOL
3321 DLLTOOL="$ac_cv_prog_DLLTOOL"
3324 if test -n "$ac_tool_prefix"; then
3325 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3326 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3328 $as_echo_n "checking for $ac_word... " >&6; }
3329 if ${ac_cv_prog_OBJDUMP+:} false; then :
3330 $as_echo_n "(cached) " >&6
3332 if test -n "$OBJDUMP"; then
3333 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3339 test -z "$as_dir" && as_dir=.
3340 for ac_exec_ext in '' $ac_executable_extensions; do
3341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3342 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3352 OBJDUMP=$ac_cv_prog_OBJDUMP
3353 if test -n "$OBJDUMP"; then
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3355 $as_echo "$OBJDUMP" >&6; }
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3358 $as_echo "no" >&6; }
3363 if test -z "$ac_cv_prog_OBJDUMP"; then
3364 ac_ct_OBJDUMP=$OBJDUMP
3365 # Extract the first word of "objdump", so it can be a program name with args.
3366 set dummy objdump; ac_word=$2
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3368 $as_echo_n "checking for $ac_word... " >&6; }
3369 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3370 $as_echo_n "(cached) " >&6
3372 if test -n "$ac_ct_OBJDUMP"; then
3373 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 test -z "$as_dir" && as_dir=.
3380 for ac_exec_ext in '' $ac_executable_extensions; do
3381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3382 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3392 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3393 if test -n "$ac_ct_OBJDUMP"; then
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3395 $as_echo "$ac_ct_OBJDUMP" >&6; }
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3398 $as_echo "no" >&6; }
3401 if test "x$ac_ct_OBJDUMP" = x; then
3404 case $cross_compiling:$ac_tool_warned in
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3408 ac_tool_warned=yes ;;
3410 OBJDUMP=$ac_ct_OBJDUMP
3413 OBJDUMP="$ac_cv_prog_OBJDUMP"
3419 test -z "$AS" && AS=as
3425 test -z "$DLLTOOL" && DLLTOOL=dlltool
3431 test -z "$OBJDUMP" && OBJDUMP=objdump
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3442 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3448 macro_revision='1.3293'
3462 ltmain="$ac_aux_dir/ltmain.sh"
3464 # Backslashify metacharacters that are still active within
3465 # double-quoted strings.
3466 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3468 # Same as above, but do not quote variable references.
3469 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3471 # Sed substitution to delay expansion of an escaped shell variable in a
3472 # double_quote_subst'ed string.
3473 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3475 # Sed substitution to delay expansion of an escaped single quote.
3476 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3478 # Sed substitution to avoid accidental globbing in evaled expressions
3479 no_glob_subst='s/\*/\\\*/g'
3481 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3482 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3483 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3486 $as_echo_n "checking how to print strings... " >&6; }
3487 # Test print first, because it will be a builtin if present.
3488 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3489 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3491 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3494 # Use this function as a fallback that always works.
3495 func_fallback_echo ()
3497 eval 'cat <<_LTECHO_EOF
3501 ECHO='func_fallback_echo'
3504 # func_echo_all arg...
3505 # Invoke $ECHO with all args, space-separated.
3512 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3513 $as_echo "printf" >&6; } ;;
3514 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3515 $as_echo "print -r" >&6; } ;;
3516 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3517 $as_echo "cat" >&6; } ;;
3533 DEPDIR="${am__leading_dot}deps"
3535 ac_config_commands="$ac_config_commands depfiles"
3538 am_make=${MAKE-make}
3539 cat > confinc << 'END'
3541 @echo this is the am__doit target
3544 # If we don't find an include directive, just comment out the code.
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3546 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3550 # First try GNU make style include.
3551 echo "include confinc" > confmf
3552 # Ignore all kinds of additional output from `make'.
3553 case `$am_make -s -f confmf 2> /dev/null` in #(
3554 *the\ am__doit\ target*)
3560 # Now try BSD make style include.
3561 if test "$am__include" = "#"; then
3562 echo '.include "confinc"' > confmf
3563 case `$am_make -s -f confmf 2> /dev/null` in #(
3564 *the\ am__doit\ target*)
3565 am__include=.include
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3574 $as_echo "$_am_result" >&6; }
3575 rm -f confinc confmf
3577 # Check whether --enable-dependency-tracking was given.
3578 if test "${enable_dependency_tracking+set}" = set; then :
3579 enableval=$enable_dependency_tracking;
3582 if test "x$enable_dependency_tracking" != xno; then
3583 am_depcomp="$ac_aux_dir/depcomp"
3586 if test "x$enable_dependency_tracking" != xno; then
3596 ac_cpp='$CPP $CPPFLAGS'
3597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3600 if test -n "$ac_tool_prefix"; then
3601 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3602 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3604 $as_echo_n "checking for $ac_word... " >&6; }
3605 if ${ac_cv_prog_CC+:} false; then :
3606 $as_echo_n "(cached) " >&6
3608 if test -n "$CC"; then
3609 ac_cv_prog_CC="$CC" # Let the user override the test.
3611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 test -z "$as_dir" && as_dir=.
3616 for ac_exec_ext in '' $ac_executable_extensions; do
3617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3618 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 if test -n "$CC"; then
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3631 $as_echo "$CC" >&6; }
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634 $as_echo "no" >&6; }
3639 if test -z "$ac_cv_prog_CC"; then
3641 # Extract the first word of "gcc", so it can be a program name with args.
3642 set dummy gcc; ac_word=$2
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3644 $as_echo_n "checking for $ac_word... " >&6; }
3645 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3646 $as_echo_n "(cached) " >&6
3648 if test -n "$ac_ct_CC"; then
3649 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3655 test -z "$as_dir" && as_dir=.
3656 for ac_exec_ext in '' $ac_executable_extensions; do
3657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3658 ac_cv_prog_ac_ct_CC="gcc"
3659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3668 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3669 if test -n "$ac_ct_CC"; then
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3671 $as_echo "$ac_ct_CC" >&6; }
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3674 $as_echo "no" >&6; }
3677 if test "x$ac_ct_CC" = x; then
3680 case $cross_compiling:$ac_tool_warned in
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3683 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3684 ac_tool_warned=yes ;;
3692 if test -z "$CC"; then
3693 if test -n "$ac_tool_prefix"; then
3694 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3695 set dummy ${ac_tool_prefix}cc; ac_word=$2
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3697 $as_echo_n "checking for $ac_word... " >&6; }
3698 if ${ac_cv_prog_CC+:} false; then :
3699 $as_echo_n "(cached) " >&6
3701 if test -n "$CC"; then
3702 ac_cv_prog_CC="$CC" # Let the user override the test.
3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3708 test -z "$as_dir" && as_dir=.
3709 for ac_exec_ext in '' $ac_executable_extensions; do
3710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3711 ac_cv_prog_CC="${ac_tool_prefix}cc"
3712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3722 if test -n "$CC"; then
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3724 $as_echo "$CC" >&6; }
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3727 $as_echo "no" >&6; }
3733 if test -z "$CC"; then
3734 # Extract the first word of "cc", so it can be a program name with args.
3735 set dummy cc; ac_word=$2
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3737 $as_echo_n "checking for $ac_word... " >&6; }
3738 if ${ac_cv_prog_CC+:} false; then :
3739 $as_echo_n "(cached) " >&6
3741 if test -n "$CC"; then
3742 ac_cv_prog_CC="$CC" # Let the user override the test.
3745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 test -z "$as_dir" && as_dir=.
3750 for ac_exec_ext in '' $ac_executable_extensions; do
3751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3752 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3753 ac_prog_rejected=yes
3757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3764 if test $ac_prog_rejected = yes; then
3765 # We found a bogon in the path, so make sure we never use it.
3766 set dummy $ac_cv_prog_CC
3768 if test $# != 0; then
3769 # We chose a different compiler from the bogus one.
3770 # However, it has the same basename, so the bogon will be chosen
3771 # first if we set CC to just the basename; use the full file name.
3773 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3779 if test -n "$CC"; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3781 $as_echo "$CC" >&6; }
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3784 $as_echo "no" >&6; }
3789 if test -z "$CC"; then
3790 if test -n "$ac_tool_prefix"; then
3791 for ac_prog in cl.exe
3793 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3794 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if ${ac_cv_prog_CC+:} false; then :
3798 $as_echo_n "(cached) " >&6
3800 if test -n "$CC"; then
3801 ac_cv_prog_CC="$CC" # Let the user override the test.
3803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3807 test -z "$as_dir" && as_dir=.
3808 for ac_exec_ext in '' $ac_executable_extensions; do
3809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3810 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3821 if test -n "$CC"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3823 $as_echo "$CC" >&6; }
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3830 test -n "$CC" && break
3833 if test -z "$CC"; then
3835 for ac_prog in cl.exe
3837 # Extract the first word of "$ac_prog", so it can be a program name with args.
3838 set dummy $ac_prog; ac_word=$2
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3840 $as_echo_n "checking for $ac_word... " >&6; }
3841 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3842 $as_echo_n "(cached) " >&6
3844 if test -n "$ac_ct_CC"; then
3845 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3851 test -z "$as_dir" && as_dir=.
3852 for ac_exec_ext in '' $ac_executable_extensions; do
3853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3854 ac_cv_prog_ac_ct_CC="$ac_prog"
3855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3864 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3865 if test -n "$ac_ct_CC"; then
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3867 $as_echo "$ac_ct_CC" >&6; }
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3870 $as_echo "no" >&6; }
3874 test -n "$ac_ct_CC" && break
3877 if test "x$ac_ct_CC" = x; then
3880 case $cross_compiling:$ac_tool_warned in
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3884 ac_tool_warned=yes ;;
3893 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3895 as_fn_error $? "no acceptable C compiler found in \$PATH
3896 See \`config.log' for more details" "$LINENO" 5; }
3898 # Provide some information about the compiler.
3899 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3902 for ac_option in --version -v -V -qversion; do
3903 { { ac_try="$ac_compiler $ac_option >&5"
3905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3906 *) ac_try_echo=$ac_try;;
3908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3909 $as_echo "$ac_try_echo"; } >&5
3910 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3912 if test -s conftest.err; then
3914 ... rest of stderr output deleted ...
3915 10q' conftest.err >conftest.er1
3916 cat conftest.er1 >&5
3918 rm -f conftest.er1 conftest.err
3919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3920 test $ac_status = 0; }
3923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3924 /* end confdefs.h. */
3934 ac_clean_files_save=$ac_clean_files
3935 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3936 # Try to create an executable without -o first, disregard a.out.
3937 # It will help us diagnose broken compilers, and finding out an intuition
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3940 $as_echo_n "checking whether the C compiler works... " >&6; }
3941 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3943 # The possible output files:
3944 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3947 for ac_file in $ac_files
3950 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3951 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3956 if { { ac_try="$ac_link_default"
3958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959 *) ac_try_echo=$ac_try;;
3961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3962 $as_echo "$ac_try_echo"; } >&5
3963 (eval "$ac_link_default") 2>&5
3965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3966 test $ac_status = 0; }; then :
3967 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3968 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3969 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3970 # so that the user can short-circuit this test for compilers unknown to
3972 for ac_file in $ac_files ''
3974 test -f "$ac_file" || continue
3976 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3979 # We found the default executable, but exeext='' is most
3983 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3985 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3987 # We set ac_cv_exeext here because the later test for it is not
3988 # safe: cross compilers may not add the suffix if given an `-o'
3989 # argument, so we may need to know it at that point already.
3990 # Even if this section looks crufty: it has the advantage of
3997 test "$ac_cv_exeext" = no && ac_cv_exeext=
4002 if test -z "$ac_file"; then :
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4004 $as_echo "no" >&6; }
4005 $as_echo "$as_me: failed program was:" >&5
4006 sed 's/^/| /' conftest.$ac_ext >&5
4008 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4009 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4010 as_fn_error 77 "C compiler cannot create executables
4011 See \`config.log' for more details" "$LINENO" 5; }
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4014 $as_echo "yes" >&6; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4017 $as_echo_n "checking for C compiler default output file name... " >&6; }
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4019 $as_echo "$ac_file" >&6; }
4020 ac_exeext=$ac_cv_exeext
4022 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4023 ac_clean_files=$ac_clean_files_save
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4025 $as_echo_n "checking for suffix of executables... " >&6; }
4026 if { { ac_try="$ac_link"
4028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4029 *) ac_try_echo=$ac_try;;
4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4032 $as_echo "$ac_try_echo"; } >&5
4033 (eval "$ac_link") 2>&5
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }; then :
4037 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4038 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4039 # work properly (i.e., refer to `conftest.exe'), while it won't with
4041 for ac_file in conftest.exe conftest conftest.*; do
4042 test -f "$ac_file" || continue
4044 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4045 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4053 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4054 See \`config.log' for more details" "$LINENO" 5; }
4056 rm -f conftest conftest$ac_cv_exeext
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4058 $as_echo "$ac_cv_exeext" >&6; }
4060 rm -f conftest.$ac_ext
4061 EXEEXT=$ac_cv_exeext
4063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4064 /* end confdefs.h. */
4069 FILE *f = fopen ("conftest.out", "w");
4070 return ferror (f) || fclose (f) != 0;
4076 ac_clean_files="$ac_clean_files conftest.out"
4077 # Check that the compiler produces executables we can run. If not, either
4078 # the compiler is broken, or we cross compile.
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4080 $as_echo_n "checking whether we are cross compiling... " >&6; }
4081 if test "$cross_compiling" != yes; then
4082 { { ac_try="$ac_link"
4084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4085 *) ac_try_echo=$ac_try;;
4087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4088 $as_echo "$ac_try_echo"; } >&5
4089 (eval "$ac_link") 2>&5
4091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4092 test $ac_status = 0; }
4093 if { ac_try='./conftest$ac_cv_exeext'
4094 { { case "(($ac_try" in
4095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096 *) ac_try_echo=$ac_try;;
4098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4099 $as_echo "$ac_try_echo"; } >&5
4100 (eval "$ac_try") 2>&5
4102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103 test $ac_status = 0; }; }; then
4106 if test "$cross_compiling" = maybe; then
4109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4110 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4111 as_fn_error $? "cannot run C compiled programs.
4112 If you meant to cross compile, use \`--host'.
4113 See \`config.log' for more details" "$LINENO" 5; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4118 $as_echo "$cross_compiling" >&6; }
4120 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4121 ac_clean_files=$ac_clean_files_save
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4123 $as_echo_n "checking for suffix of object files... " >&6; }
4124 if ${ac_cv_objext+:} false; then :
4125 $as_echo_n "(cached) " >&6
4127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4128 /* end confdefs.h. */
4138 rm -f conftest.o conftest.obj
4139 if { { ac_try="$ac_compile"
4141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4142 *) ac_try_echo=$ac_try;;
4144 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4145 $as_echo "$ac_try_echo"; } >&5
4146 (eval "$ac_compile") 2>&5
4148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4149 test $ac_status = 0; }; then :
4150 for ac_file in conftest.o conftest.obj conftest.*; do
4151 test -f "$ac_file" || continue;
4153 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4154 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4159 $as_echo "$as_me: failed program was:" >&5
4160 sed 's/^/| /' conftest.$ac_ext >&5
4162 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4164 as_fn_error $? "cannot compute suffix of object files: cannot compile
4165 See \`config.log' for more details" "$LINENO" 5; }
4167 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4170 $as_echo "$ac_cv_objext" >&6; }
4171 OBJEXT=$ac_cv_objext
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4174 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4175 if ${ac_cv_c_compiler_gnu+:} false; then :
4176 $as_echo_n "(cached) " >&6
4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h. */
4192 if ac_fn_c_try_compile "$LINENO"; then :
4197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4198 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4202 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4203 if test $ac_compiler_gnu = yes; then
4208 ac_test_CFLAGS=${CFLAGS+set}
4209 ac_save_CFLAGS=$CFLAGS
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4211 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4212 if ${ac_cv_prog_cc_g+:} false; then :
4213 $as_echo_n "(cached) " >&6
4215 ac_save_c_werror_flag=$ac_c_werror_flag
4216 ac_c_werror_flag=yes
4219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4220 /* end confdefs.h. */
4230 if ac_fn_c_try_compile "$LINENO"; then :
4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4245 if ac_fn_c_try_compile "$LINENO"; then :
4248 ac_c_werror_flag=$ac_save_c_werror_flag
4250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4251 /* end confdefs.h. */
4261 if ac_fn_c_try_compile "$LINENO"; then :
4264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4269 ac_c_werror_flag=$ac_save_c_werror_flag
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4272 $as_echo "$ac_cv_prog_cc_g" >&6; }
4273 if test "$ac_test_CFLAGS" = set; then
4274 CFLAGS=$ac_save_CFLAGS
4275 elif test $ac_cv_prog_cc_g = yes; then
4276 if test "$GCC" = yes; then
4282 if test "$GCC" = yes; then
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4289 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4290 if ${ac_cv_prog_cc_c89+:} false; then :
4291 $as_echo_n "(cached) " >&6
4293 ac_cv_prog_cc_c89=no
4295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4296 /* end confdefs.h. */
4299 #include <sys/types.h>
4300 #include <sys/stat.h>
4301 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4302 struct buf { int x; };
4303 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4304 static char *e (p, i)
4310 static char *f (char * (*g) (char **, int), char **p, ...)
4315 s = g (p, va_arg (v,int));
4320 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4321 function prototypes and stuff, but not '\xHH' hex character constants.
4322 These don't provoke an error unfortunately, instead are silently treated
4323 as 'x'. The following induces an error, until -std is added to get
4324 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4325 array size at least. It's necessary to write '\x00'==0 to get something
4326 that's true only with -std. */
4327 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4329 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4330 inside strings and character constants. */
4332 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4334 int test (int i, double x);
4335 struct s1 {int (*f) (int a);};
4336 struct s2 {int (*f) (double a);};
4337 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4343 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4348 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4349 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4351 CC="$ac_save_CC $ac_arg"
4352 if ac_fn_c_try_compile "$LINENO"; then :
4353 ac_cv_prog_cc_c89=$ac_arg
4355 rm -f core conftest.err conftest.$ac_objext
4356 test "x$ac_cv_prog_cc_c89" != "xno" && break
4358 rm -f conftest.$ac_ext
4363 case "x$ac_cv_prog_cc_c89" in
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4366 $as_echo "none needed" >&6; } ;;
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4369 $as_echo "unsupported" >&6; } ;;
4371 CC="$CC $ac_cv_prog_cc_c89"
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4373 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4375 if test "x$ac_cv_prog_cc_c89" != xno; then :
4380 ac_cpp='$CPP $CPPFLAGS'
4381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4385 depcc="$CC" am_compiler_list=
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4388 $as_echo_n "checking dependency style of $depcc... " >&6; }
4389 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4390 $as_echo_n "(cached) " >&6
4392 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4393 # We make a subdir and do the tests there. Otherwise we can end up
4394 # making bogus files that we don't know about and never remove. For
4395 # instance it was reported that on HP-UX the gcc test will end up
4396 # making a dummy file named `D' -- because `-MD' means `put the output
4399 # Copy depcomp to subdir because otherwise we won't find it if we're
4400 # using a relative directory.
4401 cp "$am_depcomp" conftest.dir
4403 # We will build objects and dependencies in a subdirectory because
4404 # it helps to detect inapplicable dependency modes. For instance
4405 # both Tru64's cc and ICC support -MD to output dependencies as a
4406 # side effect of compilation, but ICC will put the dependencies in
4407 # the current directory while Tru64 will put them in the object
4411 am_cv_CC_dependencies_compiler_type=none
4412 if test "$am_compiler_list" = ""; then
4413 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4416 case " $depcc " in #(
4417 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4420 for depmode in $am_compiler_list; do
4421 # Setup a source with many dependencies, because some compilers
4422 # like to wrap large dependency lists on column 80 (with \), and
4423 # we should not choose a depcomp mode which is confused by this.
4425 # We need to recreate these files for each test, as the compiler may
4426 # overwrite some of them when testing with obscure command lines.
4427 # This happens at least with the AIX C compiler.
4429 for i in 1 2 3 4 5 6; do
4430 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4431 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4432 # Solaris 8's {/usr,}/bin/sh.
4433 touch sub/conftst$i.h
4435 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4437 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4438 # mode. It turns out that the SunPro C++ compiler does not properly
4439 # handle `-M -o', and we need to detect this. Also, some Intel
4440 # versions had trouble with output in subdirs
4441 am__obj=sub/conftest.${OBJEXT-o}
4442 am__minus_obj="-o $am__obj"
4445 # This depmode causes a compiler race in universal mode.
4446 test "$am__universal" = false || continue
4449 # after this tag, mechanisms are not by side-effect, so they'll
4450 # only be used when explicitly requested
4451 if test "x$enable_dependency_tracking" = xyes; then
4457 msvisualcpp | msvcmsys)
4458 # This compiler won't grok `-c -o', but also, the minuso test has
4459 # not run yet. These depmodes are late enough in the game, and
4460 # so weak that their functioning should not be impacted.
4461 am__obj=conftest.${OBJEXT-o}
4466 if depmode=$depmode \
4467 source=sub/conftest.c object=$am__obj \
4468 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4469 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4470 >/dev/null 2>conftest.err &&
4471 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4472 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4473 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4474 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4475 # icc doesn't choke on unknown options, it will just issue warnings
4476 # or remarks (even with -Werror). So we grep stderr for any message
4477 # that says an option was ignored or not supported.
4478 # When given -MP, icc 7.0 and 7.1 complain thusly:
4479 # icc: Command line warning: ignoring option '-M'; no argument required
4480 # The diagnosis changed in icc 8.0:
4481 # icc: Command line remark: option '-MP' not supported
4482 if (grep 'ignoring option' conftest.err ||
4483 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4484 am_cv_CC_dependencies_compiler_type=$depmode
4493 am_cv_CC_dependencies_compiler_type=none
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4498 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4499 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4502 test "x$enable_dependency_tracking" != xno \
4503 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4505 am__fastdepCC_FALSE='#'
4507 am__fastdepCC_TRUE='#'
4508 am__fastdepCC_FALSE=
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4513 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4514 if ${ac_cv_path_SED+:} false; then :
4515 $as_echo_n "(cached) " >&6
4517 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4518 for ac_i in 1 2 3 4 5 6 7; do
4519 ac_script="$ac_script$as_nl$ac_script"
4521 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4522 { ac_script=; unset ac_script;}
4523 if test -z "$SED"; then
4524 ac_path_SED_found=false
4525 # Loop through the user's path and test for each of PROGNAME-LIST
4526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4530 test -z "$as_dir" && as_dir=.
4531 for ac_prog in sed gsed; do
4532 for ac_exec_ext in '' $ac_executable_extensions; do
4533 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4534 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4535 # Check for GNU ac_path_SED and select it if it is found.
4536 # Check for GNU $ac_path_SED
4537 case `"$ac_path_SED" --version 2>&1` in
4539 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4542 $as_echo_n 0123456789 >"conftest.in"
4545 cat "conftest.in" "conftest.in" >"conftest.tmp"
4546 mv "conftest.tmp" "conftest.in"
4547 cp "conftest.in" "conftest.nl"
4548 $as_echo '' >> "conftest.nl"
4549 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4550 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4551 as_fn_arith $ac_count + 1 && ac_count=$as_val
4552 if test $ac_count -gt ${ac_path_SED_max-0}; then
4553 # Best one so far, save it but keep looking for a better one
4554 ac_cv_path_SED="$ac_path_SED"
4555 ac_path_SED_max=$ac_count
4557 # 10*(2^10) chars as input seems more than enough
4558 test $ac_count -gt 10 && break
4560 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4563 $ac_path_SED_found && break 3
4568 if test -z "$ac_cv_path_SED"; then
4569 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4577 $as_echo "$ac_cv_path_SED" >&6; }
4578 SED="$ac_cv_path_SED"
4581 test -z "$SED" && SED=sed
4582 Xsed="$SED -e 1s/^X//"
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4595 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4596 if ${ac_cv_path_GREP+:} false; then :
4597 $as_echo_n "(cached) " >&6
4599 if test -z "$GREP"; then
4600 ac_path_GREP_found=false
4601 # Loop through the user's path and test for each of PROGNAME-LIST
4602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4603 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4606 test -z "$as_dir" && as_dir=.
4607 for ac_prog in grep ggrep; do
4608 for ac_exec_ext in '' $ac_executable_extensions; do
4609 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4610 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4611 # Check for GNU ac_path_GREP and select it if it is found.
4612 # Check for GNU $ac_path_GREP
4613 case `"$ac_path_GREP" --version 2>&1` in
4615 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4618 $as_echo_n 0123456789 >"conftest.in"
4621 cat "conftest.in" "conftest.in" >"conftest.tmp"
4622 mv "conftest.tmp" "conftest.in"
4623 cp "conftest.in" "conftest.nl"
4624 $as_echo 'GREP' >> "conftest.nl"
4625 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4626 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4627 as_fn_arith $ac_count + 1 && ac_count=$as_val
4628 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4629 # Best one so far, save it but keep looking for a better one
4630 ac_cv_path_GREP="$ac_path_GREP"
4631 ac_path_GREP_max=$ac_count
4633 # 10*(2^10) chars as input seems more than enough
4634 test $ac_count -gt 10 && break
4636 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4639 $ac_path_GREP_found && break 3
4644 if test -z "$ac_cv_path_GREP"; then
4645 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4648 ac_cv_path_GREP=$GREP
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4653 $as_echo "$ac_cv_path_GREP" >&6; }
4654 GREP="$ac_cv_path_GREP"
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4658 $as_echo_n "checking for egrep... " >&6; }
4659 if ${ac_cv_path_EGREP+:} false; then :
4660 $as_echo_n "(cached) " >&6
4662 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4663 then ac_cv_path_EGREP="$GREP -E"
4665 if test -z "$EGREP"; then
4666 ac_path_EGREP_found=false
4667 # Loop through the user's path and test for each of PROGNAME-LIST
4668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4669 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4672 test -z "$as_dir" && as_dir=.
4673 for ac_prog in egrep; do
4674 for ac_exec_ext in '' $ac_executable_extensions; do
4675 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4676 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4677 # Check for GNU ac_path_EGREP and select it if it is found.
4678 # Check for GNU $ac_path_EGREP
4679 case `"$ac_path_EGREP" --version 2>&1` in
4681 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4684 $as_echo_n 0123456789 >"conftest.in"
4687 cat "conftest.in" "conftest.in" >"conftest.tmp"
4688 mv "conftest.tmp" "conftest.in"
4689 cp "conftest.in" "conftest.nl"
4690 $as_echo 'EGREP' >> "conftest.nl"
4691 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4692 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4693 as_fn_arith $ac_count + 1 && ac_count=$as_val
4694 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4695 # Best one so far, save it but keep looking for a better one
4696 ac_cv_path_EGREP="$ac_path_EGREP"
4697 ac_path_EGREP_max=$ac_count
4699 # 10*(2^10) chars as input seems more than enough
4700 test $ac_count -gt 10 && break
4702 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4705 $ac_path_EGREP_found && break 3
4710 if test -z "$ac_cv_path_EGREP"; then
4711 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4714 ac_cv_path_EGREP=$EGREP
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4720 $as_echo "$ac_cv_path_EGREP" >&6; }
4721 EGREP="$ac_cv_path_EGREP"
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4725 $as_echo_n "checking for fgrep... " >&6; }
4726 if ${ac_cv_path_FGREP+:} false; then :
4727 $as_echo_n "(cached) " >&6
4729 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4730 then ac_cv_path_FGREP="$GREP -F"
4732 if test -z "$FGREP"; then
4733 ac_path_FGREP_found=false
4734 # Loop through the user's path and test for each of PROGNAME-LIST
4735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4736 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4739 test -z "$as_dir" && as_dir=.
4740 for ac_prog in fgrep; do
4741 for ac_exec_ext in '' $ac_executable_extensions; do
4742 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4743 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4744 # Check for GNU ac_path_FGREP and select it if it is found.
4745 # Check for GNU $ac_path_FGREP
4746 case `"$ac_path_FGREP" --version 2>&1` in
4748 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4751 $as_echo_n 0123456789 >"conftest.in"
4754 cat "conftest.in" "conftest.in" >"conftest.tmp"
4755 mv "conftest.tmp" "conftest.in"
4756 cp "conftest.in" "conftest.nl"
4757 $as_echo 'FGREP' >> "conftest.nl"
4758 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4759 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4760 as_fn_arith $ac_count + 1 && ac_count=$as_val
4761 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4762 # Best one so far, save it but keep looking for a better one
4763 ac_cv_path_FGREP="$ac_path_FGREP"
4764 ac_path_FGREP_max=$ac_count
4766 # 10*(2^10) chars as input seems more than enough
4767 test $ac_count -gt 10 && break
4769 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4772 $ac_path_FGREP_found && break 3
4777 if test -z "$ac_cv_path_FGREP"; then
4778 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4781 ac_cv_path_FGREP=$FGREP
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4787 $as_echo "$ac_cv_path_FGREP" >&6; }
4788 FGREP="$ac_cv_path_FGREP"
4791 test -z "$GREP" && GREP=grep
4811 # Check whether --with-gnu-ld was given.
4812 if test "${with_gnu_ld+set}" = set; then :
4813 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4819 if test "$GCC" = yes; then
4820 # Check if gcc -print-prog-name=ld gives a path.
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4822 $as_echo_n "checking for ld used by $CC... " >&6; }
4825 # gcc leaves a trailing carriage return which upsets mingw
4826 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4828 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4831 # Accept absolute paths.
4833 re_direlt='/[^/][^/]*/\.\./'
4834 # Canonicalize the pathname of ld
4835 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4836 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4837 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4839 test -z "$LD" && LD="$ac_prog"
4842 # If it fails, then pretend we aren't using GCC.
4846 # If it is relative, then search for the first ld in PATH.
4850 elif test "$with_gnu_ld" = yes; then
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4852 $as_echo_n "checking for GNU ld... " >&6; }
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4855 $as_echo_n "checking for non-GNU ld... " >&6; }
4857 if ${lt_cv_path_LD+:} false; then :
4858 $as_echo_n "(cached) " >&6
4860 if test -z "$LD"; then
4861 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4862 for ac_dir in $PATH; do
4864 test -z "$ac_dir" && ac_dir=.
4865 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4866 lt_cv_path_LD="$ac_dir/$ac_prog"
4867 # Check to see if the program is GNU ld. I'd rather use --version,
4868 # but apparently some variants of GNU ld only accept -v.
4869 # Break only if it was the GNU/non-GNU ld that we prefer.
4870 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4871 *GNU* | *'with BFD'*)
4872 test "$with_gnu_ld" != no && break
4875 test "$with_gnu_ld" != yes && break
4882 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4887 if test -n "$LD"; then
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4889 $as_echo "$LD" >&6; }
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4892 $as_echo "no" >&6; }
4894 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4896 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4897 if ${lt_cv_prog_gnu_ld+:} false; then :
4898 $as_echo_n "(cached) " >&6
4900 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4901 case `$LD -v 2>&1 </dev/null` in
4902 *GNU* | *'with BFD'*)
4903 lt_cv_prog_gnu_ld=yes
4906 lt_cv_prog_gnu_ld=no
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4911 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4912 with_gnu_ld=$lt_cv_prog_gnu_ld
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4923 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4924 if ${lt_cv_path_NM+:} false; then :
4925 $as_echo_n "(cached) " >&6
4927 if test -n "$NM"; then
4928 # Let the user override the test.
4931 lt_nm_to_check="${ac_tool_prefix}nm"
4932 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4933 lt_nm_to_check="$lt_nm_to_check nm"
4935 for lt_tmp_nm in $lt_nm_to_check; do
4936 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4937 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4939 test -z "$ac_dir" && ac_dir=.
4940 tmp_nm="$ac_dir/$lt_tmp_nm"
4941 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4942 # Check to see if the nm accepts a BSD-compat flag.
4943 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4944 # nm: unknown option "B" ignored
4945 # Tru64's nm complains that /dev/null is an invalid object file
4946 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4947 */dev/null* | *'Invalid file or object type'*)
4948 lt_cv_path_NM="$tmp_nm -B"
4952 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4954 lt_cv_path_NM="$tmp_nm -p"
4958 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4959 continue # so that we can try to find one that supports BSD flags
4968 : ${lt_cv_path_NM=no}
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4972 $as_echo "$lt_cv_path_NM" >&6; }
4973 if test "$lt_cv_path_NM" != "no"; then
4976 # Didn't find any BSD compatible name lister, look for dumpbin.
4977 if test -n "$DUMPBIN"; then :
4978 # Let the user override the test.
4980 if test -n "$ac_tool_prefix"; then
4981 for ac_prog in dumpbin "link -dump"
4983 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4984 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if ${ac_cv_prog_DUMPBIN+:} false; then :
4988 $as_echo_n "(cached) " >&6
4990 if test -n "$DUMPBIN"; then
4991 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5010 DUMPBIN=$ac_cv_prog_DUMPBIN
5011 if test -n "$DUMPBIN"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5013 $as_echo "$DUMPBIN" >&6; }
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5020 test -n "$DUMPBIN" && break
5023 if test -z "$DUMPBIN"; then
5024 ac_ct_DUMPBIN=$DUMPBIN
5025 for ac_prog in dumpbin "link -dump"
5027 # Extract the first word of "$ac_prog", so it can be a program name with args.
5028 set dummy $ac_prog; ac_word=$2
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5030 $as_echo_n "checking for $ac_word... " >&6; }
5031 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5032 $as_echo_n "(cached) " >&6
5034 if test -n "$ac_ct_DUMPBIN"; then
5035 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041 test -z "$as_dir" && as_dir=.
5042 for ac_exec_ext in '' $ac_executable_extensions; do
5043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5044 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5055 if test -n "$ac_ct_DUMPBIN"; then
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5057 $as_echo "$ac_ct_DUMPBIN" >&6; }
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 $as_echo "no" >&6; }
5064 test -n "$ac_ct_DUMPBIN" && break
5067 if test "x$ac_ct_DUMPBIN" = x; then
5070 case $cross_compiling:$ac_tool_warned in
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5074 ac_tool_warned=yes ;;
5076 DUMPBIN=$ac_ct_DUMPBIN
5080 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5082 DUMPBIN="$DUMPBIN -symbols"
5090 if test "$DUMPBIN" != ":"; then
5094 test -z "$NM" && NM=nm
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5102 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5103 if ${lt_cv_nm_interface+:} false; then :
5104 $as_echo_n "(cached) " >&6
5106 lt_cv_nm_interface="BSD nm"
5107 echo "int some_variable = 0;" > conftest.$ac_ext
5108 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5109 (eval "$ac_compile" 2>conftest.err)
5110 cat conftest.err >&5
5111 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5112 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5113 cat conftest.err >&5
5114 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5115 cat conftest.out >&5
5116 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5117 lt_cv_nm_interface="MS dumpbin"
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5122 $as_echo "$lt_cv_nm_interface" >&6; }
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5125 $as_echo_n "checking whether ln -s works... " >&6; }
5127 if test "$LN_S" = "ln -s"; then
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5129 $as_echo "yes" >&6; }
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5132 $as_echo "no, using $LN_S" >&6; }
5135 # find the maximum length of command line arguments
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5137 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5138 if ${lt_cv_sys_max_cmd_len+:} false; then :
5139 $as_echo_n "(cached) " >&6
5146 # On DJGPP, this test can blow up pretty badly due to problems in libc
5147 # (any single argument exceeding 2000 bytes causes a buffer overrun
5148 # during glob expansion). Even if it were fixed, the result of this
5149 # check would be larger than it should be.
5150 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5154 # Under GNU Hurd, this test is not required because there is
5155 # no limit to the length of command line arguments.
5156 # Libtool will interpret -1 as no limit whatsoever
5157 lt_cv_sys_max_cmd_len=-1;
5160 cygwin* | mingw* | cegcc*)
5161 # On Win9x/ME, this test blows up -- it succeeds, but takes
5162 # about 5 minutes as the teststring grows exponentially.
5163 # Worse, since 9x/ME are not pre-emptively multitasking,
5164 # you end up with a "frozen" computer, even though with patience
5165 # the test eventually succeeds (with a max line length of 256k).
5166 # Instead, let's just punt: use the minimum linelength reported by
5167 # all of the supported platforms: 8192 (on NT/2K/XP).
5168 lt_cv_sys_max_cmd_len=8192;
5172 # On MiNT this can take a long time and run out of memory.
5173 lt_cv_sys_max_cmd_len=8192;
5177 # On AmigaOS with pdksh, this test takes hours, literally.
5178 # So we just punt and use a minimum line length of 8192.
5179 lt_cv_sys_max_cmd_len=8192;
5182 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5183 # This has been around since 386BSD, at least. Likely further.
5184 if test -x /sbin/sysctl; then
5185 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5186 elif test -x /usr/sbin/sysctl; then
5187 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5189 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5191 # And add a safety zone
5192 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5193 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5197 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5198 lt_cv_sys_max_cmd_len=196608
5202 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5203 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5204 # nice to cause kernel panics so lets avoid the loop below.
5205 # First set a reasonable default.
5206 lt_cv_sys_max_cmd_len=16384
5208 if test -x /sbin/sysconfig; then
5209 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5210 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5215 lt_cv_sys_max_cmd_len=102400
5217 sysv5* | sco5v6* | sysv4.2uw2*)
5218 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5219 if test -n "$kargmax"; then
5220 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5222 lt_cv_sys_max_cmd_len=32768
5226 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5227 if test -n "$lt_cv_sys_max_cmd_len"; then
5228 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5229 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5231 # Make teststring a little bigger before we do anything with it.
5232 # a 1K string should be a reasonable start.
5233 for i in 1 2 3 4 5 6 7 8 ; do
5234 teststring=$teststring$teststring
5236 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5237 # If test is not a shell built-in, we'll probably end up computing a
5238 # maximum length that is only half of the actual maximum length, but
5240 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5241 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5242 test $i != 17 # 1/2 MB should be enough
5245 teststring=$teststring$teststring
5247 # Only check the string length outside the loop.
5248 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5250 # Add a significant safety factor because C++ compilers can tack on
5251 # massive amounts of additional arguments before passing them to the
5252 # linker. It appears as though 1/2 is a usable value.
5253 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5260 if test -n $lt_cv_sys_max_cmd_len ; then
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5262 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5265 $as_echo "none" >&6; }
5267 max_cmd_len=$lt_cv_sys_max_cmd_len
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5279 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5280 # Try some XSI features
5283 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5285 && eval 'test $(( 1 + 1 )) -eq 2 \
5286 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5289 $as_echo "$xsi_shell" >&6; }
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5293 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5295 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5297 && lt_shell_append=yes
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5299 $as_echo "$lt_shell_append" >&6; }
5302 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5312 # test EBCDIC or ASCII
5313 case `echo X|tr X '\101'` in
5314 A) # ASCII based system
5315 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5316 lt_SP2NL='tr \040 \012'
5317 lt_NL2SP='tr \015\012 \040\040'
5319 *) # EBCDIC based system
5320 lt_SP2NL='tr \100 \n'
5321 lt_NL2SP='tr \r\n \100\100'
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5334 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5335 if ${lt_cv_to_host_file_cmd+:} false; then :
5336 $as_echo_n "(cached) " >&6
5341 *-*-mingw* ) # actually msys
5342 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5345 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5347 * ) # otherwise, assume *nix
5348 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5354 *-*-mingw* ) # actually msys
5355 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5358 lt_cv_to_host_file_cmd=func_convert_file_noop
5360 * ) # otherwise, assume *nix
5361 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5365 * ) # unhandled hosts (and "normal" native builds)
5366 lt_cv_to_host_file_cmd=func_convert_file_noop
5372 to_host_file_cmd=$lt_cv_to_host_file_cmd
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5374 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5381 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5382 if ${lt_cv_to_tool_file_cmd+:} false; then :
5383 $as_echo_n "(cached) " >&6
5385 #assume ordinary cross tools, or native build.
5386 lt_cv_to_tool_file_cmd=func_convert_file_noop
5390 *-*-mingw* ) # actually msys
5391 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5399 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5401 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5408 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5409 if ${lt_cv_ld_reload_flag+:} false; then :
5410 $as_echo_n "(cached) " >&6
5412 lt_cv_ld_reload_flag='-r'
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5415 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5416 reload_flag=$lt_cv_ld_reload_flag
5417 case $reload_flag in
5419 *) reload_flag=" $reload_flag" ;;
5421 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5423 cygwin* | mingw* | pw32* | cegcc*)
5424 if test "$GCC" != yes; then
5429 if test "$GCC" = yes; then
5430 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5432 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5445 if test -n "$ac_tool_prefix"; then
5446 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5447 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5449 $as_echo_n "checking for $ac_word... " >&6; }
5450 if ${ac_cv_prog_OBJDUMP+:} false; then :
5451 $as_echo_n "(cached) " >&6
5453 if test -n "$OBJDUMP"; then
5454 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5460 test -z "$as_dir" && as_dir=.
5461 for ac_exec_ext in '' $ac_executable_extensions; do
5462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5463 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5473 OBJDUMP=$ac_cv_prog_OBJDUMP
5474 if test -n "$OBJDUMP"; then
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5476 $as_echo "$OBJDUMP" >&6; }
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5479 $as_echo "no" >&6; }
5484 if test -z "$ac_cv_prog_OBJDUMP"; then
5485 ac_ct_OBJDUMP=$OBJDUMP
5486 # Extract the first word of "objdump", so it can be a program name with args.
5487 set dummy objdump; ac_word=$2
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5489 $as_echo_n "checking for $ac_word... " >&6; }
5490 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5491 $as_echo_n "(cached) " >&6
5493 if test -n "$ac_ct_OBJDUMP"; then
5494 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5500 test -z "$as_dir" && as_dir=.
5501 for ac_exec_ext in '' $ac_executable_extensions; do
5502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5503 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5514 if test -n "$ac_ct_OBJDUMP"; then
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5516 $as_echo "$ac_ct_OBJDUMP" >&6; }
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5519 $as_echo "no" >&6; }
5522 if test "x$ac_ct_OBJDUMP" = x; then
5525 case $cross_compiling:$ac_tool_warned in
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5529 ac_tool_warned=yes ;;
5531 OBJDUMP=$ac_ct_OBJDUMP
5534 OBJDUMP="$ac_cv_prog_OBJDUMP"
5537 test -z "$OBJDUMP" && OBJDUMP=objdump
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5545 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5546 if ${lt_cv_deplibs_check_method+:} false; then :
5547 $as_echo_n "(cached) " >&6
5549 lt_cv_file_magic_cmd='$MAGIC_CMD'
5550 lt_cv_file_magic_test_file=
5551 lt_cv_deplibs_check_method='unknown'
5552 # Need to set the preceding variable on all platforms that support
5553 # interlibrary dependencies.
5554 # 'none' -- dependencies not supported.
5555 # `unknown' -- same as none, but documents that we really don't know.
5556 # 'pass_all' -- all dependencies passed with no checks.
5557 # 'test_compile' -- check by making test program.
5558 # 'file_magic [[regex]]' -- check by looking for files in library path
5559 # which responds to the $file_magic_cmd with a given extended regex.
5560 # If you have `file' or equivalent on your system and you're not sure
5561 # whether `pass_all' will *always* work, you probably want this one.
5565 lt_cv_deplibs_check_method=pass_all
5569 lt_cv_deplibs_check_method=pass_all
5573 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5574 lt_cv_file_magic_cmd='/usr/bin/file -L'
5575 lt_cv_file_magic_test_file=/shlib/libc.so
5579 # func_win32_libid is a shell function defined in ltmain.sh
5580 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5581 lt_cv_file_magic_cmd='func_win32_libid'
5585 # Base MSYS/MinGW do not provide the 'file' command needed by
5586 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5587 # unless we find 'file', for example because we are cross-compiling.
5588 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5589 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5590 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5591 lt_cv_file_magic_cmd='func_win32_libid'
5593 # Keep this pattern in sync with the one in func_win32_libid.
5594 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5595 lt_cv_file_magic_cmd='$OBJDUMP -f'
5600 # use the weaker test based on 'objdump'. See mingw*.
5601 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5602 lt_cv_file_magic_cmd='$OBJDUMP -f'
5605 darwin* | rhapsody*)
5606 lt_cv_deplibs_check_method=pass_all
5609 freebsd* | dragonfly*)
5610 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5613 # Not sure whether the presence of OpenBSD here was a mistake.
5614 # Let's accept both of them until this is cleared up.
5615 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5616 lt_cv_file_magic_cmd=/usr/bin/file
5617 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5621 lt_cv_deplibs_check_method=pass_all
5626 lt_cv_deplibs_check_method=pass_all
5630 lt_cv_deplibs_check_method=pass_all
5633 hpux10.20* | hpux11*)
5634 lt_cv_file_magic_cmd=/usr/bin/file
5637 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5638 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5641 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]'
5642 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5645 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5646 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5652 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5653 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5656 irix5* | irix6* | nonstopux*)
5658 *-32|*"-32 ") libmagic=32-bit;;
5659 *-n32|*"-n32 ") libmagic=N32;;
5660 *-64|*"-64 ") libmagic=64-bit;;
5661 *) libmagic=never-match;;
5663 lt_cv_deplibs_check_method=pass_all
5666 # This must be Linux ELF.
5667 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5668 lt_cv_deplibs_check_method=pass_all
5672 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5673 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5675 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5680 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5681 lt_cv_file_magic_cmd=/usr/bin/file
5682 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5686 lt_cv_deplibs_check_method=pass_all
5690 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5691 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5693 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5697 osf3* | osf4* | osf5*)
5698 lt_cv_deplibs_check_method=pass_all
5702 lt_cv_deplibs_check_method=pass_all
5706 lt_cv_deplibs_check_method=pass_all
5709 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5710 lt_cv_deplibs_check_method=pass_all
5714 case $host_vendor in
5716 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]'
5717 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5720 lt_cv_deplibs_check_method=pass_all
5723 lt_cv_file_magic_cmd='/bin/file'
5724 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5727 lt_cv_file_magic_cmd='/bin/file'
5728 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5729 lt_cv_file_magic_test_file=/lib/libc.so
5732 lt_cv_deplibs_check_method=pass_all
5735 lt_cv_deplibs_check_method=pass_all
5741 lt_cv_deplibs_check_method=pass_all
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5747 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5751 if test "$build" = "$host"; then
5754 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5757 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5763 file_magic_cmd=$lt_cv_file_magic_cmd
5764 deplibs_check_method=$lt_cv_deplibs_check_method
5765 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5788 if test -n "$ac_tool_prefix"; then
5789 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5790 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5792 $as_echo_n "checking for $ac_word... " >&6; }
5793 if ${ac_cv_prog_DLLTOOL+:} false; then :
5794 $as_echo_n "(cached) " >&6
5796 if test -n "$DLLTOOL"; then
5797 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5803 test -z "$as_dir" && as_dir=.
5804 for ac_exec_ext in '' $ac_executable_extensions; do
5805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5806 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5816 DLLTOOL=$ac_cv_prog_DLLTOOL
5817 if test -n "$DLLTOOL"; then
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5819 $as_echo "$DLLTOOL" >&6; }
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5822 $as_echo "no" >&6; }
5827 if test -z "$ac_cv_prog_DLLTOOL"; then
5828 ac_ct_DLLTOOL=$DLLTOOL
5829 # Extract the first word of "dlltool", so it can be a program name with args.
5830 set dummy dlltool; ac_word=$2
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5832 $as_echo_n "checking for $ac_word... " >&6; }
5833 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5834 $as_echo_n "(cached) " >&6
5836 if test -n "$ac_ct_DLLTOOL"; then
5837 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5843 test -z "$as_dir" && as_dir=.
5844 for ac_exec_ext in '' $ac_executable_extensions; do
5845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5846 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5856 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5857 if test -n "$ac_ct_DLLTOOL"; then
5858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5859 $as_echo "$ac_ct_DLLTOOL" >&6; }
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5862 $as_echo "no" >&6; }
5865 if test "x$ac_ct_DLLTOOL" = x; then
5868 case $cross_compiling:$ac_tool_warned in
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5872 ac_tool_warned=yes ;;
5874 DLLTOOL=$ac_ct_DLLTOOL
5877 DLLTOOL="$ac_cv_prog_DLLTOOL"
5880 test -z "$DLLTOOL" && DLLTOOL=dlltool
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5889 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5890 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5891 $as_echo_n "(cached) " >&6
5893 lt_cv_sharedlib_from_linklib_cmd='unknown'
5896 cygwin* | mingw* | pw32* | cegcc*)
5897 # two different shell functions defined in ltmain.sh
5898 # decide which to use based on capabilities of $DLLTOOL
5899 case `$DLLTOOL --help 2>&1` in
5900 *--identify-strict*)
5901 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5904 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5909 # fallback: assume linklib IS sharedlib
5910 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5916 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5917 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5918 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5927 if test -n "$ac_tool_prefix"; then
5930 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5931 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933 $as_echo_n "checking for $ac_word... " >&6; }
5934 if ${ac_cv_prog_AR+:} false; then :
5935 $as_echo_n "(cached) " >&6
5937 if test -n "$AR"; then
5938 ac_cv_prog_AR="$AR" # Let the user override the test.
5940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 test -z "$as_dir" && as_dir=.
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5947 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5958 if test -n "$AR"; then
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5960 $as_echo "$AR" >&6; }
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963 $as_echo "no" >&6; }
5967 test -n "$AR" && break
5970 if test -z "$AR"; then
5974 # Extract the first word of "$ac_prog", so it can be a program name with args.
5975 set dummy $ac_prog; ac_word=$2
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5977 $as_echo_n "checking for $ac_word... " >&6; }
5978 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5979 $as_echo_n "(cached) " >&6
5981 if test -n "$ac_ct_AR"; then
5982 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5988 test -z "$as_dir" && as_dir=.
5989 for ac_exec_ext in '' $ac_executable_extensions; do
5990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5991 ac_cv_prog_ac_ct_AR="$ac_prog"
5992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6001 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6002 if test -n "$ac_ct_AR"; then
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6004 $as_echo "$ac_ct_AR" >&6; }
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6007 $as_echo "no" >&6; }
6011 test -n "$ac_ct_AR" && break
6014 if test "x$ac_ct_AR" = x; then
6017 case $cross_compiling:$ac_tool_warned in
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6021 ac_tool_warned=yes ;;
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6041 $as_echo_n "checking for archiver @FILE support... " >&6; }
6042 if ${lt_cv_ar_at_file+:} false; then :
6043 $as_echo_n "(cached) " >&6
6046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6047 /* end confdefs.h. */
6057 if ac_fn_c_try_compile "$LINENO"; then :
6058 echo conftest.$ac_objext > conftest.lst
6059 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6060 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6061 (eval $lt_ar_try) 2>&5
6063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6064 test $ac_status = 0; }
6065 if test "$ac_status" -eq 0; then
6066 # Ensure the archiver fails upon bogus file names.
6067 rm -f conftest.$ac_objext libconftest.a
6068 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6069 (eval $lt_ar_try) 2>&5
6071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6072 test $ac_status = 0; }
6073 if test "$ac_status" -ne 0; then
6077 rm -f conftest.* libconftest.a
6080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6084 $as_echo "$lt_cv_ar_at_file" >&6; }
6086 if test "x$lt_cv_ar_at_file" = xno; then
6089 archiver_list_spec=$lt_cv_ar_at_file
6098 if test -n "$ac_tool_prefix"; then
6099 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6100 set dummy ${ac_tool_prefix}strip; ac_word=$2
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102 $as_echo_n "checking for $ac_word... " >&6; }
6103 if ${ac_cv_prog_STRIP+:} false; then :
6104 $as_echo_n "(cached) " >&6
6106 if test -n "$STRIP"; then
6107 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6113 test -z "$as_dir" && as_dir=.
6114 for ac_exec_ext in '' $ac_executable_extensions; do
6115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6116 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6126 STRIP=$ac_cv_prog_STRIP
6127 if test -n "$STRIP"; then
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6129 $as_echo "$STRIP" >&6; }
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 $as_echo "no" >&6; }
6137 if test -z "$ac_cv_prog_STRIP"; then
6139 # Extract the first word of "strip", so it can be a program name with args.
6140 set dummy strip; ac_word=$2
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6142 $as_echo_n "checking for $ac_word... " >&6; }
6143 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6144 $as_echo_n "(cached) " >&6
6146 if test -n "$ac_ct_STRIP"; then
6147 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6153 test -z "$as_dir" && as_dir=.
6154 for ac_exec_ext in '' $ac_executable_extensions; do
6155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6156 ac_cv_prog_ac_ct_STRIP="strip"
6157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6166 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6167 if test -n "$ac_ct_STRIP"; then
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6169 $as_echo "$ac_ct_STRIP" >&6; }
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6172 $as_echo "no" >&6; }
6175 if test "x$ac_ct_STRIP" = x; then
6178 case $cross_compiling:$ac_tool_warned in
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6181 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6182 ac_tool_warned=yes ;;
6187 STRIP="$ac_cv_prog_STRIP"
6190 test -z "$STRIP" && STRIP=:
6197 if test -n "$ac_tool_prefix"; then
6198 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6199 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6201 $as_echo_n "checking for $ac_word... " >&6; }
6202 if ${ac_cv_prog_RANLIB+:} false; then :
6203 $as_echo_n "(cached) " >&6
6205 if test -n "$RANLIB"; then
6206 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6212 test -z "$as_dir" && as_dir=.
6213 for ac_exec_ext in '' $ac_executable_extensions; do
6214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6215 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6225 RANLIB=$ac_cv_prog_RANLIB
6226 if test -n "$RANLIB"; then
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6228 $as_echo "$RANLIB" >&6; }
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6231 $as_echo "no" >&6; }
6236 if test -z "$ac_cv_prog_RANLIB"; then
6237 ac_ct_RANLIB=$RANLIB
6238 # Extract the first word of "ranlib", so it can be a program name with args.
6239 set dummy ranlib; ac_word=$2
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6241 $as_echo_n "checking for $ac_word... " >&6; }
6242 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6243 $as_echo_n "(cached) " >&6
6245 if test -n "$ac_ct_RANLIB"; then
6246 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6252 test -z "$as_dir" && as_dir=.
6253 for ac_exec_ext in '' $ac_executable_extensions; do
6254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6255 ac_cv_prog_ac_ct_RANLIB="ranlib"
6256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6265 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6266 if test -n "$ac_ct_RANLIB"; then
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6268 $as_echo "$ac_ct_RANLIB" >&6; }
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6271 $as_echo "no" >&6; }
6274 if test "x$ac_ct_RANLIB" = x; then
6277 case $cross_compiling:$ac_tool_warned in
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6281 ac_tool_warned=yes ;;
6283 RANLIB=$ac_ct_RANLIB
6286 RANLIB="$ac_cv_prog_RANLIB"
6289 test -z "$RANLIB" && RANLIB=:
6296 # Determine commands to create old-style static archives.
6297 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6298 old_postinstall_cmds='chmod 644 $oldlib'
6299 old_postuninstall_cmds=
6301 if test -n "$RANLIB"; then
6304 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6307 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6310 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6315 lock_old_archive_extraction=yes ;;
6317 lock_old_archive_extraction=no ;;
6358 # If no C compiler was specified, use CC.
6361 # If no C compiler flags were specified, use CFLAGS.
6362 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6364 # Allow CC to be a program name with arguments.
6368 # Check for command to grab the raw symbol name followed by C symbol from nm.
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6370 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6371 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6372 $as_echo_n "(cached) " >&6
6375 # These are sane defaults that work on at least a few old systems.
6376 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6378 # Character class describing NM global symbol codes.
6379 symcode='[BCDEGRST]'
6381 # Regexp to match symbols that can be accessed directly from C.
6382 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6384 # Define system-specific variables.
6389 cygwin* | mingw* | pw32* | cegcc*)
6390 symcode='[ABCDGISTW]'
6393 if test "$host_cpu" = ia64; then
6394 symcode='[ABCDEGRST]'
6398 symcode='[BCDEGRST]'
6401 symcode='[BCDEGQRST]'
6412 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6420 # If we're using GNU nm, then use its standard symbol codes.
6421 case `$NM -V 2>&1` in
6422 *GNU* | *'with BFD'*)
6423 symcode='[ABCDGIRSTW]' ;;
6426 # Transform an extracted symbol line into a proper C declaration.
6427 # Some systems (esp. on ia64) link data and code symbols differently,
6428 # so use this general approach.
6429 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6431 # Transform an extracted symbol line into symbol name and symbol address
6432 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6433 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'"
6435 # Handle CRLF in mingw tool chain
6439 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6443 # Try without a prefix underscore, then with it.
6444 for ac_symprfx in "" "_"; do
6446 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6447 symxfrm="\\1 $ac_symprfx\\2 \\2"
6449 # Write the raw and C identifiers.
6450 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6451 # Fake it for dumpbin and say T for any non-static function
6452 # and D for any global variable.
6453 # Also find C++ and __fastcall symbols from MSVC++,
6454 # which start with @ or ?.
6455 lt_cv_sys_global_symbol_pipe="$AWK '"\
6456 " {last_section=section; section=\$ 3};"\
6457 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6458 " \$ 0!~/External *\|/{next};"\
6459 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6460 " {if(hide[section]) next};"\
6461 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6462 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6463 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6464 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6465 " ' prfx=^$ac_symprfx"
6467 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6469 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6471 # Check to see that the pipe works correctly.
6475 cat > conftest.$ac_ext <<_LT_EOF
6480 void nm_test_func(void);
6481 void nm_test_func(void){}
6485 int main(){nm_test_var='a';nm_test_func();return(0);}
6488 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6489 (eval $ac_compile) 2>&5
6491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6492 test $ac_status = 0; }; then
6493 # Now try to grab the symbols.
6495 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6496 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6498 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6499 test $ac_status = 0; } && test -s "$nlist"; then
6500 # Try sorting and uniquifying the output.
6501 if sort "$nlist" | uniq > "$nlist"T; then
6502 mv -f "$nlist"T "$nlist"
6507 # Make sure that we snagged all the symbols we need.
6508 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6509 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6510 cat <<_LT_EOF > conftest.$ac_ext
6511 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6512 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6513 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6514 relocations are performed -- see ld's documentation on pseudo-relocs. */
6515 # define LT_DLSYM_CONST
6516 #elif defined(__osf__)
6517 /* This system does not cope well with relocations in const data. */
6518 # define LT_DLSYM_CONST
6520 # define LT_DLSYM_CONST const
6528 # Now generate the symbol file.
6529 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6531 cat <<_LT_EOF >> conftest.$ac_ext
6533 /* The mapping between symbol names and symbols. */
6534 LT_DLSYM_CONST struct {
6538 lt__PROGRAM__LTX_preloaded_symbols[] =
6540 { "@PROGRAM@", (void *) 0 },
6542 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6543 cat <<\_LT_EOF >> conftest.$ac_ext
6547 /* This works around a problem in FreeBSD linker */
6548 #ifdef FREEBSD_WORKAROUND
6549 static const void *lt_preloaded_setup() {
6550 return lt__PROGRAM__LTX_preloaded_symbols;
6558 # Now try linking the two files.
6559 mv conftest.$ac_objext conftstm.$ac_objext
6560 lt_globsym_save_LIBS=$LIBS
6561 lt_globsym_save_CFLAGS=$CFLAGS
6562 LIBS="conftstm.$ac_objext"
6563 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6564 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6565 (eval $ac_link) 2>&5
6567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6568 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6571 LIBS=$lt_globsym_save_LIBS
6572 CFLAGS=$lt_globsym_save_CFLAGS
6574 echo "cannot find nm_test_func in $nlist" >&5
6577 echo "cannot find nm_test_var in $nlist" >&5
6580 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6583 echo "$progname: failed program was:" >&5
6584 cat conftest.$ac_ext >&5
6586 rm -rf conftest* conftst*
6588 # Do not use the global_symbol_pipe unless it works.
6589 if test "$pipe_works" = yes; then
6592 lt_cv_sys_global_symbol_pipe=
6598 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6599 lt_cv_sys_global_symbol_to_cdecl=
6601 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6603 $as_echo "failed" >&6; }
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6606 $as_echo "ok" >&6; }
6609 # Response file support.
6610 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6611 nm_file_list_spec='@'
6612 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6613 nm_file_list_spec='@'
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6643 $as_echo_n "checking for sysroot... " >&6; }
6645 # Check whether --with-sysroot was given.
6646 if test "${with_sysroot+set}" = set; then :
6647 withval=$with_sysroot;
6654 case ${with_sysroot} in #(
6656 if test "$GCC" = yes; then
6657 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6661 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6667 $as_echo "${with_sysroot}" >&6; }
6668 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6673 $as_echo "${lt_sysroot:-no}" >&6; }
6679 # Check whether --enable-libtool-lock was given.
6680 if test "${enable_libtool_lock+set}" = set; then :
6681 enableval=$enable_libtool_lock;
6684 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6686 # Some flags need to be propagated to the compiler or linker for good
6690 # Find out which ABI we are using.
6691 echo 'int i;' > conftest.$ac_ext
6692 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6693 (eval $ac_compile) 2>&5
6695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6696 test $ac_status = 0; }; then
6697 case `/usr/bin/file conftest.$ac_objext` in
6709 # Find out which ABI we are using.
6710 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6711 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6712 (eval $ac_compile) 2>&5
6714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6715 test $ac_status = 0; }; then
6716 if test "$lt_cv_prog_gnu_ld" = yes; then
6717 case `/usr/bin/file conftest.$ac_objext` in
6719 LD="${LD-ld} -melf32bsmip"
6722 LD="${LD-ld} -melf32bmipn32"
6725 LD="${LD-ld} -melf64bmip"
6729 case `/usr/bin/file conftest.$ac_objext` in
6745 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6746 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6747 # Find out which ABI we are using.
6748 echo 'int i;' > conftest.$ac_ext
6749 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6750 (eval $ac_compile) 2>&5
6752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6753 test $ac_status = 0; }; then
6754 case `/usr/bin/file conftest.o` in
6757 x86_64-*kfreebsd*-gnu)
6758 LD="${LD-ld} -m elf_i386_fbsd"
6761 LD="${LD-ld} -m elf_i386"
6763 ppc64-*linux*|powerpc64-*linux*)
6764 LD="${LD-ld} -m elf32ppclinux"
6767 LD="${LD-ld} -m elf_s390"
6770 LD="${LD-ld} -m elf32_sparc"
6776 x86_64-*kfreebsd*-gnu)
6777 LD="${LD-ld} -m elf_x86_64_fbsd"
6780 LD="${LD-ld} -m elf_x86_64"
6782 ppc*-*linux*|powerpc*-*linux*)
6783 LD="${LD-ld} -m elf64ppc"
6785 s390*-*linux*|s390*-*tpf*)
6786 LD="${LD-ld} -m elf64_s390"
6789 LD="${LD-ld} -m elf64_sparc"
6799 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6800 SAVE_CFLAGS="$CFLAGS"
6801 CFLAGS="$CFLAGS -belf"
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6803 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6804 if ${lt_cv_cc_needs_belf+:} false; then :
6805 $as_echo_n "(cached) " >&6
6808 ac_cpp='$CPP $CPPFLAGS'
6809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6814 /* end confdefs.h. */
6824 if ac_fn_c_try_link "$LINENO"; then :
6825 lt_cv_cc_needs_belf=yes
6827 lt_cv_cc_needs_belf=no
6829 rm -f core conftest.err conftest.$ac_objext \
6830 conftest$ac_exeext conftest.$ac_ext
6832 ac_cpp='$CPP $CPPFLAGS'
6833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6839 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6840 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6841 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6842 CFLAGS="$SAVE_CFLAGS"
6846 # Find out which ABI we are using.
6847 echo 'int i;' > conftest.$ac_ext
6848 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6849 (eval $ac_compile) 2>&5
6851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6852 test $ac_status = 0; }; then
6853 case `/usr/bin/file conftest.o` in
6855 case $lt_cv_prog_gnu_ld in
6856 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6858 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6870 need_locks="$enable_libtool_lock"
6872 if test -n "$ac_tool_prefix"; then
6873 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6874 set dummy ${ac_tool_prefix}mt; ac_word=$2
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6876 $as_echo_n "checking for $ac_word... " >&6; }
6877 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6878 $as_echo_n "(cached) " >&6
6880 if test -n "$MANIFEST_TOOL"; then
6881 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6887 test -z "$as_dir" && as_dir=.
6888 for ac_exec_ext in '' $ac_executable_extensions; do
6889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6890 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6891 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6900 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6901 if test -n "$MANIFEST_TOOL"; then
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6903 $as_echo "$MANIFEST_TOOL" >&6; }
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6906 $as_echo "no" >&6; }
6911 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6912 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6913 # Extract the first word of "mt", so it can be a program name with args.
6914 set dummy mt; ac_word=$2
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6916 $as_echo_n "checking for $ac_word... " >&6; }
6917 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6918 $as_echo_n "(cached) " >&6
6920 if test -n "$ac_ct_MANIFEST_TOOL"; then
6921 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6927 test -z "$as_dir" && as_dir=.
6928 for ac_exec_ext in '' $ac_executable_extensions; do
6929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6930 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6940 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6941 if test -n "$ac_ct_MANIFEST_TOOL"; then
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6943 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6946 $as_echo "no" >&6; }
6949 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6952 case $cross_compiling:$ac_tool_warned in
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6955 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6956 ac_tool_warned=yes ;;
6958 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6961 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6964 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6966 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6967 if ${lt_cv_path_mainfest_tool+:} false; then :
6968 $as_echo_n "(cached) " >&6
6970 lt_cv_path_mainfest_tool=no
6971 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6972 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6973 cat conftest.err >&5
6974 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6975 lt_cv_path_mainfest_tool=yes
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6980 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6981 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6991 rhapsody* | darwin*)
6992 if test -n "$ac_tool_prefix"; then
6993 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6994 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6996 $as_echo_n "checking for $ac_word... " >&6; }
6997 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6998 $as_echo_n "(cached) " >&6
7000 if test -n "$DSYMUTIL"; then
7001 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 test -z "$as_dir" && as_dir=.
7008 for ac_exec_ext in '' $ac_executable_extensions; do
7009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7010 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7020 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7021 if test -n "$DSYMUTIL"; then
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7023 $as_echo "$DSYMUTIL" >&6; }
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7026 $as_echo "no" >&6; }
7031 if test -z "$ac_cv_prog_DSYMUTIL"; then
7032 ac_ct_DSYMUTIL=$DSYMUTIL
7033 # Extract the first word of "dsymutil", so it can be a program name with args.
7034 set dummy dsymutil; ac_word=$2
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7036 $as_echo_n "checking for $ac_word... " >&6; }
7037 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7038 $as_echo_n "(cached) " >&6
7040 if test -n "$ac_ct_DSYMUTIL"; then
7041 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 test -z "$as_dir" && as_dir=.
7048 for ac_exec_ext in '' $ac_executable_extensions; do
7049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7050 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7060 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7061 if test -n "$ac_ct_DSYMUTIL"; then
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7063 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7066 $as_echo "no" >&6; }
7069 if test "x$ac_ct_DSYMUTIL" = x; then
7072 case $cross_compiling:$ac_tool_warned in
7074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7076 ac_tool_warned=yes ;;
7078 DSYMUTIL=$ac_ct_DSYMUTIL
7081 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7084 if test -n "$ac_tool_prefix"; then
7085 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7086 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088 $as_echo_n "checking for $ac_word... " >&6; }
7089 if ${ac_cv_prog_NMEDIT+:} false; then :
7090 $as_echo_n "(cached) " >&6
7092 if test -n "$NMEDIT"; then
7093 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099 test -z "$as_dir" && as_dir=.
7100 for ac_exec_ext in '' $ac_executable_extensions; do
7101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7102 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7112 NMEDIT=$ac_cv_prog_NMEDIT
7113 if test -n "$NMEDIT"; then
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7115 $as_echo "$NMEDIT" >&6; }
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7118 $as_echo "no" >&6; }
7123 if test -z "$ac_cv_prog_NMEDIT"; then
7124 ac_ct_NMEDIT=$NMEDIT
7125 # Extract the first word of "nmedit", so it can be a program name with args.
7126 set dummy nmedit; ac_word=$2
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7128 $as_echo_n "checking for $ac_word... " >&6; }
7129 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7130 $as_echo_n "(cached) " >&6
7132 if test -n "$ac_ct_NMEDIT"; then
7133 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7139 test -z "$as_dir" && as_dir=.
7140 for ac_exec_ext in '' $ac_executable_extensions; do
7141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7142 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7152 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7153 if test -n "$ac_ct_NMEDIT"; then
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7155 $as_echo "$ac_ct_NMEDIT" >&6; }
7157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7158 $as_echo "no" >&6; }
7161 if test "x$ac_ct_NMEDIT" = x; then
7164 case $cross_compiling:$ac_tool_warned in
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7168 ac_tool_warned=yes ;;
7170 NMEDIT=$ac_ct_NMEDIT
7173 NMEDIT="$ac_cv_prog_NMEDIT"
7176 if test -n "$ac_tool_prefix"; then
7177 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7178 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7180 $as_echo_n "checking for $ac_word... " >&6; }
7181 if ${ac_cv_prog_LIPO+:} false; then :
7182 $as_echo_n "(cached) " >&6
7184 if test -n "$LIPO"; then
7185 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7191 test -z "$as_dir" && as_dir=.
7192 for ac_exec_ext in '' $ac_executable_extensions; do
7193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7194 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204 LIPO=$ac_cv_prog_LIPO
7205 if test -n "$LIPO"; then
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7207 $as_echo "$LIPO" >&6; }
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7210 $as_echo "no" >&6; }
7215 if test -z "$ac_cv_prog_LIPO"; then
7217 # Extract the first word of "lipo", so it can be a program name with args.
7218 set dummy lipo; ac_word=$2
7219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7220 $as_echo_n "checking for $ac_word... " >&6; }
7221 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7222 $as_echo_n "(cached) " >&6
7224 if test -n "$ac_ct_LIPO"; then
7225 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7231 test -z "$as_dir" && as_dir=.
7232 for ac_exec_ext in '' $ac_executable_extensions; do
7233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7234 ac_cv_prog_ac_ct_LIPO="lipo"
7235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7244 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7245 if test -n "$ac_ct_LIPO"; then
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7247 $as_echo "$ac_ct_LIPO" >&6; }
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7250 $as_echo "no" >&6; }
7253 if test "x$ac_ct_LIPO" = x; then
7256 case $cross_compiling:$ac_tool_warned in
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7259 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7260 ac_tool_warned=yes ;;
7265 LIPO="$ac_cv_prog_LIPO"
7268 if test -n "$ac_tool_prefix"; then
7269 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7270 set dummy ${ac_tool_prefix}otool; ac_word=$2
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272 $as_echo_n "checking for $ac_word... " >&6; }
7273 if ${ac_cv_prog_OTOOL+:} false; then :
7274 $as_echo_n "(cached) " >&6
7276 if test -n "$OTOOL"; then
7277 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283 test -z "$as_dir" && as_dir=.
7284 for ac_exec_ext in '' $ac_executable_extensions; do
7285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7286 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7296 OTOOL=$ac_cv_prog_OTOOL
7297 if test -n "$OTOOL"; then
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7299 $as_echo "$OTOOL" >&6; }
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302 $as_echo "no" >&6; }
7307 if test -z "$ac_cv_prog_OTOOL"; then
7309 # Extract the first word of "otool", so it can be a program name with args.
7310 set dummy otool; ac_word=$2
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7312 $as_echo_n "checking for $ac_word... " >&6; }
7313 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7314 $as_echo_n "(cached) " >&6
7316 if test -n "$ac_ct_OTOOL"; then
7317 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7323 test -z "$as_dir" && as_dir=.
7324 for ac_exec_ext in '' $ac_executable_extensions; do
7325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7326 ac_cv_prog_ac_ct_OTOOL="otool"
7327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7336 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7337 if test -n "$ac_ct_OTOOL"; then
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7339 $as_echo "$ac_ct_OTOOL" >&6; }
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7342 $as_echo "no" >&6; }
7345 if test "x$ac_ct_OTOOL" = x; then
7348 case $cross_compiling:$ac_tool_warned in
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7352 ac_tool_warned=yes ;;
7357 OTOOL="$ac_cv_prog_OTOOL"
7360 if test -n "$ac_tool_prefix"; then
7361 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7362 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7364 $as_echo_n "checking for $ac_word... " >&6; }
7365 if ${ac_cv_prog_OTOOL64+:} false; then :
7366 $as_echo_n "(cached) " >&6
7368 if test -n "$OTOOL64"; then
7369 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7375 test -z "$as_dir" && as_dir=.
7376 for ac_exec_ext in '' $ac_executable_extensions; do
7377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7378 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388 OTOOL64=$ac_cv_prog_OTOOL64
7389 if test -n "$OTOOL64"; then
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7391 $as_echo "$OTOOL64" >&6; }
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394 $as_echo "no" >&6; }
7399 if test -z "$ac_cv_prog_OTOOL64"; then
7400 ac_ct_OTOOL64=$OTOOL64
7401 # Extract the first word of "otool64", so it can be a program name with args.
7402 set dummy otool64; ac_word=$2
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7404 $as_echo_n "checking for $ac_word... " >&6; }
7405 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7406 $as_echo_n "(cached) " >&6
7408 if test -n "$ac_ct_OTOOL64"; then
7409 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7415 test -z "$as_dir" && as_dir=.
7416 for ac_exec_ext in '' $ac_executable_extensions; do
7417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7418 ac_cv_prog_ac_ct_OTOOL64="otool64"
7419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7429 if test -n "$ac_ct_OTOOL64"; then
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7431 $as_echo "$ac_ct_OTOOL64" >&6; }
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }
7437 if test "x$ac_ct_OTOOL64" = x; then
7440 case $cross_compiling:$ac_tool_warned in
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7443 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7444 ac_tool_warned=yes ;;
7446 OTOOL64=$ac_ct_OTOOL64
7449 OTOOL64="$ac_cv_prog_OTOOL64"
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7479 $as_echo_n "checking for -single_module linker flag... " >&6; }
7480 if ${lt_cv_apple_cc_single_mod+:} false; then :
7481 $as_echo_n "(cached) " >&6
7483 lt_cv_apple_cc_single_mod=no
7484 if test -z "${LT_MULTI_MODULE}"; then
7485 # By default we will add the -single_module flag. You can override
7486 # by either setting the environment variable LT_MULTI_MODULE
7487 # non-empty at configure time, or by adding -multi_module to the
7489 rm -rf libconftest.dylib*
7490 echo "int foo(void){return 1;}" > conftest.c
7491 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7492 -dynamiclib -Wl,-single_module conftest.c" >&5
7493 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7494 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7496 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7497 lt_cv_apple_cc_single_mod=yes
7499 cat conftest.err >&5
7501 rm -rf libconftest.dylib*
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7506 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7508 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7509 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7510 $as_echo_n "(cached) " >&6
7512 lt_cv_ld_exported_symbols_list=no
7513 save_LDFLAGS=$LDFLAGS
7514 echo "_main" > conftest.sym
7515 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7517 /* end confdefs.h. */
7527 if ac_fn_c_try_link "$LINENO"; then :
7528 lt_cv_ld_exported_symbols_list=yes
7530 lt_cv_ld_exported_symbols_list=no
7532 rm -f core conftest.err conftest.$ac_objext \
7533 conftest$ac_exeext conftest.$ac_ext
7534 LDFLAGS="$save_LDFLAGS"
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7538 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7540 $as_echo_n "checking for -force_load linker flag... " >&6; }
7541 if ${lt_cv_ld_force_load+:} false; then :
7542 $as_echo_n "(cached) " >&6
7544 lt_cv_ld_force_load=no
7545 cat > conftest.c << _LT_EOF
7546 int forced_loaded() { return 2;}
7548 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7549 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7550 echo "$AR cru libconftest.a conftest.o" >&5
7551 $AR cru libconftest.a conftest.o 2>&5
7552 echo "$RANLIB libconftest.a" >&5
7553 $RANLIB libconftest.a 2>&5
7554 cat > conftest.c << _LT_EOF
7555 int main() { return 0;}
7557 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7558 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7560 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7561 lt_cv_ld_force_load=yes
7563 cat conftest.err >&5
7565 rm -f conftest.err libconftest.a conftest conftest.c
7566 rm -rf conftest.dSYM
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7570 $as_echo "$lt_cv_ld_force_load" >&6; }
7572 rhapsody* | darwin1.[012])
7573 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7575 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7576 darwin*) # darwin 5.x on
7577 # if running on 10.5 or later, the deployment target defaults
7578 # to the OS version, if on x86, and 10.4, the deployment
7579 # target defaults to 10.4. Don't you love it?
7580 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7581 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7582 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7584 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7586 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7590 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7591 _lt_dar_single_mod='$single_module'
7593 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7594 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7596 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7598 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7599 _lt_dsymutil='~$DSYMUTIL $lib || :'
7607 ac_cpp='$CPP $CPPFLAGS'
7608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7612 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7613 # On Suns, sometimes $CPP names a directory.
7614 if test -n "$CPP" && test -d "$CPP"; then
7617 if test -z "$CPP"; then
7618 if ${ac_cv_prog_CPP+:} false; then :
7619 $as_echo_n "(cached) " >&6
7621 # Double quotes because CPP needs to be expanded
7622 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7625 for ac_c_preproc_warn_flag in '' yes
7627 # Use a header file that comes with gcc, so configuring glibc
7628 # with a fresh cross-compiler works.
7629 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7630 # <limits.h> exists even on freestanding compilers.
7631 # On the NeXT, cc -E runs the code through the compiler's parser,
7632 # not just through cpp. "Syntax error" is here to catch this case.
7633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7634 /* end confdefs.h. */
7636 # include <limits.h>
7638 # include <assert.h>
7642 if ac_fn_c_try_cpp "$LINENO"; then :
7645 # Broken: fails on valid input.
7648 rm -f conftest.err conftest.i conftest.$ac_ext
7650 # OK, works on sane cases. Now check whether nonexistent headers
7651 # can be detected and how.
7652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7653 /* end confdefs.h. */
7654 #include <ac_nonexistent.h>
7656 if ac_fn_c_try_cpp "$LINENO"; then :
7657 # Broken: success on invalid input.
7660 # Passes both tests.
7664 rm -f conftest.err conftest.i conftest.$ac_ext
7667 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7668 rm -f conftest.i conftest.err conftest.$ac_ext
7669 if $ac_preproc_ok; then :
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7682 $as_echo "$CPP" >&6; }
7684 for ac_c_preproc_warn_flag in '' yes
7686 # Use a header file that comes with gcc, so configuring glibc
7687 # with a fresh cross-compiler works.
7688 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7689 # <limits.h> exists even on freestanding compilers.
7690 # On the NeXT, cc -E runs the code through the compiler's parser,
7691 # not just through cpp. "Syntax error" is here to catch this case.
7692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7693 /* end confdefs.h. */
7695 # include <limits.h>
7697 # include <assert.h>
7701 if ac_fn_c_try_cpp "$LINENO"; then :
7704 # Broken: fails on valid input.
7707 rm -f conftest.err conftest.i conftest.$ac_ext
7709 # OK, works on sane cases. Now check whether nonexistent headers
7710 # can be detected and how.
7711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7712 /* end confdefs.h. */
7713 #include <ac_nonexistent.h>
7715 if ac_fn_c_try_cpp "$LINENO"; then :
7716 # Broken: success on invalid input.
7719 # Passes both tests.
7723 rm -f conftest.err conftest.i conftest.$ac_ext
7726 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7727 rm -f conftest.i conftest.err conftest.$ac_ext
7728 if $ac_preproc_ok; then :
7731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7733 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7734 See \`config.log' for more details" "$LINENO" 5; }
7738 ac_cpp='$CPP $CPPFLAGS'
7739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7745 $as_echo_n "checking for ANSI C header files... " >&6; }
7746 if ${ac_cv_header_stdc+:} false; then :
7747 $as_echo_n "(cached) " >&6
7749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7750 /* end confdefs.h. */
7764 if ac_fn_c_try_compile "$LINENO"; then :
7765 ac_cv_header_stdc=yes
7767 ac_cv_header_stdc=no
7769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7771 if test $ac_cv_header_stdc = yes; then
7772 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7774 /* end confdefs.h. */
7778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7779 $EGREP "memchr" >/dev/null 2>&1; then :
7782 ac_cv_header_stdc=no
7788 if test $ac_cv_header_stdc = yes; then
7789 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7791 /* end confdefs.h. */
7795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7796 $EGREP "free" >/dev/null 2>&1; then :
7799 ac_cv_header_stdc=no
7805 if test $ac_cv_header_stdc = yes; then
7806 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7807 if test "$cross_compiling" = yes; then :
7810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7811 /* end confdefs.h. */
7814 #if ((' ' & 0x0FF) == 0x020)
7815 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7816 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7818 # define ISLOWER(c) \
7819 (('a' <= (c) && (c) <= 'i') \
7820 || ('j' <= (c) && (c) <= 'r') \
7821 || ('s' <= (c) && (c) <= 'z'))
7822 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7825 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7830 for (i = 0; i < 256; i++)
7831 if (XOR (islower (i), ISLOWER (i))
7832 || toupper (i) != TOUPPER (i))
7837 if ac_fn_c_try_run "$LINENO"; then :
7840 ac_cv_header_stdc=no
7842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7843 conftest.$ac_objext conftest.beam conftest.$ac_ext
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7849 $as_echo "$ac_cv_header_stdc" >&6; }
7850 if test $ac_cv_header_stdc = yes; then
7852 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7856 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7857 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7858 inttypes.h stdint.h unistd.h
7860 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7861 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7863 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7864 cat >>confdefs.h <<_ACEOF
7865 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7873 for ac_header in dlfcn.h
7875 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7877 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7878 cat >>confdefs.h <<_ACEOF
7879 #define HAVE_DLFCN_H 1
7898 # Check whether --enable-shared was given.
7899 if test "${enable_shared+set}" = set; then :
7900 enableval=$enable_shared; p=${PACKAGE-default}
7902 yes) enable_shared=yes ;;
7903 no) enable_shared=no ;;
7906 # Look at the argument we got. We use all the common list separators.
7907 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7908 for pkg in $enableval; do
7910 if test "X$pkg" = "X$p"; then
7929 # Check whether --enable-static was given.
7930 if test "${enable_static+set}" = set; then :
7931 enableval=$enable_static; p=${PACKAGE-default}
7933 yes) enable_static=yes ;;
7934 no) enable_static=no ;;
7937 # Look at the argument we got. We use all the common list separators.
7938 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7939 for pkg in $enableval; do
7941 if test "X$pkg" = "X$p"; then
7961 # Check whether --with-pic was given.
7962 if test "${with_pic+set}" = set; then :
7963 withval=$with_pic; pic_mode="$withval"
7969 test -z "$pic_mode" && pic_mode=default
7977 # Check whether --enable-fast-install was given.
7978 if test "${enable_fast_install+set}" = set; then :
7979 enableval=$enable_fast_install; p=${PACKAGE-default}
7981 yes) enable_fast_install=yes ;;
7982 no) enable_fast_install=no ;;
7984 enable_fast_install=no
7985 # Look at the argument we got. We use all the common list separators.
7986 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7987 for pkg in $enableval; do
7989 if test "X$pkg" = "X$p"; then
7990 enable_fast_install=yes
7997 enable_fast_install=yes
8010 # This can be used to rebuild libtool when needed
8011 LIBTOOL_DEPS="$ltmain"
8013 # Always use our own libtool.
8014 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8041 test -z "$LN_S" && LN_S="ln -s"
8056 if test -n "${ZSH_VERSION+set}" ; then
8057 setopt NO_GLOB_SUBST
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8061 $as_echo_n "checking for objdir... " >&6; }
8062 if ${lt_cv_objdir+:} false; then :
8063 $as_echo_n "(cached) " >&6
8065 rm -f .libs 2>/dev/null
8066 mkdir .libs 2>/dev/null
8067 if test -d .libs; then
8070 # MS-DOS does not allow filenames that begin with a dot.
8073 rmdir .libs 2>/dev/null
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8076 $as_echo "$lt_cv_objdir" >&6; }
8077 objdir=$lt_cv_objdir
8083 cat >>confdefs.h <<_ACEOF
8084 #define LT_OBJDIR "$lt_cv_objdir/"
8092 # AIX sometimes has problems with the GCC collect2 program. For some
8093 # reason, if we set the COLLECT_NAMES environment variable, the problems
8094 # vanish in a puff of smoke.
8095 if test "X${COLLECT_NAMES+set}" != Xset; then
8097 export COLLECT_NAMES
8104 can_build_shared=yes
8106 # All known linkers require a `.a' archive for static linking (except MSVC,
8107 # which needs '.lib').
8110 with_gnu_ld="$lt_cv_prog_gnu_ld"
8113 old_CFLAGS="$CFLAGS"
8115 # Set sane defaults for various variables
8116 test -z "$CC" && CC=cc
8117 test -z "$LTCC" && LTCC=$CC
8118 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8119 test -z "$LD" && LD=ld
8120 test -z "$ac_objext" && ac_objext=o
8122 for cc_temp in $compiler""; do
8124 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8125 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8130 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8133 # Only perform the check for file, if the check method requires it
8134 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8135 case $deplibs_check_method in
8137 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8139 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8140 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8141 $as_echo_n "(cached) " >&6
8145 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8148 lt_save_MAGIC_CMD="$MAGIC_CMD"
8149 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8150 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8151 for ac_dir in $ac_dummy; do
8153 test -z "$ac_dir" && ac_dir=.
8154 if test -f $ac_dir/${ac_tool_prefix}file; then
8155 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8156 if test -n "$file_magic_test_file"; then
8157 case $deplibs_check_method in
8159 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8160 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8161 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8162 $EGREP "$file_magic_regex" > /dev/null; then
8167 *** Warning: the command libtool uses to detect shared libraries,
8168 *** $file_magic_cmd, produces output that libtool cannot recognize.
8169 *** The result is that libtool may fail to recognize shared libraries
8170 *** as such. This will affect the creation of libtool libraries that
8171 *** depend on shared libraries, but programs linked with such libtool
8172 *** libraries will work regardless of this problem. Nevertheless, you
8173 *** may want to report the problem to your system manager and/or to
8174 *** bug-libtool@gnu.org
8184 MAGIC_CMD="$lt_save_MAGIC_CMD"
8189 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8190 if test -n "$MAGIC_CMD"; then
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8192 $as_echo "$MAGIC_CMD" >&6; }
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8195 $as_echo "no" >&6; }
8202 if test -z "$lt_cv_path_MAGIC_CMD"; then
8203 if test -n "$ac_tool_prefix"; then
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8205 $as_echo_n "checking for file... " >&6; }
8206 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8207 $as_echo_n "(cached) " >&6
8211 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8214 lt_save_MAGIC_CMD="$MAGIC_CMD"
8215 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8216 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8217 for ac_dir in $ac_dummy; do
8219 test -z "$ac_dir" && ac_dir=.
8220 if test -f $ac_dir/file; then
8221 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8222 if test -n "$file_magic_test_file"; then
8223 case $deplibs_check_method in
8225 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8226 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8227 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8228 $EGREP "$file_magic_regex" > /dev/null; then
8233 *** Warning: the command libtool uses to detect shared libraries,
8234 *** $file_magic_cmd, produces output that libtool cannot recognize.
8235 *** The result is that libtool may fail to recognize shared libraries
8236 *** as such. This will affect the creation of libtool libraries that
8237 *** depend on shared libraries, but programs linked with such libtool
8238 *** libraries will work regardless of this problem. Nevertheless, you
8239 *** may want to report the problem to your system manager and/or to
8240 *** bug-libtool@gnu.org
8250 MAGIC_CMD="$lt_save_MAGIC_CMD"
8255 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8256 if test -n "$MAGIC_CMD"; then
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8258 $as_echo "$MAGIC_CMD" >&6; }
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8261 $as_echo "no" >&6; }
8274 # Use C for the default configuration in the libtool script
8278 ac_cpp='$CPP $CPPFLAGS'
8279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8284 # Source file extension for C test sources.
8287 # Object file extension for compiled C test sources.
8291 # Code to be used in simple compile tests
8292 lt_simple_compile_test_code="int some_variable = 0;"
8294 # Code to be used in simple link tests
8295 lt_simple_link_test_code='int main(){return(0);}'
8303 # If no C compiler was specified, use CC.
8306 # If no C compiler flags were specified, use CFLAGS.
8307 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8309 # Allow CC to be a program name with arguments.
8312 # Save the default compiler, since it gets overwritten when the other
8313 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8314 compiler_DEFAULT=$CC
8316 # save warnings/boilerplate of simple test code
8317 ac_outfile=conftest.$ac_objext
8318 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8319 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8320 _lt_compiler_boilerplate=`cat conftest.err`
8323 ac_outfile=conftest.$ac_objext
8324 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8325 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8326 _lt_linker_boilerplate=`cat conftest.err`
8331 ## There is no encapsulation within the following macros, do not change
8332 ## the running order or otherwise move them around unless you know exactly
8333 ## what you are doing...
8334 if test -n "$compiler"; then
8336 lt_prog_compiler_no_builtin_flag=
8338 if test "$GCC" = yes; then
8339 case $cc_basename in
8341 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8343 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8347 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8348 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8349 $as_echo_n "(cached) " >&6
8351 lt_cv_prog_compiler_rtti_exceptions=no
8352 ac_outfile=conftest.$ac_objext
8353 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8354 lt_compiler_flag="-fno-rtti -fno-exceptions"
8355 # Insert the option either (1) after the last *FLAGS variable, or
8356 # (2) before a word containing "conftest.", or (3) at the end.
8357 # Note that $ac_compile itself does not contain backslashes and begins
8358 # with a dollar sign (not a hyphen), so the echo should work correctly.
8359 # The option is referenced via a variable to avoid confusing sed.
8360 lt_compile=`echo "$ac_compile" | $SED \
8361 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8362 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8363 -e 's:$: $lt_compiler_flag:'`
8364 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8365 (eval "$lt_compile" 2>conftest.err)
8367 cat conftest.err >&5
8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 if (exit $ac_status) && test -s "$ac_outfile"; then
8370 # The compiler can only warn and ignore the option if not recognized
8371 # So say no if there are warnings other than the usual output.
8372 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8373 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8374 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8375 lt_cv_prog_compiler_rtti_exceptions=yes
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8382 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8384 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8385 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8397 lt_prog_compiler_wl=
8398 lt_prog_compiler_pic=
8399 lt_prog_compiler_static=
8402 if test "$GCC" = yes; then
8403 lt_prog_compiler_wl='-Wl,'
8404 lt_prog_compiler_static='-static'
8408 # All AIX code is PIC.
8409 if test "$host_cpu" = ia64; then
8410 # AIX 5 now supports IA64 processor
8411 lt_prog_compiler_static='-Bstatic'
8418 # see comment about AmigaOS4 .so support
8419 lt_prog_compiler_pic='-fPIC'
8422 # FIXME: we need at least 68020 code to build shared libraries, but
8423 # adding the `-m68020' flag to GCC prevents building anything better,
8425 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8430 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8431 # PIC is the default for these OSes.
8434 mingw* | cygwin* | pw32* | os2* | cegcc*)
8435 # This hack is so that the source file can tell whether it is being
8436 # built for inclusion in a dll (and should export symbols for example).
8437 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8438 # (--disable-auto-import) libraries
8439 lt_prog_compiler_pic='-DDLL_EXPORT'
8442 darwin* | rhapsody*)
8443 # PIC is the default on this platform
8444 # Common symbols not allowed in MH_DYLIB files
8445 lt_prog_compiler_pic='-fno-common'
8449 # PIC is the default for Haiku.
8450 # The "-static" flag exists, but is broken.
8451 lt_prog_compiler_static=
8455 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8456 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8457 # sets the default TLS model and affects inlining.
8463 lt_prog_compiler_pic='-fPIC'
8469 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8470 # Instead, we relocate shared libraries at runtime.
8474 # Just because we use GCC doesn't mean we suddenly get shared libraries
8475 # on systems that don't support them.
8476 lt_prog_compiler_can_build_shared=no
8481 # QNX uses GNU C++, but need to define -shared option too, otherwise
8483 lt_prog_compiler_pic='-fPIC -shared'
8487 if test -d /usr/nec; then
8488 lt_prog_compiler_pic=-Kconform_pic
8493 lt_prog_compiler_pic='-fPIC'
8497 case $cc_basename in
8498 nvcc*) # Cuda Compiler Driver 2.2
8499 lt_prog_compiler_wl='-Xlinker '
8500 lt_prog_compiler_pic='-Xcompiler -fPIC'
8504 # PORTME Check for flag to pass linker flags through the system compiler.
8507 lt_prog_compiler_wl='-Wl,'
8508 if test "$host_cpu" = ia64; then
8509 # AIX 5 now supports IA64 processor
8510 lt_prog_compiler_static='-Bstatic'
8512 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8516 mingw* | cygwin* | pw32* | os2* | cegcc*)
8517 # This hack is so that the source file can tell whether it is being
8518 # built for inclusion in a dll (and should export symbols for example).
8519 lt_prog_compiler_pic='-DDLL_EXPORT'
8522 hpux9* | hpux10* | hpux11*)
8523 lt_prog_compiler_wl='-Wl,'
8524 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8531 lt_prog_compiler_pic='+Z'
8534 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8535 lt_prog_compiler_static='${wl}-a ${wl}archive'
8538 irix5* | irix6* | nonstopux*)
8539 lt_prog_compiler_wl='-Wl,'
8540 # PIC (with -KPIC) is the default.
8541 lt_prog_compiler_static='-non_shared'
8544 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8545 case $cc_basename in
8546 # old Intel for x86_64 which still supported -KPIC.
8548 lt_prog_compiler_wl='-Wl,'
8549 lt_prog_compiler_pic='-KPIC'
8550 lt_prog_compiler_static='-static'
8552 # icc used to be incompatible with GCC.
8553 # ICC 10 doesn't accept -KPIC any more.
8555 lt_prog_compiler_wl='-Wl,'
8556 lt_prog_compiler_pic='-fPIC'
8557 lt_prog_compiler_static='-static'
8559 # Lahey Fortran 8.1.
8561 lt_prog_compiler_wl='-Wl,'
8562 lt_prog_compiler_pic='--shared'
8563 lt_prog_compiler_static='--static'
8566 # NAG Fortran compiler
8567 lt_prog_compiler_wl='-Wl,-Wl,,'
8568 lt_prog_compiler_pic='-PIC'
8569 lt_prog_compiler_static='-Bstatic'
8571 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8572 # Portland Group compilers (*not* the Pentium gcc compiler,
8573 # which looks to be a dead project)
8574 lt_prog_compiler_wl='-Wl,'
8575 lt_prog_compiler_pic='-fpic'
8576 lt_prog_compiler_static='-Bstatic'
8579 lt_prog_compiler_wl='-Wl,'
8580 # All Alpha code is PIC.
8581 lt_prog_compiler_static='-non_shared'
8583 xl* | bgxl* | bgf* | mpixl*)
8584 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8585 lt_prog_compiler_wl='-Wl,'
8586 lt_prog_compiler_pic='-qpic'
8587 lt_prog_compiler_static='-qstaticlink'
8590 case `$CC -V 2>&1 | sed 5q` in
8591 *Sun\ F* | *Sun*Fortran*)
8592 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8593 lt_prog_compiler_pic='-KPIC'
8594 lt_prog_compiler_static='-Bstatic'
8595 lt_prog_compiler_wl=''
8599 lt_prog_compiler_pic='-KPIC'
8600 lt_prog_compiler_static='-Bstatic'
8601 lt_prog_compiler_wl='-Wl,'
8609 lt_prog_compiler_pic='-KPIC'
8610 lt_prog_compiler_static='-Bstatic'
8614 # QNX uses GNU C++, but need to define -shared option too, otherwise
8616 lt_prog_compiler_pic='-fPIC -shared'
8619 osf3* | osf4* | osf5*)
8620 lt_prog_compiler_wl='-Wl,'
8621 # All OSF/1 code is PIC.
8622 lt_prog_compiler_static='-non_shared'
8626 lt_prog_compiler_static='-non_shared'
8630 lt_prog_compiler_pic='-KPIC'
8631 lt_prog_compiler_static='-Bstatic'
8632 case $cc_basename in
8633 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8634 lt_prog_compiler_wl='-Qoption ld ';;
8636 lt_prog_compiler_wl='-Wl,';;
8641 lt_prog_compiler_wl='-Qoption ld '
8642 lt_prog_compiler_pic='-PIC'
8643 lt_prog_compiler_static='-Bstatic'
8646 sysv4 | sysv4.2uw2* | sysv4.3*)
8647 lt_prog_compiler_wl='-Wl,'
8648 lt_prog_compiler_pic='-KPIC'
8649 lt_prog_compiler_static='-Bstatic'
8653 if test -d /usr/nec ;then
8654 lt_prog_compiler_pic='-Kconform_pic'
8655 lt_prog_compiler_static='-Bstatic'
8659 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8660 lt_prog_compiler_wl='-Wl,'
8661 lt_prog_compiler_pic='-KPIC'
8662 lt_prog_compiler_static='-Bstatic'
8666 lt_prog_compiler_wl='-Wl,'
8667 lt_prog_compiler_can_build_shared=no
8671 lt_prog_compiler_pic='-pic'
8672 lt_prog_compiler_static='-Bstatic'
8676 lt_prog_compiler_can_build_shared=no
8682 # For platforms which do not support PIC, -DPIC is meaningless:
8684 lt_prog_compiler_pic=
8687 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8692 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8693 if ${lt_cv_prog_compiler_pic+:} false; then :
8694 $as_echo_n "(cached) " >&6
8696 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8699 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8700 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8703 # Check to make sure the PIC flag actually works.
8705 if test -n "$lt_prog_compiler_pic"; then
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8707 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8708 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8709 $as_echo_n "(cached) " >&6
8711 lt_cv_prog_compiler_pic_works=no
8712 ac_outfile=conftest.$ac_objext
8713 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8714 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8715 # Insert the option either (1) after the last *FLAGS variable, or
8716 # (2) before a word containing "conftest.", or (3) at the end.
8717 # Note that $ac_compile itself does not contain backslashes and begins
8718 # with a dollar sign (not a hyphen), so the echo should work correctly.
8719 # The option is referenced via a variable to avoid confusing sed.
8720 lt_compile=`echo "$ac_compile" | $SED \
8721 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8722 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8723 -e 's:$: $lt_compiler_flag:'`
8724 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8725 (eval "$lt_compile" 2>conftest.err)
8727 cat conftest.err >&5
8728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8729 if (exit $ac_status) && test -s "$ac_outfile"; then
8730 # The compiler can only warn and ignore the option if not recognized
8731 # So say no if there are warnings other than the usual output.
8732 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8733 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8734 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8735 lt_cv_prog_compiler_pic_works=yes
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8742 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8744 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8745 case $lt_prog_compiler_pic in
8747 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8750 lt_prog_compiler_pic=
8751 lt_prog_compiler_can_build_shared=no
8767 # Check to make sure the static flag actually works.
8769 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8771 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8772 if ${lt_cv_prog_compiler_static_works+:} false; then :
8773 $as_echo_n "(cached) " >&6
8775 lt_cv_prog_compiler_static_works=no
8776 save_LDFLAGS="$LDFLAGS"
8777 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8778 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8779 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8780 # The linker can only warn and ignore the option if not recognized
8781 # So say no if there are warnings
8782 if test -s conftest.err; then
8783 # Append any errors to the config.log.
8784 cat conftest.err 1>&5
8785 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8786 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8787 if diff conftest.exp conftest.er2 >/dev/null; then
8788 lt_cv_prog_compiler_static_works=yes
8791 lt_cv_prog_compiler_static_works=yes
8795 LDFLAGS="$save_LDFLAGS"
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8799 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8801 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8804 lt_prog_compiler_static=
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8814 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8815 if ${lt_cv_prog_compiler_c_o+:} false; then :
8816 $as_echo_n "(cached) " >&6
8818 lt_cv_prog_compiler_c_o=no
8819 $RM -r conftest 2>/dev/null
8823 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8825 lt_compiler_flag="-o out/conftest2.$ac_objext"
8826 # Insert the option either (1) after the last *FLAGS variable, or
8827 # (2) before a word containing "conftest.", or (3) at the end.
8828 # Note that $ac_compile itself does not contain backslashes and begins
8829 # with a dollar sign (not a hyphen), so the echo should work correctly.
8830 lt_compile=`echo "$ac_compile" | $SED \
8831 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8832 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8833 -e 's:$: $lt_compiler_flag:'`
8834 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8835 (eval "$lt_compile" 2>out/conftest.err)
8837 cat out/conftest.err >&5
8838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8839 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8841 # The compiler can only warn and ignore the option if not recognized
8842 # So say no if there are warnings
8843 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8844 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8845 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8846 lt_cv_prog_compiler_c_o=yes
8851 # SGI C++ compiler will create directory out/ii_files/ for
8852 # template instantiation
8853 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8854 $RM out/* && rmdir out
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8861 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8869 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8870 if ${lt_cv_prog_compiler_c_o+:} false; then :
8871 $as_echo_n "(cached) " >&6
8873 lt_cv_prog_compiler_c_o=no
8874 $RM -r conftest 2>/dev/null
8878 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8880 lt_compiler_flag="-o out/conftest2.$ac_objext"
8881 # Insert the option either (1) after the last *FLAGS variable, or
8882 # (2) before a word containing "conftest.", or (3) at the end.
8883 # Note that $ac_compile itself does not contain backslashes and begins
8884 # with a dollar sign (not a hyphen), so the echo should work correctly.
8885 lt_compile=`echo "$ac_compile" | $SED \
8886 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8887 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8888 -e 's:$: $lt_compiler_flag:'`
8889 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8890 (eval "$lt_compile" 2>out/conftest.err)
8892 cat out/conftest.err >&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8896 # The compiler can only warn and ignore the option if not recognized
8897 # So say no if there are warnings
8898 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8899 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8900 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8901 lt_cv_prog_compiler_c_o=yes
8906 # SGI C++ compiler will create directory out/ii_files/ for
8907 # template instantiation
8908 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8909 $RM out/* && rmdir out
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8916 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8921 hard_links="nottested"
8922 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8923 # do not overwrite the value of need_locks provided by the user
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8925 $as_echo_n "checking if we can lock with hard links... " >&6; }
8928 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8930 ln conftest.a conftest.b 2>&5 || hard_links=no
8931 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8933 $as_echo "$hard_links" >&6; }
8934 if test "$hard_links" = no; then
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8936 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8949 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8952 allow_undefined_flag=
8953 always_export_symbols=no
8955 archive_expsym_cmds=
8956 compiler_needs_object=no
8957 enable_shared_with_static_runtimes=no
8958 export_dynamic_flag_spec=
8959 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8960 hardcode_automatic=no
8962 hardcode_direct_absolute=no
8963 hardcode_libdir_flag_spec=
8964 hardcode_libdir_flag_spec_ld=
8965 hardcode_libdir_separator=
8967 hardcode_shlibpath_var=unsupported
8969 link_all_deplibs=unknown
8972 old_archive_from_new_cmds=
8973 old_archive_from_expsyms_cmds=
8974 thread_safe_flag_spec=
8975 whole_archive_flag_spec=
8976 # include_expsyms should be a list of space-separated symbols to be *always*
8977 # included in the symbol list
8979 # exclude_expsyms can be an extended regexp of symbols to exclude
8980 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8981 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8982 # as well as any symbol that contains `d'.
8983 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8984 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8985 # platforms (ab)use it in PIC code, but their linkers get confused if
8986 # the symbol is explicitly referenced. Since portable code cannot
8987 # rely on this symbol name, it's probably fine to never include it in
8988 # preloaded symbol tables.
8989 # Exclude shared library initialization/finalization symbols.
8990 extract_expsyms_cmds=
8993 cygwin* | mingw* | pw32* | cegcc*)
8994 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8995 # When not using gcc, we currently assume that we are using
8996 # Microsoft Visual C++.
8997 if test "$GCC" != yes; then
9002 # we just hope/assume this is gcc and not c89 (= MSVC++)
9012 # On some targets, GNU ld is compatible enough with the native linker
9013 # that we're better off using the native interface for both.
9014 lt_use_gnu_ld_interface=no
9015 if test "$with_gnu_ld" = yes; then
9018 # The AIX port of GNU ld has always aspired to compatibility
9019 # with the native linker. However, as the warning in the GNU ld
9020 # block says, versions before 2.19.5* couldn't really create working
9021 # shared libraries, regardless of the interface used.
9022 case `$LD -v 2>&1` in
9023 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9024 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9025 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9027 lt_use_gnu_ld_interface=yes
9032 lt_use_gnu_ld_interface=yes
9037 if test "$lt_use_gnu_ld_interface" = yes; then
9038 # If archive_cmds runs LD, not CC, wlarc should be empty
9041 # Set some defaults for GNU ld with shared library support. These
9042 # are reset later if shared libraries are not supported. Putting them
9043 # here allows them to be overridden if necessary.
9044 runpath_var=LD_RUN_PATH
9045 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9046 export_dynamic_flag_spec='${wl}--export-dynamic'
9047 # ancient GNU ld didn't support --whole-archive et. al.
9048 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9049 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9051 whole_archive_flag_spec=
9053 supports_anon_versioning=no
9054 case `$LD -v 2>&1` in
9055 *GNU\ gold*) supports_anon_versioning=yes ;;
9056 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9057 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9058 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9059 *\ 2.11.*) ;; # other 2.11 versions
9060 *) supports_anon_versioning=yes ;;
9063 # See if GNU ld supports shared libraries.
9066 # On AIX/PPC, the GNU linker is very broken
9067 if test "$host_cpu" != ia64; then
9071 *** Warning: the GNU linker, at least up to release 2.19, is reported
9072 *** to be unable to reliably create shared libraries on AIX.
9073 *** Therefore, libtool is disabling shared libraries support. If you
9074 *** really care for shared libraries, you may want to install binutils
9075 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9076 *** You will then need to restart the configuration process.
9085 # see comment about AmigaOS4 .so support
9086 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9087 archive_expsym_cmds=''
9090 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)'
9091 hardcode_libdir_flag_spec='-L$libdir'
9092 hardcode_minus_L=yes
9098 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9099 allow_undefined_flag=unsupported
9100 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9101 # support --undefined. This deserves some investigation. FIXME
9102 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9108 cygwin* | mingw* | pw32* | cegcc*)
9109 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9110 # as there is no search path for DLLs.
9111 hardcode_libdir_flag_spec='-L$libdir'
9112 export_dynamic_flag_spec='${wl}--export-all-symbols'
9113 allow_undefined_flag=unsupported
9114 always_export_symbols=no
9115 enable_shared_with_static_runtimes=yes
9116 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'
9117 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9119 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9120 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9121 # If the export-symbols file already is a .def file (1st line
9122 # is EXPORTS), use it as is; otherwise, prepend...
9123 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9124 cp $export_symbols $output_objdir/$soname.def;
9126 echo EXPORTS > $output_objdir/$soname.def;
9127 cat $export_symbols >> $output_objdir/$soname.def;
9129 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9136 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9137 link_all_deplibs=yes
9142 hardcode_shlibpath_var=no
9143 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9144 export_dynamic_flag_spec='${wl}-E'
9145 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9146 # Instead, shared libraries are loaded at an image base (0x10000000 by
9147 # default) and relocated if they conflict, which is a slow very memory
9148 # consuming and fragmenting process. To avoid this, we pick a random,
9149 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9150 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9151 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9152 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'
9155 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9157 if test "$host_os" = linux-dietlibc; then
9158 case $cc_basename in
9159 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9162 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9163 && test "$tmp_diet" = no
9165 tmp_addflag=' $pic_flag'
9166 tmp_sharedflag='-shared'
9167 case $cc_basename,$host_cpu in
9168 pgcc*) # Portland Group C compiler
9169 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'
9170 tmp_addflag=' $pic_flag'
9172 pgf77* | pgf90* | pgf95* | pgfortran*)
9173 # Portland Group f77 and f90 compilers
9174 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'
9175 tmp_addflag=' $pic_flag -Mnomain' ;;
9176 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9177 tmp_addflag=' -i_dynamic' ;;
9178 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9179 tmp_addflag=' -i_dynamic -nofor_main' ;;
9180 ifc* | ifort*) # Intel Fortran compiler
9181 tmp_addflag=' -nofor_main' ;;
9182 lf95*) # Lahey Fortran 8.1
9183 whole_archive_flag_spec=
9184 tmp_sharedflag='--shared' ;;
9185 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9186 tmp_sharedflag='-qmkshrobj'
9188 nvcc*) # Cuda Compiler Driver 2.2
9189 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'
9190 compiler_needs_object=yes
9193 case `$CC -V 2>&1 | sed 5q` in
9194 *Sun\ C*) # Sun C 5.9
9195 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'
9196 compiler_needs_object=yes
9197 tmp_sharedflag='-G' ;;
9198 *Sun\ F*) # Sun Fortran 8.3
9199 tmp_sharedflag='-G' ;;
9201 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9203 if test "x$supports_anon_versioning" = xyes; then
9204 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9205 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9206 echo "local: *; };" >> $output_objdir/$libname.ver~
9207 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9210 case $cc_basename in
9211 xlf* | bgf* | bgxlf* | mpixlf*)
9212 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9213 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9214 hardcode_libdir_flag_spec=
9215 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9216 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9217 if test "x$supports_anon_versioning" = xyes; then
9218 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9219 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9220 echo "local: *; };" >> $output_objdir/$libname.ver~
9221 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9231 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9232 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9235 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9236 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9241 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9245 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9246 *** create shared libraries on Solaris systems. Therefore, libtool
9247 *** is disabling shared libraries support. We urge you to upgrade GNU
9248 *** binutils to release 2.9.1 or newer. Another option is to modify
9249 *** your PATH or compiler configuration so that the native linker is
9250 *** used, and then restart.
9253 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9254 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9255 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9261 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9262 case `$LD -v 2>&1` in
9263 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9267 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9268 *** reliably create shared libraries on SCO systems. Therefore, libtool
9269 *** is disabling shared libraries support. We urge you to upgrade GNU
9270 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9271 *** your PATH or compiler configuration so that the native linker is
9272 *** used, and then restart.
9277 # For security reasons, it is highly recommended that you always
9278 # use absolute paths for naming shared libraries, and exclude the
9279 # DT_RUNPATH tag from executables and libraries. But doing so
9280 # requires that you compile everything twice, which is a pain.
9281 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9282 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9283 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9284 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9293 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9296 hardcode_shlibpath_var=no
9300 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9301 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9302 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9309 if test "$ld_shlibs" = no; then
9311 hardcode_libdir_flag_spec=
9312 export_dynamic_flag_spec=
9313 whole_archive_flag_spec=
9316 # PORTME fill in a description of your system's linker (not GNU ld)
9319 allow_undefined_flag=unsupported
9320 always_export_symbols=yes
9321 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'
9322 # Note: this linker hardcodes the directories in LIBPATH if there
9323 # are no directories specified by -L.
9324 hardcode_minus_L=yes
9325 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9326 # Neither direct hardcoding nor static linking is supported with a
9328 hardcode_direct=unsupported
9333 if test "$host_cpu" = ia64; then
9334 # On IA64, the linker does run time linking by default, so we don't
9335 # have to do anything special.
9336 aix_use_runtimelinking=no
9337 exp_sym_flag='-Bexport'
9340 # If we're using GNU nm, then we don't want the "-C" option.
9341 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9342 # Also, AIX nm treats weak defined symbols like other global
9343 # defined symbols, whereas GNU nm marks them as "W".
9344 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9345 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'
9347 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'
9349 aix_use_runtimelinking=no
9351 # Test if we are trying to use run time linking or normal
9352 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9353 # need to do runtime linking.
9354 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9355 for ld_flag in $LDFLAGS; do
9356 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9357 aix_use_runtimelinking=yes
9364 exp_sym_flag='-bexport'
9365 no_entry_flag='-bnoentry'
9368 # When large executables or shared objects are built, AIX ld can
9369 # have problems creating the table of contents. If linking a library
9370 # or program results in "error TOC overflow" add -mminimal-toc to
9371 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9372 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9376 hardcode_direct_absolute=yes
9377 hardcode_libdir_separator=':'
9378 link_all_deplibs=yes
9379 file_list_spec='${wl}-f,'
9381 if test "$GCC" = yes; then
9382 case $host_os in aix4.[012]|aix4.[012].*)
9383 # We only want to do this on AIX 4.2 and lower, the check
9384 # below for broken collect2 doesn't work under 4.3+
9385 collect2name=`${CC} -print-prog-name=collect2`
9386 if test -f "$collect2name" &&
9387 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9389 # We have reworked collect2
9392 # We have old collect2
9393 hardcode_direct=unsupported
9394 # It fails to find uninstalled libraries when the uninstalled
9395 # path is not listed in the libpath. Setting hardcode_minus_L
9396 # to unsupported forces relinking
9397 hardcode_minus_L=yes
9398 hardcode_libdir_flag_spec='-L$libdir'
9399 hardcode_libdir_separator=
9403 shared_flag='-shared'
9404 if test "$aix_use_runtimelinking" = yes; then
9405 shared_flag="$shared_flag "'${wl}-G'
9409 if test "$host_cpu" = ia64; then
9410 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9411 # chokes on -Wl,-G. The following line is correct:
9414 if test "$aix_use_runtimelinking" = yes; then
9415 shared_flag='${wl}-G'
9417 shared_flag='${wl}-bM:SRE'
9422 export_dynamic_flag_spec='${wl}-bexpall'
9423 # It seems that -bexpall does not export symbols beginning with
9424 # underscore (_), so it is better to generate a list of symbols to export.
9425 always_export_symbols=yes
9426 if test "$aix_use_runtimelinking" = yes; then
9427 # Warning - without using the other runtime loading flags (-brtl),
9428 # -berok will link without error, but may produce a broken library.
9429 allow_undefined_flag='-berok'
9430 # Determine the default libpath from the value encoded in an
9432 if test "${lt_cv_aix_libpath+set}" = set; then
9433 aix_libpath=$lt_cv_aix_libpath
9435 if ${lt_cv_aix_libpath_+:} false; then :
9436 $as_echo_n "(cached) " >&6
9438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9439 /* end confdefs.h. */
9449 if ac_fn_c_try_link "$LINENO"; then :
9451 lt_aix_libpath_sed='
9452 /Import File Strings/,/^$/ {
9454 s/^0 *\([^ ]*\) *$/\1/
9458 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9459 # Check for a 64-bit object if we didn't find anything.
9460 if test -z "$lt_cv_aix_libpath_"; then
9461 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9464 rm -f core conftest.err conftest.$ac_objext \
9465 conftest$ac_exeext conftest.$ac_ext
9466 if test -z "$lt_cv_aix_libpath_"; then
9467 lt_cv_aix_libpath_="/usr/lib:/lib"
9472 aix_libpath=$lt_cv_aix_libpath_
9475 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9476 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"
9478 if test "$host_cpu" = ia64; then
9479 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9480 allow_undefined_flag="-z nodefs"
9481 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"
9483 # Determine the default libpath from the value encoded in an
9485 if test "${lt_cv_aix_libpath+set}" = set; then
9486 aix_libpath=$lt_cv_aix_libpath
9488 if ${lt_cv_aix_libpath_+:} false; then :
9489 $as_echo_n "(cached) " >&6
9491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h. */
9502 if ac_fn_c_try_link "$LINENO"; then :
9504 lt_aix_libpath_sed='
9505 /Import File Strings/,/^$/ {
9507 s/^0 *\([^ ]*\) *$/\1/
9511 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9512 # Check for a 64-bit object if we didn't find anything.
9513 if test -z "$lt_cv_aix_libpath_"; then
9514 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9517 rm -f core conftest.err conftest.$ac_objext \
9518 conftest$ac_exeext conftest.$ac_ext
9519 if test -z "$lt_cv_aix_libpath_"; then
9520 lt_cv_aix_libpath_="/usr/lib:/lib"
9525 aix_libpath=$lt_cv_aix_libpath_
9528 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9529 # Warning - without using the other run time loading flags,
9530 # -berok will link without error, but may produce a broken library.
9531 no_undefined_flag=' ${wl}-bernotok'
9532 allow_undefined_flag=' ${wl}-berok'
9533 if test "$with_gnu_ld" = yes; then
9534 # We only use this code for GNU lds that support --whole-archive.
9535 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9537 # Exported symbols can be pulled into shared objects from archives
9538 whole_archive_flag_spec='$convenience'
9540 archive_cmds_need_lc=yes
9541 # This is similar to how AIX traditionally builds its shared libraries.
9542 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'
9550 # see comment about AmigaOS4 .so support
9551 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9552 archive_expsym_cmds=''
9555 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)'
9556 hardcode_libdir_flag_spec='-L$libdir'
9557 hardcode_minus_L=yes
9563 export_dynamic_flag_spec=-rdynamic
9566 cygwin* | mingw* | pw32* | cegcc*)
9567 # When not using gcc, we currently assume that we are using
9568 # Microsoft Visual C++.
9569 # hardcode_libdir_flag_spec is actually meaningless, as there is
9570 # no search path for DLLs.
9571 case $cc_basename in
9574 hardcode_libdir_flag_spec=' '
9575 allow_undefined_flag=unsupported
9576 always_export_symbols=yes
9578 # Tell ltmain to make .lib files, not .a files.
9580 # Tell ltmain to make .dll files, not .so files.
9582 # FIXME: Setting linknames here is a bad hack.
9583 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9584 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9585 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9587 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9589 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9591 # The linker will not automatically build a static lib if we build a DLL.
9592 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9593 enable_shared_with_static_runtimes=yes
9594 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9596 old_postinstall_cmds='chmod 644 $oldlib'
9597 postlink_cmds='lt_outputfile="@OUTPUT@"~
9598 lt_tool_outputfile="@TOOL_OUTPUT@"~
9599 case $lt_outputfile in
9602 lt_outputfile="$lt_outputfile.exe"
9603 lt_tool_outputfile="$lt_tool_outputfile.exe"
9606 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9607 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9608 $RM "$lt_outputfile.manifest";
9612 # Assume MSVC wrapper
9613 hardcode_libdir_flag_spec=' '
9614 allow_undefined_flag=unsupported
9615 # Tell ltmain to make .lib files, not .a files.
9617 # Tell ltmain to make .dll files, not .so files.
9619 # FIXME: Setting linknames here is a bad hack.
9620 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9621 # The linker will automatically build a .lib file if we build a DLL.
9622 old_archive_from_new_cmds='true'
9623 # FIXME: Should let the user specify the lib program.
9624 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9625 enable_shared_with_static_runtimes=yes
9630 darwin* | rhapsody*)
9633 archive_cmds_need_lc=no
9635 hardcode_automatic=yes
9636 hardcode_shlibpath_var=unsupported
9637 if test "$lt_cv_ld_force_load" = "yes"; then
9638 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\"`'
9640 whole_archive_flag_spec=''
9642 link_all_deplibs=yes
9643 allow_undefined_flag="$_lt_dar_allow_undefined"
9644 case $cc_basename in
9645 ifort*) _lt_dar_can_shared=yes ;;
9646 *) _lt_dar_can_shared=$GCC ;;
9648 if test "$_lt_dar_can_shared" = "yes"; then
9649 output_verbose_link_cmd=func_echo_all
9650 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9651 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9652 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}"
9653 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}"
9662 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9663 hardcode_libdir_flag_spec='-L$libdir'
9664 hardcode_shlibpath_var=no
9671 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9672 # support. Future versions do this automatically, but an explicit c++rt0.o
9673 # does not break anything, and helps significantly (at the cost of a little
9676 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9677 hardcode_libdir_flag_spec='-R$libdir'
9679 hardcode_shlibpath_var=no
9682 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9684 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9686 hardcode_minus_L=yes
9687 hardcode_shlibpath_var=no
9690 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9691 freebsd* | dragonfly*)
9692 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9693 hardcode_libdir_flag_spec='-R$libdir'
9695 hardcode_shlibpath_var=no
9699 if test "$GCC" = yes; then
9700 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'
9702 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'
9704 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9705 hardcode_libdir_separator=:
9708 # hardcode_minus_L: Not really in the search PATH,
9709 # but as the default location of the library.
9710 hardcode_minus_L=yes
9711 export_dynamic_flag_spec='${wl}-E'
9715 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9716 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9718 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9720 if test "$with_gnu_ld" = no; then
9721 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9722 hardcode_libdir_flag_spec_ld='+b $libdir'
9723 hardcode_libdir_separator=:
9725 hardcode_direct_absolute=yes
9726 export_dynamic_flag_spec='${wl}-E'
9727 # hardcode_minus_L: Not really in the search PATH,
9728 # but as the default location of the library.
9729 hardcode_minus_L=yes
9734 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9737 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9740 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9743 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9749 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9752 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9756 # Older versions of the 11.00 compiler do not understand -b yet
9757 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9759 $as_echo_n "checking if $CC understands -b... " >&6; }
9760 if ${lt_cv_prog_compiler__b+:} false; then :
9761 $as_echo_n "(cached) " >&6
9763 lt_cv_prog_compiler__b=no
9764 save_LDFLAGS="$LDFLAGS"
9765 LDFLAGS="$LDFLAGS -b"
9766 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9767 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9768 # The linker can only warn and ignore the option if not recognized
9769 # So say no if there are warnings
9770 if test -s conftest.err; then
9771 # Append any errors to the config.log.
9772 cat conftest.err 1>&5
9773 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9774 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9775 if diff conftest.exp conftest.er2 >/dev/null; then
9776 lt_cv_prog_compiler__b=yes
9779 lt_cv_prog_compiler__b=yes
9783 LDFLAGS="$save_LDFLAGS"
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9787 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9789 if test x"$lt_cv_prog_compiler__b" = xyes; then
9790 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9792 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9798 if test "$with_gnu_ld" = no; then
9799 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9800 hardcode_libdir_separator=:
9805 hardcode_shlibpath_var=no
9809 hardcode_direct_absolute=yes
9810 export_dynamic_flag_spec='${wl}-E'
9812 # hardcode_minus_L: Not really in the search PATH,
9813 # but as the default location of the library.
9814 hardcode_minus_L=yes
9820 irix5* | irix6* | nonstopux*)
9821 if test "$GCC" = yes; then
9822 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'
9823 # Try to use the -exported_symbol ld option, if it does not
9824 # work, assume that -exports_file does not work either and
9825 # implicitly export all symbols.
9826 # This should be the same for all languages, so no per-tag cache variable.
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9828 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9829 if ${lt_cv_irix_exported_symbol+:} false; then :
9830 $as_echo_n "(cached) " >&6
9832 save_LDFLAGS="$LDFLAGS"
9833 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9835 /* end confdefs.h. */
9836 int foo (void) { return 0; }
9838 if ac_fn_c_try_link "$LINENO"; then :
9839 lt_cv_irix_exported_symbol=yes
9841 lt_cv_irix_exported_symbol=no
9843 rm -f core conftest.err conftest.$ac_objext \
9844 conftest$ac_exeext conftest.$ac_ext
9845 LDFLAGS="$save_LDFLAGS"
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9848 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9849 if test "$lt_cv_irix_exported_symbol" = yes; then
9850 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'
9853 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'
9854 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'
9856 archive_cmds_need_lc='no'
9857 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9858 hardcode_libdir_separator=:
9860 link_all_deplibs=yes
9864 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9865 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9867 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9869 hardcode_libdir_flag_spec='-R$libdir'
9871 hardcode_shlibpath_var=no
9875 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9877 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9878 hardcode_libdir_separator=:
9879 hardcode_shlibpath_var=no
9886 if test -f /usr/libexec/ld.so; then
9888 hardcode_shlibpath_var=no
9889 hardcode_direct_absolute=yes
9890 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9891 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9892 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9893 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9894 export_dynamic_flag_spec='${wl}-E'
9897 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9898 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9899 hardcode_libdir_flag_spec='-R$libdir'
9902 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9903 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9913 hardcode_libdir_flag_spec='-L$libdir'
9914 hardcode_minus_L=yes
9915 allow_undefined_flag=unsupported
9916 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'
9917 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9921 if test "$GCC" = yes; then
9922 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9923 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'
9925 allow_undefined_flag=' -expect_unresolved \*'
9926 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'
9928 archive_cmds_need_lc='no'
9929 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9930 hardcode_libdir_separator=:
9933 osf4* | osf5*) # as osf3* with the addition of -msym flag
9934 if test "$GCC" = yes; then
9935 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9936 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'
9937 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9939 allow_undefined_flag=' -expect_unresolved \*'
9940 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'
9941 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~
9942 $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'
9944 # Both c and cxx compiler support -rpath directly
9945 hardcode_libdir_flag_spec='-rpath $libdir'
9947 archive_cmds_need_lc='no'
9948 hardcode_libdir_separator=:
9952 no_undefined_flag=' -z defs'
9953 if test "$GCC" = yes; then
9955 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9956 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9957 $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'
9959 case `$CC -V 2>&1` in
9962 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9963 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9964 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9968 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9969 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9970 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9974 hardcode_libdir_flag_spec='-R$libdir'
9975 hardcode_shlibpath_var=no
9977 solaris2.[0-5] | solaris2.[0-5].*) ;;
9979 # The compiler driver will combine and reorder linker options,
9980 # but understands `-z linker_flag'. GCC discards it without `$wl',
9981 # but is careful enough not to reorder.
9982 # Supported since Solaris 2.6 (maybe 2.5.1?)
9983 if test "$GCC" = yes; then
9984 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9986 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9990 link_all_deplibs=yes
9994 if test "x$host_vendor" = xsequent; then
9995 # Use $CC to link under sequent, because it throws in some extra .o
9996 # files that make .init and .fini sections work.
9997 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9999 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10001 hardcode_libdir_flag_spec='-L$libdir'
10002 hardcode_direct=yes
10003 hardcode_minus_L=yes
10004 hardcode_shlibpath_var=no
10008 case $host_vendor in
10010 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10011 hardcode_direct=yes # is this really true???
10014 ## LD is ld it makes a PLAMLIB
10015 ## CC just makes a GrossModule.
10016 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10017 reload_cmds='$CC -r -o $output$reload_objs'
10021 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10022 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10025 runpath_var='LD_RUN_PATH'
10026 hardcode_shlibpath_var=no
10030 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10031 hardcode_shlibpath_var=no
10032 export_dynamic_flag_spec='-Bexport'
10036 if test -d /usr/nec; then
10037 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10038 hardcode_shlibpath_var=no
10039 runpath_var=LD_RUN_PATH
10040 hardcode_runpath_var=yes
10045 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10046 no_undefined_flag='${wl}-z,text'
10047 archive_cmds_need_lc=no
10048 hardcode_shlibpath_var=no
10049 runpath_var='LD_RUN_PATH'
10051 if test "$GCC" = yes; then
10052 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10053 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10055 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10056 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10060 sysv5* | sco3.2v5* | sco5v6*)
10061 # Note: We can NOT use -z defs as we might desire, because we do not
10062 # link with -lc, and that would cause any symbols used from libc to
10063 # always be unresolved, which means just about no library would
10064 # ever link correctly. If we're not using GNU ld we use -z text
10065 # though, which does catch some bad symbols but isn't as heavy-handed
10067 no_undefined_flag='${wl}-z,text'
10068 allow_undefined_flag='${wl}-z,nodefs'
10069 archive_cmds_need_lc=no
10070 hardcode_shlibpath_var=no
10071 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10072 hardcode_libdir_separator=':'
10073 link_all_deplibs=yes
10074 export_dynamic_flag_spec='${wl}-Bexport'
10075 runpath_var='LD_RUN_PATH'
10077 if test "$GCC" = yes; then
10078 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10079 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10081 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10082 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10087 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10088 hardcode_libdir_flag_spec='-L$libdir'
10089 hardcode_shlibpath_var=no
10097 if test x$host_vendor = xsni; then
10099 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10100 export_dynamic_flag_spec='${wl}-Blargedynsym'
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10107 $as_echo "$ld_shlibs" >&6; }
10108 test "$ld_shlibs" = no && can_build_shared=no
10110 with_gnu_ld=$with_gnu_ld
10127 # Do we need to explicitly link libc?
10129 case "x$archive_cmds_need_lc" in
10131 # Assume -lc should be added
10132 archive_cmds_need_lc=yes
10134 if test "$enable_shared" = yes && test "$GCC" = yes; then
10135 case $archive_cmds in
10137 # FIXME: we may have to deal with multi-command sequences.
10140 # Test whether the compiler implicitly links with -lc since on some
10141 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10142 # to ld, don't add -lc before -lgcc.
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10144 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10145 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10146 $as_echo_n "(cached) " >&6
10149 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10151 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10152 (eval $ac_compile) 2>&5
10154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10155 test $ac_status = 0; } 2>conftest.err; then
10158 libobjs=conftest.$ac_objext
10160 wl=$lt_prog_compiler_wl
10161 pic_flag=$lt_prog_compiler_pic
10167 lt_save_allow_undefined_flag=$allow_undefined_flag
10168 allow_undefined_flag=
10169 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10170 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10173 test $ac_status = 0; }
10175 lt_cv_archive_cmds_need_lc=no
10177 lt_cv_archive_cmds_need_lc=yes
10179 allow_undefined_flag=$lt_save_allow_undefined_flag
10181 cat conftest.err 1>&5
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10187 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10188 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10352 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10354 if test "$GCC" = yes; then
10356 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10357 *) lt_awk_arg="/^libraries:/" ;;
10360 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10361 *) lt_sed_strip_eq="s,=/,/,g" ;;
10363 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10364 case $lt_search_path_spec in
10366 # if the path contains ";" then we assume it to be the separator
10367 # otherwise default to the standard path separator (i.e. ":") - it is
10368 # assumed that no part of a normal pathname contains ";" but that should
10369 # okay in the real world where ";" in dirpaths is itself problematic.
10370 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10373 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10376 # Ok, now we have the path, separated by spaces, we can step through it
10377 # and add multilib dir if necessary.
10378 lt_tmp_lt_search_path_spec=
10379 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10380 for lt_sys_path in $lt_search_path_spec; do
10381 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10382 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10384 test -d "$lt_sys_path" && \
10385 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10388 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10389 BEGIN {RS=" "; FS="/|\n";} {
10392 for (lt_i = NF; lt_i > 0; lt_i--) {
10393 if ($lt_i != "" && $lt_i != ".") {
10394 if ($lt_i == "..") {
10397 if (lt_count == 0) {
10398 lt_foo="/" $lt_i lt_foo;
10405 if (lt_foo != "") { lt_freq[lt_foo]++; }
10406 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10408 # AWK program above erroneously prepends '/' to C:/dos/paths
10411 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10412 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10414 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10416 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10418 library_names_spec=
10419 libname_spec='lib$name'
10423 postuninstall_cmds=
10427 shlibpath_overrides_runpath=unknown
10429 dynamic_linker="$host_os ld.so"
10430 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10431 need_lib_prefix=unknown
10432 hardcode_into_libs=no
10434 # when you set need_version to no, make sure it does not cause -set_version
10435 # flags to be left without arguments
10436 need_version=unknown
10441 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10442 shlibpath_var=LIBPATH
10444 # AIX 3 has no versioning support, so we append a major version to the name.
10445 soname_spec='${libname}${release}${shared_ext}$major'
10452 hardcode_into_libs=yes
10453 if test "$host_cpu" = ia64; then
10454 # AIX 5 supports IA64
10455 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10456 shlibpath_var=LD_LIBRARY_PATH
10458 # With GCC up to 2.95.x, collect2 would create an import file
10459 # for dependence libraries. The import file would start with
10460 # the line `#! .'. This would cause the generated library to
10461 # depend on `.', always an invalid library. This was fixed in
10462 # development snapshots of GCC prior to 3.0.
10464 aix4 | aix4.[01] | aix4.[01].*)
10465 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10467 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10470 can_build_shared=no
10474 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10475 # soname into executable. Probably we can add versioning support to
10476 # collect2, so additional links can be useful in future.
10477 if test "$aix_use_runtimelinking" = yes; then
10478 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10479 # instead of lib<name>.a to let people know that these are not
10480 # typical AIX shared libraries.
10481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10483 # We preserve .a as extension for shared libraries through AIX4.2
10484 # and later when we are not doing run time linking.
10485 library_names_spec='${libname}${release}.a $libname.a'
10486 soname_spec='${libname}${release}${shared_ext}$major'
10488 shlibpath_var=LIBPATH
10495 # Since July 2007 AmigaOS4 officially supports .so libraries.
10496 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10500 library_names_spec='$libname.ixlibrary $libname.a'
10501 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10502 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'
10508 library_names_spec='${libname}${shared_ext}'
10509 dynamic_linker="$host_os ld.so"
10510 shlibpath_var=LIBRARY_PATH
10516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10517 soname_spec='${libname}${release}${shared_ext}$major'
10518 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10519 shlibpath_var=LD_LIBRARY_PATH
10520 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10521 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10522 # the default ld.so.conf also contains /usr/contrib/lib and
10523 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10524 # libtool to hard-code these into programs
10527 cygwin* | mingw* | pw32* | cegcc*)
10528 version_type=windows
10533 case $GCC,$cc_basename in
10536 library_names_spec='$libname.dll.a'
10537 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10538 postinstall_cmds='base_file=`basename \${file}`~
10539 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10540 dldir=$destdir/`dirname \$dlpath`~
10541 test -d \$dldir || mkdir -p \$dldir~
10542 $install_prog $dir/$dlname \$dldir/$dlname~
10543 chmod a+x \$dldir/$dlname~
10544 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10545 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10547 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10548 dlpath=$dir/\$dldll~
10550 shlibpath_overrides_runpath=yes
10554 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10555 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10557 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10560 # MinGW DLLs use traditional 'lib' prefix
10561 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10564 # pw32 DLLs use 'pw' prefix rather than 'lib'
10565 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10568 dynamic_linker='Win32 ld.exe'
10573 libname_spec='$name'
10574 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10575 library_names_spec='${libname}.dll.lib'
10579 sys_lib_search_path_spec=
10582 for lt_path in $LIB
10585 # Let DOS variable expansion print the short 8.3 style file name.
10586 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10587 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10590 # Convert to MSYS style.
10591 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10594 # Convert to unix form, then to dos form, then back to unix form
10595 # but this time dos style (no spaces!) so that the unix form looks
10596 # like /cygdrive/c/PROGRA~1:/cygdr...
10597 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10598 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10599 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10602 sys_lib_search_path_spec="$LIB"
10603 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10604 # It is most probably a Windows format PATH.
10605 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10607 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10609 # FIXME: find the short name or the path components, as spaces are
10610 # common. (e.g. "Program Files" -> "PROGRA~1")
10614 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10615 postinstall_cmds='base_file=`basename \${file}`~
10616 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10617 dldir=$destdir/`dirname \$dlpath`~
10618 test -d \$dldir || mkdir -p \$dldir~
10619 $install_prog $dir/$dlname \$dldir/$dlname'
10620 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10621 dlpath=$dir/\$dldll~
10623 shlibpath_overrides_runpath=yes
10624 dynamic_linker='Win32 link.exe'
10628 # Assume MSVC wrapper
10629 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10630 dynamic_linker='Win32 ld.exe'
10633 # FIXME: first we should search . and the directory the executable is in
10637 darwin* | rhapsody*)
10638 dynamic_linker="$host_os dyld"
10639 version_type=darwin
10642 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10643 soname_spec='${libname}${release}${major}$shared_ext'
10644 shlibpath_overrides_runpath=yes
10645 shlibpath_var=DYLD_LIBRARY_PATH
10646 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10648 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10649 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10657 soname_spec='${libname}${release}${shared_ext}$major'
10658 shlibpath_var=LD_LIBRARY_PATH
10665 freebsd* | dragonfly*)
10666 # DragonFly does not have aout. When/if they implement a new
10667 # versioning mechanism, adjust this.
10668 if test -x /usr/bin/objformat; then
10669 objformat=`/usr/bin/objformat`
10672 freebsd[123]*) objformat=aout ;;
10673 *) objformat=elf ;;
10676 # Handle Gentoo/FreeBSD as it was Linux
10677 case $host_vendor in
10679 version_type=linux ;;
10681 version_type=freebsd-$objformat ;;
10684 case $version_type in
10686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10691 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10696 soname_spec='${libname}${release}${shared_ext}$major'
10701 shlibpath_var=LD_LIBRARY_PATH
10704 shlibpath_overrides_runpath=yes
10706 freebsd3.[01]* | freebsdelf3.[01]*)
10707 shlibpath_overrides_runpath=yes
10708 hardcode_into_libs=yes
10710 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10711 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10712 shlibpath_overrides_runpath=no
10713 hardcode_into_libs=yes
10715 *) # from 4.6 on, and DragonFly
10716 shlibpath_overrides_runpath=yes
10717 hardcode_into_libs=yes
10726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10727 soname_spec='${libname}${release}${shared_ext}$major'
10728 shlibpath_var=LD_LIBRARY_PATH
10729 hardcode_into_libs=yes
10736 dynamic_linker="$host_os runtime_loader"
10737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10738 soname_spec='${libname}${release}${shared_ext}$major'
10739 shlibpath_var=LIBRARY_PATH
10740 shlibpath_overrides_runpath=yes
10741 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10742 hardcode_into_libs=yes
10745 hpux9* | hpux10* | hpux11*)
10746 # Give a soname corresponding to the major version so that dld.sl refuses to
10747 # link against other versions.
10754 hardcode_into_libs=yes
10755 dynamic_linker="$host_os dld.so"
10756 shlibpath_var=LD_LIBRARY_PATH
10757 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10759 soname_spec='${libname}${release}${shared_ext}$major'
10760 if test "X$HPUX_IA64_MODE" = X32; then
10761 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10763 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10765 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10769 hardcode_into_libs=yes
10770 dynamic_linker="$host_os dld.sl"
10771 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10772 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10774 soname_spec='${libname}${release}${shared_ext}$major'
10775 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10776 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10780 dynamic_linker="$host_os dld.sl"
10781 shlibpath_var=SHLIB_PATH
10782 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10784 soname_spec='${libname}${release}${shared_ext}$major'
10787 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10788 postinstall_cmds='chmod 555 $lib'
10789 # or fails outright, so override atomically:
10790 install_override_mode=555
10797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10798 soname_spec='${libname}${release}${shared_ext}$major'
10799 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10800 shlibpath_var=LD_LIBRARY_PATH
10801 shlibpath_overrides_runpath=no
10802 hardcode_into_libs=yes
10805 irix5* | irix6* | nonstopux*)
10807 nonstopux*) version_type=nonstopux ;;
10809 if test "$lt_cv_prog_gnu_ld" = yes; then
10817 soname_spec='${libname}${release}${shared_ext}$major'
10818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10820 irix5* | nonstopux*)
10821 libsuff= shlibsuff=
10824 case $LD in # libtool.m4 will add one of these switches to LD
10825 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10826 libsuff= shlibsuff= libmagic=32-bit;;
10827 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10828 libsuff=32 shlibsuff=N32 libmagic=N32;;
10829 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10830 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10831 *) libsuff= shlibsuff= libmagic=never-match;;
10835 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10836 shlibpath_overrides_runpath=no
10837 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10838 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10839 hardcode_into_libs=yes
10842 # No shared lib support for Linux oldld, aout, or coff.
10843 linux*oldld* | linux*aout* | linux*coff*)
10847 # This must be Linux ELF.
10848 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10852 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10853 soname_spec='${libname}${release}${shared_ext}$major'
10854 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10855 shlibpath_var=LD_LIBRARY_PATH
10856 shlibpath_overrides_runpath=no
10858 # Some binutils ld are patched to set DT_RUNPATH
10859 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10860 $as_echo_n "(cached) " >&6
10862 lt_cv_shlibpath_overrides_runpath=no
10863 save_LDFLAGS=$LDFLAGS
10864 save_libdir=$libdir
10865 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10866 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h. */
10878 if ac_fn_c_try_link "$LINENO"; then :
10879 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10880 lt_cv_shlibpath_overrides_runpath=yes
10883 rm -f core conftest.err conftest.$ac_objext \
10884 conftest$ac_exeext conftest.$ac_ext
10885 LDFLAGS=$save_LDFLAGS
10886 libdir=$save_libdir
10890 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10892 # This implies no fast_install, which is unacceptable.
10893 # Some rework will be needed to allow for fast_install
10894 # before this can be enabled.
10895 hardcode_into_libs=yes
10897 # Append ld.so.conf contents to the search path
10898 if test -f /etc/ld.so.conf; then
10899 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' ' '`
10900 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10903 # We used to test for /lib/ld.so.1 and disable shared libraries on
10904 # powerpc, because MkLinux only supported shared libraries with the
10905 # GNU dynamic linker. Since this was broken with cross compilers,
10906 # most powerpc-linux boxes support dynamic linking these days and
10907 # people can always --disable-shared, the test was removed, and we
10908 # assume the GNU/Linux dynamic linker is in use.
10909 dynamic_linker='GNU/Linux ld.so'
10916 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10918 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10919 dynamic_linker='NetBSD (a.out) ld.so'
10921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10922 soname_spec='${libname}${release}${shared_ext}$major'
10923 dynamic_linker='NetBSD ld.elf_so'
10925 shlibpath_var=LD_LIBRARY_PATH
10926 shlibpath_overrides_runpath=yes
10927 hardcode_into_libs=yes
10932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10933 shlibpath_var=LD_LIBRARY_PATH
10934 shlibpath_overrides_runpath=yes
10941 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10942 soname_spec='${libname}${release}${shared_ext}$major'
10943 shlibpath_var=LD_LIBRARY_PATH
10944 shlibpath_overrides_runpath=no
10945 hardcode_into_libs=yes
10946 dynamic_linker='ldqnx.so'
10951 sys_lib_dlsearch_path_spec="/usr/lib"
10953 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10955 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10956 *) need_version=no ;;
10958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10959 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10960 shlibpath_var=LD_LIBRARY_PATH
10961 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10963 openbsd2.[89] | openbsd2.[89].*)
10964 shlibpath_overrides_runpath=no
10967 shlibpath_overrides_runpath=yes
10971 shlibpath_overrides_runpath=yes
10976 libname_spec='$name'
10979 library_names_spec='$libname${shared_ext} $libname.a'
10980 dynamic_linker='OS/2 ld.exe'
10981 shlibpath_var=LIBPATH
10984 osf3* | osf4* | osf5*)
10988 soname_spec='${libname}${release}${shared_ext}$major'
10989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10990 shlibpath_var=LD_LIBRARY_PATH
10991 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10992 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11004 soname_spec='${libname}${release}${shared_ext}$major'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 shlibpath_overrides_runpath=yes
11007 hardcode_into_libs=yes
11008 # ldd complains unless libraries are executable
11009 postinstall_cmds='chmod +x $lib'
11014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11015 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11016 shlibpath_var=LD_LIBRARY_PATH
11017 shlibpath_overrides_runpath=yes
11018 if test "$with_gnu_ld" = yes; then
11026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11027 soname_spec='${libname}${release}${shared_ext}$major'
11028 shlibpath_var=LD_LIBRARY_PATH
11029 case $host_vendor in
11031 shlibpath_overrides_runpath=no
11033 runpath_var=LD_RUN_PATH
11041 shlibpath_overrides_runpath=no
11042 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11048 if test -d /usr/nec ;then
11050 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11051 soname_spec='$libname${shared_ext}.$major'
11052 shlibpath_var=LD_LIBRARY_PATH
11056 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11057 version_type=freebsd-elf
11060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11061 soname_spec='${libname}${release}${shared_ext}$major'
11062 shlibpath_var=LD_LIBRARY_PATH
11063 shlibpath_overrides_runpath=yes
11064 hardcode_into_libs=yes
11065 if test "$with_gnu_ld" = yes; then
11066 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11068 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11071 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11075 sys_lib_dlsearch_path_spec='/usr/lib'
11079 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11083 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11084 shlibpath_var=LD_LIBRARY_PATH
11085 shlibpath_overrides_runpath=no
11086 hardcode_into_libs=yes
11091 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11092 soname_spec='${libname}${release}${shared_ext}$major'
11093 shlibpath_var=LD_LIBRARY_PATH
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11101 $as_echo "$dynamic_linker" >&6; }
11102 test "$dynamic_linker" = no && can_build_shared=no
11104 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11105 if test "$GCC" = yes; then
11106 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11109 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11110 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11112 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11113 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11208 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11210 if test -n "$hardcode_libdir_flag_spec" ||
11211 test -n "$runpath_var" ||
11212 test "X$hardcode_automatic" = "Xyes" ; then
11214 # We can hardcode non-existent directories.
11215 if test "$hardcode_direct" != no &&
11216 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11217 # have to relink, otherwise we might link with an installed library
11218 # when we should be linking with a yet-to-be-installed one
11219 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11220 test "$hardcode_minus_L" != no; then
11221 # Linking always hardcodes the temporary library directory.
11222 hardcode_action=relink
11224 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11225 hardcode_action=immediate
11228 # We cannot hardcode anything, or else we can only hardcode existing
11230 hardcode_action=unsupported
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11233 $as_echo "$hardcode_action" >&6; }
11235 if test "$hardcode_action" = relink ||
11236 test "$inherit_rpath" = yes; then
11237 # Fast installation is not supported
11238 enable_fast_install=no
11239 elif test "$shlibpath_overrides_runpath" = yes ||
11240 test "$enable_shared" = no; then
11241 # Fast installation is not necessary
11242 enable_fast_install=needless
11250 if test "x$enable_dlopen" != xyes; then
11251 enable_dlopen=unknown
11252 enable_dlopen_self=unknown
11253 enable_dlopen_self_static=unknown
11260 lt_cv_dlopen="load_add_on"
11262 lt_cv_dlopen_self=yes
11265 mingw* | pw32* | cegcc*)
11266 lt_cv_dlopen="LoadLibrary"
11271 lt_cv_dlopen="dlopen"
11276 # if libdl is installed we need to link against it
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11278 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11279 if ${ac_cv_lib_dl_dlopen+:} false; then :
11280 $as_echo_n "(cached) " >&6
11282 ac_check_lib_save_LIBS=$LIBS
11284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11285 /* end confdefs.h. */
11287 /* Override any GCC internal prototype to avoid an error.
11288 Use char because int might match the return type of a GCC
11289 builtin and then its argument prototype would still apply. */
11302 if ac_fn_c_try_link "$LINENO"; then :
11303 ac_cv_lib_dl_dlopen=yes
11305 ac_cv_lib_dl_dlopen=no
11307 rm -f core conftest.err conftest.$ac_objext \
11308 conftest$ac_exeext conftest.$ac_ext
11309 LIBS=$ac_check_lib_save_LIBS
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11312 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11313 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11314 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11317 lt_cv_dlopen="dyld"
11319 lt_cv_dlopen_self=yes
11326 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11327 if test "x$ac_cv_func_shl_load" = xyes; then :
11328 lt_cv_dlopen="shl_load"
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11331 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11332 if ${ac_cv_lib_dld_shl_load+:} false; then :
11333 $as_echo_n "(cached) " >&6
11335 ac_check_lib_save_LIBS=$LIBS
11337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11338 /* end confdefs.h. */
11340 /* Override any GCC internal prototype to avoid an error.
11341 Use char because int might match the return type of a GCC
11342 builtin and then its argument prototype would still apply. */
11350 return shl_load ();
11355 if ac_fn_c_try_link "$LINENO"; then :
11356 ac_cv_lib_dld_shl_load=yes
11358 ac_cv_lib_dld_shl_load=no
11360 rm -f core conftest.err conftest.$ac_objext \
11361 conftest$ac_exeext conftest.$ac_ext
11362 LIBS=$ac_check_lib_save_LIBS
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11365 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11366 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11367 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11369 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11370 if test "x$ac_cv_func_dlopen" = xyes; then :
11371 lt_cv_dlopen="dlopen"
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11374 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11375 if ${ac_cv_lib_dl_dlopen+:} false; then :
11376 $as_echo_n "(cached) " >&6
11378 ac_check_lib_save_LIBS=$LIBS
11380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11381 /* end confdefs.h. */
11383 /* Override any GCC internal prototype to avoid an error.
11384 Use char because int might match the return type of a GCC
11385 builtin and then its argument prototype would still apply. */
11398 if ac_fn_c_try_link "$LINENO"; then :
11399 ac_cv_lib_dl_dlopen=yes
11401 ac_cv_lib_dl_dlopen=no
11403 rm -f core conftest.err conftest.$ac_objext \
11404 conftest$ac_exeext conftest.$ac_ext
11405 LIBS=$ac_check_lib_save_LIBS
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11408 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11409 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11410 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11413 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11414 if ${ac_cv_lib_svld_dlopen+:} false; then :
11415 $as_echo_n "(cached) " >&6
11417 ac_check_lib_save_LIBS=$LIBS
11418 LIBS="-lsvld $LIBS"
11419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11420 /* end confdefs.h. */
11422 /* Override any GCC internal prototype to avoid an error.
11423 Use char because int might match the return type of a GCC
11424 builtin and then its argument prototype would still apply. */
11437 if ac_fn_c_try_link "$LINENO"; then :
11438 ac_cv_lib_svld_dlopen=yes
11440 ac_cv_lib_svld_dlopen=no
11442 rm -f core conftest.err conftest.$ac_objext \
11443 conftest$ac_exeext conftest.$ac_ext
11444 LIBS=$ac_check_lib_save_LIBS
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11447 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11448 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11449 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11452 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11453 if ${ac_cv_lib_dld_dld_link+:} false; then :
11454 $as_echo_n "(cached) " >&6
11456 ac_check_lib_save_LIBS=$LIBS
11458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11459 /* end confdefs.h. */
11461 /* Override any GCC internal prototype to avoid an error.
11462 Use char because int might match the return type of a GCC
11463 builtin and then its argument prototype would still apply. */
11471 return dld_link ();
11476 if ac_fn_c_try_link "$LINENO"; then :
11477 ac_cv_lib_dld_dld_link=yes
11479 ac_cv_lib_dld_dld_link=no
11481 rm -f core conftest.err conftest.$ac_objext \
11482 conftest$ac_exeext conftest.$ac_ext
11483 LIBS=$ac_check_lib_save_LIBS
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11486 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11487 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11488 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11509 if test "x$lt_cv_dlopen" != xno; then
11515 case $lt_cv_dlopen in
11517 save_CPPFLAGS="$CPPFLAGS"
11518 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11520 save_LDFLAGS="$LDFLAGS"
11521 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11524 LIBS="$lt_cv_dlopen_libs $LIBS"
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11527 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11528 if ${lt_cv_dlopen_self+:} false; then :
11529 $as_echo_n "(cached) " >&6
11531 if test "$cross_compiling" = yes; then :
11532 lt_cv_dlopen_self=cross
11534 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11535 lt_status=$lt_dlunknown
11536 cat > conftest.$ac_ext <<_LT_EOF
11537 #line $LINENO "configure"
11538 #include "confdefs.h"
11547 # define LT_DLGLOBAL RTLD_GLOBAL
11550 # define LT_DLGLOBAL DL_GLOBAL
11552 # define LT_DLGLOBAL 0
11556 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11557 find out it does not work in some platform. */
11558 #ifndef LT_DLLAZY_OR_NOW
11560 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11563 # define LT_DLLAZY_OR_NOW DL_LAZY
11566 # define LT_DLLAZY_OR_NOW RTLD_NOW
11569 # define LT_DLLAZY_OR_NOW DL_NOW
11571 # define LT_DLLAZY_OR_NOW 0
11578 /* When -fvisbility=hidden is used, assume the code has been annotated
11579 correspondingly for the symbols needed. */
11580 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11581 int fnord () __attribute__((visibility("default")));
11584 int fnord () { return 42; }
11587 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11588 int status = $lt_dlunknown;
11592 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11595 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11596 else puts (dlerror ());
11598 /* dlclose (self); */
11606 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11607 (eval $ac_link) 2>&5
11609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11610 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11611 (./conftest; exit; ) >&5 2>/dev/null
11613 case x$lt_status in
11614 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11615 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11616 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11619 # compilation failed
11620 lt_cv_dlopen_self=no
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11628 $as_echo "$lt_cv_dlopen_self" >&6; }
11630 if test "x$lt_cv_dlopen_self" = xyes; then
11631 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11633 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11634 if ${lt_cv_dlopen_self_static+:} false; then :
11635 $as_echo_n "(cached) " >&6
11637 if test "$cross_compiling" = yes; then :
11638 lt_cv_dlopen_self_static=cross
11640 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11641 lt_status=$lt_dlunknown
11642 cat > conftest.$ac_ext <<_LT_EOF
11643 #line $LINENO "configure"
11644 #include "confdefs.h"
11653 # define LT_DLGLOBAL RTLD_GLOBAL
11656 # define LT_DLGLOBAL DL_GLOBAL
11658 # define LT_DLGLOBAL 0
11662 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11663 find out it does not work in some platform. */
11664 #ifndef LT_DLLAZY_OR_NOW
11666 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11669 # define LT_DLLAZY_OR_NOW DL_LAZY
11672 # define LT_DLLAZY_OR_NOW RTLD_NOW
11675 # define LT_DLLAZY_OR_NOW DL_NOW
11677 # define LT_DLLAZY_OR_NOW 0
11684 /* When -fvisbility=hidden is used, assume the code has been annotated
11685 correspondingly for the symbols needed. */
11686 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11687 int fnord () __attribute__((visibility("default")));
11690 int fnord () { return 42; }
11693 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11694 int status = $lt_dlunknown;
11698 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11701 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11702 else puts (dlerror ());
11704 /* dlclose (self); */
11712 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11713 (eval $ac_link) 2>&5
11715 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11716 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11717 (./conftest; exit; ) >&5 2>/dev/null
11719 case x$lt_status in
11720 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11721 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11722 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11725 # compilation failed
11726 lt_cv_dlopen_self_static=no
11733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11734 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11737 CPPFLAGS="$save_CPPFLAGS"
11738 LDFLAGS="$save_LDFLAGS"
11743 case $lt_cv_dlopen_self in
11744 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11745 *) enable_dlopen_self=unknown ;;
11748 case $lt_cv_dlopen_self_static in
11749 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11750 *) enable_dlopen_self_static=unknown ;;
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11773 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11774 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11775 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11776 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11778 $as_echo "yes" >&6; }
11780 # FIXME - insert some real tests, host_os isn't really good enough
11783 if test -n "$STRIP" ; then
11784 striplib="$STRIP -x"
11785 old_striplib="$STRIP -S"
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11787 $as_echo "yes" >&6; }
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11790 $as_echo "no" >&6; }
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11795 $as_echo "no" >&6; }
11811 # Report which library types will actually be built
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11813 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11815 $as_echo "$can_build_shared" >&6; }
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11818 $as_echo_n "checking whether to build shared libraries... " >&6; }
11819 test "$can_build_shared" = "no" && enable_shared=no
11821 # On AIX, shared libraries and static libraries use the same namespace, and
11822 # are all built from PIC.
11825 test "$enable_shared" = yes && enable_static=no
11826 if test -n "$RANLIB"; then
11827 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11828 postinstall_cmds='$RANLIB $lib'
11833 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11834 test "$enable_shared" = yes && enable_static=no
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11839 $as_echo "$enable_shared" >&6; }
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11842 $as_echo_n "checking whether to build static libraries... " >&6; }
11843 # Make sure either enable_shared or enable_static is yes.
11844 test "$enable_shared" = yes || enable_static=yes
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11846 $as_echo "$enable_static" >&6; }
11853 ac_cpp='$CPP $CPPFLAGS'
11854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11872 ac_config_commands="$ac_config_commands libtool"
11877 # Only expand once:
11887 # Check whether --with-autoconf was given.
11888 if test "${with_autoconf+set}" = set; then :
11889 withval=$with_autoconf;
11892 AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
11895 $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
11901 # Check whether --with-autoheader was given.
11902 if test "${with_autoheader+set}" = set; then :
11903 withval=$with_autoheader;
11906 AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
11909 $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
11915 # Check whether --with-automake was given.
11916 if test "${with_automake+set}" = set; then :
11917 withval=$with_automake;
11920 AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
11923 $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
11929 # Check whether --with-aclocal was given.
11930 if test "${with_aclocal+set}" = set; then :
11931 withval=$with_aclocal;
11934 ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
11937 $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
11943 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
11949 # Check whether --with-pkg-config-path was given.
11950 if test "${with_pkg_config_path+set}" = set; then :
11951 withval=$with_pkg_config_path;
11952 export PKG_CONFIG_PATH=${withval}
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
11954 $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
11961 # Check whether --with-package-name was given.
11962 if test "${with_package_name+set}" = set; then :
11963 withval=$with_package_name;
11964 case "${withval}" in
11965 yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
11966 no) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
11967 *) GST_PACKAGE_NAME="${withval}" ;;
11973 if test "x$P" = "x"
11978 if test "x$PACKAGE_VERSION_NANO" = "x0"
11980 GST_PACKAGE_NAME="$P source release"
11982 if test "x$PACKAGE_VERSION_NANO" = "x1"
11984 GST_PACKAGE_NAME="$P git"
11986 GST_PACKAGE_NAME="$P prerelease"
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
11994 $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
11996 cat >>confdefs.h <<_ACEOF
11997 #define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
12004 # Check whether --with-package-origin was given.
12005 if test "${with_package_origin+set}" = set; then :
12006 withval=$with_package_origin;
12007 case "${withval}" in
12008 yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
12009 no) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
12010 *) GST_PACKAGE_ORIGIN="${withval}" ;;
12014 GST_PACKAGE_ORIGIN="Unknown package origin"
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
12018 $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
12020 cat >>confdefs.h <<_ACEOF
12021 #define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
12028 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12029 if test -n "$ac_tool_prefix"; then
12030 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12031 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12033 $as_echo_n "checking for $ac_word... " >&6; }
12034 if ${ac_cv_path_PKG_CONFIG+:} false; then :
12035 $as_echo_n "(cached) " >&6
12037 case $PKG_CONFIG in
12039 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12043 for as_dir in $PATH
12046 test -z "$as_dir" && as_dir=.
12047 for ac_exec_ext in '' $ac_executable_extensions; do
12048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12049 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12060 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12061 if test -n "$PKG_CONFIG"; then
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12063 $as_echo "$PKG_CONFIG" >&6; }
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12066 $as_echo "no" >&6; }
12071 if test -z "$ac_cv_path_PKG_CONFIG"; then
12072 ac_pt_PKG_CONFIG=$PKG_CONFIG
12073 # Extract the first word of "pkg-config", so it can be a program name with args.
12074 set dummy pkg-config; ac_word=$2
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12076 $as_echo_n "checking for $ac_word... " >&6; }
12077 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12078 $as_echo_n "(cached) " >&6
12080 case $ac_pt_PKG_CONFIG in
12082 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12086 for as_dir in $PATH
12089 test -z "$as_dir" && as_dir=.
12090 for ac_exec_ext in '' $ac_executable_extensions; do
12091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12092 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12103 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12104 if test -n "$ac_pt_PKG_CONFIG"; then
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12106 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12109 $as_echo "no" >&6; }
12112 if test "x$ac_pt_PKG_CONFIG" = x; then
12115 case $cross_compiling:$ac_tool_warned in
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12119 ac_tool_warned=yes ;;
12121 PKG_CONFIG=$ac_pt_PKG_CONFIG
12124 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12128 if test -n "$PKG_CONFIG"; then
12129 _pkg_min_version=0.9.0
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12131 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12132 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12134 $as_echo "yes" >&6; }
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12137 $as_echo "no" >&6; }
12143 # Check whether --enable-valgrind was given.
12144 if test "${enable_valgrind+set}" = set; then :
12145 enableval=$enable_valgrind;
12146 case "${enableval}" in
12147 yes) USE_VALGRIND="$USE_DEBUG" ;;
12148 no) USE_VALGRIND=no ;;
12149 *) as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
12153 USE_VALGRIND="$USE_DEBUG"
12156 if test "x$USE_VALGRIND" = xyes; then
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
12160 $as_echo_n "checking for VALGRIND... " >&6; }
12162 if test -n "$PKG_CONFIG"; then
12163 if test -n "$VALGRIND_CFLAGS"; then
12164 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
12166 if test -n "$PKG_CONFIG" && \
12167 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
12168 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
12170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12171 test $ac_status = 0; }; then
12172 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
12180 if test -n "$PKG_CONFIG"; then
12181 if test -n "$VALGRIND_LIBS"; then
12182 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
12184 if test -n "$PKG_CONFIG" && \
12185 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
12186 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
12188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12189 test $ac_status = 0; }; then
12190 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
12201 if test $pkg_failed = yes; then
12203 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12204 _pkg_short_errors_supported=yes
12206 _pkg_short_errors_supported=no
12208 if test $_pkg_short_errors_supported = yes; then
12209 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
12211 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
12213 # Put the nasty error message in config.log where it belongs
12214 echo "$VALGRIND_PKG_ERRORS" >&5
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12217 $as_echo "no" >&6; }
12219 elif test $pkg_failed = untried; then
12222 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
12223 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12225 $as_echo "yes" >&6; }
12229 if test "x$USE_VALGRIND" = xyes; then
12231 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
12234 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
12242 case "x${host_cpu}" in
12243 xi?86 | xk? | xi?86_64)
12246 ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default"
12247 if test "x$ac_cv_have_decl___i386" = xyes; then :
12253 ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
12254 if test "x$ac_cv_have_decl___amd64" = xyes; then :
12261 if test "x$I386_ABI" = "xyes" ; then
12264 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
12267 if test "x$AMD64_ABI" = "xyes" ; then
12268 HAVE_CPU_X86_64=yes
12270 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
12277 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
12280 case "x${host_cpu}" in
12284 $as_echo "#define HAVE_RDTSC 1" >>confdefs.h
12293 $as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h
12298 $as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h
12303 $as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h
12308 $as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h
12313 $as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h
12318 $as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h
12323 $as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h
12328 $as_echo "#define HAVE_CPU_S390 1" >>confdefs.h
12333 $as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h
12338 $as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h
12341 HAVE_CPU_X86_64=yes
12343 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
12348 $as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h
12351 HAVE_CPU_CRISV32=yes
12353 $as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12358 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12359 if ${ac_cv_c_bigendian+:} false; then :
12360 $as_echo_n "(cached) " >&6
12362 ac_cv_c_bigendian=unknown
12363 # See if we're dealing with a universal compiler.
12364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h. */
12366 #ifndef __APPLE_CC__
12367 not a universal capable compiler
12372 if ac_fn_c_try_compile "$LINENO"; then :
12374 # Check for potential -arch flags. It is not universal unless
12375 # there are at least two -arch flags with different values.
12378 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12379 if test -n "$ac_prev"; then
12381 i?86 | x86_64 | ppc | ppc64)
12382 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12385 ac_cv_c_bigendian=universal
12391 elif test "x$ac_word" = "x-arch"; then
12396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12397 if test $ac_cv_c_bigendian = unknown; then
12398 # See if sys/param.h defines the BYTE_ORDER macro.
12399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12400 /* end confdefs.h. */
12401 #include <sys/types.h>
12402 #include <sys/param.h>
12407 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12408 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12410 bogus endian macros
12417 if ac_fn_c_try_compile "$LINENO"; then :
12418 # It does; now see whether it defined to BIG_ENDIAN or not.
12419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h. */
12421 #include <sys/types.h>
12422 #include <sys/param.h>
12427 #if BYTE_ORDER != BIG_ENDIAN
12435 if ac_fn_c_try_compile "$LINENO"; then :
12436 ac_cv_c_bigendian=yes
12438 ac_cv_c_bigendian=no
12440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12444 if test $ac_cv_c_bigendian = unknown; then
12445 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12448 #include <limits.h>
12453 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12454 bogus endian macros
12461 if ac_fn_c_try_compile "$LINENO"; then :
12462 # It does; now see whether it defined to _BIG_ENDIAN or not.
12463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12465 #include <limits.h>
12470 #ifndef _BIG_ENDIAN
12478 if ac_fn_c_try_compile "$LINENO"; then :
12479 ac_cv_c_bigendian=yes
12481 ac_cv_c_bigendian=no
12483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12487 if test $ac_cv_c_bigendian = unknown; then
12488 # Compile a test program.
12489 if test "$cross_compiling" = yes; then :
12490 # Try to guess by grepping values from an object file.
12491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12493 short int ascii_mm[] =
12494 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12495 short int ascii_ii[] =
12496 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12497 int use_ascii (int i) {
12498 return ascii_mm[i] + ascii_ii[i];
12500 short int ebcdic_ii[] =
12501 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12502 short int ebcdic_mm[] =
12503 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12504 int use_ebcdic (int i) {
12505 return ebcdic_mm[i] + ebcdic_ii[i];
12512 return use_ascii (foo) == use_ebcdic (foo);
12517 if ac_fn_c_try_compile "$LINENO"; then :
12518 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
12519 ac_cv_c_bigendian=yes
12521 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
12522 if test "$ac_cv_c_bigendian" = unknown; then
12523 ac_cv_c_bigendian=no
12525 # finding both strings is unlikely to happen, but who knows?
12526 ac_cv_c_bigendian=unknown
12530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12533 /* end confdefs.h. */
12534 $ac_includes_default
12539 /* Are we little or big endian? From Harbison&Steele. */
12543 char c[sizeof (long int)];
12546 return u.c[sizeof (long int) - 1] == 1;
12552 if ac_fn_c_try_run "$LINENO"; then :
12553 ac_cv_c_bigendian=no
12555 ac_cv_c_bigendian=yes
12557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12558 conftest.$ac_objext conftest.beam conftest.$ac_ext
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12564 $as_echo "$ac_cv_c_bigendian" >&6; }
12565 case $ac_cv_c_bigendian in #(
12567 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12573 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12577 as_fn_error $? "unknown endianness
12578 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12582 if test "x$HAVE_CPU_I386" = "xyes"; then
12583 HAVE_CPU_I386_TRUE=
12584 HAVE_CPU_I386_FALSE='#'
12586 HAVE_CPU_I386_TRUE='#'
12587 HAVE_CPU_I386_FALSE=
12590 if test "x$HAVE_CPU_PPC" = "xyes"; then
12592 HAVE_CPU_PPC_FALSE='#'
12594 HAVE_CPU_PPC_TRUE='#'
12595 HAVE_CPU_PPC_FALSE=
12598 if test "x$HAVE_CPU_PPC64" = "xyes"; then
12599 HAVE_CPU_PPC64_TRUE=
12600 HAVE_CPU_PPC64_FALSE='#'
12602 HAVE_CPU_PPC64_TRUE='#'
12603 HAVE_CPU_PPC64_FALSE=
12606 if test "x$HAVE_CPU_ALPHA" = "xyes"; then
12607 HAVE_CPU_ALPHA_TRUE=
12608 HAVE_CPU_ALPHA_FALSE='#'
12610 HAVE_CPU_ALPHA_TRUE='#'
12611 HAVE_CPU_ALPHA_FALSE=
12614 if test "x$HAVE_CPU_ARM" = "xyes"; then
12616 HAVE_CPU_ARM_FALSE='#'
12618 HAVE_CPU_ARM_TRUE='#'
12619 HAVE_CPU_ARM_FALSE=
12622 if test "x$HAVE_CPU_SPARC" = "xyes"; then
12623 HAVE_CPU_SPARC_TRUE=
12624 HAVE_CPU_SPARC_FALSE='#'
12626 HAVE_CPU_SPARC_TRUE='#'
12627 HAVE_CPU_SPARC_FALSE=
12630 if test "x$HAVE_CPU_HPPA" = "xyes"; then
12631 HAVE_CPU_HPPA_TRUE=
12632 HAVE_CPU_HPPA_FALSE='#'
12634 HAVE_CPU_HPPA_TRUE='#'
12635 HAVE_CPU_HPPA_FALSE=
12638 if test "x$HAVE_CPU_MIPS" = "xyes"; then
12639 HAVE_CPU_MIPS_TRUE=
12640 HAVE_CPU_MIPS_FALSE='#'
12642 HAVE_CPU_MIPS_TRUE='#'
12643 HAVE_CPU_MIPS_FALSE=
12646 if test "x$HAVE_CPU_S390" = "xyes"; then
12647 HAVE_CPU_S390_TRUE=
12648 HAVE_CPU_S390_FALSE='#'
12650 HAVE_CPU_S390_TRUE='#'
12651 HAVE_CPU_S390_FALSE=
12654 if test "x$HAVE_CPU_IA64" = "xyes"; then
12655 HAVE_CPU_IA64_TRUE=
12656 HAVE_CPU_IA64_FALSE='#'
12658 HAVE_CPU_IA64_TRUE='#'
12659 HAVE_CPU_IA64_FALSE=
12662 if test "x$HAVE_CPU_M68K" = "xyes"; then
12663 HAVE_CPU_M68K_TRUE=
12664 HAVE_CPU_M68K_FALSE='#'
12666 HAVE_CPU_M68K_TRUE='#'
12667 HAVE_CPU_M68K_FALSE=
12670 if test "x$HAVE_CPU_X86_64" = "xyes"; then
12671 HAVE_CPU_X86_64_TRUE=
12672 HAVE_CPU_X86_64_FALSE='#'
12674 HAVE_CPU_X86_64_TRUE='#'
12675 HAVE_CPU_X86_64_FALSE=
12678 if test "x$HAVE_CPU_CRIS" = "xyes"; then
12679 HAVE_CPU_CRIS_TRUE=
12680 HAVE_CPU_CRIS_FALSE='#'
12682 HAVE_CPU_CRIS_TRUE='#'
12683 HAVE_CPU_CRIS_FALSE=
12686 if test "x$HAVE_CPU_CRISV32" = "xyes"; then
12687 HAVE_CPU_CRISV32_TRUE=
12688 HAVE_CPU_CRISV32_FALSE='#'
12690 HAVE_CPU_CRISV32_TRUE='#'
12691 HAVE_CPU_CRISV32_FALSE=
12696 cat >>confdefs.h <<_ACEOF
12697 #define HOST_CPU "$host_cpu"
12704 ac_cpp='$CPP $CPPFLAGS'
12705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12708 if test -n "$ac_tool_prefix"; then
12709 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12710 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12712 $as_echo_n "checking for $ac_word... " >&6; }
12713 if ${ac_cv_prog_CC+:} false; then :
12714 $as_echo_n "(cached) " >&6
12716 if test -n "$CC"; then
12717 ac_cv_prog_CC="$CC" # Let the user override the test.
12719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12720 for as_dir in $PATH
12723 test -z "$as_dir" && as_dir=.
12724 for ac_exec_ext in '' $ac_executable_extensions; do
12725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12726 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12737 if test -n "$CC"; then
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12739 $as_echo "$CC" >&6; }
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12742 $as_echo "no" >&6; }
12747 if test -z "$ac_cv_prog_CC"; then
12749 # Extract the first word of "gcc", so it can be a program name with args.
12750 set dummy gcc; ac_word=$2
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12752 $as_echo_n "checking for $ac_word... " >&6; }
12753 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12754 $as_echo_n "(cached) " >&6
12756 if test -n "$ac_ct_CC"; then
12757 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12760 for as_dir in $PATH
12763 test -z "$as_dir" && as_dir=.
12764 for ac_exec_ext in '' $ac_executable_extensions; do
12765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12766 ac_cv_prog_ac_ct_CC="gcc"
12767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12776 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12777 if test -n "$ac_ct_CC"; then
12778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12779 $as_echo "$ac_ct_CC" >&6; }
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12782 $as_echo "no" >&6; }
12785 if test "x$ac_ct_CC" = x; then
12788 case $cross_compiling:$ac_tool_warned in
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12792 ac_tool_warned=yes ;;
12797 CC="$ac_cv_prog_CC"
12800 if test -z "$CC"; then
12801 if test -n "$ac_tool_prefix"; then
12802 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12803 set dummy ${ac_tool_prefix}cc; ac_word=$2
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12805 $as_echo_n "checking for $ac_word... " >&6; }
12806 if ${ac_cv_prog_CC+:} false; then :
12807 $as_echo_n "(cached) " >&6
12809 if test -n "$CC"; then
12810 ac_cv_prog_CC="$CC" # Let the user override the test.
12812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12813 for as_dir in $PATH
12816 test -z "$as_dir" && as_dir=.
12817 for ac_exec_ext in '' $ac_executable_extensions; do
12818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12819 ac_cv_prog_CC="${ac_tool_prefix}cc"
12820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12830 if test -n "$CC"; then
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12832 $as_echo "$CC" >&6; }
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12835 $as_echo "no" >&6; }
12841 if test -z "$CC"; then
12842 # Extract the first word of "cc", so it can be a program name with args.
12843 set dummy cc; ac_word=$2
12844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12845 $as_echo_n "checking for $ac_word... " >&6; }
12846 if ${ac_cv_prog_CC+:} false; then :
12847 $as_echo_n "(cached) " >&6
12849 if test -n "$CC"; then
12850 ac_cv_prog_CC="$CC" # Let the user override the test.
12852 ac_prog_rejected=no
12853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12854 for as_dir in $PATH
12857 test -z "$as_dir" && as_dir=.
12858 for ac_exec_ext in '' $ac_executable_extensions; do
12859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12860 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12861 ac_prog_rejected=yes
12865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12872 if test $ac_prog_rejected = yes; then
12873 # We found a bogon in the path, so make sure we never use it.
12874 set dummy $ac_cv_prog_CC
12876 if test $# != 0; then
12877 # We chose a different compiler from the bogus one.
12878 # However, it has the same basename, so the bogon will be chosen
12879 # first if we set CC to just the basename; use the full file name.
12881 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12887 if test -n "$CC"; then
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12889 $as_echo "$CC" >&6; }
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12892 $as_echo "no" >&6; }
12897 if test -z "$CC"; then
12898 if test -n "$ac_tool_prefix"; then
12899 for ac_prog in cl.exe
12901 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12902 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12904 $as_echo_n "checking for $ac_word... " >&6; }
12905 if ${ac_cv_prog_CC+:} false; then :
12906 $as_echo_n "(cached) " >&6
12908 if test -n "$CC"; then
12909 ac_cv_prog_CC="$CC" # Let the user override the test.
12911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12912 for as_dir in $PATH
12915 test -z "$as_dir" && as_dir=.
12916 for ac_exec_ext in '' $ac_executable_extensions; do
12917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12918 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12929 if test -n "$CC"; then
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12931 $as_echo "$CC" >&6; }
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12934 $as_echo "no" >&6; }
12938 test -n "$CC" && break
12941 if test -z "$CC"; then
12943 for ac_prog in cl.exe
12945 # Extract the first word of "$ac_prog", so it can be a program name with args.
12946 set dummy $ac_prog; ac_word=$2
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12948 $as_echo_n "checking for $ac_word... " >&6; }
12949 if ${ac_cv_prog_ac_ct_CC+:} false; then :
12950 $as_echo_n "(cached) " >&6
12952 if test -n "$ac_ct_CC"; then
12953 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12956 for as_dir in $PATH
12959 test -z "$as_dir" && as_dir=.
12960 for ac_exec_ext in '' $ac_executable_extensions; do
12961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12962 ac_cv_prog_ac_ct_CC="$ac_prog"
12963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12972 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12973 if test -n "$ac_ct_CC"; then
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12975 $as_echo "$ac_ct_CC" >&6; }
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12978 $as_echo "no" >&6; }
12982 test -n "$ac_ct_CC" && break
12985 if test "x$ac_ct_CC" = x; then
12988 case $cross_compiling:$ac_tool_warned in
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12992 ac_tool_warned=yes ;;
13001 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13002 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13003 as_fn_error $? "no acceptable C compiler found in \$PATH
13004 See \`config.log' for more details" "$LINENO" 5; }
13006 # Provide some information about the compiler.
13007 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13010 for ac_option in --version -v -V -qversion; do
13011 { { ac_try="$ac_compiler $ac_option >&5"
13012 case "(($ac_try" in
13013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13014 *) ac_try_echo=$ac_try;;
13016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13017 $as_echo "$ac_try_echo"; } >&5
13018 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13020 if test -s conftest.err; then
13022 ... rest of stderr output deleted ...
13023 10q' conftest.err >conftest.er1
13024 cat conftest.er1 >&5
13026 rm -f conftest.er1 conftest.err
13027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13028 test $ac_status = 0; }
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13032 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13033 if ${ac_cv_c_compiler_gnu+:} false; then :
13034 $as_echo_n "(cached) " >&6
13036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13037 /* end confdefs.h. */
13050 if ac_fn_c_try_compile "$LINENO"; then :
13051 ac_compiler_gnu=yes
13055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13056 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13060 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13061 if test $ac_compiler_gnu = yes; then
13066 ac_test_CFLAGS=${CFLAGS+set}
13067 ac_save_CFLAGS=$CFLAGS
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13069 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13070 if ${ac_cv_prog_cc_g+:} false; then :
13071 $as_echo_n "(cached) " >&6
13073 ac_save_c_werror_flag=$ac_c_werror_flag
13074 ac_c_werror_flag=yes
13077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13078 /* end confdefs.h. */
13088 if ac_fn_c_try_compile "$LINENO"; then :
13089 ac_cv_prog_cc_g=yes
13092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13093 /* end confdefs.h. */
13103 if ac_fn_c_try_compile "$LINENO"; then :
13106 ac_c_werror_flag=$ac_save_c_werror_flag
13108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13109 /* end confdefs.h. */
13119 if ac_fn_c_try_compile "$LINENO"; then :
13120 ac_cv_prog_cc_g=yes
13122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13127 ac_c_werror_flag=$ac_save_c_werror_flag
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13130 $as_echo "$ac_cv_prog_cc_g" >&6; }
13131 if test "$ac_test_CFLAGS" = set; then
13132 CFLAGS=$ac_save_CFLAGS
13133 elif test $ac_cv_prog_cc_g = yes; then
13134 if test "$GCC" = yes; then
13140 if test "$GCC" = yes; then
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13147 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13148 if ${ac_cv_prog_cc_c89+:} false; then :
13149 $as_echo_n "(cached) " >&6
13151 ac_cv_prog_cc_c89=no
13153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13154 /* end confdefs.h. */
13155 #include <stdarg.h>
13157 #include <sys/types.h>
13158 #include <sys/stat.h>
13159 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13160 struct buf { int x; };
13161 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13162 static char *e (p, i)
13168 static char *f (char * (*g) (char **, int), char **p, ...)
13173 s = g (p, va_arg (v,int));
13178 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13179 function prototypes and stuff, but not '\xHH' hex character constants.
13180 These don't provoke an error unfortunately, instead are silently treated
13181 as 'x'. The following induces an error, until -std is added to get
13182 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13183 array size at least. It's necessary to write '\x00'==0 to get something
13184 that's true only with -std. */
13185 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13187 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13188 inside strings and character constants. */
13190 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13192 int test (int i, double x);
13193 struct s1 {int (*f) (int a);};
13194 struct s2 {int (*f) (double a);};
13195 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13201 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13206 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13207 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13209 CC="$ac_save_CC $ac_arg"
13210 if ac_fn_c_try_compile "$LINENO"; then :
13211 ac_cv_prog_cc_c89=$ac_arg
13213 rm -f core conftest.err conftest.$ac_objext
13214 test "x$ac_cv_prog_cc_c89" != "xno" && break
13216 rm -f conftest.$ac_ext
13221 case "x$ac_cv_prog_cc_c89" in
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13224 $as_echo "none needed" >&6; } ;;
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13227 $as_echo "unsupported" >&6; } ;;
13229 CC="$CC $ac_cv_prog_cc_c89"
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13231 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13233 if test "x$ac_cv_prog_cc_c89" != xno; then :
13238 ac_cpp='$CPP $CPPFLAGS'
13239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13243 depcc="$CC" am_compiler_list=
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13246 $as_echo_n "checking dependency style of $depcc... " >&6; }
13247 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13248 $as_echo_n "(cached) " >&6
13250 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13251 # We make a subdir and do the tests there. Otherwise we can end up
13252 # making bogus files that we don't know about and never remove. For
13253 # instance it was reported that on HP-UX the gcc test will end up
13254 # making a dummy file named `D' -- because `-MD' means `put the output
13257 # Copy depcomp to subdir because otherwise we won't find it if we're
13258 # using a relative directory.
13259 cp "$am_depcomp" conftest.dir
13261 # We will build objects and dependencies in a subdirectory because
13262 # it helps to detect inapplicable dependency modes. For instance
13263 # both Tru64's cc and ICC support -MD to output dependencies as a
13264 # side effect of compilation, but ICC will put the dependencies in
13265 # the current directory while Tru64 will put them in the object
13269 am_cv_CC_dependencies_compiler_type=none
13270 if test "$am_compiler_list" = ""; then
13271 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13273 am__universal=false
13274 case " $depcc " in #(
13275 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13278 for depmode in $am_compiler_list; do
13279 # Setup a source with many dependencies, because some compilers
13280 # like to wrap large dependency lists on column 80 (with \), and
13281 # we should not choose a depcomp mode which is confused by this.
13283 # We need to recreate these files for each test, as the compiler may
13284 # overwrite some of them when testing with obscure command lines.
13285 # This happens at least with the AIX C compiler.
13287 for i in 1 2 3 4 5 6; do
13288 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13289 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13290 # Solaris 8's {/usr,}/bin/sh.
13291 touch sub/conftst$i.h
13293 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13295 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13296 # mode. It turns out that the SunPro C++ compiler does not properly
13297 # handle `-M -o', and we need to detect this. Also, some Intel
13298 # versions had trouble with output in subdirs
13299 am__obj=sub/conftest.${OBJEXT-o}
13300 am__minus_obj="-o $am__obj"
13303 # This depmode causes a compiler race in universal mode.
13304 test "$am__universal" = false || continue
13307 # after this tag, mechanisms are not by side-effect, so they'll
13308 # only be used when explicitly requested
13309 if test "x$enable_dependency_tracking" = xyes; then
13315 msvisualcpp | msvcmsys)
13316 # This compiler won't grok `-c -o', but also, the minuso test has
13317 # not run yet. These depmodes are late enough in the game, and
13318 # so weak that their functioning should not be impacted.
13319 am__obj=conftest.${OBJEXT-o}
13324 if depmode=$depmode \
13325 source=sub/conftest.c object=$am__obj \
13326 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13327 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13328 >/dev/null 2>conftest.err &&
13329 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13330 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13331 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13332 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13333 # icc doesn't choke on unknown options, it will just issue warnings
13334 # or remarks (even with -Werror). So we grep stderr for any message
13335 # that says an option was ignored or not supported.
13336 # When given -MP, icc 7.0 and 7.1 complain thusly:
13337 # icc: Command line warning: ignoring option '-M'; no argument required
13338 # The diagnosis changed in icc 8.0:
13339 # icc: Command line remark: option '-MP' not supported
13340 if (grep 'ignoring option' conftest.err ||
13341 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13342 am_cv_CC_dependencies_compiler_type=$depmode
13349 rm -rf conftest.dir
13351 am_cv_CC_dependencies_compiler_type=none
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13356 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13357 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13360 test "x$enable_dependency_tracking" != xno \
13361 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13362 am__fastdepCC_TRUE=
13363 am__fastdepCC_FALSE='#'
13365 am__fastdepCC_TRUE='#'
13366 am__fastdepCC_FALSE=
13370 case $ac_cv_prog_cc_stdc in #(
13372 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
13375 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
13376 if ${ac_cv_prog_cc_c99+:} false; then :
13377 $as_echo_n "(cached) " >&6
13379 ac_cv_prog_cc_c99=no
13381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13382 /* end confdefs.h. */
13383 #include <stdarg.h>
13384 #include <stdbool.h>
13385 #include <stdlib.h>
13389 // Check varargs macros. These examples are taken from C99 6.10.3.5.
13390 #define debug(...) fprintf (stderr, __VA_ARGS__)
13391 #define showlist(...) puts (#__VA_ARGS__)
13392 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
13394 test_varargs_macros (void)
13399 debug ("X = %d\n", x);
13400 showlist (The first, second, and third items.);
13401 report (x>y, "x is %d but y is %d", x, y);
13404 // Check long long types.
13405 #define BIG64 18446744073709551615ull
13406 #define BIG32 4294967295ul
13407 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
13409 your preprocessor is broken;
13413 your preprocessor is broken;
13415 static long long int bignum = -9223372036854775807LL;
13416 static unsigned long long int ubignum = BIG64;
13418 struct incomplete_array
13424 struct named_init {
13426 const wchar_t *name;
13430 typedef const char *ccp;
13433 test_restrict (ccp restrict text)
13435 // See if C++-style comments work.
13436 // Iterate through items via the restricted pointer.
13437 // Also check for declarations in for loops.
13438 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
13443 // Check varargs and va_copy.
13445 test_varargs (const char *format, ...)
13448 va_start (args, format);
13450 va_copy (args_copy, args);
13460 case 's': // string
13461 str = va_arg (args_copy, const char *);
13464 number = va_arg (args_copy, int);
13467 fnumber = va_arg (args_copy, double);
13473 va_end (args_copy);
13482 _Bool success = false;
13485 if (test_restrict ("String literal") == 0)
13487 char *restrict newvar = "Another string";
13490 test_varargs ("s, d' f .", "string", 65, 34.234);
13491 test_varargs_macros ();
13493 // Check flexible array members.
13494 struct incomplete_array *ia =
13495 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
13497 for (int i = 0; i < ia->datasize; ++i)
13498 ia->data[i] = i * 1.234;
13500 // Check named initializers.
13501 struct named_init ni = {
13503 .name = L"Test wide string",
13504 .average = 543.34343,
13509 int dynamic_array[ni.number];
13510 dynamic_array[ni.number - 1] = 543;
13512 // work around unused variable warnings
13513 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
13514 || dynamic_array[ni.number - 1] != 543);
13520 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
13522 CC="$ac_save_CC $ac_arg"
13523 if ac_fn_c_try_compile "$LINENO"; then :
13524 ac_cv_prog_cc_c99=$ac_arg
13526 rm -f core conftest.err conftest.$ac_objext
13527 test "x$ac_cv_prog_cc_c99" != "xno" && break
13529 rm -f conftest.$ac_ext
13534 case "x$ac_cv_prog_cc_c99" in
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13537 $as_echo "none needed" >&6; } ;;
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13540 $as_echo "unsupported" >&6; } ;;
13542 CC="$CC $ac_cv_prog_cc_c99"
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
13544 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
13546 if test "x$ac_cv_prog_cc_c99" != xno; then :
13547 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13550 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13551 if ${ac_cv_prog_cc_c89+:} false; then :
13552 $as_echo_n "(cached) " >&6
13554 ac_cv_prog_cc_c89=no
13556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13557 /* end confdefs.h. */
13558 #include <stdarg.h>
13560 #include <sys/types.h>
13561 #include <sys/stat.h>
13562 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13563 struct buf { int x; };
13564 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13565 static char *e (p, i)
13571 static char *f (char * (*g) (char **, int), char **p, ...)
13576 s = g (p, va_arg (v,int));
13581 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13582 function prototypes and stuff, but not '\xHH' hex character constants.
13583 These don't provoke an error unfortunately, instead are silently treated
13584 as 'x'. The following induces an error, until -std is added to get
13585 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13586 array size at least. It's necessary to write '\x00'==0 to get something
13587 that's true only with -std. */
13588 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13590 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13591 inside strings and character constants. */
13593 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13595 int test (int i, double x);
13596 struct s1 {int (*f) (int a);};
13597 struct s2 {int (*f) (double a);};
13598 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13604 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13609 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13610 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13612 CC="$ac_save_CC $ac_arg"
13613 if ac_fn_c_try_compile "$LINENO"; then :
13614 ac_cv_prog_cc_c89=$ac_arg
13616 rm -f core conftest.err conftest.$ac_objext
13617 test "x$ac_cv_prog_cc_c89" != "xno" && break
13619 rm -f conftest.$ac_ext
13624 case "x$ac_cv_prog_cc_c89" in
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13627 $as_echo "none needed" >&6; } ;;
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13630 $as_echo "unsupported" >&6; } ;;
13632 CC="$CC $ac_cv_prog_cc_c89"
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13634 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13636 if test "x$ac_cv_prog_cc_c89" != xno; then :
13637 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
13639 ac_cv_prog_cc_stdc=no
13645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
13646 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
13647 if ${ac_cv_prog_cc_stdc+:} false; then :
13648 $as_echo_n "(cached) " >&6
13651 case $ac_cv_prog_cc_stdc in #(
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13654 $as_echo "unsupported" >&6; } ;; #(
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13657 $as_echo "none needed" >&6; } ;; #(
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
13660 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
13664 if test "x$CC" != xcc; then
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
13666 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
13669 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
13671 set dummy $CC; ac_cc=`$as_echo "$2" |
13672 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13673 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
13674 $as_echo_n "(cached) " >&6
13676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13677 /* end confdefs.h. */
13687 # Make sure it works both with $CC and with simple cc.
13688 # We do the test twice because some compilers refuse to overwrite an
13689 # existing .o file with -o, though they will create one.
13690 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13692 if { { case "(($ac_try" in
13693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13694 *) ac_try_echo=$ac_try;;
13696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13697 $as_echo "$ac_try_echo"; } >&5
13698 (eval "$ac_try") 2>&5
13700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13701 test $ac_status = 0; } &&
13702 test -f conftest2.$ac_objext && { { case "(($ac_try" in
13703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13704 *) ac_try_echo=$ac_try;;
13706 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13707 $as_echo "$ac_try_echo"; } >&5
13708 (eval "$ac_try") 2>&5
13710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13711 test $ac_status = 0; };
13713 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
13714 if test "x$CC" != xcc; then
13715 # Test first that cc exists at all.
13716 if { ac_try='cc -c conftest.$ac_ext >&5'
13717 { { case "(($ac_try" in
13718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13719 *) ac_try_echo=$ac_try;;
13721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13722 $as_echo "$ac_try_echo"; } >&5
13723 (eval "$ac_try") 2>&5
13725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13726 test $ac_status = 0; }; }; then
13727 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13729 if { { case "(($ac_try" in
13730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13731 *) ac_try_echo=$ac_try;;
13733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13734 $as_echo "$ac_try_echo"; } >&5
13735 (eval "$ac_try") 2>&5
13737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13738 test $ac_status = 0; } &&
13739 test -f conftest2.$ac_objext && { { case "(($ac_try" in
13740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13741 *) ac_try_echo=$ac_try;;
13743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13744 $as_echo "$ac_try_echo"; } >&5
13745 (eval "$ac_try") 2>&5
13747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13748 test $ac_status = 0; };
13753 # cc exists but doesn't like -o.
13754 eval ac_cv_prog_cc_${ac_cc}_c_o=no
13759 eval ac_cv_prog_cc_${ac_cc}_c_o=no
13761 rm -f core conftest*
13764 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13766 $as_echo "yes" >&6; }
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13769 $as_echo "no" >&6; }
13771 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
13775 # FIXME: we rely on the cache variable name because
13776 # there is no other way.
13778 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13779 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
13780 if test "$am_t" != yes; then
13781 # Losing compiler, so override with the script.
13782 # FIXME: It is wrong to rewrite CC.
13783 # But if we don't then we get into trouble of one sort or another.
13784 # A longer-term fix would be to have automake use am__CC in this case,
13785 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13786 CC="$am_aux_dir/compile $CC"
13791 # Extract the first word of "valgrind", so it can be a program name with args.
13792 set dummy valgrind; ac_word=$2
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13794 $as_echo_n "checking for $ac_word... " >&6; }
13795 if ${ac_cv_path_VALGRIND_PATH+:} false; then :
13796 $as_echo_n "(cached) " >&6
13798 case $VALGRIND_PATH in
13800 ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
13803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13804 for as_dir in $PATH
13807 test -z "$as_dir" && as_dir=.
13808 for ac_exec_ext in '' $ac_executable_extensions; do
13809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13810 ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
13811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13818 test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
13822 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
13823 if test -n "$VALGRIND_PATH"; then
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
13825 $as_echo "$VALGRIND_PATH" >&6; }
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13828 $as_echo "no" >&6; }
13832 if test ! "x$VALGRIND_PATH" = "xno"; then
13833 HAVE_VALGRIND_TRUE=
13834 HAVE_VALGRIND_FALSE='#'
13836 HAVE_VALGRIND_TRUE='#'
13837 HAVE_VALGRIND_FALSE=
13842 if test "x$PACKAGE_TARNAME" = "x"
13844 as_fn_error $? "Internal error - PACKAGE_TARNAME not set" "$LINENO" 5
13846 docdir="\$(datadir)/doc/$PACKAGE_TARNAME-$GST_MAJORMINOR"
13848 # Check whether --enable-docbook was given.
13849 if test "${enable_docbook+set}" = set; then :
13850 enableval=$enable_docbook;
13858 if test x$enable_docbook = xyes; then
13860 # Extract the first word of "docbook2ps", so it can be a program name with args.
13861 set dummy docbook2ps; ac_word=$2
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13863 $as_echo_n "checking for $ac_word... " >&6; }
13864 if ${ac_cv_prog_HAVE_DOCBOOK2PS+:} false; then :
13865 $as_echo_n "(cached) " >&6
13867 if test -n "$HAVE_DOCBOOK2PS"; then
13868 ac_cv_prog_HAVE_DOCBOOK2PS="$HAVE_DOCBOOK2PS" # Let the user override the test.
13870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13871 for as_dir in $PATH
13874 test -z "$as_dir" && as_dir=.
13875 for ac_exec_ext in '' $ac_executable_extensions; do
13876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13877 ac_cv_prog_HAVE_DOCBOOK2PS="yes"
13878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13885 test -z "$ac_cv_prog_HAVE_DOCBOOK2PS" && ac_cv_prog_HAVE_DOCBOOK2PS="no"
13888 HAVE_DOCBOOK2PS=$ac_cv_prog_HAVE_DOCBOOK2PS
13889 if test -n "$HAVE_DOCBOOK2PS"; then
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOCBOOK2PS" >&5
13891 $as_echo "$HAVE_DOCBOOK2PS" >&6; }
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13894 $as_echo "no" >&6; }
13898 # Extract the first word of "docbook2html", so it can be a program name with args.
13899 set dummy docbook2html; ac_word=$2
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13901 $as_echo_n "checking for $ac_word... " >&6; }
13902 if ${ac_cv_prog_HAVE_DOCBOOK2HTML+:} false; then :
13903 $as_echo_n "(cached) " >&6
13905 if test -n "$HAVE_DOCBOOK2HTML"; then
13906 ac_cv_prog_HAVE_DOCBOOK2HTML="$HAVE_DOCBOOK2HTML" # Let the user override the test.
13908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13909 for as_dir in $PATH
13912 test -z "$as_dir" && as_dir=.
13913 for ac_exec_ext in '' $ac_executable_extensions; do
13914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13915 ac_cv_prog_HAVE_DOCBOOK2HTML="yes"
13916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13923 test -z "$ac_cv_prog_HAVE_DOCBOOK2HTML" && ac_cv_prog_HAVE_DOCBOOK2HTML="no"
13926 HAVE_DOCBOOK2HTML=$ac_cv_prog_HAVE_DOCBOOK2HTML
13927 if test -n "$HAVE_DOCBOOK2HTML"; then
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOCBOOK2HTML" >&5
13929 $as_echo "$HAVE_DOCBOOK2HTML" >&6; }
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13932 $as_echo "no" >&6; }
13936 # Extract the first word of "jadetex", so it can be a program name with args.
13937 set dummy jadetex; ac_word=$2
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13939 $as_echo_n "checking for $ac_word... " >&6; }
13940 if ${ac_cv_prog_HAVE_JADETEX+:} false; then :
13941 $as_echo_n "(cached) " >&6
13943 if test -n "$HAVE_JADETEX"; then
13944 ac_cv_prog_HAVE_JADETEX="$HAVE_JADETEX" # Let the user override the test.
13946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13947 for as_dir in $PATH
13950 test -z "$as_dir" && as_dir=.
13951 for ac_exec_ext in '' $ac_executable_extensions; do
13952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13953 ac_cv_prog_HAVE_JADETEX="yes"
13954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13961 test -z "$ac_cv_prog_HAVE_JADETEX" && ac_cv_prog_HAVE_JADETEX="no"
13964 HAVE_JADETEX=$ac_cv_prog_HAVE_JADETEX
13965 if test -n "$HAVE_JADETEX"; then
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_JADETEX" >&5
13967 $as_echo "$HAVE_JADETEX" >&6; }
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13970 $as_echo "no" >&6; }
13974 # Extract the first word of "ps2pdf", so it can be a program name with args.
13975 set dummy ps2pdf; ac_word=$2
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13977 $as_echo_n "checking for $ac_word... " >&6; }
13978 if ${ac_cv_prog_HAVE_PS2PDF+:} false; then :
13979 $as_echo_n "(cached) " >&6
13981 if test -n "$HAVE_PS2PDF"; then
13982 ac_cv_prog_HAVE_PS2PDF="$HAVE_PS2PDF" # Let the user override the test.
13984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13985 for as_dir in $PATH
13988 test -z "$as_dir" && as_dir=.
13989 for ac_exec_ext in '' $ac_executable_extensions; do
13990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13991 ac_cv_prog_HAVE_PS2PDF="yes"
13992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13999 test -z "$ac_cv_prog_HAVE_PS2PDF" && ac_cv_prog_HAVE_PS2PDF="no"
14002 HAVE_PS2PDF=$ac_cv_prog_HAVE_PS2PDF
14003 if test -n "$HAVE_PS2PDF"; then
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PS2PDF" >&5
14005 $as_echo "$HAVE_PS2PDF" >&6; }
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14008 $as_echo "no" >&6; }
14013 # -V option appeared in 0.6.10
14014 docbook2html_min_version=0.6.10
14015 if test "x$HAVE_DOCBOOK2HTML" != "xno"; then
14016 docbook2html_version=`docbook2html --version`
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking docbook2html version ($docbook2html_version) >= $docbook2html_min_version" >&5
14018 $as_echo_n "checking docbook2html version ($docbook2html_version) >= $docbook2html_min_version... " >&6; }
14020 (\$min_version_major, \$min_version_minor, \$min_version_micro ) = "$docbook2html_min_version" =~ /(\d+)\.(\d+)\.(\d+)/;
14021 (\$docbook2html_version_major, \$docbook2html_version_minor, \$docbook2html_version_micro ) = "$docbook2html_version" =~ /(\d+)\.(\d+)\.(\d+)/;
14022 exit (((\$docbook2html_version_major > \$min_version_major) ||
14023 ((\$docbook2html_version_major == \$min_version_major) &&
14024 (\$docbook2html_version_minor >= \$min_version_minor)) ||
14025 ((\$docbook2html_version_major == \$min_version_major) &&
14026 (\$docbook2html_version_minor >= \$min_version_minor) &&
14027 (\$docbook2html_version_micro >= \$min_version_micro)))
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14032 $as_echo "yes" >&6; }
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14035 $as_echo "no" >&6; }
14036 HAVE_DOCBOOK2HTML=no
14041 XSLTPROC_FLAGS=--nonet
14045 DOCBOOK_VERSION=4.1.2
14047 if test ! -f /etc/xml/catalog; then
14048 for i in /usr/share/sgml/docbook/stylesheet/xsl/nwalsh /usr/share/sgml/docbook/xsl-stylesheets/ /usr/local/share/xsl/docbook ;
14050 if test -d "$i"; then
14055 XML_CATALOG=/etc/xml/catalog
14056 CAT_ENTRY_START='<!--'
14057 CAT_ENTRY_END='-->'
14060 # Extract the first word of "xsltproc", so it can be a program name with args.
14061 set dummy xsltproc; ac_word=$2
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14063 $as_echo_n "checking for $ac_word... " >&6; }
14064 if ${ac_cv_prog_XSLTPROC+:} false; then :
14065 $as_echo_n "(cached) " >&6
14067 if test -n "$XSLTPROC"; then
14068 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
14070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14071 for as_dir in $PATH
14074 test -z "$as_dir" && as_dir=.
14075 for ac_exec_ext in '' $ac_executable_extensions; do
14076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14077 ac_cv_prog_XSLTPROC="xsltproc"
14078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14087 XSLTPROC=$ac_cv_prog_XSLTPROC
14088 if test -n "$XSLTPROC"; then
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
14090 $as_echo "$XSLTPROC" >&6; }
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14093 $as_echo "no" >&6; }
14098 if test -n "$XSLTPROC"; then
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether xsltproc docbook processing works" >&5
14100 $as_echo_n "checking whether xsltproc docbook processing works... " >&6; }
14102 if test -n "$XML_CATALOG"; then
14103 DB_FILE="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"
14105 DB_FILE="$DOCBOOK_ROOT/xhtml/docbook.xsl"
14107 $XSLTPROC $XSLTPROC_FLAGS $DB_FILE >/dev/null 2>&1 << END
14108 <?xml version="1.0" encoding='ISO-8859-1'?>
14109 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook $TYPE_UC V$DOCBOOK_VERSION//EN" "http://www.oasis-open.org/docbook/$TYPE_LC/$DOCBOOK_VERSION/docbookx.dtd">
14113 if test "$?" = 0; then
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC_WORKS" >&5
14117 $as_echo "$XSLTPROC_WORKS" >&6; }
14120 if test "x$XSLTPROC_WORKS" = "xyes"; then
14133 # Extract the first word of "dvips", so it can be a program name with args.
14134 set dummy dvips; ac_word=$2
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14136 $as_echo_n "checking for $ac_word... " >&6; }
14137 if ${ac_cv_prog_HAVE_DVIPS+:} false; then :
14138 $as_echo_n "(cached) " >&6
14140 if test -n "$HAVE_DVIPS"; then
14141 ac_cv_prog_HAVE_DVIPS="$HAVE_DVIPS" # Let the user override the test.
14143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14144 for as_dir in $PATH
14147 test -z "$as_dir" && as_dir=.
14148 for ac_exec_ext in '' $ac_executable_extensions; do
14149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14150 ac_cv_prog_HAVE_DVIPS="yes"
14151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14158 test -z "$ac_cv_prog_HAVE_DVIPS" && ac_cv_prog_HAVE_DVIPS="no"
14161 HAVE_DVIPS=$ac_cv_prog_HAVE_DVIPS
14162 if test -n "$HAVE_DVIPS"; then
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DVIPS" >&5
14164 $as_echo "$HAVE_DVIPS" >&6; }
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14167 $as_echo "no" >&6; }
14171 # Extract the first word of "xmllint", so it can be a program name with args.
14172 set dummy xmllint; ac_word=$2
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14174 $as_echo_n "checking for $ac_word... " >&6; }
14175 if ${ac_cv_prog_HAVE_XMLLINT+:} false; then :
14176 $as_echo_n "(cached) " >&6
14178 if test -n "$HAVE_XMLLINT"; then
14179 ac_cv_prog_HAVE_XMLLINT="$HAVE_XMLLINT" # Let the user override the test.
14181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14182 for as_dir in $PATH
14185 test -z "$as_dir" && as_dir=.
14186 for ac_exec_ext in '' $ac_executable_extensions; do
14187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14188 ac_cv_prog_HAVE_XMLLINT="yes"
14189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14196 test -z "$ac_cv_prog_HAVE_XMLLINT" && ac_cv_prog_HAVE_XMLLINT="no"
14199 HAVE_XMLLINT=$ac_cv_prog_HAVE_XMLLINT
14200 if test -n "$HAVE_XMLLINT"; then
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XMLLINT" >&5
14202 $as_echo "$HAVE_XMLLINT" >&6; }
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14205 $as_echo "no" >&6; }
14210 # Extract the first word of "fig2dev", so it can be a program name with args.
14211 set dummy fig2dev; ac_word=$2
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14213 $as_echo_n "checking for $ac_word... " >&6; }
14214 if ${ac_cv_prog_HAVE_FIG2DEV+:} false; then :
14215 $as_echo_n "(cached) " >&6
14217 if test -n "$HAVE_FIG2DEV"; then
14218 ac_cv_prog_HAVE_FIG2DEV="$HAVE_FIG2DEV" # Let the user override the test.
14220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14221 for as_dir in $PATH
14224 test -z "$as_dir" && as_dir=.
14225 for ac_exec_ext in '' $ac_executable_extensions; do
14226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14227 ac_cv_prog_HAVE_FIG2DEV="yes"
14228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14235 test -z "$ac_cv_prog_HAVE_FIG2DEV" && ac_cv_prog_HAVE_FIG2DEV="no"
14238 HAVE_FIG2DEV=$ac_cv_prog_HAVE_FIG2DEV
14239 if test -n "$HAVE_FIG2DEV"; then
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_FIG2DEV" >&5
14241 $as_echo "$HAVE_FIG2DEV" >&6; }
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14244 $as_echo "no" >&6; }
14248 if test "x$HAVE_FIG2DEV" = "xno" ; then
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Did not find fig2dev (from xfig), images will not be generated." >&5
14250 $as_echo "$as_me: WARNING: Did not find fig2dev (from xfig), images will not be generated." >&2;}
14253 HAVE_FIG2DEV_EPS=no
14254 if test "x$HAVE_FIG2DEV" = "xyes" ; then
14255 fig2dev_quiet=`fig2dev -L eps </dev/null 2>&1 >/dev/null`
14256 if test "x$fig2dev_quiet" = "x" ; then
14257 HAVE_FIG2DEV_EPS=yes
14260 HAVE_FIG2DEV_PNG=no
14261 if test "x$HAVE_FIG2DEV" = "xyes" ; then
14262 fig2dev_quiet=`fig2dev -L png </dev/null 2>&1 >/dev/null`
14263 if test "x$fig2dev_quiet" = "x" ; then
14264 HAVE_FIG2DEV_PNG=yes
14267 HAVE_FIG2DEV_PDF=no
14268 if test "x$HAVE_FIG2DEV" = "xyes" ; then
14269 fig2dev_quiet=`fig2dev -L pdf </dev/null 2>&1 >/dev/null`
14270 if test "x$fig2dev_quiet" = "x" ; then
14271 HAVE_FIG2DEV_PDF=yes
14275 # Extract the first word of "pngtopnm", so it can be a program name with args.
14276 set dummy pngtopnm; ac_word=$2
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14278 $as_echo_n "checking for $ac_word... " >&6; }
14279 if ${ac_cv_prog_HAVE_PNGTOPNM+:} false; then :
14280 $as_echo_n "(cached) " >&6
14282 if test -n "$HAVE_PNGTOPNM"; then
14283 ac_cv_prog_HAVE_PNGTOPNM="$HAVE_PNGTOPNM" # Let the user override the test.
14285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14286 for as_dir in $PATH
14289 test -z "$as_dir" && as_dir=.
14290 for ac_exec_ext in '' $ac_executable_extensions; do
14291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14292 ac_cv_prog_HAVE_PNGTOPNM="yes"
14293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14300 test -z "$ac_cv_prog_HAVE_PNGTOPNM" && ac_cv_prog_HAVE_PNGTOPNM="no"
14303 HAVE_PNGTOPNM=$ac_cv_prog_HAVE_PNGTOPNM
14304 if test -n "$HAVE_PNGTOPNM"; then
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNGTOPNM" >&5
14306 $as_echo "$HAVE_PNGTOPNM" >&6; }
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14309 $as_echo "no" >&6; }
14313 # Extract the first word of "pnmtops", so it can be a program name with args.
14314 set dummy pnmtops; ac_word=$2
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14316 $as_echo_n "checking for $ac_word... " >&6; }
14317 if ${ac_cv_prog_HAVE_PNMTOPS+:} false; then :
14318 $as_echo_n "(cached) " >&6
14320 if test -n "$HAVE_PNMTOPS"; then
14321 ac_cv_prog_HAVE_PNMTOPS="$HAVE_PNMTOPS" # Let the user override the test.
14323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14324 for as_dir in $PATH
14327 test -z "$as_dir" && as_dir=.
14328 for ac_exec_ext in '' $ac_executable_extensions; do
14329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14330 ac_cv_prog_HAVE_PNMTOPS="yes"
14331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14338 test -z "$ac_cv_prog_HAVE_PNMTOPS" && ac_cv_prog_HAVE_PNMTOPS="no"
14341 HAVE_PNMTOPS=$ac_cv_prog_HAVE_PNMTOPS
14342 if test -n "$HAVE_PNMTOPS"; then
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNMTOPS" >&5
14344 $as_echo "$HAVE_PNMTOPS" >&6; }
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14347 $as_echo "no" >&6; }
14351 # Extract the first word of "epstopdf", so it can be a program name with args.
14352 set dummy epstopdf; ac_word=$2
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14354 $as_echo_n "checking for $ac_word... " >&6; }
14355 if ${ac_cv_prog_HAVE_EPSTOPDF+:} false; then :
14356 $as_echo_n "(cached) " >&6
14358 if test -n "$HAVE_EPSTOPDF"; then
14359 ac_cv_prog_HAVE_EPSTOPDF="$HAVE_EPSTOPDF" # Let the user override the test.
14361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14362 for as_dir in $PATH
14365 test -z "$as_dir" && as_dir=.
14366 for ac_exec_ext in '' $ac_executable_extensions; do
14367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14368 ac_cv_prog_HAVE_EPSTOPDF="yes"
14369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14376 test -z "$ac_cv_prog_HAVE_EPSTOPDF" && ac_cv_prog_HAVE_EPSTOPDF="no"
14379 HAVE_EPSTOPDF=$ac_cv_prog_HAVE_EPSTOPDF
14380 if test -n "$HAVE_EPSTOPDF"; then
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EPSTOPDF" >&5
14382 $as_echo "$HAVE_EPSTOPDF" >&6; }
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14385 $as_echo "no" >&6; }
14390 if test "x$HAVE_DOCBOOK2HTML" = "xyes" && \
14391 test "x$enable_docbook" = "xyes" && \
14392 test "x$HAVE_XMLLINT" = "xyes" && \
14393 test "x$HAVE_FIG2DEV_PNG" = "xyes"; then
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output HTML documentation" >&5
14396 $as_echo "$as_me: Will output HTML documentation" >&6;}
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output HTML documentation" >&5
14400 $as_echo "$as_me: Will not output HTML documentation" >&6;}
14403 if test "x$HAVE_DOCBOOK2PS" = "xyes" && \
14404 test "x$enable_docbook" = "xyes" && \
14405 test "x$HAVE_XMLLINT" = "xyes" && \
14406 test "x$HAVE_JADETEX" = "xyes" && \
14407 test "x$HAVE_FIG2DEV_EPS" = "xyes" && \
14408 test "x$HAVE_DVIPS" = "xyes" && \
14409 test "x$HAVE_PNGTOPNM" = "xyes" && \
14410 test "x$HAVE_PNMTOPS" = "xyes"; then
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PS documentation" >&5
14413 $as_echo "$as_me: Will output PS documentation" >&6;}
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PS documentation" >&5
14417 $as_echo "$as_me: Will not output PS documentation" >&6;}
14420 if test "x$DOC_PS" = "xyes" && \
14421 test "x$enable_docbook" = "xyes" && \
14422 test "x$HAVE_XMLLINT" = "xyes" && \
14423 test "x$HAVE_PS2PDF" = "xyes"; then
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PDF documentation" >&5
14426 $as_echo "$as_me: Will output PDF documentation" >&6;}
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PDF documentation" >&5
14430 $as_echo "$as_me: Will not output PDF documentation" >&6;}
14433 if test "x$have_docbook" != "xyes"; then
14438 if test "x$have_docbook" = "xyes"; then
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: Installing documentation in $docdir" >&5
14440 $as_echo "$as_me: Installing documentation in $docdir" >&6;}
14444 if test x$enable_docbook = xyes; then
14445 ENABLE_DOCBOOK_TRUE=
14446 ENABLE_DOCBOOK_FALSE='#'
14448 ENABLE_DOCBOOK_TRUE='#'
14449 ENABLE_DOCBOOK_FALSE=
14452 if test x$DOC_HTML = xyes; then
14460 if test x$DOC_PDF = xyes; then
14468 if test x$DOC_PS = xyes; then
14479 # Check whether --with-html-dir was given.
14480 if test "${with_html_dir+set}" = set; then :
14481 withval=$with_html_dir;
14483 with_html_dir='${datadir}/gtk-doc/html'
14486 HTML_DIR="$with_html_dir"
14489 # Check whether --enable-gtk-doc was given.
14490 if test "${enable_gtk_doc+set}" = set; then :
14491 enableval=$enable_gtk_doc;
14497 if test x$enable_gtk_doc = xyes; then
14498 if test -n "$PKG_CONFIG" && \
14499 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5
14500 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5
14502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14503 test $ac_status = 0; }; then
14506 as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build gtk-doc" "$LINENO" 5
14508 if test -z "$SED"; then
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
14510 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
14511 if ${ac_cv_path_SED+:} false; then :
14512 $as_echo_n "(cached) " >&6
14514 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
14515 for ac_i in 1 2 3 4 5 6 7; do
14516 ac_script="$ac_script$as_nl$ac_script"
14518 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
14519 { ac_script=; unset ac_script;}
14520 if test -z "$SED"; then
14521 ac_path_SED_found=false
14522 # Loop through the user's path and test for each of PROGNAME-LIST
14523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14524 for as_dir in $PATH
14527 test -z "$as_dir" && as_dir=.
14528 for ac_prog in sed gsed; do
14529 for ac_exec_ext in '' $ac_executable_extensions; do
14530 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
14531 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
14532 # Check for GNU ac_path_SED and select it if it is found.
14533 # Check for GNU $ac_path_SED
14534 case `"$ac_path_SED" --version 2>&1` in
14536 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
14539 $as_echo_n 0123456789 >"conftest.in"
14542 cat "conftest.in" "conftest.in" >"conftest.tmp"
14543 mv "conftest.tmp" "conftest.in"
14544 cp "conftest.in" "conftest.nl"
14545 $as_echo '' >> "conftest.nl"
14546 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
14547 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14548 as_fn_arith $ac_count + 1 && ac_count=$as_val
14549 if test $ac_count -gt ${ac_path_SED_max-0}; then
14550 # Best one so far, save it but keep looking for a better one
14551 ac_cv_path_SED="$ac_path_SED"
14552 ac_path_SED_max=$ac_count
14554 # 10*(2^10) chars as input seems more than enough
14555 test $ac_count -gt 10 && break
14557 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14560 $ac_path_SED_found && break 3
14565 if test -z "$ac_cv_path_SED"; then
14566 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
14569 ac_cv_path_SED=$SED
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
14574 $as_echo "$ac_cv_path_SED" >&6; }
14575 SED="$ac_cv_path_SED"
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
14582 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
14584 $as_echo "$enable_gtk_doc" >&6; }
14586 for ac_prog in gtkdoc-check
14588 # Extract the first word of "$ac_prog", so it can be a program name with args.
14589 set dummy $ac_prog; ac_word=$2
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14591 $as_echo_n "checking for $ac_word... " >&6; }
14592 if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
14593 $as_echo_n "(cached) " >&6
14595 case $GTKDOC_CHECK in
14597 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
14600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14601 for as_dir in $PATH
14604 test -z "$as_dir" && as_dir=.
14605 for ac_exec_ext in '' $ac_executable_extensions; do
14606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14607 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
14608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14618 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
14619 if test -n "$GTKDOC_CHECK"; then
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
14621 $as_echo "$GTKDOC_CHECK" >&6; }
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14624 $as_echo "no" >&6; }
14628 test -n "$GTKDOC_CHECK" && break
14632 if test x$enable_gtk_doc = xyes; then
14633 ENABLE_GTK_DOC_TRUE=
14634 ENABLE_GTK_DOC_FALSE='#'
14636 ENABLE_GTK_DOC_TRUE='#'
14637 ENABLE_GTK_DOC_FALSE=
14640 if test -n "$LIBTOOL"; then
14641 GTK_DOC_USE_LIBTOOL_TRUE=
14642 GTK_DOC_USE_LIBTOOL_FALSE='#'
14644 GTK_DOC_USE_LIBTOOL_TRUE='#'
14645 GTK_DOC_USE_LIBTOOL_FALSE=
14651 PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
14652 python1.6 python1.5"
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5
14655 $as_echo "$as_me: Looking for Python version >= 2.1" >&6;}
14659 # split string by '.' and convert to numeric
14660 minver_info = map(string.atoi, string.split(minver, '.'))
14661 # we can now do comparisons on the two lists:
14662 if sys.version_info >= tuple(minver_info):
14668 for python_candidate in $PYTHON_CANDIDATES; do
14670 # Extract the first word of "$python_candidate", so it can be a program name with args.
14671 set dummy $python_candidate; ac_word=$2
14672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14673 $as_echo_n "checking for $ac_word... " >&6; }
14674 if ${ac_cv_path_PYTHON+:} false; then :
14675 $as_echo_n "(cached) " >&6
14679 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14683 for as_dir in $PATH
14686 test -z "$as_dir" && as_dir=.
14687 for ac_exec_ext in '' $ac_executable_extensions; do
14688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14689 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14700 PYTHON=$ac_cv_path_PYTHON
14701 if test -n "$PYTHON"; then
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14703 $as_echo "$PYTHON" >&6; }
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14706 $as_echo "no" >&6; }
14709 1> /dev/null 2> /dev/null
14711 if test "x$PYTHON" = "x"; then continue; fi
14713 if $PYTHON -c "$prog" 1>&5 2>&5; then
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5
14715 $as_echo_n "checking \"$PYTHON\":... " >&6; }
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
14717 $as_echo "okay" >&6; }
14721 unset ac_cv_path_PYTHON
14726 if test "$python_good" != "true"; then
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5
14728 $as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5
14733 $as_echo_n "checking local Python configuration... " >&6; }
14737 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
14742 PYTHON_PREFIX='${prefix}'
14745 PYTHON_EXEC_PREFIX='${exec_prefix}'
14749 PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
14755 pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
14759 pkgpythondir=\${pythondir}/$PACKAGE
14763 pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
14767 pkgpyexecdir=\${pyexecdir}/$PACKAGE
14769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5
14770 $as_echo "looks good" >&6; }
14776 build_plugin_docs=no
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5
14778 $as_echo_n "checking whether to build plugin documentation... " >&6; }
14779 if test x$enable_gtk_doc = xyes; then
14780 build_plugin_docs=yes
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14782 $as_echo "yes" >&6; }
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5
14785 $as_echo "no (gtk-doc disabled or not available)" >&6; }
14788 if test x$build_plugin_docs = xyes; then
14789 ENABLE_PLUGIN_DOCS_TRUE=
14790 ENABLE_PLUGIN_DOCS_FALSE='#'
14792 ENABLE_PLUGIN_DOCS_TRUE='#'
14793 ENABLE_PLUGIN_DOCS_FALSE=
14801 *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
14802 # These system don't have libm, or don't need it
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
14806 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
14807 if ${ac_cv_lib_mw__mwvalidcheckl+:} false; then :
14808 $as_echo_n "(cached) " >&6
14810 ac_check_lib_save_LIBS=$LIBS
14812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14813 /* end confdefs.h. */
14815 /* Override any GCC internal prototype to avoid an error.
14816 Use char because int might match the return type of a GCC
14817 builtin and then its argument prototype would still apply. */
14821 char _mwvalidcheckl ();
14825 return _mwvalidcheckl ();
14830 if ac_fn_c_try_link "$LINENO"; then :
14831 ac_cv_lib_mw__mwvalidcheckl=yes
14833 ac_cv_lib_mw__mwvalidcheckl=no
14835 rm -f core conftest.err conftest.$ac_objext \
14836 conftest$ac_exeext conftest.$ac_ext
14837 LIBS=$ac_check_lib_save_LIBS
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
14840 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
14841 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes; then :
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14846 $as_echo_n "checking for cos in -lm... " >&6; }
14847 if ${ac_cv_lib_m_cos+:} false; then :
14848 $as_echo_n "(cached) " >&6
14850 ac_check_lib_save_LIBS=$LIBS
14852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14855 /* Override any GCC internal prototype to avoid an error.
14856 Use char because int might match the return type of a GCC
14857 builtin and then its argument prototype would still apply. */
14870 if ac_fn_c_try_link "$LINENO"; then :
14871 ac_cv_lib_m_cos=yes
14875 rm -f core conftest.err conftest.$ac_objext \
14876 conftest$ac_exeext conftest.$ac_ext
14877 LIBS=$ac_check_lib_save_LIBS
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14880 $as_echo "$ac_cv_lib_m_cos" >&6; }
14881 if test "x$ac_cv_lib_m_cos" = xyes; then :
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14888 $as_echo_n "checking for cos in -lm... " >&6; }
14889 if ${ac_cv_lib_m_cos+:} false; then :
14890 $as_echo_n "(cached) " >&6
14892 ac_check_lib_save_LIBS=$LIBS
14894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14895 /* end confdefs.h. */
14897 /* Override any GCC internal prototype to avoid an error.
14898 Use char because int might match the return type of a GCC
14899 builtin and then its argument prototype would still apply. */
14912 if ac_fn_c_try_link "$LINENO"; then :
14913 ac_cv_lib_m_cos=yes
14917 rm -f core conftest.err conftest.$ac_objext \
14918 conftest$ac_exeext conftest.$ac_ext
14919 LIBS=$ac_check_lib_save_LIBS
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14922 $as_echo "$ac_cv_lib_m_cos" >&6; }
14923 if test "x$ac_cv_lib_m_cos" = xyes; then :
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14935 $as_echo_n "checking for ANSI C header files... " >&6; }
14936 if ${ac_cv_header_stdc+:} false; then :
14937 $as_echo_n "(cached) " >&6
14939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14940 /* end confdefs.h. */
14941 #include <stdlib.h>
14942 #include <stdarg.h>
14943 #include <string.h>
14954 if ac_fn_c_try_compile "$LINENO"; then :
14955 ac_cv_header_stdc=yes
14957 ac_cv_header_stdc=no
14959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14961 if test $ac_cv_header_stdc = yes; then
14962 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14964 /* end confdefs.h. */
14965 #include <string.h>
14968 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14969 $EGREP "memchr" >/dev/null 2>&1; then :
14972 ac_cv_header_stdc=no
14978 if test $ac_cv_header_stdc = yes; then
14979 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14981 /* end confdefs.h. */
14982 #include <stdlib.h>
14985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14986 $EGREP "free" >/dev/null 2>&1; then :
14989 ac_cv_header_stdc=no
14995 if test $ac_cv_header_stdc = yes; then
14996 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14997 if test "$cross_compiling" = yes; then :
15000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15001 /* end confdefs.h. */
15003 #include <stdlib.h>
15004 #if ((' ' & 0x0FF) == 0x020)
15005 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15006 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15008 # define ISLOWER(c) \
15009 (('a' <= (c) && (c) <= 'i') \
15010 || ('j' <= (c) && (c) <= 'r') \
15011 || ('s' <= (c) && (c) <= 'z'))
15012 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15015 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15020 for (i = 0; i < 256; i++)
15021 if (XOR (islower (i), ISLOWER (i))
15022 || toupper (i) != TOUPPER (i))
15027 if ac_fn_c_try_run "$LINENO"; then :
15030 ac_cv_header_stdc=no
15032 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15033 conftest.$ac_objext conftest.beam conftest.$ac_ext
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15039 $as_echo "$ac_cv_header_stdc" >&6; }
15040 if test $ac_cv_header_stdc = yes; then
15042 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15054 module=gstreamer-$GST_MAJORMINOR
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
15061 $as_echo_n "checking for GST... " >&6; }
15063 if test -n "$PKG_CONFIG"; then
15064 if test -n "$GST_CFLAGS"; then
15065 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
15067 if test -n "$PKG_CONFIG" && \
15068 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15069 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15072 test $ac_status = 0; }; then
15073 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
15081 if test -n "$PKG_CONFIG"; then
15082 if test -n "$GST_LIBS"; then
15083 pkg_cv_GST_LIBS="$GST_LIBS"
15085 if test -n "$PKG_CONFIG" && \
15086 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15087 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15090 test $ac_status = 0; }; then
15091 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
15102 if test $pkg_failed = yes; then
15104 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15105 _pkg_short_errors_supported=yes
15107 _pkg_short_errors_supported=no
15109 if test $_pkg_short_errors_supported = yes; then
15110 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
15112 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
15114 # Put the nasty error message in config.log where it belongs
15115 echo "$GST_PKG_ERRORS" >&5
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15118 $as_echo "no" >&6; }
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
15122 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
15123 if test "x$required" = "xyes"; then
15124 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15127 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15130 elif test $pkg_failed = untried; then
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
15134 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
15135 if test "x$required" = "xyes"; then
15136 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15139 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15143 GST_CFLAGS=$pkg_cv_GST_CFLAGS
15144 GST_LIBS=$pkg_cv_GST_LIBS
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15146 $as_echo "yes" >&6; }
15153 if test -z $GST_TOOLS_DIR; then
15154 GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
15155 if test -z $GST_TOOLS_DIR; then
15156 as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5
15160 $as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;}
15163 if test -z $GST_PLUGINS_DIR; then
15164 GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_MAJORMINOR`
15165 if test -z $GST_PLUGINS_DIR; then
15166 as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5
15170 $as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;}
15175 module=gstreamer-base-$GST_MAJORMINOR
15177 name="GStreamer Base Libraries"
15181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
15182 $as_echo_n "checking for GST_BASE... " >&6; }
15184 if test -n "$PKG_CONFIG"; then
15185 if test -n "$GST_BASE_CFLAGS"; then
15186 pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
15188 if test -n "$PKG_CONFIG" && \
15189 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15190 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15193 test $ac_status = 0; }; then
15194 pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
15202 if test -n "$PKG_CONFIG"; then
15203 if test -n "$GST_BASE_LIBS"; then
15204 pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
15206 if test -n "$PKG_CONFIG" && \
15207 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15208 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15211 test $ac_status = 0; }; then
15212 pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
15223 if test $pkg_failed = yes; then
15225 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15226 _pkg_short_errors_supported=yes
15228 _pkg_short_errors_supported=no
15230 if test $_pkg_short_errors_supported = yes; then
15231 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
15233 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
15235 # Put the nasty error message in config.log where it belongs
15236 echo "$GST_BASE_PKG_ERRORS" >&5
15238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15239 $as_echo "no" >&6; }
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
15243 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
15244 if test "x$required" = "xyes"; then
15245 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15248 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15251 elif test $pkg_failed = untried; then
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
15255 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
15256 if test "x$required" = "xyes"; then
15257 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15260 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15264 GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
15265 GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
15266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15267 $as_echo "yes" >&6; }
15269 HAVE_GST_BASE="yes"
15277 module=gstreamer-plugins-base-$GST_MAJORMINOR
15279 name="GStreamer Base Plugins"
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BASE" >&5
15284 $as_echo_n "checking for GST_PLUGINS_BASE... " >&6; }
15286 if test -n "$PKG_CONFIG"; then
15287 if test -n "$GST_PLUGINS_BASE_CFLAGS"; then
15288 pkg_cv_GST_PLUGINS_BASE_CFLAGS="$GST_PLUGINS_BASE_CFLAGS"
15290 if test -n "$PKG_CONFIG" && \
15291 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15292 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15295 test $ac_status = 0; }; then
15296 pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
15304 if test -n "$PKG_CONFIG"; then
15305 if test -n "$GST_PLUGINS_BASE_LIBS"; then
15306 pkg_cv_GST_PLUGINS_BASE_LIBS="$GST_PLUGINS_BASE_LIBS"
15308 if test -n "$PKG_CONFIG" && \
15309 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15310 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15313 test $ac_status = 0; }; then
15314 pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
15325 if test $pkg_failed = yes; then
15327 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15328 _pkg_short_errors_supported=yes
15330 _pkg_short_errors_supported=no
15332 if test $_pkg_short_errors_supported = yes; then
15333 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
15335 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
15337 # Put the nasty error message in config.log where it belongs
15338 echo "$GST_PLUGINS_BASE_PKG_ERRORS" >&5
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15341 $as_echo "no" >&6; }
15343 HAVE_GST_PLUGINS_BASE="no"
15344 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
15345 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
15346 if test "x$required" = "xyes"; then
15347 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15350 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15353 elif test $pkg_failed = untried; then
15355 HAVE_GST_PLUGINS_BASE="no"
15356 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
15357 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
15358 if test "x$required" = "xyes"; then
15359 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15361 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15362 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15366 GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
15367 GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15369 $as_echo "yes" >&6; }
15371 HAVE_GST_PLUGINS_BASE="yes"
15377 if test "x$HAVE_GST_PLUGINS_BASE" = "xyes"; then
15378 if test -z $GSTPB_PLUGINS_DIR; then
15379 GSTPB_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-base-$GST_MAJORMINOR`
15380 if test -z $GSTPB_PLUGINS_DIR; then
15381 as_fn_error $? "no pluginsdir set in GStreamer Base Plugins pkg-config file" "$LINENO" 5
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
15385 $as_echo "$as_me: using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
15386 GST_PLUGINS_BASE_DIR="$GSTPB_PLUGINS_DIR/gst:$GSTPB_PLUGINS_DIR/sys:$GSTPB_PLUGINS_DIR/ext"
15393 module=gstreamer-check-$GST_MAJORMINOR
15395 name="GStreamer Check unittest Library"
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5
15400 $as_echo_n "checking for GST_CHECK... " >&6; }
15402 if test -n "$PKG_CONFIG"; then
15403 if test -n "$GST_CHECK_CFLAGS"; then
15404 pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS"
15406 if test -n "$PKG_CONFIG" && \
15407 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15408 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15411 test $ac_status = 0; }; then
15412 pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
15420 if test -n "$PKG_CONFIG"; then
15421 if test -n "$GST_CHECK_LIBS"; then
15422 pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS"
15424 if test -n "$PKG_CONFIG" && \
15425 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15426 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15429 test $ac_status = 0; }; then
15430 pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
15441 if test $pkg_failed = yes; then
15443 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15444 _pkg_short_errors_supported=yes
15446 _pkg_short_errors_supported=no
15448 if test $_pkg_short_errors_supported = yes; then
15449 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
15451 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
15453 # Put the nasty error message in config.log where it belongs
15454 echo "$GST_CHECK_PKG_ERRORS" >&5
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15457 $as_echo "no" >&6; }
15459 HAVE_GST_CHECK="no"
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
15461 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
15462 if test "x$required" = "xyes"; then
15463 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15466 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15469 elif test $pkg_failed = untried; then
15471 HAVE_GST_CHECK="no"
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
15473 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
15474 if test "x$required" = "xyes"; then
15475 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15478 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15482 GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
15483 GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15485 $as_echo "yes" >&6; }
15487 HAVE_GST_CHECK="yes"
15493 if test "x$HAVE_GST_CHECK" = "xyes"; then
15494 HAVE_GST_CHECK_TRUE=
15495 HAVE_GST_CHECK_FALSE='#'
15497 HAVE_GST_CHECK_TRUE='#'
15498 HAVE_GST_CHECK_FALSE=
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Core Plugins in $GST_PLUGINS_DIR" >&5
15503 $as_echo "$as_me: Using GStreamer Core Plugins in $GST_PLUGINS_DIR" >&6;}
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
15505 $as_echo "$as_me: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
15510 # Check whether --enable-orc was given.
15511 if test "${enable_orc+set}" = set; then :
15512 enableval=$enable_orc; case "${enableval}" in
15513 auto) enable_orc=auto ;;
15514 yes) enable_orc=yes ;;
15515 no) enable_orc=no ;;
15516 *) as_fn_error $? "bad value ${enableval} for --enable-orc" "$LINENO" 5 ;;
15523 if test "x$enable_orc" != "xno" ; then
15526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ORC" >&5
15527 $as_echo_n "checking for ORC... " >&6; }
15529 if test -n "$PKG_CONFIG"; then
15530 if test -n "$ORC_CFLAGS"; then
15531 pkg_cv_ORC_CFLAGS="$ORC_CFLAGS"
15533 if test -n "$PKG_CONFIG" && \
15534 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
15535 ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
15537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15538 test $ac_status = 0; }; then
15539 pkg_cv_ORC_CFLAGS=`$PKG_CONFIG --cflags "orc-0.4 >= $ORC_REQ" 2>/dev/null`
15547 if test -n "$PKG_CONFIG"; then
15548 if test -n "$ORC_LIBS"; then
15549 pkg_cv_ORC_LIBS="$ORC_LIBS"
15551 if test -n "$PKG_CONFIG" && \
15552 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
15553 ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
15555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15556 test $ac_status = 0; }; then
15557 pkg_cv_ORC_LIBS=`$PKG_CONFIG --libs "orc-0.4 >= $ORC_REQ" 2>/dev/null`
15568 if test $pkg_failed = yes; then
15570 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15571 _pkg_short_errors_supported=yes
15573 _pkg_short_errors_supported=no
15575 if test $_pkg_short_errors_supported = yes; then
15576 ORC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
15578 ORC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
15580 # Put the nasty error message in config.log where it belongs
15581 echo "$ORC_PKG_ERRORS" >&5
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15584 $as_echo "no" >&6; }
15586 if test "x$enable_orc" = "xyes" ; then
15587 as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
15590 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
15595 elif test $pkg_failed = untried; then
15597 if test "x$enable_orc" = "xyes" ; then
15598 as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
15601 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
15607 ORC_CFLAGS=$pkg_cv_ORC_CFLAGS
15608 ORC_LIBS=$pkg_cv_ORC_LIBS
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15610 $as_echo "yes" >&6; }
15613 $as_echo "#define HAVE_ORC 1" >>confdefs.h
15616 if test "x$ORCC" = "x" ; then
15617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable orcc" >&5
15618 $as_echo_n "checking for usable orcc... " >&6; }
15619 ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
15620 if $ORCC --version 1> /dev/null 2> /dev/null; then :
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ORCC" >&5
15626 $as_echo "$ORCC" >&6; }
15629 ORCC_FLAGS="--compat $ORC_REQ"
15631 if test "x$ORCC" = "x"; then :
15640 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
15645 if test "x$HAVE_ORC" = "xyes"; then
15653 if test "x$HAVE_ORCC" = "xyes"; then
15655 HAVE_ORCC_FALSE='#'
15668 FROM_VAR=${libdir}/gstreamer-$GST_MAJORMINOR
15670 prefix_save=$prefix
15671 exec_prefix_save=$exec_prefix
15673 if test "x$prefix" = "xNONE"; then
15674 prefix="$ac_default_prefix"
15676 if test "x$exec_prefix" = "xNONE"; then
15677 exec_prefix=$prefix
15680 full_var="$FROM_VAR"
15682 new_full_var="`eval echo $full_var`"
15683 if test "x$new_full_var" = "x$full_var"; then break; fi
15684 full_var=$new_full_var
15687 full_var=$new_full_var
15688 PLUGINDIR="$full_var"
15691 prefix=$prefix_save
15692 exec_prefix=$exec_prefix_save
15695 cat >>confdefs.h <<_ACEOF
15696 #define PLUGINDIR "$PLUGINDIR"
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
15700 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
15702 plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands " >&5
15708 $as_echo_n "checking to see if compiler understands ... " >&6; }
15710 save_CFLAGS="$CFLAGS"
15713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15714 /* end confdefs.h. */
15724 if ac_fn_c_try_compile "$LINENO"; then :
15729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15730 CFLAGS="$save_CFLAGS"
15732 if test "X$flag_ok" = Xyes ; then
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15740 $as_echo "$flag_ok" >&6; }
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
15751 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
15753 save_CFLAGS="$CFLAGS"
15754 CFLAGS="$CFLAGS -Wall"
15756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15757 /* end confdefs.h. */
15767 if ac_fn_c_try_compile "$LINENO"; then :
15772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15773 CFLAGS="$save_CFLAGS"
15775 if test "X$flag_ok" = Xyes ; then
15776 WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15783 $as_echo "$flag_ok" >&6; }
15787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
15788 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
15790 save_CFLAGS="$CFLAGS"
15791 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15794 /* end confdefs.h. */
15804 if ac_fn_c_try_compile "$LINENO"; then :
15809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15810 CFLAGS="$save_CFLAGS"
15812 if test "X$flag_ok" = Xyes ; then
15813 WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15820 $as_echo "$flag_ok" >&6; }
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
15825 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
15827 save_CFLAGS="$CFLAGS"
15828 CFLAGS="$CFLAGS -Wvla"
15830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15831 /* end confdefs.h. */
15841 if ac_fn_c_try_compile "$LINENO"; then :
15846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15847 CFLAGS="$save_CFLAGS"
15849 if test "X$flag_ok" = Xyes ; then
15850 WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15857 $as_echo "$flag_ok" >&6; }
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
15862 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
15864 save_CFLAGS="$CFLAGS"
15865 CFLAGS="$CFLAGS -Wpointer-arith"
15867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15878 if ac_fn_c_try_compile "$LINENO"; then :
15883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15884 CFLAGS="$save_CFLAGS"
15886 if test "X$flag_ok" = Xyes ; then
15887 WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15894 $as_echo "$flag_ok" >&6; }
15897 if test "x$GST_GIT" != "xno"
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
15901 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
15903 save_CFLAGS="$CFLAGS"
15904 CFLAGS="$CFLAGS -Werror"
15906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15907 /* end confdefs.h. */
15917 if ac_fn_c_try_compile "$LINENO"; then :
15922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15923 CFLAGS="$save_CFLAGS"
15925 if test "X$flag_ok" = Xyes ; then
15926 ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15933 $as_echo "$flag_ok" >&6; }
15936 if test "x$ERROR_CFLAGS" = "x"
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
15940 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
15942 save_CFLAGS="$CFLAGS"
15943 CFLAGS="$CFLAGS -errwarn=%all"
15945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15946 /* end confdefs.h. */
15956 if ac_fn_c_try_compile "$LINENO"; then :
15961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15962 CFLAGS="$save_CFLAGS"
15964 if test "X$flag_ok" = Xyes ; then
15966 ERROR_CFLAGS="-errwarn=%all"
15967 for f in 'no%E_EMPTY_DECLARATION' \
15968 'no%E_STATEMENT_NOT_REACHED' \
15969 'no%E_ARGUEMENT_MISMATCH' \
15970 'no%E_MACRO_REDEFINED' \
15971 'no%E_LOOP_NOT_ENTERED_AT_TOP'
15974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
15975 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
15977 save_CFLAGS="$CFLAGS"
15978 CFLAGS="$CFLAGS -errwarn=%all,$f"
15980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15981 /* end confdefs.h. */
15991 if ac_fn_c_try_compile "$LINENO"; then :
15996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15997 CFLAGS="$save_CFLAGS"
15999 if test "X$flag_ok" = Xyes ; then
16001 ERROR_CFLAGS="$ERROR_CFLAGS,$f"
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16009 $as_echo "$flag_ok" >&6; }
16018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16019 $as_echo "$flag_ok" >&6; }
16022 if test -n "$PKG_CONFIG" && \
16023 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
16024 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
16026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16027 test $ac_status = 0; }; then
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
16031 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
16033 save_CFLAGS="$CFLAGS"
16034 CFLAGS="$CFLAGS -fno-strict-aliasing"
16036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16037 /* end confdefs.h. */
16047 if ac_fn_c_try_compile "$LINENO"; then :
16052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16053 CFLAGS="$save_CFLAGS"
16055 if test "X$flag_ok" = Xyes ; then
16056 ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16063 $as_echo "$flag_ok" >&6; }
16071 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
16072 -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition
16073 -Winit-self -Wmissing-include-dirs -Waddress
16074 -Waggregate-return -Wno-multichar -Wnested-externs " != "x"
16078 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
16079 -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition
16080 -Winit-self -Wmissing-include-dirs -Waddress
16081 -Waggregate-return -Wno-multichar -Wnested-externs "
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
16086 $as_echo_n "checking to see if compiler understands $each... " >&6; }
16088 save_CFLAGS="$CFLAGS"
16089 CFLAGS="$CFLAGS $each"
16091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16092 /* end confdefs.h. */
16102 if ac_fn_c_try_compile "$LINENO"; then :
16107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16108 CFLAGS="$save_CFLAGS"
16110 if test "X$flag_ok" = Xyes ; then
16111 WARNING_CFLAGS="$WARNING_CFLAGS $each"
16114 UNSUPPORTED="$UNSUPPORTED $each"
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
16118 $as_echo "$flag_ok" >&6; }
16121 if test "X$UNSUPPORTED" != X ; then
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
16123 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
16129 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
16130 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
16131 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
16132 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
16136 if test "x$GST_GIT" = "xyes"; then
16137 GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
16139 GST_LEVEL_DEFAULT=GST_LEVEL_NONE
16142 cat >>confdefs.h <<_ACEOF
16143 #define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
16151 if test "x$USE_DEBUG" = xyes; then
16152 PROFILE_CFLAGS="-g"
16156 if test "x$GST_GIT" = "xyes"; then
16157 DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
16159 DEPRECATED_CFLAGS=""
16163 GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
16167 GST_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CFLAGS)"
16171 GST_ALL_LDFLAGS="-no-undefined"
16174 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_desc.*' $GST_ALL_LDFLAGS"
16180 DARWIN_LDFLAGS="-Wl,-read_only_relocs,suppress"
16189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzlibVersion in -lbz2" >&5
16190 $as_echo_n "checking for BZ2_bzlibVersion in -lbz2... " >&6; }
16191 if ${ac_cv_lib_bz2_BZ2_bzlibVersion+:} false; then :
16192 $as_echo_n "(cached) " >&6
16194 ac_check_lib_save_LIBS=$LIBS
16196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16197 /* end confdefs.h. */
16199 /* Override any GCC internal prototype to avoid an error.
16200 Use char because int might match the return type of a GCC
16201 builtin and then its argument prototype would still apply. */
16205 char BZ2_bzlibVersion ();
16209 return BZ2_bzlibVersion ();
16214 if ac_fn_c_try_link "$LINENO"; then :
16215 ac_cv_lib_bz2_BZ2_bzlibVersion=yes
16217 ac_cv_lib_bz2_BZ2_bzlibVersion=no
16219 rm -f core conftest.err conftest.$ac_objext \
16220 conftest$ac_exeext conftest.$ac_ext
16221 LIBS=$ac_check_lib_save_LIBS
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzlibVersion" >&5
16224 $as_echo "$ac_cv_lib_bz2_BZ2_bzlibVersion" >&6; }
16225 if test "x$ac_cv_lib_bz2_BZ2_bzlibVersion" = xyes; then :
16231 if test "x$HAVE_BZ2" = "xyes"; then
16232 ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
16233 if test "x$ac_cv_header_bzlib_h" = xyes; then :
16240 if test "x$HAVE_BZ2" = "xyes"; then
16251 if test "x$have_bz2" = "xyes"; then
16259 if test "x$have_bz2" = "xno"; then
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libbz2 not found, matroska demuxer will not be able to read bz2 tracks" >&5
16261 $as_echo "$as_me: WARNING: libbz2 not found, matroska demuxer will not be able to read bz2 tracks" >&2;}
16264 # Check whether --enable-lgpl was given.
16265 if test "${enable_lgpl+set}" = set; then :
16266 enableval=$enable_lgpl;
16269 if test "x$enable_lgpl" = "xyes"; then
16270 GST_FFMPEG_ENABLE_LGPL_TRUE=
16271 GST_FFMPEG_ENABLE_LGPL_FALSE='#'
16273 GST_FFMPEG_ENABLE_LGPL_TRUE='#'
16274 GST_FFMPEG_ENABLE_LGPL_FALSE=
16277 if test "x$enable_lgpl" = "xyes"; then
16279 $as_echo "#define GST_FFMPEG_ENABLE_LGPL /**/" >>confdefs.h
16284 HAVE_FFMPEG_UNINSTALLED=1
16287 # Check whether --with-system-ffmpeg was given.
16288 if test "${with_system_ffmpeg+set}" = set; then :
16289 withval=$with_system_ffmpeg;
16293 if test "x$with_system_ffmpeg" = "xyes"; then
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFMPEG" >&5
16297 $as_echo_n "checking for FFMPEG... " >&6; }
16299 if test -n "$PKG_CONFIG"; then
16300 if test -n "$FFMPEG_CFLAGS"; then
16301 pkg_cv_FFMPEG_CFLAGS="$FFMPEG_CFLAGS"
16303 if test -n "$PKG_CONFIG" && \
16304 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavformat libavcodec libavutil\""; } >&5
16305 ($PKG_CONFIG --exists --print-errors "libavformat libavcodec libavutil") 2>&5
16307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16308 test $ac_status = 0; }; then
16309 pkg_cv_FFMPEG_CFLAGS=`$PKG_CONFIG --cflags "libavformat libavcodec libavutil" 2>/dev/null`
16317 if test -n "$PKG_CONFIG"; then
16318 if test -n "$FFMPEG_LIBS"; then
16319 pkg_cv_FFMPEG_LIBS="$FFMPEG_LIBS"
16321 if test -n "$PKG_CONFIG" && \
16322 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavformat libavcodec libavutil\""; } >&5
16323 ($PKG_CONFIG --exists --print-errors "libavformat libavcodec libavutil") 2>&5
16325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16326 test $ac_status = 0; }; then
16327 pkg_cv_FFMPEG_LIBS=`$PKG_CONFIG --libs "libavformat libavcodec libavutil" 2>/dev/null`
16338 if test $pkg_failed = yes; then
16340 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16341 _pkg_short_errors_supported=yes
16343 _pkg_short_errors_supported=no
16345 if test $_pkg_short_errors_supported = yes; then
16346 FFMPEG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libavformat libavcodec libavutil"`
16348 FFMPEG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libavformat libavcodec libavutil"`
16350 # Put the nasty error message in config.log where it belongs
16351 echo "$FFMPEG_PKG_ERRORS" >&5
16353 as_fn_error $? "Package requirements (libavformat libavcodec libavutil) were not met:
16357 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16358 installed software in a non-standard prefix.
16360 Alternatively, you may set the environment variables FFMPEG_CFLAGS
16361 and FFMPEG_LIBS to avoid the need to call pkg-config.
16362 See the pkg-config man page for more details.
16364 elif test $pkg_failed = untried; then
16365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16367 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16368 is in your PATH or set the PKG_CONFIG environment variable to the full
16369 path to pkg-config.
16371 Alternatively, you may set the environment variables FFMPEG_CFLAGS
16372 and FFMPEG_LIBS to avoid the need to call pkg-config.
16373 See the pkg-config man page for more details.
16375 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16376 See \`config.log' for more details" "$LINENO" 5; }
16378 FFMPEG_CFLAGS=$pkg_cv_FFMPEG_CFLAGS
16379 FFMPEG_LIBS=$pkg_cv_FFMPEG_LIBS
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16381 $as_echo "yes" >&6; }
16384 if test "x$enable_lgpl" != "xyes"; then
16387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSTPROC" >&5
16388 $as_echo_n "checking for POSTPROC... " >&6; }
16390 if test -n "$PKG_CONFIG"; then
16391 if test -n "$POSTPROC_CFLAGS"; then
16392 pkg_cv_POSTPROC_CFLAGS="$POSTPROC_CFLAGS"
16394 if test -n "$PKG_CONFIG" && \
16395 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpostproc libavcodec libavutil\""; } >&5
16396 ($PKG_CONFIG --exists --print-errors "libpostproc libavcodec libavutil") 2>&5
16398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16399 test $ac_status = 0; }; then
16400 pkg_cv_POSTPROC_CFLAGS=`$PKG_CONFIG --cflags "libpostproc libavcodec libavutil" 2>/dev/null`
16408 if test -n "$PKG_CONFIG"; then
16409 if test -n "$POSTPROC_LIBS"; then
16410 pkg_cv_POSTPROC_LIBS="$POSTPROC_LIBS"
16412 if test -n "$PKG_CONFIG" && \
16413 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpostproc libavcodec libavutil\""; } >&5
16414 ($PKG_CONFIG --exists --print-errors "libpostproc libavcodec libavutil") 2>&5
16416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16417 test $ac_status = 0; }; then
16418 pkg_cv_POSTPROC_LIBS=`$PKG_CONFIG --libs "libpostproc libavcodec libavutil" 2>/dev/null`
16429 if test $pkg_failed = yes; then
16431 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16432 _pkg_short_errors_supported=yes
16434 _pkg_short_errors_supported=no
16436 if test $_pkg_short_errors_supported = yes; then
16437 POSTPROC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpostproc libavcodec libavutil"`
16439 POSTPROC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpostproc libavcodec libavutil"`
16441 # Put the nasty error message in config.log where it belongs
16442 echo "$POSTPROC_PKG_ERRORS" >&5
16444 as_fn_error $? "Package requirements (libpostproc libavcodec libavutil) were not met:
16446 $POSTPROC_PKG_ERRORS
16448 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16449 installed software in a non-standard prefix.
16451 Alternatively, you may set the environment variables POSTPROC_CFLAGS
16452 and POSTPROC_LIBS to avoid the need to call pkg-config.
16453 See the pkg-config man page for more details.
16455 elif test $pkg_failed = untried; then
16456 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16458 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16459 is in your PATH or set the PKG_CONFIG environment variable to the full
16460 path to pkg-config.
16462 Alternatively, you may set the environment variables POSTPROC_CFLAGS
16463 and POSTPROC_LIBS to avoid the need to call pkg-config.
16464 See the pkg-config man page for more details.
16466 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16467 See \`config.log' for more details" "$LINENO" 5; }
16469 POSTPROC_CFLAGS=$pkg_cv_POSTPROC_CFLAGS
16470 POSTPROC_LIBS=$pkg_cv_POSTPROC_LIBS
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16472 $as_echo "yes" >&6; }
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SWSCALE" >&5
16479 $as_echo_n "checking for SWSCALE... " >&6; }
16481 if test -n "$PKG_CONFIG"; then
16482 if test -n "$SWSCALE_CFLAGS"; then
16483 pkg_cv_SWSCALE_CFLAGS="$SWSCALE_CFLAGS"
16485 if test -n "$PKG_CONFIG" && \
16486 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libswscale libavutil\""; } >&5
16487 ($PKG_CONFIG --exists --print-errors "libswscale libavutil") 2>&5
16489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16490 test $ac_status = 0; }; then
16491 pkg_cv_SWSCALE_CFLAGS=`$PKG_CONFIG --cflags "libswscale libavutil" 2>/dev/null`
16499 if test -n "$PKG_CONFIG"; then
16500 if test -n "$SWSCALE_LIBS"; then
16501 pkg_cv_SWSCALE_LIBS="$SWSCALE_LIBS"
16503 if test -n "$PKG_CONFIG" && \
16504 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libswscale libavutil\""; } >&5
16505 ($PKG_CONFIG --exists --print-errors "libswscale libavutil") 2>&5
16507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16508 test $ac_status = 0; }; then
16509 pkg_cv_SWSCALE_LIBS=`$PKG_CONFIG --libs "libswscale libavutil" 2>/dev/null`
16520 if test $pkg_failed = yes; then
16522 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16523 _pkg_short_errors_supported=yes
16525 _pkg_short_errors_supported=no
16527 if test $_pkg_short_errors_supported = yes; then
16528 SWSCALE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libswscale libavutil"`
16530 SWSCALE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libswscale libavutil"`
16532 # Put the nasty error message in config.log where it belongs
16533 echo "$SWSCALE_PKG_ERRORS" >&5
16535 as_fn_error $? "Package requirements (libswscale libavutil) were not met:
16537 $SWSCALE_PKG_ERRORS
16539 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16540 installed software in a non-standard prefix.
16542 Alternatively, you may set the environment variables SWSCALE_CFLAGS
16543 and SWSCALE_LIBS to avoid the need to call pkg-config.
16544 See the pkg-config man page for more details.
16546 elif test $pkg_failed = untried; then
16547 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16549 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16550 is in your PATH or set the PKG_CONFIG environment variable to the full
16551 path to pkg-config.
16553 Alternatively, you may set the environment variables SWSCALE_CFLAGS
16554 and SWSCALE_LIBS to avoid the need to call pkg-config.
16555 See the pkg-config man page for more details.
16557 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16558 See \`config.log' for more details" "$LINENO" 5; }
16560 SWSCALE_CFLAGS=$pkg_cv_SWSCALE_CFLAGS
16561 SWSCALE_LIBS=$pkg_cv_SWSCALE_LIBS
16562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16563 $as_echo "yes" >&6; }
16566 saved_CPPFLAGS="$CPPFLAGS"
16567 CPPFLAGS="$CPPFLAGS $FFMPEG_CFLAGS"
16568 for ac_header in avi.h
16570 ac_fn_c_check_header_mongrel "$LINENO" "avi.h" "ac_cv_header_avi_h" "$ac_includes_default"
16571 if test "x$ac_cv_header_avi_h" = xyes; then :
16572 cat >>confdefs.h <<_ACEOF
16573 #define HAVE_AVI_H 1
16580 CPPFLAGS="$saved_CPPFLAGS"
16582 $as_echo "#define FFMPEG_SOURCE \"system install\"" >>confdefs.h
16584 HAVE_FFMPEG_UNINSTALLED=0
16585 { $as_echo "$as_me:${as_lineno-$LINENO}: Using system-installed FFMpeg code" >&5
16586 $as_echo "$as_me: Using system-installed FFMpeg code" >&6;}
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
16588 ======================================================================
16589 WARNING: you have chosen to build gst-ffmpeg against a random
16590 external version of Libav instead of building it against the tested
16591 internal Libav snapshot that is included with gst-ffmpeg.
16593 This is a very bad idea. So bad in fact that words cannot express
16594 just how bad it is. Suffice to say that it is BAD.
16596 The GStreamer developers cannot and will not support a gst-ffmpeg
16597 built this way. Any bug reports that indicate there is an external
16598 version of Libav involved will be closed immediately without further
16601 The reason such a setup can't be supported is that the Libav API
16602 and ABI is in constant flux, yet there aren't any official releases
16603 of the Libav library to develop against. This makes it impossible
16604 to guarantee that gst-ffmpeg will work reliably, or even compile,
16605 with a randomly picked version Libav. Even if gst-ffmpeg compiles
16606 and superficially appears to work fine against your chosen external
16607 Libav version, that might just not be the case on other systems, or
16608 even the same system at a later time, or when using decoders,
16609 encoders, demuxers or muxers that have not been tested.
16611 Please do not create or distribute binary packages of gst-Libav
16612 that link against an external ffmpeg. Thank you!
16613 ======================================================================
16615 $as_echo "$as_me: WARNING:
16616 ======================================================================
16617 WARNING: you have chosen to build gst-ffmpeg against a random
16618 external version of Libav instead of building it against the tested
16619 internal Libav snapshot that is included with gst-ffmpeg.
16621 This is a very bad idea. So bad in fact that words cannot express
16622 just how bad it is. Suffice to say that it is BAD.
16624 The GStreamer developers cannot and will not support a gst-ffmpeg
16625 built this way. Any bug reports that indicate there is an external
16626 version of Libav involved will be closed immediately without further
16629 The reason such a setup can't be supported is that the Libav API
16630 and ABI is in constant flux, yet there aren't any official releases
16631 of the Libav library to develop against. This makes it impossible
16632 to guarantee that gst-ffmpeg will work reliably, or even compile,
16633 with a randomly picked version Libav. Even if gst-ffmpeg compiles
16634 and superficially appears to work fine against your chosen external
16635 Libav version, that might just not be the case on other systems, or
16636 even the same system at a later time, or when using decoders,
16637 encoders, demuxers or muxers that have not been tested.
16639 Please do not create or distribute binary packages of gst-Libav
16640 that link against an external ffmpeg. Thank you!
16641 ======================================================================
16647 { $as_echo "$as_me:${as_lineno-$LINENO}: Using local Libav snapshot" >&5
16648 $as_echo "$as_me: Using local Libav snapshot" >&6;}
16650 FFMPEG_CFLAGS="-I \$(top_srcdir)/gst-libs/ext/libav/libavutil \
16651 -I \$(top_srcdir)/gst-libs/ext/libav/libavformat \
16652 -I \$(top_srcdir)/gst-libs/ext/libav/libavcodec \
16653 -I \$(top_srcdir)/gst-libs/ext/libav \
16654 -I \$(top_builddir)/gst-libs/ext/libav \
16655 -Wno-deprecated-declarations"
16657 FFMPEG_LIBS="\$(top_builddir)/gst-libs/ext/libav/libavformat/libavformat.a \
16658 \$(top_builddir)/gst-libs/ext/libav/libavcodec/libavcodec.a \
16659 \$(top_builddir)/gst-libs/ext/libav/libavutil/libavutil.a"
16660 POSTPROC_CFLAGS="-I \$(top_srcdir)/gst-libs/ext/libav/libpostproc \
16661 -I \$(top_srcdir)/gst-libs/ext/libav/libavutil \
16662 -I \$(top_srcdir)/gst-libs/ext/libav/libavcodec \
16663 -I \$(top_srcdir)/gst-libs/ext/libav \
16664 -I \$(top_builddir)/gst-libs/ext/libav \
16665 -Wno-deprecated-declarations"
16667 POSTPROC_LIBS="\$(top_builddir)/gst-libs/ext/libav/libpostproc/libpostproc.a \
16668 \$(top_builddir)/gst-libs/ext/libav/libavutil/libavutil.a"
16670 SWSCALE_CFLAGS="-I \$(top_srcdir)/gst-libs/ext/libav/libswscale \
16671 -I \$(top_srcdir)/gst-libs/ext/libav/libavutil \
16672 -I \$(top_srcdir)/gst-libs/ext/libav \
16673 -I \$(top_builddir)/gst-libs/ext/libav \
16674 -Wno-deprecated-declarations"
16676 SWSCALE_LIBS="\$(top_builddir)/gst-libs/ext/libav/libswscale/libswscale.a \
16677 \$(top_builddir)/gst-libs/ext/libav/libavutil/libavutil.a"
16679 FFMPEG_SUBDIRS=gst-libs
16680 $as_echo "#define HAVE_AVI_H 1" >>confdefs.h
16683 $as_echo "#define FFMPEG_SOURCE \"local snapshot\"" >>confdefs.h
16687 # Check whether --with-ffmpeg-extra-configure was given.
16688 if test "${with_ffmpeg_extra_configure+set}" = set; then :
16689 withval=$with_ffmpeg_extra_configure;
16691 with_ffmpeg_extra_configure=no
16696 embffmpeg_configure_args="--prefix=$prefix"
16698 # Enable pic and static so that we get .a files, but with PIC code.
16699 embffmpeg_configure_args="$embffmpeg_configure_args --disable-ffserver --disable-ffplay\
16700 --disable-ffmpeg --disable-ffprobe --enable-static --enable-pic \
16701 --disable-encoder=flac --disable-decoder=cavs --disable-protocols --disable-devices\
16702 --disable-network --disable-hwaccels --disable-filters --disable-doc\
16703 --enable-optimizations"
16705 if test "x$enable_lgpl" != "xyes"; then
16706 embffmpeg_configure_args="$embffmpeg_configure_args --enable-postproc \
16710 # if we are cross-compiling, tell ffmpeg so
16711 target_os=`echo $host_os | sed 's/-gnu//'`
16712 if test "x$cross_compiling" = xyes; then
16713 embffmpeg_configure_args="$embffmpeg_configure_args --enable-cross-compile \
16714 --target-os=$target_os --arch=$host_cpu --cross-prefix=$host_alias-"
16718 # Unfortunately, in Mac OS 10.5 the current rev of ffmpeg builds
16719 # some non-PIC code into the .a file. See
16720 # http://trac.macosforge.org/projects/macports/ticket/13725 for more
16723 embffmpeg_configure_args="$embffmpeg_configure_args --disable-mmx --disable-altivec"
16726 embffmpeg_configure_args="$embffmpeg_configure_args --enable-memalign-hack"
16727 WIN32_LIBS="-lws2_32"
16734 FFMPEG_OPTS="(cd $srcdir/gst-libs/ext/libav && ./configure --help)"
16735 # Let's check if we can disable the building of the ffmpeg binary
16736 can_disable=`echo "$FFMPEG_OPTS" | grep 'disable-ffmpeg'`
16737 if test "$can_disable" != ""; then
16738 embffmpeg_configure_args="$embffmpeg_configure_args --disable-ffmpeg"
16740 can_enable=`echo "$FFMPEG_OPTS" | grep 'enable-swscale'`
16741 if test "$can_enable" != ""; then
16742 embffmpeg_configure_args="$embffmpeg_configure_args --enable-swscale"
16745 # append extra configure options to embffmpeg_configure_args if needed
16746 if test "x$with_ffmpeg_extra_configure" != "xno"; then
16747 embffmpeg_configure_args="$embffmpeg_configure_args $with_ffmpeg_extra_configure"
16754 ac_config_commands="$ac_config_commands configure-embedded-ffmpeg"
16756 { $as_echo "$as_me:${as_lineno-$LINENO}: Using included Libav code" >&5
16757 $as_echo "$as_me: Using included Libav code" >&6;}
16769 if test x$HAVE_FFMPEG_UNINSTALLED = x1; then
16771 $as_echo "#define HAVE_FFMPEG_UNINSTALLED /**/" >>confdefs.h
16774 if test x$HAVE_FFMPEG_UNINSTALLED = x1; then
16775 HAVE_FFMPEG_UNINSTALLED_TRUE=
16776 HAVE_FFMPEG_UNINSTALLED_FALSE='#'
16778 HAVE_FFMPEG_UNINSTALLED_TRUE='#'
16779 HAVE_FFMPEG_UNINSTALLED_FALSE=
16783 ac_config_files="$ac_config_files Makefile common/Makefile common/m4/Makefile gst-ffmpeg.spec ext/Makefile ext/ffmpeg/Makefile ext/libpostproc/Makefile ext/libswscale/Makefile gst-libs/Makefile gst-libs/ext/Makefile docs/Makefile docs/version.entities tests/Makefile tests/check/Makefile tests/files/Makefile"
16785 cat >confcache <<\_ACEOF
16786 # This file is a shell script that caches the results of configure
16787 # tests run on this system so they can be shared between configure
16788 # scripts and configure runs, see configure's option --config-cache.
16789 # It is not useful on other systems. If it contains results you don't
16790 # want to keep, you may remove or edit it.
16792 # config.status only pays attention to the cache file if you give it
16793 # the --recheck option to rerun configure.
16795 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16796 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16797 # following values.
16801 # The following way of writing the cache mishandles newlines in values,
16802 # but we know of no workaround that is simple, portable, and efficient.
16803 # So, we kill variables containing newlines.
16804 # Ultrix sh set writes to stderr and can't be redirected directly,
16805 # and sets the high bit in the cache file unless we assign to the vars.
16807 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16808 eval ac_val=\$$ac_var
16812 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16813 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16816 _ | IFS | as_nl) ;; #(
16817 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16818 *) { eval $ac_var=; unset $ac_var;} ;;
16824 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16825 *${as_nl}ac_space=\ *)
16826 # `set' does not quote correctly, so add quotes: double-quote
16827 # substitution turns \\\\ into \\, and sed turns \\ into \.
16830 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16833 # `set' quotes correctly as required by POSIX, so do not add quotes.
16834 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16843 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16845 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16847 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16848 if test -w "$cache_file"; then
16849 if test "x$cache_file" != "x/dev/null"; then
16850 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16851 $as_echo "$as_me: updating cache $cache_file" >&6;}
16852 if test ! -f "$cache_file" || test -h "$cache_file"; then
16853 cat confcache >"$cache_file"
16855 case $cache_file in #(
16857 mv -f confcache "$cache_file"$$ &&
16858 mv -f "$cache_file"$$ "$cache_file" ;; #(
16860 mv -f confcache "$cache_file" ;;
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16866 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16871 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16872 # Let make expand exec_prefix.
16873 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16875 DEFS=-DHAVE_CONFIG_H
16880 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16881 # 1. Remove the extension, and $U if already installed.
16882 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16883 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16884 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16885 # will be set to the directory where LIBOBJS objects are built.
16886 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16887 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16889 LIBOBJS=$ac_libobjs
16891 LTLIBOBJS=$ac_ltlibobjs
16894 if test -n "$EXEEXT"; then
16896 am__EXEEXT_FALSE='#'
16898 am__EXEEXT_TRUE='#'
16902 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16903 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16906 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16907 as_fn_error $? "conditional \"AMDEP\" was never defined.
16908 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16910 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16911 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16912 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16915 if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then
16916 as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined.
16917 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16919 if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then
16920 as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined.
16921 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16923 if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then
16924 as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined.
16925 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16927 if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then
16928 as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined.
16929 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16931 if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then
16932 as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined.
16933 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16935 if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then
16936 as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined.
16937 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16939 if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then
16940 as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined.
16941 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16943 if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then
16944 as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined.
16945 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16947 if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then
16948 as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined.
16949 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16951 if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then
16952 as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined.
16953 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16955 if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then
16956 as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined.
16957 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16959 if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then
16960 as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined.
16961 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16963 if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then
16964 as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined.
16965 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16967 if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then
16968 as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined.
16969 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16971 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16972 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16973 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16975 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
16976 as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
16977 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16979 if test -z "${ENABLE_DOCBOOK_TRUE}" && test -z "${ENABLE_DOCBOOK_FALSE}"; then
16980 as_fn_error $? "conditional \"ENABLE_DOCBOOK\" was never defined.
16981 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16983 if test -z "${DOC_HTML_TRUE}" && test -z "${DOC_HTML_FALSE}"; then
16984 as_fn_error $? "conditional \"DOC_HTML\" was never defined.
16985 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16987 if test -z "${DOC_PDF_TRUE}" && test -z "${DOC_PDF_FALSE}"; then
16988 as_fn_error $? "conditional \"DOC_PDF\" was never defined.
16989 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16991 if test -z "${DOC_PS_TRUE}" && test -z "${DOC_PS_FALSE}"; then
16992 as_fn_error $? "conditional \"DOC_PS\" was never defined.
16993 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16995 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
16996 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
16997 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16999 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
17000 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
17001 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17003 if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
17004 as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
17005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17007 if test -z "${HAVE_GST_CHECK_TRUE}" && test -z "${HAVE_GST_CHECK_FALSE}"; then
17008 as_fn_error $? "conditional \"HAVE_GST_CHECK\" was never defined.
17009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17011 if test -z "${HAVE_ORC_TRUE}" && test -z "${HAVE_ORC_FALSE}"; then
17012 as_fn_error $? "conditional \"HAVE_ORC\" was never defined.
17013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17015 if test -z "${HAVE_ORCC_TRUE}" && test -z "${HAVE_ORCC_FALSE}"; then
17016 as_fn_error $? "conditional \"HAVE_ORCC\" was never defined.
17017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17019 if test -z "${HAVE_BZ2_TRUE}" && test -z "${HAVE_BZ2_FALSE}"; then
17020 as_fn_error $? "conditional \"HAVE_BZ2\" was never defined.
17021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17023 if test -z "${GST_FFMPEG_ENABLE_LGPL_TRUE}" && test -z "${GST_FFMPEG_ENABLE_LGPL_FALSE}"; then
17024 as_fn_error $? "conditional \"GST_FFMPEG_ENABLE_LGPL\" was never defined.
17025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17027 if test -z "${HAVE_FFMPEG_UNINSTALLED_TRUE}" && test -z "${HAVE_FFMPEG_UNINSTALLED_FALSE}"; then
17028 as_fn_error $? "conditional \"HAVE_FFMPEG_UNINSTALLED\" was never defined.
17029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17032 : "${CONFIG_STATUS=./config.status}"
17034 ac_clean_files_save=$ac_clean_files
17035 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17037 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17039 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17041 # Generated by $as_me.
17042 # Run this file to recreate the current configuration.
17043 # Compiler output produced by configure, useful for debugging
17044 # configure, is in config.log if it exists.
17047 ac_cs_recheck=false
17050 SHELL=\${CONFIG_SHELL-$SHELL}
17053 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17054 ## -------------------- ##
17055 ## M4sh Initialization. ##
17056 ## -------------------- ##
17058 # Be more Bourne compatible
17059 DUALCASE=1; export DUALCASE # for MKS sh
17060 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17063 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17064 # is contrary to our usage. Disable this feature.
17065 alias -g '${1+"$@"}'='"$@"'
17066 setopt NO_GLOB_SUBST
17068 case `(set -o) 2>/dev/null` in #(
17080 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17081 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17082 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17083 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17084 # Prefer a ksh shell builtin over an external printf program on Solaris,
17085 # but without wasting forks for bash or zsh.
17086 if test -z "$BASH_VERSION$ZSH_VERSION" \
17087 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17088 as_echo='print -r --'
17089 as_echo_n='print -rn --'
17090 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17091 as_echo='printf %s\n'
17092 as_echo_n='printf %s'
17094 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17095 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17096 as_echo_n='/usr/ucb/echo -n'
17098 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17099 as_echo_n_body='eval
17103 expr "X$arg" : "X\\(.*\\)$as_nl";
17104 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17106 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17108 export as_echo_n_body
17109 as_echo_n='sh -c $as_echo_n_body as_echo'
17111 export as_echo_body
17112 as_echo='sh -c $as_echo_body as_echo'
17115 # The user is always right.
17116 if test "${PATH_SEPARATOR+set}" != set; then
17118 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17119 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17126 # We need space, tab and new line, in precisely that order. Quoting is
17127 # there to prevent editors from complaining about space-tab.
17128 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17129 # splitting by setting IFS to empty value.)
17132 # Find who we are. Look in the path if we contain no directory separator.
17135 *[\\/]* ) as_myself=$0 ;;
17136 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17137 for as_dir in $PATH
17140 test -z "$as_dir" && as_dir=.
17141 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17147 # We did not find ourselves, most probably we were run as `sh COMMAND'
17148 # in which case we are not to be found in the path.
17149 if test "x$as_myself" = x; then
17152 if test ! -f "$as_myself"; then
17153 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17157 # Unset variables that we do not need and which cause bugs (e.g. in
17158 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17159 # suppresses any "Segmentation fault" message there. '((' could
17160 # trigger a bug in pdksh 5.2.14.
17161 for as_var in BASH_ENV ENV MAIL MAILPATH
17162 do eval test x\${$as_var+set} = xset \
17163 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17176 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17179 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17180 # ----------------------------------------
17181 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17182 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17183 # script with STATUS, using 1 if that was 0.
17186 as_status=$1; test $as_status -eq 0 && as_status=1
17188 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17189 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17191 $as_echo "$as_me: error: $2" >&2
17192 as_fn_exit $as_status
17196 # as_fn_set_status STATUS
17197 # -----------------------
17198 # Set $? to STATUS, without forking.
17199 as_fn_set_status ()
17202 } # as_fn_set_status
17204 # as_fn_exit STATUS
17205 # -----------------
17206 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17210 as_fn_set_status $1
17216 # Portably unset VAR.
17219 { eval $1=; unset $1;}
17221 as_unset=as_fn_unset
17222 # as_fn_append VAR VALUE
17223 # ----------------------
17224 # Append the text in VALUE to the end of the definition contained in VAR. Take
17225 # advantage of any shell optimizations that allow amortized linear growth over
17226 # repeated appends, instead of the typical quadratic growth present in naive
17228 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17229 eval 'as_fn_append ()
17240 # as_fn_arith ARG...
17241 # ------------------
17242 # Perform arithmetic evaluation on the ARGs, and store the result in the
17243 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17244 # must be portable across $(()) and expr.
17245 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17246 eval 'as_fn_arith ()
17253 as_val=`expr "$@" || test $? -eq 1`
17258 if expr a : '\(a\)' >/dev/null 2>&1 &&
17259 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17265 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17266 as_basename=basename
17271 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17277 as_me=`$as_basename -- "$0" ||
17278 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17279 X"$0" : 'X\(//\)$' \| \
17280 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17282 sed '/^.*\/\([^/][^/]*\)\/*$/{
17296 # Avoid depending upon Character Ranges.
17297 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17298 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17299 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17300 as_cr_digits='0123456789'
17301 as_cr_alnum=$as_cr_Letters$as_cr_digits
17303 ECHO_C= ECHO_N= ECHO_T=
17304 case `echo -n x` in #(((((
17306 case `echo 'xy\c'` in
17307 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17309 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17316 rm -f conf$$ conf$$.exe conf$$.file
17317 if test -d conf$$.dir; then
17318 rm -f conf$$.dir/conf$$.file
17321 mkdir conf$$.dir 2>/dev/null
17323 if (echo >conf$$.file) 2>/dev/null; then
17324 if ln -s conf$$.file conf$$ 2>/dev/null; then
17326 # ... but there are two gotchas:
17327 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17328 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17329 # In both cases, we have to default to `cp -p'.
17330 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17332 elif ln conf$$.file conf$$ 2>/dev/null; then
17340 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17341 rmdir conf$$.dir 2>/dev/null
17346 # Create "$as_dir" as a directory, including parents if necessary.
17351 -*) as_dir=./$as_dir;;
17353 test -d "$as_dir" || eval $as_mkdir_p || {
17357 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17358 *) as_qdir=$as_dir;;
17360 as_dirs="'$as_qdir' $as_dirs"
17361 as_dir=`$as_dirname -- "$as_dir" ||
17362 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17363 X"$as_dir" : 'X\(//\)[^/]' \| \
17364 X"$as_dir" : 'X\(//\)$' \| \
17365 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17366 $as_echo X"$as_dir" |
17367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17371 /^X\(\/\/\)[^/].*/{
17384 test -d "$as_dir" && break
17386 test -z "$as_dirs" || eval "mkdir $as_dirs"
17387 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17391 if mkdir -p . 2>/dev/null; then
17392 as_mkdir_p='mkdir -p "$as_dir"'
17394 test -d ./-p && rmdir ./-p
17398 if test -x / >/dev/null 2>&1; then
17399 as_test_x='test -x'
17401 if ls -dL / >/dev/null 2>&1; then
17408 if test -d "$1"; then
17414 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17415 ???[sx]*):;;*)false;;esac;fi
17419 as_executable_p=$as_test_x
17421 # Sed expression to map a string onto a valid CPP name.
17422 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17424 # Sed expression to map a string onto a valid variable name.
17425 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17429 ## ----------------------------------- ##
17430 ## Main body of $CONFIG_STATUS script. ##
17431 ## ----------------------------------- ##
17433 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17436 # Save the log message, to keep $0 and so on meaningful, and to
17437 # report actual input values of CONFIG_FILES etc. instead of their
17438 # values after options handling.
17440 This file was extended by GStreamer Libav $as_me 0.10.13, which was
17441 generated by GNU Autoconf 2.68. Invocation command line was
17443 CONFIG_FILES = $CONFIG_FILES
17444 CONFIG_HEADERS = $CONFIG_HEADERS
17445 CONFIG_LINKS = $CONFIG_LINKS
17446 CONFIG_COMMANDS = $CONFIG_COMMANDS
17449 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17454 case $ac_config_files in *"
17455 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17458 case $ac_config_headers in *"
17459 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17463 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17464 # Files that config.status was made for.
17465 config_files="$ac_config_files"
17466 config_headers="$ac_config_headers"
17467 config_commands="$ac_config_commands"
17471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17473 \`$as_me' instantiates files and other configuration actions
17474 from templates according to the current configuration. Unless the files
17475 and actions are specified as TAGs, all are instantiated by default.
17477 Usage: $0 [OPTION]... [TAG]...
17479 -h, --help print this help, then exit
17480 -V, --version print version number and configuration settings, then exit
17481 --config print configuration, then exit
17482 -q, --quiet, --silent
17483 do not print progress messages
17484 -d, --debug don't remove temporary files
17485 --recheck update $as_me by reconfiguring in the same conditions
17486 --file=FILE[:TEMPLATE]
17487 instantiate the configuration file FILE
17488 --header=FILE[:TEMPLATE]
17489 instantiate the configuration header FILE
17491 Configuration files:
17494 Configuration headers:
17497 Configuration commands:
17500 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
17503 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17504 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17506 GStreamer Libav config.status 0.10.13
17507 configured by $0, generated by GNU Autoconf 2.68,
17508 with options \\"\$ac_cs_config\\"
17510 Copyright (C) 2010 Free Software Foundation, Inc.
17511 This config.status script is free software; the Free Software Foundation
17512 gives unlimited permission to copy, distribute and modify it."
17519 test -n "\$AWK" || AWK=awk
17522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17523 # The default lists apply if the user does not specify any file.
17529 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17530 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17534 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17546 # Handling of the options.
17547 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17549 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17550 $as_echo "$ac_cs_version"; exit ;;
17551 --config | --confi | --conf | --con | --co | --c )
17552 $as_echo "$ac_cs_config"; exit ;;
17553 --debug | --debu | --deb | --de | --d | -d )
17555 --file | --fil | --fi | --f )
17558 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17559 '') as_fn_error $? "missing file argument" ;;
17561 as_fn_append CONFIG_FILES " '$ac_optarg'"
17562 ac_need_defaults=false;;
17563 --header | --heade | --head | --hea )
17566 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17568 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17569 ac_need_defaults=false;;
17571 # Conflict between --help and --header
17572 as_fn_error $? "ambiguous option: \`$1'
17573 Try \`$0 --help' for more information.";;
17574 --help | --hel | -h )
17575 $as_echo "$ac_cs_usage"; exit ;;
17576 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17577 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17580 # This is an error.
17581 -*) as_fn_error $? "unrecognized option: \`$1'
17582 Try \`$0 --help' for more information." ;;
17584 *) as_fn_append ac_config_targets " $1"
17585 ac_need_defaults=false ;;
17591 ac_configure_extra_args=
17593 if $ac_cs_silent; then
17595 ac_configure_extra_args="$ac_configure_extra_args --silent"
17599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17600 if \$ac_cs_recheck; then
17601 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17603 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17604 CONFIG_SHELL='$SHELL'
17605 export CONFIG_SHELL
17610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17614 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17615 ## Running $as_me. ##
17621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17625 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17628 # The HP-UX ksh and POSIX shell print the target directory to stdout
17629 # if CDPATH is set.
17630 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17632 sed_quote_subst='$sed_quote_subst'
17633 double_quote_subst='$double_quote_subst'
17634 delay_variable_subst='$delay_variable_subst'
17635 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17636 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17637 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17638 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17639 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17640 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17641 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17642 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17643 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17644 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17645 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17646 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17647 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17648 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17649 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17650 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17651 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17652 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17653 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17654 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17655 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17656 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17657 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17658 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17659 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17660 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17661 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17662 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17663 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17664 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17665 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17666 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17667 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17668 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17669 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17670 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17671 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17672 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17673 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17674 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17675 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17676 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17677 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17678 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17679 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17680 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17681 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17682 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17683 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17684 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17685 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17686 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17687 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17688 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17689 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17690 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17691 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"`'
17692 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17693 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17694 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17695 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17696 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17697 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17698 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17699 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17700 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17701 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17702 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17703 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17704 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17705 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17706 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17707 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17708 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17709 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17710 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17711 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17712 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17713 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17714 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17715 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17716 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17717 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17718 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17719 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17720 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17721 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17722 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17723 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17724 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17725 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17726 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17727 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17728 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17729 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17730 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17731 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17732 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17733 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17734 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17735 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17736 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17737 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17738 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17739 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17740 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17741 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17742 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17743 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17744 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17745 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17746 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17747 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17748 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17749 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17750 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17751 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17752 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17753 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17754 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17755 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17756 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17757 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17758 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17759 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17760 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17761 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17762 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17763 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17764 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17765 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17768 LTCFLAGS='$LTCFLAGS'
17769 compiler='$compiler_DEFAULT'
17771 # A function that is used when there is no print builtin or printf.
17772 func_fallback_echo ()
17774 eval 'cat <<_LTECHO_EOF
17779 # Quote evaled strings.
17795 deplibs_check_method \
17799 sharedlib_from_linklib_cmd \
17802 archiver_list_spec \
17808 lt_cv_sys_global_symbol_pipe \
17809 lt_cv_sys_global_symbol_to_cdecl \
17810 lt_cv_sys_global_symbol_to_c_name_address \
17811 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17812 nm_file_list_spec \
17813 lt_prog_compiler_no_builtin_flag \
17814 lt_prog_compiler_pic \
17815 lt_prog_compiler_wl \
17816 lt_prog_compiler_static \
17817 lt_cv_prog_compiler_c_o \
17826 export_dynamic_flag_spec \
17827 whole_archive_flag_spec \
17828 compiler_needs_object \
17830 allow_undefined_flag \
17831 no_undefined_flag \
17832 hardcode_libdir_flag_spec \
17833 hardcode_libdir_flag_spec_ld \
17834 hardcode_libdir_separator \
17838 variables_saved_for_relink \
17840 library_names_spec \
17842 install_override_mode \
17846 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17847 *[\\\\\\\`\\"\\\$]*)
17848 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17851 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17856 # Double-quote double-evaled strings.
17857 for var in reload_cmds \
17858 old_postinstall_cmds \
17859 old_postuninstall_cmds \
17861 extract_expsyms_cmds \
17862 old_archive_from_new_cmds \
17863 old_archive_from_expsyms_cmds \
17865 archive_expsym_cmds \
17867 module_expsym_cmds \
17868 export_symbols_cmds \
17872 postuninstall_cmds \
17874 sys_lib_search_path_spec \
17875 sys_lib_dlsearch_path_spec; do
17876 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17877 *[\\\\\\\`\\"\\\$]*)
17878 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17881 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17886 ac_aux_dir='$ac_aux_dir'
17887 xsi_shell='$xsi_shell'
17888 lt_shell_append='$lt_shell_append'
17890 # See if we are running on zsh, and set the options which allow our
17891 # commands through without removal of \ escapes INIT.
17892 if test -n "\${ZSH_VERSION+set}" ; then
17893 setopt NO_GLOB_SUBST
17899 TIMESTAMP='$TIMESTAMP'
17905 embffmpeg_configure_args="$embffmpeg_configure_args"
17909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17911 # Handling of arguments.
17912 for ac_config_target in $ac_config_targets
17914 case $ac_config_target in
17915 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17916 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17917 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17918 "configure-embedded-ffmpeg") CONFIG_COMMANDS="$CONFIG_COMMANDS configure-embedded-ffmpeg" ;;
17919 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17920 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
17921 "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
17922 "gst-ffmpeg.spec") CONFIG_FILES="$CONFIG_FILES gst-ffmpeg.spec" ;;
17923 "ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
17924 "ext/ffmpeg/Makefile") CONFIG_FILES="$CONFIG_FILES ext/ffmpeg/Makefile" ;;
17925 "ext/libpostproc/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libpostproc/Makefile" ;;
17926 "ext/libswscale/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libswscale/Makefile" ;;
17927 "gst-libs/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/Makefile" ;;
17928 "gst-libs/ext/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/ext/Makefile" ;;
17929 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17930 "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
17931 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17932 "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
17933 "tests/files/Makefile") CONFIG_FILES="$CONFIG_FILES tests/files/Makefile" ;;
17935 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17940 # If the user did not use the arguments to specify the items to instantiate,
17941 # then the envvar interface is used. Set only those that are not.
17942 # We use the long form for the default assignment because of an extremely
17943 # bizarre bug on SunOS 4.1.3.
17944 if $ac_need_defaults; then
17945 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17946 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17947 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17950 # Have a temporary directory for convenience. Make it in the build tree
17951 # simply because there is no reason against having it here, and in addition,
17952 # creating and moving files from /tmp can sometimes cause problems.
17953 # Hook for its removal unless debugging.
17954 # Note that there is a small window in which the directory will not be cleaned:
17955 # after its creation but before its name has been assigned to `$tmp'.
17959 trap 'exit_status=$?
17960 : "${ac_tmp:=$tmp}"
17961 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17963 trap 'as_fn_exit 1' 1 2 13 15
17965 # Create a (secure) tmp directory for tmp files.
17968 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17972 tmp=./conf$$-$RANDOM
17973 (umask 077 && mkdir "$tmp")
17974 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17977 # Set up the scripts for CONFIG_FILES section.
17978 # No need to generate them if there are no CONFIG_FILES.
17979 # This happens for instance with `./config.status config.h'.
17980 if test -n "$CONFIG_FILES"; then
17983 ac_cr=`echo X | tr X '\015'`
17984 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17985 # But we know of no other shell where ac_cr would be empty at this
17986 # point, so we can use a bashism as a fallback.
17987 if test "x$ac_cr" = x; then
17988 eval ac_cr=\$\'\\r\'
17990 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17991 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17994 ac_cs_awk_cr=$ac_cr
17997 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18002 echo "cat >conf$$subs.awk <<_ACEOF" &&
18003 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18005 } >conf$$subs.sh ||
18006 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18007 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18009 for ac_last_try in false false false false false :; do
18010 . ./conf$$subs.sh ||
18011 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18013 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18014 if test $ac_delim_n = $ac_delim_num; then
18016 elif $ac_last_try; then
18017 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18019 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18022 rm -f conf$$subs.sh
18024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18025 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18029 s/^/S["/; s/!.*/"]=/
18039 s/\(.\{148\}\)..*/\1/
18041 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18046 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18053 s/\(.\{148\}\)..*/\1/
18055 s/["\\]/\\&/g; s/^/"/; s/$/"/
18059 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18064 ' <conf$$subs.awk | sed '
18069 ' >>$CONFIG_STATUS || ac_write_fail=1
18070 rm -f conf$$subs.awk
18071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18073 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18074 for (key in S) S_is_set[key] = 1
18080 nfields = split(line, field, "@")
18082 len = length(field[1])
18083 for (i = 2; i < nfields; i++) {
18085 keylen = length(key)
18086 if (S_is_set[key]) {
18088 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18089 len += length(value) + length(field[++i])
18100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18101 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18102 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18105 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18106 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18109 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18110 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18111 # trailing colons and then remove the whole line if VPATH becomes empty
18112 # (actually we leave an empty line to preserve line numbers).
18113 if test "x$srcdir" = x.; then
18114 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18133 fi # test -n "$CONFIG_FILES"
18135 # Set up the scripts for CONFIG_HEADERS section.
18136 # No need to generate them if there are no CONFIG_HEADERS.
18137 # This happens for instance with `./config.status Makefile'.
18138 if test -n "$CONFIG_HEADERS"; then
18139 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18143 # Transform confdefs.h into an awk script `defines.awk', embedded as
18144 # here-document in config.status, that substitutes the proper values into
18145 # config.h.in to produce config.h.
18147 # Create a delimiter string that does not exist in confdefs.h, to ease
18148 # handling of long lines.
18150 for ac_last_try in false false :; do
18151 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18152 if test -z "$ac_tt"; then
18154 elif $ac_last_try; then
18155 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18157 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18161 # For the awk script, D is an array of macro values keyed by name,
18162 # likewise P contains macro parameters if any. Preserve backslash
18163 # newline sequences.
18165 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18167 s/.\{148\}/&'"$ac_delim"'/g
18170 s/^[ ]*#[ ]*define[ ][ ]*/ /
18177 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18179 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18183 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18184 D["\1"]=" \3\\\\\\n"\\/p
18186 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18191 s/.\{148\}/&'"$ac_delim"'/g
18196 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18199 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18201 ' <confdefs.h | sed '
18202 s/'"$ac_delim"'/"\\\
18203 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18206 for (key in D) D_is_set[key] = 1
18209 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18211 split(line, arg, " ")
18212 if (arg[1] == "#") {
18216 defundef = substr(arg[1], 2)
18219 split(mac1, mac2, "(") #)
18221 prefix = substr(line, 1, index(line, defundef) - 1)
18222 if (D_is_set[macro]) {
18223 # Preserve the white space surrounding the "#".
18224 print prefix "define", macro P[macro] D[macro]
18227 # Replace #undef with comments. This is necessary, for example,
18228 # in the case of _POSIX_SOURCE, which is predefined and required
18229 # on some systems where configure will not decide to define it.
18230 if (defundef == "undef") {
18231 print "/*", prefix defundef, macro, "*/"
18239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18240 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18241 fi # test -n "$CONFIG_HEADERS"
18244 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18249 :[FHLC]) ac_mode=$ac_tag; continue;;
18251 case $ac_mode$ac_tag in
18253 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18254 :[FH]-) ac_tag=-:-;;
18255 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18272 -) ac_f="$ac_tmp/stdin";;
18273 *) # Look for the file first in the build tree, then in the source tree
18274 # (if the path is not absolute). The absolute path cannot be DOS-style,
18275 # because $ac_f cannot contain `:'.
18279 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18281 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18283 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18284 as_fn_append ac_file_inputs " '$ac_f'"
18287 # Let's still pretend it is `configure' which instantiates (i.e., don't
18288 # use $as_me), people would be surprised to read:
18289 # /* config.h. Generated by config.status. */
18290 configure_input='Generated from '`
18291 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18293 if test x"$ac_file" != x-; then
18294 configure_input="$ac_file. $configure_input"
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18296 $as_echo "$as_me: creating $ac_file" >&6;}
18298 # Neutralize special characters interpreted by sed in replacement strings.
18299 case $configure_input in #(
18300 *\&* | *\|* | *\\* )
18301 ac_sed_conf_input=`$as_echo "$configure_input" |
18302 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18303 *) ac_sed_conf_input=$configure_input;;
18307 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18308 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18313 ac_dir=`$as_dirname -- "$ac_file" ||
18314 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18315 X"$ac_file" : 'X\(//\)[^/]' \| \
18316 X"$ac_file" : 'X\(//\)$' \| \
18317 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18318 $as_echo X"$ac_file" |
18319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18323 /^X\(\/\/\)[^/].*/{
18336 as_dir="$ac_dir"; as_fn_mkdir_p
18340 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18342 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18343 # A ".." for each directory in $ac_dir_suffix.
18344 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18345 case $ac_top_builddir_sub in
18346 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18347 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18350 ac_abs_top_builddir=$ac_pwd
18351 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18352 # for backward compatibility:
18353 ac_top_builddir=$ac_top_build_prefix
18356 .) # We are building in place.
18358 ac_top_srcdir=$ac_top_builddir_sub
18359 ac_abs_top_srcdir=$ac_pwd ;;
18360 [\\/]* | ?:[\\/]* ) # Absolute name.
18361 ac_srcdir=$srcdir$ac_dir_suffix;
18362 ac_top_srcdir=$srcdir
18363 ac_abs_top_srcdir=$srcdir ;;
18364 *) # Relative name.
18365 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18366 ac_top_srcdir=$ac_top_build_prefix$srcdir
18367 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18369 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18379 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18380 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18382 ac_MKDIR_P=$MKDIR_P
18384 [\\/$]* | ?:[\\/]* ) ;;
18385 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18390 # If the template does not know about datarootdir, expand it.
18391 # FIXME: This hack should be removed a few years after 2.60.
18392 ac_datarootdir_hack=; ac_datarootdir_seen=
18403 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18404 *datarootdir*) ac_datarootdir_seen=yes;;
18405 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18407 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18410 ac_datarootdir_hack='
18411 s&@datadir@&$datadir&g
18412 s&@docdir@&$docdir&g
18413 s&@infodir@&$infodir&g
18414 s&@localedir@&$localedir&g
18415 s&@mandir@&$mandir&g
18416 s&\\\${datarootdir}&$datarootdir&g' ;;
18420 # Neutralize VPATH when `$srcdir' = `.'.
18421 # Shell code in configure.ac might set extrasub.
18422 # FIXME: do we really want to maintain this feature?
18423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18424 ac_sed_extra="$ac_vpsub
18427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18429 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18430 s|@configure_input@|$ac_sed_conf_input|;t t
18431 s&@top_builddir@&$ac_top_builddir_sub&;t t
18432 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18433 s&@srcdir@&$ac_srcdir&;t t
18434 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18435 s&@top_srcdir@&$ac_top_srcdir&;t t
18436 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18437 s&@builddir@&$ac_builddir&;t t
18438 s&@abs_builddir@&$ac_abs_builddir&;t t
18439 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18440 s&@INSTALL@&$ac_INSTALL&;t t
18441 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18442 $ac_datarootdir_hack
18444 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18445 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18447 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18448 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18449 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18450 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18452 which seems to be undefined. Please make sure it is defined" >&5
18453 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18454 which seems to be undefined. Please make sure it is defined" >&2;}
18456 rm -f "$ac_tmp/stdin"
18458 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18459 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18461 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18467 if test x"$ac_file" != x-; then
18469 $as_echo "/* $configure_input */" \
18470 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18471 } >"$ac_tmp/config.h" \
18472 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18473 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18474 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18475 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18478 mv "$ac_tmp/config.h" "$ac_file" \
18479 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18482 $as_echo "/* $configure_input */" \
18483 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18484 || as_fn_error $? "could not create -" "$LINENO" 5
18486 # Compute "$ac_file"'s index in $config_headers.
18489 for _am_header in $config_headers :; do
18490 case $_am_header in
18491 $_am_arg | $_am_arg:* )
18494 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18497 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18498 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18499 X"$_am_arg" : 'X\(//\)[^/]' \| \
18500 X"$_am_arg" : 'X\(//\)$' \| \
18501 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18502 $as_echo X"$_am_arg" |
18503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18507 /^X\(\/\/\)[^/].*/{
18519 s/.*/./; q'`/stamp-h$_am_stamp_count
18522 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18523 $as_echo "$as_me: executing $ac_file commands" >&6;}
18528 case $ac_file$ac_mode in
18529 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18530 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18531 # are listed without --file. Let's play safe and only enable the eval
18532 # if we detect the quoting.
18533 case $CONFIG_FILES in
18534 *\'*) eval set x "$CONFIG_FILES" ;;
18535 *) set x $CONFIG_FILES ;;
18540 # Strip MF so we end up with the name of the file.
18541 mf=`echo "$mf" | sed -e 's/:.*$//'`
18542 # Check whether this is an Automake generated Makefile or not.
18543 # We used to match only the files named `Makefile.in', but
18544 # some people rename them; so instead we look at the file content.
18545 # Grep'ing the first line is not enough: some people post-process
18546 # each Makefile.in and add a new line on top of each file to say so.
18547 # Grep'ing the whole file is not good either: AIX grep has a line
18548 # limit of 2048, but all sed's we know have understand at least 4000.
18549 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18550 dirpart=`$as_dirname -- "$mf" ||
18551 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18552 X"$mf" : 'X\(//\)[^/]' \| \
18553 X"$mf" : 'X\(//\)$' \| \
18554 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18556 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18560 /^X\(\/\/\)[^/].*/{
18576 # Extract the definition of DEPDIR, am__include, and am__quote
18577 # from the Makefile without running `make'.
18578 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18579 test -z "$DEPDIR" && continue
18580 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18581 test -z "am__include" && continue
18582 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18583 # When using ansi2knr, U may be empty or an underscore; expand it
18584 U=`sed -n 's/^U = //p' < "$mf"`
18585 # Find all dependency output files, they are included files with
18586 # $(DEPDIR) in their names. We invoke sed twice because it is the
18587 # simplest approach to changing $(DEPDIR) to its actual value in the
18589 for file in `sed -n "
18590 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18591 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18592 # Make sure the directory exists.
18593 test -f "$dirpart/$file" && continue
18594 fdir=`$as_dirname -- "$file" ||
18595 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18596 X"$file" : 'X\(//\)[^/]' \| \
18597 X"$file" : 'X\(//\)$' \| \
18598 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18599 $as_echo X"$file" |
18600 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18604 /^X\(\/\/\)[^/].*/{
18617 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18618 # echo "creating $dirpart/$file"
18619 echo '# dummy' > "$dirpart/$file"
18626 # See if we are running on zsh, and set the options which allow our
18627 # commands through without removal of \ escapes.
18628 if test -n "${ZSH_VERSION+set}" ; then
18629 setopt NO_GLOB_SUBST
18632 cfgfile="${ofile}T"
18633 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18636 cat <<_LT_EOF >> "$cfgfile"
18639 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18640 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18641 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18642 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18644 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18645 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
18647 # Written by Gordon Matzigkeit, 1996
18649 # This file is part of GNU Libtool.
18651 # GNU Libtool is free software; you can redistribute it and/or
18652 # modify it under the terms of the GNU General Public License as
18653 # published by the Free Software Foundation; either version 2 of
18654 # the License, or (at your option) any later version.
18656 # As a special exception to the GNU General Public License,
18657 # if you distribute this file as part of a program or library that
18658 # is built using GNU Libtool, you may include this file under the
18659 # same distribution terms that you use for the rest of that program.
18661 # GNU Libtool is distributed in the hope that it will be useful,
18662 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18663 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18664 # GNU General Public License for more details.
18666 # You should have received a copy of the GNU General Public License
18667 # along with GNU Libtool; see the file COPYING. If not, a copy
18668 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18669 # obtained by writing to the Free Software Foundation, Inc.,
18670 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18673 # The names of the tagged configurations supported by this script.
18676 # ### BEGIN LIBTOOL CONFIG
18678 # Assembler program.
18681 # DLL creation program.
18682 DLLTOOL=$lt_DLLTOOL
18684 # Object dumper program.
18685 OBJDUMP=$lt_OBJDUMP
18687 # Which release of libtool.m4 was used?
18688 macro_version=$macro_version
18689 macro_revision=$macro_revision
18691 # Whether or not to build shared libraries.
18692 build_libtool_libs=$enable_shared
18694 # Whether or not to build static libraries.
18695 build_old_libs=$enable_static
18697 # What type of objects to build.
18700 # Whether or not to optimize for fast installation.
18701 fast_install=$enable_fast_install
18703 # Shell to use when invoking shell scripts.
18706 # An echo program that protects backslashes.
18710 host_alias=$host_alias
18714 # The build system.
18715 build_alias=$build_alias
18719 # A sed program that does not truncate output.
18722 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18723 Xsed="\$SED -e 1s/^X//"
18725 # A grep program that handles long lines.
18731 # A literal string matcher.
18734 # A BSD- or MS-compatible name lister.
18737 # Whether we need soft or hard links.
18740 # What is the maximum length of a command?
18741 max_cmd_len=$max_cmd_len
18743 # Object file suffix (normally "o").
18746 # Executable file suffix (normally "").
18749 # whether the shell understands "unset".
18752 # turn spaces into newlines.
18755 # turn newlines into spaces.
18758 # convert \$build file names to \$host format.
18759 to_host_file_cmd=$lt_cv_to_host_file_cmd
18761 # convert \$build files to toolchain format.
18762 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18764 # Method to check whether dependent libraries are shared objects.
18765 deplibs_check_method=$lt_deplibs_check_method
18767 # Command to use when deplibs_check_method = "file_magic".
18768 file_magic_cmd=$lt_file_magic_cmd
18770 # How to find potential files when deplibs_check_method = "file_magic".
18771 file_magic_glob=$lt_file_magic_glob
18773 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18774 want_nocaseglob=$lt_want_nocaseglob
18776 # Command to associate shared and link libraries.
18777 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18782 # Flags to create an archive.
18783 AR_FLAGS=$lt_AR_FLAGS
18785 # How to feed a file listing to the archiver.
18786 archiver_list_spec=$lt_archiver_list_spec
18788 # A symbol stripping program.
18791 # Commands used to install an old-style archive.
18793 old_postinstall_cmds=$lt_old_postinstall_cmds
18794 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18796 # Whether to use a lock for old archive extraction.
18797 lock_old_archive_extraction=$lock_old_archive_extraction
18802 # LTCC compiler flags.
18803 LTCFLAGS=$lt_CFLAGS
18805 # Take the output of nm and produce a listing of raw symbols and C names.
18806 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18808 # Transform the output of nm in a proper C declaration.
18809 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18811 # Transform the output of nm in a C name address pair.
18812 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18814 # Transform the output of nm in a C name address pair when lib prefix is needed.
18815 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18817 # Specify filename containing input files for \$NM.
18818 nm_file_list_spec=$lt_nm_file_list_spec
18820 # The root where to search for dependent libraries,and in which our libraries should be installed.
18821 lt_sysroot=$lt_sysroot
18823 # The name of the directory that contains temporary libtool files.
18826 # Used to examine libraries when file_magic_cmd begins with "file".
18827 MAGIC_CMD=$MAGIC_CMD
18829 # Must we lock files when doing compilation?
18830 need_locks=$lt_need_locks
18833 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18835 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18836 DSYMUTIL=$lt_DSYMUTIL
18838 # Tool to change global to local symbols on Mac OS X.
18841 # Tool to manipulate fat objects and archives on Mac OS X.
18844 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18847 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18848 OTOOL64=$lt_OTOOL64
18850 # Old archive suffix (normally "a").
18853 # Shared library suffix (normally ".so").
18854 shrext_cmds=$lt_shrext_cmds
18856 # The commands to extract the exported symbol list from a shared archive.
18857 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18859 # Variables whose values should be saved in libtool wrapper scripts and
18860 # restored at link time.
18861 variables_saved_for_relink=$lt_variables_saved_for_relink
18863 # Do we need the "lib" prefix for modules?
18864 need_lib_prefix=$need_lib_prefix
18866 # Do we need a version for libraries?
18867 need_version=$need_version
18869 # Library versioning type.
18870 version_type=$version_type
18872 # Shared library runtime path variable.
18873 runpath_var=$runpath_var
18875 # Shared library path variable.
18876 shlibpath_var=$shlibpath_var
18878 # Is shlibpath searched before the hard-coded library search path?
18879 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18881 # Format of library name prefix.
18882 libname_spec=$lt_libname_spec
18884 # List of archive names. First name is the real one, the rest are links.
18885 # The last name is the one that the linker finds with -lNAME
18886 library_names_spec=$lt_library_names_spec
18888 # The coded name of the library, if different from the real name.
18889 soname_spec=$lt_soname_spec
18891 # Permission mode override for installation of shared libraries.
18892 install_override_mode=$lt_install_override_mode
18894 # Command to use after installation of a shared archive.
18895 postinstall_cmds=$lt_postinstall_cmds
18897 # Command to use after uninstallation of a shared archive.
18898 postuninstall_cmds=$lt_postuninstall_cmds
18900 # Commands used to finish a libtool library installation in a directory.
18901 finish_cmds=$lt_finish_cmds
18903 # As "finish_cmds", except a single script fragment to be evaled but
18905 finish_eval=$lt_finish_eval
18907 # Whether we should hardcode library paths into libraries.
18908 hardcode_into_libs=$hardcode_into_libs
18910 # Compile-time system search path for libraries.
18911 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18913 # Run-time system search path for libraries.
18914 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18916 # Whether dlopen is supported.
18917 dlopen_support=$enable_dlopen
18919 # Whether dlopen of programs is supported.
18920 dlopen_self=$enable_dlopen_self
18922 # Whether dlopen of statically linked programs is supported.
18923 dlopen_self_static=$enable_dlopen_self_static
18925 # Commands to strip libraries.
18926 old_striplib=$lt_old_striplib
18927 striplib=$lt_striplib
18930 # The linker used to build libraries.
18933 # How to create reloadable object files.
18934 reload_flag=$lt_reload_flag
18935 reload_cmds=$lt_reload_cmds
18937 # Commands used to build an old-style archive.
18938 old_archive_cmds=$lt_old_archive_cmds
18940 # A language specific compiler.
18943 # Is the compiler the GNU compiler?
18946 # Compiler flag to turn off builtin functions.
18947 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18949 # Additional compiler flags for building library objects.
18950 pic_flag=$lt_lt_prog_compiler_pic
18952 # How to pass a linker flag through the compiler.
18953 wl=$lt_lt_prog_compiler_wl
18955 # Compiler flag to prevent dynamic linking.
18956 link_static_flag=$lt_lt_prog_compiler_static
18958 # Does compiler simultaneously support -c and -o options?
18959 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18961 # Whether or not to add -lc for building shared libraries.
18962 build_libtool_need_lc=$archive_cmds_need_lc
18964 # Whether or not to disallow shared libs when runtime libs are static.
18965 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18967 # Compiler flag to allow reflexive dlopens.
18968 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18970 # Compiler flag to generate shared objects directly from archives.
18971 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18973 # Whether the compiler copes with passing no objects directly.
18974 compiler_needs_object=$lt_compiler_needs_object
18976 # Create an old-style archive from a shared archive.
18977 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18979 # Create a temporary old-style archive to link instead of a shared archive.
18980 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18982 # Commands used to build a shared archive.
18983 archive_cmds=$lt_archive_cmds
18984 archive_expsym_cmds=$lt_archive_expsym_cmds
18986 # Commands used to build a loadable module if different from building
18987 # a shared archive.
18988 module_cmds=$lt_module_cmds
18989 module_expsym_cmds=$lt_module_expsym_cmds
18991 # Whether we are building with GNU ld or not.
18992 with_gnu_ld=$lt_with_gnu_ld
18994 # Flag that allows shared libraries with undefined symbols to be built.
18995 allow_undefined_flag=$lt_allow_undefined_flag
18997 # Flag that enforces no undefined symbols.
18998 no_undefined_flag=$lt_no_undefined_flag
19000 # Flag to hardcode \$libdir into a binary during linking.
19001 # This must work even if \$libdir does not exist
19002 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19004 # If ld is used when linking, flag to hardcode \$libdir into a binary
19005 # during linking. This must work even if \$libdir does not exist.
19006 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
19008 # Whether we need a single "-rpath" flag with a separated argument.
19009 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19011 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19012 # DIR into the resulting binary.
19013 hardcode_direct=$hardcode_direct
19015 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19016 # DIR into the resulting binary and the resulting library dependency is
19017 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19018 # library is relocated.
19019 hardcode_direct_absolute=$hardcode_direct_absolute
19021 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19022 # into the resulting binary.
19023 hardcode_minus_L=$hardcode_minus_L
19025 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19026 # into the resulting binary.
19027 hardcode_shlibpath_var=$hardcode_shlibpath_var
19029 # Set to "yes" if building a shared library automatically hardcodes DIR
19030 # into the library and all subsequent libraries and executables linked
19032 hardcode_automatic=$hardcode_automatic
19034 # Set to yes if linker adds runtime paths of dependent libraries
19035 # to runtime path list.
19036 inherit_rpath=$inherit_rpath
19038 # Whether libtool must link a program against all its dependency libraries.
19039 link_all_deplibs=$link_all_deplibs
19041 # Set to "yes" if exported symbols are required.
19042 always_export_symbols=$always_export_symbols
19044 # The commands to list exported symbols.
19045 export_symbols_cmds=$lt_export_symbols_cmds
19047 # Symbols that should not be listed in the preloaded symbols.
19048 exclude_expsyms=$lt_exclude_expsyms
19050 # Symbols that must always be exported.
19051 include_expsyms=$lt_include_expsyms
19053 # Commands necessary for linking programs (against libraries) with templates.
19054 prelink_cmds=$lt_prelink_cmds
19056 # Commands necessary for finishing linking programs.
19057 postlink_cmds=$lt_postlink_cmds
19059 # Specify filename containing input files.
19060 file_list_spec=$lt_file_list_spec
19062 # How to hardcode a shared library path into an executable.
19063 hardcode_action=$hardcode_action
19065 # ### END LIBTOOL CONFIG
19071 cat <<\_LT_EOF >> "$cfgfile"
19072 # AIX sometimes has problems with the GCC collect2 program. For some
19073 # reason, if we set the COLLECT_NAMES environment variable, the problems
19074 # vanish in a puff of smoke.
19075 if test "X${COLLECT_NAMES+set}" != Xset; then
19077 export COLLECT_NAMES
19084 ltmain="$ac_aux_dir/ltmain.sh"
19087 # We use sed instead of cat because bash on DJGPP gets confused if
19088 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19089 # text mode, it properly converts lines to CR/LF. This bash problem
19090 # is reportedly fixed, but why not run on old versions too?
19091 sed '$q' "$ltmain" >> "$cfgfile" \
19092 || (rm -f "$cfgfile"; exit 1)
19094 if test x"$xsi_shell" = xyes; then
19095 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19099 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19100 \ * ) func_dirname_result="${3}" ;;\
19102 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19103 && mv -f "$cfgfile.tmp" "$cfgfile" \
19104 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19105 test 0 -eq $? || _lt_function_replace_fail=:
19108 sed -e '/^func_basename ()$/,/^} # func_basename /c\
19111 \ func_basename_result="${1##*/}"\
19112 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19113 && mv -f "$cfgfile.tmp" "$cfgfile" \
19114 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19115 test 0 -eq $? || _lt_function_replace_fail=:
19118 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19119 func_dirname_and_basename ()\
19122 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19123 \ * ) func_dirname_result="${3}" ;;\
19125 \ func_basename_result="${1##*/}"\
19126 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19127 && mv -f "$cfgfile.tmp" "$cfgfile" \
19128 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19129 test 0 -eq $? || _lt_function_replace_fail=:
19132 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19135 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19136 \ # positional parameters, so assign one to ordinary parameter first.\
19137 \ func_stripname_result=${3}\
19138 \ func_stripname_result=${func_stripname_result#"${1}"}\
19139 \ func_stripname_result=${func_stripname_result%"${2}"}\
19140 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19141 && mv -f "$cfgfile.tmp" "$cfgfile" \
19142 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19143 test 0 -eq $? || _lt_function_replace_fail=:
19146 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19147 func_split_long_opt ()\
19149 \ func_split_long_opt_name=${1%%=*}\
19150 \ func_split_long_opt_arg=${1#*=}\
19151 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19152 && mv -f "$cfgfile.tmp" "$cfgfile" \
19153 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19154 test 0 -eq $? || _lt_function_replace_fail=:
19157 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19158 func_split_short_opt ()\
19160 \ func_split_short_opt_arg=${1#??}\
19161 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19162 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19163 && mv -f "$cfgfile.tmp" "$cfgfile" \
19164 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19165 test 0 -eq $? || _lt_function_replace_fail=:
19168 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19172 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19173 \ *) func_lo2o_result=${1} ;;\
19175 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19176 && mv -f "$cfgfile.tmp" "$cfgfile" \
19177 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19178 test 0 -eq $? || _lt_function_replace_fail=:
19181 sed -e '/^func_xform ()$/,/^} # func_xform /c\
19184 func_xform_result=${1%.*}.lo\
19185 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19186 && mv -f "$cfgfile.tmp" "$cfgfile" \
19187 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19188 test 0 -eq $? || _lt_function_replace_fail=:
19191 sed -e '/^func_arith ()$/,/^} # func_arith /c\
19194 func_arith_result=$(( $* ))\
19195 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19196 && mv -f "$cfgfile.tmp" "$cfgfile" \
19197 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19198 test 0 -eq $? || _lt_function_replace_fail=:
19201 sed -e '/^func_len ()$/,/^} # func_len /c\
19204 func_len_result=${#1}\
19205 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19206 && mv -f "$cfgfile.tmp" "$cfgfile" \
19207 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19208 test 0 -eq $? || _lt_function_replace_fail=:
19212 if test x"$lt_shell_append" = xyes; then
19213 sed -e '/^func_append ()$/,/^} # func_append /c\
19216 eval "${1}+=\\${2}"\
19217 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19218 && mv -f "$cfgfile.tmp" "$cfgfile" \
19219 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19220 test 0 -eq $? || _lt_function_replace_fail=:
19223 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19224 func_append_quoted ()\
19226 \ func_quote_for_eval "${2}"\
19227 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19228 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19229 && mv -f "$cfgfile.tmp" "$cfgfile" \
19230 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19231 test 0 -eq $? || _lt_function_replace_fail=:
19234 # Save a `func_append' function call where possible by direct use of '+='
19235 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19236 && mv -f "$cfgfile.tmp" "$cfgfile" \
19237 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19238 test 0 -eq $? || _lt_function_replace_fail=:
19240 # Save a `func_append' function call even when '+=' is not available
19241 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19242 && mv -f "$cfgfile.tmp" "$cfgfile" \
19243 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19244 test 0 -eq $? || _lt_function_replace_fail=:
19247 if test x"$_lt_function_replace_fail" = x":"; then
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19249 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19253 mv -f "$cfgfile" "$ofile" ||
19254 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19258 "configure-embedded-ffmpeg":C) echo "Configuring included Libav instance with args $embffmpeg_configure_args"
19260 if test -z "$srcdir" -o "$srcdir" = .; then
19261 confcmd=./configure
19263 confcmd="$origdir"/"$ac_top_srcdir"/gst-libs/ext/libav/configure
19266 as_dir="$ac_top_build_prefix"gst-libs/ext/libav; as_fn_mkdir_p
19267 cd "$ac_top_build_prefix"gst-libs/ext/libav &&
19268 eval "$confcmd $embffmpeg_configure_args" ||
19269 as_fn_error $? "Failed to configure embedded Libav tree" "$LINENO" 5
19279 ac_clean_files=$ac_clean_files_save
19281 test $ac_write_fail = 0 ||
19282 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19285 # configure is writing to config.log, and then calls config.status.
19286 # config.status does its own redirection, appending to config.log.
19287 # Unfortunately, on DOS this fails, as config.log is still kept open
19288 # by configure, so config.status won't be able to write to it; its
19289 # output is simply discarded. So we exec the FD to /dev/null,
19290 # effectively closing config.log, so it can be properly (re)opened and
19291 # appended to by config.status. When coming back to configure, we
19292 # need to make the FD available again.
19293 if test "$no_create" != yes; then
19295 ac_config_status_args=
19296 test "$silent" = yes &&
19297 ac_config_status_args="$ac_config_status_args --quiet"
19299 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19301 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19302 # would make configure fail if this is the last instruction.
19303 $ac_cs_success || as_fn_exit 1
19305 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19307 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19312 if test "$HAVE_ORC" = yes ; then
19313 printf "configure: *** Orc acceleration enabled.\n"
19315 if test "x$enable_orc" = "xno" ; then
19316 printf "configure: *** Orc acceleration disabled by --disable-orc. Slower code paths\n"
19317 printf " will be used.\n"
19319 printf "configure: *** Orc acceleration disabled. Requires Orc >= $ORC_REQ, which was\n"
19320 printf " not found. Slower code paths will be used.\n"