2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for GStreamer Python Bindings 0.10.22.
5 # Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70 as_echo_n='sh -c $as_echo_n_body as_echo'
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185 test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 test -z "$as_dir" && as_dir=.
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
228 # Preserve -v and -x to the replacement shell.
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234 *v*x* | *x*v* ) as_opts=-vx ;;
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and
250 $0: http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
251 $0: about your system, including any error possibly output
252 $0: before this message. Then install a modern shell, or
253 $0: manually run the script under such a shell if you do
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Unset more variables known to interfere with behavior of common tools.
263 CLICOLOR_FORCE= GREP_OPTIONS=
264 unset CLICOLOR_FORCE GREP_OPTIONS
266 ## --------------------- ##
267 ## M4sh Shell Functions. ##
268 ## --------------------- ##
271 # Portably unset VAR.
274 { eval $1=; unset $1;}
278 # as_fn_set_status STATUS
279 # -----------------------
280 # Set $? to STATUS, without forking.
288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298 # Create "$as_dir" as a directory, including parents if necessary.
303 -*) as_dir=./$as_dir;;
305 test -d "$as_dir" || eval $as_mkdir_p || {
309 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312 as_dirs="'$as_qdir' $as_dirs"
313 as_dir=`$as_dirname -- "$as_dir" ||
314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315 X"$as_dir" : 'X\(//\)[^/]' \| \
316 X"$as_dir" : 'X\(//\)$' \| \
317 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318 $as_echo X"$as_dir" |
319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336 test -d "$as_dir" && break
338 test -z "$as_dirs" || eval "mkdir $as_dirs"
339 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
343 # as_fn_append VAR VALUE
344 # ----------------------
345 # Append the text in VALUE to the end of the definition contained in VAR. Take
346 # advantage of any shell optimizations that allow amortized linear growth over
347 # repeated appends, instead of the typical quadratic growth present in naive
349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350 eval 'as_fn_append ()
363 # Perform arithmetic evaluation on the ARGs, and store the result in the
364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
365 # must be portable across $(()) and expr.
366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
374 as_val=`expr "$@" || test $? -eq 1`
379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
380 # ----------------------------------------
381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383 # script with STATUS, using 1 if that was 0.
386 as_status=$1; test $as_status -eq 0 && as_status=1
388 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391 $as_echo "$as_me: error: $2" >&2
392 as_fn_exit $as_status
395 if expr a : '\(a\)' >/dev/null 2>&1 &&
396 test "X`expr 00001 : '.*\(...\)'`" = X001; then
402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
414 as_me=`$as_basename -- "$0" ||
415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416 X"$0" : 'X\(//\)$' \| \
417 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419 sed '/^.*\/\([^/][^/]*\)\/*$/{
433 # Avoid depending upon Character Ranges.
434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437 as_cr_digits='0123456789'
438 as_cr_alnum=$as_cr_Letters$as_cr_digits
441 as_lineno_1=$LINENO as_lineno_1a=$LINENO
442 as_lineno_2=$LINENO as_lineno_2a=$LINENO
443 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461 chmod +x "$as_me.lineno" ||
462 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
464 # Don't try to exec as it changes $[0], causing all sort of problems
465 # (the dirname of $[0] is not the place where we might find the
466 # original and so on. Autoconf is especially sensitive to this).
468 # Exit status is that of the last command.
472 ECHO_C= ECHO_N= ECHO_T=
473 case `echo -n x` in #(((((
475 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
478 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
485 rm -f conf$$ conf$$.exe conf$$.file
486 if test -d conf$$.dir; then
487 rm -f conf$$.dir/conf$$.file
490 mkdir conf$$.dir 2>/dev/null
492 if (echo >conf$$.file) 2>/dev/null; then
493 if ln -s conf$$.file conf$$ 2>/dev/null; then
495 # ... but there are two gotchas:
496 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498 # In both cases, we have to default to `cp -p'.
499 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 elif ln conf$$.file conf$$ 2>/dev/null; then
509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510 rmdir conf$$.dir 2>/dev/null
512 if mkdir -p . 2>/dev/null; then
513 as_mkdir_p='mkdir -p "$as_dir"'
515 test -d ./-p && rmdir ./-p
519 if test -x / >/dev/null 2>&1; then
522 if ls -dL / >/dev/null 2>&1; then
529 if test -d "$1"; then
535 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536 ???[sx]*):;;*)false;;esac;fi
540 as_executable_p=$as_test_x
542 # Sed expression to map a string onto a valid CPP name.
543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545 # Sed expression to map a string onto a valid variable name.
546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548 SHELL=${CONFIG_SHELL-/bin/sh}
551 test -n "$DJDIR" || exec 7<&0 </dev/null
555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
571 # Identity of this package.
572 PACKAGE_NAME='GStreamer Python Bindings'
573 PACKAGE_TARNAME='gst-python'
574 PACKAGE_VERSION='0.10.22'
575 PACKAGE_STRING='GStreamer Python Bindings 0.10.22'
576 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer'
579 ac_unique_file="gst/gstmodule.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
616 ac_subst_vars='am__EXEEXT_FALSE
637 HAVE_PYGOBJECT_2_16_FALSE
638 HAVE_PYGOBJECT_2_16_TRUE
640 PYGOBJECT_2_16_CFLAGS
642 PYGOBJECT_2_12_CFLAGS
647 GST_PLUGINS_BASE_LIBS
648 GST_PLUGINS_BASE_CFLAGS
654 GST_CONTROLLER_CFLAGS
659 GST_DISABLE_ALLOC_TRACE
663 GST_DISABLE_GST_DEBUG
672 IGNORE_GST_PB_0_10_32
673 IGNORE_GST_PB_0_10_31
674 IGNORE_GST_PB_0_10_30
675 IGNORE_GST_PB_0_10_29
676 IGNORE_GST_PB_0_10_26
677 IGNORE_GST_PB_0_10_25
678 IGNORE_GST_PB_0_10_23
703 GST_GCOV_ENABLED_FALSE
704 GST_GCOV_ENABLED_TRUE
768 MAINTAINER_MODE_FALSE
770 PACKAGE_VERSION_RELEASE
772 PACKAGE_VERSION_MICRO
773 PACKAGE_VERSION_MINOR
774 PACKAGE_VERSION_MAJOR
783 INSTALL_STRIP_PROGRAM
825 program_transform_name
838 enable_option_checking
839 enable_maintainer_mode
845 enable_dependency_tracking
853 ac_precious_vars='build_alias
867 GST_CONTROLLER_CFLAGS
873 GST_PLUGINS_BASE_CFLAGS
874 GST_PLUGINS_BASE_LIBS
879 PYGOBJECT_2_12_CFLAGS
881 PYGOBJECT_2_16_CFLAGS
887 # Initialize some variables set by options.
889 ac_init_version=false
890 ac_unrecognized_opts=
892 # The variables have the same names as the options, with
893 # dashes changed to underlines.
901 program_transform_name=s,x,x,
909 # Installation directory options.
910 # These are left unexpanded so users can "make install exec_prefix=/foo"
911 # and all the variables that are supposed to be based on exec_prefix
912 # by default will actually change.
913 # Use braces instead of parens because sh, perl, etc. also accept them.
914 # (The list follows the same order as the GNU Coding Standards.)
915 bindir='${exec_prefix}/bin'
916 sbindir='${exec_prefix}/sbin'
917 libexecdir='${exec_prefix}/libexec'
918 datarootdir='${prefix}/share'
919 datadir='${datarootdir}'
920 sysconfdir='${prefix}/etc'
921 sharedstatedir='${prefix}/com'
922 localstatedir='${prefix}/var'
923 includedir='${prefix}/include'
924 oldincludedir='/usr/include'
925 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
926 infodir='${datarootdir}/info'
931 libdir='${exec_prefix}/lib'
932 localedir='${datarootdir}/locale'
933 mandir='${datarootdir}/man'
939 # If the previous option needs an argument, assign it.
940 if test -n "$ac_prev"; then
941 eval $ac_prev=\$ac_option
947 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
952 # Accept the important Cygnus configure options, so we can diagnose typos.
954 case $ac_dashdash$ac_option in
958 -bindir | --bindir | --bindi | --bind | --bin | --bi)
960 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
963 -build | --build | --buil | --bui | --bu)
964 ac_prev=build_alias ;;
965 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
966 build_alias=$ac_optarg ;;
968 -cache-file | --cache-file | --cache-fil | --cache-fi \
969 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
970 ac_prev=cache_file ;;
971 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
972 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
973 cache_file=$ac_optarg ;;
976 cache_file=config.cache ;;
978 -datadir | --datadir | --datadi | --datad)
980 -datadir=* | --datadir=* | --datadi=* | --datad=*)
981 datadir=$ac_optarg ;;
983 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
984 | --dataroo | --dataro | --datar)
985 ac_prev=datarootdir ;;
986 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
987 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
988 datarootdir=$ac_optarg ;;
990 -disable-* | --disable-*)
991 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994 as_fn_error $? "invalid feature name: $ac_useropt"
995 ac_useropt_orig=$ac_useropt
996 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997 case $ac_user_opts in
1001 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002 ac_unrecognized_sep=', ';;
1004 eval enable_$ac_useropt=no ;;
1006 -docdir | --docdir | --docdi | --doc | --do)
1008 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1009 docdir=$ac_optarg ;;
1011 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1013 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1014 dvidir=$ac_optarg ;;
1016 -enable-* | --enable-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error $? "invalid feature name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1025 "enable_$ac_useropt"
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';;
1030 eval enable_$ac_useropt=\$ac_optarg ;;
1032 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1033 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1034 | --exec | --exe | --ex)
1035 ac_prev=exec_prefix ;;
1036 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1037 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1038 | --exec=* | --exe=* | --ex=*)
1039 exec_prefix=$ac_optarg ;;
1041 -gas | --gas | --ga | --g)
1042 # Obsolete; use --with-gas.
1045 -help | --help | --hel | --he | -h)
1046 ac_init_help=long ;;
1047 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1048 ac_init_help=recursive ;;
1049 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1050 ac_init_help=short ;;
1052 -host | --host | --hos | --ho)
1053 ac_prev=host_alias ;;
1054 -host=* | --host=* | --hos=* | --ho=*)
1055 host_alias=$ac_optarg ;;
1057 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1059 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1061 htmldir=$ac_optarg ;;
1063 -includedir | --includedir | --includedi | --included | --include \
1064 | --includ | --inclu | --incl | --inc)
1065 ac_prev=includedir ;;
1066 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1067 | --includ=* | --inclu=* | --incl=* | --inc=*)
1068 includedir=$ac_optarg ;;
1070 -infodir | --infodir | --infodi | --infod | --info | --inf)
1072 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1073 infodir=$ac_optarg ;;
1075 -libdir | --libdir | --libdi | --libd)
1077 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1078 libdir=$ac_optarg ;;
1080 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1081 | --libexe | --libex | --libe)
1082 ac_prev=libexecdir ;;
1083 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1084 | --libexe=* | --libex=* | --libe=*)
1085 libexecdir=$ac_optarg ;;
1087 -localedir | --localedir | --localedi | --localed | --locale)
1088 ac_prev=localedir ;;
1089 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090 localedir=$ac_optarg ;;
1092 -localstatedir | --localstatedir | --localstatedi | --localstated \
1093 | --localstate | --localstat | --localsta | --localst | --locals)
1094 ac_prev=localstatedir ;;
1095 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1096 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1097 localstatedir=$ac_optarg ;;
1099 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1101 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1102 mandir=$ac_optarg ;;
1104 -nfp | --nfp | --nf)
1105 # Obsolete; use --without-fp.
1108 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1109 | --no-cr | --no-c | -n)
1112 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1113 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1116 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1117 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1118 | --oldin | --oldi | --old | --ol | --o)
1119 ac_prev=oldincludedir ;;
1120 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1121 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1122 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1123 oldincludedir=$ac_optarg ;;
1125 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1127 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1128 prefix=$ac_optarg ;;
1130 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1131 | --program-pre | --program-pr | --program-p)
1132 ac_prev=program_prefix ;;
1133 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1134 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1135 program_prefix=$ac_optarg ;;
1137 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1138 | --program-suf | --program-su | --program-s)
1139 ac_prev=program_suffix ;;
1140 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1141 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1142 program_suffix=$ac_optarg ;;
1144 -program-transform-name | --program-transform-name \
1145 | --program-transform-nam | --program-transform-na \
1146 | --program-transform-n | --program-transform- \
1147 | --program-transform | --program-transfor \
1148 | --program-transfo | --program-transf \
1149 | --program-trans | --program-tran \
1150 | --progr-tra | --program-tr | --program-t)
1151 ac_prev=program_transform_name ;;
1152 -program-transform-name=* | --program-transform-name=* \
1153 | --program-transform-nam=* | --program-transform-na=* \
1154 | --program-transform-n=* | --program-transform-=* \
1155 | --program-transform=* | --program-transfor=* \
1156 | --program-transfo=* | --program-transf=* \
1157 | --program-trans=* | --program-tran=* \
1158 | --progr-tra=* | --program-tr=* | --program-t=*)
1159 program_transform_name=$ac_optarg ;;
1161 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1163 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164 pdfdir=$ac_optarg ;;
1166 -psdir | --psdir | --psdi | --psd | --ps)
1168 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1172 | -silent | --silent | --silen | --sile | --sil)
1175 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1177 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1179 sbindir=$ac_optarg ;;
1181 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1182 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1183 | --sharedst | --shareds | --shared | --share | --shar \
1185 ac_prev=sharedstatedir ;;
1186 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1187 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1188 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1190 sharedstatedir=$ac_optarg ;;
1192 -site | --site | --sit)
1194 -site=* | --site=* | --sit=*)
1197 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1199 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1200 srcdir=$ac_optarg ;;
1202 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1203 | --syscon | --sysco | --sysc | --sys | --sy)
1204 ac_prev=sysconfdir ;;
1205 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1206 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1207 sysconfdir=$ac_optarg ;;
1209 -target | --target | --targe | --targ | --tar | --ta | --t)
1210 ac_prev=target_alias ;;
1211 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1212 target_alias=$ac_optarg ;;
1214 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1217 -version | --version | --versio | --versi | --vers | -V)
1218 ac_init_version=: ;;
1221 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1224 as_fn_error $? "invalid package name: $ac_useropt"
1225 ac_useropt_orig=$ac_useropt
1226 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227 case $ac_user_opts in
1231 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232 ac_unrecognized_sep=', ';;
1234 eval with_$ac_useropt=\$ac_optarg ;;
1236 -without-* | --without-*)
1237 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1240 as_fn_error $? "invalid package name: $ac_useropt"
1241 ac_useropt_orig=$ac_useropt
1242 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1247 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248 ac_unrecognized_sep=', ';;
1250 eval with_$ac_useropt=no ;;
1253 # Obsolete; use --with-x.
1256 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1257 | --x-incl | --x-inc | --x-in | --x-i)
1258 ac_prev=x_includes ;;
1259 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1260 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1261 x_includes=$ac_optarg ;;
1263 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1264 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1265 ac_prev=x_libraries ;;
1266 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1267 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1268 x_libraries=$ac_optarg ;;
1270 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1271 Try \`$0 --help' for more information"
1275 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1276 # Reject names that are not valid shell variable names.
1277 case $ac_envvar in #(
1278 '' | [0-9]* | *[!_$as_cr_alnum]* )
1279 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1281 eval $ac_envvar=\$ac_optarg
1282 export $ac_envvar ;;
1285 # FIXME: should be removed in autoconf 3.0.
1286 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1288 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1295 if test -n "$ac_prev"; then
1296 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1297 as_fn_error $? "missing argument to $ac_option"
1300 if test -n "$ac_unrecognized_opts"; then
1301 case $enable_option_checking in
1303 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1304 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1308 # Check all directory arguments for consistency.
1309 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310 datadir sysconfdir sharedstatedir localstatedir includedir \
1311 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312 libdir localedir mandir
1314 eval ac_val=\$$ac_var
1315 # Remove trailing slashes.
1318 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319 eval $ac_var=\$ac_val;;
1321 # Be sure to have absolute directory names.
1323 [\\/$]* | ?:[\\/]* ) continue;;
1324 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1326 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1329 # There might be people who depend on the old broken behavior: `$host'
1330 # used to hold the argument of --host etc.
1331 # FIXME: To remove some day.
1334 target=$target_alias
1336 # FIXME: To remove some day.
1337 if test "x$host_alias" != x; then
1338 if test "x$build_alias" = x; then
1339 cross_compiling=maybe
1340 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1341 If a cross compiler is detected then cross compile mode will be used" >&2
1342 elif test "x$build_alias" != "x$host_alias"; then
1348 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1350 test "$silent" = yes && exec 6>/dev/null
1353 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1354 ac_ls_di=`ls -di .` &&
1355 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1356 as_fn_error $? "working directory cannot be determined"
1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358 as_fn_error $? "pwd does not report name of working directory"
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363 ac_srcdir_defaulted=yes
1364 # Try the directory containing this script, then the parent directory.
1365 ac_confdir=`$as_dirname -- "$as_myself" ||
1366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367 X"$as_myself" : 'X\(//\)[^/]' \| \
1368 X"$as_myself" : 'X\(//\)$' \| \
1369 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370 $as_echo X"$as_myself" |
1371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1393 ac_srcdir_defaulted=no
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1396 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1397 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1399 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1401 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1403 # When building in place, set srcdir=.
1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
1407 # Remove unnecessary trailing slashes from srcdir.
1408 # Double slashes in file names in object file debugging info
1409 # mess up M-x gdb in Emacs.
1411 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1413 for ac_var in $ac_precious_vars; do
1414 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1415 eval ac_env_${ac_var}_value=\$${ac_var}
1416 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1417 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1421 # Report the --help message.
1423 if test "$ac_init_help" = "long"; then
1424 # Omit some internal or obsolete options to make the list less imposing.
1425 # This message is too long to be a string in the A/UX 3.1 sh.
1427 \`configure' configures GStreamer Python Bindings 0.10.22 to adapt to many kinds of systems.
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE. See below for descriptions of some of the useful variables.
1434 Defaults for the options are specified in brackets.
1437 -h, --help display this help and exit
1438 --help=short display options specific to this package
1439 --help=recursive display the short help of all the included packages
1440 -V, --version display version information and exit
1441 -q, --quiet, --silent do not print \`checking ...' messages
1442 --cache-file=FILE cache test results in FILE [disabled]
1443 -C, --config-cache alias for \`--cache-file=config.cache'
1444 -n, --no-create do not create output files
1445 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1447 Installation directories:
1448 --prefix=PREFIX install architecture-independent files in PREFIX
1449 [$ac_default_prefix]
1450 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1458 For better control, use the options below.
1460 Fine tuning of the installation directories:
1461 --bindir=DIR user executables [EPREFIX/bin]
1462 --sbindir=DIR system admin executables [EPREFIX/sbin]
1463 --libexecdir=DIR program executables [EPREFIX/libexec]
1464 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1465 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1466 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1467 --libdir=DIR object code libraries [EPREFIX/lib]
1468 --includedir=DIR C header files [PREFIX/include]
1469 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1472 --infodir=DIR info documentation [DATAROOTDIR/info]
1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1474 --mandir=DIR man documentation [DATAROOTDIR/man]
1475 --docdir=DIR documentation root [DATAROOTDIR/doc/gst-python]
1476 --htmldir=DIR html documentation [DOCDIR]
1477 --dvidir=DIR dvi documentation [DOCDIR]
1478 --pdfdir=DIR pdf documentation [DOCDIR]
1479 --psdir=DIR ps documentation [DOCDIR]
1485 --program-prefix=PREFIX prepend PREFIX to installed program names
1486 --program-suffix=SUFFIX append SUFFIX to installed program names
1487 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1490 --build=BUILD configure for building on BUILD [guessed]
1491 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1495 if test -n "$ac_init_help"; then
1496 case $ac_init_help in
1497 short | recursive ) echo "Configuration of GStreamer Python Bindings 0.10.22:";;
1502 --disable-option-checking ignore unrecognized --enable/--with options
1503 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1504 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1505 --enable-maintainer-mode enable make rules and dependencies not useful
1506 (and sometimes confusing) to the casual installer
1507 --enable-silent-rules less verbose build output (undo: `make V=1')
1508 --disable-silent-rules verbose build output (undo: `make V=0')
1509 --enable-static[=PKGS] build static libraries [default=no]
1510 --enable-shared[=PKGS] build shared libraries [default=yes]
1511 --enable-fast-install[=PKGS]
1512 optimize for fast installation [default=yes]
1513 --disable-dependency-tracking speeds up one-time build
1514 --enable-dependency-tracking do not reject slow dependency extractors
1515 --disable-libtool-lock avoid locking (might break parallel builds)
1516 --enable-gcov compile with coverage profiling instrumentation (gcc
1518 --disable-valgrind disable run-time valgrind detection
1521 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1522 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1523 --with-pic try to use only PIC/non-PIC objects [default=use
1525 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1526 --with-sysroot=DIR Search for dependent libraries within DIR
1527 (or the compiler's sysroot if not specified).
1528 --with-libpython-dir the directory containing libpython${PYTHON_VERSION}
1530 Some influential environment variables:
1531 CC C compiler command
1532 CFLAGS C compiler flags
1533 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1534 nonstandard directory <lib dir>
1535 LIBS libraries to pass to the linker, e.g. -l<library>
1536 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1537 you have headers in a nonstandard directory <include dir>
1539 PKG_CONFIG path to pkg-config utility
1540 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1541 GST_LIBS linker flags for GST, overriding pkg-config
1543 C compiler flags for GST_BASE, overriding pkg-config
1545 linker flags for GST_BASE, overriding pkg-config
1546 GST_CONTROLLER_CFLAGS
1547 C compiler flags for GST_CONTROLLER, overriding pkg-config
1549 linker flags for GST_CONTROLLER, overriding pkg-config
1551 C compiler flags for GST_NET, overriding pkg-config
1553 linker flags for GST_NET, overriding pkg-config
1555 C compiler flags for GST_DP, overriding pkg-config
1556 GST_DP_LIBS linker flags for GST_DP, overriding pkg-config
1557 GST_PLUGINS_BASE_CFLAGS
1558 C compiler flags for GST_PLUGINS_BASE, overriding pkg-config
1559 GST_PLUGINS_BASE_LIBS
1560 linker flags for GST_PLUGINS_BASE, overriding pkg-config
1562 C compiler flags for PYGOBJECT, overriding pkg-config
1564 linker flags for PYGOBJECT, overriding pkg-config
1566 C compiler flags for PYGTK, overriding pkg-config
1567 PYGTK_LIBS linker flags for PYGTK, overriding pkg-config
1568 PYGOBJECT_2_12_CFLAGS
1569 C compiler flags for PYGOBJECT_2_12, overriding pkg-config
1571 linker flags for PYGOBJECT_2_12, overriding pkg-config
1572 PYGOBJECT_2_16_CFLAGS
1573 C compiler flags for PYGOBJECT_2_16, overriding pkg-config
1575 linker flags for PYGOBJECT_2_16, overriding pkg-config
1577 C compiler flags for VALGRIND, overriding pkg-config
1579 linker flags for VALGRIND, overriding pkg-config
1581 Use these variables to override the choices made by `configure' or to help
1582 it to find libraries and programs with nonstandard names/locations.
1584 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>.
1589 if test "$ac_init_help" = "recursive"; then
1590 # If there are subdirs, report their specific --help.
1591 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1592 test -d "$ac_dir" ||
1593 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1598 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1600 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1601 # A ".." for each directory in $ac_dir_suffix.
1602 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1603 case $ac_top_builddir_sub in
1604 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1605 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1608 ac_abs_top_builddir=$ac_pwd
1609 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1610 # for backward compatibility:
1611 ac_top_builddir=$ac_top_build_prefix
1614 .) # We are building in place.
1616 ac_top_srcdir=$ac_top_builddir_sub
1617 ac_abs_top_srcdir=$ac_pwd ;;
1618 [\\/]* | ?:[\\/]* ) # Absolute name.
1619 ac_srcdir=$srcdir$ac_dir_suffix;
1620 ac_top_srcdir=$srcdir
1621 ac_abs_top_srcdir=$srcdir ;;
1623 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1624 ac_top_srcdir=$ac_top_build_prefix$srcdir
1625 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1627 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1629 cd "$ac_dir" || { ac_status=$?; continue; }
1630 # Check for guested configure.
1631 if test -f "$ac_srcdir/configure.gnu"; then
1633 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1634 elif test -f "$ac_srcdir/configure"; then
1636 $SHELL "$ac_srcdir/configure" --help=recursive
1638 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1640 cd "$ac_pwd" || { ac_status=$?; break; }
1644 test -n "$ac_init_help" && exit $ac_status
1645 if $ac_init_version; then
1647 GStreamer Python Bindings configure 0.10.22
1648 generated by GNU Autoconf 2.68
1650 Copyright (C) 2010 Free Software Foundation, Inc.
1651 This configure script is free software; the Free Software Foundation
1652 gives unlimited permission to copy, distribute and modify it.
1657 ## ------------------------ ##
1658 ## Autoconf initialization. ##
1659 ## ------------------------ ##
1661 # ac_fn_c_try_compile LINENO
1662 # --------------------------
1663 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1664 ac_fn_c_try_compile ()
1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667 rm -f conftest.$ac_objext
1668 if { { ac_try="$ac_compile"
1670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1671 *) ac_try_echo=$ac_try;;
1673 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_compile") 2>conftest.err
1677 if test -s conftest.err; then
1678 grep -v '^ *+' conftest.err >conftest.er1
1679 cat conftest.er1 >&5
1680 mv -f conftest.er1 conftest.err
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; } && {
1684 test -z "$ac_c_werror_flag" ||
1685 test ! -s conftest.err
1686 } && test -s conftest.$ac_objext; then :
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.$ac_ext >&5
1694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695 as_fn_set_status $ac_retval
1697 } # ac_fn_c_try_compile
1699 # ac_fn_c_try_link LINENO
1700 # -----------------------
1701 # Try to link conftest.$ac_ext, and return whether this succeeded.
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 rm -f conftest.$ac_objext conftest$ac_exeext
1706 if { { ac_try="$ac_link"
1708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1709 *) ac_try_echo=$ac_try;;
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_link") 2>conftest.err
1715 if test -s conftest.err; then
1716 grep -v '^ *+' conftest.err >conftest.er1
1717 cat conftest.er1 >&5
1718 mv -f conftest.er1 conftest.err
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; } && {
1722 test -z "$ac_c_werror_flag" ||
1723 test ! -s conftest.err
1724 } && test -s conftest$ac_exeext && {
1725 test "$cross_compiling" = yes ||
1726 $as_test_x conftest$ac_exeext
1730 $as_echo "$as_me: failed program was:" >&5
1731 sed 's/^/| /' conftest.$ac_ext >&5
1735 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1736 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1737 # interfere with the next link command; also delete a directory that is
1738 # left behind by Apple's compiler. We do this before executing the actions.
1739 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1741 as_fn_set_status $ac_retval
1743 } # ac_fn_c_try_link
1745 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1746 # -------------------------------------------------------
1747 # Tests whether HEADER exists and can be compiled using the include files in
1748 # INCLUDES, setting the cache variable VAR accordingly.
1749 ac_fn_c_check_header_compile ()
1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753 $as_echo_n "checking for $2... " >&6; }
1754 if eval \${$3+:} false; then :
1755 $as_echo_n "(cached) " >&6
1757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758 /* end confdefs.h. */
1762 if ac_fn_c_try_compile "$LINENO"; then :
1767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1771 $as_echo "$ac_res" >&6; }
1772 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1774 } # ac_fn_c_check_header_compile
1776 # ac_fn_c_try_cpp LINENO
1777 # ----------------------
1778 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 if { { ac_try="$ac_cpp conftest.$ac_ext"
1784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1785 *) ac_try_echo=$ac_try;;
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1791 if test -s conftest.err; then
1792 grep -v '^ *+' conftest.err >conftest.er1
1793 cat conftest.er1 >&5
1794 mv -f conftest.er1 conftest.err
1796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797 test $ac_status = 0; } > conftest.i && {
1798 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1799 test ! -s conftest.err
1803 $as_echo "$as_me: failed program was:" >&5
1804 sed 's/^/| /' conftest.$ac_ext >&5
1808 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1809 as_fn_set_status $ac_retval
1813 # ac_fn_c_try_run LINENO
1814 # ----------------------
1815 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1816 # that executables *can* be run.
1819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820 if { { ac_try="$ac_link"
1822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1823 *) ac_try_echo=$ac_try;;
1825 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1826 $as_echo "$ac_try_echo"; } >&5
1827 (eval "$ac_link") 2>&5
1829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1830 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1831 { { case "(($ac_try" in
1832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1833 *) ac_try_echo=$ac_try;;
1835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836 $as_echo "$ac_try_echo"; } >&5
1837 (eval "$ac_try") 2>&5
1839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840 test $ac_status = 0; }; }; then :
1843 $as_echo "$as_me: program exited with status $ac_status" >&5
1844 $as_echo "$as_me: failed program was:" >&5
1845 sed 's/^/| /' conftest.$ac_ext >&5
1847 ac_retval=$ac_status
1849 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1851 as_fn_set_status $ac_retval
1855 # ac_fn_c_check_func LINENO FUNC VAR
1856 # ----------------------------------
1857 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1858 ac_fn_c_check_func ()
1860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862 $as_echo_n "checking for $2... " >&6; }
1863 if eval \${$3+:} false; then :
1864 $as_echo_n "(cached) " >&6
1866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1867 /* end confdefs.h. */
1868 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1870 #define $2 innocuous_$2
1872 /* System header to define __stub macros and hopefully few prototypes,
1873 which can conflict with char $2 (); below.
1874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1875 <limits.h> exists even on freestanding compilers. */
1878 # include <limits.h>
1880 # include <assert.h>
1885 /* Override any GCC internal prototype to avoid an error.
1886 Use char because int might match the return type of a GCC
1887 builtin and then its argument prototype would still apply. */
1892 /* The GNU C library defines this for functions which it implements
1893 to always fail with ENOSYS. Some functions are actually named
1894 something starting with __ and the normal name is an alias. */
1895 #if defined __stub_$2 || defined __stub___$2
1907 if ac_fn_c_try_link "$LINENO"; then :
1912 rm -f core conftest.err conftest.$ac_objext \
1913 conftest$ac_exeext conftest.$ac_ext
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1917 $as_echo "$ac_res" >&6; }
1918 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1920 } # ac_fn_c_check_func
1921 cat >config.log <<_ACEOF
1922 This file contains any messages produced by compilers while
1923 running configure, to aid debugging if configure makes a mistake.
1925 It was created by GStreamer Python Bindings $as_me 0.10.22, which was
1926 generated by GNU Autoconf 2.68. Invocation command line was
1938 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1939 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1940 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1941 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1942 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1944 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1945 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1947 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1948 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1949 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1950 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1951 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1952 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1953 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1961 test -z "$as_dir" && as_dir=.
1962 $as_echo "PATH: $as_dir"
1978 # Keep a trace of the command line.
1979 # Strip out --no-create and --no-recursion so they do not pile up.
1980 # Strip out --silent because we don't want to record it for future runs.
1981 # Also quote any args containing shell meta-characters.
1982 # Make two passes to allow for proper duplicate-argument suppression.
1986 ac_must_keep_next=false
1992 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1993 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1994 | -silent | --silent | --silen | --sile | --sil)
1997 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2000 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2002 as_fn_append ac_configure_args1 " '$ac_arg'"
2003 if test $ac_must_keep_next = true; then
2004 ac_must_keep_next=false # Got value, back to normal.
2007 *=* | --config-cache | -C | -disable-* | --disable-* \
2008 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2009 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2010 | -with-* | --with-* | -without-* | --without-* | --x)
2011 case "$ac_configure_args0 " in
2012 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2015 -* ) ac_must_keep_next=true ;;
2018 as_fn_append ac_configure_args " '$ac_arg'"
2023 { ac_configure_args0=; unset ac_configure_args0;}
2024 { ac_configure_args1=; unset ac_configure_args1;}
2026 # When interrupted or exit'd, cleanup temporary files, and complete
2027 # config.log. We remove comments because anyway the quotes in there
2028 # would cause problems or look ugly.
2029 # WARNING: Use '\'' to represent an apostrophe within the trap.
2030 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2031 trap 'exit_status=$?
2032 # Save into config.log some information that might help in debugging.
2036 $as_echo "## ---------------- ##
2037 ## Cache variables. ##
2038 ## ---------------- ##"
2040 # The following way of writing the cache mishandles newlines in values,
2042 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2043 eval ac_val=\$$ac_var
2047 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2048 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2051 _ | IFS | as_nl) ;; #(
2052 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2053 *) { eval $ac_var=; unset $ac_var;} ;;
2058 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2059 *${as_nl}ac_space=\ *)
2061 "s/'\''/'\''\\\\'\'''\''/g;
2062 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2065 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2072 $as_echo "## ----------------- ##
2073 ## Output variables. ##
2074 ## ----------------- ##"
2076 for ac_var in $ac_subst_vars
2078 eval ac_val=\$$ac_var
2080 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2082 $as_echo "$ac_var='\''$ac_val'\''"
2086 if test -n "$ac_subst_files"; then
2087 $as_echo "## ------------------- ##
2088 ## File substitutions. ##
2089 ## ------------------- ##"
2091 for ac_var in $ac_subst_files
2093 eval ac_val=\$$ac_var
2095 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2097 $as_echo "$ac_var='\''$ac_val'\''"
2102 if test -s confdefs.h; then
2103 $as_echo "## ----------- ##
2110 test "$ac_signal" != 0 &&
2111 $as_echo "$as_me: caught signal $ac_signal"
2112 $as_echo "$as_me: exit $exit_status"
2114 rm -f core *.core core.conftest.* &&
2115 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2118 for ac_signal in 1 2 13 15; do
2119 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2123 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2124 rm -f -r conftest* confdefs.h
2126 $as_echo "/* confdefs.h */" > confdefs.h
2128 # Predefined preprocessor variables.
2130 cat >>confdefs.h <<_ACEOF
2131 #define PACKAGE_NAME "$PACKAGE_NAME"
2134 cat >>confdefs.h <<_ACEOF
2135 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2138 cat >>confdefs.h <<_ACEOF
2139 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2142 cat >>confdefs.h <<_ACEOF
2143 #define PACKAGE_STRING "$PACKAGE_STRING"
2146 cat >>confdefs.h <<_ACEOF
2147 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2150 cat >>confdefs.h <<_ACEOF
2151 #define PACKAGE_URL "$PACKAGE_URL"
2155 # Let the site file select an alternate cache file if it wants to.
2156 # Prefer an explicitly selected file to automatically selected ones.
2159 if test -n "$CONFIG_SITE"; then
2160 # We do not want a PATH search for config.site.
2161 case $CONFIG_SITE in #((
2162 -*) ac_site_file1=./$CONFIG_SITE;;
2163 */*) ac_site_file1=$CONFIG_SITE;;
2164 *) ac_site_file1=./$CONFIG_SITE;;
2166 elif test "x$prefix" != xNONE; then
2167 ac_site_file1=$prefix/share/config.site
2168 ac_site_file2=$prefix/etc/config.site
2170 ac_site_file1=$ac_default_prefix/share/config.site
2171 ac_site_file2=$ac_default_prefix/etc/config.site
2173 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2175 test "x$ac_site_file" = xNONE && continue
2176 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2178 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2179 sed 's/^/| /' "$ac_site_file" >&5
2181 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2183 as_fn_error $? "failed to load site script $ac_site_file
2184 See \`config.log' for more details" "$LINENO" 5; }
2188 if test -r "$cache_file"; then
2189 # Some versions of bash will fail to source /dev/null (special files
2190 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2191 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2193 $as_echo "$as_me: loading cache $cache_file" >&6;}
2195 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2196 *) . "./$cache_file";;
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2201 $as_echo "$as_me: creating cache $cache_file" >&6;}
2205 # Check that the precious variables saved in the cache have kept the same
2207 ac_cache_corrupted=false
2208 for ac_var in $ac_precious_vars; do
2209 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2210 eval ac_new_set=\$ac_env_${ac_var}_set
2211 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2212 eval ac_new_val=\$ac_env_${ac_var}_value
2213 case $ac_old_set,$ac_new_set in
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2216 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2217 ac_cache_corrupted=: ;;
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2220 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2221 ac_cache_corrupted=: ;;
2224 if test "x$ac_old_val" != "x$ac_new_val"; then
2225 # differences in whitespace do not lead to failure.
2226 ac_old_val_w=`echo x $ac_old_val`
2227 ac_new_val_w=`echo x $ac_new_val`
2228 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2230 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2231 ac_cache_corrupted=:
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2234 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2235 eval $ac_var=\$ac_old_val
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2238 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2240 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2243 # Pass precious variables to config.status.
2244 if test "$ac_new_set" = set; then
2246 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2247 *) ac_arg=$ac_var=$ac_new_val ;;
2249 case " $ac_configure_args " in
2250 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2251 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2255 if $ac_cache_corrupted; then
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2257 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2259 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2260 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2262 ## -------------------- ##
2263 ## Main body of script. ##
2264 ## -------------------- ##
2267 ac_cpp='$CPP $CPPFLAGS'
2268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2278 am__api_version='1.11'
2281 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2282 if test -f "$ac_dir/install-sh"; then
2284 ac_install_sh="$ac_aux_dir/install-sh -c"
2286 elif test -f "$ac_dir/install.sh"; then
2288 ac_install_sh="$ac_aux_dir/install.sh -c"
2290 elif test -f "$ac_dir/shtool"; then
2292 ac_install_sh="$ac_aux_dir/shtool install -c"
2296 if test -z "$ac_aux_dir"; then
2297 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2300 # These three variables are undocumented and unsupported,
2301 # and are intended to be withdrawn in a future Autoconf release.
2302 # They can cause serious problems if a builder's source tree is in a directory
2303 # whose full name contains unusual characters.
2304 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2305 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2306 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2309 # Find a good install program. We prefer a C program (faster),
2310 # so one script is as good as another. But avoid the broken or
2311 # incompatible versions:
2312 # SysV /etc/install, /usr/sbin/install
2313 # SunOS /usr/etc/install
2314 # IRIX /sbin/install
2316 # AmigaOS /C/install, which installs bootblocks on floppy discs
2317 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2318 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2319 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2320 # OS/2's system install, which has a completely different semantic
2321 # ./install, which can be erroneously created by make from ./install.sh.
2322 # Reject install programs that cannot install multiple files.
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2324 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2325 if test -z "$INSTALL"; then
2326 if ${ac_cv_path_install+:} false; then :
2327 $as_echo_n "(cached) " >&6
2329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2333 test -z "$as_dir" && as_dir=.
2334 # Account for people who put trailing slashes in PATH elements.
2335 case $as_dir/ in #((
2336 ./ | .// | /[cC]/* | \
2337 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2338 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2341 # OSF1 and SCO ODT 3.0 have their own names for install.
2342 # Don't use installbsd from OSF since it installs stuff as root
2344 for ac_prog in ginstall scoinst install; do
2345 for ac_exec_ext in '' $ac_executable_extensions; do
2346 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2347 if test $ac_prog = install &&
2348 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2349 # AIX install. It has an incompatible calling convention.
2351 elif test $ac_prog = install &&
2352 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2353 # program-specific install script used by HP pwplus--don't use.
2356 rm -rf conftest.one conftest.two conftest.dir
2357 echo one > conftest.one
2358 echo two > conftest.two
2360 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2361 test -s conftest.one && test -s conftest.two &&
2362 test -s conftest.dir/conftest.one &&
2363 test -s conftest.dir/conftest.two
2365 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2378 rm -rf conftest.one conftest.two conftest.dir
2381 if test "${ac_cv_path_install+set}" = set; then
2382 INSTALL=$ac_cv_path_install
2384 # As a last resort, use the slow shell script. Don't cache a
2385 # value for INSTALL within a source directory, because that will
2386 # break other packages using the cache if that directory is
2387 # removed, or if the value is a relative name.
2388 INSTALL=$ac_install_sh
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2392 $as_echo "$INSTALL" >&6; }
2394 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2395 # It thinks the first close brace ends the variable substitution.
2396 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2398 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2400 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2403 $as_echo_n "checking whether build environment is sane... " >&6; }
2406 echo timestamp > conftest.file
2407 # Reject unsafe characters in $srcdir or the absolute working directory
2408 # name. Accept space and tab only in the latter.
2412 *[\\\"\#\$\&\'\`$am_lf]*)
2413 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2416 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2417 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2420 # Do `set' in a subshell so we don't clobber the current shell's
2421 # arguments. Must try -L first in case configure is actually a
2422 # symlink; some systems play weird games with the mod time of symlinks
2423 # (eg FreeBSD returns the mod time of the symlink's containing
2426 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2427 if test "$*" = "X"; then
2429 set X `ls -t "$srcdir/configure" conftest.file`
2432 if test "$*" != "X $srcdir/configure conftest.file" \
2433 && test "$*" != "X conftest.file $srcdir/configure"; then
2435 # If neither matched, then we have a broken ls. This can happen
2436 # if, for instance, CONFIG_SHELL is bash and it inherits a
2437 # broken ls alias from the environment. This has actually
2438 # happened. Such a system could not be considered "sane".
2439 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2440 alias in your environment" "$LINENO" 5
2443 test "$2" = conftest.file
2449 as_fn_error $? "newly created file is older than distributed files!
2450 Check your system clock" "$LINENO" 5
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2453 $as_echo "yes" >&6; }
2454 test "$program_prefix" != NONE &&
2455 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2456 # Use a double $ so make ignores it.
2457 test "$program_suffix" != NONE &&
2458 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2459 # Double any \ or $.
2460 # By default was `s,x,x', remove it if useless.
2461 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2462 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2464 # expand $ac_aux_dir to an absolute path
2465 am_aux_dir=`cd $ac_aux_dir && pwd`
2467 if test x"${MISSING+set}" != xset; then
2470 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2472 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2475 # Use eval to expand $SHELL
2476 if eval "$MISSING --run true"; then
2477 am_missing_run="$MISSING --run "
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2481 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2484 if test x"${install_sh}" != xset; then
2487 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2489 install_sh="\${SHELL} $am_aux_dir/install-sh"
2493 # Installed binaries are usually stripped using `strip' when the user
2494 # run `make install-strip'. However `strip' might not be the right
2495 # tool to use in cross-compilation environments, therefore Automake
2496 # will honor the `STRIP' environment variable to overrule this program.
2497 if test "$cross_compiling" != no; then
2498 if test -n "$ac_tool_prefix"; then
2499 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2500 set dummy ${ac_tool_prefix}strip; ac_word=$2
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2502 $as_echo_n "checking for $ac_word... " >&6; }
2503 if ${ac_cv_prog_STRIP+:} false; then :
2504 $as_echo_n "(cached) " >&6
2506 if test -n "$STRIP"; then
2507 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2513 test -z "$as_dir" && as_dir=.
2514 for ac_exec_ext in '' $ac_executable_extensions; do
2515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2516 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2526 STRIP=$ac_cv_prog_STRIP
2527 if test -n "$STRIP"; then
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2529 $as_echo "$STRIP" >&6; }
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2532 $as_echo "no" >&6; }
2537 if test -z "$ac_cv_prog_STRIP"; then
2539 # Extract the first word of "strip", so it can be a program name with args.
2540 set dummy strip; ac_word=$2
2541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2542 $as_echo_n "checking for $ac_word... " >&6; }
2543 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2544 $as_echo_n "(cached) " >&6
2546 if test -n "$ac_ct_STRIP"; then
2547 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2553 test -z "$as_dir" && as_dir=.
2554 for ac_exec_ext in '' $ac_executable_extensions; do
2555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2556 ac_cv_prog_ac_ct_STRIP="strip"
2557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2566 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2567 if test -n "$ac_ct_STRIP"; then
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2569 $as_echo "$ac_ct_STRIP" >&6; }
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2572 $as_echo "no" >&6; }
2575 if test "x$ac_ct_STRIP" = x; then
2578 case $cross_compiling:$ac_tool_warned in
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2581 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2582 ac_tool_warned=yes ;;
2587 STRIP="$ac_cv_prog_STRIP"
2591 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2594 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2595 if test -z "$MKDIR_P"; then
2596 if ${ac_cv_path_mkdir+:} false; then :
2597 $as_echo_n "(cached) " >&6
2599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2600 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2603 test -z "$as_dir" && as_dir=.
2604 for ac_prog in mkdir gmkdir; do
2605 for ac_exec_ext in '' $ac_executable_extensions; do
2606 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2607 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2608 'mkdir (GNU coreutils) '* | \
2609 'mkdir (coreutils) '* | \
2610 'mkdir (fileutils) '4.1*)
2611 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2621 test -d ./--version && rmdir ./--version
2622 if test "${ac_cv_path_mkdir+set}" = set; then
2623 MKDIR_P="$ac_cv_path_mkdir -p"
2625 # As a last resort, use the slow shell script. Don't cache a
2626 # value for MKDIR_P within a source directory, because that will
2627 # break other packages using the cache if that directory is
2628 # removed, or if the value is a relative name.
2629 MKDIR_P="$ac_install_sh -d"
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2633 $as_echo "$MKDIR_P" >&6; }
2637 [\\/$]* | ?:[\\/]*) ;;
2638 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2641 for ac_prog in gawk mawk nawk awk
2643 # Extract the first word of "$ac_prog", so it can be a program name with args.
2644 set dummy $ac_prog; ac_word=$2
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2646 $as_echo_n "checking for $ac_word... " >&6; }
2647 if ${ac_cv_prog_AWK+:} false; then :
2648 $as_echo_n "(cached) " >&6
2650 if test -n "$AWK"; then
2651 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 test -z "$as_dir" && as_dir=.
2658 for ac_exec_ext in '' $ac_executable_extensions; do
2659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2660 ac_cv_prog_AWK="$ac_prog"
2661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2671 if test -n "$AWK"; then
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2673 $as_echo "$AWK" >&6; }
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2676 $as_echo "no" >&6; }
2680 test -n "$AWK" && break
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2684 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2686 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2687 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2688 $as_echo_n "(cached) " >&6
2690 cat >conftest.make <<\_ACEOF
2693 @echo '@@@%%%=$(MAKE)=@@@%%%'
2695 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2696 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2698 eval ac_cv_prog_make_${ac_make}_set=yes;;
2700 eval ac_cv_prog_make_${ac_make}_set=no;;
2704 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2706 $as_echo "yes" >&6; }
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2710 $as_echo "no" >&6; }
2711 SET_MAKE="MAKE=${MAKE-make}"
2714 rm -rf .tst 2>/dev/null
2715 mkdir .tst 2>/dev/null
2716 if test -d .tst; then
2721 rmdir .tst 2>/dev/null
2723 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2724 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2725 # is not polluted with repeated "-I."
2726 am__isrc=' -I$(srcdir)'
2727 # test to see if srcdir already configured
2728 if test -f $srcdir/config.status; then
2729 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2733 # test whether we have cygpath
2734 if test -z "$CYGPATH_W"; then
2735 if (cygpath --version) >/dev/null 2>/dev/null; then
2736 CYGPATH_W='cygpath -w'
2743 # Define the identity of the package.
2744 PACKAGE='gst-python'
2748 cat >>confdefs.h <<_ACEOF
2749 #define PACKAGE "$PACKAGE"
2753 cat >>confdefs.h <<_ACEOF
2754 #define VERSION "$VERSION"
2757 # Some tools Automake needs.
2759 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2762 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2765 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2768 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2771 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2773 # We need awk for the "check" target. The system "awk" is bad on
2775 # Always define AMTAR for backward compatibility.
2777 AMTAR=${AMTAR-"${am_missing_run}tar"}
2779 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2787 PACKAGE_VERSION_MAJOR=$(echo 0.10.22 | cut -d'.' -f1)
2788 PACKAGE_VERSION_MINOR=$(echo 0.10.22 | cut -d'.' -f2)
2789 PACKAGE_VERSION_MICRO=$(echo 0.10.22 | cut -d'.' -f3)
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5
2798 $as_echo_n "checking nano version... " >&6; }
2800 NANO=$(echo 0.10.22 | cut -d'.' -f4)
2802 if test x"$NANO" = x || test "x$NANO" = "x0" ; then
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5
2804 $as_echo "0 (release)" >&6; }
2806 PACKAGE_VERSION_RELEASE=1
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5
2810 $as_echo "$NANO" >&6; }
2811 PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S`
2812 if test "x$NANO" != "x1" ; then
2818 PACKAGE_VERSION_NANO=$NANO
2825 ac_config_headers="$ac_config_headers config.h"
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2830 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2831 # Check whether --enable-maintainer-mode was given.
2832 if test "${enable_maintainer_mode+set}" = set; then :
2833 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2835 USE_MAINTAINER_MODE=no
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2839 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2840 if test $USE_MAINTAINER_MODE = yes; then
2841 MAINTAINER_MODE_TRUE=
2842 MAINTAINER_MODE_FALSE='#'
2844 MAINTAINER_MODE_TRUE='#'
2845 MAINTAINER_MODE_FALSE=
2848 MAINT=$MAINTAINER_MODE_TRUE
2852 # Check whether --enable-silent-rules was given.
2853 if test "${enable_silent_rules+set}" = set; then :
2854 enableval=$enable_silent_rules;
2857 case $enable_silent_rules in
2858 yes) AM_DEFAULT_VERBOSITY=0;;
2859 no) AM_DEFAULT_VERBOSITY=1;;
2860 *) AM_DEFAULT_VERBOSITY=0;;
2866 cat >>confdefs.h <<_ACEOF
2867 #define PYGST_MAJOR_VERSION $PACKAGE_VERSION_MAJOR
2871 cat >>confdefs.h <<_ACEOF
2872 #define PYGST_MINOR_VERSION $PACKAGE_VERSION_MINOR
2876 cat >>confdefs.h <<_ACEOF
2877 #define PYGST_MICRO_VERSION $PACKAGE_VERSION_MICRO
2881 cat >>confdefs.h <<_ACEOF
2882 #define PYGST_NANO_VERSION $PACKAGE_VERSION_NANO
2890 ACLOCAL_AMFLAGS="-I m4 -I common/m4"
2895 PYGOBJECT_REQ=2.11.2
2906 # Check whether --enable-static was given.
2907 if test "${enable_static+set}" = set; then :
2908 enableval=$enable_static; p=${PACKAGE-default}
2910 yes) enable_static=yes ;;
2911 no) enable_static=no ;;
2914 # Look at the argument we got. We use all the common list separators.
2915 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2916 for pkg in $enableval; do
2918 if test "X$pkg" = "X$p"; then
2938 # Make sure we can run config.sub.
2939 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2940 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2943 $as_echo_n "checking build system type... " >&6; }
2944 if ${ac_cv_build+:} false; then :
2945 $as_echo_n "(cached) " >&6
2947 ac_build_alias=$build_alias
2948 test "x$ac_build_alias" = x &&
2949 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2950 test "x$ac_build_alias" = x &&
2951 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2952 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2953 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2957 $as_echo "$ac_cv_build" >&6; }
2958 case $ac_cv_build in
2960 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2963 ac_save_IFS=$IFS; IFS='-'
2969 # Remember, the first character of IFS is used to create $*,
2970 # except with old shells:
2973 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2977 $as_echo_n "checking host system type... " >&6; }
2978 if ${ac_cv_host+:} false; then :
2979 $as_echo_n "(cached) " >&6
2981 if test "x$host_alias" = x; then
2982 ac_cv_host=$ac_cv_build
2984 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2985 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2990 $as_echo "$ac_cv_host" >&6; }
2993 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2996 ac_save_IFS=$IFS; IFS='-'
3002 # Remember, the first character of IFS is used to create $*,
3003 # except with old shells:
3006 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3009 enable_win32_dll=yes
3012 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3013 if test -n "$ac_tool_prefix"; then
3014 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3015 set dummy ${ac_tool_prefix}as; ac_word=$2
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3017 $as_echo_n "checking for $ac_word... " >&6; }
3018 if ${ac_cv_prog_AS+:} false; then :
3019 $as_echo_n "(cached) " >&6
3021 if test -n "$AS"; then
3022 ac_cv_prog_AS="$AS" # Let the user override the test.
3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3028 test -z "$as_dir" && as_dir=.
3029 for ac_exec_ext in '' $ac_executable_extensions; do
3030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3031 ac_cv_prog_AS="${ac_tool_prefix}as"
3032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3042 if test -n "$AS"; then
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3044 $as_echo "$AS" >&6; }
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3047 $as_echo "no" >&6; }
3052 if test -z "$ac_cv_prog_AS"; then
3054 # Extract the first word of "as", so it can be a program name with args.
3055 set dummy as; ac_word=$2
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3057 $as_echo_n "checking for $ac_word... " >&6; }
3058 if ${ac_cv_prog_ac_ct_AS+:} false; then :
3059 $as_echo_n "(cached) " >&6
3061 if test -n "$ac_ct_AS"; then
3062 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068 test -z "$as_dir" && as_dir=.
3069 for ac_exec_ext in '' $ac_executable_extensions; do
3070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3071 ac_cv_prog_ac_ct_AS="as"
3072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3081 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3082 if test -n "$ac_ct_AS"; then
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3084 $as_echo "$ac_ct_AS" >&6; }
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3087 $as_echo "no" >&6; }
3090 if test "x$ac_ct_AS" = x; then
3093 case $cross_compiling:$ac_tool_warned in
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3097 ac_tool_warned=yes ;;
3105 if test -n "$ac_tool_prefix"; then
3106 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3107 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3109 $as_echo_n "checking for $ac_word... " >&6; }
3110 if ${ac_cv_prog_DLLTOOL+:} false; then :
3111 $as_echo_n "(cached) " >&6
3113 if test -n "$DLLTOOL"; then
3114 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3120 test -z "$as_dir" && as_dir=.
3121 for ac_exec_ext in '' $ac_executable_extensions; do
3122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3123 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3133 DLLTOOL=$ac_cv_prog_DLLTOOL
3134 if test -n "$DLLTOOL"; then
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3136 $as_echo "$DLLTOOL" >&6; }
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3139 $as_echo "no" >&6; }
3144 if test -z "$ac_cv_prog_DLLTOOL"; then
3145 ac_ct_DLLTOOL=$DLLTOOL
3146 # Extract the first word of "dlltool", so it can be a program name with args.
3147 set dummy dlltool; ac_word=$2
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3149 $as_echo_n "checking for $ac_word... " >&6; }
3150 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3151 $as_echo_n "(cached) " >&6
3153 if test -n "$ac_ct_DLLTOOL"; then
3154 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3160 test -z "$as_dir" && as_dir=.
3161 for ac_exec_ext in '' $ac_executable_extensions; do
3162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3163 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3173 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3174 if test -n "$ac_ct_DLLTOOL"; then
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3176 $as_echo "$ac_ct_DLLTOOL" >&6; }
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179 $as_echo "no" >&6; }
3182 if test "x$ac_ct_DLLTOOL" = x; then
3185 case $cross_compiling:$ac_tool_warned in
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3189 ac_tool_warned=yes ;;
3191 DLLTOOL=$ac_ct_DLLTOOL
3194 DLLTOOL="$ac_cv_prog_DLLTOOL"
3197 if test -n "$ac_tool_prefix"; then
3198 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3199 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3201 $as_echo_n "checking for $ac_word... " >&6; }
3202 if ${ac_cv_prog_OBJDUMP+:} false; then :
3203 $as_echo_n "(cached) " >&6
3205 if test -n "$OBJDUMP"; then
3206 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3212 test -z "$as_dir" && as_dir=.
3213 for ac_exec_ext in '' $ac_executable_extensions; do
3214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3215 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3225 OBJDUMP=$ac_cv_prog_OBJDUMP
3226 if test -n "$OBJDUMP"; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3228 $as_echo "$OBJDUMP" >&6; }
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3231 $as_echo "no" >&6; }
3236 if test -z "$ac_cv_prog_OBJDUMP"; then
3237 ac_ct_OBJDUMP=$OBJDUMP
3238 # Extract the first word of "objdump", so it can be a program name with args.
3239 set dummy objdump; ac_word=$2
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3241 $as_echo_n "checking for $ac_word... " >&6; }
3242 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3243 $as_echo_n "(cached) " >&6
3245 if test -n "$ac_ct_OBJDUMP"; then
3246 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3252 test -z "$as_dir" && as_dir=.
3253 for ac_exec_ext in '' $ac_executable_extensions; do
3254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3255 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3265 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3266 if test -n "$ac_ct_OBJDUMP"; then
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3268 $as_echo "$ac_ct_OBJDUMP" >&6; }
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3271 $as_echo "no" >&6; }
3274 if test "x$ac_ct_OBJDUMP" = x; then
3277 case $cross_compiling:$ac_tool_warned in
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3281 ac_tool_warned=yes ;;
3283 OBJDUMP=$ac_ct_OBJDUMP
3286 OBJDUMP="$ac_cv_prog_OBJDUMP"
3292 test -z "$AS" && AS=as
3298 test -z "$DLLTOOL" && DLLTOOL=dlltool
3304 test -z "$OBJDUMP" && OBJDUMP=objdump
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3315 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3321 macro_revision='1.3293'
3335 ltmain="$ac_aux_dir/ltmain.sh"
3337 # Backslashify metacharacters that are still active within
3338 # double-quoted strings.
3339 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3341 # Same as above, but do not quote variable references.
3342 double_quote_subst='s/\(["`\\]\)/\\\1/g'
3344 # Sed substitution to delay expansion of an escaped shell variable in a
3345 # double_quote_subst'ed string.
3346 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3348 # Sed substitution to delay expansion of an escaped single quote.
3349 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3351 # Sed substitution to avoid accidental globbing in evaled expressions
3352 no_glob_subst='s/\*/\\\*/g'
3354 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3355 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3356 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3359 $as_echo_n "checking how to print strings... " >&6; }
3360 # Test print first, because it will be a builtin if present.
3361 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3362 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3364 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3367 # Use this function as a fallback that always works.
3368 func_fallback_echo ()
3370 eval 'cat <<_LTECHO_EOF
3374 ECHO='func_fallback_echo'
3377 # func_echo_all arg...
3378 # Invoke $ECHO with all args, space-separated.
3385 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3386 $as_echo "printf" >&6; } ;;
3387 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3388 $as_echo "print -r" >&6; } ;;
3389 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3390 $as_echo "cat" >&6; } ;;
3406 DEPDIR="${am__leading_dot}deps"
3408 ac_config_commands="$ac_config_commands depfiles"
3411 am_make=${MAKE-make}
3412 cat > confinc << 'END'
3414 @echo this is the am__doit target
3417 # If we don't find an include directive, just comment out the code.
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3419 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3423 # First try GNU make style include.
3424 echo "include confinc" > confmf
3425 # Ignore all kinds of additional output from `make'.
3426 case `$am_make -s -f confmf 2> /dev/null` in #(
3427 *the\ am__doit\ target*)
3433 # Now try BSD make style include.
3434 if test "$am__include" = "#"; then
3435 echo '.include "confinc"' > confmf
3436 case `$am_make -s -f confmf 2> /dev/null` in #(
3437 *the\ am__doit\ target*)
3438 am__include=.include
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3447 $as_echo "$_am_result" >&6; }
3448 rm -f confinc confmf
3450 # Check whether --enable-dependency-tracking was given.
3451 if test "${enable_dependency_tracking+set}" = set; then :
3452 enableval=$enable_dependency_tracking;
3455 if test "x$enable_dependency_tracking" != xno; then
3456 am_depcomp="$ac_aux_dir/depcomp"
3459 if test "x$enable_dependency_tracking" != xno; then
3469 ac_cpp='$CPP $CPPFLAGS'
3470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3473 if test -n "$ac_tool_prefix"; then
3474 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3475 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3477 $as_echo_n "checking for $ac_word... " >&6; }
3478 if ${ac_cv_prog_CC+:} false; then :
3479 $as_echo_n "(cached) " >&6
3481 if test -n "$CC"; then
3482 ac_cv_prog_CC="$CC" # Let the user override the test.
3484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3488 test -z "$as_dir" && as_dir=.
3489 for ac_exec_ext in '' $ac_executable_extensions; do
3490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3491 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3502 if test -n "$CC"; then
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3504 $as_echo "$CC" >&6; }
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3507 $as_echo "no" >&6; }
3512 if test -z "$ac_cv_prog_CC"; then
3514 # Extract the first word of "gcc", so it can be a program name with args.
3515 set dummy gcc; ac_word=$2
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3517 $as_echo_n "checking for $ac_word... " >&6; }
3518 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3519 $as_echo_n "(cached) " >&6
3521 if test -n "$ac_ct_CC"; then
3522 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3528 test -z "$as_dir" && as_dir=.
3529 for ac_exec_ext in '' $ac_executable_extensions; do
3530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3531 ac_cv_prog_ac_ct_CC="gcc"
3532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3541 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3542 if test -n "$ac_ct_CC"; then
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3544 $as_echo "$ac_ct_CC" >&6; }
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547 $as_echo "no" >&6; }
3550 if test "x$ac_ct_CC" = x; then
3553 case $cross_compiling:$ac_tool_warned in
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3557 ac_tool_warned=yes ;;
3565 if test -z "$CC"; then
3566 if test -n "$ac_tool_prefix"; then
3567 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3568 set dummy ${ac_tool_prefix}cc; ac_word=$2
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3570 $as_echo_n "checking for $ac_word... " >&6; }
3571 if ${ac_cv_prog_CC+:} false; then :
3572 $as_echo_n "(cached) " >&6
3574 if test -n "$CC"; then
3575 ac_cv_prog_CC="$CC" # Let the user override the test.
3577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3581 test -z "$as_dir" && as_dir=.
3582 for ac_exec_ext in '' $ac_executable_extensions; do
3583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3584 ac_cv_prog_CC="${ac_tool_prefix}cc"
3585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3595 if test -n "$CC"; then
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3597 $as_echo "$CC" >&6; }
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3600 $as_echo "no" >&6; }
3606 if test -z "$CC"; then
3607 # Extract the first word of "cc", so it can be a program name with args.
3608 set dummy cc; ac_word=$2
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3610 $as_echo_n "checking for $ac_word... " >&6; }
3611 if ${ac_cv_prog_CC+:} false; then :
3612 $as_echo_n "(cached) " >&6
3614 if test -n "$CC"; then
3615 ac_cv_prog_CC="$CC" # Let the user override the test.
3618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3622 test -z "$as_dir" && as_dir=.
3623 for ac_exec_ext in '' $ac_executable_extensions; do
3624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3626 ac_prog_rejected=yes
3630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3637 if test $ac_prog_rejected = yes; then
3638 # We found a bogon in the path, so make sure we never use it.
3639 set dummy $ac_cv_prog_CC
3641 if test $# != 0; then
3642 # We chose a different compiler from the bogus one.
3643 # However, it has the same basename, so the bogon will be chosen
3644 # first if we set CC to just the basename; use the full file name.
3646 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3652 if test -n "$CC"; then
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3654 $as_echo "$CC" >&6; }
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657 $as_echo "no" >&6; }
3662 if test -z "$CC"; then
3663 if test -n "$ac_tool_prefix"; then
3664 for ac_prog in cl.exe
3666 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3667 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3669 $as_echo_n "checking for $ac_word... " >&6; }
3670 if ${ac_cv_prog_CC+:} false; then :
3671 $as_echo_n "(cached) " >&6
3673 if test -n "$CC"; then
3674 ac_cv_prog_CC="$CC" # Let the user override the test.
3676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3680 test -z "$as_dir" && as_dir=.
3681 for ac_exec_ext in '' $ac_executable_extensions; do
3682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3683 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3694 if test -n "$CC"; then
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3696 $as_echo "$CC" >&6; }
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699 $as_echo "no" >&6; }
3703 test -n "$CC" && break
3706 if test -z "$CC"; then
3708 for ac_prog in cl.exe
3710 # Extract the first word of "$ac_prog", so it can be a program name with args.
3711 set dummy $ac_prog; ac_word=$2
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3713 $as_echo_n "checking for $ac_word... " >&6; }
3714 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3715 $as_echo_n "(cached) " >&6
3717 if test -n "$ac_ct_CC"; then
3718 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3724 test -z "$as_dir" && as_dir=.
3725 for ac_exec_ext in '' $ac_executable_extensions; do
3726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3727 ac_cv_prog_ac_ct_CC="$ac_prog"
3728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3737 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3738 if test -n "$ac_ct_CC"; then
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3740 $as_echo "$ac_ct_CC" >&6; }
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3743 $as_echo "no" >&6; }
3747 test -n "$ac_ct_CC" && break
3750 if test "x$ac_ct_CC" = x; then
3753 case $cross_compiling:$ac_tool_warned in
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3757 ac_tool_warned=yes ;;
3766 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3768 as_fn_error $? "no acceptable C compiler found in \$PATH
3769 See \`config.log' for more details" "$LINENO" 5; }
3771 # Provide some information about the compiler.
3772 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3775 for ac_option in --version -v -V -qversion; do
3776 { { ac_try="$ac_compiler $ac_option >&5"
3778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3779 *) ac_try_echo=$ac_try;;
3781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3782 $as_echo "$ac_try_echo"; } >&5
3783 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3785 if test -s conftest.err; then
3787 ... rest of stderr output deleted ...
3788 10q' conftest.err >conftest.er1
3789 cat conftest.er1 >&5
3791 rm -f conftest.er1 conftest.err
3792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3793 test $ac_status = 0; }
3796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3797 /* end confdefs.h. */
3807 ac_clean_files_save=$ac_clean_files
3808 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3809 # Try to create an executable without -o first, disregard a.out.
3810 # It will help us diagnose broken compilers, and finding out an intuition
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3813 $as_echo_n "checking whether the C compiler works... " >&6; }
3814 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3816 # The possible output files:
3817 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3820 for ac_file in $ac_files
3823 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3824 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3829 if { { ac_try="$ac_link_default"
3831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3832 *) ac_try_echo=$ac_try;;
3834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3835 $as_echo "$ac_try_echo"; } >&5
3836 (eval "$ac_link_default") 2>&5
3838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3839 test $ac_status = 0; }; then :
3840 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3841 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3842 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3843 # so that the user can short-circuit this test for compilers unknown to
3845 for ac_file in $ac_files ''
3847 test -f "$ac_file" || continue
3849 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3852 # We found the default executable, but exeext='' is most
3856 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3858 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3860 # We set ac_cv_exeext here because the later test for it is not
3861 # safe: cross compilers may not add the suffix if given an `-o'
3862 # argument, so we may need to know it at that point already.
3863 # Even if this section looks crufty: it has the advantage of
3870 test "$ac_cv_exeext" = no && ac_cv_exeext=
3875 if test -z "$ac_file"; then :
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3877 $as_echo "no" >&6; }
3878 $as_echo "$as_me: failed program was:" >&5
3879 sed 's/^/| /' conftest.$ac_ext >&5
3881 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3882 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3883 as_fn_error 77 "C compiler cannot create executables
3884 See \`config.log' for more details" "$LINENO" 5; }
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3887 $as_echo "yes" >&6; }
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3890 $as_echo_n "checking for C compiler default output file name... " >&6; }
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3892 $as_echo "$ac_file" >&6; }
3893 ac_exeext=$ac_cv_exeext
3895 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3896 ac_clean_files=$ac_clean_files_save
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3898 $as_echo_n "checking for suffix of executables... " >&6; }
3899 if { { ac_try="$ac_link"
3901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3902 *) ac_try_echo=$ac_try;;
3904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3905 $as_echo "$ac_try_echo"; } >&5
3906 (eval "$ac_link") 2>&5
3908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3909 test $ac_status = 0; }; then :
3910 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3911 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3912 # work properly (i.e., refer to `conftest.exe'), while it won't with
3914 for ac_file in conftest.exe conftest conftest.*; do
3915 test -f "$ac_file" || continue
3917 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3918 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3924 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3926 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3927 See \`config.log' for more details" "$LINENO" 5; }
3929 rm -f conftest conftest$ac_cv_exeext
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3931 $as_echo "$ac_cv_exeext" >&6; }
3933 rm -f conftest.$ac_ext
3934 EXEEXT=$ac_cv_exeext
3936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3937 /* end confdefs.h. */
3942 FILE *f = fopen ("conftest.out", "w");
3943 return ferror (f) || fclose (f) != 0;
3949 ac_clean_files="$ac_clean_files conftest.out"
3950 # Check that the compiler produces executables we can run. If not, either
3951 # the compiler is broken, or we cross compile.
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3953 $as_echo_n "checking whether we are cross compiling... " >&6; }
3954 if test "$cross_compiling" != yes; then
3955 { { ac_try="$ac_link"
3957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958 *) ac_try_echo=$ac_try;;
3960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3961 $as_echo "$ac_try_echo"; } >&5
3962 (eval "$ac_link") 2>&5
3964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3965 test $ac_status = 0; }
3966 if { ac_try='./conftest$ac_cv_exeext'
3967 { { case "(($ac_try" in
3968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3969 *) ac_try_echo=$ac_try;;
3971 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3972 $as_echo "$ac_try_echo"; } >&5
3973 (eval "$ac_try") 2>&5
3975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3976 test $ac_status = 0; }; }; then
3979 if test "$cross_compiling" = maybe; then
3982 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3984 as_fn_error $? "cannot run C compiled programs.
3985 If you meant to cross compile, use \`--host'.
3986 See \`config.log' for more details" "$LINENO" 5; }
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3991 $as_echo "$cross_compiling" >&6; }
3993 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3994 ac_clean_files=$ac_clean_files_save
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3996 $as_echo_n "checking for suffix of object files... " >&6; }
3997 if ${ac_cv_objext+:} false; then :
3998 $as_echo_n "(cached) " >&6
4000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4001 /* end confdefs.h. */
4011 rm -f conftest.o conftest.obj
4012 if { { ac_try="$ac_compile"
4014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4015 *) ac_try_echo=$ac_try;;
4017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4018 $as_echo "$ac_try_echo"; } >&5
4019 (eval "$ac_compile") 2>&5
4021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4022 test $ac_status = 0; }; then :
4023 for ac_file in conftest.o conftest.obj conftest.*; do
4024 test -f "$ac_file" || continue;
4026 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4027 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4032 $as_echo "$as_me: failed program was:" >&5
4033 sed 's/^/| /' conftest.$ac_ext >&5
4035 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4036 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4037 as_fn_error $? "cannot compute suffix of object files: cannot compile
4038 See \`config.log' for more details" "$LINENO" 5; }
4040 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4043 $as_echo "$ac_cv_objext" >&6; }
4044 OBJEXT=$ac_cv_objext
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4047 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4048 if ${ac_cv_c_compiler_gnu+:} false; then :
4049 $as_echo_n "(cached) " >&6
4051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4052 /* end confdefs.h. */
4065 if ac_fn_c_try_compile "$LINENO"; then :
4070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4071 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4075 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4076 if test $ac_compiler_gnu = yes; then
4081 ac_test_CFLAGS=${CFLAGS+set}
4082 ac_save_CFLAGS=$CFLAGS
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4084 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4085 if ${ac_cv_prog_cc_g+:} false; then :
4086 $as_echo_n "(cached) " >&6
4088 ac_save_c_werror_flag=$ac_c_werror_flag
4089 ac_c_werror_flag=yes
4092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4093 /* end confdefs.h. */
4103 if ac_fn_c_try_compile "$LINENO"; then :
4107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4108 /* end confdefs.h. */
4118 if ac_fn_c_try_compile "$LINENO"; then :
4121 ac_c_werror_flag=$ac_save_c_werror_flag
4123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4124 /* end confdefs.h. */
4134 if ac_fn_c_try_compile "$LINENO"; then :
4137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4142 ac_c_werror_flag=$ac_save_c_werror_flag
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4145 $as_echo "$ac_cv_prog_cc_g" >&6; }
4146 if test "$ac_test_CFLAGS" = set; then
4147 CFLAGS=$ac_save_CFLAGS
4148 elif test $ac_cv_prog_cc_g = yes; then
4149 if test "$GCC" = yes; then
4155 if test "$GCC" = yes; then
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4162 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4163 if ${ac_cv_prog_cc_c89+:} false; then :
4164 $as_echo_n "(cached) " >&6
4166 ac_cv_prog_cc_c89=no
4168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4169 /* end confdefs.h. */
4172 #include <sys/types.h>
4173 #include <sys/stat.h>
4174 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4175 struct buf { int x; };
4176 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4177 static char *e (p, i)
4183 static char *f (char * (*g) (char **, int), char **p, ...)
4188 s = g (p, va_arg (v,int));
4193 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4194 function prototypes and stuff, but not '\xHH' hex character constants.
4195 These don't provoke an error unfortunately, instead are silently treated
4196 as 'x'. The following induces an error, until -std is added to get
4197 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4198 array size at least. It's necessary to write '\x00'==0 to get something
4199 that's true only with -std. */
4200 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4202 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4203 inside strings and character constants. */
4205 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4207 int test (int i, double x);
4208 struct s1 {int (*f) (int a);};
4209 struct s2 {int (*f) (double a);};
4210 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4216 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4221 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4222 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4224 CC="$ac_save_CC $ac_arg"
4225 if ac_fn_c_try_compile "$LINENO"; then :
4226 ac_cv_prog_cc_c89=$ac_arg
4228 rm -f core conftest.err conftest.$ac_objext
4229 test "x$ac_cv_prog_cc_c89" != "xno" && break
4231 rm -f conftest.$ac_ext
4236 case "x$ac_cv_prog_cc_c89" in
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4239 $as_echo "none needed" >&6; } ;;
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4242 $as_echo "unsupported" >&6; } ;;
4244 CC="$CC $ac_cv_prog_cc_c89"
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4246 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4248 if test "x$ac_cv_prog_cc_c89" != xno; then :
4253 ac_cpp='$CPP $CPPFLAGS'
4254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4258 depcc="$CC" am_compiler_list=
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4261 $as_echo_n "checking dependency style of $depcc... " >&6; }
4262 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4263 $as_echo_n "(cached) " >&6
4265 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4266 # We make a subdir and do the tests there. Otherwise we can end up
4267 # making bogus files that we don't know about and never remove. For
4268 # instance it was reported that on HP-UX the gcc test will end up
4269 # making a dummy file named `D' -- because `-MD' means `put the output
4272 # Copy depcomp to subdir because otherwise we won't find it if we're
4273 # using a relative directory.
4274 cp "$am_depcomp" conftest.dir
4276 # We will build objects and dependencies in a subdirectory because
4277 # it helps to detect inapplicable dependency modes. For instance
4278 # both Tru64's cc and ICC support -MD to output dependencies as a
4279 # side effect of compilation, but ICC will put the dependencies in
4280 # the current directory while Tru64 will put them in the object
4284 am_cv_CC_dependencies_compiler_type=none
4285 if test "$am_compiler_list" = ""; then
4286 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4289 case " $depcc " in #(
4290 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4293 for depmode in $am_compiler_list; do
4294 # Setup a source with many dependencies, because some compilers
4295 # like to wrap large dependency lists on column 80 (with \), and
4296 # we should not choose a depcomp mode which is confused by this.
4298 # We need to recreate these files for each test, as the compiler may
4299 # overwrite some of them when testing with obscure command lines.
4300 # This happens at least with the AIX C compiler.
4302 for i in 1 2 3 4 5 6; do
4303 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4304 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4305 # Solaris 8's {/usr,}/bin/sh.
4306 touch sub/conftst$i.h
4308 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4310 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4311 # mode. It turns out that the SunPro C++ compiler does not properly
4312 # handle `-M -o', and we need to detect this. Also, some Intel
4313 # versions had trouble with output in subdirs
4314 am__obj=sub/conftest.${OBJEXT-o}
4315 am__minus_obj="-o $am__obj"
4318 # This depmode causes a compiler race in universal mode.
4319 test "$am__universal" = false || continue
4322 # after this tag, mechanisms are not by side-effect, so they'll
4323 # only be used when explicitly requested
4324 if test "x$enable_dependency_tracking" = xyes; then
4330 msvisualcpp | msvcmsys)
4331 # This compiler won't grok `-c -o', but also, the minuso test has
4332 # not run yet. These depmodes are late enough in the game, and
4333 # so weak that their functioning should not be impacted.
4334 am__obj=conftest.${OBJEXT-o}
4339 if depmode=$depmode \
4340 source=sub/conftest.c object=$am__obj \
4341 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4342 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4343 >/dev/null 2>conftest.err &&
4344 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4345 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4346 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4347 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4348 # icc doesn't choke on unknown options, it will just issue warnings
4349 # or remarks (even with -Werror). So we grep stderr for any message
4350 # that says an option was ignored or not supported.
4351 # When given -MP, icc 7.0 and 7.1 complain thusly:
4352 # icc: Command line warning: ignoring option '-M'; no argument required
4353 # The diagnosis changed in icc 8.0:
4354 # icc: Command line remark: option '-MP' not supported
4355 if (grep 'ignoring option' conftest.err ||
4356 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4357 am_cv_CC_dependencies_compiler_type=$depmode
4366 am_cv_CC_dependencies_compiler_type=none
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4371 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4372 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4375 test "x$enable_dependency_tracking" != xno \
4376 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4378 am__fastdepCC_FALSE='#'
4380 am__fastdepCC_TRUE='#'
4381 am__fastdepCC_FALSE=
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4386 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4387 if ${ac_cv_path_SED+:} false; then :
4388 $as_echo_n "(cached) " >&6
4390 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4391 for ac_i in 1 2 3 4 5 6 7; do
4392 ac_script="$ac_script$as_nl$ac_script"
4394 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4395 { ac_script=; unset ac_script;}
4396 if test -z "$SED"; then
4397 ac_path_SED_found=false
4398 # Loop through the user's path and test for each of PROGNAME-LIST
4399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4403 test -z "$as_dir" && as_dir=.
4404 for ac_prog in sed gsed; do
4405 for ac_exec_ext in '' $ac_executable_extensions; do
4406 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4407 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4408 # Check for GNU ac_path_SED and select it if it is found.
4409 # Check for GNU $ac_path_SED
4410 case `"$ac_path_SED" --version 2>&1` in
4412 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4415 $as_echo_n 0123456789 >"conftest.in"
4418 cat "conftest.in" "conftest.in" >"conftest.tmp"
4419 mv "conftest.tmp" "conftest.in"
4420 cp "conftest.in" "conftest.nl"
4421 $as_echo '' >> "conftest.nl"
4422 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4423 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4424 as_fn_arith $ac_count + 1 && ac_count=$as_val
4425 if test $ac_count -gt ${ac_path_SED_max-0}; then
4426 # Best one so far, save it but keep looking for a better one
4427 ac_cv_path_SED="$ac_path_SED"
4428 ac_path_SED_max=$ac_count
4430 # 10*(2^10) chars as input seems more than enough
4431 test $ac_count -gt 10 && break
4433 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4436 $ac_path_SED_found && break 3
4441 if test -z "$ac_cv_path_SED"; then
4442 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4450 $as_echo "$ac_cv_path_SED" >&6; }
4451 SED="$ac_cv_path_SED"
4454 test -z "$SED" && SED=sed
4455 Xsed="$SED -e 1s/^X//"
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4468 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4469 if ${ac_cv_path_GREP+:} false; then :
4470 $as_echo_n "(cached) " >&6
4472 if test -z "$GREP"; then
4473 ac_path_GREP_found=false
4474 # Loop through the user's path and test for each of PROGNAME-LIST
4475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4476 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4479 test -z "$as_dir" && as_dir=.
4480 for ac_prog in grep ggrep; do
4481 for ac_exec_ext in '' $ac_executable_extensions; do
4482 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4483 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4484 # Check for GNU ac_path_GREP and select it if it is found.
4485 # Check for GNU $ac_path_GREP
4486 case `"$ac_path_GREP" --version 2>&1` in
4488 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4491 $as_echo_n 0123456789 >"conftest.in"
4494 cat "conftest.in" "conftest.in" >"conftest.tmp"
4495 mv "conftest.tmp" "conftest.in"
4496 cp "conftest.in" "conftest.nl"
4497 $as_echo 'GREP' >> "conftest.nl"
4498 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4499 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4500 as_fn_arith $ac_count + 1 && ac_count=$as_val
4501 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4502 # Best one so far, save it but keep looking for a better one
4503 ac_cv_path_GREP="$ac_path_GREP"
4504 ac_path_GREP_max=$ac_count
4506 # 10*(2^10) chars as input seems more than enough
4507 test $ac_count -gt 10 && break
4509 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4512 $ac_path_GREP_found && break 3
4517 if test -z "$ac_cv_path_GREP"; then
4518 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4521 ac_cv_path_GREP=$GREP
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4526 $as_echo "$ac_cv_path_GREP" >&6; }
4527 GREP="$ac_cv_path_GREP"
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4531 $as_echo_n "checking for egrep... " >&6; }
4532 if ${ac_cv_path_EGREP+:} false; then :
4533 $as_echo_n "(cached) " >&6
4535 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4536 then ac_cv_path_EGREP="$GREP -E"
4538 if test -z "$EGREP"; then
4539 ac_path_EGREP_found=false
4540 # Loop through the user's path and test for each of PROGNAME-LIST
4541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4542 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4545 test -z "$as_dir" && as_dir=.
4546 for ac_prog in egrep; do
4547 for ac_exec_ext in '' $ac_executable_extensions; do
4548 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4549 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4550 # Check for GNU ac_path_EGREP and select it if it is found.
4551 # Check for GNU $ac_path_EGREP
4552 case `"$ac_path_EGREP" --version 2>&1` in
4554 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4557 $as_echo_n 0123456789 >"conftest.in"
4560 cat "conftest.in" "conftest.in" >"conftest.tmp"
4561 mv "conftest.tmp" "conftest.in"
4562 cp "conftest.in" "conftest.nl"
4563 $as_echo 'EGREP' >> "conftest.nl"
4564 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4565 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4566 as_fn_arith $ac_count + 1 && ac_count=$as_val
4567 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4568 # Best one so far, save it but keep looking for a better one
4569 ac_cv_path_EGREP="$ac_path_EGREP"
4570 ac_path_EGREP_max=$ac_count
4572 # 10*(2^10) chars as input seems more than enough
4573 test $ac_count -gt 10 && break
4575 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4578 $ac_path_EGREP_found && break 3
4583 if test -z "$ac_cv_path_EGREP"; then
4584 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4587 ac_cv_path_EGREP=$EGREP
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4593 $as_echo "$ac_cv_path_EGREP" >&6; }
4594 EGREP="$ac_cv_path_EGREP"
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4598 $as_echo_n "checking for fgrep... " >&6; }
4599 if ${ac_cv_path_FGREP+:} false; then :
4600 $as_echo_n "(cached) " >&6
4602 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4603 then ac_cv_path_FGREP="$GREP -F"
4605 if test -z "$FGREP"; then
4606 ac_path_FGREP_found=false
4607 # Loop through the user's path and test for each of PROGNAME-LIST
4608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4609 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4612 test -z "$as_dir" && as_dir=.
4613 for ac_prog in fgrep; do
4614 for ac_exec_ext in '' $ac_executable_extensions; do
4615 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4616 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4617 # Check for GNU ac_path_FGREP and select it if it is found.
4618 # Check for GNU $ac_path_FGREP
4619 case `"$ac_path_FGREP" --version 2>&1` in
4621 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4624 $as_echo_n 0123456789 >"conftest.in"
4627 cat "conftest.in" "conftest.in" >"conftest.tmp"
4628 mv "conftest.tmp" "conftest.in"
4629 cp "conftest.in" "conftest.nl"
4630 $as_echo 'FGREP' >> "conftest.nl"
4631 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4632 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4633 as_fn_arith $ac_count + 1 && ac_count=$as_val
4634 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4635 # Best one so far, save it but keep looking for a better one
4636 ac_cv_path_FGREP="$ac_path_FGREP"
4637 ac_path_FGREP_max=$ac_count
4639 # 10*(2^10) chars as input seems more than enough
4640 test $ac_count -gt 10 && break
4642 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4645 $ac_path_FGREP_found && break 3
4650 if test -z "$ac_cv_path_FGREP"; then
4651 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4654 ac_cv_path_FGREP=$FGREP
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4660 $as_echo "$ac_cv_path_FGREP" >&6; }
4661 FGREP="$ac_cv_path_FGREP"
4664 test -z "$GREP" && GREP=grep
4684 # Check whether --with-gnu-ld was given.
4685 if test "${with_gnu_ld+set}" = set; then :
4686 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4692 if test "$GCC" = yes; then
4693 # Check if gcc -print-prog-name=ld gives a path.
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4695 $as_echo_n "checking for ld used by $CC... " >&6; }
4698 # gcc leaves a trailing carriage return which upsets mingw
4699 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4701 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4704 # Accept absolute paths.
4706 re_direlt='/[^/][^/]*/\.\./'
4707 # Canonicalize the pathname of ld
4708 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4709 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4710 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4712 test -z "$LD" && LD="$ac_prog"
4715 # If it fails, then pretend we aren't using GCC.
4719 # If it is relative, then search for the first ld in PATH.
4723 elif test "$with_gnu_ld" = yes; then
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4725 $as_echo_n "checking for GNU ld... " >&6; }
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4728 $as_echo_n "checking for non-GNU ld... " >&6; }
4730 if ${lt_cv_path_LD+:} false; then :
4731 $as_echo_n "(cached) " >&6
4733 if test -z "$LD"; then
4734 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4735 for ac_dir in $PATH; do
4737 test -z "$ac_dir" && ac_dir=.
4738 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4739 lt_cv_path_LD="$ac_dir/$ac_prog"
4740 # Check to see if the program is GNU ld. I'd rather use --version,
4741 # but apparently some variants of GNU ld only accept -v.
4742 # Break only if it was the GNU/non-GNU ld that we prefer.
4743 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4744 *GNU* | *'with BFD'*)
4745 test "$with_gnu_ld" != no && break
4748 test "$with_gnu_ld" != yes && break
4755 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4760 if test -n "$LD"; then
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4762 $as_echo "$LD" >&6; }
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4765 $as_echo "no" >&6; }
4767 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4769 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4770 if ${lt_cv_prog_gnu_ld+:} false; then :
4771 $as_echo_n "(cached) " >&6
4773 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4774 case `$LD -v 2>&1 </dev/null` in
4775 *GNU* | *'with BFD'*)
4776 lt_cv_prog_gnu_ld=yes
4779 lt_cv_prog_gnu_ld=no
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4784 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4785 with_gnu_ld=$lt_cv_prog_gnu_ld
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4796 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4797 if ${lt_cv_path_NM+:} false; then :
4798 $as_echo_n "(cached) " >&6
4800 if test -n "$NM"; then
4801 # Let the user override the test.
4804 lt_nm_to_check="${ac_tool_prefix}nm"
4805 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4806 lt_nm_to_check="$lt_nm_to_check nm"
4808 for lt_tmp_nm in $lt_nm_to_check; do
4809 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4810 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4812 test -z "$ac_dir" && ac_dir=.
4813 tmp_nm="$ac_dir/$lt_tmp_nm"
4814 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4815 # Check to see if the nm accepts a BSD-compat flag.
4816 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4817 # nm: unknown option "B" ignored
4818 # Tru64's nm complains that /dev/null is an invalid object file
4819 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4820 */dev/null* | *'Invalid file or object type'*)
4821 lt_cv_path_NM="$tmp_nm -B"
4825 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4827 lt_cv_path_NM="$tmp_nm -p"
4831 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4832 continue # so that we can try to find one that supports BSD flags
4841 : ${lt_cv_path_NM=no}
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4845 $as_echo "$lt_cv_path_NM" >&6; }
4846 if test "$lt_cv_path_NM" != "no"; then
4849 # Didn't find any BSD compatible name lister, look for dumpbin.
4850 if test -n "$DUMPBIN"; then :
4851 # Let the user override the test.
4853 if test -n "$ac_tool_prefix"; then
4854 for ac_prog in dumpbin "link -dump"
4856 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4857 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4859 $as_echo_n "checking for $ac_word... " >&6; }
4860 if ${ac_cv_prog_DUMPBIN+:} false; then :
4861 $as_echo_n "(cached) " >&6
4863 if test -n "$DUMPBIN"; then
4864 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4870 test -z "$as_dir" && as_dir=.
4871 for ac_exec_ext in '' $ac_executable_extensions; do
4872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4873 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4883 DUMPBIN=$ac_cv_prog_DUMPBIN
4884 if test -n "$DUMPBIN"; then
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4886 $as_echo "$DUMPBIN" >&6; }
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4889 $as_echo "no" >&6; }
4893 test -n "$DUMPBIN" && break
4896 if test -z "$DUMPBIN"; then
4897 ac_ct_DUMPBIN=$DUMPBIN
4898 for ac_prog in dumpbin "link -dump"
4900 # Extract the first word of "$ac_prog", so it can be a program name with args.
4901 set dummy $ac_prog; ac_word=$2
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4903 $as_echo_n "checking for $ac_word... " >&6; }
4904 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4905 $as_echo_n "(cached) " >&6
4907 if test -n "$ac_ct_DUMPBIN"; then
4908 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4914 test -z "$as_dir" && as_dir=.
4915 for ac_exec_ext in '' $ac_executable_extensions; do
4916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4917 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4927 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4928 if test -n "$ac_ct_DUMPBIN"; then
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4930 $as_echo "$ac_ct_DUMPBIN" >&6; }
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4933 $as_echo "no" >&6; }
4937 test -n "$ac_ct_DUMPBIN" && break
4940 if test "x$ac_ct_DUMPBIN" = x; then
4943 case $cross_compiling:$ac_tool_warned in
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4946 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4947 ac_tool_warned=yes ;;
4949 DUMPBIN=$ac_ct_DUMPBIN
4953 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4955 DUMPBIN="$DUMPBIN -symbols"
4963 if test "$DUMPBIN" != ":"; then
4967 test -z "$NM" && NM=nm
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4975 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4976 if ${lt_cv_nm_interface+:} false; then :
4977 $as_echo_n "(cached) " >&6
4979 lt_cv_nm_interface="BSD nm"
4980 echo "int some_variable = 0;" > conftest.$ac_ext
4981 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4982 (eval "$ac_compile" 2>conftest.err)
4983 cat conftest.err >&5
4984 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4985 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4986 cat conftest.err >&5
4987 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4988 cat conftest.out >&5
4989 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4990 lt_cv_nm_interface="MS dumpbin"
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4995 $as_echo "$lt_cv_nm_interface" >&6; }
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4998 $as_echo_n "checking whether ln -s works... " >&6; }
5000 if test "$LN_S" = "ln -s"; then
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5002 $as_echo "yes" >&6; }
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5005 $as_echo "no, using $LN_S" >&6; }
5008 # find the maximum length of command line arguments
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5010 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5011 if ${lt_cv_sys_max_cmd_len+:} false; then :
5012 $as_echo_n "(cached) " >&6
5019 # On DJGPP, this test can blow up pretty badly due to problems in libc
5020 # (any single argument exceeding 2000 bytes causes a buffer overrun
5021 # during glob expansion). Even if it were fixed, the result of this
5022 # check would be larger than it should be.
5023 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5027 # Under GNU Hurd, this test is not required because there is
5028 # no limit to the length of command line arguments.
5029 # Libtool will interpret -1 as no limit whatsoever
5030 lt_cv_sys_max_cmd_len=-1;
5033 cygwin* | mingw* | cegcc*)
5034 # On Win9x/ME, this test blows up -- it succeeds, but takes
5035 # about 5 minutes as the teststring grows exponentially.
5036 # Worse, since 9x/ME are not pre-emptively multitasking,
5037 # you end up with a "frozen" computer, even though with patience
5038 # the test eventually succeeds (with a max line length of 256k).
5039 # Instead, let's just punt: use the minimum linelength reported by
5040 # all of the supported platforms: 8192 (on NT/2K/XP).
5041 lt_cv_sys_max_cmd_len=8192;
5045 # On MiNT this can take a long time and run out of memory.
5046 lt_cv_sys_max_cmd_len=8192;
5050 # On AmigaOS with pdksh, this test takes hours, literally.
5051 # So we just punt and use a minimum line length of 8192.
5052 lt_cv_sys_max_cmd_len=8192;
5055 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5056 # This has been around since 386BSD, at least. Likely further.
5057 if test -x /sbin/sysctl; then
5058 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5059 elif test -x /usr/sbin/sysctl; then
5060 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5062 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5064 # And add a safety zone
5065 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5066 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5070 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5071 lt_cv_sys_max_cmd_len=196608
5075 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5076 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5077 # nice to cause kernel panics so lets avoid the loop below.
5078 # First set a reasonable default.
5079 lt_cv_sys_max_cmd_len=16384
5081 if test -x /sbin/sysconfig; then
5082 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5083 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5088 lt_cv_sys_max_cmd_len=102400
5090 sysv5* | sco5v6* | sysv4.2uw2*)
5091 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5092 if test -n "$kargmax"; then
5093 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5095 lt_cv_sys_max_cmd_len=32768
5099 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5100 if test -n "$lt_cv_sys_max_cmd_len"; then
5101 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5102 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5104 # Make teststring a little bigger before we do anything with it.
5105 # a 1K string should be a reasonable start.
5106 for i in 1 2 3 4 5 6 7 8 ; do
5107 teststring=$teststring$teststring
5109 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5110 # If test is not a shell built-in, we'll probably end up computing a
5111 # maximum length that is only half of the actual maximum length, but
5113 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5114 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5115 test $i != 17 # 1/2 MB should be enough
5118 teststring=$teststring$teststring
5120 # Only check the string length outside the loop.
5121 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5123 # Add a significant safety factor because C++ compilers can tack on
5124 # massive amounts of additional arguments before passing them to the
5125 # linker. It appears as though 1/2 is a usable value.
5126 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5133 if test -n $lt_cv_sys_max_cmd_len ; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5135 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5138 $as_echo "none" >&6; }
5140 max_cmd_len=$lt_cv_sys_max_cmd_len
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5152 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5153 # Try some XSI features
5156 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5158 && eval 'test $(( 1 + 1 )) -eq 2 \
5159 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5162 $as_echo "$xsi_shell" >&6; }
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5166 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5168 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5170 && lt_shell_append=yes
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5172 $as_echo "$lt_shell_append" >&6; }
5175 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5185 # test EBCDIC or ASCII
5186 case `echo X|tr X '\101'` in
5187 A) # ASCII based system
5188 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5189 lt_SP2NL='tr \040 \012'
5190 lt_NL2SP='tr \015\012 \040\040'
5192 *) # EBCDIC based system
5193 lt_SP2NL='tr \100 \n'
5194 lt_NL2SP='tr \r\n \100\100'
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5207 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5208 if ${lt_cv_to_host_file_cmd+:} false; then :
5209 $as_echo_n "(cached) " >&6
5214 *-*-mingw* ) # actually msys
5215 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5218 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5220 * ) # otherwise, assume *nix
5221 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5227 *-*-mingw* ) # actually msys
5228 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5231 lt_cv_to_host_file_cmd=func_convert_file_noop
5233 * ) # otherwise, assume *nix
5234 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5238 * ) # unhandled hosts (and "normal" native builds)
5239 lt_cv_to_host_file_cmd=func_convert_file_noop
5245 to_host_file_cmd=$lt_cv_to_host_file_cmd
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5247 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5254 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5255 if ${lt_cv_to_tool_file_cmd+:} false; then :
5256 $as_echo_n "(cached) " >&6
5258 #assume ordinary cross tools, or native build.
5259 lt_cv_to_tool_file_cmd=func_convert_file_noop
5263 *-*-mingw* ) # actually msys
5264 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5272 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5274 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5281 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5282 if ${lt_cv_ld_reload_flag+:} false; then :
5283 $as_echo_n "(cached) " >&6
5285 lt_cv_ld_reload_flag='-r'
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5288 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5289 reload_flag=$lt_cv_ld_reload_flag
5290 case $reload_flag in
5292 *) reload_flag=" $reload_flag" ;;
5294 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5296 cygwin* | mingw* | pw32* | cegcc*)
5297 if test "$GCC" != yes; then
5302 if test "$GCC" = yes; then
5303 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5305 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5318 if test -n "$ac_tool_prefix"; then
5319 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5320 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5322 $as_echo_n "checking for $ac_word... " >&6; }
5323 if ${ac_cv_prog_OBJDUMP+:} false; then :
5324 $as_echo_n "(cached) " >&6
5326 if test -n "$OBJDUMP"; then
5327 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5333 test -z "$as_dir" && as_dir=.
5334 for ac_exec_ext in '' $ac_executable_extensions; do
5335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5336 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5346 OBJDUMP=$ac_cv_prog_OBJDUMP
5347 if test -n "$OBJDUMP"; then
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5349 $as_echo "$OBJDUMP" >&6; }
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5352 $as_echo "no" >&6; }
5357 if test -z "$ac_cv_prog_OBJDUMP"; then
5358 ac_ct_OBJDUMP=$OBJDUMP
5359 # Extract the first word of "objdump", so it can be a program name with args.
5360 set dummy objdump; ac_word=$2
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5362 $as_echo_n "checking for $ac_word... " >&6; }
5363 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5364 $as_echo_n "(cached) " >&6
5366 if test -n "$ac_ct_OBJDUMP"; then
5367 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5373 test -z "$as_dir" && as_dir=.
5374 for ac_exec_ext in '' $ac_executable_extensions; do
5375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5376 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5386 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5387 if test -n "$ac_ct_OBJDUMP"; then
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5389 $as_echo "$ac_ct_OBJDUMP" >&6; }
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5392 $as_echo "no" >&6; }
5395 if test "x$ac_ct_OBJDUMP" = x; then
5398 case $cross_compiling:$ac_tool_warned in
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5401 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5402 ac_tool_warned=yes ;;
5404 OBJDUMP=$ac_ct_OBJDUMP
5407 OBJDUMP="$ac_cv_prog_OBJDUMP"
5410 test -z "$OBJDUMP" && OBJDUMP=objdump
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5418 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5419 if ${lt_cv_deplibs_check_method+:} false; then :
5420 $as_echo_n "(cached) " >&6
5422 lt_cv_file_magic_cmd='$MAGIC_CMD'
5423 lt_cv_file_magic_test_file=
5424 lt_cv_deplibs_check_method='unknown'
5425 # Need to set the preceding variable on all platforms that support
5426 # interlibrary dependencies.
5427 # 'none' -- dependencies not supported.
5428 # `unknown' -- same as none, but documents that we really don't know.
5429 # 'pass_all' -- all dependencies passed with no checks.
5430 # 'test_compile' -- check by making test program.
5431 # 'file_magic [[regex]]' -- check by looking for files in library path
5432 # which responds to the $file_magic_cmd with a given extended regex.
5433 # If you have `file' or equivalent on your system and you're not sure
5434 # whether `pass_all' will *always* work, you probably want this one.
5438 lt_cv_deplibs_check_method=pass_all
5442 lt_cv_deplibs_check_method=pass_all
5446 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5447 lt_cv_file_magic_cmd='/usr/bin/file -L'
5448 lt_cv_file_magic_test_file=/shlib/libc.so
5452 # func_win32_libid is a shell function defined in ltmain.sh
5453 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5454 lt_cv_file_magic_cmd='func_win32_libid'
5458 # Base MSYS/MinGW do not provide the 'file' command needed by
5459 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5460 # unless we find 'file', for example because we are cross-compiling.
5461 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5462 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5463 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5464 lt_cv_file_magic_cmd='func_win32_libid'
5466 # Keep this pattern in sync with the one in func_win32_libid.
5467 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5468 lt_cv_file_magic_cmd='$OBJDUMP -f'
5473 # use the weaker test based on 'objdump'. See mingw*.
5474 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5475 lt_cv_file_magic_cmd='$OBJDUMP -f'
5478 darwin* | rhapsody*)
5479 lt_cv_deplibs_check_method=pass_all
5482 freebsd* | dragonfly*)
5483 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5486 # Not sure whether the presence of OpenBSD here was a mistake.
5487 # Let's accept both of them until this is cleared up.
5488 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5489 lt_cv_file_magic_cmd=/usr/bin/file
5490 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5494 lt_cv_deplibs_check_method=pass_all
5499 lt_cv_deplibs_check_method=pass_all
5503 lt_cv_deplibs_check_method=pass_all
5506 hpux10.20* | hpux11*)
5507 lt_cv_file_magic_cmd=/usr/bin/file
5510 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5511 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5514 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5515 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5518 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5519 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5525 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5526 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5529 irix5* | irix6* | nonstopux*)
5531 *-32|*"-32 ") libmagic=32-bit;;
5532 *-n32|*"-n32 ") libmagic=N32;;
5533 *-64|*"-64 ") libmagic=64-bit;;
5534 *) libmagic=never-match;;
5536 lt_cv_deplibs_check_method=pass_all
5539 # This must be Linux ELF.
5540 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5541 lt_cv_deplibs_check_method=pass_all
5544 netbsd* | netbsdelf*-gnu)
5545 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5546 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5548 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5553 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5554 lt_cv_file_magic_cmd=/usr/bin/file
5555 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5559 lt_cv_deplibs_check_method=pass_all
5563 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5564 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5566 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5570 osf3* | osf4* | osf5*)
5571 lt_cv_deplibs_check_method=pass_all
5575 lt_cv_deplibs_check_method=pass_all
5579 lt_cv_deplibs_check_method=pass_all
5582 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5583 lt_cv_deplibs_check_method=pass_all
5587 case $host_vendor in
5589 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]'
5590 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5593 lt_cv_deplibs_check_method=pass_all
5596 lt_cv_file_magic_cmd='/bin/file'
5597 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5600 lt_cv_file_magic_cmd='/bin/file'
5601 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5602 lt_cv_file_magic_test_file=/lib/libc.so
5605 lt_cv_deplibs_check_method=pass_all
5608 lt_cv_deplibs_check_method=pass_all
5614 lt_cv_deplibs_check_method=pass_all
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5620 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5624 if test "$build" = "$host"; then
5627 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5630 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5636 file_magic_cmd=$lt_cv_file_magic_cmd
5637 deplibs_check_method=$lt_cv_deplibs_check_method
5638 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5661 if test -n "$ac_tool_prefix"; then
5662 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5663 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665 $as_echo_n "checking for $ac_word... " >&6; }
5666 if ${ac_cv_prog_DLLTOOL+:} false; then :
5667 $as_echo_n "(cached) " >&6
5669 if test -n "$DLLTOOL"; then
5670 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676 test -z "$as_dir" && as_dir=.
5677 for ac_exec_ext in '' $ac_executable_extensions; do
5678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5679 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5689 DLLTOOL=$ac_cv_prog_DLLTOOL
5690 if test -n "$DLLTOOL"; then
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5692 $as_echo "$DLLTOOL" >&6; }
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5695 $as_echo "no" >&6; }
5700 if test -z "$ac_cv_prog_DLLTOOL"; then
5701 ac_ct_DLLTOOL=$DLLTOOL
5702 # Extract the first word of "dlltool", so it can be a program name with args.
5703 set dummy dlltool; ac_word=$2
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5705 $as_echo_n "checking for $ac_word... " >&6; }
5706 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5707 $as_echo_n "(cached) " >&6
5709 if test -n "$ac_ct_DLLTOOL"; then
5710 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5716 test -z "$as_dir" && as_dir=.
5717 for ac_exec_ext in '' $ac_executable_extensions; do
5718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5719 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5729 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5730 if test -n "$ac_ct_DLLTOOL"; then
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5732 $as_echo "$ac_ct_DLLTOOL" >&6; }
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5735 $as_echo "no" >&6; }
5738 if test "x$ac_ct_DLLTOOL" = x; then
5741 case $cross_compiling:$ac_tool_warned in
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5744 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5745 ac_tool_warned=yes ;;
5747 DLLTOOL=$ac_ct_DLLTOOL
5750 DLLTOOL="$ac_cv_prog_DLLTOOL"
5753 test -z "$DLLTOOL" && DLLTOOL=dlltool
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5762 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5763 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5764 $as_echo_n "(cached) " >&6
5766 lt_cv_sharedlib_from_linklib_cmd='unknown'
5769 cygwin* | mingw* | pw32* | cegcc*)
5770 # two different shell functions defined in ltmain.sh
5771 # decide which to use based on capabilities of $DLLTOOL
5772 case `$DLLTOOL --help 2>&1` in
5773 *--identify-strict*)
5774 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5777 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5782 # fallback: assume linklib IS sharedlib
5783 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5789 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5790 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5791 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5800 if test -n "$ac_tool_prefix"; then
5803 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5804 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5806 $as_echo_n "checking for $ac_word... " >&6; }
5807 if ${ac_cv_prog_AR+:} false; then :
5808 $as_echo_n "(cached) " >&6
5810 if test -n "$AR"; then
5811 ac_cv_prog_AR="$AR" # Let the user override the test.
5813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 test -z "$as_dir" && as_dir=.
5818 for ac_exec_ext in '' $ac_executable_extensions; do
5819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5820 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5831 if test -n "$AR"; then
5832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5833 $as_echo "$AR" >&6; }
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5836 $as_echo "no" >&6; }
5840 test -n "$AR" && break
5843 if test -z "$AR"; then
5847 # Extract the first word of "$ac_prog", so it can be a program name with args.
5848 set dummy $ac_prog; ac_word=$2
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5850 $as_echo_n "checking for $ac_word... " >&6; }
5851 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5852 $as_echo_n "(cached) " >&6
5854 if test -n "$ac_ct_AR"; then
5855 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5861 test -z "$as_dir" && as_dir=.
5862 for ac_exec_ext in '' $ac_executable_extensions; do
5863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5864 ac_cv_prog_ac_ct_AR="$ac_prog"
5865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5875 if test -n "$ac_ct_AR"; then
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5877 $as_echo "$ac_ct_AR" >&6; }
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5880 $as_echo "no" >&6; }
5884 test -n "$ac_ct_AR" && break
5887 if test "x$ac_ct_AR" = x; then
5890 case $cross_compiling:$ac_tool_warned in
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5893 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5894 ac_tool_warned=yes ;;
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5914 $as_echo_n "checking for archiver @FILE support... " >&6; }
5915 if ${lt_cv_ar_at_file+:} false; then :
5916 $as_echo_n "(cached) " >&6
5919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5920 /* end confdefs.h. */
5930 if ac_fn_c_try_compile "$LINENO"; then :
5931 echo conftest.$ac_objext > conftest.lst
5932 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5933 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5934 (eval $lt_ar_try) 2>&5
5936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5937 test $ac_status = 0; }
5938 if test "$ac_status" -eq 0; then
5939 # Ensure the archiver fails upon bogus file names.
5940 rm -f conftest.$ac_objext libconftest.a
5941 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5942 (eval $lt_ar_try) 2>&5
5944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5945 test $ac_status = 0; }
5946 if test "$ac_status" -ne 0; then
5950 rm -f conftest.* libconftest.a
5953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5957 $as_echo "$lt_cv_ar_at_file" >&6; }
5959 if test "x$lt_cv_ar_at_file" = xno; then
5962 archiver_list_spec=$lt_cv_ar_at_file
5971 if test -n "$ac_tool_prefix"; then
5972 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5973 set dummy ${ac_tool_prefix}strip; ac_word=$2
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5975 $as_echo_n "checking for $ac_word... " >&6; }
5976 if ${ac_cv_prog_STRIP+:} false; then :
5977 $as_echo_n "(cached) " >&6
5979 if test -n "$STRIP"; then
5980 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5986 test -z "$as_dir" && as_dir=.
5987 for ac_exec_ext in '' $ac_executable_extensions; do
5988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5989 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5999 STRIP=$ac_cv_prog_STRIP
6000 if test -n "$STRIP"; then
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6002 $as_echo "$STRIP" >&6; }
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6005 $as_echo "no" >&6; }
6010 if test -z "$ac_cv_prog_STRIP"; then
6012 # Extract the first word of "strip", so it can be a program name with args.
6013 set dummy strip; ac_word=$2
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015 $as_echo_n "checking for $ac_word... " >&6; }
6016 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6017 $as_echo_n "(cached) " >&6
6019 if test -n "$ac_ct_STRIP"; then
6020 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026 test -z "$as_dir" && as_dir=.
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6029 ac_cv_prog_ac_ct_STRIP="strip"
6030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6039 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6040 if test -n "$ac_ct_STRIP"; then
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6042 $as_echo "$ac_ct_STRIP" >&6; }
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045 $as_echo "no" >&6; }
6048 if test "x$ac_ct_STRIP" = x; then
6051 case $cross_compiling:$ac_tool_warned in
6053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6055 ac_tool_warned=yes ;;
6060 STRIP="$ac_cv_prog_STRIP"
6063 test -z "$STRIP" && STRIP=:
6070 if test -n "$ac_tool_prefix"; then
6071 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6072 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6074 $as_echo_n "checking for $ac_word... " >&6; }
6075 if ${ac_cv_prog_RANLIB+:} false; then :
6076 $as_echo_n "(cached) " >&6
6078 if test -n "$RANLIB"; then
6079 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6085 test -z "$as_dir" && as_dir=.
6086 for ac_exec_ext in '' $ac_executable_extensions; do
6087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6088 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6098 RANLIB=$ac_cv_prog_RANLIB
6099 if test -n "$RANLIB"; then
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6101 $as_echo "$RANLIB" >&6; }
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6104 $as_echo "no" >&6; }
6109 if test -z "$ac_cv_prog_RANLIB"; then
6110 ac_ct_RANLIB=$RANLIB
6111 # Extract the first word of "ranlib", so it can be a program name with args.
6112 set dummy ranlib; ac_word=$2
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6114 $as_echo_n "checking for $ac_word... " >&6; }
6115 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6116 $as_echo_n "(cached) " >&6
6118 if test -n "$ac_ct_RANLIB"; then
6119 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125 test -z "$as_dir" && as_dir=.
6126 for ac_exec_ext in '' $ac_executable_extensions; do
6127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6128 ac_cv_prog_ac_ct_RANLIB="ranlib"
6129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6138 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6139 if test -n "$ac_ct_RANLIB"; then
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6141 $as_echo "$ac_ct_RANLIB" >&6; }
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6144 $as_echo "no" >&6; }
6147 if test "x$ac_ct_RANLIB" = x; then
6150 case $cross_compiling:$ac_tool_warned in
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6154 ac_tool_warned=yes ;;
6156 RANLIB=$ac_ct_RANLIB
6159 RANLIB="$ac_cv_prog_RANLIB"
6162 test -z "$RANLIB" && RANLIB=:
6169 # Determine commands to create old-style static archives.
6170 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6171 old_postinstall_cmds='chmod 644 $oldlib'
6172 old_postuninstall_cmds=
6174 if test -n "$RANLIB"; then
6177 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6180 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6183 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6188 lock_old_archive_extraction=yes ;;
6190 lock_old_archive_extraction=no ;;
6231 # If no C compiler was specified, use CC.
6234 # If no C compiler flags were specified, use CFLAGS.
6235 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6237 # Allow CC to be a program name with arguments.
6241 # Check for command to grab the raw symbol name followed by C symbol from nm.
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6243 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6244 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6245 $as_echo_n "(cached) " >&6
6248 # These are sane defaults that work on at least a few old systems.
6249 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6251 # Character class describing NM global symbol codes.
6252 symcode='[BCDEGRST]'
6254 # Regexp to match symbols that can be accessed directly from C.
6255 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6257 # Define system-specific variables.
6262 cygwin* | mingw* | pw32* | cegcc*)
6263 symcode='[ABCDGISTW]'
6266 if test "$host_cpu" = ia64; then
6267 symcode='[ABCDEGRST]'
6271 symcode='[BCDEGRST]'
6274 symcode='[BCDEGQRST]'
6285 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6293 # If we're using GNU nm, then use its standard symbol codes.
6294 case `$NM -V 2>&1` in
6295 *GNU* | *'with BFD'*)
6296 symcode='[ABCDGIRSTW]' ;;
6299 # Transform an extracted symbol line into a proper C declaration.
6300 # Some systems (esp. on ia64) link data and code symbols differently,
6301 # so use this general approach.
6302 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6304 # Transform an extracted symbol line into symbol name and symbol address
6305 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6306 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'"
6308 # Handle CRLF in mingw tool chain
6312 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6316 # Try without a prefix underscore, then with it.
6317 for ac_symprfx in "" "_"; do
6319 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6320 symxfrm="\\1 $ac_symprfx\\2 \\2"
6322 # Write the raw and C identifiers.
6323 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6324 # Fake it for dumpbin and say T for any non-static function
6325 # and D for any global variable.
6326 # Also find C++ and __fastcall symbols from MSVC++,
6327 # which start with @ or ?.
6328 lt_cv_sys_global_symbol_pipe="$AWK '"\
6329 " {last_section=section; section=\$ 3};"\
6330 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6331 " \$ 0!~/External *\|/{next};"\
6332 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6333 " {if(hide[section]) next};"\
6334 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6335 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6336 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6337 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6338 " ' prfx=^$ac_symprfx"
6340 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6342 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6344 # Check to see that the pipe works correctly.
6348 cat > conftest.$ac_ext <<_LT_EOF
6353 void nm_test_func(void);
6354 void nm_test_func(void){}
6358 int main(){nm_test_var='a';nm_test_func();return(0);}
6361 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6362 (eval $ac_compile) 2>&5
6364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6365 test $ac_status = 0; }; then
6366 # Now try to grab the symbols.
6368 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6369 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6371 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6372 test $ac_status = 0; } && test -s "$nlist"; then
6373 # Try sorting and uniquifying the output.
6374 if sort "$nlist" | uniq > "$nlist"T; then
6375 mv -f "$nlist"T "$nlist"
6380 # Make sure that we snagged all the symbols we need.
6381 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6382 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6383 cat <<_LT_EOF > conftest.$ac_ext
6384 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6385 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6386 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6387 relocations are performed -- see ld's documentation on pseudo-relocs. */
6388 # define LT_DLSYM_CONST
6389 #elif defined(__osf__)
6390 /* This system does not cope well with relocations in const data. */
6391 # define LT_DLSYM_CONST
6393 # define LT_DLSYM_CONST const
6401 # Now generate the symbol file.
6402 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6404 cat <<_LT_EOF >> conftest.$ac_ext
6406 /* The mapping between symbol names and symbols. */
6407 LT_DLSYM_CONST struct {
6411 lt__PROGRAM__LTX_preloaded_symbols[] =
6413 { "@PROGRAM@", (void *) 0 },
6415 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6416 cat <<\_LT_EOF >> conftest.$ac_ext
6420 /* This works around a problem in FreeBSD linker */
6421 #ifdef FREEBSD_WORKAROUND
6422 static const void *lt_preloaded_setup() {
6423 return lt__PROGRAM__LTX_preloaded_symbols;
6431 # Now try linking the two files.
6432 mv conftest.$ac_objext conftstm.$ac_objext
6433 lt_globsym_save_LIBS=$LIBS
6434 lt_globsym_save_CFLAGS=$CFLAGS
6435 LIBS="conftstm.$ac_objext"
6436 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6437 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6438 (eval $ac_link) 2>&5
6440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6441 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6444 LIBS=$lt_globsym_save_LIBS
6445 CFLAGS=$lt_globsym_save_CFLAGS
6447 echo "cannot find nm_test_func in $nlist" >&5
6450 echo "cannot find nm_test_var in $nlist" >&5
6453 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6456 echo "$progname: failed program was:" >&5
6457 cat conftest.$ac_ext >&5
6459 rm -rf conftest* conftst*
6461 # Do not use the global_symbol_pipe unless it works.
6462 if test "$pipe_works" = yes; then
6465 lt_cv_sys_global_symbol_pipe=
6471 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6472 lt_cv_sys_global_symbol_to_cdecl=
6474 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6476 $as_echo "failed" >&6; }
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6479 $as_echo "ok" >&6; }
6482 # Response file support.
6483 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6484 nm_file_list_spec='@'
6485 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6486 nm_file_list_spec='@'
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6516 $as_echo_n "checking for sysroot... " >&6; }
6518 # Check whether --with-sysroot was given.
6519 if test "${with_sysroot+set}" = set; then :
6520 withval=$with_sysroot;
6527 case ${with_sysroot} in #(
6529 if test "$GCC" = yes; then
6530 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6534 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6540 $as_echo "${with_sysroot}" >&6; }
6541 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6546 $as_echo "${lt_sysroot:-no}" >&6; }
6552 # Check whether --enable-libtool-lock was given.
6553 if test "${enable_libtool_lock+set}" = set; then :
6554 enableval=$enable_libtool_lock;
6557 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6559 # Some flags need to be propagated to the compiler or linker for good
6563 # Find out which ABI we are using.
6564 echo 'int i;' > conftest.$ac_ext
6565 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6566 (eval $ac_compile) 2>&5
6568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6569 test $ac_status = 0; }; then
6570 case `/usr/bin/file conftest.$ac_objext` in
6582 # Find out which ABI we are using.
6583 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6585 (eval $ac_compile) 2>&5
6587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6588 test $ac_status = 0; }; then
6589 if test "$lt_cv_prog_gnu_ld" = yes; then
6590 case `/usr/bin/file conftest.$ac_objext` in
6592 LD="${LD-ld} -melf32bsmip"
6595 LD="${LD-ld} -melf32bmipn32"
6598 LD="${LD-ld} -melf64bmip"
6602 case `/usr/bin/file conftest.$ac_objext` in
6618 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6619 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6620 # Find out which ABI we are using.
6621 echo 'int i;' > conftest.$ac_ext
6622 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6623 (eval $ac_compile) 2>&5
6625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6626 test $ac_status = 0; }; then
6627 case `/usr/bin/file conftest.o` in
6630 x86_64-*kfreebsd*-gnu)
6631 LD="${LD-ld} -m elf_i386_fbsd"
6634 LD="${LD-ld} -m elf_i386"
6636 ppc64-*linux*|powerpc64-*linux*)
6637 LD="${LD-ld} -m elf32ppclinux"
6640 LD="${LD-ld} -m elf_s390"
6643 LD="${LD-ld} -m elf32_sparc"
6649 x86_64-*kfreebsd*-gnu)
6650 LD="${LD-ld} -m elf_x86_64_fbsd"
6653 LD="${LD-ld} -m elf_x86_64"
6655 ppc*-*linux*|powerpc*-*linux*)
6656 LD="${LD-ld} -m elf64ppc"
6658 s390*-*linux*|s390*-*tpf*)
6659 LD="${LD-ld} -m elf64_s390"
6662 LD="${LD-ld} -m elf64_sparc"
6672 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6673 SAVE_CFLAGS="$CFLAGS"
6674 CFLAGS="$CFLAGS -belf"
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6676 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6677 if ${lt_cv_cc_needs_belf+:} false; then :
6678 $as_echo_n "(cached) " >&6
6681 ac_cpp='$CPP $CPPFLAGS'
6682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6687 /* end confdefs.h. */
6697 if ac_fn_c_try_link "$LINENO"; then :
6698 lt_cv_cc_needs_belf=yes
6700 lt_cv_cc_needs_belf=no
6702 rm -f core conftest.err conftest.$ac_objext \
6703 conftest$ac_exeext conftest.$ac_ext
6705 ac_cpp='$CPP $CPPFLAGS'
6706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6712 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6713 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6714 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6715 CFLAGS="$SAVE_CFLAGS"
6719 # Find out which ABI we are using.
6720 echo 'int i;' > conftest.$ac_ext
6721 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6722 (eval $ac_compile) 2>&5
6724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6725 test $ac_status = 0; }; then
6726 case `/usr/bin/file conftest.o` in
6728 case $lt_cv_prog_gnu_ld in
6729 yes*) LD="${LD-ld} -m elf64_sparc" ;;
6731 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6743 need_locks="$enable_libtool_lock"
6745 if test -n "$ac_tool_prefix"; then
6746 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6747 set dummy ${ac_tool_prefix}mt; ac_word=$2
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749 $as_echo_n "checking for $ac_word... " >&6; }
6750 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6751 $as_echo_n "(cached) " >&6
6753 if test -n "$MANIFEST_TOOL"; then
6754 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6760 test -z "$as_dir" && as_dir=.
6761 for ac_exec_ext in '' $ac_executable_extensions; do
6762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6763 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6773 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6774 if test -n "$MANIFEST_TOOL"; then
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6776 $as_echo "$MANIFEST_TOOL" >&6; }
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779 $as_echo "no" >&6; }
6784 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6785 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6786 # Extract the first word of "mt", so it can be a program name with args.
6787 set dummy mt; ac_word=$2
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6789 $as_echo_n "checking for $ac_word... " >&6; }
6790 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6791 $as_echo_n "(cached) " >&6
6793 if test -n "$ac_ct_MANIFEST_TOOL"; then
6794 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6800 test -z "$as_dir" && as_dir=.
6801 for ac_exec_ext in '' $ac_executable_extensions; do
6802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6803 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6813 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6814 if test -n "$ac_ct_MANIFEST_TOOL"; then
6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6816 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6819 $as_echo "no" >&6; }
6822 if test "x$ac_ct_MANIFEST_TOOL" = x; then
6825 case $cross_compiling:$ac_tool_warned in
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6828 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6829 ac_tool_warned=yes ;;
6831 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6834 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6837 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6839 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6840 if ${lt_cv_path_mainfest_tool+:} false; then :
6841 $as_echo_n "(cached) " >&6
6843 lt_cv_path_mainfest_tool=no
6844 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6845 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6846 cat conftest.err >&5
6847 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6848 lt_cv_path_mainfest_tool=yes
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6853 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
6854 if test "x$lt_cv_path_mainfest_tool" != xyes; then
6864 rhapsody* | darwin*)
6865 if test -n "$ac_tool_prefix"; then
6866 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6867 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6869 $as_echo_n "checking for $ac_word... " >&6; }
6870 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6871 $as_echo_n "(cached) " >&6
6873 if test -n "$DSYMUTIL"; then
6874 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6880 test -z "$as_dir" && as_dir=.
6881 for ac_exec_ext in '' $ac_executable_extensions; do
6882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6883 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6893 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6894 if test -n "$DSYMUTIL"; then
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6896 $as_echo "$DSYMUTIL" >&6; }
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6899 $as_echo "no" >&6; }
6904 if test -z "$ac_cv_prog_DSYMUTIL"; then
6905 ac_ct_DSYMUTIL=$DSYMUTIL
6906 # Extract the first word of "dsymutil", so it can be a program name with args.
6907 set dummy dsymutil; ac_word=$2
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6909 $as_echo_n "checking for $ac_word... " >&6; }
6910 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6911 $as_echo_n "(cached) " >&6
6913 if test -n "$ac_ct_DSYMUTIL"; then
6914 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6920 test -z "$as_dir" && as_dir=.
6921 for ac_exec_ext in '' $ac_executable_extensions; do
6922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6923 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6933 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6934 if test -n "$ac_ct_DSYMUTIL"; then
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6936 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6939 $as_echo "no" >&6; }
6942 if test "x$ac_ct_DSYMUTIL" = x; then
6945 case $cross_compiling:$ac_tool_warned in
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6948 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6949 ac_tool_warned=yes ;;
6951 DSYMUTIL=$ac_ct_DSYMUTIL
6954 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6957 if test -n "$ac_tool_prefix"; then
6958 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6959 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6961 $as_echo_n "checking for $ac_word... " >&6; }
6962 if ${ac_cv_prog_NMEDIT+:} false; then :
6963 $as_echo_n "(cached) " >&6
6965 if test -n "$NMEDIT"; then
6966 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6972 test -z "$as_dir" && as_dir=.
6973 for ac_exec_ext in '' $ac_executable_extensions; do
6974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6975 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6985 NMEDIT=$ac_cv_prog_NMEDIT
6986 if test -n "$NMEDIT"; then
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6988 $as_echo "$NMEDIT" >&6; }
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991 $as_echo "no" >&6; }
6996 if test -z "$ac_cv_prog_NMEDIT"; then
6997 ac_ct_NMEDIT=$NMEDIT
6998 # Extract the first word of "nmedit", so it can be a program name with args.
6999 set dummy nmedit; ac_word=$2
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7001 $as_echo_n "checking for $ac_word... " >&6; }
7002 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7003 $as_echo_n "(cached) " >&6
7005 if test -n "$ac_ct_NMEDIT"; then
7006 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7012 test -z "$as_dir" && as_dir=.
7013 for ac_exec_ext in '' $ac_executable_extensions; do
7014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7015 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7025 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7026 if test -n "$ac_ct_NMEDIT"; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7028 $as_echo "$ac_ct_NMEDIT" >&6; }
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7031 $as_echo "no" >&6; }
7034 if test "x$ac_ct_NMEDIT" = x; then
7037 case $cross_compiling:$ac_tool_warned in
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7040 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7041 ac_tool_warned=yes ;;
7043 NMEDIT=$ac_ct_NMEDIT
7046 NMEDIT="$ac_cv_prog_NMEDIT"
7049 if test -n "$ac_tool_prefix"; then
7050 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7051 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7053 $as_echo_n "checking for $ac_word... " >&6; }
7054 if ${ac_cv_prog_LIPO+:} false; then :
7055 $as_echo_n "(cached) " >&6
7057 if test -n "$LIPO"; then
7058 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7064 test -z "$as_dir" && as_dir=.
7065 for ac_exec_ext in '' $ac_executable_extensions; do
7066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7067 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7077 LIPO=$ac_cv_prog_LIPO
7078 if test -n "$LIPO"; then
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7080 $as_echo "$LIPO" >&6; }
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7083 $as_echo "no" >&6; }
7088 if test -z "$ac_cv_prog_LIPO"; then
7090 # Extract the first word of "lipo", so it can be a program name with args.
7091 set dummy lipo; ac_word=$2
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7093 $as_echo_n "checking for $ac_word... " >&6; }
7094 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7095 $as_echo_n "(cached) " >&6
7097 if test -n "$ac_ct_LIPO"; then
7098 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7104 test -z "$as_dir" && as_dir=.
7105 for ac_exec_ext in '' $ac_executable_extensions; do
7106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7107 ac_cv_prog_ac_ct_LIPO="lipo"
7108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7117 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7118 if test -n "$ac_ct_LIPO"; then
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7120 $as_echo "$ac_ct_LIPO" >&6; }
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7123 $as_echo "no" >&6; }
7126 if test "x$ac_ct_LIPO" = x; then
7129 case $cross_compiling:$ac_tool_warned in
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7133 ac_tool_warned=yes ;;
7138 LIPO="$ac_cv_prog_LIPO"
7141 if test -n "$ac_tool_prefix"; then
7142 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7143 set dummy ${ac_tool_prefix}otool; ac_word=$2
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7145 $as_echo_n "checking for $ac_word... " >&6; }
7146 if ${ac_cv_prog_OTOOL+:} false; then :
7147 $as_echo_n "(cached) " >&6
7149 if test -n "$OTOOL"; then
7150 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7156 test -z "$as_dir" && as_dir=.
7157 for ac_exec_ext in '' $ac_executable_extensions; do
7158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7159 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7169 OTOOL=$ac_cv_prog_OTOOL
7170 if test -n "$OTOOL"; then
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7172 $as_echo "$OTOOL" >&6; }
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175 $as_echo "no" >&6; }
7180 if test -z "$ac_cv_prog_OTOOL"; then
7182 # Extract the first word of "otool", so it can be a program name with args.
7183 set dummy otool; ac_word=$2
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7185 $as_echo_n "checking for $ac_word... " >&6; }
7186 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7187 $as_echo_n "(cached) " >&6
7189 if test -n "$ac_ct_OTOOL"; then
7190 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7196 test -z "$as_dir" && as_dir=.
7197 for ac_exec_ext in '' $ac_executable_extensions; do
7198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7199 ac_cv_prog_ac_ct_OTOOL="otool"
7200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7209 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7210 if test -n "$ac_ct_OTOOL"; then
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7212 $as_echo "$ac_ct_OTOOL" >&6; }
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7215 $as_echo "no" >&6; }
7218 if test "x$ac_ct_OTOOL" = x; then
7221 case $cross_compiling:$ac_tool_warned in
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7225 ac_tool_warned=yes ;;
7230 OTOOL="$ac_cv_prog_OTOOL"
7233 if test -n "$ac_tool_prefix"; then
7234 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7235 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7237 $as_echo_n "checking for $ac_word... " >&6; }
7238 if ${ac_cv_prog_OTOOL64+:} false; then :
7239 $as_echo_n "(cached) " >&6
7241 if test -n "$OTOOL64"; then
7242 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7248 test -z "$as_dir" && as_dir=.
7249 for ac_exec_ext in '' $ac_executable_extensions; do
7250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7251 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7261 OTOOL64=$ac_cv_prog_OTOOL64
7262 if test -n "$OTOOL64"; then
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7264 $as_echo "$OTOOL64" >&6; }
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7267 $as_echo "no" >&6; }
7272 if test -z "$ac_cv_prog_OTOOL64"; then
7273 ac_ct_OTOOL64=$OTOOL64
7274 # Extract the first word of "otool64", so it can be a program name with args.
7275 set dummy otool64; ac_word=$2
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7277 $as_echo_n "checking for $ac_word... " >&6; }
7278 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7279 $as_echo_n "(cached) " >&6
7281 if test -n "$ac_ct_OTOOL64"; then
7282 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7288 test -z "$as_dir" && as_dir=.
7289 for ac_exec_ext in '' $ac_executable_extensions; do
7290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7291 ac_cv_prog_ac_ct_OTOOL64="otool64"
7292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7301 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7302 if test -n "$ac_ct_OTOOL64"; then
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7304 $as_echo "$ac_ct_OTOOL64" >&6; }
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7307 $as_echo "no" >&6; }
7310 if test "x$ac_ct_OTOOL64" = x; then
7313 case $cross_compiling:$ac_tool_warned in
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7317 ac_tool_warned=yes ;;
7319 OTOOL64=$ac_ct_OTOOL64
7322 OTOOL64="$ac_cv_prog_OTOOL64"
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7352 $as_echo_n "checking for -single_module linker flag... " >&6; }
7353 if ${lt_cv_apple_cc_single_mod+:} false; then :
7354 $as_echo_n "(cached) " >&6
7356 lt_cv_apple_cc_single_mod=no
7357 if test -z "${LT_MULTI_MODULE}"; then
7358 # By default we will add the -single_module flag. You can override
7359 # by either setting the environment variable LT_MULTI_MODULE
7360 # non-empty at configure time, or by adding -multi_module to the
7362 rm -rf libconftest.dylib*
7363 echo "int foo(void){return 1;}" > conftest.c
7364 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7365 -dynamiclib -Wl,-single_module conftest.c" >&5
7366 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7367 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7369 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7370 lt_cv_apple_cc_single_mod=yes
7372 cat conftest.err >&5
7374 rm -rf libconftest.dylib*
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7379 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7381 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7382 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7383 $as_echo_n "(cached) " >&6
7385 lt_cv_ld_exported_symbols_list=no
7386 save_LDFLAGS=$LDFLAGS
7387 echo "_main" > conftest.sym
7388 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7390 /* end confdefs.h. */
7400 if ac_fn_c_try_link "$LINENO"; then :
7401 lt_cv_ld_exported_symbols_list=yes
7403 lt_cv_ld_exported_symbols_list=no
7405 rm -f core conftest.err conftest.$ac_objext \
7406 conftest$ac_exeext conftest.$ac_ext
7407 LDFLAGS="$save_LDFLAGS"
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7411 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7413 $as_echo_n "checking for -force_load linker flag... " >&6; }
7414 if ${lt_cv_ld_force_load+:} false; then :
7415 $as_echo_n "(cached) " >&6
7417 lt_cv_ld_force_load=no
7418 cat > conftest.c << _LT_EOF
7419 int forced_loaded() { return 2;}
7421 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7422 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7423 echo "$AR cru libconftest.a conftest.o" >&5
7424 $AR cru libconftest.a conftest.o 2>&5
7425 echo "$RANLIB libconftest.a" >&5
7426 $RANLIB libconftest.a 2>&5
7427 cat > conftest.c << _LT_EOF
7428 int main() { return 0;}
7430 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7431 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7433 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7434 lt_cv_ld_force_load=yes
7436 cat conftest.err >&5
7438 rm -f conftest.err libconftest.a conftest conftest.c
7439 rm -rf conftest.dSYM
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7443 $as_echo "$lt_cv_ld_force_load" >&6; }
7445 rhapsody* | darwin1.[012])
7446 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7448 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7449 darwin*) # darwin 5.x on
7450 # if running on 10.5 or later, the deployment target defaults
7451 # to the OS version, if on x86, and 10.4, the deployment
7452 # target defaults to 10.4. Don't you love it?
7453 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7454 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7455 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7457 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7459 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7463 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7464 _lt_dar_single_mod='$single_module'
7466 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7467 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7469 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7471 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7472 _lt_dsymutil='~$DSYMUTIL $lib || :'
7480 ac_cpp='$CPP $CPPFLAGS'
7481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7485 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7486 # On Suns, sometimes $CPP names a directory.
7487 if test -n "$CPP" && test -d "$CPP"; then
7490 if test -z "$CPP"; then
7491 if ${ac_cv_prog_CPP+:} false; then :
7492 $as_echo_n "(cached) " >&6
7494 # Double quotes because CPP needs to be expanded
7495 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7498 for ac_c_preproc_warn_flag in '' yes
7500 # Use a header file that comes with gcc, so configuring glibc
7501 # with a fresh cross-compiler works.
7502 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7503 # <limits.h> exists even on freestanding compilers.
7504 # On the NeXT, cc -E runs the code through the compiler's parser,
7505 # not just through cpp. "Syntax error" is here to catch this case.
7506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7507 /* end confdefs.h. */
7509 # include <limits.h>
7511 # include <assert.h>
7515 if ac_fn_c_try_cpp "$LINENO"; then :
7518 # Broken: fails on valid input.
7521 rm -f conftest.err conftest.i conftest.$ac_ext
7523 # OK, works on sane cases. Now check whether nonexistent headers
7524 # can be detected and how.
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */
7527 #include <ac_nonexistent.h>
7529 if ac_fn_c_try_cpp "$LINENO"; then :
7530 # Broken: success on invalid input.
7533 # Passes both tests.
7537 rm -f conftest.err conftest.i conftest.$ac_ext
7540 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7541 rm -f conftest.i conftest.err conftest.$ac_ext
7542 if $ac_preproc_ok; then :
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7555 $as_echo "$CPP" >&6; }
7557 for ac_c_preproc_warn_flag in '' yes
7559 # Use a header file that comes with gcc, so configuring glibc
7560 # with a fresh cross-compiler works.
7561 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7562 # <limits.h> exists even on freestanding compilers.
7563 # On the NeXT, cc -E runs the code through the compiler's parser,
7564 # not just through cpp. "Syntax error" is here to catch this case.
7565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7566 /* end confdefs.h. */
7568 # include <limits.h>
7570 # include <assert.h>
7574 if ac_fn_c_try_cpp "$LINENO"; then :
7577 # Broken: fails on valid input.
7580 rm -f conftest.err conftest.i conftest.$ac_ext
7582 # OK, works on sane cases. Now check whether nonexistent headers
7583 # can be detected and how.
7584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7585 /* end confdefs.h. */
7586 #include <ac_nonexistent.h>
7588 if ac_fn_c_try_cpp "$LINENO"; then :
7589 # Broken: success on invalid input.
7592 # Passes both tests.
7596 rm -f conftest.err conftest.i conftest.$ac_ext
7599 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7600 rm -f conftest.i conftest.err conftest.$ac_ext
7601 if $ac_preproc_ok; then :
7604 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7606 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7607 See \`config.log' for more details" "$LINENO" 5; }
7611 ac_cpp='$CPP $CPPFLAGS'
7612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7618 $as_echo_n "checking for ANSI C header files... " >&6; }
7619 if ${ac_cv_header_stdc+:} false; then :
7620 $as_echo_n "(cached) " >&6
7622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7623 /* end confdefs.h. */
7637 if ac_fn_c_try_compile "$LINENO"; then :
7638 ac_cv_header_stdc=yes
7640 ac_cv_header_stdc=no
7642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7644 if test $ac_cv_header_stdc = yes; then
7645 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7647 /* end confdefs.h. */
7651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7652 $EGREP "memchr" >/dev/null 2>&1; then :
7655 ac_cv_header_stdc=no
7661 if test $ac_cv_header_stdc = yes; then
7662 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7664 /* end confdefs.h. */
7668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7669 $EGREP "free" >/dev/null 2>&1; then :
7672 ac_cv_header_stdc=no
7678 if test $ac_cv_header_stdc = yes; then
7679 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7680 if test "$cross_compiling" = yes; then :
7683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7684 /* end confdefs.h. */
7687 #if ((' ' & 0x0FF) == 0x020)
7688 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7689 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7691 # define ISLOWER(c) \
7692 (('a' <= (c) && (c) <= 'i') \
7693 || ('j' <= (c) && (c) <= 'r') \
7694 || ('s' <= (c) && (c) <= 'z'))
7695 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7698 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7703 for (i = 0; i < 256; i++)
7704 if (XOR (islower (i), ISLOWER (i))
7705 || toupper (i) != TOUPPER (i))
7710 if ac_fn_c_try_run "$LINENO"; then :
7713 ac_cv_header_stdc=no
7715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7716 conftest.$ac_objext conftest.beam conftest.$ac_ext
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7722 $as_echo "$ac_cv_header_stdc" >&6; }
7723 if test $ac_cv_header_stdc = yes; then
7725 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7729 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7730 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7731 inttypes.h stdint.h unistd.h
7733 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7734 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7736 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7737 cat >>confdefs.h <<_ACEOF
7738 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7746 for ac_header in dlfcn.h
7748 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7750 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7751 cat >>confdefs.h <<_ACEOF
7752 #define HAVE_DLFCN_H 1
7771 # Check whether --enable-shared was given.
7772 if test "${enable_shared+set}" = set; then :
7773 enableval=$enable_shared; p=${PACKAGE-default}
7775 yes) enable_shared=yes ;;
7776 no) enable_shared=no ;;
7779 # Look at the argument we got. We use all the common list separators.
7780 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7781 for pkg in $enableval; do
7783 if test "X$pkg" = "X$p"; then
7804 # Check whether --with-pic was given.
7805 if test "${with_pic+set}" = set; then :
7806 withval=$with_pic; pic_mode="$withval"
7812 test -z "$pic_mode" && pic_mode=default
7820 # Check whether --enable-fast-install was given.
7821 if test "${enable_fast_install+set}" = set; then :
7822 enableval=$enable_fast_install; p=${PACKAGE-default}
7824 yes) enable_fast_install=yes ;;
7825 no) enable_fast_install=no ;;
7827 enable_fast_install=no
7828 # Look at the argument we got. We use all the common list separators.
7829 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7830 for pkg in $enableval; do
7832 if test "X$pkg" = "X$p"; then
7833 enable_fast_install=yes
7840 enable_fast_install=yes
7853 # This can be used to rebuild libtool when needed
7854 LIBTOOL_DEPS="$ltmain"
7856 # Always use our own libtool.
7857 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7884 test -z "$LN_S" && LN_S="ln -s"
7899 if test -n "${ZSH_VERSION+set}" ; then
7900 setopt NO_GLOB_SUBST
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7904 $as_echo_n "checking for objdir... " >&6; }
7905 if ${lt_cv_objdir+:} false; then :
7906 $as_echo_n "(cached) " >&6
7908 rm -f .libs 2>/dev/null
7909 mkdir .libs 2>/dev/null
7910 if test -d .libs; then
7913 # MS-DOS does not allow filenames that begin with a dot.
7916 rmdir .libs 2>/dev/null
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7919 $as_echo "$lt_cv_objdir" >&6; }
7920 objdir=$lt_cv_objdir
7926 cat >>confdefs.h <<_ACEOF
7927 #define LT_OBJDIR "$lt_cv_objdir/"
7935 # AIX sometimes has problems with the GCC collect2 program. For some
7936 # reason, if we set the COLLECT_NAMES environment variable, the problems
7937 # vanish in a puff of smoke.
7938 if test "X${COLLECT_NAMES+set}" != Xset; then
7940 export COLLECT_NAMES
7947 can_build_shared=yes
7949 # All known linkers require a `.a' archive for static linking (except MSVC,
7950 # which needs '.lib').
7953 with_gnu_ld="$lt_cv_prog_gnu_ld"
7956 old_CFLAGS="$CFLAGS"
7958 # Set sane defaults for various variables
7959 test -z "$CC" && CC=cc
7960 test -z "$LTCC" && LTCC=$CC
7961 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7962 test -z "$LD" && LD=ld
7963 test -z "$ac_objext" && ac_objext=o
7965 for cc_temp in $compiler""; do
7967 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7968 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7973 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7976 # Only perform the check for file, if the check method requires it
7977 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7978 case $deplibs_check_method in
7980 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7982 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7983 if ${lt_cv_path_MAGIC_CMD+:} false; then :
7984 $as_echo_n "(cached) " >&6
7988 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7991 lt_save_MAGIC_CMD="$MAGIC_CMD"
7992 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7993 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7994 for ac_dir in $ac_dummy; do
7996 test -z "$ac_dir" && ac_dir=.
7997 if test -f $ac_dir/${ac_tool_prefix}file; then
7998 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7999 if test -n "$file_magic_test_file"; then
8000 case $deplibs_check_method in
8002 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8003 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8004 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8005 $EGREP "$file_magic_regex" > /dev/null; then
8010 *** Warning: the command libtool uses to detect shared libraries,
8011 *** $file_magic_cmd, produces output that libtool cannot recognize.
8012 *** The result is that libtool may fail to recognize shared libraries
8013 *** as such. This will affect the creation of libtool libraries that
8014 *** depend on shared libraries, but programs linked with such libtool
8015 *** libraries will work regardless of this problem. Nevertheless, you
8016 *** may want to report the problem to your system manager and/or to
8017 *** bug-libtool@gnu.org
8027 MAGIC_CMD="$lt_save_MAGIC_CMD"
8032 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8033 if test -n "$MAGIC_CMD"; then
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8035 $as_echo "$MAGIC_CMD" >&6; }
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8038 $as_echo "no" >&6; }
8045 if test -z "$lt_cv_path_MAGIC_CMD"; then
8046 if test -n "$ac_tool_prefix"; then
8047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8048 $as_echo_n "checking for file... " >&6; }
8049 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8050 $as_echo_n "(cached) " >&6
8054 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8057 lt_save_MAGIC_CMD="$MAGIC_CMD"
8058 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8059 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8060 for ac_dir in $ac_dummy; do
8062 test -z "$ac_dir" && ac_dir=.
8063 if test -f $ac_dir/file; then
8064 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8065 if test -n "$file_magic_test_file"; then
8066 case $deplibs_check_method in
8068 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8069 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8070 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8071 $EGREP "$file_magic_regex" > /dev/null; then
8076 *** Warning: the command libtool uses to detect shared libraries,
8077 *** $file_magic_cmd, produces output that libtool cannot recognize.
8078 *** The result is that libtool may fail to recognize shared libraries
8079 *** as such. This will affect the creation of libtool libraries that
8080 *** depend on shared libraries, but programs linked with such libtool
8081 *** libraries will work regardless of this problem. Nevertheless, you
8082 *** may want to report the problem to your system manager and/or to
8083 *** bug-libtool@gnu.org
8093 MAGIC_CMD="$lt_save_MAGIC_CMD"
8098 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8099 if test -n "$MAGIC_CMD"; then
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8101 $as_echo "$MAGIC_CMD" >&6; }
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8104 $as_echo "no" >&6; }
8117 # Use C for the default configuration in the libtool script
8121 ac_cpp='$CPP $CPPFLAGS'
8122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8127 # Source file extension for C test sources.
8130 # Object file extension for compiled C test sources.
8134 # Code to be used in simple compile tests
8135 lt_simple_compile_test_code="int some_variable = 0;"
8137 # Code to be used in simple link tests
8138 lt_simple_link_test_code='int main(){return(0);}'
8146 # If no C compiler was specified, use CC.
8149 # If no C compiler flags were specified, use CFLAGS.
8150 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8152 # Allow CC to be a program name with arguments.
8155 # Save the default compiler, since it gets overwritten when the other
8156 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8157 compiler_DEFAULT=$CC
8159 # save warnings/boilerplate of simple test code
8160 ac_outfile=conftest.$ac_objext
8161 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8162 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8163 _lt_compiler_boilerplate=`cat conftest.err`
8166 ac_outfile=conftest.$ac_objext
8167 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8168 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8169 _lt_linker_boilerplate=`cat conftest.err`
8174 ## There is no encapsulation within the following macros, do not change
8175 ## the running order or otherwise move them around unless you know exactly
8176 ## what you are doing...
8177 if test -n "$compiler"; then
8179 lt_prog_compiler_no_builtin_flag=
8181 if test "$GCC" = yes; then
8182 case $cc_basename in
8184 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8186 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8190 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8191 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8192 $as_echo_n "(cached) " >&6
8194 lt_cv_prog_compiler_rtti_exceptions=no
8195 ac_outfile=conftest.$ac_objext
8196 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8197 lt_compiler_flag="-fno-rtti -fno-exceptions"
8198 # Insert the option either (1) after the last *FLAGS variable, or
8199 # (2) before a word containing "conftest.", or (3) at the end.
8200 # Note that $ac_compile itself does not contain backslashes and begins
8201 # with a dollar sign (not a hyphen), so the echo should work correctly.
8202 # The option is referenced via a variable to avoid confusing sed.
8203 lt_compile=`echo "$ac_compile" | $SED \
8204 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8205 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8206 -e 's:$: $lt_compiler_flag:'`
8207 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8208 (eval "$lt_compile" 2>conftest.err)
8210 cat conftest.err >&5
8211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8212 if (exit $ac_status) && test -s "$ac_outfile"; then
8213 # The compiler can only warn and ignore the option if not recognized
8214 # So say no if there are warnings other than the usual output.
8215 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8216 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8217 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8218 lt_cv_prog_compiler_rtti_exceptions=yes
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8225 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8227 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8228 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8240 lt_prog_compiler_wl=
8241 lt_prog_compiler_pic=
8242 lt_prog_compiler_static=
8245 if test "$GCC" = yes; then
8246 lt_prog_compiler_wl='-Wl,'
8247 lt_prog_compiler_static='-static'
8251 # All AIX code is PIC.
8252 if test "$host_cpu" = ia64; then
8253 # AIX 5 now supports IA64 processor
8254 lt_prog_compiler_static='-Bstatic'
8261 # see comment about AmigaOS4 .so support
8262 lt_prog_compiler_pic='-fPIC'
8265 # FIXME: we need at least 68020 code to build shared libraries, but
8266 # adding the `-m68020' flag to GCC prevents building anything better,
8268 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8273 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8274 # PIC is the default for these OSes.
8277 mingw* | cygwin* | pw32* | os2* | cegcc*)
8278 # This hack is so that the source file can tell whether it is being
8279 # built for inclusion in a dll (and should export symbols for example).
8280 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8281 # (--disable-auto-import) libraries
8282 lt_prog_compiler_pic='-DDLL_EXPORT'
8285 darwin* | rhapsody*)
8286 # PIC is the default on this platform
8287 # Common symbols not allowed in MH_DYLIB files
8288 lt_prog_compiler_pic='-fno-common'
8292 # PIC is the default for Haiku.
8293 # The "-static" flag exists, but is broken.
8294 lt_prog_compiler_static=
8298 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8299 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8300 # sets the default TLS model and affects inlining.
8306 lt_prog_compiler_pic='-fPIC'
8312 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8313 # Instead, we relocate shared libraries at runtime.
8317 # Just because we use GCC doesn't mean we suddenly get shared libraries
8318 # on systems that don't support them.
8319 lt_prog_compiler_can_build_shared=no
8324 # QNX uses GNU C++, but need to define -shared option too, otherwise
8326 lt_prog_compiler_pic='-fPIC -shared'
8330 if test -d /usr/nec; then
8331 lt_prog_compiler_pic=-Kconform_pic
8336 lt_prog_compiler_pic='-fPIC'
8340 case $cc_basename in
8341 nvcc*) # Cuda Compiler Driver 2.2
8342 lt_prog_compiler_wl='-Xlinker '
8343 lt_prog_compiler_pic='-Xcompiler -fPIC'
8347 # PORTME Check for flag to pass linker flags through the system compiler.
8350 lt_prog_compiler_wl='-Wl,'
8351 if test "$host_cpu" = ia64; then
8352 # AIX 5 now supports IA64 processor
8353 lt_prog_compiler_static='-Bstatic'
8355 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8359 mingw* | cygwin* | pw32* | os2* | cegcc*)
8360 # This hack is so that the source file can tell whether it is being
8361 # built for inclusion in a dll (and should export symbols for example).
8362 lt_prog_compiler_pic='-DDLL_EXPORT'
8365 hpux9* | hpux10* | hpux11*)
8366 lt_prog_compiler_wl='-Wl,'
8367 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8374 lt_prog_compiler_pic='+Z'
8377 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8378 lt_prog_compiler_static='${wl}-a ${wl}archive'
8381 irix5* | irix6* | nonstopux*)
8382 lt_prog_compiler_wl='-Wl,'
8383 # PIC (with -KPIC) is the default.
8384 lt_prog_compiler_static='-non_shared'
8387 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8388 case $cc_basename in
8389 # old Intel for x86_64 which still supported -KPIC.
8391 lt_prog_compiler_wl='-Wl,'
8392 lt_prog_compiler_pic='-KPIC'
8393 lt_prog_compiler_static='-static'
8395 # icc used to be incompatible with GCC.
8396 # ICC 10 doesn't accept -KPIC any more.
8398 lt_prog_compiler_wl='-Wl,'
8399 lt_prog_compiler_pic='-fPIC'
8400 lt_prog_compiler_static='-static'
8402 # Lahey Fortran 8.1.
8404 lt_prog_compiler_wl='-Wl,'
8405 lt_prog_compiler_pic='--shared'
8406 lt_prog_compiler_static='--static'
8409 # NAG Fortran compiler
8410 lt_prog_compiler_wl='-Wl,-Wl,,'
8411 lt_prog_compiler_pic='-PIC'
8412 lt_prog_compiler_static='-Bstatic'
8414 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8415 # Portland Group compilers (*not* the Pentium gcc compiler,
8416 # which looks to be a dead project)
8417 lt_prog_compiler_wl='-Wl,'
8418 lt_prog_compiler_pic='-fpic'
8419 lt_prog_compiler_static='-Bstatic'
8422 lt_prog_compiler_wl='-Wl,'
8423 # All Alpha code is PIC.
8424 lt_prog_compiler_static='-non_shared'
8426 xl* | bgxl* | bgf* | mpixl*)
8427 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8428 lt_prog_compiler_wl='-Wl,'
8429 lt_prog_compiler_pic='-qpic'
8430 lt_prog_compiler_static='-qstaticlink'
8433 case `$CC -V 2>&1 | sed 5q` in
8434 *Sun\ F* | *Sun*Fortran*)
8435 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8436 lt_prog_compiler_pic='-KPIC'
8437 lt_prog_compiler_static='-Bstatic'
8438 lt_prog_compiler_wl=''
8442 lt_prog_compiler_pic='-KPIC'
8443 lt_prog_compiler_static='-Bstatic'
8444 lt_prog_compiler_wl='-Wl,'
8452 lt_prog_compiler_pic='-KPIC'
8453 lt_prog_compiler_static='-Bstatic'
8457 # QNX uses GNU C++, but need to define -shared option too, otherwise
8459 lt_prog_compiler_pic='-fPIC -shared'
8462 osf3* | osf4* | osf5*)
8463 lt_prog_compiler_wl='-Wl,'
8464 # All OSF/1 code is PIC.
8465 lt_prog_compiler_static='-non_shared'
8469 lt_prog_compiler_static='-non_shared'
8473 lt_prog_compiler_pic='-KPIC'
8474 lt_prog_compiler_static='-Bstatic'
8475 case $cc_basename in
8476 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8477 lt_prog_compiler_wl='-Qoption ld ';;
8479 lt_prog_compiler_wl='-Wl,';;
8484 lt_prog_compiler_wl='-Qoption ld '
8485 lt_prog_compiler_pic='-PIC'
8486 lt_prog_compiler_static='-Bstatic'
8489 sysv4 | sysv4.2uw2* | sysv4.3*)
8490 lt_prog_compiler_wl='-Wl,'
8491 lt_prog_compiler_pic='-KPIC'
8492 lt_prog_compiler_static='-Bstatic'
8496 if test -d /usr/nec ;then
8497 lt_prog_compiler_pic='-Kconform_pic'
8498 lt_prog_compiler_static='-Bstatic'
8502 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8503 lt_prog_compiler_wl='-Wl,'
8504 lt_prog_compiler_pic='-KPIC'
8505 lt_prog_compiler_static='-Bstatic'
8509 lt_prog_compiler_wl='-Wl,'
8510 lt_prog_compiler_can_build_shared=no
8514 lt_prog_compiler_pic='-pic'
8515 lt_prog_compiler_static='-Bstatic'
8519 lt_prog_compiler_can_build_shared=no
8525 # For platforms which do not support PIC, -DPIC is meaningless:
8527 lt_prog_compiler_pic=
8530 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8535 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8536 if ${lt_cv_prog_compiler_pic+:} false; then :
8537 $as_echo_n "(cached) " >&6
8539 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8542 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
8543 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8546 # Check to make sure the PIC flag actually works.
8548 if test -n "$lt_prog_compiler_pic"; then
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8550 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8551 if ${lt_cv_prog_compiler_pic_works+:} false; then :
8552 $as_echo_n "(cached) " >&6
8554 lt_cv_prog_compiler_pic_works=no
8555 ac_outfile=conftest.$ac_objext
8556 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8557 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8558 # Insert the option either (1) after the last *FLAGS variable, or
8559 # (2) before a word containing "conftest.", or (3) at the end.
8560 # Note that $ac_compile itself does not contain backslashes and begins
8561 # with a dollar sign (not a hyphen), so the echo should work correctly.
8562 # The option is referenced via a variable to avoid confusing sed.
8563 lt_compile=`echo "$ac_compile" | $SED \
8564 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8565 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8566 -e 's:$: $lt_compiler_flag:'`
8567 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8568 (eval "$lt_compile" 2>conftest.err)
8570 cat conftest.err >&5
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 if (exit $ac_status) && test -s "$ac_outfile"; then
8573 # The compiler can only warn and ignore the option if not recognized
8574 # So say no if there are warnings other than the usual output.
8575 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8576 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8577 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8578 lt_cv_prog_compiler_pic_works=yes
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8585 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8587 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8588 case $lt_prog_compiler_pic in
8590 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8593 lt_prog_compiler_pic=
8594 lt_prog_compiler_can_build_shared=no
8610 # Check to make sure the static flag actually works.
8612 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8614 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8615 if ${lt_cv_prog_compiler_static_works+:} false; then :
8616 $as_echo_n "(cached) " >&6
8618 lt_cv_prog_compiler_static_works=no
8619 save_LDFLAGS="$LDFLAGS"
8620 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8621 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8622 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8623 # The linker can only warn and ignore the option if not recognized
8624 # So say no if there are warnings
8625 if test -s conftest.err; then
8626 # Append any errors to the config.log.
8627 cat conftest.err 1>&5
8628 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8629 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8630 if diff conftest.exp conftest.er2 >/dev/null; then
8631 lt_cv_prog_compiler_static_works=yes
8634 lt_cv_prog_compiler_static_works=yes
8638 LDFLAGS="$save_LDFLAGS"
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8642 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8644 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8647 lt_prog_compiler_static=
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8657 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8658 if ${lt_cv_prog_compiler_c_o+:} false; then :
8659 $as_echo_n "(cached) " >&6
8661 lt_cv_prog_compiler_c_o=no
8662 $RM -r conftest 2>/dev/null
8666 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8668 lt_compiler_flag="-o out/conftest2.$ac_objext"
8669 # Insert the option either (1) after the last *FLAGS variable, or
8670 # (2) before a word containing "conftest.", or (3) at the end.
8671 # Note that $ac_compile itself does not contain backslashes and begins
8672 # with a dollar sign (not a hyphen), so the echo should work correctly.
8673 lt_compile=`echo "$ac_compile" | $SED \
8674 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8675 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8676 -e 's:$: $lt_compiler_flag:'`
8677 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8678 (eval "$lt_compile" 2>out/conftest.err)
8680 cat out/conftest.err >&5
8681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8684 # The compiler can only warn and ignore the option if not recognized
8685 # So say no if there are warnings
8686 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8687 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8688 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8689 lt_cv_prog_compiler_c_o=yes
8694 # SGI C++ compiler will create directory out/ii_files/ for
8695 # template instantiation
8696 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8697 $RM out/* && rmdir out
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8704 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8712 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8713 if ${lt_cv_prog_compiler_c_o+:} false; then :
8714 $as_echo_n "(cached) " >&6
8716 lt_cv_prog_compiler_c_o=no
8717 $RM -r conftest 2>/dev/null
8721 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8723 lt_compiler_flag="-o out/conftest2.$ac_objext"
8724 # Insert the option either (1) after the last *FLAGS variable, or
8725 # (2) before a word containing "conftest.", or (3) at the end.
8726 # Note that $ac_compile itself does not contain backslashes and begins
8727 # with a dollar sign (not a hyphen), so the echo should work correctly.
8728 lt_compile=`echo "$ac_compile" | $SED \
8729 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8730 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8731 -e 's:$: $lt_compiler_flag:'`
8732 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8733 (eval "$lt_compile" 2>out/conftest.err)
8735 cat out/conftest.err >&5
8736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8737 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8739 # The compiler can only warn and ignore the option if not recognized
8740 # So say no if there are warnings
8741 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8742 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8743 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8744 lt_cv_prog_compiler_c_o=yes
8749 # SGI C++ compiler will create directory out/ii_files/ for
8750 # template instantiation
8751 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8752 $RM out/* && rmdir out
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8759 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8764 hard_links="nottested"
8765 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8766 # do not overwrite the value of need_locks provided by the user
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8768 $as_echo_n "checking if we can lock with hard links... " >&6; }
8771 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8773 ln conftest.a conftest.b 2>&5 || hard_links=no
8774 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8776 $as_echo "$hard_links" >&6; }
8777 if test "$hard_links" = no; then
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8779 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8792 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8795 allow_undefined_flag=
8796 always_export_symbols=no
8798 archive_expsym_cmds=
8799 compiler_needs_object=no
8800 enable_shared_with_static_runtimes=no
8801 export_dynamic_flag_spec=
8802 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8803 hardcode_automatic=no
8805 hardcode_direct_absolute=no
8806 hardcode_libdir_flag_spec=
8807 hardcode_libdir_flag_spec_ld=
8808 hardcode_libdir_separator=
8810 hardcode_shlibpath_var=unsupported
8812 link_all_deplibs=unknown
8815 old_archive_from_new_cmds=
8816 old_archive_from_expsyms_cmds=
8817 thread_safe_flag_spec=
8818 whole_archive_flag_spec=
8819 # include_expsyms should be a list of space-separated symbols to be *always*
8820 # included in the symbol list
8822 # exclude_expsyms can be an extended regexp of symbols to exclude
8823 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8824 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8825 # as well as any symbol that contains `d'.
8826 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8827 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8828 # platforms (ab)use it in PIC code, but their linkers get confused if
8829 # the symbol is explicitly referenced. Since portable code cannot
8830 # rely on this symbol name, it's probably fine to never include it in
8831 # preloaded symbol tables.
8832 # Exclude shared library initialization/finalization symbols.
8833 extract_expsyms_cmds=
8836 cygwin* | mingw* | pw32* | cegcc*)
8837 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8838 # When not using gcc, we currently assume that we are using
8839 # Microsoft Visual C++.
8840 if test "$GCC" != yes; then
8845 # we just hope/assume this is gcc and not c89 (= MSVC++)
8851 linux* | k*bsd*-gnu | gnu*)
8858 # On some targets, GNU ld is compatible enough with the native linker
8859 # that we're better off using the native interface for both.
8860 lt_use_gnu_ld_interface=no
8861 if test "$with_gnu_ld" = yes; then
8864 # The AIX port of GNU ld has always aspired to compatibility
8865 # with the native linker. However, as the warning in the GNU ld
8866 # block says, versions before 2.19.5* couldn't really create working
8867 # shared libraries, regardless of the interface used.
8868 case `$LD -v 2>&1` in
8869 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8870 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8871 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8873 lt_use_gnu_ld_interface=yes
8878 lt_use_gnu_ld_interface=yes
8883 if test "$lt_use_gnu_ld_interface" = yes; then
8884 # If archive_cmds runs LD, not CC, wlarc should be empty
8887 # Set some defaults for GNU ld with shared library support. These
8888 # are reset later if shared libraries are not supported. Putting them
8889 # here allows them to be overridden if necessary.
8890 runpath_var=LD_RUN_PATH
8891 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8892 export_dynamic_flag_spec='${wl}--export-dynamic'
8893 # ancient GNU ld didn't support --whole-archive et. al.
8894 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8895 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8897 whole_archive_flag_spec=
8899 supports_anon_versioning=no
8900 case `$LD -v 2>&1` in
8901 *GNU\ gold*) supports_anon_versioning=yes ;;
8902 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8903 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8904 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8905 *\ 2.11.*) ;; # other 2.11 versions
8906 *) supports_anon_versioning=yes ;;
8909 # See if GNU ld supports shared libraries.
8912 # On AIX/PPC, the GNU linker is very broken
8913 if test "$host_cpu" != ia64; then
8917 *** Warning: the GNU linker, at least up to release 2.19, is reported
8918 *** to be unable to reliably create shared libraries on AIX.
8919 *** Therefore, libtool is disabling shared libraries support. If you
8920 *** really care for shared libraries, you may want to install binutils
8921 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8922 *** You will then need to restart the configuration process.
8931 # see comment about AmigaOS4 .so support
8932 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8933 archive_expsym_cmds=''
8936 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)'
8937 hardcode_libdir_flag_spec='-L$libdir'
8938 hardcode_minus_L=yes
8944 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8945 allow_undefined_flag=unsupported
8946 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8947 # support --undefined. This deserves some investigation. FIXME
8948 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8954 cygwin* | mingw* | pw32* | cegcc*)
8955 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8956 # as there is no search path for DLLs.
8957 hardcode_libdir_flag_spec='-L$libdir'
8958 export_dynamic_flag_spec='${wl}--export-all-symbols'
8959 allow_undefined_flag=unsupported
8960 always_export_symbols=no
8961 enable_shared_with_static_runtimes=yes
8962 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8963 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8965 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8966 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8967 # If the export-symbols file already is a .def file (1st line
8968 # is EXPORTS), use it as is; otherwise, prepend...
8969 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8970 cp $export_symbols $output_objdir/$soname.def;
8972 echo EXPORTS > $output_objdir/$soname.def;
8973 cat $export_symbols >> $output_objdir/$soname.def;
8975 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8982 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8983 link_all_deplibs=yes
8988 hardcode_shlibpath_var=no
8989 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8990 export_dynamic_flag_spec='${wl}-E'
8991 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8992 # Instead, shared libraries are loaded at an image base (0x10000000 by
8993 # default) and relocated if they conflict, which is a slow very memory
8994 # consuming and fragmenting process. To avoid this, we pick a random,
8995 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8996 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8997 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8998 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'
9001 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9003 if test "$host_os" = linux-dietlibc; then
9004 case $cc_basename in
9005 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9008 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9009 && test "$tmp_diet" = no
9011 tmp_addflag=' $pic_flag'
9012 tmp_sharedflag='-shared'
9013 case $cc_basename,$host_cpu in
9014 pgcc*) # Portland Group C compiler
9015 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9016 tmp_addflag=' $pic_flag'
9018 pgf77* | pgf90* | pgf95* | pgfortran*)
9019 # Portland Group f77 and f90 compilers
9020 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9021 tmp_addflag=' $pic_flag -Mnomain' ;;
9022 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9023 tmp_addflag=' -i_dynamic' ;;
9024 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9025 tmp_addflag=' -i_dynamic -nofor_main' ;;
9026 ifc* | ifort*) # Intel Fortran compiler
9027 tmp_addflag=' -nofor_main' ;;
9028 lf95*) # Lahey Fortran 8.1
9029 whole_archive_flag_spec=
9030 tmp_sharedflag='--shared' ;;
9031 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9032 tmp_sharedflag='-qmkshrobj'
9034 nvcc*) # Cuda Compiler Driver 2.2
9035 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9036 compiler_needs_object=yes
9039 case `$CC -V 2>&1 | sed 5q` in
9040 *Sun\ C*) # Sun C 5.9
9041 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9042 compiler_needs_object=yes
9043 tmp_sharedflag='-G' ;;
9044 *Sun\ F*) # Sun Fortran 8.3
9045 tmp_sharedflag='-G' ;;
9047 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9049 if test "x$supports_anon_versioning" = xyes; then
9050 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9051 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9052 echo "local: *; };" >> $output_objdir/$libname.ver~
9053 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9056 case $cc_basename in
9057 xlf* | bgf* | bgxlf* | mpixlf*)
9058 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9059 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9060 hardcode_libdir_flag_spec=
9061 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9062 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9063 if test "x$supports_anon_versioning" = xyes; then
9064 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9065 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9066 echo "local: *; };" >> $output_objdir/$libname.ver~
9067 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9076 netbsd* | netbsdelf*-gnu)
9077 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9078 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9081 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9082 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9087 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9091 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9092 *** create shared libraries on Solaris systems. Therefore, libtool
9093 *** is disabling shared libraries support. We urge you to upgrade GNU
9094 *** binutils to release 2.9.1 or newer. Another option is to modify
9095 *** your PATH or compiler configuration so that the native linker is
9096 *** used, and then restart.
9099 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9100 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9101 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9107 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9108 case `$LD -v 2>&1` in
9109 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9113 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9114 *** reliably create shared libraries on SCO systems. Therefore, libtool
9115 *** is disabling shared libraries support. We urge you to upgrade GNU
9116 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9117 *** your PATH or compiler configuration so that the native linker is
9118 *** used, and then restart.
9123 # For security reasons, it is highly recommended that you always
9124 # use absolute paths for naming shared libraries, and exclude the
9125 # DT_RUNPATH tag from executables and libraries. But doing so
9126 # requires that you compile everything twice, which is a pain.
9127 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9128 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9129 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9130 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9139 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9142 hardcode_shlibpath_var=no
9146 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9147 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9148 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9155 if test "$ld_shlibs" = no; then
9157 hardcode_libdir_flag_spec=
9158 export_dynamic_flag_spec=
9159 whole_archive_flag_spec=
9162 # PORTME fill in a description of your system's linker (not GNU ld)
9165 allow_undefined_flag=unsupported
9166 always_export_symbols=yes
9167 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'
9168 # Note: this linker hardcodes the directories in LIBPATH if there
9169 # are no directories specified by -L.
9170 hardcode_minus_L=yes
9171 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9172 # Neither direct hardcoding nor static linking is supported with a
9174 hardcode_direct=unsupported
9179 if test "$host_cpu" = ia64; then
9180 # On IA64, the linker does run time linking by default, so we don't
9181 # have to do anything special.
9182 aix_use_runtimelinking=no
9183 exp_sym_flag='-Bexport'
9186 # If we're using GNU nm, then we don't want the "-C" option.
9187 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9188 # Also, AIX nm treats weak defined symbols like other global
9189 # defined symbols, whereas GNU nm marks them as "W".
9190 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9191 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9193 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'
9195 aix_use_runtimelinking=no
9197 # Test if we are trying to use run time linking or normal
9198 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9199 # need to do runtime linking.
9200 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9201 for ld_flag in $LDFLAGS; do
9202 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9203 aix_use_runtimelinking=yes
9210 exp_sym_flag='-bexport'
9211 no_entry_flag='-bnoentry'
9214 # When large executables or shared objects are built, AIX ld can
9215 # have problems creating the table of contents. If linking a library
9216 # or program results in "error TOC overflow" add -mminimal-toc to
9217 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9218 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9222 hardcode_direct_absolute=yes
9223 hardcode_libdir_separator=':'
9224 link_all_deplibs=yes
9225 file_list_spec='${wl}-f,'
9227 if test "$GCC" = yes; then
9228 case $host_os in aix4.[012]|aix4.[012].*)
9229 # We only want to do this on AIX 4.2 and lower, the check
9230 # below for broken collect2 doesn't work under 4.3+
9231 collect2name=`${CC} -print-prog-name=collect2`
9232 if test -f "$collect2name" &&
9233 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9235 # We have reworked collect2
9238 # We have old collect2
9239 hardcode_direct=unsupported
9240 # It fails to find uninstalled libraries when the uninstalled
9241 # path is not listed in the libpath. Setting hardcode_minus_L
9242 # to unsupported forces relinking
9243 hardcode_minus_L=yes
9244 hardcode_libdir_flag_spec='-L$libdir'
9245 hardcode_libdir_separator=
9249 shared_flag='-shared'
9250 if test "$aix_use_runtimelinking" = yes; then
9251 shared_flag="$shared_flag "'${wl}-G'
9256 if test "$host_cpu" = ia64; then
9257 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9258 # chokes on -Wl,-G. The following line is correct:
9261 if test "$aix_use_runtimelinking" = yes; then
9262 shared_flag='${wl}-G'
9264 shared_flag='${wl}-bM:SRE'
9269 export_dynamic_flag_spec='${wl}-bexpall'
9270 # It seems that -bexpall does not export symbols beginning with
9271 # underscore (_), so it is better to generate a list of symbols to export.
9272 always_export_symbols=yes
9273 if test "$aix_use_runtimelinking" = yes; then
9274 # Warning - without using the other runtime loading flags (-brtl),
9275 # -berok will link without error, but may produce a broken library.
9276 allow_undefined_flag='-berok'
9277 # Determine the default libpath from the value encoded in an
9279 if test "${lt_cv_aix_libpath+set}" = set; then
9280 aix_libpath=$lt_cv_aix_libpath
9282 if ${lt_cv_aix_libpath_+:} false; then :
9283 $as_echo_n "(cached) " >&6
9285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9286 /* end confdefs.h. */
9296 if ac_fn_c_try_link "$LINENO"; then :
9298 lt_aix_libpath_sed='
9299 /Import File Strings/,/^$/ {
9301 s/^0 *\([^ ]*\) *$/\1/
9305 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9306 # Check for a 64-bit object if we didn't find anything.
9307 if test -z "$lt_cv_aix_libpath_"; then
9308 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9311 rm -f core conftest.err conftest.$ac_objext \
9312 conftest$ac_exeext conftest.$ac_ext
9313 if test -z "$lt_cv_aix_libpath_"; then
9314 lt_cv_aix_libpath_="/usr/lib:/lib"
9319 aix_libpath=$lt_cv_aix_libpath_
9322 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9323 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9325 if test "$host_cpu" = ia64; then
9326 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9327 allow_undefined_flag="-z nodefs"
9328 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"
9330 # Determine the default libpath from the value encoded in an
9332 if test "${lt_cv_aix_libpath+set}" = set; then
9333 aix_libpath=$lt_cv_aix_libpath
9335 if ${lt_cv_aix_libpath_+:} false; then :
9336 $as_echo_n "(cached) " >&6
9338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9339 /* end confdefs.h. */
9349 if ac_fn_c_try_link "$LINENO"; then :
9351 lt_aix_libpath_sed='
9352 /Import File Strings/,/^$/ {
9354 s/^0 *\([^ ]*\) *$/\1/
9358 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9359 # Check for a 64-bit object if we didn't find anything.
9360 if test -z "$lt_cv_aix_libpath_"; then
9361 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9364 rm -f core conftest.err conftest.$ac_objext \
9365 conftest$ac_exeext conftest.$ac_ext
9366 if test -z "$lt_cv_aix_libpath_"; then
9367 lt_cv_aix_libpath_="/usr/lib:/lib"
9372 aix_libpath=$lt_cv_aix_libpath_
9375 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9376 # Warning - without using the other run time loading flags,
9377 # -berok will link without error, but may produce a broken library.
9378 no_undefined_flag=' ${wl}-bernotok'
9379 allow_undefined_flag=' ${wl}-berok'
9380 if test "$with_gnu_ld" = yes; then
9381 # We only use this code for GNU lds that support --whole-archive.
9382 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9384 # Exported symbols can be pulled into shared objects from archives
9385 whole_archive_flag_spec='$convenience'
9387 archive_cmds_need_lc=yes
9388 # This is similar to how AIX traditionally builds its shared libraries.
9389 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'
9397 # see comment about AmigaOS4 .so support
9398 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9399 archive_expsym_cmds=''
9402 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)'
9403 hardcode_libdir_flag_spec='-L$libdir'
9404 hardcode_minus_L=yes
9410 export_dynamic_flag_spec=-rdynamic
9413 cygwin* | mingw* | pw32* | cegcc*)
9414 # When not using gcc, we currently assume that we are using
9415 # Microsoft Visual C++.
9416 # hardcode_libdir_flag_spec is actually meaningless, as there is
9417 # no search path for DLLs.
9418 case $cc_basename in
9421 hardcode_libdir_flag_spec=' '
9422 allow_undefined_flag=unsupported
9423 always_export_symbols=yes
9425 # Tell ltmain to make .lib files, not .a files.
9427 # Tell ltmain to make .dll files, not .so files.
9429 # FIXME: Setting linknames here is a bad hack.
9430 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9431 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9432 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9434 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9436 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9438 # The linker will not automatically build a static lib if we build a DLL.
9439 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9440 enable_shared_with_static_runtimes=yes
9441 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9443 old_postinstall_cmds='chmod 644 $oldlib'
9444 postlink_cmds='lt_outputfile="@OUTPUT@"~
9445 lt_tool_outputfile="@TOOL_OUTPUT@"~
9446 case $lt_outputfile in
9449 lt_outputfile="$lt_outputfile.exe"
9450 lt_tool_outputfile="$lt_tool_outputfile.exe"
9453 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9454 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9455 $RM "$lt_outputfile.manifest";
9459 # Assume MSVC wrapper
9460 hardcode_libdir_flag_spec=' '
9461 allow_undefined_flag=unsupported
9462 # Tell ltmain to make .lib files, not .a files.
9464 # Tell ltmain to make .dll files, not .so files.
9466 # FIXME: Setting linknames here is a bad hack.
9467 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9468 # The linker will automatically build a .lib file if we build a DLL.
9469 old_archive_from_new_cmds='true'
9470 # FIXME: Should let the user specify the lib program.
9471 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9472 enable_shared_with_static_runtimes=yes
9477 darwin* | rhapsody*)
9480 archive_cmds_need_lc=no
9482 hardcode_automatic=yes
9483 hardcode_shlibpath_var=unsupported
9484 if test "$lt_cv_ld_force_load" = "yes"; then
9485 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9487 whole_archive_flag_spec=''
9489 link_all_deplibs=yes
9490 allow_undefined_flag="$_lt_dar_allow_undefined"
9491 case $cc_basename in
9492 ifort*) _lt_dar_can_shared=yes ;;
9493 *) _lt_dar_can_shared=$GCC ;;
9495 if test "$_lt_dar_can_shared" = "yes"; then
9496 output_verbose_link_cmd=func_echo_all
9497 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9498 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9499 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}"
9500 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}"
9509 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9510 hardcode_libdir_flag_spec='-L$libdir'
9511 hardcode_shlibpath_var=no
9518 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9519 # support. Future versions do this automatically, but an explicit c++rt0.o
9520 # does not break anything, and helps significantly (at the cost of a little
9523 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9524 hardcode_libdir_flag_spec='-R$libdir'
9526 hardcode_shlibpath_var=no
9529 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9531 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9533 hardcode_minus_L=yes
9534 hardcode_shlibpath_var=no
9537 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9538 freebsd* | dragonfly*)
9539 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9540 hardcode_libdir_flag_spec='-R$libdir'
9542 hardcode_shlibpath_var=no
9546 if test "$GCC" = yes; then
9547 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9549 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'
9551 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9552 hardcode_libdir_separator=:
9555 # hardcode_minus_L: Not really in the search PATH,
9556 # but as the default location of the library.
9557 hardcode_minus_L=yes
9558 export_dynamic_flag_spec='${wl}-E'
9562 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9563 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9565 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9567 if test "$with_gnu_ld" = no; then
9568 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9569 hardcode_libdir_flag_spec_ld='+b $libdir'
9570 hardcode_libdir_separator=:
9572 hardcode_direct_absolute=yes
9573 export_dynamic_flag_spec='${wl}-E'
9574 # hardcode_minus_L: Not really in the search PATH,
9575 # but as the default location of the library.
9576 hardcode_minus_L=yes
9581 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9584 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9587 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9590 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9596 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9599 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9603 # Older versions of the 11.00 compiler do not understand -b yet
9604 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9606 $as_echo_n "checking if $CC understands -b... " >&6; }
9607 if ${lt_cv_prog_compiler__b+:} false; then :
9608 $as_echo_n "(cached) " >&6
9610 lt_cv_prog_compiler__b=no
9611 save_LDFLAGS="$LDFLAGS"
9612 LDFLAGS="$LDFLAGS -b"
9613 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9614 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9615 # The linker can only warn and ignore the option if not recognized
9616 # So say no if there are warnings
9617 if test -s conftest.err; then
9618 # Append any errors to the config.log.
9619 cat conftest.err 1>&5
9620 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9621 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9622 if diff conftest.exp conftest.er2 >/dev/null; then
9623 lt_cv_prog_compiler__b=yes
9626 lt_cv_prog_compiler__b=yes
9630 LDFLAGS="$save_LDFLAGS"
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9634 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9636 if test x"$lt_cv_prog_compiler__b" = xyes; then
9637 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9639 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9645 if test "$with_gnu_ld" = no; then
9646 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9647 hardcode_libdir_separator=:
9652 hardcode_shlibpath_var=no
9656 hardcode_direct_absolute=yes
9657 export_dynamic_flag_spec='${wl}-E'
9659 # hardcode_minus_L: Not really in the search PATH,
9660 # but as the default location of the library.
9661 hardcode_minus_L=yes
9667 irix5* | irix6* | nonstopux*)
9668 if test "$GCC" = yes; then
9669 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9670 # Try to use the -exported_symbol ld option, if it does not
9671 # work, assume that -exports_file does not work either and
9672 # implicitly export all symbols.
9673 # This should be the same for all languages, so no per-tag cache variable.
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9675 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9676 if ${lt_cv_irix_exported_symbol+:} false; then :
9677 $as_echo_n "(cached) " >&6
9679 save_LDFLAGS="$LDFLAGS"
9680 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9682 /* end confdefs.h. */
9683 int foo (void) { return 0; }
9685 if ac_fn_c_try_link "$LINENO"; then :
9686 lt_cv_irix_exported_symbol=yes
9688 lt_cv_irix_exported_symbol=no
9690 rm -f core conftest.err conftest.$ac_objext \
9691 conftest$ac_exeext conftest.$ac_ext
9692 LDFLAGS="$save_LDFLAGS"
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9695 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
9696 if test "$lt_cv_irix_exported_symbol" = yes; then
9697 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9700 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9701 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9703 archive_cmds_need_lc='no'
9704 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9705 hardcode_libdir_separator=:
9707 link_all_deplibs=yes
9710 netbsd* | netbsdelf*-gnu)
9711 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9712 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9714 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9716 hardcode_libdir_flag_spec='-R$libdir'
9718 hardcode_shlibpath_var=no
9722 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9724 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9725 hardcode_libdir_separator=:
9726 hardcode_shlibpath_var=no
9733 if test -f /usr/libexec/ld.so; then
9735 hardcode_shlibpath_var=no
9736 hardcode_direct_absolute=yes
9737 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9738 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9739 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9740 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9741 export_dynamic_flag_spec='${wl}-E'
9744 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9745 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9746 hardcode_libdir_flag_spec='-R$libdir'
9749 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9750 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9760 hardcode_libdir_flag_spec='-L$libdir'
9761 hardcode_minus_L=yes
9762 allow_undefined_flag=unsupported
9763 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'
9764 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9768 if test "$GCC" = yes; then
9769 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9770 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9772 allow_undefined_flag=' -expect_unresolved \*'
9773 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9775 archive_cmds_need_lc='no'
9776 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9777 hardcode_libdir_separator=:
9780 osf4* | osf5*) # as osf3* with the addition of -msym flag
9781 if test "$GCC" = yes; then
9782 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9783 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9784 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9786 allow_undefined_flag=' -expect_unresolved \*'
9787 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9788 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~
9789 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9791 # Both c and cxx compiler support -rpath directly
9792 hardcode_libdir_flag_spec='-rpath $libdir'
9794 archive_cmds_need_lc='no'
9795 hardcode_libdir_separator=:
9799 no_undefined_flag=' -z defs'
9800 if test "$GCC" = yes; then
9802 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9803 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9804 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9806 case `$CC -V 2>&1` in
9809 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9810 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9811 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9815 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9816 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9817 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9821 hardcode_libdir_flag_spec='-R$libdir'
9822 hardcode_shlibpath_var=no
9824 solaris2.[0-5] | solaris2.[0-5].*) ;;
9826 # The compiler driver will combine and reorder linker options,
9827 # but understands `-z linker_flag'. GCC discards it without `$wl',
9828 # but is careful enough not to reorder.
9829 # Supported since Solaris 2.6 (maybe 2.5.1?)
9830 if test "$GCC" = yes; then
9831 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9833 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9837 link_all_deplibs=yes
9841 if test "x$host_vendor" = xsequent; then
9842 # Use $CC to link under sequent, because it throws in some extra .o
9843 # files that make .init and .fini sections work.
9844 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9846 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9848 hardcode_libdir_flag_spec='-L$libdir'
9850 hardcode_minus_L=yes
9851 hardcode_shlibpath_var=no
9855 case $host_vendor in
9857 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9858 hardcode_direct=yes # is this really true???
9861 ## LD is ld it makes a PLAMLIB
9862 ## CC just makes a GrossModule.
9863 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9864 reload_cmds='$CC -r -o $output$reload_objs'
9868 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9869 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9872 runpath_var='LD_RUN_PATH'
9873 hardcode_shlibpath_var=no
9877 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9878 hardcode_shlibpath_var=no
9879 export_dynamic_flag_spec='-Bexport'
9883 if test -d /usr/nec; then
9884 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9885 hardcode_shlibpath_var=no
9886 runpath_var=LD_RUN_PATH
9887 hardcode_runpath_var=yes
9892 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9893 no_undefined_flag='${wl}-z,text'
9894 archive_cmds_need_lc=no
9895 hardcode_shlibpath_var=no
9896 runpath_var='LD_RUN_PATH'
9898 if test "$GCC" = yes; then
9899 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9900 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9902 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9903 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9907 sysv5* | sco3.2v5* | sco5v6*)
9908 # Note: We can NOT use -z defs as we might desire, because we do not
9909 # link with -lc, and that would cause any symbols used from libc to
9910 # always be unresolved, which means just about no library would
9911 # ever link correctly. If we're not using GNU ld we use -z text
9912 # though, which does catch some bad symbols but isn't as heavy-handed
9914 no_undefined_flag='${wl}-z,text'
9915 allow_undefined_flag='${wl}-z,nodefs'
9916 archive_cmds_need_lc=no
9917 hardcode_shlibpath_var=no
9918 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9919 hardcode_libdir_separator=':'
9920 link_all_deplibs=yes
9921 export_dynamic_flag_spec='${wl}-Bexport'
9922 runpath_var='LD_RUN_PATH'
9924 if test "$GCC" = yes; then
9925 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9926 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9928 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9929 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9934 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9935 hardcode_libdir_flag_spec='-L$libdir'
9936 hardcode_shlibpath_var=no
9944 if test x$host_vendor = xsni; then
9946 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9947 export_dynamic_flag_spec='${wl}-Blargedynsym'
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9954 $as_echo "$ld_shlibs" >&6; }
9955 test "$ld_shlibs" = no && can_build_shared=no
9957 with_gnu_ld=$with_gnu_ld
9974 # Do we need to explicitly link libc?
9976 case "x$archive_cmds_need_lc" in
9978 # Assume -lc should be added
9979 archive_cmds_need_lc=yes
9981 if test "$enable_shared" = yes && test "$GCC" = yes; then
9982 case $archive_cmds in
9984 # FIXME: we may have to deal with multi-command sequences.
9987 # Test whether the compiler implicitly links with -lc since on some
9988 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9989 # to ld, don't add -lc before -lgcc.
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9991 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9992 if ${lt_cv_archive_cmds_need_lc+:} false; then :
9993 $as_echo_n "(cached) " >&6
9996 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9998 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9999 (eval $ac_compile) 2>&5
10001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10002 test $ac_status = 0; } 2>conftest.err; then
10005 libobjs=conftest.$ac_objext
10007 wl=$lt_prog_compiler_wl
10008 pic_flag=$lt_prog_compiler_pic
10014 lt_save_allow_undefined_flag=$allow_undefined_flag
10015 allow_undefined_flag=
10016 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10017 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10020 test $ac_status = 0; }
10022 lt_cv_archive_cmds_need_lc=no
10024 lt_cv_archive_cmds_need_lc=yes
10026 allow_undefined_flag=$lt_save_allow_undefined_flag
10028 cat conftest.err 1>&5
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10034 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10035 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10199 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10201 if test "$GCC" = yes; then
10203 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10204 *) lt_awk_arg="/^libraries:/" ;;
10207 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10208 *) lt_sed_strip_eq="s,=/,/,g" ;;
10210 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10211 case $lt_search_path_spec in
10213 # if the path contains ";" then we assume it to be the separator
10214 # otherwise default to the standard path separator (i.e. ":") - it is
10215 # assumed that no part of a normal pathname contains ";" but that should
10216 # okay in the real world where ";" in dirpaths is itself problematic.
10217 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10220 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10223 # Ok, now we have the path, separated by spaces, we can step through it
10224 # and add multilib dir if necessary.
10225 lt_tmp_lt_search_path_spec=
10226 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10227 for lt_sys_path in $lt_search_path_spec; do
10228 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10229 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10231 test -d "$lt_sys_path" && \
10232 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10235 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10236 BEGIN {RS=" "; FS="/|\n";} {
10239 for (lt_i = NF; lt_i > 0; lt_i--) {
10240 if ($lt_i != "" && $lt_i != ".") {
10241 if ($lt_i == "..") {
10244 if (lt_count == 0) {
10245 lt_foo="/" $lt_i lt_foo;
10252 if (lt_foo != "") { lt_freq[lt_foo]++; }
10253 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10255 # AWK program above erroneously prepends '/' to C:/dos/paths
10258 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10259 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10261 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10263 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10265 library_names_spec=
10266 libname_spec='lib$name'
10270 postuninstall_cmds=
10274 shlibpath_overrides_runpath=unknown
10276 dynamic_linker="$host_os ld.so"
10277 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10278 need_lib_prefix=unknown
10279 hardcode_into_libs=no
10281 # when you set need_version to no, make sure it does not cause -set_version
10282 # flags to be left without arguments
10283 need_version=unknown
10288 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10289 shlibpath_var=LIBPATH
10291 # AIX 3 has no versioning support, so we append a major version to the name.
10292 soname_spec='${libname}${release}${shared_ext}$major'
10299 hardcode_into_libs=yes
10300 if test "$host_cpu" = ia64; then
10301 # AIX 5 supports IA64
10302 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10303 shlibpath_var=LD_LIBRARY_PATH
10305 # With GCC up to 2.95.x, collect2 would create an import file
10306 # for dependence libraries. The import file would start with
10307 # the line `#! .'. This would cause the generated library to
10308 # depend on `.', always an invalid library. This was fixed in
10309 # development snapshots of GCC prior to 3.0.
10311 aix4 | aix4.[01] | aix4.[01].*)
10312 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10314 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10317 can_build_shared=no
10321 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10322 # soname into executable. Probably we can add versioning support to
10323 # collect2, so additional links can be useful in future.
10324 if test "$aix_use_runtimelinking" = yes; then
10325 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10326 # instead of lib<name>.a to let people know that these are not
10327 # typical AIX shared libraries.
10328 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10330 # We preserve .a as extension for shared libraries through AIX4.2
10331 # and later when we are not doing run time linking.
10332 library_names_spec='${libname}${release}.a $libname.a'
10333 soname_spec='${libname}${release}${shared_ext}$major'
10335 shlibpath_var=LIBPATH
10342 # Since July 2007 AmigaOS4 officially supports .so libraries.
10343 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10347 library_names_spec='$libname.ixlibrary $libname.a'
10348 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10349 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10355 library_names_spec='${libname}${shared_ext}'
10356 dynamic_linker="$host_os ld.so"
10357 shlibpath_var=LIBRARY_PATH
10363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10364 soname_spec='${libname}${release}${shared_ext}$major'
10365 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10366 shlibpath_var=LD_LIBRARY_PATH
10367 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10368 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10369 # the default ld.so.conf also contains /usr/contrib/lib and
10370 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10371 # libtool to hard-code these into programs
10374 cygwin* | mingw* | pw32* | cegcc*)
10375 version_type=windows
10380 case $GCC,$cc_basename in
10383 library_names_spec='$libname.dll.a'
10384 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10385 postinstall_cmds='base_file=`basename \${file}`~
10386 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10387 dldir=$destdir/`dirname \$dlpath`~
10388 test -d \$dldir || mkdir -p \$dldir~
10389 $install_prog $dir/$dlname \$dldir/$dlname~
10390 chmod a+x \$dldir/$dlname~
10391 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10392 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10394 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10395 dlpath=$dir/\$dldll~
10397 shlibpath_overrides_runpath=yes
10401 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10402 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10404 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10407 # MinGW DLLs use traditional 'lib' prefix
10408 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10411 # pw32 DLLs use 'pw' prefix rather than 'lib'
10412 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10415 dynamic_linker='Win32 ld.exe'
10420 libname_spec='$name'
10421 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10422 library_names_spec='${libname}.dll.lib'
10426 sys_lib_search_path_spec=
10429 for lt_path in $LIB
10432 # Let DOS variable expansion print the short 8.3 style file name.
10433 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10434 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10437 # Convert to MSYS style.
10438 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10441 # Convert to unix form, then to dos form, then back to unix form
10442 # but this time dos style (no spaces!) so that the unix form looks
10443 # like /cygdrive/c/PROGRA~1:/cygdr...
10444 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10445 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10446 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10449 sys_lib_search_path_spec="$LIB"
10450 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10451 # It is most probably a Windows format PATH.
10452 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10454 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10456 # FIXME: find the short name or the path components, as spaces are
10457 # common. (e.g. "Program Files" -> "PROGRA~1")
10461 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10462 postinstall_cmds='base_file=`basename \${file}`~
10463 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10464 dldir=$destdir/`dirname \$dlpath`~
10465 test -d \$dldir || mkdir -p \$dldir~
10466 $install_prog $dir/$dlname \$dldir/$dlname'
10467 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10468 dlpath=$dir/\$dldll~
10470 shlibpath_overrides_runpath=yes
10471 dynamic_linker='Win32 link.exe'
10475 # Assume MSVC wrapper
10476 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10477 dynamic_linker='Win32 ld.exe'
10480 # FIXME: first we should search . and the directory the executable is in
10484 darwin* | rhapsody*)
10485 dynamic_linker="$host_os dyld"
10486 version_type=darwin
10489 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10490 soname_spec='${libname}${release}${major}$shared_ext'
10491 shlibpath_overrides_runpath=yes
10492 shlibpath_var=DYLD_LIBRARY_PATH
10493 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10495 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10496 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10504 soname_spec='${libname}${release}${shared_ext}$major'
10505 shlibpath_var=LD_LIBRARY_PATH
10512 freebsd* | dragonfly*)
10513 # DragonFly does not have aout. When/if they implement a new
10514 # versioning mechanism, adjust this.
10515 if test -x /usr/bin/objformat; then
10516 objformat=`/usr/bin/objformat`
10519 freebsd[123]*) objformat=aout ;;
10520 *) objformat=elf ;;
10523 version_type=freebsd-$objformat
10524 case $version_type in
10526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10531 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10535 shlibpath_var=LD_LIBRARY_PATH
10538 shlibpath_overrides_runpath=yes
10540 freebsd3.[01]* | freebsdelf3.[01]*)
10541 shlibpath_overrides_runpath=yes
10542 hardcode_into_libs=yes
10544 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10545 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10546 shlibpath_overrides_runpath=no
10547 hardcode_into_libs=yes
10549 *) # from 4.6 on, and DragonFly
10550 shlibpath_overrides_runpath=yes
10551 hardcode_into_libs=yes
10560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10561 soname_spec='${libname}${release}${shared_ext}$major'
10562 shlibpath_var=LD_LIBRARY_PATH
10563 shlibpath_overrides_runpath=no
10564 hardcode_into_libs=yes
10571 dynamic_linker="$host_os runtime_loader"
10572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10573 soname_spec='${libname}${release}${shared_ext}$major'
10574 shlibpath_var=LIBRARY_PATH
10575 shlibpath_overrides_runpath=yes
10576 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10577 hardcode_into_libs=yes
10580 hpux9* | hpux10* | hpux11*)
10581 # Give a soname corresponding to the major version so that dld.sl refuses to
10582 # link against other versions.
10589 hardcode_into_libs=yes
10590 dynamic_linker="$host_os dld.so"
10591 shlibpath_var=LD_LIBRARY_PATH
10592 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10594 soname_spec='${libname}${release}${shared_ext}$major'
10595 if test "X$HPUX_IA64_MODE" = X32; then
10596 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10598 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10600 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10604 hardcode_into_libs=yes
10605 dynamic_linker="$host_os dld.sl"
10606 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10607 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10609 soname_spec='${libname}${release}${shared_ext}$major'
10610 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10611 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10615 dynamic_linker="$host_os dld.sl"
10616 shlibpath_var=SHLIB_PATH
10617 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10619 soname_spec='${libname}${release}${shared_ext}$major'
10622 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10623 postinstall_cmds='chmod 555 $lib'
10624 # or fails outright, so override atomically:
10625 install_override_mode=555
10632 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10633 soname_spec='${libname}${release}${shared_ext}$major'
10634 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10635 shlibpath_var=LD_LIBRARY_PATH
10636 shlibpath_overrides_runpath=no
10637 hardcode_into_libs=yes
10640 irix5* | irix6* | nonstopux*)
10642 nonstopux*) version_type=nonstopux ;;
10644 if test "$lt_cv_prog_gnu_ld" = yes; then
10652 soname_spec='${libname}${release}${shared_ext}$major'
10653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10655 irix5* | nonstopux*)
10656 libsuff= shlibsuff=
10659 case $LD in # libtool.m4 will add one of these switches to LD
10660 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10661 libsuff= shlibsuff= libmagic=32-bit;;
10662 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10663 libsuff=32 shlibsuff=N32 libmagic=N32;;
10664 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10665 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10666 *) libsuff= shlibsuff= libmagic=never-match;;
10670 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10671 shlibpath_overrides_runpath=no
10672 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10673 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10674 hardcode_into_libs=yes
10677 # No shared lib support for Linux oldld, aout, or coff.
10678 linux*oldld* | linux*aout* | linux*coff*)
10682 # This must be Linux ELF.
10683 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10688 soname_spec='${libname}${release}${shared_ext}$major'
10689 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10690 shlibpath_var=LD_LIBRARY_PATH
10691 shlibpath_overrides_runpath=no
10693 # Some binutils ld are patched to set DT_RUNPATH
10694 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10695 $as_echo_n "(cached) " >&6
10697 lt_cv_shlibpath_overrides_runpath=no
10698 save_LDFLAGS=$LDFLAGS
10699 save_libdir=$libdir
10700 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10701 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10703 /* end confdefs.h. */
10713 if ac_fn_c_try_link "$LINENO"; then :
10714 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10715 lt_cv_shlibpath_overrides_runpath=yes
10718 rm -f core conftest.err conftest.$ac_objext \
10719 conftest$ac_exeext conftest.$ac_ext
10720 LDFLAGS=$save_LDFLAGS
10721 libdir=$save_libdir
10725 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10727 # This implies no fast_install, which is unacceptable.
10728 # Some rework will be needed to allow for fast_install
10729 # before this can be enabled.
10730 hardcode_into_libs=yes
10732 # Append ld.so.conf contents to the search path
10733 if test -f /etc/ld.so.conf; then
10734 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10735 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10738 # We used to test for /lib/ld.so.1 and disable shared libraries on
10739 # powerpc, because MkLinux only supported shared libraries with the
10740 # GNU dynamic linker. Since this was broken with cross compilers,
10741 # most powerpc-linux boxes support dynamic linking these days and
10742 # people can always --disable-shared, the test was removed, and we
10743 # assume the GNU/Linux dynamic linker is in use.
10744 dynamic_linker='GNU/Linux ld.so'
10751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10752 soname_spec='${libname}${release}${shared_ext}$major'
10753 shlibpath_var=LD_LIBRARY_PATH
10754 shlibpath_overrides_runpath=no
10755 hardcode_into_libs=yes
10756 dynamic_linker='NetBSD ld.elf_so'
10763 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10765 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10766 dynamic_linker='NetBSD (a.out) ld.so'
10768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10769 soname_spec='${libname}${release}${shared_ext}$major'
10770 dynamic_linker='NetBSD ld.elf_so'
10772 shlibpath_var=LD_LIBRARY_PATH
10773 shlibpath_overrides_runpath=yes
10774 hardcode_into_libs=yes
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10780 shlibpath_var=LD_LIBRARY_PATH
10781 shlibpath_overrides_runpath=yes
10788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10789 soname_spec='${libname}${release}${shared_ext}$major'
10790 shlibpath_var=LD_LIBRARY_PATH
10791 shlibpath_overrides_runpath=no
10792 hardcode_into_libs=yes
10793 dynamic_linker='ldqnx.so'
10798 sys_lib_dlsearch_path_spec="/usr/lib"
10800 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10802 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10803 *) need_version=no ;;
10805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10806 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10807 shlibpath_var=LD_LIBRARY_PATH
10808 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10810 openbsd2.[89] | openbsd2.[89].*)
10811 shlibpath_overrides_runpath=no
10814 shlibpath_overrides_runpath=yes
10818 shlibpath_overrides_runpath=yes
10823 libname_spec='$name'
10826 library_names_spec='$libname${shared_ext} $libname.a'
10827 dynamic_linker='OS/2 ld.exe'
10828 shlibpath_var=LIBPATH
10831 osf3* | osf4* | osf5*)
10835 soname_spec='${libname}${release}${shared_ext}$major'
10836 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10837 shlibpath_var=LD_LIBRARY_PATH
10838 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10839 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851 soname_spec='${libname}${release}${shared_ext}$major'
10852 shlibpath_var=LD_LIBRARY_PATH
10853 shlibpath_overrides_runpath=yes
10854 hardcode_into_libs=yes
10855 # ldd complains unless libraries are executable
10856 postinstall_cmds='chmod +x $lib'
10861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10862 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10863 shlibpath_var=LD_LIBRARY_PATH
10864 shlibpath_overrides_runpath=yes
10865 if test "$with_gnu_ld" = yes; then
10873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10874 soname_spec='${libname}${release}${shared_ext}$major'
10875 shlibpath_var=LD_LIBRARY_PATH
10876 case $host_vendor in
10878 shlibpath_overrides_runpath=no
10880 runpath_var=LD_RUN_PATH
10888 shlibpath_overrides_runpath=no
10889 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10895 if test -d /usr/nec ;then
10897 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10898 soname_spec='$libname${shared_ext}.$major'
10899 shlibpath_var=LD_LIBRARY_PATH
10903 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10904 version_type=freebsd-elf
10907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10908 soname_spec='${libname}${release}${shared_ext}$major'
10909 shlibpath_var=LD_LIBRARY_PATH
10910 shlibpath_overrides_runpath=yes
10911 hardcode_into_libs=yes
10912 if test "$with_gnu_ld" = yes; then
10913 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10915 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10918 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10922 sys_lib_dlsearch_path_spec='/usr/lib'
10926 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10931 shlibpath_var=LD_LIBRARY_PATH
10932 shlibpath_overrides_runpath=no
10933 hardcode_into_libs=yes
10938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10939 soname_spec='${libname}${release}${shared_ext}$major'
10940 shlibpath_var=LD_LIBRARY_PATH
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10948 $as_echo "$dynamic_linker" >&6; }
10949 test "$dynamic_linker" = no && can_build_shared=no
10951 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10952 if test "$GCC" = yes; then
10953 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10956 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10957 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10959 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10960 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11055 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11057 if test -n "$hardcode_libdir_flag_spec" ||
11058 test -n "$runpath_var" ||
11059 test "X$hardcode_automatic" = "Xyes" ; then
11061 # We can hardcode non-existent directories.
11062 if test "$hardcode_direct" != no &&
11063 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11064 # have to relink, otherwise we might link with an installed library
11065 # when we should be linking with a yet-to-be-installed one
11066 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11067 test "$hardcode_minus_L" != no; then
11068 # Linking always hardcodes the temporary library directory.
11069 hardcode_action=relink
11071 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11072 hardcode_action=immediate
11075 # We cannot hardcode anything, or else we can only hardcode existing
11077 hardcode_action=unsupported
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11080 $as_echo "$hardcode_action" >&6; }
11082 if test "$hardcode_action" = relink ||
11083 test "$inherit_rpath" = yes; then
11084 # Fast installation is not supported
11085 enable_fast_install=no
11086 elif test "$shlibpath_overrides_runpath" = yes ||
11087 test "$enable_shared" = no; then
11088 # Fast installation is not necessary
11089 enable_fast_install=needless
11097 if test "x$enable_dlopen" != xyes; then
11098 enable_dlopen=unknown
11099 enable_dlopen_self=unknown
11100 enable_dlopen_self_static=unknown
11107 lt_cv_dlopen="load_add_on"
11109 lt_cv_dlopen_self=yes
11112 mingw* | pw32* | cegcc*)
11113 lt_cv_dlopen="LoadLibrary"
11118 lt_cv_dlopen="dlopen"
11123 # if libdl is installed we need to link against it
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11125 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11126 if ${ac_cv_lib_dl_dlopen+:} false; then :
11127 $as_echo_n "(cached) " >&6
11129 ac_check_lib_save_LIBS=$LIBS
11131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11132 /* end confdefs.h. */
11134 /* Override any GCC internal prototype to avoid an error.
11135 Use char because int might match the return type of a GCC
11136 builtin and then its argument prototype would still apply. */
11149 if ac_fn_c_try_link "$LINENO"; then :
11150 ac_cv_lib_dl_dlopen=yes
11152 ac_cv_lib_dl_dlopen=no
11154 rm -f core conftest.err conftest.$ac_objext \
11155 conftest$ac_exeext conftest.$ac_ext
11156 LIBS=$ac_check_lib_save_LIBS
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11159 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11160 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11161 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11164 lt_cv_dlopen="dyld"
11166 lt_cv_dlopen_self=yes
11173 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11174 if test "x$ac_cv_func_shl_load" = xyes; then :
11175 lt_cv_dlopen="shl_load"
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11178 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11179 if ${ac_cv_lib_dld_shl_load+:} false; then :
11180 $as_echo_n "(cached) " >&6
11182 ac_check_lib_save_LIBS=$LIBS
11184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11185 /* end confdefs.h. */
11187 /* Override any GCC internal prototype to avoid an error.
11188 Use char because int might match the return type of a GCC
11189 builtin and then its argument prototype would still apply. */
11197 return shl_load ();
11202 if ac_fn_c_try_link "$LINENO"; then :
11203 ac_cv_lib_dld_shl_load=yes
11205 ac_cv_lib_dld_shl_load=no
11207 rm -f core conftest.err conftest.$ac_objext \
11208 conftest$ac_exeext conftest.$ac_ext
11209 LIBS=$ac_check_lib_save_LIBS
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11212 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11213 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11214 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11216 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11217 if test "x$ac_cv_func_dlopen" = xyes; then :
11218 lt_cv_dlopen="dlopen"
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11221 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11222 if ${ac_cv_lib_dl_dlopen+:} false; then :
11223 $as_echo_n "(cached) " >&6
11225 ac_check_lib_save_LIBS=$LIBS
11227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11228 /* end confdefs.h. */
11230 /* Override any GCC internal prototype to avoid an error.
11231 Use char because int might match the return type of a GCC
11232 builtin and then its argument prototype would still apply. */
11245 if ac_fn_c_try_link "$LINENO"; then :
11246 ac_cv_lib_dl_dlopen=yes
11248 ac_cv_lib_dl_dlopen=no
11250 rm -f core conftest.err conftest.$ac_objext \
11251 conftest$ac_exeext conftest.$ac_ext
11252 LIBS=$ac_check_lib_save_LIBS
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11255 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11256 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11257 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11260 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11261 if ${ac_cv_lib_svld_dlopen+:} false; then :
11262 $as_echo_n "(cached) " >&6
11264 ac_check_lib_save_LIBS=$LIBS
11265 LIBS="-lsvld $LIBS"
11266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11267 /* end confdefs.h. */
11269 /* Override any GCC internal prototype to avoid an error.
11270 Use char because int might match the return type of a GCC
11271 builtin and then its argument prototype would still apply. */
11284 if ac_fn_c_try_link "$LINENO"; then :
11285 ac_cv_lib_svld_dlopen=yes
11287 ac_cv_lib_svld_dlopen=no
11289 rm -f core conftest.err conftest.$ac_objext \
11290 conftest$ac_exeext conftest.$ac_ext
11291 LIBS=$ac_check_lib_save_LIBS
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11294 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11295 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11296 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11299 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11300 if ${ac_cv_lib_dld_dld_link+:} false; then :
11301 $as_echo_n "(cached) " >&6
11303 ac_check_lib_save_LIBS=$LIBS
11305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11306 /* end confdefs.h. */
11308 /* Override any GCC internal prototype to avoid an error.
11309 Use char because int might match the return type of a GCC
11310 builtin and then its argument prototype would still apply. */
11318 return dld_link ();
11323 if ac_fn_c_try_link "$LINENO"; then :
11324 ac_cv_lib_dld_dld_link=yes
11326 ac_cv_lib_dld_dld_link=no
11328 rm -f core conftest.err conftest.$ac_objext \
11329 conftest$ac_exeext conftest.$ac_ext
11330 LIBS=$ac_check_lib_save_LIBS
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11333 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11334 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11335 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11356 if test "x$lt_cv_dlopen" != xno; then
11362 case $lt_cv_dlopen in
11364 save_CPPFLAGS="$CPPFLAGS"
11365 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11367 save_LDFLAGS="$LDFLAGS"
11368 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11371 LIBS="$lt_cv_dlopen_libs $LIBS"
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11374 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11375 if ${lt_cv_dlopen_self+:} false; then :
11376 $as_echo_n "(cached) " >&6
11378 if test "$cross_compiling" = yes; then :
11379 lt_cv_dlopen_self=cross
11381 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11382 lt_status=$lt_dlunknown
11383 cat > conftest.$ac_ext <<_LT_EOF
11384 #line $LINENO "configure"
11385 #include "confdefs.h"
11394 # define LT_DLGLOBAL RTLD_GLOBAL
11397 # define LT_DLGLOBAL DL_GLOBAL
11399 # define LT_DLGLOBAL 0
11403 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11404 find out it does not work in some platform. */
11405 #ifndef LT_DLLAZY_OR_NOW
11407 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11410 # define LT_DLLAZY_OR_NOW DL_LAZY
11413 # define LT_DLLAZY_OR_NOW RTLD_NOW
11416 # define LT_DLLAZY_OR_NOW DL_NOW
11418 # define LT_DLLAZY_OR_NOW 0
11425 /* When -fvisbility=hidden is used, assume the code has been annotated
11426 correspondingly for the symbols needed. */
11427 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11428 int fnord () __attribute__((visibility("default")));
11431 int fnord () { return 42; }
11434 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11435 int status = $lt_dlunknown;
11439 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11442 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11443 else puts (dlerror ());
11445 /* dlclose (self); */
11453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11454 (eval $ac_link) 2>&5
11456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11457 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11458 (./conftest; exit; ) >&5 2>/dev/null
11460 case x$lt_status in
11461 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11462 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11463 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11466 # compilation failed
11467 lt_cv_dlopen_self=no
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11475 $as_echo "$lt_cv_dlopen_self" >&6; }
11477 if test "x$lt_cv_dlopen_self" = xyes; then
11478 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11480 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11481 if ${lt_cv_dlopen_self_static+:} false; then :
11482 $as_echo_n "(cached) " >&6
11484 if test "$cross_compiling" = yes; then :
11485 lt_cv_dlopen_self_static=cross
11487 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11488 lt_status=$lt_dlunknown
11489 cat > conftest.$ac_ext <<_LT_EOF
11490 #line $LINENO "configure"
11491 #include "confdefs.h"
11500 # define LT_DLGLOBAL RTLD_GLOBAL
11503 # define LT_DLGLOBAL DL_GLOBAL
11505 # define LT_DLGLOBAL 0
11509 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11510 find out it does not work in some platform. */
11511 #ifndef LT_DLLAZY_OR_NOW
11513 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11516 # define LT_DLLAZY_OR_NOW DL_LAZY
11519 # define LT_DLLAZY_OR_NOW RTLD_NOW
11522 # define LT_DLLAZY_OR_NOW DL_NOW
11524 # define LT_DLLAZY_OR_NOW 0
11531 /* When -fvisbility=hidden is used, assume the code has been annotated
11532 correspondingly for the symbols needed. */
11533 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11534 int fnord () __attribute__((visibility("default")));
11537 int fnord () { return 42; }
11540 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11541 int status = $lt_dlunknown;
11545 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11548 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11549 else puts (dlerror ());
11551 /* dlclose (self); */
11559 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11560 (eval $ac_link) 2>&5
11562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11563 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11564 (./conftest; exit; ) >&5 2>/dev/null
11566 case x$lt_status in
11567 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11568 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11569 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11572 # compilation failed
11573 lt_cv_dlopen_self_static=no
11580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11581 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11584 CPPFLAGS="$save_CPPFLAGS"
11585 LDFLAGS="$save_LDFLAGS"
11590 case $lt_cv_dlopen_self in
11591 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11592 *) enable_dlopen_self=unknown ;;
11595 case $lt_cv_dlopen_self_static in
11596 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11597 *) enable_dlopen_self_static=unknown ;;
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11620 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11621 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11622 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11623 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11625 $as_echo "yes" >&6; }
11627 # FIXME - insert some real tests, host_os isn't really good enough
11630 if test -n "$STRIP" ; then
11631 striplib="$STRIP -x"
11632 old_striplib="$STRIP -S"
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11634 $as_echo "yes" >&6; }
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11637 $as_echo "no" >&6; }
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11642 $as_echo "no" >&6; }
11658 # Report which library types will actually be built
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11660 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11662 $as_echo "$can_build_shared" >&6; }
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11665 $as_echo_n "checking whether to build shared libraries... " >&6; }
11666 test "$can_build_shared" = "no" && enable_shared=no
11668 # On AIX, shared libraries and static libraries use the same namespace, and
11669 # are all built from PIC.
11672 test "$enable_shared" = yes && enable_static=no
11673 if test -n "$RANLIB"; then
11674 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11675 postinstall_cmds='$RANLIB $lib'
11680 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11681 test "$enable_shared" = yes && enable_static=no
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11686 $as_echo "$enable_shared" >&6; }
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11689 $as_echo_n "checking whether to build static libraries... " >&6; }
11690 # Make sure either enable_shared or enable_static is yes.
11691 test "$enable_shared" = yes || enable_static=yes
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11693 $as_echo "$enable_static" >&6; }
11700 ac_cpp='$CPP $CPPFLAGS'
11701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11719 ac_config_commands="$ac_config_commands libtool"
11724 # Only expand once:
11729 ac_cpp='$CPP $CPPFLAGS'
11730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11733 if test -n "$ac_tool_prefix"; then
11734 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11735 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11737 $as_echo_n "checking for $ac_word... " >&6; }
11738 if ${ac_cv_prog_CC+:} false; then :
11739 $as_echo_n "(cached) " >&6
11741 if test -n "$CC"; then
11742 ac_cv_prog_CC="$CC" # Let the user override the test.
11744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11745 for as_dir in $PATH
11748 test -z "$as_dir" && as_dir=.
11749 for ac_exec_ext in '' $ac_executable_extensions; do
11750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11751 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11762 if test -n "$CC"; then
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11764 $as_echo "$CC" >&6; }
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11767 $as_echo "no" >&6; }
11772 if test -z "$ac_cv_prog_CC"; then
11774 # Extract the first word of "gcc", so it can be a program name with args.
11775 set dummy gcc; ac_word=$2
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11777 $as_echo_n "checking for $ac_word... " >&6; }
11778 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11779 $as_echo_n "(cached) " >&6
11781 if test -n "$ac_ct_CC"; then
11782 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11785 for as_dir in $PATH
11788 test -z "$as_dir" && as_dir=.
11789 for ac_exec_ext in '' $ac_executable_extensions; do
11790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11791 ac_cv_prog_ac_ct_CC="gcc"
11792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11801 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11802 if test -n "$ac_ct_CC"; then
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11804 $as_echo "$ac_ct_CC" >&6; }
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11807 $as_echo "no" >&6; }
11810 if test "x$ac_ct_CC" = x; then
11813 case $cross_compiling:$ac_tool_warned in
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11817 ac_tool_warned=yes ;;
11822 CC="$ac_cv_prog_CC"
11825 if test -z "$CC"; then
11826 if test -n "$ac_tool_prefix"; then
11827 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11828 set dummy ${ac_tool_prefix}cc; ac_word=$2
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11830 $as_echo_n "checking for $ac_word... " >&6; }
11831 if ${ac_cv_prog_CC+:} false; then :
11832 $as_echo_n "(cached) " >&6
11834 if test -n "$CC"; then
11835 ac_cv_prog_CC="$CC" # Let the user override the test.
11837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11838 for as_dir in $PATH
11841 test -z "$as_dir" && as_dir=.
11842 for ac_exec_ext in '' $ac_executable_extensions; do
11843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11844 ac_cv_prog_CC="${ac_tool_prefix}cc"
11845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11855 if test -n "$CC"; then
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11857 $as_echo "$CC" >&6; }
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11860 $as_echo "no" >&6; }
11866 if test -z "$CC"; then
11867 # Extract the first word of "cc", so it can be a program name with args.
11868 set dummy cc; ac_word=$2
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11870 $as_echo_n "checking for $ac_word... " >&6; }
11871 if ${ac_cv_prog_CC+:} false; then :
11872 $as_echo_n "(cached) " >&6
11874 if test -n "$CC"; then
11875 ac_cv_prog_CC="$CC" # Let the user override the test.
11877 ac_prog_rejected=no
11878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11879 for as_dir in $PATH
11882 test -z "$as_dir" && as_dir=.
11883 for ac_exec_ext in '' $ac_executable_extensions; do
11884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11885 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11886 ac_prog_rejected=yes
11890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11897 if test $ac_prog_rejected = yes; then
11898 # We found a bogon in the path, so make sure we never use it.
11899 set dummy $ac_cv_prog_CC
11901 if test $# != 0; then
11902 # We chose a different compiler from the bogus one.
11903 # However, it has the same basename, so the bogon will be chosen
11904 # first if we set CC to just the basename; use the full file name.
11906 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11912 if test -n "$CC"; then
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11914 $as_echo "$CC" >&6; }
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11917 $as_echo "no" >&6; }
11922 if test -z "$CC"; then
11923 if test -n "$ac_tool_prefix"; then
11924 for ac_prog in cl.exe
11926 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11927 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11929 $as_echo_n "checking for $ac_word... " >&6; }
11930 if ${ac_cv_prog_CC+:} false; then :
11931 $as_echo_n "(cached) " >&6
11933 if test -n "$CC"; then
11934 ac_cv_prog_CC="$CC" # Let the user override the test.
11936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11937 for as_dir in $PATH
11940 test -z "$as_dir" && as_dir=.
11941 for ac_exec_ext in '' $ac_executable_extensions; do
11942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11943 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11954 if test -n "$CC"; then
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11956 $as_echo "$CC" >&6; }
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11959 $as_echo "no" >&6; }
11963 test -n "$CC" && break
11966 if test -z "$CC"; then
11968 for ac_prog in cl.exe
11970 # Extract the first word of "$ac_prog", so it can be a program name with args.
11971 set dummy $ac_prog; ac_word=$2
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11973 $as_echo_n "checking for $ac_word... " >&6; }
11974 if ${ac_cv_prog_ac_ct_CC+:} false; then :
11975 $as_echo_n "(cached) " >&6
11977 if test -n "$ac_ct_CC"; then
11978 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11981 for as_dir in $PATH
11984 test -z "$as_dir" && as_dir=.
11985 for ac_exec_ext in '' $ac_executable_extensions; do
11986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11987 ac_cv_prog_ac_ct_CC="$ac_prog"
11988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11997 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11998 if test -n "$ac_ct_CC"; then
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12000 $as_echo "$ac_ct_CC" >&6; }
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12003 $as_echo "no" >&6; }
12007 test -n "$ac_ct_CC" && break
12010 if test "x$ac_ct_CC" = x; then
12013 case $cross_compiling:$ac_tool_warned in
12015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12017 ac_tool_warned=yes ;;
12026 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12027 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12028 as_fn_error $? "no acceptable C compiler found in \$PATH
12029 See \`config.log' for more details" "$LINENO" 5; }
12031 # Provide some information about the compiler.
12032 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12035 for ac_option in --version -v -V -qversion; do
12036 { { ac_try="$ac_compiler $ac_option >&5"
12037 case "(($ac_try" in
12038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12039 *) ac_try_echo=$ac_try;;
12041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12042 $as_echo "$ac_try_echo"; } >&5
12043 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12045 if test -s conftest.err; then
12047 ... rest of stderr output deleted ...
12048 10q' conftest.err >conftest.er1
12049 cat conftest.er1 >&5
12051 rm -f conftest.er1 conftest.err
12052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12053 test $ac_status = 0; }
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12057 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12058 if ${ac_cv_c_compiler_gnu+:} false; then :
12059 $as_echo_n "(cached) " >&6
12061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12062 /* end confdefs.h. */
12075 if ac_fn_c_try_compile "$LINENO"; then :
12076 ac_compiler_gnu=yes
12080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12081 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12085 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
12086 if test $ac_compiler_gnu = yes; then
12091 ac_test_CFLAGS=${CFLAGS+set}
12092 ac_save_CFLAGS=$CFLAGS
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12094 $as_echo_n "checking whether $CC accepts -g... " >&6; }
12095 if ${ac_cv_prog_cc_g+:} false; then :
12096 $as_echo_n "(cached) " >&6
12098 ac_save_c_werror_flag=$ac_c_werror_flag
12099 ac_c_werror_flag=yes
12102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12103 /* end confdefs.h. */
12113 if ac_fn_c_try_compile "$LINENO"; then :
12114 ac_cv_prog_cc_g=yes
12117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12118 /* end confdefs.h. */
12128 if ac_fn_c_try_compile "$LINENO"; then :
12131 ac_c_werror_flag=$ac_save_c_werror_flag
12133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12144 if ac_fn_c_try_compile "$LINENO"; then :
12145 ac_cv_prog_cc_g=yes
12147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12152 ac_c_werror_flag=$ac_save_c_werror_flag
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12155 $as_echo "$ac_cv_prog_cc_g" >&6; }
12156 if test "$ac_test_CFLAGS" = set; then
12157 CFLAGS=$ac_save_CFLAGS
12158 elif test $ac_cv_prog_cc_g = yes; then
12159 if test "$GCC" = yes; then
12165 if test "$GCC" = yes; then
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12172 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12173 if ${ac_cv_prog_cc_c89+:} false; then :
12174 $as_echo_n "(cached) " >&6
12176 ac_cv_prog_cc_c89=no
12178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12179 /* end confdefs.h. */
12180 #include <stdarg.h>
12182 #include <sys/types.h>
12183 #include <sys/stat.h>
12184 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12185 struct buf { int x; };
12186 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12187 static char *e (p, i)
12193 static char *f (char * (*g) (char **, int), char **p, ...)
12198 s = g (p, va_arg (v,int));
12203 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12204 function prototypes and stuff, but not '\xHH' hex character constants.
12205 These don't provoke an error unfortunately, instead are silently treated
12206 as 'x'. The following induces an error, until -std is added to get
12207 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12208 array size at least. It's necessary to write '\x00'==0 to get something
12209 that's true only with -std. */
12210 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12212 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12213 inside strings and character constants. */
12215 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12217 int test (int i, double x);
12218 struct s1 {int (*f) (int a);};
12219 struct s2 {int (*f) (double a);};
12220 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12226 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12231 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12232 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12234 CC="$ac_save_CC $ac_arg"
12235 if ac_fn_c_try_compile "$LINENO"; then :
12236 ac_cv_prog_cc_c89=$ac_arg
12238 rm -f core conftest.err conftest.$ac_objext
12239 test "x$ac_cv_prog_cc_c89" != "xno" && break
12241 rm -f conftest.$ac_ext
12246 case "x$ac_cv_prog_cc_c89" in
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12249 $as_echo "none needed" >&6; } ;;
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12252 $as_echo "unsupported" >&6; } ;;
12254 CC="$CC $ac_cv_prog_cc_c89"
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12256 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12258 if test "x$ac_cv_prog_cc_c89" != xno; then :
12263 ac_cpp='$CPP $CPPFLAGS'
12264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12268 depcc="$CC" am_compiler_list=
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12271 $as_echo_n "checking dependency style of $depcc... " >&6; }
12272 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12273 $as_echo_n "(cached) " >&6
12275 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12276 # We make a subdir and do the tests there. Otherwise we can end up
12277 # making bogus files that we don't know about and never remove. For
12278 # instance it was reported that on HP-UX the gcc test will end up
12279 # making a dummy file named `D' -- because `-MD' means `put the output
12282 # Copy depcomp to subdir because otherwise we won't find it if we're
12283 # using a relative directory.
12284 cp "$am_depcomp" conftest.dir
12286 # We will build objects and dependencies in a subdirectory because
12287 # it helps to detect inapplicable dependency modes. For instance
12288 # both Tru64's cc and ICC support -MD to output dependencies as a
12289 # side effect of compilation, but ICC will put the dependencies in
12290 # the current directory while Tru64 will put them in the object
12294 am_cv_CC_dependencies_compiler_type=none
12295 if test "$am_compiler_list" = ""; then
12296 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12298 am__universal=false
12299 case " $depcc " in #(
12300 *\ -arch\ *\ -arch\ *) am__universal=true ;;
12303 for depmode in $am_compiler_list; do
12304 # Setup a source with many dependencies, because some compilers
12305 # like to wrap large dependency lists on column 80 (with \), and
12306 # we should not choose a depcomp mode which is confused by this.
12308 # We need to recreate these files for each test, as the compiler may
12309 # overwrite some of them when testing with obscure command lines.
12310 # This happens at least with the AIX C compiler.
12312 for i in 1 2 3 4 5 6; do
12313 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12314 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12315 # Solaris 8's {/usr,}/bin/sh.
12316 touch sub/conftst$i.h
12318 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12320 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12321 # mode. It turns out that the SunPro C++ compiler does not properly
12322 # handle `-M -o', and we need to detect this. Also, some Intel
12323 # versions had trouble with output in subdirs
12324 am__obj=sub/conftest.${OBJEXT-o}
12325 am__minus_obj="-o $am__obj"
12328 # This depmode causes a compiler race in universal mode.
12329 test "$am__universal" = false || continue
12332 # after this tag, mechanisms are not by side-effect, so they'll
12333 # only be used when explicitly requested
12334 if test "x$enable_dependency_tracking" = xyes; then
12340 msvisualcpp | msvcmsys)
12341 # This compiler won't grok `-c -o', but also, the minuso test has
12342 # not run yet. These depmodes are late enough in the game, and
12343 # so weak that their functioning should not be impacted.
12344 am__obj=conftest.${OBJEXT-o}
12349 if depmode=$depmode \
12350 source=sub/conftest.c object=$am__obj \
12351 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12352 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12353 >/dev/null 2>conftest.err &&
12354 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12355 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12356 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12357 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12358 # icc doesn't choke on unknown options, it will just issue warnings
12359 # or remarks (even with -Werror). So we grep stderr for any message
12360 # that says an option was ignored or not supported.
12361 # When given -MP, icc 7.0 and 7.1 complain thusly:
12362 # icc: Command line warning: ignoring option '-M'; no argument required
12363 # The diagnosis changed in icc 8.0:
12364 # icc: Command line remark: option '-MP' not supported
12365 if (grep 'ignoring option' conftest.err ||
12366 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12367 am_cv_CC_dependencies_compiler_type=$depmode
12374 rm -rf conftest.dir
12376 am_cv_CC_dependencies_compiler_type=none
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12381 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12382 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12385 test "x$enable_dependency_tracking" != xno \
12386 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12387 am__fastdepCC_TRUE=
12388 am__fastdepCC_FALSE='#'
12390 am__fastdepCC_TRUE='#'
12391 am__fastdepCC_FALSE=
12395 case $ac_cv_prog_cc_stdc in #(
12397 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
12400 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
12401 if ${ac_cv_prog_cc_c99+:} false; then :
12402 $as_echo_n "(cached) " >&6
12404 ac_cv_prog_cc_c99=no
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h. */
12408 #include <stdarg.h>
12409 #include <stdbool.h>
12410 #include <stdlib.h>
12414 // Check varargs macros. These examples are taken from C99 6.10.3.5.
12415 #define debug(...) fprintf (stderr, __VA_ARGS__)
12416 #define showlist(...) puts (#__VA_ARGS__)
12417 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
12419 test_varargs_macros (void)
12424 debug ("X = %d\n", x);
12425 showlist (The first, second, and third items.);
12426 report (x>y, "x is %d but y is %d", x, y);
12429 // Check long long types.
12430 #define BIG64 18446744073709551615ull
12431 #define BIG32 4294967295ul
12432 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
12434 your preprocessor is broken;
12438 your preprocessor is broken;
12440 static long long int bignum = -9223372036854775807LL;
12441 static unsigned long long int ubignum = BIG64;
12443 struct incomplete_array
12449 struct named_init {
12451 const wchar_t *name;
12455 typedef const char *ccp;
12458 test_restrict (ccp restrict text)
12460 // See if C++-style comments work.
12461 // Iterate through items via the restricted pointer.
12462 // Also check for declarations in for loops.
12463 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
12468 // Check varargs and va_copy.
12470 test_varargs (const char *format, ...)
12473 va_start (args, format);
12475 va_copy (args_copy, args);
12485 case 's': // string
12486 str = va_arg (args_copy, const char *);
12489 number = va_arg (args_copy, int);
12492 fnumber = va_arg (args_copy, double);
12498 va_end (args_copy);
12507 _Bool success = false;
12510 if (test_restrict ("String literal") == 0)
12512 char *restrict newvar = "Another string";
12515 test_varargs ("s, d' f .", "string", 65, 34.234);
12516 test_varargs_macros ();
12518 // Check flexible array members.
12519 struct incomplete_array *ia =
12520 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
12522 for (int i = 0; i < ia->datasize; ++i)
12523 ia->data[i] = i * 1.234;
12525 // Check named initializers.
12526 struct named_init ni = {
12528 .name = L"Test wide string",
12529 .average = 543.34343,
12534 int dynamic_array[ni.number];
12535 dynamic_array[ni.number - 1] = 543;
12537 // work around unused variable warnings
12538 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
12539 || dynamic_array[ni.number - 1] != 543);
12545 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
12547 CC="$ac_save_CC $ac_arg"
12548 if ac_fn_c_try_compile "$LINENO"; then :
12549 ac_cv_prog_cc_c99=$ac_arg
12551 rm -f core conftest.err conftest.$ac_objext
12552 test "x$ac_cv_prog_cc_c99" != "xno" && break
12554 rm -f conftest.$ac_ext
12559 case "x$ac_cv_prog_cc_c99" in
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12562 $as_echo "none needed" >&6; } ;;
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12565 $as_echo "unsupported" >&6; } ;;
12567 CC="$CC $ac_cv_prog_cc_c99"
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
12569 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
12571 if test "x$ac_cv_prog_cc_c99" != xno; then :
12572 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12575 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12576 if ${ac_cv_prog_cc_c89+:} false; then :
12577 $as_echo_n "(cached) " >&6
12579 ac_cv_prog_cc_c89=no
12581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12582 /* end confdefs.h. */
12583 #include <stdarg.h>
12585 #include <sys/types.h>
12586 #include <sys/stat.h>
12587 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12588 struct buf { int x; };
12589 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12590 static char *e (p, i)
12596 static char *f (char * (*g) (char **, int), char **p, ...)
12601 s = g (p, va_arg (v,int));
12606 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12607 function prototypes and stuff, but not '\xHH' hex character constants.
12608 These don't provoke an error unfortunately, instead are silently treated
12609 as 'x'. The following induces an error, until -std is added to get
12610 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12611 array size at least. It's necessary to write '\x00'==0 to get something
12612 that's true only with -std. */
12613 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12615 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12616 inside strings and character constants. */
12618 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12620 int test (int i, double x);
12621 struct s1 {int (*f) (int a);};
12622 struct s2 {int (*f) (double a);};
12623 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12629 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12634 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12635 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12637 CC="$ac_save_CC $ac_arg"
12638 if ac_fn_c_try_compile "$LINENO"; then :
12639 ac_cv_prog_cc_c89=$ac_arg
12641 rm -f core conftest.err conftest.$ac_objext
12642 test "x$ac_cv_prog_cc_c89" != "xno" && break
12644 rm -f conftest.$ac_ext
12649 case "x$ac_cv_prog_cc_c89" in
12651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12652 $as_echo "none needed" >&6; } ;;
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12655 $as_echo "unsupported" >&6; } ;;
12657 CC="$CC $ac_cv_prog_cc_c89"
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12659 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12661 if test "x$ac_cv_prog_cc_c89" != xno; then :
12662 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
12664 ac_cv_prog_cc_stdc=no
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
12671 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
12672 if ${ac_cv_prog_cc_stdc+:} false; then :
12673 $as_echo_n "(cached) " >&6
12676 case $ac_cv_prog_cc_stdc in #(
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12679 $as_echo "unsupported" >&6; } ;; #(
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12682 $as_echo "none needed" >&6; } ;; #(
12684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
12685 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
12689 if test "x$CC" != xcc; then
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
12691 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
12694 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
12696 set dummy $CC; ac_cc=`$as_echo "$2" |
12697 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12698 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
12699 $as_echo_n "(cached) " >&6
12701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12702 /* end confdefs.h. */
12712 # Make sure it works both with $CC and with simple cc.
12713 # We do the test twice because some compilers refuse to overwrite an
12714 # existing .o file with -o, though they will create one.
12715 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12717 if { { case "(($ac_try" in
12718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12719 *) ac_try_echo=$ac_try;;
12721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12722 $as_echo "$ac_try_echo"; } >&5
12723 (eval "$ac_try") 2>&5
12725 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12726 test $ac_status = 0; } &&
12727 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12729 *) ac_try_echo=$ac_try;;
12731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12732 $as_echo "$ac_try_echo"; } >&5
12733 (eval "$ac_try") 2>&5
12735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12736 test $ac_status = 0; };
12738 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
12739 if test "x$CC" != xcc; then
12740 # Test first that cc exists at all.
12741 if { ac_try='cc -c conftest.$ac_ext >&5'
12742 { { case "(($ac_try" in
12743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12744 *) ac_try_echo=$ac_try;;
12746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12747 $as_echo "$ac_try_echo"; } >&5
12748 (eval "$ac_try") 2>&5
12750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12751 test $ac_status = 0; }; }; then
12752 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
12754 if { { case "(($ac_try" in
12755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12756 *) ac_try_echo=$ac_try;;
12758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12759 $as_echo "$ac_try_echo"; } >&5
12760 (eval "$ac_try") 2>&5
12762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12763 test $ac_status = 0; } &&
12764 test -f conftest2.$ac_objext && { { case "(($ac_try" in
12765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12766 *) ac_try_echo=$ac_try;;
12768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12769 $as_echo "$ac_try_echo"; } >&5
12770 (eval "$ac_try") 2>&5
12772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12773 test $ac_status = 0; };
12778 # cc exists but doesn't like -o.
12779 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12784 eval ac_cv_prog_cc_${ac_cc}_c_o=no
12786 rm -f core conftest*
12789 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12791 $as_echo "yes" >&6; }
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12794 $as_echo "no" >&6; }
12796 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
12800 # FIXME: we rely on the cache variable name because
12801 # there is no other way.
12803 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
12804 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
12805 if test "$am_t" != yes; then
12806 # Losing compiler, so override with the script.
12807 # FIXME: It is wrong to rewrite CC.
12808 # But if we don't then we get into trouble of one sort or another.
12809 # A longer-term fix would be to have automake use am__CC in this case,
12810 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12811 CC="$am_aux_dir/compile $CC"
12817 # Check whether --enable-gcov was given.
12818 if test "${enable_gcov+set}" = set; then :
12819 enableval=$enable_gcov; enable_gcov=$enableval
12824 if test x$enable_gcov = xyes ; then
12825 if test "x$GCC" != "xyes"
12827 as_fn_error $? "gcov only works if gcc is used" "$LINENO" 5
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5
12832 $as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; }
12834 save_CFLAGS="$CFLAGS"
12835 CFLAGS="$CFLAGS "-fprofile-arcs""
12837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12838 /* end confdefs.h. */
12848 if ac_fn_c_try_compile "$LINENO"; then :
12853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12854 CFLAGS="$save_CFLAGS"
12856 if test "X$flag_ok" = Xyes ; then
12857 GCOV_CFLAGS="$GCOV_CFLAGS -fprofile-arcs"
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
12864 $as_echo "$flag_ok" >&6; }
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5
12868 $as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; }
12870 save_CFLAGS="$CFLAGS"
12871 CFLAGS="$CFLAGS "-ftest-coverage""
12873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12874 /* end confdefs.h. */
12884 if ac_fn_c_try_compile "$LINENO"; then :
12889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12890 CFLAGS="$save_CFLAGS"
12892 if test "X$flag_ok" = Xyes ; then
12893 GCOV_CFLAGS="$GCOV_CFLAGS -ftest-coverage"
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
12900 $as_echo "$flag_ok" >&6; }
12902 GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'`
12906 GCOV=`echo $CC | sed s/gcc/gcov/g`
12909 GST_GCOV_ENABLED=yes
12911 cat >>confdefs.h <<_ACEOF
12912 #define GST_GCOV_ENABLED 1
12915 if test "x$GST_GCOV_ENABLED" = "xyes"
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5
12926 $as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;}
12929 if test x$enable_gcov = xyes; then
12930 GST_GCOV_ENABLED_TRUE=
12931 GST_GCOV_ENABLED_FALSE='#'
12933 GST_GCOV_ENABLED_TRUE='#'
12934 GST_GCOV_ENABLED_FALSE=
12943 # Find any Python interpreter.
12944 if test -z "$PYTHON"; then
12945 for ac_prog in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
12947 # Extract the first word of "$ac_prog", so it can be a program name with args.
12948 set dummy $ac_prog; ac_word=$2
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12950 $as_echo_n "checking for $ac_word... " >&6; }
12951 if ${ac_cv_path_PYTHON+:} false; then :
12952 $as_echo_n "(cached) " >&6
12956 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
12959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12960 for as_dir in $PATH
12963 test -z "$as_dir" && as_dir=.
12964 for ac_exec_ext in '' $ac_executable_extensions; do
12965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12966 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
12967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12977 PYTHON=$ac_cv_path_PYTHON
12978 if test -n "$PYTHON"; then
12979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
12980 $as_echo "$PYTHON" >&6; }
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12983 $as_echo "no" >&6; }
12987 test -n "$PYTHON" && break
12989 test -n "$PYTHON" || PYTHON=":"
12992 am_display_PYTHON=python
12995 if test "$PYTHON" = :; then
12996 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
13000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
13001 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
13002 if ${am_cv_python_version+:} false; then :
13003 $as_echo_n "(cached) " >&6
13005 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
13008 $as_echo "$am_cv_python_version" >&6; }
13009 PYTHON_VERSION=$am_cv_python_version
13013 PYTHON_PREFIX='${prefix}'
13015 PYTHON_EXEC_PREFIX='${exec_prefix}'
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
13020 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
13021 if ${am_cv_python_platform+:} false; then :
13022 $as_echo_n "(cached) " >&6
13024 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
13027 $as_echo "$am_cv_python_platform" >&6; }
13028 PYTHON_PLATFORM=$am_cv_python_platform
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
13034 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
13035 if ${am_cv_python_pythondir+:} false; then :
13036 $as_echo_n "(cached) " >&6
13038 if test "x$prefix" = xNONE
13040 am_py_prefix=$ac_default_prefix
13042 am_py_prefix=$prefix
13044 am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
13045 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
13046 case $am_cv_python_pythondir in
13048 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
13049 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
13052 case $am_py_prefix in
13055 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
13063 $as_echo "$am_cv_python_pythondir" >&6; }
13064 pythondir=$am_cv_python_pythondir
13068 pkgpythondir=\${pythondir}/$PACKAGE
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
13072 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
13073 if ${am_cv_python_pyexecdir+:} false; then :
13074 $as_echo_n "(cached) " >&6
13076 if test "x$exec_prefix" = xNONE
13078 am_py_exec_prefix=$am_py_prefix
13080 am_py_exec_prefix=$exec_prefix
13082 am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
13083 echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
13084 case $am_cv_python_pyexecdir in
13085 $am_py_exec_prefix*)
13086 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
13087 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
13090 case $am_py_exec_prefix in
13093 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
13101 $as_echo "$am_cv_python_pyexecdir" >&6; }
13102 pyexecdir=$am_cv_python_pyexecdir
13106 pkgpyexecdir=\${pyexecdir}/$PACKAGE
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python >= 2.3" >&5
13114 $as_echo_n "checking for python >= 2.3... " >&6; }
13117 minver = (2,3,0,'final',0)
13118 if sys.version_info < minver:
13122 if $PYTHON -c "$prog" 1>&5 2>&5
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
13125 $as_echo "okay" >&6; }
13127 as_fn_error $? "too old" "$LINENO" 5
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
13131 $as_echo_n "checking for headers required to compile python extensions... " >&6; }
13132 py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
13133 py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
13134 if $PYTHON-config --help 2>/dev/null; then
13135 PYTHON_INCLUDES=`$PYTHON-config --includes 2>/dev/null`
13137 PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
13138 if test "$py_prefix" != "$py_exec_prefix"; then
13139 PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
13143 save_CPPFLAGS="$CPPFLAGS"
13144 CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
13145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13146 /* end confdefs.h. */
13147 #include <Python.h>
13149 if ac_fn_c_try_cpp "$LINENO"; then :
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
13151 $as_echo "found" >&6; }
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13155 $as_echo "not found" >&6; }
13156 as_fn_error $? "could not find Python headers" "$LINENO" 5
13158 rm -f conftest.err conftest.i conftest.$ac_ext
13159 CPPFLAGS="$save_CPPFLAGS"
13162 GST_MAJORMINOR=0.10
13166 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13167 if test -n "$ac_tool_prefix"; then
13168 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13169 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13171 $as_echo_n "checking for $ac_word... " >&6; }
13172 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13173 $as_echo_n "(cached) " >&6
13175 case $PKG_CONFIG in
13177 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13181 for as_dir in $PATH
13184 test -z "$as_dir" && as_dir=.
13185 for ac_exec_ext in '' $ac_executable_extensions; do
13186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13187 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13198 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13199 if test -n "$PKG_CONFIG"; then
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13201 $as_echo "$PKG_CONFIG" >&6; }
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13204 $as_echo "no" >&6; }
13209 if test -z "$ac_cv_path_PKG_CONFIG"; then
13210 ac_pt_PKG_CONFIG=$PKG_CONFIG
13211 # Extract the first word of "pkg-config", so it can be a program name with args.
13212 set dummy pkg-config; ac_word=$2
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13214 $as_echo_n "checking for $ac_word... " >&6; }
13215 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13216 $as_echo_n "(cached) " >&6
13218 case $ac_pt_PKG_CONFIG in
13220 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13224 for as_dir in $PATH
13227 test -z "$as_dir" && as_dir=.
13228 for ac_exec_ext in '' $ac_executable_extensions; do
13229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13230 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13241 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13242 if test -n "$ac_pt_PKG_CONFIG"; then
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13244 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13247 $as_echo "no" >&6; }
13250 if test "x$ac_pt_PKG_CONFIG" = x; then
13253 case $cross_compiling:$ac_tool_warned in
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13256 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13257 ac_tool_warned=yes ;;
13259 PKG_CONFIG=$ac_pt_PKG_CONFIG
13262 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13266 if test -n "$PKG_CONFIG"; then
13267 _pkg_min_version=0.9.0
13268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13269 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13270 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13272 $as_echo "yes" >&6; }
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13275 $as_echo "no" >&6; }
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
13283 $as_echo_n "checking for GST... " >&6; }
13285 if test -n "$PKG_CONFIG"; then
13286 if test -n "$GST_CFLAGS"; then
13287 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
13289 if test -n "$PKG_CONFIG" && \
13290 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13291 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13294 test $ac_status = 0; }; then
13295 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13303 if test -n "$PKG_CONFIG"; then
13304 if test -n "$GST_LIBS"; then
13305 pkg_cv_GST_LIBS="$GST_LIBS"
13307 if test -n "$PKG_CONFIG" && \
13308 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13309 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13312 test $ac_status = 0; }; then
13313 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13324 if test $pkg_failed = yes; then
13326 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13327 _pkg_short_errors_supported=yes
13329 _pkg_short_errors_supported=no
13331 if test $_pkg_short_errors_supported = yes; then
13332 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQ"`
13334 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQ"`
13336 # Put the nasty error message in config.log where it belongs
13337 echo "$GST_PKG_ERRORS" >&5
13339 as_fn_error $? "Package requirements (gstreamer-$GST_MAJORMINOR >= $GST_REQ) were not met:
13343 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13344 installed software in a non-standard prefix.
13346 Alternatively, you may set the environment variables GST_CFLAGS
13347 and GST_LIBS to avoid the need to call pkg-config.
13348 See the pkg-config man page for more details.
13350 elif test $pkg_failed = untried; then
13351 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13353 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13354 is in your PATH or set the PKG_CONFIG environment variable to the full
13355 path to pkg-config.
13357 Alternatively, you may set the environment variables GST_CFLAGS
13358 and GST_LIBS to avoid the need to call pkg-config.
13359 See the pkg-config man page for more details.
13361 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13362 See \`config.log' for more details" "$LINENO" 5; }
13364 GST_CFLAGS=$pkg_cv_GST_CFLAGS
13365 GST_LIBS=$pkg_cv_GST_LIBS
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13367 $as_echo "yes" >&6; }
13371 cat >>confdefs.h <<_ACEOF
13372 #define GST_MAJORMINOR "$GST_MAJORMINOR"
13375 GST_CFLAGS="$GST_CFLAGS $GLIB_EXTRA_CFLAGS"
13379 GST_MINOR_VERSION=`$PKG_CONFIG --modversion gstreamer-$GST_MAJORMINOR | cut -f 3 -d.`
13380 GST_PB_MINOR_VERSION=`$PKG_CONFIG --modversion gstreamer-plugins-base-$GST_MAJORMINOR | cut -f 3 -d.`
13381 GST_CVS_VERSION=`$PKG_CONFIG --modversion gstreamer-$GST_MAJORMINOR | cut -f 4 -d.`
13383 echo "Building against GStreamer core 0.10.$GST_MINOR_VERSION , ignoring API additions if needed"
13386 if test "x$GST_CVS_VERSION" = "x"
13388 if test $GST_MINOR_VERSION -lt "21"
13390 IGNORE_GST_0_10_21="gst-0.10.21.ignore"
13392 IGNORE_GST_0_10_21=""
13395 if test $GST_MINOR_VERSION -lt "22"
13397 IGNORE_GST_0_10_22="gst-0.10.22.ignore"
13399 IGNORE_GST_0_10_22=""
13402 if test $GST_MINOR_VERSION -lt "23"
13404 IGNORE_GST_0_10_23="gst-0.10.23.ignore"
13406 IGNORE_GST_0_10_23=""
13409 if test $GST_MINOR_VERSION -lt "24"
13411 IGNORE_GST_0_10_24="gst-0.10.24.ignore"
13413 IGNORE_GST_0_10_24=""
13416 if test $GST_MINOR_VERSION -lt "25"
13418 IGNORE_GST_0_10_25="gst-0.10.25.ignore"
13420 IGNORE_GST_0_10_25=""
13423 if test $GST_MINOR_VERSION -lt "26"
13425 IGNORE_GST_0_10_26="gst-0.10.26.ignore"
13427 IGNORE_GST_0_10_26=""
13430 if test $GST_MINOR_VERSION -lt "29"
13432 IGNORE_GST_0_10_29="gst-0.10.29.ignore"
13434 IGNORE_GST_0_10_29=""
13437 if test $GST_MINOR_VERSION -lt "30"
13439 IGNORE_GST_0_10_30="gst-0.10.30.ignore"
13441 IGNORE_GST_0_10_30=""
13444 if test $GST_MINOR_VERSION -lt "31"
13446 IGNORE_GST_0_10_31="gst-0.10.31.ignore"
13448 IGNORE_GST_0_10_31=""
13451 if test $GST_MINOR_VERSION -lt "32"
13453 IGNORE_GST_0_10_32="gst-0.10.32.ignore"
13455 IGNORE_GST_0_10_32=""
13458 if test $GST_PB_MINOR_VERSION -ge "22"
13461 cat >>confdefs.h <<_ACEOF
13462 #define HAVE_GST_AUDIO 1
13466 cat >>confdefs.h <<_ACEOF
13467 #define HAVE_GST_VIDEO 1
13471 cat >>confdefs.h <<_ACEOF
13472 #define HAVE_GST_TAG 1
13477 if test $GST_PB_MINOR_VERSION -lt "23"
13479 IGNORE_GST_PB_0_10_23="gst-pb-0.10.23.ignore"
13481 IGNORE_GST_PB_0_10_23=""
13484 if test $GST_PB_MINOR_VERSION -lt "25"
13486 IGNORE_GST_PB_0_10_25="gst-pb-0.10.25.ignore"
13488 IGNORE_GST_PB_0_10_25=""
13490 cat >>confdefs.h <<_ACEOF
13491 #define HAVE_STREAM_VOLUME_INTERFACE 1
13496 if test $GST_PB_MINOR_VERSION -lt "26"
13498 IGNORE_GST_PB_0_10_26="gst-pb-0.10.26.ignore"
13500 IGNORE_GST_PB_0_10_26=""
13503 if test $GST_PB_MINOR_VERSION -lt "29"
13505 IGNORE_GST_PB_0_10_29="gst-pb-0.10.29.ignore"
13507 IGNORE_GST_PB_0_10_29=""
13510 if test $GST_PB_MINOR_VERSION -lt "30"
13512 IGNORE_GST_PB_0_10_30="gst-pb-0.10.30.ignore"
13514 IGNORE_GST_PB_0_10_30=""
13517 if test $GST_PB_MINOR_VERSION -lt "31"
13519 IGNORE_GST_PB_0_10_31="gst-pb-0.10.31.ignore"
13521 IGNORE_GST_PB_0_10_31=""
13524 if test $GST_PB_MINOR_VERSION -lt "32"
13526 IGNORE_GST_PB_0_10_32="gst-pb-0.10.32.ignore"
13528 IGNORE_GST_PB_0_10_32=""
13532 IGNORE_GST_0_10_18=""
13533 IGNORE_GST_0_10_21=""
13534 IGNORE_GST_0_10_22=""
13535 IGNORE_GST_0_10_23=""
13536 IGNORE_GST_0_10_24=""
13537 IGNORE_GST_0_10_25=""
13538 IGNORE_GST_0_10_26=""
13539 IGNORE_GST_0_10_29=""
13540 IGNORE_GST_0_10_30=""
13541 IGNORE_GST_0_10_31=""
13542 IGNORE_GST_0_10_32=""
13543 IGNORE_GST_PB_0_10_23=""
13544 IGNORE_GST_PB_0_10_25=""
13545 IGNORE_GST_PB_0_10_26=""
13546 IGNORE_GST_PB_0_10_29=""
13547 IGNORE_GST_PB_0_10_30=""
13548 IGNORE_GST_PB_0_10_31=""
13549 IGNORE_GST_PB_0_10_32=""
13551 cat >>confdefs.h <<_ACEOF
13552 #define HAVE_GST_AUDIO 1
13556 cat >>confdefs.h <<_ACEOF
13557 #define HAVE_GST_VIDEO 1
13561 cat >>confdefs.h <<_ACEOF
13562 #define HAVE_GST_TAG 1
13567 cat >>confdefs.h <<_ACEOF
13568 #define HAVE_STREAM_VOLUME_INTERFACE 1
13588 if $HAVE_GST_AUDIO; then
13589 HAVE_GST_AUDIO_TRUE=
13590 HAVE_GST_AUDIO_FALSE='#'
13592 HAVE_GST_AUDIO_TRUE='#'
13593 HAVE_GST_AUDIO_FALSE=
13596 if $HAVE_GST_VIDEO; then
13597 HAVE_GST_VIDEO_TRUE=
13598 HAVE_GST_VIDEO_FALSE='#'
13600 HAVE_GST_VIDEO_TRUE='#'
13601 HAVE_GST_VIDEO_FALSE=
13604 if $HAVE_GST_TAG; then
13606 HAVE_GST_TAG_FALSE='#'
13608 HAVE_GST_TAG_TRUE='#'
13609 HAVE_GST_TAG_FALSE=
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5
13616 $as_echo_n "checking for GST_BASE... " >&6; }
13618 if test -n "$PKG_CONFIG"; then
13619 if test -n "$GST_BASE_CFLAGS"; then
13620 pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS"
13622 if test -n "$PKG_CONFIG" && \
13623 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13624 ($PKG_CONFIG --exists --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13627 test $ac_status = 0; }; then
13628 pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13636 if test -n "$PKG_CONFIG"; then
13637 if test -n "$GST_BASE_LIBS"; then
13638 pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS"
13640 if test -n "$PKG_CONFIG" && \
13641 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-base-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13642 ($PKG_CONFIG --exists --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13645 test $ac_status = 0; }; then
13646 pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13657 if test $pkg_failed = yes; then
13659 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13660 _pkg_short_errors_supported=yes
13662 _pkg_short_errors_supported=no
13664 if test $_pkg_short_errors_supported = yes; then
13665 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQ"`
13667 GST_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-base-$GST_MAJORMINOR >= $GST_REQ"`
13669 # Put the nasty error message in config.log where it belongs
13670 echo "$GST_BASE_PKG_ERRORS" >&5
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13673 $as_echo "no" >&6; }
13675 elif test $pkg_failed = untried; then
13678 GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS
13679 GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13681 $as_echo "yes" >&6; }
13682 HAVE_GST_BASE="yes"
13685 if test "x$HAVE_GST_BASE" = "xno"; then
13686 as_fn_error $? "no GStreamer Base Libs found" "$LINENO" 5
13693 GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir gstreamer-0.10`"/gst/gstconfig.h"
13696 grep >/dev/null "#undef GST_DISABLE_GST_DEBUG" $GST_CONFIGPATH
13697 if test $? = 0; then
13698 GST_DISABLE_GST_DEBUG=0
13700 GST_DISABLE_GST_DEBUG=1
13705 grep >/dev/null "#undef GST_DISABLE_LOADSAVE" $GST_CONFIGPATH
13706 if test $? = 0; then
13707 GST_DISABLE_LOADSAVE=0
13709 GST_DISABLE_LOADSAVE=1
13714 grep >/dev/null "#undef GST_DISABLE_PARSE" $GST_CONFIGPATH
13715 if test $? = 0; then
13716 GST_DISABLE_PARSE=0
13718 GST_DISABLE_PARSE=1
13723 grep >/dev/null "#undef GST_DISABLE_TRACE" $GST_CONFIGPATH
13724 if test $? = 0; then
13725 GST_DISABLE_TRACE=0
13727 GST_DISABLE_TRACE=1
13732 grep >/dev/null "#undef GST_DISABLE_ALLOC_TRACE" $GST_CONFIGPATH
13733 if test $? = 0; then
13734 GST_DISABLE_ALLOC_TRACE=0
13736 GST_DISABLE_ALLOC_TRACE=1
13741 grep >/dev/null "#undef GST_DISABLE_REGISTRY" $GST_CONFIGPATH
13742 if test $? = 0; then
13743 GST_DISABLE_REGISTRY=0
13745 GST_DISABLE_REGISTRY=1
13750 grep >/dev/null "#undef GST_DISABLE_PLUGIN" $GST_CONFIGPATH
13751 if test $? = 0; then
13752 GST_DISABLE_PLUGIN=0
13754 GST_DISABLE_PLUGIN=1
13759 grep >/dev/null "#undef GST_DISABLE_XML" $GST_CONFIGPATH
13760 if test $? = 0; then
13768 if test $GST_DISABLE_LOADSAVE = "1"; then
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Load/Save XML persistence disabled\"" >&5
13770 $as_echo "$as_me: WARNING: \"Load/Save XML persistence disabled\"" >&2;}
13771 IGNORE_GST_LOADSAVE="gst-disable-loadsave.ignore"
13773 IGNORE_GST_LOADSAVE=""
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CONTROLLER" >&5
13780 $as_echo_n "checking for GST_CONTROLLER... " >&6; }
13782 if test -n "$PKG_CONFIG"; then
13783 if test -n "$GST_CONTROLLER_CFLAGS"; then
13784 pkg_cv_GST_CONTROLLER_CFLAGS="$GST_CONTROLLER_CFLAGS"
13786 if test -n "$PKG_CONFIG" && \
13787 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-controller-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13788 ($PKG_CONFIG --exists --print-errors "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13791 test $ac_status = 0; }; then
13792 pkg_cv_GST_CONTROLLER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13800 if test -n "$PKG_CONFIG"; then
13801 if test -n "$GST_CONTROLLER_LIBS"; then
13802 pkg_cv_GST_CONTROLLER_LIBS="$GST_CONTROLLER_LIBS"
13804 if test -n "$PKG_CONFIG" && \
13805 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-controller-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13806 ($PKG_CONFIG --exists --print-errors "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13809 test $ac_status = 0; }; then
13810 pkg_cv_GST_CONTROLLER_LIBS=`$PKG_CONFIG --libs "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13821 if test $pkg_failed = yes; then
13823 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13824 _pkg_short_errors_supported=yes
13826 _pkg_short_errors_supported=no
13828 if test $_pkg_short_errors_supported = yes; then
13829 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQ"`
13831 GST_CONTROLLER_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-controller-$GST_MAJORMINOR >= $GST_REQ"`
13833 # Put the nasty error message in config.log where it belongs
13834 echo "$GST_CONTROLLER_PKG_ERRORS" >&5
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13837 $as_echo "no" >&6; }
13838 HAVE_GST_CONTROLLER="no"
13839 elif test $pkg_failed = untried; then
13840 HAVE_GST_CONTROLLER="no"
13842 GST_CONTROLLER_CFLAGS=$pkg_cv_GST_CONTROLLER_CFLAGS
13843 GST_CONTROLLER_LIBS=$pkg_cv_GST_CONTROLLER_LIBS
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13845 $as_echo "yes" >&6; }
13846 HAVE_GST_CONTROLLER="yes"
13849 if test "x$HAVE_GST_CONTROLLER" = "xno"; then
13850 as_fn_error $? "no GStreamer Controller Libs found" "$LINENO" 5
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_NET" >&5
13859 $as_echo_n "checking for GST_NET... " >&6; }
13861 if test -n "$PKG_CONFIG"; then
13862 if test -n "$GST_NET_CFLAGS"; then
13863 pkg_cv_GST_NET_CFLAGS="$GST_NET_CFLAGS"
13865 if test -n "$PKG_CONFIG" && \
13866 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-net-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13867 ($PKG_CONFIG --exists --print-errors "gstreamer-net-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13870 test $ac_status = 0; }; then
13871 pkg_cv_GST_NET_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-net-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13879 if test -n "$PKG_CONFIG"; then
13880 if test -n "$GST_NET_LIBS"; then
13881 pkg_cv_GST_NET_LIBS="$GST_NET_LIBS"
13883 if test -n "$PKG_CONFIG" && \
13884 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-net-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13885 ($PKG_CONFIG --exists --print-errors "gstreamer-net-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13888 test $ac_status = 0; }; then
13889 pkg_cv_GST_NET_LIBS=`$PKG_CONFIG --libs "gstreamer-net-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13900 if test $pkg_failed = yes; then
13902 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13903 _pkg_short_errors_supported=yes
13905 _pkg_short_errors_supported=no
13907 if test $_pkg_short_errors_supported = yes; then
13908 GST_NET_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-net-$GST_MAJORMINOR >= $GST_REQ"`
13910 GST_NET_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-net-$GST_MAJORMINOR >= $GST_REQ"`
13912 # Put the nasty error message in config.log where it belongs
13913 echo "$GST_NET_PKG_ERRORS" >&5
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13916 $as_echo "no" >&6; }
13918 elif test $pkg_failed = untried; then
13921 GST_NET_CFLAGS=$pkg_cv_GST_NET_CFLAGS
13922 GST_NET_LIBS=$pkg_cv_GST_NET_LIBS
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13924 $as_echo "yes" >&6; }
13928 if test "x$HAVE_GST_NET" = "xno"; then
13929 as_fn_error $? "no GStreamer Networking Libs found" "$LINENO" 5
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_DP" >&5
13938 $as_echo_n "checking for GST_DP... " >&6; }
13940 if test -n "$PKG_CONFIG"; then
13941 if test -n "$GST_DP_CFLAGS"; then
13942 pkg_cv_GST_DP_CFLAGS="$GST_DP_CFLAGS"
13944 if test -n "$PKG_CONFIG" && \
13945 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-dataprotocol-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13946 ($PKG_CONFIG --exists --print-errors "gstreamer-dataprotocol-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13949 test $ac_status = 0; }; then
13950 pkg_cv_GST_DP_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-dataprotocol-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13958 if test -n "$PKG_CONFIG"; then
13959 if test -n "$GST_DP_LIBS"; then
13960 pkg_cv_GST_DP_LIBS="$GST_DP_LIBS"
13962 if test -n "$PKG_CONFIG" && \
13963 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-dataprotocol-\$GST_MAJORMINOR >= \$GST_REQ\""; } >&5
13964 ($PKG_CONFIG --exists --print-errors "gstreamer-dataprotocol-$GST_MAJORMINOR >= $GST_REQ") 2>&5
13966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13967 test $ac_status = 0; }; then
13968 pkg_cv_GST_DP_LIBS=`$PKG_CONFIG --libs "gstreamer-dataprotocol-$GST_MAJORMINOR >= $GST_REQ" 2>/dev/null`
13979 if test $pkg_failed = yes; then
13981 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13982 _pkg_short_errors_supported=yes
13984 _pkg_short_errors_supported=no
13986 if test $_pkg_short_errors_supported = yes; then
13987 GST_DP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-dataprotocol-$GST_MAJORMINOR >= $GST_REQ"`
13989 GST_DP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-dataprotocol-$GST_MAJORMINOR >= $GST_REQ"`
13991 # Put the nasty error message in config.log where it belongs
13992 echo "$GST_DP_PKG_ERRORS" >&5
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13995 $as_echo "no" >&6; }
13997 elif test $pkg_failed = untried; then
14000 GST_DP_CFLAGS=$pkg_cv_GST_DP_CFLAGS
14001 GST_DP_LIBS=$pkg_cv_GST_DP_LIBS
14002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14003 $as_echo "yes" >&6; }
14007 if test "x$HAVE_GST_DP" = "xno"; then
14008 as_fn_error $? "no GStreamer Data Protocol Libs found" "$LINENO" 5
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BASE" >&5
14018 $as_echo_n "checking for GST_PLUGINS_BASE... " >&6; }
14020 if test -n "$PKG_CONFIG"; then
14021 if test -n "$GST_PLUGINS_BASE_CFLAGS"; then
14022 pkg_cv_GST_PLUGINS_BASE_CFLAGS="$GST_PLUGINS_BASE_CFLAGS"
14024 if test -n "$PKG_CONFIG" && \
14025 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GSTPB_REQ\""; } >&5
14026 ($PKG_CONFIG --exists --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQ") 2>&5
14028 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14029 test $ac_status = 0; }; then
14030 pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQ" 2>/dev/null`
14038 if test -n "$PKG_CONFIG"; then
14039 if test -n "$GST_PLUGINS_BASE_LIBS"; then
14040 pkg_cv_GST_PLUGINS_BASE_LIBS="$GST_PLUGINS_BASE_LIBS"
14042 if test -n "$PKG_CONFIG" && \
14043 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GSTPB_REQ\""; } >&5
14044 ($PKG_CONFIG --exists --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQ") 2>&5
14046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14047 test $ac_status = 0; }; then
14048 pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQ" 2>/dev/null`
14059 if test $pkg_failed = yes; then
14061 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14062 _pkg_short_errors_supported=yes
14064 _pkg_short_errors_supported=no
14066 if test $_pkg_short_errors_supported = yes; then
14067 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQ"`
14069 GST_PLUGINS_BASE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPB_REQ"`
14071 # Put the nasty error message in config.log where it belongs
14072 echo "$GST_PLUGINS_BASE_PKG_ERRORS" >&5
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14075 $as_echo "no" >&6; }
14076 HAVE_GST_PLUGINS_BASE="no"
14077 elif test $pkg_failed = untried; then
14078 HAVE_GST_PLUGINS_BASE="no"
14080 GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS
14081 GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14083 $as_echo "yes" >&6; }
14084 HAVE_GST_PLUGINS_BASE="yes"
14087 if test "x$HAVE_GST_PLUGINS_BASE" = "xno"; then
14088 as_fn_error $? "no gst-plugins-base found" "$LINENO" 5
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGOBJECT" >&5
14098 $as_echo_n "checking for PYGOBJECT... " >&6; }
14100 if test -n "$PKG_CONFIG"; then
14101 if test -n "$PYGOBJECT_CFLAGS"; then
14102 pkg_cv_PYGOBJECT_CFLAGS="$PYGOBJECT_CFLAGS"
14104 if test -n "$PKG_CONFIG" && \
14105 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= \$PYGOBJECT_REQ\""; } >&5
14106 ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= $PYGOBJECT_REQ") 2>&5
14108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14109 test $ac_status = 0; }; then
14110 pkg_cv_PYGOBJECT_CFLAGS=`$PKG_CONFIG --cflags "pygobject-2.0 >= $PYGOBJECT_REQ" 2>/dev/null`
14118 if test -n "$PKG_CONFIG"; then
14119 if test -n "$PYGOBJECT_LIBS"; then
14120 pkg_cv_PYGOBJECT_LIBS="$PYGOBJECT_LIBS"
14122 if test -n "$PKG_CONFIG" && \
14123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= \$PYGOBJECT_REQ\""; } >&5
14124 ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= $PYGOBJECT_REQ") 2>&5
14126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14127 test $ac_status = 0; }; then
14128 pkg_cv_PYGOBJECT_LIBS=`$PKG_CONFIG --libs "pygobject-2.0 >= $PYGOBJECT_REQ" 2>/dev/null`
14139 if test $pkg_failed = yes; then
14141 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14142 _pkg_short_errors_supported=yes
14144 _pkg_short_errors_supported=no
14146 if test $_pkg_short_errors_supported = yes; then
14147 PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygobject-2.0 >= $PYGOBJECT_REQ"`
14149 PYGOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygobject-2.0 >= $PYGOBJECT_REQ"`
14151 # Put the nasty error message in config.log where it belongs
14152 echo "$PYGOBJECT_PKG_ERRORS" >&5
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14155 $as_echo "no" >&6; }
14156 HAVE_PYGOBJECT="no"
14157 elif test $pkg_failed = untried; then
14158 HAVE_PYGOBJECT="no"
14160 PYGOBJECT_CFLAGS=$pkg_cv_PYGOBJECT_CFLAGS
14161 PYGOBJECT_LIBS=$pkg_cv_PYGOBJECT_LIBS
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14163 $as_echo "yes" >&6; }
14165 HAVE_PYGOBJECT="yes"
14169 if test "x$HAVE_PYGOBJECT" = "xno"; then
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGTK" >&5
14173 $as_echo_n "checking for PYGTK... " >&6; }
14175 if test -n "$PKG_CONFIG"; then
14176 if test -n "$PYGTK_CFLAGS"; then
14177 pkg_cv_PYGTK_CFLAGS="$PYGTK_CFLAGS"
14179 if test -n "$PKG_CONFIG" && \
14180 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= \$PYGTK_REQ\""; } >&5
14181 ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= $PYGTK_REQ") 2>&5
14183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14184 test $ac_status = 0; }; then
14185 pkg_cv_PYGTK_CFLAGS=`$PKG_CONFIG --cflags "pygtk-2.0 >= $PYGTK_REQ" 2>/dev/null`
14193 if test -n "$PKG_CONFIG"; then
14194 if test -n "$PYGTK_LIBS"; then
14195 pkg_cv_PYGTK_LIBS="$PYGTK_LIBS"
14197 if test -n "$PKG_CONFIG" && \
14198 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= \$PYGTK_REQ\""; } >&5
14199 ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= $PYGTK_REQ") 2>&5
14201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14202 test $ac_status = 0; }; then
14203 pkg_cv_PYGTK_LIBS=`$PKG_CONFIG --libs "pygtk-2.0 >= $PYGTK_REQ" 2>/dev/null`
14214 if test $pkg_failed = yes; then
14216 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14217 _pkg_short_errors_supported=yes
14219 _pkg_short_errors_supported=no
14221 if test $_pkg_short_errors_supported = yes; then
14222 PYGTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygtk-2.0 >= $PYGTK_REQ"`
14224 PYGTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygtk-2.0 >= $PYGTK_REQ"`
14226 # Put the nasty error message in config.log where it belongs
14227 echo "$PYGTK_PKG_ERRORS" >&5
14229 as_fn_error $? "Package requirements (pygtk-2.0 >= $PYGTK_REQ) were not met:
14233 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14234 installed software in a non-standard prefix.
14236 Alternatively, you may set the environment variables PYGTK_CFLAGS
14237 and PYGTK_LIBS to avoid the need to call pkg-config.
14238 See the pkg-config man page for more details.
14240 elif test $pkg_failed = untried; then
14241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14242 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14243 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14244 is in your PATH or set the PKG_CONFIG environment variable to the full
14245 path to pkg-config.
14247 Alternatively, you may set the environment variables PYGTK_CFLAGS
14248 and PYGTK_LIBS to avoid the need to call pkg-config.
14249 See the pkg-config man page for more details.
14251 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14252 See \`config.log' for more details" "$LINENO" 5; }
14254 PYGTK_CFLAGS=$pkg_cv_PYGTK_CFLAGS
14255 PYGTK_LIBS=$pkg_cv_PYGTK_LIBS
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14257 $as_echo "yes" >&6; }
14261 PYGOBJECT_CFLAGS="\$(PYGTK_CFLAGS)"
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGOBJECT_2_12" >&5
14268 $as_echo_n "checking for PYGOBJECT_2_12... " >&6; }
14270 if test -n "$PKG_CONFIG"; then
14271 if test -n "$PYGOBJECT_2_12_CFLAGS"; then
14272 pkg_cv_PYGOBJECT_2_12_CFLAGS="$PYGOBJECT_2_12_CFLAGS"
14274 if test -n "$PKG_CONFIG" && \
14275 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= 2.11.1\""; } >&5
14276 ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= 2.11.1") 2>&5
14278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14279 test $ac_status = 0; }; then
14280 pkg_cv_PYGOBJECT_2_12_CFLAGS=`$PKG_CONFIG --cflags "pygobject-2.0 >= 2.11.1" 2>/dev/null`
14288 if test -n "$PKG_CONFIG"; then
14289 if test -n "$PYGOBJECT_2_12_LIBS"; then
14290 pkg_cv_PYGOBJECT_2_12_LIBS="$PYGOBJECT_2_12_LIBS"
14292 if test -n "$PKG_CONFIG" && \
14293 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= 2.11.1\""; } >&5
14294 ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= 2.11.1") 2>&5
14296 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14297 test $ac_status = 0; }; then
14298 pkg_cv_PYGOBJECT_2_12_LIBS=`$PKG_CONFIG --libs "pygobject-2.0 >= 2.11.1" 2>/dev/null`
14309 if test $pkg_failed = yes; then
14311 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14312 _pkg_short_errors_supported=yes
14314 _pkg_short_errors_supported=no
14316 if test $_pkg_short_errors_supported = yes; then
14317 PYGOBJECT_2_12_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygobject-2.0 >= 2.11.1"`
14319 PYGOBJECT_2_12_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygobject-2.0 >= 2.11.1"`
14321 # Put the nasty error message in config.log where it belongs
14322 echo "$PYGOBJECT_2_12_PKG_ERRORS" >&5
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14325 $as_echo "no" >&6; }
14326 HAVE_PYGOBJECT_2_12="no"
14327 elif test $pkg_failed = untried; then
14328 HAVE_PYGOBJECT_2_12="no"
14330 PYGOBJECT_2_12_CFLAGS=$pkg_cv_PYGOBJECT_2_12_CFLAGS
14331 PYGOBJECT_2_12_LIBS=$pkg_cv_PYGOBJECT_2_12_LIBS
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14333 $as_echo "yes" >&6; }
14335 HAVE_PYGOBJECT_2_12="yes"
14337 cat >>confdefs.h <<_ACEOF
14338 #define HAVE_PYGOBJECT_2_12 1
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYGOBJECT_2_16" >&5
14347 $as_echo_n "checking for PYGOBJECT_2_16... " >&6; }
14349 if test -n "$PKG_CONFIG"; then
14350 if test -n "$PYGOBJECT_2_16_CFLAGS"; then
14351 pkg_cv_PYGOBJECT_2_16_CFLAGS="$PYGOBJECT_2_16_CFLAGS"
14353 if test -n "$PKG_CONFIG" && \
14354 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= 2.15.0\""; } >&5
14355 ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= 2.15.0") 2>&5
14357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14358 test $ac_status = 0; }; then
14359 pkg_cv_PYGOBJECT_2_16_CFLAGS=`$PKG_CONFIG --cflags "pygobject-2.0 >= 2.15.0" 2>/dev/null`
14367 if test -n "$PKG_CONFIG"; then
14368 if test -n "$PYGOBJECT_2_16_LIBS"; then
14369 pkg_cv_PYGOBJECT_2_16_LIBS="$PYGOBJECT_2_16_LIBS"
14371 if test -n "$PKG_CONFIG" && \
14372 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-2.0 >= 2.15.0\""; } >&5
14373 ($PKG_CONFIG --exists --print-errors "pygobject-2.0 >= 2.15.0") 2>&5
14375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14376 test $ac_status = 0; }; then
14377 pkg_cv_PYGOBJECT_2_16_LIBS=`$PKG_CONFIG --libs "pygobject-2.0 >= 2.15.0" 2>/dev/null`
14388 if test $pkg_failed = yes; then
14390 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14391 _pkg_short_errors_supported=yes
14393 _pkg_short_errors_supported=no
14395 if test $_pkg_short_errors_supported = yes; then
14396 PYGOBJECT_2_16_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygobject-2.0 >= 2.15.0"`
14398 PYGOBJECT_2_16_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygobject-2.0 >= 2.15.0"`
14400 # Put the nasty error message in config.log where it belongs
14401 echo "$PYGOBJECT_2_16_PKG_ERRORS" >&5
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14404 $as_echo "no" >&6; }
14405 HAVE_PYGOBJECT_2_16="no"
14406 elif test $pkg_failed = untried; then
14407 HAVE_PYGOBJECT_2_16="no"
14409 PYGOBJECT_2_16_CFLAGS=$pkg_cv_PYGOBJECT_2_16_CFLAGS
14410 PYGOBJECT_2_16_LIBS=$pkg_cv_PYGOBJECT_2_16_LIBS
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14412 $as_echo "yes" >&6; }
14414 HAVE_PYGOBJECT_2_16="yes"
14416 cat >>confdefs.h <<_ACEOF
14417 #define HAVE_PYGOBJECT_2_16 1
14423 if test x$HAVE_PYGOBJECT_2_16 != xno; then
14424 HAVE_PYGOBJECT_2_16_TRUE=
14425 HAVE_PYGOBJECT_2_16_FALSE='#'
14427 HAVE_PYGOBJECT_2_16_TRUE='#'
14428 HAVE_PYGOBJECT_2_16_FALSE=
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5
14441 $as_echo_n "checking to see if compiler understands -Wall... " >&6; }
14443 save_CFLAGS="$CFLAGS"
14444 CFLAGS="$CFLAGS -Wall"
14446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14447 /* end confdefs.h. */
14457 if ac_fn_c_try_compile "$LINENO"; then :
14462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14463 CFLAGS="$save_CFLAGS"
14465 if test "X$flag_ok" = Xyes ; then
14466 WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14473 $as_echo "$flag_ok" >&6; }
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5
14478 $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; }
14480 save_CFLAGS="$CFLAGS"
14481 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14484 /* end confdefs.h. */
14494 if ac_fn_c_try_compile "$LINENO"; then :
14499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14500 CFLAGS="$save_CFLAGS"
14502 if test "X$flag_ok" = Xyes ; then
14503 WARNING_CFLAGS="$WARNING_CFLAGS -Wdeclaration-after-statement"
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14510 $as_echo "$flag_ok" >&6; }
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5
14515 $as_echo_n "checking to see if compiler understands -Wvla... " >&6; }
14517 save_CFLAGS="$CFLAGS"
14518 CFLAGS="$CFLAGS -Wvla"
14520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14521 /* end confdefs.h. */
14531 if ac_fn_c_try_compile "$LINENO"; then :
14536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14537 CFLAGS="$save_CFLAGS"
14539 if test "X$flag_ok" = Xyes ; then
14540 WARNING_CFLAGS="$WARNING_CFLAGS -Wvla"
14546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14547 $as_echo "$flag_ok" >&6; }
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5
14552 $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; }
14554 save_CFLAGS="$CFLAGS"
14555 CFLAGS="$CFLAGS -Wpointer-arith"
14557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14558 /* end confdefs.h. */
14568 if ac_fn_c_try_compile "$LINENO"; then :
14573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14574 CFLAGS="$save_CFLAGS"
14576 if test "X$flag_ok" = Xyes ; then
14577 WARNING_CFLAGS="$WARNING_CFLAGS -Wpointer-arith"
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14584 $as_echo "$flag_ok" >&6; }
14587 if test "x$GST_CVS" != "xno"
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5
14591 $as_echo_n "checking to see if compiler understands -Werror... " >&6; }
14593 save_CFLAGS="$CFLAGS"
14594 CFLAGS="$CFLAGS -Werror"
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14607 if ac_fn_c_try_compile "$LINENO"; then :
14612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14613 CFLAGS="$save_CFLAGS"
14615 if test "X$flag_ok" = Xyes ; then
14616 ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14623 $as_echo "$flag_ok" >&6; }
14626 if test "x$ERROR_CFLAGS" = "x"
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5
14630 $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; }
14632 save_CFLAGS="$CFLAGS"
14633 CFLAGS="$CFLAGS -errwarn=%all"
14635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14636 /* end confdefs.h. */
14646 if ac_fn_c_try_compile "$LINENO"; then :
14651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14652 CFLAGS="$save_CFLAGS"
14654 if test "X$flag_ok" = Xyes ; then
14656 ERROR_CFLAGS="-errwarn=%all"
14657 for f in 'no%E_EMPTY_DECLARATION' \
14658 'no%E_STATEMENT_NOT_REACHED' \
14659 'no%E_ARGUEMENT_MISMATCH' \
14660 'no%E_MACRO_REDEFINED' \
14661 'no%E_LOOP_NOT_ENTERED_AT_TOP'
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5
14665 $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; }
14667 save_CFLAGS="$CFLAGS"
14668 CFLAGS="$CFLAGS -errwarn=%all,$f"
14670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14671 /* end confdefs.h. */
14681 if ac_fn_c_try_compile "$LINENO"; then :
14686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14687 CFLAGS="$save_CFLAGS"
14689 if test "X$flag_ok" = Xyes ; then
14691 ERROR_CFLAGS="$ERROR_CFLAGS,$f"
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14699 $as_echo "$flag_ok" >&6; }
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14709 $as_echo "$flag_ok" >&6; }
14712 if test -n "$PKG_CONFIG" && \
14713 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5
14714 ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5
14716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14717 test $ac_status = 0; }; then
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5
14721 $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; }
14723 save_CFLAGS="$CFLAGS"
14724 CFLAGS="$CFLAGS -fno-strict-aliasing"
14726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14727 /* end confdefs.h. */
14737 if ac_fn_c_try_compile "$LINENO"; then :
14742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14743 CFLAGS="$save_CFLAGS"
14745 if test "X$flag_ok" = Xyes ; then
14746 ERROR_CFLAGS="$ERROR_CFLAGS -fno-strict-aliasing"
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14753 $as_echo "$flag_ok" >&6; }
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands $each" >&5
14768 $as_echo_n "checking to see if compiler understands $each... " >&6; }
14770 save_CFLAGS="$CFLAGS"
14771 CFLAGS="$CFLAGS $each"
14773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14774 /* end confdefs.h. */
14784 if ac_fn_c_try_compile "$LINENO"; then :
14789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14790 CFLAGS="$save_CFLAGS"
14792 if test "X$flag_ok" = Xyes ; then
14793 WARNING_CFLAGS="$WARNING_CFLAGS $each"
14796 UNSUPPORTED="$UNSUPPORTED $each"
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
14800 $as_echo "$flag_ok" >&6; }
14803 if test "X$UNSUPPORTED" != X ; then
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: unsupported compiler flags: $UNSUPPORTED" >&5
14805 $as_echo "$as_me: unsupported compiler flags: $UNSUPPORTED" >&6;}
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: set WARNING_CFLAGS to $WARNING_CFLAGS" >&5
14812 $as_echo "$as_me: set WARNING_CFLAGS to $WARNING_CFLAGS" >&6;}
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5
14814 $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;}
14817 GST_OPTION_CFLAGS="\$(ERROR_CFLAGS) \$(GCOV_CFLAGS)"
14819 GST_OPTION_LIBS="\$(GCOV_LIBS)"
14824 FROM_VAR=$pythondir
14826 prefix_save=$prefix
14827 exec_prefix_save=$exec_prefix
14829 if test "x$prefix" = "xNONE"; then
14830 prefix="$ac_default_prefix"
14832 if test "x$exec_prefix" = "xNONE"; then
14833 exec_prefix=$prefix
14836 full_var="$FROM_VAR"
14838 new_full_var="`eval echo $full_var`"
14839 if test "x$new_full_var" = "x$full_var"; then break; fi
14840 full_var=$new_full_var
14843 full_var=$new_full_var
14844 PYTHONDIR="$full_var"
14847 prefix=$prefix_save
14848 exec_prefix=$exec_prefix_save
14852 FROM_VAR=$pyexecdir
14854 prefix_save=$prefix
14855 exec_prefix_save=$exec_prefix
14857 if test "x$prefix" = "xNONE"; then
14858 prefix="$ac_default_prefix"
14860 if test "x$exec_prefix" = "xNONE"; then
14861 exec_prefix=$prefix
14864 full_var="$FROM_VAR"
14866 new_full_var="`eval echo $full_var`"
14867 if test "x$new_full_var" = "x$full_var"; then break; fi
14868 full_var=$new_full_var
14871 full_var=$new_full_var
14872 PYEXECDIR="$full_var"
14875 prefix=$prefix_save
14876 exec_prefix=$exec_prefix_save
14879 PYGST_CFLAGS="-I\$(top_srcdir)/gst -I\$(top_builddir)/gst"
14881 # changequote(,)dnl
14882 # if test "x$GCC" = xyes; then
14883 # case " $CFLAGS " in
14884 # *[\ \ ]-Wall[\ \ ]*) ;;
14885 # *) CFLAGS="$CFLAGS -Wall" ;;
14888 # case " $CFLAGS " in
14889 # *[\ \ ]-std=c9x[\ \ ]*) ;;
14890 # *) CFLAGS="$CFLAGS -std=c9x" ;;
14893 # changequote([,])dnl
14896 # Check whether --enable-valgrind was given.
14897 if test "${enable_valgrind+set}" = set; then :
14898 enableval=$enable_valgrind;
14899 case "${enableval}" in
14900 yes) USE_VALGRIND="$USE_DEBUG" ;;
14901 no) USE_VALGRIND=no ;;
14902 *) as_fn_error $? "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;;
14906 USE_VALGRIND="$USE_DEBUG"
14911 if test "x$USE_VALGRIND" = xyes; then
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
14915 $as_echo_n "checking for VALGRIND... " >&6; }
14917 if test -n "$PKG_CONFIG"; then
14918 if test -n "$VALGRIND_CFLAGS"; then
14919 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
14921 if test -n "$PKG_CONFIG" && \
14922 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14923 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14926 test $ac_status = 0; }; then
14927 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14935 if test -n "$PKG_CONFIG"; then
14936 if test -n "$VALGRIND_LIBS"; then
14937 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
14939 if test -n "$PKG_CONFIG" && \
14940 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5
14941 ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5
14943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14944 test $ac_status = 0; }; then
14945 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null`
14956 if test $pkg_failed = yes; then
14958 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14959 _pkg_short_errors_supported=yes
14961 _pkg_short_errors_supported=no
14963 if test $_pkg_short_errors_supported = yes; then
14964 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14966 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "valgrind >= $VALGRIND_REQ"`
14968 # Put the nasty error message in config.log where it belongs
14969 echo "$VALGRIND_PKG_ERRORS" >&5
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14972 $as_echo "no" >&6; }
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14976 $as_echo "no" >&6; }
14978 elif test $pkg_failed = untried; then
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14982 $as_echo "no" >&6; }
14985 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
14986 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14988 $as_echo "yes" >&6; }
14993 if test "x$USE_VALGRIND" = xyes; then
14995 $as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5
14998 $as_echo "$as_me: Using extra code paths for valgrind" >&6;}
15003 # Extract the first word of "valgrind", so it can be a program name with args.
15004 set dummy valgrind; ac_word=$2
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15006 $as_echo_n "checking for $ac_word... " >&6; }
15007 if ${ac_cv_path_VALGRIND_PATH+:} false; then :
15008 $as_echo_n "(cached) " >&6
15010 case $VALGRIND_PATH in
15012 ac_cv_path_VALGRIND_PATH="$VALGRIND_PATH" # Let the user override the test with a path.
15015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15016 for as_dir in $PATH
15019 test -z "$as_dir" && as_dir=.
15020 for ac_exec_ext in '' $ac_executable_extensions; do
15021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15022 ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext"
15023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15030 test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no"
15034 VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH
15035 if test -n "$VALGRIND_PATH"; then
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5
15037 $as_echo "$VALGRIND_PATH" >&6; }
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15040 $as_echo "no" >&6; }
15044 if test ! "x$VALGRIND_PATH" = "xno"; then
15045 HAVE_VALGRIND_TRUE=
15046 HAVE_VALGRIND_FALSE='#'
15048 HAVE_VALGRIND_TRUE='#'
15049 HAVE_VALGRIND_FALSE=
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries required to embed python" >&5
15057 $as_echo_n "checking for libraries required to embed python... " >&6; }
15059 if $PYTHON-config --help 2>/dev/null; then
15060 PYTHON_LIBS=`$PYTHON-config --ldflags 2>/dev/null`
15061 PYTHON_LIB=`$PYTHON -c "import distutils.sysconfig as s; print s.get_python_lib(standard_lib=1)"`
15062 if echo "$host_os" | grep darwin >/dev/null 2>&1; then
15063 PYTHON_LIB_LOC=/usr/lib
15065 PYTHON_LIB_LOC=$PYTHON_LIB/config
15067 # default to prefix/lib for distros that don't have a link in
15068 # .../pythonX.Y/config/
15069 if test ! -e $PYTHON_LIB_LOC/libpython${PYTHON_VERSION}.so; then
15070 PYTHON_LIB_LOC=${py_prefix}/lib
15074 PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
15075 PYTHON_LIB_LOC="${py_prefix}/lib"
15079 # Check whether --with-libpython-dir was given.
15080 if test "${with_libpython_dir+set}" = set; then :
15081 withval=$with_libpython_dir;
15082 PYTHON_LIB_LOC=`echo "$withval" | sed -e 's/\/$//g'`
15088 if echo "$host_os" | grep darwin >/dev/null 2>&1; then
15089 PYTHON_LIB_SUFFIX=\\\"dylib\\\"
15091 PYTHON_LIB_SUFFIX=G_MODULE_SUFFIX
15098 LIBS="$LIBS $PYTHON_LIBS"
15099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15100 /* end confdefs.h. */
15102 /* Override any GCC internal prototype to avoid an error.
15103 Use char because int might match the return type of a GCC
15104 builtin and then its argument prototype would still apply. */
15108 char Py_Initialize ();
15112 return Py_Initialize ();
15117 if ac_fn_c_try_link "$LINENO"; then :
15118 LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15119 $as_echo "yes" >&6; };
15121 LIBS="$save_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15122 $as_echo "no" >&6; }; as_fn_error $? "could not find Python lib" "$LINENO" 5
15124 rm -f core conftest.err conftest.$ac_objext \
15125 conftest$ac_exeext conftest.$ac_ext
15132 FROM_VAR=${libdir}/gstreamer-$GST_MAJORMINOR
15134 prefix_save=$prefix
15135 exec_prefix_save=$exec_prefix
15137 if test "x$prefix" = "xNONE"; then
15138 prefix="$ac_default_prefix"
15140 if test "x$exec_prefix" = "xNONE"; then
15141 exec_prefix=$prefix
15144 full_var="$FROM_VAR"
15146 new_full_var="`eval echo $full_var`"
15147 if test "x$new_full_var" = "x$full_var"; then break; fi
15148 full_var=$new_full_var
15151 full_var=$new_full_var
15152 PLUGINDIR="$full_var"
15155 prefix=$prefix_save
15156 exec_prefix=$exec_prefix_save
15159 cat >>confdefs.h <<_ACEOF
15160 #define PLUGINDIR "$PLUGINDIR"
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5
15164 $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;}
15166 plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR"
15171 if test "x$PACKAGE_VERSION_NANO" = "x0"; then
15173 if test "xyes" = "xno" -o "xyes" = "x"; then
15174 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
15175 elif test "xyes" = "xyes"; then
15176 if ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
15177 GST_PACKAGE_RELEASE_DATETIME=yes
15179 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO "${srcdir}/gst-python.doap" `;
15180 if test "x$YYYY_MM_DD" != "x"; then
15181 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
15183 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
15184 release date for release version $PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO from \"${srcdir}/gst-python.doap\" " "$LINENO" 5
15185 GST_PACKAGE_RELEASE_DATETIME=""
15188 elif ( echo yes | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
15189 GST_PACKAGE_RELEASE_DATETIME=yes
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
15192 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
15193 GST_PACKAGE_RELEASE_DATETIME=""
15196 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
15198 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
15201 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
15204 cat >>confdefs.h <<_ACEOF
15205 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
15212 if test "xno" = "xno" -o "xno" = "x"; then
15213 GST_PACKAGE_RELEASE_DATETIME=`date -u "+%Y-%m-%dT%H:%MZ"`
15214 elif test "xno" = "xyes"; then
15215 if ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
15216 GST_PACKAGE_RELEASE_DATETIME=no
15218 YYYY_MM_DD=`sh "${srcdir}/common/extract-release-date-from-doap-file" `;
15219 if test "x$YYYY_MM_DD" != "x"; then
15220 GST_PACKAGE_RELEASE_DATETIME=$YYYY_MM_DD
15222 as_fn_error $? "SET_PACKAGE_RELEASE_DATETIME: could not extract
15223 release date for release version from " "$LINENO" 5
15224 GST_PACKAGE_RELEASE_DATETIME=""
15227 elif ( echo no | grep -e '^201-90-9-0-10-9-0-30-9' >/dev/null ) ; then
15228 GST_PACKAGE_RELEASE_DATETIME=no
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&5
15231 $as_echo "$as_me: WARNING: SET_PACKAGE_RELEASE_DATETIME: invalid first argument" >&2;}
15232 GST_PACKAGE_RELEASE_DATETIME=""
15235 if test "x$GST_PACKAGE_RELEASE_DATETIME" = "x"; then
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&5
15237 $as_echo "$as_me: WARNING: Invalid package release date time: $GST_PACKAGE_RELEASE_DATETIME" >&2;}
15239 { $as_echo "$as_me:${as_lineno-$LINENO}: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&5
15240 $as_echo "$as_me: Setting GST_PACKAGE_RELEASE_DATETIME to $GST_PACKAGE_RELEASE_DATETIME" >&6;}
15243 cat >>confdefs.h <<_ACEOF
15244 #define GST_PACKAGE_RELEASE_DATETIME "$GST_PACKAGE_RELEASE_DATETIME"
15252 ac_config_files="$ac_config_files Makefile codegen/Makefile common/Makefile common/m4/Makefile gst/Makefile gst/gstversion.override gst/extend/Makefile examples/Makefile pkgconfig/Makefile pkgconfig/gst-python.pc pkgconfig/gst-python-uninstalled.pc plugin/Makefile testsuite/Makefile win32/common/config.h gst-python.spec gst/__init__.py"
15254 cat >confcache <<\_ACEOF
15255 # This file is a shell script that caches the results of configure
15256 # tests run on this system so they can be shared between configure
15257 # scripts and configure runs, see configure's option --config-cache.
15258 # It is not useful on other systems. If it contains results you don't
15259 # want to keep, you may remove or edit it.
15261 # config.status only pays attention to the cache file if you give it
15262 # the --recheck option to rerun configure.
15264 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15265 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15266 # following values.
15270 # The following way of writing the cache mishandles newlines in values,
15271 # but we know of no workaround that is simple, portable, and efficient.
15272 # So, we kill variables containing newlines.
15273 # Ultrix sh set writes to stderr and can't be redirected directly,
15274 # and sets the high bit in the cache file unless we assign to the vars.
15276 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15277 eval ac_val=\$$ac_var
15281 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15282 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15285 _ | IFS | as_nl) ;; #(
15286 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15287 *) { eval $ac_var=; unset $ac_var;} ;;
15293 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15294 *${as_nl}ac_space=\ *)
15295 # `set' does not quote correctly, so add quotes: double-quote
15296 # substitution turns \\\\ into \\, and sed turns \\ into \.
15299 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15302 # `set' quotes correctly as required by POSIX, so do not add quotes.
15303 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15312 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15314 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15316 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15317 if test -w "$cache_file"; then
15318 if test "x$cache_file" != "x/dev/null"; then
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15320 $as_echo "$as_me: updating cache $cache_file" >&6;}
15321 if test ! -f "$cache_file" || test -h "$cache_file"; then
15322 cat confcache >"$cache_file"
15324 case $cache_file in #(
15326 mv -f confcache "$cache_file"$$ &&
15327 mv -f "$cache_file"$$ "$cache_file" ;; #(
15329 mv -f confcache "$cache_file" ;;
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15335 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15340 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15341 # Let make expand exec_prefix.
15342 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15344 DEFS=-DHAVE_CONFIG_H
15349 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15350 # 1. Remove the extension, and $U if already installed.
15351 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15352 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15353 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15354 # will be set to the directory where LIBOBJS objects are built.
15355 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15356 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15358 LIBOBJS=$ac_libobjs
15360 LTLIBOBJS=$ac_ltlibobjs
15363 if test -n "$EXEEXT"; then
15365 am__EXEEXT_FALSE='#'
15367 am__EXEEXT_TRUE='#'
15371 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15372 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15375 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15376 as_fn_error $? "conditional \"AMDEP\" was never defined.
15377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15379 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15380 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15383 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15384 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15387 if test -z "${GST_GCOV_ENABLED_TRUE}" && test -z "${GST_GCOV_ENABLED_FALSE}"; then
15388 as_fn_error $? "conditional \"GST_GCOV_ENABLED\" was never defined.
15389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15391 if test -z "${HAVE_GST_AUDIO_TRUE}" && test -z "${HAVE_GST_AUDIO_FALSE}"; then
15392 as_fn_error $? "conditional \"HAVE_GST_AUDIO\" was never defined.
15393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15395 if test -z "${HAVE_GST_VIDEO_TRUE}" && test -z "${HAVE_GST_VIDEO_FALSE}"; then
15396 as_fn_error $? "conditional \"HAVE_GST_VIDEO\" was never defined.
15397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15399 if test -z "${HAVE_GST_TAG_TRUE}" && test -z "${HAVE_GST_TAG_FALSE}"; then
15400 as_fn_error $? "conditional \"HAVE_GST_TAG\" was never defined.
15401 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15403 if test -z "${HAVE_PYGOBJECT_2_16_TRUE}" && test -z "${HAVE_PYGOBJECT_2_16_FALSE}"; then
15404 as_fn_error $? "conditional \"HAVE_PYGOBJECT_2_16\" was never defined.
15405 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15407 if test -z "${HAVE_VALGRIND_TRUE}" && test -z "${HAVE_VALGRIND_FALSE}"; then
15408 as_fn_error $? "conditional \"HAVE_VALGRIND\" was never defined.
15409 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15412 : "${CONFIG_STATUS=./config.status}"
15414 ac_clean_files_save=$ac_clean_files
15415 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15417 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15419 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15421 # Generated by $as_me.
15422 # Run this file to recreate the current configuration.
15423 # Compiler output produced by configure, useful for debugging
15424 # configure, is in config.log if it exists.
15427 ac_cs_recheck=false
15430 SHELL=\${CONFIG_SHELL-$SHELL}
15433 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15434 ## -------------------- ##
15435 ## M4sh Initialization. ##
15436 ## -------------------- ##
15438 # Be more Bourne compatible
15439 DUALCASE=1; export DUALCASE # for MKS sh
15440 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15443 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15444 # is contrary to our usage. Disable this feature.
15445 alias -g '${1+"$@"}'='"$@"'
15446 setopt NO_GLOB_SUBST
15448 case `(set -o) 2>/dev/null` in #(
15460 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15461 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15462 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15463 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15464 # Prefer a ksh shell builtin over an external printf program on Solaris,
15465 # but without wasting forks for bash or zsh.
15466 if test -z "$BASH_VERSION$ZSH_VERSION" \
15467 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15468 as_echo='print -r --'
15469 as_echo_n='print -rn --'
15470 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15471 as_echo='printf %s\n'
15472 as_echo_n='printf %s'
15474 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15475 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15476 as_echo_n='/usr/ucb/echo -n'
15478 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15479 as_echo_n_body='eval
15483 expr "X$arg" : "X\\(.*\\)$as_nl";
15484 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15486 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15488 export as_echo_n_body
15489 as_echo_n='sh -c $as_echo_n_body as_echo'
15491 export as_echo_body
15492 as_echo='sh -c $as_echo_body as_echo'
15495 # The user is always right.
15496 if test "${PATH_SEPARATOR+set}" != set; then
15498 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15499 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15506 # We need space, tab and new line, in precisely that order. Quoting is
15507 # there to prevent editors from complaining about space-tab.
15508 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15509 # splitting by setting IFS to empty value.)
15512 # Find who we are. Look in the path if we contain no directory separator.
15515 *[\\/]* ) as_myself=$0 ;;
15516 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15517 for as_dir in $PATH
15520 test -z "$as_dir" && as_dir=.
15521 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15527 # We did not find ourselves, most probably we were run as `sh COMMAND'
15528 # in which case we are not to be found in the path.
15529 if test "x$as_myself" = x; then
15532 if test ! -f "$as_myself"; then
15533 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15537 # Unset variables that we do not need and which cause bugs (e.g. in
15538 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15539 # suppresses any "Segmentation fault" message there. '((' could
15540 # trigger a bug in pdksh 5.2.14.
15541 for as_var in BASH_ENV ENV MAIL MAILPATH
15542 do eval test x\${$as_var+set} = xset \
15543 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15556 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15559 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15560 # ----------------------------------------
15561 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15562 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15563 # script with STATUS, using 1 if that was 0.
15566 as_status=$1; test $as_status -eq 0 && as_status=1
15568 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15569 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15571 $as_echo "$as_me: error: $2" >&2
15572 as_fn_exit $as_status
15576 # as_fn_set_status STATUS
15577 # -----------------------
15578 # Set $? to STATUS, without forking.
15579 as_fn_set_status ()
15582 } # as_fn_set_status
15584 # as_fn_exit STATUS
15585 # -----------------
15586 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15590 as_fn_set_status $1
15596 # Portably unset VAR.
15599 { eval $1=; unset $1;}
15601 as_unset=as_fn_unset
15602 # as_fn_append VAR VALUE
15603 # ----------------------
15604 # Append the text in VALUE to the end of the definition contained in VAR. Take
15605 # advantage of any shell optimizations that allow amortized linear growth over
15606 # repeated appends, instead of the typical quadratic growth present in naive
15608 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15609 eval 'as_fn_append ()
15620 # as_fn_arith ARG...
15621 # ------------------
15622 # Perform arithmetic evaluation on the ARGs, and store the result in the
15623 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15624 # must be portable across $(()) and expr.
15625 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15626 eval 'as_fn_arith ()
15633 as_val=`expr "$@" || test $? -eq 1`
15638 if expr a : '\(a\)' >/dev/null 2>&1 &&
15639 test "X`expr 00001 : '.*\(...\)'`" = X001; then
15645 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15646 as_basename=basename
15651 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15657 as_me=`$as_basename -- "$0" ||
15658 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15659 X"$0" : 'X\(//\)$' \| \
15660 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15662 sed '/^.*\/\([^/][^/]*\)\/*$/{
15676 # Avoid depending upon Character Ranges.
15677 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15678 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15679 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15680 as_cr_digits='0123456789'
15681 as_cr_alnum=$as_cr_Letters$as_cr_digits
15683 ECHO_C= ECHO_N= ECHO_T=
15684 case `echo -n x` in #(((((
15686 case `echo 'xy\c'` in
15687 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
15689 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15696 rm -f conf$$ conf$$.exe conf$$.file
15697 if test -d conf$$.dir; then
15698 rm -f conf$$.dir/conf$$.file
15701 mkdir conf$$.dir 2>/dev/null
15703 if (echo >conf$$.file) 2>/dev/null; then
15704 if ln -s conf$$.file conf$$ 2>/dev/null; then
15706 # ... but there are two gotchas:
15707 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15708 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15709 # In both cases, we have to default to `cp -p'.
15710 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15712 elif ln conf$$.file conf$$ 2>/dev/null; then
15720 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15721 rmdir conf$$.dir 2>/dev/null
15726 # Create "$as_dir" as a directory, including parents if necessary.
15731 -*) as_dir=./$as_dir;;
15733 test -d "$as_dir" || eval $as_mkdir_p || {
15737 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15738 *) as_qdir=$as_dir;;
15740 as_dirs="'$as_qdir' $as_dirs"
15741 as_dir=`$as_dirname -- "$as_dir" ||
15742 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15743 X"$as_dir" : 'X\(//\)[^/]' \| \
15744 X"$as_dir" : 'X\(//\)$' \| \
15745 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15746 $as_echo X"$as_dir" |
15747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15751 /^X\(\/\/\)[^/].*/{
15764 test -d "$as_dir" && break
15766 test -z "$as_dirs" || eval "mkdir $as_dirs"
15767 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15771 if mkdir -p . 2>/dev/null; then
15772 as_mkdir_p='mkdir -p "$as_dir"'
15774 test -d ./-p && rmdir ./-p
15778 if test -x / >/dev/null 2>&1; then
15779 as_test_x='test -x'
15781 if ls -dL / >/dev/null 2>&1; then
15788 if test -d "$1"; then
15794 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15795 ???[sx]*):;;*)false;;esac;fi
15799 as_executable_p=$as_test_x
15801 # Sed expression to map a string onto a valid CPP name.
15802 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15804 # Sed expression to map a string onto a valid variable name.
15805 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15809 ## ----------------------------------- ##
15810 ## Main body of $CONFIG_STATUS script. ##
15811 ## ----------------------------------- ##
15813 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15816 # Save the log message, to keep $0 and so on meaningful, and to
15817 # report actual input values of CONFIG_FILES etc. instead of their
15818 # values after options handling.
15820 This file was extended by GStreamer Python Bindings $as_me 0.10.22, which was
15821 generated by GNU Autoconf 2.68. Invocation command line was
15823 CONFIG_FILES = $CONFIG_FILES
15824 CONFIG_HEADERS = $CONFIG_HEADERS
15825 CONFIG_LINKS = $CONFIG_LINKS
15826 CONFIG_COMMANDS = $CONFIG_COMMANDS
15829 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15834 case $ac_config_files in *"
15835 "*) set x $ac_config_files; shift; ac_config_files=$*;;
15838 case $ac_config_headers in *"
15839 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15843 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15844 # Files that config.status was made for.
15845 config_files="$ac_config_files"
15846 config_headers="$ac_config_headers"
15847 config_commands="$ac_config_commands"
15851 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15853 \`$as_me' instantiates files and other configuration actions
15854 from templates according to the current configuration. Unless the files
15855 and actions are specified as TAGs, all are instantiated by default.
15857 Usage: $0 [OPTION]... [TAG]...
15859 -h, --help print this help, then exit
15860 -V, --version print version number and configuration settings, then exit
15861 --config print configuration, then exit
15862 -q, --quiet, --silent
15863 do not print progress messages
15864 -d, --debug don't remove temporary files
15865 --recheck update $as_me by reconfiguring in the same conditions
15866 --file=FILE[:TEMPLATE]
15867 instantiate the configuration file FILE
15868 --header=FILE[:TEMPLATE]
15869 instantiate the configuration header FILE
15871 Configuration files:
15874 Configuration headers:
15877 Configuration commands:
15880 Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer>."
15883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15884 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15886 GStreamer Python Bindings config.status 0.10.22
15887 configured by $0, generated by GNU Autoconf 2.68,
15888 with options \\"\$ac_cs_config\\"
15890 Copyright (C) 2010 Free Software Foundation, Inc.
15891 This config.status script is free software; the Free Software Foundation
15892 gives unlimited permission to copy, distribute and modify it."
15899 test -n "\$AWK" || AWK=awk
15902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15903 # The default lists apply if the user does not specify any file.
15909 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15910 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15914 ac_option=`expr "X$1" : 'X\([^=]*\)='`
15926 # Handling of the options.
15927 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15929 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15930 $as_echo "$ac_cs_version"; exit ;;
15931 --config | --confi | --conf | --con | --co | --c )
15932 $as_echo "$ac_cs_config"; exit ;;
15933 --debug | --debu | --deb | --de | --d | -d )
15935 --file | --fil | --fi | --f )
15938 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15939 '') as_fn_error $? "missing file argument" ;;
15941 as_fn_append CONFIG_FILES " '$ac_optarg'"
15942 ac_need_defaults=false;;
15943 --header | --heade | --head | --hea )
15946 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15948 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15949 ac_need_defaults=false;;
15951 # Conflict between --help and --header
15952 as_fn_error $? "ambiguous option: \`$1'
15953 Try \`$0 --help' for more information.";;
15954 --help | --hel | -h )
15955 $as_echo "$ac_cs_usage"; exit ;;
15956 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15957 | -silent | --silent | --silen | --sile | --sil | --si | --s)
15960 # This is an error.
15961 -*) as_fn_error $? "unrecognized option: \`$1'
15962 Try \`$0 --help' for more information." ;;
15964 *) as_fn_append ac_config_targets " $1"
15965 ac_need_defaults=false ;;
15971 ac_configure_extra_args=
15973 if $ac_cs_silent; then
15975 ac_configure_extra_args="$ac_configure_extra_args --silent"
15979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15980 if \$ac_cs_recheck; then
15981 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15983 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15984 CONFIG_SHELL='$SHELL'
15985 export CONFIG_SHELL
15990 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15994 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15995 ## Running $as_me. ##
16001 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16005 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16008 # The HP-UX ksh and POSIX shell print the target directory to stdout
16009 # if CDPATH is set.
16010 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16012 sed_quote_subst='$sed_quote_subst'
16013 double_quote_subst='$double_quote_subst'
16014 delay_variable_subst='$delay_variable_subst'
16015 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16016 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16017 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16018 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16019 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16020 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16021 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16022 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16023 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16024 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16025 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16026 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16027 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16028 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16029 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16030 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16031 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16032 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16033 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16034 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16035 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16036 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16037 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16038 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16039 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16040 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16041 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16042 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16043 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16044 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16045 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16046 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16047 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16048 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16049 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16050 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16051 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16052 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16053 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16054 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16055 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16056 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16057 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16058 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16059 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16060 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16061 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16062 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16063 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16064 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16065 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16066 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16067 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16068 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16069 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16070 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16071 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
16072 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16073 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16074 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16075 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16076 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16077 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16078 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16079 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16080 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16081 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16082 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16083 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16084 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16085 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16086 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16087 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16088 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16089 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16090 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16091 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16092 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16093 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16094 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16095 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16096 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16097 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16098 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16099 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16100 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16101 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16102 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16103 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16104 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16105 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16106 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16107 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16108 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16109 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16110 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16111 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16112 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16113 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16114 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16115 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16116 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16117 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16118 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16119 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16120 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16121 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16122 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16123 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16124 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16125 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16126 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16127 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16128 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16129 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16130 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16131 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16132 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16133 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16134 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16135 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16136 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16137 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16138 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16139 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16140 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16141 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16142 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16143 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16144 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16145 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16148 LTCFLAGS='$LTCFLAGS'
16149 compiler='$compiler_DEFAULT'
16151 # A function that is used when there is no print builtin or printf.
16152 func_fallback_echo ()
16154 eval 'cat <<_LTECHO_EOF
16159 # Quote evaled strings.
16175 deplibs_check_method \
16179 sharedlib_from_linklib_cmd \
16182 archiver_list_spec \
16188 lt_cv_sys_global_symbol_pipe \
16189 lt_cv_sys_global_symbol_to_cdecl \
16190 lt_cv_sys_global_symbol_to_c_name_address \
16191 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16192 nm_file_list_spec \
16193 lt_prog_compiler_no_builtin_flag \
16194 lt_prog_compiler_pic \
16195 lt_prog_compiler_wl \
16196 lt_prog_compiler_static \
16197 lt_cv_prog_compiler_c_o \
16206 export_dynamic_flag_spec \
16207 whole_archive_flag_spec \
16208 compiler_needs_object \
16210 allow_undefined_flag \
16211 no_undefined_flag \
16212 hardcode_libdir_flag_spec \
16213 hardcode_libdir_flag_spec_ld \
16214 hardcode_libdir_separator \
16218 variables_saved_for_relink \
16220 library_names_spec \
16222 install_override_mode \
16226 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16227 *[\\\\\\\`\\"\\\$]*)
16228 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16231 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16236 # Double-quote double-evaled strings.
16237 for var in reload_cmds \
16238 old_postinstall_cmds \
16239 old_postuninstall_cmds \
16241 extract_expsyms_cmds \
16242 old_archive_from_new_cmds \
16243 old_archive_from_expsyms_cmds \
16245 archive_expsym_cmds \
16247 module_expsym_cmds \
16248 export_symbols_cmds \
16252 postuninstall_cmds \
16254 sys_lib_search_path_spec \
16255 sys_lib_dlsearch_path_spec; do
16256 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16257 *[\\\\\\\`\\"\\\$]*)
16258 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16261 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16266 ac_aux_dir='$ac_aux_dir'
16267 xsi_shell='$xsi_shell'
16268 lt_shell_append='$lt_shell_append'
16270 # See if we are running on zsh, and set the options which allow our
16271 # commands through without removal of \ escapes INIT.
16272 if test -n "\${ZSH_VERSION+set}" ; then
16273 setopt NO_GLOB_SUBST
16279 TIMESTAMP='$TIMESTAMP'
16288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16290 # Handling of arguments.
16291 for ac_config_target in $ac_config_targets
16293 case $ac_config_target in
16294 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16295 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16296 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16297 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16298 "codegen/Makefile") CONFIG_FILES="$CONFIG_FILES codegen/Makefile" ;;
16299 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
16300 "common/m4/Makefile") CONFIG_FILES="$CONFIG_FILES common/m4/Makefile" ;;
16301 "gst/Makefile") CONFIG_FILES="$CONFIG_FILES gst/Makefile" ;;
16302 "gst/gstversion.override") CONFIG_FILES="$CONFIG_FILES gst/gstversion.override" ;;
16303 "gst/extend/Makefile") CONFIG_FILES="$CONFIG_FILES gst/extend/Makefile" ;;
16304 "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
16305 "pkgconfig/Makefile") CONFIG_FILES="$CONFIG_FILES pkgconfig/Makefile" ;;
16306 "pkgconfig/gst-python.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gst-python.pc" ;;
16307 "pkgconfig/gst-python-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pkgconfig/gst-python-uninstalled.pc" ;;
16308 "plugin/Makefile") CONFIG_FILES="$CONFIG_FILES plugin/Makefile" ;;
16309 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
16310 "win32/common/config.h") CONFIG_FILES="$CONFIG_FILES win32/common/config.h" ;;
16311 "gst-python.spec") CONFIG_FILES="$CONFIG_FILES gst-python.spec" ;;
16312 "gst/__init__.py") CONFIG_FILES="$CONFIG_FILES gst/__init__.py" ;;
16314 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16319 # If the user did not use the arguments to specify the items to instantiate,
16320 # then the envvar interface is used. Set only those that are not.
16321 # We use the long form for the default assignment because of an extremely
16322 # bizarre bug on SunOS 4.1.3.
16323 if $ac_need_defaults; then
16324 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16325 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16326 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16329 # Have a temporary directory for convenience. Make it in the build tree
16330 # simply because there is no reason against having it here, and in addition,
16331 # creating and moving files from /tmp can sometimes cause problems.
16332 # Hook for its removal unless debugging.
16333 # Note that there is a small window in which the directory will not be cleaned:
16334 # after its creation but before its name has been assigned to `$tmp'.
16338 trap 'exit_status=$?
16339 : "${ac_tmp:=$tmp}"
16340 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16342 trap 'as_fn_exit 1' 1 2 13 15
16344 # Create a (secure) tmp directory for tmp files.
16347 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16351 tmp=./conf$$-$RANDOM
16352 (umask 077 && mkdir "$tmp")
16353 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16356 # Set up the scripts for CONFIG_FILES section.
16357 # No need to generate them if there are no CONFIG_FILES.
16358 # This happens for instance with `./config.status config.h'.
16359 if test -n "$CONFIG_FILES"; then
16362 ac_cr=`echo X | tr X '\015'`
16363 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16364 # But we know of no other shell where ac_cr would be empty at this
16365 # point, so we can use a bashism as a fallback.
16366 if test "x$ac_cr" = x; then
16367 eval ac_cr=\$\'\\r\'
16369 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16370 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16373 ac_cs_awk_cr=$ac_cr
16376 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16381 echo "cat >conf$$subs.awk <<_ACEOF" &&
16382 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16384 } >conf$$subs.sh ||
16385 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16386 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16388 for ac_last_try in false false false false false :; do
16389 . ./conf$$subs.sh ||
16390 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16392 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16393 if test $ac_delim_n = $ac_delim_num; then
16395 elif $ac_last_try; then
16396 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16398 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16401 rm -f conf$$subs.sh
16403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16404 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16408 s/^/S["/; s/!.*/"]=/
16418 s/\(.\{148\}\)..*/\1/
16420 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16425 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16432 s/\(.\{148\}\)..*/\1/
16434 s/["\\]/\\&/g; s/^/"/; s/$/"/
16438 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16443 ' <conf$$subs.awk | sed '
16448 ' >>$CONFIG_STATUS || ac_write_fail=1
16449 rm -f conf$$subs.awk
16450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16452 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16453 for (key in S) S_is_set[key] = 1
16459 nfields = split(line, field, "@")
16461 len = length(field[1])
16462 for (i = 2; i < nfields; i++) {
16464 keylen = length(key)
16465 if (S_is_set[key]) {
16467 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16468 len += length(value) + length(field[++i])
16479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16480 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16481 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16484 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16485 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16488 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16489 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16490 # trailing colons and then remove the whole line if VPATH becomes empty
16491 # (actually we leave an empty line to preserve line numbers).
16492 if test "x$srcdir" = x.; then
16493 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16512 fi # test -n "$CONFIG_FILES"
16514 # Set up the scripts for CONFIG_HEADERS section.
16515 # No need to generate them if there are no CONFIG_HEADERS.
16516 # This happens for instance with `./config.status Makefile'.
16517 if test -n "$CONFIG_HEADERS"; then
16518 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16522 # Transform confdefs.h into an awk script `defines.awk', embedded as
16523 # here-document in config.status, that substitutes the proper values into
16524 # config.h.in to produce config.h.
16526 # Create a delimiter string that does not exist in confdefs.h, to ease
16527 # handling of long lines.
16529 for ac_last_try in false false :; do
16530 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16531 if test -z "$ac_tt"; then
16533 elif $ac_last_try; then
16534 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16536 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16540 # For the awk script, D is an array of macro values keyed by name,
16541 # likewise P contains macro parameters if any. Preserve backslash
16542 # newline sequences.
16544 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16546 s/.\{148\}/&'"$ac_delim"'/g
16549 s/^[ ]*#[ ]*define[ ][ ]*/ /
16556 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16558 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16562 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16563 D["\1"]=" \3\\\\\\n"\\/p
16565 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16570 s/.\{148\}/&'"$ac_delim"'/g
16575 s/["\\]/\\&/g; s/^/"/; s/$/"/p
16578 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16580 ' <confdefs.h | sed '
16581 s/'"$ac_delim"'/"\\\
16582 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16585 for (key in D) D_is_set[key] = 1
16588 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16590 split(line, arg, " ")
16591 if (arg[1] == "#") {
16595 defundef = substr(arg[1], 2)
16598 split(mac1, mac2, "(") #)
16600 prefix = substr(line, 1, index(line, defundef) - 1)
16601 if (D_is_set[macro]) {
16602 # Preserve the white space surrounding the "#".
16603 print prefix "define", macro P[macro] D[macro]
16606 # Replace #undef with comments. This is necessary, for example,
16607 # in the case of _POSIX_SOURCE, which is predefined and required
16608 # on some systems where configure will not decide to define it.
16609 if (defundef == "undef") {
16610 print "/*", prefix defundef, macro, "*/"
16618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16619 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16620 fi # test -n "$CONFIG_HEADERS"
16623 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16628 :[FHLC]) ac_mode=$ac_tag; continue;;
16630 case $ac_mode$ac_tag in
16632 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16633 :[FH]-) ac_tag=-:-;;
16634 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16651 -) ac_f="$ac_tmp/stdin";;
16652 *) # Look for the file first in the build tree, then in the source tree
16653 # (if the path is not absolute). The absolute path cannot be DOS-style,
16654 # because $ac_f cannot contain `:'.
16658 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16660 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16662 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16663 as_fn_append ac_file_inputs " '$ac_f'"
16666 # Let's still pretend it is `configure' which instantiates (i.e., don't
16667 # use $as_me), people would be surprised to read:
16668 # /* config.h. Generated by config.status. */
16669 configure_input='Generated from '`
16670 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16672 if test x"$ac_file" != x-; then
16673 configure_input="$ac_file. $configure_input"
16674 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16675 $as_echo "$as_me: creating $ac_file" >&6;}
16677 # Neutralize special characters interpreted by sed in replacement strings.
16678 case $configure_input in #(
16679 *\&* | *\|* | *\\* )
16680 ac_sed_conf_input=`$as_echo "$configure_input" |
16681 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16682 *) ac_sed_conf_input=$configure_input;;
16686 *:-:* | *:-) cat >"$ac_tmp/stdin" \
16687 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16692 ac_dir=`$as_dirname -- "$ac_file" ||
16693 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16694 X"$ac_file" : 'X\(//\)[^/]' \| \
16695 X"$ac_file" : 'X\(//\)$' \| \
16696 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16697 $as_echo X"$ac_file" |
16698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16702 /^X\(\/\/\)[^/].*/{
16715 as_dir="$ac_dir"; as_fn_mkdir_p
16719 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16721 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16722 # A ".." for each directory in $ac_dir_suffix.
16723 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16724 case $ac_top_builddir_sub in
16725 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16726 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16729 ac_abs_top_builddir=$ac_pwd
16730 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16731 # for backward compatibility:
16732 ac_top_builddir=$ac_top_build_prefix
16735 .) # We are building in place.
16737 ac_top_srcdir=$ac_top_builddir_sub
16738 ac_abs_top_srcdir=$ac_pwd ;;
16739 [\\/]* | ?:[\\/]* ) # Absolute name.
16740 ac_srcdir=$srcdir$ac_dir_suffix;
16741 ac_top_srcdir=$srcdir
16742 ac_abs_top_srcdir=$srcdir ;;
16743 *) # Relative name.
16744 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16745 ac_top_srcdir=$ac_top_build_prefix$srcdir
16746 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16748 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16758 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16759 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16761 ac_MKDIR_P=$MKDIR_P
16763 [\\/$]* | ?:[\\/]* ) ;;
16764 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16769 # If the template does not know about datarootdir, expand it.
16770 # FIXME: This hack should be removed a few years after 2.60.
16771 ac_datarootdir_hack=; ac_datarootdir_seen=
16782 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16783 *datarootdir*) ac_datarootdir_seen=yes;;
16784 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16786 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16789 ac_datarootdir_hack='
16790 s&@datadir@&$datadir&g
16791 s&@docdir@&$docdir&g
16792 s&@infodir@&$infodir&g
16793 s&@localedir@&$localedir&g
16794 s&@mandir@&$mandir&g
16795 s&\\\${datarootdir}&$datarootdir&g' ;;
16799 # Neutralize VPATH when `$srcdir' = `.'.
16800 # Shell code in configure.ac might set extrasub.
16801 # FIXME: do we really want to maintain this feature?
16802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16803 ac_sed_extra="$ac_vpsub
16806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16808 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16809 s|@configure_input@|$ac_sed_conf_input|;t t
16810 s&@top_builddir@&$ac_top_builddir_sub&;t t
16811 s&@top_build_prefix@&$ac_top_build_prefix&;t t
16812 s&@srcdir@&$ac_srcdir&;t t
16813 s&@abs_srcdir@&$ac_abs_srcdir&;t t
16814 s&@top_srcdir@&$ac_top_srcdir&;t t
16815 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16816 s&@builddir@&$ac_builddir&;t t
16817 s&@abs_builddir@&$ac_abs_builddir&;t t
16818 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16819 s&@INSTALL@&$ac_INSTALL&;t t
16820 s&@MKDIR_P@&$ac_MKDIR_P&;t t
16821 $ac_datarootdir_hack
16823 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16824 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16826 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16827 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16828 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16829 "$ac_tmp/out"`; test -z "$ac_out"; } &&
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16831 which seems to be undefined. Please make sure it is defined" >&5
16832 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16833 which seems to be undefined. Please make sure it is defined" >&2;}
16835 rm -f "$ac_tmp/stdin"
16837 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16838 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16840 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16846 if test x"$ac_file" != x-; then
16848 $as_echo "/* $configure_input */" \
16849 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16850 } >"$ac_tmp/config.h" \
16851 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16852 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16854 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16857 mv "$ac_tmp/config.h" "$ac_file" \
16858 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16861 $as_echo "/* $configure_input */" \
16862 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16863 || as_fn_error $? "could not create -" "$LINENO" 5
16865 # Compute "$ac_file"'s index in $config_headers.
16868 for _am_header in $config_headers :; do
16869 case $_am_header in
16870 $_am_arg | $_am_arg:* )
16873 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16876 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16877 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16878 X"$_am_arg" : 'X\(//\)[^/]' \| \
16879 X"$_am_arg" : 'X\(//\)$' \| \
16880 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16881 $as_echo X"$_am_arg" |
16882 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16886 /^X\(\/\/\)[^/].*/{
16898 s/.*/./; q'`/stamp-h$_am_stamp_count
16901 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16902 $as_echo "$as_me: executing $ac_file commands" >&6;}
16907 case $ac_file$ac_mode in
16908 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16909 # Autoconf 2.62 quotes --file arguments for eval, but not when files
16910 # are listed without --file. Let's play safe and only enable the eval
16911 # if we detect the quoting.
16912 case $CONFIG_FILES in
16913 *\'*) eval set x "$CONFIG_FILES" ;;
16914 *) set x $CONFIG_FILES ;;
16919 # Strip MF so we end up with the name of the file.
16920 mf=`echo "$mf" | sed -e 's/:.*$//'`
16921 # Check whether this is an Automake generated Makefile or not.
16922 # We used to match only the files named `Makefile.in', but
16923 # some people rename them; so instead we look at the file content.
16924 # Grep'ing the first line is not enough: some people post-process
16925 # each Makefile.in and add a new line on top of each file to say so.
16926 # Grep'ing the whole file is not good either: AIX grep has a line
16927 # limit of 2048, but all sed's we know have understand at least 4000.
16928 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16929 dirpart=`$as_dirname -- "$mf" ||
16930 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16931 X"$mf" : 'X\(//\)[^/]' \| \
16932 X"$mf" : 'X\(//\)$' \| \
16933 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16939 /^X\(\/\/\)[^/].*/{
16955 # Extract the definition of DEPDIR, am__include, and am__quote
16956 # from the Makefile without running `make'.
16957 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16958 test -z "$DEPDIR" && continue
16959 am__include=`sed -n 's/^am__include = //p' < "$mf"`
16960 test -z "am__include" && continue
16961 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16962 # When using ansi2knr, U may be empty or an underscore; expand it
16963 U=`sed -n 's/^U = //p' < "$mf"`
16964 # Find all dependency output files, they are included files with
16965 # $(DEPDIR) in their names. We invoke sed twice because it is the
16966 # simplest approach to changing $(DEPDIR) to its actual value in the
16968 for file in `sed -n "
16969 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16970 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16971 # Make sure the directory exists.
16972 test -f "$dirpart/$file" && continue
16973 fdir=`$as_dirname -- "$file" ||
16974 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16975 X"$file" : 'X\(//\)[^/]' \| \
16976 X"$file" : 'X\(//\)$' \| \
16977 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16978 $as_echo X"$file" |
16979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16983 /^X\(\/\/\)[^/].*/{
16996 as_dir=$dirpart/$fdir; as_fn_mkdir_p
16997 # echo "creating $dirpart/$file"
16998 echo '# dummy' > "$dirpart/$file"
17005 # See if we are running on zsh, and set the options which allow our
17006 # commands through without removal of \ escapes.
17007 if test -n "${ZSH_VERSION+set}" ; then
17008 setopt NO_GLOB_SUBST
17011 cfgfile="${ofile}T"
17012 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17015 cat <<_LT_EOF >> "$cfgfile"
17018 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17019 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17020 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17021 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17023 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17024 # 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17026 # Written by Gordon Matzigkeit, 1996
17028 # This file is part of GNU Libtool.
17030 # GNU Libtool is free software; you can redistribute it and/or
17031 # modify it under the terms of the GNU General Public License as
17032 # published by the Free Software Foundation; either version 2 of
17033 # the License, or (at your option) any later version.
17035 # As a special exception to the GNU General Public License,
17036 # if you distribute this file as part of a program or library that
17037 # is built using GNU Libtool, you may include this file under the
17038 # same distribution terms that you use for the rest of that program.
17040 # GNU Libtool is distributed in the hope that it will be useful,
17041 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17042 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17043 # GNU General Public License for more details.
17045 # You should have received a copy of the GNU General Public License
17046 # along with GNU Libtool; see the file COPYING. If not, a copy
17047 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17048 # obtained by writing to the Free Software Foundation, Inc.,
17049 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17052 # The names of the tagged configurations supported by this script.
17055 # ### BEGIN LIBTOOL CONFIG
17057 # Whether or not to build static libraries.
17058 build_old_libs=$enable_static
17060 # Assembler program.
17063 # DLL creation program.
17064 DLLTOOL=$lt_DLLTOOL
17066 # Object dumper program.
17067 OBJDUMP=$lt_OBJDUMP
17069 # Which release of libtool.m4 was used?
17070 macro_version=$macro_version
17071 macro_revision=$macro_revision
17073 # Whether or not to build shared libraries.
17074 build_libtool_libs=$enable_shared
17076 # What type of objects to build.
17079 # Whether or not to optimize for fast installation.
17080 fast_install=$enable_fast_install
17082 # Shell to use when invoking shell scripts.
17085 # An echo program that protects backslashes.
17089 host_alias=$host_alias
17093 # The build system.
17094 build_alias=$build_alias
17098 # A sed program that does not truncate output.
17101 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17102 Xsed="\$SED -e 1s/^X//"
17104 # A grep program that handles long lines.
17110 # A literal string matcher.
17113 # A BSD- or MS-compatible name lister.
17116 # Whether we need soft or hard links.
17119 # What is the maximum length of a command?
17120 max_cmd_len=$max_cmd_len
17122 # Object file suffix (normally "o").
17125 # Executable file suffix (normally "").
17128 # whether the shell understands "unset".
17131 # turn spaces into newlines.
17134 # turn newlines into spaces.
17137 # convert \$build file names to \$host format.
17138 to_host_file_cmd=$lt_cv_to_host_file_cmd
17140 # convert \$build files to toolchain format.
17141 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17143 # Method to check whether dependent libraries are shared objects.
17144 deplibs_check_method=$lt_deplibs_check_method
17146 # Command to use when deplibs_check_method = "file_magic".
17147 file_magic_cmd=$lt_file_magic_cmd
17149 # How to find potential files when deplibs_check_method = "file_magic".
17150 file_magic_glob=$lt_file_magic_glob
17152 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17153 want_nocaseglob=$lt_want_nocaseglob
17155 # Command to associate shared and link libraries.
17156 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17161 # Flags to create an archive.
17162 AR_FLAGS=$lt_AR_FLAGS
17164 # How to feed a file listing to the archiver.
17165 archiver_list_spec=$lt_archiver_list_spec
17167 # A symbol stripping program.
17170 # Commands used to install an old-style archive.
17172 old_postinstall_cmds=$lt_old_postinstall_cmds
17173 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17175 # Whether to use a lock for old archive extraction.
17176 lock_old_archive_extraction=$lock_old_archive_extraction
17181 # LTCC compiler flags.
17182 LTCFLAGS=$lt_CFLAGS
17184 # Take the output of nm and produce a listing of raw symbols and C names.
17185 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17187 # Transform the output of nm in a proper C declaration.
17188 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17190 # Transform the output of nm in a C name address pair.
17191 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17193 # Transform the output of nm in a C name address pair when lib prefix is needed.
17194 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17196 # Specify filename containing input files for \$NM.
17197 nm_file_list_spec=$lt_nm_file_list_spec
17199 # The root where to search for dependent libraries,and in which our libraries should be installed.
17200 lt_sysroot=$lt_sysroot
17202 # The name of the directory that contains temporary libtool files.
17205 # Used to examine libraries when file_magic_cmd begins with "file".
17206 MAGIC_CMD=$MAGIC_CMD
17208 # Must we lock files when doing compilation?
17209 need_locks=$lt_need_locks
17212 MANIFEST_TOOL=$lt_MANIFEST_TOOL
17214 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17215 DSYMUTIL=$lt_DSYMUTIL
17217 # Tool to change global to local symbols on Mac OS X.
17220 # Tool to manipulate fat objects and archives on Mac OS X.
17223 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17226 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17227 OTOOL64=$lt_OTOOL64
17229 # Old archive suffix (normally "a").
17232 # Shared library suffix (normally ".so").
17233 shrext_cmds=$lt_shrext_cmds
17235 # The commands to extract the exported symbol list from a shared archive.
17236 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17238 # Variables whose values should be saved in libtool wrapper scripts and
17239 # restored at link time.
17240 variables_saved_for_relink=$lt_variables_saved_for_relink
17242 # Do we need the "lib" prefix for modules?
17243 need_lib_prefix=$need_lib_prefix
17245 # Do we need a version for libraries?
17246 need_version=$need_version
17248 # Library versioning type.
17249 version_type=$version_type
17251 # Shared library runtime path variable.
17252 runpath_var=$runpath_var
17254 # Shared library path variable.
17255 shlibpath_var=$shlibpath_var
17257 # Is shlibpath searched before the hard-coded library search path?
17258 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17260 # Format of library name prefix.
17261 libname_spec=$lt_libname_spec
17263 # List of archive names. First name is the real one, the rest are links.
17264 # The last name is the one that the linker finds with -lNAME
17265 library_names_spec=$lt_library_names_spec
17267 # The coded name of the library, if different from the real name.
17268 soname_spec=$lt_soname_spec
17270 # Permission mode override for installation of shared libraries.
17271 install_override_mode=$lt_install_override_mode
17273 # Command to use after installation of a shared archive.
17274 postinstall_cmds=$lt_postinstall_cmds
17276 # Command to use after uninstallation of a shared archive.
17277 postuninstall_cmds=$lt_postuninstall_cmds
17279 # Commands used to finish a libtool library installation in a directory.
17280 finish_cmds=$lt_finish_cmds
17282 # As "finish_cmds", except a single script fragment to be evaled but
17284 finish_eval=$lt_finish_eval
17286 # Whether we should hardcode library paths into libraries.
17287 hardcode_into_libs=$hardcode_into_libs
17289 # Compile-time system search path for libraries.
17290 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17292 # Run-time system search path for libraries.
17293 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17295 # Whether dlopen is supported.
17296 dlopen_support=$enable_dlopen
17298 # Whether dlopen of programs is supported.
17299 dlopen_self=$enable_dlopen_self
17301 # Whether dlopen of statically linked programs is supported.
17302 dlopen_self_static=$enable_dlopen_self_static
17304 # Commands to strip libraries.
17305 old_striplib=$lt_old_striplib
17306 striplib=$lt_striplib
17309 # The linker used to build libraries.
17312 # How to create reloadable object files.
17313 reload_flag=$lt_reload_flag
17314 reload_cmds=$lt_reload_cmds
17316 # Commands used to build an old-style archive.
17317 old_archive_cmds=$lt_old_archive_cmds
17319 # A language specific compiler.
17322 # Is the compiler the GNU compiler?
17325 # Compiler flag to turn off builtin functions.
17326 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17328 # Additional compiler flags for building library objects.
17329 pic_flag=$lt_lt_prog_compiler_pic
17331 # How to pass a linker flag through the compiler.
17332 wl=$lt_lt_prog_compiler_wl
17334 # Compiler flag to prevent dynamic linking.
17335 link_static_flag=$lt_lt_prog_compiler_static
17337 # Does compiler simultaneously support -c and -o options?
17338 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17340 # Whether or not to add -lc for building shared libraries.
17341 build_libtool_need_lc=$archive_cmds_need_lc
17343 # Whether or not to disallow shared libs when runtime libs are static.
17344 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17346 # Compiler flag to allow reflexive dlopens.
17347 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17349 # Compiler flag to generate shared objects directly from archives.
17350 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17352 # Whether the compiler copes with passing no objects directly.
17353 compiler_needs_object=$lt_compiler_needs_object
17355 # Create an old-style archive from a shared archive.
17356 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17358 # Create a temporary old-style archive to link instead of a shared archive.
17359 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17361 # Commands used to build a shared archive.
17362 archive_cmds=$lt_archive_cmds
17363 archive_expsym_cmds=$lt_archive_expsym_cmds
17365 # Commands used to build a loadable module if different from building
17366 # a shared archive.
17367 module_cmds=$lt_module_cmds
17368 module_expsym_cmds=$lt_module_expsym_cmds
17370 # Whether we are building with GNU ld or not.
17371 with_gnu_ld=$lt_with_gnu_ld
17373 # Flag that allows shared libraries with undefined symbols to be built.
17374 allow_undefined_flag=$lt_allow_undefined_flag
17376 # Flag that enforces no undefined symbols.
17377 no_undefined_flag=$lt_no_undefined_flag
17379 # Flag to hardcode \$libdir into a binary during linking.
17380 # This must work even if \$libdir does not exist
17381 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17383 # If ld is used when linking, flag to hardcode \$libdir into a binary
17384 # during linking. This must work even if \$libdir does not exist.
17385 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17387 # Whether we need a single "-rpath" flag with a separated argument.
17388 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17390 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17391 # DIR into the resulting binary.
17392 hardcode_direct=$hardcode_direct
17394 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17395 # DIR into the resulting binary and the resulting library dependency is
17396 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17397 # library is relocated.
17398 hardcode_direct_absolute=$hardcode_direct_absolute
17400 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17401 # into the resulting binary.
17402 hardcode_minus_L=$hardcode_minus_L
17404 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17405 # into the resulting binary.
17406 hardcode_shlibpath_var=$hardcode_shlibpath_var
17408 # Set to "yes" if building a shared library automatically hardcodes DIR
17409 # into the library and all subsequent libraries and executables linked
17411 hardcode_automatic=$hardcode_automatic
17413 # Set to yes if linker adds runtime paths of dependent libraries
17414 # to runtime path list.
17415 inherit_rpath=$inherit_rpath
17417 # Whether libtool must link a program against all its dependency libraries.
17418 link_all_deplibs=$link_all_deplibs
17420 # Set to "yes" if exported symbols are required.
17421 always_export_symbols=$always_export_symbols
17423 # The commands to list exported symbols.
17424 export_symbols_cmds=$lt_export_symbols_cmds
17426 # Symbols that should not be listed in the preloaded symbols.
17427 exclude_expsyms=$lt_exclude_expsyms
17429 # Symbols that must always be exported.
17430 include_expsyms=$lt_include_expsyms
17432 # Commands necessary for linking programs (against libraries) with templates.
17433 prelink_cmds=$lt_prelink_cmds
17435 # Commands necessary for finishing linking programs.
17436 postlink_cmds=$lt_postlink_cmds
17438 # Specify filename containing input files.
17439 file_list_spec=$lt_file_list_spec
17441 # How to hardcode a shared library path into an executable.
17442 hardcode_action=$hardcode_action
17444 # ### END LIBTOOL CONFIG
17450 cat <<\_LT_EOF >> "$cfgfile"
17451 # AIX sometimes has problems with the GCC collect2 program. For some
17452 # reason, if we set the COLLECT_NAMES environment variable, the problems
17453 # vanish in a puff of smoke.
17454 if test "X${COLLECT_NAMES+set}" != Xset; then
17456 export COLLECT_NAMES
17463 ltmain="$ac_aux_dir/ltmain.sh"
17466 # We use sed instead of cat because bash on DJGPP gets confused if
17467 # if finds mixed CR/LF and LF-only lines. Since sed operates in
17468 # text mode, it properly converts lines to CR/LF. This bash problem
17469 # is reportedly fixed, but why not run on old versions too?
17470 sed '$q' "$ltmain" >> "$cfgfile" \
17471 || (rm -f "$cfgfile"; exit 1)
17473 if test x"$xsi_shell" = xyes; then
17474 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17478 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17479 \ * ) func_dirname_result="${3}" ;;\
17481 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17482 && mv -f "$cfgfile.tmp" "$cfgfile" \
17483 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17484 test 0 -eq $? || _lt_function_replace_fail=:
17487 sed -e '/^func_basename ()$/,/^} # func_basename /c\
17490 \ func_basename_result="${1##*/}"\
17491 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17492 && mv -f "$cfgfile.tmp" "$cfgfile" \
17493 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17494 test 0 -eq $? || _lt_function_replace_fail=:
17497 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17498 func_dirname_and_basename ()\
17501 \ */*) func_dirname_result="${1%/*}${2}" ;;\
17502 \ * ) func_dirname_result="${3}" ;;\
17504 \ func_basename_result="${1##*/}"\
17505 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17506 && mv -f "$cfgfile.tmp" "$cfgfile" \
17507 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17508 test 0 -eq $? || _lt_function_replace_fail=:
17511 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17514 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17515 \ # positional parameters, so assign one to ordinary parameter first.\
17516 \ func_stripname_result=${3}\
17517 \ func_stripname_result=${func_stripname_result#"${1}"}\
17518 \ func_stripname_result=${func_stripname_result%"${2}"}\
17519 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17520 && mv -f "$cfgfile.tmp" "$cfgfile" \
17521 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17522 test 0 -eq $? || _lt_function_replace_fail=:
17525 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17526 func_split_long_opt ()\
17528 \ func_split_long_opt_name=${1%%=*}\
17529 \ func_split_long_opt_arg=${1#*=}\
17530 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17531 && mv -f "$cfgfile.tmp" "$cfgfile" \
17532 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17533 test 0 -eq $? || _lt_function_replace_fail=:
17536 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17537 func_split_short_opt ()\
17539 \ func_split_short_opt_arg=${1#??}\
17540 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17541 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17542 && mv -f "$cfgfile.tmp" "$cfgfile" \
17543 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17544 test 0 -eq $? || _lt_function_replace_fail=:
17547 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17551 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17552 \ *) func_lo2o_result=${1} ;;\
17554 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17555 && mv -f "$cfgfile.tmp" "$cfgfile" \
17556 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17557 test 0 -eq $? || _lt_function_replace_fail=:
17560 sed -e '/^func_xform ()$/,/^} # func_xform /c\
17563 func_xform_result=${1%.*}.lo\
17564 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17565 && mv -f "$cfgfile.tmp" "$cfgfile" \
17566 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17567 test 0 -eq $? || _lt_function_replace_fail=:
17570 sed -e '/^func_arith ()$/,/^} # func_arith /c\
17573 func_arith_result=$(( $* ))\
17574 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17575 && mv -f "$cfgfile.tmp" "$cfgfile" \
17576 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17577 test 0 -eq $? || _lt_function_replace_fail=:
17580 sed -e '/^func_len ()$/,/^} # func_len /c\
17583 func_len_result=${#1}\
17584 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17585 && mv -f "$cfgfile.tmp" "$cfgfile" \
17586 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17587 test 0 -eq $? || _lt_function_replace_fail=:
17591 if test x"$lt_shell_append" = xyes; then
17592 sed -e '/^func_append ()$/,/^} # func_append /c\
17595 eval "${1}+=\\${2}"\
17596 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17597 && mv -f "$cfgfile.tmp" "$cfgfile" \
17598 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17599 test 0 -eq $? || _lt_function_replace_fail=:
17602 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17603 func_append_quoted ()\
17605 \ func_quote_for_eval "${2}"\
17606 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17607 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17608 && mv -f "$cfgfile.tmp" "$cfgfile" \
17609 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17610 test 0 -eq $? || _lt_function_replace_fail=:
17613 # Save a `func_append' function call where possible by direct use of '+='
17614 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17615 && mv -f "$cfgfile.tmp" "$cfgfile" \
17616 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17617 test 0 -eq $? || _lt_function_replace_fail=:
17619 # Save a `func_append' function call even when '+=' is not available
17620 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17621 && mv -f "$cfgfile.tmp" "$cfgfile" \
17622 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17623 test 0 -eq $? || _lt_function_replace_fail=:
17626 if test x"$_lt_function_replace_fail" = x":"; then
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17628 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17632 mv -f "$cfgfile" "$ofile" ||
17633 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17644 ac_clean_files=$ac_clean_files_save
17646 test $ac_write_fail = 0 ||
17647 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17650 # configure is writing to config.log, and then calls config.status.
17651 # config.status does its own redirection, appending to config.log.
17652 # Unfortunately, on DOS this fails, as config.log is still kept open
17653 # by configure, so config.status won't be able to write to it; its
17654 # output is simply discarded. So we exec the FD to /dev/null,
17655 # effectively closing config.log, so it can be properly (re)opened and
17656 # appended to by config.status. When coming back to configure, we
17657 # need to make the FD available again.
17658 if test "$no_create" != yes; then
17660 ac_config_status_args=
17661 test "$silent" = yes &&
17662 ac_config_status_args="$ac_config_status_args --quiet"
17664 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17666 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17667 # would make configure fail if this is the last instruction.
17668 $ac_cs_success || as_fn_exit 1
17670 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17672 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}