2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for GStreamer FFMpeg 0.10.11.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir=.
194 for as_base in sh bash ksh sh5; do
195 # Try only shells that exist, to save several forks.
196 as_shell=$as_dir/$as_base
197 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 CONFIG_SHELL=$as_shell as_have_required=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210 CONFIG_SHELL=$SHELL as_have_required=yes
215 if test "x$CONFIG_SHELL" != x; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x$as_have_required = xno; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x${ZSH_VERSION+set} = xset ; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
235 $0: about your system, including any error possibly output
236 $0: before this message. Then install a modern shell, or
237 $0: manually run the script under such a shell if you do
244 SHELL=${CONFIG_SHELL-/bin/sh}
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
255 # Portably unset VAR.
258 { eval $1=; unset $1;}
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282 # Create "$as_dir" as a directory, including parents if necessary.
287 -*) as_dir=./$as_dir;;
289 test -d "$as_dir" || eval $as_mkdir_p || {
293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 as_dirs="'$as_qdir' $as_dirs"
297 as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 X"$as_dir" : 'X\(//\)[^/]' \| \
300 X"$as_dir" : 'X\(//\)$' \| \
301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320 test -d "$as_dir" && break
322 test -z "$as_dirs" || eval "mkdir $as_dirs"
323 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334 eval 'as_fn_append ()
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358 as_val=`expr "$@" || test $? -eq 1`
363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
364 # ----------------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with STATUS, using 1 if that was 0.
370 as_status=$1; test $as_status -eq 0 && as_status=1
372 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
375 $as_echo "$as_me: error: $2" >&2
376 as_fn_exit $as_status
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400 X"$0" : 'X\(//\)$' \| \
401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403 sed '/^.*\/\([^/][^/]*\)\/*$/{
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
425 as_lineno_1=$LINENO as_lineno_1a=$LINENO
426 as_lineno_2=$LINENO as_lineno_2a=$LINENO
427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445 chmod +x "$as_me.lineno" ||
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
448 # Don't try to exec as it changes $[0], causing all sort of problems
449 # (the dirname of $[0] is not the place where we might find the
450 # original and so on. Autoconf is especially sensitive to this).
452 # Exit status is that of the last command.
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
459 case `echo 'xy\c'` in
460 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471 rm -f conf$$.dir/conf$$.file
474 mkdir conf$$.dir 2>/dev/null
476 if (echo >conf$$.file) 2>/dev/null; then
477 if ln -s conf$$.file conf$$ 2>/dev/null; then
479 # ... but there are two gotchas:
480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482 # In both cases, we have to default to `cp -p'.
483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
485 elif ln conf$$.file conf$$ 2>/dev/null; then
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
496 if mkdir -p . 2>/dev/null; then
497 as_mkdir_p='mkdir -p "$as_dir"'
499 test -d ./-p && rmdir ./-p
503 if test -x / >/dev/null 2>&1; then
506 if ls -dL / >/dev/null 2>&1; then
513 if test -d "$1"; then
519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 ???[sx]*):;;*)false;;esac;fi
524 as_executable_p=$as_test_x
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 # Check that we are running under the correct shell.
535 SHELL=${CONFIG_SHELL-/bin/sh}
539 # Remove one level of quotation (which was required for Make).
540 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
545 if test "X$1" = X--no-reexec; then
546 # Discard the --no-reexec flag, and continue.
548 elif test "X$1" = X--fallback-echo; then
549 # Avoid inline document here, it may be left over
551 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552 # Yippee, $ECHO works!
555 # Restart under the correct shell.
556 exec $SHELL "$0" --no-reexec ${1+"$@"}
559 if test "X$1" = X--fallback-echo; then
560 # used as fallback echo
568 # The HP-UX ksh and POSIX shell print the target directory to stdout
570 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
572 if test -z "$lt_ECHO"; then
573 if test "X${echo_test_string+set}" != Xset; then
574 # find a string as large as possible, as long as the shell can cope with it
575 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
585 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587 test "X$echo_testing_string" = "X$echo_test_string"; then
590 # The Solaris, AIX, and Digital Unix default echo programs unquote
591 # backslashes. This makes it impossible to quote backslashes using
592 # echo "$something" | sed 's/\\/\\\\/g'
594 # So, first we look for a working echo in the user's PATH.
596 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597 for dir in $PATH /usr/ucb; do
599 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602 test "X$echo_testing_string" = "X$echo_test_string"; then
609 if test "X$ECHO" = Xecho; then
610 # We didn't find a better echo, so look for alternatives.
611 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613 test "X$echo_testing_string" = "X$echo_test_string"; then
614 # This shell has a builtin print -r that does the trick.
616 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617 test "X$CONFIG_SHELL" != X/bin/ksh; then
618 # If we have ksh, try running configure again with it.
619 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620 export ORIGINAL_CONFIG_SHELL
621 CONFIG_SHELL=/bin/ksh
623 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
627 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
632 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633 test "X$echo_testing_string" = 'X\t' &&
634 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635 test "X$echo_testing_string" = "X$echo_test_string"; then
636 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
638 SHELL="$CONFIG_SHELL"
640 ECHO="$CONFIG_SHELL $0 --fallback-echo"
641 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642 test "X$echo_testing_string" = 'X\t' &&
643 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644 test "X$echo_testing_string" = "X$echo_test_string"; then
645 ECHO="$CONFIG_SHELL $0 --fallback-echo"
647 # maybe with a smaller string...
650 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
658 if test "$prev" != 'sed 50q "$0"'; then
659 echo_test_string=`eval $prev`
660 export echo_test_string
661 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
663 # Oops. We lost completely, so just stick with echo.
672 # Copy echo and quote the copy suitably for passing to libtool from
673 # the Makefile, instead of quoting the original, which is used later.
675 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
682 test -n "$DJDIR" || exec 7<&0 </dev/null
686 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
687 # so uname gets run too.
688 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
693 ac_default_prefix=/usr/local
695 ac_config_libobj_dir=.
702 # Identity of this package.
703 PACKAGE_NAME='GStreamer FFMpeg'
704 PACKAGE_TARNAME='gst-ffmpeg'
705 PACKAGE_VERSION='0.10.11'
706 PACKAGE_STRING='GStreamer FFMpeg 0.10.11'
707 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
710 ac_unique_file="ext/ffmpeg/gstffmpeg.c"
711 # Factoring default headers for most tests.
712 ac_includes_default="\
714 #ifdef HAVE_SYS_TYPES_H
715 # include <sys/types.h>
717 #ifdef HAVE_SYS_STAT_H
718 # include <sys/stat.h>
724 # ifdef HAVE_STDLIB_H
729 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
734 #ifdef HAVE_STRINGS_H
735 # include <strings.h>
737 #ifdef HAVE_INTTYPES_H
738 # include <inttypes.h>
747 ac_subst_vars='am__EXEEXT_FALSE
751 HAVE_FFMPEG_UNINSTALLED_FALSE
752 HAVE_FFMPEG_UNINSTALLED_TRUE
755 FFMPEG_EXTERNALS_REVISION
789 GST_PLUGINS_BASE_LIBS
790 GST_PLUGINS_BASE_CFLAGS
798 ENABLE_PLUGIN_DOCS_FALSE
799 ENABLE_PLUGIN_DOCS_TRUE
809 GTK_DOC_USE_LIBTOOL_FALSE
810 GTK_DOC_USE_LIBTOOL_TRUE
842 HAVE_CPU_CRISV32_FALSE
843 HAVE_CPU_CRISV32_TRUE
846 HAVE_CPU_X86_64_FALSE
926 MAINTAINER_MODE_FALSE
928 PACKAGE_VERSION_RELEASE
930 PACKAGE_VERSION_MICRO
931 PACKAGE_VERSION_MINOR
932 PACKAGE_VERSION_MAJOR
941 INSTALL_STRIP_PROGRAM
983 program_transform_name
996 enable_option_checking
997 enable_maintainer_mode
1003 enable_dependency_tracking
1010 with_pkg_config_path
1019 with_ffmpeg_extra_configure
1021 ac_precious_vars='build_alias
1037 GST_PLUGINS_BASE_CFLAGS
1038 GST_PLUGINS_BASE_LIBS
1051 # Initialize some variables set by options.
1053 ac_init_version=false
1054 ac_unrecognized_opts=
1055 ac_unrecognized_sep=
1056 # The variables have the same names as the options, with
1057 # dashes changed to underlines.
1058 cache_file=/dev/null
1065 program_transform_name=s,x,x,
1073 # Installation directory options.
1074 # These are left unexpanded so users can "make install exec_prefix=/foo"
1075 # and all the variables that are supposed to be based on exec_prefix
1076 # by default will actually change.
1077 # Use braces instead of parens because sh, perl, etc. also accept them.
1078 # (The list follows the same order as the GNU Coding Standards.)
1079 bindir='${exec_prefix}/bin'
1080 sbindir='${exec_prefix}/sbin'
1081 libexecdir='${exec_prefix}/libexec'
1082 datarootdir='${prefix}/share'
1083 datadir='${datarootdir}'
1084 sysconfdir='${prefix}/etc'
1085 sharedstatedir='${prefix}/com'
1086 localstatedir='${prefix}/var'
1087 includedir='${prefix}/include'
1088 oldincludedir='/usr/include'
1089 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1090 infodir='${datarootdir}/info'
1095 libdir='${exec_prefix}/lib'
1096 localedir='${datarootdir}/locale'
1097 mandir='${datarootdir}/man'
1103 # If the previous option needs an argument, assign it.
1104 if test -n "$ac_prev"; then
1105 eval $ac_prev=\$ac_option
1111 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1116 # Accept the important Cygnus configure options, so we can diagnose typos.
1118 case $ac_dashdash$ac_option in
1122 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1124 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1125 bindir=$ac_optarg ;;
1127 -build | --build | --buil | --bui | --bu)
1128 ac_prev=build_alias ;;
1129 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1130 build_alias=$ac_optarg ;;
1132 -cache-file | --cache-file | --cache-fil | --cache-fi \
1133 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1134 ac_prev=cache_file ;;
1135 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1136 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1137 cache_file=$ac_optarg ;;
1139 --config-cache | -C)
1140 cache_file=config.cache ;;
1142 -datadir | --datadir | --datadi | --datad)
1144 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1145 datadir=$ac_optarg ;;
1147 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1148 | --dataroo | --dataro | --datar)
1149 ac_prev=datarootdir ;;
1150 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1151 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1152 datarootdir=$ac_optarg ;;
1154 -disable-* | --disable-*)
1155 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1158 as_fn_error $? "invalid feature name: $ac_useropt"
1159 ac_useropt_orig=$ac_useropt
1160 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161 case $ac_user_opts in
1163 "enable_$ac_useropt"
1165 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1166 ac_unrecognized_sep=', ';;
1168 eval enable_$ac_useropt=no ;;
1170 -docdir | --docdir | --docdi | --doc | --do)
1172 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1173 docdir=$ac_optarg ;;
1175 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1177 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1178 dvidir=$ac_optarg ;;
1180 -enable-* | --enable-*)
1181 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1184 as_fn_error $? "invalid feature name: $ac_useropt"
1185 ac_useropt_orig=$ac_useropt
1186 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1187 case $ac_user_opts in
1189 "enable_$ac_useropt"
1191 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1192 ac_unrecognized_sep=', ';;
1194 eval enable_$ac_useropt=\$ac_optarg ;;
1196 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1197 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1198 | --exec | --exe | --ex)
1199 ac_prev=exec_prefix ;;
1200 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1201 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1202 | --exec=* | --exe=* | --ex=*)
1203 exec_prefix=$ac_optarg ;;
1205 -gas | --gas | --ga | --g)
1206 # Obsolete; use --with-gas.
1209 -help | --help | --hel | --he | -h)
1210 ac_init_help=long ;;
1211 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1212 ac_init_help=recursive ;;
1213 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1214 ac_init_help=short ;;
1216 -host | --host | --hos | --ho)
1217 ac_prev=host_alias ;;
1218 -host=* | --host=* | --hos=* | --ho=*)
1219 host_alias=$ac_optarg ;;
1221 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1223 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1225 htmldir=$ac_optarg ;;
1227 -includedir | --includedir | --includedi | --included | --include \
1228 | --includ | --inclu | --incl | --inc)
1229 ac_prev=includedir ;;
1230 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1231 | --includ=* | --inclu=* | --incl=* | --inc=*)
1232 includedir=$ac_optarg ;;
1234 -infodir | --infodir | --infodi | --infod | --info | --inf)
1236 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1237 infodir=$ac_optarg ;;
1239 -libdir | --libdir | --libdi | --libd)
1241 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1242 libdir=$ac_optarg ;;
1244 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1245 | --libexe | --libex | --libe)
1246 ac_prev=libexecdir ;;
1247 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1248 | --libexe=* | --libex=* | --libe=*)
1249 libexecdir=$ac_optarg ;;
1251 -localedir | --localedir | --localedi | --localed | --locale)
1252 ac_prev=localedir ;;
1253 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1254 localedir=$ac_optarg ;;
1256 -localstatedir | --localstatedir | --localstatedi | --localstated \
1257 | --localstate | --localstat | --localsta | --localst | --locals)
1258 ac_prev=localstatedir ;;
1259 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1260 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1261 localstatedir=$ac_optarg ;;
1263 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1265 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1266 mandir=$ac_optarg ;;
1268 -nfp | --nfp | --nf)
1269 # Obsolete; use --without-fp.
1272 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1273 | --no-cr | --no-c | -n)
1276 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1277 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1280 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1281 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1282 | --oldin | --oldi | --old | --ol | --o)
1283 ac_prev=oldincludedir ;;
1284 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1285 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1286 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1287 oldincludedir=$ac_optarg ;;
1289 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1291 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1292 prefix=$ac_optarg ;;
1294 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1295 | --program-pre | --program-pr | --program-p)
1296 ac_prev=program_prefix ;;
1297 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1298 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1299 program_prefix=$ac_optarg ;;
1301 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1302 | --program-suf | --program-su | --program-s)
1303 ac_prev=program_suffix ;;
1304 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1305 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1306 program_suffix=$ac_optarg ;;
1308 -program-transform-name | --program-transform-name \
1309 | --program-transform-nam | --program-transform-na \
1310 | --program-transform-n | --program-transform- \
1311 | --program-transform | --program-transfor \
1312 | --program-transfo | --program-transf \
1313 | --program-trans | --program-tran \
1314 | --progr-tra | --program-tr | --program-t)
1315 ac_prev=program_transform_name ;;
1316 -program-transform-name=* | --program-transform-name=* \
1317 | --program-transform-nam=* | --program-transform-na=* \
1318 | --program-transform-n=* | --program-transform-=* \
1319 | --program-transform=* | --program-transfor=* \
1320 | --program-transfo=* | --program-transf=* \
1321 | --program-trans=* | --program-tran=* \
1322 | --progr-tra=* | --program-tr=* | --program-t=*)
1323 program_transform_name=$ac_optarg ;;
1325 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1327 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1328 pdfdir=$ac_optarg ;;
1330 -psdir | --psdir | --psdi | --psd | --ps)
1332 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1335 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1336 | -silent | --silent | --silen | --sile | --sil)
1339 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1341 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1343 sbindir=$ac_optarg ;;
1345 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1346 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1347 | --sharedst | --shareds | --shared | --share | --shar \
1349 ac_prev=sharedstatedir ;;
1350 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1351 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1352 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1354 sharedstatedir=$ac_optarg ;;
1356 -site | --site | --sit)
1358 -site=* | --site=* | --sit=*)
1361 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1363 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1364 srcdir=$ac_optarg ;;
1366 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1367 | --syscon | --sysco | --sysc | --sys | --sy)
1368 ac_prev=sysconfdir ;;
1369 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1370 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1371 sysconfdir=$ac_optarg ;;
1373 -target | --target | --targe | --targ | --tar | --ta | --t)
1374 ac_prev=target_alias ;;
1375 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1376 target_alias=$ac_optarg ;;
1378 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1381 -version | --version | --versio | --versi | --vers | -V)
1382 ac_init_version=: ;;
1385 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1388 as_fn_error $? "invalid package name: $ac_useropt"
1389 ac_useropt_orig=$ac_useropt
1390 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1391 case $ac_user_opts in
1395 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1396 ac_unrecognized_sep=', ';;
1398 eval with_$ac_useropt=\$ac_optarg ;;
1400 -without-* | --without-*)
1401 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1402 # Reject names that are not valid shell variable names.
1403 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1404 as_fn_error $? "invalid package name: $ac_useropt"
1405 ac_useropt_orig=$ac_useropt
1406 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1407 case $ac_user_opts in
1411 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1412 ac_unrecognized_sep=', ';;
1414 eval with_$ac_useropt=no ;;
1417 # Obsolete; use --with-x.
1420 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1421 | --x-incl | --x-inc | --x-in | --x-i)
1422 ac_prev=x_includes ;;
1423 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1424 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1425 x_includes=$ac_optarg ;;
1427 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1428 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1429 ac_prev=x_libraries ;;
1430 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1431 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1432 x_libraries=$ac_optarg ;;
1434 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1435 Try \`$0 --help' for more information"
1439 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1440 # Reject names that are not valid shell variable names.
1441 case $ac_envvar in #(
1442 '' | [0-9]* | *[!_$as_cr_alnum]* )
1443 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1445 eval $ac_envvar=\$ac_optarg
1446 export $ac_envvar ;;
1449 # FIXME: should be removed in autoconf 3.0.
1450 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1451 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1452 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1453 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1459 if test -n "$ac_prev"; then
1460 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1461 as_fn_error $? "missing argument to $ac_option"
1464 if test -n "$ac_unrecognized_opts"; then
1465 case $enable_option_checking in
1467 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1468 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1472 # Check all directory arguments for consistency.
1473 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1474 datadir sysconfdir sharedstatedir localstatedir includedir \
1475 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1476 libdir localedir mandir
1478 eval ac_val=\$$ac_var
1479 # Remove trailing slashes.
1482 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1483 eval $ac_var=\$ac_val;;
1485 # Be sure to have absolute directory names.
1487 [\\/$]* | ?:[\\/]* ) continue;;
1488 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1490 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1493 # There might be people who depend on the old broken behavior: `$host'
1494 # used to hold the argument of --host etc.
1495 # FIXME: To remove some day.
1498 target=$target_alias
1500 # FIXME: To remove some day.
1501 if test "x$host_alias" != x; then
1502 if test "x$build_alias" = x; then
1503 cross_compiling=maybe
1504 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1505 If a cross compiler is detected then cross compile mode will be used" >&2
1506 elif test "x$build_alias" != "x$host_alias"; then
1512 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1514 test "$silent" = yes && exec 6>/dev/null
1517 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1518 ac_ls_di=`ls -di .` &&
1519 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1520 as_fn_error $? "working directory cannot be determined"
1521 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1522 as_fn_error $? "pwd does not report name of working directory"
1525 # Find the source files, if location was not specified.
1526 if test -z "$srcdir"; then
1527 ac_srcdir_defaulted=yes
1528 # Try the directory containing this script, then the parent directory.
1529 ac_confdir=`$as_dirname -- "$as_myself" ||
1530 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1531 X"$as_myself" : 'X\(//\)[^/]' \| \
1532 X"$as_myself" : 'X\(//\)$' \| \
1533 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1534 $as_echo X"$as_myself" |
1535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1553 if test ! -r "$srcdir/$ac_unique_file"; then
1557 ac_srcdir_defaulted=no
1559 if test ! -r "$srcdir/$ac_unique_file"; then
1560 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1561 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1563 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1565 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1567 # When building in place, set srcdir=.
1568 if test "$ac_abs_confdir" = "$ac_pwd"; then
1571 # Remove unnecessary trailing slashes from srcdir.
1572 # Double slashes in file names in object file debugging info
1573 # mess up M-x gdb in Emacs.
1575 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1577 for ac_var in $ac_precious_vars; do
1578 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1579 eval ac_env_${ac_var}_value=\$${ac_var}
1580 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1581 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1585 # Report the --help message.
1587 if test "$ac_init_help" = "long"; then
1588 # Omit some internal or obsolete options to make the list less imposing.
1589 # This message is too long to be a string in the A/UX 3.1 sh.
1591 \`configure' configures GStreamer FFMpeg 0.10.11 to adapt to many kinds of systems.
1593 Usage: $0 [OPTION]... [VAR=VALUE]...
1595 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1596 VAR=VALUE. See below for descriptions of some of the useful variables.
1598 Defaults for the options are specified in brackets.
1601 -h, --help display this help and exit
1602 --help=short display options specific to this package
1603 --help=recursive display the short help of all the included packages
1604 -V, --version display version information and exit
1605 -q, --quiet, --silent do not print \`checking ...' messages
1606 --cache-file=FILE cache test results in FILE [disabled]
1607 -C, --config-cache alias for \`--cache-file=config.cache'
1608 -n, --no-create do not create output files
1609 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1611 Installation directories:
1612 --prefix=PREFIX install architecture-independent files in PREFIX
1613 [$ac_default_prefix]
1614 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1617 By default, \`make install' will install all the files in
1618 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1619 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1620 for instance \`--prefix=\$HOME'.
1622 For better control, use the options below.
1624 Fine tuning of the installation directories:
1625 --bindir=DIR user executables [EPREFIX/bin]
1626 --sbindir=DIR system admin executables [EPREFIX/sbin]
1627 --libexecdir=DIR program executables [EPREFIX/libexec]
1628 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1629 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1630 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1631 --libdir=DIR object code libraries [EPREFIX/lib]
1632 --includedir=DIR C header files [PREFIX/include]
1633 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1634 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1635 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1636 --infodir=DIR info documentation [DATAROOTDIR/info]
1637 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1638 --mandir=DIR man documentation [DATAROOTDIR/man]
1639 --docdir=DIR documentation root [DATAROOTDIR/doc/gst-ffmpeg]
1640 --htmldir=DIR html documentation [DOCDIR]
1641 --dvidir=DIR dvi documentation [DOCDIR]
1642 --pdfdir=DIR pdf documentation [DOCDIR]
1643 --psdir=DIR ps documentation [DOCDIR]
1649 --program-prefix=PREFIX prepend PREFIX to installed program names
1650 --program-suffix=SUFFIX append SUFFIX to installed program names
1651 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1654 --build=BUILD configure for building on BUILD [guessed]
1655 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1659 if test -n "$ac_init_help"; then
1660 case $ac_init_help in
1661 short | recursive ) echo "Configuration of GStreamer FFMpeg 0.10.11:";;
1666 --disable-option-checking ignore unrecognized --enable/--with options
1667 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1668 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1669 --enable-maintainer-mode enable make rules and dependencies not useful
1670 (and sometimes confusing) to the casual installer
1671 --enable-silent-rules less verbose build output (undo: `make V=1')
1672 --disable-silent-rules verbose build output (undo: `make V=0')
1673 --enable-shared[=PKGS] build shared libraries [default=yes]
1674 --enable-static[=PKGS] build static libraries [default=yes]
1675 --enable-fast-install[=PKGS]
1676 optimize for fast installation [default=yes]
1677 --disable-dependency-tracking speeds up one-time build
1678 --enable-dependency-tracking do not reject slow dependency extractors
1679 --disable-libtool-lock avoid locking (might break parallel builds)
1680 --disable-valgrind disable run-time valgrind detection
1681 --enable-docbook use docbook to build documentation [default=no]
1682 --enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1683 --enable-orc use Orc if installed
1686 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1687 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1688 --with-pic try to use only PIC/non-PIC objects [default=use
1690 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1691 --with-autoconf use a different autoconf for regeneration of
1693 --with-autoheader use a different autoheader for regeneration of
1695 --with-automake use a different automake for regeneration of
1697 --with-aclocal use a different aclocal for regeneration of
1699 --with-pkg-config-path colon-separated list of pkg-config(1) dirs
1700 --with-package-name specify package name to use in plugins
1701 --with-package-origin specify package origin URL to use in plugins
1702 --with-html-dir=PATH path to installed docs
1703 --with-system-ffmpeg use system FFmpeg libraries
1704 --with-ffmpeg-extra-configure="xxx"
1705 extra configure options for internal ffmpeg
1708 Some influential environment variables:
1709 CC C compiler command
1710 CFLAGS C compiler flags
1711 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1712 nonstandard directory <lib dir>
1713 LIBS libraries to pass to the linker, e.g. -l<library>
1714 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1715 you have headers in a nonstandard directory <include dir>
1717 PKG_CONFIG path to pkg-config utility
1719 C compiler flags for VALGRIND, overriding pkg-config
1721 linker flags for VALGRIND, overriding pkg-config
1722 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1723 GST_LIBS linker flags for GST, overriding pkg-config
1725 C compiler flags for GST_BASE, overriding pkg-config
1727 linker flags for GST_BASE, overriding pkg-config
1728 GST_PLUGINS_BASE_CFLAGS
1729 C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
1730 GST_PLUGINS_BASE_LIBS
1731 linker flags for GST_PLUGINS_BASE, overriding pkg-config
1733 C compiler flags for GST_CHECK, overriding pkg-config
1735 linker flags for GST_CHECK, overriding pkg-config
1736 ORC_CFLAGS C compiler flags for ORC, overriding pkg-config
1737 ORC_LIBS linker flags for ORC, overriding pkg-config
1739 C compiler flags for FFMPEG, overriding pkg-config
1740 FFMPEG_LIBS linker flags for FFMPEG, overriding pkg-config
1742 C compiler flags for POSTPROC, overriding pkg-config
1744 linker flags for POSTPROC, overriding pkg-config
1746 C compiler flags for SWSCALE, overriding pkg-config
1748 linker flags for SWSCALE, overriding pkg-config
1750 Use these variables to override the choices made by `configure' or to help
1751 it to find libraries and programs with nonstandard names/locations.
1753 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
1758 if test "$ac_init_help" = "recursive"; then
1759 # If there are subdirs, report their specific --help.
1760 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1761 test -d "$ac_dir" ||
1762 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1767 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1769 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1770 # A ".." for each directory in $ac_dir_suffix.
1771 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1772 case $ac_top_builddir_sub in
1773 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1774 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1777 ac_abs_top_builddir=$ac_pwd
1778 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1779 # for backward compatibility:
1780 ac_top_builddir=$ac_top_build_prefix
1783 .) # We are building in place.
1785 ac_top_srcdir=$ac_top_builddir_sub
1786 ac_abs_top_srcdir=$ac_pwd ;;
1787 [\\/]* | ?:[\\/]* ) # Absolute name.
1788 ac_srcdir=$srcdir$ac_dir_suffix;
1789 ac_top_srcdir=$srcdir
1790 ac_abs_top_srcdir=$srcdir ;;
1792 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1793 ac_top_srcdir=$ac_top_build_prefix$srcdir
1794 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1796 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1798 cd "$ac_dir" || { ac_status=$?; continue; }
1799 # Check for guested configure.
1800 if test -f "$ac_srcdir/configure.gnu"; then
1802 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1803 elif test -f "$ac_srcdir/configure"; then
1805 $SHELL "$ac_srcdir/configure" --help=recursive
1807 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1809 cd "$ac_pwd" || { ac_status=$?; break; }
1813 test -n "$ac_init_help" && exit $ac_status
1814 if $ac_init_version; then
1816 GStreamer FFMpeg configure 0.10.11
1817 generated by GNU Autoconf 2.67
1819 Copyright (C) 2010 Free Software Foundation, Inc.
1820 This configure script is free software; the Free Software Foundation
1821 gives unlimited permission to copy, distribute and modify it.
1826 ## ------------------------ ##
1827 ## Autoconf initialization. ##
1828 ## ------------------------ ##
1830 # ac_fn_c_try_compile LINENO
1831 # --------------------------
1832 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1833 ac_fn_c_try_compile ()
1835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1836 rm -f conftest.$ac_objext
1837 if { { ac_try="$ac_compile"
1839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1840 *) ac_try_echo=$ac_try;;
1842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844 (eval "$ac_compile") 2>conftest.err
1846 if test -s conftest.err; then
1847 grep -v '^ *+' conftest.err >conftest.er1
1848 cat conftest.er1 >&5
1849 mv -f conftest.er1 conftest.err
1851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1852 test $ac_status = 0; } && {
1853 test -z "$ac_c_werror_flag" ||
1854 test ! -s conftest.err
1855 } && test -s conftest.$ac_objext; then :
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1863 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1864 as_fn_set_status $ac_retval
1866 } # ac_fn_c_try_compile
1868 # ac_fn_c_try_link LINENO
1869 # -----------------------
1870 # Try to link conftest.$ac_ext, and return whether this succeeded.
1873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1874 rm -f conftest.$ac_objext conftest$ac_exeext
1875 if { { ac_try="$ac_link"
1877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1878 *) ac_try_echo=$ac_try;;
1880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1881 $as_echo "$ac_try_echo"; } >&5
1882 (eval "$ac_link") 2>conftest.err
1884 if test -s conftest.err; then
1885 grep -v '^ *+' conftest.err >conftest.er1
1886 cat conftest.er1 >&5
1887 mv -f conftest.er1 conftest.err
1889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1890 test $ac_status = 0; } && {
1891 test -z "$ac_c_werror_flag" ||
1892 test ! -s conftest.err
1893 } && test -s conftest$ac_exeext && {
1894 test "$cross_compiling" = yes ||
1895 $as_test_x conftest$ac_exeext
1899 $as_echo "$as_me: failed program was:" >&5
1900 sed 's/^/| /' conftest.$ac_ext >&5
1904 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1905 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1906 # interfere with the next link command; also delete a directory that is
1907 # left behind by Apple's compiler. We do this before executing the actions.
1908 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1909 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1910 as_fn_set_status $ac_retval
1912 } # ac_fn_c_try_link
1914 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1915 # -------------------------------------------------------
1916 # Tests whether HEADER exists and can be compiled using the include files in
1917 # INCLUDES, setting the cache variable VAR accordingly.
1918 ac_fn_c_check_header_compile ()
1920 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1922 $as_echo_n "checking for $2... " >&6; }
1923 if eval "test \"\${$3+set}\"" = set; then :
1924 $as_echo_n "(cached) " >&6
1926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1927 /* end confdefs.h. */
1931 if ac_fn_c_try_compile "$LINENO"; then :
1936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1940 $as_echo "$ac_res" >&6; }
1941 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1943 } # ac_fn_c_check_header_compile
1945 # ac_fn_c_try_cpp LINENO
1946 # ----------------------
1947 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951 if { { ac_try="$ac_cpp conftest.$ac_ext"
1953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1954 *) ac_try_echo=$ac_try;;
1956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1957 $as_echo "$ac_try_echo"; } >&5
1958 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1960 if test -s conftest.err; then
1961 grep -v '^ *+' conftest.err >conftest.er1
1962 cat conftest.er1 >&5
1963 mv -f conftest.er1 conftest.err
1965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1966 test $ac_status = 0; } > conftest.i && {
1967 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1968 test ! -s conftest.err
1972 $as_echo "$as_me: failed program was:" >&5
1973 sed 's/^/| /' conftest.$ac_ext >&5
1977 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1978 as_fn_set_status $ac_retval
1982 # ac_fn_c_try_run LINENO
1983 # ----------------------
1984 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1985 # that executables *can* be run.
1988 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1989 if { { ac_try="$ac_link"
1991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1992 *) ac_try_echo=$ac_try;;
1994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1995 $as_echo "$ac_try_echo"; } >&5
1996 (eval "$ac_link") 2>&5
1998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1999 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2000 { { case "(($ac_try" in
2001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002 *) ac_try_echo=$ac_try;;
2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006 (eval "$ac_try") 2>&5
2008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2009 test $ac_status = 0; }; }; then :
2012 $as_echo "$as_me: program exited with status $ac_status" >&5
2013 $as_echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.$ac_ext >&5
2016 ac_retval=$ac_status
2018 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2019 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2020 as_fn_set_status $ac_retval
2024 # ac_fn_c_check_func LINENO FUNC VAR
2025 # ----------------------------------
2026 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2027 ac_fn_c_check_func ()
2029 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2031 $as_echo_n "checking for $2... " >&6; }
2032 if eval "test \"\${$3+set}\"" = set; then :
2033 $as_echo_n "(cached) " >&6
2035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h. */
2037 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2039 #define $2 innocuous_$2
2041 /* System header to define __stub macros and hopefully few prototypes,
2042 which can conflict with char $2 (); below.
2043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2044 <limits.h> exists even on freestanding compilers. */
2047 # include <limits.h>
2049 # include <assert.h>
2054 /* Override any GCC internal prototype to avoid an error.
2055 Use char because int might match the return type of a GCC
2056 builtin and then its argument prototype would still apply. */
2061 /* The GNU C library defines this for functions which it implements
2062 to always fail with ENOSYS. Some functions are actually named
2063 something starting with __ and the normal name is an alias. */
2064 #if defined __stub_$2 || defined __stub___$2
2076 if ac_fn_c_try_link "$LINENO"; then :
2081 rm -f core conftest.err conftest.$ac_objext \
2082 conftest$ac_exeext conftest.$ac_ext
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2086 $as_echo "$ac_res" >&6; }
2087 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2089 } # ac_fn_c_check_func
2091 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2092 # ---------------------------------------------
2093 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2095 ac_fn_c_check_decl ()
2097 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2098 as_decl_name=`echo $2|sed 's/ *(.*//'`
2099 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2101 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2102 if eval "test \"\${$3+set}\"" = set; then :
2103 $as_echo_n "(cached) " >&6
2105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2106 /* end confdefs.h. */
2111 #ifndef $as_decl_name
2113 (void) $as_decl_use;
2115 (void) $as_decl_name;
2123 if ac_fn_c_try_compile "$LINENO"; then :
2128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2132 $as_echo "$ac_res" >&6; }
2133 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2135 } # ac_fn_c_check_decl
2137 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2138 # -------------------------------------------------------
2139 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2140 # the include files in INCLUDES and setting the cache variable VAR
2142 ac_fn_c_check_header_mongrel ()
2144 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2145 if eval "test \"\${$3+set}\"" = set; then :
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2147 $as_echo_n "checking for $2... " >&6; }
2148 if eval "test \"\${$3+set}\"" = set; then :
2149 $as_echo_n "(cached) " >&6
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2153 $as_echo "$ac_res" >&6; }
2155 # Is the header compilable?
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2157 $as_echo_n "checking $2 usability... " >&6; }
2158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2159 /* end confdefs.h. */
2163 if ac_fn_c_try_compile "$LINENO"; then :
2164 ac_header_compiler=yes
2166 ac_header_compiler=no
2168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2170 $as_echo "$ac_header_compiler" >&6; }
2172 # Is the header present?
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2174 $as_echo_n "checking $2 presence... " >&6; }
2175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2176 /* end confdefs.h. */
2179 if ac_fn_c_try_cpp "$LINENO"; then :
2180 ac_header_preproc=yes
2182 ac_header_preproc=no
2184 rm -f conftest.err conftest.i conftest.$ac_ext
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2186 $as_echo "$ac_header_preproc" >&6; }
2188 # So? What about this header?
2189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2192 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2194 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2198 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2200 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2202 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2204 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2206 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2207 ( $as_echo "## ------------------------------------------------------------------------ ##
2208 ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ##
2209 ## ------------------------------------------------------------------------ ##"
2210 ) | sed "s/^/$as_me: WARNING: /" >&2
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2214 $as_echo_n "checking for $2... " >&6; }
2215 if eval "test \"\${$3+set}\"" = set; then :
2216 $as_echo_n "(cached) " >&6
2218 eval "$3=\$ac_header_compiler"
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2222 $as_echo "$ac_res" >&6; }
2224 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2226 } # ac_fn_c_check_header_mongrel
2227 cat >config.log <<_ACEOF
2228 This file contains any messages produced by compilers while
2229 running configure, to aid debugging if configure makes a mistake.
2231 It was created by GStreamer FFMpeg $as_me 0.10.11, which was
2232 generated by GNU Autoconf 2.67. Invocation command line was
2244 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2245 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2246 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2247 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2248 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2250 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2251 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2253 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2254 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2255 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2256 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2257 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2258 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2259 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2267 test -z "$as_dir" && as_dir=.
2268 $as_echo "PATH: $as_dir"
2284 # Keep a trace of the command line.
2285 # Strip out --no-create and --no-recursion so they do not pile up.
2286 # Strip out --silent because we don't want to record it for future runs.
2287 # Also quote any args containing shell meta-characters.
2288 # Make two passes to allow for proper duplicate-argument suppression.
2292 ac_must_keep_next=false
2298 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2299 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2300 | -silent | --silent | --silen | --sile | --sil)
2303 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2306 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2308 as_fn_append ac_configure_args1 " '$ac_arg'"
2309 if test $ac_must_keep_next = true; then
2310 ac_must_keep_next=false # Got value, back to normal.
2313 *=* | --config-cache | -C | -disable-* | --disable-* \
2314 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2315 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2316 | -with-* | --with-* | -without-* | --without-* | --x)
2317 case "$ac_configure_args0 " in
2318 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2321 -* ) ac_must_keep_next=true ;;
2324 as_fn_append ac_configure_args " '$ac_arg'"
2329 { ac_configure_args0=; unset ac_configure_args0;}
2330 { ac_configure_args1=; unset ac_configure_args1;}
2332 # When interrupted or exit'd, cleanup temporary files, and complete
2333 # config.log. We remove comments because anyway the quotes in there
2334 # would cause problems or look ugly.
2335 # WARNING: Use '\'' to represent an apostrophe within the trap.
2336 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2337 trap 'exit_status=$?
2338 # Save into config.log some information that might help in debugging.
2342 $as_echo "## ---------------- ##
2343 ## Cache variables. ##
2344 ## ---------------- ##"
2346 # The following way of writing the cache mishandles newlines in values,
2348 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2349 eval ac_val=\$$ac_var
2353 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2354 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2357 _ | IFS | as_nl) ;; #(
2358 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2359 *) { eval $ac_var=; unset $ac_var;} ;;
2364 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2365 *${as_nl}ac_space=\ *)
2367 "s/'\''/'\''\\\\'\'''\''/g;
2368 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2371 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2378 $as_echo "## ----------------- ##
2379 ## Output variables. ##
2380 ## ----------------- ##"
2382 for ac_var in $ac_subst_vars
2384 eval ac_val=\$$ac_var
2386 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2388 $as_echo "$ac_var='\''$ac_val'\''"
2392 if test -n "$ac_subst_files"; then
2393 $as_echo "## ------------------- ##
2394 ## File substitutions. ##
2395 ## ------------------- ##"
2397 for ac_var in $ac_subst_files
2399 eval ac_val=\$$ac_var
2401 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2403 $as_echo "$ac_var='\''$ac_val'\''"
2408 if test -s confdefs.h; then
2409 $as_echo "## ----------- ##
2416 test "$ac_signal" != 0 &&
2417 $as_echo "$as_me: caught signal $ac_signal"
2418 $as_echo "$as_me: exit $exit_status"
2420 rm -f core *.core core.conftest.* &&
2421 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2424 for ac_signal in 1 2 13 15; do
2425 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2429 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2430 rm -f -r conftest* confdefs.h
2432 $as_echo "/* confdefs.h */" > confdefs.h
2434 # Predefined preprocessor variables.
2436 cat >>confdefs.h <<_ACEOF
2437 #define PACKAGE_NAME "$PACKAGE_NAME"
2440 cat >>confdefs.h <<_ACEOF
2441 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2444 cat >>confdefs.h <<_ACEOF
2445 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2448 cat >>confdefs.h <<_ACEOF
2449 #define PACKAGE_STRING "$PACKAGE_STRING"
2452 cat >>confdefs.h <<_ACEOF
2453 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2456 cat >>confdefs.h <<_ACEOF
2457 #define PACKAGE_URL "$PACKAGE_URL"
2461 # Let the site file select an alternate cache file if it wants to.
2462 # Prefer an explicitly selected file to automatically selected ones.
2465 if test -n "$CONFIG_SITE"; then
2466 # We do not want a PATH search for config.site.
2467 case $CONFIG_SITE in #((
2468 -*) ac_site_file1=./$CONFIG_SITE;;
2469 */*) ac_site_file1=$CONFIG_SITE;;
2470 *) ac_site_file1=./$CONFIG_SITE;;
2472 elif test "x$prefix" != xNONE; then
2473 ac_site_file1=$prefix/share/config.site
2474 ac_site_file2=$prefix/etc/config.site
2476 ac_site_file1=$ac_default_prefix/share/config.site
2477 ac_site_file2=$ac_default_prefix/etc/config.site
2479 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2481 test "x$ac_site_file" = xNONE && continue
2482 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2484 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2485 sed 's/^/| /' "$ac_site_file" >&5
2487 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2489 as_fn_error $? "failed to load site script $ac_site_file
2490 See \`config.log' for more details" "$LINENO" 5 ; }
2494 if test -r "$cache_file"; then
2495 # Some versions of bash will fail to source /dev/null (special files
2496 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2497 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2499 $as_echo "$as_me: loading cache $cache_file" >&6;}
2501 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2502 *) . "./$cache_file";;
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2507 $as_echo "$as_me: creating cache $cache_file" >&6;}
2511 # Check that the precious variables saved in the cache have kept the same
2513 ac_cache_corrupted=false
2514 for ac_var in $ac_precious_vars; do
2515 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2516 eval ac_new_set=\$ac_env_${ac_var}_set
2517 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2518 eval ac_new_val=\$ac_env_${ac_var}_value
2519 case $ac_old_set,$ac_new_set in
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2522 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2523 ac_cache_corrupted=: ;;
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2526 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2527 ac_cache_corrupted=: ;;
2530 if test "x$ac_old_val" != "x$ac_new_val"; then
2531 # differences in whitespace do not lead to failure.
2532 ac_old_val_w=`echo x $ac_old_val`
2533 ac_new_val_w=`echo x $ac_new_val`
2534 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2536 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2537 ac_cache_corrupted=:
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2540 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2541 eval $ac_var=\$ac_old_val
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2544 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2546 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2549 # Pass precious variables to config.status.
2550 if test "$ac_new_set" = set; then
2552 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2553 *) ac_arg=$ac_var=$ac_new_val ;;
2555 case " $ac_configure_args " in
2556 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2557 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2561 if $ac_cache_corrupted; then
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2565 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2566 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2568 ## -------------------- ##
2569 ## Main body of script. ##
2570 ## -------------------- ##
2573 ac_cpp='$CPP $CPPFLAGS'
2574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2584 am__api_version='1.11'
2587 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2588 if test -f "$ac_dir/install-sh"; then
2590 ac_install_sh="$ac_aux_dir/install-sh -c"
2592 elif test -f "$ac_dir/install.sh"; then
2594 ac_install_sh="$ac_aux_dir/install.sh -c"
2596 elif test -f "$ac_dir/shtool"; then
2598 ac_install_sh="$ac_aux_dir/shtool install -c"
2602 if test -z "$ac_aux_dir"; then
2603 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2606 # These three variables are undocumented and unsupported,
2607 # and are intended to be withdrawn in a future Autoconf release.
2608 # They can cause serious problems if a builder's source tree is in a directory
2609 # whose full name contains unusual characters.
2610 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2611 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2612 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2615 # Find a good install program. We prefer a C program (faster),
2616 # so one script is as good as another. But avoid the broken or
2617 # incompatible versions:
2618 # SysV /etc/install, /usr/sbin/install
2619 # SunOS /usr/etc/install
2620 # IRIX /sbin/install
2622 # AmigaOS /C/install, which installs bootblocks on floppy discs
2623 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2624 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2625 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2626 # OS/2's system install, which has a completely different semantic
2627 # ./install, which can be erroneously created by make from ./install.sh.
2628 # Reject install programs that cannot install multiple files.
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2630 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2631 if test -z "$INSTALL"; then
2632 if test "${ac_cv_path_install+set}" = set; then :
2633 $as_echo_n "(cached) " >&6
2635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639 test -z "$as_dir" && as_dir=.
2640 # Account for people who put trailing slashes in PATH elements.
2641 case $as_dir/ in #((
2642 ./ | .// | /[cC]/* | \
2643 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2644 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2647 # OSF1 and SCO ODT 3.0 have their own names for install.
2648 # Don't use installbsd from OSF since it installs stuff as root
2650 for ac_prog in ginstall scoinst install; do
2651 for ac_exec_ext in '' $ac_executable_extensions; do
2652 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2653 if test $ac_prog = install &&
2654 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2655 # AIX install. It has an incompatible calling convention.
2657 elif test $ac_prog = install &&
2658 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2659 # program-specific install script used by HP pwplus--don't use.
2662 rm -rf conftest.one conftest.two conftest.dir
2663 echo one > conftest.one
2664 echo two > conftest.two
2666 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2667 test -s conftest.one && test -s conftest.two &&
2668 test -s conftest.dir/conftest.one &&
2669 test -s conftest.dir/conftest.two
2671 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2684 rm -rf conftest.one conftest.two conftest.dir
2687 if test "${ac_cv_path_install+set}" = set; then
2688 INSTALL=$ac_cv_path_install
2690 # As a last resort, use the slow shell script. Don't cache a
2691 # value for INSTALL within a source directory, because that will
2692 # break other packages using the cache if that directory is
2693 # removed, or if the value is a relative name.
2694 INSTALL=$ac_install_sh
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2698 $as_echo "$INSTALL" >&6; }
2700 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2701 # It thinks the first close brace ends the variable substitution.
2702 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2704 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2706 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2709 $as_echo_n "checking whether build environment is sane... " >&6; }
2712 echo timestamp > conftest.file
2713 # Reject unsafe characters in $srcdir or the absolute working directory
2714 # name. Accept space and tab only in the latter.
2718 *[\\\"\#\$\&\'\`$am_lf]*)
2719 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2722 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2723 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2726 # Do `set' in a subshell so we don't clobber the current shell's
2727 # arguments. Must try -L first in case configure is actually a
2728 # symlink; some systems play weird games with the mod time of symlinks
2729 # (eg FreeBSD returns the mod time of the symlink's containing
2732 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2733 if test "$*" = "X"; then
2735 set X `ls -t "$srcdir/configure" conftest.file`
2738 if test "$*" != "X $srcdir/configure conftest.file" \
2739 && test "$*" != "X conftest.file $srcdir/configure"; then
2741 # If neither matched, then we have a broken ls. This can happen
2742 # if, for instance, CONFIG_SHELL is bash and it inherits a
2743 # broken ls alias from the environment. This has actually
2744 # happened. Such a system could not be considered "sane".
2745 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2746 alias in your environment" "$LINENO" 5
2749 test "$2" = conftest.file
2755 as_fn_error $? "newly created file is older than distributed files!
2756 Check your system clock" "$LINENO" 5
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2759 $as_echo "yes" >&6; }
2760 test "$program_prefix" != NONE &&
2761 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2762 # Use a double $ so make ignores it.
2763 test "$program_suffix" != NONE &&
2764 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2765 # Double any \ or $.
2766 # By default was `s,x,x', remove it if useless.
2767 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2768 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2770 # expand $ac_aux_dir to an absolute path
2771 am_aux_dir=`cd $ac_aux_dir && pwd`
2773 if test x"${MISSING+set}" != xset; then
2776 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2778 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2781 # Use eval to expand $SHELL
2782 if eval "$MISSING --run true"; then
2783 am_missing_run="$MISSING --run "
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2787 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2790 if test x"${install_sh}" != xset; then
2793 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2795 install_sh="\${SHELL} $am_aux_dir/install-sh"
2799 # Installed binaries are usually stripped using `strip' when the user
2800 # run `make install-strip'. However `strip' might not be the right
2801 # tool to use in cross-compilation environments, therefore Automake
2802 # will honor the `STRIP' environment variable to overrule this program.
2803 if test "$cross_compiling" != no; then
2804 if test -n "$ac_tool_prefix"; then
2805 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2806 set dummy ${ac_tool_prefix}strip; ac_word=$2
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2808 $as_echo_n "checking for $ac_word... " >&6; }
2809 if test "${ac_cv_prog_STRIP+set}" = set; then :
2810 $as_echo_n "(cached) " >&6
2812 if test -n "$STRIP"; then
2813 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2819 test -z "$as_dir" && as_dir=.
2820 for ac_exec_ext in '' $ac_executable_extensions; do
2821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2822 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2832 STRIP=$ac_cv_prog_STRIP
2833 if test -n "$STRIP"; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2835 $as_echo "$STRIP" >&6; }
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2843 if test -z "$ac_cv_prog_STRIP"; then
2845 # Extract the first word of "strip", so it can be a program name with args.
2846 set dummy strip; ac_word=$2
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2848 $as_echo_n "checking for $ac_word... " >&6; }
2849 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2850 $as_echo_n "(cached) " >&6
2852 if test -n "$ac_ct_STRIP"; then
2853 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2859 test -z "$as_dir" && as_dir=.
2860 for ac_exec_ext in '' $ac_executable_extensions; do
2861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2862 ac_cv_prog_ac_ct_STRIP="strip"
2863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2872 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2873 if test -n "$ac_ct_STRIP"; then
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2875 $as_echo "$ac_ct_STRIP" >&6; }
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2878 $as_echo "no" >&6; }
2881 if test "x$ac_ct_STRIP" = x; then
2884 case $cross_compiling:$ac_tool_warned in
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2887 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2888 ac_tool_warned=yes ;;
2893 STRIP="$ac_cv_prog_STRIP"
2897 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2900 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2901 if test -z "$MKDIR_P"; then
2902 if test "${ac_cv_path_mkdir+set}" = set; then :
2903 $as_echo_n "(cached) " >&6
2905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2906 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2909 test -z "$as_dir" && as_dir=.
2910 for ac_prog in mkdir gmkdir; do
2911 for ac_exec_ext in '' $ac_executable_extensions; do
2912 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2913 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2914 'mkdir (GNU coreutils) '* | \
2915 'mkdir (coreutils) '* | \
2916 'mkdir (fileutils) '4.1*)
2917 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2927 test -d ./--version && rmdir ./--version
2928 if test "${ac_cv_path_mkdir+set}" = set; then
2929 MKDIR_P="$ac_cv_path_mkdir -p"
2931 # As a last resort, use the slow shell script. Don't cache a
2932 # value for MKDIR_P within a source directory, because that will
2933 # break other packages using the cache if that directory is
2934 # removed, or if the value is a relative name.
2935 MKDIR_P="$ac_install_sh -d"
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2939 $as_echo "$MKDIR_P" >&6; }
2943 [\\/$]* | ?:[\\/]*) ;;
2944 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2947 for ac_prog in gawk mawk nawk awk
2949 # Extract the first word of "$ac_prog", so it can be a program name with args.
2950 set dummy $ac_prog; ac_word=$2
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2952 $as_echo_n "checking for $ac_word... " >&6; }
2953 if test "${ac_cv_prog_AWK+set}" = set; then :
2954 $as_echo_n "(cached) " >&6
2956 if test -n "$AWK"; then
2957 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2963 test -z "$as_dir" && as_dir=.
2964 for ac_exec_ext in '' $ac_executable_extensions; do
2965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2966 ac_cv_prog_AWK="$ac_prog"
2967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2977 if test -n "$AWK"; then
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2979 $as_echo "$AWK" >&6; }
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982 $as_echo "no" >&6; }
2986 test -n "$AWK" && break
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2990 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2992 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2993 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2994 $as_echo_n "(cached) " >&6
2996 cat >conftest.make <<\_ACEOF
2999 @echo '@@@%%%=$(MAKE)=@@@%%%'
3001 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3002 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3004 eval ac_cv_prog_make_${ac_make}_set=yes;;
3006 eval ac_cv_prog_make_${ac_make}_set=no;;
3010 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3012 $as_echo "yes" >&6; }
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3016 $as_echo "no" >&6; }
3017 SET_MAKE="MAKE=${MAKE-make}"
3020 rm -rf .tst 2>/dev/null
3021 mkdir .tst 2>/dev/null
3022 if test -d .tst; then
3027 rmdir .tst 2>/dev/null
3029 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3030 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3031 # is not polluted with repeated "-I."
3032 am__isrc=' -I$(srcdir)'
3033 # test to see if srcdir already configured
3034 if test -f $srcdir/config.status; then
3035 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3039 # test whether we have cygpath
3040 if test -z "$CYGPATH_W"; then
3041 if (cygpath --version) >/dev/null 2>/dev/null; then
3042 CYGPATH_W='cygpath -w'
3049 # Define the identity of the package.
3050 PACKAGE='gst-ffmpeg'
3054 cat >>confdefs.h <<_ACEOF
3055 #define PACKAGE "$PACKAGE"
3059 cat >>confdefs.h <<_ACEOF
3060 #define VERSION "$VERSION"
3063 # Some tools Automake needs.
3065 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3068 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3071 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3074 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3077 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3079 # We need awk for the "check" target. The system "awk" is bad on
3081 # Always define AMTAR for backward compatibility.
3083 AMTAR=${AMTAR-"${am_missing_run}tar"}
3085 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3093 PACKAGE_VERSION_MAJOR=$(echo 0.10.11 | cut -d'.' -f1)
3094 PACKAGE_VERSION_MINOR=$(echo 0.10.11 | cut -d'.' -f2)
3095 PACKAGE_VERSION_MICRO=$(echo 0.10.11 | cut -d'.' -f3)
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
3104 $as_echo_n "checking nano version... " >&6; }
3106 NANO=$(echo 0.10.11 | cut -d'.' -f4)
3108 if test x"$NANO" = x || test "x$NANO" = "x0" ; then
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
3110 $as_echo "0 (release)" >&6; }
3112 PACKAGE_VERSION_RELEASE=1
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
3116 $as_echo "$NANO" >&6; }
3117 PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
3118 if test "x$NANO" != "x1" ; then
3124 PACKAGE_VERSION_NANO=$NANO
3131 ac_config_headers="$ac_config_headers config.h"
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3136 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3137 # Check whether --enable-maintainer-mode was given.
3138 if test "${enable_maintainer_mode+set}" = set; then :
3139 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3141 USE_MAINTAINER_MODE=no
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3145 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3146 if test $USE_MAINTAINER_MODE = yes; then
3147 MAINTAINER_MODE_TRUE=
3148 MAINTAINER_MODE_FALSE='#'
3150 MAINTAINER_MODE_TRUE='#'
3151 MAINTAINER_MODE_FALSE=
3154 MAINT=$MAINTAINER_MODE_TRUE
3158 # Make sure we can run config.sub.
3159 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3160 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3163 $as_echo_n "checking build system type... " >&6; }
3164 if test "${ac_cv_build+set}" = set; then :
3165 $as_echo_n "(cached) " >&6
3167 ac_build_alias=$build_alias
3168 test "x$ac_build_alias" = x &&
3169 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3170 test "x$ac_build_alias" = x &&
3171 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3172 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3173 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3177 $as_echo "$ac_cv_build" >&6; }
3178 case $ac_cv_build in
3180 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3183 ac_save_IFS=$IFS; IFS='-'
3189 # Remember, the first character of IFS is used to create $*,
3190 # except with old shells:
3193 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3197 $as_echo_n "checking host system type... " >&6; }
3198 if test "${ac_cv_host+set}" = set; then :
3199 $as_echo_n "(cached) " >&6
3201 if test "x$host_alias" = x; then
3202 ac_cv_host=$ac_cv_build
3204 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3205 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3210 $as_echo "$ac_cv_host" >&6; }
3213 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3216 ac_save_IFS=$IFS; IFS='-'
3222 # Remember, the first character of IFS is used to create $*,
3223 # except with old shells:
3226 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3230 # Check whether --enable-silent-rules was given.
3231 if test "${enable_silent_rules+set}" = set; then :
3232 enableval=$enable_silent_rules;
3235 case $enable_silent_rules in
3236 yes) AM_DEFAULT_VERBOSITY=0;;
3237 no) AM_DEFAULT_VERBOSITY=1;;
3238 *) AM_DEFAULT_VERBOSITY=0;;
3243 GST_MAJORMINOR=$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR
3247 enable_win32_dll=yes
3250 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3251 if test -n "$ac_tool_prefix"; then
3252 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3253 set dummy ${ac_tool_prefix}as; ac_word=$2
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3255 $as_echo_n "checking for $ac_word... " >&6; }
3256 if test "${ac_cv_prog_AS+set}" = set; then :
3257 $as_echo_n "(cached) " >&6
3259 if test -n "$AS"; then
3260 ac_cv_prog_AS="$AS" # Let the user override the test.
3262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266 test -z "$as_dir" && as_dir=.
3267 for ac_exec_ext in '' $ac_executable_extensions; do
3268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3269 ac_cv_prog_AS="${ac_tool_prefix}as"
3270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3280 if test -n "$AS"; then
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3282 $as_echo "$AS" >&6; }
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3285 $as_echo "no" >&6; }
3290 if test -z "$ac_cv_prog_AS"; then
3292 # Extract the first word of "as", so it can be a program name with args.
3293 set dummy as; ac_word=$2
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3295 $as_echo_n "checking for $ac_word... " >&6; }
3296 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3297 $as_echo_n "(cached) " >&6
3299 if test -n "$ac_ct_AS"; then
3300 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3306 test -z "$as_dir" && as_dir=.
3307 for ac_exec_ext in '' $ac_executable_extensions; do
3308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3309 ac_cv_prog_ac_ct_AS="as"
3310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3319 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3320 if test -n "$ac_ct_AS"; then
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3322 $as_echo "$ac_ct_AS" >&6; }
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3325 $as_echo "no" >&6; }
3328 if test "x$ac_ct_AS" = x; then
3331 case $cross_compiling:$ac_tool_warned in
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3334 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3335 ac_tool_warned=yes ;;
3343 if test -n "$ac_tool_prefix"; then
3344 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3345 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3347 $as_echo_n "checking for $ac_word... " >&6; }
3348 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
3349 $as_echo_n "(cached) " >&6
3351 if test -n "$DLLTOOL"; then
3352 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 test -z "$as_dir" && as_dir=.
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3371 DLLTOOL=$ac_cv_prog_DLLTOOL
3372 if test -n "$DLLTOOL"; then
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3374 $as_echo "$DLLTOOL" >&6; }
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3377 $as_echo "no" >&6; }
3382 if test -z "$ac_cv_prog_DLLTOOL"; then
3383 ac_ct_DLLTOOL=$DLLTOOL
3384 # Extract the first word of "dlltool", so it can be a program name with args.
3385 set dummy dlltool; ac_word=$2
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3387 $as_echo_n "checking for $ac_word... " >&6; }
3388 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
3389 $as_echo_n "(cached) " >&6
3391 if test -n "$ac_ct_DLLTOOL"; then
3392 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3398 test -z "$as_dir" && as_dir=.
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3411 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3412 if test -n "$ac_ct_DLLTOOL"; then
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3414 $as_echo "$ac_ct_DLLTOOL" >&6; }
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417 $as_echo "no" >&6; }
3420 if test "x$ac_ct_DLLTOOL" = x; then
3423 case $cross_compiling:$ac_tool_warned in
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3427 ac_tool_warned=yes ;;
3429 DLLTOOL=$ac_ct_DLLTOOL
3432 DLLTOOL="$ac_cv_prog_DLLTOOL"
3435 if test -n "$ac_tool_prefix"; then
3436 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3437 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3439 $as_echo_n "checking for $ac_word... " >&6; }
3440 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
3441 $as_echo_n "(cached) " >&6
3443 if test -n "$OBJDUMP"; then
3444 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3450 test -z "$as_dir" && as_dir=.
3451 for ac_exec_ext in '' $ac_executable_extensions; do
3452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3453 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3463 OBJDUMP=$ac_cv_prog_OBJDUMP
3464 if test -n "$OBJDUMP"; then
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3466 $as_echo "$OBJDUMP" >&6; }
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3469 $as_echo "no" >&6; }
3474 if test -z "$ac_cv_prog_OBJDUMP"; then
3475 ac_ct_OBJDUMP=$OBJDUMP
3476 # Extract the first word of "objdump", so it can be a program name with args.
3477 set dummy objdump; ac_word=$2
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3479 $as_echo_n "checking for $ac_word... " >&6; }
3480 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
3481 $as_echo_n "(cached) " >&6
3483 if test -n "$ac_ct_OBJDUMP"; then
3484 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3490 test -z "$as_dir" && as_dir=.
3491 for ac_exec_ext in '' $ac_executable_extensions; do
3492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3493 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3503 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3504 if test -n "$ac_ct_OBJDUMP"; then
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3506 $as_echo "$ac_ct_OBJDUMP" >&6; }
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3509 $as_echo "no" >&6; }
3512 if test "x$ac_ct_OBJDUMP" = x; then
3515 case $cross_compiling:$ac_tool_warned in
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3519 ac_tool_warned=yes ;;
3521 OBJDUMP=$ac_ct_OBJDUMP
3524 OBJDUMP="$ac_cv_prog_OBJDUMP"
3530 test -z "$AS" && AS=as
3536 test -z "$DLLTOOL" && DLLTOOL=dlltool
3542 test -z "$OBJDUMP" && OBJDUMP=objdump
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3553 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3558 macro_version='2.2.6b'
3559 macro_revision='1.3017'
3573 ltmain="$ac_aux_dir/ltmain.sh"
3575 DEPDIR="${am__leading_dot}deps"
3577 ac_config_commands="$ac_config_commands depfiles"
3580 am_make=${MAKE-make}
3581 cat > confinc << 'END'
3583 @echo this is the am__doit target
3586 # If we don't find an include directive, just comment out the code.
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3588 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3592 # First try GNU make style include.
3593 echo "include confinc" > confmf
3594 # Ignore all kinds of additional output from `make'.
3595 case `$am_make -s -f confmf 2> /dev/null` in #(
3596 *the\ am__doit\ target*)
3602 # Now try BSD make style include.
3603 if test "$am__include" = "#"; then
3604 echo '.include "confinc"' > confmf
3605 case `$am_make -s -f confmf 2> /dev/null` in #(
3606 *the\ am__doit\ target*)
3607 am__include=.include
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3616 $as_echo "$_am_result" >&6; }
3617 rm -f confinc confmf
3619 # Check whether --enable-dependency-tracking was given.
3620 if test "${enable_dependency_tracking+set}" = set; then :
3621 enableval=$enable_dependency_tracking;
3624 if test "x$enable_dependency_tracking" != xno; then
3625 am_depcomp="$ac_aux_dir/depcomp"
3628 if test "x$enable_dependency_tracking" != xno; then
3638 ac_cpp='$CPP $CPPFLAGS'
3639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3642 if test -n "$ac_tool_prefix"; then
3643 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3644 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if test "${ac_cv_prog_CC+set}" = set; then :
3648 $as_echo_n "(cached) " >&6
3650 if test -n "$CC"; then
3651 ac_cv_prog_CC="$CC" # Let the user override the test.
3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3657 test -z "$as_dir" && as_dir=.
3658 for ac_exec_ext in '' $ac_executable_extensions; do
3659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3660 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3671 if test -n "$CC"; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3673 $as_echo "$CC" >&6; }
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3676 $as_echo "no" >&6; }
3681 if test -z "$ac_cv_prog_CC"; then
3683 # Extract the first word of "gcc", so it can be a program name with args.
3684 set dummy gcc; ac_word=$2
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3686 $as_echo_n "checking for $ac_word... " >&6; }
3687 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3688 $as_echo_n "(cached) " >&6
3690 if test -n "$ac_ct_CC"; then
3691 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3697 test -z "$as_dir" && as_dir=.
3698 for ac_exec_ext in '' $ac_executable_extensions; do
3699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3700 ac_cv_prog_ac_ct_CC="gcc"
3701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3710 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3711 if test -n "$ac_ct_CC"; then
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3713 $as_echo "$ac_ct_CC" >&6; }
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3716 $as_echo "no" >&6; }
3719 if test "x$ac_ct_CC" = x; then
3722 case $cross_compiling:$ac_tool_warned in
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3726 ac_tool_warned=yes ;;
3734 if test -z "$CC"; then
3735 if test -n "$ac_tool_prefix"; then
3736 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3737 set dummy ${ac_tool_prefix}cc; ac_word=$2
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 $as_echo_n "checking for $ac_word... " >&6; }
3740 if test "${ac_cv_prog_CC+set}" = set; then :
3741 $as_echo_n "(cached) " >&6
3743 if test -n "$CC"; then
3744 ac_cv_prog_CC="$CC" # Let the user override the test.
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3750 test -z "$as_dir" && as_dir=.
3751 for ac_exec_ext in '' $ac_executable_extensions; do
3752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3753 ac_cv_prog_CC="${ac_tool_prefix}cc"
3754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3764 if test -n "$CC"; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3766 $as_echo "$CC" >&6; }
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3775 if test -z "$CC"; then
3776 # Extract the first word of "cc", so it can be a program name with args.
3777 set dummy cc; ac_word=$2
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779 $as_echo_n "checking for $ac_word... " >&6; }
3780 if test "${ac_cv_prog_CC+set}" = set; then :
3781 $as_echo_n "(cached) " >&6
3783 if test -n "$CC"; then
3784 ac_cv_prog_CC="$CC" # Let the user override the test.
3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3791 test -z "$as_dir" && as_dir=.
3792 for ac_exec_ext in '' $ac_executable_extensions; do
3793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3794 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3795 ac_prog_rejected=yes
3799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3806 if test $ac_prog_rejected = yes; then
3807 # We found a bogon in the path, so make sure we never use it.
3808 set dummy $ac_cv_prog_CC
3810 if test $# != 0; then
3811 # We chose a different compiler from the bogus one.
3812 # However, it has the same basename, so the bogon will be chosen
3813 # first if we set CC to just the basename; use the full file name.
3815 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
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; }
3831 if test -z "$CC"; then
3832 if test -n "$ac_tool_prefix"; then
3833 for ac_prog in cl.exe
3835 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3836 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3838 $as_echo_n "checking for $ac_word... " >&6; }
3839 if test "${ac_cv_prog_CC+set}" = set; then :
3840 $as_echo_n "(cached) " >&6
3842 if test -n "$CC"; then
3843 ac_cv_prog_CC="$CC" # Let the user override the test.
3845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3849 test -z "$as_dir" && as_dir=.
3850 for ac_exec_ext in '' $ac_executable_extensions; do
3851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3852 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3853 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3863 if test -n "$CC"; then
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3865 $as_echo "$CC" >&6; }
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3868 $as_echo "no" >&6; }
3872 test -n "$CC" && break
3875 if test -z "$CC"; then
3877 for ac_prog in cl.exe
3879 # Extract the first word of "$ac_prog", so it can be a program name with args.
3880 set dummy $ac_prog; ac_word=$2
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3882 $as_echo_n "checking for $ac_word... " >&6; }
3883 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3884 $as_echo_n "(cached) " >&6
3886 if test -n "$ac_ct_CC"; then
3887 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3893 test -z "$as_dir" && as_dir=.
3894 for ac_exec_ext in '' $ac_executable_extensions; do
3895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3896 ac_cv_prog_ac_ct_CC="$ac_prog"
3897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3906 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3907 if test -n "$ac_ct_CC"; then
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3909 $as_echo "$ac_ct_CC" >&6; }
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3912 $as_echo "no" >&6; }
3916 test -n "$ac_ct_CC" && break
3919 if test "x$ac_ct_CC" = x; then
3922 case $cross_compiling:$ac_tool_warned in
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3926 ac_tool_warned=yes ;;
3935 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3937 as_fn_error $? "no acceptable C compiler found in \$PATH
3938 See \`config.log' for more details" "$LINENO" 5 ; }
3940 # Provide some information about the compiler.
3941 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3944 for ac_option in --version -v -V -qversion; do
3945 { { ac_try="$ac_compiler $ac_option >&5"
3947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3948 *) ac_try_echo=$ac_try;;
3950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3951 $as_echo "$ac_try_echo"; } >&5
3952 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3954 if test -s conftest.err; then
3956 ... rest of stderr output deleted ...
3957 10q' conftest.err >conftest.er1
3958 cat conftest.er1 >&5
3960 rm -f conftest.er1 conftest.err
3961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3962 test $ac_status = 0; }
3965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h. */
3976 ac_clean_files_save=$ac_clean_files
3977 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3978 # Try to create an executable without -o first, disregard a.out.
3979 # It will help us diagnose broken compilers, and finding out an intuition
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3982 $as_echo_n "checking whether the C compiler works... " >&6; }
3983 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3985 # The possible output files:
3986 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3989 for ac_file in $ac_files
3992 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3993 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3998 if { { ac_try="$ac_link_default"
4000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4001 *) ac_try_echo=$ac_try;;
4003 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4004 $as_echo "$ac_try_echo"; } >&5
4005 (eval "$ac_link_default") 2>&5
4007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4008 test $ac_status = 0; }; then :
4009 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4010 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4011 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4012 # so that the user can short-circuit this test for compilers unknown to
4014 for ac_file in $ac_files ''
4016 test -f "$ac_file" || continue
4018 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4021 # We found the default executable, but exeext='' is most
4025 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4027 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4029 # We set ac_cv_exeext here because the later test for it is not
4030 # safe: cross compilers may not add the suffix if given an `-o'
4031 # argument, so we may need to know it at that point already.
4032 # Even if this section looks crufty: it has the advantage of
4039 test "$ac_cv_exeext" = no && ac_cv_exeext=
4044 if test -z "$ac_file"; then :
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4046 $as_echo "no" >&6; }
4047 $as_echo "$as_me: failed program was:" >&5
4048 sed 's/^/| /' conftest.$ac_ext >&5
4050 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4051 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4052 as_fn_error 77 "C compiler cannot create executables
4053 See \`config.log' for more details" "$LINENO" 5 ; }
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4056 $as_echo "yes" >&6; }
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4059 $as_echo_n "checking for C compiler default output file name... " >&6; }
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4061 $as_echo "$ac_file" >&6; }
4062 ac_exeext=$ac_cv_exeext
4064 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4065 ac_clean_files=$ac_clean_files_save
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4067 $as_echo_n "checking for suffix of executables... " >&6; }
4068 if { { ac_try="$ac_link"
4070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4071 *) ac_try_echo=$ac_try;;
4073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4074 $as_echo "$ac_try_echo"; } >&5
4075 (eval "$ac_link") 2>&5
4077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4078 test $ac_status = 0; }; then :
4079 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4080 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4081 # work properly (i.e., refer to `conftest.exe'), while it won't with
4083 for ac_file in conftest.exe conftest conftest.*; do
4084 test -f "$ac_file" || continue
4086 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4087 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4093 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4095 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4096 See \`config.log' for more details" "$LINENO" 5 ; }
4098 rm -f conftest conftest$ac_cv_exeext
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4100 $as_echo "$ac_cv_exeext" >&6; }
4102 rm -f conftest.$ac_ext
4103 EXEEXT=$ac_cv_exeext
4105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h. */
4111 FILE *f = fopen ("conftest.out", "w");
4112 return ferror (f) || fclose (f) != 0;
4118 ac_clean_files="$ac_clean_files conftest.out"
4119 # Check that the compiler produces executables we can run. If not, either
4120 # the compiler is broken, or we cross compile.
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4122 $as_echo_n "checking whether we are cross compiling... " >&6; }
4123 if test "$cross_compiling" != yes; then
4124 { { ac_try="$ac_link"
4126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4127 *) ac_try_echo=$ac_try;;
4129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4130 $as_echo "$ac_try_echo"; } >&5
4131 (eval "$ac_link") 2>&5
4133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4134 test $ac_status = 0; }
4135 if { ac_try='./conftest$ac_cv_exeext'
4136 { { case "(($ac_try" in
4137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4138 *) ac_try_echo=$ac_try;;
4140 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4141 $as_echo "$ac_try_echo"; } >&5
4142 (eval "$ac_try") 2>&5
4144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4145 test $ac_status = 0; }; }; then
4148 if test "$cross_compiling" = maybe; then
4151 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4153 as_fn_error $? "cannot run C compiled programs.
4154 If you meant to cross compile, use \`--host'.
4155 See \`config.log' for more details" "$LINENO" 5 ; }
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4160 $as_echo "$cross_compiling" >&6; }
4162 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4163 ac_clean_files=$ac_clean_files_save
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4165 $as_echo_n "checking for suffix of object files... " >&6; }
4166 if test "${ac_cv_objext+set}" = set; then :
4167 $as_echo_n "(cached) " >&6
4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4180 rm -f conftest.o conftest.obj
4181 if { { ac_try="$ac_compile"
4183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4184 *) ac_try_echo=$ac_try;;
4186 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4187 $as_echo "$ac_try_echo"; } >&5
4188 (eval "$ac_compile") 2>&5
4190 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4191 test $ac_status = 0; }; then :
4192 for ac_file in conftest.o conftest.obj conftest.*; do
4193 test -f "$ac_file" || continue;
4195 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4196 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4201 $as_echo "$as_me: failed program was:" >&5
4202 sed 's/^/| /' conftest.$ac_ext >&5
4204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4206 as_fn_error $? "cannot compute suffix of object files: cannot compile
4207 See \`config.log' for more details" "$LINENO" 5 ; }
4209 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4212 $as_echo "$ac_cv_objext" >&6; }
4213 OBJEXT=$ac_cv_objext
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4216 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4217 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4218 $as_echo_n "(cached) " >&6
4220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221 /* end confdefs.h. */
4234 if ac_fn_c_try_compile "$LINENO"; then :
4239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4240 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4244 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4245 if test $ac_compiler_gnu = yes; then
4250 ac_test_CFLAGS=${CFLAGS+set}
4251 ac_save_CFLAGS=$CFLAGS
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4253 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4254 if test "${ac_cv_prog_cc_g+set}" = set; then :
4255 $as_echo_n "(cached) " >&6
4257 ac_save_c_werror_flag=$ac_c_werror_flag
4258 ac_c_werror_flag=yes
4261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4262 /* end confdefs.h. */
4272 if ac_fn_c_try_compile "$LINENO"; then :
4276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4277 /* end confdefs.h. */
4287 if ac_fn_c_try_compile "$LINENO"; then :
4290 ac_c_werror_flag=$ac_save_c_werror_flag
4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4293 /* end confdefs.h. */
4303 if ac_fn_c_try_compile "$LINENO"; then :
4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4311 ac_c_werror_flag=$ac_save_c_werror_flag
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4314 $as_echo "$ac_cv_prog_cc_g" >&6; }
4315 if test "$ac_test_CFLAGS" = set; then
4316 CFLAGS=$ac_save_CFLAGS
4317 elif test $ac_cv_prog_cc_g = yes; then
4318 if test "$GCC" = yes; then
4324 if test "$GCC" = yes; then
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4331 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4332 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4333 $as_echo_n "(cached) " >&6
4335 ac_cv_prog_cc_c89=no
4337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4338 /* end confdefs.h. */
4341 #include <sys/types.h>
4342 #include <sys/stat.h>
4343 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4344 struct buf { int x; };
4345 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4346 static char *e (p, i)
4352 static char *f (char * (*g) (char **, int), char **p, ...)
4357 s = g (p, va_arg (v,int));
4362 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4363 function prototypes and stuff, but not '\xHH' hex character constants.
4364 These don't provoke an error unfortunately, instead are silently treated
4365 as 'x'. The following induces an error, until -std is added to get
4366 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4367 array size at least. It's necessary to write '\x00'==0 to get something
4368 that's true only with -std. */
4369 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4371 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4372 inside strings and character constants. */
4374 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4376 int test (int i, double x);
4377 struct s1 {int (*f) (int a);};
4378 struct s2 {int (*f) (double a);};
4379 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4385 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4390 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4391 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4393 CC="$ac_save_CC $ac_arg"
4394 if ac_fn_c_try_compile "$LINENO"; then :
4395 ac_cv_prog_cc_c89=$ac_arg
4397 rm -f core conftest.err conftest.$ac_objext
4398 test "x$ac_cv_prog_cc_c89" != "xno" && break
4400 rm -f conftest.$ac_ext
4405 case "x$ac_cv_prog_cc_c89" in
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4408 $as_echo "none needed" >&6; } ;;
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4411 $as_echo "unsupported" >&6; } ;;
4413 CC="$CC $ac_cv_prog_cc_c89"
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4415 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4417 if test "x$ac_cv_prog_cc_c89" != xno; then :
4422 ac_cpp='$CPP $CPPFLAGS'
4423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4427 depcc="$CC" am_compiler_list=
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4430 $as_echo_n "checking dependency style of $depcc... " >&6; }
4431 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4432 $as_echo_n "(cached) " >&6
4434 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4435 # We make a subdir and do the tests there. Otherwise we can end up
4436 # making bogus files that we don't know about and never remove. For
4437 # instance it was reported that on HP-UX the gcc test will end up
4438 # making a dummy file named `D' -- because `-MD' means `put the output
4441 # Copy depcomp to subdir because otherwise we won't find it if we're
4442 # using a relative directory.
4443 cp "$am_depcomp" conftest.dir
4445 # We will build objects and dependencies in a subdirectory because
4446 # it helps to detect inapplicable dependency modes. For instance
4447 # both Tru64's cc and ICC support -MD to output dependencies as a
4448 # side effect of compilation, but ICC will put the dependencies in
4449 # the current directory while Tru64 will put them in the object
4453 am_cv_CC_dependencies_compiler_type=none
4454 if test "$am_compiler_list" = ""; then
4455 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4458 case " $depcc " in #(
4459 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4462 for depmode in $am_compiler_list; do
4463 # Setup a source with many dependencies, because some compilers
4464 # like to wrap large dependency lists on column 80 (with \), and
4465 # we should not choose a depcomp mode which is confused by this.
4467 # We need to recreate these files for each test, as the compiler may
4468 # overwrite some of them when testing with obscure command lines.
4469 # This happens at least with the AIX C compiler.
4471 for i in 1 2 3 4 5 6; do
4472 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4473 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4474 # Solaris 8's {/usr,}/bin/sh.
4475 touch sub/conftst$i.h
4477 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4479 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4480 # mode. It turns out that the SunPro C++ compiler does not properly
4481 # handle `-M -o', and we need to detect this. Also, some Intel
4482 # versions had trouble with output in subdirs
4483 am__obj=sub/conftest.${OBJEXT-o}
4484 am__minus_obj="-o $am__obj"
4487 # This depmode causes a compiler race in universal mode.
4488 test "$am__universal" = false || continue
4491 # after this tag, mechanisms are not by side-effect, so they'll
4492 # only be used when explicitly requested
4493 if test "x$enable_dependency_tracking" = xyes; then
4499 msvisualcpp | msvcmsys)
4500 # This compiler won't grok `-c -o', but also, the minuso test has
4501 # not run yet. These depmodes are late enough in the game, and
4502 # so weak that their functioning should not be impacted.
4503 am__obj=conftest.${OBJEXT-o}
4508 if depmode=$depmode \
4509 source=sub/conftest.c object=$am__obj \
4510 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4511 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4512 >/dev/null 2>conftest.err &&
4513 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4514 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4515 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4516 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4517 # icc doesn't choke on unknown options, it will just issue warnings
4518 # or remarks (even with -Werror). So we grep stderr for any message
4519 # that says an option was ignored or not supported.
4520 # When given -MP, icc 7.0 and 7.1 complain thusly:
4521 # icc: Command line warning: ignoring option '-M'; no argument required
4522 # The diagnosis changed in icc 8.0:
4523 # icc: Command line remark: option '-MP' not supported
4524 if (grep 'ignoring option' conftest.err ||
4525 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4526 am_cv_CC_dependencies_compiler_type=$depmode
4535 am_cv_CC_dependencies_compiler_type=none
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4540 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4541 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4544 test "x$enable_dependency_tracking" != xno \
4545 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4547 am__fastdepCC_FALSE='#'
4549 am__fastdepCC_TRUE='#'
4550 am__fastdepCC_FALSE=
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4555 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4556 if test "${ac_cv_path_SED+set}" = set; then :
4557 $as_echo_n "(cached) " >&6
4559 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4560 for ac_i in 1 2 3 4 5 6 7; do
4561 ac_script="$ac_script$as_nl$ac_script"
4563 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4564 { ac_script=; unset ac_script;}
4565 if test -z "$SED"; then
4566 ac_path_SED_found=false
4567 # Loop through the user's path and test for each of PROGNAME-LIST
4568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4572 test -z "$as_dir" && as_dir=.
4573 for ac_prog in sed gsed; do
4574 for ac_exec_ext in '' $ac_executable_extensions; do
4575 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4576 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4577 # Check for GNU ac_path_SED and select it if it is found.
4578 # Check for GNU $ac_path_SED
4579 case `"$ac_path_SED" --version 2>&1` in
4581 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4584 $as_echo_n 0123456789 >"conftest.in"
4587 cat "conftest.in" "conftest.in" >"conftest.tmp"
4588 mv "conftest.tmp" "conftest.in"
4589 cp "conftest.in" "conftest.nl"
4590 $as_echo '' >> "conftest.nl"
4591 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4592 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4593 as_fn_arith $ac_count + 1 && ac_count=$as_val
4594 if test $ac_count -gt ${ac_path_SED_max-0}; then
4595 # Best one so far, save it but keep looking for a better one
4596 ac_cv_path_SED="$ac_path_SED"
4597 ac_path_SED_max=$ac_count
4599 # 10*(2^10) chars as input seems more than enough
4600 test $ac_count -gt 10 && break
4602 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4605 $ac_path_SED_found && break 3
4610 if test -z "$ac_cv_path_SED"; then
4611 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4619 $as_echo "$ac_cv_path_SED" >&6; }
4620 SED="$ac_cv_path_SED"
4623 test -z "$SED" && SED=sed
4624 Xsed="$SED -e 1s/^X//"
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4637 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4638 if test "${ac_cv_path_GREP+set}" = set; then :
4639 $as_echo_n "(cached) " >&6
4641 if test -z "$GREP"; then
4642 ac_path_GREP_found=false
4643 # Loop through the user's path and test for each of PROGNAME-LIST
4644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4645 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4648 test -z "$as_dir" && as_dir=.
4649 for ac_prog in grep ggrep; do
4650 for ac_exec_ext in '' $ac_executable_extensions; do
4651 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4652 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4653 # Check for GNU ac_path_GREP and select it if it is found.
4654 # Check for GNU $ac_path_GREP
4655 case `"$ac_path_GREP" --version 2>&1` in
4657 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4660 $as_echo_n 0123456789 >"conftest.in"
4663 cat "conftest.in" "conftest.in" >"conftest.tmp"
4664 mv "conftest.tmp" "conftest.in"
4665 cp "conftest.in" "conftest.nl"
4666 $as_echo 'GREP' >> "conftest.nl"
4667 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4668 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4669 as_fn_arith $ac_count + 1 && ac_count=$as_val
4670 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4671 # Best one so far, save it but keep looking for a better one
4672 ac_cv_path_GREP="$ac_path_GREP"
4673 ac_path_GREP_max=$ac_count
4675 # 10*(2^10) chars as input seems more than enough
4676 test $ac_count -gt 10 && break
4678 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4681 $ac_path_GREP_found && break 3
4686 if test -z "$ac_cv_path_GREP"; then
4687 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4690 ac_cv_path_GREP=$GREP
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4695 $as_echo "$ac_cv_path_GREP" >&6; }
4696 GREP="$ac_cv_path_GREP"
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4700 $as_echo_n "checking for egrep... " >&6; }
4701 if test "${ac_cv_path_EGREP+set}" = set; then :
4702 $as_echo_n "(cached) " >&6
4704 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4705 then ac_cv_path_EGREP="$GREP -E"
4707 if test -z "$EGREP"; then
4708 ac_path_EGREP_found=false
4709 # Loop through the user's path and test for each of PROGNAME-LIST
4710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4711 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4714 test -z "$as_dir" && as_dir=.
4715 for ac_prog in egrep; do
4716 for ac_exec_ext in '' $ac_executable_extensions; do
4717 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4718 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4719 # Check for GNU ac_path_EGREP and select it if it is found.
4720 # Check for GNU $ac_path_EGREP
4721 case `"$ac_path_EGREP" --version 2>&1` in
4723 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4726 $as_echo_n 0123456789 >"conftest.in"
4729 cat "conftest.in" "conftest.in" >"conftest.tmp"
4730 mv "conftest.tmp" "conftest.in"
4731 cp "conftest.in" "conftest.nl"
4732 $as_echo 'EGREP' >> "conftest.nl"
4733 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4734 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4735 as_fn_arith $ac_count + 1 && ac_count=$as_val
4736 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4737 # Best one so far, save it but keep looking for a better one
4738 ac_cv_path_EGREP="$ac_path_EGREP"
4739 ac_path_EGREP_max=$ac_count
4741 # 10*(2^10) chars as input seems more than enough
4742 test $ac_count -gt 10 && break
4744 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4747 $ac_path_EGREP_found && break 3
4752 if test -z "$ac_cv_path_EGREP"; then
4753 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4756 ac_cv_path_EGREP=$EGREP
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4762 $as_echo "$ac_cv_path_EGREP" >&6; }
4763 EGREP="$ac_cv_path_EGREP"
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4767 $as_echo_n "checking for fgrep... " >&6; }
4768 if test "${ac_cv_path_FGREP+set}" = set; then :
4769 $as_echo_n "(cached) " >&6
4771 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4772 then ac_cv_path_FGREP="$GREP -F"
4774 if test -z "$FGREP"; then
4775 ac_path_FGREP_found=false
4776 # Loop through the user's path and test for each of PROGNAME-LIST
4777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4778 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4781 test -z "$as_dir" && as_dir=.
4782 for ac_prog in fgrep; do
4783 for ac_exec_ext in '' $ac_executable_extensions; do
4784 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4785 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4786 # Check for GNU ac_path_FGREP and select it if it is found.
4787 # Check for GNU $ac_path_FGREP
4788 case `"$ac_path_FGREP" --version 2>&1` in
4790 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4793 $as_echo_n 0123456789 >"conftest.in"
4796 cat "conftest.in" "conftest.in" >"conftest.tmp"
4797 mv "conftest.tmp" "conftest.in"
4798 cp "conftest.in" "conftest.nl"
4799 $as_echo 'FGREP' >> "conftest.nl"
4800 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4801 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4802 as_fn_arith $ac_count + 1 && ac_count=$as_val
4803 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4804 # Best one so far, save it but keep looking for a better one
4805 ac_cv_path_FGREP="$ac_path_FGREP"
4806 ac_path_FGREP_max=$ac_count
4808 # 10*(2^10) chars as input seems more than enough
4809 test $ac_count -gt 10 && break
4811 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4814 $ac_path_FGREP_found && break 3
4819 if test -z "$ac_cv_path_FGREP"; then
4820 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4823 ac_cv_path_FGREP=$FGREP
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4829 $as_echo "$ac_cv_path_FGREP" >&6; }
4830 FGREP="$ac_cv_path_FGREP"
4833 test -z "$GREP" && GREP=grep
4853 # Check whether --with-gnu-ld was given.
4854 if test "${with_gnu_ld+set}" = set; then :
4855 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4861 if test "$GCC" = yes; then
4862 # Check if gcc -print-prog-name=ld gives a path.
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4864 $as_echo_n "checking for ld used by $CC... " >&6; }
4867 # gcc leaves a trailing carriage return which upsets mingw
4868 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4870 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4873 # Accept absolute paths.
4875 re_direlt='/[^/][^/]*/\.\./'
4876 # Canonicalize the pathname of ld
4877 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4878 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4879 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4881 test -z "$LD" && LD="$ac_prog"
4884 # If it fails, then pretend we aren't using GCC.
4888 # If it is relative, then search for the first ld in PATH.
4892 elif test "$with_gnu_ld" = yes; then
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4894 $as_echo_n "checking for GNU ld... " >&6; }
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4897 $as_echo_n "checking for non-GNU ld... " >&6; }
4899 if test "${lt_cv_path_LD+set}" = set; then :
4900 $as_echo_n "(cached) " >&6
4902 if test -z "$LD"; then
4903 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4904 for ac_dir in $PATH; do
4906 test -z "$ac_dir" && ac_dir=.
4907 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4908 lt_cv_path_LD="$ac_dir/$ac_prog"
4909 # Check to see if the program is GNU ld. I'd rather use --version,
4910 # but apparently some variants of GNU ld only accept -v.
4911 # Break only if it was the GNU/non-GNU ld that we prefer.
4912 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4913 *GNU* | *'with BFD'*)
4914 test "$with_gnu_ld" != no && break
4917 test "$with_gnu_ld" != yes && break
4924 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4929 if test -n "$LD"; then
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4931 $as_echo "$LD" >&6; }
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4934 $as_echo "no" >&6; }
4936 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4938 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4939 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4940 $as_echo_n "(cached) " >&6
4942 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4943 case `$LD -v 2>&1 </dev/null` in
4944 *GNU* | *'with BFD'*)
4945 lt_cv_prog_gnu_ld=yes
4948 lt_cv_prog_gnu_ld=no
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4953 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4954 with_gnu_ld=$lt_cv_prog_gnu_ld
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4965 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4966 if test "${lt_cv_path_NM+set}" = set; then :
4967 $as_echo_n "(cached) " >&6
4969 if test -n "$NM"; then
4970 # Let the user override the test.
4973 lt_nm_to_check="${ac_tool_prefix}nm"
4974 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4975 lt_nm_to_check="$lt_nm_to_check nm"
4977 for lt_tmp_nm in $lt_nm_to_check; do
4978 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4979 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4981 test -z "$ac_dir" && ac_dir=.
4982 tmp_nm="$ac_dir/$lt_tmp_nm"
4983 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4984 # Check to see if the nm accepts a BSD-compat flag.
4985 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4986 # nm: unknown option "B" ignored
4987 # Tru64's nm complains that /dev/null is an invalid object file
4988 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4989 */dev/null* | *'Invalid file or object type'*)
4990 lt_cv_path_NM="$tmp_nm -B"
4994 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4996 lt_cv_path_NM="$tmp_nm -p"
5000 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5001 continue # so that we can try to find one that supports BSD flags
5010 : ${lt_cv_path_NM=no}
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5014 $as_echo "$lt_cv_path_NM" >&6; }
5015 if test "$lt_cv_path_NM" != "no"; then
5018 # Didn't find any BSD compatible name lister, look for dumpbin.
5019 if test -n "$ac_tool_prefix"; then
5020 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5022 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5023 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5027 $as_echo_n "(cached) " >&6
5029 if test -n "$DUMPBIN"; then
5030 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036 test -z "$as_dir" && as_dir=.
5037 for ac_exec_ext in '' $ac_executable_extensions; do
5038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5039 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 DUMPBIN=$ac_cv_prog_DUMPBIN
5050 if test -n "$DUMPBIN"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5052 $as_echo "$DUMPBIN" >&6; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5059 test -n "$DUMPBIN" && break
5062 if test -z "$DUMPBIN"; then
5063 ac_ct_DUMPBIN=$DUMPBIN
5064 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5066 # Extract the first word of "$ac_prog", so it can be a program name with args.
5067 set dummy $ac_prog; ac_word=$2
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5069 $as_echo_n "checking for $ac_word... " >&6; }
5070 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5071 $as_echo_n "(cached) " >&6
5073 if test -n "$ac_ct_DUMPBIN"; then
5074 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5080 test -z "$as_dir" && as_dir=.
5081 for ac_exec_ext in '' $ac_executable_extensions; do
5082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5083 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5093 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5094 if test -n "$ac_ct_DUMPBIN"; then
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5096 $as_echo "$ac_ct_DUMPBIN" >&6; }
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5099 $as_echo "no" >&6; }
5103 test -n "$ac_ct_DUMPBIN" && break
5106 if test "x$ac_ct_DUMPBIN" = x; then
5109 case $cross_compiling:$ac_tool_warned in
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5113 ac_tool_warned=yes ;;
5115 DUMPBIN=$ac_ct_DUMPBIN
5120 if test "$DUMPBIN" != ":"; then
5124 test -z "$NM" && NM=nm
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5132 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5133 if test "${lt_cv_nm_interface+set}" = set; then :
5134 $as_echo_n "(cached) " >&6
5136 lt_cv_nm_interface="BSD nm"
5137 echo "int some_variable = 0;" > conftest.$ac_ext
5138 (eval echo "\"\$as_me:5138: $ac_compile\"" >&5)
5139 (eval "$ac_compile" 2>conftest.err)
5140 cat conftest.err >&5
5141 (eval echo "\"\$as_me:5141: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5142 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5143 cat conftest.err >&5
5144 (eval echo "\"\$as_me:5144: output\"" >&5)
5145 cat conftest.out >&5
5146 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5147 lt_cv_nm_interface="MS dumpbin"
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5152 $as_echo "$lt_cv_nm_interface" >&6; }
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5155 $as_echo_n "checking whether ln -s works... " >&6; }
5157 if test "$LN_S" = "ln -s"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5159 $as_echo "yes" >&6; }
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5162 $as_echo "no, using $LN_S" >&6; }
5165 # find the maximum length of command line arguments
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5167 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5168 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5169 $as_echo_n "(cached) " >&6
5176 # On DJGPP, this test can blow up pretty badly due to problems in libc
5177 # (any single argument exceeding 2000 bytes causes a buffer overrun
5178 # during glob expansion). Even if it were fixed, the result of this
5179 # check would be larger than it should be.
5180 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5184 # Under GNU Hurd, this test is not required because there is
5185 # no limit to the length of command line arguments.
5186 # Libtool will interpret -1 as no limit whatsoever
5187 lt_cv_sys_max_cmd_len=-1;
5190 cygwin* | mingw* | cegcc*)
5191 # On Win9x/ME, this test blows up -- it succeeds, but takes
5192 # about 5 minutes as the teststring grows exponentially.
5193 # Worse, since 9x/ME are not pre-emptively multitasking,
5194 # you end up with a "frozen" computer, even though with patience
5195 # the test eventually succeeds (with a max line length of 256k).
5196 # Instead, let's just punt: use the minimum linelength reported by
5197 # all of the supported platforms: 8192 (on NT/2K/XP).
5198 lt_cv_sys_max_cmd_len=8192;
5202 # On AmigaOS with pdksh, this test takes hours, literally.
5203 # So we just punt and use a minimum line length of 8192.
5204 lt_cv_sys_max_cmd_len=8192;
5207 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5208 # This has been around since 386BSD, at least. Likely further.
5209 if test -x /sbin/sysctl; then
5210 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5211 elif test -x /usr/sbin/sysctl; then
5212 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5214 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5216 # And add a safety zone
5217 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5218 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5222 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5223 lt_cv_sys_max_cmd_len=196608
5227 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5228 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5229 # nice to cause kernel panics so lets avoid the loop below.
5230 # First set a reasonable default.
5231 lt_cv_sys_max_cmd_len=16384
5233 if test -x /sbin/sysconfig; then
5234 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5235 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5240 lt_cv_sys_max_cmd_len=102400
5242 sysv5* | sco5v6* | sysv4.2uw2*)
5243 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5244 if test -n "$kargmax"; then
5245 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5247 lt_cv_sys_max_cmd_len=32768
5251 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5252 if test -n "$lt_cv_sys_max_cmd_len"; then
5253 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5254 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5256 # Make teststring a little bigger before we do anything with it.
5257 # a 1K string should be a reasonable start.
5258 for i in 1 2 3 4 5 6 7 8 ; do
5259 teststring=$teststring$teststring
5261 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5262 # If test is not a shell built-in, we'll probably end up computing a
5263 # maximum length that is only half of the actual maximum length, but
5265 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5266 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5267 test $i != 17 # 1/2 MB should be enough
5270 teststring=$teststring$teststring
5272 # Only check the string length outside the loop.
5273 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5275 # Add a significant safety factor because C++ compilers can tack on
5276 # massive amounts of additional arguments before passing them to the
5277 # linker. It appears as though 1/2 is a usable value.
5278 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5285 if test -n $lt_cv_sys_max_cmd_len ; then
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5287 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5290 $as_echo "none" >&6; }
5292 max_cmd_len=$lt_cv_sys_max_cmd_len
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5304 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5305 # Try some XSI features
5308 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5310 && eval 'test $(( 1 + 1 )) -eq 2 \
5311 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5314 $as_echo "$xsi_shell" >&6; }
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5318 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5320 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5322 && lt_shell_append=yes
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5324 $as_echo "$lt_shell_append" >&6; }
5327 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5337 # test EBCDIC or ASCII
5338 case `echo X|tr X '\101'` in
5339 A) # ASCII based system
5340 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5341 lt_SP2NL='tr \040 \012'
5342 lt_NL2SP='tr \015\012 \040\040'
5344 *) # EBCDIC based system
5345 lt_SP2NL='tr \100 \n'
5346 lt_NL2SP='tr \r\n \100\100'
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5359 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5360 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5361 $as_echo_n "(cached) " >&6
5363 lt_cv_ld_reload_flag='-r'
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5366 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5367 reload_flag=$lt_cv_ld_reload_flag
5368 case $reload_flag in
5370 *) reload_flag=" $reload_flag" ;;
5372 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5375 if test "$GCC" = yes; then
5376 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5378 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5391 if test -n "$ac_tool_prefix"; then
5392 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5393 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5397 $as_echo_n "(cached) " >&6
5399 if test -n "$OBJDUMP"; then
5400 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5409 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 OBJDUMP=$ac_cv_prog_OBJDUMP
5420 if test -n "$OBJDUMP"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5422 $as_echo "$OBJDUMP" >&6; }
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
5430 if test -z "$ac_cv_prog_OBJDUMP"; then
5431 ac_ct_OBJDUMP=$OBJDUMP
5432 # Extract the first word of "objdump", so it can be a program name with args.
5433 set dummy objdump; ac_word=$2
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5435 $as_echo_n "checking for $ac_word... " >&6; }
5436 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5437 $as_echo_n "(cached) " >&6
5439 if test -n "$ac_ct_OBJDUMP"; then
5440 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5446 test -z "$as_dir" && as_dir=.
5447 for ac_exec_ext in '' $ac_executable_extensions; do
5448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5449 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5459 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5460 if test -n "$ac_ct_OBJDUMP"; then
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5462 $as_echo "$ac_ct_OBJDUMP" >&6; }
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5465 $as_echo "no" >&6; }
5468 if test "x$ac_ct_OBJDUMP" = x; then
5471 case $cross_compiling:$ac_tool_warned in
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5474 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5475 ac_tool_warned=yes ;;
5477 OBJDUMP=$ac_ct_OBJDUMP
5480 OBJDUMP="$ac_cv_prog_OBJDUMP"
5483 test -z "$OBJDUMP" && OBJDUMP=objdump
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5491 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5492 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5493 $as_echo_n "(cached) " >&6
5495 lt_cv_file_magic_cmd='$MAGIC_CMD'
5496 lt_cv_file_magic_test_file=
5497 lt_cv_deplibs_check_method='unknown'
5498 # Need to set the preceding variable on all platforms that support
5499 # interlibrary dependencies.
5500 # 'none' -- dependencies not supported.
5501 # `unknown' -- same as none, but documents that we really don't know.
5502 # 'pass_all' -- all dependencies passed with no checks.
5503 # 'test_compile' -- check by making test program.
5504 # 'file_magic [[regex]]' -- check by looking for files in library path
5505 # which responds to the $file_magic_cmd with a given extended regex.
5506 # If you have `file' or equivalent on your system and you're not sure
5507 # whether `pass_all' will *always* work, you probably want this one.
5511 lt_cv_deplibs_check_method=pass_all
5515 lt_cv_deplibs_check_method=pass_all
5519 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5520 lt_cv_file_magic_cmd='/usr/bin/file -L'
5521 lt_cv_file_magic_test_file=/shlib/libc.so
5525 # func_win32_libid is a shell function defined in ltmain.sh
5526 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5527 lt_cv_file_magic_cmd='func_win32_libid'
5531 # Base MSYS/MinGW do not provide the 'file' command needed by
5532 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5533 # unless we find 'file', for example because we are cross-compiling.
5534 if ( file / ) >/dev/null 2>&1; then
5535 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5536 lt_cv_file_magic_cmd='func_win32_libid'
5538 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5539 lt_cv_file_magic_cmd='$OBJDUMP -f'
5544 # use the weaker test based on 'objdump'. See mingw*.
5545 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5546 lt_cv_file_magic_cmd='$OBJDUMP -f'
5549 darwin* | rhapsody*)
5550 lt_cv_deplibs_check_method=pass_all
5553 freebsd* | dragonfly*)
5554 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5557 # Not sure whether the presence of OpenBSD here was a mistake.
5558 # Let's accept both of them until this is cleared up.
5559 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5560 lt_cv_file_magic_cmd=/usr/bin/file
5561 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5565 lt_cv_deplibs_check_method=pass_all
5570 lt_cv_deplibs_check_method=pass_all
5573 hpux10.20* | hpux11*)
5574 lt_cv_file_magic_cmd=/usr/bin/file
5577 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5578 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5581 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5582 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5585 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5586 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5592 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5593 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5596 irix5* | irix6* | nonstopux*)
5598 *-32|*"-32 ") libmagic=32-bit;;
5599 *-n32|*"-n32 ") libmagic=N32;;
5600 *-64|*"-64 ") libmagic=64-bit;;
5601 *) libmagic=never-match;;
5603 lt_cv_deplibs_check_method=pass_all
5606 # This must be Linux ELF.
5607 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5608 lt_cv_deplibs_check_method=pass_all
5611 netbsd* | netbsdelf*-gnu)
5612 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5613 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5615 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5620 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5621 lt_cv_file_magic_cmd=/usr/bin/file
5622 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5626 lt_cv_deplibs_check_method=pass_all
5630 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5631 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5633 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5637 osf3* | osf4* | osf5*)
5638 lt_cv_deplibs_check_method=pass_all
5642 lt_cv_deplibs_check_method=pass_all
5646 lt_cv_deplibs_check_method=pass_all
5649 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5650 lt_cv_deplibs_check_method=pass_all
5654 case $host_vendor in
5656 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]'
5657 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5660 lt_cv_deplibs_check_method=pass_all
5663 lt_cv_file_magic_cmd='/bin/file'
5664 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5667 lt_cv_file_magic_cmd='/bin/file'
5668 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5669 lt_cv_file_magic_test_file=/lib/libc.so
5672 lt_cv_deplibs_check_method=pass_all
5675 lt_cv_deplibs_check_method=pass_all
5681 lt_cv_deplibs_check_method=pass_all
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5687 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5688 file_magic_cmd=$lt_cv_file_magic_cmd
5689 deplibs_check_method=$lt_cv_deplibs_check_method
5690 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5703 if test -n "$ac_tool_prefix"; then
5704 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5705 set dummy ${ac_tool_prefix}ar; ac_word=$2
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5707 $as_echo_n "checking for $ac_word... " >&6; }
5708 if test "${ac_cv_prog_AR+set}" = set; then :
5709 $as_echo_n "(cached) " >&6
5711 if test -n "$AR"; then
5712 ac_cv_prog_AR="$AR" # Let the user override the test.
5714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5718 test -z "$as_dir" && as_dir=.
5719 for ac_exec_ext in '' $ac_executable_extensions; do
5720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5721 ac_cv_prog_AR="${ac_tool_prefix}ar"
5722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5732 if test -n "$AR"; then
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5734 $as_echo "$AR" >&6; }
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5737 $as_echo "no" >&6; }
5742 if test -z "$ac_cv_prog_AR"; then
5744 # Extract the first word of "ar", so it can be a program name with args.
5745 set dummy ar; ac_word=$2
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5747 $as_echo_n "checking for $ac_word... " >&6; }
5748 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5749 $as_echo_n "(cached) " >&6
5751 if test -n "$ac_ct_AR"; then
5752 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5758 test -z "$as_dir" && as_dir=.
5759 for ac_exec_ext in '' $ac_executable_extensions; do
5760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5761 ac_cv_prog_ac_ct_AR="ar"
5762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5771 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5772 if test -n "$ac_ct_AR"; then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5774 $as_echo "$ac_ct_AR" >&6; }
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5777 $as_echo "no" >&6; }
5780 if test "x$ac_ct_AR" = x; then
5783 case $cross_compiling:$ac_tool_warned in
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5787 ac_tool_warned=yes ;;
5795 test -z "$AR" && AR=ar
5796 test -z "$AR_FLAGS" && AR_FLAGS=cru
5808 if test -n "$ac_tool_prefix"; then
5809 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5810 set dummy ${ac_tool_prefix}strip; ac_word=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if test "${ac_cv_prog_STRIP+set}" = set; then :
5814 $as_echo_n "(cached) " >&6
5816 if test -n "$STRIP"; then
5817 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 test -z "$as_dir" && as_dir=.
5824 for ac_exec_ext in '' $ac_executable_extensions; do
5825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5836 STRIP=$ac_cv_prog_STRIP
5837 if test -n "$STRIP"; then
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5839 $as_echo "$STRIP" >&6; }
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842 $as_echo "no" >&6; }
5847 if test -z "$ac_cv_prog_STRIP"; then
5849 # Extract the first word of "strip", so it can be a program name with args.
5850 set dummy strip; ac_word=$2
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5852 $as_echo_n "checking for $ac_word... " >&6; }
5853 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5854 $as_echo_n "(cached) " >&6
5856 if test -n "$ac_ct_STRIP"; then
5857 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863 test -z "$as_dir" && as_dir=.
5864 for ac_exec_ext in '' $ac_executable_extensions; do
5865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5866 ac_cv_prog_ac_ct_STRIP="strip"
5867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5876 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5877 if test -n "$ac_ct_STRIP"; then
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5879 $as_echo "$ac_ct_STRIP" >&6; }
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5882 $as_echo "no" >&6; }
5885 if test "x$ac_ct_STRIP" = x; then
5888 case $cross_compiling:$ac_tool_warned in
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5892 ac_tool_warned=yes ;;
5897 STRIP="$ac_cv_prog_STRIP"
5900 test -z "$STRIP" && STRIP=:
5907 if test -n "$ac_tool_prefix"; then
5908 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5909 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5911 $as_echo_n "checking for $ac_word... " >&6; }
5912 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5913 $as_echo_n "(cached) " >&6
5915 if test -n "$RANLIB"; then
5916 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5922 test -z "$as_dir" && as_dir=.
5923 for ac_exec_ext in '' $ac_executable_extensions; do
5924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5925 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5935 RANLIB=$ac_cv_prog_RANLIB
5936 if test -n "$RANLIB"; then
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5938 $as_echo "$RANLIB" >&6; }
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5941 $as_echo "no" >&6; }
5946 if test -z "$ac_cv_prog_RANLIB"; then
5947 ac_ct_RANLIB=$RANLIB
5948 # Extract the first word of "ranlib", so it can be a program name with args.
5949 set dummy ranlib; ac_word=$2
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5951 $as_echo_n "checking for $ac_word... " >&6; }
5952 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5953 $as_echo_n "(cached) " >&6
5955 if test -n "$ac_ct_RANLIB"; then
5956 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962 test -z "$as_dir" && as_dir=.
5963 for ac_exec_ext in '' $ac_executable_extensions; do
5964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5965 ac_cv_prog_ac_ct_RANLIB="ranlib"
5966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5975 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5976 if test -n "$ac_ct_RANLIB"; then
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5978 $as_echo "$ac_ct_RANLIB" >&6; }
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5981 $as_echo "no" >&6; }
5984 if test "x$ac_ct_RANLIB" = x; then
5987 case $cross_compiling:$ac_tool_warned in
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5990 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5991 ac_tool_warned=yes ;;
5993 RANLIB=$ac_ct_RANLIB
5996 RANLIB="$ac_cv_prog_RANLIB"
5999 test -z "$RANLIB" && RANLIB=:
6006 # Determine commands to create old-style static archives.
6007 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6008 old_postinstall_cmds='chmod 644 $oldlib'
6009 old_postuninstall_cmds=
6011 if test -n "$RANLIB"; then
6014 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6017 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6020 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6056 # If no C compiler was specified, use CC.
6059 # If no C compiler flags were specified, use CFLAGS.
6060 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6062 # Allow CC to be a program name with arguments.
6066 # Check for command to grab the raw symbol name followed by C symbol from nm.
6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6068 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6069 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6070 $as_echo_n "(cached) " >&6
6073 # These are sane defaults that work on at least a few old systems.
6074 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6076 # Character class describing NM global symbol codes.
6077 symcode='[BCDEGRST]'
6079 # Regexp to match symbols that can be accessed directly from C.
6080 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6082 # Define system-specific variables.
6087 cygwin* | mingw* | pw32* | cegcc*)
6088 symcode='[ABCDGISTW]'
6091 if test "$host_cpu" = ia64; then
6092 symcode='[ABCDEGRST]'
6096 symcode='[BCDEGRST]'
6099 symcode='[BCDEGQRST]'
6110 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6118 # If we're using GNU nm, then use its standard symbol codes.
6119 case `$NM -V 2>&1` in
6120 *GNU* | *'with BFD'*)
6121 symcode='[ABCDGIRSTW]' ;;
6124 # Transform an extracted symbol line into a proper C declaration.
6125 # Some systems (esp. on ia64) link data and code symbols differently,
6126 # so use this general approach.
6127 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6129 # Transform an extracted symbol line into symbol name and symbol address
6130 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6131 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'"
6133 # Handle CRLF in mingw tool chain
6137 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6141 # Try without a prefix underscore, then with it.
6142 for ac_symprfx in "" "_"; do
6144 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6145 symxfrm="\\1 $ac_symprfx\\2 \\2"
6147 # Write the raw and C identifiers.
6148 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6149 # Fake it for dumpbin and say T for any non-static function
6150 # and D for any global variable.
6151 # Also find C++ and __fastcall symbols from MSVC++,
6152 # which start with @ or ?.
6153 lt_cv_sys_global_symbol_pipe="$AWK '"\
6154 " {last_section=section; section=\$ 3};"\
6155 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6156 " \$ 0!~/External *\|/{next};"\
6157 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6158 " {if(hide[section]) next};"\
6159 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6160 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6161 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6162 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6163 " ' prfx=^$ac_symprfx"
6165 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6168 # Check to see that the pipe works correctly.
6172 cat > conftest.$ac_ext <<_LT_EOF
6177 void nm_test_func(void);
6178 void nm_test_func(void){}
6182 int main(){nm_test_var='a';nm_test_func();return(0);}
6185 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6186 (eval $ac_compile) 2>&5
6188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6189 test $ac_status = 0; }; then
6190 # Now try to grab the symbols.
6192 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6193 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6196 test $ac_status = 0; } && test -s "$nlist"; then
6197 # Try sorting and uniquifying the output.
6198 if sort "$nlist" | uniq > "$nlist"T; then
6199 mv -f "$nlist"T "$nlist"
6204 # Make sure that we snagged all the symbols we need.
6205 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6206 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6207 cat <<_LT_EOF > conftest.$ac_ext
6213 # Now generate the symbol file.
6214 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6216 cat <<_LT_EOF >> conftest.$ac_ext
6218 /* The mapping between symbol names and symbols. */
6223 lt__PROGRAM__LTX_preloaded_symbols[] =
6225 { "@PROGRAM@", (void *) 0 },
6227 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6228 cat <<\_LT_EOF >> conftest.$ac_ext
6232 /* This works around a problem in FreeBSD linker */
6233 #ifdef FREEBSD_WORKAROUND
6234 static const void *lt_preloaded_setup() {
6235 return lt__PROGRAM__LTX_preloaded_symbols;
6243 # Now try linking the two files.
6244 mv conftest.$ac_objext conftstm.$ac_objext
6245 lt_save_LIBS="$LIBS"
6246 lt_save_CFLAGS="$CFLAGS"
6247 LIBS="conftstm.$ac_objext"
6248 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6249 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6250 (eval $ac_link) 2>&5
6252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6253 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6256 LIBS="$lt_save_LIBS"
6257 CFLAGS="$lt_save_CFLAGS"
6259 echo "cannot find nm_test_func in $nlist" >&5
6262 echo "cannot find nm_test_var in $nlist" >&5
6265 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6268 echo "$progname: failed program was:" >&5
6269 cat conftest.$ac_ext >&5
6271 rm -rf conftest* conftst*
6273 # Do not use the global_symbol_pipe unless it works.
6274 if test "$pipe_works" = yes; then
6277 lt_cv_sys_global_symbol_pipe=
6283 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6284 lt_cv_sys_global_symbol_to_cdecl=
6286 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6288 $as_echo "failed" >&6; }
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6291 $as_echo "ok" >&6; }
6316 # Check whether --enable-libtool-lock was given.
6317 if test "${enable_libtool_lock+set}" = set; then :
6318 enableval=$enable_libtool_lock;
6321 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6323 # Some flags need to be propagated to the compiler or linker for good
6327 # Find out which ABI we are using.
6328 echo 'int i;' > conftest.$ac_ext
6329 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6330 (eval $ac_compile) 2>&5
6332 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6333 test $ac_status = 0; }; then
6334 case `/usr/bin/file conftest.$ac_objext` in
6346 # Find out which ABI we are using.
6347 echo '#line 6347 "configure"' > conftest.$ac_ext
6348 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6349 (eval $ac_compile) 2>&5
6351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6352 test $ac_status = 0; }; then
6353 if test "$lt_cv_prog_gnu_ld" = yes; then
6354 case `/usr/bin/file conftest.$ac_objext` in
6356 LD="${LD-ld} -melf32bsmip"
6359 LD="${LD-ld} -melf32bmipn32"
6362 LD="${LD-ld} -melf64bmip"
6366 case `/usr/bin/file conftest.$ac_objext` in
6382 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6383 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6384 # Find out which ABI we are using.
6385 echo 'int i;' > conftest.$ac_ext
6386 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6387 (eval $ac_compile) 2>&5
6389 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6390 test $ac_status = 0; }; then
6391 case `/usr/bin/file conftest.o` in
6394 x86_64-*kfreebsd*-gnu)
6395 LD="${LD-ld} -m elf_i386_fbsd"
6398 LD="${LD-ld} -m elf_i386"
6400 ppc64-*linux*|powerpc64-*linux*)
6401 LD="${LD-ld} -m elf32ppclinux"
6404 LD="${LD-ld} -m elf_s390"
6407 LD="${LD-ld} -m elf32_sparc"
6413 x86_64-*kfreebsd*-gnu)
6414 LD="${LD-ld} -m elf_x86_64_fbsd"
6417 LD="${LD-ld} -m elf_x86_64"
6419 ppc*-*linux*|powerpc*-*linux*)
6420 LD="${LD-ld} -m elf64ppc"
6422 s390*-*linux*|s390*-*tpf*)
6423 LD="${LD-ld} -m elf64_s390"
6426 LD="${LD-ld} -m elf64_sparc"
6436 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6437 SAVE_CFLAGS="$CFLAGS"
6438 CFLAGS="$CFLAGS -belf"
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6440 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6441 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6442 $as_echo_n "(cached) " >&6
6445 ac_cpp='$CPP $CPPFLAGS'
6446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6451 /* end confdefs.h. */
6461 if ac_fn_c_try_link "$LINENO"; then :
6462 lt_cv_cc_needs_belf=yes
6464 lt_cv_cc_needs_belf=no
6466 rm -f core conftest.err conftest.$ac_objext \
6467 conftest$ac_exeext conftest.$ac_ext
6469 ac_cpp='$CPP $CPPFLAGS'
6470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6476 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6477 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6478 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6479 CFLAGS="$SAVE_CFLAGS"
6483 # Find out which ABI we are using.
6484 echo 'int i;' > conftest.$ac_ext
6485 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6486 (eval $ac_compile) 2>&5
6488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6489 test $ac_status = 0; }; then
6490 case `/usr/bin/file conftest.o` in
6492 case $lt_cv_prog_gnu_ld in
6493 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6495 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6507 need_locks="$enable_libtool_lock"
6511 rhapsody* | darwin*)
6512 if test -n "$ac_tool_prefix"; then
6513 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6514 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6518 $as_echo_n "(cached) " >&6
6520 if test -n "$DSYMUTIL"; then
6521 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6530 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6540 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6541 if test -n "$DSYMUTIL"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6543 $as_echo "$DSYMUTIL" >&6; }
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6551 if test -z "$ac_cv_prog_DSYMUTIL"; then
6552 ac_ct_DSYMUTIL=$DSYMUTIL
6553 # Extract the first word of "dsymutil", so it can be a program name with args.
6554 set dummy dsymutil; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6558 $as_echo_n "(cached) " >&6
6560 if test -n "$ac_ct_DSYMUTIL"; then
6561 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6567 test -z "$as_dir" && as_dir=.
6568 for ac_exec_ext in '' $ac_executable_extensions; do
6569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6570 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6580 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6581 if test -n "$ac_ct_DSYMUTIL"; then
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6583 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6589 if test "x$ac_ct_DSYMUTIL" = x; then
6592 case $cross_compiling:$ac_tool_warned in
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6596 ac_tool_warned=yes ;;
6598 DSYMUTIL=$ac_ct_DSYMUTIL
6601 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6604 if test -n "$ac_tool_prefix"; then
6605 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6606 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 $as_echo_n "checking for $ac_word... " >&6; }
6609 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6610 $as_echo_n "(cached) " >&6
6612 if test -n "$NMEDIT"; then
6613 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6619 test -z "$as_dir" && as_dir=.
6620 for ac_exec_ext in '' $ac_executable_extensions; do
6621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6622 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6632 NMEDIT=$ac_cv_prog_NMEDIT
6633 if test -n "$NMEDIT"; then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6635 $as_echo "$NMEDIT" >&6; }
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6638 $as_echo "no" >&6; }
6643 if test -z "$ac_cv_prog_NMEDIT"; then
6644 ac_ct_NMEDIT=$NMEDIT
6645 # Extract the first word of "nmedit", so it can be a program name with args.
6646 set dummy nmedit; ac_word=$2
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6648 $as_echo_n "checking for $ac_word... " >&6; }
6649 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6650 $as_echo_n "(cached) " >&6
6652 if test -n "$ac_ct_NMEDIT"; then
6653 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6659 test -z "$as_dir" && as_dir=.
6660 for ac_exec_ext in '' $ac_executable_extensions; do
6661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6662 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6672 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6673 if test -n "$ac_ct_NMEDIT"; then
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6675 $as_echo "$ac_ct_NMEDIT" >&6; }
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6678 $as_echo "no" >&6; }
6681 if test "x$ac_ct_NMEDIT" = x; then
6684 case $cross_compiling:$ac_tool_warned in
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6688 ac_tool_warned=yes ;;
6690 NMEDIT=$ac_ct_NMEDIT
6693 NMEDIT="$ac_cv_prog_NMEDIT"
6696 if test -n "$ac_tool_prefix"; then
6697 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6698 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6700 $as_echo_n "checking for $ac_word... " >&6; }
6701 if test "${ac_cv_prog_LIPO+set}" = set; then :
6702 $as_echo_n "(cached) " >&6
6704 if test -n "$LIPO"; then
6705 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6711 test -z "$as_dir" && as_dir=.
6712 for ac_exec_ext in '' $ac_executable_extensions; do
6713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6714 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6724 LIPO=$ac_cv_prog_LIPO
6725 if test -n "$LIPO"; then
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6727 $as_echo "$LIPO" >&6; }
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6730 $as_echo "no" >&6; }
6735 if test -z "$ac_cv_prog_LIPO"; then
6737 # Extract the first word of "lipo", so it can be a program name with args.
6738 set dummy lipo; ac_word=$2
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6740 $as_echo_n "checking for $ac_word... " >&6; }
6741 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6742 $as_echo_n "(cached) " >&6
6744 if test -n "$ac_ct_LIPO"; then
6745 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6751 test -z "$as_dir" && as_dir=.
6752 for ac_exec_ext in '' $ac_executable_extensions; do
6753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6754 ac_cv_prog_ac_ct_LIPO="lipo"
6755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6764 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6765 if test -n "$ac_ct_LIPO"; then
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6767 $as_echo "$ac_ct_LIPO" >&6; }
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6770 $as_echo "no" >&6; }
6773 if test "x$ac_ct_LIPO" = x; then
6776 case $cross_compiling:$ac_tool_warned in
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6780 ac_tool_warned=yes ;;
6785 LIPO="$ac_cv_prog_LIPO"
6788 if test -n "$ac_tool_prefix"; then
6789 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6790 set dummy ${ac_tool_prefix}otool; ac_word=$2
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6792 $as_echo_n "checking for $ac_word... " >&6; }
6793 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6794 $as_echo_n "(cached) " >&6
6796 if test -n "$OTOOL"; then
6797 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6803 test -z "$as_dir" && as_dir=.
6804 for ac_exec_ext in '' $ac_executable_extensions; do
6805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6806 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6816 OTOOL=$ac_cv_prog_OTOOL
6817 if test -n "$OTOOL"; then
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6819 $as_echo "$OTOOL" >&6; }
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6822 $as_echo "no" >&6; }
6827 if test -z "$ac_cv_prog_OTOOL"; then
6829 # Extract the first word of "otool", so it can be a program name with args.
6830 set dummy otool; ac_word=$2
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6832 $as_echo_n "checking for $ac_word... " >&6; }
6833 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6834 $as_echo_n "(cached) " >&6
6836 if test -n "$ac_ct_OTOOL"; then
6837 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6843 test -z "$as_dir" && as_dir=.
6844 for ac_exec_ext in '' $ac_executable_extensions; do
6845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6846 ac_cv_prog_ac_ct_OTOOL="otool"
6847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6856 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6857 if test -n "$ac_ct_OTOOL"; then
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6859 $as_echo "$ac_ct_OTOOL" >&6; }
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6862 $as_echo "no" >&6; }
6865 if test "x$ac_ct_OTOOL" = x; then
6868 case $cross_compiling:$ac_tool_warned in
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6872 ac_tool_warned=yes ;;
6877 OTOOL="$ac_cv_prog_OTOOL"
6880 if test -n "$ac_tool_prefix"; then
6881 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6882 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6884 $as_echo_n "checking for $ac_word... " >&6; }
6885 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6886 $as_echo_n "(cached) " >&6
6888 if test -n "$OTOOL64"; then
6889 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6895 test -z "$as_dir" && as_dir=.
6896 for ac_exec_ext in '' $ac_executable_extensions; do
6897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6898 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6908 OTOOL64=$ac_cv_prog_OTOOL64
6909 if test -n "$OTOOL64"; then
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6911 $as_echo "$OTOOL64" >&6; }
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6914 $as_echo "no" >&6; }
6919 if test -z "$ac_cv_prog_OTOOL64"; then
6920 ac_ct_OTOOL64=$OTOOL64
6921 # Extract the first word of "otool64", so it can be a program name with args.
6922 set dummy otool64; ac_word=$2
6923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6924 $as_echo_n "checking for $ac_word... " >&6; }
6925 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6926 $as_echo_n "(cached) " >&6
6928 if test -n "$ac_ct_OTOOL64"; then
6929 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6935 test -z "$as_dir" && as_dir=.
6936 for ac_exec_ext in '' $ac_executable_extensions; do
6937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6938 ac_cv_prog_ac_ct_OTOOL64="otool64"
6939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6948 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6949 if test -n "$ac_ct_OTOOL64"; then
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6951 $as_echo "$ac_ct_OTOOL64" >&6; }
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6954 $as_echo "no" >&6; }
6957 if test "x$ac_ct_OTOOL64" = x; then
6960 case $cross_compiling:$ac_tool_warned in
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6963 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6964 ac_tool_warned=yes ;;
6966 OTOOL64=$ac_ct_OTOOL64
6969 OTOOL64="$ac_cv_prog_OTOOL64"
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6999 $as_echo_n "checking for -single_module linker flag... " >&6; }
7000 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7001 $as_echo_n "(cached) " >&6
7003 lt_cv_apple_cc_single_mod=no
7004 if test -z "${LT_MULTI_MODULE}"; then
7005 # By default we will add the -single_module flag. You can override
7006 # by either setting the environment variable LT_MULTI_MODULE
7007 # non-empty at configure time, or by adding -multi_module to the
7009 rm -rf libconftest.dylib*
7010 echo "int foo(void){return 1;}" > conftest.c
7011 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7012 -dynamiclib -Wl,-single_module conftest.c" >&5
7013 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7014 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7016 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7017 lt_cv_apple_cc_single_mod=yes
7019 cat conftest.err >&5
7021 rm -rf libconftest.dylib*
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7026 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7028 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7029 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7030 $as_echo_n "(cached) " >&6
7032 lt_cv_ld_exported_symbols_list=no
7033 save_LDFLAGS=$LDFLAGS
7034 echo "_main" > conftest.sym
7035 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7037 /* end confdefs.h. */
7047 if ac_fn_c_try_link "$LINENO"; then :
7048 lt_cv_ld_exported_symbols_list=yes
7050 lt_cv_ld_exported_symbols_list=no
7052 rm -f core conftest.err conftest.$ac_objext \
7053 conftest$ac_exeext conftest.$ac_ext
7054 LDFLAGS="$save_LDFLAGS"
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7058 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7060 rhapsody* | darwin1.[012])
7061 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7063 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7064 darwin*) # darwin 5.x on
7065 # if running on 10.5 or later, the deployment target defaults
7066 # to the OS version, if on x86, and 10.4, the deployment
7067 # target defaults to 10.4. Don't you love it?
7068 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7069 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7070 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7072 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7074 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7078 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7079 _lt_dar_single_mod='$single_module'
7081 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7082 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7084 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7086 if test "$DSYMUTIL" != ":"; then
7087 _lt_dsymutil='~$DSYMUTIL $lib || :'
7095 ac_cpp='$CPP $CPPFLAGS'
7096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7100 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7101 # On Suns, sometimes $CPP names a directory.
7102 if test -n "$CPP" && test -d "$CPP"; then
7105 if test -z "$CPP"; then
7106 if test "${ac_cv_prog_CPP+set}" = set; then :
7107 $as_echo_n "(cached) " >&6
7109 # Double quotes because CPP needs to be expanded
7110 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7113 for ac_c_preproc_warn_flag in '' yes
7115 # Use a header file that comes with gcc, so configuring glibc
7116 # with a fresh cross-compiler works.
7117 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7118 # <limits.h> exists even on freestanding compilers.
7119 # On the NeXT, cc -E runs the code through the compiler's parser,
7120 # not just through cpp. "Syntax error" is here to catch this case.
7121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7122 /* end confdefs.h. */
7124 # include <limits.h>
7126 # include <assert.h>
7130 if ac_fn_c_try_cpp "$LINENO"; then :
7133 # Broken: fails on valid input.
7136 rm -f conftest.err conftest.i conftest.$ac_ext
7138 # OK, works on sane cases. Now check whether nonexistent headers
7139 # can be detected and how.
7140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7141 /* end confdefs.h. */
7142 #include <ac_nonexistent.h>
7144 if ac_fn_c_try_cpp "$LINENO"; then :
7145 # Broken: success on invalid input.
7148 # Passes both tests.
7152 rm -f conftest.err conftest.i conftest.$ac_ext
7155 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7156 rm -f conftest.i conftest.err conftest.$ac_ext
7157 if $ac_preproc_ok; then :
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7170 $as_echo "$CPP" >&6; }
7172 for ac_c_preproc_warn_flag in '' yes
7174 # Use a header file that comes with gcc, so configuring glibc
7175 # with a fresh cross-compiler works.
7176 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7177 # <limits.h> exists even on freestanding compilers.
7178 # On the NeXT, cc -E runs the code through the compiler's parser,
7179 # not just through cpp. "Syntax error" is here to catch this case.
7180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7181 /* end confdefs.h. */
7183 # include <limits.h>
7185 # include <assert.h>
7189 if ac_fn_c_try_cpp "$LINENO"; then :
7192 # Broken: fails on valid input.
7195 rm -f conftest.err conftest.i conftest.$ac_ext
7197 # OK, works on sane cases. Now check whether nonexistent headers
7198 # can be detected and how.
7199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7200 /* end confdefs.h. */
7201 #include <ac_nonexistent.h>
7203 if ac_fn_c_try_cpp "$LINENO"; then :
7204 # Broken: success on invalid input.
7207 # Passes both tests.
7211 rm -f conftest.err conftest.i conftest.$ac_ext
7214 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7215 rm -f conftest.i conftest.err conftest.$ac_ext
7216 if $ac_preproc_ok; then :
7219 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7220 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7221 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7222 See \`config.log' for more details" "$LINENO" 5 ; }
7226 ac_cpp='$CPP $CPPFLAGS'
7227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7233 $as_echo_n "checking for ANSI C header files... " >&6; }
7234 if test "${ac_cv_header_stdc+set}" = set; then :
7235 $as_echo_n "(cached) " >&6
7237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7238 /* end confdefs.h. */
7252 if ac_fn_c_try_compile "$LINENO"; then :
7253 ac_cv_header_stdc=yes
7255 ac_cv_header_stdc=no
7257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7259 if test $ac_cv_header_stdc = yes; then
7260 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7262 /* end confdefs.h. */
7266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7267 $EGREP "memchr" >/dev/null 2>&1; then :
7270 ac_cv_header_stdc=no
7276 if test $ac_cv_header_stdc = yes; then
7277 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7279 /* end confdefs.h. */
7283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7284 $EGREP "free" >/dev/null 2>&1; then :
7287 ac_cv_header_stdc=no
7293 if test $ac_cv_header_stdc = yes; then
7294 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7295 if test "$cross_compiling" = yes; then :
7298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7299 /* end confdefs.h. */
7302 #if ((' ' & 0x0FF) == 0x020)
7303 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7304 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7306 # define ISLOWER(c) \
7307 (('a' <= (c) && (c) <= 'i') \
7308 || ('j' <= (c) && (c) <= 'r') \
7309 || ('s' <= (c) && (c) <= 'z'))
7310 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7313 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7318 for (i = 0; i < 256; i++)
7319 if (XOR (islower (i), ISLOWER (i))
7320 || toupper (i) != TOUPPER (i))
7325 if ac_fn_c_try_run "$LINENO"; then :
7328 ac_cv_header_stdc=no
7330 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7331 conftest.$ac_objext conftest.beam conftest.$ac_ext
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7337 $as_echo "$ac_cv_header_stdc" >&6; }
7338 if test $ac_cv_header_stdc = yes; then
7340 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7344 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7345 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7346 inttypes.h stdint.h unistd.h
7348 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7349 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7351 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7352 cat >>confdefs.h <<_ACEOF
7353 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7361 for ac_header in dlfcn.h
7363 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7365 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7366 cat >>confdefs.h <<_ACEOF
7367 #define HAVE_DLFCN_H 1
7384 # Check whether --enable-shared was given.
7385 if test "${enable_shared+set}" = set; then :
7386 enableval=$enable_shared; p=${PACKAGE-default}
7388 yes) enable_shared=yes ;;
7389 no) enable_shared=no ;;
7392 # Look at the argument we got. We use all the common list separators.
7393 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7394 for pkg in $enableval; do
7396 if test "X$pkg" = "X$p"; then
7415 # Check whether --enable-static was given.
7416 if test "${enable_static+set}" = set; then :
7417 enableval=$enable_static; p=${PACKAGE-default}
7419 yes) enable_static=yes ;;
7420 no) enable_static=no ;;
7423 # Look at the argument we got. We use all the common list separators.
7424 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7425 for pkg in $enableval; do
7427 if test "X$pkg" = "X$p"; then
7447 # Check whether --with-pic was given.
7448 if test "${with_pic+set}" = set; then :
7449 withval=$with_pic; pic_mode="$withval"
7455 test -z "$pic_mode" && pic_mode=default
7463 # Check whether --enable-fast-install was given.
7464 if test "${enable_fast_install+set}" = set; then :
7465 enableval=$enable_fast_install; p=${PACKAGE-default}
7467 yes) enable_fast_install=yes ;;
7468 no) enable_fast_install=no ;;
7470 enable_fast_install=no
7471 # Look at the argument we got. We use all the common list separators.
7472 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7473 for pkg in $enableval; do
7475 if test "X$pkg" = "X$p"; then
7476 enable_fast_install=yes
7483 enable_fast_install=yes
7496 # This can be used to rebuild libtool when needed
7497 LIBTOOL_DEPS="$ltmain"
7499 # Always use our own libtool.
7500 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7526 test -z "$LN_S" && LN_S="ln -s"
7541 if test -n "${ZSH_VERSION+set}" ; then
7542 setopt NO_GLOB_SUBST
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7546 $as_echo_n "checking for objdir... " >&6; }
7547 if test "${lt_cv_objdir+set}" = set; then :
7548 $as_echo_n "(cached) " >&6
7550 rm -f .libs 2>/dev/null
7551 mkdir .libs 2>/dev/null
7552 if test -d .libs; then
7555 # MS-DOS does not allow filenames that begin with a dot.
7558 rmdir .libs 2>/dev/null
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7561 $as_echo "$lt_cv_objdir" >&6; }
7562 objdir=$lt_cv_objdir
7568 cat >>confdefs.h <<_ACEOF
7569 #define LT_OBJDIR "$lt_cv_objdir/"
7590 # AIX sometimes has problems with the GCC collect2 program. For some
7591 # reason, if we set the COLLECT_NAMES environment variable, the problems
7592 # vanish in a puff of smoke.
7593 if test "X${COLLECT_NAMES+set}" != Xset; then
7595 export COLLECT_NAMES
7600 # Sed substitution that helps us do robust quoting. It backslashifies
7601 # metacharacters that are still active within double-quoted strings.
7602 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7604 # Same as above, but do not quote variable references.
7605 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7607 # Sed substitution to delay expansion of an escaped shell variable in a
7608 # double_quote_subst'ed string.
7609 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7611 # Sed substitution to delay expansion of an escaped single quote.
7612 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7614 # Sed substitution to avoid accidental globbing in evaled expressions
7615 no_glob_subst='s/\*/\\\*/g'
7619 can_build_shared=yes
7621 # All known linkers require a `.a' archive for static linking (except MSVC,
7622 # which needs '.lib').
7625 with_gnu_ld="$lt_cv_prog_gnu_ld"
7628 old_CFLAGS="$CFLAGS"
7630 # Set sane defaults for various variables
7631 test -z "$CC" && CC=cc
7632 test -z "$LTCC" && LTCC=$CC
7633 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7634 test -z "$LD" && LD=ld
7635 test -z "$ac_objext" && ac_objext=o
7637 for cc_temp in $compiler""; do
7639 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7640 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7645 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7648 # Only perform the check for file, if the check method requires it
7649 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7650 case $deplibs_check_method in
7652 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7654 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7655 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7656 $as_echo_n "(cached) " >&6
7660 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7663 lt_save_MAGIC_CMD="$MAGIC_CMD"
7664 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7665 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7666 for ac_dir in $ac_dummy; do
7668 test -z "$ac_dir" && ac_dir=.
7669 if test -f $ac_dir/${ac_tool_prefix}file; then
7670 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7671 if test -n "$file_magic_test_file"; then
7672 case $deplibs_check_method in
7674 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7675 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7676 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7677 $EGREP "$file_magic_regex" > /dev/null; then
7682 *** Warning: the command libtool uses to detect shared libraries,
7683 *** $file_magic_cmd, produces output that libtool cannot recognize.
7684 *** The result is that libtool may fail to recognize shared libraries
7685 *** as such. This will affect the creation of libtool libraries that
7686 *** depend on shared libraries, but programs linked with such libtool
7687 *** libraries will work regardless of this problem. Nevertheless, you
7688 *** may want to report the problem to your system manager and/or to
7689 *** bug-libtool@gnu.org
7699 MAGIC_CMD="$lt_save_MAGIC_CMD"
7704 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7705 if test -n "$MAGIC_CMD"; then
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7707 $as_echo "$MAGIC_CMD" >&6; }
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7710 $as_echo "no" >&6; }
7717 if test -z "$lt_cv_path_MAGIC_CMD"; then
7718 if test -n "$ac_tool_prefix"; then
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7720 $as_echo_n "checking for file... " >&6; }
7721 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7722 $as_echo_n "(cached) " >&6
7726 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7729 lt_save_MAGIC_CMD="$MAGIC_CMD"
7730 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7731 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7732 for ac_dir in $ac_dummy; do
7734 test -z "$ac_dir" && ac_dir=.
7735 if test -f $ac_dir/file; then
7736 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7737 if test -n "$file_magic_test_file"; then
7738 case $deplibs_check_method in
7740 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7741 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7742 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7743 $EGREP "$file_magic_regex" > /dev/null; then
7748 *** Warning: the command libtool uses to detect shared libraries,
7749 *** $file_magic_cmd, produces output that libtool cannot recognize.
7750 *** The result is that libtool may fail to recognize shared libraries
7751 *** as such. This will affect the creation of libtool libraries that
7752 *** depend on shared libraries, but programs linked with such libtool
7753 *** libraries will work regardless of this problem. Nevertheless, you
7754 *** may want to report the problem to your system manager and/or to
7755 *** bug-libtool@gnu.org
7765 MAGIC_CMD="$lt_save_MAGIC_CMD"
7770 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7771 if test -n "$MAGIC_CMD"; then
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7773 $as_echo "$MAGIC_CMD" >&6; }
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7776 $as_echo "no" >&6; }
7789 # Use C for the default configuration in the libtool script
7793 ac_cpp='$CPP $CPPFLAGS'
7794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7799 # Source file extension for C test sources.
7802 # Object file extension for compiled C test sources.
7806 # Code to be used in simple compile tests
7807 lt_simple_compile_test_code="int some_variable = 0;"
7809 # Code to be used in simple link tests
7810 lt_simple_link_test_code='int main(){return(0);}'
7818 # If no C compiler was specified, use CC.
7821 # If no C compiler flags were specified, use CFLAGS.
7822 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7824 # Allow CC to be a program name with arguments.
7827 # Save the default compiler, since it gets overwritten when the other
7828 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7829 compiler_DEFAULT=$CC
7831 # save warnings/boilerplate of simple test code
7832 ac_outfile=conftest.$ac_objext
7833 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7834 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7835 _lt_compiler_boilerplate=`cat conftest.err`
7838 ac_outfile=conftest.$ac_objext
7839 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7840 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7841 _lt_linker_boilerplate=`cat conftest.err`
7846 ## There is no encapsulation within the following macros, do not change
7847 ## the running order or otherwise move them around unless you know exactly
7848 ## what you are doing...
7849 if test -n "$compiler"; then
7851 lt_prog_compiler_no_builtin_flag=
7853 if test "$GCC" = yes; then
7854 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7857 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7858 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7859 $as_echo_n "(cached) " >&6
7861 lt_cv_prog_compiler_rtti_exceptions=no
7862 ac_outfile=conftest.$ac_objext
7863 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7864 lt_compiler_flag="-fno-rtti -fno-exceptions"
7865 # Insert the option either (1) after the last *FLAGS variable, or
7866 # (2) before a word containing "conftest.", or (3) at the end.
7867 # Note that $ac_compile itself does not contain backslashes and begins
7868 # with a dollar sign (not a hyphen), so the echo should work correctly.
7869 # The option is referenced via a variable to avoid confusing sed.
7870 lt_compile=`echo "$ac_compile" | $SED \
7871 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7872 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7873 -e 's:$: $lt_compiler_flag:'`
7874 (eval echo "\"\$as_me:7874: $lt_compile\"" >&5)
7875 (eval "$lt_compile" 2>conftest.err)
7877 cat conftest.err >&5
7878 echo "$as_me:7878: \$? = $ac_status" >&5
7879 if (exit $ac_status) && test -s "$ac_outfile"; then
7880 # The compiler can only warn and ignore the option if not recognized
7881 # So say no if there are warnings other than the usual output.
7882 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7883 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7884 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7885 lt_cv_prog_compiler_rtti_exceptions=yes
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7892 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7894 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7895 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7907 lt_prog_compiler_wl=
7908 lt_prog_compiler_pic=
7909 lt_prog_compiler_static=
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7912 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7914 if test "$GCC" = yes; then
7915 lt_prog_compiler_wl='-Wl,'
7916 lt_prog_compiler_static='-static'
7920 # All AIX code is PIC.
7921 if test "$host_cpu" = ia64; then
7922 # AIX 5 now supports IA64 processor
7923 lt_prog_compiler_static='-Bstatic'
7930 # see comment about AmigaOS4 .so support
7931 lt_prog_compiler_pic='-fPIC'
7934 # FIXME: we need at least 68020 code to build shared libraries, but
7935 # adding the `-m68020' flag to GCC prevents building anything better,
7937 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7942 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7943 # PIC is the default for these OSes.
7946 mingw* | cygwin* | pw32* | os2* | cegcc*)
7947 # This hack is so that the source file can tell whether it is being
7948 # built for inclusion in a dll (and should export symbols for example).
7949 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7950 # (--disable-auto-import) libraries
7951 lt_prog_compiler_pic='-DDLL_EXPORT'
7954 darwin* | rhapsody*)
7955 # PIC is the default on this platform
7956 # Common symbols not allowed in MH_DYLIB files
7957 lt_prog_compiler_pic='-fno-common'
7961 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7962 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7963 # sets the default TLS model and affects inlining.
7969 lt_prog_compiler_pic='-fPIC'
7975 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7976 # Instead, we relocate shared libraries at runtime.
7980 # Just because we use GCC doesn't mean we suddenly get shared libraries
7981 # on systems that don't support them.
7982 lt_prog_compiler_can_build_shared=no
7987 # QNX uses GNU C++, but need to define -shared option too, otherwise
7989 lt_prog_compiler_pic='-fPIC -shared'
7993 if test -d /usr/nec; then
7994 lt_prog_compiler_pic=-Kconform_pic
7999 lt_prog_compiler_pic='-fPIC'
8003 # PORTME Check for flag to pass linker flags through the system compiler.
8006 lt_prog_compiler_wl='-Wl,'
8007 if test "$host_cpu" = ia64; then
8008 # AIX 5 now supports IA64 processor
8009 lt_prog_compiler_static='-Bstatic'
8011 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8015 mingw* | cygwin* | pw32* | os2* | cegcc*)
8016 # This hack is so that the source file can tell whether it is being
8017 # built for inclusion in a dll (and should export symbols for example).
8018 lt_prog_compiler_pic='-DDLL_EXPORT'
8021 hpux9* | hpux10* | hpux11*)
8022 lt_prog_compiler_wl='-Wl,'
8023 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8030 lt_prog_compiler_pic='+Z'
8033 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8034 lt_prog_compiler_static='${wl}-a ${wl}archive'
8037 irix5* | irix6* | nonstopux*)
8038 lt_prog_compiler_wl='-Wl,'
8039 # PIC (with -KPIC) is the default.
8040 lt_prog_compiler_static='-non_shared'
8043 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8044 case $cc_basename in
8045 # old Intel for x86_64 which still supported -KPIC.
8047 lt_prog_compiler_wl='-Wl,'
8048 lt_prog_compiler_pic='-KPIC'
8049 lt_prog_compiler_static='-static'
8051 # icc used to be incompatible with GCC.
8052 # ICC 10 doesn't accept -KPIC any more.
8054 lt_prog_compiler_wl='-Wl,'
8055 lt_prog_compiler_pic='-fPIC'
8056 lt_prog_compiler_static='-static'
8058 # Lahey Fortran 8.1.
8060 lt_prog_compiler_wl='-Wl,'
8061 lt_prog_compiler_pic='--shared'
8062 lt_prog_compiler_static='--static'
8064 pgcc* | pgf77* | pgf90* | pgf95*)
8065 # Portland Group compilers (*not* the Pentium gcc compiler,
8066 # which looks to be a dead project)
8067 lt_prog_compiler_wl='-Wl,'
8068 lt_prog_compiler_pic='-fpic'
8069 lt_prog_compiler_static='-Bstatic'
8072 lt_prog_compiler_wl='-Wl,'
8073 # All Alpha code is PIC.
8074 lt_prog_compiler_static='-non_shared'
8077 # IBM XL C 8.0/Fortran 10.1 on PPC
8078 lt_prog_compiler_wl='-Wl,'
8079 lt_prog_compiler_pic='-qpic'
8080 lt_prog_compiler_static='-qstaticlink'
8083 case `$CC -V 2>&1 | sed 5q` in
8086 lt_prog_compiler_pic='-KPIC'
8087 lt_prog_compiler_static='-Bstatic'
8088 lt_prog_compiler_wl='-Wl,'
8091 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8092 lt_prog_compiler_pic='-KPIC'
8093 lt_prog_compiler_static='-Bstatic'
8094 lt_prog_compiler_wl=''
8102 lt_prog_compiler_pic='-KPIC'
8103 lt_prog_compiler_static='-Bstatic'
8107 # QNX uses GNU C++, but need to define -shared option too, otherwise
8109 lt_prog_compiler_pic='-fPIC -shared'
8112 osf3* | osf4* | osf5*)
8113 lt_prog_compiler_wl='-Wl,'
8114 # All OSF/1 code is PIC.
8115 lt_prog_compiler_static='-non_shared'
8119 lt_prog_compiler_static='-non_shared'
8123 lt_prog_compiler_pic='-KPIC'
8124 lt_prog_compiler_static='-Bstatic'
8125 case $cc_basename in
8127 lt_prog_compiler_wl='-Qoption ld ';;
8129 lt_prog_compiler_wl='-Wl,';;
8134 lt_prog_compiler_wl='-Qoption ld '
8135 lt_prog_compiler_pic='-PIC'
8136 lt_prog_compiler_static='-Bstatic'
8139 sysv4 | sysv4.2uw2* | sysv4.3*)
8140 lt_prog_compiler_wl='-Wl,'
8141 lt_prog_compiler_pic='-KPIC'
8142 lt_prog_compiler_static='-Bstatic'
8146 if test -d /usr/nec ;then
8147 lt_prog_compiler_pic='-Kconform_pic'
8148 lt_prog_compiler_static='-Bstatic'
8152 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8153 lt_prog_compiler_wl='-Wl,'
8154 lt_prog_compiler_pic='-KPIC'
8155 lt_prog_compiler_static='-Bstatic'
8159 lt_prog_compiler_wl='-Wl,'
8160 lt_prog_compiler_can_build_shared=no
8164 lt_prog_compiler_pic='-pic'
8165 lt_prog_compiler_static='-Bstatic'
8169 lt_prog_compiler_can_build_shared=no
8175 # For platforms which do not support PIC, -DPIC is meaningless:
8177 lt_prog_compiler_pic=
8180 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8184 $as_echo "$lt_prog_compiler_pic" >&6; }
8192 # Check to make sure the PIC flag actually works.
8194 if test -n "$lt_prog_compiler_pic"; then
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8196 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8197 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8198 $as_echo_n "(cached) " >&6
8200 lt_cv_prog_compiler_pic_works=no
8201 ac_outfile=conftest.$ac_objext
8202 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8203 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8204 # Insert the option either (1) after the last *FLAGS variable, or
8205 # (2) before a word containing "conftest.", or (3) at the end.
8206 # Note that $ac_compile itself does not contain backslashes and begins
8207 # with a dollar sign (not a hyphen), so the echo should work correctly.
8208 # The option is referenced via a variable to avoid confusing sed.
8209 lt_compile=`echo "$ac_compile" | $SED \
8210 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8211 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8212 -e 's:$: $lt_compiler_flag:'`
8213 (eval echo "\"\$as_me:8213: $lt_compile\"" >&5)
8214 (eval "$lt_compile" 2>conftest.err)
8216 cat conftest.err >&5
8217 echo "$as_me:8217: \$? = $ac_status" >&5
8218 if (exit $ac_status) && test -s "$ac_outfile"; then
8219 # The compiler can only warn and ignore the option if not recognized
8220 # So say no if there are warnings other than the usual output.
8221 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8222 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8223 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8224 lt_cv_prog_compiler_pic_works=yes
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8231 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8233 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8234 case $lt_prog_compiler_pic in
8236 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8239 lt_prog_compiler_pic=
8240 lt_prog_compiler_can_build_shared=no
8251 # Check to make sure the static flag actually works.
8253 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8255 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8256 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8257 $as_echo_n "(cached) " >&6
8259 lt_cv_prog_compiler_static_works=no
8260 save_LDFLAGS="$LDFLAGS"
8261 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8262 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8263 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8264 # The linker can only warn and ignore the option if not recognized
8265 # So say no if there are warnings
8266 if test -s conftest.err; then
8267 # Append any errors to the config.log.
8268 cat conftest.err 1>&5
8269 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8270 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8271 if diff conftest.exp conftest.er2 >/dev/null; then
8272 lt_cv_prog_compiler_static_works=yes
8275 lt_cv_prog_compiler_static_works=yes
8279 LDFLAGS="$save_LDFLAGS"
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8283 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8285 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8288 lt_prog_compiler_static=
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8298 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8299 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8300 $as_echo_n "(cached) " >&6
8302 lt_cv_prog_compiler_c_o=no
8303 $RM -r conftest 2>/dev/null
8307 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8309 lt_compiler_flag="-o out/conftest2.$ac_objext"
8310 # Insert the option either (1) after the last *FLAGS variable, or
8311 # (2) before a word containing "conftest.", or (3) at the end.
8312 # Note that $ac_compile itself does not contain backslashes and begins
8313 # with a dollar sign (not a hyphen), so the echo should work correctly.
8314 lt_compile=`echo "$ac_compile" | $SED \
8315 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8316 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8317 -e 's:$: $lt_compiler_flag:'`
8318 (eval echo "\"\$as_me:8318: $lt_compile\"" >&5)
8319 (eval "$lt_compile" 2>out/conftest.err)
8321 cat out/conftest.err >&5
8322 echo "$as_me:8322: \$? = $ac_status" >&5
8323 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8325 # The compiler can only warn and ignore the option if not recognized
8326 # So say no if there are warnings
8327 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8328 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8329 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8330 lt_cv_prog_compiler_c_o=yes
8335 # SGI C++ compiler will create directory out/ii_files/ for
8336 # template instantiation
8337 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8338 $RM out/* && rmdir out
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8345 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8353 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8354 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8355 $as_echo_n "(cached) " >&6
8357 lt_cv_prog_compiler_c_o=no
8358 $RM -r conftest 2>/dev/null
8362 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8364 lt_compiler_flag="-o out/conftest2.$ac_objext"
8365 # Insert the option either (1) after the last *FLAGS variable, or
8366 # (2) before a word containing "conftest.", or (3) at the end.
8367 # Note that $ac_compile itself does not contain backslashes and begins
8368 # with a dollar sign (not a hyphen), so the echo should work correctly.
8369 lt_compile=`echo "$ac_compile" | $SED \
8370 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8371 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8372 -e 's:$: $lt_compiler_flag:'`
8373 (eval echo "\"\$as_me:8373: $lt_compile\"" >&5)
8374 (eval "$lt_compile" 2>out/conftest.err)
8376 cat out/conftest.err >&5
8377 echo "$as_me:8377: \$? = $ac_status" >&5
8378 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8380 # The compiler can only warn and ignore the option if not recognized
8381 # So say no if there are warnings
8382 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8383 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8384 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8385 lt_cv_prog_compiler_c_o=yes
8390 # SGI C++ compiler will create directory out/ii_files/ for
8391 # template instantiation
8392 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8393 $RM out/* && rmdir out
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8400 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8405 hard_links="nottested"
8406 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8407 # do not overwrite the value of need_locks provided by the user
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8409 $as_echo_n "checking if we can lock with hard links... " >&6; }
8412 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8414 ln conftest.a conftest.b 2>&5 || hard_links=no
8415 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8417 $as_echo "$hard_links" >&6; }
8418 if test "$hard_links" = no; then
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8420 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8433 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8436 allow_undefined_flag=
8437 always_export_symbols=no
8439 archive_expsym_cmds=
8440 compiler_needs_object=no
8441 enable_shared_with_static_runtimes=no
8442 export_dynamic_flag_spec=
8443 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8444 hardcode_automatic=no
8446 hardcode_direct_absolute=no
8447 hardcode_libdir_flag_spec=
8448 hardcode_libdir_flag_spec_ld=
8449 hardcode_libdir_separator=
8451 hardcode_shlibpath_var=unsupported
8453 link_all_deplibs=unknown
8456 old_archive_from_new_cmds=
8457 old_archive_from_expsyms_cmds=
8458 thread_safe_flag_spec=
8459 whole_archive_flag_spec=
8460 # include_expsyms should be a list of space-separated symbols to be *always*
8461 # included in the symbol list
8463 # exclude_expsyms can be an extended regexp of symbols to exclude
8464 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8465 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8466 # as well as any symbol that contains `d'.
8467 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8468 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8469 # platforms (ab)use it in PIC code, but their linkers get confused if
8470 # the symbol is explicitly referenced. Since portable code cannot
8471 # rely on this symbol name, it's probably fine to never include it in
8472 # preloaded symbol tables.
8473 # Exclude shared library initialization/finalization symbols.
8474 extract_expsyms_cmds=
8477 cygwin* | mingw* | pw32* | cegcc*)
8478 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8479 # When not using gcc, we currently assume that we are using
8480 # Microsoft Visual C++.
8481 if test "$GCC" != yes; then
8486 # we just hope/assume this is gcc and not c89 (= MSVC++)
8492 linux* | k*bsd*-gnu)
8498 if test "$with_gnu_ld" = yes; then
8499 # If archive_cmds runs LD, not CC, wlarc should be empty
8502 # Set some defaults for GNU ld with shared library support. These
8503 # are reset later if shared libraries are not supported. Putting them
8504 # here allows them to be overridden if necessary.
8505 runpath_var=LD_RUN_PATH
8506 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8507 export_dynamic_flag_spec='${wl}--export-dynamic'
8508 # ancient GNU ld didn't support --whole-archive et. al.
8509 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8510 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8512 whole_archive_flag_spec=
8514 supports_anon_versioning=no
8515 case `$LD -v 2>&1` in
8516 *GNU\ gold*) supports_anon_versioning=yes ;;
8517 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8518 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8519 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8520 *\ 2.11.*) ;; # other 2.11 versions
8521 *) supports_anon_versioning=yes ;;
8524 # See if GNU ld supports shared libraries.
8527 # On AIX/PPC, the GNU linker is very broken
8528 if test "$host_cpu" != ia64; then
8532 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8533 *** to be unable to reliably create shared libraries on AIX.
8534 *** Therefore, libtool is disabling shared libraries support. If you
8535 *** really care for shared libraries, you may want to modify your PATH
8536 *** so that a non-GNU linker is found, and then restart.
8545 # see comment about AmigaOS4 .so support
8546 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8547 archive_expsym_cmds=''
8550 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)'
8551 hardcode_libdir_flag_spec='-L$libdir'
8552 hardcode_minus_L=yes
8558 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8559 allow_undefined_flag=unsupported
8560 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8561 # support --undefined. This deserves some investigation. FIXME
8562 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8568 cygwin* | mingw* | pw32* | cegcc*)
8569 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8570 # as there is no search path for DLLs.
8571 hardcode_libdir_flag_spec='-L$libdir'
8572 allow_undefined_flag=unsupported
8573 always_export_symbols=no
8574 enable_shared_with_static_runtimes=yes
8575 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8577 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8578 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8579 # If the export-symbols file already is a .def file (1st line
8580 # is EXPORTS), use it as is; otherwise, prepend...
8581 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8582 cp $export_symbols $output_objdir/$soname.def;
8584 echo EXPORTS > $output_objdir/$soname.def;
8585 cat $export_symbols >> $output_objdir/$soname.def;
8587 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8595 hardcode_shlibpath_var=no
8596 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8597 export_dynamic_flag_spec='${wl}-E'
8598 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8599 # Instead, shared libraries are loaded at an image base (0x10000000 by
8600 # default) and relocated if they conflict, which is a slow very memory
8601 # consuming and fragmenting process. To avoid this, we pick a random,
8602 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8603 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8604 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8605 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'
8608 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8610 if test "$host_os" = linux-dietlibc; then
8611 case $cc_basename in
8612 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8615 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8616 && test "$tmp_diet" = no
8619 tmp_sharedflag='-shared'
8620 case $cc_basename,$host_cpu in
8621 pgcc*) # Portland Group C compiler
8622 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8623 tmp_addflag=' $pic_flag'
8625 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8626 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8627 tmp_addflag=' $pic_flag -Mnomain' ;;
8628 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8629 tmp_addflag=' -i_dynamic' ;;
8630 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8631 tmp_addflag=' -i_dynamic -nofor_main' ;;
8632 ifc* | ifort*) # Intel Fortran compiler
8633 tmp_addflag=' -nofor_main' ;;
8634 lf95*) # Lahey Fortran 8.1
8635 whole_archive_flag_spec=
8636 tmp_sharedflag='--shared' ;;
8637 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8638 tmp_sharedflag='-qmkshrobj'
8641 case `$CC -V 2>&1 | sed 5q` in
8642 *Sun\ C*) # Sun C 5.9
8643 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8644 compiler_needs_object=yes
8645 tmp_sharedflag='-G' ;;
8646 *Sun\ F*) # Sun Fortran 8.3
8647 tmp_sharedflag='-G' ;;
8649 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8651 if test "x$supports_anon_versioning" = xyes; then
8652 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8653 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8654 echo "local: *; };" >> $output_objdir/$libname.ver~
8655 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8658 case $cc_basename in
8660 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8661 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8662 hardcode_libdir_flag_spec=
8663 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8664 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8665 if test "x$supports_anon_versioning" = xyes; then
8666 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8667 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8668 echo "local: *; };" >> $output_objdir/$libname.ver~
8669 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8678 netbsd* | netbsdelf*-gnu)
8679 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8680 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8683 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8684 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8689 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8693 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8694 *** create shared libraries on Solaris systems. Therefore, libtool
8695 *** is disabling shared libraries support. We urge you to upgrade GNU
8696 *** binutils to release 2.9.1 or newer. Another option is to modify
8697 *** your PATH or compiler configuration so that the native linker is
8698 *** used, and then restart.
8701 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8702 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8703 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8709 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8710 case `$LD -v 2>&1` in
8711 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8715 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8716 *** reliably create shared libraries on SCO systems. Therefore, libtool
8717 *** is disabling shared libraries support. We urge you to upgrade GNU
8718 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8719 *** your PATH or compiler configuration so that the native linker is
8720 *** used, and then restart.
8725 # For security reasons, it is highly recommended that you always
8726 # use absolute paths for naming shared libraries, and exclude the
8727 # DT_RUNPATH tag from executables and libraries. But doing so
8728 # requires that you compile everything twice, which is a pain.
8729 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8730 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8731 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8732 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8741 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8744 hardcode_shlibpath_var=no
8748 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8749 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8750 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8757 if test "$ld_shlibs" = no; then
8759 hardcode_libdir_flag_spec=
8760 export_dynamic_flag_spec=
8761 whole_archive_flag_spec=
8764 # PORTME fill in a description of your system's linker (not GNU ld)
8767 allow_undefined_flag=unsupported
8768 always_export_symbols=yes
8769 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'
8770 # Note: this linker hardcodes the directories in LIBPATH if there
8771 # are no directories specified by -L.
8772 hardcode_minus_L=yes
8773 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8774 # Neither direct hardcoding nor static linking is supported with a
8776 hardcode_direct=unsupported
8781 if test "$host_cpu" = ia64; then
8782 # On IA64, the linker does run time linking by default, so we don't
8783 # have to do anything special.
8784 aix_use_runtimelinking=no
8785 exp_sym_flag='-Bexport'
8788 # If we're using GNU nm, then we don't want the "-C" option.
8789 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8790 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8791 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8793 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'
8795 aix_use_runtimelinking=no
8797 # Test if we are trying to use run time linking or normal
8798 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8799 # need to do runtime linking.
8800 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8801 for ld_flag in $LDFLAGS; do
8802 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8803 aix_use_runtimelinking=yes
8810 exp_sym_flag='-bexport'
8811 no_entry_flag='-bnoentry'
8814 # When large executables or shared objects are built, AIX ld can
8815 # have problems creating the table of contents. If linking a library
8816 # or program results in "error TOC overflow" add -mminimal-toc to
8817 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8818 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8822 hardcode_direct_absolute=yes
8823 hardcode_libdir_separator=':'
8824 link_all_deplibs=yes
8825 file_list_spec='${wl}-f,'
8827 if test "$GCC" = yes; then
8828 case $host_os in aix4.[012]|aix4.[012].*)
8829 # We only want to do this on AIX 4.2 and lower, the check
8830 # below for broken collect2 doesn't work under 4.3+
8831 collect2name=`${CC} -print-prog-name=collect2`
8832 if test -f "$collect2name" &&
8833 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8835 # We have reworked collect2
8838 # We have old collect2
8839 hardcode_direct=unsupported
8840 # It fails to find uninstalled libraries when the uninstalled
8841 # path is not listed in the libpath. Setting hardcode_minus_L
8842 # to unsupported forces relinking
8843 hardcode_minus_L=yes
8844 hardcode_libdir_flag_spec='-L$libdir'
8845 hardcode_libdir_separator=
8849 shared_flag='-shared'
8850 if test "$aix_use_runtimelinking" = yes; then
8851 shared_flag="$shared_flag "'${wl}-G'
8856 if test "$host_cpu" = ia64; then
8857 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8858 # chokes on -Wl,-G. The following line is correct:
8861 if test "$aix_use_runtimelinking" = yes; then
8862 shared_flag='${wl}-G'
8864 shared_flag='${wl}-bM:SRE'
8869 export_dynamic_flag_spec='${wl}-bexpall'
8870 # It seems that -bexpall does not export symbols beginning with
8871 # underscore (_), so it is better to generate a list of symbols to export.
8872 always_export_symbols=yes
8873 if test "$aix_use_runtimelinking" = yes; then
8874 # Warning - without using the other runtime loading flags (-brtl),
8875 # -berok will link without error, but may produce a broken library.
8876 allow_undefined_flag='-berok'
8877 # Determine the default libpath from the value encoded in an
8879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8880 /* end confdefs.h. */
8890 if ac_fn_c_try_link "$LINENO"; then :
8892 lt_aix_libpath_sed='
8893 /Import File Strings/,/^$/ {
8899 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8900 # Check for a 64-bit object if we didn't find anything.
8901 if test -z "$aix_libpath"; then
8902 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8905 rm -f core conftest.err conftest.$ac_objext \
8906 conftest$ac_exeext conftest.$ac_ext
8907 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8909 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8910 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8912 if test "$host_cpu" = ia64; then
8913 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8914 allow_undefined_flag="-z nodefs"
8915 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"
8917 # Determine the default libpath from the value encoded in an
8919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8920 /* end confdefs.h. */
8930 if ac_fn_c_try_link "$LINENO"; then :
8932 lt_aix_libpath_sed='
8933 /Import File Strings/,/^$/ {
8939 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8940 # Check for a 64-bit object if we didn't find anything.
8941 if test -z "$aix_libpath"; then
8942 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8945 rm -f core conftest.err conftest.$ac_objext \
8946 conftest$ac_exeext conftest.$ac_ext
8947 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8949 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8950 # Warning - without using the other run time loading flags,
8951 # -berok will link without error, but may produce a broken library.
8952 no_undefined_flag=' ${wl}-bernotok'
8953 allow_undefined_flag=' ${wl}-berok'
8954 # Exported symbols can be pulled into shared objects from archives
8955 whole_archive_flag_spec='$convenience'
8956 archive_cmds_need_lc=yes
8957 # This is similar to how AIX traditionally builds its shared libraries.
8958 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'
8966 # see comment about AmigaOS4 .so support
8967 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8968 archive_expsym_cmds=''
8971 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)'
8972 hardcode_libdir_flag_spec='-L$libdir'
8973 hardcode_minus_L=yes
8979 export_dynamic_flag_spec=-rdynamic
8982 cygwin* | mingw* | pw32* | cegcc*)
8983 # When not using gcc, we currently assume that we are using
8984 # Microsoft Visual C++.
8985 # hardcode_libdir_flag_spec is actually meaningless, as there is
8986 # no search path for DLLs.
8987 hardcode_libdir_flag_spec=' '
8988 allow_undefined_flag=unsupported
8989 # Tell ltmain to make .lib files, not .a files.
8991 # Tell ltmain to make .dll files, not .so files.
8993 # FIXME: Setting linknames here is a bad hack.
8994 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8995 # The linker will automatically build a .lib file if we build a DLL.
8996 old_archive_from_new_cmds='true'
8997 # FIXME: Should let the user specify the lib program.
8998 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8999 fix_srcfile_path='`cygpath -w "$srcfile"`'
9000 enable_shared_with_static_runtimes=yes
9003 darwin* | rhapsody*)
9006 archive_cmds_need_lc=no
9008 hardcode_automatic=yes
9009 hardcode_shlibpath_var=unsupported
9010 whole_archive_flag_spec=''
9011 link_all_deplibs=yes
9012 allow_undefined_flag="$_lt_dar_allow_undefined"
9013 case $cc_basename in
9014 ifort*) _lt_dar_can_shared=yes ;;
9015 *) _lt_dar_can_shared=$GCC ;;
9017 if test "$_lt_dar_can_shared" = "yes"; then
9018 output_verbose_link_cmd=echo
9019 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9020 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9021 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}"
9022 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}"
9031 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9032 hardcode_libdir_flag_spec='-L$libdir'
9033 hardcode_shlibpath_var=no
9040 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9041 # support. Future versions do this automatically, but an explicit c++rt0.o
9042 # does not break anything, and helps significantly (at the cost of a little
9045 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9046 hardcode_libdir_flag_spec='-R$libdir'
9048 hardcode_shlibpath_var=no
9051 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9053 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9055 hardcode_minus_L=yes
9056 hardcode_shlibpath_var=no
9059 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9060 freebsd* | dragonfly*)
9061 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9062 hardcode_libdir_flag_spec='-R$libdir'
9064 hardcode_shlibpath_var=no
9068 if test "$GCC" = yes; then
9069 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9071 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'
9073 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9074 hardcode_libdir_separator=:
9077 # hardcode_minus_L: Not really in the search PATH,
9078 # but as the default location of the library.
9079 hardcode_minus_L=yes
9080 export_dynamic_flag_spec='${wl}-E'
9084 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9085 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9087 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9089 if test "$with_gnu_ld" = no; then
9090 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9091 hardcode_libdir_flag_spec_ld='+b $libdir'
9092 hardcode_libdir_separator=:
9094 hardcode_direct_absolute=yes
9095 export_dynamic_flag_spec='${wl}-E'
9096 # hardcode_minus_L: Not really in the search PATH,
9097 # but as the default location of the library.
9098 hardcode_minus_L=yes
9103 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9106 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9109 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9112 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9118 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9121 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9124 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9128 if test "$with_gnu_ld" = no; then
9129 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9130 hardcode_libdir_separator=:
9135 hardcode_shlibpath_var=no
9139 hardcode_direct_absolute=yes
9140 export_dynamic_flag_spec='${wl}-E'
9142 # hardcode_minus_L: Not really in the search PATH,
9143 # but as the default location of the library.
9144 hardcode_minus_L=yes
9150 irix5* | irix6* | nonstopux*)
9151 if test "$GCC" = yes; then
9152 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9153 # Try to use the -exported_symbol ld option, if it does not
9154 # work, assume that -exports_file does not work either and
9155 # implicitly export all symbols.
9156 save_LDFLAGS="$LDFLAGS"
9157 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9159 /* end confdefs.h. */
9162 if ac_fn_c_try_link "$LINENO"; then :
9163 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9166 rm -f core conftest.err conftest.$ac_objext \
9167 conftest$ac_exeext conftest.$ac_ext
9168 LDFLAGS="$save_LDFLAGS"
9170 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9171 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9173 archive_cmds_need_lc='no'
9174 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9175 hardcode_libdir_separator=:
9177 link_all_deplibs=yes
9180 netbsd* | netbsdelf*-gnu)
9181 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9182 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9184 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9186 hardcode_libdir_flag_spec='-R$libdir'
9188 hardcode_shlibpath_var=no
9192 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9194 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9195 hardcode_libdir_separator=:
9196 hardcode_shlibpath_var=no
9203 if test -f /usr/libexec/ld.so; then
9205 hardcode_shlibpath_var=no
9206 hardcode_direct_absolute=yes
9207 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9208 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9209 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9210 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9211 export_dynamic_flag_spec='${wl}-E'
9214 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9215 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9216 hardcode_libdir_flag_spec='-R$libdir'
9219 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9220 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9230 hardcode_libdir_flag_spec='-L$libdir'
9231 hardcode_minus_L=yes
9232 allow_undefined_flag=unsupported
9233 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'
9234 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9238 if test "$GCC" = yes; then
9239 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9240 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9242 allow_undefined_flag=' -expect_unresolved \*'
9243 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9245 archive_cmds_need_lc='no'
9246 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9247 hardcode_libdir_separator=:
9250 osf4* | osf5*) # as osf3* with the addition of -msym flag
9251 if test "$GCC" = yes; then
9252 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9253 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9254 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9256 allow_undefined_flag=' -expect_unresolved \*'
9257 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9258 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~
9259 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9261 # Both c and cxx compiler support -rpath directly
9262 hardcode_libdir_flag_spec='-rpath $libdir'
9264 archive_cmds_need_lc='no'
9265 hardcode_libdir_separator=:
9269 no_undefined_flag=' -z defs'
9270 if test "$GCC" = yes; then
9272 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9273 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9274 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9276 case `$CC -V 2>&1` in
9279 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9280 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9281 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9285 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9286 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9287 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9291 hardcode_libdir_flag_spec='-R$libdir'
9292 hardcode_shlibpath_var=no
9294 solaris2.[0-5] | solaris2.[0-5].*) ;;
9296 # The compiler driver will combine and reorder linker options,
9297 # but understands `-z linker_flag'. GCC discards it without `$wl',
9298 # but is careful enough not to reorder.
9299 # Supported since Solaris 2.6 (maybe 2.5.1?)
9300 if test "$GCC" = yes; then
9301 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9303 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9307 link_all_deplibs=yes
9311 if test "x$host_vendor" = xsequent; then
9312 # Use $CC to link under sequent, because it throws in some extra .o
9313 # files that make .init and .fini sections work.
9314 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9316 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9318 hardcode_libdir_flag_spec='-L$libdir'
9320 hardcode_minus_L=yes
9321 hardcode_shlibpath_var=no
9325 case $host_vendor in
9327 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9328 hardcode_direct=yes # is this really true???
9331 ## LD is ld it makes a PLAMLIB
9332 ## CC just makes a GrossModule.
9333 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9334 reload_cmds='$CC -r -o $output$reload_objs'
9338 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9339 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9342 runpath_var='LD_RUN_PATH'
9343 hardcode_shlibpath_var=no
9347 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9348 hardcode_shlibpath_var=no
9349 export_dynamic_flag_spec='-Bexport'
9353 if test -d /usr/nec; then
9354 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9355 hardcode_shlibpath_var=no
9356 runpath_var=LD_RUN_PATH
9357 hardcode_runpath_var=yes
9362 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9363 no_undefined_flag='${wl}-z,text'
9364 archive_cmds_need_lc=no
9365 hardcode_shlibpath_var=no
9366 runpath_var='LD_RUN_PATH'
9368 if test "$GCC" = yes; then
9369 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9370 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9372 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9373 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9377 sysv5* | sco3.2v5* | sco5v6*)
9378 # Note: We can NOT use -z defs as we might desire, because we do not
9379 # link with -lc, and that would cause any symbols used from libc to
9380 # always be unresolved, which means just about no library would
9381 # ever link correctly. If we're not using GNU ld we use -z text
9382 # though, which does catch some bad symbols but isn't as heavy-handed
9384 no_undefined_flag='${wl}-z,text'
9385 allow_undefined_flag='${wl}-z,nodefs'
9386 archive_cmds_need_lc=no
9387 hardcode_shlibpath_var=no
9388 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9389 hardcode_libdir_separator=':'
9390 link_all_deplibs=yes
9391 export_dynamic_flag_spec='${wl}-Bexport'
9392 runpath_var='LD_RUN_PATH'
9394 if test "$GCC" = yes; then
9395 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9396 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9398 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9399 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9404 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9405 hardcode_libdir_flag_spec='-L$libdir'
9406 hardcode_shlibpath_var=no
9414 if test x$host_vendor = xsni; then
9416 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9417 export_dynamic_flag_spec='${wl}-Blargedynsym'
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9424 $as_echo "$ld_shlibs" >&6; }
9425 test "$ld_shlibs" = no && can_build_shared=no
9427 with_gnu_ld=$with_gnu_ld
9444 # Do we need to explicitly link libc?
9446 case "x$archive_cmds_need_lc" in
9448 # Assume -lc should be added
9449 archive_cmds_need_lc=yes
9451 if test "$enable_shared" = yes && test "$GCC" = yes; then
9452 case $archive_cmds in
9454 # FIXME: we may have to deal with multi-command sequences.
9457 # Test whether the compiler implicitly links with -lc since on some
9458 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9459 # to ld, don't add -lc before -lgcc.
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9461 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9463 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9465 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9466 (eval $ac_compile) 2>&5
9468 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9469 test $ac_status = 0; } 2>conftest.err; then
9472 libobjs=conftest.$ac_objext
9474 wl=$lt_prog_compiler_wl
9475 pic_flag=$lt_prog_compiler_pic
9481 lt_save_allow_undefined_flag=$allow_undefined_flag
9482 allow_undefined_flag=
9483 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9484 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9487 test $ac_status = 0; }
9489 archive_cmds_need_lc=no
9491 archive_cmds_need_lc=yes
9493 allow_undefined_flag=$lt_save_allow_undefined_flag
9495 cat conftest.err 1>&5
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9499 $as_echo "$archive_cmds_need_lc" >&6; }
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9663 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9665 if test "$GCC" = yes; then
9667 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9668 *) lt_awk_arg="/^libraries:/" ;;
9670 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9671 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9672 # if the path contains ";" then we assume it to be the separator
9673 # otherwise default to the standard path separator (i.e. ":") - it is
9674 # assumed that no part of a normal pathname contains ";" but that should
9675 # okay in the real world where ";" in dirpaths is itself problematic.
9676 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9678 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9680 # Ok, now we have the path, separated by spaces, we can step through it
9681 # and add multilib dir if necessary.
9682 lt_tmp_lt_search_path_spec=
9683 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9684 for lt_sys_path in $lt_search_path_spec; do
9685 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9686 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9688 test -d "$lt_sys_path" && \
9689 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9692 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9693 BEGIN {RS=" "; FS="/|\n";} {
9696 for (lt_i = NF; lt_i > 0; lt_i--) {
9697 if ($lt_i != "" && $lt_i != ".") {
9698 if ($lt_i == "..") {
9701 if (lt_count == 0) {
9702 lt_foo="/" $lt_i lt_foo;
9709 if (lt_foo != "") { lt_freq[lt_foo]++; }
9710 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9712 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9714 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9717 libname_spec='lib$name'
9725 shlibpath_overrides_runpath=unknown
9727 dynamic_linker="$host_os ld.so"
9728 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9729 need_lib_prefix=unknown
9730 hardcode_into_libs=no
9732 # when you set need_version to no, make sure it does not cause -set_version
9733 # flags to be left without arguments
9734 need_version=unknown
9739 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9740 shlibpath_var=LIBPATH
9742 # AIX 3 has no versioning support, so we append a major version to the name.
9743 soname_spec='${libname}${release}${shared_ext}$major'
9750 hardcode_into_libs=yes
9751 if test "$host_cpu" = ia64; then
9752 # AIX 5 supports IA64
9753 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9754 shlibpath_var=LD_LIBRARY_PATH
9756 # With GCC up to 2.95.x, collect2 would create an import file
9757 # for dependence libraries. The import file would start with
9758 # the line `#! .'. This would cause the generated library to
9759 # depend on `.', always an invalid library. This was fixed in
9760 # development snapshots of GCC prior to 3.0.
9762 aix4 | aix4.[01] | aix4.[01].*)
9763 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9765 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9772 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9773 # soname into executable. Probably we can add versioning support to
9774 # collect2, so additional links can be useful in future.
9775 if test "$aix_use_runtimelinking" = yes; then
9776 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9777 # instead of lib<name>.a to let people know that these are not
9778 # typical AIX shared libraries.
9779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9781 # We preserve .a as extension for shared libraries through AIX4.2
9782 # and later when we are not doing run time linking.
9783 library_names_spec='${libname}${release}.a $libname.a'
9784 soname_spec='${libname}${release}${shared_ext}$major'
9786 shlibpath_var=LIBPATH
9793 # Since July 2007 AmigaOS4 officially supports .so libraries.
9794 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9798 library_names_spec='$libname.ixlibrary $libname.a'
9799 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9800 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9806 library_names_spec='${libname}${shared_ext}'
9807 dynamic_linker="$host_os ld.so"
9808 shlibpath_var=LIBRARY_PATH
9814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9815 soname_spec='${libname}${release}${shared_ext}$major'
9816 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9817 shlibpath_var=LD_LIBRARY_PATH
9818 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9819 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9820 # the default ld.so.conf also contains /usr/contrib/lib and
9821 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9822 # libtool to hard-code these into programs
9825 cygwin* | mingw* | pw32* | cegcc*)
9826 version_type=windows
9831 case $GCC,$host_os in
9832 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9833 library_names_spec='$libname.dll.a'
9834 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9835 postinstall_cmds='base_file=`basename \${file}`~
9836 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9837 dldir=$destdir/`dirname \$dlpath`~
9838 test -d \$dldir || mkdir -p \$dldir~
9839 $install_prog $dir/$dlname \$dldir/$dlname~
9840 chmod a+x \$dldir/$dlname~
9841 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9842 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9844 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9845 dlpath=$dir/\$dldll~
9847 shlibpath_overrides_runpath=yes
9851 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9852 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9853 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9856 # MinGW DLLs use traditional 'lib' prefix
9857 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9858 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9859 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9860 # It is most probably a Windows format PATH printed by
9861 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9862 # path with ; separators, and with drive letters. We can handle the
9863 # drive letters (cygwin fileutils understands them), so leave them,
9864 # especially as we might pass files found there to a mingw objdump,
9865 # which wouldn't understand a cygwinified path. Ahh.
9866 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9868 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9872 # pw32 DLLs use 'pw' prefix rather than 'lib'
9873 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9879 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9882 dynamic_linker='Win32 ld.exe'
9883 # FIXME: first we should search . and the directory the executable is in
9887 darwin* | rhapsody*)
9888 dynamic_linker="$host_os dyld"
9892 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9893 soname_spec='${libname}${release}${major}$shared_ext'
9894 shlibpath_overrides_runpath=yes
9895 shlibpath_var=DYLD_LIBRARY_PATH
9896 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9898 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9899 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9907 soname_spec='${libname}${release}${shared_ext}$major'
9908 shlibpath_var=LD_LIBRARY_PATH
9915 freebsd* | dragonfly*)
9916 # DragonFly does not have aout. When/if they implement a new
9917 # versioning mechanism, adjust this.
9918 if test -x /usr/bin/objformat; then
9919 objformat=`/usr/bin/objformat`
9922 freebsd[123]*) objformat=aout ;;
9926 version_type=freebsd-$objformat
9927 case $version_type in
9929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9934 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9938 shlibpath_var=LD_LIBRARY_PATH
9941 shlibpath_overrides_runpath=yes
9943 freebsd3.[01]* | freebsdelf3.[01]*)
9944 shlibpath_overrides_runpath=yes
9945 hardcode_into_libs=yes
9947 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9948 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9949 shlibpath_overrides_runpath=no
9950 hardcode_into_libs=yes
9952 *) # from 4.6 on, and DragonFly
9953 shlibpath_overrides_runpath=yes
9954 hardcode_into_libs=yes
9963 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9964 soname_spec='${libname}${release}${shared_ext}$major'
9965 shlibpath_var=LD_LIBRARY_PATH
9966 hardcode_into_libs=yes
9969 hpux9* | hpux10* | hpux11*)
9970 # Give a soname corresponding to the major version so that dld.sl refuses to
9971 # link against other versions.
9978 hardcode_into_libs=yes
9979 dynamic_linker="$host_os dld.so"
9980 shlibpath_var=LD_LIBRARY_PATH
9981 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9983 soname_spec='${libname}${release}${shared_ext}$major'
9984 if test "X$HPUX_IA64_MODE" = X32; then
9985 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9987 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9989 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9993 hardcode_into_libs=yes
9994 dynamic_linker="$host_os dld.sl"
9995 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9996 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9997 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9998 soname_spec='${libname}${release}${shared_ext}$major'
9999 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10000 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10004 dynamic_linker="$host_os dld.sl"
10005 shlibpath_var=SHLIB_PATH
10006 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10008 soname_spec='${libname}${release}${shared_ext}$major'
10011 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10012 postinstall_cmds='chmod 555 $lib'
10019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10020 soname_spec='${libname}${release}${shared_ext}$major'
10021 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10022 shlibpath_var=LD_LIBRARY_PATH
10023 shlibpath_overrides_runpath=no
10024 hardcode_into_libs=yes
10027 irix5* | irix6* | nonstopux*)
10029 nonstopux*) version_type=nonstopux ;;
10031 if test "$lt_cv_prog_gnu_ld" = yes; then
10039 soname_spec='${libname}${release}${shared_ext}$major'
10040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10042 irix5* | nonstopux*)
10043 libsuff= shlibsuff=
10046 case $LD in # libtool.m4 will add one of these switches to LD
10047 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10048 libsuff= shlibsuff= libmagic=32-bit;;
10049 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10050 libsuff=32 shlibsuff=N32 libmagic=N32;;
10051 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10052 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10053 *) libsuff= shlibsuff= libmagic=never-match;;
10057 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10058 shlibpath_overrides_runpath=no
10059 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10060 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10061 hardcode_into_libs=yes
10064 # No shared lib support for Linux oldld, aout, or coff.
10065 linux*oldld* | linux*aout* | linux*coff*)
10069 # This must be Linux ELF.
10070 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10075 soname_spec='${libname}${release}${shared_ext}$major'
10076 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10077 shlibpath_var=LD_LIBRARY_PATH
10078 shlibpath_overrides_runpath=no
10079 # Some binutils ld are patched to set DT_RUNPATH
10080 save_LDFLAGS=$LDFLAGS
10081 save_libdir=$libdir
10082 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10083 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10085 /* end confdefs.h. */
10095 if ac_fn_c_try_link "$LINENO"; then :
10096 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10097 shlibpath_overrides_runpath=yes
10100 rm -f core conftest.err conftest.$ac_objext \
10101 conftest$ac_exeext conftest.$ac_ext
10102 LDFLAGS=$save_LDFLAGS
10103 libdir=$save_libdir
10105 # This implies no fast_install, which is unacceptable.
10106 # Some rework will be needed to allow for fast_install
10107 # before this can be enabled.
10108 hardcode_into_libs=yes
10110 # Append ld.so.conf contents to the search path
10111 if test -f /etc/ld.so.conf; then
10112 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10113 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10116 # We used to test for /lib/ld.so.1 and disable shared libraries on
10117 # powerpc, because MkLinux only supported shared libraries with the
10118 # GNU dynamic linker. Since this was broken with cross compilers,
10119 # most powerpc-linux boxes support dynamic linking these days and
10120 # people can always --disable-shared, the test was removed, and we
10121 # assume the GNU/Linux dynamic linker is in use.
10122 dynamic_linker='GNU/Linux ld.so'
10129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10130 soname_spec='${libname}${release}${shared_ext}$major'
10131 shlibpath_var=LD_LIBRARY_PATH
10132 shlibpath_overrides_runpath=no
10133 hardcode_into_libs=yes
10134 dynamic_linker='NetBSD ld.elf_so'
10141 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10143 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10144 dynamic_linker='NetBSD (a.out) ld.so'
10146 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10147 soname_spec='${libname}${release}${shared_ext}$major'
10148 dynamic_linker='NetBSD ld.elf_so'
10150 shlibpath_var=LD_LIBRARY_PATH
10151 shlibpath_overrides_runpath=yes
10152 hardcode_into_libs=yes
10157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10158 shlibpath_var=LD_LIBRARY_PATH
10159 shlibpath_overrides_runpath=yes
10166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10167 soname_spec='${libname}${release}${shared_ext}$major'
10168 shlibpath_var=LD_LIBRARY_PATH
10169 shlibpath_overrides_runpath=no
10170 hardcode_into_libs=yes
10171 dynamic_linker='ldqnx.so'
10176 sys_lib_dlsearch_path_spec="/usr/lib"
10178 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10180 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10181 *) need_version=no ;;
10183 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10184 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10185 shlibpath_var=LD_LIBRARY_PATH
10186 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10188 openbsd2.[89] | openbsd2.[89].*)
10189 shlibpath_overrides_runpath=no
10192 shlibpath_overrides_runpath=yes
10196 shlibpath_overrides_runpath=yes
10201 libname_spec='$name'
10204 library_names_spec='$libname${shared_ext} $libname.a'
10205 dynamic_linker='OS/2 ld.exe'
10206 shlibpath_var=LIBPATH
10209 osf3* | osf4* | osf5*)
10213 soname_spec='${libname}${release}${shared_ext}$major'
10214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10215 shlibpath_var=LD_LIBRARY_PATH
10216 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10217 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10229 soname_spec='${libname}${release}${shared_ext}$major'
10230 shlibpath_var=LD_LIBRARY_PATH
10231 shlibpath_overrides_runpath=yes
10232 hardcode_into_libs=yes
10233 # ldd complains unless libraries are executable
10234 postinstall_cmds='chmod +x $lib'
10239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10240 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10241 shlibpath_var=LD_LIBRARY_PATH
10242 shlibpath_overrides_runpath=yes
10243 if test "$with_gnu_ld" = yes; then
10251 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10252 soname_spec='${libname}${release}${shared_ext}$major'
10253 shlibpath_var=LD_LIBRARY_PATH
10254 case $host_vendor in
10256 shlibpath_overrides_runpath=no
10258 runpath_var=LD_RUN_PATH
10266 shlibpath_overrides_runpath=no
10267 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10273 if test -d /usr/nec ;then
10275 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10276 soname_spec='$libname${shared_ext}.$major'
10277 shlibpath_var=LD_LIBRARY_PATH
10281 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10282 version_type=freebsd-elf
10285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10286 soname_spec='${libname}${release}${shared_ext}$major'
10287 shlibpath_var=LD_LIBRARY_PATH
10288 shlibpath_overrides_runpath=yes
10289 hardcode_into_libs=yes
10290 if test "$with_gnu_ld" = yes; then
10291 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10293 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10296 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10300 sys_lib_dlsearch_path_spec='/usr/lib'
10304 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10309 shlibpath_var=LD_LIBRARY_PATH
10310 shlibpath_overrides_runpath=no
10311 hardcode_into_libs=yes
10316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10317 soname_spec='${libname}${release}${shared_ext}$major'
10318 shlibpath_var=LD_LIBRARY_PATH
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10326 $as_echo "$dynamic_linker" >&6; }
10327 test "$dynamic_linker" = no && can_build_shared=no
10329 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10330 if test "$GCC" = yes; then
10331 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10334 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10335 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10337 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10338 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10428 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10430 if test -n "$hardcode_libdir_flag_spec" ||
10431 test -n "$runpath_var" ||
10432 test "X$hardcode_automatic" = "Xyes" ; then
10434 # We can hardcode non-existent directories.
10435 if test "$hardcode_direct" != no &&
10436 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10437 # have to relink, otherwise we might link with an installed library
10438 # when we should be linking with a yet-to-be-installed one
10439 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10440 test "$hardcode_minus_L" != no; then
10441 # Linking always hardcodes the temporary library directory.
10442 hardcode_action=relink
10444 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10445 hardcode_action=immediate
10448 # We cannot hardcode anything, or else we can only hardcode existing
10450 hardcode_action=unsupported
10452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10453 $as_echo "$hardcode_action" >&6; }
10455 if test "$hardcode_action" = relink ||
10456 test "$inherit_rpath" = yes; then
10457 # Fast installation is not supported
10458 enable_fast_install=no
10459 elif test "$shlibpath_overrides_runpath" = yes ||
10460 test "$enable_shared" = no; then
10461 # Fast installation is not necessary
10462 enable_fast_install=needless
10470 if test "x$enable_dlopen" != xyes; then
10471 enable_dlopen=unknown
10472 enable_dlopen_self=unknown
10473 enable_dlopen_self_static=unknown
10480 lt_cv_dlopen="load_add_on"
10482 lt_cv_dlopen_self=yes
10485 mingw* | pw32* | cegcc*)
10486 lt_cv_dlopen="LoadLibrary"
10491 lt_cv_dlopen="dlopen"
10496 # if libdl is installed we need to link against it
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10498 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10499 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10500 $as_echo_n "(cached) " >&6
10502 ac_check_lib_save_LIBS=$LIBS
10504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10505 /* end confdefs.h. */
10507 /* Override any GCC internal prototype to avoid an error.
10508 Use char because int might match the return type of a GCC
10509 builtin and then its argument prototype would still apply. */
10522 if ac_fn_c_try_link "$LINENO"; then :
10523 ac_cv_lib_dl_dlopen=yes
10525 ac_cv_lib_dl_dlopen=no
10527 rm -f core conftest.err conftest.$ac_objext \
10528 conftest$ac_exeext conftest.$ac_ext
10529 LIBS=$ac_check_lib_save_LIBS
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10532 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10533 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10534 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10537 lt_cv_dlopen="dyld"
10539 lt_cv_dlopen_self=yes
10546 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10547 if test "x$ac_cv_func_shl_load" = x""yes; then :
10548 lt_cv_dlopen="shl_load"
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10551 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10552 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10553 $as_echo_n "(cached) " >&6
10555 ac_check_lib_save_LIBS=$LIBS
10557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10558 /* end confdefs.h. */
10560 /* Override any GCC internal prototype to avoid an error.
10561 Use char because int might match the return type of a GCC
10562 builtin and then its argument prototype would still apply. */
10570 return shl_load ();
10575 if ac_fn_c_try_link "$LINENO"; then :
10576 ac_cv_lib_dld_shl_load=yes
10578 ac_cv_lib_dld_shl_load=no
10580 rm -f core conftest.err conftest.$ac_objext \
10581 conftest$ac_exeext conftest.$ac_ext
10582 LIBS=$ac_check_lib_save_LIBS
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10585 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10586 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10587 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10589 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10590 if test "x$ac_cv_func_dlopen" = x""yes; then :
10591 lt_cv_dlopen="dlopen"
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10594 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10595 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10596 $as_echo_n "(cached) " >&6
10598 ac_check_lib_save_LIBS=$LIBS
10600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10601 /* end confdefs.h. */
10603 /* Override any GCC internal prototype to avoid an error.
10604 Use char because int might match the return type of a GCC
10605 builtin and then its argument prototype would still apply. */
10618 if ac_fn_c_try_link "$LINENO"; then :
10619 ac_cv_lib_dl_dlopen=yes
10621 ac_cv_lib_dl_dlopen=no
10623 rm -f core conftest.err conftest.$ac_objext \
10624 conftest$ac_exeext conftest.$ac_ext
10625 LIBS=$ac_check_lib_save_LIBS
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10628 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10629 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10630 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10633 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10634 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10635 $as_echo_n "(cached) " >&6
10637 ac_check_lib_save_LIBS=$LIBS
10638 LIBS="-lsvld $LIBS"
10639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10640 /* end confdefs.h. */
10642 /* Override any GCC internal prototype to avoid an error.
10643 Use char because int might match the return type of a GCC
10644 builtin and then its argument prototype would still apply. */
10657 if ac_fn_c_try_link "$LINENO"; then :
10658 ac_cv_lib_svld_dlopen=yes
10660 ac_cv_lib_svld_dlopen=no
10662 rm -f core conftest.err conftest.$ac_objext \
10663 conftest$ac_exeext conftest.$ac_ext
10664 LIBS=$ac_check_lib_save_LIBS
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10667 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10668 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10669 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10672 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10673 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10674 $as_echo_n "(cached) " >&6
10676 ac_check_lib_save_LIBS=$LIBS
10678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10679 /* end confdefs.h. */
10681 /* Override any GCC internal prototype to avoid an error.
10682 Use char because int might match the return type of a GCC
10683 builtin and then its argument prototype would still apply. */
10691 return dld_link ();
10696 if ac_fn_c_try_link "$LINENO"; then :
10697 ac_cv_lib_dld_dld_link=yes
10699 ac_cv_lib_dld_dld_link=no
10701 rm -f core conftest.err conftest.$ac_objext \
10702 conftest$ac_exeext conftest.$ac_ext
10703 LIBS=$ac_check_lib_save_LIBS
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10706 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10707 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10708 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10729 if test "x$lt_cv_dlopen" != xno; then
10735 case $lt_cv_dlopen in
10737 save_CPPFLAGS="$CPPFLAGS"
10738 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10740 save_LDFLAGS="$LDFLAGS"
10741 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10744 LIBS="$lt_cv_dlopen_libs $LIBS"
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10747 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10748 if test "${lt_cv_dlopen_self+set}" = set; then :
10749 $as_echo_n "(cached) " >&6
10751 if test "$cross_compiling" = yes; then :
10752 lt_cv_dlopen_self=cross
10754 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10755 lt_status=$lt_dlunknown
10756 cat > conftest.$ac_ext <<_LT_EOF
10757 #line 10757 "configure"
10758 #include "confdefs.h"
10767 # define LT_DLGLOBAL RTLD_GLOBAL
10770 # define LT_DLGLOBAL DL_GLOBAL
10772 # define LT_DLGLOBAL 0
10776 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10777 find out it does not work in some platform. */
10778 #ifndef LT_DLLAZY_OR_NOW
10780 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10783 # define LT_DLLAZY_OR_NOW DL_LAZY
10786 # define LT_DLLAZY_OR_NOW RTLD_NOW
10789 # define LT_DLLAZY_OR_NOW DL_NOW
10791 # define LT_DLLAZY_OR_NOW 0
10798 void fnord() { int i=42;}
10801 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10802 int status = $lt_dlunknown;
10806 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10807 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10808 /* dlclose (self); */
10816 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10817 (eval $ac_link) 2>&5
10819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10820 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10821 (./conftest; exit; ) >&5 2>/dev/null
10823 case x$lt_status in
10824 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10825 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10826 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10829 # compilation failed
10830 lt_cv_dlopen_self=no
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10838 $as_echo "$lt_cv_dlopen_self" >&6; }
10840 if test "x$lt_cv_dlopen_self" = xyes; then
10841 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10843 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10844 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10845 $as_echo_n "(cached) " >&6
10847 if test "$cross_compiling" = yes; then :
10848 lt_cv_dlopen_self_static=cross
10850 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10851 lt_status=$lt_dlunknown
10852 cat > conftest.$ac_ext <<_LT_EOF
10853 #line 10853 "configure"
10854 #include "confdefs.h"
10863 # define LT_DLGLOBAL RTLD_GLOBAL
10866 # define LT_DLGLOBAL DL_GLOBAL
10868 # define LT_DLGLOBAL 0
10872 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10873 find out it does not work in some platform. */
10874 #ifndef LT_DLLAZY_OR_NOW
10876 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10879 # define LT_DLLAZY_OR_NOW DL_LAZY
10882 # define LT_DLLAZY_OR_NOW RTLD_NOW
10885 # define LT_DLLAZY_OR_NOW DL_NOW
10887 # define LT_DLLAZY_OR_NOW 0
10894 void fnord() { int i=42;}
10897 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10898 int status = $lt_dlunknown;
10902 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10903 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10904 /* dlclose (self); */
10912 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10913 (eval $ac_link) 2>&5
10915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10916 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10917 (./conftest; exit; ) >&5 2>/dev/null
10919 case x$lt_status in
10920 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10921 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10922 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10925 # compilation failed
10926 lt_cv_dlopen_self_static=no
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10934 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10937 CPPFLAGS="$save_CPPFLAGS"
10938 LDFLAGS="$save_LDFLAGS"
10943 case $lt_cv_dlopen_self in
10944 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10945 *) enable_dlopen_self=unknown ;;
10948 case $lt_cv_dlopen_self_static in
10949 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10950 *) enable_dlopen_self_static=unknown ;;
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10973 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10974 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10975 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10976 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10978 $as_echo "yes" >&6; }
10980 # FIXME - insert some real tests, host_os isn't really good enough
10983 if test -n "$STRIP" ; then
10984 striplib="$STRIP -x"
10985 old_striplib="$STRIP -S"
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10987 $as_echo "yes" >&6; }
10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10990 $as_echo "no" >&6; }
10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10995 $as_echo "no" >&6; }
11011 # Report which library types will actually be built
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11013 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11015 $as_echo "$can_build_shared" >&6; }
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11018 $as_echo_n "checking whether to build shared libraries... " >&6; }
11019 test "$can_build_shared" = "no" && enable_shared=no
11021 # On AIX, shared libraries and static libraries use the same namespace, and
11022 # are all built from PIC.
11025 test "$enable_shared" = yes && enable_static=no
11026 if test -n "$RANLIB"; then
11027 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11028 postinstall_cmds='$RANLIB $lib'
11033 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11034 test "$enable_shared" = yes && enable_static=no
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11039 $as_echo "$enable_shared" >&6; }
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11042 $as_echo_n "checking whether to build static libraries... " >&6; }
11043 # Make sure either enable_shared or enable_static is yes.
11044 test "$enable_shared" = yes || enable_static=yes
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11046 $as_echo "$enable_static" >&6; }
11053 ac_cpp='$CPP $CPPFLAGS'
11054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11072 ac_config_commands="$ac_config_commands libtool"
11077 # Only expand once:
11087 # Check whether --with-autoconf was given.
11088 if test "${with_autoconf+set}" = set; then :
11089 withval=$with_autoconf;
11092 AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"}
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5
11095 $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;}
11101 # Check whether --with-autoheader was given.
11102 if test "${with_autoheader+set}" = set; then :
11103 withval=$with_autoheader;
11106 AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"}
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5
11109 $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;}
11115 # Check whether --with-automake was given.
11116 if test "${with_automake+set}" = set; then :
11117 withval=$with_automake;
11120 AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"}
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5
11123 $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;}
11129 # Check whether --with-aclocal was given.
11130 if test "${with_aclocal+set}" = set; then :
11131 withval=$with_aclocal;
11134 ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"}
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5
11137 $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;}
11143 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
11149 # Check whether --with-pkg-config-path was given.
11150 if test "${with_pkg_config_path+set}" = set; then :
11151 withval=$with_pkg_config_path;
11152 export PKG_CONFIG_PATH=${withval}
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5
11154 $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;}
11161 # Check whether --with-package-name was given.
11162 if test "${with_package_name+set}" = set; then :
11163 withval=$with_package_name;
11164 case "${withval}" in
11165 yes) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
11166 no) as_fn_error $? "bad value ${withval} for --with-package-name" "$LINENO" 5 ;;
11167 *) GST_PACKAGE_NAME="${withval}" ;;
11173 if test "x$P" = "x"
11178 if test "x$PACKAGE_VERSION_NANO" = "x0"
11180 GST_PACKAGE_NAME="$P source release"
11182 if test "x$PACKAGE_VERSION_NANO" = "x1"
11184 GST_PACKAGE_NAME="$P git"
11186 GST_PACKAGE_NAME="$P prerelease"
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5
11194 $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;}
11196 cat >>confdefs.h <<_ACEOF
11197 #define GST_PACKAGE_NAME "$GST_PACKAGE_NAME"
11204 # Check whether --with-package-origin was given.
11205 if test "${with_package_origin+set}" = set; then :
11206 withval=$with_package_origin;
11207 case "${withval}" in
11208 yes) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
11209 no) as_fn_error $? "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;;
11210 *) GST_PACKAGE_ORIGIN="${withval}" ;;
11214 GST_PACKAGE_ORIGIN="Unknown package origin"
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5
11218 $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;}
11220 cat >>confdefs.h <<_ACEOF
11221 #define GST_PACKAGE_ORIGIN "$GST_PACKAGE_ORIGIN"
11228 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11229 if test -n "$ac_tool_prefix"; then
11230 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11231 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11233 $as_echo_n "checking for $ac_word... " >&6; }
11234 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11235 $as_echo_n "(cached) " >&6
11237 case $PKG_CONFIG in
11239 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11243 for as_dir in $PATH
11246 test -z "$as_dir" && as_dir=.
11247 for ac_exec_ext in '' $ac_executable_extensions; do
11248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11249 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11260 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11261 if test -n "$PKG_CONFIG"; then
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11263 $as_echo "$PKG_CONFIG" >&6; }
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11266 $as_echo "no" >&6; }
11271 if test -z "$ac_cv_path_PKG_CONFIG"; then
11272 ac_pt_PKG_CONFIG=$PKG_CONFIG
11273 # Extract the first word of "pkg-config", so it can be a program name with args.
11274 set dummy pkg-config; ac_word=$2
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11276 $as_echo_n "checking for $ac_word... " >&6; }
11277 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11278 $as_echo_n "(cached) " >&6
11280 case $ac_pt_PKG_CONFIG in
11282 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11286 for as_dir in $PATH
11289 test -z "$as_dir" && as_dir=.
11290 for ac_exec_ext in '' $ac_executable_extensions; do
11291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11292 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11303 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11304 if test -n "$ac_pt_PKG_CONFIG"; then
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11306 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11309 $as_echo "no" >&6; }
11312 if test "x$ac_pt_PKG_CONFIG" = x; then
11315 case $cross_compiling:$ac_tool_warned in
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11319 ac_tool_warned=yes ;;
11321 PKG_CONFIG=$ac_pt_PKG_CONFIG
11324 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11328 if test -n "$PKG_CONFIG"; then
11329 _pkg_min_version=0.9.0
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11331 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11332 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11334 $as_echo "yes" >&6; }
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11337 $as_echo "no" >&6; }
11343 # Check whether --enable-valgrind was given.
11344 if test "${enable_valgrind+set}" = set; then :
11345 enableval=$enable_valgrind;
11346 case "${enableval}" in
11347 yes) USE_VALGRIND="$USE_DEBUG" ;;
11348 no) USE_VALGRIND=no ;;
11349 *) as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
11353 USE_VALGRIND="$USE_DEBUG"
11356 if test "x$USE_VALGRIND" = xyes; then
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
11360 $as_echo_n "checking for VALGRIND... " >&6; }
11362 if test -n "$PKG_CONFIG"; then
11363 if test -n "$VALGRIND_CFLAGS"; then
11364 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
11366 if test -n "$PKG_CONFIG" && \
11367 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
11368 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
11370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11371 test $ac_status = 0; }; then
11372 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
11380 if test -n "$PKG_CONFIG"; then
11381 if test -n "$VALGRIND_LIBS"; then
11382 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
11384 if test -n "$PKG_CONFIG" && \
11385 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
11386 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
11388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11389 test $ac_status = 0; }; then
11390 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
11401 if test $pkg_failed = yes; then
11403 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11404 _pkg_short_errors_supported=yes
11406 _pkg_short_errors_supported=no
11408 if test $_pkg_short_errors_supported = yes; then
11409 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
11411 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
11413 # Put the nasty error message in config.log where it belongs
11414 echo "$VALGRIND_PKG_ERRORS" >&5
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11417 $as_echo "no" >&6; }
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11421 $as_echo "no" >&6; }
11423 elif test $pkg_failed = untried; then
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11427 $as_echo "no" >&6; }
11430 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
11431 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11433 $as_echo "yes" >&6; }
11437 if test "x$USE_VALGRIND" = xyes; then
11439 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
11442 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
11450 case "x${host_cpu}" in
11451 xi?86 | xk? | xi?86_64)
11454 ac_fn_c_check_decl "$LINENO" "__i386" "ac_cv_have_decl___i386" "$ac_includes_default"
11455 if test "x$ac_cv_have_decl___i386" = x""yes; then :
11461 ac_fn_c_check_decl "$LINENO" "__amd64" "ac_cv_have_decl___amd64" "$ac_includes_default"
11462 if test "x$ac_cv_have_decl___amd64" = x""yes; then :
11469 if test "x$I386_ABI" = "xyes" ; then
11472 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
11475 if test "x$AMD64_ABI" = "xyes" ; then
11476 HAVE_CPU_X86_64=yes
11478 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
11485 $as_echo "#define HAVE_CPU_I386 1" >>confdefs.h
11488 case "x${host_cpu}" in
11492 $as_echo "#define HAVE_RDTSC 1" >>confdefs.h
11501 $as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h
11506 $as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h
11511 $as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h
11516 $as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h
11521 $as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h
11526 $as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h
11531 $as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h
11536 $as_echo "#define HAVE_CPU_S390 1" >>confdefs.h
11541 $as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h
11546 $as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h
11549 HAVE_CPU_X86_64=yes
11551 $as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h
11556 $as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h
11559 HAVE_CPU_CRISV32=yes
11561 $as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
11566 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
11567 if test "${ac_cv_c_bigendian+set}" = set; then :
11568 $as_echo_n "(cached) " >&6
11570 ac_cv_c_bigendian=unknown
11571 # See if we're dealing with a universal compiler.
11572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11574 #ifndef __APPLE_CC__
11575 not a universal capable compiler
11580 if ac_fn_c_try_compile "$LINENO"; then :
11582 # Check for potential -arch flags. It is not universal unless
11583 # there are at least two -arch flags with different values.
11586 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
11587 if test -n "$ac_prev"; then
11589 i?86 | x86_64 | ppc | ppc64)
11590 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
11593 ac_cv_c_bigendian=universal
11599 elif test "x$ac_word" = "x-arch"; then
11604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11605 if test $ac_cv_c_bigendian = unknown; then
11606 # See if sys/param.h defines the BYTE_ORDER macro.
11607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608 /* end confdefs.h. */
11609 #include <sys/types.h>
11610 #include <sys/param.h>
11615 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
11616 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
11618 bogus endian macros
11625 if ac_fn_c_try_compile "$LINENO"; then :
11626 # It does; now see whether it defined to BIG_ENDIAN or not.
11627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11628 /* end confdefs.h. */
11629 #include <sys/types.h>
11630 #include <sys/param.h>
11635 #if BYTE_ORDER != BIG_ENDIAN
11643 if ac_fn_c_try_compile "$LINENO"; then :
11644 ac_cv_c_bigendian=yes
11646 ac_cv_c_bigendian=no
11648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11652 if test $ac_cv_c_bigendian = unknown; then
11653 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
11654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11655 /* end confdefs.h. */
11656 #include <limits.h>
11661 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
11662 bogus endian macros
11669 if ac_fn_c_try_compile "$LINENO"; then :
11670 # It does; now see whether it defined to _BIG_ENDIAN or not.
11671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11672 /* end confdefs.h. */
11673 #include <limits.h>
11678 #ifndef _BIG_ENDIAN
11686 if ac_fn_c_try_compile "$LINENO"; then :
11687 ac_cv_c_bigendian=yes
11689 ac_cv_c_bigendian=no
11691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11695 if test $ac_cv_c_bigendian = unknown; then
11696 # Compile a test program.
11697 if test "$cross_compiling" = yes; then :
11698 # Try to guess by grepping values from an object file.
11699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11700 /* end confdefs.h. */
11701 short int ascii_mm[] =
11702 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
11703 short int ascii_ii[] =
11704 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
11705 int use_ascii (int i) {
11706 return ascii_mm[i] + ascii_ii[i];
11708 short int ebcdic_ii[] =
11709 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
11710 short int ebcdic_mm[] =
11711 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
11712 int use_ebcdic (int i) {
11713 return ebcdic_mm[i] + ebcdic_ii[i];
11720 return use_ascii (foo) == use_ebcdic (foo);
11725 if ac_fn_c_try_compile "$LINENO"; then :
11726 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
11727 ac_cv_c_bigendian=yes
11729 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
11730 if test "$ac_cv_c_bigendian" = unknown; then
11731 ac_cv_c_bigendian=no
11733 # finding both strings is unlikely to happen, but who knows?
11734 ac_cv_c_bigendian=unknown
11738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11741 /* end confdefs.h. */
11742 $ac_includes_default
11747 /* Are we little or big endian? From Harbison&Steele. */
11751 char c[sizeof (long int)];
11754 return u.c[sizeof (long int) - 1] == 1;
11760 if ac_fn_c_try_run "$LINENO"; then :
11761 ac_cv_c_bigendian=no
11763 ac_cv_c_bigendian=yes
11765 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11766 conftest.$ac_objext conftest.beam conftest.$ac_ext
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
11772 $as_echo "$ac_cv_c_bigendian" >&6; }
11773 case $ac_cv_c_bigendian in #(
11775 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
11781 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
11785 as_fn_error $? "unknown endianness
11786 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
11790 if test "x$HAVE_CPU_I386" = "xyes"; then
11791 HAVE_CPU_I386_TRUE=
11792 HAVE_CPU_I386_FALSE='#'
11794 HAVE_CPU_I386_TRUE='#'
11795 HAVE_CPU_I386_FALSE=
11798 if test "x$HAVE_CPU_PPC" = "xyes"; then
11800 HAVE_CPU_PPC_FALSE='#'
11802 HAVE_CPU_PPC_TRUE='#'
11803 HAVE_CPU_PPC_FALSE=
11806 if test "x$HAVE_CPU_PPC64" = "xyes"; then
11807 HAVE_CPU_PPC64_TRUE=
11808 HAVE_CPU_PPC64_FALSE='#'
11810 HAVE_CPU_PPC64_TRUE='#'
11811 HAVE_CPU_PPC64_FALSE=
11814 if test "x$HAVE_CPU_ALPHA" = "xyes"; then
11815 HAVE_CPU_ALPHA_TRUE=
11816 HAVE_CPU_ALPHA_FALSE='#'
11818 HAVE_CPU_ALPHA_TRUE='#'
11819 HAVE_CPU_ALPHA_FALSE=
11822 if test "x$HAVE_CPU_ARM" = "xyes"; then
11824 HAVE_CPU_ARM_FALSE='#'
11826 HAVE_CPU_ARM_TRUE='#'
11827 HAVE_CPU_ARM_FALSE=
11830 if test "x$HAVE_CPU_SPARC" = "xyes"; then
11831 HAVE_CPU_SPARC_TRUE=
11832 HAVE_CPU_SPARC_FALSE='#'
11834 HAVE_CPU_SPARC_TRUE='#'
11835 HAVE_CPU_SPARC_FALSE=
11838 if test "x$HAVE_CPU_HPPA" = "xyes"; then
11839 HAVE_CPU_HPPA_TRUE=
11840 HAVE_CPU_HPPA_FALSE='#'
11842 HAVE_CPU_HPPA_TRUE='#'
11843 HAVE_CPU_HPPA_FALSE=
11846 if test "x$HAVE_CPU_MIPS" = "xyes"; then
11847 HAVE_CPU_MIPS_TRUE=
11848 HAVE_CPU_MIPS_FALSE='#'
11850 HAVE_CPU_MIPS_TRUE='#'
11851 HAVE_CPU_MIPS_FALSE=
11854 if test "x$HAVE_CPU_S390" = "xyes"; then
11855 HAVE_CPU_S390_TRUE=
11856 HAVE_CPU_S390_FALSE='#'
11858 HAVE_CPU_S390_TRUE='#'
11859 HAVE_CPU_S390_FALSE=
11862 if test "x$HAVE_CPU_IA64" = "xyes"; then
11863 HAVE_CPU_IA64_TRUE=
11864 HAVE_CPU_IA64_FALSE='#'
11866 HAVE_CPU_IA64_TRUE='#'
11867 HAVE_CPU_IA64_FALSE=
11870 if test "x$HAVE_CPU_M68K" = "xyes"; then
11871 HAVE_CPU_M68K_TRUE=
11872 HAVE_CPU_M68K_FALSE='#'
11874 HAVE_CPU_M68K_TRUE='#'
11875 HAVE_CPU_M68K_FALSE=
11878 if test "x$HAVE_CPU_X86_64" = "xyes"; then
11879 HAVE_CPU_X86_64_TRUE=
11880 HAVE_CPU_X86_64_FALSE='#'
11882 HAVE_CPU_X86_64_TRUE='#'
11883 HAVE_CPU_X86_64_FALSE=
11886 if test "x$HAVE_CPU_CRIS" = "xyes"; then
11887 HAVE_CPU_CRIS_TRUE=
11888 HAVE_CPU_CRIS_FALSE='#'
11890 HAVE_CPU_CRIS_TRUE='#'
11891 HAVE_CPU_CRIS_FALSE=
11894 if test "x$HAVE_CPU_CRISV32" = "xyes"; then
11895 HAVE_CPU_CRISV32_TRUE=
11896 HAVE_CPU_CRISV32_FALSE='#'
11898 HAVE_CPU_CRISV32_TRUE='#'
11899 HAVE_CPU_CRISV32_FALSE=
11904 cat >>confdefs.h <<_ACEOF
11905 #define HOST_CPU "$host_cpu"
11912 ac_cpp='$CPP $CPPFLAGS'
11913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11916 if test -n "$ac_tool_prefix"; then
11917 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11918 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11920 $as_echo_n "checking for $ac_word... " >&6; }
11921 if test "${ac_cv_prog_CC+set}" = set; then :
11922 $as_echo_n "(cached) " >&6
11924 if test -n "$CC"; then
11925 ac_cv_prog_CC="$CC" # Let the user override the test.
11927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11928 for as_dir in $PATH
11931 test -z "$as_dir" && as_dir=.
11932 for ac_exec_ext in '' $ac_executable_extensions; do
11933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11934 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11945 if test -n "$CC"; then
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11947 $as_echo "$CC" >&6; }
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11950 $as_echo "no" >&6; }
11955 if test -z "$ac_cv_prog_CC"; then
11957 # Extract the first word of "gcc", so it can be a program name with args.
11958 set dummy gcc; ac_word=$2
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11960 $as_echo_n "checking for $ac_word... " >&6; }
11961 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11962 $as_echo_n "(cached) " >&6
11964 if test -n "$ac_ct_CC"; then
11965 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11968 for as_dir in $PATH
11971 test -z "$as_dir" && as_dir=.
11972 for ac_exec_ext in '' $ac_executable_extensions; do
11973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11974 ac_cv_prog_ac_ct_CC="gcc"
11975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11984 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11985 if test -n "$ac_ct_CC"; then
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11987 $as_echo "$ac_ct_CC" >&6; }
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11990 $as_echo "no" >&6; }
11993 if test "x$ac_ct_CC" = x; then
11996 case $cross_compiling:$ac_tool_warned in
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12000 ac_tool_warned=yes ;;
12005 CC="$ac_cv_prog_CC"
12008 if test -z "$CC"; then
12009 if test -n "$ac_tool_prefix"; then
12010 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12011 set dummy ${ac_tool_prefix}cc; ac_word=$2
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12013 $as_echo_n "checking for $ac_word... " >&6; }
12014 if test "${ac_cv_prog_CC+set}" = set; then :
12015 $as_echo_n "(cached) " >&6
12017 if test -n "$CC"; then
12018 ac_cv_prog_CC="$CC" # Let the user override the test.
12020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12021 for as_dir in $PATH
12024 test -z "$as_dir" && as_dir=.
12025 for ac_exec_ext in '' $ac_executable_extensions; do
12026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12027 ac_cv_prog_CC="${ac_tool_prefix}cc"
12028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12038 if test -n "$CC"; then
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12040 $as_echo "$CC" >&6; }
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12043 $as_echo "no" >&6; }
12049 if test -z "$CC"; then
12050 # Extract the first word of "cc", so it can be a program name with args.
12051 set dummy cc; ac_word=$2
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12053 $as_echo_n "checking for $ac_word... " >&6; }
12054 if test "${ac_cv_prog_CC+set}" = set; then :
12055 $as_echo_n "(cached) " >&6
12057 if test -n "$CC"; then
12058 ac_cv_prog_CC="$CC" # Let the user override the test.
12060 ac_prog_rejected=no
12061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12062 for as_dir in $PATH
12065 test -z "$as_dir" && as_dir=.
12066 for ac_exec_ext in '' $ac_executable_extensions; do
12067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12068 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12069 ac_prog_rejected=yes
12073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12080 if test $ac_prog_rejected = yes; then
12081 # We found a bogon in the path, so make sure we never use it.
12082 set dummy $ac_cv_prog_CC
12084 if test $# != 0; then
12085 # We chose a different compiler from the bogus one.
12086 # However, it has the same basename, so the bogon will be chosen
12087 # first if we set CC to just the basename; use the full file name.
12089 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12095 if test -n "$CC"; then
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12097 $as_echo "$CC" >&6; }
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12100 $as_echo "no" >&6; }
12105 if test -z "$CC"; then
12106 if test -n "$ac_tool_prefix"; then
12107 for ac_prog in cl.exe
12109 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12110 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12112 $as_echo_n "checking for $ac_word... " >&6; }
12113 if test "${ac_cv_prog_CC+set}" = set; then :
12114 $as_echo_n "(cached) " >&6
12116 if test -n "$CC"; then
12117 ac_cv_prog_CC="$CC" # Let the user override the test.
12119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12120 for as_dir in $PATH
12123 test -z "$as_dir" && as_dir=.
12124 for ac_exec_ext in '' $ac_executable_extensions; do
12125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12126 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12137 if test -n "$CC"; then
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12139 $as_echo "$CC" >&6; }
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12142 $as_echo "no" >&6; }
12146 test -n "$CC" && break
12149 if test -z "$CC"; then
12151 for ac_prog in cl.exe
12153 # Extract the first word of "$ac_prog", so it can be a program name with args.
12154 set dummy $ac_prog; ac_word=$2
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12156 $as_echo_n "checking for $ac_word... " >&6; }
12157 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12158 $as_echo_n "(cached) " >&6
12160 if test -n "$ac_ct_CC"; then
12161 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12164 for as_dir in $PATH
12167 test -z "$as_dir" && as_dir=.
12168 for ac_exec_ext in '' $ac_executable_extensions; do
12169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12170 ac_cv_prog_ac_ct_CC="$ac_prog"
12171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12180 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12181 if test -n "$ac_ct_CC"; then
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12183 $as_echo "$ac_ct_CC" >&6; }
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12186 $as_echo "no" >&6; }
12190 test -n "$ac_ct_CC" && break
12193 if test "x$ac_ct_CC" = x; then
12196 case $cross_compiling:$ac_tool_warned in
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12200 ac_tool_warned=yes ;;
12209 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12210 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12211 as_fn_error $? "no acceptable C compiler found in \$PATH
12212 See \`config.log' for more details" "$LINENO" 5 ; }
12214 # Provide some information about the compiler.
12215 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12218 for ac_option in --version -v -V -qversion; do
12219 { { ac_try="$ac_compiler $ac_option >&5"
12220 case "(($ac_try" in
12221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12222 *) ac_try_echo=$ac_try;;
12224 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12225 $as_echo "$ac_try_echo"; } >&5
12226 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12228 if test -s conftest.err; then
12230 ... rest of stderr output deleted ...
12231 10q' conftest.err >conftest.er1
12232 cat conftest.er1 >&5
12234 rm -f conftest.er1 conftest.err
12235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12236 test $ac_status = 0; }
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12240 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12241 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12242 $as_echo_n "(cached) " >&6
12244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12245 /* end confdefs.h. */
12258 if ac_fn_c_try_compile "$LINENO"; then :
12259 ac_compiler_gnu=yes
12263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12264 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12268 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12269 if test $ac_compiler_gnu = yes; then
12274 ac_test_CFLAGS=${CFLAGS+set}
12275 ac_save_CFLAGS=$CFLAGS
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12277 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12278 if test "${ac_cv_prog_cc_g+set}" = set; then :
12279 $as_echo_n "(cached) " >&6
12281 ac_save_c_werror_flag=$ac_c_werror_flag
12282 ac_c_werror_flag=yes
12285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12286 /* end confdefs.h. */
12296 if ac_fn_c_try_compile "$LINENO"; then :
12297 ac_cv_prog_cc_g=yes
12300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12301 /* end confdefs.h. */
12311 if ac_fn_c_try_compile "$LINENO"; then :
12314 ac_c_werror_flag=$ac_save_c_werror_flag
12316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12317 /* end confdefs.h. */
12327 if ac_fn_c_try_compile "$LINENO"; then :
12328 ac_cv_prog_cc_g=yes
12330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12335 ac_c_werror_flag=$ac_save_c_werror_flag
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12338 $as_echo "$ac_cv_prog_cc_g" >&6; }
12339 if test "$ac_test_CFLAGS" = set; then
12340 CFLAGS=$ac_save_CFLAGS
12341 elif test $ac_cv_prog_cc_g = yes; then
12342 if test "$GCC" = yes; then
12348 if test "$GCC" = yes; then
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12355 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12356 if test "${ac_cv_prog_cc_c89+set}" = set; then :
12357 $as_echo_n "(cached) " >&6
12359 ac_cv_prog_cc_c89=no
12361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h. */
12363 #include <stdarg.h>
12365 #include <sys/types.h>
12366 #include <sys/stat.h>
12367 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12368 struct buf { int x; };
12369 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12370 static char *e (p, i)
12376 static char *f (char * (*g) (char **, int), char **p, ...)
12381 s = g (p, va_arg (v,int));
12386 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12387 function prototypes and stuff, but not '\xHH' hex character constants.
12388 These don't provoke an error unfortunately, instead are silently treated
12389 as 'x'. The following induces an error, until -std is added to get
12390 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12391 array size at least. It's necessary to write '\x00'==0 to get something
12392 that's true only with -std. */
12393 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12395 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12396 inside strings and character constants. */
12398 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12400 int test (int i, double x);
12401 struct s1 {int (*f) (int a);};
12402 struct s2 {int (*f) (double a);};
12403 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12409 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12414 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12415 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12417 CC="$ac_save_CC $ac_arg"
12418 if ac_fn_c_try_compile "$LINENO"; then :
12419 ac_cv_prog_cc_c89=$ac_arg
12421 rm -f core conftest.err conftest.$ac_objext
12422 test "x$ac_cv_prog_cc_c89" != "xno" && break
12424 rm -f conftest.$ac_ext
12429 case "x$ac_cv_prog_cc_c89" in
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12432 $as_echo "none needed" >&6; } ;;
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12435 $as_echo "unsupported" >&6; } ;;
12437 CC="$CC $ac_cv_prog_cc_c89"
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12439 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12441 if test "x$ac_cv_prog_cc_c89" != xno; then :
12446 ac_cpp='$CPP $CPPFLAGS'
12447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12451 depcc="$CC" am_compiler_list=
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12454 $as_echo_n "checking dependency style of $depcc... " >&6; }
12455 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
12456 $as_echo_n "(cached) " >&6
12458 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12459 # We make a subdir and do the tests there. Otherwise we can end up
12460 # making bogus files that we don't know about and never remove. For
12461 # instance it was reported that on HP-UX the gcc test will end up
12462 # making a dummy file named `D' -- because `-MD' means `put the output
12465 # Copy depcomp to subdir because otherwise we won't find it if we're
12466 # using a relative directory.
12467 cp "$am_depcomp" conftest.dir
12469 # We will build objects and dependencies in a subdirectory because
12470 # it helps to detect inapplicable dependency modes. For instance
12471 # both Tru64's cc and ICC support -MD to output dependencies as a
12472 # side effect of compilation, but ICC will put the dependencies in
12473 # the current directory while Tru64 will put them in the object
12477 am_cv_CC_dependencies_compiler_type=none
12478 if test "$am_compiler_list" = ""; then
12479 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12481 am__universal=false
12482 case " $depcc " in #(
12483 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12486 for depmode in $am_compiler_list; do
12487 # Setup a source with many dependencies, because some compilers
12488 # like to wrap large dependency lists on column 80 (with \), and
12489 # we should not choose a depcomp mode which is confused by this.
12491 # We need to recreate these files for each test, as the compiler may
12492 # overwrite some of them when testing with obscure command lines.
12493 # This happens at least with the AIX C compiler.
12495 for i in 1 2 3 4 5 6; do
12496 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12497 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12498 # Solaris 8's {/usr,}/bin/sh.
12499 touch sub/conftst$i.h
12501 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12503 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12504 # mode. It turns out that the SunPro C++ compiler does not properly
12505 # handle `-M -o', and we need to detect this. Also, some Intel
12506 # versions had trouble with output in subdirs
12507 am__obj=sub/conftest.${OBJEXT-o}
12508 am__minus_obj="-o $am__obj"
12511 # This depmode causes a compiler race in universal mode.
12512 test "$am__universal" = false || continue
12515 # after this tag, mechanisms are not by side-effect, so they'll
12516 # only be used when explicitly requested
12517 if test "x$enable_dependency_tracking" = xyes; then
12523 msvisualcpp | msvcmsys)
12524 # This compiler won't grok `-c -o', but also, the minuso test has
12525 # not run yet. These depmodes are late enough in the game, and
12526 # so weak that their functioning should not be impacted.
12527 am__obj=conftest.${OBJEXT-o}
12532 if depmode=$depmode \
12533 source=sub/conftest.c object=$am__obj \
12534 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12535 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12536 >/dev/null 2>conftest.err &&
12537 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12538 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12539 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12540 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12541 # icc doesn't choke on unknown options, it will just issue warnings
12542 # or remarks (even with -Werror). So we grep stderr for any message
12543 # that says an option was ignored or not supported.
12544 # When given -MP, icc 7.0 and 7.1 complain thusly:
12545 # icc: Command line warning: ignoring option '-M'; no argument required
12546 # The diagnosis changed in icc 8.0:
12547 # icc: Command line remark: option '-MP' not supported
12548 if (grep 'ignoring option' conftest.err ||
12549 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12550 am_cv_CC_dependencies_compiler_type=$depmode
12557 rm -rf conftest.dir
12559 am_cv_CC_dependencies_compiler_type=none
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12564 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12565 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12568 test "x$enable_dependency_tracking" != xno \
12569 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12570 am__fastdepCC_TRUE=
12571 am__fastdepCC_FALSE='#'
12573 am__fastdepCC_TRUE='#'
12574 am__fastdepCC_FALSE=
12579 # FIXME: are these two lines needed ?
12581 ac_cpp='$CPP $CPPFLAGS'
12582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12585 if test -n "$ac_tool_prefix"; then
12586 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12587 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12589 $as_echo_n "checking for $ac_word... " >&6; }
12590 if test "${ac_cv_prog_CC+set}" = set; then :
12591 $as_echo_n "(cached) " >&6
12593 if test -n "$CC"; then
12594 ac_cv_prog_CC="$CC" # Let the user override the test.
12596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12597 for as_dir in $PATH
12600 test -z "$as_dir" && as_dir=.
12601 for ac_exec_ext in '' $ac_executable_extensions; do
12602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12603 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12604 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12614 if test -n "$CC"; then
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12616 $as_echo "$CC" >&6; }
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12619 $as_echo "no" >&6; }
12624 if test -z "$ac_cv_prog_CC"; then
12626 # Extract the first word of "gcc", so it can be a program name with args.
12627 set dummy gcc; ac_word=$2
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12629 $as_echo_n "checking for $ac_word... " >&6; }
12630 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12631 $as_echo_n "(cached) " >&6
12633 if test -n "$ac_ct_CC"; then
12634 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12637 for as_dir in $PATH
12640 test -z "$as_dir" && as_dir=.
12641 for ac_exec_ext in '' $ac_executable_extensions; do
12642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12643 ac_cv_prog_ac_ct_CC="gcc"
12644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12653 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12654 if test -n "$ac_ct_CC"; then
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12656 $as_echo "$ac_ct_CC" >&6; }
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12659 $as_echo "no" >&6; }
12662 if test "x$ac_ct_CC" = x; then
12665 case $cross_compiling:$ac_tool_warned in
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12668 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12669 ac_tool_warned=yes ;;
12674 CC="$ac_cv_prog_CC"
12677 if test -z "$CC"; then
12678 if test -n "$ac_tool_prefix"; then
12679 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12680 set dummy ${ac_tool_prefix}cc; ac_word=$2
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12682 $as_echo_n "checking for $ac_word... " >&6; }
12683 if test "${ac_cv_prog_CC+set}" = set; then :
12684 $as_echo_n "(cached) " >&6
12686 if test -n "$CC"; then
12687 ac_cv_prog_CC="$CC" # Let the user override the test.
12689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12690 for as_dir in $PATH
12693 test -z "$as_dir" && as_dir=.
12694 for ac_exec_ext in '' $ac_executable_extensions; do
12695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12696 ac_cv_prog_CC="${ac_tool_prefix}cc"
12697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12707 if test -n "$CC"; then
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12709 $as_echo "$CC" >&6; }
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12712 $as_echo "no" >&6; }
12718 if test -z "$CC"; then
12719 # Extract the first word of "cc", so it can be a program name with args.
12720 set dummy cc; ac_word=$2
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12722 $as_echo_n "checking for $ac_word... " >&6; }
12723 if test "${ac_cv_prog_CC+set}" = set; then :
12724 $as_echo_n "(cached) " >&6
12726 if test -n "$CC"; then
12727 ac_cv_prog_CC="$CC" # Let the user override the test.
12729 ac_prog_rejected=no
12730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12731 for as_dir in $PATH
12734 test -z "$as_dir" && as_dir=.
12735 for ac_exec_ext in '' $ac_executable_extensions; do
12736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12737 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12738 ac_prog_rejected=yes
12742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12749 if test $ac_prog_rejected = yes; then
12750 # We found a bogon in the path, so make sure we never use it.
12751 set dummy $ac_cv_prog_CC
12753 if test $# != 0; then
12754 # We chose a different compiler from the bogus one.
12755 # However, it has the same basename, so the bogon will be chosen
12756 # first if we set CC to just the basename; use the full file name.
12758 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12764 if test -n "$CC"; then
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12766 $as_echo "$CC" >&6; }
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12769 $as_echo "no" >&6; }
12774 if test -z "$CC"; then
12775 if test -n "$ac_tool_prefix"; then
12776 for ac_prog in cl.exe
12778 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12779 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12781 $as_echo_n "checking for $ac_word... " >&6; }
12782 if test "${ac_cv_prog_CC+set}" = set; then :
12783 $as_echo_n "(cached) " >&6
12785 if test -n "$CC"; then
12786 ac_cv_prog_CC="$CC" # Let the user override the test.
12788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12789 for as_dir in $PATH
12792 test -z "$as_dir" && as_dir=.
12793 for ac_exec_ext in '' $ac_executable_extensions; do
12794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12795 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12806 if test -n "$CC"; then
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12808 $as_echo "$CC" >&6; }
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12811 $as_echo "no" >&6; }
12815 test -n "$CC" && break
12818 if test -z "$CC"; then
12820 for ac_prog in cl.exe
12822 # Extract the first word of "$ac_prog", so it can be a program name with args.
12823 set dummy $ac_prog; ac_word=$2
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12825 $as_echo_n "checking for $ac_word... " >&6; }
12826 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12827 $as_echo_n "(cached) " >&6
12829 if test -n "$ac_ct_CC"; then
12830 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12833 for as_dir in $PATH
12836 test -z "$as_dir" && as_dir=.
12837 for ac_exec_ext in '' $ac_executable_extensions; do
12838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12839 ac_cv_prog_ac_ct_CC="$ac_prog"
12840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12849 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12850 if test -n "$ac_ct_CC"; then
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12852 $as_echo "$ac_ct_CC" >&6; }
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12855 $as_echo "no" >&6; }
12859 test -n "$ac_ct_CC" && break
12862 if test "x$ac_ct_CC" = x; then
12865 case $cross_compiling:$ac_tool_warned in
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12869 ac_tool_warned=yes ;;
12878 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12880 as_fn_error $? "no acceptable C compiler found in \$PATH
12881 See \`config.log' for more details" "$LINENO" 5 ; }
12883 # Provide some information about the compiler.
12884 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12887 for ac_option in --version -v -V -qversion; do
12888 { { ac_try="$ac_compiler $ac_option >&5"
12889 case "(($ac_try" in
12890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12891 *) ac_try_echo=$ac_try;;
12893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12894 $as_echo "$ac_try_echo"; } >&5
12895 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12897 if test -s conftest.err; then
12899 ... rest of stderr output deleted ...
12900 10q' conftest.err >conftest.er1
12901 cat conftest.er1 >&5
12903 rm -f conftest.er1 conftest.err
12904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12905 test $ac_status = 0; }
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12909 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12910 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12911 $as_echo_n "(cached) " >&6
12913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12914 /* end confdefs.h. */
12927 if ac_fn_c_try_compile "$LINENO"; then :
12928 ac_compiler_gnu=yes
12932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12933 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12937 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12938 if test $ac_compiler_gnu = yes; then
12943 ac_test_CFLAGS=${CFLAGS+set}
12944 ac_save_CFLAGS=$CFLAGS
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12946 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12947 if test "${ac_cv_prog_cc_g+set}" = set; then :
12948 $as_echo_n "(cached) " >&6
12950 ac_save_c_werror_flag=$ac_c_werror_flag
12951 ac_c_werror_flag=yes
12954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12955 /* end confdefs.h. */
12965 if ac_fn_c_try_compile "$LINENO"; then :
12966 ac_cv_prog_cc_g=yes
12969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12970 /* end confdefs.h. */
12980 if ac_fn_c_try_compile "$LINENO"; then :
12983 ac_c_werror_flag=$ac_save_c_werror_flag
12985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12986 /* end confdefs.h. */
12996 if ac_fn_c_try_compile "$LINENO"; then :
12997 ac_cv_prog_cc_g=yes
12999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13004 ac_c_werror_flag=$ac_save_c_werror_flag
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13007 $as_echo "$ac_cv_prog_cc_g" >&6; }
13008 if test "$ac_test_CFLAGS" = set; then
13009 CFLAGS=$ac_save_CFLAGS
13010 elif test $ac_cv_prog_cc_g = yes; then
13011 if test "$GCC" = yes; then
13017 if test "$GCC" = yes; then
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13024 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13025 if test "${ac_cv_prog_cc_c89+set}" = set; then :
13026 $as_echo_n "(cached) " >&6
13028 ac_cv_prog_cc_c89=no
13030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13031 /* end confdefs.h. */
13032 #include <stdarg.h>
13034 #include <sys/types.h>
13035 #include <sys/stat.h>
13036 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13037 struct buf { int x; };
13038 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13039 static char *e (p, i)
13045 static char *f (char * (*g) (char **, int), char **p, ...)
13050 s = g (p, va_arg (v,int));
13055 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13056 function prototypes and stuff, but not '\xHH' hex character constants.
13057 These don't provoke an error unfortunately, instead are silently treated
13058 as 'x'. The following induces an error, until -std is added to get
13059 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13060 array size at least. It's necessary to write '\x00'==0 to get something
13061 that's true only with -std. */
13062 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13064 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13065 inside strings and character constants. */
13067 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13069 int test (int i, double x);
13070 struct s1 {int (*f) (int a);};
13071 struct s2 {int (*f) (double a);};
13072 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13078 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13083 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13084 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13086 CC="$ac_save_CC $ac_arg"
13087 if ac_fn_c_try_compile "$LINENO"; then :
13088 ac_cv_prog_cc_c89=$ac_arg
13090 rm -f core conftest.err conftest.$ac_objext
13091 test "x$ac_cv_prog_cc_c89" != "xno" && break
13093 rm -f conftest.$ac_ext
13098 case "x$ac_cv_prog_cc_c89" in
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13101 $as_echo "none needed" >&6; } ;;
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13104 $as_echo "unsupported" >&6; } ;;
13106 CC="$CC $ac_cv_prog_cc_c89"
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13108 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13110 if test "x$ac_cv_prog_cc_c89" != xno; then :
13115 ac_cpp='$CPP $CPPFLAGS'
13116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13120 depcc="$CC" am_compiler_list=
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13123 $as_echo_n "checking dependency style of $depcc... " >&6; }
13124 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
13125 $as_echo_n "(cached) " >&6
13127 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13128 # We make a subdir and do the tests there. Otherwise we can end up
13129 # making bogus files that we don't know about and never remove. For
13130 # instance it was reported that on HP-UX the gcc test will end up
13131 # making a dummy file named `D' -- because `-MD' means `put the output
13134 # Copy depcomp to subdir because otherwise we won't find it if we're
13135 # using a relative directory.
13136 cp "$am_depcomp" conftest.dir
13138 # We will build objects and dependencies in a subdirectory because
13139 # it helps to detect inapplicable dependency modes. For instance
13140 # both Tru64's cc and ICC support -MD to output dependencies as a
13141 # side effect of compilation, but ICC will put the dependencies in
13142 # the current directory while Tru64 will put them in the object
13146 am_cv_CC_dependencies_compiler_type=none
13147 if test "$am_compiler_list" = ""; then
13148 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13150 am__universal=false
13151 case " $depcc " in #(
13152 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13155 for depmode in $am_compiler_list; do
13156 # Setup a source with many dependencies, because some compilers
13157 # like to wrap large dependency lists on column 80 (with \), and
13158 # we should not choose a depcomp mode which is confused by this.
13160 # We need to recreate these files for each test, as the compiler may
13161 # overwrite some of them when testing with obscure command lines.
13162 # This happens at least with the AIX C compiler.
13164 for i in 1 2 3 4 5 6; do
13165 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13166 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13167 # Solaris 8's {/usr,}/bin/sh.
13168 touch sub/conftst$i.h
13170 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13172 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13173 # mode. It turns out that the SunPro C++ compiler does not properly
13174 # handle `-M -o', and we need to detect this. Also, some Intel
13175 # versions had trouble with output in subdirs
13176 am__obj=sub/conftest.${OBJEXT-o}
13177 am__minus_obj="-o $am__obj"
13180 # This depmode causes a compiler race in universal mode.
13181 test "$am__universal" = false || continue
13184 # after this tag, mechanisms are not by side-effect, so they'll
13185 # only be used when explicitly requested
13186 if test "x$enable_dependency_tracking" = xyes; then
13192 msvisualcpp | msvcmsys)
13193 # This compiler won't grok `-c -o', but also, the minuso test has
13194 # not run yet. These depmodes are late enough in the game, and
13195 # so weak that their functioning should not be impacted.
13196 am__obj=conftest.${OBJEXT-o}
13201 if depmode=$depmode \
13202 source=sub/conftest.c object=$am__obj \
13203 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13204 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13205 >/dev/null 2>conftest.err &&
13206 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13207 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13208 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13209 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13210 # icc doesn't choke on unknown options, it will just issue warnings
13211 # or remarks (even with -Werror). So we grep stderr for any message
13212 # that says an option was ignored or not supported.
13213 # When given -MP, icc 7.0 and 7.1 complain thusly:
13214 # icc: Command line warning: ignoring option '-M'; no argument required
13215 # The diagnosis changed in icc 8.0:
13216 # icc: Command line remark: option '-MP' not supported
13217 if (grep 'ignoring option' conftest.err ||
13218 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13219 am_cv_CC_dependencies_compiler_type=$depmode
13226 rm -rf conftest.dir
13228 am_cv_CC_dependencies_compiler_type=none
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13233 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13234 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13237 test "x$enable_dependency_tracking" != xno \
13238 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13239 am__fastdepCC_TRUE=
13240 am__fastdepCC_FALSE='#'
13242 am__fastdepCC_TRUE='#'
13243 am__fastdepCC_FALSE=
13248 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
13252 if test "x$CC" != xcc; then
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
13254 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
13257 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
13259 set dummy $CC; ac_cc=`$as_echo "$2" |
13260 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13261 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
13262 $as_echo_n "(cached) " >&6
13264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13265 /* end confdefs.h. */
13275 # Make sure it works both with $CC and with simple cc.
13276 # We do the test twice because some compilers refuse to overwrite an
13277 # existing .o file with -o, though they will create one.
13278 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13280 if { { case "(($ac_try" in
13281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13282 *) ac_try_echo=$ac_try;;
13284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13285 $as_echo "$ac_try_echo"; } >&5
13286 (eval "$ac_try") 2>&5
13288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13289 test $ac_status = 0; } &&
13290 test -f conftest2.$ac_objext && { { case "(($ac_try" in
13291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13292 *) ac_try_echo=$ac_try;;
13294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13295 $as_echo "$ac_try_echo"; } >&5
13296 (eval "$ac_try") 2>&5
13298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13299 test $ac_status = 0; };
13301 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
13302 if test "x$CC" != xcc; then
13303 # Test first that cc exists at all.
13304 if { ac_try='cc -c conftest.$ac_ext >&5'
13305 { { case "(($ac_try" in
13306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13307 *) ac_try_echo=$ac_try;;
13309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13310 $as_echo "$ac_try_echo"; } >&5
13311 (eval "$ac_try") 2>&5
13313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13314 test $ac_status = 0; }; }; then
13315 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
13317 if { { case "(($ac_try" in
13318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13319 *) ac_try_echo=$ac_try;;
13321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13322 $as_echo "$ac_try_echo"; } >&5
13323 (eval "$ac_try") 2>&5
13325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13326 test $ac_status = 0; } &&
13327 test -f conftest2.$ac_objext && { { case "(($ac_try" in
13328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13329 *) ac_try_echo=$ac_try;;
13331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13332 $as_echo "$ac_try_echo"; } >&5
13333 (eval "$ac_try") 2>&5
13335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13336 test $ac_status = 0; };
13341 # cc exists but doesn't like -o.
13342 eval ac_cv_prog_cc_${ac_cc}_c_o=no
13347 eval ac_cv_prog_cc_${ac_cc}_c_o=no
13349 rm -f core conftest*
13352 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13354 $as_echo "yes" >&6; }
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13357 $as_echo "no" >&6; }
13359 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
13363 # FIXME: we rely on the cache variable name because
13364 # there is no other way.
13366 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
13367 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
13368 if test "$am_t" != yes; then
13369 # Losing compiler, so override with the script.
13370 # FIXME: It is wrong to rewrite CC.
13371 # But if we don't then we get into trouble of one sort or another.
13372 # A longer-term fix would be to have automake use am__CC in this case,
13373 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
13374 CC="$am_aux_dir/compile $CC"
13379 # Extract the first word of "valgrind", so it can be a program name with args.
13380 set dummy valgrind; ac_word=$2
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13382 $as_echo_n "checking for $ac_word... " >&6; }
13383 if test "${ac_cv_path_VALGRIND_PATH+set}" = set; then :
13384 $as_echo_n "(cached) " >&6
13386 case $VALGRIND_PATH in
13388 ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
13391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13392 for as_dir in $PATH
13395 test -z "$as_dir" && as_dir=.
13396 for ac_exec_ext in '' $ac_executable_extensions; do
13397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13398 ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
13399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13406 test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
13410 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
13411 if test -n "$VALGRIND_PATH"; then
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
13413 $as_echo "$VALGRIND_PATH" >&6; }
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13416 $as_echo "no" >&6; }
13420 if test ! "x$VALGRIND_PATH" = "xno"; then
13421 HAVE_VALGRIND_TRUE=
13422 HAVE_VALGRIND_FALSE='#'
13424 HAVE_VALGRIND_TRUE='#'
13425 HAVE_VALGRIND_FALSE=
13430 if test "x$PACKAGE_TARNAME" = "x"
13432 as_fn_error $? "Internal error - PACKAGE_TARNAME not set" "$LINENO" 5
13434 docdir="\$(datadir)/doc/$PACKAGE_TARNAME-$GST_MAJORMINOR"
13436 # Check whether --enable-docbook was given.
13437 if test "${enable_docbook+set}" = set; then :
13438 enableval=$enable_docbook;
13446 if test x$enable_docbook = xyes; then
13448 # Extract the first word of "docbook2ps", so it can be a program name with args.
13449 set dummy docbook2ps; ac_word=$2
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13451 $as_echo_n "checking for $ac_word... " >&6; }
13452 if test "${ac_cv_prog_HAVE_DOCBOOK2PS+set}" = set; then :
13453 $as_echo_n "(cached) " >&6
13455 if test -n "$HAVE_DOCBOOK2PS"; then
13456 ac_cv_prog_HAVE_DOCBOOK2PS="$HAVE_DOCBOOK2PS" # Let the user override the test.
13458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13459 for as_dir in $PATH
13462 test -z "$as_dir" && as_dir=.
13463 for ac_exec_ext in '' $ac_executable_extensions; do
13464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13465 ac_cv_prog_HAVE_DOCBOOK2PS="yes"
13466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13473 test -z "$ac_cv_prog_HAVE_DOCBOOK2PS" && ac_cv_prog_HAVE_DOCBOOK2PS="no"
13476 HAVE_DOCBOOK2PS=$ac_cv_prog_HAVE_DOCBOOK2PS
13477 if test -n "$HAVE_DOCBOOK2PS"; then
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOCBOOK2PS" >&5
13479 $as_echo "$HAVE_DOCBOOK2PS" >&6; }
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13482 $as_echo "no" >&6; }
13486 # Extract the first word of "docbook2html", so it can be a program name with args.
13487 set dummy docbook2html; ac_word=$2
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13489 $as_echo_n "checking for $ac_word... " >&6; }
13490 if test "${ac_cv_prog_HAVE_DOCBOOK2HTML+set}" = set; then :
13491 $as_echo_n "(cached) " >&6
13493 if test -n "$HAVE_DOCBOOK2HTML"; then
13494 ac_cv_prog_HAVE_DOCBOOK2HTML="$HAVE_DOCBOOK2HTML" # Let the user override the test.
13496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13497 for as_dir in $PATH
13500 test -z "$as_dir" && as_dir=.
13501 for ac_exec_ext in '' $ac_executable_extensions; do
13502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13503 ac_cv_prog_HAVE_DOCBOOK2HTML="yes"
13504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13511 test -z "$ac_cv_prog_HAVE_DOCBOOK2HTML" && ac_cv_prog_HAVE_DOCBOOK2HTML="no"
13514 HAVE_DOCBOOK2HTML=$ac_cv_prog_HAVE_DOCBOOK2HTML
13515 if test -n "$HAVE_DOCBOOK2HTML"; then
13516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DOCBOOK2HTML" >&5
13517 $as_echo "$HAVE_DOCBOOK2HTML" >&6; }
13519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13520 $as_echo "no" >&6; }
13524 # Extract the first word of "jadetex", so it can be a program name with args.
13525 set dummy jadetex; ac_word=$2
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13527 $as_echo_n "checking for $ac_word... " >&6; }
13528 if test "${ac_cv_prog_HAVE_JADETEX+set}" = set; then :
13529 $as_echo_n "(cached) " >&6
13531 if test -n "$HAVE_JADETEX"; then
13532 ac_cv_prog_HAVE_JADETEX="$HAVE_JADETEX" # Let the user override the test.
13534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13535 for as_dir in $PATH
13538 test -z "$as_dir" && as_dir=.
13539 for ac_exec_ext in '' $ac_executable_extensions; do
13540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13541 ac_cv_prog_HAVE_JADETEX="yes"
13542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13549 test -z "$ac_cv_prog_HAVE_JADETEX" && ac_cv_prog_HAVE_JADETEX="no"
13552 HAVE_JADETEX=$ac_cv_prog_HAVE_JADETEX
13553 if test -n "$HAVE_JADETEX"; then
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_JADETEX" >&5
13555 $as_echo "$HAVE_JADETEX" >&6; }
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13558 $as_echo "no" >&6; }
13562 # Extract the first word of "ps2pdf", so it can be a program name with args.
13563 set dummy ps2pdf; ac_word=$2
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13565 $as_echo_n "checking for $ac_word... " >&6; }
13566 if test "${ac_cv_prog_HAVE_PS2PDF+set}" = set; then :
13567 $as_echo_n "(cached) " >&6
13569 if test -n "$HAVE_PS2PDF"; then
13570 ac_cv_prog_HAVE_PS2PDF="$HAVE_PS2PDF" # Let the user override the test.
13572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13573 for as_dir in $PATH
13576 test -z "$as_dir" && as_dir=.
13577 for ac_exec_ext in '' $ac_executable_extensions; do
13578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13579 ac_cv_prog_HAVE_PS2PDF="yes"
13580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13587 test -z "$ac_cv_prog_HAVE_PS2PDF" && ac_cv_prog_HAVE_PS2PDF="no"
13590 HAVE_PS2PDF=$ac_cv_prog_HAVE_PS2PDF
13591 if test -n "$HAVE_PS2PDF"; then
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PS2PDF" >&5
13593 $as_echo "$HAVE_PS2PDF" >&6; }
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13596 $as_echo "no" >&6; }
13601 # -V option appeared in 0.6.10
13602 docbook2html_min_version=0.6.10
13603 if test "x$HAVE_DOCBOOK2HTML" != "xno"; then
13604 docbook2html_version=`docbook2html --version`
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking docbook2html version ($docbook2html_version) >= $docbook2html_min_version" >&5
13606 $as_echo_n "checking docbook2html version ($docbook2html_version) >= $docbook2html_min_version... " >&6; }
13608 (\$min_version_major, \$min_version_minor, \$min_version_micro ) = "$docbook2html_min_version" =~ /(\d+)\.(\d+)\.(\d+)/;
13609 (\$docbook2html_version_major, \$docbook2html_version_minor, \$docbook2html_version_micro ) = "$docbook2html_version" =~ /(\d+)\.(\d+)\.(\d+)/;
13610 exit (((\$docbook2html_version_major > \$min_version_major) ||
13611 ((\$docbook2html_version_major == \$min_version_major) &&
13612 (\$docbook2html_version_minor >= \$min_version_minor)) ||
13613 ((\$docbook2html_version_major == \$min_version_major) &&
13614 (\$docbook2html_version_minor >= \$min_version_minor) &&
13615 (\$docbook2html_version_micro >= \$min_version_micro)))
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13620 $as_echo "yes" >&6; }
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13623 $as_echo "no" >&6; }
13624 HAVE_DOCBOOK2HTML=no
13629 XSLTPROC_FLAGS=--nonet
13633 DOCBOOK_VERSION=4.1.2
13635 if test ! -f /etc/xml/catalog; then
13636 for i in /usr/share/sgml/docbook/stylesheet/xsl/nwalsh /usr/share/sgml/docbook/xsl-stylesheets/ /usr/local/share/xsl/docbook ;
13638 if test -d "$i"; then
13643 XML_CATALOG=/etc/xml/catalog
13644 CAT_ENTRY_START='<!--'
13645 CAT_ENTRY_END='-->'
13648 # Extract the first word of "xsltproc", so it can be a program name with args.
13649 set dummy xsltproc; ac_word=$2
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13651 $as_echo_n "checking for $ac_word... " >&6; }
13652 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
13653 $as_echo_n "(cached) " >&6
13655 if test -n "$XSLTPROC"; then
13656 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
13658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13659 for as_dir in $PATH
13662 test -z "$as_dir" && as_dir=.
13663 for ac_exec_ext in '' $ac_executable_extensions; do
13664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13665 ac_cv_prog_XSLTPROC="xsltproc"
13666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13675 XSLTPROC=$ac_cv_prog_XSLTPROC
13676 if test -n "$XSLTPROC"; then
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
13678 $as_echo "$XSLTPROC" >&6; }
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13681 $as_echo "no" >&6; }
13686 if test -n "$XSLTPROC"; then
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether xsltproc docbook processing works" >&5
13688 $as_echo_n "checking whether xsltproc docbook processing works... " >&6; }
13690 if test -n "$XML_CATALOG"; then
13691 DB_FILE="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"
13693 DB_FILE="$DOCBOOK_ROOT/xhtml/docbook.xsl"
13695 $XSLTPROC $XSLTPROC_FLAGS $DB_FILE >/dev/null 2>&1 << END
13696 <?xml version="1.0" encoding='ISO-8859-1'?>
13697 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook $TYPE_UC V$DOCBOOK_VERSION//EN" "http://www.oasis-open.org/docbook/$TYPE_LC/$DOCBOOK_VERSION/docbookx.dtd">
13701 if test "$?" = 0; then
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC_WORKS" >&5
13705 $as_echo "$XSLTPROC_WORKS" >&6; }
13708 if test "x$XSLTPROC_WORKS" = "xyes"; then
13721 # Extract the first word of "dvips", so it can be a program name with args.
13722 set dummy dvips; ac_word=$2
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13724 $as_echo_n "checking for $ac_word... " >&6; }
13725 if test "${ac_cv_prog_HAVE_DVIPS+set}" = set; then :
13726 $as_echo_n "(cached) " >&6
13728 if test -n "$HAVE_DVIPS"; then
13729 ac_cv_prog_HAVE_DVIPS="$HAVE_DVIPS" # Let the user override the test.
13731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13732 for as_dir in $PATH
13735 test -z "$as_dir" && as_dir=.
13736 for ac_exec_ext in '' $ac_executable_extensions; do
13737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13738 ac_cv_prog_HAVE_DVIPS="yes"
13739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13746 test -z "$ac_cv_prog_HAVE_DVIPS" && ac_cv_prog_HAVE_DVIPS="no"
13749 HAVE_DVIPS=$ac_cv_prog_HAVE_DVIPS
13750 if test -n "$HAVE_DVIPS"; then
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DVIPS" >&5
13752 $as_echo "$HAVE_DVIPS" >&6; }
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13755 $as_echo "no" >&6; }
13759 # Extract the first word of "xmllint", so it can be a program name with args.
13760 set dummy xmllint; ac_word=$2
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13762 $as_echo_n "checking for $ac_word... " >&6; }
13763 if test "${ac_cv_prog_HAVE_XMLLINT+set}" = set; then :
13764 $as_echo_n "(cached) " >&6
13766 if test -n "$HAVE_XMLLINT"; then
13767 ac_cv_prog_HAVE_XMLLINT="$HAVE_XMLLINT" # Let the user override the test.
13769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13770 for as_dir in $PATH
13773 test -z "$as_dir" && as_dir=.
13774 for ac_exec_ext in '' $ac_executable_extensions; do
13775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13776 ac_cv_prog_HAVE_XMLLINT="yes"
13777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13784 test -z "$ac_cv_prog_HAVE_XMLLINT" && ac_cv_prog_HAVE_XMLLINT="no"
13787 HAVE_XMLLINT=$ac_cv_prog_HAVE_XMLLINT
13788 if test -n "$HAVE_XMLLINT"; then
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_XMLLINT" >&5
13790 $as_echo "$HAVE_XMLLINT" >&6; }
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13793 $as_echo "no" >&6; }
13798 # Extract the first word of "fig2dev", so it can be a program name with args.
13799 set dummy fig2dev; ac_word=$2
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13801 $as_echo_n "checking for $ac_word... " >&6; }
13802 if test "${ac_cv_prog_HAVE_FIG2DEV+set}" = set; then :
13803 $as_echo_n "(cached) " >&6
13805 if test -n "$HAVE_FIG2DEV"; then
13806 ac_cv_prog_HAVE_FIG2DEV="$HAVE_FIG2DEV" # Let the user override the test.
13808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13809 for as_dir in $PATH
13812 test -z "$as_dir" && as_dir=.
13813 for ac_exec_ext in '' $ac_executable_extensions; do
13814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13815 ac_cv_prog_HAVE_FIG2DEV="yes"
13816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13823 test -z "$ac_cv_prog_HAVE_FIG2DEV" && ac_cv_prog_HAVE_FIG2DEV="no"
13826 HAVE_FIG2DEV=$ac_cv_prog_HAVE_FIG2DEV
13827 if test -n "$HAVE_FIG2DEV"; then
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_FIG2DEV" >&5
13829 $as_echo "$HAVE_FIG2DEV" >&6; }
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13832 $as_echo "no" >&6; }
13836 if test "x$HAVE_FIG2DEV" = "xno" ; then
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Did not find fig2dev (from xfig), images will not be generated." >&5
13838 $as_echo "$as_me: WARNING: Did not find fig2dev (from xfig), images will not be generated." >&2;}
13841 HAVE_FIG2DEV_EPS=no
13842 if test "x$HAVE_FIG2DEV" = "xyes" ; then
13843 fig2dev_quiet=`fig2dev -L eps </dev/null 2>&1 >/dev/null`
13844 if test "x$fig2dev_quiet" = "x" ; then
13845 HAVE_FIG2DEV_EPS=yes
13848 HAVE_FIG2DEV_PNG=no
13849 if test "x$HAVE_FIG2DEV" = "xyes" ; then
13850 fig2dev_quiet=`fig2dev -L png </dev/null 2>&1 >/dev/null`
13851 if test "x$fig2dev_quiet" = "x" ; then
13852 HAVE_FIG2DEV_PNG=yes
13855 HAVE_FIG2DEV_PDF=no
13856 if test "x$HAVE_FIG2DEV" = "xyes" ; then
13857 fig2dev_quiet=`fig2dev -L pdf </dev/null 2>&1 >/dev/null`
13858 if test "x$fig2dev_quiet" = "x" ; then
13859 HAVE_FIG2DEV_PDF=yes
13863 # Extract the first word of "pngtopnm", so it can be a program name with args.
13864 set dummy pngtopnm; ac_word=$2
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13866 $as_echo_n "checking for $ac_word... " >&6; }
13867 if test "${ac_cv_prog_HAVE_PNGTOPNM+set}" = set; then :
13868 $as_echo_n "(cached) " >&6
13870 if test -n "$HAVE_PNGTOPNM"; then
13871 ac_cv_prog_HAVE_PNGTOPNM="$HAVE_PNGTOPNM" # Let the user override the test.
13873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13874 for as_dir in $PATH
13877 test -z "$as_dir" && as_dir=.
13878 for ac_exec_ext in '' $ac_executable_extensions; do
13879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13880 ac_cv_prog_HAVE_PNGTOPNM="yes"
13881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13888 test -z "$ac_cv_prog_HAVE_PNGTOPNM" && ac_cv_prog_HAVE_PNGTOPNM="no"
13891 HAVE_PNGTOPNM=$ac_cv_prog_HAVE_PNGTOPNM
13892 if test -n "$HAVE_PNGTOPNM"; then
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNGTOPNM" >&5
13894 $as_echo "$HAVE_PNGTOPNM" >&6; }
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13897 $as_echo "no" >&6; }
13901 # Extract the first word of "pnmtops", so it can be a program name with args.
13902 set dummy pnmtops; ac_word=$2
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13904 $as_echo_n "checking for $ac_word... " >&6; }
13905 if test "${ac_cv_prog_HAVE_PNMTOPS+set}" = set; then :
13906 $as_echo_n "(cached) " >&6
13908 if test -n "$HAVE_PNMTOPS"; then
13909 ac_cv_prog_HAVE_PNMTOPS="$HAVE_PNMTOPS" # Let the user override the test.
13911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13912 for as_dir in $PATH
13915 test -z "$as_dir" && as_dir=.
13916 for ac_exec_ext in '' $ac_executable_extensions; do
13917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13918 ac_cv_prog_HAVE_PNMTOPS="yes"
13919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13926 test -z "$ac_cv_prog_HAVE_PNMTOPS" && ac_cv_prog_HAVE_PNMTOPS="no"
13929 HAVE_PNMTOPS=$ac_cv_prog_HAVE_PNMTOPS
13930 if test -n "$HAVE_PNMTOPS"; then
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PNMTOPS" >&5
13932 $as_echo "$HAVE_PNMTOPS" >&6; }
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13935 $as_echo "no" >&6; }
13939 # Extract the first word of "epstopdf", so it can be a program name with args.
13940 set dummy epstopdf; ac_word=$2
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13942 $as_echo_n "checking for $ac_word... " >&6; }
13943 if test "${ac_cv_prog_HAVE_EPSTOPDF+set}" = set; then :
13944 $as_echo_n "(cached) " >&6
13946 if test -n "$HAVE_EPSTOPDF"; then
13947 ac_cv_prog_HAVE_EPSTOPDF="$HAVE_EPSTOPDF" # Let the user override the test.
13949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13950 for as_dir in $PATH
13953 test -z "$as_dir" && as_dir=.
13954 for ac_exec_ext in '' $ac_executable_extensions; do
13955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13956 ac_cv_prog_HAVE_EPSTOPDF="yes"
13957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13964 test -z "$ac_cv_prog_HAVE_EPSTOPDF" && ac_cv_prog_HAVE_EPSTOPDF="no"
13967 HAVE_EPSTOPDF=$ac_cv_prog_HAVE_EPSTOPDF
13968 if test -n "$HAVE_EPSTOPDF"; then
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EPSTOPDF" >&5
13970 $as_echo "$HAVE_EPSTOPDF" >&6; }
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13973 $as_echo "no" >&6; }
13978 if test "x$HAVE_DOCBOOK2HTML" = "xyes" && \
13979 test "x$enable_docbook" = "xyes" && \
13980 test "x$HAVE_XMLLINT" = "xyes" && \
13981 test "x$HAVE_FIG2DEV_PNG" = "xyes"; then
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output HTML documentation" >&5
13984 $as_echo "$as_me: Will output HTML documentation" >&6;}
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output HTML documentation" >&5
13988 $as_echo "$as_me: Will not output HTML documentation" >&6;}
13991 if test "x$HAVE_DOCBOOK2PS" = "xyes" && \
13992 test "x$enable_docbook" = "xyes" && \
13993 test "x$HAVE_XMLLINT" = "xyes" && \
13994 test "x$HAVE_JADETEX" = "xyes" && \
13995 test "x$HAVE_FIG2DEV_EPS" = "xyes" && \
13996 test "x$HAVE_DVIPS" = "xyes" && \
13997 test "x$HAVE_PNGTOPNM" = "xyes" && \
13998 test "x$HAVE_PNMTOPS" = "xyes"; then
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PS documentation" >&5
14001 $as_echo "$as_me: Will output PS documentation" >&6;}
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PS documentation" >&5
14005 $as_echo "$as_me: Will not output PS documentation" >&6;}
14008 if test "x$DOC_PS" = "xyes" && \
14009 test "x$enable_docbook" = "xyes" && \
14010 test "x$HAVE_XMLLINT" = "xyes" && \
14011 test "x$HAVE_PS2PDF" = "xyes"; then
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: Will output PDF documentation" >&5
14014 $as_echo "$as_me: Will output PDF documentation" >&6;}
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: Will not output PDF documentation" >&5
14018 $as_echo "$as_me: Will not output PDF documentation" >&6;}
14021 if test "x$have_docbook" != "xyes"; then
14026 if test "x$have_docbook" = "xyes"; then
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: Installing documentation in $docdir" >&5
14028 $as_echo "$as_me: Installing documentation in $docdir" >&6;}
14032 if test x$enable_docbook = xyes; then
14033 ENABLE_DOCBOOK_TRUE=
14034 ENABLE_DOCBOOK_FALSE='#'
14036 ENABLE_DOCBOOK_TRUE='#'
14037 ENABLE_DOCBOOK_FALSE=
14040 if test x$DOC_HTML = xyes; then
14048 if test x$DOC_PDF = xyes; then
14056 if test x$DOC_PS = xyes; then
14067 # Check whether --with-html-dir was given.
14068 if test "${with_html_dir+set}" = set; then :
14069 withval=$with_html_dir;
14071 with_html_dir='${datadir}/gtk-doc/html'
14074 HTML_DIR="$with_html_dir"
14077 # Check whether --enable-gtk-doc was given.
14078 if test "${enable_gtk_doc+set}" = set; then :
14079 enableval=$enable_gtk_doc;
14085 if test x$enable_gtk_doc = xyes; then
14086 if test -n "$PKG_CONFIG" && \
14087 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5
14088 ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5
14090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14091 test $ac_status = 0; }; then
14094 as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build gtk-doc" "$LINENO" 5
14096 if test -z "$SED"; then
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
14098 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
14099 if test "${ac_cv_path_SED+set}" = set; then :
14100 $as_echo_n "(cached) " >&6
14102 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
14103 for ac_i in 1 2 3 4 5 6 7; do
14104 ac_script="$ac_script$as_nl$ac_script"
14106 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
14107 { ac_script=; unset ac_script;}
14108 if test -z "$SED"; then
14109 ac_path_SED_found=false
14110 # Loop through the user's path and test for each of PROGNAME-LIST
14111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14112 for as_dir in $PATH
14115 test -z "$as_dir" && as_dir=.
14116 for ac_prog in sed gsed; do
14117 for ac_exec_ext in '' $ac_executable_extensions; do
14118 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
14119 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
14120 # Check for GNU ac_path_SED and select it if it is found.
14121 # Check for GNU $ac_path_SED
14122 case `"$ac_path_SED" --version 2>&1` in
14124 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
14127 $as_echo_n 0123456789 >"conftest.in"
14130 cat "conftest.in" "conftest.in" >"conftest.tmp"
14131 mv "conftest.tmp" "conftest.in"
14132 cp "conftest.in" "conftest.nl"
14133 $as_echo '' >> "conftest.nl"
14134 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
14135 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14136 as_fn_arith $ac_count + 1 && ac_count=$as_val
14137 if test $ac_count -gt ${ac_path_SED_max-0}; then
14138 # Best one so far, save it but keep looking for a better one
14139 ac_cv_path_SED="$ac_path_SED"
14140 ac_path_SED_max=$ac_count
14142 # 10*(2^10) chars as input seems more than enough
14143 test $ac_count -gt 10 && break
14145 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14148 $ac_path_SED_found && break 3
14153 if test -z "$ac_cv_path_SED"; then
14154 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
14157 ac_cv_path_SED=$SED
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
14162 $as_echo "$ac_cv_path_SED" >&6; }
14163 SED="$ac_cv_path_SED"
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
14170 $as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
14172 $as_echo "$enable_gtk_doc" >&6; }
14174 for ac_prog in gtkdoc-check
14176 # Extract the first word of "$ac_prog", so it can be a program name with args.
14177 set dummy $ac_prog; ac_word=$2
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14179 $as_echo_n "checking for $ac_word... " >&6; }
14180 if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
14181 $as_echo_n "(cached) " >&6
14183 case $GTKDOC_CHECK in
14185 ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
14188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14189 for as_dir in $PATH
14192 test -z "$as_dir" && as_dir=.
14193 for ac_exec_ext in '' $ac_executable_extensions; do
14194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14195 ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
14196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14206 GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
14207 if test -n "$GTKDOC_CHECK"; then
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
14209 $as_echo "$GTKDOC_CHECK" >&6; }
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14212 $as_echo "no" >&6; }
14216 test -n "$GTKDOC_CHECK" && break
14220 if test x$enable_gtk_doc = xyes; then
14221 ENABLE_GTK_DOC_TRUE=
14222 ENABLE_GTK_DOC_FALSE='#'
14224 ENABLE_GTK_DOC_TRUE='#'
14225 ENABLE_GTK_DOC_FALSE=
14228 if test -n "$LIBTOOL"; then
14229 GTK_DOC_USE_LIBTOOL_TRUE=
14230 GTK_DOC_USE_LIBTOOL_FALSE='#'
14232 GTK_DOC_USE_LIBTOOL_TRUE='#'
14233 GTK_DOC_USE_LIBTOOL_FALSE=
14239 PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \
14240 python1.6 python1.5"
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5
14243 $as_echo "$as_me: Looking for Python version >= 2.1" >&6;}
14247 # split string by '.' and convert to numeric
14248 minver_info = map(string.atoi, string.split(minver, '.'))
14249 # we can now do comparisons on the two lists:
14250 if sys.version_info >= tuple(minver_info):
14256 for python_candidate in $PYTHON_CANDIDATES; do
14258 # Extract the first word of "$python_candidate", so it can be a program name with args.
14259 set dummy $python_candidate; ac_word=$2
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14261 $as_echo_n "checking for $ac_word... " >&6; }
14262 if test "${ac_cv_path_PYTHON+set}" = set; then :
14263 $as_echo_n "(cached) " >&6
14267 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14271 for as_dir in $PATH
14274 test -z "$as_dir" && as_dir=.
14275 for ac_exec_ext in '' $ac_executable_extensions; do
14276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14277 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14288 PYTHON=$ac_cv_path_PYTHON
14289 if test -n "$PYTHON"; then
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14291 $as_echo "$PYTHON" >&6; }
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14294 $as_echo "no" >&6; }
14297 1> /dev/null 2> /dev/null
14299 if test "x$PYTHON" = "x"; then continue; fi
14301 if $PYTHON -c "$prog" 1>&5 2>&5; then
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5
14303 $as_echo_n "checking \"$PYTHON\":... " >&6; }
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
14305 $as_echo "okay" >&6; }
14309 unset ac_cv_path_PYTHON
14314 if test "$python_good" != "true"; then
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5
14316 $as_echo "$as_me: WARNING: No suitable version of python found" >&2;}
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5
14321 $as_echo_n "checking local Python configuration... " >&6; }
14325 PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[:3]"`
14330 PYTHON_PREFIX='${prefix}'
14333 PYTHON_EXEC_PREFIX='${exec_prefix}'
14337 PYTHON_PLATFORM=`$PYTHON -c "import sys; print sys.platform"`
14343 pythondir=$PYTHON_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
14347 pkgpythondir=\${pythondir}/$PACKAGE
14351 pyexecdir=$PYTHON_EXEC_PREFIX"/lib/python"$PYTHON_VERSION/site-packages
14355 pkgpyexecdir=\${pyexecdir}/$PACKAGE
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5
14358 $as_echo "looks good" >&6; }
14364 build_plugin_docs=no
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5
14366 $as_echo_n "checking whether to build plugin documentation... " >&6; }
14367 if test x$enable_gtk_doc = xyes; then
14368 build_plugin_docs=yes
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14370 $as_echo "yes" >&6; }
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5
14373 $as_echo "no (gtk-doc disabled or not available)" >&6; }
14376 if test x$build_plugin_docs = xyes; then
14377 ENABLE_PLUGIN_DOCS_TRUE=
14378 ENABLE_PLUGIN_DOCS_FALSE='#'
14380 ENABLE_PLUGIN_DOCS_TRUE='#'
14381 ENABLE_PLUGIN_DOCS_FALSE=
14389 *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
14390 # These system don't have libm, or don't need it
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
14394 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
14395 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
14396 $as_echo_n "(cached) " >&6
14398 ac_check_lib_save_LIBS=$LIBS
14400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14401 /* end confdefs.h. */
14403 /* Override any GCC internal prototype to avoid an error.
14404 Use char because int might match the return type of a GCC
14405 builtin and then its argument prototype would still apply. */
14409 char _mwvalidcheckl ();
14413 return _mwvalidcheckl ();
14418 if ac_fn_c_try_link "$LINENO"; then :
14419 ac_cv_lib_mw__mwvalidcheckl=yes
14421 ac_cv_lib_mw__mwvalidcheckl=no
14423 rm -f core conftest.err conftest.$ac_objext \
14424 conftest$ac_exeext conftest.$ac_ext
14425 LIBS=$ac_check_lib_save_LIBS
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
14428 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
14429 if test "x$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then :
14433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14434 $as_echo_n "checking for cos in -lm... " >&6; }
14435 if test "${ac_cv_lib_m_cos+set}" = set; then :
14436 $as_echo_n "(cached) " >&6
14438 ac_check_lib_save_LIBS=$LIBS
14440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14441 /* end confdefs.h. */
14443 /* Override any GCC internal prototype to avoid an error.
14444 Use char because int might match the return type of a GCC
14445 builtin and then its argument prototype would still apply. */
14458 if ac_fn_c_try_link "$LINENO"; then :
14459 ac_cv_lib_m_cos=yes
14463 rm -f core conftest.err conftest.$ac_objext \
14464 conftest$ac_exeext conftest.$ac_ext
14465 LIBS=$ac_check_lib_save_LIBS
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14468 $as_echo "$ac_cv_lib_m_cos" >&6; }
14469 if test "x$ac_cv_lib_m_cos" = x""yes; then :
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
14476 $as_echo_n "checking for cos in -lm... " >&6; }
14477 if test "${ac_cv_lib_m_cos+set}" = set; then :
14478 $as_echo_n "(cached) " >&6
14480 ac_check_lib_save_LIBS=$LIBS
14482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14483 /* end confdefs.h. */
14485 /* Override any GCC internal prototype to avoid an error.
14486 Use char because int might match the return type of a GCC
14487 builtin and then its argument prototype would still apply. */
14500 if ac_fn_c_try_link "$LINENO"; then :
14501 ac_cv_lib_m_cos=yes
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14507 LIBS=$ac_check_lib_save_LIBS
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
14510 $as_echo "$ac_cv_lib_m_cos" >&6; }
14511 if test "x$ac_cv_lib_m_cos" = x""yes; then :
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14523 $as_echo_n "checking for ANSI C header files... " >&6; }
14524 if test "${ac_cv_header_stdc+set}" = set; then :
14525 $as_echo_n "(cached) " >&6
14527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14528 /* end confdefs.h. */
14529 #include <stdlib.h>
14530 #include <stdarg.h>
14531 #include <string.h>
14542 if ac_fn_c_try_compile "$LINENO"; then :
14543 ac_cv_header_stdc=yes
14545 ac_cv_header_stdc=no
14547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14549 if test $ac_cv_header_stdc = yes; then
14550 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14552 /* end confdefs.h. */
14553 #include <string.h>
14556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14557 $EGREP "memchr" >/dev/null 2>&1; then :
14560 ac_cv_header_stdc=no
14566 if test $ac_cv_header_stdc = yes; then
14567 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14569 /* end confdefs.h. */
14570 #include <stdlib.h>
14573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14574 $EGREP "free" >/dev/null 2>&1; then :
14577 ac_cv_header_stdc=no
14583 if test $ac_cv_header_stdc = yes; then
14584 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14585 if test "$cross_compiling" = yes; then :
14588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14591 #include <stdlib.h>
14592 #if ((' ' & 0x0FF) == 0x020)
14593 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14594 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14596 # define ISLOWER(c) \
14597 (('a' <= (c) && (c) <= 'i') \
14598 || ('j' <= (c) && (c) <= 'r') \
14599 || ('s' <= (c) && (c) <= 'z'))
14600 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14603 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14608 for (i = 0; i < 256; i++)
14609 if (XOR (islower (i), ISLOWER (i))
14610 || toupper (i) != TOUPPER (i))
14615 if ac_fn_c_try_run "$LINENO"; then :
14618 ac_cv_header_stdc=no
14620 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14621 conftest.$ac_objext conftest.beam conftest.$ac_ext
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14627 $as_echo "$ac_cv_header_stdc" >&6; }
14628 if test $ac_cv_header_stdc = yes; then
14630 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14642 module=gstreamer-$GST_MAJORMINOR
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
14649 $as_echo_n "checking for GST... " >&6; }
14651 if test -n "$PKG_CONFIG"; then
14652 if test -n "$GST_CFLAGS"; then
14653 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
14655 if test -n "$PKG_CONFIG" && \
14656 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
14657 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
14659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14660 test $ac_status = 0; }; then
14661 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
14669 if test -n "$PKG_CONFIG"; then
14670 if test -n "$GST_LIBS"; then
14671 pkg_cv_GST_LIBS="$GST_LIBS"
14673 if test -n "$PKG_CONFIG" && \
14674 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
14675 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
14677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14678 test $ac_status = 0; }; then
14679 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
14690 if test $pkg_failed = yes; then
14692 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14693 _pkg_short_errors_supported=yes
14695 _pkg_short_errors_supported=no
14697 if test $_pkg_short_errors_supported = yes; then
14698 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
14700 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
14702 # Put the nasty error message in config.log where it belongs
14703 echo "$GST_PKG_ERRORS" >&5
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14706 $as_echo "no" >&6; }
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14710 $as_echo "no" >&6; }
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
14712 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
14713 if test "x$required" = "xyes"; then
14714 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
14717 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
14720 elif test $pkg_failed = untried; then
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14724 $as_echo "no" >&6; }
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5
14726 $as_echo "$as_me: $GST_PKG_ERRORS" >&6;}
14727 if test "x$required" = "xyes"; then
14728 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
14731 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
14735 GST_CFLAGS=$pkg_cv_GST_CFLAGS
14736 GST_LIBS=$pkg_cv_GST_LIBS
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14738 $as_echo "yes" >&6; }
14745 if test -z $GST_TOOLS_DIR; then
14746 GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
14747 if test -z $GST_TOOLS_DIR; then
14748 as_fn_error $? "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5
14752 $as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;}
14755 if test -z $GST_PLUGINS_DIR; then
14756 GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_MAJORMINOR`
14757 if test -z $GST_PLUGINS_DIR; then
14758 as_fn_error $? "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5
14762 $as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;}
14767 module=gstreamer-base-$GST_MAJORMINOR
14769 name="GStreamer Base Libraries"
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
14774 $as_echo_n "checking for GST_BASE... " >&6; }
14776 if test -n "$PKG_CONFIG"; then
14777 if test -n "$GST_BASE_CFLAGS"; then
14778 pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
14780 if test -n "$PKG_CONFIG" && \
14781 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
14782 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
14784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14785 test $ac_status = 0; }; then
14786 pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
14794 if test -n "$PKG_CONFIG"; then
14795 if test -n "$GST_BASE_LIBS"; then
14796 pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
14798 if test -n "$PKG_CONFIG" && \
14799 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
14800 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
14802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14803 test $ac_status = 0; }; then
14804 pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
14815 if test $pkg_failed = yes; then
14817 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14818 _pkg_short_errors_supported=yes
14820 _pkg_short_errors_supported=no
14822 if test $_pkg_short_errors_supported = yes; then
14823 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
14825 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
14827 # Put the nasty error message in config.log where it belongs
14828 echo "$GST_BASE_PKG_ERRORS" >&5
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14831 $as_echo "no" >&6; }
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14835 $as_echo "no" >&6; }
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
14837 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
14838 if test "x$required" = "xyes"; then
14839 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
14842 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
14845 elif test $pkg_failed = untried; then
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14849 $as_echo "no" >&6; }
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5
14851 $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;}
14852 if test "x$required" = "xyes"; then
14853 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
14856 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
14860 GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
14861 GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14863 $as_echo "yes" >&6; }
14865 HAVE_GST_BASE="yes"
14873 module=gstreamer-plugins-base-$GST_MAJORMINOR
14875 name="GStreamer Base Plug-ins Library"
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BASE" >&5
14880 $as_echo_n "checking for GST_PLUGINS_BASE... " >&6; }
14882 if test -n "$PKG_CONFIG"; then
14883 if test -n "$GST_PLUGINS_BASE_CFLAGS"; then
14884 pkg_cv_GST_PLUGINS_BASE_CFLAGS="$GST_PLUGINS_BASE_CFLAGS"
14886 if test -n "$PKG_CONFIG" && \
14887 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
14888 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
14890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14891 test $ac_status = 0; }; then
14892 pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
14900 if test -n "$PKG_CONFIG"; then
14901 if test -n "$GST_PLUGINS_BASE_LIBS"; then
14902 pkg_cv_GST_PLUGINS_BASE_LIBS="$GST_PLUGINS_BASE_LIBS"
14904 if test -n "$PKG_CONFIG" && \
14905 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
14906 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
14908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14909 test $ac_status = 0; }; then
14910 pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
14921 if test $pkg_failed = yes; then
14923 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14924 _pkg_short_errors_supported=yes
14926 _pkg_short_errors_supported=no
14928 if test $_pkg_short_errors_supported = yes; then
14929 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
14931 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
14933 # Put the nasty error message in config.log where it belongs
14934 echo "$GST_PLUGINS_BASE_PKG_ERRORS" >&5
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14937 $as_echo "no" >&6; }
14939 HAVE_GST_PLUGINS_BASE="no"
14940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14941 $as_echo "no" >&6; }
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
14943 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
14944 if test "x$required" = "xyes"; then
14945 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
14948 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
14951 elif test $pkg_failed = untried; then
14953 HAVE_GST_PLUGINS_BASE="no"
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14955 $as_echo "no" >&6; }
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5
14957 $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;}
14958 if test "x$required" = "xyes"; then
14959 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
14962 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
14966 GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
14967 GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14969 $as_echo "yes" >&6; }
14971 HAVE_GST_PLUGINS_BASE="yes"
14977 if test -z $GSTPB_PLUGINS_DIR; then
14978 GSTPB_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-base-$GST_MAJORMINOR`
14979 if test -z $GSTPB_PLUGINS_DIR; then
14980 as_fn_error $? "no pluginsdir set in GStreamer Base Plug-ins pkg-config file" "$LINENO" 5
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Base Plug-ins in $GSTPB_PLUGINS_DIR" >&5
14984 $as_echo "$as_me: using GStreamer Base Plug-ins in $GSTPB_PLUGINS_DIR" >&6;}
14989 module=gstreamer-check-$GST_MAJORMINOR
14991 name="GStreamer Check unittest Library"
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5
14996 $as_echo_n "checking for GST_CHECK... " >&6; }
14998 if test -n "$PKG_CONFIG"; then
14999 if test -n "$GST_CHECK_CFLAGS"; then
15000 pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS"
15002 if test -n "$PKG_CONFIG" && \
15003 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15004 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15007 test $ac_status = 0; }; then
15008 pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null`
15016 if test -n "$PKG_CONFIG"; then
15017 if test -n "$GST_CHECK_LIBS"; then
15018 pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS"
15020 if test -n "$PKG_CONFIG" && \
15021 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5
15022 ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5
15024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15025 test $ac_status = 0; }; then
15026 pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null`
15037 if test $pkg_failed = yes; then
15039 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15040 _pkg_short_errors_supported=yes
15042 _pkg_short_errors_supported=no
15044 if test $_pkg_short_errors_supported = yes; then
15045 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$module >= $minver"`
15047 GST_CHECK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$module >= $minver"`
15049 # Put the nasty error message in config.log where it belongs
15050 echo "$GST_CHECK_PKG_ERRORS" >&5
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15053 $as_echo "no" >&6; }
15055 HAVE_GST_CHECK="no"
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15057 $as_echo "no" >&6; }
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
15059 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
15060 if test "x$required" = "xyes"; then
15061 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15064 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15067 elif test $pkg_failed = untried; then
15069 HAVE_GST_CHECK="no"
15070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15071 $as_echo "no" >&6; }
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5
15073 $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;}
15074 if test "x$required" = "xyes"; then
15075 as_fn_error $? "no $module >= $minver ($name) found" "$LINENO" 5
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5
15078 $as_echo "$as_me: no $module >= $minver ($name) found" >&6;}
15082 GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS
15083 GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15085 $as_echo "yes" >&6; }
15087 HAVE_GST_CHECK="yes"
15093 if test "x$HAVE_GST_CHECK" = "xyes"; then
15094 HAVE_GST_CHECK_TRUE=
15095 HAVE_GST_CHECK_FALSE='#'
15097 HAVE_GST_CHECK_TRUE='#'
15098 HAVE_GST_CHECK_FALSE=
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Core Plugins in $GST_PLUGINS_DIR" >&5
15103 $as_echo "$as_me: Using GStreamer Core Plugins in $GST_PLUGINS_DIR" >&6;}
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5
15105 $as_echo "$as_me: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;}
15110 # Check whether --enable-orc was given.
15111 if test "${enable_orc+set}" = set; then :
15112 enableval=$enable_orc; case "${enableval}" in
15113 auto) enable_orc=auto ;;
15114 yes) enable_orc=yes ;;
15115 no) enable_orc=no ;;
15116 *) as_fn_error $? "bad value ${enableval} for --enable-orc" "$LINENO" 5 ;;
15123 if test "x$enable_orc" != "xno" ; then
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ORC" >&5
15127 $as_echo_n "checking for ORC... " >&6; }
15129 if test -n "$PKG_CONFIG"; then
15130 if test -n "$ORC_CFLAGS"; then
15131 pkg_cv_ORC_CFLAGS="$ORC_CFLAGS"
15133 if test -n "$PKG_CONFIG" && \
15134 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
15135 ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
15137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15138 test $ac_status = 0; }; then
15139 pkg_cv_ORC_CFLAGS=`$PKG_CONFIG --cflags "orc-0.4 >= $ORC_REQ" 2>/dev/null`
15147 if test -n "$PKG_CONFIG"; then
15148 if test -n "$ORC_LIBS"; then
15149 pkg_cv_ORC_LIBS="$ORC_LIBS"
15151 if test -n "$PKG_CONFIG" && \
15152 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"orc-0.4 >= \$ORC_REQ\""; } >&5
15153 ($PKG_CONFIG --exists --print-errors "orc-0.4 >= $ORC_REQ") 2>&5
15155 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15156 test $ac_status = 0; }; then
15157 pkg_cv_ORC_LIBS=`$PKG_CONFIG --libs "orc-0.4 >= $ORC_REQ" 2>/dev/null`
15168 if test $pkg_failed = yes; then
15170 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15171 _pkg_short_errors_supported=yes
15173 _pkg_short_errors_supported=no
15175 if test $_pkg_short_errors_supported = yes; then
15176 ORC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
15178 ORC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "orc-0.4 >= $ORC_REQ"`
15180 # Put the nasty error message in config.log where it belongs
15181 echo "$ORC_PKG_ERRORS" >&5
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15184 $as_echo "no" >&6; }
15186 if test "x$enable_orc" = "xyes" ; then
15187 as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
15190 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
15194 elif test $pkg_failed = untried; then
15196 if test "x$enable_orc" = "xyes" ; then
15197 as_fn_error $? "--enable-orc specified, but Orc >= $ORC_REQ not found" "$LINENO" 5
15200 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
15205 ORC_CFLAGS=$pkg_cv_ORC_CFLAGS
15206 ORC_LIBS=$pkg_cv_ORC_LIBS
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15208 $as_echo "yes" >&6; }
15211 $as_echo "#define HAVE_ORC 1" >>confdefs.h
15213 ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
15220 $as_echo "#define DISABLE_ORC 1" >>confdefs.h
15224 if test "x$HAVE_ORC" = "xyes"; then
15239 FROM_VAR=${libdir}/gstreamer-$GST_MAJORMINOR
15241 prefix_save=$prefix
15242 exec_prefix_save=$exec_prefix
15244 if test "x$prefix" = "xNONE"; then
15245 prefix="$ac_default_prefix"
15247 if test "x$exec_prefix" = "xNONE"; then
15248 exec_prefix=$prefix
15251 full_var="$FROM_VAR"
15253 new_full_var="`eval echo $full_var`"
15254 if test "x$new_full_var" = "x$full_var"; then break; fi
15255 full_var=$new_full_var
15258 full_var=$new_full_var
15259 PLUGINDIR="$full_var"
15262 prefix=$prefix_save
15263 exec_prefix=$exec_prefix_save
15266 cat >>confdefs.h <<_ACEOF
15267 #define PLUGINDIR "$PLUGINDIR"
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
15271 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
15273 plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
15278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands " >&5
15279 $as_echo_n "checking to see if compiler understands ... " >&6; }
15281 save_CFLAGS="$CFLAGS"
15284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15285 /* end confdefs.h. */
15295 if ac_fn_c_try_compile "$LINENO"; then :
15300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15301 CFLAGS="$save_CFLAGS"
15303 if test "X$flag_ok" = Xyes ; then
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15311 $as_echo "$flag_ok" >&6; }
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
15322 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
15324 save_CFLAGS="$CFLAGS"
15325 CFLAGS="$CFLAGS -Wall"
15327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15328 /* end confdefs.h. */
15338 if ac_fn_c_try_compile "$LINENO"; then :
15343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15344 CFLAGS="$save_CFLAGS"
15346 if test "X$flag_ok" = Xyes ; then
15347 WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15354 $as_echo "$flag_ok" >&6; }
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
15359 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
15361 save_CFLAGS="$CFLAGS"
15362 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
15364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h. */
15375 if ac_fn_c_try_compile "$LINENO"; then :
15380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15381 CFLAGS="$save_CFLAGS"
15383 if test "X$flag_ok" = Xyes ; then
15384 WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15391 $as_echo "$flag_ok" >&6; }
15395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
15396 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
15398 save_CFLAGS="$CFLAGS"
15399 CFLAGS="$CFLAGS -Wvla"
15401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15402 /* end confdefs.h. */
15412 if ac_fn_c_try_compile "$LINENO"; then :
15417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15418 CFLAGS="$save_CFLAGS"
15420 if test "X$flag_ok" = Xyes ; then
15421 WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15428 $as_echo "$flag_ok" >&6; }
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
15433 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
15435 save_CFLAGS="$CFLAGS"
15436 CFLAGS="$CFLAGS -Wpointer-arith"
15438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15439 /* end confdefs.h. */
15449 if ac_fn_c_try_compile "$LINENO"; then :
15454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15455 CFLAGS="$save_CFLAGS"
15457 if test "X$flag_ok" = Xyes ; then
15458 WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15465 $as_echo "$flag_ok" >&6; }
15468 if test "x$GST_GIT" != "xno"
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
15472 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
15474 save_CFLAGS="$CFLAGS"
15475 CFLAGS="$CFLAGS -Werror"
15477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15478 /* end confdefs.h. */
15488 if ac_fn_c_try_compile "$LINENO"; then :
15493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15494 CFLAGS="$save_CFLAGS"
15496 if test "X$flag_ok" = Xyes ; then
15497 ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15504 $as_echo "$flag_ok" >&6; }
15507 if test "x$ERROR_CFLAGS" = "x"
15510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
15511 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
15513 save_CFLAGS="$CFLAGS"
15514 CFLAGS="$CFLAGS -errwarn=%all"
15516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15517 /* end confdefs.h. */
15527 if ac_fn_c_try_compile "$LINENO"; then :
15532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15533 CFLAGS="$save_CFLAGS"
15535 if test "X$flag_ok" = Xyes ; then
15537 ERROR_CFLAGS="-errwarn=%all"
15538 for f in 'no%E_EMPTY_DECLARATION' \
15539 'no%E_STATEMENT_NOT_REACHED' \
15540 'no%E_ARGUEMENT_MISMATCH' \
15541 'no%E_MACRO_REDEFINED' \
15542 'no%E_LOOP_NOT_ENTERED_AT_TOP'
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
15546 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
15548 save_CFLAGS="$CFLAGS"
15549 CFLAGS="$CFLAGS -errwarn=%all,$f"
15551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15552 /* end confdefs.h. */
15562 if ac_fn_c_try_compile "$LINENO"; then :
15567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15568 CFLAGS="$save_CFLAGS"
15570 if test "X$flag_ok" = Xyes ; then
15572 ERROR_CFLAGS="$ERROR_CFLAGS,$f"
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15580 $as_echo "$flag_ok" >&6; }
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15590 $as_echo "$flag_ok" >&6; }
15593 if test -n "$PKG_CONFIG" && \
15594 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
15595 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
15597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15598 test $ac_status = 0; }; then
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
15602 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
15604 save_CFLAGS="$CFLAGS"
15605 CFLAGS="$CFLAGS -fno-strict-aliasing"
15607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15608 /* end confdefs.h. */
15618 if ac_fn_c_try_compile "$LINENO"; then :
15623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15624 CFLAGS="$save_CFLAGS"
15626 if test "X$flag_ok" = Xyes ; then
15627 ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15634 $as_echo "$flag_ok" >&6; }
15642 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
15643 -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition
15644 -Wcast-align -Winit-self -Wmissing-include-dirs -Waddress
15645 -Waggregate-return -Wno-multichar -Wnested-externs " != "x"
15649 -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
15650 -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition
15651 -Wcast-align -Winit-self -Wmissing-include-dirs -Waddress
15652 -Waggregate-return -Wno-multichar -Wnested-externs "
15656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
15657 $as_echo_n "checking to see if compiler understands $each... " >&6; }
15659 save_CFLAGS="$CFLAGS"
15660 CFLAGS="$CFLAGS $each"
15662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15663 /* end confdefs.h. */
15673 if ac_fn_c_try_compile "$LINENO"; then :
15678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15679 CFLAGS="$save_CFLAGS"
15681 if test "X$flag_ok" = Xyes ; then
15682 WARNING_CFLAGS="$WARNING_CFLAGS $each"
15685 UNSUPPORTED="$UNSUPPORTED $each"
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
15689 $as_echo "$flag_ok" >&6; }
15692 if test "X$UNSUPPORTED" != X ; then
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
15694 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
15700 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
15701 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
15703 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
15707 if test "x$GST_GIT" = "xyes"; then
15708 GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
15710 GST_LEVEL_DEFAULT=GST_LEVEL_NONE
15713 cat >>confdefs.h <<_ACEOF
15714 #define GST_LEVEL_DEFAULT $GST_LEVEL_DEFAULT
15722 if test "x$USE_DEBUG" = xyes; then
15723 PROFILE_CFLAGS="-g"
15727 if test "x$GST_GIT" = "xyes"; then
15728 DEPRECATED_CFLAGS="-DGST_DISABLE_DEPRECATED"
15730 DEPRECATED_CFLAGS=""
15734 GST_OPTION_CFLAGS="\$(WARNING_CFLAGS) \$(ERROR_CFLAGS) \$(DEBUG_CFLAGS) \$(PROFILE_CFLAGS) \$(GCOV_CFLAGS) \$(OPT_CFLAGS) \$(DEPRECATED_CFLAGS)"
15738 GST_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS $GLIB_EXTRA_CFLAGS \$(GST_OPTION_CFLAGS)"
15742 GST_ALL_LDFLAGS="-no-undefined"
15745 GST_PLUGIN_LDFLAGS="-module -avoid-version -export-symbols-regex '^_*gst_plugin_desc\$\$' $GST_ALL_LDFLAGS"
15751 DARWIN_LDFLAGS="-Wl,-read_only_relocs,suppress"
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzlibVersion in -lbz2" >&5
15761 $as_echo_n "checking for BZ2_bzlibVersion in -lbz2... " >&6; }
15762 if test "${ac_cv_lib_bz2_BZ2_bzlibVersion+set}" = set; then :
15763 $as_echo_n "(cached) " >&6
15765 ac_check_lib_save_LIBS=$LIBS
15767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15768 /* end confdefs.h. */
15770 /* Override any GCC internal prototype to avoid an error.
15771 Use char because int might match the return type of a GCC
15772 builtin and then its argument prototype would still apply. */
15776 char BZ2_bzlibVersion ();
15780 return BZ2_bzlibVersion ();
15785 if ac_fn_c_try_link "$LINENO"; then :
15786 ac_cv_lib_bz2_BZ2_bzlibVersion=yes
15788 ac_cv_lib_bz2_BZ2_bzlibVersion=no
15790 rm -f core conftest.err conftest.$ac_objext \
15791 conftest$ac_exeext conftest.$ac_ext
15792 LIBS=$ac_check_lib_save_LIBS
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzlibVersion" >&5
15795 $as_echo "$ac_cv_lib_bz2_BZ2_bzlibVersion" >&6; }
15796 if test "x$ac_cv_lib_bz2_BZ2_bzlibVersion" = x""yes; then :
15802 if test "x$HAVE_BZ2" = "xyes"; then
15803 ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default"
15804 if test "x$ac_cv_header_bzlib_h" = x""yes; then :
15811 if test "x$HAVE_BZ2" = "xyes"; then
15822 if test "x$have_bz2" = "xyes"; then
15830 if test "x$have_bz2" = "xno"; then
15831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libbz2 not found, matroska demuxer will not be able to read bz2 tracks" >&5
15832 $as_echo "$as_me: WARNING: libbz2 not found, matroska demuxer will not be able to read bz2 tracks" >&2;}
15836 HAVE_FFMPEG_UNINSTALLED=1
15839 # Check whether --with-system-ffmpeg was given.
15840 if test "${with_system_ffmpeg+set}" = set; then :
15841 withval=$with_system_ffmpeg;
15845 if test "x$with_system_ffmpeg" = "xyes"; then
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFMPEG" >&5
15849 $as_echo_n "checking for FFMPEG... " >&6; }
15851 if test -n "$PKG_CONFIG"; then
15852 if test -n "$FFMPEG_CFLAGS"; then
15853 pkg_cv_FFMPEG_CFLAGS="$FFMPEG_CFLAGS"
15855 if test -n "$PKG_CONFIG" && \
15856 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavformat libavcodec libavutil\""; } >&5
15857 ($PKG_CONFIG --exists --print-errors "libavformat libavcodec libavutil") 2>&5
15859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15860 test $ac_status = 0; }; then
15861 pkg_cv_FFMPEG_CFLAGS=`$PKG_CONFIG --cflags "libavformat libavcodec libavutil" 2>/dev/null`
15869 if test -n "$PKG_CONFIG"; then
15870 if test -n "$FFMPEG_LIBS"; then
15871 pkg_cv_FFMPEG_LIBS="$FFMPEG_LIBS"
15873 if test -n "$PKG_CONFIG" && \
15874 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libavformat libavcodec libavutil\""; } >&5
15875 ($PKG_CONFIG --exists --print-errors "libavformat libavcodec libavutil") 2>&5
15877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15878 test $ac_status = 0; }; then
15879 pkg_cv_FFMPEG_LIBS=`$PKG_CONFIG --libs "libavformat libavcodec libavutil" 2>/dev/null`
15890 if test $pkg_failed = yes; then
15892 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15893 _pkg_short_errors_supported=yes
15895 _pkg_short_errors_supported=no
15897 if test $_pkg_short_errors_supported = yes; then
15898 FFMPEG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libavformat libavcodec libavutil"`
15900 FFMPEG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libavformat libavcodec libavutil"`
15902 # Put the nasty error message in config.log where it belongs
15903 echo "$FFMPEG_PKG_ERRORS" >&5
15905 as_fn_error $? "Package requirements (libavformat libavcodec libavutil) were not met:
15909 Consider adjusting the PKG_CONFIG_PATH environment variable if you
15910 installed software in a non-standard prefix.
15912 Alternatively, you may set the environment variables FFMPEG_CFLAGS
15913 and FFMPEG_LIBS to avoid the need to call pkg-config.
15914 See the pkg-config man page for more details.
15916 elif test $pkg_failed = untried; then
15917 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15918 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15919 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15920 is in your PATH or set the PKG_CONFIG environment variable to the full
15921 path to pkg-config.
15923 Alternatively, you may set the environment variables FFMPEG_CFLAGS
15924 and FFMPEG_LIBS to avoid the need to call pkg-config.
15925 See the pkg-config man page for more details.
15927 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15928 See \`config.log' for more details" "$LINENO" 5 ; }
15930 FFMPEG_CFLAGS=$pkg_cv_FFMPEG_CFLAGS
15931 FFMPEG_LIBS=$pkg_cv_FFMPEG_LIBS
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15933 $as_echo "yes" >&6; }
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSTPROC" >&5
15939 $as_echo_n "checking for POSTPROC... " >&6; }
15941 if test -n "$PKG_CONFIG"; then
15942 if test -n "$POSTPROC_CFLAGS"; then
15943 pkg_cv_POSTPROC_CFLAGS="$POSTPROC_CFLAGS"
15945 if test -n "$PKG_CONFIG" && \
15946 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpostproc libavcodec libavutil\""; } >&5
15947 ($PKG_CONFIG --exists --print-errors "libpostproc libavcodec libavutil") 2>&5
15949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15950 test $ac_status = 0; }; then
15951 pkg_cv_POSTPROC_CFLAGS=`$PKG_CONFIG --cflags "libpostproc libavcodec libavutil" 2>/dev/null`
15959 if test -n "$PKG_CONFIG"; then
15960 if test -n "$POSTPROC_LIBS"; then
15961 pkg_cv_POSTPROC_LIBS="$POSTPROC_LIBS"
15963 if test -n "$PKG_CONFIG" && \
15964 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpostproc libavcodec libavutil\""; } >&5
15965 ($PKG_CONFIG --exists --print-errors "libpostproc libavcodec libavutil") 2>&5
15967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15968 test $ac_status = 0; }; then
15969 pkg_cv_POSTPROC_LIBS=`$PKG_CONFIG --libs "libpostproc libavcodec libavutil" 2>/dev/null`
15980 if test $pkg_failed = yes; then
15982 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15983 _pkg_short_errors_supported=yes
15985 _pkg_short_errors_supported=no
15987 if test $_pkg_short_errors_supported = yes; then
15988 POSTPROC_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpostproc libavcodec libavutil"`
15990 POSTPROC_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpostproc libavcodec libavutil"`
15992 # Put the nasty error message in config.log where it belongs
15993 echo "$POSTPROC_PKG_ERRORS" >&5
15995 as_fn_error $? "Package requirements (libpostproc libavcodec libavutil) were not met:
15997 $POSTPROC_PKG_ERRORS
15999 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16000 installed software in a non-standard prefix.
16002 Alternatively, you may set the environment variables POSTPROC_CFLAGS
16003 and POSTPROC_LIBS to avoid the need to call pkg-config.
16004 See the pkg-config man page for more details.
16006 elif test $pkg_failed = untried; then
16007 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16009 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16010 is in your PATH or set the PKG_CONFIG environment variable to the full
16011 path to pkg-config.
16013 Alternatively, you may set the environment variables POSTPROC_CFLAGS
16014 and POSTPROC_LIBS to avoid the need to call pkg-config.
16015 See the pkg-config man page for more details.
16017 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16018 See \`config.log' for more details" "$LINENO" 5 ; }
16020 POSTPROC_CFLAGS=$pkg_cv_POSTPROC_CFLAGS
16021 POSTPROC_LIBS=$pkg_cv_POSTPROC_LIBS
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16023 $as_echo "yes" >&6; }
16028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SWSCALE" >&5
16029 $as_echo_n "checking for SWSCALE... " >&6; }
16031 if test -n "$PKG_CONFIG"; then
16032 if test -n "$SWSCALE_CFLAGS"; then
16033 pkg_cv_SWSCALE_CFLAGS="$SWSCALE_CFLAGS"
16035 if test -n "$PKG_CONFIG" && \
16036 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libswscale libavutil\""; } >&5
16037 ($PKG_CONFIG --exists --print-errors "libswscale libavutil") 2>&5
16039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16040 test $ac_status = 0; }; then
16041 pkg_cv_SWSCALE_CFLAGS=`$PKG_CONFIG --cflags "libswscale libavutil" 2>/dev/null`
16049 if test -n "$PKG_CONFIG"; then
16050 if test -n "$SWSCALE_LIBS"; then
16051 pkg_cv_SWSCALE_LIBS="$SWSCALE_LIBS"
16053 if test -n "$PKG_CONFIG" && \
16054 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libswscale libavutil\""; } >&5
16055 ($PKG_CONFIG --exists --print-errors "libswscale libavutil") 2>&5
16057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16058 test $ac_status = 0; }; then
16059 pkg_cv_SWSCALE_LIBS=`$PKG_CONFIG --libs "libswscale libavutil" 2>/dev/null`
16070 if test $pkg_failed = yes; then
16072 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16073 _pkg_short_errors_supported=yes
16075 _pkg_short_errors_supported=no
16077 if test $_pkg_short_errors_supported = yes; then
16078 SWSCALE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libswscale libavutil"`
16080 SWSCALE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libswscale libavutil"`
16082 # Put the nasty error message in config.log where it belongs
16083 echo "$SWSCALE_PKG_ERRORS" >&5
16085 as_fn_error $? "Package requirements (libswscale libavutil) were not met:
16087 $SWSCALE_PKG_ERRORS
16089 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16090 installed software in a non-standard prefix.
16092 Alternatively, you may set the environment variables SWSCALE_CFLAGS
16093 and SWSCALE_LIBS to avoid the need to call pkg-config.
16094 See the pkg-config man page for more details.
16096 elif test $pkg_failed = untried; then
16097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16099 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16100 is in your PATH or set the PKG_CONFIG environment variable to the full
16101 path to pkg-config.
16103 Alternatively, you may set the environment variables SWSCALE_CFLAGS
16104 and SWSCALE_LIBS to avoid the need to call pkg-config.
16105 See the pkg-config man page for more details.
16107 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16108 See \`config.log' for more details" "$LINENO" 5 ; }
16110 SWSCALE_CFLAGS=$pkg_cv_SWSCALE_CFLAGS
16111 SWSCALE_LIBS=$pkg_cv_SWSCALE_LIBS
16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16113 $as_echo "yes" >&6; }
16116 saved_CPPFLAGS="$CPPFLAGS"
16117 CPPFLAGS="$CPPFLAGS $FFMPEG_CFLAGS"
16118 for ac_header in avi.h
16120 ac_fn_c_check_header_mongrel "$LINENO" "avi.h" "ac_cv_header_avi_h" "$ac_includes_default"
16121 if test "x$ac_cv_header_avi_h" = x""yes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_AVI_H 1
16130 CPPFLAGS="$saved_CPPFLAGS"
16132 $as_echo "#define FFMPEG_SOURCE \"system install\"" >>confdefs.h
16134 HAVE_FFMPEG_UNINSTALLED=0
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: Using system-installed FFMpeg code" >&5
16136 $as_echo "$as_me: Using system-installed FFMpeg code" >&6;}
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
16138 ======================================================================
16139 WARNING: you have chosen to build gst-ffmpeg against a random
16140 external version of ffmpeg instead of building it against the tested
16141 internal ffmpeg snapshot that is included with gst-ffmpeg.
16143 This is a very bad idea. So bad in fact that words cannot express
16144 just how bad it is. Suffice to say that it is BAD.
16146 The GStreamer developers cannot and will not support a gst-ffmpeg
16147 built this way. Any bug reports that indicate there is an external
16148 version of ffmpeg involved will be closed immediately without further
16151 The reason such a setup can't be supported is that the ffmpeg API
16152 and ABI is in constant flux, yet there aren't any official releases
16153 of the ffmpeg library to develop against. This makes it impossible
16154 to guarantee that gst-ffmpeg will work reliably, or even compile,
16155 with a randomly picked version ffmpeg. Even if gst-ffmpeg compiles
16156 and superficially appears to work fine against your chosen external
16157 ffmpeg version, that might just not be the case on other systems, or
16158 even the same system at a later time, or when using decoders,
16159 encoders, demuxers or muxers that have not been tested.
16161 Please do not create or distribute binary packages of gst-ffmpeg
16162 that link against an external ffmpeg. Thank you!
16163 ======================================================================
16165 $as_echo "$as_me: WARNING:
16166 ======================================================================
16167 WARNING: you have chosen to build gst-ffmpeg against a random
16168 external version of ffmpeg instead of building it against the tested
16169 internal ffmpeg snapshot that is included with gst-ffmpeg.
16171 This is a very bad idea. So bad in fact that words cannot express
16172 just how bad it is. Suffice to say that it is BAD.
16174 The GStreamer developers cannot and will not support a gst-ffmpeg
16175 built this way. Any bug reports that indicate there is an external
16176 version of ffmpeg involved will be closed immediately without further
16179 The reason such a setup can't be supported is that the ffmpeg API
16180 and ABI is in constant flux, yet there aren't any official releases
16181 of the ffmpeg library to develop against. This makes it impossible
16182 to guarantee that gst-ffmpeg will work reliably, or even compile,
16183 with a randomly picked version ffmpeg. Even if gst-ffmpeg compiles
16184 and superficially appears to work fine against your chosen external
16185 ffmpeg version, that might just not be the case on other systems, or
16186 even the same system at a later time, or when using decoders,
16187 encoders, demuxers or muxers that have not been tested.
16189 Please do not create or distribute binary packages of gst-ffmpeg
16190 that link against an external ffmpeg. Thank you!
16191 ======================================================================
16197 . "$srcdir/ffmpegrev"
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: Using ffmpeg revision $FFMPEG_REVISION" >&5
16200 $as_echo "$as_me: Using ffmpeg revision $FFMPEG_REVISION" >&6;}
16202 FFMPEG_CFLAGS="-I \$(top_srcdir)/gst-libs/ext/ffmpeg/libavformat \
16203 -I \$(top_srcdir)/gst-libs/ext/ffmpeg/libavutil \
16204 -I \$(top_srcdir)/gst-libs/ext/ffmpeg/libavcodec \
16205 -I \$(top_srcdir)/gst-libs/ext/ffmpeg \
16206 -I \$(top_builddir)/gst-libs/ext/ffmpeg \
16207 -Wno-deprecated-declarations"
16209 FFMPEG_LIBS="\$(top_builddir)/gst-libs/ext/ffmpeg/libavformat/libavformat.a \
16210 \$(top_builddir)/gst-libs/ext/ffmpeg/libavcodec/libavcodec.a \
16211 \$(top_builddir)/gst-libs/ext/ffmpeg/libavutil/libavutil.a"
16212 POSTPROC_CFLAGS="-I \$(top_srcdir)/gst-libs/ext/ffmpeg/libpostproc \
16213 -I \$(top_srcdir)/gst-libs/ext/ffmpeg/libavutil \
16214 -I \$(top_srcdir)/gst-libs/ext/ffmpeg/libavcodec \
16215 -I \$(top_srcdir)/gst-libs/ext/ffmpeg \
16216 -I \$(top_builddir)/gst-libs/ext/ffmpeg \
16217 -Wno-deprecated-declarations"
16219 POSTPROC_LIBS="\$(top_builddir)/gst-libs/ext/ffmpeg/libpostproc/libpostproc.a \
16220 \$(top_builddir)/gst-libs/ext/ffmpeg/libavutil/libavutil.a"
16222 SWSCALE_CFLAGS="-I \$(top_srcdir)/gst-libs/ext/ffmpeg/libswscale \
16223 -I \$(top_srcdir)/gst-libs/ext/ffmpeg/libavutil \
16224 -I \$(top_srcdir)/gst-libs/ext/ffmpeg \
16225 -I \$(top_builddir)/gst-libs/ext/ffmpeg \
16226 -Wno-deprecated-declarations"
16228 SWSCALE_LIBS="\$(top_builddir)/gst-libs/ext/ffmpeg/libswscale/libswscale.a \
16229 \$(top_builddir)/gst-libs/ext/ffmpeg/libavutil/libavutil.a"
16231 FFMPEG_SUBDIRS=gst-libs
16232 $as_echo "#define HAVE_AVI_H 1" >>confdefs.h
16235 $as_echo "#define FFMPEG_SOURCE \"local snapshot\"" >>confdefs.h
16239 # Check whether --with-ffmpeg-extra-configure was given.
16240 if test "${with_ffmpeg_extra_configure+set}" = set; then :
16241 withval=$with_ffmpeg_extra_configure;
16243 with_ffmpeg_extra_configure=no
16248 embffmpeg_configure_args="--prefix=$prefix"
16250 # Enable pic and static so that we get .a files, but with PIC code.
16251 # embffmpeg_configure_args="$embffmpeg_configure_args --disable-ffserver --disable-ffplay\
16252 # --disable-ffmpeg --disable-ffprobe --enable-postproc --enable-gpl --enable-static --enable-pic \
16253 # --disable-encoder=flac --disable-decoder=cavs --disable-protocols --disable-devices\
16254 # --disable-network --disable-hwaccels --disable-filters --disable-doc\
16255 # --enable-optimizations"
16257 embffmpeg_configure_args="$embffmpeg_configure_args \
16258 --enable-static --enable-pic --enable-optimizations \
16260 --disable-gpl --disable-postproc --disable-swscale \
16261 --disable-mmx --enable-neon \
16262 --disable-ffmpeg --disable-ffprobe --disable-ffserver --disable-ffplay \
16263 --disable-decoders --disable-encoders \
16264 --disable-muxers --disable-demuxers \
16265 --disable-parsers \
16266 --disable-protocols --disable-network --disable-bsfs --disable-devices --disable-filters \
16267 --enable-libvorbis --enable-libtheora \
16268 --enable-encoder=h263 \
16269 --enable-encoder=h263p \
16270 --enable-encoder=mpeg4 \
16271 --enable-encoder=msmpeg4v1 \
16272 --enable-encoder=msmpeg4v2 \
16273 --enable-encoder=msmpeg4v3 \
16274 --enable-decoder=aac \
16275 --enable-decoder=ac3 \
16276 --enable-decoder=h263 \
16277 --enable-decoder=h264 \
16278 --enable-decoder=mp3 \
16279 --enable-decoder=mp3adu \
16280 --enable-decoder=mpeg4 \
16281 --enable-decoder=mpegvideo \
16282 --enable-decoder=msmpeg4v1 \
16283 --enable-decoder=msmpeg4v2 \
16284 --enable-decoder=msmpeg4v3 \
16285 --enable-decoder=wmav1 \
16286 --enable-decoder=wmav2 \
16287 --enable-decoder=theora \
16288 --enable-decoder=vorbis \
16289 --enable-muxer=amr \
16290 --enable-muxer=tgp \
16291 --enable-muxer=mp4 \
16292 --enable-demuxer=aac \
16293 --enable-demuxer=ac3 \
16294 --enable-demuxer=avi \
16295 --enable-demuxer=amr \
16296 --enable-demuxer=h263 \
16297 --enable-demuxer=h264 \
16298 --enable-demuxer=m4v \
16299 --enable-demuxer=mov \
16300 --enable-demuxer=mp3 \
16301 --enable-demuxer=mpegts \
16302 --enable-demuxer=mpegps \
16303 --enable-demuxer=mpegtsraw \
16304 --enable-demuxer=mpegvideo \
16305 --enable-parser=aac \
16306 --enable-parser=ac3 \
16307 --enable-parser=h263 \
16308 --enable-parser=h264 \
16309 --enable-parser=mpeg4video \
16310 --enable-parser=mpegaudio \
16311 --enable-parser=mpegvideo"
16314 # if we are cross-compiling, tell ffmpeg so
16315 if test "x$cross_compiling" = xyes; then
16316 embffmpeg_configure_args="$embffmpeg_configure_args --enable-cross-compile \
16317 --target-os=$host_os --arch=$host_cpu --cross-prefix=$host_alias-"
16321 # Unfortunately, in Mac OS 10.5 the current rev of ffmpeg builds
16322 # some non-PIC code into the .a file. See
16323 # http://trac.macosforge.org/projects/macports/ticket/13725 for more
16326 embffmpeg_configure_args="$embffmpeg_configure_args --disable-mmx --disable-altivec"
16329 embffmpeg_configure_args="$embffmpeg_configure_args --enable-memalign-hack"
16330 WIN32_LIBS="-lws2_32"
16337 FFMPEG_OPTS="(cd $srcdir/gst-libs/ext/ffmpeg && ./configure --help)"
16338 # Let's check if we can disable the building of the ffmpeg binary
16339 can_disable=`echo "$FFMPEG_OPTS" | grep 'disable-ffmpeg'`
16340 if test "$can_disable" != ""; then
16341 embffmpeg_configure_args="$embffmpeg_configure_args --disable-ffmpeg"
16343 can_enable=`echo "$FFMPEG_OPTS" | grep 'enable-swscale'`
16344 if test "$can_enable" != ""; then
16345 embffmpeg_configure_args="$embffmpeg_configure_args --enable-swscale"
16348 # append extra configure options to embffmpeg_configure_args if needed
16349 if test "x$with_ffmpeg_extra_configure" != "xno"; then
16350 embffmpeg_configure_args="$embffmpeg_configure_args $with_ffmpeg_extra_configure"
16357 ac_config_commands="$ac_config_commands configure-embedded-ffmpeg"
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: Using included FFMpeg code" >&5
16360 $as_echo "$as_me: Using included FFMpeg code" >&6;}
16372 if test x$HAVE_FFMPEG_UNINSTALLED = x1; then
16374 $as_echo "#define HAVE_FFMPEG_UNINSTALLED /**/" >>confdefs.h
16377 if test x$HAVE_FFMPEG_UNINSTALLED = x1; then
16378 HAVE_FFMPEG_UNINSTALLED_TRUE=
16379 HAVE_FFMPEG_UNINSTALLED_FALSE='#'
16381 HAVE_FFMPEG_UNINSTALLED_TRUE='#'
16382 HAVE_FFMPEG_UNINSTALLED_FALSE=
16386 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"
16388 cat >confcache <<\_ACEOF
16389 # This file is a shell script that caches the results of configure
16390 # tests run on this system so they can be shared between configure
16391 # scripts and configure runs, see configure's option --config-cache.
16392 # It is not useful on other systems. If it contains results you don't
16393 # want to keep, you may remove or edit it.
16395 # config.status only pays attention to the cache file if you give it
16396 # the --recheck option to rerun configure.
16398 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16399 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16400 # following values.
16404 # The following way of writing the cache mishandles newlines in values,
16405 # but we know of no workaround that is simple, portable, and efficient.
16406 # So, we kill variables containing newlines.
16407 # Ultrix sh set writes to stderr and can't be redirected directly,
16408 # and sets the high bit in the cache file unless we assign to the vars.
16410 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16411 eval ac_val=\$$ac_var
16415 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16416 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16419 _ | IFS | as_nl) ;; #(
16420 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16421 *) { eval $ac_var=; unset $ac_var;} ;;
16427 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16428 *${as_nl}ac_space=\ *)
16429 # `set' does not quote correctly, so add quotes: double-quote
16430 # substitution turns \\\\ into \\, and sed turns \\ into \.
16433 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16436 # `set' quotes correctly as required by POSIX, so do not add quotes.
16437 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16446 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16448 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16450 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16451 if test -w "$cache_file"; then
16452 test "x$cache_file" != "x/dev/null" &&
16453 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16454 $as_echo "$as_me: updating cache $cache_file" >&6;}
16455 cat confcache >$cache_file
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16458 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16463 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16464 # Let make expand exec_prefix.
16465 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16467 DEFS=-DHAVE_CONFIG_H
16472 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16473 # 1. Remove the extension, and $U if already installed.
16474 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16475 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16476 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16477 # will be set to the directory where LIBOBJS objects are built.
16478 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16479 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16481 LIBOBJS=$ac_libobjs
16483 LTLIBOBJS=$ac_ltlibobjs
16486 if test -n "$EXEEXT"; then
16488 am__EXEEXT_FALSE='#'
16490 am__EXEEXT_TRUE='#'
16494 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16495 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16496 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16498 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16499 as_fn_error $? "conditional \"AMDEP\" was never defined.
16500 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16502 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16503 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16504 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16507 if test -z "${HAVE_CPU_I386_TRUE}" && test -z "${HAVE_CPU_I386_FALSE}"; then
16508 as_fn_error $? "conditional \"HAVE_CPU_I386\" was never defined.
16509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16511 if test -z "${HAVE_CPU_PPC_TRUE}" && test -z "${HAVE_CPU_PPC_FALSE}"; then
16512 as_fn_error $? "conditional \"HAVE_CPU_PPC\" was never defined.
16513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16515 if test -z "${HAVE_CPU_PPC64_TRUE}" && test -z "${HAVE_CPU_PPC64_FALSE}"; then
16516 as_fn_error $? "conditional \"HAVE_CPU_PPC64\" was never defined.
16517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16519 if test -z "${HAVE_CPU_ALPHA_TRUE}" && test -z "${HAVE_CPU_ALPHA_FALSE}"; then
16520 as_fn_error $? "conditional \"HAVE_CPU_ALPHA\" was never defined.
16521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16523 if test -z "${HAVE_CPU_ARM_TRUE}" && test -z "${HAVE_CPU_ARM_FALSE}"; then
16524 as_fn_error $? "conditional \"HAVE_CPU_ARM\" was never defined.
16525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16527 if test -z "${HAVE_CPU_SPARC_TRUE}" && test -z "${HAVE_CPU_SPARC_FALSE}"; then
16528 as_fn_error $? "conditional \"HAVE_CPU_SPARC\" was never defined.
16529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16531 if test -z "${HAVE_CPU_HPPA_TRUE}" && test -z "${HAVE_CPU_HPPA_FALSE}"; then
16532 as_fn_error $? "conditional \"HAVE_CPU_HPPA\" was never defined.
16533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16535 if test -z "${HAVE_CPU_MIPS_TRUE}" && test -z "${HAVE_CPU_MIPS_FALSE}"; then
16536 as_fn_error $? "conditional \"HAVE_CPU_MIPS\" was never defined.
16537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16539 if test -z "${HAVE_CPU_S390_TRUE}" && test -z "${HAVE_CPU_S390_FALSE}"; then
16540 as_fn_error $? "conditional \"HAVE_CPU_S390\" was never defined.
16541 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16543 if test -z "${HAVE_CPU_IA64_TRUE}" && test -z "${HAVE_CPU_IA64_FALSE}"; then
16544 as_fn_error $? "conditional \"HAVE_CPU_IA64\" was never defined.
16545 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16547 if test -z "${HAVE_CPU_M68K_TRUE}" && test -z "${HAVE_CPU_M68K_FALSE}"; then
16548 as_fn_error $? "conditional \"HAVE_CPU_M68K\" was never defined.
16549 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16551 if test -z "${HAVE_CPU_X86_64_TRUE}" && test -z "${HAVE_CPU_X86_64_FALSE}"; then
16552 as_fn_error $? "conditional \"HAVE_CPU_X86_64\" was never defined.
16553 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16555 if test -z "${HAVE_CPU_CRIS_TRUE}" && test -z "${HAVE_CPU_CRIS_FALSE}"; then
16556 as_fn_error $? "conditional \"HAVE_CPU_CRIS\" was never defined.
16557 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16559 if test -z "${HAVE_CPU_CRISV32_TRUE}" && test -z "${HAVE_CPU_CRISV32_FALSE}"; then
16560 as_fn_error $? "conditional \"HAVE_CPU_CRISV32\" was never defined.
16561 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16563 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16564 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16565 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16567 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16568 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16569 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16571 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
16572 as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
16573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16575 if test -z "${ENABLE_DOCBOOK_TRUE}" && test -z "${ENABLE_DOCBOOK_FALSE}"; then
16576 as_fn_error $? "conditional \"ENABLE_DOCBOOK\" was never defined.
16577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16579 if test -z "${DOC_HTML_TRUE}" && test -z "${DOC_HTML_FALSE}"; then
16580 as_fn_error $? "conditional \"DOC_HTML\" was never defined.
16581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16583 if test -z "${DOC_PDF_TRUE}" && test -z "${DOC_PDF_FALSE}"; then
16584 as_fn_error $? "conditional \"DOC_PDF\" was never defined.
16585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16587 if test -z "${DOC_PS_TRUE}" && test -z "${DOC_PS_FALSE}"; then
16588 as_fn_error $? "conditional \"DOC_PS\" was never defined.
16589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16591 if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
16592 as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
16593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16595 if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
16596 as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
16597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16599 if test -z "${ENABLE_PLUGIN_DOCS_TRUE}" && test -z "${ENABLE_PLUGIN_DOCS_FALSE}"; then
16600 as_fn_error $? "conditional \"ENABLE_PLUGIN_DOCS\" was never defined.
16601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16603 if test -z "${HAVE_GST_CHECK_TRUE}" && test -z "${HAVE_GST_CHECK_FALSE}"; then
16604 as_fn_error $? "conditional \"HAVE_GST_CHECK\" was never defined.
16605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16607 if test -z "${HAVE_ORC_TRUE}" && test -z "${HAVE_ORC_FALSE}"; then
16608 as_fn_error $? "conditional \"HAVE_ORC\" was never defined.
16609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16611 if test -z "${HAVE_BZ2_TRUE}" && test -z "${HAVE_BZ2_FALSE}"; then
16612 as_fn_error $? "conditional \"HAVE_BZ2\" was never defined.
16613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16615 if test -z "${HAVE_FFMPEG_UNINSTALLED_TRUE}" && test -z "${HAVE_FFMPEG_UNINSTALLED_FALSE}"; then
16616 as_fn_error $? "conditional \"HAVE_FFMPEG_UNINSTALLED\" was never defined.
16617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16620 : ${CONFIG_STATUS=./config.status}
16622 ac_clean_files_save=$ac_clean_files
16623 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16625 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16627 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16629 # Generated by $as_me.
16630 # Run this file to recreate the current configuration.
16631 # Compiler output produced by configure, useful for debugging
16632 # configure, is in config.log if it exists.
16635 ac_cs_recheck=false
16638 SHELL=\${CONFIG_SHELL-$SHELL}
16641 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16642 ## -------------------- ##
16643 ## M4sh Initialization. ##
16644 ## -------------------- ##
16646 # Be more Bourne compatible
16647 DUALCASE=1; export DUALCASE # for MKS sh
16648 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16651 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16652 # is contrary to our usage. Disable this feature.
16653 alias -g '${1+"$@"}'='"$@"'
16654 setopt NO_GLOB_SUBST
16656 case `(set -o) 2>/dev/null` in #(
16668 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16669 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16670 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16671 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16672 # Prefer a ksh shell builtin over an external printf program on Solaris,
16673 # but without wasting forks for bash or zsh.
16674 if test -z "$BASH_VERSION$ZSH_VERSION" \
16675 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16676 as_echo='print -r --'
16677 as_echo_n='print -rn --'
16678 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16679 as_echo='printf %s\n'
16680 as_echo_n='printf %s'
16682 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16683 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16684 as_echo_n='/usr/ucb/echo -n'
16686 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16687 as_echo_n_body='eval
16691 expr "X$arg" : "X\\(.*\\)$as_nl";
16692 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16694 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16696 export as_echo_n_body
16697 as_echo_n='sh -c $as_echo_n_body as_echo'
16699 export as_echo_body
16700 as_echo='sh -c $as_echo_body as_echo'
16703 # The user is always right.
16704 if test "${PATH_SEPARATOR+set}" != set; then
16706 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16707 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16714 # We need space, tab and new line, in precisely that order. Quoting is
16715 # there to prevent editors from complaining about space-tab.
16716 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16717 # splitting by setting IFS to empty value.)
16720 # Find who we are. Look in the path if we contain no directory separator.
16722 *[\\/]* ) as_myself=$0 ;;
16723 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16724 for as_dir in $PATH
16727 test -z "$as_dir" && as_dir=.
16728 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16734 # We did not find ourselves, most probably we were run as `sh COMMAND'
16735 # in which case we are not to be found in the path.
16736 if test "x$as_myself" = x; then
16739 if test ! -f "$as_myself"; then
16740 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16744 # Unset variables that we do not need and which cause bugs (e.g. in
16745 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16746 # suppresses any "Segmentation fault" message there. '((' could
16747 # trigger a bug in pdksh 5.2.14.
16748 for as_var in BASH_ENV ENV MAIL MAILPATH
16749 do eval test x\${$as_var+set} = xset \
16750 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16763 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16766 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16767 # ----------------------------------------
16768 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16769 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16770 # script with STATUS, using 1 if that was 0.
16773 as_status=$1; test $as_status -eq 0 && as_status=1
16775 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16776 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16778 $as_echo "$as_me: error: $2" >&2
16779 as_fn_exit $as_status
16783 # as_fn_set_status STATUS
16784 # -----------------------
16785 # Set $? to STATUS, without forking.
16786 as_fn_set_status ()
16789 } # as_fn_set_status
16791 # as_fn_exit STATUS
16792 # -----------------
16793 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16797 as_fn_set_status $1
16803 # Portably unset VAR.
16806 { eval $1=; unset $1;}
16808 as_unset=as_fn_unset
16809 # as_fn_append VAR VALUE
16810 # ----------------------
16811 # Append the text in VALUE to the end of the definition contained in VAR. Take
16812 # advantage of any shell optimizations that allow amortized linear growth over
16813 # repeated appends, instead of the typical quadratic growth present in naive
16815 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16816 eval 'as_fn_append ()
16827 # as_fn_arith ARG...
16828 # ------------------
16829 # Perform arithmetic evaluation on the ARGs, and store the result in the
16830 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16831 # must be portable across $(()) and expr.
16832 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16833 eval 'as_fn_arith ()
16840 as_val=`expr "$@" || test $? -eq 1`
16845 if expr a : '\(a\)' >/dev/null 2>&1 &&
16846 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16852 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16853 as_basename=basename
16858 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16864 as_me=`$as_basename -- "$0" ||
16865 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16866 X"$0" : 'X\(//\)$' \| \
16867 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16869 sed '/^.*\/\([^/][^/]*\)\/*$/{
16883 # Avoid depending upon Character Ranges.
16884 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16885 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16886 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16887 as_cr_digits='0123456789'
16888 as_cr_alnum=$as_cr_Letters$as_cr_digits
16890 ECHO_C= ECHO_N= ECHO_T=
16891 case `echo -n x` in #(((((
16893 case `echo 'xy\c'` in
16894 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
16896 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16903 rm -f conf$$ conf$$.exe conf$$.file
16904 if test -d conf$$.dir; then
16905 rm -f conf$$.dir/conf$$.file
16908 mkdir conf$$.dir 2>/dev/null
16910 if (echo >conf$$.file) 2>/dev/null; then
16911 if ln -s conf$$.file conf$$ 2>/dev/null; then
16913 # ... but there are two gotchas:
16914 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16915 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16916 # In both cases, we have to default to `cp -p'.
16917 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16919 elif ln conf$$.file conf$$ 2>/dev/null; then
16927 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16928 rmdir conf$$.dir 2>/dev/null
16933 # Create "$as_dir" as a directory, including parents if necessary.
16938 -*) as_dir=./$as_dir;;
16940 test -d "$as_dir" || eval $as_mkdir_p || {
16944 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16945 *) as_qdir=$as_dir;;
16947 as_dirs="'$as_qdir' $as_dirs"
16948 as_dir=`$as_dirname -- "$as_dir" ||
16949 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16950 X"$as_dir" : 'X\(//\)[^/]' \| \
16951 X"$as_dir" : 'X\(//\)$' \| \
16952 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16953 $as_echo X"$as_dir" |
16954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16958 /^X\(\/\/\)[^/].*/{
16971 test -d "$as_dir" && break
16973 test -z "$as_dirs" || eval "mkdir $as_dirs"
16974 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16978 if mkdir -p . 2>/dev/null; then
16979 as_mkdir_p='mkdir -p "$as_dir"'
16981 test -d ./-p && rmdir ./-p
16985 if test -x / >/dev/null 2>&1; then
16986 as_test_x='test -x'
16988 if ls -dL / >/dev/null 2>&1; then
16995 if test -d "$1"; then
17001 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
17002 ???[sx]*):;;*)false;;esac;fi
17006 as_executable_p=$as_test_x
17008 # Sed expression to map a string onto a valid CPP name.
17009 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17011 # Sed expression to map a string onto a valid variable name.
17012 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17016 ## ----------------------------------- ##
17017 ## Main body of $CONFIG_STATUS script. ##
17018 ## ----------------------------------- ##
17020 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17023 # Save the log message, to keep $0 and so on meaningful, and to
17024 # report actual input values of CONFIG_FILES etc. instead of their
17025 # values after options handling.
17027 This file was extended by GStreamer FFMpeg $as_me 0.10.11, which was
17028 generated by GNU Autoconf 2.67. Invocation command line was
17030 CONFIG_FILES = $CONFIG_FILES
17031 CONFIG_HEADERS = $CONFIG_HEADERS
17032 CONFIG_LINKS = $CONFIG_LINKS
17033 CONFIG_COMMANDS = $CONFIG_COMMANDS
17036 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17041 case $ac_config_files in *"
17042 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17045 case $ac_config_headers in *"
17046 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17051 # Files that config.status was made for.
17052 config_files="$ac_config_files"
17053 config_headers="$ac_config_headers"
17054 config_commands="$ac_config_commands"
17058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17060 \`$as_me' instantiates files and other configuration actions
17061 from templates according to the current configuration. Unless the files
17062 and actions are specified as TAGs, all are instantiated by default.
17064 Usage: $0 [OPTION]... [TAG]...
17066 -h, --help print this help, then exit
17067 -V, --version print version number and configuration settings, then exit
17068 --config print configuration, then exit
17069 -q, --quiet, --silent
17070 do not print progress messages
17071 -d, --debug don't remove temporary files
17072 --recheck update $as_me by reconfiguring in the same conditions
17073 --file=FILE[:TEMPLATE]
17074 instantiate the configuration file FILE
17075 --header=FILE[:TEMPLATE]
17076 instantiate the configuration header FILE
17078 Configuration files:
17081 Configuration headers:
17084 Configuration commands:
17087 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
17090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17091 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17093 GStreamer FFMpeg config.status 0.10.11
17094 configured by $0, generated by GNU Autoconf 2.67,
17095 with options \\"\$ac_cs_config\\"
17097 Copyright (C) 2010 Free Software Foundation, Inc.
17098 This config.status script is free software; the Free Software Foundation
17099 gives unlimited permission to copy, distribute and modify it."
17106 test -n "\$AWK" || AWK=awk
17109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17110 # The default lists apply if the user does not specify any file.
17116 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17117 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17121 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17133 # Handling of the options.
17134 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17136 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17137 $as_echo "$ac_cs_version"; exit ;;
17138 --config | --confi | --conf | --con | --co | --c )
17139 $as_echo "$ac_cs_config"; exit ;;
17140 --debug | --debu | --deb | --de | --d | -d )
17142 --file | --fil | --fi | --f )
17145 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17146 '') as_fn_error $? "missing file argument" ;;
17148 as_fn_append CONFIG_FILES " '$ac_optarg'"
17149 ac_need_defaults=false;;
17150 --header | --heade | --head | --hea )
17153 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17155 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17156 ac_need_defaults=false;;
17158 # Conflict between --help and --header
17159 as_fn_error $? "ambiguous option: \`$1'
17160 Try \`$0 --help' for more information.";;
17161 --help | --hel | -h )
17162 $as_echo "$ac_cs_usage"; exit ;;
17163 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17164 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17167 # This is an error.
17168 -*) as_fn_error $? "unrecognized option: \`$1'
17169 Try \`$0 --help' for more information." ;;
17171 *) as_fn_append ac_config_targets " $1"
17172 ac_need_defaults=false ;;
17178 ac_configure_extra_args=
17180 if $ac_cs_silent; then
17182 ac_configure_extra_args="$ac_configure_extra_args --silent"
17186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17187 if \$ac_cs_recheck; then
17188 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17190 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17191 CONFIG_SHELL='$SHELL'
17192 export CONFIG_SHELL
17197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17201 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17202 ## Running $as_me. ##
17208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17212 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17215 # The HP-UX ksh and POSIX shell print the target directory to stdout
17216 # if CDPATH is set.
17217 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17219 sed_quote_subst='$sed_quote_subst'
17220 double_quote_subst='$double_quote_subst'
17221 delay_variable_subst='$delay_variable_subst'
17222 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
17223 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17224 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
17225 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
17226 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
17227 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
17228 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
17229 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
17230 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
17231 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
17232 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
17233 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
17234 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
17235 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
17236 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
17237 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
17238 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
17239 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
17240 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
17241 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
17242 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
17243 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
17244 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
17245 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
17246 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
17247 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
17248 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
17249 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
17250 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
17251 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
17252 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17253 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
17254 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
17255 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
17256 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17257 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
17258 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
17259 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17260 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17261 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17262 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
17263 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
17264 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
17265 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
17266 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
17267 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
17268 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
17269 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17270 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
17271 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
17272 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
17273 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
17274 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
17275 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
17276 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
17277 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
17278 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
17279 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
17280 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
17281 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
17282 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
17283 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
17284 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
17285 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
17286 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17287 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17288 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
17289 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
17290 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17291 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17292 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
17293 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17294 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17295 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17296 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17297 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17298 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17299 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
17300 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17301 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
17302 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
17303 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
17304 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
17305 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
17306 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
17307 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
17308 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17309 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
17310 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
17311 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
17312 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
17313 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
17314 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17315 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17316 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
17317 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17318 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
17319 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
17320 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
17321 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
17322 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
17323 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17324 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
17325 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
17326 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17327 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
17328 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
17329 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17330 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17331 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
17332 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
17333 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
17334 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17335 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
17336 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
17337 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
17338 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
17339 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
17340 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
17341 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
17344 LTCFLAGS='$LTCFLAGS'
17345 compiler='$compiler_DEFAULT'
17347 # Quote evaled strings.
17358 deplibs_check_method \
17367 lt_cv_sys_global_symbol_pipe \
17368 lt_cv_sys_global_symbol_to_cdecl \
17369 lt_cv_sys_global_symbol_to_c_name_address \
17370 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17373 lt_prog_compiler_no_builtin_flag \
17374 lt_prog_compiler_wl \
17375 lt_prog_compiler_pic \
17376 lt_prog_compiler_static \
17377 lt_cv_prog_compiler_c_o \
17385 export_dynamic_flag_spec \
17386 whole_archive_flag_spec \
17387 compiler_needs_object \
17389 allow_undefined_flag \
17390 no_undefined_flag \
17391 hardcode_libdir_flag_spec \
17392 hardcode_libdir_flag_spec_ld \
17393 hardcode_libdir_separator \
17398 variables_saved_for_relink \
17400 library_names_spec \
17405 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17406 *[\\\\\\\`\\"\\\$]*)
17407 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17410 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17415 # Double-quote double-evaled strings.
17416 for var in reload_cmds \
17417 old_postinstall_cmds \
17418 old_postuninstall_cmds \
17420 extract_expsyms_cmds \
17421 old_archive_from_new_cmds \
17422 old_archive_from_expsyms_cmds \
17424 archive_expsym_cmds \
17426 module_expsym_cmds \
17427 export_symbols_cmds \
17430 postuninstall_cmds \
17432 sys_lib_search_path_spec \
17433 sys_lib_dlsearch_path_spec; do
17434 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17435 *[\\\\\\\`\\"\\\$]*)
17436 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17439 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17444 # Fix-up fallback echo if it was mangled by the above quoting rules.
17446 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17450 ac_aux_dir='$ac_aux_dir'
17451 xsi_shell='$xsi_shell'
17452 lt_shell_append='$lt_shell_append'
17454 # See if we are running on zsh, and set the options which allow our
17455 # commands through without removal of \ escapes INIT.
17456 if test -n "\${ZSH_VERSION+set}" ; then
17457 setopt NO_GLOB_SUBST
17463 TIMESTAMP='$TIMESTAMP'
17469 embffmpeg_configure_args="$embffmpeg_configure_args"
17473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17475 # Handling of arguments.
17476 for ac_config_target in $ac_config_targets
17478 case $ac_config_target in
17479 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17480 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17481 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17482 "configure-embedded-ffmpeg") CONFIG_COMMANDS="$CONFIG_COMMANDS configure-embedded-ffmpeg" ;;
17483 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17484 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
17485 "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
17486 "gst-ffmpeg.spec") CONFIG_FILES="$CONFIG_FILES gst-ffmpeg.spec" ;;
17487 "ext/Makefile") CONFIG_FILES="$CONFIG_FILES ext/Makefile" ;;
17488 "ext/ffmpeg/Makefile") CONFIG_FILES="$CONFIG_FILES ext/ffmpeg/Makefile" ;;
17489 "ext/libpostproc/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libpostproc/Makefile" ;;
17490 "ext/libswscale/Makefile") CONFIG_FILES="$CONFIG_FILES ext/libswscale/Makefile" ;;
17491 "gst-libs/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/Makefile" ;;
17492 "gst-libs/ext/Makefile") CONFIG_FILES="$CONFIG_FILES gst-libs/ext/Makefile" ;;
17493 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17494 "docs/version.entities") CONFIG_FILES="$CONFIG_FILES docs/version.entities" ;;
17495 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17496 "tests/check/Makefile") CONFIG_FILES="$CONFIG_FILES tests/check/Makefile" ;;
17497 "tests/files/Makefile") CONFIG_FILES="$CONFIG_FILES tests/files/Makefile" ;;
17499 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
17504 # If the user did not use the arguments to specify the items to instantiate,
17505 # then the envvar interface is used. Set only those that are not.
17506 # We use the long form for the default assignment because of an extremely
17507 # bizarre bug on SunOS 4.1.3.
17508 if $ac_need_defaults; then
17509 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17510 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17511 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17514 # Have a temporary directory for convenience. Make it in the build tree
17515 # simply because there is no reason against having it here, and in addition,
17516 # creating and moving files from /tmp can sometimes cause problems.
17517 # Hook for its removal unless debugging.
17518 # Note that there is a small window in which the directory will not be cleaned:
17519 # after its creation but before its name has been assigned to `$tmp'.
17523 trap 'exit_status=$?
17524 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17526 trap 'as_fn_exit 1' 1 2 13 15
17528 # Create a (secure) tmp directory for tmp files.
17531 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17532 test -n "$tmp" && test -d "$tmp"
17535 tmp=./conf$$-$RANDOM
17536 (umask 077 && mkdir "$tmp")
17537 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17539 # Set up the scripts for CONFIG_FILES section.
17540 # No need to generate them if there are no CONFIG_FILES.
17541 # This happens for instance with `./config.status config.h'.
17542 if test -n "$CONFIG_FILES"; then
17545 ac_cr=`echo X | tr X '\015'`
17546 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17547 # But we know of no other shell where ac_cr would be empty at this
17548 # point, so we can use a bashism as a fallback.
17549 if test "x$ac_cr" = x; then
17550 eval ac_cr=\$\'\\r\'
17552 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17553 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17556 ac_cs_awk_cr=$ac_cr
17559 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17564 echo "cat >conf$$subs.awk <<_ACEOF" &&
17565 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17567 } >conf$$subs.sh ||
17568 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17569 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17571 for ac_last_try in false false false false false :; do
17572 . ./conf$$subs.sh ||
17573 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17575 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17576 if test $ac_delim_n = $ac_delim_num; then
17578 elif $ac_last_try; then
17579 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17581 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17584 rm -f conf$$subs.sh
17586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17587 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17591 s/^/S["/; s/!.*/"]=/
17601 s/\(.\{148\}\)..*/\1/
17603 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17608 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17615 s/\(.\{148\}\)..*/\1/
17617 s/["\\]/\\&/g; s/^/"/; s/$/"/
17621 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17626 ' <conf$$subs.awk | sed '
17631 ' >>$CONFIG_STATUS || ac_write_fail=1
17632 rm -f conf$$subs.awk
17633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17635 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17636 for (key in S) S_is_set[key] = 1
17642 nfields = split(line, field, "@")
17644 len = length(field[1])
17645 for (i = 2; i < nfields; i++) {
17647 keylen = length(key)
17648 if (S_is_set[key]) {
17650 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17651 len += length(value) + length(field[++i])
17662 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17663 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17664 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17667 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17668 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17671 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17672 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17673 # trailing colons and then remove the whole line if VPATH becomes empty
17674 # (actually we leave an empty line to preserve line numbers).
17675 if test "x$srcdir" = x.; then
17676 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17695 fi # test -n "$CONFIG_FILES"
17697 # Set up the scripts for CONFIG_HEADERS section.
17698 # No need to generate them if there are no CONFIG_HEADERS.
17699 # This happens for instance with `./config.status Makefile'.
17700 if test -n "$CONFIG_HEADERS"; then
17701 cat >"$tmp/defines.awk" <<\_ACAWK ||
17705 # Transform confdefs.h into an awk script `defines.awk', embedded as
17706 # here-document in config.status, that substitutes the proper values into
17707 # config.h.in to produce config.h.
17709 # Create a delimiter string that does not exist in confdefs.h, to ease
17710 # handling of long lines.
17712 for ac_last_try in false false :; do
17713 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17714 if test -z "$ac_t"; then
17716 elif $ac_last_try; then
17717 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17719 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17723 # For the awk script, D is an array of macro values keyed by name,
17724 # likewise P contains macro parameters if any. Preserve backslash
17725 # newline sequences.
17727 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17729 s/.\{148\}/&'"$ac_delim"'/g
17732 s/^[ ]*#[ ]*define[ ][ ]*/ /
17739 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17741 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17745 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17746 D["\1"]=" \3\\\\\\n"\\/p
17748 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17753 s/.\{148\}/&'"$ac_delim"'/g
17758 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17761 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17763 ' <confdefs.h | sed '
17764 s/'"$ac_delim"'/"\\\
17765 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17768 for (key in D) D_is_set[key] = 1
17771 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17773 split(line, arg, " ")
17774 if (arg[1] == "#") {
17778 defundef = substr(arg[1], 2)
17781 split(mac1, mac2, "(") #)
17783 prefix = substr(line, 1, index(line, defundef) - 1)
17784 if (D_is_set[macro]) {
17785 # Preserve the white space surrounding the "#".
17786 print prefix "define", macro P[macro] D[macro]
17789 # Replace #undef with comments. This is necessary, for example,
17790 # in the case of _POSIX_SOURCE, which is predefined and required
17791 # on some systems where configure will not decide to define it.
17792 if (defundef == "undef") {
17793 print "/*", prefix defundef, macro, "*/"
17801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17802 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17803 fi # test -n "$CONFIG_HEADERS"
17806 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17811 :[FHLC]) ac_mode=$ac_tag; continue;;
17813 case $ac_mode$ac_tag in
17815 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
17816 :[FH]-) ac_tag=-:-;;
17817 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17834 -) ac_f="$tmp/stdin";;
17835 *) # Look for the file first in the build tree, then in the source tree
17836 # (if the path is not absolute). The absolute path cannot be DOS-style,
17837 # because $ac_f cannot contain `:'.
17841 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17843 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
17845 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17846 as_fn_append ac_file_inputs " '$ac_f'"
17849 # Let's still pretend it is `configure' which instantiates (i.e., don't
17850 # use $as_me), people would be surprised to read:
17851 # /* config.h. Generated by config.status. */
17852 configure_input='Generated from '`
17853 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17855 if test x"$ac_file" != x-; then
17856 configure_input="$ac_file. $configure_input"
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17858 $as_echo "$as_me: creating $ac_file" >&6;}
17860 # Neutralize special characters interpreted by sed in replacement strings.
17861 case $configure_input in #(
17862 *\&* | *\|* | *\\* )
17863 ac_sed_conf_input=`$as_echo "$configure_input" |
17864 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17865 *) ac_sed_conf_input=$configure_input;;
17869 *:-:* | *:-) cat >"$tmp/stdin" \
17870 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17875 ac_dir=`$as_dirname -- "$ac_file" ||
17876 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17877 X"$ac_file" : 'X\(//\)[^/]' \| \
17878 X"$ac_file" : 'X\(//\)$' \| \
17879 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17880 $as_echo X"$ac_file" |
17881 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17885 /^X\(\/\/\)[^/].*/{
17898 as_dir="$ac_dir"; as_fn_mkdir_p
17902 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17904 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17905 # A ".." for each directory in $ac_dir_suffix.
17906 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17907 case $ac_top_builddir_sub in
17908 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17909 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17912 ac_abs_top_builddir=$ac_pwd
17913 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17914 # for backward compatibility:
17915 ac_top_builddir=$ac_top_build_prefix
17918 .) # We are building in place.
17920 ac_top_srcdir=$ac_top_builddir_sub
17921 ac_abs_top_srcdir=$ac_pwd ;;
17922 [\\/]* | ?:[\\/]* ) # Absolute name.
17923 ac_srcdir=$srcdir$ac_dir_suffix;
17924 ac_top_srcdir=$srcdir
17925 ac_abs_top_srcdir=$srcdir ;;
17926 *) # Relative name.
17927 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17928 ac_top_srcdir=$ac_top_build_prefix$srcdir
17929 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17931 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17941 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17942 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17944 ac_MKDIR_P=$MKDIR_P
17946 [\\/$]* | ?:[\\/]* ) ;;
17947 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17952 # If the template does not know about datarootdir, expand it.
17953 # FIXME: This hack should be removed a few years after 2.60.
17954 ac_datarootdir_hack=; ac_datarootdir_seen=
17965 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17966 *datarootdir*) ac_datarootdir_seen=yes;;
17967 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17969 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17972 ac_datarootdir_hack='
17973 s&@datadir@&$datadir&g
17974 s&@docdir@&$docdir&g
17975 s&@infodir@&$infodir&g
17976 s&@localedir@&$localedir&g
17977 s&@mandir@&$mandir&g
17978 s&\\\${datarootdir}&$datarootdir&g' ;;
17982 # Neutralize VPATH when `$srcdir' = `.'.
17983 # Shell code in configure.ac might set extrasub.
17984 # FIXME: do we really want to maintain this feature?
17985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17986 ac_sed_extra="$ac_vpsub
17989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17991 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17992 s|@configure_input@|$ac_sed_conf_input|;t t
17993 s&@top_builddir@&$ac_top_builddir_sub&;t t
17994 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17995 s&@srcdir@&$ac_srcdir&;t t
17996 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17997 s&@top_srcdir@&$ac_top_srcdir&;t t
17998 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17999 s&@builddir@&$ac_builddir&;t t
18000 s&@abs_builddir@&$ac_abs_builddir&;t t
18001 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18002 s&@INSTALL@&$ac_INSTALL&;t t
18003 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18004 $ac_datarootdir_hack
18006 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18007 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18009 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18010 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18011 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18013 which seems to be undefined. Please make sure it is defined" >&5
18014 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18015 which seems to be undefined. Please make sure it is defined" >&2;}
18019 -) cat "$tmp/out" && rm -f "$tmp/out";;
18020 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18022 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18028 if test x"$ac_file" != x-; then
18030 $as_echo "/* $configure_input */" \
18031 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18032 } >"$tmp/config.h" \
18033 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18034 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18036 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18039 mv "$tmp/config.h" "$ac_file" \
18040 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18043 $as_echo "/* $configure_input */" \
18044 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18045 || as_fn_error $? "could not create -" "$LINENO" 5
18047 # Compute "$ac_file"'s index in $config_headers.
18050 for _am_header in $config_headers :; do
18051 case $_am_header in
18052 $_am_arg | $_am_arg:* )
18055 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18058 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18059 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18060 X"$_am_arg" : 'X\(//\)[^/]' \| \
18061 X"$_am_arg" : 'X\(//\)$' \| \
18062 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18063 $as_echo X"$_am_arg" |
18064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18068 /^X\(\/\/\)[^/].*/{
18080 s/.*/./; q'`/stamp-h$_am_stamp_count
18083 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18084 $as_echo "$as_me: executing $ac_file commands" >&6;}
18089 case $ac_file$ac_mode in
18090 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18091 # Autoconf 2.62 quotes --file arguments for eval, but not when files
18092 # are listed without --file. Let's play safe and only enable the eval
18093 # if we detect the quoting.
18094 case $CONFIG_FILES in
18095 *\'*) eval set x "$CONFIG_FILES" ;;
18096 *) set x $CONFIG_FILES ;;
18101 # Strip MF so we end up with the name of the file.
18102 mf=`echo "$mf" | sed -e 's/:.*$//'`
18103 # Check whether this is an Automake generated Makefile or not.
18104 # We used to match only the files named `Makefile.in', but
18105 # some people rename them; so instead we look at the file content.
18106 # Grep'ing the first line is not enough: some people post-process
18107 # each Makefile.in and add a new line on top of each file to say so.
18108 # Grep'ing the whole file is not good either: AIX grep has a line
18109 # limit of 2048, but all sed's we know have understand at least 4000.
18110 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18111 dirpart=`$as_dirname -- "$mf" ||
18112 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18113 X"$mf" : 'X\(//\)[^/]' \| \
18114 X"$mf" : 'X\(//\)$' \| \
18115 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18121 /^X\(\/\/\)[^/].*/{
18137 # Extract the definition of DEPDIR, am__include, and am__quote
18138 # from the Makefile without running `make'.
18139 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18140 test -z "$DEPDIR" && continue
18141 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18142 test -z "am__include" && continue
18143 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18144 # When using ansi2knr, U may be empty or an underscore; expand it
18145 U=`sed -n 's/^U = //p' < "$mf"`
18146 # Find all dependency output files, they are included files with
18147 # $(DEPDIR) in their names. We invoke sed twice because it is the
18148 # simplest approach to changing $(DEPDIR) to its actual value in the
18150 for file in `sed -n "
18151 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18152 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18153 # Make sure the directory exists.
18154 test -f "$dirpart/$file" && continue
18155 fdir=`$as_dirname -- "$file" ||
18156 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18157 X"$file" : 'X\(//\)[^/]' \| \
18158 X"$file" : 'X\(//\)$' \| \
18159 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18160 $as_echo X"$file" |
18161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18165 /^X\(\/\/\)[^/].*/{
18178 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18179 # echo "creating $dirpart/$file"
18180 echo '# dummy' > "$dirpart/$file"
18187 # See if we are running on zsh, and set the options which allow our
18188 # commands through without removal of \ escapes.
18189 if test -n "${ZSH_VERSION+set}" ; then
18190 setopt NO_GLOB_SUBST
18193 cfgfile="${ofile}T"
18194 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18197 cat <<_LT_EOF >> "$cfgfile"
18200 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18201 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18202 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18203 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18205 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18206 # 2006, 2007, 2008 Free Software Foundation, Inc.
18207 # Written by Gordon Matzigkeit, 1996
18209 # This file is part of GNU Libtool.
18211 # GNU Libtool is free software; you can redistribute it and/or
18212 # modify it under the terms of the GNU General Public License as
18213 # published by the Free Software Foundation; either version 2 of
18214 # the License, or (at your option) any later version.
18216 # As a special exception to the GNU General Public License,
18217 # if you distribute this file as part of a program or library that
18218 # is built using GNU Libtool, you may include this file under the
18219 # same distribution terms that you use for the rest of that program.
18221 # GNU Libtool is distributed in the hope that it will be useful,
18222 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18223 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18224 # GNU General Public License for more details.
18226 # You should have received a copy of the GNU General Public License
18227 # along with GNU Libtool; see the file COPYING. If not, a copy
18228 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18229 # obtained by writing to the Free Software Foundation, Inc.,
18230 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18233 # The names of the tagged configurations supported by this script.
18236 # ### BEGIN LIBTOOL CONFIG
18238 # Assembler program.
18241 # DLL creation program.
18244 # Object dumper program.
18247 # Which release of libtool.m4 was used?
18248 macro_version=$macro_version
18249 macro_revision=$macro_revision
18251 # Whether or not to build shared libraries.
18252 build_libtool_libs=$enable_shared
18254 # Whether or not to build static libraries.
18255 build_old_libs=$enable_static
18257 # What type of objects to build.
18260 # Whether or not to optimize for fast installation.
18261 fast_install=$enable_fast_install
18264 host_alias=$host_alias
18268 # The build system.
18269 build_alias=$build_alias
18273 # A sed program that does not truncate output.
18276 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18277 Xsed="\$SED -e 1s/^X//"
18279 # A grep program that handles long lines.
18285 # A literal string matcher.
18288 # A BSD- or MS-compatible name lister.
18291 # Whether we need soft or hard links.
18294 # What is the maximum length of a command?
18295 max_cmd_len=$max_cmd_len
18297 # Object file suffix (normally "o").
18300 # Executable file suffix (normally "").
18303 # whether the shell understands "unset".
18306 # turn spaces into newlines.
18309 # turn newlines into spaces.
18312 # How to create reloadable object files.
18313 reload_flag=$lt_reload_flag
18314 reload_cmds=$lt_reload_cmds
18316 # Method to check whether dependent libraries are shared objects.
18317 deplibs_check_method=$lt_deplibs_check_method
18319 # Command to use when deplibs_check_method == "file_magic".
18320 file_magic_cmd=$lt_file_magic_cmd
18324 AR_FLAGS=$lt_AR_FLAGS
18326 # A symbol stripping program.
18329 # Commands used to install an old-style archive.
18331 old_postinstall_cmds=$lt_old_postinstall_cmds
18332 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18337 # LTCC compiler flags.
18338 LTCFLAGS=$lt_CFLAGS
18340 # Take the output of nm and produce a listing of raw symbols and C names.
18341 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18343 # Transform the output of nm in a proper C declaration.
18344 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18346 # Transform the output of nm in a C name address pair.
18347 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18349 # Transform the output of nm in a C name address pair when lib prefix is needed.
18350 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18352 # The name of the directory that contains temporary libtool files.
18355 # Shell to use when invoking shell scripts.
18358 # An echo program that does not interpret backslashes.
18361 # Used to examine libraries when file_magic_cmd begins with "file".
18362 MAGIC_CMD=$MAGIC_CMD
18364 # Must we lock files when doing compilation?
18365 need_locks=$lt_need_locks
18367 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18368 DSYMUTIL=$lt_DSYMUTIL
18370 # Tool to change global to local symbols on Mac OS X.
18373 # Tool to manipulate fat objects and archives on Mac OS X.
18376 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18379 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18380 OTOOL64=$lt_OTOOL64
18382 # Old archive suffix (normally "a").
18385 # Shared library suffix (normally ".so").
18386 shrext_cmds=$lt_shrext_cmds
18388 # The commands to extract the exported symbol list from a shared archive.
18389 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18391 # Variables whose values should be saved in libtool wrapper scripts and
18392 # restored at link time.
18393 variables_saved_for_relink=$lt_variables_saved_for_relink
18395 # Do we need the "lib" prefix for modules?
18396 need_lib_prefix=$need_lib_prefix
18398 # Do we need a version for libraries?
18399 need_version=$need_version
18401 # Library versioning type.
18402 version_type=$version_type
18404 # Shared library runtime path variable.
18405 runpath_var=$runpath_var
18407 # Shared library path variable.
18408 shlibpath_var=$shlibpath_var
18410 # Is shlibpath searched before the hard-coded library search path?
18411 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18413 # Format of library name prefix.
18414 libname_spec=$lt_libname_spec
18416 # List of archive names. First name is the real one, the rest are links.
18417 # The last name is the one that the linker finds with -lNAME
18418 library_names_spec=$lt_library_names_spec
18420 # The coded name of the library, if different from the real name.
18421 soname_spec=$lt_soname_spec
18423 # Command to use after installation of a shared archive.
18424 postinstall_cmds=$lt_postinstall_cmds
18426 # Command to use after uninstallation of a shared archive.
18427 postuninstall_cmds=$lt_postuninstall_cmds
18429 # Commands used to finish a libtool library installation in a directory.
18430 finish_cmds=$lt_finish_cmds
18432 # As "finish_cmds", except a single script fragment to be evaled but
18434 finish_eval=$lt_finish_eval
18436 # Whether we should hardcode library paths into libraries.
18437 hardcode_into_libs=$hardcode_into_libs
18439 # Compile-time system search path for libraries.
18440 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18442 # Run-time system search path for libraries.
18443 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18445 # Whether dlopen is supported.
18446 dlopen_support=$enable_dlopen
18448 # Whether dlopen of programs is supported.
18449 dlopen_self=$enable_dlopen_self
18451 # Whether dlopen of statically linked programs is supported.
18452 dlopen_self_static=$enable_dlopen_self_static
18454 # Commands to strip libraries.
18455 old_striplib=$lt_old_striplib
18456 striplib=$lt_striplib
18459 # The linker used to build libraries.
18462 # Commands used to build an old-style archive.
18463 old_archive_cmds=$lt_old_archive_cmds
18465 # A language specific compiler.
18468 # Is the compiler the GNU compiler?
18471 # Compiler flag to turn off builtin functions.
18472 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18474 # How to pass a linker flag through the compiler.
18475 wl=$lt_lt_prog_compiler_wl
18477 # Additional compiler flags for building library objects.
18478 pic_flag=$lt_lt_prog_compiler_pic
18480 # Compiler flag to prevent dynamic linking.
18481 link_static_flag=$lt_lt_prog_compiler_static
18483 # Does compiler simultaneously support -c and -o options?
18484 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18486 # Whether or not to add -lc for building shared libraries.
18487 build_libtool_need_lc=$archive_cmds_need_lc
18489 # Whether or not to disallow shared libs when runtime libs are static.
18490 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18492 # Compiler flag to allow reflexive dlopens.
18493 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18495 # Compiler flag to generate shared objects directly from archives.
18496 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18498 # Whether the compiler copes with passing no objects directly.
18499 compiler_needs_object=$lt_compiler_needs_object
18501 # Create an old-style archive from a shared archive.
18502 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18504 # Create a temporary old-style archive to link instead of a shared archive.
18505 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18507 # Commands used to build a shared archive.
18508 archive_cmds=$lt_archive_cmds
18509 archive_expsym_cmds=$lt_archive_expsym_cmds
18511 # Commands used to build a loadable module if different from building
18512 # a shared archive.
18513 module_cmds=$lt_module_cmds
18514 module_expsym_cmds=$lt_module_expsym_cmds
18516 # Whether we are building with GNU ld or not.
18517 with_gnu_ld=$lt_with_gnu_ld
18519 # Flag that allows shared libraries with undefined symbols to be built.
18520 allow_undefined_flag=$lt_allow_undefined_flag
18522 # Flag that enforces no undefined symbols.
18523 no_undefined_flag=$lt_no_undefined_flag
18525 # Flag to hardcode \$libdir into a binary during linking.
18526 # This must work even if \$libdir does not exist
18527 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18529 # If ld is used when linking, flag to hardcode \$libdir into a binary
18530 # during linking. This must work even if \$libdir does not exist.
18531 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18533 # Whether we need a single "-rpath" flag with a separated argument.
18534 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18536 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18537 # DIR into the resulting binary.
18538 hardcode_direct=$hardcode_direct
18540 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18541 # DIR into the resulting binary and the resulting library dependency is
18542 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18543 # library is relocated.
18544 hardcode_direct_absolute=$hardcode_direct_absolute
18546 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18547 # into the resulting binary.
18548 hardcode_minus_L=$hardcode_minus_L
18550 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18551 # into the resulting binary.
18552 hardcode_shlibpath_var=$hardcode_shlibpath_var
18554 # Set to "yes" if building a shared library automatically hardcodes DIR
18555 # into the library and all subsequent libraries and executables linked
18557 hardcode_automatic=$hardcode_automatic
18559 # Set to yes if linker adds runtime paths of dependent libraries
18560 # to runtime path list.
18561 inherit_rpath=$inherit_rpath
18563 # Whether libtool must link a program against all its dependency libraries.
18564 link_all_deplibs=$link_all_deplibs
18566 # Fix the shell variable \$srcfile for the compiler.
18567 fix_srcfile_path=$lt_fix_srcfile_path
18569 # Set to "yes" if exported symbols are required.
18570 always_export_symbols=$always_export_symbols
18572 # The commands to list exported symbols.
18573 export_symbols_cmds=$lt_export_symbols_cmds
18575 # Symbols that should not be listed in the preloaded symbols.
18576 exclude_expsyms=$lt_exclude_expsyms
18578 # Symbols that must always be exported.
18579 include_expsyms=$lt_include_expsyms
18581 # Commands necessary for linking programs (against libraries) with templates.
18582 prelink_cmds=$lt_prelink_cmds
18584 # Specify filename containing input files.
18585 file_list_spec=$lt_file_list_spec
18587 # How to hardcode a shared library path into an executable.
18588 hardcode_action=$hardcode_action
18590 # ### END LIBTOOL CONFIG
18596 cat <<\_LT_EOF >> "$cfgfile"
18597 # AIX sometimes has problems with the GCC collect2 program. For some
18598 # reason, if we set the COLLECT_NAMES environment variable, the problems
18599 # vanish in a puff of smoke.
18600 if test "X${COLLECT_NAMES+set}" != Xset; then
18602 export COLLECT_NAMES
18609 ltmain="$ac_aux_dir/ltmain.sh"
18612 # We use sed instead of cat because bash on DJGPP gets confused if
18613 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18614 # text mode, it properly converts lines to CR/LF. This bash problem
18615 # is reportedly fixed, but why not run on old versions too?
18616 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18617 || (rm -f "$cfgfile"; exit 1)
18621 cat << \_LT_EOF >> "$cfgfile"
18623 # func_dirname file append nondir_replacement
18624 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18625 # otherwise set result to NONDIR_REPLACEMENT.
18629 */*) func_dirname_result="${1%/*}${2}" ;;
18630 * ) func_dirname_result="${3}" ;;
18634 # func_basename file
18637 func_basename_result="${1##*/}"
18640 # func_dirname_and_basename file append nondir_replacement
18641 # perform func_basename and func_dirname in a single function
18643 # dirname: Compute the dirname of FILE. If nonempty,
18644 # add APPEND to the result, otherwise set result
18645 # to NONDIR_REPLACEMENT.
18646 # value returned in "$func_dirname_result"
18647 # basename: Compute filename of FILE.
18648 # value retuned in "$func_basename_result"
18649 # Implementation must be kept synchronized with func_dirname
18650 # and func_basename. For efficiency, we do not delegate to
18651 # those functions but instead duplicate the functionality here.
18652 func_dirname_and_basename ()
18655 */*) func_dirname_result="${1%/*}${2}" ;;
18656 * ) func_dirname_result="${3}" ;;
18658 func_basename_result="${1##*/}"
18661 # func_stripname prefix suffix name
18662 # strip PREFIX and SUFFIX off of NAME.
18663 # PREFIX and SUFFIX must not contain globbing or regex special
18664 # characters, hashes, percent signs, but SUFFIX may contain a leading
18665 # dot (in which case that matches only a dot).
18668 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18669 # positional parameters, so assign one to ordinary parameter first.
18670 func_stripname_result=${3}
18671 func_stripname_result=${func_stripname_result#"${1}"}
18672 func_stripname_result=${func_stripname_result%"${2}"}
18678 func_opt_split_opt=${1%%=*}
18679 func_opt_split_arg=${1#*=}
18686 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18687 *) func_lo2o_result=${1} ;;
18691 # func_xform libobj-or-source
18694 func_xform_result=${1%.*}.lo
18697 # func_arith arithmetic-term...
18700 func_arith_result=$(( $* ))
18704 # STRING may not start with a hyphen.
18707 func_len_result=${#1}
18712 *) # Bourne compatible functions.
18713 cat << \_LT_EOF >> "$cfgfile"
18715 # func_dirname file append nondir_replacement
18716 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18717 # otherwise set result to NONDIR_REPLACEMENT.
18720 # Extract subdirectory from the argument.
18721 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18722 if test "X$func_dirname_result" = "X${1}"; then
18723 func_dirname_result="${3}"
18725 func_dirname_result="$func_dirname_result${2}"
18729 # func_basename file
18732 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18736 # func_stripname prefix suffix name
18737 # strip PREFIX and SUFFIX off of NAME.
18738 # PREFIX and SUFFIX must not contain globbing or regex special
18739 # characters, hashes, percent signs, but SUFFIX may contain a leading
18740 # dot (in which case that matches only a dot).
18741 # func_strip_suffix prefix name
18745 .*) func_stripname_result=`$ECHO "X${3}" \
18746 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18747 *) func_stripname_result=`$ECHO "X${3}" \
18748 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18753 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18754 my_sed_long_arg='1s/^-[^=]*=//'
18759 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18760 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18766 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18769 # func_xform libobj-or-source
18772 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18775 # func_arith arithmetic-term...
18778 func_arith_result=`expr "$@"`
18782 # STRING may not start with a hyphen.
18785 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18791 case $lt_shell_append in
18793 cat << \_LT_EOF >> "$cfgfile"
18795 # func_append var value
18796 # Append VALUE to the end of shell variable VAR.
18804 cat << \_LT_EOF >> "$cfgfile"
18806 # func_append var value
18807 # Append VALUE to the end of shell variable VAR.
18818 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18819 || (rm -f "$cfgfile"; exit 1)
18821 mv -f "$cfgfile" "$ofile" ||
18822 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18826 "configure-embedded-ffmpeg":C) echo "Configuring included FFmpeg instance with args $embffmpeg_configure_args"
18828 if test -z "$srcdir" -o "$srcdir" = .; then
18829 confcmd=./configure
18831 confcmd="$origdir"/"$ac_top_srcdir"/gst-libs/ext/ffmpeg/configure
18834 as_dir="$ac_top_build_prefix"gst-libs/ext/ffmpeg; as_fn_mkdir_p
18835 cd "$ac_top_build_prefix"gst-libs/ext/ffmpeg &&
18836 $confcmd $embffmpeg_configure_args ||
18837 as_fn_error $? "Failed to configure embedded FFmpeg tree" "$LINENO" 5
18847 ac_clean_files=$ac_clean_files_save
18849 test $ac_write_fail = 0 ||
18850 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18853 # configure is writing to config.log, and then calls config.status.
18854 # config.status does its own redirection, appending to config.log.
18855 # Unfortunately, on DOS this fails, as config.log is still kept open
18856 # by configure, so config.status won't be able to write to it; its
18857 # output is simply discarded. So we exec the FD to /dev/null,
18858 # effectively closing config.log, so it can be properly (re)opened and
18859 # appended to by config.status. When coming back to configure, we
18860 # need to make the FD available again.
18861 if test "$no_create" != yes; then
18863 ac_config_status_args=
18864 test "$silent" = yes &&
18865 ac_config_status_args="$ac_config_status_args --quiet"
18867 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18869 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18870 # would make configure fail if this is the last instruction.
18871 $ac_cs_success || as_fn_exit 1
18873 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18875 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18880 if test "$HAVE_ORC" = yes ; then
18881 printf "configure: *** Orc acceleration enabled.\n"
18883 if test "x$enable_orc" = "xno" ; then
18884 printf "configure: *** Orc acceleration disabled by --disable-orc. Slower code paths\n"
18885 printf " will be used.\n"
18887 printf "configure: *** Orc acceleration disabled. Requires Orc >= $ORC_REQ, which was\n"
18888 printf " not found. Slower code paths will be used.\n"